/* Базовые мобильные стили */
:root {
  --radius-outer: 16px;
  --radius-btn: 30px;
  --gap: 16px;
  --shelf-height: 6px;
  --shelf-bg: #e8e8ec;
  --shelf-active: #111;
  --text: #111;
  --bg: #fff;
  --btn-bg: #111;
  --btn-text: #fff;
  --max-phone-w: 480px;   /* ширина: безопасный максимум для смартфонов */
  --max-phone-h: 1000px;  /* высота: перекрывает длинные экраны */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, system-ui, Segoe UI, Roboto, Arial, sans-serif;

}






/* --------------------------БАНЕРЫ---------------------------------- */

.hero {
  width: 90vw;             /* 80% ширины */
  margin: 20px auto 12px;  /* по центру */
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-outer);
  touch-action: pan-y; /* корректный скролл по вертикали, свайп по горизонтали */
}

.slides {
  display: flex;
  width: 100%;
  will-change: transform;
  transition: transform 280ms ease;
}

.slide {
  min-width: 100%;
  user-select: none;
}

.slide img {
  display: block;
  width: 100%;
  height: auto;
}

/* «Полочка» — две полоски как сегменты */
.shelf {
  width: 80vw;              /* 80% ширины */
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;  /* два сегмента */
  gap: 8px;
}

.shelf-segment {
  height: var(--shelf-height);
  background: var(--shelf-bg);
  border: 0;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
}

.shelf-segment.is-active {
  background: #2462BB;
}

/* Кнопка 80% ширины со скруглением 30px */
.cta-wrap {
  width: 100%;
  display: grid;
  place-items: center;
  margin: 14px 0 24px;
}

.cta-btn {
  width: 90vw;                 /* 80% ширины */
  border-radius: var(--radius-btn);
  padding: 14px 18px;
  font-size: 16px;
  line-height: 1;
  border: none;
  background: #2462BB;
  color: var(--btn-text);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.cta-btn:active { transform: scale(0.99); }

/* На всякий случай — ограничим максимальную ширину на больших мобильниках */

/* ------------------------------------------------------------ */




































/* ----------------------------БЛОКИ ОСНОВНОЕ МЕНЮ-------------------------------- */



/* Контейнер секции (90% ширины, по центру) */
.features-wrap{
  width: 90vw;
  margin: 16px auto;

}

/* Две колонки по 50%, вертикально тянутся */
.features-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}

/* Карточка: белый фон, скругление, тень */
.feature-card{
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  padding: 12px 12px 14px;
  color: #111111;
}

/* Иконка слева сверху */
.feature-card .feature-icon{
  display: block;
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 8px;
}

/* Жирный заголовок */
.feature-card .feature-title{
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
}

/* Описание */
.feature-card .feature-desc{
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #636363;
}

/* Третий элемент — на всю ширину (совместный блок) */
.features-grid > .feature-card:nth-child(3){
  grid-column: 1 / -1;
}

/* Ограничение максимальной ширины на крупных телефонах (опционально) */


/* ------------------------------------------------------------ */















/* -------------------------НАВ МЕНЮ----------------------------------- */

/* Чтоб контент не уезжал под меню */
body { margin: 0; }

.bottom-nav{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid #e8e8ec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px env(safe-area-inset-bottom) 16px; /* top right bottom left */
  z-index: 2;
}

/* Ссылки-иконки */
.bottom-nav a{
  flex: 0 0 auto;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

/* Картинки-иконки через src */
.bottom-nav .nav-icon{
  width: 35px; height: 35px;
  opacity: .8;
  transition: opacity 160ms ease, transform 120ms ease;
  display: block;
}

.bottom-nav a:active .nav-icon{ transform: scale(.96); }
.bottom-nav a.is-active .nav-icon,
.bottom-nav a:focus-visible .nav-icon{ opacity: 1; }

/* ------------------------------------------------------------ */






















/* -----------------------Нажали Масла------------------------------------- */
/* Блокируем прокрутку страницы, когда шторка открыта */
html.no-scroll, body.no-scroll { overflow: hidden; height: 100%; }

/* Бэкдроп с блюром (весь экран), перехватывает клики */
.sheet-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: block;          /* всегда в потоке */
  opacity: 0;              /* прячем через прозрачность */
  pointer-events: none;    /* не кликается, пока скрыт */
  transition: opacity 500ms ease; /* <<< 1.5s плавность */
  z-index: 9998;
}
.sheet-backdrop.is-open{
  opacity: 1;
  pointer-events: auto;    /* становится кликабельным */
}

/* Шторка снизу, ширина 100%, не более 80% высоты */
.sheet{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  max-height: 80vh;
  background: transparent;          /* фон переедет внутрь */
  overflow: visible;                /* ВАЖНО: чтобы handle был виден */
  transform: translateY(100%);
  will-change: transform;
  transition: transform 380ms cubic-bezier(.22,1,.36,1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

/* Анимация показа */
.sheet-backdrop.is-open .sheet{
  transform: translateY(0);
}
.sheet-surface{
  position: relative;
  background: #fff;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 -10px 30px rgba(0,0,0,.12);
  overflow: hidden;                 /* клип для контента по скруглениям */
  /* растягиваем по высоте, но не больше 80vh */
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

/* Белая полоска (над верхним краем блока) */
.sheet-handle{
  position: absolute;
  top: -20px;     /* над верхним краем шторки */
  left: 0;
  right: 0;       /* даём две стороны */
  width: 40%;     /* фактическая ширина полоски */
  height: 5px;
  margin: 0 auto; /* центрирование по горизонтали */
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.12);
  z-index: 1;
}

/* Зона для перетаскивания (удобная тач-зона) */
.sheet-drag-area{
  height: 28px;
  width: 100%;
  flex: 0 0 auto;
}

/* Прокручиваемая область контента.
   Вычитаем высоту drag-area (28px) + внутренние отступы (если захотите).
   Так гарантируем, что суммарная высота не превысит 80vh. */
/* Контентная область внутри не выше 80vh - высота drag-зоны (28px) */
.sheet-content{
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  max-height: calc(80vh - 28px);    /* не больше 80% экрана */
  padding-bottom: env(safe-area-inset-bottom);
  flex: 1 1 auto;
}

/* Внутренности (всё 90% ширины) */
.sheet-inner{
  width: 90vw;
  margin: 10px auto 18px;   /* небольшой отступ сверху */
  font-family: -apple-system, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  color: #111111;
}

/* Картинка по центру, прямоугольная, с закруглением */
.sheet-image{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
}

/* Заголовок (слева, жирный) */
.sheet-title{
  margin: 12px 0 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  text-align: left;
}

/* Разделительная полоса */
.sheet-divider{
  border: 0;
  height: 1px;
  background: #525252;
  margin: 6px 0 8px;
}

/* Описание */
.sheet-desc{
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: #525252;
  text-align: left;
}

/* Кнопка 90% ширины, жирный, радиус 30px, #2462BB */
.sheet-cta{
  display: block;
  width: 90vw;
  margin: 0 auto 16px;
  background: #2462BB;
  color: #ffffff;
  border: 0;
  border-radius: 30px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.sheet-cta:active{ transform: scale(.99); }
@media (prefers-reduced-motion: reduce){
  .sheet-backdrop{ transition: none; }
  .sheet{ transition: none; }
}
/* Серая кнопка-ссылка #EEEDED (та же геометрия, что у .sheet-cta) */
.sheet-btn{
  display:block;
  width:90vw;
  margin: 0 auto 10px;          /* чуть меньше отступа, т.к. над синей */
  border:0;
  border-radius:30px;
  padding:14px 18px;
  font-size:15px;
  font-weight:700;
  line-height:1;
  text-align:center;
  -webkit-tap-highlight-color:transparent;
  text-decoration:none;
}
.sheet-btn--ghost{
  background:#EEEDED;
  color:#111;
}
.sheet-btn:active{ transform: scale(.99); }
/* ------------------------------------------------------------ */














/* ------------------------Калькулятор------------------------------------ */
/* --- Стили ТОЛЬКО для #sheet-2 --- */
#sheet-2 .sheet-inner{
  width: 90vw;
  margin: 10px auto 18px;
}

#sheet-2 .sheet-title{
  margin: 6px 0 10px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
}

#sheet-2 .sheet-divider{
  height: 1px;
  background: #525252;
  margin: 8px 0 12px;
  border: 0;
}

#sheet-2 .sheet-desc{
  color: #525252;
  font-size: 14px;
  line-height: 1.55;
}
#sheet-2 .sheet-desc p{ margin: 0 0 10px; }
#sheet-2 .sheet-desc p:last-child{ margin-bottom: 0; }

#sheet-2 .sheet-subtitle{
  margin: 16px 0 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
}

/* Ряд стран по центру */
#sheet-2 .country-row{
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 14px;
}

/* Кнопки стран */
#sheet-2 .country{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
#sheet-2 .country img{
  display: block;
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
#sheet-2 .country span{
  font-size: 12px;
  color: #222;
  font-weight: 600;
}


/* ------------------------------------------------------------ */



















/* -----------------------Проверка авто ------------------------------------- */

/* Контейнер контента */
#sheet-6 .sheet-inner{
  width: 90vw;
  margin: 10px auto 18px;
}

/* Заголовок и разделитель */
#sheet-6 .sheet-title{
  margin: 6px 0 10px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
}
#sheet-6 .sheet-divider{
  border: 0;
  height: 1px;
  background: #525252;
  margin: 8px 0 12px;
}

/* Элемент проверки */
#sheet-6 .check-item{
  margin-bottom: 25px;
}
#sheet-6 .check-head{
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
#sheet-6 .check-icon{
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
}
#sheet-6 .check-texts{ flex: 1 1 auto; }

#sheet-6 .check-title{
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
}
#sheet-6 .check-desc{
  margin: 0;
  color: #525252;
  font-size: 14px;
  line-height: 1.5;
}

/* Изображение под описанием */
#sheet-6 .check-image{
  display: block;
  width: 100%;
  height: auto;
  margin-top: 8px;
  border-radius: 12px;          /* закруглённые углы */
  object-fit: cover;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}

/* ----------------------- ------------------------------------- */




















/* -----------------------Наши услуги ------------------------------------- */

/* Контейнер */
#sheet-4 .sheet-inner{
  width: 90vw;
  margin: 10px auto 18px;
}

/* Заголовок, разделитель, подзаголовок */
#sheet-4 .sheet-title{
  margin: 6px 0 10px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
}
#sheet-4 .sheet-divider{
  border: 0;
  height: 1px;
  background: #525252;
  margin: 8px 0 12px;
}
#sheet-4 .sheet-subtitle{
  margin: 10px 0 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
}

/* Иконки приложений */
#sheet-4 .apps-row{
  display: grid;
  grid-template-columns: repeat(3, 92px); /* ровно 3 в ряд */
  justify-content: center;                 /* центрируем сетку целиком */
  gap: 14px 18px;                          /* вертикальный/горизонтальный зазор */
  margin: 0 auto 14px;                     /* центр + отступ снизу */
}

#sheet-4 .app-pill{
  width: 92px;                             /* фиксированная ширина ячейки */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

#sheet-4 .app-pill img{
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}

#sheet-4 .app-pill span{
  font-size: 11px;
  line-height: 1.2;
  color: #222;
  font-weight: 600;
}

/* Список отзывов */
#sheet-4 .reviews{ margin-top: 6px; }

/* Карточка отзыва: картинка слева, текст справа */
#sheet-4 .review{
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
#sheet-4 .review:last-child{ border-bottom: 0; }

#sheet-4 .review-img{
  width: 84px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;              /* скруглённые углы */
  background: #f3f3f3;
}

#sheet-4 .review-title{
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
}
#sheet-4 .review-desc{
  margin: 0;
  color: #525252;
  font-size: 13px;
  line-height: 1.45;
}

/* Клик по всей правой части тоже как ссылка */
#sheet-4 .review-link{
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Пагинация */
#sheet-4 .pager{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 6px;
}
#sheet-4 .pg-btn{
  padding: 8px 12px;
  border-radius: 10px;
  border: 0;
  background: #eaeaea;
  color: #111;
  font-size: 13px;
  font-weight: 700;
}
#sheet-4 .pg-btn:disabled{
  opacity: .45;
}
#sheet-4 .pg-status{
  font-size: 13px;
  color: #525252;
}

/* Скелетон загрузки */
#sheet-4 .skeleton{
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
#sheet-4 .sk-img{
  width: 84px; height: 64px; border-radius: 10px;
  background: linear-gradient(90deg,#eee,#f6f6f6,#eee);
  background-size: 200% 100%; animation: sk 1.2s infinite linear;
}
#sheet-4 .sk-lines > div{
  height: 12px; margin: 6px 0; border-radius: 6px;
  background: linear-gradient(90deg,#eee,#f6f6f6,#eee);
  background-size: 200% 100%; animation: sk 1.2s infinite linear;
}
@keyframes sk { 0%{background-position:0 0} 100%{background-position:-200% 0} }



/* ------------------------------------------------------------ */











/* ---------------------------Наши Контакты--------------------------------- */
/* Контейнер */
#sheet-5 .sheet-inner{
  width: 90vw;
  margin: 10px auto 18px;
}

/* Заголовок и разделитель */
#sheet-5 .sheet-title{
  margin: 6px 0 10px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
}
#sheet-5 .sheet-divider{
  border: 0;
  height: 1px;
  background: #525252;
  margin: 8px 0 12px;
}

/* Подзаголовки */
#sheet-5 .subhead{
  margin: 14px 0 6px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
}

/* Телефон + WhatsApp */
#sheet-5 .phone-row{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
#sheet-5 .phone-link{
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
  color: #111;
  text-decoration: none;
  padding: 8px 0;
}
#sheet-5 .btn-whatsapp{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #25D366; /* фирменный цвет WA */
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}
#sheet-5 .btn-whatsapp img{
  width: 18px; height: 18px; object-fit: contain;
}

/* Адрес и кнопка маршрута */
#sheet-5 .addr{
  margin: 0 0 8px;
  color: #525252;
  font-size: 14px;
  line-height: 1.5;
}
#sheet-5 .btn-route{
  display: inline-block;
  background: #2462BB;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 30px;       /* как просили скругление */
  -webkit-tap-highlight-color: transparent;
  margin-bottom: 10px;
}

/* Соцсети */
#sheet-5 .social-list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 6px 0 14px;
}
#sheet-5 .social-item{
  display: grid;
  grid-template-columns: 28px 1fr 20px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
#sheet-5 .social-item .icon-left{
  width: 28px; height: 28px; object-fit: contain;
}
#sheet-5 .social-item .icon-right{
  width: 16px; height: 16px; object-fit: contain; opacity: .7;
}
#sheet-5 .social-item strong{
  font-size: 14px;
  font-weight: 800;
  color: #111;
}

/* Кнопка в конце — используем общую .sheet-cta (если нужно, можно переопределить) */
/* #sheet-5 .sheet-cta { } */


/* ------------------------------------------------------------------ */








/* --------------------------------Доп услуги---------------------------------- */
/* Контейнер блока */
#sheet-3 .sheet-inner{
  width: 90vw;
  margin: 10px auto 18px;
  font-family: -apple-system, system-ui, Segoe UI, Roboto, Arial, sans-serif;
}

/* Заголовок и разделитель */
#sheet-3 .sheet-title{
  margin: 6px 0 10px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
}
#sheet-3 .sheet-divider{
  border: 0;
  height: 1px;
  background:#525252;
  margin: 8px 0 14px;
}

/* Сетка карточек (по одной на строку) */
#sheet-3 .service-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* Карточка: БЕЗ фона/бордера/тени/внутренних отступов */
#sheet-3 .service-card{
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* Изображение сверху (скруглённые углы оставляем) */
#sheet-3 .service-img{
  display:block;
  width:100%;
  height:auto;
  border-radius: 12px;
  object-fit: cover;
  margin: 0 0 10px;
}

/* Подзаголовок и описание */
#sheet-3 .service-title{
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  color:#111;
}
#sheet-3 .service-desc{
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color:#525252;
}

/* Кнопки — ВСЕГДА вертикально */
#sheet-3 .actions{
  display: grid;
  grid-template-columns: 1fr; /* вертикально */
  gap: 8px;
}
#sheet-3 .actions.one,
#sheet-3 .actions.two{ grid-template-columns: 1fr; }

/* Кнопки */
#sheet-3 .btn{
  display:inline-block;
  width:100%;
  text-align:center;
  padding:12px 14px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  border:0;
  -webkit-tap-highlight-color: transparent;
}
#sheet-3 .btn-blue{
  background:#2462BB;   /* основная */
  color:#fff;
}
#sheet-3 .btn-ghost{
  background:#EEEDED;   /* светло-серый из ТЗ */
  color:#111;
}
#sheet-3 .btn:active{ transform: scale(.99); }







/* ------------------------------------------------------------------ */




















/* --------------------------------Видео---------------------------------- */

/* Контейнер */
#sheet-7 .sheet-inner{
  width: 90vw;
  margin: 10px auto 18px;
  font-family: -apple-system, system-ui, Segoe UI, Roboto, Arial, sans-serif;
}

/* Заголовок, разделитель, серая приписка */
#sheet-7 .sheet-title{
  margin: 6px 0 10px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
}
#sheet-7 .sheet-divider{
  border: 0;
  height: 1px;
  background:#525252;
  margin: 8px 0 8px;
}
#sheet-7 .sheet-note{
  margin: 0 0 10px;
  color:#666;
  font-size: 13px;
  line-height: 1.4;
}

/* Список видео */
#sheet-7 .video{
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
#sheet-7 .video:last-child{ border-bottom: 0; }


#sheet-7 .video-thumb{
  width: 112px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background:#f3f3f3;
  display:block;
}

#sheet-7 .video-name{
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  color:#111;
}
#sheet-7 .video-desc{
  margin: 0;
  color:#525252;
  font-size: 13px;
  line-height: 1.45;
}

/* Кликабельная зона для раскрытия */
#sheet-7 .video-head{
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  cursor: pointer;
}

/* Блок ссылок соцсетей (аккордеон) */
#sheet-7 .video-actions{
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 280ms ease, opacity 220ms ease;
  margin-left: 0; /* на всякий */
  margin-right: 0;
}
/* Внутренности аккордеона */
#sheet-7 .actions-wrap{
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 10px 0 2px;
}

/* Кнопка-ссылка соцсети (иконка слева, название жирное, иконка-стрелка справа) */
#sheet-7 .soc-link{
  display: grid;
  grid-template-columns: 28px 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #111;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
#sheet-7 .soc-link strong{
  font-weight: 800;
  font-size: 14px;
}
#sheet-7 .soc-link img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#sheet-7 .soc-left{ width: 28px; height: 28px; }
#sheet-7 .soc-right{ width: 18px; height: 18px; opacity:.7; }

/* Состояние раскрыто */
#sheet-7 .video.expanded .video-actions{
  max-height: 220px;
  opacity: 1;
}

/* Пагинация */
#sheet-7 .pager{
  display:flex; align-items:center; justify-content:center;
  gap:12px; margin: 12px 0 6px;
}
#sheet-7 .pg-btn{
  padding: 8px 12px;
  border-radius: 10px;
  border: 0;
  background: #eaeaea;
  color: #111;
  font-size: 13px;
  font-weight: 700;
}
#sheet-7 .pg-btn:disabled{ opacity:.45; }
#sheet-7 .pg-status{ font-size:13px; color:#525252; }

/* Скелетон */
#sheet-7 .skeleton{
  display:grid; grid-template-columns: 112px 1fr; gap:12px;
  padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.06);
}
#sheet-7 .sk-thumb{
  width:112px; height:72px; border-radius:10px;
  background: linear-gradient(90deg,#eee,#f6f6f6,#eee);
  background-size:200% 100%; animation: sk7 1.2s infinite linear;
}
#sheet-7 .sk-lines > div{
  height:12px; margin:6px 0; border-radius:6px;
  background: linear-gradient(90deg,#eee,#f6f6f6,#eee);
  background-size:200% 100%; animation: sk7 1.2s infinite linear;
}
@keyframes sk7 { 0%{background-position:0 0} 100%{background-position:-200% 0} }



/* ------------------------------------------------------------------ */










/* ---------------------------------Наши преймущества--------------------------------- */


/* Контентная ширина */
#sheet-8 .sheet-inner{
  width: 90vw;
  margin: 10px auto 18px;
  font-family: -apple-system, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  color:#111;
}

/* Изображение сверху */
#sheet-8 .hero-img{
  display:block;
  width:100%;
  height:auto;
  border-radius:14px;
  object-fit:cover;
  margin:0 0 12px;
}

/* Заголовок и разделитель */
#sheet-8 .sheet-title{
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
}
#sheet-8 .sheet-divider{
  border:0;
  height:1px;
  background:#525252;
  margin: 6px 0 10px;
}

/* Список преимуществ */
#sheet-8 .feat-list{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Один пункт: иконка слева, текст справа (заголовок + описание) */
#sheet-8 .feat-item{
  display:grid;
  grid-template-columns: 32px 1fr;
  gap:10px;
  align-items:flex-start;
}

#sheet-8 .feat-ico{
  width:32px; height:32px; object-fit:contain; display:block;
}

#sheet-8 .feat-title{
  margin:0 0 4px;
  font-weight:700;
  font-size:15px;
  line-height:1.25;
}

#sheet-8 .feat-desc{
  margin:0;
  font-size:14px;
  line-height:1.5;
  color:#525252;
}

/* Кнопка в конце — как в других шторках: 90% ширины, скругление 30px, #2462BB */
#sheet-8 .sheet-cta{
  display:block;
  width:90vw;
  max-width: 90vw;
  margin: 14px auto 4px;
  background:#2462BB;
  color:#fff;
  border:0;
  border-radius:30px;
  padding:14px 18px;
  font-size:15px;
  font-weight:700;
  text-align:center;
  -webkit-tap-highlight-color: transparent;
}
#sheet-8 .sheet-cta:active{ transform: scale(.99); }









/* ------------------------------------------------------------------ */














/* ---------------------------------Успешно или нет--------------------------------- */
#sheet-15 .sheet-inner{
  width: 90vw;
  margin: 10px auto 18px;
  font-family: -apple-system, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  color:#111;
  text-align: center; /* центрируем заголовок и текст */
}

/* Изображение по центру */
#sheet-15 .hero-img{
  display:block;
  width: 120px;           /* можно подправить под свой арт */
  max-width: 60vw;
  height:auto;
  margin: 6px auto 10px;  /* центр */
  object-fit: contain;
}

/* Заголовок и разделитель */
#sheet-15 .sheet-title{
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
}
#sheet-15 .sheet-divider{
  border:0;
  height:1px;
  background:#525252;
  margin: 6px auto 10px;
  width: 90%;             /* чуть короче ширины контента, выглядит аккуратно */
}

/* Описание */
#sheet-15 .sheet-desc{
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color:#525252;
}

.cta-wrap_under{
  width: 100%;
  display: grid;
  place-items: center;
  margin: 14px 0 24px;
}

.free_consult_Last{

    width: 90vw;
    border-radius: var(--radius-btn);
    padding: 14px 18px;
    font-size: 16px;
    line-height: 1;
    border: none;
    background: #2462BB;
    color: var(--btn-text);
    font-weight: 600;
    letter-spacing: 0.2px;

}
/* ------------------------------------------------------------------ */











/* --------------------------ПОПАП---------------------------------------- */

/* Скрыть надёжно всё, что с атрибутом hidden */
#sheet-consult [hidden]{ display:none !important; }

/* Контейнер */
#sheet-consult .sheet-inner{
  width: 90vw;
  margin: 10px auto 18px;
  font-family: -apple-system, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  color:#111;
}

/* Заголовок/черта */
#sheet-consult .sheet-title{ margin:0 0 8px; font-weight:800; font-size:18px; line-height:1.25; }
#sheet-consult .sheet-divider{ border:0; height:1px; background:#525252; margin:6px 0 10px; }

/* Индикатор шага */
#sheet-consult .q-meta{ font-size:12px; color:#888; margin:0 0 6px; }

/* Текст вопроса + анимация */
#sheet-consult .q-desc{ margin:0 0 10px; font-size:14px; line-height:1.5; color:#525252; }
#sheet-consult .q-desc.flash{ animation: qFlash .32s ease; }
@keyframes qFlash{ from{opacity:.2; transform:translateY(4px);} to{opacity:1; transform:translateY(0);} }

/* Инпут с иконкой справа */
#sheet-consult .input-wrap{ position:relative; display:block; margin-bottom:6px; }
#sheet-consult .input-wrap input{
  width:100%; padding:12px 44px 12px 14px; border-radius:12px;
  border:1px solid #e6e6e6; font-size:15px; outline:none; background:#fff;
}
#sheet-consult .input-wrap .in-ico{
  position:absolute; right:12px; top:50%; transform:translateY(-50%);
  width:18px; height:18px; opacity:.7; pointer-events:none;
}

/* Ошибка поля + тряска */
#sheet-consult .input-wrap.error input{ border-color:#d93025; }
#sheet-consult .input-wrap.shake{ animation:iShake .18s linear 0s 2; }
@keyframes iShake{ 0%,100%{transform:translateX(0)} 25%{transform:translateX(-3px)} 75%{transform:translateX(3px)} }
#sheet-consult .field-error{ margin:0 0 8px; font-size:12px; color:#d93025; }

/* Выбор стран (на 4-м шаге) */
#sheet-consult .country-choices{
  display:grid; grid-template-columns: 1fr 1fr 1fr; gap:8px; margin:6px 0 10px;
}
#sheet-consult .country-card{
  display:grid; gap:6px; padding:6px; border-radius:12px; border:1px solid #e6e6e6;
  background:#fff; text-align:center; -webkit-tap-highlight-color:transparent;
  transition: border-color .15s ease, box-shadow .15s ease, transform .08s ease;
}
#sheet-consult .country-card img{ width:100%; height:64px; object-fit:cover; border-radius:8px; display:block; }
#sheet-consult .country-card span{ font-size:13px; font-weight:700; color:#111; }
#sheet-consult .country-card:active{ transform:scale(.98); }
#sheet-consult .country-card.is-selected{ border-color:#2462BB; box-shadow:0 0 0 2px rgba(36,98,187,.15); }

/* Кнопки действий */
#sheet-consult .consult-actions{ display:grid; grid-template-columns:1fr; gap:8px; margin-top:6px; }
#sheet-consult .btn{
  width:100%; text-align:center; padding:12px 14px; border-radius:30px;
  font-weight:700; font-size:14px; border:0; -webkit-tap-highlight-color:transparent;
}
#sheet-consult .btn-blue{ background:#2462BB; color:#fff; }
#sheet-consult .btn-ghost{ background:#EEEDED; color:#111; }
#sheet-consult .btn:active{ transform:scale(.99); }


/* ------------------------------------------------------------------ */


/* ------------------------------Просмотр изображения------------------------------------ */
/* Лайтбокс */
.lb{position:fixed;inset:0;z-index:10000;display:none}
.lb.is-open{display:block}
.lb-backdrop{
  position:absolute;inset:0;background:rgba(0,0,0,.5);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)
}
.lb-close{
  position:absolute;top:12px;right:12px;z-index:2;
  width:36px;height:36px;border:0;border-radius:50%;
  background:rgba(0,0,0,.6);color:#fff;font-size:18px;line-height:36px;cursor:pointer
}
.lb-stage{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  overflow:hidden;touch-action:none; /* нужно для пинч-зум/панорамирования */
}
#lb-img{
  max-width:90vw;max-height:90vh;user-select:none;pointer-events:auto;cursor:grab;
  transform:translate(0px,0px) scale(1);transition:transform 120ms ease;
}
html.no-scroll,body.no-scroll{overflow:hidden;height:100%}



/* ------------------------------------------------------------------ */










/* --------------------------------Каталог---------------------------------- */

/* Контейнер и типографика */
#sheet-catalog .sheet-inner{
  width: 90vw;
  margin: 10px auto 18px;
  font-family: -apple-system, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  color:#111;
}
#sheet-catalog .sheet-title{
  margin: 6px 0 8px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
}
#sheet-catalog .sheet-divider{
  border:0; height:1px; background:#525252; margin:6px 0 10px;
}
#sheet-catalog .sheet-note{
  margin: 0 0 10px;
  color:#525252;
  font-size: 14px;
  line-height: 1.45;
}

/* Флаги: 3 карточки по горизонтали на мобиле */
#sheet-catalog .catalog-flags{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
#sheet-catalog .flag-card{
  display:grid;
  gap:6px;
  padding:8px;
  border-radius:12px;
  border:1px solid #e6e6e6;
  background:#fff;
  text-align:center;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .15s ease, box-shadow .15s ease, transform .08s ease;
}
#sheet-catalog .flag-card img{
  width:100%;
  height:64px;
  object-fit:cover;
  border-radius:8px;
  display:block;
}
#sheet-catalog .flag-card span{
  font-size:13px;
  font-weight:700;
  color:#111;
}
#sheet-catalog .flag-card:active{ transform: scale(.98); }
#sheet-catalog .flag-card:focus-visible{
  outline: none;
  border-color:#2462BB;
  box-shadow: 0 0 0 2px rgba(36,98,187,.15);
}
/* ------------------------------------------------------------------ */







/* Бэкдроп на весь экран */
.reg-gate{
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;                 /* скрыт по умолчанию */
  align-items: center;
  justify-content: center;
  pointer-events: none;          /* блокируем до открытия */
  opacity: 0;
  transition: opacity 280ms ease;
}
.reg-gate.is-open{
  display: flex;
  pointer-events: auto;
  opacity: 1;
}

/* Внутренний контейнер (центр, адаптив) */
.reg-gate__inner{
  width: 100%;
  max-height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  padding: 16px 16px 18px;
}

/* Заголовки и тексты */
.reg-gate__title{
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: #111;
}
.reg-gate__subtitle{
  margin: 0;
  color: #6a6a6a;
  font-size: 14px;
}
.reg-gate__hero{
  display: block;

  max-width: 360px;
  height: auto;
  margin: 14px auto 10px;
}
.reg-gate__divider{
  border: 0;
  height: 1px;
  background: #e9e9e9;
  margin: 8px 0 12px;
}
.reg-gate__h3{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #111;
}
.reg-gate__note{
  margin: 0 0 10px;
  color: #6a6a6a;
  font-size: 13px;
}

/* Видео */
.reg-gate__video-wrap{
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f3f3;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.reg-gate__video{
  display:block;
  width:100%;
  height:auto;
  background:#000;
}

/* Кнопка Проверить */
.reg-gate__btn{
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 14px 16px;
  background: #2462BB;
  color: #fff;
  border: 0;
  border-radius: 30px;
  font-weight: 800;
  font-size: 15px;
  -webkit-tap-highlight-color: transparent;
}
.reg-gate__btn:active{ transform: scale(.99); }

/* Индикатор загрузки (вращение) */
.reg-gate__spinner{
  width: 18px; height: 18px; opacity: .9;
  transform-origin: center;
  display: none; /* показ только в состоянии загрузки */
}
.reg-gate__btn.is-loading .reg-gate__spinner{ display: block; animation: rgSpin 900ms linear infinite; }
.reg-gate__btn.is-loading{ opacity: .85; pointer-events: none; }

@keyframes rgSpin { from{transform: rotate(0deg);} to{transform: rotate(360deg);} }


.reg-gate__video-wrap{
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.reg-gate__video{
  display:block;
  width:100%;
  height:auto;
  background:#000;
}

/* Кнопка play по центру */
.rgp-play{
  position:absolute;
  inset:0;
  margin:auto;
  width:72px;
  height:72px;
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
  display:grid;
  place-items:center;
  transition: transform .12s ease, opacity .2s ease;
}
.rgp-play:active{ transform: scale(.96); }
.rgp-play.is-hidden{ opacity:0; pointer-events:none; }

.rgp-wrap{
  position:relative;
  border-radius:12px;
  overflow:hidden;
  background:#000;
  box-shadow:0 1px 8px rgba(0,0,0,.06);
  width:100%;
  aspect-ratio:16/9; /* держим пропорции */
}

/* Видео: по умолчанию не принимает клики — все идут в наш оверлей */
.rg-video{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  background:#000;
  pointer-events:none;
}

/* Прячем нативную иконку старта WebKit */
.rg-video::-webkit-media-controls-start-playback-button{ display:none !important; }

/* Кнопка play по центру */
.rgp-play{
  position:absolute; inset:0;
  margin:auto;
  width:72px; height:72px;
  border:0; background:transparent; padding:0;
  cursor:pointer; display:grid; place-items:center;
  transition: transform .12s ease, opacity .2s ease;
}
.rgp-play:active{ transform: scale(.96); }
.rgp-play.is-hidden{ opacity:0; pointer-events:none; }

/* Когда началось воспроизведение — позволяем кликать по видео/контролам */
.rgp-wrap.is-playing .rg-video{ pointer-events:auto; }

/* Заголовки/тексты раздела — чтобы выглядело аккуратно в твоём стиле */
.reg-gate__h3{ margin:0 0 6px; font-size:16px; font-weight:800; color:#111; }
.reg-gate__note{ margin:0 0 10px; color:#6a6a6a; font-size:13px; }
.reg-gate__video-wrap{ margin-top:6px; }