/* ==========================================================================
   Автошкола «Сэргэ» — основной стиль
   Палитра бренда: чёрный + жёлтый (#F5D513), светлые секции на тёплом фоне
   ========================================================================== */

/* Шрифты (OFL, хранятся локально): широкий Roboto Flex — аналог ALS Gorizont Expanded, Golos Text — аналог ALS Hauss */
@font-face { font-family: "Serge Head"; src: url(../fonts/robotoflex-cyrillic.woff2) format("woff2"); font-weight: 100 1000; font-stretch: 151%; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Serge Head"; src: url(../fonts/robotoflex-cyrillic-ext.woff2) format("woff2"); font-weight: 100 1000; font-stretch: 151%; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Serge Head"; src: url(../fonts/robotoflex-latin.woff2) format("woff2"); font-weight: 100 1000; font-stretch: 151%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; src: url(../fonts/golos-cyrillic.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; src: url(../fonts/golos-cyrillic-ext.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Golos Text"; src: url(../fonts/golos-latin.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Serge Flex"; src: url(../fonts/robotoflex-cyrillic.woff2) format("woff2"); font-weight: 100 1000; font-stretch: 25% 151%; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Serge Flex"; src: url(../fonts/robotoflex-latin.woff2) format("woff2"); font-weight: 100 1000; font-stretch: 25% 151%; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-cyrillic.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122; }
@font-face { font-family: "Manrope"; src: url(../fonts/manrope-cyrillic.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url(../fonts/manrope-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122; }
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat-cyrillic.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122; }
@font-face { font-family: "Unbounded"; src: url(../fonts/unbounded-cyrillic.woff2) format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; src: url(../fonts/unbounded-latin.woff2) format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122; }
@font-face { font-family: "Playfair Display"; src: url(../fonts/playfairdisplay-cyrillic.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; src: url(../fonts/playfairdisplay-latin.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122; }

:root {
  --y: #F5D513;
  --y-2: #FFE233;
  --y-soft: #FFF6C2;
  --ink: #0D0D0E;
  --ink-2: #161618;
  --ink-3: #222326;
  --paper: #F5F4EF;
  --paper-2: #ECEAE2;
  --white: #FFFFFF;
  --text: #141414;
  --muted: #6A6A66;
  --muted-d: #A3A3A0;
  --line: rgba(20, 20, 20, .09);
  --line-d: rgba(255, 255, 255, .1);
  --ok: #1FA45B;
  --navy: #26325E;

  --f-head: "Serge Head", "Golos Text", system-ui, sans-serif;
  --f-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;

  --gut: 16px;
  --wrap: 1280px;
  --hdr: 72px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 24px 60px -24px rgba(13, 13, 14, .28);
  --shadow-s: 0 10px 30px -14px rgba(13, 13, 14, .25);
  color-scheme: light;
}

@media (min-width: 640px) { :root { --gut: 24px; } }
@media (min-width: 1024px) { :root { --gut: 40px; --hdr: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.04; margin: 0; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--y); color: var(--ink); }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--y); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* placeholder for data the school must fill in */
.fill { background: repeating-linear-gradient(-45deg, #FFE7A3, #FFE7A3 6px, #FFF1C9 6px, #FFF1C9 12px); color: #6B4B00; padding: 1px 8px; border-radius: 6px; font-weight: 700; font-size: .92em; white-space: normal; }
.dark .fill, .fill--d { background: rgba(245, 213, 19, .16); color: var(--y); }

/* ---------- typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--y); transform: rotate(45deg); border-radius: 2px; flex: none; }
.dark .eyebrow { color: var(--muted-d); }
.h2 { font-size: clamp(30px, 5.2vw, 64px); font-weight: 700; }
.h2 em { font-style: normal; color: var(--ink); background: linear-gradient(transparent 58%, var(--y) 58% 92%, transparent 92%); padding: 0 .06em; }
.dark .h2 em { color: var(--y); background: none; }
.lead { font-size: clamp(16px, 1.6vw, 20px); color: var(--muted); max-width: 640px; }
.dark .lead { color: var(--muted-d); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head--row { align-items: end; }
@media (min-width: 900px) { .sec-head--row { grid-template-columns: 1.2fr 1fr; gap: 40px; } }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--y); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 800; font-size: 16px; letter-spacing: .01em;
  background: var(--bg); color: var(--fg); overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease); }
.btn:hover { color: var(--y); box-shadow: 0 14px 30px -12px rgba(245, 213, 19, .7); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost::before { background: var(--y); }
.btn--ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--y); }
.btn--dark { --bg: var(--ink); --fg: var(--white); }
.btn--dark::before { background: var(--y); }
.btn--dark:hover { color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--wa { --bg: #25D366; --fg: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; border-bottom: 2px solid var(--y); padding-bottom: 2px; transition: gap .3s var(--ease); }
.link-arrow:hover { gap: 14px; }

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: grid; place-items: center; transition: clip-path 1s var(--ease-io), visibility 0s 1s; clip-path: inset(0 0 0 0); }
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__mark { width: 92px; animation: pl-in 1.2s var(--ease) both; }
.preloader__bar { width: 160px; height: 3px; background: rgba(255, 255, 255, .12); border-radius: 3px; overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 0; background: var(--y); animation: pl-bar 1.2s var(--ease) .2s forwards; }
.preloader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
@keyframes pl-in { from { transform: translateY(14px) scale(.86); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pl-bar { to { width: 100%; } }
html:not(.js) .preloader { display: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--ink); color: var(--muted-d); font-size: 13px; position: relative; z-index: 60; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; transition: color .25s; }
.topbar a:hover { color: var(--y); }
.topbar__l, .topbar__r { display: flex; align-items: center; gap: 22px; }
.topbar svg { width: 16px; height: 16px; }
.topbar__addr { display: none; }
@media (max-width: 899px) { .topbar__hide-m { display: none !important; } .topbar .wrap { justify-content: center; } }
@media (min-width: 1200px) { .topbar__addr { display: inline-flex; } }

.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr); color: var(--white); transition: transform .5s var(--ease), background .4s, box-shadow .4s; }
.hdr::before { content: ""; position: absolute; inset: 0; background: rgba(13, 13, 14, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line-d); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr .wrap { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 44px; height: 44px; }
.logo__word { width: 118px; height: auto; }
@media (min-width: 1024px) { .logo__mark { width: 50px; height: 50px; } .logo__word { width: 136px; } }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { position: relative; display: block; padding: 10px 12px; font-weight: 700; font-size: 15px; color: rgba(255, 255, 255, .82); border-radius: 10px; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--y); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.hdr__phone { display: none; font-weight: 800; white-space: nowrap; font-size: 15px; }
.hdr__phone small { display: block; font-weight: 600; font-size: 11px; color: var(--muted-d); letter-spacing: .02em; }
.hdr__cta { margin-left: auto; }
.burger { width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; flex: none; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 559px) { .hdr__cta { display: none; } .burger { margin-left: auto; } }
@media (min-width: 1200px) {
  .nav { display: block; }
  .hdr__cta { margin-left: 0; }
  .burger { display: none; }
  .hdr__phone { display: block; }
}
@media (min-width: 1200px) and (max-width: 1320px) { .nav a { padding: 10px 8px; font-size: 14px; } .hdr__phone { display: none; } }

/* mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: #fff; padding: calc(var(--hdr) + 56px) var(--gut) 32px; display: flex; flex-direction: column; gap: 28px; overflow-y: auto; clip-path: circle(0 at calc(100% - 40px) 60px); visibility: hidden; transition: clip-path .8s var(--ease-io), visibility 0s .8s; }
.menu-open .mmenu { clip-path: circle(150% at calc(100% - 40px) 60px); visibility: visible; transition: clip-path .8s var(--ease-io); }
.mmenu nav a { display: block; font-family: var(--f-head); font-size: clamp(26px, 7vw, 40px); font-weight: 600; padding: 6px 0; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease), color .2s; }
.mmenu nav a:hover { color: var(--y); }
.menu-open .mmenu nav a { opacity: 1; transform: none; }
.menu-open .mmenu nav li:nth-child(1) a { transition-delay: .25s; } .menu-open .mmenu nav li:nth-child(2) a { transition-delay: .3s; }
.menu-open .mmenu nav li:nth-child(3) a { transition-delay: .35s; } .menu-open .mmenu nav li:nth-child(4) a { transition-delay: .4s; }
.menu-open .mmenu nav li:nth-child(5) a { transition-delay: .45s; } .menu-open .mmenu nav li:nth-child(6) a { transition-delay: .5s; }
.menu-open .mmenu nav li:nth-child(7) a { transition-delay: .55s; } .menu-open .mmenu nav li:nth-child(8) a { transition-delay: .6s; }
.mmenu__contacts { display: grid; gap: 14px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line-d); }
.mmenu__contacts a { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.mmenu__contacts span { color: var(--muted-d); font-weight: 500; }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero (sticky curtain)
   ========================================================================== */
.hero { position: sticky; top: 0; z-index: 0; min-height: calc(100svh - 40px); margin-top: calc(var(--hdr) * -1); color: #fff; background: var(--ink); overflow: hidden; display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform-origin: 70% 60%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(13, 13, 14, .92) 0%, rgba(13, 13, 14, .55) 38%, rgba(13, 13, 14, 0) 70%),
  linear-gradient(0deg, rgba(13, 13, 14, .95) 0%, rgba(13, 13, 14, 0) 45%); }

.hero__content { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--hdr) + 40px); padding-bottom: clamp(28px, 5vh, 72px); }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; font-weight: 700; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #3BE07C; box-shadow: 0 0 0 0 rgba(59, 224, 124, .7); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(59, 224, 124, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 224, 124, 0); } }
.hero h1 { margin-top: 18px; font-size: clamp(40px, min(8.4vw, 9.6vh), 112px); font-weight: 800; letter-spacing: -.025em; line-height: .98; max-width: 980px; }
.hero h1 .sub { display: block; font-size: clamp(14px, 1.4vw, 18px); font-family: var(--f-body); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--y); margin-bottom: 18px; line-height: 1.3; }
.hero h1 .h1__lines { display: block; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: block; }
.hero h1 .accent { color: var(--y); }
.hero__text { margin-top: 18px; max-width: 560px; font-size: clamp(16px, 1.5vw, 19px); color: rgba(255, 255, 255, .78); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: clamp(24px, 4vh, 44px); max-width: 860px; border-radius: var(--r-md); overflow: hidden; background: rgba(255, 255, 255, .12); }
.hero__facts li { padding: 14px 16px; background: rgba(13, 13, 14, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero__facts b { display: flex; align-items: center; gap: 6px; font-family: var(--f-head); font-size: clamp(17px, 1.6vw, 22px); font-weight: 700; color: #fff; white-space: nowrap; }
.hero__facts b svg { width: 20px; height: 20px; color: var(--y); }
.hero__facts span { font-size: 13px; color: rgba(255, 255, 255, .62); }
@media (min-width: 768px) { .hero__facts { grid-template-columns: repeat(4, 1fr); } }
.hero__scroll { position: absolute; right: var(--gut); bottom: 40px; z-index: 2; display: none; writing-mode: vertical-rl; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); gap: 14px; align-items: center; }
.hero__scroll i { width: 1px; height: 64px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--y); animation: scrolldown 2s var(--ease-io) infinite; }
@keyframes scrolldown { to { top: 100%; } }
@media (min-width: 1024px) { .hero__scroll { display: flex; } }
@media (max-width: 767px) {
  .hero { align-items: flex-start; }
  .hero__media { top: auto; height: 62%; }
  .hero__media img { object-position: 50% 100%; }
  .hero__media::after { background: linear-gradient(180deg, var(--ink) 0%, rgba(13, 13, 14, .7) 22%, rgba(13, 13, 14, 0) 48%, rgba(13, 13, 14, 0) 85%, rgba(13, 13, 14, .6) 100%); }
  .hero__content { padding-top: calc(var(--hdr) + 28px); }
  .hero__text { font-size: 15.5px; }
  .hero__actions { flex-wrap: nowrap; }
  .hero__actions .btn { flex: 1 1 auto; padding: 0 18px; min-height: 52px; font-size: 15px; }
  .hero__facts, .hero__badge { display: none; }
}
@media (max-width: 380px) { .hero__actions .btn svg { display: none; } }

/* everything after hero slides over it */
.over { position: relative; z-index: 2; background: var(--paper); border-radius: var(--r-xl) var(--r-xl) 0 0; box-shadow: 0 -30px 60px -20px rgba(0, 0, 0, .4); }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { --speed: 38s; background: var(--y); color: var(--ink); overflow: hidden; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.marquee__track { display: flex; width: max-content; animation: marquee var(--speed) linear infinite; }
.marquee__track ul { display: flex; align-items: center; }
.marquee li { display: flex; align-items: center; gap: 28px; padding: 22px 14px; font-family: var(--f-head); font-weight: 700; font-size: clamp(16px, 2vw, 22px); white-space: nowrap; }
.marquee li::after { content: ""; width: 12px; height: 12px; background: var(--ink); transform: rotate(45deg); border-radius: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ==========================================================================
   Generic sections
   ========================================================================== */
.sec { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.sec--tight { padding: clamp(56px, 7vw, 96px) 0; }
.dark { background: var(--ink); color: #fff; }
.dark-round { border-radius: var(--r-xl); margin: 0 clamp(0px, 1vw, 16px); }
.white { background: var(--white); }

/* official trust */
.official { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .official { grid-template-columns: repeat(3, 1fr); align-items: stretch; column-gap: 16px; row-gap: 0; }
  .official__intro { grid-column: 1 / -1; max-width: 760px; margin-bottom: 24px; }
  /* карточки делят общие строки: эмблема, заголовок, ведомство и текст стоят на одной линии */
  .o-card { grid-row: span 4; grid-template-rows: subgrid; row-gap: 14px; align-content: stretch; }
  .o-card__org:empty { display: block; visibility: hidden; padding: 0; }
}
@media (min-width: 1200px) { .official { grid-template-columns: 1.15fr 1fr 1fr 1fr; } .official__intro { grid-column: auto; grid-row: span 4; max-width: none; margin: 0 16px 0 0; align-self: center; } }
.official__intro { display: grid; gap: 16px; align-content: start; }
.o-card { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; transition: transform .5s var(--ease), box-shadow .5s var(--ease); overflow: hidden; }
.o-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.o-card__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--y); }
.o-card__ic svg { width: 26px; height: 26px; }
.o-card h3 { font-family: var(--f-body); font-size: 18px; font-weight: 800; line-height: 1.25; }
.o-card__logo { width: 84px; height: 84px; border-radius: 24px; background: var(--paper); display: grid; place-items: center; }
.o-card__logo img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .14)); transition: transform .6s var(--ease); }
.o-card:hover .o-card__logo img { transform: translateY(-3px); }
.o-card__org:empty { display: none; }
.o-card__org { display: inline-flex; align-self: start; justify-self: start; padding: 5px 10px; border-radius: 8px; background: var(--paper); font-size: 12.5px; font-weight: 700; color: var(--text); line-height: 1.3; }
.gov { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 4px; }
.gov li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); line-height: 1.2; }
.gov img { width: 34px; height: 34px; object-fit: contain; }
.o-card p { color: var(--muted); font-size: 15px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.stat { padding: 24px; border-radius: var(--r-lg); background: var(--ink); color: #fff; display: grid; gap: 6px; min-height: 170px; align-content: space-between; position: relative; overflow: hidden; }
.stat:nth-child(2) { background: var(--y); color: var(--ink); }
.stat b { font-family: var(--f-head); font-size: clamp(38px, 5vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.stat > span { font-size: 14px; opacity: .72; font-weight: 600; }
.stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border: 2px solid currentColor; opacity: .12; transform: rotate(45deg); border-radius: 12px; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.plans { display: grid; gap: 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.plan { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.plan__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.plan__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.plan:hover .plan__img img { transform: scale(1.06); }
.plan__tag { position: absolute; left: 16px; top: 16px; display: inline-flex; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; background: rgba(13, 13, 14, .78); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip--y { background: var(--y); color: var(--ink); }
.chip--l { background: var(--paper-2); color: var(--text); backdrop-filter: none; }
.plan__body { padding: 26px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.plan__cat { display: flex; align-items: center; gap: 12px; }
.cat-badge { width: 52px; height: 52px; display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; font-size: 20px; background: var(--ink); color: var(--y); border-radius: 14px; flex: none; }
.cat-badge--wide { width: auto; padding: 0 12px; }
.plan__cat h3 { font-size: 20px; }
.plan__cat p { font-size: 14px; color: var(--muted); }
.plan__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__price b { font-family: var(--f-head); font-size: clamp(34px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.plan__price span { color: var(--muted); font-weight: 600; font-size: 14px; }
.plan__list { display: grid; gap: 10px; }
.plan__list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.plan__list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--y) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D0D0E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan__foot { margin-top: auto; display: grid; gap: 10px; }
.plan__note { font-size: 13px; line-height: 1.6; color: var(--muted); text-align: center; }
@media (min-width: 900px) { .plan__note { min-height: 3.2em; } }
.plan--hot { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan--hot .plan__cat p, .plan--hot .plan__price span, .plan--hot .plan__note { color: var(--muted-d); }
.plan--hot .cat-badge { background: var(--y); color: var(--ink); }

.extras { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 768px) { .extras { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.extra { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r-md); background: var(--paper-2); }
.extra h4 { font-family: var(--f-body); font-size: 16px; font-weight: 800; }
.extra p { font-size: 13px; color: var(--muted); }
.extra b { font-family: var(--f-head); font-size: 20px; white-space: nowrap; }
.disclaimer { margin-top: 18px; font-size: 13px; color: var(--muted); }

.discounts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.discounts li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.discounts b { background: var(--y); padding: 2px 8px; border-radius: 8px; font-size: 13px; }

/* ==========================================================================
   Schedule (groups)
   ========================================================================== */
.groups { display: grid; gap: 14px; }
@media (min-width: 700px) { .groups { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .groups { grid-template-columns: repeat(4, 1fr); } }
.group { position: relative; padding: 24px; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--line-d); display: grid; gap: 14px; align-content: start; transition: border-color .4s, transform .5s var(--ease); }
.group:hover { border-color: rgba(245, 213, 19, .5); transform: translateY(-4px); }
.group__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.group h3 { font-size: 19px; }
.group__time { font-family: var(--f-head); font-size: 26px; color: var(--y); font-weight: 700; }
.group__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.group__days span { min-width: 0; padding: 7px 0; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: 13px; font-weight: 800; text-align: center; color: rgba(255, 255, 255, .42); }
.group__days span.on { background: var(--y); color: var(--ink); }
.group__place { font-size: 14px; color: var(--muted-d); display: flex; gap: 8px; align-items: flex-start; }
.group__place svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--y); }
.group .chip { justify-self: start; }

/* ==========================================================================
   Process (sticky media + steps)
   ========================================================================== */
.process { display: grid; gap: 40px; }
@media (min-width: 1024px) { .process { grid-template-columns: 1fr 1fr; gap: 64px; } }
.process__media { display: none; }
@media (min-width: 1024px) {
  .process__media { display: block; position: sticky; top: calc(var(--hdr) + 32px); height: calc(100vh - var(--hdr) - 64px); max-height: 760px; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); }
  .process__media figure { position: absolute; inset: 0; margin: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-io); }
  .process__media figure.is-on { clip-path: inset(0 0 0 0); z-index: 2; }
  .process__media figure.was-on { clip-path: inset(0 0 0 0); z-index: 1; }
  .process__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease); }
  .process__media figure.is-on img { transform: scale(1); }
  .process__media figcaption { position: absolute; left: 20px; bottom: 20px; z-index: 3; }
  .process__counter { position: absolute; right: 24px; top: 20px; z-index: 5; font-family: var(--f-head); font-weight: 800; font-size: 64px; color: #fff; mix-blend-mode: difference; line-height: 1; }
}
.steps { display: grid; gap: 14px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: background .6s var(--ease), color .6s var(--ease), transform .6s var(--ease), border-color .6s; }
@media (min-width: 1024px) { .step { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; padding: 40px; } .step + .step { margin-top: 0; } }
.step.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.step__num { display: flex; align-items: center; gap: 12px; font-family: var(--f-body); font-weight: 700; font-size: 14px; color: var(--muted); }
.step__n { font-family: var(--f-head); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.02em; color: var(--ink); background: var(--paper-2); padding: 8px 12px; border-radius: 14px; transition: background .5s var(--ease), color .5s var(--ease); }
.step.is-active .step__num { color: var(--muted-d); }
.step.is-active .step__n { background: var(--y); color: var(--ink); }
.step h3 { font-size: clamp(22px, 2.4vw, 32px); margin-top: 14px; }
.step p { margin-top: 12px; color: var(--muted); font-size: 16px; max-width: 520px; }
.step.is-active p { color: var(--muted-d); }
.step ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.step ul li { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--paper-2); color: var(--text); }
.step.is-active ul li { background: rgba(255, 255, 255, .08); color: #fff; }
.step__img { margin-top: 20px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; }
.step__img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .step__img { display: none; } }

/* ==========================================================================
   Advantages (3D icons)
   ========================================================================== */
.adv { display: grid; gap: 14px; }
@media (min-width: 640px) { .adv { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .adv { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.adv__item { position: relative; padding: 28px; padding-right: 120px; min-height: 210px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.adv__item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.adv__item img { position: absolute; right: -6px; top: 14px; width: 128px; height: 128px; object-fit: contain; transition: transform .8s var(--ease); filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .18)); }
.adv__item:hover img { transform: rotate(-8deg) scale(1.08) translateY(-4px); }
.adv__item h3 { font-size: 20px; max-width: 260px; }
.adv__item p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.adv__item--y { background: var(--y); border-color: var(--y); }
.adv__item--y p { color: rgba(13, 13, 14, .72); }
.adv__item--d { background: var(--ink); color: #fff; border-color: var(--ink); }
.adv__item--d p { color: var(--muted-d); }

/* ==========================================================================
   Instructors & cars (horizontal)
   ========================================================================== */
.hscroll { overflow: hidden; }
.hscroll__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { padding: 10px 16px; border-radius: 999px; font-weight: 800; font-size: 14px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .8); border: 1px solid var(--line-d); transition: background .3s, color .3s; }
.filters button[aria-pressed="true"] { background: var(--y); color: var(--ink); border-color: var(--y); }
.hscroll__track { display: flex; gap: 16px; margin-top: 40px; padding: 0 var(--gut) 8px; scroll-padding: 0 var(--gut); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hscroll__track::-webkit-scrollbar { display: none; }
.hscroll__pin { padding: 8px 0; }
@media (min-width: 1024px) {
  .hscroll__track { padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); scroll-padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); }
  .is-pinnable .hscroll__track { overflow: visible; scroll-snap-type: none; padding-right: max(var(--gut), calc((100vw - var(--wrap)) / 2)); will-change: transform; }
}
.icard { flex: 0 0 auto; width: min(82vw, 360px); scroll-snap-align: start; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-d); transition: transform .6s var(--ease), opacity .4s, border-color .4s; }
.icard:hover { border-color: rgba(245, 213, 19, .45); }
.icard.is-dim { opacity: .25; transform: scale(.96); }
.icard__img { aspect-ratio: 750 / 520; overflow: hidden; position: relative; }
.icard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.icard:hover .icard__img img { transform: scale(1.06); }
.icard__img .chip { position: absolute; left: 14px; top: 14px; }
.icard__body { padding: 20px 22px 24px; display: grid; gap: 6px; }
.icard h3 { font-size: 19px; }
.icard__from { color: var(--muted-d); font-size: 14px; }
.icard__car { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line-d); font-weight: 800; }
.icard__car span { font-size: 12px; padding: 4px 10px; border-radius: 8px; background: var(--y); color: var(--ink); }
.icard__car span.mt { background: #fff; }
.icard--more { display: grid; align-content: center; gap: 16px; padding: 28px; background: var(--y); color: var(--ink); border: 0; }
.icard--more h3 { font-size: 24px; }
.icard--more ul { display: grid; gap: 6px; font-weight: 700; }
.icard--more li { display: flex; gap: 8px; align-items: center; }
.icard--more li::before { content: ""; width: 8px; height: 8px; background: var(--ink); transform: rotate(45deg); }

/* fleet */
.fleet { display: grid; gap: 14px; margin-top: 56px; }
@media (min-width: 900px) { .fleet { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; } .fleet__big { grid-row: span 2; } }
.fleet figure { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 240px; }
.fleet img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.fleet__big img { object-position: 72% 50%; }
.fleet figure:hover img { transform: scale(1.05); }
.fleet figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.models { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.models li { padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line-d); font-weight: 700; display: inline-flex; gap: 10px; align-items: center; }
.models li small { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px; background: var(--y); color: var(--ink); }
.models li small.mt { background: #fff; }

/* ==========================================================================
   Winter banner
   ========================================================================== */
.winter { position: relative; min-height: 88vh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); border-radius: var(--r-xl); margin: 16px clamp(0px, 1vw, 16px); isolation: isolate; }
.winter .h2 em { color: var(--y); background: none; }
.winter__bg { position: absolute; inset: -12% 0; }
.winter__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.winter::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 12, 26, .9), rgba(8, 12, 26, .35) 60%, rgba(8, 12, 26, .1)); }
@media (max-width: 767px) { .winter::after { background: linear-gradient(180deg, rgba(8, 12, 26, .85), rgba(8, 12, 26, .55) 60%, rgba(8, 12, 26, .85)); } }
.winter .wrap { position: relative; z-index: 2; padding-top: clamp(72px, 9vw, 140px); padding-bottom: clamp(72px, 9vw, 140px); }
.winter__temp { font-family: var(--f-head); font-weight: 800; font-size: clamp(80px, 16vw, 220px); line-height: .9; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .55); }
.winter h2 { margin-top: 12px; max-width: 760px; }
.winter p { margin-top: 20px; max-width: 520px; color: rgba(255, 255, 255, .78); font-size: 18px; }
.winter ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.winter ul li { padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-weight: 700; font-size: 14px; }

/* ==========================================================================
   About / story
   ========================================================================== */
.about { display: grid; gap: 40px; }
@media (min-width: 1024px) { .about { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }
.about__img { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 3 / 2; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__badge { position: absolute; right: 16px; bottom: 16px; width: 120px; aspect-ratio: 1; display: grid; place-items: center; animation: spin 24s linear infinite; }
.about__badge svg { width: 100%; height: 100%; }
.about__badge img { position: absolute; width: 40px; height: 40px; animation: spin 24s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__text { display: grid; gap: 20px; }
.about__text p { font-size: 17px; color: var(--muted); }
.about__rich { display: grid; gap: 16px; }
.about__rich p, .about__rich li { font-size: 17px; color: var(--muted); }
.dark .about__rich p, .dark .about__rich li { color: var(--muted-d); }
.about__rich strong { color: inherit; }
.about__text .about__rich p strong { color: var(--text); }
.over--nohero { border-radius: 0; box-shadow: none; }
.no-preloader .preloader { display: none; }
.about__text p strong { color: var(--text); }
.timeline { display: grid; gap: 0; margin-top: 12px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 26px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 5px; width: 14px; height: 14px; background: var(--y); border: 2px solid var(--ink); transform: rotate(45deg); border-radius: 3px; }
.timeline b { display: block; font-family: var(--f-head); font-size: 14px; letter-spacing: .04em; }
.timeline span { color: var(--muted); font-size: 15px; }

.team-strip { display: grid; gap: 14px; margin-top: 56px; }
@media (min-width: 768px) { .team-strip { grid-template-columns: 1fr 1fr; } }
.team-strip figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; }
.team-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; }
.team-strip figure:hover img { transform: scale(1.04); }

/* ==========================================================================
   Reviews
   ========================================================================== */
.rating-row { display: grid; gap: 12px; }
@media (min-width: 768px) { .rating-row { grid-template-columns: 1.2fr repeat(3, 1fr); } }
.rating-total { padding: 26px; border-radius: var(--r-lg); background: var(--y); display: grid; gap: 6px; align-content: center; }
.rating-total b { font-family: var(--f-head); font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: -.04em; display: flex; align-items: center; gap: 10px; }
.stars { display: inline-flex; gap: 2px; color: #FFB800; }
.stars svg { width: 18px; height: 18px; }
.rating-total .stars { color: var(--ink); }
.rating-total .stars svg { width: 22px; height: 22px; }
.rating-branch { padding: 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: grid; gap: 8px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.rating-branch:hover { transform: translateY(-4px); box-shadow: var(--shadow-s); }
.rating-branch b { font-family: var(--f-head); font-size: 28px; display: flex; align-items: center; gap: 8px; }
.rating-branch span { font-size: 14px; color: var(--muted); }
.rating-branch em { font-style: normal; font-size: 13px; font-weight: 800; color: #1E8E3E; display: inline-flex; gap: 6px; align-items: center; }

.reviews { margin-top: 32px; position: relative; }
.reviews__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gut) 24px; scrollbar-width: none; scroll-padding: 0 var(--gut); }
.reviews__track::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .reviews__track { padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); scroll-padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); } }
.review { flex: 0 0 auto; width: min(86vw, 420px); scroll-snap-align: start; padding: 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-s); }
.review__head { display: grid; gap: 2px; }
.ava { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--ink); background: var(--y); font-size: 15px; }
.review__name { font-weight: 800; font-size: 17px; line-height: 1.25; }
.review__meta { font-size: 13px; color: var(--muted); }
.review__text { font-size: 15.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.review.is-open .review__text { -webkit-line-clamp: unset; display: block; }
.review__more { align-self: flex-start; font-weight: 800; font-size: 14px; border-bottom: 2px solid var(--y); }
.review__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.verified { display: inline-flex; align-items: center; gap: 6px; color: #1E8E3E; font-weight: 800; }
.verified svg { width: 16px; height: 16px; }
.gis { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--text); }
.gis img { height: 18px; width: auto; }
.rating-total__src { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.rating-total__src img { height: 26px; width: auto; background: #fff; padding: 5px 9px; border-radius: 8px; box-sizing: content-box; }
.rating-branch .gis-mini { height: 14px; width: auto; opacity: .9; }
.eyebrow img { height: 16px; width: auto; }
.gis i { width: 18px; height: 18px; border-radius: 5px; background: #1BA136; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 10px; }
.reviews__nav { display: flex; gap: 10px; }
.rbtn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: background .3s, color .3s, transform .3s var(--ease); }
.rbtn:hover { background: var(--y); color: var(--ink); }
.rbtn:active { transform: scale(.92); }
.rbtn svg { width: 22px; height: 22px; }
.reviews__bar { display: flex; align-items: center; gap: 24px; margin-top: 8px; }
.reviews__progress { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.reviews__progress i { display: block; height: 100%; width: 20%; background: var(--ink); border-radius: 3px; transition: transform .2s; }

/* graduates */
.grads { overflow: hidden; margin-top: clamp(56px, 8vw, 96px); }
.grads__row { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.grads__row:hover { animation-play-state: paused; }
.grads figure { margin: 0; width: clamp(180px, 22vw, 260px); aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; flex: none; }
.grads img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Certificates
   ========================================================================== */
.cert { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .cert { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.cert__img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; }
.cert__img img { width: 100%; height: 100%; object-fit: cover; }
.nominals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; }
.nominal { padding: 18px; border-radius: var(--r-md); border: 1px solid var(--line-d); display: grid; gap: 2px; transition: background .3s, color .3s, border-color .3s; }
.nominal:hover { background: var(--y); color: var(--ink); border-color: var(--y); }
.nominal b { font-family: var(--f-head); font-size: 24px; }
.nominal span { font-size: 13px; opacity: .7; }

/* ==========================================================================
   Payment + documents
   ========================================================================== */
.pay { display: grid; gap: 14px; }
@media (min-width: 768px) { .pay { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pay { grid-template-columns: repeat(4, 1fr); } }
.pay__item { padding: 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.pay__item h3 { font-size: 19px; }
.pay__item p { color: var(--muted); font-size: 15px; }
.pay__big { font-family: var(--f-head); font-size: 36px; font-weight: 800; letter-spacing: -.03em; }
.pay__steps { display: grid; gap: 8px; }
.pay__steps li { display: flex; justify-content: space-between; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--paper); font-weight: 700; font-size: 14px; }
.pay__item--y { background: var(--y); border-color: var(--y); }
.pay__item--y p { color: rgba(13, 13, 14, .72); }

.docs-enroll { display: grid; gap: 40px; }
@media (min-width: 1024px) { .docs-enroll { grid-template-columns: 1fr 1.25fr; gap: 72px; } }
.doclist { display: grid; gap: 10px; margin-top: 24px; }
.doclist li { display: flex; gap: 16px; align-items: center; padding: 14px 18px 14px 12px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.doclist li:hover { transform: translateX(4px); box-shadow: var(--shadow-s); }
.doclist__img { flex: none; width: 76px; height: 76px; object-fit: contain; transition: transform .6s var(--ease); }
.doclist li:hover .doclist__img { transform: rotate(-6deg) scale(1.06); }
.doclist li i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--y); font-style: normal; font-weight: 800; font-family: var(--f-head); font-size: 14px; }
.doclist b { display: block; }
.doclist span { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: background .4s; }
.faq details[open] { background: var(--ink); color: #fff; border-color: var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 800; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--y); position: relative; transition: transform .5s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary i { transform: rotate(180deg); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .faq__a { padding: 0 22px 22px; color: var(--muted-d); font-size: 15.5px; }
.faq .faq__a p + p { margin-top: 10px; }

/* ==========================================================================
   Branches + map
   ========================================================================== */
.branches { display: grid; gap: 14px; }
@media (min-width: 1100px) { .branches-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: stretch; } }
.branch { padding: 24px; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--line-d); display: grid; gap: 12px; transition: border-color .4s; }
.branch:hover, .branch.is-active { border-color: var(--y); }
.branch__top { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.branch h3 { font-size: 19px; }
.branch__district { font-size: 13px; color: var(--y); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.branch__meta { display: grid; gap: 6px; font-size: 15px; color: var(--muted-d); }
.branch__meta a { color: #fff; font-weight: 800; }
.branch__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.branch--drom { background: var(--y); color: var(--ink); border-color: var(--y); }
.branch--drom .branch__meta, .branch--drom .branch__district { color: rgba(13, 13, 14, .7); }
.map { margin-top: 14px; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; background: var(--ink-3); position: relative; }
@media (min-width: 1100px) { .map { margin-top: 0; min-height: 100%; } }
.map__canvas { position: absolute; inset: 0; z-index: 1; background: #1c1d20; }
.map__fallback { position: absolute; left: 16px; bottom: 16px; z-index: 5; padding: 10px 14px; border-radius: 12px; background: rgba(13, 13, 14, .82); color: #fff; font-weight: 800; font-size: 13px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.map__fallback:hover { color: var(--y); }
.branch[data-branch] { cursor: pointer; }
.pin { width: 44px; height: 44px; display: grid; place-items: center; }
.pin i { width: 30px; height: 30px; background: var(--y); border: 3px solid var(--ink); border-radius: 6px; transform: rotate(45deg); box-shadow: 0 8px 18px rgba(0, 0, 0, .45); display: grid; place-items: center; transition: transform .35s var(--ease); }
.pin b { transform: rotate(-45deg); font-family: var(--f-head); font-size: 12px; color: var(--ink); }
.pin--drom i { background: #fff; }
.pin.is-active i, .pin:hover i { transform: rotate(45deg) scale(1.25); }
.leaflet-container { font-family: var(--f-body) !important; background: #1c1d20 !important; }
.map .leaflet-tile-pane { filter: saturate(.85); }
.a11y .map .leaflet-tile-pane { filter: none; }
.leaflet-popup-content-wrapper { border-radius: 14px !important; background: var(--ink) !important; color: #fff !important; box-shadow: var(--shadow) !important; }
.leaflet-popup-tip { background: var(--ink) !important; }
.leaflet-popup-content { margin: 14px 16px !important; font-size: 14px; line-height: 1.45; }
.leaflet-popup-content b { display: block; font-size: 15px; }
.leaflet-popup-content a { color: var(--y) !important; font-weight: 800; }
.leaflet-container a.leaflet-popup-close-button { color: #fff !important; }
.leaflet-control-attribution { background: rgba(13, 13, 14, .7) !important; color: #aaa !important; }
.leaflet-control-attribution a { color: #ddd !important; }
.leaflet-bar a { background: var(--ink) !important; color: #fff !important; border-color: #333 !important; }

/* ==========================================================================
   CTA + form
   ========================================================================== */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--ink); color: #fff; padding: clamp(32px, 6vw, 80px); display: grid; gap: 40px; }
@media (min-width: 1024px) { .cta { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.cta__deco { position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border: 60px solid var(--y); transform: rotate(45deg); border-radius: 40px; opacity: .08; pointer-events: none; }
.form { position: relative; display: grid; gap: 12px; }
.field { position: relative; }
.field input, .field select, .field textarea { width: 100%; min-height: 58px; padding: 22px 18px 8px; border-radius: 16px; border: 1.5px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: #fff; outline: none; transition: border-color .3s, background .3s; appearance: none; -webkit-appearance: none; }
.field select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5D513' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.field select option { color: var(--text); }
.field label { position: absolute; left: 18px; top: 18px; font-size: 15px; color: rgba(255, 255, 255, .55); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field select:focus { border-color: var(--y); background: rgba(255, 255, 255, .09); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field select + label { top: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--y); }
.field.is-error input { border-color: #FF5A5A; }
.form__row { display: grid; gap: 12px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: rgba(255, 255, 255, .6); cursor: pointer; }
.check input { flex: none; appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid rgba(255, 255, 255, .3); margin: 0; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check input:checked { background: var(--y); border-color: var(--y); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.check a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.check.is-error input { border-color: #FF5A5A; }
.form__hint { font-size: 13px; color: rgba(255, 255, 255, .5); text-align: center; }
.form .btn { width: 100%; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__bg { position: absolute; inset: 0; background: rgba(13, 13, 14, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s var(--ease); }
.modal.is-open .modal__bg { opacity: 1; }
.modal__box { position: relative; width: min(560px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; border-radius: var(--r-lg); background: var(--ink); color: #fff; padding: clamp(24px, 4vw, 40px); transform: translateY(40px) scale(.96); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.modal.is-open .modal__box { transform: none; opacity: 1; }
.modal__close { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; }
.modal__close:hover { transform: rotate(90deg); background: var(--y); color: var(--ink); }
.modal__close svg { width: 18px; height: 18px; }
.modal h2 { font-size: clamp(24px, 3vw, 32px); padding-right: 40px; }
.modal__lead { color: var(--muted-d); margin: 10px 0 24px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 10px 6px; border-radius: 12px; font-weight: 800; font-size: 14px; cursor: pointer; transition: background .3s, color .3s; }
.seg input:checked + span { background: var(--y); color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--y); outline-offset: 2px; }
.success { display: none; text-align: center; gap: 14px; justify-items: center; padding: 20px 0; }
.success.is-on { display: grid; }
.success__ic { width: 72px; height: 72px; border-radius: 50%; background: var(--y); color: var(--ink); display: grid; place-items: center; }
.success__ic svg { width: 34px; height: 34px; }

/* floating & sticky */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .4s var(--ease); }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(13, 13, 14, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform: translateY(110%); transition: transform .5s var(--ease); }
.mbar.is-on { transform: none; }
.mbar .btn { min-height: 50px; padding: 0 14px; font-size: 15px; }
@media (min-width: 768px) { .mbar { display: none; } }
@media (max-width: 767px) { .fab { bottom: 84px; width: 54px; height: 54px; } }

/* cookie */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 90; max-width: 440px; padding: 18px 20px; border-radius: var(--r-md); background: var(--white); color: var(--text); box-shadow: var(--shadow); display: none; gap: 14px; font-size: 14px; }
.cookie.is-on { display: grid; animation: up .6s var(--ease); }
.cookie p { color: var(--muted); }
.cookie a { text-decoration: underline; color: var(--text); }
.cookie div { display: flex; gap: 8px; }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
@media (max-width: 767px) { .cookie { right: 16px; bottom: 84px; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 96px) 0 32px; position: relative; z-index: 2; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer h4 { font-family: var(--f-body); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a { transition: color .25s; }
.footer a:hover { color: var(--y); }
.footer__legal { font-size: 13px; color: var(--muted-d); display: grid; gap: 6px; margin-top: 20px; }
.footer__big { font-family: var(--f-head); font-weight: 800; font-size: clamp(56px, 15vw, 220px); line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .14); margin-top: 56px; white-space: nowrap; overflow: hidden; user-select: none; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line-d); font-size: 13px; color: var(--muted-d); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .06); display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--y); color: var(--ink); transform: translateY(-3px); }
.socials svg { width: 22px; height: 22px; }

/* ==========================================================================
   Reveal animations (enabled only with JS)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="scale"] { transform: scale(.92); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(12% 12% 12% 12% round var(--r-xl)); transition: clip-path 1.4s var(--ease-io); }
.js [data-reveal="clip"] img { transform: scale(1.25); transition: transform 1.8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r-xl)); }
.js [data-reveal="clip"].is-in img { transform: scale(1); }
.js .split-line { display: block; overflow: hidden; }
.js .split-line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .is-in .split-line > span, .js .split-line.is-in > span { transform: none; }
.js .hero h1 .ln > span { transform: translateY(110%); }
.js .hero .hero__badge, .js .hero .hero__text, .js .hero .hero__actions, .js .hero .hero__facts { opacity: 0; transform: translateY(24px); }
.js .hero.is-ready h1 .ln > span { transform: none; transition: transform 1.2s var(--ease); }
.js .hero.is-ready h1 .ln:nth-child(2) > span { transition-delay: .08s; }
.js .hero.is-ready h1 .ln:nth-child(3) > span { transition-delay: .16s; }
.js .hero.is-ready h1 .ln:nth-child(4) > span { transition-delay: .24s; }
.js .hero.is-ready .hero__badge, .js .hero.is-ready .hero__text, .js .hero.is-ready .hero__actions, .js .hero.is-ready .hero__facts { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .hero.is-ready .hero__text { transition-delay: .35s; }
.js .hero.is-ready .hero__actions { transition-delay: .45s; }
.js .hero.is-ready .hero__facts { transition-delay: .55s; }
.js .hero .hero__media img { transform: scale(1.18); }
.js .hero.is-ready .hero__media img { transform: scale(1); transition: transform 2.4s var(--ease); }

/* ==========================================================================
   Cross-document view transitions (Chrome 126+)
   ========================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .55s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .75s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-30px) scale(.98); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(40px); } }

/* ==========================================================================
   Accessibility mode (версия для слабовидящих, ГОСТ Р 52872-2019)
   ========================================================================== */
.a11y-panel { display: none; background: #fff; color: #000; border-bottom: 3px solid #000; font-size: 16px; position: relative; z-index: 70; }
.a11y .a11y-panel { display: block; }
.a11y-panel .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.a11y-panel fieldset { border: 0; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.a11y-panel legend { float: left; margin-right: 6px; font-weight: 700; }
.a11y-panel button { min-width: 44px; min-height: 44px; padding: 0 12px; border: 2px solid #000; border-radius: 8px; font-weight: 800; background: #fff; color: #000; }
.a11y-panel button[aria-pressed="true"] { background: #000; color: #fff; }
html.a11y { font-size: var(--a11y-size, 20px); }
.a11y body { font-size: var(--a11y-size, 20px); line-height: 1.7; letter-spacing: .02em; }
.a11y *, .a11y *::before, .a11y *::after { animation: none !important; transition: none !important; }
.a11y [data-reveal], .a11y .split-line > span, .a11y .hero h1 .ln > span, .a11y .hero__badge, .a11y .hero__text, .a11y .hero__actions, .a11y .hero__facts { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.a11y .preloader, .a11y .hero__scroll, .a11y .marquee, .a11y .grads, .a11y .footer__big { display: none !important; }
.a11y .hero { position: relative; min-height: auto; }
.a11y .hero__media { display: none; }
.a11y .hero { background: #000; }
/* размер шрифта: все тексты масштабируются от выбранного значения */
.a11y :is(p, li, a, button, span, dd, dt, td, th, label, input, select, small, em, b, summary):not(:is(h1, h2, h3, h4) *):not(.stat b *):not(.stat b) { font-size: var(--a11y-size) !important; line-height: 1.55 !important; }
.a11y h1, .a11y .hero h1 { font-size: calc(var(--a11y-size) * 2.2) !important; }
.a11y h2, .a11y .h2 { font-size: calc(var(--a11y-size) * 1.7) !important; }
.a11y h3 { font-size: calc(var(--a11y-size) * 1.25) !important; }
.a11y h1 *, .a11y h2 *, .a11y h3 * { font-size: inherit !important; }
.a11y .eyebrow, .a11y .chip, .a11y .cat-badge { font-size: calc(var(--a11y-size) * .8) !important; }
/* контраст: чёрный на белом */
.a11y.a11y-contrast-wb body, .a11y.a11y-contrast-wb main, .a11y.a11y-contrast-wb .page-body { background: #fff !important; }
.a11y.a11y-contrast-wb body *:not(svg):not(svg *):not(img):not(.btn):not(.btn *):not(.a11y-panel *):not(.leaflet-container *) { color: #000 !important; background-color: #fff !important; border-color: #000 !important; -webkit-text-stroke: 0 !important; }
.a11y.a11y-contrast-wb .hdr::before { background: #fff !important; border-bottom: 2px solid #000; }
.a11y.a11y-contrast-wb .logo__word { filter: invert(1); }
.a11y.a11y-contrast-wb .btn { background: #000 !important; color: #fff !important; box-shadow: none !important; }
.a11y.a11y-contrast-wb .btn * { color: #fff !important; }
.a11y.a11y-contrast-wb :is(.o-card, .plan, .group, .step, .icard, .branch, .stat, .cta, .review, .faq details, .adv__item, .pay__item, .rating-branch, .rating-total, .extra, .svd__sec, .doc-link, .nominal) { border: 2px solid #000 !important; }
/* контраст: белый на чёрном */
.a11y.a11y-contrast-bw body, .a11y.a11y-contrast-bw main, .a11y.a11y-contrast-bw .page-body { background: #000 !important; }
.a11y.a11y-contrast-bw body *:not(svg):not(svg *):not(img):not(.btn):not(.btn *):not(.a11y-panel *):not(.leaflet-container *) { color: #fff !important; background-color: #000 !important; border-color: #fff !important; -webkit-text-stroke: 0 !important; }
.a11y.a11y-contrast-bw .hdr::before { background: #000 !important; border-bottom: 2px solid #fff; }
.a11y.a11y-contrast-bw .btn { background: #fff !important; color: #000 !important; box-shadow: none !important; }
.a11y.a11y-contrast-bw .btn * { color: #000 !important; }
.a11y.a11y-contrast-bw :is(.o-card, .plan, .group, .step, .icard, .branch, .stat, .cta, .review, .faq details, .adv__item, .pay__item, .rating-branch, .rating-total, .extra, .svd__sec, .doc-link, .nominal) { border: 2px solid #fff !important; }
.a11y.a11y-noimg main img:not(.logo__mark):not(.logo__word) { display: none !important; }
.a11y.a11y-noimg .plan__img, .a11y.a11y-noimg .icard__img, .a11y.a11y-noimg .fleet, .a11y.a11y-noimg .team-strip, .a11y.a11y-noimg .cert__img, .a11y.a11y-noimg .about__img, .a11y.a11y-noimg .winter__bg, .a11y.a11y-noimg .step__img { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js .split-line > span { opacity: 1; transform: none; clip-path: none; }
  .preloader { display: none; }
  .hero { position: relative; }
}

/* ==========================================================================
   Inner pages (сведения, политика)
   ========================================================================== */
.page-hero { background: var(--ink); color: #fff; padding: calc(var(--hdr) + 40px) 0 72px; margin-top: calc(var(--hdr) * -1); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(30px, 5vw, 60px); max-width: 900px; margin-top: 16px; }
.page-hero p { margin-top: 18px; color: var(--muted-d); max-width: 720px; }
.page-hero__deco { position: absolute; right: -80px; bottom: -160px; width: 420px; opacity: .08; transform: rotate(12deg); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted-d); }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--y); }
.page-body { background: var(--paper); border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: -32px; position: relative; z-index: 2; padding: clamp(40px, 6vw, 80px) 0; }
.svd { display: grid; gap: 32px; }
@media (min-width: 1024px) { .svd { grid-template-columns: 300px 1fr; gap: 56px; align-items: start; } }
.svd > * { min-width: 0; }
.svd__nav { position: relative; }
@media (min-width: 1024px) { .svd__nav { position: sticky; top: calc(var(--hdr) + 24px); max-height: calc(100vh - var(--hdr) - 48px); overflow-y: auto; } }
.svd__nav ol { list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); counter-reset: s; }
.svd__nav a { display: flex; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--muted); transition: background .25s, color .25s; }
.svd__nav a::before { counter-increment: s; content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--paper-2); font-size: 11.5px; color: var(--text); }
.svd__nav a:hover { background: var(--paper); color: var(--text); }
.svd__nav a.is-active { background: var(--ink); color: #fff; }
.svd__nav a.is-active::before { background: var(--y); color: var(--ink); }
.svd__sec { padding: clamp(24px, 4vw, 40px); background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); scroll-margin-top: calc(var(--hdr) + 20px); }
.svd__sec + .svd__sec { margin-top: 16px; }
.svd__sec h2 { font-size: clamp(22px, 2.6vw, 30px); display: flex; gap: 14px; align-items: center; }
.svd__sec h2::before { content: ""; width: 14px; height: 14px; background: var(--y); transform: rotate(45deg); border-radius: 3px; flex: none; }
.svd__sec h3 { font-family: var(--f-body); font-size: 17px; font-weight: 800; margin: 28px 0 12px; }
.svd__sec > p, .svd__sec li { color: #333; }
.svd__sec > p { margin-top: 14px; }
.kv { display: grid; margin-top: 18px; border-top: 1px solid var(--line); }
.kv > div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .kv > div { grid-template-columns: 300px 1fr; gap: 24px; } }
.kv dt { font-weight: 700; color: var(--muted); font-size: 14.5px; }
.kv dd { margin: 0; font-weight: 600; }
.tbl-wrap { overflow-x: auto; margin-top: 18px; border-radius: var(--r-sm); border: 1px solid var(--line); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--paper); font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.tbl tr:last-child td { border-bottom: 0; }
.doc-links { display: grid; gap: 10px; margin-top: 18px; }
.doc-link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); transition: border-color .25s, transform .3s var(--ease); }
.doc-link:hover { border-color: var(--ink); transform: translateX(4px); }
.doc-link i { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--y); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; }
.doc-link b { display: block; font-size: 15px; }
.doc-link span { font-size: 13px; color: var(--muted); }
.doc-link.is-missing { opacity: .7; }
.doc-link.is-missing span::after { content: " · документ готовится к размещению"; color: #B07800; font-weight: 700; }
.note { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--y-soft); font-size: 14.5px; }
.prose p, .prose li { color: #333; }
.prose h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 36px 0 14px; }
.prose ol, .prose ul { padding-left: 22px; list-style: revert; display: grid; gap: 8px; margin-top: 12px; }
.prose p + p { margin-top: 12px; }

/* ==========================================================================
   Всплывающее окно-приглашение (как чат у Баранки)
   ========================================================================== */
.chatpop { position: fixed; right: 16px; bottom: 92px; z-index: 95; width: min(360px, calc(100vw - 32px)); padding: 18px 18px 16px; border-radius: 22px; background: var(--white); color: var(--text); box-shadow: 0 30px 70px -20px rgba(13, 13, 14, .45), 0 0 0 1px rgba(13, 13, 14, .06); display: grid; gap: 12px; transform: translateY(24px) scale(.96); transform-origin: 100% 100%; opacity: 0; visibility: hidden; transition: transform .6s var(--ease), opacity .4s, visibility 0s .6s; }
.chatpop.is-on { transform: none; opacity: 1; visibility: visible; transition: transform .6s var(--ease), opacity .4s; }
.chatpop__close { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background .25s, color .25s, transform .4s var(--ease); }
.chatpop__close:hover { background: var(--paper); color: var(--text); transform: rotate(90deg); }
.chatpop__close svg { width: 16px; height: 16px; }
.chatpop__head { display: flex; align-items: center; gap: 12px; padding-right: 30px; }
.chatpop__ava { position: relative; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--ink); display: grid; place-items: center; }
.chatpop__ava img { width: 34px; height: 34px; }
.chatpop__ava::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 13px; height: 13px; border-radius: 50%; background: #3BE07C; border: 3px solid var(--white); }
.chatpop__head b { display: block; font-size: 16px; line-height: 1.2; }
.chatpop__head small { color: var(--muted); font-size: 13px; }
.chatpop__bubble { position: relative; padding: 14px 16px; border-radius: 4px 18px 18px 18px; background: var(--paper); font-size: 15px; line-height: 1.55; }
.chatpop__bubble p + p { margin-top: 8px; }
.chatpop__typing { display: inline-flex; gap: 5px; padding: 4px 2px; }
.chatpop__typing i { width: 8px; height: 8px; border-radius: 50%; background: #B8B6AE; animation: typing 1.2s infinite; }
.chatpop__typing i:nth-child(2) { animation-delay: .15s; }
.chatpop__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.chatpop__text { display: none; }
.chatpop.is-typed .chatpop__typing { display: none; }
.chatpop.is-typed .chatpop__text { display: block; animation: up .5s var(--ease); }
.chatpop__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; opacity: 0; transform: translateY(8px); transition: opacity .5s .15s, transform .5s .15s var(--ease); }
.chatpop.is-typed .chatpop__actions { opacity: 1; transform: none; }
.chatpop__actions .btn { min-height: 46px; padding: 0 12px; font-size: 14px; }
.chatpop__actions .btn:only-child { grid-column: 1 / -1; }
@media (max-width: 767px) {
  .chatpop { right: 12px; left: 12px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .fab { transition: transform .4s var(--ease), opacity .3s; }
  .pop-open .fab { opacity: 0; pointer-events: none; transform: scale(.6); }
}
.a11y .chatpop { display: none !important; }

/* ---------- посадочные страницы (SEO) ---------- */
.plan__more { justify-self: center; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.plan__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.plan__more:hover svg { transform: translateX(4px); }
.lp-hero { padding-bottom: 96px; }
.lp-hero .wrap { display: grid; gap: 40px; align-items: center; }
.lp-hero__eyebrow { margin-top: 22px; }
.lp-hero .eyebrow, .lp-aside .eyebrow { color: var(--muted-d); }
.lp-hero h1 { font-size: clamp(30px, 4.6vw, 58px); line-height: 1.04; }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-hero__actions .btn--ghost svg { width: 18px; height: 18px; }
.lp-facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 560px; }
.lp-facts li { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d); border-radius: var(--r-sm); padding: 12px 14px; }
.lp-facts b { display: block; font-family: var(--f-head); font-size: clamp(17px, 1.6vw, 21px); color: var(--y); white-space: nowrap; }
.lp-hero h1 .accent { color: var(--y); }
.lp-facts span { font-size: 13px; color: var(--muted-d); }
.lp-hero__img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-3); }
.lp-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.lp-body { background: var(--paper); border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: -40px; position: relative; z-index: 2; }
.lp-intro__grid { display: grid; gap: 32px; }
.lp-text { max-width: 820px; }
.lp-text h2:first-child { margin-top: 0; }
.lp-text ul li b { color: var(--text); }
.lp-aside { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 28px; display: grid; gap: 18px; align-self: start; }
.lp-prices { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lp-prices li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line-d); font-size: 15px; }
.lp-prices b { font-family: var(--f-head); color: var(--y); white-space: nowrap; }
.lp-phones { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lp-phones a { color: #fff; font-weight: 700; }
.lp-phones span { display: block; font-size: 13px; color: var(--muted-d); }
.lp-links { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line-d); }
.lp-links span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-d); font-weight: 700; }
.lp-links a { color: #fff; font-weight: 600; }
.lp-links a:hover, .lp-phones a:hover { color: var(--y); }
.lp-faq { max-width: 900px; }
@media (min-width: 1000px) {
  .lp-hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .lp-intro__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; }
  .lp-aside { position: sticky; top: calc(var(--hdr) + 24px); }
}
