/* Базовые мобильные стили */
: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{  margin:20px auto 12px; }

/* Виден «припуск» по краям, список скроллится по X, страница — по Y */
/* контейнер оставляем без overflow */
.slider{ position:relative; width:100%; }

/* лента: горизонтальный скролл + видны края соседних */
.slides{
  display:flex; align-items:stretch; gap:12px;
  overflow-x:auto; overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;

  padding: 0 6vw;           /* чтобы торчали края слева/справа */
  touch-action: pan-x;      /* разрешаем Х-жесты (убери pan-y) */
  scrollbar-width:none;
}
.slides::-webkit-scrollbar{ display:none; }

/* карточка уже контейнера, чтобы были «края» */
.slide{
  flex: 0 0 84vw;           /* < 90vw контейнера hero */
  scroll-snap-align:center;
  cursor:pointer; user-select:none;
  border-radius:16px; overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}
.slide img{ display:block; width:100%; height:auto; }

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

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




































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

/* Контейнер */
.features-wrap{ width:90vw; margin:16px auto; }
.features-grid{ display:grid; gap:12px; }

/* Рядовые группы */
.row{ display:grid; gap:12px; }
.row-2{ grid-template-columns:1fr 1fr; }
.row-3{ grid-template-columns:1fr 1fr 1fr; }
.row-full{ grid-column:1 / -1; }
#top-otstup{margin-top:30px;}
/* Пара 1-2 */
.pair-1-2{ grid-template-columns:1fr 1fr; align-items:stretch; }
.right-stack{ display:grid; grid-template-rows:1fr 1fr; gap:12px; }

/* Карточка */
.card{ background:#fff; border-radius:16px; box-shadow:0 6px 18px rgba(0,0,0,.08); padding:12px; color:#111; padding-top: 0px }
.card-title{ margin:8px 0 4px; font:700 15px/1.25 system-ui,-apple-system,Segoe UI,Roboto; }
.card-sub{ margin:0; font:400 14px/1.35 system-ui,-apple-system,Segoe UI,Roboto; color:#636363; font-size: 10px }

/* Изображения */
.card-img{ width:100%; height:auto; display:block; border-radius:12px; }
.card-ico{ width:40px; height:40px; object-fit:contain; display:block; margin:2px 0 8px; }
.card-img-80{ width:80%; height:auto; display:block; }
.img-80-left .card-img-80{ margin-left:0; }
.img-80-center .card-img-80{ margin:0 auto; }
.card-img-50{ width:50%; height:auto; display:block; }

/* Кнопка */
.btn-primary{ width:100%; padding:12px 14px; border:0; border-radius:30px; background:#2462BB; color:#fff; font:600 14px/1 system-ui; }

/* Иконка-слева-верх */
.ico-top .card-title{ margin-top:6px; }

/* Мобильный таргет по умолчанию */
@media (min-width:1px){
  .features-grid, .row{ grid-auto-rows:auto; }
}
/* Самостоятельный блок «Секретная информация» */
.secret-card{
  padding:0;
  background:#2462BB;
  color:#fff;
  border-radius:30px;
}
.secret-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 16px;
}
.secret-title{
  font:600 15px/1 system-ui,-apple-system,Segoe UI,Roboto;
  text-align:center;
}

/* Тройка карточек: текст сверху, картинка снизу впритык */
.row.row-3 .card{
  display:flex;
  flex-direction:column;
  padding:12px 12px 0;      /* без нижнего отступа */
  overflow:hidden;          /* скругление низом сохраняется */
}
.row.row-3 .card-title{ margin-top:12px; }
.row.row-3 .card-sub{ margin:0 0 8px; }

/* Картинки внизу */
.row.row-3 .card img{
  margin-top:auto;          /* уводит картинку к низу */
  display:block;
  border-bottom-left-radius:16px;
  border-bottom-right-radius:16px;
}

/* Боковые: 80% ширины и прижаты к левому краю */
.row.row-3 .img-80-left .card-img-80{
  width:80%;
  margin-left:0;
}

/* Центральная: 100% и по центру */
.row.row-3 .img-80-center .card-img-100{
  margin:0 auto;
}
/* Тройка: текст сверху, картинка снизу */
.row.row-3 .card{ display:flex; flex-direction:column; padding:12px 12px 0; }
.row.row-3 .card img{ margin-top:auto; display:block; }

/* Боковые: 80% слева */
.row.row-3 .img-80-left .card-img-80{ width:80%; margin-left:0; }

/* Центральная: 100% и ровно по центру с выносом в края карточки */
.row.row-3 .img-80-center .card-img-100{
  width:calc(100% + 24px);   /* 24 = 12px слева + 12px справа */
  margin-left:-12px;         /* компенсируем паддинг */
  margin-right:-12px;
  margin-top:auto;
  border-bottom-left-radius:16px;
  border-bottom-right-radius:16px;
}
/* Левый большой в паре 1–2: текст сверху, картинка внизу без отступов */
.pair-1-2 .left-big{
  display:flex;
  flex-direction:column;
  padding-bottom:0;     /* убираем нижний паддинг */
  overflow:hidden;      /* чтобы скругление снизу работало */
}

.pair-1-2 .left-big .card-img{
  margin-top:auto;      /* прижать к низу */
  display:block;
  width:calc(100% + 24px); /* 24px = 12 слева + 12 справа у .card */
  margin-left:-12px;
  margin-right:-12px;
  border-bottom-left-radius:16px;
  border-bottom-right-radius:16px;
}
/* «Секретная информация»: по центру, 90% ширины экрана */
.secret-card{
  grid-column: 1 / -1;     /* на всю строку сетки */
  justify-self: center;    /* центр в гриде */
  width: 90vw;             /* 90% экрана */
  max-width: 90vw;
  padding: 0;              /* перекрыть .card padding */
  background: #2462BB;
  color: #fff;
  border-radius: 30px;
}

.secret-inner{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 16px;
  min-height: 48px;
}

.secret-title{
  font: 600 15px/1 system-ui,-apple-system,Segoe UI,Roboto;
  text-align: center;
}
#frame_1.img-top,
#frame_2.img-top { overflow: visible; }

/* выносим изображение за границы карточки по X и вверх по Y */
#frame_1.img-top .card-img,
#frame_2.img-top .card-img{
  width: calc(100% + 24px);   /* компенсируем padding:12px слева/справа */
  margin: -18px -12px 10px;   /* вверх на 18px, по бокам — на ширину паддингов */
  border-radius: 16px 16px 12px 12px; /* верхние углы под радиус карточки */
}

#frame_3.img-top,
#frame_4.img-top { overflow: visible; }

/* выносим изображение за границы карточки по X и вверх по Y */
#frame_4.img-top .card-img,
#frame_3.img-top .card-img{
  width: calc(100% + 24px);   /* компенсируем padding:12px слева/справа */
  margin: -18px -12px 10px;   /* вверх на 18px, по бокам — на ширину паддингов */
  border-radius: 16px 16px 12px 12px; /* верхние углы под радиус карточки */
}
/* ------------------------------------------------------------ */









/* --------------------------Акции---------------------------------- */

   /* Контейнер */
   #sheet-sales .sheet-inner{width:90vw;margin:10px auto 18px;font-family:-apple-system,system-ui,Segoe UI,Roboto,Arial,sans-serif}
   #sheet-sales .sheet-title{margin:6px 0 6px;font-weight:800;font-size:18px;line-height:1.25}
   #sheet-sales .sheet-sub{margin:0 0 10px;color:#666;font-size:13px}
   #sheet-sales .sheet-divider{border:0;height:1px;background:#525252;margin:8px 0 12px}

   /* Сетка баннеров 2 колонки */
   #sheet-sales .sales-grid{
     display:grid;
     grid-template-columns:1fr 1fr;
     gap:12px;
   }

   /* Карточка-баннер */
   #sheet-sales .sale-card{
     background:#fff;border-radius:16px;box-shadow:0 6px 18px rgba(0,0,0,.08);
     padding:12px;cursor:pointer;transition:transform .12s ease;
   }
   #sheet-sales .sale-card:active{transform:scale(.98)}

   /* Изображение с “выпирающим” верхом за внутренний паддинг */
   #sheet-sales .sale-media{position:relative;margin:-8px -8px 0 -8px; /* выносим вверх/в стороны */
     border-top-left-radius:16px;border-top-right-radius:16px;overflow:hidden}
   #sheet-sales .sale-media img{display:block;width:100%;height:auto}

   /* Адаптив в одну колонку при узких экранах */
   @media (max-width:480px){
     #sheet-sales .sales-grid{grid-template-columns:1fr}
   }
/* ------------------------------------------------------------ */




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

/* Чтоб контент не уезжал под меню */
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: 100vh;          /* было 80vh */
    background: transparent;
    overflow: visible;
    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;
    max-height: 100vh;          /* было 80vh */
    height: 100vh;              /* добавили, чтобы занять весь экран */
    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(100vh - 28px);    /* было 80vh */
    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 4px; font-weight:800; font-size:18px; line-height:1.25; }
#sheet-3 .sheet-sub{ margin:0 0 8px; color:#666; font-size:13px; line-height:1.35; }
#sheet-3 .sheet-divider{ border:0; height:1px; background:#525252; margin:10px 0 14px; }

/* Сетка 2 столбца */
#sheet-3 .service-grid2{
  display:grid; grid-template-columns:1fr 1fr; gap:12px;
}

/* Карточка: иконка сверху слева, подпись под ней */
#sheet-3 .service-card2{
  background:#fff; border-radius:14px; padding:12px;
  box-shadow:0 4px 14px rgba(0,0,0,.06);
  display:block; text-align:left;
}
#sheet-3 .service-ico{
  width:48px; height:48px; object-fit:contain; display:block;
  border-radius:10px; /* если svg без фона, не влияет */
  margin:0 0 8px 0;   /* сверху слева */
}
#sheet-3 .service-name{
  margin:0; color:#111; font-weight:800; font-size:14px; line-height:1.25;
  word-break:break-word;
}

/* Кнопка внизу */
#sheet-3 .service-cta{ margin:16px 0 4px; display:flex; justify-content:center; }
#sheet-3 .btn{
  width:100%; max-width:520px;
  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: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-20 */
#sheet-20 .t20{width:90vw;margin:10px auto 18px;font-family:-apple-system,system-ui,Segoe UI,Roboto,Arial,sans-serif}
#sheet-20 .sheet-title{margin:6px 0 10px;font-weight:800;font-size:18px;line-height:1.25}
#sheet-20 .sheet-divider{border:0;height:1px;background:#525252;margin:8px 0}
#sheet-20 .sheet-note{margin:0 0 12px;color:#555;font-size:13px;line-height:1.45}

/* Строка сотрудника: слева фото, справа заголовок и «Подробнее» */
#sheet-20 .emp{padding:12px 0;border-bottom:1px solid rgba(0,0,0,.06)}
#sheet-20 .emp:last-child{border-bottom:0}
#sheet-20 .emp-head{display:grid;grid-template-columns:92px 1fr;gap:12px;align-items:start}
#sheet-20 .emp-photo{width:62px;height:62px;object-fit:cover;border-radius:12px;display:block;background:#f3f3f3}
#sheet-20 .emp-name{margin:0 0 6px;font-weight:800;font-size:16px;line-height:1.25;color:#111}
#sheet-20 .emp-more-link{display:inline-block;color:#2462BB;font-weight:700;font-size:14px;text-decoration:none}

/* Аккордеон */
#sheet-20 .emp-body{overflow:hidden;max-height:0;opacity:0;transition:max-height .28s ease,opacity .2s ease}
#sheet-20 .emp.expanded .emp-body{max-height:600px;opacity:1}
#sheet-20 .emp-body-inner{padding:10px 0 4px;display:grid;gap:10px}

/* Портфолио: горизонтальный скролл, одинаковая высота */
#sheet-20 .emp-port-title{margin:0;font-weight:800;font-size:14px;color:#111}
#sheet-20 .emp-rail{display:flex;gap:10px;overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;padding-bottom:4px}
#sheet-20 .emp-rail::-webkit-scrollbar{height:6px}
#sheet-20 .emp-rail::-webkit-scrollbar-thumb{background:#d0d0d0;border-radius:999px}
#sheet-20 .emp-shot{flex:0 0 auto;height:96px;aspect-ratio:4/3;object-fit:cover;border-radius:12px;scroll-snap-align:center;cursor:pointer;background:#eee}

/* Кнопки действий */
#sheet-20 .emp-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}
#sheet-20 .btn{
  display:inline-grid;place-items:center;
  padding:12px 10px;border-radius:12px;font-weight:800;font-size:14px;text-decoration:none;
  border:0; outline:none; appearance:none; -webkit-appearance:none; background:#eaeaea;
}
#sheet-20 .btn-wa{background:#25D366;color:#fff}
#sheet-20 .btn-call{background:#2462BB;color:#fff}

/* Скелетоны */
#sheet-20 .sk{padding:12px 0;border-bottom:1px solid rgba(0,0,0,.06)}
#sheet-20 .sk-head{display:grid;grid-template-columns:92px 1fr;gap:12px}
#sheet-20 .sk-ph{width:92px;height:92px;border-radius:12px;background:linear-gradient(90deg,#eee,#f6f6f6,#eee);background-size:200% 100%;animation:t20 1.2s linear infinite}
#sheet-20 .sk-line{height:12px;border-radius:6px;background:linear-gradient(90deg,#eee,#f6f6f6,#eee);background-size:200% 100%;animation:t20 1.2s linear infinite;margin:6px 0}
@keyframes t20{0%{background-position:0 0}100%{background-position:-200% 0}}

/* Лайтбокс lb20 */
/* Лайтбокс */
.lb20[hidden]{display:none}
.lb20{
  position:fixed; inset:0; z-index:9999;
  display:grid; place-items:center;            /* центр по X/Y */
  background:rgba(0,0,0,.9);
}
.lb20-close{
  position:absolute; top:10px; right:10px;
  width:40px; height:40px; border:0; border-radius:12px;
  background:#ffffff1a; color:#fff; font-size:20px;
}
.lb20-rail{
  display:flex; align-items:center; gap:16px;
  max-width:92vw; max-height:82vh; padding:16px 6vw;
  overflow-x:auto; overflow-y:hidden;          /* горизонтальный скролл */
  -webkit-overflow-scrolling:touch; scroll-snap-type:x mandatory;
}
.lb20-rail img{
  flex:0 0 auto; max-height:72vh; border-radius:16px;
  object-fit:contain; background:#000; scroll-snap-align:center;
}

/* Горизонтальный скролл колёсиком мыши */
.lb20-rail::-webkit-scrollbar{height:6px}
.lb20-rail::-webkit-scrollbar-thumb{background:#4a4a4a;border-radius:999px}

#sheet-20 .btn:focus{outline:none; box-shadow:0 0 0 2px rgba(36,98,187,.25)}
#sheet-20 .btn-wa{background:#25D366;color:#fff}
#sheet-20 .btn-call{background:#2462BB;color:#fff}

/* Одна кнопка WA */
#sheet-20 .emp-actions{
  display:flex; justify-content:center; align-items:center;
  width:100%; margin-top:8px;
}
#sheet-20 .btn-wa{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 16px; border-radius:12px;
  font-weight:800; font-size:14px; text-decoration:none;
  background:#25D366; color:#fff; border:0; outline:0;
}
#sheet-20 .wa-ic{width:20px; height:20px; display:block}


#sheet-20 .emp-post{
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.25;
  color: #6b7280;
}
/* ------------------------------------------------------------------ */


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


/* Контентная ширина */
#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: 10px;
  font-weight: 800;
  color: #111;
}
.reg-gate__subtitle{
  margin: 0;
  color: #6a6a6a;
  font-size: 22px;
}
.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; }
#frame_calc{
margin-top:10px
}
















/* --------------------------Камеры---------------------------------------- */
/* Мобильная версия (только). Полноширинный белый блок со скруглением 16px */
.m-card{
    width:100%;
    background:#fff;
    border-radius:16px;
    padding:12px 14px;
    display:flex;
    align-items:center;  /* центр по вертикали */
    gap:12px;
    box-sizing:border-box;
}

/* Картинка слева */
.m-card__img{
    width:72px;
    height:72px;
    object-fit:cover;
    border-radius:12px;   /* при желании 0 */
    flex:0 0 72px;
}

/* Текст справа */
.m-card__body{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:0;          /* корректные переносы */
}

.m-card__title{
    margin:0 0 4px 0;
    font:700 18px/1.25 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color:#111;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.m-card__subtitle{
    margin:0;
    font:400 10px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color:#555;
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:2;     /* максимум две строки на мобиле */
    -webkit-box-orient:vertical;
}







/* Мобильные стили */
#sheet-camera .sheet-surface{background:#fff;border-radius:16px}
#sheet-camera .sheet-inner{padding:14px}
#sheet-camera .sheet-title{margin:0 0 4px;font:700 18px/1.25 system-ui}
#sheet-camera .sheet-sub{margin:0 0 10px;font:400 14px/1.4 system-ui;color:#666}
#sheet-camera .sheet-divider{border:none;height:1px;background:#eee;margin:10px 0}

#sheet-camera .cams-list{display:flex;flex-direction:column;gap:12px}
#sheet-camera .cam-card{background:#fff;border-radius:16px}
#sheet-camera .cam-title{margin:8px 4px 0;font:600 14px/1.3 system-ui;color:#111}

/* Видеоблок 16:9 со скруглением 16px */
#sheet-camera .cam-box{
    position:relative;width:100%;aspect-ratio:16/9;
    border-radius:16px;overflow:hidden;background:#000;
}
#sheet-camera .cam-skeleton{
    position:absolute;inset:0;
    background:linear-gradient(90deg,#0f0f0f 0%,#191919 20%,#0f0f0f 40%);
    animation:cam-shimmer 1.2s linear infinite;
}
@keyframes cam-shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}
#sheet-camera .cam-mount iframe{
    position:absolute;inset:0;width:100%;height:100%;border:0;display:block;background:#000;
}
/* overlay ошибки и кнопка retry */
#sheet-camera .cam-error{
    position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
    background:rgba(0,0,0,.55); color:#fff; padding:12px;
}
#sheet-camera .cam-error__inner{ text-align:center; max-width:90%; }
#sheet-camera .cam-error__txt{ font:600 14px/1.35 system-ui; margin-bottom:8px; }
#sheet-camera .cam-retry{ border:0; padding:8px 12px; border-radius:10px; background:#fff; color:#000; font:600 14px/1 system-ui; }
#sheet-camera .cam-play{
    position:absolute; inset:0; margin:auto;
    width:56px; height:56px; border:0; border-radius:50%;
    background:rgba(255,255,255,.92); cursor:pointer;
}
#sheet-camera .cam-play::before{
    content:""; position:absolute; left:50%; top:50%;
    transform:translate(-40%,-50%);
    width:0; height:0; border-left:18px solid #000;
    border-top:11px solid transparent; border-bottom:11px solid transparent;
}
#sheet-camera .cam-play:active{ transform:scale(.96); }


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

     /* СКОУП: только для #rozigrish-kupit. Без :root. Мобильный UI. */
 #rozigrish-kupit { --brand:#2462BB; --brand2:#1f56a5; --ink:#0f172a; --muted:#5b6474; --stroke:#e9eef6; }

#rozigrish-kupit .sheet-surface{ background:#fff; border-radius:16px; }
#rozigrish-kupit .sheet-inner{ padding:16px 14px 18px; }

#rozigrish-kupit .sheet-title{
    margin:0 0 6px; font:700 20px/1.25 system-ui, -apple-system, Segoe UI, Roboto; color:var(--ink);
}
#rozigrish-kupit .sheet-sub{
    margin:0 0 14px; font:600 14px/1.35 system-ui; color:var(--muted);
}

#rozigrish-kupit .buy-card{
    border:1px solid var(--stroke);
    border-radius:18px;
    padding:14px;
    background:
            radial-gradient(120% 100% at 0% 0%, rgba(36,98,187,.08) 0%, transparent 55%),
            radial-gradient(120% 100% at 100% 0%, rgba(36,98,187,.06) 0%, transparent 55%),
            #fff;
    box-shadow:0 8px 20px rgba(36,98,187,.08);
}

#rozigrish-kupit .row{
    display:grid; grid-template-columns:auto 1fr; align-items:center;
    gap:10px 14px; margin-bottom:12px;
}
#rozigrish-kupit .row-title{ font:600 14px/1.2 system-ui; color:var(--ink); }

/* Счётчик */
#rozigrish-kupit .qty{
    justify-self:start; display:inline-flex; align-items:center; gap:10px;
    background:#fff; border:1px solid var(--stroke); border-radius:14px; padding:6px;
    box-shadow:0 6px 14px rgba(36,98,187,.10);
}
#rozigrish-kupit .qty-btn{
    width:40px; height:40px; border:0; border-radius:12px; cursor:pointer;
    background:linear-gradient(180deg, var(--brand) 0%, var(--brand2) 100%);
    color:#fff; font:800 20px/1 system-ui;
    display:grid; place-items:center;
    box-shadow:0 10px 16px rgba(36,98,187,.25);
    transition:transform .06s ease, filter .2s ease, box-shadow .2s ease;
    -webkit-tap-highlight-color:transparent;
}
#rozigrish-kupit .qty-btn:active{ transform:translateY(1px); }
#rozigrish-kupit .qty-btn:disabled{
    background:#c9d9f3; box-shadow:none; opacity:.95; cursor:default;
}
#rozigrish-kupit .qty-value{
    min-width:40px; text-align:center; font:800 20px/1 system-ui; color:var(--ink);
}

/* Сумма */
#rozigrish-kupit .sum{
    display:flex; align-items:center; justify-content:space-between;
    padding:10px 12px; border:1px dashed var(--stroke); border-radius:12px; margin:2px 0 10px;
    background:#fbfdff;
}
#rozigrish-kupit .sum-label{ font:600 14px/1.2 system-ui; color:#344055; }
#rozigrish-kupit .sum-value{ font:800 18px/1 system-ui; color:var(--brand); }

/* Кнопка купить */
#rozigrish-kupit .buy-btn{
    width:100%; height:52px; border:0; border-radius:14px; cursor:pointer;
    display:flex; align-items:center; justify-content:center; gap:8px;
    background:linear-gradient(90deg, var(--brand) 0%, var(--brand2) 100%);
    color:#fff; font:800 16px/1 system-ui; letter-spacing:.2px;
    box-shadow:0 14px 24px rgba(36,98,187,.30);
    transition:transform .06s ease, filter .2s ease, box-shadow .2s ease;
}
#rozigrish-kupit .buy-btn:active{ transform:translateY(1px); }
#rozigrish-kupit .buy-btn:focus-visible{ outline:2px solid #a3c4ff; outline-offset:3px; }

/* Микро-адаптация под мобильные ширины */
@media (min-width:480px){
    #rozigrish-kupit .buy-card{ max-width:420px; }
}

/* Хэндл/драг-зона, если у тебя есть общий стиль — оставь как есть */
#rozigrish-kupit .sheet-handle{ height:10px; }
#rozigrish-kupit .sheet-drag-area{ height:6px; }


/* Счётчик — контрастные кнопки */
#rozigrish-kupit .qty{
    justify-self:start; display:inline-flex; align-items:center; gap:10px;
    background:#fff; border:1px solid #e1e8f3; border-radius:14px; padding:6px;
    box-shadow:0 6px 14px rgba(36,98,187,.06);
}
#rozigrish-kupit .qty-btn{
    width:44px; height:44px; border:2px solid #2462BB; border-radius:14px; cursor:pointer;
    background:#fff; color:black; font:800 22px/1 system-ui;
    display:grid; place-items:center;
    box-shadow:0 2px 0 rgba(36,98,187,.35);
    transition:transform .06s ease, box-shadow .12s ease, background .12s ease, color .12s ease, border-color .12s ease;
    -webkit-tap-highlight-color:transparent;
}
#rozigrish-kupit .qty-btn:active{
    transform:translateY(1px); box-shadow:0 1px 0 rgba(36,98,187,.35);
}
#rozigrish-kupit .qty-btn:focus-visible{
    outline:2px solid #a3c4ff; outline-offset:3px;
}
#rozigrish-kupit .qty-btn:disabled{
    border-color:#c8d6ef; color:#9fb5de; box-shadow:none; background:#f7faff;
    cursor:default;
}
#rozigrish-kupit .qty-value{
    min-width:44px; text-align:center; font:800 20px/1 system-ui; color:#0f172a;
}

/* Кнопка купить — без суммы */
#rozigrish-kupit .buy-btn{
    width:100%; height:52px; border:0; border-radius:14px; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    background:linear-gradient(90deg, #2462BB 0%, #1f56a5 100%);
    color:white; font:800 16px/1 system-ui; letter-spacing:.2px;
    box-shadow:0 14px 24px rgba(36,98,187,.30);
    transition:transform .06s ease, filter .2s ease, box-shadow .2s ease;
}
#rozigrish-kupit .buy-btn:active{ transform:translateY(1px); }
#rozigrish-kupit .buy-btn:focus-visible{ outline:2px solid #a3c4ff; outline-offset:3px; }


#rozigrish-kupit .offer-note{
    margin:10px 4px 0;
    font:500 12px/1.35 system-ui;
    color:#5b6474;
    text-align:center;
}
#rozigrish-kupit .offer-link{
    color:#2462BB;
    text-decoration:underline;
}
#rozigrish-kupit .offer-link:focus-visible{
    outline:2px solid #a3c4ff; outline-offset:2px;
}
/* Блок билетов */
#rozigrish-kupit .tickets-block{
    margin-top:14px;
    padding-top:12px;
    border-top:1px solid #e1e8f3;
}

#rozigrish-kupit .tickets-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:8px;
}

#rozigrish-kupit .tickets-title{
    font:600 14px/1.2 system-ui;
    color:#0f172a;
}

#rozigrish-kupit .tickets-refresh{
    border:0;
    padding:6px 10px;
    border-radius:999px;
    font:600 22px/1 system-ui;
    background:red;
    color:white;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
}

#rozigrish-kupit .tickets-refresh:active{
    transform:translateY(1px);
}

#rozigrish-kupit .tickets-empty{
    margin:0 0 6px;
    font:500 12px/1.3 system-ui;
    color:#6b7280;
}

#rozigrish-kupit .tickets-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(90px,1fr));
    gap:8px;
}

#rozigrish-kupit .ticket-card{
    border-radius:12px;
    overflow:hidden;
    background:#0f172a;
    box-shadow:0 6px 12px rgba(15,23,42,.25);
    color:#fff;
    display:flex;
    flex-direction:column;
}

#rozigrish-kupit .ticket-img-wrap{
    height:70px;
    overflow:hidden;
}

#rozigrish-kupit .ticket-img-wrap img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

#rozigrish-kupit .ticket-id{
    padding:6px 8px 7px;
    font:700 13px/1 system-ui;
    letter-spacing:.3px;
}
#rozigrish-kupit .ticket-id{
    display:none;
}
@font-face{
    font-family: 'BurleskCyr';
    src: url('/fonts/BurleskCyrillic.ttf') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
/* Счётчик – ровно по центру */
#rozigrish-kupit .qty{
    justify-self:start;
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#fff;
    border:1px solid #e1e8f3;
    border-radius:14px;
    padding:6px;
    box-shadow:0 6px 14px rgba(36,98,187,.06);
    box-sizing:border-box;
}

#rozigrish-kupit .qty-btn{
    width:44px;
    height:44px;
    border:2px solid #2462BB;
    border-radius:14px;
    cursor:pointer;
    background:#fff;
    color:#000;
    font:800 24px/1 system-ui;
    display:flex;                 /* НЕ grid */
    align-items:center;
    justify-content:center;
    box-shadow:0 2px 0 rgba(36,98,187,.35);
    transition:
            transform .06s ease,
            box-shadow .12s ease,
            background .12s ease,
            color .12s ease,
            border-color .12s ease;
    -webkit-tap-highlight-color:transparent;
}

#rozigrish-kupit .qty-btn:active{
    transform:translateY(1px);
    box-shadow:0 1px 0 rgba(36,98,187,.35);
}

#rozigrish-kupit .qty-btn:disabled{
    border-color:#c8d6ef;
    color:#9fb5de;
    box-shadow:none;
    background:#f7faff;
    cursor:default;
}

#rozigrish-kupit .qty-value{
    min-width:44px;
    text-align:center;
    font:800 20px/1 system-ui;
    color:#0f172a;
}

