/* ===== Samolet Plus – Button System (CR15 safe) ===== */

:root {
  --sp-blue: #007aff;
  --sp-blue-hover: #006fe0;
  --sp-radius: 6px;
  --sp-skew: -5deg;
}

/* ===== ОБЩИЙ СТИЛЬ КНОПОК ===== */
.t-btnflex {
  background-color: var(--sp-blue) !important;
  border-radius: var(--sp-radius) !important;
  border: none !important;
  box-shadow: none !important;

  transform: skewX(var(--sp-skew));
  transition: background-color .2s ease, transform .2s ease;
}

.t-btnflex span {
  transform: skewX(calc(var(--sp-skew) * -1));
  display: inline-block;
  font-weight: 600;
}

/* Hover */
.t-btnflex:hover {
  background-color: var(--sp-blue-hover) !important;
}

/* ===== SECONDARY BUTTON (white style) ===== */
#allrecords .t-cover .t-btnflex:nth-child(2) {
  background-color: rgba(255, 255, 255, 0.85) !important;
  border: 2px solid var(--sp-blue) !important;
  box-shadow: none !important;
}

#allrecords .t-cover .t-btnflex:nth-child(2) span {
  color: var(--sp-blue) !important;
}

/* Hover */
#allrecords .t-cover .t-btnflex:nth-child(2):hover {
  background-color: #ffffff !important;
}


/* Active */
.t-btnflex:active {
  transform: skewX(var(--sp-skew)) translateY(1px);
}

/* Mobile tweak */
@media (max-width: 480px) {
  .t-btnflex {
    transform: skewX(-4deg);
  }
}

/* По умолчанию (верх страницы / прозрачный фон) */
#rec1808123531 a.t-menu__link-item{
  color:#ffffff !important;
  transition: color .2s ease;
}

/* Когда добавим класс .sp-menu--solid */
#rec1808123531.sp-menu--solid a.t-menu__link-item{
  color:#007aff !important;
}
#rec1808123531.sp-menu--solid a.t-menu__link-item:hover{
  color:#005fcc !important;
}


/* ===== MOBILE: menu always blue ===== */
@media screen and (max-width: 960px) {
  #rec1808123531 a.t-menu__link-item {
    color: #007aff !important;
  }

  #rec1808123531 a.t-menu__link-item:hover,
  #rec1808123531 a.t-menu__link-item:focus-visible {
    color: #005fcc !important;
  }
}

/* TE610: links as buttons (if needed) */
#allrecords #services a.tn-atom,
#allrecords #services a {
  /* этот блок включаем ТОЛЬКО если увидим, что кнопки не подхватывают стиль */
}

/* ===== t490 (#rec1810229591): 4 в ряд + иконка слева, заголовок справа, описание снизу + подложка ===== */

/* 1) Гарантируем 4 в ряд (контейнер flex у t-container_flex) */
#rec1810229591 .t490__container{
  display:flex !important;
  flex-wrap:wrap !important;
}

#rec1810229591 .t490__col.t-item{
  flex: 0 0 25% !important;

  box-sizing: border-box;
}

/* 2) Подложка карточек */
#rec1810229591 .t490__col.t-item{
  background:#ffffff;
  border-radius:16px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  padding: 16px 16px 14px;

  text-align:left !important; /* убираем центрирование текста */
}

/* 3) Внутренняя сетка: (иконка + заголовок) сверху, описание снизу */
#rec1810229591 .t490__col.t-item{
  display:grid !important;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "icon title"
    "descr descr";
  column-gap: 14px;
  row-gap: 10px;
  align-items: start;
}

/* wrappercenter "растворяем", чтобы title/descr стали прямыми детьми карточки */
#rec1810229591 .t490__wrappercenter{
  display: contents !important;
}

/* 4) Иконка слева (с плиткой) */
#rec1810229591 .t490__bgimg{
  grid-area: icon;

  width:56px;
  height:56px;

  margin:0 !important; /* убираем t-margin_auto */
  border-radius:14px;

  background-position:center;
  background-repeat:no-repeat;
}

/* 5) Заголовок справа от иконки */
#rec1810229591 .t-card__title{
  grid-area: title;
  margin: 6px 0 0 0 !important;
  text-align:left !important;
}

/* 6) Описание снизу на всю ширину */
#rec1810229591 .t-card__descr{
  grid-area: descr;
  margin: 0 !important;
  max-width:none !important;
  text-align:left !important;
}

/* 7) Адаптив: 2 в ряд */
@media screen and (max-width: 1200px){
  #rec1810229591 .t490__col.t-item{
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

/* 8) Мобилка: 1 в ряд */
@media screen and (max-width: 640px){
  #rec1810229591 .t490__col.t-item{
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* ===== ONE BACKGROUND FOR 4 BLOCKS (AUTO HEIGHT via JS) ===== */

#rec1808346151{
  position: relative;
  z-index: 1;
  --sp-sec-h: 0px; /* сюда JS подставит высоту */
}

/* единый фон под всю секцию */
#rec1808346151::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height: var(--sp-sec-h);
  background-image: url("https://static.tildacdn.com/tild6462-3864-4233-b135-653935363533/ChatGPT-Image-20--20.jpg");
  background-repeat:no-repeat;
  background-size: cover;
  background-position: center top;
  z-index:-1;
}

/* остальные блоки делаем прозрачными, чтобы фон читался единым */
#rec1810038461,
#rec1810870801,
#rec1810229591{
  background: transparent !important;
  position: relative;
  z-index: 2;
}

/* ===== FIX: уменьшаем row-gap в t490 на мобилке ===== */
@media screen and (max-width: 960px){
  #rec1810229591 .t490__container{
    row-gap: 0px !important;   /* можно 12px или 20px */
  }
}
/* ===== FIX: уменьшаем row-gap в t490 на мобилке ===== */
@media screen and (max-width: 1200px){
  #rec1810229591 .t490__container{
    row-gap: 0px !important;   /* можно 12px или 20px */
  }
}


/* ===== HW401: Как мы работаем (rec1808699051) ===== */

/* Фирменный цвет шагов */
#rec1808699051 .t-heading,
#rec1808699051 .t-descr{
  color: #1f2a44;
}

/* Акцентные элементы (цифры, маркеры, линии) */
#rec1808699051 .t-steps__number,
#rec1808699051 .t-steps__number span,
#rec1808699051 .t-steps__number:before,
#rec1808699051 .t-steps__number:after{
  color: #007AFF;
  border-color: #007AFF;
}

/* Линия между шагами — мягкая */
#rec1808699051 .t-steps__line{
  background-color: rgba(0,122,255,0.18);
}

/* ===== MOBILE FIX ===== */
@media screen and (max-width: 960px){

  /* Убираем лишний воздух у блока */
  #rec1808699051{
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  /* Самая частая проблема — row-gap */
  #rec1808699051 .t-steps{
    row-gap: 20px !important;
  }

  /* Тексты компактнее */
  #rec1808699051 .t-heading{
    margin-bottom: 6px !important;
  }

  #rec1808699051 .t-descr{
    margin-top: 0 !important;
  }
}
/* Центрируем текст по вертикали относительно кружка */
#rec1808699051 .t566__col{
  display: flex;
  align-items: center;
}
/* Тень для кружка с цифрой */
#rec1808699051 .t566__circle{
  box-shadow: 0 6px 16px rgba(0, 69, 148, 0.18);
}
/* ===== HW401 / T566: стрелки между шагами ===== */

#rec1808699051 .t566__col{
  position: relative; /* нужно для псевдо-элемента стрелки */
}

/* Стрелка после каждого шага, кроме последнего */
#rec1808699051 .t566__col:not(:last-child)::after{
  content: "›"; /* можно ">" но "›" выглядит аккуратнее */
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  line-height: 1;
  color: rgba(0, 69, 148, 0.35); /* мягкий синий */
}

/* На мобилке стрелки не нужны */
@media screen and (max-width: 960px){
  #rec1808699051 .t566__col:not(:last-child)::after{
    content: none !important;
  }
}
/* ===== HW401: кружок → облачко мысли (hover) ===== */

#rec1808699051 .t566__circle{
  position: relative;
  width: 44px;
  height: 44px;
  background: #ebebeb;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 69, 148, 0.15);
  transition:
    border-radius .25s ease,
    width .25s ease,
    box-shadow .25s ease;
  overflow: visible;
}

/* дополнительные "пузыри" облачка */
#rec1808699051 .t566__circle::before,
#rec1808699051 .t566__circle::after{
  content: "";
  position: absolute;
  background: #ebebeb;
  border-radius: 50%;
  opacity: 0;
  transition:
    opacity .25s ease,
    transform .25s ease;
  pointer-events: none;
}

/* левый пузырь */
#rec1808699051 .t566__circle::before{
  width: 22px;
  height: 22px;
  left: -10px;
  top: 12px;
  transform: scale(0.6);
}

/* правый пузырь */
#rec1808699051 .t566__circle::after{
  width: 18px;
  height: 18px;
  right: -8px;
  top: 6px;
  transform: scale(0.6);
}
/* ===== HW401 / T566 (#rec1808699051): hover с обводкой ===== */

/* базовое состояние */
#rec1808699051 .t566__circle{
  position: relative;
  background: #ebebeb;
  border-radius: 50%;
  border: 2px solid transparent; /* рамка появится при hover */
  box-shadow: 0 4px 12px rgba(0, 69, 148, 0.12);
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background-color .2s ease;
}

/* hover-эффект */
#rec1808699051 .t566__col:hover .t566__circle{
  border-color: #007AFF; /* фирменный синий */
  box-shadow:
    0 6px 16px rgba(0, 122, 255, 0.25),
    0 0 0 4px rgba(0, 122, 255, 0.12); /* мягкое свечение */
  background: #f5f9ff; /* чуть светлее, чтобы обводка читалась */
}

/* цифра остаётся контрастной */
#rec1808699051 .t566__number{
  transition: color .2s ease;
}

#rec1808699051 .t566__col:hover .t566__number{
  color: #004594 !important;
}

/* на мобилке hover отключаем */
@media screen and (max-width: 960px){
  #rec1808699051 .t566__circle{
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 69, 148, 0.12);
    background: #ebebeb;
  }
}

/* ===== CTA CN101 (t823) — #rec1808705901 ===== */

/* 1) Фон секции (как в макете — чистый светлый) */
#rec1808705901{
  background-color: #F3F5F8 !important;
}

/* чтобы не было "100vh" слишком высоким на десктопе */
#rec1808705901 .t823__wrapper{
  height: auto !important;
  min-height: 520px;
}

/* 2) Общие параметры карточек */
#rec1808705901 .t823__main-wrapper,
#rec1808705901 .t823__imgwrapper{
  border-radius: 22px !important;
  box-shadow: 0 18px 45px rgba(0, 35, 90, 0.16) !important;
}

/* 3) Левая карточка формы: стекло/мягкая подложка */
#rec1808705901 .t823__main-wrapper{
  background: rgba(255,255,255,0.88) !important;
  border: 1px solid rgba(0, 122, 255, 0.10) !important;
  backdrop-filter: blur(10px);
  padding: 34px 34px 26px !important;
}

/* Заголовок как в макете */
#rec1808705901 .t823__title{
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  margin-bottom: 18px !important;
}

/* 4) Инпуты: высота, радиус, тень, аккуратная рамка */
#rec1808705901 input.t-input,
#rec1808705901 textarea.t-input,
#rec1808705901 .t-input-phonemask__wrap{
  height: 48px !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,0.92) !important;
  border: 1px solid rgba(0, 69, 148, 0.14) !important;
  box-shadow: 0 8px 16px rgba(0, 40, 90, 0.08) !important;
}

/* поле телефона внутри обертки */
#rec1808705901 .t-input-phonemask{
  height: 48px !important;
}

/* focus-состояние */
#rec1808705901 input.t-input:focus,
#rec1808705901 textarea.t-input:focus,
#rec1808705901 .t-input-phonemask__wrap:focus-within{
  border-color: rgba(0,122,255,0.55) !important;
  box-shadow: 0 12px 20px rgba(0,122,255,0.16) !important;
  outline: none !important;
}

/* 5) Лейбл "Телефон" — чуть компактнее (как в макете) */
#rec1808705901 .t-input-title{
  margin-bottom: 6px !important;
  font-weight: 600 !important;
}





/* 7) Текст под формой — мягче */
#rec1808705901 .t823__form-bottom-text{
  margin-top: 14px !important;
  color: rgba(0, 69, 148, 0.70) !important;
}

/* 8) Правая картинка как карточка + обрезка */
#rec1808705901 .t823__imgwrapper{
  overflow: hidden !important;
  background: #fff;
}

#rec1808705901 .t823__bgimg{
  border-radius: 22px !important;
  background-size: cover !important;
  background-position: center !important;
}

/* 9) Межкарточный отступ — как на макете */
#rec1808705901 .t823__col_img{
  padding-right: 18px !important;
}
#rec1808705901 .t823__col_form{
  padding-left: 18px !important;
}

/* 10) Мобилка: одна колонка, карточки сохраняем */
@media screen and (max-width: 960px){
  #rec1808705901 .t823__wrapper{
    min-height: unset;
  }

  #rec1808705901 .t823__col_img,
  #rec1808705901 .t823__col_form{
    width: 100% !important;
    padding: 0 !important;
  }

  #rec1808705901 .t823__imgwrapper{
    margin: 0 20px 18px !important;
  }

  #rec1808705901 .t823__main-wrapper{
    margin: 0 20px 24px !important;
    padding: 26px 18px 18px !important;
  }
}
/* ===== FIX: возвращаем высоту правой картинки в t823 (#rec1808705901) ===== */

/* Даем колонке/оберткам высоту, чтобы bgimg не схлопывался */
#rec1808705901 .t823__col_img,
#rec1808705901 .t823__imgblock,
#rec1808705901 .t823__imgwrapper{
  height: 100%;
}

/* Минимальная высота самой "карточки" с картинкой */
#rec1808705901 .t823__imgwrapper{
  min-height: 420px;
}

/* И главное — задаём высоту div с background-image */
#rec1808705901 .t823__bgimg{
  height: 100% !important;
  min-height: 420px !important;
}

/* На мобилке: отдельная высота, чтобы картинка была видимой и красивой */
@media screen and (max-width: 960px){
  #rec1808705901 .t823__imgwrapper{
    min-height: 240px !important;
  }
  #rec1808705901 .t823__bgimg{
    min-height: 240px !important;
  }
}
/* ===== CTA CN101: сдвигаем картинку под форму ===== */

/* Десктоп */
#rec1808705901 .t823__imgwrapper{
  transform: translateX(-60px);
}

/* Чтобы тень не обрезалась */
#rec1808705901 .t823__col_img{
  overflow: visible !important;
}

/* Мобилка — без сдвига */
@media screen and (max-width: 960px){
  #rec1808705901 .t823__imgwrapper{
    transform: none;
  }
}
#rec1808705901 .t823__imgwrapper{ z-index: 1; }
#rec1808705901 .t823__main-wrapper{ z-index: 2; position: relative; }


/* ===== CTA CN101: картинка под формой (слои) ===== */

/* делаем колонки управляемыми по z-index */
#rec1808705901 .t823__col_form,
#rec1808705901 .t823__main-wrapper{
  position: relative;
  z-index: 2; /* форма выше */
}

#rec1808705901 .t823__col_img,
#rec1808705901 .t823__imgwrapper{
  position: relative;
  z-index: 1; /* картинка ниже */
}

/* сдвиг картинки под форму */
#rec1808705901 .t823__imgwrapper{
  transform: translateX(-60px);
}

/* чтобы тень не обрезалась */
#rec1808705901 .t823__col_img{
  overflow: visible !important;
}

/* мобилка — без перекрытий */
@media screen and (max-width: 960px){
  #rec1808705901 .t823__imgwrapper{
    transform: none;
  }
}
/* ===== CTA #rec1808705901: правки по макету ===== */

/* 1) Фон формы без прозрачности */
#rec1808705901 .t823__main-wrapper{
  background: #FFFFFF !important;           /* было полупрозрачное */
  backdrop-filter: none !important;
}

/* 2) Плейсхолдеры внутри полей — отступ справа/слева, чтобы не липли к краю */
#rec1808705901 input.t-input{
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* если у телефона иногда внутри есть обёртка/маска — тоже подстрахуем */
#rec1808705901 .t-input-phonemask{
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* 3) Чекбоксы "Что вас интересует" — горизонтально в ряд и с переносом */
#rec1808705901 .t-checkboxes__wrapper{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 16px !important;               /* расстояние между пунктами */
  padding-left: 0 !important;
  margin: 10px 0 0 !important;
}

#rec1808705901 .t-checkboxes__item{
  margin: 0 !important;                    /* убираем вертикальные отступы li */
}



/* индикатор чекбокса — чтобы не растягивал строку */
#rec1808705901 .t-checkbox__indicator{
  flex: 0 0 auto !important;
}

/* На мобилке — тоже горизонтально, но более плотные отступы */
@media screen and (max-width: 960px){
  #rec1808705901 .t-checkboxes__wrapper{
    gap: 8px 12px !important;
  }
}
/* Размер заголовков полей формы */
#rec1808705901 .t-descr_md{
  font-size: 16px !important;
  line-height: 1.3 !important;
}
#rec1808705901 .t823{
  background: transparent !important;
}
#rec1808705901 .t823{
  background: transparent !important;
}


/* ===== УБРАТЬ ФОН У #rec1808705901 ПОЛНОСТЬЮ ===== */
#rec1808705901{
  background: transparent !important;
  background-color: transparent !important;
}

#rec1808705901.r.t-rec{
  background: transparent !important;
  background-color: transparent !important;
}

#rec1808705901 .t823,
#rec1808705901 .t823__container,
#rec1808705901 .t823__wrapper,
#rec1808705901 .t823__col,
#rec1808705901 .t823__col_form,
#rec1808705901 .t823__col_img{
  background: transparent !important;
  background-color: transparent !important;
}


/* ===== Контакты CR50 — #rec1811735151 ===== */

/* Общие отступы секции */
#rec1811735151{
  background: #ffffff !important;
  padding-top: 10px !important;

}

/* Заголовок */
#rec1811735151 .t-title{
  color: #004594 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

/* Основной текст */
#rec1811735151 .t-descr,
#rec1811735151 .t-text{
  color: rgba(0, 69, 148, 0.78) !important;
  font-size: 16px;
  line-height: 1.5;
}



/* Небольшая визуальная иерархия строк контактов */
#rec1811735151 .t-text strong{
  color: #004594;
  font-weight: 700;
}

/* Мобильная версия */
@media (max-width: 960px){
  #rec1811735151{
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
}
/* ===== CTA #rec1808705901: убрать картинку на мобилке ===== */
@media screen and (max-width: 960px){
  #rec1808705901 .t823__col_img,
  #rec1808705901 .t823__col_img_mobile{
    display: none !important;
  }

  /* форма занимает всю ширину */
  #rec1808705901 .t823__col_form,
  #rec1808705901 .t823__col_form_mobile{
    width: 100% !important;
  }
}

/* ===== Самолётик-курсор для #rec1808346151 ===== */
#rec1808346151{ position: relative; }

#rec1808346151 .sp-plane{
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  pointer-events: none;
  z-index: 50;

  opacity: 0;
  transform: translate(-9999px,-9999px) rotate(-10deg);
  transition:
    transform .45s cubic-bezier(.2,.8,.2,1),
    opacity .2s ease;
  filter: drop-shadow(0 10px 18px rgba(0, 69, 148, 0.22));
}

#rec1808346151.sp-plane-on .sp-plane{ opacity: 1; }

/* Чтобы карточки "реагировали" как цель */
#rec1808346151 .t-item{
  transition: transform .2s ease, box-shadow .2s ease;
}
#rec1808346151 .t-item:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 69, 148, 0.14);
}

/* Мобилка: выключаем самолёт */
@media (max-width: 960px){
  #rec1808346151 .sp-plane{ display: none !important; }
}

/* ===== Scroll Plane Overlay ===== */
#sp-plane-canvas{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999999;
}

/* На мобилке лучше выключить (и по UX, и по производительности) */
@media (max-width: 960px){
  #sp-plane-canvas{ display: none !important; }
}
