/* PRIME DRIVE — главная, вариант 2 «Премиум» (23.10.2026). Правила сверены с живыми сайтами Genesis и Kia:
   настоящее кино/фото во весь экран, тонкие крупные заголовки (у Genesis — толщина 300), мелкие подписи
   прописными с разрядкой, почти прямоугольные кнопки (2–4 px) без свечения, монохром + один тонкий акцент,
   много воздуха, тонкие линии вместо карточек. Мультяшного 3D на сайте нет. */
@font-face { font-family: Inter; font-weight: 300; font-display: swap; src: url(fonts/Inter_300Light.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/Inter_400Regular.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(fonts/Inter_500Medium.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fonts/Inter_600SemiBold.woff2) format("woff2"); }
@font-face { font-family: Ion; font-display: block; src: url(fonts/Ionicons.woff2) format("woff2"); }

:root {
  --black: #0A0C0F; --ink: #111418; --graphite: #1A1E24; --white: #F6F5F2; --paper: #FFFFFF;
  --gray: #6B7078; --gray-2: #9A9EA5; --hair: #E3E2DE; --hair-dark: rgba(255, 255, 255, .16);
  --accent: #F2C230; --blue: #2A5FD0;
  --pad: clamp(20px, 5vw, 80px); --max: 1320px; --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; font-weight: 400; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.ion { font-family: Ion; font-style: normal; line-height: 1; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
section { position: relative; }
.section { padding: clamp(96px, 12vw, 180px) 0; }
.dark { background: var(--black); color: #fff; }

/* типографика: тонко и крупно; подписи — мелко, прописными, с разрядкой */
.label { font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gray); display: flex; align-items: center; gap: 14px; }
.label::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
.dark .label { color: rgba(255, 255, 255, .62); }
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -.025em; }
h1 { font-size: clamp(42px, 5.4vw, 80px); line-height: 1.04; }
h2 { font-size: clamp(34px, 3.9vw, 60px); line-height: 1.08; }
h3 { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.25; font-weight: 400; letter-spacing: -.01em; }
.lede { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.7; color: var(--gray); font-weight: 400; }
.dark .lede { color: rgba(255, 255, 255, .7); }

/* кнопки: прямоугольные, без свечения; текстовая ссылка со стрелкой — как «Discover More ›» */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 30px; border-radius: 3px; font-size: 14px; font-weight: 500; letter-spacing: .04em; white-space: nowrap; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn-solid { background: #fff; color: var(--black); }
.btn-solid:hover { background: var(--accent); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--graphite); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn .ion { font-size: 17px; }
.more { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; letter-spacing: .02em; border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: gap .3s var(--ease); }
.more:hover { gap: 16px; }
.more .ion { font-size: 14px; }

/* значки магазинов — сдержанно: тонкая рамка, без чёрных плашек */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 13px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.store .ion { font-size: 22px; }
.store small { display: block; font-size: 10px; letter-spacing: .06em; opacity: .65; }
.store b { display: block; font-size: 15px; font-weight: 500; margin-top: -1px; }

/* ===== шапка ===== */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 24px 0; color: #fff; transition: background .4s var(--ease), padding .4s var(--ease), color .4s var(--ease); }
.top.scrolled { background: rgba(10, 12, 15, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 12px 0; }
.top .bar { display: flex; align-items: center; gap: 36px; }
.top .logo img { height: 34px; width: auto; }
.top nav { display: flex; gap: 34px; margin-left: auto; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.top nav a { opacity: .82; transition: opacity .2s; }
.top nav a:hover { opacity: 1; }
.top .lang { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .14em; }
.top .lang a { opacity: .55; transition: opacity .2s; padding: 6px 0; }
.top .lang a:hover, .top .lang a[aria-current] { opacity: 1; }
.top .lang span { opacity: .35; }
.top .btn { height: 40px; padding: 0 20px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

/* ===== 1. первый экран: кадр во весь экран, текст внизу слева, мало слов ===== */
.hero { min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--black); }
.hero .bg { position: absolute; inset: 0; background: center 40% / cover no-repeat; transform: scale(1.06); animation: settle 9s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 12, 15, .88) 0%, rgba(10, 12, 15, .25) 46%, rgba(10, 12, 15, .35) 100%), linear-gradient(90deg, rgba(10, 12, 15, .55) 0%, rgba(10, 12, 15, 0) 60%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.hero h1 { margin: 22px 0 22px; max-width: 760px; }
.hero .lede { max-width: 520px; margin: 0 0 36px; color: rgba(255, 255, 255, .78); }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero aside { text-align: right; }
.hero aside .stores { justify-content: flex-end; }
.hero aside p { margin: 0 0 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }

/* ===== 2. цифры: тонкие и крупные, разделены волосяными линиями ===== */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); }
.fact { padding: 44px 32px 8px 0; border-right: 1px solid var(--hair); }
.fact + .fact { padding-left: 32px; }
.fact:last-child { border-right: 0; }
.fact b { display: block; font-size: clamp(48px, 5vw, 76px); font-weight: 300; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 14px; font-size: 14px; color: var(--gray); line-height: 1.55; max-width: 220px; }

/* ===== 3. как это работает: закреплённый телефон, шаги ===== */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 90px; }
.how .sticky { position: sticky; top: 13vh; height: 74vh; display: flex; align-items: center; justify-content: center; background: #ECEBE7; }
.phone { width: min(300px, 64%); aspect-ratio: 390 / 844; border-radius: 42px; padding: 10px; background: #0B0D10; box-shadow: 0 50px 90px rgba(10, 12, 15, .28); position: relative; }
.phone img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; object-position: top; border-radius: 33px; padding-top: 30px; background: #F1F5FB; opacity: 0; transition: opacity .7s var(--ease); }
.phone img.on { opacity: 1; }
.phone::after { content: ''; position: absolute; top: 18px; left: 50%; width: 32%; height: 24px; transform: translateX(-50%); border-radius: 20px; background: #0B0D10; }
.step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--hair); opacity: .3; transition: opacity .6s var(--ease); }
.step.on { opacity: 1; }
.step .n { font-size: 12px; letter-spacing: .22em; color: var(--gray); }
.step h3 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 300; letter-spacing: -.02em; margin: 18px 0 18px; }
.step p { margin: 0; font-size: 17px; line-height: 1.75; color: var(--gray); max-width: 460px; }

/* ===== 4. перекрёстки: ночной кадр сверху, тренажёр на чистой панели ===== */
.try { overflow: hidden; }
.try .bg { position: absolute; inset: 0; background: center / cover no-repeat; opacity: .38; }
.try::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--black) 0%, rgba(10, 12, 15, .4) 30%, rgba(10, 12, 15, .4) 70%, var(--black) 100%); }
.try .wrap { position: relative; z-index: 1; }
.try .head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.trainer { max-width: 780px; margin: 80px auto 0; background: #F4F7FB; border-radius: 4px; padding: clamp(8px, 1.6vw, 20px); box-shadow: 0 60px 120px rgba(0, 0, 0, .55); }
.trainer iframe { width: 100%; height: 900px; border: 0; display: block; }

/* ===== 5. кадр-пауза: фраза поверх дороги ===== */
.quote { min-height: 86svh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.quote .bg { position: absolute; inset: 0; background: center / cover no-repeat; }
.quote::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 12, 15, .82) 0%, rgba(10, 12, 15, .35) 60%, rgba(10, 12, 15, .2) 100%); }
.quote .wrap { position: relative; z-index: 1; width: 100%; }
.quote h2 { max-width: 820px; }
.quote p { margin-top: 26px; }

/* ===== 6. для автошколы: строки с линиями вместо карточек ===== */
.roles { margin-top: 70px; border-top: 1px solid var(--hair); }
.role { display: grid; grid-template-columns: 90px 1fr 1.4fr; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--hair); align-items: baseline; transition: padding .4s var(--ease); }
.role:hover { padding-left: 12px; }
.role .num { font-size: 12px; letter-spacing: .22em; color: var(--gray); }
.role h3 { font-weight: 400; }
.role p { margin: 0; color: var(--gray); font-size: 16px; line-height: 1.7; }
.gains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-top: 90px; }
.gain b { display: block; font-size: 22px; font-weight: 400; letter-spacing: -.01em; }
.gain span { display: block; color: var(--gray); margin-top: 12px; line-height: 1.7; }

/* ===== 7. подключение: степь у Каспия ===== */
.connect { overflow: hidden; color: #fff; }
.connect .bg { position: absolute; inset: 0; background: center 60% / cover no-repeat; }
.connect::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 12, 15, .92) 0%, rgba(10, 12, 15, .55) 50%, rgba(10, 12, 15, .35) 100%); }
.connect .wrap { position: relative; z-index: 1; }
.connect .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: end; margin-top: 80px; }
.connect ol { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.connect li { counter-increment: s; display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 26px 0; border-top: 1px solid var(--hair-dark); }
.connect li::before { content: counter(s, decimal-leading-zero); font-size: 12px; letter-spacing: .22em; color: rgba(255, 255, 255, .55); padding-top: 6px; }
.connect li b { display: block; font-size: 22px; font-weight: 400; }
.connect li span { display: block; color: rgba(255, 255, 255, .68); margin-top: 8px; line-height: 1.6; }
.connect .cta p { color: rgba(255, 255, 255, .72); line-height: 1.75; margin: 0 0 32px; font-size: 17px; }
.connect .cta .btns { display: flex; flex-wrap: wrap; gap: 12px; }
/* ===== 8. вопросы ===== */
.faq { max-width: 900px; margin: 70px auto 0; border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; padding: 30px 50px 30px 0; font-size: 20px; font-weight: 400; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '\f103'; font-family: Ion; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--gray); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 30px; color: var(--gray); line-height: 1.75; font-size: 16px; max-width: 760px; }
.faq a { border-bottom: 1px solid currentColor; }

/* ===== 9. подвал ===== */
.foot { padding: 90px 0 44px; }
.foot .row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot .logo img { height: 34px; }
.foot p { color: rgba(255, 255, 255, .55); max-width: 300px; line-height: 1.7; font-size: 14px; margin: 22px 0 26px; }
.foot h4 { margin: 0 0 18px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, .82); }
.foot ul a:hover { color: #fff; }
.foot .copy { margin-top: 70px; padding-top: 26px; border-top: 1px solid var(--hair-dark); display: flex; justify-content: space-between; color: rgba(255, 255, 255, .4); font-size: 12px; letter-spacing: .08em; }

/* ===== появление: медленно и мягко ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; } .reveal.d4 { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .bg { animation: none; transform: none; }
}

/* ===== узкие экраны ===== */
@media (max-width: 1000px) {
  .top nav, .top .btn-ghost { display: none; }
  .top .lang { margin-left: auto; }
  .top .bar { gap: 20px; }
  .top .logo img { height: 28px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero aside { text-align: left; }
  .hero aside .stores { justify-content: flex-start; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact, .fact + .fact { padding: 30px 16px 18px 0; border-right: 0; border-bottom: 1px solid var(--hair); }
  .fact:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--hair); }
  .intro, .try .head, .connect .grid { grid-template-columns: 1fr; gap: 26px; }
  .how { grid-template-columns: 1fr; gap: 0; margin-top: 50px; }
  .how .sticky { top: 64px; height: 54vh; z-index: 0; }
  .how .phone { width: 190px; }
  .steps { position: relative; z-index: 1; }
  .step { min-height: 66vh; justify-content: flex-end; padding-bottom: 6vh; border-top: 0; opacity: 0; }
  .step.on { opacity: 1; }
  .step > div { background: rgba(246, 245, 242, .96); padding: 26px 22px; border-top: 1px solid var(--accent); }
  .role { grid-template-columns: 1fr; gap: 10px; }
  .gains { grid-template-columns: 1fr; gap: 30px; }
  .foot .row { grid-template-columns: 1fr 1fr; }
  .trainer iframe { height: 980px; }
}
@media (max-width: 560px) {
  .foot .row { grid-template-columns: 1fr; }
  .foot .copy { flex-direction: column; gap: 8px; }
}
