/* ==========================================================================
   DENZA × Autozone — официальный дилер. Десктоп-версия.
   ========================================================================== */

@font-face {
  font-family: "Source Han Sans";
  src: url("../fonts/SourceHanSans-VF.woff2") format("woff2-variations"),
       url("../fonts/SourceHanSans-VF.woff2") format("woff2");
  font-weight: 250 900;
  font-display: swap;
}
@font-face { font-family: "URW Form Expand"; src: url("../fonts/URWFormExpand-ExtraLight.woff2") format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "URW Form Expand"; src: url("../fonts/URWFormExpand-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "URW Form Expand"; src: url("../fonts/URWFormExpand-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "URW Form Expand"; src: url("../fonts/URWFormExpand-Demi.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "URW Form Expand"; src: url("../fonts/URWFormExpand-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* Брендбук: Denza Blue / Dark Blue / Meteorite Grey / Starlight Silver / Glacier White */
  --blue: #053491;
  --blue-2: #0a46c2;
  --blue-light: #3d6fe0;
  --blue-deep: #021349;
  --ink: #05070d;
  --ink-2: #0a0e18;
  --ink-3: #111827;
  --grey: #565656;
  --silver: #dadbdb;
  --glacier: #f2f3f5;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(5, 7, 13, 0.12);
  --muted: rgba(255, 255, 255, 0.58);
  --muted-dark: rgba(5, 7, 13, 0.56);

  --f-lat: "URW Form Expand", "Source Han Sans", sans-serif;
  --f-text: "Source Han Sans", "Segoe UI", sans-serif;

  --pad: 4.2vw;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  min-width: 320px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-text);
  font-weight: 350;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: 0; outline: 0; }
button { cursor: pointer; }
::selection { background: var(--blue); color: #fff; }

.lat { font-family: var(--f-lat); }
.container { padding-left: var(--pad); padding-right: var(--pad); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Типографика ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-lat); font-size: 11px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow--dark { color: var(--muted-dark); }
.eyebrow--plain::before { display: none; }

.h-display {
  word-break: keep-all; overflow-wrap: normal; hyphens: none;
  font-family: var(--f-lat); font-weight: 500; text-transform: uppercase;
  font-size: clamp(64px, 8.4vw, 168px); line-height: 0.92; letter-spacing: -0.01em;
}
.h1 { font-weight: 300; font-size: clamp(44px, 4.4vw, 86px); line-height: 1.04; letter-spacing: -0.025em; }
.h2 { font-weight: 300; font-size: clamp(36px, 3.3vw, 64px); line-height: 1.08; letter-spacing: -0.02em; }
.h3 { font-weight: 400; font-size: clamp(22px, 1.6vw, 30px); line-height: 1.25; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.15vw, 21px); line-height: 1.65; color: var(--muted); font-weight: 300; }
.lead--dark { color: var(--muted-dark); }
.text-blue { color: var(--blue-light); }
.split-line { overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }

/* ---------- Кнопки ---------- */
.btn {
  --bg: var(--blue); --fg: #fff; --bg-h: #fff; --fg-h: var(--blue);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 30px; border-radius: 100px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-lat); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  transition: color 0.5s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--bg-h); transform: translateY(101%); transition: transform 0.55s var(--ease);
}
.btn:hover { color: var(--fg-h); }
.btn:hover::before { transform: translateY(0); }
.btn .btn__label { position: relative; display: block; overflow: hidden; }
.btn .btn__label span { display: block; transition: transform 0.55s var(--ease); }
.btn .btn__label span + span { position: absolute; left: 0; top: 100%; }
.btn:hover .btn__label span { transform: translateY(-100%); }
.btn svg { width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: #fff; --bg-h: #fff; --fg-h: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); }
.btn--white { --bg: #fff; --fg: var(--ink); --bg-h: var(--blue); --fg-h: #fff; }
.btn--dark { --bg: var(--ink); --fg: #fff; --bg-h: var(--blue); --fg-h: #fff; }
.btn--ghost-dark { --bg: transparent; --fg: var(--ink); --bg-h: var(--ink); --fg-h: #fff; box-shadow: inset 0 0 0 1px rgba(5,7,13,0.25); }
.btn--sm { height: 46px; padding: 0 24px; font-size: 11px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-lat); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.link-arrow i { position: relative; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; display: grid; place-items: center; overflow: hidden; transition: background 0.4s, color 0.4s; }
.link-arrow i svg { width: 14px; height: 14px; transition: transform 0.5s var(--ease); }
.link-arrow:hover i { background: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); color: #fff; }
.link-arrow:hover i svg { transform: translateX(3px) rotate(-45deg); }

/* ---------- Курсор ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 9998; pointer-events: none; mix-blend-mode: normal; }
.cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; mix-blend-mode: difference; }
.cursor__ring {
  position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background 0.45s, border-color 0.45s;
}
.cursor__label { font-family: var(--f-lat); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity 0.3s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: transparent; background: rgba(255,255,255,0.12); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; border-color: transparent; background: #fff; mix-blend-mode: normal; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-hidden { opacity: 0; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Зерно ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 9990; pointer-events: none; opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); }
}

/* ==========================================================================
   Прелоадер
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 9995; background: var(--ink);
  display: grid; place-items: center; overflow: hidden;
}
.preloader__glow {
  position: absolute; left: 50%; top: 50%; width: 70vw; height: 70vw; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(5,52,145,0.35) 0%, rgba(5,52,145,0) 60%);
  opacity: 0; pointer-events: none;
}
.preloader__center { position: relative; display: flex; flex-direction: column; align-items: center; }
.preloader__emblem { width: 168px; height: auto; overflow: visible; }
.preloader__emblem-wrap { position: relative; }
/* 3D-эмблема совпадает с SVG-диском: диаметр 80,25 из 86 единиц viewBox, центр — 84,25 из 86 по вертикали */
.pl-3d { position: absolute; left: 3.33%; top: 3.45%; width: 93.33%; height: 93.33%; pointer-events: none; }
.pl-3d img { width: 100%; height: 100%; display: block; }
.pl-3d__shine {
  position: absolute; inset: 0; mix-blend-mode: screen;
  background: linear-gradient(105deg, rgba(255,255,255,0) 38%, rgba(255,255,255,0.75) 50%, rgba(255,255,255,0) 62%) no-repeat;
  background-size: 260% 100%; background-position: 160% 0;
  -webkit-mask: url("../img/logo3d-emblem.webp") center / contain no-repeat; mask: url("../img/logo3d-emblem.webp") center / contain no-repeat;
}
/* надпись из 3D-логотипа: ширина 1,52 диаметра эмблемы, отступ как в оригинале */
.preloader__word { width: 238px; margin-top: 23px; overflow: hidden; }
.preloader__word img, .preloader__word svg { width: 100%; height: auto; display: block; }
.preloader__tag {
  margin-top: 26px; font-family: var(--f-lat); font-size: 11px; font-weight: 500;
  letter-spacing: 0.5em; text-transform: uppercase; color: rgba(255,255,255,0.7); white-space: nowrap;
  visibility: hidden;
}
.preloader.is-ready .preloader__tag { visibility: visible; }
.cursor { opacity: 0; transition: opacity 0.3s; }
.cursor.is-moved { opacity: 1; }
.preloader__top, .preloader__bottom {
  position: absolute; left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--f-lat); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.preloader__top { top: 40px; align-items: flex-start; }
.preloader__bottom { bottom: 40px; }
.preloader__count { font-family: var(--f-lat); font-weight: 200; font-size: 112px; line-height: 0.8; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.preloader__count sup { font-size: 22px; vertical-align: top; margin-left: 6px; color: var(--blue-light); }
.preloader__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: rgba(255,255,255,0.06); }
.preloader__bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--blue-light)); transform-origin: left; transform: scaleX(0); }
.preloader__curtain { position: absolute; inset: 0; background: var(--blue); transform: scaleY(0); transform-origin: bottom; }
/* шторка появления внутренних страниц (прелоадер — только на главной) */
.page-in { position: fixed; inset: 0; z-index: 9995; background: var(--ink); pointer-events: none; }

/* ==========================================================================
   Шапка
   ========================================================================== */
.header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  height: 92px; padding: 0 var(--pad);
  transition: transform 0.6s var(--ease), background 0.5s, height 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { height: 76px; background: rgba(5, 7, 13, 0.62); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: rgba(255,255,255,0.06); }
.header.is-hidden { transform: translateY(-100%); }
.header__logo { display: block; height: 42px; flex: 0 0 auto; }
.header__logo img { height: 100%; width: auto; }
.header__nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 40px; }
.header__nav a {
  position: relative; font-size: 14px; font-weight: 400; letter-spacing: 0.02em; color: rgba(255,255,255,0.82);
  padding: 8px 0; transition: color 0.3s;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: #fff;
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.header__nav a:hover, .header__nav a.is-active { color: #fff; }
.header__nav a:hover::after, .header__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__right { display: flex; align-items: center; gap: 28px; }
.header__phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.header__phone b { font-family: var(--f-lat); font-weight: 500; font-size: 15px; letter-spacing: 0.04em; }
.header__phone span { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
.hero__frame { position: absolute; inset: 0; overflow: hidden; background: #000; will-change: clip-path; }
.hero__slide { position: absolute; inset: 0; visibility: hidden; }
.hero__slide.is-active { visibility: visible; z-index: 2; }
.hero__slide.is-next { visibility: visible; z-index: 3; }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,7,13,0.72) 0%, rgba(5,7,13,0.25) 45%, rgba(5,7,13,0) 70%),
    linear-gradient(0deg, rgba(5,7,13,0.85) 0%, rgba(5,7,13,0) 42%),
    linear-gradient(180deg, rgba(5,7,13,0.55) 0%, rgba(5,7,13,0) 22%);
}
.hero__content { position: absolute; left: var(--pad); bottom: 15vh; z-index: 5; max-width: 62vw; pointer-events: none; }
.hero__content > * { pointer-events: auto; }
.hero__text { display: none; }
.hero__text.is-active { display: block; }
.hero__eyebrow { margin-bottom: 26px; color: rgba(255,255,255,0.75); }
.hero__title { font-family: var(--f-lat); font-weight: 500; text-transform: uppercase; font-size: clamp(72px, 8.6vw, 176px); line-height: 0.9; letter-spacing: -0.005em; }
.hero__title--sm { font-size: clamp(56px, 5.6vw, 116px); line-height: 0.98; }
.hero__sub { margin-top: 26px; font-size: clamp(20px, 1.55vw, 30px); font-weight: 300; letter-spacing: -0.01em; color: rgba(255,255,255,0.88); max-width: 36ch; }
.hero__actions { display: flex; gap: 14px; margin-top: 44px; }

.hero__nav { position: absolute; right: var(--pad); bottom: 15vh; z-index: 6; display: flex; gap: 28px; }
.hero__dot { width: 168px; text-align: left; color: rgba(255,255,255,0.5); transition: color 0.4s; }
.hero__dot.is-active, .hero__dot:hover { color: #fff; }
.hero__dot-num { font-family: var(--f-lat); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; }
.hero__dot-label { display: block; margin-top: 4px; font-size: 13px; letter-spacing: 0.02em; }
.hero__dot-bar { position: relative; display: block; height: 1px; margin-top: 14px; background: rgba(255,255,255,0.22); overflow: hidden; }
.hero__dot-bar i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }

.hero__counter { position: absolute; right: var(--pad); top: 50%; z-index: 6; transform: translateY(-50%); font-family: var(--f-lat); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__counter-cur { font-size: 15px; font-weight: 600; overflow: hidden; height: 1.2em; line-height: 1.2; }
.hero__counter-cur span { display: block; }
.hero__counter-line { width: 1px; height: 64px; background: rgba(255,255,255,0.3); }
.hero__counter-total { font-size: 15px; font-weight: 400; color: rgba(255,255,255,0.45); }

.hero__scroll { position: absolute; left: 50%; bottom: 34px; z-index: 6; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--f-lat); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.hero__scroll i { position: relative; width: 1px; height: 46px; background: rgba(255,255,255,0.2); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: #fff; animation: scrollLine 2.2s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* ==========================================================================
   Манифест / intro
   ========================================================================== */
.intro { position: relative; padding: 22vh var(--pad) 18vh; background: var(--ink); }
.intro__grid { display: grid; grid-template-columns: 1fr 3.2fr; gap: 4vw; }
.intro__text { font-size: clamp(34px, 3.25vw, 64px); font-weight: 300; line-height: 1.22; letter-spacing: -0.022em; }
.intro__text .word { display: inline-block; color: rgba(255,255,255,0.14); }
.intro__text em { font-style: normal; font-family: var(--f-lat); font-weight: 400; font-size: 0.82em; letter-spacing: 0; }
.intro__stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14vh; border-top: 1px solid var(--line); }
.stat { padding: 34px 30px 0 0; }
.stat + .stat { padding-left: 30px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--f-lat); font-weight: 200; font-size: clamp(48px, 4.2vw, 84px); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.stat__num small { font-size: 0.36em; font-weight: 400; margin-left: 6px; letter-spacing: 0.02em; }
.stat__label { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 22ch; }

/* ==========================================================================
   Модельный ряд
   ========================================================================== */
.models { padding: 16vh 0 18vh; background: var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 4vw; padding: 0 var(--pad); margin-bottom: 7vh; }
.section-head .eyebrow { margin-bottom: 26px; }
.section-head__aside { max-width: 30vw; }
.models__panels { display: flex; gap: 14px; height: 82vh; min-height: 640px; padding: 0 var(--pad); }
.model-panel {
  position: relative; flex: 1 1 0; overflow: hidden; border-radius: var(--radius); background: #000;
  transition: flex-grow 1s var(--ease);
}
.models__panels:hover .model-panel { flex-grow: 0.75; }
.models__panels .model-panel:hover { flex-grow: 1.45; }
.model-panel__media { position: absolute; inset: 0; }
.model-panel__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.model-panel:hover .model-panel__media img { transform: scale(1.1); }
.model-panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(5,7,13,0.9) 0%, rgba(5,7,13,0.15) 50%, rgba(5,7,13,0.35) 100%);
}
.model-panel__top { position: absolute; z-index: 2; left: 44px; right: 44px; top: 40px; display: flex; justify-content: space-between; align-items: flex-start; }
.model-panel__tag { font-family: var(--f-lat); font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; padding: 10px 16px; border-radius: 100px; background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.model-panel__index { font-family: var(--f-lat); font-size: 12px; letter-spacing: 0.2em; color: rgba(255,255,255,0.7); }
.model-panel__body { position: absolute; z-index: 2; left: 44px; right: 44px; bottom: 44px; }
.model-panel__name { font-family: var(--f-lat); font-weight: 600; font-size: clamp(110px, 10vw, 200px); line-height: 0.8; letter-spacing: -0.02em; }
.model-panel__name span { font-weight: 200; font-size: 0.32em; letter-spacing: 0.08em; display: block; margin-bottom: 14px; color: rgba(255,255,255,0.75); }
.model-panel__desc { margin-top: 22px; max-width: 34ch; font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.82); }
.model-panel__more { display: flex; gap: 12px; margin-top: 30px; opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.model-panel:hover .model-panel__more { opacity: 1; transform: none; }
.model-panel__specs { display: flex; gap: 36px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.18); }
.model-panel__specs div b { display: block; font-family: var(--f-lat); font-weight: 400; font-size: 22px; letter-spacing: -0.01em; }
.model-panel__specs div span { font-size: 12px; color: rgba(255,255,255,0.6); }

/* ==========================================================================
   B5 — студия и конфигуратор цвета
   ========================================================================== */
.b5 { position: relative; background: linear-gradient(180deg, #e9ecee 0%, #f6f7f8 100%); color: var(--ink); overflow: hidden; }
.b5__stage { position: relative; height: 100vh; min-height: 760px; display: grid; grid-template-columns: 0.95fr 1.25fr; align-items: center; padding: 0 var(--pad); gap: 2vw; }
.b5__bigname {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%);
  font-family: var(--f-lat); font-weight: 700; font-size: 46vw; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(5,7,13,0.07);
  background: linear-gradient(180deg, rgba(5,52,145,0.08), rgba(5,52,145,0)); -webkit-background-clip: text; background-clip: text;
  pointer-events: none; white-space: nowrap; user-select: none;
}
.b5__info { position: relative; z-index: 2; }
.b5__info .eyebrow { margin-bottom: 24px; }
.b5__title { font-family: var(--f-lat); font-weight: 600; font-size: clamp(64px, 6vw, 120px); line-height: 0.9; letter-spacing: -0.01em; text-transform: uppercase; }
.b5__title span { font-weight: 200; }
.b5__lead { margin-top: 26px; max-width: 40ch; }
.swatches { margin-top: 44px; }
.swatches__label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 16px; font-family: var(--f-lat); }
.swatches__label b { color: var(--ink); font-weight: 600; margin-left: 10px; }
.swatches__list { display: flex; gap: 14px; }
.swatch { position: relative; width: 40px; height: 40px; border-radius: 50%; padding: 0; }
.swatch i { position: absolute; inset: 5px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -6px 10px rgba(0,0,0,0.25), inset 0 4px 8px rgba(255,255,255,0.35); transition: inset 0.4s var(--ease); }
.swatch::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(5,7,13,0.0); transition: border-color 0.4s; }
.swatch.is-active::before { border-color: var(--ink); }
.swatch:hover i { inset: 3px; }
.b5__actions { display: flex; gap: 12px; margin-top: 48px; }
.b5__car { position: relative; z-index: 1; height: 72vh; border-radius: var(--radius); overflow: hidden; background: #c9cfd2; box-shadow: 0 40px 80px -40px rgba(5,7,13,0.35); }
.b5__car img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.b5__car-cap { position: absolute; left: 28px; bottom: 24px; z-index: 3; font-family: var(--f-lat); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(5,7,13,0.55); }
.b5__stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 var(--pad); border-top: 1px solid var(--line-dark); }
.b5__stats .stat + .stat { border-left-color: var(--line-dark); }
.b5__stats .stat__label { color: var(--muted-dark); }

/* Горизонтальная галерея B5 */
.hscroll { position: relative; height: 100vh; overflow: hidden; background: var(--ink); color: #fff; }
.hscroll__track { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; gap: 2.4vw; padding: 0 var(--pad); will-change: transform; }
.hscroll__intro { flex: 0 0 34vw; padding-right: 3vw; }
.hscroll__intro .eyebrow { margin-bottom: 26px; }
.hcard { position: relative; flex: 0 0 auto; width: 46vw; height: 70vh; border-radius: var(--radius); overflow: hidden; }
.hcard--tall { width: 32vw; }
.hcard img { position: absolute; inset: 0; width: 120%; max-width: none; height: 100%; object-fit: cover; left: -10%; }
.hcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,7,13,0.85) 0%, rgba(5,7,13,0) 50%); }
.hcard__body { position: absolute; z-index: 2; left: 36px; right: 36px; bottom: 34px; }
.hcard__num { font-family: var(--f-lat); font-weight: 200; font-size: 64px; line-height: 1; letter-spacing: -0.02em; }
.hcard__num small { font-size: 0.34em; font-weight: 400; margin-left: 4px; }
.hcard__title { margin-top: 10px; font-size: 20px; font-weight: 400; }
.hcard__text { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,0.66); max-width: 44ch; }
.hscroll__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 7vh; height: 1px; background: rgba(255,255,255,0.14); }
.hscroll__progress i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }

/* ==========================================================================
   B8
   ========================================================================== */
.b8 { position: relative; background: var(--ink); }
.b8__reveal { position: relative; height: 100vh; overflow: hidden; }
.b8__reveal-media { position: absolute; inset: 0; will-change: clip-path; }
.b8__reveal-media img { width: 100%; height: 100%; object-fit: cover; }
.b8__reveal-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,13,0.75) 0%, rgba(5,7,13,0) 60%), linear-gradient(0deg, rgba(5,7,13,0.6) 0%, rgba(5,7,13,0) 40%); }
.b8__reveal-content { position: absolute; z-index: 2; left: var(--pad); top: 50%; transform: translateY(-50%); max-width: 46vw; }
.b8__reveal-content .eyebrow { margin-bottom: 26px; color: rgba(255,255,255,0.8); }
.b8__title { font-family: var(--f-lat); font-weight: 600; font-size: clamp(64px, 6.4vw, 128px); line-height: 0.9; text-transform: uppercase; }
.b8__title span { font-weight: 200; }
.b8__reveal-content .lead { margin-top: 24px; color: rgba(255,255,255,0.8); max-width: 40ch; }
.b8__reveal-content .hero__actions { margin-top: 40px; }

.sketch { position: relative; padding: 20vh var(--pad) 16vh; background: #000; overflow: hidden; }
.sketch__head { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: end; margin-bottom: 8vh; }
.sketch__head .eyebrow { margin-bottom: 24px; }
.sketch__frame { position: relative; height: 62vh; }
.sketch__img { position: absolute; inset: 0; }
.sketch__img img { width: 100%; height: 100%; object-fit: contain; }
.sketch__img--render { clip-path: inset(0 100% 0 0); }
.sketch__scan { position: absolute; top: -4%; bottom: -4%; left: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--blue-light), transparent); box-shadow: 0 0 24px 2px rgba(61,111,224,0.7); opacity: 0; }
.sketch__marks { display: flex; justify-content: space-between; margin-top: 6vh; padding-top: 26px; border-top: 1px solid var(--line); }
.sketch__marks div b { display: block; font-family: var(--f-lat); font-weight: 200; font-size: 44px; line-height: 1; }
.sketch__marks div > span { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }

.lounge { position: relative; padding: 18vh var(--pad); background: var(--ink-2); }
.lounge__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.lounge__text { grid-column: 1 / span 5; align-self: center; padding-right: 3vw; }
.lounge__text .eyebrow { margin-bottom: 26px; }
.lounge__text .lead { margin-top: 26px; }
.lounge__list { margin-top: 40px; border-top: 1px solid var(--line); }
.lounge__list li { list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.lounge__list li b { font-family: var(--f-lat); font-weight: 400; font-size: 20px; color: #fff; white-space: nowrap; }
.lounge__img { position: relative; overflow: hidden; border-radius: var(--radius); }
.lounge__img img { width: 100%; height: 118%; object-fit: cover; position: absolute; top: -9%; left: 0; }
.lounge__img--a { grid-column: 6 / span 7; height: 64vh; }
.lounge__img--b { grid-column: 6 / span 3; height: 38vh; }
.lounge__img--c { grid-column: 9 / span 4; height: 38vh; }

.b8__stats { padding: 0 var(--pad) 18vh; background: var(--ink-2); }
.b8__stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.b8__cta { display: flex; justify-content: space-between; align-items: center; margin-top: 10vh; padding: 46px 52px; border-radius: var(--radius); background: linear-gradient(110deg, var(--blue-deep), var(--blue)); position: relative; overflow: hidden; }
.b8__cta::before { content: ""; position: absolute; inset: 0; background: url("../img/pattern.webp") center / 900px auto; opacity: 0.07; }
.b8__cta > * { position: relative; }

/* ==========================================================================
   DMO
   ========================================================================== */
.dmo { position: relative; padding: 20vh 0 18vh; background: #000; overflow: hidden; }
.dmo__bg { position: absolute; inset: 0; opacity: 0.32; }
.dmo__bg video { width: 100%; height: 100%; object-fit: cover; }
.dmo__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.2) 70%, #000 100%); }
.dmo__inner { position: relative; z-index: 2; padding: 0 var(--pad); }
.dmo__head { text-align: center; max-width: 980px; margin: 0 auto; }
.dmo__head .eyebrow { margin-bottom: 26px; }
.dmo__head .lead { margin: 26px auto 0; max-width: 60ch; }
.dmo__acr { font-family: var(--f-lat); font-weight: 600; font-size: clamp(120px, 15vw, 290px); line-height: 0.85; letter-spacing: -0.03em; color: #fff; -webkit-mask-image: linear-gradient(180deg, #000 35%, rgba(0,0,0,0.12) 100%); mask-image: linear-gradient(180deg, #000 35%, rgba(0,0,0,0.12) 100%); margin: 10px 0 24px; }
.dmo__chassis { position: relative; margin: 8vh auto 0; width: 82vw; aspect-ratio: 16 / 8.2; border-radius: var(--radius); overflow: hidden; }
.dmo__chassis img { width: 100%; height: 100%; object-fit: cover; }
.dmo__chassis::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 120px 40px rgba(0,0,0,0.65); pointer-events: none; }
.hotspot { position: absolute; z-index: 2; width: 20px; height: 20px; margin: -10px 0 0 -10px; }
.hotspot i { position: absolute; inset: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,0.18); }
.hotspot i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid #fff; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.hotspot__tip {
  position: absolute; left: 30px; top: 50%; transform: translate(-6px, -50%); width: 260px; padding: 16px 18px; border-radius: 14px;
  background: rgba(5,7,13,0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; color: var(--muted); opacity: 0; pointer-events: none; transition: opacity 0.4s, transform 0.5s var(--ease);
}
.hotspot__tip b { display: block; color: #fff; font-weight: 500; font-size: 15px; margin-bottom: 4px; }
.hotspot:hover .hotspot__tip, .hotspot.is-open .hotspot__tip { opacity: 1; transform: translate(0, -50%); }
.hotspot--left .hotspot__tip { left: auto; right: 30px; transform: translate(6px, -50%); }
.hotspot--left:hover .hotspot__tip, .hotspot--left.is-open .hotspot__tip { transform: translate(0, -50%); }
.dmo__features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8vh; }
.feature { position: relative; padding: 34px 30px 38px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.08); overflow: hidden; transition: border-color 0.5s, transform 0.6s var(--ease); }
.feature::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-light)); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.feature:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-6px); }
.feature:hover::before { transform: scaleX(1); }
.feature__num { font-family: var(--f-lat); font-size: 12px; letter-spacing: 0.2em; color: var(--blue-light); font-weight: 600; }
.feature__title { margin-top: 46px; font-size: 22px; font-weight: 400; line-height: 1.25; }
.feature__text { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ==========================================================================
   Философия
   ========================================================================== */
.philosophy { position: relative; min-height: 100vh; padding: 22vh var(--pad) 16vh; overflow: hidden; background: var(--blue-deep); }
.philosophy__bg { position: absolute; inset: -10% 0; will-change: transform; }
.philosophy__bg video { width: 100%; height: 100%; object-fit: cover; }
.philosophy__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(2,19,73,0.15) 0%, rgba(2,19,73,0.75) 70%), linear-gradient(0deg, rgba(2,19,73,0.9), rgba(2,19,73,0) 40%); }
.philosophy__inner { position: relative; z-index: 2; text-align: center; }
.philosophy__inner .eyebrow { color: rgba(255,255,255,0.75); margin-bottom: 34px; }
.philosophy__quote { font-size: clamp(40px, 4vw, 80px); font-weight: 300; line-height: 1.12; letter-spacing: -0.025em; max-width: 20ch; margin: 0 auto; }
.philosophy__quote em { font-style: normal; color: #9db8ff; }
.philosophy__slogan { margin-top: 36px; font-family: var(--f-lat); font-size: 13px; font-weight: 500; letter-spacing: 0.5em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.philosophy__link { display: inline-grid; place-items: center; margin-top: 7vh; width: 168px; height: 168px; border-radius: 50%; background: #fff; color: var(--ink); text-align: center; font-family: var(--f-lat); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.6; position: relative; transition: background 0.5s, color 0.5s; }
.philosophy__link:hover { background: var(--blue); color: #fff; }
.philosophy__link svg { width: 18px; height: 18px; margin: 10px auto 0; }
.pillars { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 14vh; border-top: 1px solid rgba(255,255,255,0.2); }
.pillar { padding: 36px 3vw 0 0; }
.pillar + .pillar { padding-left: 3vw; border-left: 1px solid rgba(255,255,255,0.2); }
.pillar__num { font-family: var(--f-lat); font-size: 11px; letter-spacing: 0.24em; color: rgba(255,255,255,0.55); }
.pillar__title { margin-top: 18px; font-size: 26px; font-weight: 400; letter-spacing: -0.01em; }
.pillar__text { margin-top: 12px; color: rgba(255,255,255,0.68); font-size: 15px; max-width: 40ch; }

/* ==========================================================================
   Тест-драйв
   ========================================================================== */
.drive { position: relative; background: var(--glacier); color: var(--ink); padding: 16vh var(--pad); }
.drive__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3vw; align-items: stretch; }
.drive__visual { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 82vh; color: #fff; }
.drive__visual img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.drive__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,7,13,0.88) 0%, rgba(5,7,13,0.1) 55%, rgba(5,7,13,0.3) 100%); }
.drive__visual-body { position: absolute; z-index: 2; left: 46px; right: 46px; bottom: 44px; }
.drive__visual-body .eyebrow { color: rgba(255,255,255,0.75); margin-bottom: 22px; }
.drive__contacts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 44px; margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.2); }
.drive__contacts span { display: block; font-size: 12px; color: rgba(255,255,255,0.6); letter-spacing: 0.04em; }
.drive__contacts b { display: block; margin-top: 4px; font-family: var(--f-lat); font-weight: 500; font-size: 17px; }

.form { background: #fff; border-radius: var(--radius); padding: 52px 52px 46px; box-shadow: 0 30px 80px -50px rgba(5,7,13,0.35); position: relative; overflow: hidden; }
.form__head .eyebrow { margin-bottom: 20px; }
.form__head p { margin-top: 14px; color: var(--muted-dark); font-size: 15px; }
.form__models { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.mchoice { position: relative; display: block; cursor: pointer; }
.mchoice input { position: absolute; opacity: 0; pointer-events: none; }
.mchoice__box { display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--line-dark); overflow: hidden; transition: border-color 0.35s, box-shadow 0.35s; }
.mchoice__img { height: 128px; overflow: hidden; background: #d4d8db; }
.mchoice__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.mchoice:hover .mchoice__img img { transform: scale(1.06); }
.mchoice__txt { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; }
.mchoice__txt b { font-family: var(--f-lat); font-weight: 600; font-size: 16px; letter-spacing: 0.04em; }
.mchoice__txt span { font-size: 12px; color: var(--muted-dark); }
.mchoice__check { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(5,7,13,0.3); display: grid; place-items: center; transition: background 0.3s, border-color 0.3s; }
.mchoice__check::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform 0.3s var(--ease); }
.mchoice input:checked + .mchoice__box { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.mchoice input:checked + .mchoice__box .mchoice__check { background: var(--blue); border-color: var(--blue); }
.mchoice input:checked + .mchoice__box .mchoice__check::after { transform: scale(1); }
.form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin-top: 18px; }
.field { position: relative; padding-top: 22px; }
.field--full { grid-column: 1 / -1; }
.field input, .field select {
  width: 100%; height: 56px; border-bottom: 1px solid rgba(5,7,13,0.18); font-size: 17px; font-weight: 400; color: var(--ink);
  transition: border-color 0.3s; border-radius: 0; appearance: none; -webkit-appearance: none;
}
.field label { position: absolute; left: 0; top: 38px; font-size: 15px; color: var(--muted-dark); pointer-events: none; transition: transform 0.4s var(--ease), font-size 0.4s var(--ease), color 0.3s; transform-origin: left; }
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label, .field.is-filled label { transform: translateY(-28px); font-size: 12px; color: var(--blue); letter-spacing: 0.04em; }
.field__line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.field input:focus ~ .field__line { transform: scaleX(1); }
.field.is-error input { border-color: #d43a3a; }
.field.is-error label { color: #d43a3a; }
.field input[type="date"] { color: var(--ink); }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0.5; cursor: pointer; }
.form__consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; font-size: 13px; color: var(--muted-dark); cursor: pointer; }
.form__consent input { position: absolute; opacity: 0; }
.form__consent i { flex: 0 0 20px; height: 20px; border-radius: 6px; border: 1px solid rgba(5,7,13,0.3); display: grid; place-items: center; transition: background 0.3s, border-color 0.3s; }
.form__consent i svg { width: 12px; height: 12px; color: #fff; opacity: 0; transition: opacity 0.2s; }
.form__consent input:checked + i { background: var(--blue); border-color: var(--blue); }
.form__consent input:checked + i svg { opacity: 1; }
.form__consent.is-error i { border-color: #d43a3a; }
.form__submit { width: 100%; margin-top: 30px; height: 62px; }
.form__submit.is-sending { pointer-events: none; opacity: 0.7; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__error { margin-top: 16px; font-size: 14px; color: #d43a3a; text-align: center; }
.form__error a { color: inherit; text-decoration: underline; }
.form__success { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 50px; background: #fff; visibility: hidden; }
.form__success svg { width: 96px; height: 96px; }
.form__success h3 { margin-top: 30px; }
.form__success p { margin-top: 12px; color: var(--muted-dark); max-width: 36ch; }

/* ==========================================================================
   Новости
   ========================================================================== */
.news { padding: 18vh 0; background: var(--ink); }
.news__grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 18px; padding: 0 var(--pad); }
.ncard { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.ncard--big { grid-row: 1 / span 2; min-height: 84vh; }
.ncard--sm { min-height: 41vh; }
.ncard__img { position: absolute; inset: 0; overflow: hidden; }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease); }
.ncard:hover .ncard__img img { transform: scale(1.08); }
.ncard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,7,13,0.92) 0%, rgba(5,7,13,0.2) 55%, rgba(5,7,13,0.1) 100%); transition: opacity 0.6s; }
.ncard__body { position: absolute; z-index: 2; left: 40px; right: 40px; bottom: 36px; }
.ncard__meta { display: flex; gap: 18px; align-items: center; font-family: var(--f-lat); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.ncard__meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--blue-light); margin-right: 18px; vertical-align: middle; }
.ncard__title { margin-top: 16px; font-size: 24px; font-weight: 400; line-height: 1.25; letter-spacing: -0.01em; max-width: 30ch; }
.ncard--big .ncard__title { font-size: clamp(30px, 2.4vw, 46px); font-weight: 300; line-height: 1.12; max-width: 22ch; }
.ncard__text { margin-top: 16px; font-size: 15px; color: rgba(255,255,255,0.7); max-width: 52ch; }
.ncard__arrow { position: absolute; z-index: 2; right: 34px; top: 34px; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center; transition: background 0.4s, transform 0.6s var(--ease); }
.ncard__arrow svg { width: 18px; height: 18px; transform: rotate(-45deg); transition: transform 0.6s var(--ease); }
.ncard:hover .ncard__arrow { background: var(--blue); }
.ncard:hover .ncard__arrow svg { transform: rotate(0); }

/* ==========================================================================
   Футер
   ========================================================================== */
.footer { position: relative; background: var(--ink); border-top: 1px solid var(--line); overflow: hidden; }
.marquee { padding: 7vh 0; border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 3vw; padding-right: 3vw; font-family: var(--f-lat); font-weight: 500; font-size: 8.4vw; line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; }
.marquee__item .o { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.45); }
.marquee__item svg { width: 5vw; height: 5vw; flex: 0 0 auto; }
.footer__main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5vw; padding: 12vh var(--pad) 8vh; }
.footer__lead .h2 { max-width: 16ch; }
.footer__lead .btn { margin-top: 44px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 3vw; }
.fcol h4 { font-family: var(--f-lat); font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.fcol p, .fcol a { display: block; font-size: 16px; line-height: 1.7; }
.fcol a { transition: color 0.3s; }
.fcol a:hover { color: var(--blue-light); }
.fcol .big { font-family: var(--f-lat); font-weight: 400; font-size: 24px; letter-spacing: 0.01em; }
.fcol small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.footer__map { position: relative; margin: 0 var(--pad); height: 56vh; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.footer__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.06) brightness(1.03); }
.footer__map-card { position: absolute; left: 34px; top: 34px; z-index: 2; width: 360px; padding: 30px 32px; border-radius: 18px; background: rgba(5,7,13,0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.08); }
.footer__map-card img { height: 34px; width: auto; }
.footer__map-card p { margin-top: 20px; font-size: 15px; color: rgba(255,255,255,0.8); }
.footer__map-card .link-arrow { margin-top: 22px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 40px var(--pad) 44px; font-size: 13px; color: var(--muted); }
.footer__bottom nav { display: flex; gap: 32px; }
.footer__bottom a:hover { color: #fff; }
.footer__note { max-width: 70ch; }

/* ==========================================================================
   Модалка характеристик
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 950; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(5,7,13,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; }
.modal__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(760px, 56vw); background: #fff; color: var(--ink); display: flex; flex-direction: column; }
.modal__head { display: flex; justify-content: space-between; align-items: center; padding: 40px 52px 26px; border-bottom: 1px solid var(--line-dark); }
.modal__close { width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-dark); display: grid; place-items: center; transition: background 0.3s, transform 0.5s var(--ease); }
.modal__close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.modal__close svg { width: 16px; height: 16px; }
.modal__tabs { display: flex; gap: 8px; padding: 22px 52px 0; }
.modal__tab { height: 44px; padding: 0 22px; border-radius: 100px; font-family: var(--f-lat); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; box-shadow: inset 0 0 0 1px var(--line-dark); transition: background 0.3s, color 0.3s; }
.modal__tab.is-active { background: var(--ink); color: #fff; box-shadow: none; }
.modal__body { flex: 1; overflow-y: auto; padding: 18px 52px 52px; overscroll-behavior: contain; }
.spec-table { display: none; width: 100%; border-collapse: collapse; }
.spec-table.is-active { display: table; }
.spec-table th, .spec-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; vertical-align: top; }
.spec-table th { font-weight: 350; color: var(--muted-dark); padding-right: 20px; }
.spec-table td { font-weight: 500; }
.spec-table thead th, .spec-table thead td { font-family: var(--f-lat); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); font-weight: 600; padding-top: 28px; }
.spec-table { table-layout: fixed; }
.spec-table .c-label { width: 44%; }
.spec-table tbody th { line-height: 1.4; }
.spec-table tbody td { line-height: 1.4; padding-right: 14px; }
.spec-table thead.spec-sec th { padding: 26px 14px 14px 0; border-bottom-color: var(--ink); line-height: 1.5; }
.spec-table thead.spec-sec th:first-child { padding-right: 20px; }
.spec-sec__btn { display: flex; align-items: center; gap: 14px; width: 100%; padding: 0; text-align: left; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; }
.spec-sec__btn i { flex: none; width: 8px; height: 8px; margin: -4px 0 0 auto; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .5s var(--ease); }
.spec-sec__btn[aria-expanded="false"] i { transform: rotate(-45deg); margin-top: 0; }
.spec-table tbody.is-collapsed { display: none; }
.spec-mark { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); vertical-align: middle; }
.spec-mark--opt { background: none; box-shadow: inset 0 0 0 1.5px var(--blue); }
.spec-no { color: var(--muted-dark); opacity: .55; }
.specs__legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; font-size: 13px; color: var(--muted-dark); }
.specs__legend span { display: inline-flex; align-items: center; gap: 9px; }
.modal__foot { padding: 24px 52px 36px; border-top: 1px solid var(--line-dark); display: flex; gap: 12px; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted-dark); }

/* ==========================================================================
   Внутренние страницы
   ========================================================================== */
.page-hero { position: relative; height: 100vh; min-height: 720px; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media video, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,7,13,0.9) 0%, rgba(5,7,13,0.15) 55%, rgba(5,7,13,0.45) 100%); }
.page-hero__content { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 12vh; display: flex; justify-content: space-between; align-items: flex-end; gap: 4vw; }
.crumbs { display: flex; gap: 12px; align-items: center; font-family: var(--f-lat); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 30px; }
.crumbs a:hover { color: #fff; }
.crumbs i { width: 4px; height: 4px; border-radius: 50%; background: var(--blue-light); }
.page-hero .h-display { font-size: clamp(60px, 6.6vw, 136px); }
.page-hero__aside { max-width: 30vw; color: rgba(255,255,255,0.8); font-size: 17px; font-weight: 300; }

.manifest { padding: 22vh var(--pad) 18vh; background: var(--ink); }
.manifest__grid { display: grid; grid-template-columns: 1fr 3fr; gap: 4vw; }

.eastwest { position: relative; background: var(--glacier); color: var(--ink); padding: 18vh var(--pad); }
.eastwest__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: center; }
.eastwest__media { position: relative; height: 80vh; border-radius: var(--radius); overflow: hidden; }
.eastwest__media video { width: 100%; height: 100%; object-fit: cover; }
.eastwest__text .eyebrow { margin-bottom: 26px; }
.eastwest__text .lead { margin-top: 26px; }
.eastwest__text blockquote { margin-top: 44px; padding-left: 28px; border-left: 2px solid var(--blue); font-size: 22px; font-weight: 300; line-height: 1.45; letter-spacing: -0.01em; }

.timeline { position: relative; height: 100vh; overflow: hidden; background: var(--ink); }
.timeline__track { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; gap: 0; padding: 0 var(--pad); will-change: transform; }
.timeline__intro { flex: 0 0 32vw; padding-right: 4vw; }
.timeline__intro .eyebrow { margin-bottom: 26px; }
.tl-item { position: relative; flex: 0 0 38vw; height: 74vh; padding: 0 3vw; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.tl-item__year { font-family: var(--f-lat); font-weight: 200; font-size: clamp(90px, 8vw, 160px); line-height: 0.9; letter-spacing: -0.03em; }
.tl-item__year sup { font-size: 0.16em; font-weight: 500; letter-spacing: 0.2em; vertical-align: top; margin-left: 10px; color: var(--blue-light); }
.tl-item__img { height: 34vh; border-radius: 16px; overflow: hidden; margin: 3vh 0; }
.tl-item__img img { width: 100%; height: 100%; object-fit: cover; }
.tl-item__title { font-size: 22px; font-weight: 400; }
.tl-item__text { margin-top: 10px; font-size: 15px; color: var(--muted); max-width: 40ch; }
.timeline__line { position: absolute; left: var(--pad); right: var(--pad); bottom: 6vh; height: 1px; background: var(--line); }
.timeline__line i { position: absolute; inset: 0; background: var(--blue-light); transform: scaleX(0); transform-origin: left; }

.tech { padding: 18vh var(--pad); background: #000; }
.tech__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8vh; }
.tech-card { position: relative; height: 62vh; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px 30px; }
.tech-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tech-card:hover img { transform: scale(1.08); }
.tech-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.1) 60%); }
.tech-card > *:not(img) { position: relative; z-index: 2; }
.tech-card__abbr { font-family: var(--f-lat); font-weight: 600; font-size: 40px; letter-spacing: -0.01em; line-height: 1; }
.tech-card__title { margin-top: 14px; font-size: 18px; font-weight: 400; }
.tech-card__text { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,0.7); max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.8s var(--ease), opacity 0.6s, margin 0.6s; }
.tech-card:hover .tech-card__text { max-height: 160px; opacity: 1; }

.dealer { position: relative; padding: 18vh var(--pad); background: var(--glacier); color: var(--ink); }
.dealer__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5vw; align-items: end; }
.dealer__head .eyebrow { margin-bottom: 26px; }
.dealer__head img { height: 74px; width: auto; margin-bottom: 40px; }
.dealer__video { position: relative; margin-top: 9vh; height: 86vh; border-radius: var(--radius); overflow: hidden; }
.dealer__video video { width: 100%; height: 100%; object-fit: cover; }
.dealer__gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.dealer__gallery div { height: 30vh; border-radius: 16px; overflow: hidden; }
.dealer__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dealer__gallery div:hover img { transform: scale(1.07); }
.services { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 12vh; border-top: 1px solid var(--line-dark); }
.service { padding: 34px 2.4vw 0 0; }
.service + .service { padding-left: 2.4vw; border-left: 1px solid var(--line-dark); }
.service__num { font-family: var(--f-lat); font-size: 11px; letter-spacing: 0.22em; color: var(--blue); font-weight: 600; }
.service__title { margin-top: 22px; font-size: 22px; font-weight: 400; }
.service__text { margin-top: 10px; font-size: 15px; color: var(--muted-dark); }

.cta-band { position: relative; padding: 20vh var(--pad); background: var(--blue); overflow: hidden; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: -20%; background: url("../img/pattern.webp") center / 1100px auto; opacity: 0.08; }
.cta-band > * { position: relative; }
.cta-band .h1 { max-width: 18ch; margin: 0 auto; }
.cta-band .lead { color: rgba(255,255,255,0.78); margin: 26px auto 0; max-width: 52ch; }
.cta-band .hero__actions { justify-content: center; }

/* Статья */
.article-hero { position: relative; padding: 24vh var(--pad) 0; background: var(--ink); }
.article-hero__meta { display: flex; gap: 22px; margin-top: 30px; font-family: var(--f-lat); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.article-hero .h1 { max-width: 22ch; margin-top: 10px; }
.article-cover { margin: 9vh var(--pad) 0; height: 86vh; border-radius: var(--radius); overflow: hidden; position: relative; }
.article-cover img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.article { display: grid; grid-template-columns: 1fr 2.2fr 1fr; gap: 4vw; padding: 14vh var(--pad); background: var(--ink); }
.article__aside { position: sticky; top: 120px; align-self: start; font-size: 13px; color: var(--muted); }
.article__aside b { display: block; color: #fff; font-weight: 400; font-size: 15px; margin-top: 4px; margin-bottom: 22px; }
.article__body p { font-size: 19px; line-height: 1.75; font-weight: 300; color: rgba(255,255,255,0.84); }
.article__body p + p { margin-top: 1.3em; }
.article__body p.lede { font-size: 26px; line-height: 1.5; color: #fff; letter-spacing: -0.01em; }
.article__body h2 { margin: 2em 0 0.8em; font-size: 30px; font-weight: 400; letter-spacing: -0.015em; }
.article__body blockquote { margin: 2.2em 0; padding: 40px 44px; border-radius: var(--radius); background: linear-gradient(120deg, var(--blue-deep), var(--blue)); font-size: 24px; line-height: 1.5; font-weight: 300; letter-spacing: -0.01em; }
.article__body blockquote cite { display: block; margin-top: 22px; font-style: normal; font-size: 14px; color: rgba(255,255,255,0.7); }
.article__body ul { margin: 1.4em 0; padding: 0; }
.article__body li { list-style: none; position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); font-size: 17px; color: rgba(255,255,255,0.84); }
.article__body li::before { content: ""; position: absolute; left: 0; top: 25px; width: 12px; height: 1px; background: var(--blue-light); }
.gallery { padding: 0 var(--pad) 16vh; background: var(--ink); }
.gallery__grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 26vh; gap: 14px; margin-top: 6vh; }
.gallery__grid figure { border-radius: 14px; overflow: hidden; }
.gallery__grid figure:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery__grid figure:nth-child(2), .gallery__grid figure:nth-child(3) { grid-column: span 2; }
.gallery__grid figure:nth-child(n+4) { grid-column: span 2; }
.gallery__grid figure:nth-child(7) { grid-column: span 3; grid-row: span 2; }
.gallery__grid figure:nth-child(8) { grid-column: span 3; }
.gallery__grid figure:nth-child(9) { grid-column: span 3; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__grid figure:hover img { transform: scale(1.06); }
.more-news { padding: 14vh 0 18vh; background: var(--ink-2); }
.more-news .news__grid { grid-template-columns: 1fr 1fr; }
.more-news .ncard--sm { min-height: 56vh; }

/* Утилиты анимаций (начальные состояния ставит JS) */
.reveal-img { overflow: hidden; }
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .grain, .hero__scroll i::after, .hotspot i::after { animation: none; }
}

/* ==========================================================================
   Мобильное меню
   ========================================================================== */
.burger { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); flex: 0 0 auto; }
.burger i { position: absolute; left: 15px; right: 15px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.burger i:nth-child(1) { top: 19px; }
.burger i:nth-child(2) { top: 27px; }
.burger.is-open i:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger.is-open i:nth-child(2) { top: 23px; transform: rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 890; display: flex; flex-direction: column; padding: 104px 20px calc(28px + env(safe-area-inset-bottom)); background: var(--ink); visibility: hidden; overflow-y: auto; }
.mnav::before { content: ""; position: absolute; inset: 0; background: url("../img/pattern.webp") center / 700px auto; opacity: 0.035; pointer-events: none; }
.mnav__links { position: relative; }
.mnav__links a { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: clamp(30px, 8.6vw, 44px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.15; }
.mnav__links a span { font-family: var(--f-lat); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--blue-light); }
.mnav__foot { position: relative; margin-top: auto; padding-top: 36px; display: grid; gap: 18px; }
.mnav__foot small { display: block; font-size: 12px; color: var(--muted); }
.mnav__foot b { font-family: var(--f-lat); font-weight: 500; font-size: 22px; }
.mnav__foot .btn { width: 100%; }
body.menu-open .header { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }

@media (max-width: 1440px) { .header__nav { gap: 28px; } }
@media (max-width: 1240px) { .header__phone { display: none; } }

/* ==========================================================================
   Планшет и меньше: ≤ 1100px
   ========================================================================== */
@media (max-width: 1100px) {
  .header__nav, .header__phone { display: none; }
  .burger { display: block; }
  .header__right { gap: 10px; }
  .hero__content { max-width: 84vw; }
  .hero__nav { gap: 16px; }
  .hero__dot { width: 130px; }
  .hero__counter { display: none; }
  .section-head__aside { max-width: 44vw; }
  .dmo__features, .tech__grid { grid-template-columns: 1fr 1fr; }
  .footer__main { grid-template-columns: 1fr; gap: 56px; }
}

/* ==========================================================================
   Телефон: ≤ 820px
   ========================================================================== */
@media (max-width: 820px) {
  :root { --pad: 20px; --radius: 18px; }
  body { font-size: 15px; }

  .h-display { font-size: clamp(44px, 12.4vw, 84px); }
  .h1 { font-size: clamp(32px, 8.6vw, 50px); line-height: 1.08; }
  .h2 { font-size: clamp(27px, 7.2vw, 40px); }
  .h3 { font-size: 21px; }
  .lead { font-size: 16px; }
  .eyebrow { font-size: 10px; letter-spacing: 0.26em; gap: 10px; }
  .eyebrow::before { width: 22px; }
  .btn { height: 52px; padding: 0 24px; font-size: 11px; }
  .btn--sm { height: 44px; padding: 0 18px; }

  /* Прелоадер */
  .preloader__emblem { width: 120px; }
  .preloader__word { width: 170px; margin-top: 17px; }
  .preloader__tag { font-size: 9px; letter-spacing: 0.34em; }
  .preloader__top, .preloader__bottom { font-size: 9px; letter-spacing: 0.18em; }
  .preloader__top { top: 24px; }
  .preloader__bottom { bottom: 28px; }
  .preloader__count { font-size: 64px; }
  .preloader__count sup { font-size: 15px; }

  /* Шапка */
  .header { height: 72px; padding: 0 var(--pad); }
  .header.is-scrolled { height: 64px; }
  .header__logo { height: 32px; }

  /* Hero */
  .hero__content { left: var(--pad); right: var(--pad); bottom: 132px; max-width: none; }
  .hero__eyebrow { margin-bottom: 16px; }
  .hero__title { font-size: clamp(46px, 13.6vw, 84px); }
  .hero__title--sm { font-size: clamp(36px, 10vw, 64px); }
  .hero__sub { margin-top: 16px; font-size: 18px; }
  .hero__actions { margin-top: 28px; flex-wrap: wrap; gap: 10px; }
  .hero__nav { left: var(--pad); right: var(--pad); bottom: 40px; gap: 10px; }
  .hero__dot { flex: 1 1 0; width: auto; min-width: 0; }
  .hero__dot-label { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero__dot-bar { margin-top: 10px; }
  .hero__scroll { display: none; }
  .hero__shade { background: linear-gradient(0deg, rgba(5,7,13,0.92) 0%, rgba(5,7,13,0.35) 45%, rgba(5,7,13,0.1) 65%, rgba(5,7,13,0.5) 100%); }

  /* Общие заголовки секций */
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 32px; }
  .section-head .eyebrow { margin-bottom: 16px; }
  .section-head__aside { max-width: none; }

  /* Статистика 2×2 */
  .intro__stats, .b5__stats, .b8__stats-inner { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding: 24px 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .b5__stats .stat:nth-child(even) { border-left-color: var(--line-dark); }
  .b5__stats .stat:nth-child(n+3) { border-top-color: var(--line-dark); }
  .stat__num { font-size: clamp(36px, 10vw, 52px); }
  .stat__label { font-size: 13px; margin-top: 10px; }

  /* Манифест */
  .intro, .manifest { padding: 14vh var(--pad) 10vh; }
  .intro__grid, .manifest__grid { grid-template-columns: 1fr; gap: 22px; }
  .intro__text { font-size: clamp(24px, 6.6vw, 34px); line-height: 1.28; }
  .intro__stats { margin-top: 8vh; }

  /* Модели */
  .models { padding: 10vh 0 12vh; }
  .models__panels { flex-direction: column; height: auto; min-height: 0; gap: 12px; }
  .model-panel { flex: none; height: 74svh; min-height: 480px; }
  .model-panel__top { left: 22px; right: 22px; top: 22px; }
  .model-panel__body { left: 22px; right: 22px; bottom: 24px; }
  .model-panel__name { font-size: clamp(84px, 26vw, 130px); }
  .model-panel__desc { font-size: 15px; margin-top: 14px; }
  .model-panel__specs { gap: 18px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; }
  .model-panel__specs div b { font-size: 17px; }
  .model-panel__specs div span { font-size: 11px; }

  /* B5 */
  .b5__stage { grid-template-columns: 1fr; height: auto; min-height: 0; padding: 12vh var(--pad) 7vh; gap: 32px; }
  .b5__bigname { font-size: 82vw; top: 26%; }
  .b5__title { font-size: clamp(50px, 14vw, 80px); }
  .b5__lead { margin-top: 18px; }
  .swatches { margin-top: 30px; }
  .swatches__list { gap: 8px; flex-wrap: wrap; }
  .b5__actions { margin-top: 30px; flex-wrap: wrap; gap: 10px; }
  .b5__car { height: auto; aspect-ratio: 4 / 3.2; }
  .b5__car-cap { left: 16px; bottom: 14px; font-size: 9px; }
  .b5__stats { margin: 0 var(--pad); }

  /* Горизонтальные секции → нативный свайп */
  .hscroll, .timeline { height: auto; overflow: visible; padding: 12vh 0 10vh; }
  .hscroll__track, .timeline__track {
    position: relative; height: auto; display: grid; grid-auto-flow: column; grid-auto-columns: 82vw;
    grid-template-rows: auto auto; column-gap: 12px; row-gap: 30px; align-items: stretch;
    padding: 0 var(--pad); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .hscroll__track::-webkit-scrollbar, .timeline__track::-webkit-scrollbar { display: none; }
  .hscroll__intro { grid-row: 1; grid-column: 1 / span 6; position: sticky; left: 0; width: calc(100vw - 2 * var(--pad)); padding: 0; }
  .timeline__intro { grid-row: 1; grid-column: 1 / span 4; position: sticky; left: 0; width: calc(100vw - 2 * var(--pad)); padding: 0; }
  .hcard, .hcard--tall { grid-row: 2; width: auto; height: 62svh; min-height: 420px; scroll-snap-align: start; }
  .hcard__body { left: 22px; right: 22px; bottom: 22px; }
  .hcard__num { font-size: 48px; }
  .hcard__title { font-size: 18px; }
  .hscroll__progress, .timeline__line { position: relative; left: auto; right: auto; bottom: auto; margin: 26px var(--pad) 0; }
  .tl-item { grid-row: 2; width: auto; height: auto; padding: 0 0 0 16px; scroll-snap-align: start; }
  .tl-item__year { font-size: clamp(60px, 17vw, 90px); }
  .tl-item__img { height: 30svh; margin: 18px 0; }
  .tl-item__title { font-size: 19px; }

  /* B8 */
  .b8__reveal { height: 92svh; min-height: 560px; }
  .b8__reveal-media::after { background: linear-gradient(0deg, rgba(5,7,13,0.92) 0%, rgba(5,7,13,0.3) 55%, rgba(5,7,13,0.2) 100%); }
  .b8__reveal-content { left: var(--pad); right: var(--pad); top: auto; bottom: 44px; transform: none; max-width: none; }
  .b8__reveal-content .eyebrow { margin-bottom: 16px; }
  .b8__title { font-size: clamp(50px, 14vw, 80px); }
  .b8__reveal-content .lead { margin-top: 16px; }
  .b8__reveal-content .hero__actions { margin-top: 26px; }
  .b8__reveal-media img { object-position: 62% 50%; }

  .sketch { padding: 12vh var(--pad) 10vh; }
  .sketch__head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 5vh; }
  .sketch__head .eyebrow { margin-bottom: 16px; }
  .sketch__frame { height: auto; aspect-ratio: 16 / 9; }
  .sketch__marks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 12px; margin-top: 4vh; }
  .sketch__marks div b { font-size: 28px; }
  .sketch__marks div > span { font-size: 11px; margin-top: 6px; }

  .lounge { padding: 12vh var(--pad); }
  .lounge__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lounge__text { grid-column: 1 / -1; padding: 0 0 24px; }
  .lounge__text .eyebrow { margin-bottom: 16px; }
  .lounge__text .lead { margin-top: 16px; }
  .lounge__list { margin-top: 26px; }
  .lounge__list li { font-size: 14px; padding: 14px 0; }
  .lounge__list li b { font-size: 16px; }
  .lounge__img--a { grid-column: 1 / -1; height: 44svh; }
  .lounge__img--b { grid-column: 1; height: 26svh; }
  .lounge__img--c { grid-column: 2; height: 26svh; }

  .b8__stats { padding: 0 var(--pad) 12vh; }
  .b8__cta { flex-direction: column; align-items: flex-start; gap: 24px; padding: 30px 22px; margin-top: 6vh; }
  .b8__cta .btn { width: 100%; }

  /* DMO */
  .dmo { padding: 12vh 0 10vh; }
  .dmo__acr { font-size: 31vw; }
  .dmo__head .lead { margin-top: 16px; }
  .dmo__chassis { width: 100%; aspect-ratio: 4 / 3; margin-top: 5vh; }
  .hotspot { display: none; }
  .dmo__features { grid-template-columns: 1fr; gap: 10px; margin-top: 5vh; }
  .feature { padding: 24px 22px 26px; }
  .feature__title { margin-top: 18px; font-size: 19px; }

  /* Философия */
  .philosophy { min-height: 0; padding: 16vh var(--pad) 10vh; }
  .philosophy__inner .eyebrow { margin-bottom: 22px; }
  .philosophy__quote { font-size: clamp(29px, 8vw, 44px); }
  .philosophy__slogan { font-size: 10px; letter-spacing: 0.32em; margin-top: 26px; }
  .philosophy__link { width: 128px; height: 128px; font-size: 10px; margin-top: 5vh; }
  .pillars { grid-template-columns: 1fr; margin-top: 9vh; }
  .pillar, .pillar + .pillar { padding: 26px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid rgba(255,255,255,0.2); }
  .pillar__title { font-size: 22px; margin-top: 10px; }

  /* Тест-драйв */
  .drive { padding: 10vh var(--pad); }
  .drive__grid { grid-template-columns: 1fr; gap: 12px; }
  .drive__visual { min-height: 66svh; }
  .drive__visual-body { left: 22px; right: 22px; bottom: 24px; }
  .drive__visual-body .eyebrow { margin-bottom: 14px; }
  .drive__contacts { grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 24px; padding-top: 18px; }
  .drive__contacts b { font-size: 15px; }
  .form { padding: 30px 20px 26px; }
  .form__models { gap: 8px; margin-top: 24px; }
  .mchoice__img { height: 92px; }
  .mchoice__txt { padding: 10px 12px; }
  .mchoice__txt b { font-size: 13px; }
  .mchoice__txt span { font-size: 10px; }
  .form__fields { grid-template-columns: 1fr; }
  .field input { font-size: 16px; }

  /* Новости */
  .news { padding: 12vh 0; }
  .news__grid, .more-news .news__grid { grid-template-columns: 1fr; gap: 12px; }
  .ncard--big { grid-row: auto; min-height: 66svh; }
  .ncard--sm, .more-news .ncard--sm { min-height: 46svh; }
  .ncard__body { left: 22px; right: 22px; bottom: 22px; }
  .ncard__title { font-size: 19px; }
  .ncard--big .ncard__title { font-size: clamp(25px, 6.8vw, 34px); }
  .ncard__text { font-size: 14px; }
  .ncard__arrow { width: 46px; height: 46px; right: 18px; top: 18px; }

  /* Футер */
  .marquee { padding: 5vh 0; }
  .marquee__item { font-size: 15vw; }
  .marquee__item svg { width: 10vw; height: 10vw; }
  .footer__main { padding: 10vh var(--pad) 6vh; gap: 44px; }
  .footer__lead .btn { margin-top: 28px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .fcol .big { font-size: 19px; }
  .fcol p, .fcol a { font-size: 15px; }
  .footer__map { height: auto; }
  .footer__map iframe { display: block; height: 58svh; }
  .footer__map-card { position: relative; left: auto; top: auto; width: auto; padding: 24px 22px; border-radius: 0; border: 0; background: var(--ink-3); }
  .footer__map-card img { height: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px var(--pad) calc(32px + env(safe-area-inset-bottom)); font-size: 12px; }

  /* Модалка */
  .modal__panel { width: 100%; }
  .modal__head { padding: 22px 20px 16px; }
  .modal__tabs { padding: 16px 20px 0; }
  .modal__body { padding: 8px 20px 28px; }
  .spec-table th, .spec-table td { font-size: 13px; padding: 13px 0; }
  .spec-table .c-label { width: 42%; }
  .spec-table th { padding-right: 10px; }
  .spec-table tbody td { padding-right: 8px; }
  .modal__foot { flex-direction: column; align-items: stretch; padding: 16px 20px calc(20px + env(safe-area-inset-bottom)); }

  /* Внутренние страницы */
  .page-hero { height: 100svh; min-height: 560px; }
  .page-hero .h-display { font-size: clamp(34px, 10.2vw, 64px); }
  .page-hero__content { flex-direction: column; align-items: flex-start; bottom: 8vh; gap: 20px; }
  .page-hero__aside { max-width: none; font-size: 15px; }
  .crumbs { margin-bottom: 18px; font-size: 10px; }

  .eastwest { padding: 10vh var(--pad); }
  .eastwest__grid { grid-template-columns: 1fr; gap: 32px; }
  .eastwest__media { height: 56svh; }
  .eastwest__text .lead { margin-top: 16px; }
  .eastwest__text blockquote { font-size: 18px; margin-top: 28px; padding-left: 18px; }

  .tech { padding: 12vh var(--pad); }
  .tech__grid { grid-template-columns: 1fr; gap: 10px; margin-top: 5vh; }
  .tech-card { height: 50svh; padding: 26px 22px; }
  .tech-card__text { max-height: none; opacity: 1; }

  .dealer { padding: 12vh var(--pad); }
  .dealer__head { grid-template-columns: 1fr; gap: 22px; }
  .dealer__head img { height: 54px; margin-bottom: 28px; }
  .dealer__video { height: 52svh; margin-top: 6vh; }
  .dealer__gallery { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .dealer__gallery div { height: 24svh; }
  .services { grid-template-columns: 1fr; margin-top: 7vh; }
  .service, .service + .service { padding: 24px 0; border-left: 0; }
  .service + .service { border-top: 1px solid var(--line-dark); }

  .cta-band { padding: 14vh var(--pad); }
  .cta-band .hero__actions { flex-direction: column; align-items: stretch; }

  .article-hero { padding: 16vh var(--pad) 0; }
  .article-hero__meta { flex-wrap: wrap; gap: 10px; font-size: 10px; margin-top: 20px; }
  .article-cover { margin: 6vh var(--pad) 0; height: 56svh; }
  .article { grid-template-columns: 1fr; gap: 28px; padding: 8vh var(--pad); }
  .article > div:empty { display: none; }
  .article__aside { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
  .article__aside b { margin-bottom: 8px; }
  .article__aside .btn { width: 100%; margin-top: 10px; }
  .article__body p { font-size: 17px; }
  .article__body p.lede { font-size: 20px; }
  .article__body h2 { font-size: 24px; }
  .article__body blockquote { padding: 26px 22px; font-size: 18px; }
  .gallery { padding: 0 var(--pad) 10vh; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 26svh; gap: 8px; margin-top: 4vh; }
  .gallery__grid figure, .gallery__grid figure:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery__grid figure:nth-child(1), .gallery__grid figure:nth-child(7) { grid-column: span 2; grid-row: span 1; }
  .more-news { padding: 10vh 0 12vh; }
}

@media (max-width: 480px) {
  .footer__cols { grid-template-columns: 1fr; }
  .hero__dot-label { display: none; }
  .sketch__marks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 374px) {
  .header .btn--sm { display: none; }
}

/* ==========================================================================
   Страницы моделей, новости, контакты, сервис, тест-драйв (десктоп)
   Мобильная адаптация этих блоков — отдельным этапом.
   ========================================================================== */

/* --- Hero модели --- */
.mhero { position: relative; height: 100vh; min-height: 720px; overflow: hidden; background: #000; }
.mhero__media { position: absolute; inset: 0; }
.mhero__media video { width: 100%; height: 100%; object-fit: cover; }
.mhero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,13,0.75) 0%, rgba(5,7,13,0.15) 55%, rgba(5,7,13,0) 75%), linear-gradient(0deg, rgba(5,7,13,0.9) 0%, rgba(5,7,13,0) 45%); }
.mhero__content { position: absolute; z-index: 2; left: var(--pad); bottom: 26vh; max-width: 60vw; }
.mhero__content .eyebrow { margin-bottom: 22px; color: rgba(255,255,255,0.75); }
.mhero__title { font-weight: 200; font-size: clamp(80px, 9vw, 176px); }
.mhero__title span { font-weight: 600; }
.mhero__stats { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 6vh; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,0.2); }
.mhero__stat { padding: 22px 24px 0 0; }
.mhero__stat + .mhero__stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,0.2); }
.mhero__stat b { display: block; font-family: var(--f-lat); font-weight: 200; font-size: clamp(34px, 2.8vw, 52px); line-height: 1; }
.mhero__stat b small { font-size: 0.4em; font-weight: 400; margin-left: 6px; }
.mhero__stat span { display: block; margin-top: 10px; font-size: 13px; color: rgba(255,255,255,0.65); }

/* --- Липкая поднавигация модели --- */
.msub { position: sticky; top: 76px; z-index: 800; display: flex; align-items: center; justify-content: space-between; gap: 30px; height: 68px; padding: 0 var(--pad); background: rgba(5,7,13,0.78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid rgba(255,255,255,0.08); transition: top 0.6s var(--ease); }
body.hdr-hidden .msub { top: 0; }
.msub__name { font-family: var(--f-lat); font-size: 13px; font-weight: 200; letter-spacing: 0.22em; text-transform: uppercase; }
.msub__name b { font-weight: 700; }
.msub__links { display: flex; gap: 34px; }
.msub__links a { position: relative; padding: 6px 0; font-size: 14px; color: rgba(255,255,255,0.65); transition: color 0.3s; }
.msub__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--blue-light); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.msub__links a:hover, .msub__links a.is-active { color: #fff; }
.msub__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.mover__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3vw; margin-top: 8vh; }

/* --- Переключатель картинок (ракурсы, салон) --- */
.views { padding: 4vh var(--pad) 18vh; background: linear-gradient(180deg, #f6f7f8 0%, var(--glacier) 100%); color: var(--ink); }
.switch__head { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: end; margin-bottom: 6vh; }
.switch__head .eyebrow { margin-bottom: 22px; }
.switch__stage { position: relative; height: 76vh; border-radius: var(--radius); overflow: hidden; background: #c9cfd2; }
.switch__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.switch__cap { position: absolute; z-index: 3; left: 30px; bottom: 26px; font-family: var(--f-lat); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(5,7,13,0.55); }
.switch__cap b { margin-left: 12px; color: var(--ink); font-weight: 600; }
.switch__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.switch__btn { height: 46px; padding: 0 22px; border-radius: 100px; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line-dark); transition: background 0.35s, color 0.35s, box-shadow 0.35s; }
.switch__btn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.switch__btn.is-active { background: var(--ink); color: #fff; box-shadow: none; }
.switch--dark .switch__stage { background: var(--ink-3); }
.switch--dark .switch__stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(0deg, rgba(5,7,13,0.7) 0%, rgba(5,7,13,0) 30%); }
.switch--dark .switch__cap { color: rgba(255,255,255,0.6); }
.switch--dark .switch__cap b { color: #fff; }
.switch--dark .switch__btn { box-shadow: inset 0 0 0 1px var(--line); }
.switch--dark .switch__btn:hover { box-shadow: inset 0 0 0 1px #fff; }
.switch--dark .switch__btn.is-active { background: #fff; color: var(--ink); }

/* --- Салон: сетка возможностей --- */
.mint { padding: 18vh var(--pad); background: var(--ink-2); }
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 12vh; }
.fgrid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr); }
.fgrid__cell { display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: 34px 30px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.08); transition: border-color 0.5s, transform 0.6s var(--ease); }
.fgrid__cell:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-6px); }
.fgrid__num { font-family: var(--f-lat); font-weight: 200; font-size: 64px; line-height: 1; letter-spacing: -0.02em; }
.fgrid__num small { font-size: 0.34em; font-weight: 400; margin-left: 4px; }
.fgrid__title { margin-top: 40px; font-size: 19px; font-weight: 400; }
.fgrid__cell p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.fgrid__img { position: relative; min-height: 300px; border-radius: var(--radius); overflow: hidden; }
.fgrid__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fgrid__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,7,13,0.8) 0%, rgba(5,7,13,0) 50%); }
.fgrid__img span { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 22px; font-size: 14px; }

/* --- Технологии: чередующиеся ряды --- */
.mtech { padding: 18vh var(--pad); background: var(--ink); }
.srow { display: grid; grid-template-columns: 1.15fr 1fr; gap: 5vw; align-items: center; margin-top: 14vh; }
.srow--rev .srow__img { order: 2; }
.srow__img { position: relative; height: 72vh; border-radius: var(--radius); overflow: hidden; }
.srow__img img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; }
.srow__text .eyebrow { margin-bottom: 22px; }
.srow__text .lead { margin-top: 22px; }
.srow__text .lounge__list { margin-top: 34px; }

/* --- Характеристики --- */
.specs { padding: 16vh var(--pad); background: var(--glacier); color: var(--ink); }
.specs__head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4vw; align-items: end; }
.specs__head .eyebrow { margin-bottom: 22px; }
.specs__img { position: relative; height: 44vh; border-radius: var(--radius); overflow: hidden; background: #c9cfd2; }
.specs__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.specs__table { margin-top: 8vh; }
.specs__table .c-label { width: 40%; }
.specs__table th { font-size: 16px; }
.specs__table td { font-size: 16px; }
.specs__note { margin-top: 24px; font-size: 13px; color: var(--muted-dark); }

/* --- Следующая модель --- */
.mnext { padding: 14vh var(--pad); background: var(--ink); }
.mnext__card { display: grid; grid-template-columns: 1.4fr 1fr; min-height: 72vh; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.mnext__img { position: relative; overflow: hidden; }
.mnext__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.mnext__card:hover .mnext__img img { transform: scale(1.06); }
.mnext__body { display: flex; flex-direction: column; justify-content: center; padding: 6vw 4vw; }
.mnext__name { margin-top: 26px; font-family: var(--f-lat); font-weight: 600; font-size: clamp(100px, 9vw, 170px); line-height: 0.85; letter-spacing: -0.02em; }
.mnext__name span { display: block; margin-bottom: 14px; font-weight: 200; font-size: 0.3em; letter-spacing: 0.08em; color: rgba(255,255,255,0.75); }
.mnext__body .lead { margin-top: 24px; }
.mnext__body .link-arrow { margin-top: 40px; }
.mnext__card:hover .link-arrow i { background: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); color: #fff; }

/* --- Палитра B8 --- */
.palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 10vh; }
.palette__item i { display: block; height: 120px; border-radius: 16px; background: var(--c); box-shadow: inset 0 -30px 50px rgba(0,0,0,0.3), inset 0 20px 40px rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.08); }
.palette__item b { display: block; margin-top: 16px; font-family: var(--f-lat); font-weight: 500; font-size: 14px; letter-spacing: 0.04em; }
.palette__item span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.palette__note { margin-top: 24px; font-size: 13px; color: var(--muted); }

/* --- Список новостей --- */
.nhero { padding-bottom: 6vh; }
.nhero__lead { margin-top: 26px; max-width: 50ch; }
.nfilter { display: flex; align-items: center; gap: 10px; margin-top: 7vh; }
.nfilter__btn { height: 46px; padding: 0 22px; border-radius: 100px; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line); transition: background 0.35s, color 0.35s; }
.nfilter__btn:hover { box-shadow: inset 0 0 0 1px #fff; }
.nfilter__btn.is-active { background: #fff; color: var(--ink); }
.nfilter__count { margin-left: auto; font-size: 13px; color: var(--muted); }
.nfilter__count b { color: #fff; font-weight: 500; }
.nlist { padding: 0 var(--pad) 16vh; background: var(--ink); }
.nlist__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 42vh; gap: 18px; }
.ncard--feature { grid-column: span 2; grid-row: span 2; }
.ncard--feature .ncard__title { font-size: clamp(30px, 2.4vw, 46px); font-weight: 300; line-height: 1.12; max-width: 22ch; }
.ncard--tile .ncard__text { display: none; }
.ncard.is-hidden { display: none; }

/* --- Контакты --- */
.chero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5vw; align-items: end; padding: 22vh var(--pad) 10vh; background: var(--ink); }
.chero__text .lead { margin-top: 24px; max-width: 40ch; }
.chero__text .hero__actions { margin-top: 40px; }
.chero__img { position: relative; height: 70vh; border-radius: var(--radius); overflow: hidden; }
.chero__img img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.cgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0 var(--pad) 12vh; background: var(--ink); }
.ccard { display: flex; flex-direction: column; gap: 8px; padding: 34px 30px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.08); transition: border-color 0.5s, transform 0.6s var(--ease); }
a.ccard:hover { border-color: var(--blue-light); transform: translateY(-6px); }
.ccard__num { font-family: var(--f-lat); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: var(--blue-light); }
.ccard__label { margin-top: 40px; font-size: 13px; color: var(--muted); }
.ccard b { font-family: var(--f-lat); font-weight: 400; font-size: 28px; letter-spacing: 0.01em; }
.ccard b.ccard__mail { font-family: var(--f-text); font-size: 19px; font-weight: 400; }
.ccard__hint { font-size: 13px; color: var(--muted); }
.cmap { padding: 0 var(--pad) 14vh; background: var(--ink); }
.cmap iframe { display: block; width: 100%; height: 72vh; border: 0; border-radius: var(--radius); filter: grayscale(1) contrast(1.06) brightness(1.03); }

/* --- Блок с формой заявки --- */
.lead-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: start; padding: 16vh var(--pad); background: var(--glacier); color: var(--ink); }
.lead-sec__text { position: sticky; top: 130px; }
.lead-sec__text .eyebrow { margin-bottom: 22px; }
.lead-sec__text .lead { margin-top: 24px; max-width: 44ch; }
.lead-sec__img { position: relative; height: 46vh; margin-top: 6vh; border-radius: var(--radius); overflow: hidden; }
.lead-sec__img img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }

.chips { margin-top: 28px; }
.chips__label { margin-bottom: 12px; font-family: var(--f-lat); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-dark); }
.chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 100px; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line-dark); transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.chip:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.chip input:checked + span { background: var(--blue); color: #fff; box-shadow: none; }
.field textarea { width: 100%; min-height: 96px; padding-top: 30px; border-bottom: 1px solid rgba(5,7,13,0.18); font-size: 17px; color: var(--ink); resize: vertical; border-radius: 0; }
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label { transform: translateY(-28px); font-size: 12px; color: var(--blue); letter-spacing: 0.04em; }
.field textarea:focus ~ .field__line { transform: scaleX(1); }

/* --- Сервис --- */
.page-title { font-size: clamp(56px, 5.6vw, 108px); font-weight: 300; letter-spacing: -0.03em; line-height: 1; }
.svc-phone { display: block; margin-top: 22px; }
.svc-phone span { display: block; font-size: 12px; color: rgba(255,255,255,0.6); }
.svc-phone b { font-family: var(--f-lat); font-weight: 400; font-size: 30px; color: #fff; }
.svc { padding: 16vh var(--pad); background: var(--ink); }
.svc__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8vh; }
.svc-card { position: relative; height: 60vh; border-radius: var(--radius); overflow: hidden; }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.svc-card:hover img { transform: scale(1.07); }
.svc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,7,13,0.94) 0%, rgba(5,7,13,0.35) 55%, rgba(5,7,13,0.15) 100%); }
.svc-card__body { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 30px; }
.svc-card__body h3 { margin-top: 16px; font-size: 22px; font-weight: 400; }
.svc-card__body p { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,0.7); }
.steps, .tdinfo { padding: 0 var(--pad) 16vh; background: var(--ink); }
.tdinfo { padding-top: 16vh; }
.steps__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 6vh; border-top: 1px solid var(--line); }
.steps__list li { padding: 34px 2.4vw 0 0; }
.steps__list li + li { padding-left: 2.4vw; border-left: 1px solid var(--line); }
.steps__list span { font-family: var(--f-lat); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; color: var(--blue-light); }
.steps__list b { display: block; margin-top: 22px; font-size: 22px; font-weight: 400; }
.steps__list p { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* --- Тест-драйв --- */
body[data-page="test-drive"] .header { background: rgba(5,7,13,0.62); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: rgba(255,255,255,0.06); }
.td { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; background: var(--glacier); color: var(--ink); }
.td__visual { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #000; color: #fff; }
.td__img { position: absolute; inset: 0; opacity: 0; }
.td__img.is-active { opacity: 1; }
.td__img img { width: 100%; height: 100%; object-fit: cover; }
.td__visual::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(5,7,13,0.85) 0%, rgba(5,7,13,0) 50%), linear-gradient(180deg, rgba(5,7,13,0.5) 0%, rgba(5,7,13,0) 25%); }
.td__visual-body { position: absolute; z-index: 2; left: var(--pad); right: 4vw; bottom: 8vh; }
.td__name { font-family: var(--f-lat); font-weight: 600; font-size: clamp(90px, 8.4vw, 160px); line-height: 0.85; letter-spacing: -0.02em; }
.td__name span { display: block; margin-bottom: 14px; font-weight: 200; font-size: 0.3em; letter-spacing: 0.08em; color: rgba(255,255,255,0.75); }
.td__name b { display: inline-block; font-weight: 600; }
.td__visual-body p { margin-top: 20px; font-size: 18px; font-weight: 300; max-width: 34ch; color: rgba(255,255,255,0.85); }
.td__panel { display: flex; align-items: center; padding: 140px 5vw 10vh; }
.form--steps { width: 100%; min-height: 640px; }
.step { border: 0; min-width: 0; display: none; }
.step.is-active { display: block; }
.step__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 34px; }
.steps-bar { display: flex; align-items: center; gap: 18px; margin-bottom: 34px; }
.steps-bar__label { font-family: var(--f-lat); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-dark); white-space: nowrap; }
.steps-bar__label b { color: var(--ink); }
.steps-bar__track { position: relative; flex: 1; height: 2px; background: var(--line-dark); overflow: hidden; }
.steps-bar__track i { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(0.3333); }

/* --- Bento-коллаж (экстерьер B5, детали B8): без подписей и без анимации сдвига --- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 30vh; gap: 14px; }
.bento__item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.bento--light .bento__item { background: #c9cfd2; }
.bento__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento__item:hover img { transform: scale(1.04); }
.bento--6 .bento__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento--6 .bento__item:nth-child(2), .bento--6 .bento__item:nth-child(5), .bento--6 .bento__item:nth-child(6) { grid-column: span 2; }
.bento--5 .bento__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento--light .bento__item img { object-position: 50% 62%; }
.details { padding: 4vh var(--pad) 18vh; background: #000; }

/* Цены */
.mhero__price { margin-top: 18px; font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.75); }
.mhero__price b { font-family: var(--f-lat); font-weight: 500; font-size: clamp(24px, 2vw, 34px); letter-spacing: -0.01em; color: #fff; margin: 0 4px 0 6px; }
.model-panel__price { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,0.7); }
.model-panel__price b { font-family: var(--f-lat); font-weight: 500; font-size: 20px; color: #fff; margin-left: 4px; }
.prices { padding: 16vh var(--pad); background: var(--ink); color: #fff; }
.prices__head { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: end; }
.prices__head .eyebrow { margin-bottom: 22px; }
.prices__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8vh; }
.pcard { display: flex; flex-direction: column; justify-content: space-between; gap: 6vh; min-height: 340px; padding: 40px 40px 36px; border-radius: var(--radius); background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); }
.pcard--accent { background: var(--blue); box-shadow: none; }
.pcard__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pcard__trim { font-family: var(--f-lat); font-size: clamp(28px, 2.6vw, 44px); font-weight: 400; letter-spacing: -0.02em; }
.pcard__seats { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.pcard__price b { display: block; font-family: var(--f-lat); font-weight: 400; font-size: clamp(28px, 3vw, 54px); letter-spacing: -0.03em; line-height: 1.05; white-space: nowrap; }
.pcard__price small { display: block; margin-top: 8px; font-size: 14px; color: rgba(255,255,255,0.7); }
.pcard .btn { align-self: flex-start; }
.prices__note { margin-top: 28px; font-size: 13px; color: rgba(255,255,255,0.6); }
@media (max-width: 820px) {
  .prices { padding: 10vh var(--pad); }
  .prices__head { grid-template-columns: 1fr; gap: 20px; }
  .prices__grid { grid-template-columns: 1fr; margin-top: 5vh; }
  .pcard { min-height: 0; padding: 28px 24px; }
}

/* ==========================================================================
   Телефон ≤ 820px: страницы моделей, новости, контакты, сервис, тест-драйв
   ========================================================================== */
@media (max-width: 820px) {
  /* Hero модели */
  .mhero { height: 100svh; min-height: 600px; }
  .mhero__content { left: var(--pad); right: var(--pad); bottom: 190px; max-width: none; }
  .mhero__content .eyebrow { margin-bottom: 14px; }
  .mhero__title { font-size: clamp(64px, 20vw, 110px); }
  .mhero__price { margin-top: 12px; font-size: 13px; }
  .mhero__price b { font-size: 22px; }
  .mhero__media::after { background: linear-gradient(0deg, rgba(5,7,13,0.94) 0%, rgba(5,7,13,0.45) 55%, rgba(5,7,13,0.25) 100%); }
  .mhero__stats { left: var(--pad); right: var(--pad); bottom: 24px; grid-template-columns: 1fr 1fr; }
  .mhero__stat, .mhero__stat + .mhero__stat { padding: 12px 10px 0 0; border-left: 0; }
  .mhero__stat:nth-child(even) { padding-left: 14px; border-left: 1px solid rgba(255,255,255,0.2); }
  .mhero__stat:nth-child(n+3) { margin-top: 12px; border-top: 1px solid rgba(255,255,255,0.2); }
  .mhero__stat b { font-size: 30px; }
  .mhero__stat span { margin-top: 6px; font-size: 11px; }

  /* Липкая поднавигация */
  .msub { top: 64px; height: 52px; gap: 12px; }
  body.hdr-hidden .msub { top: 0; }
  .msub__name, .msub .btn { display: none; }
  .msub__links { flex: 1; gap: 22px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .msub__links::-webkit-scrollbar { display: none; }
  .msub__links a { flex: none; white-space: nowrap; font-size: 13px; }
  .mover__cols { grid-template-columns: 1fr; gap: 16px; margin-top: 5vh; }

  /* Переключатель и ракурсы */
  .views { padding: 4vh var(--pad) 10vh; }
  .switch__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 4vh; }
  .switch__head .eyebrow { margin-bottom: 14px; }
  .switch__stage { height: 52svh; }
  .switch__cap { left: 16px; bottom: 14px; font-size: 9px; }
  .switch__btns { gap: 8px; margin-top: 18px; }
  .switch__btn { height: 42px; padding: 0 16px; font-size: 13px; }

  /* Салон: сетка */
  .mint { padding: 12vh var(--pad); }
  .fgrid, .fgrid:has(> :nth-child(6):last-child) { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6vh; }
  .fgrid__cell { min-height: 190px; padding: 20px 16px; }
  .fgrid__cell:hover { transform: none; }
  .fgrid__num { font-size: 40px; }
  .fgrid__title { margin-top: 22px; font-size: 16px; }
  .fgrid__cell p { font-size: 13px; }
  .fgrid__img { min-height: 190px; }
  .fgrid__img span { left: 14px; right: 14px; bottom: 14px; font-size: 13px; }

  /* Технологии: ряды */
  .mtech { padding: 12vh var(--pad); }
  .srow { grid-template-columns: 1fr; gap: 24px; margin-top: 8vh; }
  .srow--rev .srow__img { order: 0; }
  .srow__img { height: 46svh; }
  .srow__text .lounge__list { margin-top: 24px; }

  /* Bento-коллажи */
  .bento, .bento--6, .bento--5 { grid-template-columns: 1fr 1fr; grid-auto-rows: 22svh; gap: 8px; }
  .bento--6 .bento__item:nth-child(n), .bento--5 .bento__item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .bento--6 .bento__item:nth-child(1), .bento--6 .bento__item:nth-child(6), .bento--5 .bento__item:nth-child(1) { grid-column: span 2; }
  .details { padding: 2vh var(--pad) 10vh; }

  /* Характеристики */
  .specs { padding: 10vh var(--pad); }
  .specs__head { grid-template-columns: 1fr; gap: 24px; }
  .specs__head .eyebrow { margin-bottom: 14px; }
  .specs__img { height: 30svh; }
  .specs__table { margin-top: 4vh; }
  .specs__table .c-label { width: 42%; }
  .specs__table th, .specs__table td { font-size: 13px; }
  .specs__legend { gap: 8px 18px; font-size: 12px; margin-top: 20px; }

  /* Следующая модель */
  .mnext { padding: 10vh var(--pad); }
  .mnext__card { grid-template-columns: 1fr; min-height: 0; }
  .mnext__img { height: 40svh; }
  .mnext__body { padding: 28px 22px 32px; }
  .mnext__name { margin-top: 18px; font-size: clamp(84px, 26vw, 120px); }
  .mnext__body .link-arrow { margin-top: 28px; }

  /* Палитра B8 */
  .palette { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 5vh; }
  .palette__item i { height: 88px; }
  .palette__item b { margin-top: 12px; }

  /* Список новостей */
  .nhero { padding-bottom: 4vh; }
  .nhero__lead { margin-top: 18px; }
  .nfilter { flex-wrap: wrap; gap: 8px; margin-top: 5vh; }
  .nfilter__btn { height: 42px; padding: 0 16px; font-size: 13px; }
  .nfilter__count { width: 100%; margin: 6px 0 0; }
  .nlist { padding: 0 var(--pad) 10vh; }
  .nlist__grid { grid-template-columns: 1fr; grid-auto-rows: minmax(46svh, auto); gap: 12px; }
  .ncard--feature { grid-column: span 1; grid-row: span 1; min-height: 62svh; }
  .ncard--feature .ncard__title { font-size: clamp(25px, 6.8vw, 34px); }

  /* Контакты */
  .chero { grid-template-columns: 1fr; gap: 32px; padding: 16vh var(--pad) 6vh; }
  .chero__text .lead { margin-top: 16px; }
  .chero__text .hero__actions { margin-top: 26px; }
  .chero__img { height: 44svh; }
  .cgrid { grid-template-columns: 1fr; gap: 10px; padding: 0 var(--pad) 8vh; }
  .ccard { padding: 22px 20px; }
  .ccard__label { margin-top: 18px; }
  .ccard b { font-size: 24px; }
  .ccard b.ccard__mail { font-size: 17px; overflow-wrap: anywhere; }
  .cmap { padding: 0 var(--pad) 8vh; }
  .cmap iframe { height: 56svh; }

  /* Блок с формой */
  .lead-sec { grid-template-columns: 1fr; gap: 28px; padding: 10vh var(--pad); }
  .lead-sec__text { position: static; }
  .lead-sec__text .lead { margin-top: 16px; }
  .lead-sec__img { height: 30svh; margin-top: 4vh; }
  .chips { margin-top: 22px; }
  .chip span { height: 40px; padding: 0 15px; font-size: 13px; }
  .field textarea { font-size: 16px; }

  /* Сервис */
  .page-title { font-size: clamp(40px, 11.4vw, 64px); }
  .svc-phone b { font-size: 26px; }
  .svc { padding: 12vh var(--pad); }
  .svc__grid { grid-template-columns: 1fr; gap: 10px; margin-top: 5vh; }
  .svc-card { height: 46svh; }
  .svc-card:hover img { transform: none; }
  .svc-card__body { left: 22px; right: 22px; bottom: 24px; }
  .steps, .tdinfo { padding: 0 var(--pad) 10vh; }
  .tdinfo { padding-top: 10vh; }
  .steps__list { grid-template-columns: 1fr; margin-top: 4vh; }
  .steps__list li, .steps__list li + li { padding: 22px 0; border-left: 0; }
  .steps__list li + li { border-top: 1px solid var(--line); }
  .steps__list b { margin-top: 12px; font-size: 20px; }

  /* Тест-драйв */
  .td { grid-template-columns: 1fr; min-height: 0; }
  .td__visual { position: relative; top: auto; height: 62svh; min-height: 440px; }
  .td__visual-body { left: var(--pad); right: var(--pad); bottom: 24px; }
  .td__name { font-size: clamp(56px, 17vw, 88px); }
  .td__visual-body p { margin-top: 12px; font-size: 15px; }
  .td__visual-body .crumbs { display: none; }
  .td__panel { padding: 32px var(--pad) 12vh; }
  .form--steps { min-height: 0; }
  .steps-bar { gap: 12px; margin-bottom: 24px; }
  .step__nav { flex-wrap: wrap; gap: 12px; margin-top: 26px; }
}
