/* ==========================================================================
   M PRO GROUP — сайт склада для лизинговых сделок
   Тёмная студия, красный сигнальный акцент, широкая гротескная типографика.
   ========================================================================== */

:root {
  --bg: #070708;
  --bg-2: #0c0c0f;
  --panel: #111115;
  --panel-2: #17171c;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f3f0eb;
  --muted: #9a968f;
  --dim: #5f5c58;
  --red: #ff2a2a;
  --red-2: #d0101c;
  --red-glow: rgba(255, 42, 42, .42);
  --accent: var(--red);
  --font-d: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-b: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-m: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --pad: clamp(18px, 4.2vw, 72px);
  --radius: 22px;
  --hdr: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); -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 {
  margin: 0;
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--font-m); letter-spacing: .02em; }
.red { color: var(--red); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── зерно поверх всего ─────────────────────────────────────────── */
.noise {
  position: fixed; inset: 0; z-index: 9990; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ── курсор ─────────────────────────────────────────────────────── */
.cursor { position: fixed; left: 0; top: 0; z-index: 9995; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: text; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--red); }
.cursor__ring {
  width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .45);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), background .3s, border-color .3s;
}
.cursor__label { font-family: var(--font-m); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transition: opacity .2s; color: #fff; white-space: nowrap; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; border-color: var(--red); background: rgba(255, 42, 42, .12); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; border-color: transparent; background: var(--red); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }

/* ── прелоадер и шторка переходов ───────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 9980; display: grid; place-items: center;
  background: var(--bg);
}
.preloader__half { position: absolute; left: 0; right: 0; height: 50.5%; background: #050506; }
.preloader__half--top { top: 0; }
.preloader__half--bot { bottom: 0; }
.preloader__inner { position: relative; z-index: 2; width: min(520px, 82vw); }
.preloader__mark { width: 132px; height: 56px; margin-bottom: 34px; overflow: visible; }
.preloader__mark path { transform-box: fill-box; }
.preloader__row { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-m); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.preloader__count { font-family: var(--font-d); font-weight: 700; font-size: clamp(54px, 9vw, 96px); line-height: 1; color: var(--text); letter-spacing: -.03em; }
.preloader__bar { height: 2px; background: var(--line); margin-top: 22px; overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 0; background: var(--red); box-shadow: 0 0 16px var(--red-glow); }

.curtain {
  position: fixed; inset: 0; z-index: 9985; pointer-events: none;
  background: var(--red-2); transform: translateY(100%);
  display: grid; place-items: center;
}
.curtain svg { width: 120px; color: #fff; opacity: .9; }
.curtain.is-cover { transform: translateY(0); }

/* ── шапка ──────────────────────────────────────────────────────── */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: var(--hdr);
  display: flex; align-items: center;
  transition: transform .5s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.hdr.is-solid { background: rgba(7, 7, 8, .92); border-color: var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 46px; height: 20px; color: #3a3a40; flex: none; }
.logo__text { font-family: var(--font-d); font-weight: 600; font-size: 13px; letter-spacing: .28em; white-space: nowrap; }
.logo__text b { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--red) 50%, #2a2a2e 50%); margin: 0 .2em 0 0; transform: translateY(-2px); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 14px; font-size: 14px; font-weight: 600; color: rgba(243, 240, 235, .78);
  border-radius: 999px; transition: color .3s, background .3s;
}
.nav a:hover, .nav a.is-active { color: #fff; background: rgba(255, 255, 255, .06); }
.live {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); font-family: var(--font-m); font-size: 12px; color: var(--muted); white-space: nowrap;
}
.live b { color: var(--text); font-weight: 600; }
.live i, .pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.live i::after, .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; margin-left: auto; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.mmenu {
  position: fixed; inset: 0; z-index: 890; background: #070708; padding: calc(var(--hdr) + 30px) var(--pad) 40px;
  display: flex; flex-direction: column; gap: 6px; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io);
}
.menu-open .mmenu { clip-path: inset(0 0 0 0); }
.menu-open .hdr { transform: none !important; background: #070708; }
.mmenu a { font-family: var(--font-d); font-size: clamp(30px, 9vw, 44px); font-weight: 600; letter-spacing: -.02em; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mmenu .mmenu__foot { margin-top: auto; font-family: var(--font-m); color: var(--muted); font-size: 13px; display: grid; gap: 6px; }
.mmenu .mmenu__foot a { font-family: var(--font-m); font-size: 15px; letter-spacing: 0; border: 0; padding: 2px 0; color: var(--text); }

/* ── кнопки ─────────────────────────────────────────────────────── */
.btn {
  --h: 58px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 28px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-weight: 700; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .4s, background .4s, color .3s, border-color .3s;
}
.btn--red { background: linear-gradient(135deg, #ff3b3b, var(--red-2)); color: #fff; box-shadow: 0 14px 40px -12px var(--red-glow); }
.btn--red::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--red:hover::after { transform: translateX(120%); }
.btn--red:hover { box-shadow: 0 18px 50px -10px rgba(255, 42, 42, .65); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(14, 14, 17, .55); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 14px; }
.btn__arrow { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn > * { pointer-events: none; }

/* ── общие заголовки секций ─────────────────────────────────────── */
.section { position: relative; padding: clamp(90px, 13vw, 190px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-m); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--red); }
.h2 {
  font-family: var(--font-d); font-weight: 700; letter-spacing: -.035em; line-height: .98;
  font-size: clamp(38px, 6.4vw, 104px); margin: 22px 0 0; text-transform: uppercase;
}
.h2 em { font-style: normal; color: var(--red); }
/* вторая часть заголовка — приглушённая заливка. Контуром (text-stroke) нельзя: буквы Unbounded собраны
   из перекрывающихся частей, и контур рисует их стыки внутри букв */
.h2 .mute { color: rgba(243, 240, 235, .36); }
.lead { font-size: clamp(17px, 1.45vw, 21px); color: rgba(243, 240, 235, .74); max-width: 640px; line-height: 1.6; margin: 26px 0 0; }
.sec-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head .lead { margin: 0 0 8px; justify-self: end; }

/* разбивка текста на строки/слова для анимаций */
.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-line > span { display: inline-block; }
.split-word { display: inline-block; white-space: nowrap; }

/* ── HERO ───────────────────────────────────────────────────────── */
.hero { position: relative; height: 100vh; min-height: 680px; overflow: hidden; background: #050506; }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero.is-off .hero__slide img, .hero.is-off .hero__sweep::before { animation-play-state: paused; }
.hero__slide { position: absolute; inset: 0; opacity: 0; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; transform: scale(1.06); will-change: transform; }
.hero__slide.is-active img { animation: kenburns 14s linear both; }
@keyframes kenburns-m { from { transform: scale(1.05); } to { transform: scale(1); } }
@keyframes kenburns { from { transform: scale(1.12) translate3d(0, 0, 0); } to { transform: scale(1.02) translate3d(-1.2%, 0, 0); } }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, .92) 0%, rgba(5, 5, 6, .55) 38%, rgba(5, 5, 6, 0) 66%),
    linear-gradient(0deg, rgba(5, 5, 6, .96) 0%, rgba(5, 5, 6, 0) 36%),
    linear-gradient(180deg, rgba(5, 5, 6, .7) 0%, rgba(5, 5, 6, 0) 22%);
}
/* «M PRO» тонким контуром. Картинкой, а не text-stroke: буквы шрифта собраны из перекрывающихся частей,
   и text-stroke рисует их стыки — поверх фото это выглядело изломами. В ghost-*.png только внешний контур
   (размеры — в долях кегля: тот же текст был 27vw, letter-spacing −.06em) */
.hero__ghost { position: absolute; left: calc(-2vw + .052 * 27vw); top: 14vh; z-index: 1; width: calc(3.875 * 27vw); max-width: none; height: auto; pointer-events: none; opacity: .08; will-change: transform;
  /* контур виден только на тёмной части слева: поверх машины линии букв выглядели как трещины на фото */
  -webkit-mask-image: linear-gradient(90deg, #000 26%, transparent 46%); mask-image: linear-gradient(90deg, #000 26%, transparent 46%); }
.hero__sweep { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__sweep::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -45%; width: 45%;
  background: linear-gradient(105deg, transparent 10%, rgba(255, 60, 60, .1) 45%, rgba(255, 255, 255, .05) 50%, transparent 90%);
  animation: sweep 7s var(--ease-io) infinite; will-change: transform;
}
@keyframes sweep { 0% { transform: translateX(0); } 60%, 100% { transform: translateX(340%); } }
.hero__content {
  position: relative; z-index: 3; height: 100%;
  display: grid; grid-template-rows: 1fr auto; padding-top: calc(var(--hdr) + 4vh); padding-bottom: 42px; will-change: transform, opacity;
}
.hero__top { align-self: center; max-width: 1080px; }
.hero__title {
  font-family: var(--font-d); font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 5.8vw, 114px); line-height: .9; letter-spacing: -.045em; margin: 26px 0 0;
}
.hero__title .red { color: var(--red); }
.hero__sub { margin-top: 32px; max-width: 560px; font-size: clamp(16px, 1.3vw, 19px); color: rgba(243, 240, 235, .78); }
.hero__sub b { color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__bottom { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.hero__car { display: flex; align-items: center; gap: 18px; }
.hero__car-idx { font-family: var(--font-m); font-size: 12px; color: var(--muted); }
.hero__car-name { font-family: var(--font-d); font-weight: 600; font-size: 15px; letter-spacing: .02em; }
.hero__car-price { font-family: var(--font-m); font-size: 13px; color: var(--muted); }
.hero__car a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #fff; border-bottom: 1px solid var(--red); padding-bottom: 2px; }
.hero__progress { display: flex; gap: 8px; }
.hero__progress button { width: 54px; height: 3px; background: rgba(255, 255, 255, .18); position: relative; overflow: hidden; border-radius: 2px; }
.hero__progress button i { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.hero__panel {
  position: absolute; right: var(--pad); top: calc(var(--hdr) + 5vh); z-index: 4; width: 300px;
  padding: 22px; border-radius: var(--radius); border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(34, 34, 40, .86), rgba(16, 16, 20, .8));
}
.hero__panel-top { display: flex; align-items: center; gap: 10px; font-family: var(--font-m); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.hero__panel-num { font-family: var(--font-d); font-weight: 700; font-size: 54px; line-height: 1; letter-spacing: -.04em; margin: 16px 0 4px; }
.hero__panel-cap { color: var(--muted); font-size: 14px; }
.hero__panel-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.hero__panel-row b { display: block; font-family: var(--font-d); font-size: 22px; letter-spacing: -.02em; }
.hero__panel-row span { font-size: 12px; color: var(--muted); }
.spark { width: 100%; height: 46px; margin-top: 14px; overflow: visible; }
.spark path.l { fill: none; stroke: var(--red); stroke-width: 2; }
.spark path.a { fill: url(#sparkFill); }
.scroll-cue { display: flex; align-items: center; gap: 12px; font-family: var(--font-m); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 46px; background: rgba(255, 255, 255, .2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--red); transform: translateY(-100%); animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { to { transform: translateY(260%); } }

/* ── бегущая строка поступлений ─────────────────────────────────── */
.ticker { position: relative; z-index: 5; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0a0a0c; overflow: hidden; display: flex; }
.ticker__label {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 0 22px; background: var(--red-2); color: #fff;
  font-family: var(--font-m); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; z-index: 2;
}
.ticker__track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: flex; align-items: center; gap: 14px; padding: 18px 30px; white-space: nowrap; font-size: 14px; border-right: 1px solid var(--line); }
.ticker__item b { font-family: var(--font-d); font-weight: 600; font-size: 13px; letter-spacing: .02em; }
.ticker__item span { color: var(--muted); font-family: var(--font-m); font-size: 12px; }
.ticker__item em { font-style: normal; font-family: var(--font-m); font-size: 13px; color: #fff; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── 01 склад в цифрах ──────────────────────────────────────────── */
.stock { overflow: hidden; }
.stock__flow { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.stock .wrap { position: relative; z-index: 2; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 34px 26px 30px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 26px; }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-d); font-weight: 700; font-size: clamp(46px, 5.6vw, 92px); line-height: 1; letter-spacing: -.05em; }
.stat__num sup { font-size: .38em; vertical-align: top; position: relative; top: .3em; color: var(--red); margin-left: 4px; letter-spacing: 0; }
.stat__cap { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 230px; }
.chart { margin-top: clamp(50px, 6vw, 80px); display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: end; }
.chart__box { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0)); }
.chart__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 22px; }
.chart__title { font-weight: 700; font-size: 17px; }
.chart__note { font-family: var(--font-m); font-size: 12px; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 210px; }
.bar { flex: 1; position: relative; height: 100%; display: flex; align-items: flex-end; }
.bar i { display: block; width: 100%; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, rgba(255, 42, 42, .95), rgba(255, 42, 42, .25)); transform-origin: bottom; transform: scaleY(0); }
.bar:hover i { background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .3)); }
.bar span { position: absolute; left: 50%; bottom: calc(var(--h) + 8px); transform: translateX(-50%); font-family: var(--font-m); font-size: 11px; color: #fff; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.bar:hover span { opacity: 1; }
.bars__axis { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--font-m); font-size: 11px; color: var(--dim); }
.mix { display: grid; gap: 22px; }
.mix__row { display: grid; gap: 10px; }
.mix__label { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.mix__label b { color: var(--text); font-family: var(--font-m); font-weight: 600; }
.mix__bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.mix__bar i { display: block; height: 100%; transform-origin: left; }
.mix__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--muted); }
.mix__legend span { display: inline-flex; align-items: center; gap: 6px; }
.mix__legend span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c); }

/* ── 02 марки ───────────────────────────────────────────────────── */
.brands__list { border-top: 1px solid var(--line); }
.brand-row {
  position: relative; display: grid; grid-template-columns: 70px 1fr auto 40px; align-items: center; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line); overflow: hidden;
}
.brand-row__idx { font-family: var(--font-m); font-size: 12px; color: var(--dim); }
.brand-row__name {
  font-family: var(--font-d); font-weight: 700; text-transform: uppercase; letter-spacing: -.03em;
  font-size: clamp(30px, 4.6vw, 74px); line-height: 1;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--text) 50% 100%); background-size: 200% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: background-position .7s var(--ease);
}
.brand-row:hover .brand-row__name { background-position: 0 0; }
.brand-row__count { font-family: var(--font-m); font-size: 14px; color: var(--muted); text-align: right; }
.brand-row__count b { display: block; font-family: var(--font-d); font-size: 26px; color: var(--text); letter-spacing: -.02em; }
.brand-row__share { position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--red); width: var(--w); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.brand-row.is-in .brand-row__share { transform: scaleX(1); }
.brand-row__go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .5s var(--ease); }
.brand-row__go svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.brand-row:hover .brand-row__go { background: var(--red); border-color: var(--red); }
.brand-row:hover .brand-row__go svg { transform: rotate(-45deg); }
.brand-row__peek {
  position: absolute; right: 120px; top: 50%; width: 220px; height: 140px; border-radius: 14px; overflow: hidden; pointer-events: none;
  transform: translateY(-50%) scale(.6) rotate(-6deg); opacity: 0; transition: transform .6s var(--ease), opacity .4s;
}
.brand-row__peek img { width: 100%; height: 100%; object-fit: cover; }
.brand-row:hover .brand-row__peek { opacity: 1; transform: translateY(-50%) scale(1) rotate(-3deg); }
.brands__more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: rgba(243, 240, 235, .8); white-space: nowrap;
  transition: background .3s, border-color .3s, color .3s;
}
.chip small { font-family: var(--font-m); font-weight: 400; color: var(--muted); font-size: 11px; }
.chip:hover { border-color: rgba(255, 255, 255, .45); color: #fff; }
.chip.is-on { background: var(--text); border-color: var(--text); color: #0a0a0a; }
.chip.is-on small { color: #555; }

/* ── 04 как работаем ────────────────────────────────────────────── */
.process__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 110px); }
.process__aside { position: sticky; top: calc(var(--hdr) + 40px); align-self: start; }
.process__big {
  font-family: var(--font-d); font-weight: 800; font-size: clamp(120px, 17vw, 300px); line-height: .8; letter-spacing: -.07em;
  height: .8em; overflow: hidden; margin-top: 40px; display: flex;
}
.process__big .digits { display: flex; flex-direction: column; transition: transform .9s var(--ease); }
.process__big .digits span { height: .8em; display: block; }
.process__big .zero { color: rgba(243, 240, 235, .2); }
.process__line { margin-top: 40px; height: 2px; background: var(--line); position: relative; max-width: 420px; }
.process__line i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(.2); transition: transform .9s var(--ease); }
.steps { display: grid; }
.step { padding: 44px 0; border-top: 1px solid var(--line); opacity: .32; transition: opacity .6s; }
.step.is-on { opacity: 1; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__tag { font-family: var(--font-m); font-size: 12px; color: var(--red); letter-spacing: .14em; text-transform: uppercase; }
.step__title { font-family: var(--font-d); font-weight: 700; font-size: clamp(28px, 3.2vw, 50px); letter-spacing: -.035em; line-height: 1.02; margin: 14px 0 16px; text-transform: uppercase; }
.step__text { color: rgba(243, 240, 235, .72); font-size: 17px; max-width: 560px; margin: 0; }
.step__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.step__pills span { font-family: var(--font-m); font-size: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }

/* ── 05 КП в стиле партнёра ─────────────────────────────────────── */
/* clip, а не просто hidden: дальние карточки колоды торчат вбок, а hidden-блок браузер может сдвинуть сам
   (прокрутка к кнопке, фокус) — колода и заголовок уезжали влево. clip не прокручивается совсем */
.kp { overflow: hidden; overflow: clip; transition: background-color 1s; }
.kp__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background: radial-gradient(60% 55% at 72% 50%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%);
  transition: background 1s;
}
.kp .wrap { position: relative; }
.kp__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 50px; align-items: center; }
.kp__partner { margin-top: 34px; font-family: var(--font-m); font-size: 13px; color: var(--muted); }
.kp__partner b { display: block; font-family: var(--font-d); font-size: clamp(22px, 2.4vw, 34px); color: var(--text); letter-spacing: -.02em; margin-top: 8px; text-transform: uppercase; }
.kp__partner b i { font-style: normal; color: var(--accent); transition: color .6s; }
.kp__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.kp__chips .chip.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.kp__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.kp__facts b { display: block; font-family: var(--font-d); font-size: 30px; letter-spacing: -.03em; }
.kp__facts span { font-size: 13px; color: var(--muted); }
.deck { position: relative; height: min(76vh, 760px); perspective: 1800px; }
.deck__card {
  position: absolute; left: 50%; top: 50%; width: min(24vw, 400px); aspect-ratio: 720 / 1075; margin: 0;
  border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
  transform-style: preserve-3d; will-change: transform; background: #111;
  transition: transform 1s var(--ease), opacity .8s;
}
.deck__card::after { content: ""; position: absolute; inset: 0; background: #050506; opacity: var(--dim, 0); transition: opacity 1s var(--ease); pointer-events: none; }
.deck__card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* макеты Флит и Интерлизинга ниже остальных — рамка по их пропорции, иначе края карточки срезаются */
.deck__card[data-k="flit"], .deck__card[data-k="inter"] { aspect-ratio: 720 / 971; }
.deck__hint { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); font-family: var(--font-m); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* ── 06 подборка и Telegram ─────────────────────────────────────── */
.digest__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.tile {
  position: relative; border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 3vw, 44px); overflow: hidden;
  background: linear-gradient(170deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .005));
}
.tile__title { font-family: var(--font-d); font-weight: 700; font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -.035em; line-height: 1.04; margin: 18px 0 14px; text-transform: uppercase; }
.tile p { color: rgba(243, 240, 235, .72); margin: 0; max-width: 520px; }
.clock { display: flex; align-items: center; gap: 22px; margin: 32px 0 24px; }
.clock__face { position: relative; width: 108px; height: 108px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; background: radial-gradient(circle, rgba(255, 255, 255, .05), transparent 70%); }
.clock__face::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: repeating-conic-gradient(from -1deg, rgba(255, 255, 255, .35) 0 2deg, transparent 2deg 30deg); -webkit-mask: radial-gradient(circle, transparent 41px, #000 42px); mask: radial-gradient(circle, transparent 41px, #000 42px); }
.clock__hand { position: absolute; left: 50%; bottom: 50%; width: 3px; margin-left: -1.5px; border-radius: 3px; transform-origin: 50% 100%; background: #fff; }
.clock__hand--h { height: 28px; }
.clock__hand--m { height: 40px; width: 2px; margin-left: -1px; background: var(--red); }
.clock__face i { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: var(--red); }
.clock__time { font-family: var(--font-d); font-weight: 700; font-size: clamp(48px, 5vw, 80px); letter-spacing: -.05em; line-height: 1; }
.clock__cap { font-family: var(--font-m); font-size: 12px; color: var(--muted); margin-top: 6px; text-transform: uppercase; letter-spacing: .12em; }
.mail { border-radius: 18px; background: #f4f3f0; color: #141414; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.mail__top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #e3e1dc; font-size: 13px; }
.mail__ava { width: 34px; height: 34px; border-radius: 50%; background: #0b0b0c; display: grid; place-items: center; flex: none; }
.mail__ava svg { width: 20px; }
.mail__from b { display: block; font-size: 13px; }
.mail__from span { color: #777; font-size: 12px; }
.mail__time { margin-left: auto; font-family: var(--font-m); font-size: 12px; color: #888; }
.mail__subj { padding: 14px 18px 4px; font-weight: 800; font-size: 15px; line-height: 1.35; }
.mail__list { padding: 6px 12px 14px; display: grid; gap: 6px; }
.mail__car { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 6px; border-radius: 10px; background: #fff; }
.mail__car img { width: 64px; height: 44px; border-radius: 6px; object-fit: cover; background: #ddd; }
.mail__car b { display: block; font-size: 13px; line-height: 1.2; }
.mail__car span { font-size: 11px; color: #777; }
.mail__car em { font-style: normal; font-weight: 800; font-size: 13px; white-space: nowrap; }
.phone {
  position: relative; width: 280px; height: 560px; margin: 34px auto 0; border-radius: 44px; padding: 12px;
  background: linear-gradient(145deg, #2b2b31, #0d0d10); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -30px rgba(0, 0, 0, .9);
}
.phone__screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #0e0e11; }
.phone__bar { position: absolute; z-index: 2; top: 0; left: 0; right: 0; padding: 40px 16px 12px; background: linear-gradient(#0e0e11 70%, transparent); }
.phone__bar b { font-family: var(--font-d); font-size: 14px; letter-spacing: .04em; }
.phone__bar span { display: block; font-family: var(--font-m); font-size: 10px; color: var(--muted); margin-top: 2px; }
.phone__island { position: absolute; z-index: 3; top: 10px; left: 50%; width: 86px; height: 24px; margin-left: -43px; border-radius: 20px; background: #000; }
.phone__feed { position: absolute; left: 0; right: 0; top: 0; padding: 92px 12px 12px; display: grid; gap: 10px; animation: feed 40s linear infinite; will-change: transform; }
.phone.is-off .phone__feed { animation-play-state: paused; }
@keyframes feed { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.pcar { border-radius: 14px; overflow: hidden; background: #17171c; }
.pcar img { width: 100%; height: 112px; object-fit: cover; background: #222; }
.pcar div { padding: 9px 11px 11px; }
.pcar b { display: block; font-size: 12px; font-weight: 800; }
.pcar span { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.pcar em { display: inline-block; margin-top: 7px; font-style: normal; font-size: 12px; font-weight: 800; color: #fff; }
.pcar i { float: right; margin-top: 6px; font-style: normal; font-family: var(--font-m); font-size: 9px; padding: 3px 7px; border-radius: 99px; background: var(--red); }

.subscribe { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.subscribe__title { font-family: var(--font-d); font-weight: 700; font-size: 20px; letter-spacing: -.02em; text-transform: uppercase; }
.tile .subscribe__note { margin: 8px 0 16px; color: var(--muted); font-size: 14px; }
.subscribe__row { display: flex; gap: 10px; }
.subscribe__row input { flex: 1; min-width: 0; height: 58px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); outline: none; font-size: 16px; transition: border-color .3s, box-shadow .3s; }
.subscribe__row input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255, 42, 42, .12); }
.subscribe.is-bad input { border-color: var(--red); }
.tile .subscribe__done { margin-top: 14px; font-size: 14px; color: rgba(243, 240, 235, .82); }
.subscribe__done a { color: #fff; border-bottom: 1px solid var(--red); }

/* ── 07 гарантии ────────────────────────────────────────────────── */
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-card {
  position: relative; border: 1px solid var(--line); border-radius: 24px; padding: 30px 26px 28px; min-height: 300px;
  display: flex; flex-direction: column; overflow: hidden; transition: border-color .4s, transform .6s var(--ease);
  background: linear-gradient(170deg, rgba(255, 255, 255, .035), transparent);
}
.trust-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 42, 42, .14), transparent 45%); opacity: 0; transition: opacity .4s; }
.trust-card:hover { border-color: rgba(255, 42, 42, .5); transform: translateY(-6px); }
.trust-card:hover::before { opacity: 1; }
.trust-card svg { width: 54px; height: 54px; color: var(--red); }
.trust-card svg * { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* у всех карточек одна сетка: значок, заголовок и текст сверху на одной высоте, теги прижаты к низу.
   Раньше заголовок прижимался вниз, и у карточки с документами (теги ниже текста) он вставал выше остальных */
.trust-card h3 { font-family: var(--font-d); font-weight: 700; font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -.02em; line-height: 1.12; margin: 34px 0 12px; text-transform: uppercase; text-wrap: balance; }
.trust-card .docs { margin-top: auto; padding-top: 18px; }
.trust-card p { margin: 0; color: var(--muted); font-size: 15px; }
.trust-card .n { position: absolute; top: 28px; right: 26px; font-family: var(--font-m); font-size: 12px; color: var(--dim); }

/* ── фоны разделов 02, 04, 05, 08: тёмные сцены в духе студии ──────
   Картинка — под заголовком раздела и уходит в фон к тексту слева и книзу.
   Без анимаций и background-attachment: fixed — на телефонах не дёргается. */
.has-bg { isolation: isolate; }
.sec-bg { position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: min(100vh, 980px); pointer-events: none; overflow: hidden; }
.sec-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: .72;
  /* картинка проявляется из черноты слева направо — без резких краёв (на порте слева в кадре тёмная стена с ровным краем) */
  -webkit-mask-image: linear-gradient(90deg, transparent 22%, #000 66%); mask-image: linear-gradient(90deg, transparent 22%, #000 66%);
}
.sec-bg--import img { -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 80%); mask-image: linear-gradient(90deg, transparent 40%, #000 80%); }
.sec-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 10%, rgba(7, 7, 8, .62) 42%, rgba(7, 7, 8, .18) 72%, rgba(7, 7, 8, .4)),
              linear-gradient(180deg, var(--bg) 0%, transparent 16%, transparent 58%, var(--bg) 100%);
}
.sec-bg--stock img { object-position: 50% 62%; opacity: .62; }
/* разделы без фото — мягкий свет из угла, чтобы между фотосценами не было плоских провалов */
.who, .digest { isolation: isolate; }
.who::before, .digest::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(55% 45% at 88% 8%, rgba(255, 42, 42, .11), transparent 70%),
              radial-gradient(45% 40% at 6% 92%, rgba(255, 255, 255, .035), transparent 70%);
}
.digest::before { background: radial-gradient(50% 45% at 12% 15%, rgba(255, 42, 42, .1), transparent 70%),
                              radial-gradient(45% 40% at 92% 85%, rgba(255, 255, 255, .03), transparent 70%); }
@media (max-width: 760px) {
  .sec-bg { height: min(150vw, 640px); }
  .sec-bg img { object-position: 78% 50%; opacity: .55; }
  .sec-bg--stock img { object-position: 50% 60%; opacity: .45; }
  .sec-bg img, .sec-bg--import img { -webkit-mask-image: none; mask-image: none; }   /* на телефоне виден только правый кусок кадра */
  .sec-bg::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(7, 7, 8, .3) 22%, rgba(7, 7, 8, .55) 60%, var(--bg) 100%); }
}

/* ── 08 заявка ──────────────────────────────────────────────────── */
.request { overflow: hidden; }
.request__bg { position: absolute; inset: 0; }
.request__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.request__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 7, 8, .96) 30%, rgba(7, 7, 8, .55)), linear-gradient(0deg, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%); }
.request .wrap { position: relative; }
.request__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.request__contacts { display: grid; gap: 12px; margin-top: 40px; }
.request__contacts a { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-d); font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em; }
.request__contacts a span { font-family: var(--font-m); font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; width: 90px; }
.form {
  border: 1px solid var(--line-2); border-radius: 30px; padding: clamp(24px, 3vw, 40px);
  background: linear-gradient(160deg, rgba(20, 20, 24, .94), rgba(12, 12, 14, .9));
}
.seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); margin-bottom: 26px; }
.seg button { position: relative; z-index: 1; height: 42px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); transition: color .3s; white-space: nowrap; }
.seg button.is-on { color: #fff; }
.seg__ind { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3); border-radius: 999px; background: var(--red-2); transition: transform .6s var(--ease); }
.field { position: relative; margin-bottom: 14px; }
.field input, .field textarea {
  width: 100%; height: 60px; padding: 24px 18px 8px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
  outline: none; transition: border-color .3s, background .3s, box-shadow .3s; font-size: 16px;
}
.field textarea { height: 104px; resize: none; padding-top: 28px; }
.field label { position: absolute; left: 19px; top: 19px; font-size: 15px; color: var(--muted); pointer-events: none; transition: transform .35s var(--ease), font-size .35s var(--ease), color .3s; transform-origin: left; }
.field input:focus, .field textarea:focus { border-color: var(--red); background: rgba(255, 42, 42, .05); box-shadow: 0 0 0 4px rgba(255, 42, 42, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px); font-size: 11px; color: rgba(243, 240, 235, .65); letter-spacing: .04em; }
.field--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.range { margin: 8px 0 22px; }
.range__head { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.range__head b { color: #fff; font-family: var(--font-m); }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--red) var(--p, 30%), rgba(255, 255, 255, .12) var(--p, 30%)); outline: none; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 6px solid var(--red); box-shadow: 0 0 0 6px rgba(255, 42, 42, .18); }
.range input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid var(--red); }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form__note { font-size: 12px; color: var(--dim); max-width: 280px; }
.form__done { display: none; text-align: left; }
.form.is-done .form__fields { display: none; }
.form.is-done .form__done { display: block; }
.form__done-ico { width: 74px; height: 74px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.form__done-ico svg { width: 34px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form__done h3 { font-family: var(--font-d); font-size: 30px; letter-spacing: -.03em; margin: 22px 0 10px; text-transform: uppercase; }
.form__done pre { white-space: pre-wrap; font-family: var(--font-m); font-size: 13px; color: rgba(243, 240, 235, .8); background: rgba(0, 0, 0, .35); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 18px 0; max-height: 220px; overflow: auto; }
.form__done .row { display: flex; flex-wrap: wrap; gap: 10px; }
/* заявка ушла менеджеру — без готового текста и кнопок «отправить самому»; не ушла — наоборот */
.form:not(.is-sent) .when-sent, .form.is-sent .when-draft, .form.is-sent [data-request-text],
.form.is-sent .form__done [data-tg], .form.is-sent .form__done [data-mailto] { display: none; }
.form.is-busy [type="submit"], .subscribe.is-busy [type="submit"] { opacity: .6; pointer-events: none; }
/* поле-ловушка: люди его не видят, боты заполняют */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ── подвал ─────────────────────────────────────────────────────── */
.ftr { position: relative; padding: 90px 0 30px; border-top: 1px solid var(--line); overflow: hidden; }
.ftr__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.ftr h4 { margin: 0 0 16px; font-family: var(--font-m); font-weight: 400; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ftr__links { display: grid; gap: 8px; }
.ftr__links a { width: fit-content; position: relative; font-weight: 600; }
.ftr__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.ftr__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.ftr__claim { font-size: 15px; color: var(--muted); max-width: 340px; }
.ftr__giant {
  display: flex; justify-content: space-between; margin-top: 90px; user-select: none;
  /* «M PRO GROUP» шириной ~9 em: размер от ширины колонки (а не окна), иначе последняя буква уходила за край */
  font-family: var(--font-d); font-weight: 900; font-size: calc((min(100vw, 1560px) - 2 * var(--pad)) / 9.15);
  line-height: .78; letter-spacing: 0; text-transform: uppercase;
}
.ftr__giant span { color: rgba(243, 240, 235, .09); transition: color .5s; }
.ftr__giant:hover span { color: var(--red); }
.ftr__giant span:nth-child(odd) { transition-delay: .04s; }
.ftr__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }

/* ── страница склада ────────────────────────────────────────────── */
.cat-hero { padding: calc(var(--hdr) + 70px) 0 40px; position: relative; overflow: hidden; }
.cat-hero__ghost { position: absolute; right: calc(-2vw - .077 * 22vw); top: 40px; width: calc(4.231 * 22vw); max-width: none; height: auto; pointer-events: none; opacity: .065; }
.cat-hero h1 { font-family: var(--font-d); font-weight: 800; font-size: clamp(56px, 10vw, 170px); line-height: .86; letter-spacing: -.06em; text-transform: uppercase; margin: 22px 0 0; }
.cat-hero__meta { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 30px; color: var(--muted); }
.cat-hero__meta b { color: #fff; font-family: var(--font-d); font-size: 20px; letter-spacing: -.02em; margin-right: 6px; }
.filters { position: sticky; top: 0; z-index: 800; padding: 14px 0; background: rgba(7, 7, 8, .95); border-bottom: 1px solid var(--line); transition: top .5s var(--ease); }
.hdr:not(.is-hidden) ~ main .filters { top: var(--hdr); }
.filters__row { display: flex; align-items: center; gap: 10px; }
.filters__row + .filters__row { margin-top: 10px; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search input { width: 100%; height: 46px; padding: 0 16px 0 44px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); outline: none; transition: border-color .3s; }
.search input:focus { border-color: var(--red); }
.search svg { position: absolute; left: 16px; top: 14px; width: 18px; height: 18px; color: var(--muted); }
.select { position: relative; }
.select select { height: 46px; padding: 0 38px 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); appearance: none; -webkit-appearance: none; outline: none; font-size: 14px; font-weight: 600; cursor: pointer; }
.select select:focus { border-color: var(--red); }
.select select option { background: #141418; }
.select::after { content: ""; position: absolute; right: 16px; top: 19px; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.chips-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; flex: 1; mask: linear-gradient(90deg, #000 90%, transparent); -webkit-mask: linear-gradient(90deg, #000 90%, transparent); }
.chips-scroll::-webkit-scrollbar { display: none; }
.filters__count { margin-left: auto; font-family: var(--font-m); font-size: 13px; color: var(--muted); white-space: nowrap; }
.filters__count b { color: #fff; font-family: var(--font-d); font-size: 18px; margin-right: 4px; }
.reset { font-size: 13px; color: var(--muted); border-bottom: 1px dashed var(--dim); white-space: nowrap; }
.reset:hover { color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; padding: 34px 0 40px; }
.car {
  position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--panel);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s; transform-style: preserve-3d;
}
.car:hover { border-color: rgba(255, 255, 255, .22); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.car__img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #18181c; }
.car__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; opacity: 0; }
.car__img img.is-loaded { opacity: 1; }
.car:hover .car__img img { transform: scale(1.07); }
.car__tags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; }
.car__tags span { font-family: var(--font-m); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: rgba(0, 0, 0, .66); }
.car__tags span.new { background: var(--red); }
.car__body { padding: 18px 20px 20px; }
.car__brand { font-family: var(--font-m); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.car__model { font-family: var(--font-d); font-weight: 700; font-size: 21px; letter-spacing: -.025em; line-height: 1.1; margin-top: 6px; text-transform: uppercase; }
.car__kw { font-size: 13px; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car__specs { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 14px; font-family: var(--font-m); font-size: 11.5px; color: rgba(243, 240, 235, .7); }
.car__foot { display: flex; align-items: end; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.car__price { font-family: var(--font-d); font-weight: 700; font-size: 22px; letter-spacing: -.03em; }
.car__vat { font-family: var(--font-m); font-size: 10.5px; color: var(--muted); }
.car__go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .3s, border-color .3s; }
.car__go svg { width: 15px; transition: transform .5s var(--ease); }
.car:hover .car__go { background: var(--red); border-color: var(--red); }
.car:hover .car__go svg { transform: rotate(-45deg); }
.empty { padding: 120px 0; text-align: center; color: var(--muted); }
img.is-missing { object-fit: contain !important; background: #141418; }
.empty b { display: block; font-family: var(--font-d); font-size: 36px; color: #fff; margin-bottom: 10px; letter-spacing: -.03em; }
.more { display: flex; justify-content: center; padding: 10px 0 120px; }

/* карточка машины */
.modal { position: fixed; inset: 0; z-index: 950; display: none; }
.modal.is-open { display: block; }
.modal__back { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s; }
.modal.is-shown .modal__back { opacity: 1; }
/* окно справа, а не во весь экран: фото от поставщиков в основном 700–1000 px, на всю ширину они расплываются */
.modal__panel {
  position: absolute; top: 16px; right: 16px; bottom: 16px; width: min(500px, calc(100vw - 32px)); background: #0c0c0f;
  border: 1px solid var(--line-2); border-radius: 26px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9);
  transform: translateX(calc(100% + 40px)); opacity: 0; transition: transform .7s var(--ease), opacity .5s;
  overflow-y: auto; overscroll-behavior: contain;
}
.modal.is-shown .modal__panel { transform: translateX(0); opacity: 1; }
/* кнопка в потоке, но без своего места (минус её высота снизу): фото начинается от верха окна и не обтекает её */
.modal__close { position: sticky; top: 14px; margin: 14px 14px -58px auto; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, .7); border: 1px solid var(--line-2); display: grid; place-items: center; }
.modal__close svg { width: 16px; }
.modal__close:hover { background: var(--red); border-color: var(--red); }
.modal__hero { position: relative; aspect-ratio: 3 / 2; background: #151518; overflow: hidden; }
.modal__hero img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 24px 26px 32px; display: grid; grid-template-columns: 1fr; gap: 22px; }
.modal__brand { font-family: var(--font-m); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.modal__title { font-family: var(--font-d); font-weight: 800; font-size: clamp(30px, 2.6vw, 40px); letter-spacing: -.045em; line-height: .95; margin: 10px 0 8px; text-transform: uppercase; }
.modal__kw { color: var(--muted); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 28px; }
.specs div { background: #0f0f12; padding: 14px 16px; }
.specs span { display: block; font-family: var(--font-m); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.specs b { display: block; margin-top: 4px; font-size: 15px; }
.modal__side { display: grid; gap: 14px; align-content: start; }
.price-card { border-radius: 20px; padding: 24px; background: linear-gradient(150deg, #1a1a1f, #111114); border: 1px solid var(--line-2); }
.price-card b { display: block; font-family: var(--font-d); font-size: 36px; letter-spacing: -.04em; line-height: 1.05; }
.price-card span { font-family: var(--font-m); font-size: 12px; color: var(--muted); }
.price-card .btn { width: 100%; margin-top: 18px; }
.kp-thumb { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.kp-thumb:hover { border-color: var(--red); background: rgba(255, 42, 42, .06); }
.kp-thumb img { width: 84px; height: 120px; border-radius: 8px; object-fit: cover; object-position: top; background: #222; }
.kp-thumb b { display: block; font-size: 15px; }
.kp-thumb span { font-size: 13px; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 970; background: rgba(0, 0, 0, .9); display: none; place-items: center; padding: 30px; }
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 92vh; width: auto; border-radius: 12px; }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 990; transform: translate(-50%, 140%); opacity: 0; pointer-events: none; padding: 14px 22px; border-radius: 999px; background: #fff; color: #0a0a0a; font-weight: 700; font-size: 14px; transition: transform .6s var(--ease); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); max-width: calc(100vw - 30px); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ── начальные состояния анимаций (только если JS работает) ─────── */
.js [data-reveal] { opacity: 0; transform: translateY(46px); }
.js .hero [data-hero] { opacity: 0; }


.split-w { display: inline-block; vertical-align: top; }
.kp__glow { background: radial-gradient(60% 55% at 72% 50%, var(--accent-soft, rgba(255, 42, 42, .3)), transparent 70%) !important; }

/* ── кому: менеджер лизинга и клиент ────────────────────────────── */
.who__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.who-card {
  position: relative; border-radius: 30px; padding: clamp(28px, 3.4vw, 52px); overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-2); display: flex; flex-direction: column; min-height: 560px;
}
.who-card::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: transform 1.2s var(--ease); }
.who-card--manager::before { background: radial-gradient(120% 90% at 100% 0%, rgba(255, 42, 42, .35), transparent 55%), linear-gradient(160deg, #1a0d0f, #0d0b0c); }
.who-card--client::before { background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .12), transparent 55%), linear-gradient(160deg, #141418, #0b0b0d); }
.who-card:hover::before { transform: scale(1.06); }
.who-card__top { display: flex; justify-content: space-between; align-items: center; }
.who-card__tag { font-family: var(--font-m); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); }
.who-card--manager .who-card__tag { background: var(--red); border-color: var(--red); }
.who-card__num { font-family: var(--font-d); font-weight: 800; font-size: 120px; line-height: .8; color: rgba(255, 255, 255, .08); }
.who-card h3 { font-family: var(--font-d); font-weight: 700; font-size: clamp(26px, 2.6vw, 42px); letter-spacing: -.035em; line-height: 1.04; margin: 40px 0 16px; text-transform: uppercase; max-width: 560px; }
.who-card p { color: rgba(243, 240, 235, .74); margin: 0 0 24px; max-width: 520px; font-size: 17px; }
.who-card ul { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 12px; }
.who-card li { position: relative; padding-left: 30px; font-size: 15px; }
.who-card li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><circle cx='9' cy='9' r='9' fill='%23ff2a2a'/><path d='M5 9.3l2.6 2.6L13 6.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; }
.who-card--client li::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><circle cx='9' cy='9' r='9' fill='%23f3f0eb'/><path d='M5 9.3l2.6 2.6L13 6.4' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.who-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ── под заказ: табло стран ─────────────────────────────────────── */
.board { border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3.2vw, 48px); background: linear-gradient(170deg, rgba(255, 255, 255, .035), transparent); }
.board__label { font-family: var(--font-m); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.board__flap { display: flex; gap: clamp(4px, .6vw, 10px); margin-top: 18px; font-family: var(--font-d); font-weight: 800; font-size: clamp(34px, 7vw, 124px); line-height: 1; perspective: 700px; }
.flap { position: relative; width: .86em; height: 1.18em; border-radius: .12em; flex: none; background: linear-gradient(180deg, #1d1d22 0 49.6%, #101013 50.4% 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 14px 30px -18px rgba(0, 0, 0, .9); display: grid; place-items: center; overflow: hidden; }
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(0, 0, 0, .75); }
.flap i { position: relative; display: block; width: 100%; height: 100%; font-style: normal; color: var(--text); transform-origin: 50% 50%; }
/* знак — по центру ячейки, даже если шире её (широкие буквы сжимает home.js) */
.flap i > span { position: absolute; left: 50%; top: 50%; white-space: nowrap; transform: translate(-50%, -50%); }
.flap:first-child i { color: var(--red); }
.board__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.board__list button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: rgba(243, 240, 235, .75); transition: background .3s, border-color .3s, color .3s; }
.board__list button b { font-family: var(--font-m); font-weight: 600; font-size: 11px; color: var(--dim); transition: color .3s; }
.board__list button.is-on { background: var(--red-2); border-color: var(--red-2); color: #fff; }
.board__list button.is-on b { color: rgba(255, 255, 255, .75); }
.import__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.import__facts > div { border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; background: linear-gradient(170deg, rgba(255, 255, 255, .025), transparent); }
.import__facts b { display: block; font-family: var(--font-d); font-weight: 700; font-size: clamp(30px, 3.2vw, 54px); letter-spacing: -.045em; line-height: 1; }
.import__facts span { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; }
.docs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.docs span { font-family: var(--font-m); font-size: 11px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: rgba(243, 240, 235, .75); }
.seg--2 { grid-template-columns: 1fr 1fr; }
.seg--2 .seg__ind { width: calc((100% - 10px) / 2); }
@media (max-width: 1180px) { .who__grid { grid-template-columns: 1fr; } .who-card { min-height: 0; } .import__facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .who-card__num { font-size: 80px; } .seg--2 button { font-size: 12.5px; } }

/* ── только для телефона ─────────────────────────────────────────── */
.tgstrip, .bigline { display: none; }
.bigline__track { display: flex; width: max-content; font-family: var(--font-d); font-weight: 800; font-size: 15vw; line-height: 1.02; text-transform: uppercase; white-space: nowrap; letter-spacing: -.03em; will-change: transform; }
.bigline__track span { padding-right: .35em; color: rgba(243, 240, 235, .18); }
.bigline__track span:nth-child(even) { color: var(--red); }

/* ── нижняя панель на телефоне ─────────────────────────────────── */
.mbar { display: none; }
.mmenu > a { display: flex; align-items: baseline; justify-content: space-between; }
.mmenu > a::after { content: "→"; font-family: var(--font-b); font-size: .6em; color: var(--red); }

/* ── адаптив ────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr .live { display: none; }
  .hdr .btn { display: none; }
  .hero__panel { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .chart { grid-template-columns: 1fr; }
  .kp__grid, .request__grid, .digest__grid, .process__grid { grid-template-columns: 1fr; }
  .process__aside { position: relative; top: 0; }
  .process__big { font-size: 120px; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .deck__card { width: min(56vw, 380px); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --hdr: 66px; }
  .logo__text { font-size: 11px; letter-spacing: .22em; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .lead { justify-self: start; }
  .hero { height: auto; min-height: 100svh; }
  .hero__content { min-height: 100svh; padding-bottom: 28px; gap: 26px; }
  .hero__slide img { object-position: 70% 50%; }
  .hero__shade { background: linear-gradient(0deg, rgba(5, 5, 6, .98) 0%, rgba(5, 5, 6, .55) 55%, rgba(5, 5, 6, .35) 100%); }
  .hero__top { align-self: end; }
  .hero__title { font-size: 8.2vw; }
  .h2 { font-size: 9vw; }
  .brand-row { grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; }
  .brand-row__name { font-size: 6.2vw; }
  .brand-row__count b { font-size: 22px; }
  .request__contacts a { font-size: 18px; flex-wrap: wrap; gap: 4px 12px; }
  .request__contacts a span { width: auto; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 auto; padding: 0 18px; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__car { flex-wrap: wrap; gap: 8px 14px; }
  .scroll-cue { display: none; }
  .stat { padding: 26px 14px 24px 0; }
  .stat + .stat { padding-left: 14px; }
  .stat__cap { font-size: 13px; }
  .bars { height: 150px; gap: 3px; }
  .brand-row { grid-template-columns: 36px 1fr auto; }
  .brand-row__go, .brand-row__peek { display: none; }
  .deck { height: 560px; }
  .deck__card { width: 66vw; }
  .kp__facts { grid-template-columns: 1fr 1fr 1fr; }
  .kp__facts b { font-size: 22px; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust-card { min-height: 230px; }
  .seg { grid-template-columns: 1fr 1fr 1fr; }
  .seg button { font-size: 11.5px; }
  .field--2 { grid-template-columns: 1fr; gap: 0; }
  .ftr__grid { grid-template-columns: 1fr; }
  .filters { position: relative; top: 0 !important; }
  .filters__row:first-child { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .filters__row:first-child .search { grid-column: 1 / -1; max-width: none; }
  .filters__row:first-child .select select { width: 100%; }
  .filters__row:last-child { flex-wrap: wrap; }
  .filters__row:last-child .chips-scroll { flex: 1 1 100%; }
  .filters__count { margin-left: auto; }
  .grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
}
/* ── телефон: своя композиция, а не ужатый десктоп ─────────────── */
@media (max-width: 1180px) {
  .kp__grid { display: flex; flex-direction: column; gap: 0; }
  .kp__text { display: contents; }
  .kp__text > .eyebrow { order: 1; }
  .kp__text > .h2 { order: 2; }
  .kp__text > .lead { order: 3; }
  .deck { order: 4; margin: 26px 0 6px; }
  .kp__partner { order: 5; }
  .kp__chips { order: 6; }
  .kp__facts { order: 7; }
}
@media (max-width: 760px) {
  /* первый экран: вертикальный кадр на весь экран, заголовок сверху, кнопки снизу */
  .hero { height: var(--hero-h, 100svh); min-height: 640px; }
  .hero__content {
    min-height: 0; height: 100%; gap: 0;
    grid-template-rows: auto auto 1fr auto auto auto;
    padding-top: calc(var(--hdr) + 12px); padding-bottom: 20px;
  }
  .hero__top { display: contents; }
  .hero .eyebrow { grid-row: 1; }
  .hero__title { grid-row: 2; margin-top: 12px; }
  .hero__sub { grid-row: 4; margin: 0 0 18px; font-size: 15px; }
  .hero__cta { grid-row: 5; margin-top: 0; }
  .hero__bottom { grid-row: 6; margin-top: 16px; }
  .hero__slide img { object-position: 58% 50%; }
  .hero__slide.is-active img { animation-name: kenburns-m; }
  .hero__shade { display: block; background: linear-gradient(180deg, rgba(5, 5, 6, .92) 0%, rgba(5, 5, 6, .4) 22%, rgba(5, 5, 6, 0) 34%, rgba(5, 5, 6, 0) 50%, rgba(5, 5, 6, .82) 64%, #050506 90%); }
  .section { padding: 78px 0; }

  /* «Кому» и шаги — свайпом, у шагов крупные номера */
  .who__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 8px; scrollbar-width: none; }
  .who__grid::-webkit-scrollbar { display: none; }
  .who-card { flex: 0 0 86vw; scroll-snap-align: center; padding: 26px 22px; }
  .who-card__num { font-size: 64px; }
  .who-card h3 { font-size: 25px; margin: 22px 0 12px; }
  .who-card p { font-size: 15px; margin-bottom: 18px; }
  .who-card ul { gap: 9px; margin-bottom: 24px; }
  .who-card li { font-size: 14px; }
  .process__big, .process__line { display: none; }
  .steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 30px calc(-1 * var(--pad)) 0; padding: 0 var(--pad) 8px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step, .step.is-on { flex: 0 0 82vw; scroll-snap-align: center; opacity: 1; position: relative; overflow: hidden; padding: 26px 22px; border: 1px solid var(--line-2); border-radius: 24px; background: linear-gradient(160deg, #17171b, #0d0d10); }
  .step:last-child { border-bottom: 1px solid var(--line-2); }
  .step::before { content: attr(data-n); position: absolute; right: -4px; top: -16px; font-family: var(--font-d); font-weight: 800; font-size: 118px; line-height: 1; color: rgba(255, 42, 42, .16); pointer-events: none; }
  .step__title { font-size: 26px; margin: 12px 0 12px; }
  .step__text { font-size: 15px; }

  /* марки: восемь строк, у строки в центре за названием проявляется машина */
  .brand-row:nth-child(n+9) { display: none; }
  .brand-row { isolation: isolate; margin: 0 -10px; padding: 16px 10px; }
  .brand-row__peek { display: block; position: absolute; inset: 0; right: 0; top: 0; width: auto; height: auto; border-radius: 0; z-index: -1; opacity: 0; transform: none !important; transition: opacity .6s; }
  .brand-row__peek::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #070708 22%, rgba(7, 7, 8, .55) 62%, rgba(7, 7, 8, .25)); }
  .brand-row.is-hot .brand-row__peek { opacity: 1; }
  .brands__more { flex-wrap: nowrap; overflow-x: auto; margin: 22px calc(-1 * var(--pad)) 0; padding: 0 var(--pad) 6px; scrollbar-width: none; }
  .brands__more::-webkit-scrollbar { display: none; }

  /* подборка: без «телефона в телефоне», лента машин */
  .phone { display: none; }
  .tgstrip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 22px -26px 0; padding: 0 26px 6px; scrollbar-width: none; }
  .tgstrip::-webkit-scrollbar { display: none; }
  .tgstrip .pcar { flex: 0 0 64vw; scroll-snap-align: start; }
  .tgstrip .pcar img { height: 130px; }
  .mail__car:nth-child(n+4) { display: none; }
  .subscribe__row { flex-direction: column; }
  .subscribe__row input { flex: none; width: 100%; height: 56px; }
  .subscribe__row .btn { width: 100%; }
  .clock { margin: 26px 0 20px; }
  .clock__face { width: 84px; height: 84px; }

  /* появление блоков на телефоне — короче и ближе */
  .js [data-reveal] { transform: translateY(22px); }

  /* лёгкий режим прокрутки: без зерна поверх всего экрана и без фона-холста */
  .noise, .stock__flow { display: none; }

  /* бегущая строка-разделитель, едет вместе со скроллом */
  .bigline { display: block; overflow: hidden; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

  /* нижняя панель-приложение */
  .mbar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 880;
    display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 7px; border-radius: 22px;
    background: rgba(18, 18, 22, .96); border: 1px solid var(--line-2); box-shadow: 0 20px 44px -12px rgba(0, 0, 0, .85);
    transform: translateY(150%); transition: transform .6s var(--ease);
  }
  .mbar.is-on { transform: none; }
  .menu-open .mbar { transform: translateY(150%); }
  .mbar__btn { height: 50px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; font-weight: 700; font-size: 14px; background: rgba(255, 255, 255, .06); white-space: nowrap; }
  .mbar__btn b { font-family: var(--font-d); font-size: 15px; letter-spacing: -.02em; }
  .mbar__btn span { color: var(--muted); font-size: 12px; font-weight: 600; }
  .mbar__btn--red { background: linear-gradient(135deg, #ff3b3b, var(--red-2)); box-shadow: 0 10px 26px -10px var(--red-glow); }
  .toast { bottom: 92px; }
  .ftr { padding-bottom: 100px; }

  /* меню: пункты выезжают по очереди */
  .mmenu > a { transform: translateY(34px); opacity: 0; transition: transform .8s var(--ease), opacity .5s; transition-delay: calc(var(--i, 0) * 60ms + 150ms); }
  .menu-open .mmenu > a { transform: none; opacity: 1; }

  /* марки: строка в центре экрана загорается красным */
  .brand-row.is-hot .brand-row__name { background-position: 0 0; }

  /* КП: партнёры — лентой */
  .kp__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 22px calc(-1 * var(--pad)) 0; padding: 0 var(--pad) 4px; scroll-snap-type: x proximity; }
  .kp__chips::-webkit-scrollbar { display: none; }
  .kp__chips .chip { scroll-snap-align: center; }
  .kp__partner { margin-top: 18px; }
  .deck__hint { bottom: -6px; }

  /* гарантии и «кому» — свайпом */
  .trust__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 8px; scrollbar-width: none; }
  .trust__grid::-webkit-scrollbar { display: none; }
  .trust-card { flex: 0 0 80vw; scroll-snap-align: center; min-height: 270px; }
  .who-card h3 { margin-top: 28px; }

  /* табло стран */
  .board__flap { font-size: 9.2vw; gap: 4px; }
  .board__list { gap: 6px; }
  .board__list button { height: 36px; padding: 0 12px; font-size: 13px; }
  .import__facts > div { padding: 20px 18px; }
  .who-card__actions .btn { flex: 1 1 auto; }

  /* отклик на нажатие */
  .btn:active, .chip:active, .car:active, .brand-row:active, .mbar__btn:active, .trust-card:active { transform: scale(.97); }
  .stats { margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ── телефон: лёгкая отрисовка ────────────────────────────────────
   Во встроенных браузерах айфона (Telegram и др.) 3D-колода и постоянные слои дёргаются,
   а куски карточек пропадают. Колода на телефоне плоская, слои — только на время анимации. */
@media (max-width: 760px) {
  .deck { perspective: none; }
  .deck__card { transform-style: flat; will-change: auto; }
  .car { transform-style: flat; }
  .hero__media, .hero__content, .hero__slide img { will-change: auto; }
  .hero__ghost { display: none; }
  .modal__back { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .modal__panel { top: 0; right: 0; bottom: 0; width: 100vw; border: 0; border-radius: 0; box-shadow: none; }
}
