/* =========================================================
   SAGITOV AGENCY · GLOBAL CSS для Tilda
   Куда вставлять:
   Настройки сайта → «Ещё» → «HTML-код для вставки внутрь HEAD»
   Обернуть весь код ниже в теги  ... 
   (или положить в один блок T123 в самом верху страницы)
   ========================================================= */

/* Шрифты. Если выбрал Anton и Sora в панели Tilda (Настройки → Шрифты),
   эту строку можно удалить. Оставляешь, если хочешь гарантию. */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Sora:wght@400;500;600;700&display=swap');

:root{
  --coral:#F94E1E;      /* основной коралл, как на референсе */
  --coral-600:#E23F12;  /* коралл на ховере / нажатии */
  --ink:#161514;        /* почти чёрный: тёмные секции */
  --ink-2:#211F1C;      /* тёмные карточки */
  --paper:#FFFFFF;      /* фон страницы */
  --cloud:#F3F2EF;      /* светло-серые карточки */
  --line:#E7E5E0;       /* тонкие линии на светлом */
  --muted:#6E6B66;      /* вторичный текст */
  --bone:#F4F3EF;       /* текст на тёмном/коралловом */
  --radius:22px;        /* скругление карточек */
}

/* ---------- Типографика ---------- */
/* Заголовки: Anton, капс, плотный. Тело/кнопки/поля: Sora. */
.t-title,
h1.t-title, h2.t-title, h3.t-title, h4.t-title,
.t-heading, .t-name{
  font-family:'Anton', system-ui, sans-serif !important;
  text-transform:uppercase;
  letter-spacing:.004em;
  line-height:.98;
  font-weight:400 !important;
}
.t-text, .t-descr, .t-input, .t-btn, .t-submit,
.t-radio__control, .t-checkbox__control, .t-uptitle{
  font-family:'Sora', system-ui, sans-serif !important;
}

/* Надзаголовок (eyebrow): коралловый капс с трекингом.
   В Tilda ставим его как «Надзаголовок» блока и вешаем класс sa-eyebrow
   (Настройки блока → CSS-класс), либо стилизуем .t-uptitle глобально. */
.t-uptitle, .sa-eyebrow{
  color:var(--coral) !important;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-weight:600 !important;
  font-size:.72rem !important;
}

/* ---------- Кнопки ---------- */
.t-btn, .t-submit{
  border-radius:6px !important;
  font-weight:600 !important;
  letter-spacing:.01em;
  transition:transform .2s ease, background .2s ease, color .2s ease !important;
}
.t-btn:hover, .t-submit:hover{ transform:translateY(-2px); }

/* Класс для главной коралловой кнопки.
   В блоке кнопки: Настройки → CSS-класс → sa-btn-coral
   (или задай цвет прямо в настройках кнопки, тогда класс не нужен). */
.sa-btn-coral .t-btn, .t-btn.sa-btn-coral, .sa-btn-coral{
  background:var(--coral) !important;
  color:#fff !important;
  border-color:var(--coral) !important;
}
.sa-btn-coral .t-btn:hover, .t-btn.sa-btn-coral:hover{
  background:var(--coral-600) !important;
  border-color:var(--coral-600) !important;
}

/* ---------- Карточки и картинки ---------- */
/* Скругляем обложки, галереи, карточки услуг/тарифов */
.t-cover__carrier, .t-img, .t-gallery__item, .t156__item,
.t-card__img, .t774__col, .t-store__card__wrap_img,
.t-slds__bgimg, .t142__img{
  border-radius:var(--radius);
  overflow:hidden;
}

/* Хелпер: любой блок, которому в Настройки → CSS-класс добавишь sa-card,
   получит вид аккуратной светло-серой карточки бенто */
.sa-card{
  background:var(--cloud) !important;
  border-radius:var(--radius) !important;
  border:1px solid var(--line);
}

/* Тёмная секция: класс sa-dark на блок (или задай тёмный фон в настройках) */
.sa-dark, .sa-dark .t-text, .sa-dark .t-descr{ color:var(--bone) !important; }
.sa-dark .t-title{ color:#fff !important; }

/* Коралловая секция: класс sa-coral */
.sa-coral, .sa-coral .t-text, .sa-coral .t-descr, .sa-coral .t-title{
  color:#fff !important;
}

/* ---------- Формы (контакты) ---------- */
.t-input{
  border-radius:8px !important;
  border:1px solid var(--line) !important;
  background:#fff !important;
}
.t-input:focus{ border-color:var(--coral) !important; }

/* =========================================================
   КВИЗ «Want a number?» · превращаем radio в коралловые пилюли
   Вешается на блок формы с radio-полями.
   Требует современный браузер (поддержка :has, есть везде с 2023).
   Если твоя версия блока формы использует другие классы,
   поправь селекторы после инспекции, логика та же.
   ========================================================= */
.sa-quiz .t-radio__wrapper,
.sa-quiz .t-checkbox__wrapper{
  display:inline-flex;
  align-items:center;
  gap:.4em;
  margin:0 8px 8px 0;
  padding:.62em 1.1em;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  cursor:pointer;
  transition:all .18s ease;
  line-height:1;
}
.sa-quiz .t-radio__wrapper:hover,
.sa-quiz .t-checkbox__wrapper:hover{ border-color:var(--coral); }

/* прячем стандартный кружок-индикатор */
.sa-quiz .t-radio__indicator,
.sa-quiz .t-checkbox__indicator{ display:none !important; }

/* активная пилюля */
.sa-quiz .t-radio__wrapper:has(.t-radio:checked),
.sa-quiz .t-checkbox__wrapper:has(.t-checkbox:checked){
  background:var(--coral);
  border-color:var(--coral);
  color:#fff;
}
.sa-quiz .t-radio__wrapper:has(.t-radio:checked) .t-radio__control{
  color:#fff !important;
}

/* группа пилюль в строку, а не в столбик */
.sa-quiz .t-form__inputsbox .t-input-group_rd .t-radio__wrapper{ float:none; }
/* Пункты меню: Sora средний вес, обычный регистр (как в макете) */
.t-menu__link-item{
  font-family:'Sora', system-ui, sans-serif !important;
  font-weight:500 !important;
  text-transform:none !important;
  letter-spacing:0 !important;
}
/* Надзаголовок над заголовком hero (блок CR50B) */
#rec2441034773 .t-title{
  position:relative;
}
#rec2441034773 .t-title::before{
  content:"Melbourne, FL · Space Coast";
  display:block;
  font-family:'Sora', system-ui, sans-serif;
  font-weight:600;
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#F94E1E;
  margin-bottom:18px;
}
/* Принудительно Sora на текст и кнопки hero (CR50B) */
#rec2441034773 .t-descr,
#rec2441034773 .t-text,
#rec2441034773 .t-btn,
#rec2441034773 .t-btn__text{
  font-family:'Sora', system-ui, sans-serif !important;
}
/* Надзаголовок с коралловой чёрточкой перед текстом (CR50B) */
#rec2441034773 .t-title::before{
  content:"Melbourne, FL · Space Coast";
  display:block;
  font-family:'Sora', system-ui, sans-serif;
  font-weight:600;
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#F94E1E;
  padding-left:34px;
  background:linear-gradient(#F94E1E,#F94E1E) no-repeat left center / 18px 2px;
  margin-bottom:18px;
}
/* ===== BF204N / Sagitov style ===== */
#rec2441057683{
  background:#f5f4f1 !important;
}

#rec2441057683 .t706,
#rec2441057683 .t-form,
#rec2441057683 .t-form__inputsbox,
#rec2441057683 .t-input-group{
  font-family:'Sora', Arial, sans-serif !important;
  color:#161514 !important;
}

#rec2441057683 .t-section__title,
#rec2441057683 .t-title,
#rec2441057683 .t-form__title{
  font-family:'Anton', Arial, sans-serif !important;
  text-transform:uppercase !important;
  letter-spacing:-0.01em !important;
  color:#161514 !important;
  font-size:clamp(42px, 5vw, 76px) !important;
  line-height:0.94 !important;
  max-width:14ch !important;
  margin-bottom:16px !important;
}

#rec2441057683 .t-section__descr,
#rec2441057683 .t-descr,
#rec2441057683 .t-form__descr{
  font-family:'Sora', Arial, sans-serif !important;
  color:#6f6a63 !important;
  font-size:18px !important;
  line-height:1.7 !important;
  max-width:42ch !important;
}

#rec2441057683 .t-form__inputsbox{
  margin-top:34px !important;
  background:#f5f4f1 !important;
  border:1px solid #e7e3dc !important;
  border-radius:24px !important;
  padding:28px !important;
}

#rec2441057683 .t-input-group{
  margin-bottom:18px !important;
}

#rec2441057683 .t-input-title{
  font-family:'Sora', Arial, sans-serif !important;
  font-size:12px !important;
  line-height:1.2 !important;
  letter-spacing:0.16em !important;
  text-transform:uppercase !important;
  font-weight:700 !important;
  color:#f94e1e !important;
  margin-bottom:10px !important;
}

#rec2441057683 input[type="text"],
#rec2441057683 input[type="email"],
#rec2441057683 input[type="tel"],
#rec2441057683 textarea,
#rec2441057683 .t-input,
#rec2441057683 .t-select__control,
#rec2441057683 .t-input-block textarea{
  background:#eceae4 !important;
  border:1px solid #e3dfd8 !important;
  border-radius:18px !important;
  min-height:60px !important;
  padding:0 18px !important;
  font-family:'Sora', Arial, sans-serif !important;
  font-size:16px !important;
  color:#161514 !important;
  box-shadow:none !important;
}

#rec2441057683 textarea,
#rec2441057683 .t-input-block textarea{
  padding-top:18px !important;
  padding-bottom:18px !important;
  min-height:130px !important;
}

#rec2441057683 .t-input::placeholder,
#rec2441057683 input::placeholder,
#rec2441057683 textarea::placeholder{
  color:#8b847a !important;
  opacity:1 !important;
}

#rec2441057683 .t-input:focus,
#rec2441057683 input:focus,
#rec2441057683 textarea:focus,
#rec2441057683 .t-select__control:focus{
  border-color:#f94e1e !important;
  box-shadow:0 0 0 4px rgba(249,78,30,.10) !important;
  outline:none !important;
}

#rec2441057683 .t-radio__indicator,
#rec2441057683 .t-checkbox__indicator{
  border-color:rgba(22,21,20,.22) !important;
}

#rec2441057683 .t-radio:checked + .t-radio__indicator,
#rec2441057683 .t-checkbox:checked + .t-checkbox__indicator{
  border-color:#f94e1e !important;
  background-color:#f94e1e !important;
}

#rec2441057683 .t-radio__control,
#rec2441057683 .t-checkbox__control,
#rec2441057683 .t-form__inputsbox .t-radio__control,
#rec2441057683 .t-form__inputsbox .t-checkbox__control{
  font-family:'Sora', Arial, sans-serif !important;
  font-size:16px !important;
  line-height:1.55 !important;
  color:#161514 !important;
}

#rec2441057683 .t-form__submit .t-submit,
#rec2441057683 .t-submit{
  min-height:58px !important;
  padding:0 24px !important;
  border-radius:10px !important;
  border:1px solid #f94e1e !important;
  background:#f94e1e !important;
  color:#fff !important;
  font-family:'Sora', Arial, sans-serif !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1 !important;
  letter-spacing:.02em !important;
  transition:all .25s ease !important;
  box-shadow:none !important;
}

#rec2441057683 .t-form__submit .t-submit:hover,
#rec2441057683 .t-submit:hover{
  background:#e84316 !important;
  border-color:#e84316 !important;
  transform:translateY(-1px);
}

#rec2441057683 .t-form__submit{
  padding-top:8px !important;
}

#rec2441057683 .t-form__errorbox-wrapper,
#rec2441057683 .js-errorbox-all{
  margin-top:14px !important;
}

#rec2441057683 .t-form__successbox{
  background:#eceae4 !important;
  border:1px solid #e3dfd8 !important;
  color:#161514 !important;
  border-radius:20px !important;
  padding:22px !important;
  font-family:'Sora', Arial, sans-serif !important;
}

#rec2441057683 .t-form__inputsbox .t-input-subtitle,
#rec2441057683 .t-input-subtitle{
  color:#8b847a !important;
  font-size:13px !important;
  line-height:1.5 !important;
}

#rec2441057683 .t-form__inputsbox .t-form__submit button[disabled],
#rec2441057683 .t-submit[disabled]{
  opacity:.55 !important;
  cursor:not-allowed !important;
}

@media (max-width: 980px){
  #rec2441057683 .t-section__title,
  #rec2441057683 .t-title,
  #rec2441057683 .t-form__title{
    max-width:15ch !important;
  }

  #rec2441057683 .t-form__inputsbox{
    padding:24px !important;
  }
}

@media (max-width: 640px){
  #rec2441057683 .t-section__title,
  #rec2441057683 .t-title,
  #rec2441057683 .t-form__title{
    font-size:clamp(34px, 12vw, 54px) !important;
    max-width:none !important;
  }

  #rec2441057683 .t-section__descr,
  #rec2441057683 .t-descr,
  #rec2441057683 .t-form__descr{
    font-size:16px !important;
    max-width:none !important;
  }

  #rec2441057683 .t-form__inputsbox{
    padding:20px !important;
    border-radius:20px !important;
  }

  #rec2441057683 input[type="text"],
  #rec2441057683 input[type="email"],
  #rec2441057683 input[type="tel"],
  #rec2441057683 textarea,
  #rec2441057683 .t-input,
  #rec2441057683 .t-select__control{
    min-height:56px !important;
    font-size:16px !important;
  }
}
/* ===== BF204N option cards fix ===== */

#rec2441057683 .t-input-group_rd,
#rec2441057683 .t-input-group_cb{
  margin-bottom:22px !important;
}

#rec2441057683 .t-radio__wrapper,
#rec2441057683 .t-checkbox__wrapper{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:12px !important;
}

#rec2441057683 .t-radio__control,
#rec2441057683 .t-checkbox__control{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  min-height:62px !important;
  padding:16px 18px !important;
  border:1px solid #bdb6ac !important;
  border-radius:0 !important;
  background:#f5f4f1 !important;
  transition:border-color .2s ease, background .2s ease, transform .2s ease !important;
}

#rec2441057683 .t-radio__control:hover,
#rec2441057683 .t-checkbox__control:hover{
  border-color:#161514 !important;
}

#rec2441057683 .t-radio__indicator,
#rec2441057683 .t-checkbox__indicator{
  position:relative !important;
  top:auto !important;
  left:auto !important;
  width:22px !important;
  height:22px !important;
  margin:0 !important;
  flex:0 0 22px !important;
  border:2px solid #d7d1c8 !important;
  background:#f5f4f1 !important;
}

#rec2441057683 .t-radio__indicator{
  border-radius:50% !important;
}

#rec2441057683 .t-checkbox__indicator{
  border-radius:0 !important;
}

#rec2441057683 .t-radio:checked + .t-radio__indicator,
#rec2441057683 .t-checkbox:checked + .t-checkbox__indicator{
  background:#ff5a1f !important;
  border-color:#ff5a1f !important;
}

#rec2441057683 .t-radio:checked + .t-radio__indicator::after{
  content:"" !important;
  position:absolute !important;
  inset:5px !important;
  border-radius:50% !important;
  background:#161514 !important;
}

#rec2441057683 .t-checkbox:checked + .t-checkbox__indicator::after{
  content:"" !important;
  position:absolute !important;
  inset:4px !important;
  background:#ff5a1f !important;
}

#rec2441057683 .t-radio__control .t-radio__labeltext,
#rec2441057683 .t-checkbox__control .t-checkbox__labeltext,
#rec2441057683 .t-radio__control-label,
#rec2441057683 .t-checkbox__control-label{
  font-family:'Sora', Arial, sans-serif !important;
  font-size:16px !important;
  line-height:1.35 !important;
  color:#2a2825 !important;
}

#rec2441057683 .t-input-group_rd .t-input-title,
#rec2441057683 .t-input-group_cb .t-input-title{
  margin-bottom:14px !important;
}

#rec2441057683 .t-form__submit{
  text-align:center !important;
  margin-top:8px !important;
}

#rec2441057683 .t-submit{
  min-width:90px !important;
  border-radius:12px !important;
}

@media (max-width: 640px){
  #rec2441057683 .t-radio__wrapper,
  #rec2441057683 .t-checkbox__wrapper{
    gap:10px !important;
  }

  #rec2441057683 .t-radio__control,
  #rec2441057683 .t-checkbox__control{
    width:100% !important;
    min-height:58px !important;
    padding:14px 16px !important;
  }
}
/* ===== BF204N wrappers cleanup ===== */

#rec2441057683 .t-radio__control,
#rec2441057683 .t-checkbox__control{
  border:none !important;
  background:transparent !important;
  padding:0 !important;
  min-height:auto !important;
}

#rec2441057683 .t-radio__control .t-radio__indicator + div,
#rec2441057683 .t-checkbox__control .t-checkbox__indicator + div,
#rec2441057683 .t-radio__control > div:last-child,
#rec2441057683 .t-checkbox__control > div:last-child,
#rec2441057683 .t-radio__control-label,
#rec2441057683 .t-checkbox__control-label{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  min-height:62px !important;
  padding:16px 18px !important;
  border:1px solid #bdb6ac !important;
  background:#f5f4f1 !important;
  transition:border-color .2s ease, background .2s ease, transform .2s ease !important;
}

#rec2441057683 .t-radio__control:hover .t-radio__indicator + div,
#rec2441057683 .t-checkbox__control:hover .t-checkbox__indicator + div,
#rec2441057683 .t-radio__control:hover > div:last-child,
#rec2441057683 .t-checkbox__control:hover > div:last-child,
#rec2441057683 .t-radio__control:hover .t-radio__control-label,
#rec2441057683 .t-checkbox__control:hover .t-checkbox__control-label{
  border-color:#161514 !important;
}

@media (max-width: 640px){
  #rec2441057683 .t-radio__control .t-radio__indicator + div,
  #rec2441057683 .t-checkbox__control .t-checkbox__indicator + div,
  #rec2441057683 .t-radio__control > div:last-child,
  #rec2441057683 .t-checkbox__control > div:last-child,
  #rec2441057683 .t-radio__control-label,
  #rec2441057683 .t-checkbox__control-label{
    width:100% !important;
    min-height:58px !important;
    padding:14px 16px !important;
  }
}
/* ===== BF204N final option layout fix ===== */

#rec2441057683 .t-radio__wrapper,
#rec2441057683 .t-checkbox__wrapper{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:flex-start !important;
  gap:12px 16px !important;
}

#rec2441057683 .t-radio__control,
#rec2441057683 .t-checkbox__control{
  display:inline-flex !important;
  width:auto !important;
  max-width:100% !important;
  flex:0 0 auto !important;
  position:relative !important;
}

#rec2441057683 .t-radio__control > *,
#rec2441057683 .t-checkbox__control > *{
  position:relative !important;
}

#rec2441057683 .t-radio__control-label,
#rec2441057683 .t-checkbox__control-label,
#rec2441057683 .t-radio__control > div:last-child,
#rec2441057683 .t-checkbox__control > div:last-child{
  width:auto !important;
  max-width:100% !important;
  white-space:nowrap !important;
}

#rec2441057683 .t-input-group_rd .t-radio__control:last-child,
#rec2441057683 .t-input-group_cb .t-checkbox__control:last-child{
  margin-right:0 !important;
}

#rec2441057683 .t-radio__control-label *,
#rec2441057683 .t-checkbox__control-label *{
  position:static !important;
  transform:none !important;
}

@media (max-width: 640px){
  #rec2441057683 .t-radio__control,
  #rec2441057683 .t-checkbox__control{
    width:100% !important;
    display:flex !important;
  }

  #rec2441057683 .t-radio__control-label,
  #rec2441057683 .t-checkbox__control-label,
  #rec2441057683 .t-radio__control > div:last-child,
  #rec2441057683 .t-checkbox__control > div:last-child{
    width:100% !important;
    white-space:normal !important;
  }
}
/* ===== make radio simple inline, keep checkboxes as cards ===== */

#rec2441057683 .t-input-group_rd .t-radio__wrapper{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:22px !important;
  align-items:center !important;
}

#rec2441057683 .t-input-group_rd .t-radio__control{
  display:inline-flex !important;
  align-items:center !important;
  gap:12px !important;
  width:auto !important;
  padding:0 !important;
  border:none !important;
  background:transparent !important;
  min-height:auto !important;
}

#rec2441057683 .t-input-group_rd .t-radio__control-label,
#rec2441057683 .t-input-group_rd .t-radio__control > div:last-child{
  display:inline-flex !important;
  align-items:center !important;
  gap:12px !important;
  padding:0 !important;
  border:none !important;
  background:transparent !important;
  width:auto !important;
  white-space:nowrap !important;
}

#rec2441057683 .t-input-group_rd .t-radio__indicator{
  width:26px !important;
  height:26px !important;
  border:2px solid #ddd7cf !important;
  border-radius:50% !important;
  background:#f5f4f1 !important;
  margin:0 !important;
  flex:0 0 26px !important;
  position:relative !important;
}

#rec2441057683 .t-input-group_rd .t-radio:checked + .t-radio__indicator{
  background:#ff5a1f !important;
  border-color:#ff5a1f !important;
}

#rec2441057683 .t-input-group_rd .t-radio:checked + .t-radio__indicator::after{
  content:"" !important;
  position:absolute !important;
  inset:7px !important;
  border-radius:50% !important;
  background:#161514 !important;
}

#rec2441057683 .t-input-group_rd .t-radio__control-label,
#rec2441057683 .t-input-group_rd .t-radio__labeltext{
  font-family:'Sora', Arial, sans-serif !important;
  font-size:18px !important;
  line-height:1.2 !important;
  color:#2a2825 !important;
}

@media (max-width:640px){
  #rec2441057683 .t-input-group_rd .t-radio__wrapper{
    gap:14px 18px !important;
  }

  #rec2441057683 .t-input-group_rd .t-radio__control-label,
  #rec2441057683 .t-input-group_rd .t-radio__labeltext{
    font-size:16px !important;
  }
}