/* =========================================================
   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; }

/* =========================================================
   SAGITOV — QUIZ FORM (Want a number, not a meeting?)
   Приведено к макету sagitov-preview.html: СВЕТЛЫЙ квиз.
   Блок BF204N, класс на блоке: uc-sa-quiz-dark
   (имя класса оставляем прежним, чтобы не переприсваивать в Tilda)
   Вставить в конец sagitov-global.css вместо прошлой версии.
   ========================================================= */

/* --- Секция белая, квиз в светлой карточке --- */
.uc-sa-quiz-dark{
  background:#FFFFFF !important;
}

/* Контейнер формы = 820 по центру страницы, как у блока-заголовка.
   Так левый край карточки совпадает с левым краем заголовка. */
.uc-sa-quiz-dark .t-container{
  max-width:820px !important;
  width:100% !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

.uc-sa-quiz-dark .t-col{
  max-width:100% !important;
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  float:none !important;
  flex:0 0 100% !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

/* Сбрасываем префикс-сдвиг колонки Tilda */
.uc-sa-quiz-dark .t-prefix_2,
.uc-sa-quiz-dark [class*="t-prefix"]{
  margin-left:0 !important;
}

/* Карточка квиза вокруг формы */
.uc-sa-quiz-dark .t-form{
  background:#F3F2EF !important;
  border:1px solid #E7E5E0 !important;
  border-radius:22px !important;
  padding:40px !important;
}

/* --- Вопросы в столбик --- */
.uc-sa-quiz-dark .t-form__inputsbox{
  display:block !important;
  max-width:680px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.uc-sa-quiz-dark .t-input-group{
  margin-bottom:0 !important;
  padding:26px 0 !important;
  border-top:1px solid #D9D5CE !important;
  width:100% !important;
}

/* Первый вопрос без верхней линии и отступа */
.uc-sa-quiz-dark .t-form__inputsbox .t-input-group:first-child{
  border-top:none !important;
  padding-top:0 !important;
}

/* --- Заголовки вопросов --- */
.uc-sa-quiz-dark .t-input-title{
  color:#161514 !important;
  font-family:'Sora',sans-serif !important;
  font-weight:600 !important;
  font-size:18px !important;
  letter-spacing:0;
  margin-bottom:14px !important;
}

/* Оранжевый номер вопроса.
   Номер в тексте вопроса ("01 What kind...") — часть заголовка,
   отдельного тега у него нет, поэтому красим первые символы
   через ::first-line нельзя. Оставляем номер в тексте,
   но если хочешь строго оранжевый номер — см. примечание в чате. */

/* =========================================================
   RADIO -> ПИЛЮЛИ (светлые, как в макете)
   ========================================================= */

.uc-sa-quiz-dark .t-radio__wrapper{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:9px !important;
  width:auto !important;
}

.uc-sa-quiz-dark .t-radio__item{
  display:inline-flex !important;
  align-items:center !important;
  position:relative !important;
  width:auto !important;
  max-width:none !important;
  margin:0 !important;
  padding:11px 21px !important;
  border:1px solid #E7E5E0 !important;
  border-radius:999px !important;
  background:#FFFFFF !important;
  color:#161514 !important;
  font-family:'Sora',sans-serif !important;
  font-size:16px !important;
  font-weight:500 !important;
  line-height:1 !important;
  cursor:pointer !important;
  transition:all .18s ease !important;
  white-space:nowrap !important;
}

/* Прячем input, кликабельна вся пилюля */
.uc-sa-quiz-dark .t-radio{
  position:absolute !important;
  top:0 !important;
  left:0 !important;
  width:100% !important;
  height:100% !important;
  margin:0 !important;
  opacity:0 !important;
  cursor:pointer !important;
  z-index:2 !important;
}

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

.uc-sa-quiz-dark .t-radio__item span{
  position:relative !important;
  z-index:1 !important;
}

/* Ховер — рамка коралловая */
.uc-sa-quiz-dark .t-radio__item:hover{
  border-color:#F94E1E !important;
}

/* Выбранный вариант — заливка кораллом */
.uc-sa-quiz-dark .t-radio__item:has(.t-radio:checked){
  background:#F94E1E !important;
  border-color:#F94E1E !important;
  color:#fff !important;
}

/* Запасной вариант без :has */
.uc-sa-quiz-dark .t-radio:checked ~ span{
  color:#fff !important;
  font-weight:600 !important;
}

/* =========================================================
   ТЕКСТОВЫЕ ПОЛЯ (Name, Email) — светлые, в ряд
   ========================================================= */

.uc-sa-quiz-dark .t-input-group_nm,
.uc-sa-quiz-dark .t-input-group_em{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  vertical-align:top;
  border-top:none !important;
  padding:22px 0 0 !important;
  margin:0 !important;
}

/* Ширина текстовых полей — ограничиваем на уровне .t-input-block и input.
   Группа имени в разметке t-input-group_nm, email — t-input-group_em. */
.uc-sa-quiz-dark .t-input-group_nm .t-input-block,
.uc-sa-quiz-dark .t-input-group_em .t-input-block{
  max-width:100% !important;
  width:100% !important;
}

.uc-sa-quiz-dark .t-input-group_nm .t-input,
.uc-sa-quiz-dark .t-input-group_em .t-input{
  max-width:100% !important;
  width:100% !important;
}

@media (max-width:640px){
  .uc-sa-quiz-dark .t-input-group_nm .t-input-block,
  .uc-sa-quiz-dark .t-input-group_em .t-input-block,
  .uc-sa-quiz-dark .t-input-group_nm .t-input,
  .uc-sa-quiz-dark .t-input-group_em .t-input{
    max-width:100% !important;
    width:100% !important;
  }
}

.uc-sa-quiz-dark .t-input{
  width:100% !important;
  background:#FFFFFF !important;
  border:1px solid #E7E5E0 !important;
  border-radius:8px !important;
  color:#161514 !important;
  font-family:'Sora',sans-serif !important;
  font-size:17px !important;
  padding:16px 18px !important;
  transition:border-color .18s ease !important;
}

.uc-sa-quiz-dark .t-input:focus{
  border-color:#F94E1E !important;
}

.uc-sa-quiz-dark .t-input::placeholder{
  color:#9a968f !important;
}

.uc-sa-quiz-dark .t-input-group_nm .t-input-title,
.uc-sa-quiz-dark .t-input-group_em .t-input-title{
  font-size:17px !important;
  margin-bottom:8px !important;
}

/* --- Кнопка Send my brief --- */
.uc-sa-quiz-dark .t-form__submit{
  margin-top:22px !important;
  text-align:left !important;
  padding-top:0 !important;
  border-top:none !important;
}

.uc-sa-quiz-dark .t-submit{
  background:#F94E1E !important;
  border:none !important;
  border-radius:999px !important;
  color:#fff !important;
  font-family:'Sora',sans-serif !important;
  font-weight:600 !important;
  font-size:16px !important;
  letter-spacing:0;
  padding:16px 34px !important;
  cursor:pointer !important;
  transition:all .18s ease !important;
  width:auto !important;
}

.uc-sa-quiz-dark .t-submit:hover{
  background:#E23F12 !important;
  transform:translateY(-2px);
}

/* --- Мобильная версия --- */
@media (max-width:640px){
  .uc-sa-quiz-dark .t-form{padding:24px !important;}

  .uc-sa-quiz-dark .t-input-group_nm,
  .uc-sa-quiz-dark .t-input-group_em{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    margin-right:0 !important;
  }

  .uc-sa-quiz-dark .t-radio__item{
    padding:10px 17px !important;
    font-size:15px !important;
  }

  .uc-sa-quiz-dark .t-submit{width:100% !important;text-align:center !important;}
}


/* --- Кнопка t-btnflex в коралл (перебиваем inline-стиль по ID) --- */
.uc-sa-quiz-dark .t-btnflex.t-btnflex_type_submit{
  background-color:#F94E1E !important;
  color:#fff !important;
  border-radius:999px !important;
  border:none !important;
  box-shadow:none !important;
  font-family:'Sora',sans-serif !important;
  font-weight:600 !important;
  font-size:18px !important;
  padding:18px 40px !important;
  width:auto !important;
  transition:all .18s ease !important;
}

.uc-sa-quiz-dark .t-btnflex.t-btnflex_type_submit:hover{
  background-color:#E23F12 !important;
  transform:translateY(-2px);
}

.uc-sa-quiz-dark .t-btnflex__text{
  font-family:'Sora',sans-serif !important;
  font-weight:600 !important;
}

@media (max-width:860px){
  .uc-sa-quiz-dark .t-container{
    padding-left:20px !important;
    padding-right:20px !important;
  }
}
/* --- Закончился QUIZ --- */
/* =========================================================
   SAGITOV — START HERE, блок T718 (rec2444118273)
   Слева контакты + соцсети, справа форма.
   Подгонка под шаблон сайта: белый фон, 1200, бренд-цвета.
   Вставить в конец sagitov-global.css.
   ========================================================= */

/* --- Секция: белый фон, вертикальные отступы как у соседей --- */
#rec2444118273{
  background:#FFFFFF !important;
}

#rec2444118273 .t718{
  padding:88px 0 !important;
}

/* Контейнеры к ширине 1200 по центру */
#rec2444118273 .t-container{
  max-width:1200px !important;
}

/* =========================================================
   ЗАГОЛОВОК БЛОКА — влево, с коралловым надзаголовком
   ========================================================= */

/* Заголовок и подзаголовок по левому краю */
#rec2444118273 .t-section__title,
#rec2444118273 .t-section__descr{
  text-align:left !important;
  margin-left:0 !important;
  margin-right:0 !important;
  max-width:640px !important;
}

/* Надзаголовок Start here с чёрточкой — полностью в потоке, без absolute.
   Чёрточка — линейный градиент слева, текст сдвинут паддингом. */
#rec2444118273 .js-block-header::before{
  content:"START HERE";
  display:block;
  margin-bottom:18px;
  padding-left:40px;
  color:#F94E1E;
  font-family:'Sora',sans-serif;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  line-height:1;
  white-space:nowrap;
  background-image:linear-gradient(#F94E1E, #F94E1E);
  background-size:30px 2px;
  background-position:0 45%;
  background-repeat:no-repeat;
}

/* Заголовок — Anton, крупный, почти чёрный */
#rec2444118273 .t-section__title{
  font-family:'Anton',sans-serif !important;
  font-weight:400 !important;
  text-transform:uppercase !important;
  font-size:clamp(2.4rem, 4vw, 3.6rem) !important;
  line-height:.98 !important;
  letter-spacing:-.01em !important;
  color:#161514 !important;
}

/* Подзаголовок — Sora, серый */
#rec2444118273 .t-section__descr{
  font-family:'Sora',sans-serif !important;
  font-size:1.05rem !important;
  line-height:1.55 !important;
  color:#6E6B66 !important;
}

/* =========================================================
   ЛЕВАЯ КОЛОНКА — контакты и соцсети
   ========================================================= */

/* Убираем префикс-сдвиг, выравниваем колонки */
#rec2444118273 .t-col_5.t-prefix_1{
  margin-left:0 !important;
}

/* Контакты — крупный тёмный текст */
#rec2444118273 .t718__contacts{
  font-family:'Sora',sans-serif !important;
  color:#161514 !important;
  font-weight:600 !important;
}

/* Адрес — серый мельче */
#rec2444118273 .t718__address{
  font-family:'Sora',sans-serif !important;
  color:#6E6B66 !important;
  margin-top:12px !important;
}

/* =========================================================
   ПРАВАЯ КОЛОНКА — форма
   ========================================================= */

/* Поля: светлые, скругление 8px, рамка бренд-линии */
#rec2444118273 .t-input{
  background:#FFFFFF !important;
  border:1px solid #D9D5CE !important;
  border-radius:8px !important;
  color:#161514 !important;
  font-family:'Sora',sans-serif !important;
  font-size:16px !important;
  padding:15px 18px !important;
  transition:border-color .18s ease !important;
}

#rec2444118273 .t-input:focus{
  border-color:#F94E1E !important;
}

#rec2444118273 .t-input::placeholder{
  color:#37332F !important;
  opacity:1 !important;
}

/* Textarea — та же логика */
#rec2444118273 textarea.t-input{
  min-height:110px !important;
  resize:vertical !important;
}

/* Промежутки между полями */
#rec2444118273 .t-input-group{
  margin-bottom:14px !important;
}

/* --- Кнопка: коралловая (перебиваем синий inline по ID) --- */
#rec2444118273 .t-btnflex.t-btnflex_type_submit{
  background-color:#F94E1E !important;
  color:#fff !important;
  border-radius:999px !important;
  border:none !important;
  box-shadow:none !important;
  font-family:'Sora',sans-serif !important;
  font-weight:600 !important;
  font-size:16px !important;
  padding:16px 34px !important;
  transition:background-color .18s ease, transform .18s ease !important;
}

#rec2444118273 .t-btnflex.t-btnflex_type_submit:hover{
  background-color:#E23F12 !important;
  transform:translateY(-2px);
}

#rec2444118273 .t-btnflex__text{
  font-family:'Sora',sans-serif !important;
  font-weight:600 !important;
}

/* --- Мобильная версия --- */
@media (max-width:960px){
  #rec2444118273 .t718{padding:64px 0 !important;}
  #rec2444118273 .t-col_5.t-prefix_1{margin-bottom:32px !important;}
}


/* --- Выравнивание колонок по верху (форма вровень с контактами) --- */
#rec2444118273 .t-container_flex,
#rec2444118273 .t-container{
  align-items:flex-start !important;
}

#rec2444118273 .t-col_5{
  vertical-align:top !important;
}

/* Убираем лишний верхний отступ у формы */
#rec2444118273 form{
  margin-top:0 !important;
}

/* Контентбокс левой колонки без растягивания по высоте */
#rec2444118273 .t718__contentbox{
  height:auto !important;
}


/* =========================================================
   РАСКЛАДКА: заголовок+текст СЛЕВА, форма СПРАВА, в одну строку
   Собираем весь блок как две колонки через flex.
   ========================================================= */

/* Внешний блок — вертикальный поток, но шапку и контейнер колонок
   объединяем в одну сетку. Прячем стандартную шапку сверху,
   заголовок переносим в левую колонку через grid-области. */

/* Весь T718 — grid из двух колонок */
#rec2444118273 .t718{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  grid-template-areas:
    "head form"
    "left form" !important;
  column-gap:60px !important;
  align-items:start !important;
  max-width:1200px !important;
  margin:0 auto !important;
  padding:88px 28px !important;
}

/* Шапка (заголовок + подзаголовок) — в левую верхнюю область */
#rec2444118273 .js-block-header{
  grid-area:head !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
}

/* Левая колонка с контактами — под заголовком */
#rec2444118273 > .t-container:last-of-type .t-col_5.t-prefix_1,
#rec2444118273 .t718__contentbox{
  grid-area:left !important;
}

/* Правая колонка с формой — на всю высоту справа */
#rec2444118273 .t-col_5:not(.t-prefix_1){
  grid-area:form !important;
}

/* Сбрасываем внутренние контейнеры Tilda, чтобы grid работал */
#rec2444118273 .t718 > .t-container,
#rec2444118273 .t718 > .t-section__container{
  display:contents !important;
}

#rec2444118273 .t-col{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  flex:none !important;
}

/* Заголовок влево, без центрирования и без max-width */
#rec2444118273 .t-section__title,
#rec2444118273 .t-section__descr{
  max-width:100% !important;
}

/* Мобильная версия: одна колонка */
@media (max-width:960px){
  #rec2444118273 .t718{
    grid-template-columns:1fr !important;
    grid-template-areas:
      "head"
      "left"
      "form" !important;
    padding:64px 20px !important;
    row-gap:24px !important;
  }
}
@media (max-width:860px){
  #rec2442527483 .t-container{
    max-width:100% !important;
    width:100% !important;
    padding-left:16px !important;
    padding-right:16px !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
  }

  #rec2442527483 .t-col,
  #rec2442527483 .t-form,
  #rec2442527483 .t-form__inputsbox,
  #rec2442527483 .t-input-group,
  #rec2442527483 .t-input-block{
    max-width:100% !important;
    width:100% !important;
    margin-left:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    box-sizing:border-box !important;
  }

  #rec2442527483 .t-form{
    padding-left:20px !important;
    padding-right:20px !important;
  }

  #rec2442527483{
    overflow-x:hidden !important;
  }

  #rec2442527483 .t-radio__wrapper{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:flex-start !important;
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  #rec2442527483 .t-radio__item{
    flex:0 1 auto !important;
    min-width:0 !important;
    max-width:100% !important;
    white-space:normal !important;
    box-sizing:border-box !important;
  }

  #rec2442527483 .t-input-group_nm .t-input,
  #rec2442527483 .t-input-group_em .t-input{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }
}