/* ==========================================================================
   sv-avtocentr — редизайн 2026 (поверх стилей Webflow, подключается после styles.css).
   Тексты и структура заголовков не меняются — только внешний вид.
   Все правила — внутри .sv (класс на <body>), чтобы надёжно перекрывать Webflow.
   ========================================================================== */

:root {
  --sv-bg: #030813;
  --sv-bg-2: #060d1c;
  --sv-surface: #0a1324;
  --sv-surface-2: #0e1a31;
  --sv-line: rgba(229, 227, 97, .16);
  --sv-line-strong: rgba(229, 227, 97, .42);
  --sv-yellow: #e5e361;
  --sv-yellow-hi: #f6f3a0;
  --sv-glow: rgba(229, 227, 97, .38);
  --sv-text: #fff;
  --sv-muted: rgba(255, 255, 255, .74);
  --sv-on-yellow: #030813;
  --sv-radius: 22px;
  --sv-radius-sm: 14px;
  --sv-header-h: 64px;
  --sv-gutter: clamp(16px, 4vw, 40px);
  --sv-ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 1180px) {
  :root { --sv-header-h: 80px; }
}
@media (max-width: 767px) {
  :root { --sv-gutter: 26px; }
}

html { scroll-padding-top: calc(var(--sv-header-h) + 12px); }
html.sv-lock { overflow: hidden; }

.sv { background-color: var(--sv-bg); }

.sv a:focus-visible,
.sv button:focus-visible {
  outline: 2px solid var(--sv-yellow);
  outline-offset: 3px;
}

/* ---------- Кнопка (общая) ---------- */
.sv .sv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--sv-yellow);
  color: var(--sv-on-yellow);
  font: 800 13px/1 Rubik, sans-serif;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(229, 227, 97, .6), 0 6px 22px rgba(229, 227, 97, .22);
  transition: transform .2s var(--sv-ease), box-shadow .2s var(--sv-ease), background-color .2s;
}
.sv .sv-btn:hover { background: var(--sv-yellow-hi); transform: translateY(-1px); box-shadow: 0 0 0 1px var(--sv-yellow-hi), 0 10px 30px var(--sv-glow); }

/* ==========================================================================
   R1 — ШАПКА
   ========================================================================== */
.sv-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  border-bottom: 1px solid var(--sv-line);
  transition: box-shadow .25s;
}
/* Фон с размытием — отдельным слоем: backdrop-filter на самой шапке «запер» бы боковое меню внутри неё */
.sv-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(3, 8, 19, .78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  transition: background-color .25s;
}
.sv-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.sv-header.is-scrolled::before { background: rgba(3, 8, 19, .94); }

.sv-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1440px;
  height: var(--sv-header-h);
  margin: 0 auto;
  padding: 0 var(--sv-gutter);
}

.sv-header__logo { display: block; flex: none; margin-right: auto; }
.sv-header__logo img { display: block; width: auto; height: 42px; }

.sv-header__call,
.sv-header__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  color: var(--sv-yellow);
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.sv-header__call:hover,
.sv-header__burger:hover { background: rgba(229, 227, 97, .1); border-color: var(--sv-line-strong); }
.sv-header__burger { flex-direction: column; gap: 5px; padding: 0; }
.sv-header__burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.sv-header__burger span:nth-child(2) { width: 12px; margin-left: 6px; }

/* Меню на телефонах и планшетах — боковая панель: тёмное стекло с мягким золотым светом */
.sv-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 96;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(90vw, 400px);
  padding: 92px 24px 24px;
  overflow-y: auto;
  counter-reset: svnav;
  background:
    radial-gradient(120% 55% at 100% 0%, rgba(229, 227, 97, .13), transparent 62%),
    radial-gradient(90% 45% at 0% 100%, rgba(229, 227, 97, .07), transparent 70%),
    linear-gradient(180deg, rgba(12, 17, 29, .97), rgba(4, 7, 13, .985));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-left: 1px solid rgba(255, 255, 255, .08);
  box-shadow: -30px 0 80px rgba(0, 0, 0, .6);
  text-align: left;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .4s var(--sv-ease), visibility 0s linear .4s;
}
.sv-nav.is-open { transform: none; visibility: visible; transition: transform .4s var(--sv-ease); }
.sv-nav > * { flex-shrink: 0; }
.sv-nav:focus { outline: none; }
/* Логотип вверху панели — декоративный фон (не дублируем <img>) */
.sv-nav::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 24px;
  width: 104px;
  height: 46px;
  background: url("../img/654ece5b55cafe5a3369c458_Frame.svg") left center / contain no-repeat;
  opacity: .95;
}

.sv-nav__close {
  position: absolute;
  top: 22px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
  transition: color .2s, border-color .2s, transform .3s var(--sv-ease);
}
.sv-nav__close:hover { color: var(--sv-yellow); border-color: var(--sv-line-strong); transform: rotate(90deg); }

.sv-nav__links { display: flex; flex-direction: column; margin-top: 4px; }
.sv-nav__link {
  counter-increment: svnav;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .94);
  font: 600 24px/1.2 Rubik, sans-serif;
  letter-spacing: -.01em;
  text-decoration: none;
}
.sv-nav__link::before {
  content: counter(svnav, decimal-leading-zero);
  width: 26px;
  color: rgba(229, 227, 97, .65);
  font: 600 12px/1 Rubik, sans-serif;
  letter-spacing: .12em;
}
.sv-nav__link::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: auto;
  margin-right: 4px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: .3;
  transition: opacity .2s, transform .25s var(--sv-ease);
}
.sv-nav__link:hover { color: var(--sv-yellow); }
.sv-nav__link:hover::after { opacity: 1; transform: translateX(3px) rotate(45deg); }

.sv-nav__social { display: flex; gap: 10px; margin-top: 6px; }
.sv-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  transition: transform .2s var(--sv-ease), border-color .2s, background-color .2s;
}
.sv-social img { display: block; width: 100%; height: 100%; }
.sv-social:hover { transform: translateY(-2px); border-color: var(--sv-line-strong); background: rgba(229, 227, 97, .08); }

.sv-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--sv-text);
  font: 700 21px/1 Rubik, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.sv-phone img { width: 18px; height: auto; }
.sv-phone:hover { color: var(--sv-yellow); }
.sv-nav .sv-phone {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
}

.sv-nav .sv-btn {
  height: 56px;
  font-size: 14px;
  background: linear-gradient(180deg, #f4f19a, var(--sv-yellow) 55%, #d4d04a);
  box-shadow: 0 10px 30px rgba(229, 227, 97, .18), inset 0 1px 0 rgba(255, 255, 255, .5);
}

.sv-address {
  margin-top: auto;
  padding: 16px 18px 16px 20px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-left: 2px solid rgba(229, 227, 97, .6);
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
  color: rgba(255, 255, 255, .78);
  font: 500 14px/1.5 Rubik, sans-serif;
}
.sv-address__label { margin-bottom: 2px; color: var(--sv-yellow); font-weight: 700; letter-spacing: .02em; }

/* Плавное появление пунктов меню по очереди (только в панели) */
@media (max-width: 1179px) {
  .sv-nav__link,
  .sv-nav__social,
  .sv-nav .sv-phone,
  .sv-nav .sv-btn,
  .sv-address {
    opacity: 0;
    transform: translateX(18px);
    transition: opacity .35s ease, transform .45s var(--sv-ease), color .2s;
  }
  .sv-nav.is-open .sv-nav__link,
  .sv-nav.is-open .sv-nav__social,
  .sv-nav.is-open .sv-phone,
  .sv-nav.is-open .sv-btn,
  .sv-nav.is-open .sv-address { opacity: 1; transform: none; }
  .sv-nav.is-open .sv-nav__link:nth-child(1) { transition-delay: .08s, .08s, 0s; }
  .sv-nav.is-open .sv-nav__link:nth-child(2) { transition-delay: .12s, .12s, 0s; }
  .sv-nav.is-open .sv-nav__link:nth-child(3) { transition-delay: .16s, .16s, 0s; }
  .sv-nav.is-open .sv-nav__link:nth-child(4) { transition-delay: .2s, .2s, 0s; }
  .sv-nav.is-open .sv-nav__social { transition-delay: .24s; }
  .sv-nav.is-open .sv-phone { transition-delay: .28s, .28s, 0s; }
  .sv-nav.is-open .sv-btn { transition-delay: .32s; }
  .sv-nav.is-open .sv-address { transition-delay: .36s; }
}

.sv-overlay {
  position: fixed;
  inset: 0;
  z-index: 89; /* под шапкой (90): меню внутри шапки — над затемнением */
  background: rgba(2, 4, 9, .7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.sv-overlay.is-open { opacity: 1; pointer-events: auto; }

/* Компьютер: меню в одну строку */
@media (min-width: 1180px) {
  .sv-header__logo { margin-right: 8px; }
  .sv-header__logo img { height: 50px; }
  .sv-header__call,
  .sv-header__burger,
  .sv-nav__close { display: none; }

  .sv-nav {
    position: static;
    flex: 1;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    width: auto;
    padding: 0;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
    transform: none;
    visibility: visible;
    transition: none;
  }
  .sv-nav::before,
  .sv-nav__link::before,
  .sv-nav__link::after { display: none; }
  .sv-nav .sv-phone { padding: 0; border: 0; background: none; }
  .sv-nav__links { flex-direction: row; gap: 2px; margin: 0 auto 0 0; }
  .sv-nav__link {
    gap: 0;
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
  }
  .sv-nav__link:hover { padding-left: 14px; background: rgba(229, 227, 97, .08); }
  .sv-nav__social { gap: 6px; margin: 0; }
  .sv-social { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 999px; background: none; }
  .sv-social:hover { background: none; filter: drop-shadow(0 0 10px var(--sv-glow)); }
  .sv-phone { font-size: 15px; gap: 8px; }
  .sv-phone img { width: 16px; }
  .sv-nav .sv-btn { height: 44px; padding: 0 20px; font-size: 12px; background: var(--sv-yellow); box-shadow: 0 0 0 1px rgba(229, 227, 97, .6), 0 6px 22px rgba(229, 227, 97, .22); }
  .sv-address { display: none; }
  .sv-overlay { display: none; }
}

@media (min-width: 1440px) {
  .sv-address {
    display: block;
    margin: 0;
    padding: 0 0 0 16px;
    border: 0;
    border-left: 1px solid var(--sv-line);
    border-radius: 0;
    background: none;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
  }
}

/* ==========================================================================
   R2 — ПЕРВЫЙ ЭКРАН
   ========================================================================== */
.sv .section {
  container-type: inline-size;
  position: relative;
  display: block;
  /* container-type не даёт секции подстраиваться под содержимое — ширина только явная */
  width: 100%;
  min-width: 0;
  max-width: none;
  height: auto;
  align-self: stretch;
  margin: 0;
  padding: calc(var(--sv-header-h) + clamp(28px, 6vw, 72px)) 0 clamp(40px, 6vw, 88px);
  overflow: clip;
  background:
    radial-gradient(60% 55% at 78% 62%, rgba(229, 227, 97, .13), transparent 70%),
    radial-gradient(40% 40% at 10% 10%, rgba(229, 227, 97, .06), transparent 70%);
}

/* Заголовок: «золотой» градиент + свечение */
.sv .heading-2,
.sv .text-block-3 {
  background: linear-gradient(180deg, #fffbd0 0%, var(--sv-yellow) 52%, #c9c53e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0;
  text-shadow: none;
  filter: drop-shadow(0 0 14px rgba(229, 227, 97, .35));
}
.sv .heading-2 {
  display: block;
  margin: 0;
  letter-spacing: -.028em;
  line-height: .86;
  box-shadow: none;
}
.sv .text-block-3 {
  padding: 0;
  margin-top: .12em;
  letter-spacing: .01em;
  line-height: .95;
}
.sv .text-block-4 {
  display: block;
  padding: 0;
  margin-top: 16px;
  color: var(--sv-muted);
  text-shadow: none;
  font-weight: 600;
  letter-spacing: .06em;
}

/* Кнопка «Записатися зараз» */
.sv .button-4.formobile {
  width: auto;
  min-width: 280px;
  height: 60px;
  padding: 0 38px;
  box-shadow: 0 0 0 1px rgba(229, 227, 97, .65), 0 10px 36px rgba(229, 227, 97, .28);
  transition: transform .2s var(--sv-ease), box-shadow .2s var(--sv-ease), background-color .2s;
}
.sv .button-4.formobile:hover { background-color: var(--sv-yellow-hi); transform: translateY(-2px); box-shadow: 0 0 0 1px var(--sv-yellow-hi), 0 16px 44px var(--sv-glow); }
.sv .button-4.formobile .text-span { font-size: 16px; letter-spacing: .03em; }

/* Лёгкая пульсация кнопки: от неё расходится тонкое золотое кольцо и тает (каждые ~2,8 с).
   Анимируются только transform/opacity кольца — без перерисовки вёрстки и без влияния на CLS */
.sv .button-4.formobile { position: relative; isolation: isolate; }
.sv .button-4.formobile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 2px solid rgba(229, 227, 97, .85);
  border-radius: inherit;
  box-shadow: 0 0 22px rgba(229, 227, 97, .5), inset 0 0 12px rgba(229, 227, 97, .25);
  opacity: 0;
  pointer-events: none;
  animation: sv-cta-pulse 2.8s cubic-bezier(.2, .7, .2, 1) 1.5s infinite;
}
@keyframes sv-cta-pulse {
  0% { opacity: 0; transform: scale(1, 1); }
  12% { opacity: .75; transform: scale(1.025, 1.12); }
  70% { opacity: 0; transform: scale(1.09, 1.42); }
  100% { opacity: 0; transform: scale(1.09, 1.42); }
}
@media (prefers-reduced-motion: reduce) {
  .sv .button-4.formobile::after { animation-name: none !important; opacity: 0; }
}

/* «Термін навчання 9 Тижнів» — бейдж-«стекло» поверх картинки с машиной (в пустом углу, не на надписи) */
.sv .text-block-8.for-mob {
  position: relative;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  width: auto;
  margin: 0;
  padding: 11px 16px 12px;
  border: 1px solid rgba(229, 227, 97, .45);
  border-radius: 16px;
  background: rgba(8, 12, 22, .6);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .72);
  font: 700 11px/1.1 Rubik, sans-serif;
  letter-spacing: .12em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.sv .text-block-8.for-mob .text-span-6 {
  display: block;
  color: var(--sv-yellow);
  font: 800 21px/1 Rubik, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

/* 4 преимущества — плитки «стекло» одного размера */
.sv .quick-stack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: auto;
  min-height: 0;
  margin: 28px 0 0;
  padding: 0;
}
.sv .quick-stack > .w-layout-cell {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .025) 62%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 12px 30px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
}
.sv .quick-stack > .w-layout-cell > img {
  flex: none;
  align-self: center;
  width: 42px;
  height: 42px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(229, 227, 97, .35);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(229, 227, 97, .26), rgba(229, 227, 97, .07));
}
.sv .quick-stack .text-block-5,
.sv .quick-stack .text-block-8 {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, .95);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}
.sv .quick-stack [class*="text-span"] { font-size: inherit; font-weight: 700; line-height: inherit; }
/* У сетки преимуществ есть id-правило Webflow (на телефоне — неравные колонки 157/139 px) — перекрываем по id */
.sv #w-node-e1b474c8-dfda-953c-922b-df6edeadd098-e432f7d8 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: none;
}
@media (max-width: 767px) {
  .sv #w-node-e1b474c8-dfda-953c-922b-df6edeadd098-e432f7d8 { grid-template-columns: minmax(0, 1fr); }
}
/* «Навчаємо більше» + «10 років»: в разметке без пробела, перенос строки обязателен */
.sv .quick-stack .text-span-7 { display: block; }

/* Growth: рейтинг Google под кнопкой (новый текст — согласован, убирается отдельно) */
.sv .sv-rating {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 14px 8px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--sv-text);
  font: 500 14px/1 Rubik, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s, background-color .2s;
}
.sv .sv-rating:hover { border-color: var(--sv-line-strong); background: rgba(229, 227, 97, .07); }
.sv .sv-rating__stars { flex: none; color: var(--sv-yellow); filter: drop-shadow(0 0 6px rgba(229, 227, 97, .45)); }
.sv .sv-rating__score { font-weight: 800; font-size: 15px; }
.sv .sv-rating__count { color: var(--sv-muted); }

/* Раскладка первого экрана — сетка с областями; обёртки Webflow «растворены» (display: contents) */
.sv .div-block-31,
.sv .flex-block,
.sv .div-block-30 { display: contents; }
.sv .heading-2 { grid-area: h1; }
.sv .text-block-3 { grid-area: avto; }
.sv .text-block-4 { grid-area: filia; }
.sv .image-87,
.sv .div-block-33 { grid-area: car; }
.sv .button-4.formobile { grid-area: cta; }
.sv .text-block-8.for-mob { grid-area: badge; }
.sv .sv-rating { grid-area: rating; }
.sv .quick-stack { grid-area: benefits; }

/* ---------- Компьютер (от 1180 px): заголовок на всю ширину, машина справа ---------- */
@media (min-width: 1180px) {
  .sv .firstscreen {
    --fs-w: min(100cqw - 2 * var(--sv-gutter), 1360px);
    --h1: min(142px, calc(var(--fs-w) / 9.1));
    --col-l: 600px;
    --col-r: calc(var(--fs-w) - var(--col-l) - 32px);
    --car-w: calc(var(--col-r) * 1.06);
    --car-h: calc(var(--car-w) * 520 / 963);
    --row1: calc(var(--h1) * .86 + 22px);
    position: relative;
    display: grid;
    grid-template-columns: var(--col-l) minmax(0, 1fr);
    grid-template-areas:
      "h1 h1"
      "avto ."
      "filia ."
      "cta ."
      "rating ."
      "benefits badge";
    align-content: start;
    column-gap: 32px;
    width: var(--fs-w);
    min-height: calc(var(--row1) + var(--car-h) + 8px);
    margin: 0 auto;
    padding: 0;
  }
  .sv .heading-2 { font-size: var(--h1); margin-bottom: 22px; }
  .sv .text-block-3 { margin-top: 0; font-size: 84px; }
  .sv .text-block-4 { font-size: 15px; }
  .sv .button-4.formobile { justify-self: start; margin-top: 30px; }
  .sv .sv-rating { justify-self: start; }
  .sv .div-block-33 { display: none; }
  /* бейдж — в правом нижнем углу картинки, под надписью «…категорії В» */
  .sv .text-block-8.for-mob {
    justify-self: end;
    align-self: end;
    margin: 0 calc((var(--col-r) - var(--car-w)) / 2 + var(--car-w) * .04) 0 0;
  }

  /* Машина: видимая часть = правая колонка × 1,06; прозрачные поля картинки уходят за край */
  .sv .image-87 {
    position: absolute;
    top: calc(var(--row1) - 6px - var(--car-w) * 160 / 963);
    left: calc(var(--col-l) + 32px + (var(--col-r) - var(--car-w)) / 2 - var(--car-w) * 138 / 963);
    right: auto;
    bottom: auto;
    z-index: 1;
    width: calc(var(--car-w) * 1200 / 963);
    max-width: none;
    max-height: none;
    margin: 0;
    transform: none;
    pointer-events: none;
  }
  .sv .text-block-3,
  .sv .text-block-4,
  .sv .button-4.formobile,
  .sv .sv-rating,
  .sv .quick-stack { position: relative; z-index: 2; }
}

/* ---------- Планшеты и телефоны (до 1179 px): одна колонка по центру ---------- */
@media (max-width: 1179px) {
  .sv .firstscreen {
    --fs-w: calc(min(100cqw, 720px) - 2 * var(--sv-gutter));
    --h1: min(100px, calc(var(--fs-w) / 9.15));
    /* ширина машины: не шире экрана и не выше доли видимой высоты (svh — с учётом панелей браузера) */
    --car-w: min(100cqw - 2 * var(--sv-gutter), 640px, calc(clamp(220px, 100vh - 430px, 460px) * 1.4851));
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "h1" "avto" "filia" "car" "badge" "cta" "rating" "benefits";
    justify-items: center;
    width: auto;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--sv-gutter);
    text-align: center;
  }
  @supports (height: 100svh) {
    .sv .firstscreen { --car-w: min(100cqw - 2 * var(--sv-gutter), 640px, calc(clamp(220px, 100svh - 430px, 460px) * 1.4851)); }
  }
  .sv .heading-2 {
    width: auto;
    margin: 0;
    padding: 0;
    font-size: var(--h1);
    letter-spacing: -.028em;
    text-align: center;
  }
  .sv .text-block-3 { display: block; font-size: calc(var(--h1) * 1.05); line-height: 1; text-align: center; }
  .sv .text-block-4 { display: block; max-width: 34ch; margin: 12px auto 0; font-size: clamp(11px, 2.9vw, 15px); line-height: 1.45; text-align: center; }

  /* Машина; прозрачные поля картинки (сверху 13%, снизу 11% ширины) «съедены» отрицательными отступами */
  .sv .image-87,
  .sv .div-block-33 {
    position: relative;
    z-index: 1;
    display: block;
    width: var(--car-w);
    max-width: none;
    margin: calc(var(--car-w) * -.075) 0 calc(var(--car-w) * -.06);
  }
  .sv .image-87 { height: auto; min-width: 0; max-height: none; top: auto; left: auto; right: auto; bottom: auto; }
  .sv .div-block-33::before {
    content: "";
    position: absolute;
    inset: 22% -6% 4%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(229, 227, 97, .28), transparent);
    filter: blur(8px);
  }
  /* бейдж — своя строка под картинкой, заходит на неё снизу в пустой правый угол
     (по карте картинки свободно правее 58% и ниже 72%; верх бейджа ≈ 80% высоты, правый край = 88% ширины) */
  .sv .text-block-8.for-mob {
    grid-area: badge;
    justify-self: end;
    align-self: start;
    margin: calc(var(--car-w) * -.075) calc((100% - var(--car-w) * .76) / 2) 0 0;
    transform: translateY(-5px); /* +5 px до кнопки «Записатися зараз» (раскладку не меняет) */
  }
  .sv .button-4.formobile { width: min(100%, 320px); min-width: 0; height: 56px; margin-top: 8px; padding: 0 24px; }
  .sv .quick-stack { width: 100%; max-width: 560px; margin: 24px auto 0; text-align: left; }
}

@media (min-width: 480px) and (max-width: 1179px) {
  .sv .div-block-33 { display: none; }
}

/* ---------- Телефоны ---------- */
@media (max-width: 767px) {
  /* преимущества на телефоне — одна «стеклянная» карточка-список (как сгруппированные списки iOS):
     4 строки с тонкими разделителями, значок слева, текст в две строки справа */
  .sv .quick-stack {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 0;
    margin-top: 24px;
    padding: 4px 0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02) 60%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 16px 40px rgba(0, 0, 0, .4);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
  }
  .sv .quick-stack > .w-layout-cell {
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 13px 18px 13px 16px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  /* тонкий разделитель между строками (с отступом под значок, как в iOS) */
  .sv .quick-stack > .w-layout-cell + .w-layout-cell::before {
    content: "";
    position: absolute;
    top: 0;
    left: 70px;
    right: 18px;
    height: 1px;
    background: rgba(255, 255, 255, .08);
  }
  .sv .quick-stack > .w-layout-cell > img { align-self: center; width: 40px; height: 40px; padding: 8px; border-radius: 12px; }
  .sv .quick-stack .text-block-5,
  .sv .quick-stack .text-block-8 { font-size: 15px; line-height: 1.3; }
}

@media (max-width: 479px) {
  .sv .section { padding-top: calc(var(--sv-header-h) + 16px); padding-bottom: 36px; }
  /* машина крупнее: шире колонки, прозрачные поля уходят за край экрана */
  .sv .firstscreen { --car-w: min(114cqw, calc(clamp(170px, 100vh - 300px, 380px) * 1.4851)); }
  @supports (height: 100svh) {
    .sv .firstscreen { --car-w: min(114cqw, calc(clamp(170px, 100svh - 300px, 380px) * 1.4851)); }
  }
  .sv .image-87 { display: none; }
  .sv .mobilepicture { width: 100%; max-width: none; height: auto; }
  .sv .text-block-4 { margin-top: 10px; font-size: 12px; letter-spacing: .07em; }
  .sv .text-block-8.for-mob { gap: 3px; padding: 7px 11px 8px; border-radius: 13px; font-size: 9px; letter-spacing: .1em; }
  .sv .text-block-8.for-mob .text-span-6 { font-size: 16px; }
}

/* ==========================================================================
   R3–R5 — общие заголовки секций («Етапи навчання», «Документи», «Наші ціни»)
   ========================================================================== */
.sv .section-7,
.sv #DocumentsSection,
.sv #Price {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: auto;
  margin: 0;
  padding: clamp(64px, 9vw, 120px) var(--sv-gutter) 0;
  background: none;
}
.sv .section-7 .container-3,
.sv #DocumentsSection .container-3,
.sv #Price .container-3 {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
.sv .heading-3 {
  margin: 0;
  background: linear-gradient(180deg, #fffbd0 0%, var(--sv-yellow) 55%, #c9c53e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0;
  filter: drop-shadow(0 0 12px rgba(229, 227, 97, .22));
  font: 900 clamp(32px, 5.2vw, 56px)/1.04 Rubik, sans-serif;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
/* «ЕТАПИ НАВЧАННЯ» — в одну строку (перенос <br> скрыт; пробел в тексте есть) */
.sv .section-7 .heading-3 br { display: none; }
.sv .container-3 > .paragraph {
  max-width: 560px;
  margin: 14px auto 0;
  padding: 0;
  color: var(--sv-muted);
  font: 500 clamp(15px, 1.6vw, 18px)/1.55 Rubik, sans-serif;
}

/* Общий вид «стеклянной» карточки */
.sv .section-2 .detail,
.sv #DocumentsSection .quick-stack-2 > .w-layout-cell {
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02) 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 16px 40px rgba(0, 0, 0, .3);
}

/* ==========================================================================
   R3 — ЕТАПИ НАВЧАННЯ: лента с номерами и карточками
   ========================================================================== */
.sv .section-2 {
  position: relative;
  width: 100%;
  max-width: none;
  overflow-x: clip; /* карточки выезжают справа при анимации — не даём им расширять страницу */
  margin: 0;
  padding: clamp(36px, 4.5vw, 64px) var(--sv-gutter) 0;
}
.sv .section-2 .container-4 { position: relative; z-index: 1; width: 100%; max-width: 920px; margin: 0 auto; padding: 0; }
.sv .section-2 .div-block { display: flex; flex-direction: column; gap: 16px; width: 100%; margin: 0; padding: 0; border: 0; }
.sv .section-2 .outer-block {
  --num: 64px;
  display: grid;
  grid-template-columns: var(--num) minmax(0, 1fr);
  column-gap: 24px;
  align-items: stretch;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}
.sv .section-2 .number-outer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--num);
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}
.sv .section-2 .number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: var(--num);
  height: var(--num);
  margin: 0;
  padding: 0;
  border: 1px solid rgba(229, 227, 97, .6);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .16), transparent 60%),
    linear-gradient(145deg, #1a2238, #0a1020);
  box-shadow: 0 0 0 6px rgba(229, 227, 97, .06), 0 0 26px rgba(229, 227, 97, .22);
}
.sv .section-2 .number .text-block {
  display: block;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--sv-yellow);
  font: 800 22px/1 Rubik, sans-serif;
}
/* Линия до следующего номера (через промежуток между карточками) */
.sv .section-2 .line-hold { flex: 1; width: 2px; min-height: 20px; margin: 8px 0 -16px; padding: 0; }
.sv .section-2 .line {
  width: 2px;
  height: 100%;
  margin: 0;
  background: linear-gradient(180deg, rgba(229, 227, 97, .6), rgba(229, 227, 97, .1));
}
.sv .section-2 .indicator { display: none; }
.sv .section-2 .outer-block:last-child .line-hold { visibility: hidden; }
.sv .section-2 .detail {
  width: auto;
  margin: 0;
  padding: 22px 26px 24px;
  border-radius: 20px;
  text-align: left;
}
/* названия этапов — в одну строку там, где перенос был только из-за узкой колонки */
.sv .section-2 .heading br { display: none; }
.sv .section-2 .heading.info-5 br:first-of-type { display: inline; }
.sv .section-2 .heading {
  margin: 0 0 10px;
  color: var(--sv-yellow);
  font: 800 clamp(18px, 2vw, 22px)/1.2 Rubik, sans-serif;
  letter-spacing: .01em;
}
.sv .section-2 .detail > div {
  max-width: 64ch;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, .8);
  font: 400 15px/1.65 Rubik, sans-serif;
}
/* Декоративные знаки по бокам — только на широких экранах */
.sv .section-2 .image-74,
.sv .section-2 .image-79 {
  position: absolute;
  z-index: 0;
  display: none;
  width: clamp(150px, 14vw, 250px);
  height: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  pointer-events: none;
}
@media (min-width: 1280px) {
  .sv .section-2 .image-74,
  .sv .section-2 .image-79 { display: block; }
  .sv .section-2 .image-74 { top: 40px; bottom: auto; left: max(12px, calc(50% - 460px - 14vw - 40px)); right: auto; }
  .sv .section-2 .image-79 { top: auto; bottom: 0; right: max(12px, calc(50% - 460px - 14vw - 40px)); left: auto; }
}

/* ==========================================================================
   R4 — ДОКУМЕНТИ: компактные карточки
   ========================================================================== */
.sv #DocumentsSection .quick-stack-2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: 20px;
  width: 100%;
  max-width: 1180px;
  height: auto;
  margin: clamp(32px, 4vw, 56px) auto 0;
  padding: 0;
  counter-reset: svdoc;
}
.sv #DocumentsSection .quick-stack-2 > .w-layout-cell {
  counter-increment: svdoc;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 30px 26px 30px;
  border-radius: 22px;
  text-align: center;
}
.sv #DocumentsSection .quick-stack-2 > .w-layout-cell::before {
  content: counter(svdoc, decimal-leading-zero);
  position: absolute;
  top: 16px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(229, 227, 97, .75);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .18), transparent 60%), rgba(229, 227, 97, .14);
  box-shadow: 0 0 18px rgba(229, 227, 97, .35);
  color: var(--sv-yellow);
  font: 800 14px/1 Rubik, sans-serif;
  letter-spacing: .02em;
}
/* У иконок большое свечение вокруг круга (круг ≈ 58% картинки) — увеличиваем и «съедаем» поля */
.sv #DocumentsSection .quick-stack-2 > .w-layout-cell > img {
  flex: none;
  align-self: center;
  width: 168px;
  height: 168px;
  min-width: 0;
  max-width: none;
  margin: -34px 0 -22px;
  padding: 0;
  object-fit: contain;
}
.sv #DocumentsSection .heading-5 {
  display: block;
  align-self: auto;
  width: auto;
  margin: 0;
  padding: 0;
  color: var(--sv-yellow);
  font: 800 20px/1.25 Rubik, sans-serif;
  text-align: inherit;
}
.sv #DocumentsSection .text-block-23 {
  display: block;
  align-self: auto;
  width: auto;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, .8);
  font: 500 15px/1.55 Rubik, sans-serif;
  text-align: inherit;
}

/* ==========================================================================
   R5 — НАШІ ЦІНИ: карточки одной высоты, «Повний курс» выделен
   ========================================================================== */
.sv #Price .quick-stack-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  max-width: 1180px;
  height: auto;
  margin: clamp(36px, 4.5vw, 64px) auto 0;
  padding: 14px 0 0;
}
/* Карточка цены: одна ось выравнивания — всё по левому краю (значок → название → состав → цена → кнопка).
   Сетка строк: состав растягивается, поэтому цены и кнопки во всех карточках стоят на одной линии */
.sv #Price .quick-stack-3 > .w-layout-cell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto auto;
  align-items: start;
  justify-items: start;
  gap: 0;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 30px 26px 26px;
  border: 1px solid rgba(229, 227, 97, .24);
  border-radius: 26px;
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(229, 227, 97, .1), transparent 62%),
    linear-gradient(165deg, #0f1729, #070c17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 22px 50px rgba(0, 0, 0, .45);
  text-align: left;
}
.sv #Price .quick-stack-3 > .w-layout-cell:first-child {
  border-color: rgba(229, 227, 97, .8);
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(229, 227, 97, .24), transparent 60%),
    linear-gradient(165deg, #182035, #080d19);
  box-shadow: 0 0 0 1px rgba(229, 227, 97, .3), 0 0 44px rgba(229, 227, 97, .2), 0 26px 60px rgba(0, 0, 0, .5);
}
/* 1. значок курса */
.sv #Price .quick-stack-3 > .w-layout-cell > img { grid-row: 1; justify-self: center; width: auto; height: 64px; max-width: 100%; margin: 0 0 16px; }
/* 2. название */
.sv #Price .heading-6 {
  grid-row: 2;
  justify-self: stretch;
  margin: 0 0 16px;
  color: var(--sv-yellow);
  font: 900 22px/1.15 Rubik, sans-serif;
  letter-spacing: .04em;
  text-align: center;
}
/* 3. состав курса — список с золотыми маркерами; первая строка группы — метка (приглушённая) */
.sv #Price .text-block-24 {
  grid-row: 3;
  align-self: stretch;
  justify-self: stretch;
  position: relative;
  width: auto;
  height: auto;
  margin: 0;
  padding: 14px 16px 14px 38px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
  color: #fff;
  font: 700 15px/1.55 Rubik, sans-serif;
  text-align: left;
}
.sv #Price .text-block-24::before,
.sv #Price .text-span-8::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sv-yellow);
  box-shadow: 0 0 10px rgba(229, 227, 97, .7);
}
/* у «Повний курс» и «Теорія» первая строка — подпись («Теоретичний курс :»), у «Практика» — само содержание */
.sv #Price .cell-8 .text-block-24::first-line,
.sv #Price .cell-9 .text-block-24::first-line,
.sv #Price .text-span-8::first-line {
  color: rgba(255, 255, 255, .62);
  font-weight: 500;
  font-size: 14px;
}
/* в «Повний курс» перед «Практичний курс» — перенос + пустая строка; второй перенос даёт сам блок */
.sv #Price .text-block-24 > br:nth-of-type(2) { display: none; }
.sv #Price .text-span-8 {
  position: relative;
  display: block;
  margin: 12px 0 0 -22px;
  padding: 12px 0 0 22px;
  border-top: 1px dashed rgba(255, 255, 255, .12);
  color: inherit;
  font: inherit;
  text-align: left;
}
.sv #Price .text-span-8::before { top: 20px; left: 0; }
/* 4. цена */
.sv #Price .div-block-13 {
  grid-row: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  justify-self: center; /* блок «Ціна: + сумма» — по центру карточки, внутри — по левому краю суммы */
  width: auto;
  height: auto; /* у Webflow 80px — давал пустоту под ценой */
  align-self: start; /* у Webflow center — цены «плавали» по вертикали */
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}
.sv #Price .text-block-25 { align-self: flex-start; margin: 0; color: var(--sv-muted); font: 600 12px/1 Rubik, sans-serif; letter-spacing: .14em; text-transform: uppercase; }

.sv #Price .text-block-26 {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #fffbd0 0%, var(--sv-yellow) 55%, #c9c53e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0;
  text-shadow: none;
  font: 900 clamp(32px, 3.4vw, 40px)/1.05 Rubik, sans-serif;
  letter-spacing: -.01em;
  white-space: nowrap;
}
/* «5000,00 ₴» — своей строкой, «+ Ціна за пальне» — вместе строкой ниже */
/* сетка по содержимому (не растягивается на всю карточку): сумма на всю ширину, ниже «+» и текст */
.sv #Price .div-block-14 { display: grid; grid-template-columns: auto 1fr; justify-content: start; align-items: baseline; column-gap: 6px; row-gap: 4px; margin: 0; }
.sv #Price .div-block-14 .text-block-26 { grid-column: 1 / -1; }
.sv #Price .text-block-26 { display: block; text-align: left; }
.sv #Price .text-block-27 { margin: 0; padding: 0; color: var(--sv-yellow); font: 700 14px/1.2 Rubik, sans-serif; }
.sv #Price .text-block-27.for_plus { font-size: 16px; }
/* 5. кнопка */
.sv #Price .button-4.for_block .text-span { font-size: 15px; letter-spacing: .04em; }
.sv #Price .button-4.for_block {
  grid-row: 5;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  height: 54px;
  margin: 20px 0 0;
  box-shadow: 0 0 0 1px rgba(229, 227, 97, .6), 0 8px 26px rgba(229, 227, 97, .2);
  transition: transform .2s var(--sv-ease), box-shadow .2s var(--sv-ease), background-color .2s;
}
.sv #Price .button-4.for_block:hover { background-color: var(--sv-yellow-hi); transform: translateY(-2px); box-shadow: 0 0 0 1px var(--sv-yellow-hi), 0 14px 36px var(--sv-glow); }

/* Компьютер: строки карточек общие (subgrid) — значки, названия, цены и кнопки во всех трёх карточках
   стоят строго на одних линиях, даже если у «Практика» под ценой есть «+ Ціна за пальне» */
@media (min-width: 900px) {
  @supports (grid-template-rows: subgrid) {
    .sv #Price .quick-stack-3 { grid-template-rows: auto auto 1fr auto auto; row-gap: 0; }
    .sv #Price .quick-stack-3 > .w-layout-cell { grid-row: span 5; grid-template-rows: subgrid; }
  }
}
@media (max-width: 899px) {
  .sv #Price .quick-stack-3 { grid-template-columns: minmax(0, 1fr); max-width: 480px; gap: 18px; }
}

/* Growth: плашка «Популярний» на «Повний курс» (новый текст — согласован, убирается отдельно) */
.sv #Price .sv-badge {
  position: absolute;
  top: -15px;
  left: 26px;
  z-index: 2;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6f3a6, var(--sv-yellow) 55%, #d4d04a);
  color: var(--sv-on-yellow);
  font: 800 12px/1 Rubik, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(229, 227, 97, .35), inset 0 1px 0 rgba(255, 255, 255, .6);
}

/* ---------- Баннер «Доступна оплата частинами» — крупный, продающий ---------- */
.sv .section-4 {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: clamp(64px, 8vw, 112px) 0 0;
  padding: 0 var(--sv-gutter);
}
.sv .section-4 .div-block-15 {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: row;
  align-self: auto;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: auto;
  max-width: 1180px;
  height: auto;
  min-height: clamp(220px, 24vw, 300px);
  margin: 0 auto;
  padding: clamp(32px, 4vw, 56px) clamp(28px, 5vw, 72px);
  overflow: visible;
  border: 1px solid rgba(229, 227, 97, .6);
  border-radius: 32px;
  background:
    radial-gradient(60% 120% at 88% 50%, rgba(229, 227, 97, .3), transparent 62%),
    radial-gradient(40% 80% at 0% 0%, rgba(229, 227, 97, .08), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px),
    linear-gradient(120deg, #141c30, #070c18);
  box-shadow: 0 0 0 1px rgba(229, 227, 97, .15), 0 0 70px rgba(229, 227, 97, .16), 0 30px 70px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.sv .section-4 .div-block-28 { display: block; flex: 1 1 auto; width: auto; height: auto; min-width: 0; margin: 0; padding: 0; text-align: left; }
.sv .section-4 .div-block-28 > div { white-space: normal; }
.sv .section-4 .text-block-28 {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #fffbd0 0%, var(--sv-yellow) 55%, #c9c53e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 16px rgba(229, 227, 97, .3));
  font: 900 clamp(30px, 4.6vw, 60px)/1.02 Rubik, sans-serif;
  letter-spacing: -.01em;
}
.sv .section-4 .text-block-29 {
  display: inline-block;
  margin: 18px 0 0;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font: 800 clamp(13px, 1.6vw, 20px)/1.2 Rubik, sans-serif;
  letter-spacing: .05em;
}
.sv .section-4 .image-80 {
  position: static;
  flex: none;
  width: clamp(150px, 27vw, 340px);
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  aspect-ratio: 469 / 382;
  margin: -90px -10px -70px 0;
  padding: 0;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .6)) drop-shadow(0 0 30px rgba(229, 227, 97, .25));
}

/* ---------- Планшеты и телефоны ---------- */
@media (max-width: 991px) {
  .sv #DocumentsSection .quick-stack-2 { grid-template-columns: minmax(0, 1fr); max-width: 560px; gap: 14px; }
  .sv #DocumentsSection .quick-stack-2 > .w-layout-cell {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 4px;
    align-items: start;
    padding: 20px 20px 20px 16px;
    text-align: left;
  }
  .sv #DocumentsSection .quick-stack-2 > .w-layout-cell::before { top: 14px; left: auto; right: 14px; width: 32px; height: 32px; font-size: 12px; }
  .sv #DocumentsSection .quick-stack-2 > .w-layout-cell > img { grid-row: 1 / span 2; align-self: center; width: 104px; height: 104px; margin: -14px -14px -14px -14px; }
  .sv #DocumentsSection .heading-5 { padding-right: 40px; font-size: 18px; }
  .sv #DocumentsSection .text-block-23 { font-size: 14px; }
}

@media (max-width: 767px) {
  .sv .section-2 .outer-block { --num: 46px; column-gap: 14px; }
  .sv .section-2 .number .text-block { font-size: 17px; }
  .sv .section-2 .number { box-shadow: 0 0 0 4px rgba(229, 227, 97, .06), 0 0 18px rgba(229, 227, 97, .2); }
  .sv .section-2 .detail { padding: 16px 18px 18px; border-radius: 18px; }
  .sv .section-2 .heading { font-size: 17px; }
  .sv .section-2 .detail > div { font-size: 14px; line-height: 1.6; }
  .sv #Price .quick-stack-3 > .w-layout-cell { padding: 28px 20px 22px; }
  .sv #Price .sv-badge { left: 20px; }
}

@media (max-width: 767px) {
  /* баннер на телефоне: «0%» крупно сверху (выходит за рамку), текст по центру */
  .sv .section-4 { margin-top: 110px; }
  .sv .section-4 .div-block-15 {
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    padding: 0 22px 30px;
    border-radius: 28px;
    text-align: center;
    background:
      radial-gradient(90% 60% at 50% 0%, rgba(229, 227, 97, .32), transparent 65%),
      repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px),
      linear-gradient(180deg, #141c30, #070c18);
  }
  .sv .section-4 .image-80 { order: -1; width: min(62vw, 240px); margin: -84px 0 0; }
  .sv .section-4 .div-block-28 { text-align: center; }
  .sv .section-4 .text-block-28 { font-size: clamp(26px, 7.4vw, 38px); line-height: 1.05; }
  .sv .section-4 .text-block-29 { margin-top: 14px; font-size: 12.5px; }
}

/* ==========================================================================
   R6 — «АВТОШКОЛА "ЦЕНТР" – ВАШ НАДІЙНИЙ ПАРТНЕР»: панель «о нас»
   ========================================================================== */
.sv #AboutusSection {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  width: auto;
  max-width: 1180px;
  height: auto;
  min-height: 0;
  min-width: 0;
  margin: clamp(64px, 8vw, 112px) auto 0;
  padding: clamp(32px, 4.5vw, 64px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 32px;
  background:
    radial-gradient(55% 80% at 82% 55%, rgba(229, 227, 97, .16), transparent 65%),
    linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015) 55%),
    var(--sv-bg-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 70px rgba(0, 0, 0, .4);
}
.sv #AboutusSection::before,
.sv #AboutusSection::after,
.sv #AboutusSection .div-block-29::before,
.sv #AboutusSection .div-block-29::after { content: none; display: none; }
.sv #AboutusSection .div-block-29 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  text-align: left;
}
.sv #AboutusSection .heading-7 {
  display: block;
  position: relative;
  width: auto;
  margin: 0;
  padding: 0 0 0 22px;
  background: linear-gradient(180deg, #fffbd0 0%, var(--sv-yellow) 55%, #c9c53e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(229, 227, 97, .22));
  font: 900 clamp(24px, 3.2vw, 40px)/1.14 Rubik, sans-serif;
  text-align: left;
}
/* переносы <br> в заголовке скрыты — текст ложится в 2–3 строки (пробелы на их местах в тексте есть) */
.sv #AboutusSection .heading-7 br { display: none; }
/* золотая вертикальная черта слева от заголовка */
.sv #AboutusSection .div-block-29 { position: relative; }
.sv #AboutusSection .div-block-29::before {
  content: "";
  display: block;
  position: absolute;
  top: 4px;
  left: 0;
  width: 4px;
  height: clamp(80px, 10vw, 136px);
  border-radius: 4px;
  background: linear-gradient(180deg, var(--sv-yellow), rgba(229, 227, 97, .1));
  box-shadow: 0 0 14px rgba(229, 227, 97, .5);
}
.sv #AboutusSection .paragraph-2 {
  width: auto;
  min-width: 0;
  max-width: 60ch;
  margin: 22px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, .82);
  font: 400 clamp(15px, 1.25vw, 17px)/1.75 Rubik, sans-serif;
  text-align: left;
}
.sv #AboutusSection .button-4.aboutus {
  width: auto;
  min-width: 240px;
  height: 56px;
  margin: 28px 0 0;
  padding: 0 34px;
  box-shadow: 0 0 0 1px rgba(229, 227, 97, .6), 0 8px 26px rgba(229, 227, 97, .22);
  transition: transform .2s var(--sv-ease), box-shadow .2s var(--sv-ease), background-color .2s;
}
.sv #AboutusSection .button-4.aboutus:hover { background-color: var(--sv-yellow-hi); transform: translateY(-2px); box-shadow: 0 0 0 1px var(--sv-yellow-hi), 0 14px 36px var(--sv-glow); }
.sv #AboutusSection .button-4.aboutus .text-span { font-size: 15px; letter-spacing: .04em; }
.sv #AboutusSection .image-81 {
  position: relative;
  justify-self: center;
  float: none;
  width: 100%;
  max-width: 560px;
  height: auto;
  min-width: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .55));
}

@media (max-width: 899px) {
  .sv #AboutusSection {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-left: var(--sv-gutter);
    margin-right: var(--sv-gutter);
    padding: 0 22px 30px;
    border-radius: 28px;
    background:
      radial-gradient(90% 45% at 50% 12%, rgba(229, 227, 97, .2), transparent 65%),
      linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015) 55%),
      var(--sv-bg-2);
  }
  /* на телефоне картинка — сверху, слегка выходит за рамку */
  .sv #AboutusSection .image-81 { order: -1; width: calc(100% + 24px); max-width: 460px; margin: -40px -12px 0; }
  .sv #AboutusSection .div-block-29 { align-items: center; text-align: center; }
  .sv #AboutusSection .div-block-29::before { display: none; }
  .sv #AboutusSection .heading-7 { padding: 0; text-align: center; font-size: clamp(20px, 5.7vw, 30px); }
  .sv #AboutusSection .heading-7::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 3px;
    background: var(--sv-yellow);
    box-shadow: 0 0 12px rgba(229, 227, 97, .6);
  }
  .sv #AboutusSection .paragraph-2 { margin-top: 18px; text-align: center; font-size: 15px; line-height: 1.7; }
  .sv #AboutusSection .button-4.aboutus { width: min(100%, 300px); min-width: 0; height: 54px; }
}

/* ==========================================================================
   R6 — СЛАЙДЕР (фото автошколы): рамка с золотым свечением, стрелки внутри кадра, точки под ним
   ========================================================================== */
.sv .page-wrapper {
  width: 100%;
  max-width: none;
  margin: clamp(64px, 8vw, 112px) 0 0;
  padding: 0 var(--sv-gutter) 56px;
  overflow: hidden;
}
/* у Webflow слайдер 800×600 px — на телефоне виднелась узкая полоска кадра */
.sv .slider-3 {
  width: min(800px, 100%);
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  overflow: visible;
  background: none;
}
.sv .slide__image {
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
}
.sv .slide__image.current { box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 0 1px rgba(229, 227, 97, .45), 0 0 50px rgba(229, 227, 97, .18); }
.sv .slide__image.previous,
.sv .slide__image.next { filter: brightness(.55) saturate(.8); }
.sv .slider__arrow {
  top: 50%;
  bottom: auto;
  z-index: 5;
  display: flex;
  width: 48px;
  height: 48px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(8, 12, 22, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 18px;
  transition: background-color .2s, border-color .2s, color .2s;
}
.sv .slider__arrow:hover { background: var(--sv-yellow); border-color: var(--sv-yellow); color: var(--sv-on-yellow); }
.sv .slider__arrow.left { left: 14px; right: auto; transform: translateY(-50%); }
.sv .slider__arrow.right { right: 14px; left: auto; transform: translateY(-50%); }
.sv .slider__nav { top: auto; bottom: -44px; height: auto; padding: 0; }
.sv .slider__nav .w-slider-dot {
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background: rgba(255, 255, 255, .3);
  transition: width .3s var(--sv-ease), background-color .3s;
}
.sv .slider__nav .w-slider-dot.w-active { width: 26px; border-radius: 99px; background: var(--sv-yellow); box-shadow: 0 0 10px rgba(229, 227, 97, .6); }
@media (max-width: 767px) {
  .sv .slider-3 { width: min(100%, 520px); }
  .sv .slide__image { border-radius: 20px; }
  .sv .slide__image.previous { transform: translate(-9%) rotate(-3deg) scale(.86); }
  .sv .slide__image.next { transform: translate(9%) rotate(3deg) scale(.86); }
  .sv .slider__arrow { width: 42px; height: 42px; font-size: 15px; }
  .sv .slider__arrow.left { left: 10px; }
  .sv .slider__arrow.right { right: 10px; }
}

/* ==========================================================================
   R6 — КАРТА: тёмная тема фильтром, рамка со свечением (обёртка .sv-map)
   ========================================================================== */
.sv .sv-map {
  position: relative;
  width: auto;
  max-width: 1180px;
  margin: clamp(56px, 7vw, 96px) var(--sv-gutter) 0;
  overflow: hidden;
  border: 1px solid rgba(229, 227, 97, .35);
  border-radius: 28px;
  background: #0b111d;
  box-shadow: 0 0 50px rgba(229, 227, 97, .1), 0 30px 60px rgba(0, 0, 0, .5);
}
@media (min-width: 1229px) { .sv .sv-map { margin-left: auto; margin-right: auto; } }
.sv .sv-map iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 40vw, 440px);
  margin: 0 !important; /* у iframe в разметке style="margin-top: 40px" */
  border: 0;
  filter: invert(.9) hue-rotate(180deg) saturate(.75) brightness(.95) contrast(.92);
}

/* ==========================================================================
   R6 — ФУТЕР: колонки, крупные контакты, D3STUDIO
   ========================================================================== */
.sv .footer {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  min-width: 0;
  min-height: 0;
  margin: clamp(64px, 8vw, 112px) 0 0;
  padding: 0 var(--sv-gutter);
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(229, 227, 97, .08), transparent 70%),
    linear-gradient(180deg, #050a16, #02050c);
  border-top: 1px solid rgba(229, 227, 97, .2);
}
.sv .footer .div-block-26 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto;
  grid-template-areas:
    "logo sched addr contact"
    "copy copy credit credit";
  align-items: start;
  gap: 40px 48px;
  width: auto;
  max-width: 1180px;
  height: auto;
  margin: 0 auto;
  padding: 56px 0 28px;
}
.sv .footer .div-block-23,
.sv .footer .div-block-20 { display: contents; }
/* логотип школы — в свою колонку, подпись разработчика — в нижнюю строку (обёртка «растворена») */
.sv .footer .logofooter { display: contents; }
.sv .footer .image-84 { grid-area: logo; width: 180px; height: auto; margin: 0; padding: 0; }
/* Подпись разработчика: «Designed & developed by» + логотип D3STUDIO (ссылка на Telegram) */
.sv .footer .sv-credit {
  grid-area: credit;
  justify-self: end;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 22px 0 0;
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
}
.sv .footer .sv-credit__label { font: 500 13px/1.2 Rubik, sans-serif; letter-spacing: .02em; transition: color .2s; }
.sv .footer .image-83 { width: 104px; height: auto; margin: 0; opacity: .9; transition: opacity .2s, filter .2s; }
.sv .footer .sv-credit:hover { transform: none; filter: none; }
.sv .footer .sv-credit:hover .sv-credit__label { color: rgba(255, 255, 255, .85); }
.sv .footer .sv-credit:hover .image-83 { opacity: 1; filter: drop-shadow(0 0 8px var(--sv-glow)); }
.sv .footer .div-block-19 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: auto;
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  text-align: left;
}
.sv .footer .div-block-20 > .div-block-19:first-child { grid-area: sched; }
.sv .footer .div-block-20 > .div-block-19:last-child { grid-area: addr; }
.sv .footer .text-block-31 {
  display: block;
  width: auto;
  margin: 0 0 4px;
  color: var(--sv-yellow);
  font: 700 13px/1.2 Rubik, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sv .footer .text-block-32,
.sv .footer .text-block-33 {
  display: block;
  width: auto;
  min-width: 0;
  margin: 0;
  color: rgba(255, 255, 255, .85);
  font: 500 15px/1.5 Rubik, sans-serif;
  text-align: left;
}
.sv .footer .div-block-27 {
  grid-area: copy;
  align-self: center;
  margin: 0;
  padding: 22px 0 0;
}
/* общая линия над нижней строкой (копирайт + подпись) */
.sv .footer .div-block-26 { position: relative; }
.sv .footer .div-block-26::after {
  content: "";
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: start;
  height: 1px;
  background: rgba(255, 255, 255, .07);
}
.sv .footer .text-block-34 { display: block; margin: 0; padding: 0; color: rgba(255, 255, 255, .5); font: 400 13px/1.5 Rubik, sans-serif; text-align: left; }
.sv .footer .div-block-25 {
  grid-area: contact;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  text-align: right;
}
.sv .footer .heading-10 {
  display: block;
  margin: 0 0 8px;
  color: var(--sv-yellow);
  font: 800 22px/1.2 Rubik, sans-serif;
  text-align: inherit;
}
.sv .footer .heading-10 br { display: none; }
.sv .footer .text-block-35,
.sv .footer .text-block-36 { display: inline-block; margin: 0; padding: 0; align-self: auto; text-align: inherit; }
.sv .footer .text-block-35 { color: #fff; font: 800 22px/1.3 Rubik, sans-serif; letter-spacing: .01em; white-space: nowrap; }
.sv .footer .text-block-36 { color: rgba(255, 255, 255, .8); font: 500 15px/1.4 Rubik, sans-serif; }
.sv .footer .text-block-35:hover,
.sv .footer .text-block-36:hover { color: var(--sv-yellow); }
.sv .footer .div-block-24 { display: flex; gap: 10px; margin: 14px 0 0; padding: 0; align-self: auto; }
.sv .footer .div-block-24 > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  transition: transform .2s var(--sv-ease), border-color .2s, background-color .2s;
}
.sv .footer .div-block-24 > a:hover { transform: translateY(-2px); border-color: var(--sv-line-strong); background: rgba(229, 227, 97, .08); }
.sv .footer .div-block-24 img { display: block; width: 100%; height: 100%; }

@media (max-width: 899px) {
  .sv .footer .div-block-26 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "contact contact"
      "sched addr"
      "logo logo"
      "copy copy"
      "credit credit";
    gap: 32px 20px;
    padding: 48px 0 calc(28px + 84px); /* место под нижнюю панель «Подзвонити / Записатися» */
    text-align: center;
  }
  .sv .footer .div-block-25 { align-items: center; text-align: center; }
  .sv .footer .heading-10 { font-size: 24px; }
  .sv .footer .text-block-35 { font-size: 24px; }
  .sv .footer .div-block-19 { align-items: center; text-align: center; }
  .sv .footer .text-block-32,
  .sv .footer .text-block-33 { text-align: center; font-size: 14px; }
  .sv .footer .image-84 { justify-self: center; }
  .sv .footer .div-block-26::after { grid-row: 4; }
  .sv .footer .text-block-34 { text-align: center; }
  .sv .footer .sv-credit { justify-self: center; padding-top: 0; }
}

/* ==========================================================================
   R6 — ФОРМА ЗАПИСИ (всплывающее окно): стекло, читаемые поля, затемнение без жёлтого
   Открытие/закрытие — анимации Webflow (меняют только display/opacity)
   ========================================================================== */
.sv .lb2 {
  background: rgba(2, 4, 9, .74);
  background-image: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.sv .box2 {
  top: 50%;
  bottom: auto;
  width: min(92vw, 440px);
  min-width: 0;
  max-width: none;
  margin: 0 auto;
  padding: 34px 28px 28px;
  border: 1px solid rgba(229, 227, 97, .35);
  border-radius: 28px;
  background:
    radial-gradient(100% 60% at 50% 0%, rgba(229, 227, 97, .16), transparent 65%),
    linear-gradient(170deg, #111a2e, #060b16);
  box-shadow: 0 0 60px rgba(229, 227, 97, .12), 0 40px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: translateY(-50%);
}
.sv .box2 > .heading-5 {
  margin: 0 0 22px;
  padding: 0;
  color: var(--sv-yellow);
  font: 900 22px/1.2 Rubik, sans-serif;
  letter-spacing: .04em;
}
.sv .box2 .form-block { width: 100%; max-width: none; margin: 0; }
.sv .box2 .form { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.sv .box2 .text-field,
.sv .box2 .text-field-2 {
  width: 100%;
  height: 56px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font: 500 16px/1 Rubik, sans-serif; /* 16 px — iOS не масштабирует страницу при вводе */
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.sv .box2 .text-field::placeholder,
.sv .box2 .text-field-2::placeholder { color: rgba(255, 255, 255, .55); }
.sv .box2 .text-field:focus,
.sv .box2 .text-field-2:focus {
  outline: none;
  border-color: var(--sv-yellow);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 0 0 4px rgba(229, 227, 97, .18);
}
.sv .box2 .submit-button {
  width: 100%;
  height: 56px;
  margin: 6px 0 0;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6f3a6, var(--sv-yellow) 55%, #d4d04a);
  color: var(--sv-on-yellow);
  font: 800 14px/1 Rubik, sans-serif;
  letter-spacing: .04em;
  box-shadow: 0 10px 30px rgba(229, 227, 97, .25), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .2s var(--sv-ease), box-shadow .2s var(--sv-ease);
}
.sv .box2 .submit-button:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(229, 227, 97, .35), inset 0 1px 0 rgba(255, 255, 255, .5); }
.sv .box2 .text-block-37 { margin: 20px 0 8px; color: rgba(255, 255, 255, .7); font: 500 14px/1.4 Rubik, sans-serif; }
.sv .box2 .header_mobilenumbers.for_form { display: flex; justify-content: center; margin: 0; }
.sv .box2 .header_mobilenumbers.for_form .div-block-6 { display: inline-flex; align-items: center; gap: 10px; }
.sv .box2 .text-block-15.for_form { color: #fff; font: 800 20px/1.2 Rubik, sans-serif; }
.sv .box2 .text-block-15.for_form:hover { color: var(--sv-yellow); }
.sv .box2 .closebg {
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
}
.sv .box2 .closebg:hover { border-color: var(--sv-line-strong); background: rgba(229, 227, 97, .1); }
.sv .box2 .line-vertical,
.sv .box2 .horizontal { width: 2px; height: 18px; border-radius: 2px; background: rgba(255, 255, 255, .85); }
/* Телефон: форма — «шторка» снизу, как в приложениях (выезжает при открытии, уезжает вниз при закрытии) */
@media (max-width: 767px) {
  .sv .box2 {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    min-width: 0;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    padding: 40px 24px calc(50px + env(safe-area-inset-bottom, 0px));
    border-width: 1px 0 0;
    border-radius: 28px 28px 0 0;
    background:
      radial-gradient(100% 50% at 50% 0%, rgba(229, 227, 97, .16), transparent 65%),
      linear-gradient(180deg, #111a2e, #060b16 70%);
    box-shadow: 0 -20px 60px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .1);
    transform: translateY(0);
    transition: transform .45s var(--sv-ease);
    animation: sv-sheet-up .5s var(--sv-ease);
  }
  @supports (height: 100svh) { .sv .box2 { max-height: calc(100svh - 24px); } }
  /* «ручка» шторки */
  .sv .box2::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 44px;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .22);
    transform: translateX(-50%);
  }
  .sv .box2.sv-sheet-closing { transform: translateY(100%); }
  .sv .box2 > .heading-5 { margin: 4px 48px 22px; font-size: 20px; }
  .sv .box2 .closebg { top: 22px; right: 18px; }
  .sv .box2 .text-block-37 { margin-top: 18px; font-size: 13px; }
}
@keyframes sv-sheet-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .sv .box2 { animation: none !important; }
}

/* ==========================================================================
   Growth: нижняя панель на телефоне «Подзвонити / Записатися»
   (появляется после первого экрана, прячется у футера; новый текст — согласован, убирается отдельно)
   ========================================================================== */
.sv-sticky { display: none; }
@media (max-width: 767px) {
  .sv-sticky {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    background: rgba(8, 12, 22, .82);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
    transform: translateY(calc(100% + 24px));
    transition: transform .35s var(--sv-ease);
  }
  .sv-sticky.is-visible { transform: none; }
  .sv-sticky a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    border-radius: 14px;
    font: 800 15px/1 Rubik, sans-serif;
    letter-spacing: .02em;
    text-decoration: none;
  }
  .sv-sticky__call { border: 1px solid rgba(229, 227, 97, .5); color: var(--sv-yellow); background: rgba(229, 227, 97, .06); }
  .sv-sticky__cta {
    color: var(--sv-on-yellow);
    background: linear-gradient(180deg, #f6f3a6, var(--sv-yellow) 55%, #d4d04a);
    box-shadow: 0 6px 18px rgba(229, 227, 97, .25);
    text-transform: uppercase;
  }
}

/* ==========================================================================
   R7 — общие исправления: горизонтальная прокрутка
   ========================================================================== */
/* Декоративный знак в «Етапи» на 1141–1439 px стоял на left: 1054px и вылезал за экран */
@media screen and (min-width: 1141px) and (max-width: 1439px) {
  .sv .image-74 { left: auto; right: 0; }
  /* Сетка карточек цен (1238 px) — не шире окна */
  .sv .quick-stack-3 { width: min(1238px, calc(100vw - 48px)); }
}
/* От 1440 px у страницы был min-width: 1444px (+4 px прокрутки); шире 1920 px — по центру */
@media screen and (min-width: 1440px) {
  .sv.body { min-width: 0; margin-left: auto; margin-right: auto; }
}

/* скрытая на компьютере «телефонная» картинка машины: высота по пропорции (у img есть только width=332) */
.sv .mobilepicture { height: auto; }

/* ---------- Ссылки-контакты (телефон, почта) ---------- */
.sv .sv-link { color: inherit; text-decoration: none; }
.sv .sv-link:hover { color: var(--sv-yellow); }
.sv .sv-credit { display: inline-block; transition: filter .2s, transform .2s var(--sv-ease); }
.sv .sv-credit:hover { filter: drop-shadow(0 0 8px var(--sv-glow)); transform: translateY(-1px); }

/* ==========================================================================
   Анимации при прокрутке. Включаются только скриптом (класс sv-anim на <html>):
   без JS и при «уменьшить движение» всё видно сразу. Анимируются только блоки ниже первого экрана.
   ========================================================================== */
html.sv-anim .sv-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--sv-delay, 0s);
}
html.sv-anim .sv-reveal.is-in { opacity: 1; transform: none; }

/* Етапи: номер «загорается», линия к следующему шагу прорисовывается, карточка выезжает справа */
html.sv-anim .sv .section-2 .outer-block .number { opacity: 0; transform: scale(.6); transition: opacity .5s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1); }
html.sv-anim .sv .section-2 .outer-block .line { transform: scaleY(0); transform-origin: top; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) .35s; }
html.sv-anim .sv .section-2 .outer-block .detail { opacity: 0; transform: translateX(32px); transition: opacity .7s ease .12s, transform .8s cubic-bezier(.2, .7, .2, 1) .12s; }
html.sv-anim .sv .section-2 .outer-block.is-in .number { opacity: 1; transform: none; animation: sv-pulse 1.6s ease .4s 1; }
html.sv-anim .sv .section-2 .outer-block.is-in .line { transform: none; }
html.sv-anim .sv .section-2 .outer-block.is-in .detail { opacity: 1; transform: none; }
@keyframes sv-pulse {
  0% { box-shadow: 0 0 0 6px rgba(229, 227, 97, .06), 0 0 26px rgba(229, 227, 97, .22); }
  40% { box-shadow: 0 0 0 12px rgba(229, 227, 97, .14), 0 0 44px rgba(229, 227, 97, .55); }
  100% { box-shadow: 0 0 0 6px rgba(229, 227, 97, .06), 0 0 26px rgba(229, 227, 97, .22); }
}

/* ---------- Меньше движения ---------- */
@media (prefers-reduced-motion: reduce) {
  .sv *,
  .sv *::before,
  .sv *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
