/* =========================================================
   АВМ — Академія водійської майстерності
   Design system + components
   ========================================================= */

:root {
  /* Brand */
  --red: #E30613;
  --red-600: #C8050F;
  --red-700: #A50410;
  --red-soft: #FCE9EA;
  --red-soft-2: #FBEFEF;

  /* Ink / text */
  --ink: #14161C;
  --ink-2: #1B1E26;
  --text: #4A5059;
  --muted: #767C87;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-soft: #F4F5F7;
  --bg-soft-2: #F8F9FB;
  --line: #E7E9EE;
  --line-2: #EDEEF2;

  /* Dark */
  --dark: #15171E;
  --dark-2: #1C1F28;
  --dark-line: rgba(255,255,255,.10);
  --dark-text: #AFB4BE;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(20,22,28,.05);
  --shadow: 0 14px 40px -18px rgba(20,22,28,.18);
  --shadow-lg: 0 30px 70px -30px rgba(20,22,28,.30);
  --shadow-red: 0 16px 34px -14px rgba(227,6,19,.5);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --container: 1200px;
  --gut: clamp(16px, 4vw, 24px);
  --ease: cubic-bezier(.22,.61,.36,1);

  --ff: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-head: 'Manrope', 'Inter', system-ui, sans-serif;

  /* Typography scale */
  --fs-body: 16px;
  --lh-body: 1.55;
  --fs-small: 13.5px;
  --fs-h1: clamp(42px, 5vw, 70px);
  --fs-h2: clamp(30px, 3.2vw, 44px);
  --fs-card-title: 18px;
  --fs-card-text: 14.5px;
  --lh-card-text: 1.5;

  /* Icon system (two-tone automotive) */
  --ic-accent: var(--red);
  --ic-fill: rgba(227,6,19,.10);
  --ic-line: var(--ink);
  --ic-pad-bg: rgba(227,6,19,.08);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff);
  color: var(--text);
  background: var(--bg);
  line-height: var(--lh-body);
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--ink); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; }
input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- Icon system (unified two-tone SVG sprite) ---------- */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
/* Accent (red) sub-strokes & soft fills travel through <use> via custom props */
.ic { --ic-accent: var(--red); --ic-fill: rgba(227,6,19,.12); }
.ic--lg { width: 26px; height: 26px; }
.ic--arrow { width: 18px; height: 18px; stroke-width: 2.1; transition: transform .25s var(--ease); }
/* Icon-pad: standard 52px rounded container with soft-red wash */
.icon-pad {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; flex: none;
  background: var(--ic-pad-bg); color: var(--ic-line);
}
.icon-pad .ic { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-head); font-weight: 700; font-size: 15px;
  padding: 15px 26px; border-radius: 12px; min-height: 48px;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap; line-height: 1; cursor: pointer;
}
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(227,6,19,.6); }
.btn--primary:hover .ic--arrow { transform: translateX(4px); }
.btn--outline { background: transparent; color: var(--red); border: 1.5px solid var(--red); padding: 12px 22px; }
.btn--outline:hover { background: var(--red); color: #fff; }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.22); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn--link { color: var(--ink); font-weight: 700; padding: 14px 6px; position: relative; }
.btn--link .ic { color: var(--red); }
.btn--link::after { content: ""; position: absolute; left: 6px; right: 30px; bottom: 8px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.btn--link:hover::after { transform: scaleX(1); }
.btn--link:hover .ic--arrow { transform: translateX(4px); }
.btn--lg { padding: 17px 32px; font-size: 16px; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red); font-family: var(--ff-head); font-weight: 700; font-size: 15px;
  transition: gap .2s var(--ease);
}
.link-arrow:hover { gap: 12px; }
.link-arrow:hover .ic--arrow { transform: translateX(2px); }
.link-arrow--big { font-size: 16px; margin-top: 22px; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--red); font-family: var(--ff-head); font-weight: 700;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px;
}
.eyebrow__line { width: 34px; height: 2px; background: var(--red); border-radius: 2px; }
.eyebrow--dark { color: var(--red); }

.section { padding: clamp(56px, 8vw, 100px) 0; background: var(--bg); }
.section--soft { background: var(--bg-soft); }
/* Auto-alternating section backgrounds — independent of which blocks exist.
   Hero is the 1st <section> (odd); content sections start at #2. */
main > .section:nth-of-type(even) { background: var(--bg); }
main > .section:nth-of-type(odd) { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-title { font-size: var(--fs-h2); line-height: 1.1; max-width: 680px; }
.section-sub { color: var(--muted); font-size: clamp(15px, 1.6vw, 17px); margin-top: 16px; line-height: 1.55; max-width: 560px; }
.section-sub--left { margin-top: 18px; max-width: 520px; }

/* ---------- Tick list ---------- */
.ticks li {
  position: relative; padding-left: 30px; margin-bottom: 12px;
  color: var(--text); font-size: 15px; font-weight: 500;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: transform .38s var(--ease), box-shadow .3s;
  will-change: transform;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(20,22,28,.3); }
.site-header.is-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}
.header__inner { display: flex; align-items: center; gap: 28px; height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__img {
  display: block; height: 46px; width: auto; max-width: 140px;
  object-fit: contain; object-position: left center;
}
.logo__text { font-size: 9px; line-height: 1.25; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.logo--light .logo__text { color: rgba(255,255,255,.6); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__list > li { margin: 0; padding: 0; }
.nav__link { font-size: 14.5px; font-weight: 600; color: var(--ink); position: relative; padding: 9px 14px; border-radius: 10px; transition: color .2s, background .2s; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); border-radius: 2px; }
.nav__link:hover { color: var(--red); background: var(--red-soft-2); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link:focus-visible { background: var(--red-soft-2); color: var(--red); }

.header__actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header__phone { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14.5px; color: var(--ink); font-family: var(--ff-head); white-space: nowrap; padding: 6px; border-radius: 8px; }
.header__phone .ic { color: var(--ic-line); width: 20px; height: 20px; }
.header__phone:hover { color: var(--red); }
.header__messengers { display: flex; align-items: center; gap: 6px; }
.header__messenger { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; color: var(--ink); background: #fff; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.header__messenger .ic { width: 19px; height: 19px; --ic-fill: transparent; --ic-accent: currentColor; }
.header__messenger:hover, .header__messenger:focus-visible { color: #fff; transform: translateY(-2px); outline: none; }
.header__messenger--telegram:hover, .header__messenger--telegram:focus-visible { background: #229ed9; border-color: #229ed9; }
.header__messenger--viber:hover, .header__messenger--viber:focus-visible { background: #7360f2; border-color: #7360f2; }
.header__cta { min-height: 42px; padding: 11px 22px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 10px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; isolation: isolate; overflow: hidden; }
body.admin-bar .site-header { top: 32px; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../images/herobg.webp") center right/cover no-repeat;
}
.hero[style] .hero__bg { background-image: var(--hero-bg); }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(247,248,250,.97) 0%, rgba(247,248,250,.82) 34%, rgba(247,248,250,.35) 52%, rgba(247,248,250,0) 66%),
    linear-gradient(0deg, rgba(247,248,250,.5), rgba(247,248,250,0) 30%);
}
.hero__inner { min-height: min(78vh, 720px); display: flex; align-items: center; padding-block: clamp(48px, 8vw, 90px); }
.hero__content { max-width: 920px; }
.hero__title { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.03em; max-width: 900px; }
.hero__title .accent { color: var(--red); }
.hero__lead { margin: 26px 0 34px; font-size: clamp(15.5px, 1.7vw, 18px); line-height: 1.6; color: #515862; max-width: 480px; }
.hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.hero__facts { display: flex; gap: 38px; margin-top: clamp(40px, 7vw, 70px); flex-wrap: wrap; }
.hero__facts li { display: flex; align-items: center; gap: 13px; }
.hero__facts-ic { width: 44px; height: 44px; border-radius: 13px; background: rgba(227,6,19,.10); display: grid; place-items: center; color: var(--ic-line); flex: none; backdrop-filter: blur(2px); }
.hero__facts-ic .ic { width: 22px; height: 22px; }
.hero__facts strong { display: block; font-family: var(--ff-head); font-weight: 700; color: var(--ink); font-size: 15px; }
.hero__facts span { font-size: 13px; color: var(--muted); }
.hero__facts li > div { display: flex; flex-direction: column; align-items: flex-start; }

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

/* =========================================================
   DIRECTIONS (Блок 3)
   ========================================================= */
.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.dir-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; position: relative; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  box-shadow: var(--shadow-sm);
}
.dir-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.dir-card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--red); }
.dir-card__media { position: relative; height: 210px; overflow: hidden; }
.dir-card__img { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; transition: transform .7s var(--ease); }
.dir-card:hover .dir-card__img { transform: scale(1.06); }
.dir-card__img--1 { background-image: url("../images/private_client.webp"); }
.dir-card__img--2 { background-image: url("../images/corporate_client.webp"); }
.dir-card__img--3 { background-image: url("../images/online_courses.webp"); }
.dir-card__body { padding: 30px 28px 32px; position: relative; flex: 1; display: flex; flex-direction: column; }
.dir-card__icon {
  position: absolute; top: -30px; left: 28px;
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--red); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-red);
  --ic-accent: #fff; --ic-fill: rgba(255,255,255,.22);
  transition: transform .35s var(--ease);
}
.dir-card:hover .dir-card__icon { transform: translateY(-4px) rotate(-3deg); }
.dir-card__icon .ic { width: 26px; height: 26px; }
.dir-card__title { font-size: 22px; margin: 20px 0 12px; }
.dir-card__text { color: var(--muted); margin-bottom: 22px; }
.dir-card .ticks { margin-bottom: 26px; }
.dir-card .link-arrow { margin-top: auto; }
.dir-card .link-arrow::after { content: ""; position: absolute; inset: 0; z-index: 3; }

/* =========================================================
   FINDER (Блок 4)
   ========================================================= */
.finder { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow); }
.finder .section-title { font-size: clamp(26px, 3.6vw, 40px); }
.finder__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 34px 0 30px; }
.finder__tab {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--r);
  font-family: var(--ff-head); font-weight: 700; font-size: 14.5px; color: var(--ink);
  background: var(--bg); position: relative; transition: .25s var(--ease);
}
.finder__tab .ic { width: 20px; height: 20px; color: var(--ic-line); transition: color .25s; flex: none; }
.finder__tab:hover { border-color: #D5D8DF; transform: translateY(-2px); }
.finder__tab.is-active { border-color: var(--red); background: var(--red-soft-2); color: var(--red); box-shadow: 0 10px 24px -14px rgba(227,6,19,.5); }
.finder__tab.is-active .ic { color: var(--red); }
.finder__tab.is-active::after {
  content: ""; position: absolute; top: 14px; right: 14px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E"); background-size: 11px; background-position: center; background-repeat: no-repeat;
}
.finder__panel { display: grid; grid-template-columns: 1fr 300px; gap: 26px; align-items: stretch; }
.finder__panel-title { font-size: 18px; margin-bottom: 18px; }
.finder__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.finder__cards.is-fading { opacity: 0; transform: translateY(6px); }
.finder__cards { transition: opacity .25s var(--ease), transform .25s var(--ease); }

.mini-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini-card__img { height: 130px; background-image: url("../images/herobg.webp"); background-size: 260%; }
.mini-card__img--1 { background-position: 55% 55%; }
.mini-card__img--2 { background-position: 80% 50%; }
.mini-card__img--3 { background-position: 35% 65%; }
.mini-card__img--4 { background-position: 90% 65%; filter: saturate(.9); }
.mini-card__body { padding: 18px 18px 20px; }
.mini-card__body h4 { font-size: 16.5px; margin-bottom: 8px; }
.mini-card__body p { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }

.finder__aside { background: var(--bg-soft); border-radius: var(--r-lg); padding: 30px 26px; display: flex; flex-direction: column; align-items: flex-start; position: relative; overflow: hidden; }
.finder__aside::before { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 18px solid rgba(227,6,19,.06); }
.finder__aside-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ic-line); margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.finder__aside-icon .ic { width: 28px; height: 28px; }
.finder__aside h3 { font-size: 20px; margin-bottom: 12px; }
.finder__aside p { font-size: 14.5px; color: var(--muted); margin-bottom: 24px; }
.finder__aside .btn { margin-top: auto; }

/* =========================================================
   MASTERY (Блок 5)
   ========================================================= */
.mastery { position: relative; }
.mastery__row { position: relative; }

/* Timeline connector line — behind the markers, not entering the cards */
.mastery__track {
  position: absolute; top: 50px; left: 12.5%; right: 12.5%; height: 2px; z-index: 0; border-radius: 2px;
  background: rgba(15, 23, 42, 0.10);
}
.mastery__track::after {
  content: ""; position: absolute; inset: 0; border-radius: 2px;
  background: linear-gradient(90deg, rgba(239, 0, 20, 0.25), rgba(239, 0, 20, 0.9), rgba(239, 0, 20, 0.25));
}
.mastery__dot {
  position: absolute; top: 50px; z-index: 0; transform: translate(-50%, -50%);
  width: 25px; height: 25px; border-radius: 50%;
  background: #ef0014; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(239, 0, 20, 0.18);
}
.mastery__dot:nth-of-type(1) { left: 25%; }
.mastery__dot:nth-of-type(2) { left: 50%; }
.mastery__dot:nth-of-type(3) { left: 75%; }

.mastery__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.mastery__step { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Premium step-marker card */
.mastery__marker {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: fit-content; min-width: 92px; min-height: 100px; margin: 0 auto 20px; padding: 16px 22px;
  background: #fff; border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 24px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  position: relative; z-index: 1;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.mastery__step:hover .mastery__marker { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12); }
.mastery__num { font-family: var(--ff-head); font-weight: 800; font-size: 13px; letter-spacing: .08em; color: var(--red); }
.mastery__icon { display: grid; place-items: center; color: var(--ink); --ic-accent: var(--ink); --ic-fill: transparent; }
.mastery__icon .ic { width: 26px; height: 26px; stroke-width: 1.9; }

.mastery__step h3 { font-size: 17px; line-height: 1.25; margin: 0 auto 8px; max-width: 230px; min-height: 2.5em; display: flex; align-items: flex-end; justify-content: center; }
.mastery__step p { font-size: 14px; color: var(--muted); max-width: 230px; margin: 0 auto; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.mastery__diagrams { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.mastery__diagram { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); overflow: hidden; box-shadow: var(--shadow-sm); }
.mastery__diagram img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.mastery__diagram:hover img { transform: scale(1.04); }
.mastery__diagram svg { width: 100%; height: auto; padding: 16px; }
.dg-line { stroke: var(--line); stroke-width: 1; }
.dg-soft { fill: none; stroke: rgba(227,6,19,.18); stroke-width: 1.4; stroke-dasharray: 3 4; }
.dg-car { fill: #fff; stroke: var(--ink); stroke-width: 1.6; }
.dg-car2 { fill: var(--red-soft); stroke: var(--red); stroke-width: 1.6; }
.dg-glass { fill: var(--red-soft); stroke: var(--red); stroke-width: 1; }
.dg-t { font-family: var(--ff); font-size: 9px; fill: var(--muted); text-anchor: middle; font-weight: 600; }
.dg-dash { fill: none; stroke: var(--red); stroke-width: 1.6; stroke-dasharray: 4 4; }
.dg-dashv { fill: none; stroke: #fff; stroke-width: 1.4; stroke-dasharray: 6 6; }
.dg-x { stroke: var(--red); stroke-width: 1.8; }
.dg-ok { fill: none; stroke: var(--red); stroke-width: 2; }
.dg-cone { fill: var(--red); }
.dg-road { fill: var(--bg-soft); }
.dg-arrow { fill: none; stroke: var(--red); stroke-width: 1.8; }

/* approach band — premium info-card + clean benefits row */
.approach {
  margin-top: clamp(40px, 5vw, 56px); background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  padding: clamp(24px, 3vw, 34px);
  display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(22px, 3vw, 40px); align-items: center;
}
.approach__lead { display: flex; gap: 16px; align-items: flex-start; }
.approach__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ic-line); flex: none; box-shadow: var(--shadow-sm); }
.approach__icon .ic { width: 26px; height: 26px; }
.approach__lead-text h3 { font-size: 19px; margin-bottom: 8px; }
.approach__lead-text p { font-size: 14px; color: var(--muted); }
.approach__items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.approach__item { position: relative; text-align: center; padding: 6px 16px; font-family: var(--ff-head); font-weight: 700; font-size: 13.5px; line-height: 1.3; color: var(--ink); }
.approach__item + .approach__item::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 66px; background: var(--line); }
.approach__ic { width: 48px; height: 48px; border-radius: 13px; background: var(--ic-pad-bg); display: grid; place-items: center; color: var(--ic-line); margin: 0 auto 12px; }
.approach__ic .ic { width: 23px; height: 23px; }

/* =========================================================
   PROGRAMS (Блок 6)
   ========================================================= */
.prog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prog-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.prog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prog-card__media { height: 168px; position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; overflow: hidden; }
.prog-card__media--1 { background-image: url("../images/the_first_kilometers.webp"); }
.prog-card__media--2 { background-image: url("../images/parking_and_maneuvering.webp"); }
.prog-card__media--3 { background-image: url("../images/express_course.webp"); }
.prog-card__media--4 { background-image: url("../images/difficult_road_conditions.webp"); }
.prog-card__tag { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 7px; background: var(--red); color: #fff; font-family: var(--ff-head); font-weight: 700; font-size: 12.5px; padding: 8px 13px; border-radius: 100px; box-shadow: var(--shadow-red); }
.prog-card__tag .ic { width: 15px; height: 15px; }
.prog-card__body { padding: 24px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.prog-card__body h3 { font-size: 19px; margin-bottom: 10px; }
.prog-card__body > p { font-size: 14px; color: var(--muted); margin-bottom: 20px; min-height: 40px; }
.prog-card__feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 18px 0; border-top: 1px solid var(--line-2); margin-bottom: 18px; }
.prog-card__feats li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.32; }
.prog-card__feats .ic { width: 26px; height: 26px; color: var(--ic-line); }
.prog-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.prog-banner { margin-top: 34px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 32px; display: grid; grid-template-columns: 1.4fr auto auto; gap: 32px; align-items: center; box-shadow: var(--shadow-sm); }
.prog-banner__left { display: flex; gap: 18px; align-items: flex-start; }
.prog-banner__icon { width: 54px; height: 54px; border-radius: 16px; background: var(--ic-pad-bg); color: var(--ic-line); display: grid; place-items: center; flex: none; }
.prog-banner__icon .ic { width: 26px; height: 26px; }
.prog-banner__left h3 { font-size: 19px; margin-bottom: 6px; }
.prog-banner__left p { font-size: 14px; color: var(--muted); max-width: 420px; }
.prog-banner__stats { display: flex; gap: 28px; }
.stat-mini { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 110px; }
.stat-mini__ic { width: 44px; height: 44px; border-radius: 13px; background: var(--ic-pad-bg); color: var(--ic-line); display: grid; place-items: center; margin-bottom: 10px; }
.stat-mini__ic .ic { width: 22px; height: 22px; }
.stat-mini b { font-family: var(--ff-head); font-size: 20px; color: var(--ink); }
.stat-mini small { font-size: 11px; color: var(--muted); line-height: 1.3; }

/* =========================================================
   FEATURE GRID (Блок 7 / 10)
   ========================================================= */
.feat-grid { display: grid; gap: 22px; }
.feat-grid--6 { grid-template-columns: repeat(6, 1fr); }
.feat-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 22px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.feat-card__icon { width: 58px; height: 58px; border-radius: 16px; margin: 0 auto 20px; display: grid; place-items: center; color: var(--ic-line); background: var(--ic-pad-bg); transition: background .3s, transform .3s var(--ease); }
.feat-card__icon .ic { width: 28px; height: 28px; }
.feat-card:hover .feat-card__icon { background: rgba(227,6,19,.14); transform: translateY(-1px); }
.feat-card__icon--sm { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 0; }
.feat-card h3 { font-size: 16px; margin-bottom: 10px; }
.feat-card p { font-size: 13px; color: var(--muted); }

/* stats band */
.stats-band { margin-top: 30px; background: var(--bg-soft); border-radius: var(--r-lg); padding: 30px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 0 8px; position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 12%; height: 76%; width: 1px; background: var(--line); }
.stat__ic { width: 52px; height: 52px; border-radius: 15px; background: var(--bg); display: grid; place-items: center; color: var(--ic-line); margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.stat__ic .ic { width: 25px; height: 25px; }
.stat b { font-family: var(--ff-head); font-size: clamp(20px, 2.4vw, 26px); color: var(--red); }
.stat small { font-size: 12px; color: var(--muted); line-height: 1.35; max-width: 150px; }

/* =========================================================
   CTA DARK (with form)
   ========================================================= */
.cta-dark { position: relative; margin-top: 30px; border-radius: var(--r-xl); overflow: hidden; background: var(--dark); color: #fff; display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; padding: clamp(34px, 5vw, 56px); isolation: isolate; }
.section--lead { padding-top: 0; }
.section:has(+ .section--lead) { padding-bottom: 0; }
.cta-dark__bg { position: absolute; inset: 0; z-index: -1; background: url("../images/herobg.webp") center right/cover no-repeat; opacity: .5; }
.cta-dark[style] .cta-dark__bg { background-image: var(--cta-bg); }
.cta-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--dark) 0%, rgba(21,23,30,.95) 38%, rgba(21,23,30,.55) 70%, rgba(21,23,30,.3) 100%); }
.cta-dark__content { align-self: center; }
.cta-dark__content h2 { color: #fff; font-size: clamp(24px, 3.2vw, 36px); margin-bottom: 16px; }
.cta-dark__content > p { color: var(--dark-text); max-width: 440px; margin-bottom: 28px; }
.cta-dark__perks { display: flex; flex-direction: column; gap: 16px; }
.cta-dark__perks li { display: flex; gap: 14px; align-items: center; }
.cta-dark__pic { width: 46px; height: 46px; border-radius: 13px; background: rgba(227,6,19,.16); color: #fff; display: grid; place-items: center; flex: none; border: 1px solid rgba(255,80,90,.28); --ic-accent: #ff5762; --ic-fill: rgba(255,80,90,.22); }
.cta-dark__pic .ic { width: 23px; height: 23px; }
.cta-dark__perks b { display: block; color: #fff; font-family: var(--ff-head); font-size: 15px; }
.cta-dark__perks span { font-size: 13px; color: var(--dark-text); }
.cta-dark--alt { grid-template-columns: 1fr 1fr; }
.cta-dark__bg--alt { opacity: .42; background-position: center left; }
.cta-dark--alt::before { background: linear-gradient(80deg, rgba(21,23,30,.4) 0%, rgba(21,23,30,.7) 45%, var(--dark) 80%); }
.cta-dark__perks--alt { justify-content: center; height: 100%; }

/* lead form */
.lead-form { background: var(--bg); border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--shadow-lg); }
.lead-form h3 { font-size: 22px; margin-bottom: 6px; }
.lead-form__sub { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.lead-form > h3 + .field { margin-top: 18px; }
.field { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 16px; margin-bottom: 14px; min-height: 52px; transition: border-color .2s, box-shadow .2s; position: relative; background: var(--bg); }
.field:hover { border-color: #D3D6DD; }
.field:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227,6,19,.10); }
.field .ic { color: var(--ic-line); width: 20px; height: 20px; }
.field input, .field select { flex: 1; min-width: 0; border: none; background: transparent; outline: none; padding: 15px 0; font-size: 15px; }
.field input::placeholder { color: #969CA6; opacity: 1; }
.field select { appearance: none; cursor: pointer; color: var(--ink); }
.field--select .field__chev { position: absolute; right: 14px; pointer-events: none; color: var(--muted); }
.lead-form .btn { margin-top: 4px; }
.lead-form__note { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 14px; }
.lead-form__note .ic { width: 16px; height: 16px; }

/* =========================================================
   AUTODROM
   ========================================================= */
#autodrom { position: relative; overflow: hidden; }
#autodrom .container { position: relative; z-index: 1; }
.autodrom { display: grid; grid-template-columns: minmax(0, .92fr) minmax(520px, 1.18fr); gap: clamp(40px, 6vw, 74px); align-items: center; }
.autodrom__text, .autodrom__text .section-title, .autodrom__text .section-sub, .autodrom__why, .autodrom__why li, .autodrom__info li { text-align: left; }
.autodrom__text .section-title { font-size: clamp(28px, 3.9vw, 46px); text-wrap: balance; }
.autodrom__text .section-sub { max-width: 590px; }
.autodrom__why { margin-top: 40px; position: relative; overflow: hidden; background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(248,249,251,.94)); border: 1px solid rgba(255,255,255,.88); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 24px 60px -38px rgba(20,22,28,.32), inset 0 1px 0 rgba(255,255,255,.9); }
.autodrom__why::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 4px; border-radius: 999px; background: linear-gradient(180deg, var(--red), rgba(227,6,19,.22)); }
.autodrom__why h3 { font-size: 18px; margin-bottom: 20px; }
.autodrom__why ul { display: flex; flex-direction: column; gap: 18px; }
.autodrom__why li, .autodrom__info li { display: flex; gap: 14px; align-items: flex-start; }
.autodrom__why li { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.72); }
.autodrom__ic { width: 46px; height: 46px; border-radius: 13px; background: var(--ic-pad-bg); color: var(--ic-line); display: grid; place-items: center; flex: none; }
.autodrom__ic .ic { width: 23px; height: 23px; }
.autodrom__why b, .autodrom__info b { display: block; font-family: var(--ff-head); font-size: 15px; color: var(--ink); margin-bottom: 3px; }
.autodrom__why span, .autodrom__info span { font-size: 13.5px; color: var(--muted); }

.autodrom__visual { position: sticky; top: 96px; align-self: start; border-radius: calc(var(--r-xl) + 10px); padding: 8px; background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(232,235,240,.88)); border: 1px solid rgba(255,255,255,.86); box-shadow: 0 42px 90px -58px rgba(20,22,28,.62), inset 0 1px 0 rgba(255,255,255,.95); }
.autodrom__img { position: relative; height: clamp(350px, 42vw, 520px); border-radius: var(--r-xl); overflow: hidden; background: url("../images/autodrom-training-ground.webp") center/cover; box-shadow: inset 0 0 0 1px rgba(255,255,255,.34), 0 18px 38px -28px rgba(20,22,28,.7); }
.autodrom__img:has(> .autodrom__video) { height: auto; aspect-ratio: 16 / 9; }
.autodrom__img::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(7,10,16,.20) 0%, rgba(7,10,16,.04) 40%, rgba(7,10,16,.16) 100%); }
.autodrom__img::after { content: ""; position: absolute; inset: auto 0 0; z-index: 1; height: 46%; pointer-events: none; background: linear-gradient(180deg, rgba(7,10,16,0), rgba(7,10,16,.72)); }
.autodrom__video { display: block; width: 100%; height: 100%; object-fit: cover; background: #0c0e13; }
.autodrom__info { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 18px 18px 0; background: rgba(20,22,28,.96); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 22px; box-shadow: 0 26px 56px -32px rgba(7,10,16,.8); }
.autodrom__info li { min-width: 0; }
.autodrom__info .autodrom__ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.10); --ic-accent: #ff5762; --ic-fill: rgba(255,87,98,.16); }
.autodrom__info b { color: #fff; }
.autodrom__info span { color: #C7CCD4; }

/* =========================================================
   FAQ (Блок 8)
   ========================================================= */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.faq-col { display: flex; flex-direction: column; gap: 16px; }
.faq { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .25s, box-shadow .25s, background .25s; }
.faq:hover { border-color: #D7DAE1; }
.faq[open] { border-color: rgba(227,6,19,.32); box-shadow: var(--shadow); background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; border-radius: var(--r); }
.faq__q { display: flex; align-items: center; gap: 14px; flex: 1; font-family: var(--ff-head); font-weight: 700; font-size: 16px; color: var(--ink); }
.faq__qic { width: 40px; height: 40px; border-radius: 12px; background: var(--ic-pad-bg); color: var(--ic-line); display: grid; place-items: center; flex: none; transition: background .25s, color .25s; }
.faq[open] .faq__qic { background: var(--red); color: #fff; --ic-accent: #fff; }
.faq__qic .ic { width: 21px; height: 21px; }
.faq__toggle { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--bg-soft); color: var(--ink); transition: background .25s, color .25s; }
.faq__toggle .ic { width: 20px; height: 20px; grid-area: 1 / 1; transition: opacity .2s, transform .25s var(--ease); }
.faq__minus { opacity: 0; transform: scale(.6); }
.faq summary:hover .faq__toggle { background: var(--red-soft); color: var(--red); }
.faq[open] .faq__toggle { background: var(--red); color: #fff; }
.faq[open] .faq__plus { opacity: 0; transform: scale(.6); }
.faq[open] .faq__minus { opacity: 1; transform: none; }
.faq__a { padding: 2px 24px 24px 76px; color: var(--text); font-size: 14.5px; line-height: 1.65; animation: faqIn .3s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; } }

.faq-cta { margin-top: 34px; background: var(--bg-soft); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.faq-cta__main h3 { font-size: clamp(20px, 2.6vw, 28px); margin-bottom: 14px; max-width: 460px; }
.faq-cta__main p { color: var(--muted); margin-bottom: 24px; max-width: 420px; }
.faq-cta__feats { display: flex; gap: 36px; }
.faq-cta__feats li { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 150px; }
.faq-cta__feats .feat-card__icon { margin-bottom: 12px; }
.faq-cta__feats b { font-family: var(--ff-head); font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.faq-cta__feats small { font-size: 12px; color: var(--muted); }

/* =========================================================
   HOW TO START (Блок 9)
   ========================================================= */
.start-section__head { max-width: 780px; margin: 0 0 44px; text-align: left; }
.start-section__head .section-title { text-wrap: balance; }
.start-section__head .section-sub { max-width: 560px; margin-inline: 0; }
.start-section__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 440px); gap: clamp(30px, 4vw, 48px); align-items: start; }

.start-route { --route-pad: 28px; --route-num: 56px; --route-gap: 16px; --route-marker: 46px; --route-marker-half: 23px; position: relative; display: flex; flex-direction: column; gap: 0; background: rgba(255,255,255,.86); border: 1px solid rgba(15,23,42,.08); border-radius: 30px; padding: 30px var(--route-pad); box-shadow: 0 28px 70px -52px rgba(20,22,28,.28), inset 0 1px 0 rgba(255,255,255,.92); }
.start-route::before { content: ""; position: absolute; left: calc(var(--route-pad) + var(--route-num) + var(--route-gap) + var(--route-marker-half)); top: 54px; bottom: 54px; width: 1px; background: linear-gradient(180deg, rgba(227,6,19,.18), rgba(15,23,42,.10) 50%, rgba(227,6,19,.28)); }
.start-route__item { position: relative; display: grid; grid-template-columns: var(--route-num) var(--route-marker) minmax(0, 1fr); gap: var(--route-gap); align-items: start; padding: 0 0 26px; }
.start-route__item:last-child { padding-bottom: 0; }
.start-route__num { position: relative; z-index: 2; display: inline-grid; place-items: center; align-self: start; width: 46px; height: 28px; margin-top: 9px; border-radius: 999px; background: #fff; border: 1px solid rgba(227,6,19,.18); color: var(--red); font-family: var(--ff-head); font-weight: 800; font-size: 12px; line-height: 1; letter-spacing: .03em; font-variant-numeric: tabular-nums; box-shadow: 0 12px 26px -20px rgba(227,6,19,.52); white-space: nowrap; }
.start-route__marker { position: relative; z-index: 2; width: var(--route-marker); height: var(--route-marker); border-radius: 16px; background: #fff; border: 1px solid rgba(15,23,42,.08); color: var(--ink); display: grid; place-items: center; box-shadow: 0 14px 34px -28px rgba(20,22,28,.38); --ic-fill: rgba(227,6,19,.08); }
.start-route__marker .ic { width: 23px; height: 23px; }
.start-route__content { min-width: 0; padding: 2px 0 24px; border-bottom: 1px solid rgba(15,23,42,.08); }
.start-route__item:last-child .start-route__content { border-bottom: 0; padding-bottom: 2px; }
.start-route__content h3 { font-size: 18px; line-height: 1.2; margin-bottom: 7px; text-wrap: balance; }
.start-route__content p { max-width: 560px; color: var(--muted); font-size: 14px; line-height: 1.55; margin-bottom: 12px; }
.start-route__time { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 7px 12px; border-radius: 999px; background: #F6F7F9; color: #606774; font-size: 12px; font-weight: 700; white-space: nowrap; }
.start-route__time .ic { width: 14px; height: 14px; color: var(--red); }
.start-route__item--final .start-route__num, .start-route__item--final .start-route__marker { background: var(--red); border-color: var(--red); color: #fff; --ic-accent: #fff; --ic-fill: rgba(255,255,255,.20); }
.start-route__item--final .start-route__content { margin-top: -8px; padding: 18px 20px; background: rgba(227,6,19,.055); border: 1px solid rgba(239,0,0,.18); border-radius: 20px; }
.start-route__time--accent { background: #fff; color: var(--red); }

.start-cta { position: sticky; top: 96px; min-height: 640px; border-radius: 32px; overflow: hidden; isolation: isolate; background: var(--dark); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 36px 86px -52px rgba(20,22,28,.64); display: flex; align-items: flex-end; }
.start-cta__bg { position: absolute; inset: 0; z-index: -2; background: url("../images/herobg.webp") center right/cover no-repeat; transform: scale(1.02); }
.start-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,14,19,.18) 0%, rgba(12,14,19,.58) 42%, rgba(12,14,19,.94) 100%), linear-gradient(90deg, rgba(12,14,19,.88), rgba(12,14,19,.20)); }
.start-cta__content { width: 100%; padding: clamp(28px, 4vw, 40px); color: #fff; }
.start-cta__label { display: inline-flex; align-items: center; min-height: 28px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); color: #E7EAF0; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.start-cta h3 { color: #fff; font-size: clamp(26px, 3vw, 34px); line-height: 1.08; max-width: 360px; margin-bottom: 14px; text-wrap: balance; }
.start-cta p { max-width: 390px; color: #D4D8E0; font-size: 14.5px; line-height: 1.62; margin-bottom: 22px; }
.start-cta__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.start-cta__list li { display: flex; align-items: center; gap: 10px; color: #F2F4F7; font-size: 14px; font-weight: 700; }
.start-cta__list .ic { width: 20px; height: 20px; color: var(--red); --ic-fill: var(--red); --ic-accent: #fff; flex: none; }
.start-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.start-proof { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin-top: 34px; background: rgba(255,255,255,.82); border: 1px solid rgba(15,23,42,.08); border-radius: 26px; overflow: hidden; box-shadow: 0 24px 60px -48px rgba(20,22,28,.24), inset 0 1px 0 rgba(255,255,255,.92); }
.start-proof__item { display: flex; gap: 12px; align-items: flex-start; min-width: 0; padding: 20px 18px; }
.start-proof__item + .start-proof__item { border-left: 1px solid rgba(15,23,42,.07); }
.start-proof__icon { width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center; color: var(--ink); background: rgba(227,6,19,.07); --ic-fill: rgba(227,6,19,.08); }
.start-proof__icon .ic { width: 20px; height: 20px; }
.start-proof__item h3 { font-size: 13.5px; line-height: 1.25; margin-bottom: 5px; }
.start-proof__item p { color: var(--muted); font-size: 12px; line-height: 1.42; }

/* =========================================================
   RESULTS (Блок 10) — quote band
   ========================================================= */
.quote-band { margin-top: 30px; background: var(--red-soft-2); border-radius: var(--r-lg); padding: clamp(30px, 4vw, 44px); display: grid; grid-template-columns: 1.1fr 1.5fr; gap: 40px; align-items: center; }
.quote-band__quote { position: relative; padding-left: 70px; }
.quote-band__mark { position: absolute; left: 0; top: -6px; width: 50px; height: 50px; --ic-accent: var(--red); }
.quote-band__quote p { font-family: var(--ff-head); font-weight: 800; font-size: clamp(20px, 2.4vw, 27px); color: var(--ink); line-height: 1.25; letter-spacing: -.02em; }
.quote-band__quote span { display: block; margin-top: 16px; color: var(--red); font-weight: 700; font-size: 14px; }
.quote-band__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.qstat { text-align: center; }
.qstat__ic { width: 54px; height: 54px; border-radius: 16px; background: #fff; color: var(--ic-line); display: grid; place-items: center; margin: 0 auto 12px; box-shadow: var(--shadow-sm); }
.qstat__ic .ic { width: 26px; height: 26px; }
.qstat b { display: block; font-family: var(--ff-head); font-size: clamp(22px, 2.6vw, 30px); color: var(--red); }
.qstat small { font-size: 11.5px; color: var(--muted); line-height: 1.3; display: block; max-width: 130px; margin: 4px auto 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--dark); color: var(--dark-text); padding-top: clamp(48px, 6vw, 76px); }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.8fr) minmax(280px, 1fr); gap: 36px; padding-bottom: 50px; }
.footer__desc { font-size: 14px; margin: 20px 0 26px; max-width: 320px; line-height: 1.6; }
.footer__usp { display: flex; flex-direction: column; gap: 18px; }
.footer__usp li { display: flex; gap: 14px; align-items: flex-start; }
.footer__usp-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(227,6,19,.16); color: #fff; display: grid; place-items: center; flex: none; --ic-accent: #ff5762; --ic-fill: rgba(255,80,90,.22); }
.footer__usp-ic .ic { width: 22px; height: 22px; }
.footer__usp b { display: block; color: #fff; font-family: var(--ff-head); font-size: 14px; margin-bottom: 3px; }
.footer__usp span { font-size: 12.5px; color: var(--dark-text); }

.footer__col h4, .footer__contact h4 { color: #fff; font-size: 17px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer__col h4::after, .footer__contact h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--red); }
.footer__col { display: flex; flex-direction: column; gap: 13px; }
.footer__menu { display: flex; flex-direction: column; gap: 13px; }
.footer__menu > li { margin: 0; padding: 0; }
.footer__col a { font-size: 14px; color: var(--dark-text); transition: color .2s, padding-left .2s; width: fit-content; }
.footer__col a:hover { color: #fff; padding-left: 5px; }

.footer__contact > p { font-size: 13.5px; margin-bottom: 18px; max-width: 280px; }
.footer__sub { display: flex; gap: 8px; margin-bottom: 24px; }
.footer__sub input { flex: 1; min-width: 0; background: rgba(255,255,255,.06); border: 1px solid var(--dark-line); border-radius: var(--r-sm); padding: 12px 14px; color: #fff; font-size: 14px; }
.footer__sub input::placeholder { color: #757b86; }
.footer__sub input:focus { outline: none; border-color: var(--red); }
.footer__sub .btn { padding: 12px 18px; }
.footer__contacts { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.footer__contacts li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.footer__contacts .ic { color: #D7DAE0; --ic-accent: #ff5762; width: 20px; height: 20px; margin-top: 2px; flex: none; }
.footer__contacts a:hover { color: #fff; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.06); border: 1px solid var(--dark-line); display: grid; place-items: center; color: #fff; transition: .25s var(--ease); }
.footer__social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.footer__social .ic { width: 20px; height: 20px; color: #fff; --ic-accent: #fff; --ic-fill: rgba(255,255,255,.16); }

.footer__bottom { border-top: 1px solid var(--dark-line); padding: 24px 0; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__bottom p { font-size: 12.5px; color: #757b86; line-height: 1.5; }
.footer__legal { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__legal a { font-size: 12.5px; color: var(--dark-text); }
.footer__legal a:hover { color: #fff; }
.footer__pay { display: flex; align-items: center; gap: 14px; opacity: .85; }
.pay { font-family: var(--ff-head); font-weight: 800; font-size: 14px; color: #fff; opacity: .9; }
.pay--visa { font-style: italic; letter-spacing: .04em; }
.pay--apple { font-weight: 600; }
.pay--mc { display: inline-flex; }
.pay--mc i { width: 16px; height: 16px; border-radius: 50%; display: inline-block; }
.pay--mc i:first-child { background: #EB001B; }
.pay--mc i:last-child { background: #F79E1B; margin-left: -7px; mix-blend-mode: screen; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal,
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1140px) {
  .hero__overlay { background: linear-gradient(100deg, rgba(247,248,250,.97), rgba(247,248,250,.88) 65%, rgba(247,248,250,.72)); }
  .nav { gap: 16px; }
  .nav__link { font-size: 13.5px; }
  .header__phone span { display: none; }
}
@media (max-width: 1024px) {
  .nav, .header__cta { display: none; }
  .header__actions { gap: 10px; }
  .header__messengers { gap: 4px; }
  .burger { display: block; }
  .header__inner { height: 68px; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px var(--gut) 22px;
    box-shadow: var(--shadow);
  }
  .nav.is-open .nav__link { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }

  .dir-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .finder__tabs { grid-template-columns: repeat(2, 1fr); }
  .finder__panel { grid-template-columns: 1fr; }
  .finder__cards { grid-template-columns: repeat(3, 1fr); }
  .mastery__steps, .mastery__diagrams { grid-template-columns: repeat(2, 1fr); }
  .mastery__track, .mastery__dot { display: none; }
  .approach { grid-template-columns: 1fr; gap: 28px; }
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-banner { grid-template-columns: 1fr; gap: 24px; }
  .prog-banner__stats { justify-content: space-between; }
  .feat-grid--6 { grid-template-columns: repeat(3, 1fr); }
  .stats-band { grid-template-columns: repeat(3, 1fr); gap: 26px 16px; }
  .stat:nth-child(3)::after { display: none; }
  .cta-dark, .cta-dark--alt { grid-template-columns: 1fr; gap: 30px; }
  .cta-dark::before { background: linear-gradient(180deg, rgba(21,23,30,.9), rgba(21,23,30,.96)); }
  .autodrom { grid-template-columns: 1fr; gap: 34px; }
  .autodrom__visual { position: relative; top: auto; width: 100%; max-width: 880px; margin-inline: auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-cta { grid-template-columns: 1fr; gap: 30px; }
  .faq-cta__feats { justify-content: flex-start; flex-wrap: wrap; }
  .start-section__grid { grid-template-columns: 1fr; }
  .start-cta { position: relative; top: auto; min-height: 540px; max-width: 760px; width: 100%; margin-inline: auto; }
  .start-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(15,23,42,.08); }
  .start-proof__item { background: rgba(255,255,255,.86); }
  .start-proof__item + .start-proof__item { border-left: 0; }
  .quote-band { grid-template-columns: 1fr; gap: 30px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand, .footer__contact { grid-column: span 2; }
  .footer__contact { order: 3; }
}
@media (max-width: 680px) {
  :root { --gut: 18px; }
  .hero__overlay { background: linear-gradient(180deg, rgba(247,248,250,.92), rgba(247,248,250,.7) 55%, rgba(247,248,250,.5)); }
  .hero__inner { min-height: auto; }
  .hero__facts { gap: 22px 28px; }
  .finder__tabs { grid-template-columns: 1fr; }
  .finder__cards { grid-template-columns: 1fr; }
  .mastery__diagrams { grid-template-columns: 1fr; }
  .mastery__steps { grid-template-columns: 1fr; gap: 0; }
  .mastery__track, .mastery__dot { display: none; }
  .mastery__step { flex-direction: row; align-items: flex-start; text-align: left; gap: 16px; padding: 14px 0; position: relative; }
  .mastery__step::before { content: ""; position: absolute; left: 27px; top: 0; bottom: 0; width: 2px; background: rgba(15, 23, 42, 0.10); z-index: 0; }
  .mastery__step:first-child::before { top: 42px; }
  .mastery__step:last-child::before { bottom: auto; height: 42px; }
  .mastery__marker { margin: 0; min-width: 0; width: 56px; min-height: 56px; padding: 10px 6px; border-radius: 16px; gap: 4px; }
  .mastery__num { font-size: 11px; }
  .mastery__icon .ic { width: 22px; height: 22px; }
  .mastery__body { flex: 1; padding-top: 2px; }
  .mastery__step h3 { min-height: 0; max-width: none; text-align: left; justify-content: flex-start; margin: 0 0 6px; }
  .mastery__step p { max-width: none; text-align: left; margin: 0; }
  .approach__items { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .approach__item + .approach__item::before { display: none; }
  .prog-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .feat-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-card { min-width: 0; overflow-wrap: anywhere; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat::after { display: none !important; }
  .prog-banner__stats { flex-wrap: wrap; gap: 18px; }
  .autodrom__why { margin-top: 30px; padding: 20px; }
  .autodrom__why li { padding: 12px; }
  .autodrom__visual { padding: 5px; border-radius: 24px; }
  .autodrom__img { height: clamp(300px, 72vw, 430px); border-radius: 20px; background-position: 58% center; }
  .autodrom__info { grid-template-columns: 1fr; }
  .autodrom__info { margin: 12px 10px 0; padding: 16px; border-radius: 18px; gap: 13px; }
  .autodrom__ic, .autodrom__info .autodrom__ic { width: 40px; height: 40px; border-radius: 12px; }
  .start-section__head { text-align: left; margin-bottom: 30px; }
  .start-section__head .section-sub { margin-inline: 0; }
  .start-route { --route-pad: 18px; --route-num: 44px; --route-gap: 12px; --route-marker: 40px; --route-marker-half: 20px; border-radius: 24px; padding: 22px var(--route-pad); }
  .start-route::before { top: 44px; bottom: 44px; }
  .start-route__item { padding-bottom: 24px; }
  .start-route__num { width: 42px; height: 26px; font-size: 11.5px; }
  .start-route__marker { border-radius: 13px; }
  .start-route__marker .ic { width: 21px; height: 21px; }
  .start-route__content h3 { font-size: 16.5px; }
  .start-route__content p { font-size: 13.5px; }
  .start-route__item--final .start-route__content { padding: 16px; border-radius: 17px; }
  .start-cta { min-height: 500px; border-radius: 26px; }
  .start-cta__actions { flex-direction: column; align-items: stretch; }
  .start-cta__actions .btn { width: 100%; justify-content: center; }
  .start-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-band__stats { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .quote-band__quote { padding-left: 0; padding-top: 50px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand, .footer__contact { grid-column: auto; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .btn--lg { padding: 15px 24px; }
  .hero__actions { width: 100%; flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .btn--link { justify-content: center; }
  .btn--link::after { display: none; }
}
@media (max-width: 420px) {
  .faq-cta__feats { gap: 20px; }
  .start-proof { grid-template-columns: 1fr; }
  .approach__items { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   LARGE SCREENS — wider container & more breathing room
   ========================================================= */

/* Full HD ~1440px+ */
@media (min-width: 1440px) {
  :root { --container: 1320px; --gut: 32px; }
  .section { padding: clamp(76px, 6vw, 110px) 0; }
  .section-head { max-width: 820px; }
}

/* Full HD 1920px */
@media (min-width: 1680px) {
  :root { --container: 1500px; --gut: 40px; }

  .dir-grid { gap: 34px; }
  .dir-card__media { height: 240px; }
  .dir-card__body { padding: 34px 32px 36px; }

  .finder { padding: 56px; }
  .finder__panel { grid-template-columns: 1fr 340px; gap: 34px; }
  .finder__cards { gap: 22px; }
  .mini-card__img { height: 150px; }

  .mastery__steps, .mastery__diagrams { gap: 32px; }
  .mastery__step h3, .mastery__step p { max-width: 250px; }
  .approach { gap: 56px; padding: 40px 52px; }

  .prog-grid { gap: 28px; }
  .prog-card__media { height: 188px; }
  .prog-card__body { padding: 28px 26px; }

  .feat-grid { gap: 28px; }
  .feat-card { padding: 34px 26px; }
  .stats-band { padding: 38px 44px; gap: 22px; }

  .cta-dark { gap: 56px; padding: 60px; }
  .autodrom { gap: 64px; }
  .autodrom__img { height: clamp(420px, 30vw, 560px); }

  .faq-grid { gap: 28px; }
  .faq summary { padding: 26px 28px; }
  .faq__a { padding: 0 28px 26px 78px; }

  .start-section__grid { gap: 56px; }
  .start-route { --route-pad: 34px; padding-block: 34px; }
  .start-cta { min-height: 680px; }
  .start-proof__item { padding: 22px 20px; }

  .quote-band { gap: 56px; }
  .footer__inner { gap: 48px; }
}

/* 2K / QHD 2560px (and ultrawide) */
@media (min-width: 2000px) {
  :root { --container: 1720px; --gut: 48px; }
  body { font-size: 17px; }

  .section { padding: clamp(96px, 6vw, 140px) 0; }
  .header__inner { height: 84px; }

  .dir-grid { gap: 40px; }
  .dir-card__media { height: 270px; }

  .finder { padding: 64px; }
  .finder__panel { grid-template-columns: 1fr 380px; gap: 40px; }

  .mastery__steps, .mastery__diagrams { gap: 40px; }
  .approach { gap: 64px; padding: 48px 60px; }

  .prog-grid { gap: 34px; }
  .prog-card__media { height: 210px; }
  .prog-card__feats li { font-size: 12.5px; }

  .feat-grid { gap: 34px; }
  .feat-card { padding: 40px 30px; }
  .feat-card h3 { font-size: 17px; }
  .feat-card p { font-size: 14px; }

  .stats-band { padding: 44px 56px; }
  .cta-dark { gap: 64px; padding: 72px; }
  .autodrom { gap: 80px; }

  .start-section__grid { grid-template-columns: minmax(0, 1fr) minmax(430px, 500px); gap: 70px; }
  .start-route { --route-pad: 40px; padding-block: 40px; }
  .start-route__content h3 { font-size: 19px; }
  .start-route__content p { font-size: 14.5px; }
  .start-cta { min-height: 740px; }

  .quote-band { gap: 64px; padding: 56px; }
  .footer__inner { gap: 60px; }
}
