/* evolute.dvaris.ru — Чёрная пятница: склад открыт */
:root {
  --bg: #0a0b0d;
  --panel: #14171b;
  --panel-2: #1b1f24;
  --line: #262a30;
  --line-2: #3a3f47;
  --text: #f4f5f7;
  --soft: #c8cdd4;
  --muted: #949ba5;
  --dim: #6b727c;
  --sale: #ffd21f;
  --ink: #0a0b0d;
  --paper: #f3f0e8;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Oswald', 'Arial Narrow', 'Onest', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--sale); outline-offset: 3px; }
.wrap { width: min(1240px, 100% - 48px); margin: 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nb { white-space: nowrap; }
.nm { text-transform: none; }
.star { margin-left: 1px; color: var(--sale); font-weight: 700; text-decoration: none; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: 12px; background: var(--sale); color: var(--ink); font: 700 15px/1.2 var(--font); text-align: center; text-decoration: none; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.btn:hover { background: #ffe066; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn--line { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--line:hover { background: transparent; border-color: var(--sale); color: var(--sale); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--big { min-height: 56px; padding: 14px 28px; font-size: 16px; }
.btn--wide { width: 100%; }

/* ---------- Шапка ---------- */
.top { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(10, 11, 13, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.top__in { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.top__logos { flex: none; display: flex; align-items: center; gap: 16px; text-decoration: none; }
/* логотипы не сжимаются под узкий экран: размеры для телефонов заданы ниже */
.top__logos img { flex: none; max-width: none; }
.top__evo { width: auto; height: 24px; }
/* дилерский логотип крупнее: у него надпись мельче, чем у EVOLUTE */
.top__dvaris { width: auto; height: 34px; padding-left: 16px; border-left: 1px solid var(--line-2); box-sizing: content-box; }
.top__bf { padding: 6px 10px 5px; border-radius: 6px; background: var(--sale); color: var(--ink); font: 600 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.top__nav { display: flex; gap: 26px; margin-left: auto; }
.top__nav a { font-weight: 500; font-size: 15px; color: #d6dae0; text-decoration: none; }
.top__nav a:hover { color: var(--sale); }
.top__act { display: flex; align-items: center; gap: 18px; }
.top__phone { font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; }
.top__phone:hover { color: var(--sale); }
.burger { display: none; position: relative; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; }
.burger span, .burger::before, .burger::after { content: ""; position: absolute; left: 12px; width: 18px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.burger span { top: 20px; }
.burger::before { top: 14px; }
.burger::after { top: 26px; }
.top.is-open .burger span { opacity: 0; }
.top.is-open .burger::before { transform: translateY(6px) rotate(45deg); }
.top.is-open .burger::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Первый экран: склад открыт ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: 48px;
  background:
    radial-gradient(30% 62% at 20% -8%, rgba(255, 255, 255, .09), transparent 72%),
    radial-gradient(30% 62% at 80% -8%, rgba(255, 255, 255, .07), transparent 72%),
    radial-gradient(70% 40% at 50% 100%, rgba(255, 210, 31, .07), transparent 70%),
    linear-gradient(180deg, #0a0b0d 0%, #0d0f12 60%, #121418 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--noise); opacity: .05; pointer-events: none; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 64px; align-items: end; }
.flag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.flag__bf { padding: 8px 12px 7px; border-radius: 8px; background: var(--sale); color: var(--ink); font: 600 15px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.flag__date { font-weight: 600; font-size: 15px; color: var(--soft); }
.hero__h { margin-top: 20px; font: 700 clamp(44px, 6.4vw, 88px)/.94 var(--display); letter-spacing: .005em; text-transform: uppercase; }
.hero__sub { max-width: 620px; margin-top: 20px; font-size: 19px; line-height: 1.5; color: var(--soft); }
.hero__side { display: grid; gap: 22px; justify-items: start; }
.hero__act { display: flex; flex-wrap: wrap; gap: 12px; }

.timer { display: grid; gap: 10px; }
.timer__label { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.timer__digits { display: flex; gap: 8px; }
.timer__digits span { display: grid; justify-items: center; min-width: 78px; padding: 12px 8px 9px; border: 1px solid var(--line-2); border-radius: 12px; background: linear-gradient(180deg, #181b1f, #0e0f12); }
.timer__digits b { font: 600 42px/1 var(--display); font-variant-numeric: tabular-nums; }
.timer__digits i { margin-top: 5px; font-style: normal; font-size: 12px; color: var(--muted); }

/* штанга с ценниками */
.rail { position: relative; margin-top: 54px; padding-bottom: 60px; }
.rail__bar { height: 8px; margin: 0 -24px; border-radius: 4px; background: linear-gradient(180deg, #6a7078, #30343a 55%, #1a1c20); box-shadow: 0 8px 16px rgba(0, 0, 0, .55); }
.rail__tags { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 34px; align-items: start; padding: 0 8px; }
/* если на складе осталось две версии или одна, ценники не растягиваются на всю ширину */
.rail__tags--n2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.rail__tags--n1 { grid-template-columns: minmax(0, 480px); justify-content: center; }

.tag { --drop: 34px; position: relative; display: block; margin-top: var(--drop); color: inherit; text-decoration: none; transform-origin: 50% calc(-1 * var(--drop)); }
.tag--lead { --drop: 20px; }
.tag::before { content: ""; position: absolute; z-index: 2; left: 50%; top: calc(-1 * var(--drop) - 4px); width: 2px; height: calc(var(--drop) + 27px); margin-left: -1px; background: linear-gradient(180deg, #b2b8c0, #6d737c); }
.tag::after { content: ""; position: absolute; z-index: 2; left: 50%; top: calc(-1 * var(--drop) - 11px); width: 14px; height: 14px; margin-left: -7px; border: 2px solid #9aa0a8; border-bottom-color: transparent; border-left-color: transparent; border-radius: 50%; transform: rotate(-45deg); }
.tag__in { display: block; padding: 1px; border-radius: 0 0 18px 18px; background: linear-gradient(180deg, #41464e, #22252a); clip-path: polygon(30px 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%, 0 30px); }
.tag--lead .tag__in { background: linear-gradient(180deg, var(--sale), #6f5a00 80%); }
.tag__body { position: relative; display: flex; flex-direction: column; align-items: center; padding: 42px 20px 24px; border-radius: 0 0 17px 17px; background: linear-gradient(180deg, #181a1e, #0c0d0f 72%); text-align: center; clip-path: polygon(29.6px 0, calc(100% - 29.6px) 0, 100% 29.6px, 100% 100%, 0 100%, 0 29.6px); }
.tag__eye { position: absolute; left: 50%; top: 14px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #08090a; box-shadow: inset 0 0 0 3px #555b64; }
.tag__claim { max-width: 30ch; font: 600 12px/1.35 var(--font); letter-spacing: .05em; text-transform: uppercase; color: var(--sale); }
.tag__name { margin-top: 10px; font: 500 22px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; color: #a9b0b9; }
.tag__name b { font-weight: 700; color: #fff; }
.tag__name > * { white-space: nowrap; }
.tag__ver { margin-top: 8px; font-weight: 600; font-size: 13px; line-height: 1.35; color: var(--muted); }
.tag__pic { display: block; width: calc(100% + 16px); margin: 14px -8px 0; aspect-ratio: 2.25; }
.tag__pic img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 14px 10px rgba(0, 0, 0, .65)); transition: transform .35s; }
.tag__save { display: flex; flex-direction: column; align-items: center; margin-top: 16px; font: 700 34px/1 var(--display); color: var(--sale); white-space: nowrap; }
.tag__save small { margin-bottom: 6px; font: 600 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tag__left { margin-top: 16px; padding: 7px 14px; border-radius: 999px; background: #1f2328; font-weight: 600; font-size: 13px; color: #d9dde2; transition: background .2s, color .2s; }
.tag__left::after { content: " →"; color: var(--sale); }
.tag--lead .tag__claim { font-size: 13px; }
.tag--lead .tag__name { font-size: 28px; }
.tag--lead .tag__ver { font-size: 14px; color: var(--soft); }
.tag--lead .tag__pic { aspect-ratio: 2.55; }
.tag--lead .tag__save { font-size: 50px; }
.tag:hover .tag__pic img { transform: translateY(-4px); }
.tag:hover .tag__left { background: var(--sale); color: var(--ink); }
.tag:hover .tag__left::after { color: var(--ink); }

/* рольставня: поднимается один раз за визит */
.shutter { display: none; }
.js .shutter { display: block; position: absolute; inset: 0; z-index: 30; pointer-events: none;
  background:
    linear-gradient(180deg, transparent calc(100% - 30px), #0b0c0e calc(100% - 30px), #24272c calc(100% - 26px), #0b0c0e),
    repeating-linear-gradient(180deg, #3b3f45 0, #2c2f34 3px, #212327 18px, #17181b 24px, #0d0e10 26px, #0d0e10 28px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .7);
  animation: shutter-up 1.15s cubic-bezier(.66, 0, .24, 1) .5s forwards; }
.gate-seen .shutter { display: none; }
@keyframes shutter-up { to { transform: translateY(-104%); } }
.shutter__txt { position: absolute; left: 16px; right: 16px; top: 46%; transform: translateY(-50%); text-align: center; }
.shutter__logo { display: block; width: auto; height: clamp(44px, 6vw, 78px); margin: 0 auto 22px; filter: drop-shadow(0 2px 0 #000); }
.shutter__txt b { display: block; font: 700 clamp(46px, 9vw, 132px)/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .9); text-shadow: 0 2px 0 #000; }
.shutter__txt span { display: block; margin-top: 18px; font: 700 14px/1.3 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--sale); }

/* ценники качнулись, когда поднялись ворота */
.js .tag { animation: swing 2.6s cubic-bezier(.3, .6, .4, 1) 1.25s both; }
.js .tag--s1 { animation-delay: 1.4s; }
.js .tag--s2 { animation-delay: 1.55s; }
.gate-seen .tag { animation-delay: .15s; }
@keyframes swing {
  0% { transform: rotate(0); }
  14% { transform: rotate(3.4deg); }
  34% { transform: rotate(-2.2deg); }
  54% { transform: rotate(1.2deg); }
  74% { transform: rotate(-.5deg); }
  100% { transform: rotate(0); }
}

/* ---------- Разделы ---------- */
.sec { padding: 104px 0; }
.sec__head { max-width: 780px; }
.kicker { font: 500 13px/1.3 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--sale); }
.sec h2, .close h2 { margin-top: 14px; font: 700 clamp(34px, 4.6vw, 60px)/1 var(--display); letter-spacing: .005em; text-transform: uppercase; }
.sec__lead { margin-top: 18px; font-size: 18px; color: var(--soft); }

/* ---------- Склад ---------- */
.stock { background: linear-gradient(180deg, #121418, var(--bg) 340px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; font-weight: 600; font-size: 15px; color: #e4e7eb; transition: background .2s, border-color .2s, color .2s; }
.chip span { font: 500 13px/1 var(--mono); color: var(--muted); }
.chip:hover { border-color: #6b727c; }
.chips:empty { display: none; }
.chip.is-on { border-color: var(--sale); background: var(--sale); color: var(--ink); }
.chip.is-on span { color: rgba(10, 11, 13, .65); }

.lots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.lots--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lot { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); transition: border-color .2s, transform .25s, box-shadow .25s; }
.lot:hover { border-color: #4b525c; transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .9); }
.lot--hit { border-color: var(--sale); }
.lot__pic { position: relative; aspect-ratio: 16 / 10; background:
    linear-gradient(180deg, transparent 64%, rgba(0, 0, 0, .35) 64%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(70% 70% at 50% 18%, rgba(255, 255, 255, .07), transparent 70%),
    linear-gradient(180deg, #1d2025, #15171b); }
.lot__pic::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 12px; height: 3px; background: repeating-linear-gradient(90deg, rgba(255, 210, 31, .55) 0 24px, transparent 24px 38px); }
.lot__pic img { position: absolute; z-index: 1; left: 6%; top: 25%; width: 88%; height: 63%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 10px 7px rgba(0, 0, 0, .6)); transition: transform .3s; }
.lot:hover .lot__pic img { transform: scale(1.03); }
.lot__bay { position: absolute; left: 14px; top: 14px; font: 700 13px/1 var(--mono); letter-spacing: .12em; color: rgba(255, 210, 31, .8); }
.lot__kind { position: absolute; right: 12px; top: 10px; padding: 5px 9px; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; font-size: 12px; color: var(--soft); }
.lot__hit { position: absolute; left: 0; right: 0; top: 0; z-index: 2; padding: 7px 10px; background: var(--sale); color: var(--ink); font: 700 12px/1.2 var(--font); letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.lot--hit .lot__pic img { top: 34%; height: 54%; }
.lot--hit .lot__bay { top: 42px; }
.lot--hit .lot__kind { top: 38px; }
.lot__body { display: flex; flex: 1; flex-direction: column; padding: 16px 18px 18px; }
.lot__name { font: 500 19px/1.1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: #a9b0b9; }
.lot__name b { font-weight: 700; color: #fff; }
.lot__ver { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--soft); }
.lot__paint { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; color: var(--muted); }
.lot__paint i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
/* ценник: старая цена и выгода в строку, ниже — цена на складе */
.lot__tag { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "cap" "price"; align-items: center; gap: 5px; margin-top: 16px; padding: 12px 14px 12px 20px; border: 1px solid #2d3238; border-radius: 10px; background: #0a0b0d; }
.lot__tag::before { content: ""; position: absolute; left: -1px; top: 50%; width: 9px; height: 18px; margin-top: -9px; border: 1px solid #2d3238; border-left: 0; border-radius: 0 9px 9px 0; background: var(--panel); }
.lot__cap { grid-area: cap; font-weight: 600; font-size: 12px; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lot__tag b { grid-area: price; font: 700 28px/1.05 var(--display); letter-spacing: .01em; white-space: nowrap; color: var(--sale); }
.lot__tag--ask b { color: inherit; font-size: 22px; }
.lot__left { margin: 12px 0 14px; font-weight: 600; font-size: 13px; color: var(--muted); }
.lot__left.is-last { color: var(--sale); }
.lot__left.is-last::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--sale); vertical-align: 1px; animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.lot__btn { width: 100%; margin-top: auto; }
.lots__more { margin-top: 18px; text-align: center; }
.lots__more .btn { width: 100%; }

/* ---------- Модели ---------- */
.models__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.model { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.model--lead { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: none; }
.model__pic { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.model--lead .model__pic { aspect-ratio: auto; min-height: 440px; }
.model__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.model--lead .model__pic img { object-position: 55% 50%; }
.model__kind { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(10, 11, 13, .78); font-weight: 600; font-size: 13px; }
.model__body { display: flex; flex-direction: column; padding: 30px 32px 32px; }
.model__claim { align-self: flex-start; padding: 7px 13px; border: 1px solid rgba(255, 210, 31, .55); border-radius: 999px; font-weight: 700; font-size: 13px; line-height: 1.3; color: var(--sale); }
.model__claim .star { color: inherit; }
.model h3 { margin-top: 18px; font: 700 34px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.model__sub { display: block; margin-top: 10px; font: 600 20px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: #e2e5e9; }
.model__text { margin-top: 14px; color: var(--soft); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-top: 24px; }
.facts li { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.facts b { font: 700 28px/1.1 var(--display); }
.facts span { font-size: 13px; color: var(--muted); }
.model__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 26px; }

/* ---------- Условия ---------- */
.terms-sec { padding-top: 0; }
.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.term { padding: 26px 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.term:first-child { border-color: var(--sale); background: var(--sale); color: var(--ink); }
.term b { display: block; font: 700 34px/1.05 var(--display); text-transform: uppercase; }
.term p { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--soft); }
.term:first-child p { color: rgba(10, 11, 13, .82); }

/* ---------- Финал: ворота закрываются ---------- */
.close { position: relative; isolation: isolate; padding: 104px 0; border-top: 1px solid var(--line); background: radial-gradient(60% 50% at 25% 0%, rgba(255, 210, 31, .06), transparent 70%), linear-gradient(180deg, #0d0f12, #070809); }
.close::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--noise); opacity: .04; pointer-events: none; }
.close__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 64px; align-items: start; }
.close h2 { margin-top: 18px; }
.close__lead { max-width: 560px; margin-top: 18px; font-size: 18px; color: var(--soft); }
.gate { --shut: .04; max-width: 600px; margin-top: 34px; }
.gate__door { position: relative; aspect-ratio: 2.15; overflow: hidden; border: 12px solid #2a2d32; border-bottom: 0; border-radius: 8px 8px 0 0;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(255, 236, 190, .2), transparent 70%),
    linear-gradient(180deg, #16181c 0, #1d2025 68%, #0f1013 68%, #16181b 100%); }
/* табличка над воротами: шторка её не закрывает */
.gate__sign { width: max-content; max-width: 100%; margin: 0 auto 10px; padding: 7px 14px 6px; border: 1px solid #34383f; border-radius: 6px; background: #0b0c0e; font: 700 12px/1.2 var(--mono); letter-spacing: .24em; text-align: center; text-transform: uppercase; color: var(--sale); box-shadow: 0 0 22px rgba(255, 210, 31, .12); }
.gate__car { position: absolute; left: 10%; bottom: 9%; width: 80%; filter: drop-shadow(0 12px 9px rgba(0, 0, 0, .7)); }
.gate__shutter { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--shut) * 100%); background:
    linear-gradient(180deg, transparent calc(100% - 10px), #0b0c0e calc(100% - 10px), #2b2e33 calc(100% - 7px), #0b0c0e),
    repeating-linear-gradient(180deg, #3b3f45 0, #2c2f34 2px, #212327 11px, #141518 15px, #0c0d0f 16px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, .6); transition: height 1.8s cubic-bezier(.6, 0, .2, 1); }
.gate::after { content: ""; display: block; height: 10px; margin: 0 -18px; border-radius: 3px; background: repeating-linear-gradient(-45deg, var(--sale) 0 14px, #111 14px 28px); opacity: .85; }
.gate__cap { margin-top: 14px; font: 700 13px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--sale); }
.steps { display: grid; gap: 14px; max-width: 560px; margin-top: 30px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: center; font-weight: 500; color: #e2e5e9; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 50%; font: 700 16px/1 var(--display); color: var(--sale); }

/* ---------- Формы ---------- */
.lead { position: relative; display: grid; gap: 16px; padding: 30px 28px 28px; }
.lead--inline { border: 1px solid var(--line-2); border-radius: 22px; background: #121418; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.lead h2, .lead h3, .doc h2 { font: 700 26px/1.1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.dlg .lead h2, .doc h2 { padding-right: 44px; }
.lead__form { display: grid; gap: 16px; }
.lead__sub { margin-top: -6px; font-size: 15px; color: var(--soft); }
.lead__car { padding: 10px 14px; border-left: 3px solid var(--sale); border-radius: 0 8px 8px 0; background: var(--panel-2); font-weight: 700; font-size: 15px; }
.fld { display: grid; gap: 6px; }
.fld span { font-size: 13px; font-weight: 600; color: var(--muted); }
.fld input, .fld select { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid #3a4049; border-radius: 10px; background: #0b0c0e; color: #fff; font-weight: 600; font-size: 17px; }
.fld select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #0b0c0e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffd21f' stroke-width='2'/%3E%3C/svg%3E") right 16px center / 12px 8px no-repeat; font-size: 15px; text-overflow: ellipsis; }
.fld select option, .fld select optgroup { background: #14171b; color: #fff; }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--sale); }
.fld.is-bad input { border-color: #ff6b6b; }
.chk { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 13px; line-height: 1.45; color: #cfd3d9; cursor: pointer; }
.chk input { width: 22px; height: 22px; margin: 0; accent-color: var(--sale); }
.chk i { font-style: normal; color: var(--muted); }
.chk.is-bad { color: #ff8a8a; }
.chk.is-bad input { outline: 2px solid #ff6b6b; outline-offset: 2px; }
.chk .lnk { color: #fff; }
.lead__msg { font-size: 14px; font-weight: 600; }
.lead__msg:empty { display: none; }
.lead__msg.is-err { color: #ff8a8a; }
.lead__done { display: grid; gap: 14px; justify-items: center; padding: 12px 0 4px; text-align: center; }
.lead__done svg { width: 64px; height: 64px; fill: none; stroke: var(--sale); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lead__done h2, .lead__done h3 { padding: 0; }
.lead__done p { color: var(--soft); }

/* пожелания */
.opts { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; border: 0; }
.opts legend { float: left; width: 100%; margin-bottom: 8px; padding: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; font-size: 14px; color: #dfe2e6; transition: background .2s, border-color .2s; }
.opt span::before { content: "+"; width: 12px; font-weight: 700; color: var(--sale); text-align: center; }
.opt input:checked + span { border-color: var(--sale); background: rgba(255, 210, 31, .14); color: #fff; }
.opt input:checked + span::before { content: "✓"; }
.opt input:focus-visible + span { outline: 2px solid var(--sale); outline-offset: 2px; }

/* бумажный чек */
.bill { --z: 7px; position: relative; padding: 16px 18px calc(16px + var(--z)); background: var(--paper); color: #16171a; font-family: var(--mono);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--z)) no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) bottom / calc(2 * var(--z)) var(--z) repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--z)) no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) bottom / calc(2 * var(--z)) var(--z) repeat-x; }
.bill__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px dashed #b4b0a6; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #6d6a63; }
.bill__logo { flex: none; width: auto; height: 32px; }
.bill__pic { height: 96px; margin-top: 8px; }
.bill__pic img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 5px rgba(0, 0, 0, .25)); }
.dlg .bill__pic { height: 80px; }
.bill__model { margin-top: 6px; font-weight: 700; font-size: 15px; }
.bill__ver { font-size: 13px; line-height: 1.4; color: #4f4d48; }
.bill__rows { display: grid; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed #b4b0a6; font-size: 13px; }
.bill__rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bill__rows dd { font-weight: 700; white-space: nowrap; }
.bill__total { font-size: 15px; font-weight: 700; }
.bill__total dd { font-size: 19px; }

/* ---------- Контакты ---------- */
.contacts { padding-bottom: 88px; }
.contacts__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; max-width: none; }
.contacts__logo { width: auto; height: 64px; margin-bottom: 2px; }
.contacts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 36px; }
.contact { display: grid; gap: 6px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.contact span { font-size: 13px; font-weight: 600; color: var(--muted); }
.contact a, .contact p { font-weight: 700; font-size: 19px; text-decoration: none; }
.contact a:hover { color: var(--sale); }
.contacts__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- Подвал ---------- */
.foot { padding: 40px 0 32px; border-top: 1px solid var(--line); background: #070809; color: var(--muted); font-size: 13px; line-height: 1.6; }
.foot__note { max-width: 1100px; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot__row ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__brand { display: flex; align-items: center; gap: 14px; }
.foot__brand img { width: auto; height: 30px; }
.foot__row button { padding: 0; border: 0; background: none; color: var(--soft); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

.dock { display: none; }

/* ---------- Окна ---------- */
.dlg { width: min(510px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; overflow: auto; border: 1px solid var(--line-2); border-radius: 20px; background: #121418; color: var(--text); }
.dlg::backdrop { background: rgba(4, 5, 6, .8); }
.dlg--doc { width: min(680px, calc(100vw - 24px)); }
.dlg__x { position: absolute; right: 12px; top: 12px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--panel-2); }
.dlg__x::before, .dlg__x::after { content: ""; position: absolute; left: 12px; top: 19px; width: 16px; height: 2px; background: #fff; transform: rotate(45deg); }
.dlg__x::after { transform: rotate(-45deg); }
.doc { position: relative; padding: 32px 28px 28px; }
.doc__text { display: grid; gap: 12px; margin-top: 18px; font-size: 14px; line-height: 1.6; color: #d5d9df; }

/* ---------- Невысокие экраны ноутбуков: выгода на ценниках видна без прокрутки ---------- */
@media (min-width: 1024px) and (max-height: 900px) {
  .hero { padding-top: 30px; }
  .hero__h { margin-top: 14px; font-size: clamp(44px, 5.4vw, 76px); }
  .hero__sub { margin-top: 14px; font-size: 18px; }
  .rail { margin-top: 34px; padding-bottom: 48px; }
  .tag__body { padding-top: 38px; }
  .tag__ver { margin-top: 5px; }
  .tag__pic { aspect-ratio: 2.7; }
  .tag__save { margin-top: 12px; }
  .tag--lead .tag__claim { max-width: none; }
  .tag--lead .tag__pic { aspect-ratio: 3.4; }
  .tag--lead .tag__save { font-size: 46px; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .hero__h { font-size: clamp(44px, 4vw, 56px); }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .hero { padding-top: 22px; }
  .rail { margin-top: 24px; }
  .tag__body { padding-top: 34px; }
  .tag__pic { aspect-ratio: 3.1; }
  .tag--lead .tag__pic { aspect-ratio: 3.9; }
}

/* ---------- Ноутбуки ---------- */
@media (max-width: 1239px) {
  .top__nav { gap: 20px; }
  .top__bf { display: none; }
  .lots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tag--lead .tag__save { font-size: 44px; }
}

/* ---------- Планшеты ---------- */
@media (max-width: 1023px) {
  .top__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px 24px 16px; border-bottom: 1px solid var(--line); background: #0d0f12; }
  .top.is-open .top__nav { display: flex; }
  .top__nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .burger { display: block; }
  .top__act { margin-left: auto; }
  .hero__in { grid-template-columns: 1fr; align-items: start; }
  .rail__tags { gap: 18px; padding: 0; }
  .tag__body { padding: 40px 14px 20px; }
  .tag__name { font-size: 19px; }
  .tag__save { font-size: 28px; }
  .tag--lead .tag__name { font-size: 24px; }
  .tag--lead .tag__save { font-size: 38px; }
  .model--lead { grid-template-columns: 1fr; }
  .model--lead .model__pic { min-height: 0; aspect-ratio: 16 / 9; }
  .close__in { grid-template-columns: 1fr; gap: 44px; }
  .close__in .lead--inline { max-width: 560px; }
}

/* ---------- Телефоны ---------- */
@media (max-width: 767px) {
  body { padding-bottom: 78px; }
  .wrap { width: calc(100% - 32px); }
  .top__in { gap: 10px; min-height: 60px; }
  .top__evo { height: 16px; }
  .top__dvaris { height: 22px; padding-left: 9px; }
  .top__logos { gap: 9px; }
  .top__act .btn { display: none; }
  .top__phone { font-size: 14px; }
  .top__nav { padding: 4px 16px 12px; }

  .hero { padding-top: 30px; }
  .hero__h { margin-top: 16px; }
  .hero__sub { margin-top: 14px; font-size: 17px; }
  .hero__side { gap: 18px; justify-items: stretch; }
  .timer__digits span { flex: 1; min-width: 0; padding: 10px 4px 8px; }
  .timer__digits b { font-size: 34px; }
  .hero__act .btn { flex: 1 1 100%; }

  /* на телефоне у каждого ценника свой гвоздик */
  .rail { margin-top: 30px; padding-bottom: 44px; }
  .rail__bar { display: none; }
  .rail__tags { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tag, .tag--lead { --drop: 18px; }
  .tag--lead { grid-column: 1 / -1; order: -1; }
  .rail__tags--n2 .tag--lead { grid-column: auto; }
  .tag::after { top: -24px; width: 12px; height: 12px; margin-left: -6px; border: 0; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #c3c8cf, #5d636b 70%); transform: none; }
  .tag::before { top: -16px; height: 41px; }
  .tag__in { border-radius: 0 0 14px 14px; clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%, 0 22px); }
  .tag__body { padding: 36px 10px 16px; border-radius: 0 0 13px 13px; clip-path: polygon(21.6px 0, calc(100% - 21.6px) 0, 100% 21.6px, 100% 100%, 0 100%, 0 21.6px); }
  .tag__claim { font-size: 10px; letter-spacing: .03em; }
  .tag__name { margin-top: 8px; font-size: 17px; }
  .tag__ver { margin-top: 5px; font-size: 11px; }
  .tag__pic { margin-top: 10px; }
  .tag__save { margin-top: 10px; font-size: 24px; }
  .tag__save small { font-size: 10px; }
  .tag__left { margin-top: 10px; padding: 6px 10px; font-size: 12px; }
  .tag--lead .tag__body { padding: 38px 16px 20px; }
  .tag--lead .tag__claim { font-size: 11px; }
  .tag--lead .tag__name { font-size: 24px; }
  .tag--lead .tag__ver { font-size: 13px; }
  .tag--lead .tag__save { font-size: 40px; }

  .sec, .close { padding: 72px 0; }
  .sec__lead, .close__lead { font-size: 16px; }
  .chips { flex-wrap: nowrap; margin: 26px -16px 0; padding: 0 16px 6px; overflow-x: auto; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .models__grid { grid-template-columns: 1fr; margin-top: 32px; }
  .model__body { padding: 24px 20px; }
  .model h3 { font-size: 28px; }
  .model__sub { font-size: 18px; }
  .facts b { font-size: 24px; }
  .model__act .btn { flex: 1 1 auto; }
  .terms { grid-template-columns: 1fr; margin-top: 30px; }
  .term b { font-size: 30px; }
  .gate__door { border-width: 9px; }
  .gate::after { margin: 0 -8px; }
  /* чек в окне на телефоне короче, чтобы до кнопки было ближе */
  .bill { padding: 12px 14px calc(12px + var(--z)); }
  .bill__logo { height: 24px; }
  .bill__pic, .dlg .bill__pic { height: 64px; margin-top: 6px; }
  .bill__rows { margin-top: 8px; padding-top: 8px; font-size: 12px; }
  .bill__total { font-size: 13px; }
  .bill__total dt { white-space: nowrap; }
  .bill__total dd { font-size: 17px; }
  .lead { padding: 26px 18px 22px; }
  .lead h2, .lead h3 { font-size: 23px; }
  .contacts__act .btn { flex: 1 1 100%; }
  .contacts__logo { height: 48px; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(10, 11, 13, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .3s ease; }
  /* пока видны кнопки первого экрана, панель спрятана */
  .js .dock:not(.is-on) { transform: translateY(110%); }
}

/* карточки склада */
@media (max-width: 899px) {
  .lots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 599px) {
  .lots { grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
  /* карточка в строку: фото слева, ценник и кнопка во всю ширину */
  .lot { display: grid; grid-template-columns: 46% minmax(0, 1fr); grid-template-rows: auto auto auto 1fr auto auto auto; grid-template-areas: "hit hit" "pic name" "pic ver" "pic paint" "tag tag" "left left" "btn btn"; column-gap: 14px; padding-bottom: 14px; }
  .lot__body { display: contents; }
  .lot__hit { position: static; grid-area: hit; padding: 6px 10px; font-size: 11px; }
  .lot__pic { grid-area: pic; align-self: start; aspect-ratio: 1.45; margin: 10px 0 0 10px; overflow: hidden; border-radius: 12px; }
  .lot__pic img, .lot--hit .lot__pic img { left: 5%; top: 24%; width: 90%; height: 62%; }
  .lot__pic::after { left: 8px; right: 8px; bottom: 7px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 210, 31, .55) 0 14px, transparent 14px 22px); }
  .lot__bay, .lot--hit .lot__bay { left: 8px; top: 8px; font-size: 11px; }
  .lot__kind { display: none; }
  .lot__name { grid-area: name; padding: 12px 12px 0 0; font-size: 17px; }
  .lot__ver { grid-area: ver; padding-right: 12px; font-size: 13px; }
  .lot__paint { grid-area: paint; align-self: start; padding-right: 12px; font-size: 13px; }
  .lot__tag { grid-area: tag; margin: 12px 14px 0; padding: 10px 12px 10px 18px; }
  .lot__tag b { font-size: 25px; }
  .lot__cap { font-size: 11px; }
  .lot__left { grid-area: left; margin: 10px 14px; font-size: 12px; }
  .lot__btn { grid-area: btn; width: auto; margin: 0 14px; min-height: 44px; padding: 10px 12px; font-size: 15px; }
  .lot:hover { transform: none; }
}
@media (max-width: 374px) {
  .top__evo { height: 14px; }
  .top__dvaris { height: 19px; padding-left: 8px; }
  .top__logos { gap: 8px; }
  .top__phone { font-size: 13px; }
}
@media (max-width: 359px) {
  .timer__digits b { font-size: 28px; }
  .tag__name { font-size: 15px; }
  .tag__save { font-size: 21px; }
  /* итог чека переносится, иначе он шире окна брони */
  .bill__total dt { white-space: normal; }
  .bill__total dd { font-size: 15px; }
  /* номер не помещается рядом с логотипами: остаётся кнопка-трубка, звонок в одно касание */
  .top__phone { flex: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 0; color: transparent;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / 18px no-repeat; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .shutter { display: none; }
  .js .tag, .lot__left.is-last::before { animation: none; }
  .gate__shutter, .lot, .lot__pic img, .tag__pic img { transition: none; }
}
