/* GAC Aion UT: шоу-страница (обзор). Ночная студия, цвет кузова ведёт акцент всей страницы.
   Мотив: квадрат из четырёх огней, как в передних и задних фонарях машины. */
:root {
  --night: #0a1420;   /* фон студии на рендерах, по замеру углов кадра */
  --deep: #07101a;
  --panel: #0e1b29;
  --line: rgba(168, 230, 212, .16);
  --paper: #e9f2ef;
  --mute: #93a8a6;
  --mint: #a8e6d4;
  --cream: #efe5cf;
  --lamp: #ff5147;    /* задний фонарь: только для суммы, которую человек не платит */
  --acc: var(--mint);
  --acc-ink: #06201a;
  --gut: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --disp: 'Tektur', 'Golos Text', system-ui, sans-serif;
  --body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}
body[data-c="cream"] { --acc: var(--cream); --acc-ink: #2b2213; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--paper);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--acc); text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--disp); font-weight: 700; line-height: 1.05; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--acc); color: var(--acc-ink); border-radius: 8px; }
.skip:focus { top: 12px; }
.nw { white-space: nowrap; }
.wrap { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }

/* квадрат из четырёх огней: 2x2 точки через тени */
.quads li::before, .nums li::before, .fam-list li::before {
  content: ''; flex: none; width: 5px; height: 5px; background: var(--acc);
  box-shadow: 7px 0 var(--acc), 0 7px var(--acc), 7px 7px var(--acc);
  transition: background .6s, box-shadow .6s;
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 6px; border: 0;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background .6s, color .6s, box-shadow .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-acc { background: var(--acc); color: var(--acc-ink); }
.btn-acc:hover { box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 28%, transparent); }
.btn-ghost { background: transparent; color: var(--paper); box-shadow: 0 0 0 1px rgba(233, 242, 239, .28) inset; }
.btn-ghost:hover { box-shadow: 0 0 0 1px var(--acc) inset; color: var(--acc); }
.round {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: transparent; color: var(--paper); box-shadow: 0 0 0 1px rgba(233, 242, 239, .28) inset;
}
.round:hover { box-shadow: 0 0 0 1px var(--acc) inset; color: var(--acc); }
.round svg { width: 20px; height: 20px; }

/* ---------- первый экран ---------- */
.hero {
  position: relative; background: var(--night); overflow: hidden;
  /* машина вписывается в первый экран вместе с заголовком и ценой */
  --carw: min(96vw, 1500px, max(640px, calc((100svh - 250px) * 1.791)));
}
.bar {
  position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 16px var(--gut);
}
.brand { font-family: var(--disp); font-weight: 700; font-size: 20px; color: var(--paper); text-decoration: none; letter-spacing: .01em; }
.brand span { color: var(--acc); transition: color .6s; }
.bar nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); font-size: 15px; }
.bar nav a { color: var(--mute); text-decoration: none; }
.bar nav a:hover { color: var(--paper); }
.bar .tg-mini { color: var(--acc-ink); background: var(--acc); padding: 8px 16px; border-radius: 6px; font-weight: 600; transition: background .6s, color .6s; }
.bar .tg-mini:hover { color: var(--acc-ink); }

.hero-copy { position: relative; z-index: 2; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 10px var(--gut) 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 13px; color: var(--mute); }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--paper); }
h1 { margin-top: clamp(18px, 3vw, 30px); }
.h-name { display: block; font-size: clamp(50px, 7vw, 108px); line-height: .9; letter-spacing: -.01em; }
.h-tail { display: block; margin-top: 12px; font: 400 clamp(17px, 1.7vw, 22px)/1.35 var(--body); color: var(--mute); max-width: 32ch; }

.scene { position: relative; margin-top: calc(var(--carw) / 1.791 * -0.06); }
.car {
  position: relative; width: var(--carw); aspect-ratio: 2400 / 1340; margin: 0 auto; isolation: isolate;
  /* края кадра растворяются в фоне страницы: у рендера фон студии чуть светлее по углам */
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 9%, #000 90%, transparent), linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent, #000 9%, #000 90%, transparent), linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect;
}
.car img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pair .cream { opacity: 0; transition: opacity .7s ease; }
body[data-c="cream"] .pair .cream { opacity: 1; }

/* пробуждение: студия тёмная, загораются квадраты огней, затем фары, затем свет в зале */
.glow { position: absolute; left: var(--x); top: var(--y); z-index: 2; opacity: 0; pointer-events: none; transform: translate(-50%, -50%); mix-blend-mode: screen; border-radius: 50%; }
.g1, .g2 { width: var(--w); aspect-ratio: 2.6; background: radial-gradient(closest-side, rgba(240, 250, 255, .95), rgba(170, 215, 255, .38) 48%, transparent); }
.q1, .q2 { width: var(--w); aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(200, 235, 255, .35) 55%, transparent); }
.g1 { --x: 41.8%; --y: 48.8%; --w: 10%; }
.g2 { --x: 21.4%; --y: 48.8%; --w: 5.5%; }
.q1 { --x: 41.2%; --y: 63.8%; --w: 4.6%; }
.q2 { --x: 19%;   --y: 61.2%; --w: 2.6%; }
.sweep {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; mix-blend-mode: overlay;
  background: linear-gradient(104deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0;
}
.js .car[data-wake]::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--night); opacity: .9;
}
.js .car.awake::after { opacity: 0; transition: opacity 1.7s cubic-bezier(.3, .1, .2, 1) .75s; }
.js .car.awake .q1, .js .car.awake .q2 { animation: lamp 2.9s steps(1, end) .15s both, fadeout 1.4s ease 2.7s forwards; }
.js .car.awake .g1, .js .car.awake .g2 { animation: beam 2.9s cubic-bezier(.2, .7, .2, 1) .55s both; }
.js .car.awake .sweep { animation: sweep 1.6s cubic-bezier(.45, .05, .3, 1) 1.9s both; }
@keyframes lamp { 0% { opacity: 0; } 6% { opacity: 1; } 10% { opacity: .15; } 15% { opacity: 1; } 100% { opacity: .85; } }
@keyframes fadeout { to { opacity: 0; } }
@keyframes beam { 0% { opacity: 0; } 18% { opacity: 1; } 55% { opacity: .9; } 100% { opacity: 0; } }
@keyframes sweep { 0% { opacity: 1; background-position: 130% 0; } 100% { opacity: 1; background-position: -30% 0; } }

.offer {
  position: relative; z-index: 3; display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 22px 40px;
  max-width: calc(var(--max) + 2 * var(--gut)); margin: calc(var(--carw) / 1.791 * -0.19) auto 0; padding: 0 var(--gut) clamp(40px, 6vw, 80px);
}
.price { margin: 0; grid-row: span 2; }
.price small { display: block; color: var(--mute); font-size: 15px; }
.price b { display: block; font-family: var(--disp); font-weight: 500; font-size: clamp(38px, 5.6vw, 70px); line-height: 1.02; color: var(--acc); transition: color .6s; white-space: nowrap; }
.price span { display: block; margin-top: 6px; font-size: 15px; }
.swatches { display: flex; gap: 8px; justify-self: end; }
.sw {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 10px; border: 0; border-radius: 22px; cursor: pointer;
  background: rgba(233, 242, 239, .05); box-shadow: 0 0 0 1px rgba(233, 242, 239, .14) inset; font-size: 15px;
}
.sw i { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .3) inset; }
.sw[data-c="mint"] i { background: var(--mint); }
.sw[data-c="cream"] i { background: var(--cream); }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 1.5px var(--acc) inset; background: color-mix(in srgb, var(--acc) 10%, transparent); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; justify-self: end; }
.viz-note { margin: 10px 0 0; color: var(--mute); font-size: 12px; }
.offer .viz-note { grid-column: 1 / -1; margin: 0; }

/* ---------- общие блоки ---------- */
.block { padding: clamp(64px, 9vw, 128px) 0; }
.block + .block { border-top: 1px solid var(--line); }
h2 { font-size: clamp(30px, 4.6vw, 54px); max-width: 26ch; margin-bottom: 18px; }
h3 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 18px; }
.lead { max-width: 62ch; margin: 0 0 clamp(28px, 4vw, 44px); color: var(--mute); font-size: clamp(16px, 1.5vw, 19px); }
.note, .fine { color: var(--mute); font-size: 14px; }

/* коротко */
.summary { background: var(--deep); }
.answer { max-width: 60ch; margin: 0 0 clamp(36px, 5vw, 60px); font-size: clamp(18px, 1.9vw, 22px); line-height: 1.5; }
.nums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.nums li { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.nums li::before { margin-bottom: 8px; }
.nums b { font-family: var(--disp); font-weight: 500; font-size: clamp(30px, 3.6vw, 46px); line-height: 1; color: var(--acc); transition: color .6s; white-space: nowrap; }
.nums span { color: var(--mute); font-size: 15px; max-width: 26ch; }

/* размеры */
.dim-fig { position: relative; margin: 0 0 clamp(32px, 5vw, 56px); }
.dim-fig img { width: 100%; height: auto; border-radius: 6px; }
.dim-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dim-svg line { stroke: var(--acc); stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: stroke .6s; }
.js .dim-svg .d { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.js .dim-fig.in .d { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s cubic-bezier(.3, .1, .2, 1); }
.js .dim-fig.in .d-base { transition-delay: .35s; }
.js .dim-fig.in .d-h { transition-delay: .7s; }
.dim-l {
  position: absolute; transform: translate(-50%, -50%); padding: 3px 9px; border-radius: 4px; white-space: nowrap;
  font-family: var(--disp); font-weight: 500; font-size: clamp(12px, 1.35vw, 17px); color: var(--acc); background: rgba(10, 20, 32, .88);
  transition: color .6s;
}
.l-len { left: 49.9%; top: 86.7%; }
.l-base { left: 50.7%; top: 95%; }
.l-h { left: 94.8%; top: 53.8%; }
.js .dim-l { opacity: 0; }
.js .dim-fig.in .dim-l { opacity: 1; transition: opacity .5s ease 1.1s; }
.spec-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.spec-list div { display: grid; grid-template-columns: minmax(150px, 40%) 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--mute); font-size: 15px; }
.spec-list dd { margin: 0; font-size: 15px; }

/* ракурсы */
.angles { background: var(--deep); }
.viewer { position: relative; aspect-ratio: 2400 / 1340; overflow: hidden; border-radius: 6px; cursor: grab; touch-action: pan-y; user-select: none; background: var(--night); }
.viewer:active { cursor: grabbing; }
.ang { position: absolute; inset: 0; opacity: 0; transform: translate3d(var(--from, 0), 0, 0); transition: opacity .55s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.ang.on { opacity: 1; transform: none; }
.ang img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ang-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 3px; }
.chips::-webkit-scrollbar { display: none; }
.chips button {
  flex: none; min-height: 44px; padding: 0 18px; border: 0; border-radius: 22px; cursor: pointer; font-size: 15px;
  background: transparent; color: var(--mute); box-shadow: 0 0 0 1px rgba(233, 242, 239, .18) inset;
}
.chips button[aria-checked="true"] { background: var(--acc); color: var(--acc-ink); box-shadow: none; }
.arrows { display: flex; gap: 8px; flex: none; }

/* зима */
.winter { position: relative; background: var(--deep); padding-bottom: clamp(64px, 9vw, 128px); }
.winter picture img { width: 100%; height: min(62vw, 86vh); object-fit: cover; object-position: 60% 50%; }
.winter .wrap { position: relative; margin-top: clamp(-90px, -5vw, -40px); }
.win-copy {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(22px, 3.4vw, 44px); border-radius: 6px;
  background: rgba(8, 16, 26, .9); box-shadow: 0 0 0 1px var(--line) inset;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.win-copy p { margin: 0; color: var(--mute); }
.win-text h2 { margin-bottom: 14px; }
.win-copy .viz-note { margin: 0; }
.charge { margin: 0 0 18px; }
.charge p { color: var(--paper); margin: 36px 0 0; }
.charge b { font-family: var(--disp); font-weight: 500; color: var(--acc); transition: color .6s; }
.charge-bar { position: relative; height: 18px; border-radius: 3px; overflow: visible; background: repeating-linear-gradient(90deg, rgba(233, 242, 239, .09) 0 calc(10% - 3px), transparent calc(10% - 3px) 10%); }
.charge-bar i {
  position: absolute; left: 0; top: 0; bottom: 0; width: 80%;
  background: repeating-linear-gradient(90deg, var(--acc) 0 calc(12.5% - 3px), transparent calc(12.5% - 3px) 12.5%);
  -webkit-mask: linear-gradient(90deg, #000 var(--fill, 100%), transparent 0); mask: linear-gradient(90deg, #000 var(--fill, 100%), transparent 0);
  opacity: .95;
}
.js .charge-bar i { --fill: 37.5%; }
.js .charge.in .charge-bar i { animation: fill 2.4s cubic-bezier(.4, .1, .2, 1) .2s forwards; }
@property --fill { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
@keyframes fill { from { --fill: 37.5%; } to { --fill: 100%; } }
.charge-bar span { position: absolute; top: calc(100% + 6px); transform: translateX(-50%); font-size: 13px; color: var(--mute); font-family: var(--disp); }
.m30 { left: 30%; }
.m80 { left: 80%; }

/* салон */
.int-fig { position: relative; margin: 0; border-radius: 6px; overflow: hidden; }
.int-fig img { width: 100%; height: auto; }
.spot {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(10, 20, 32, .72); color: var(--acc); box-shadow: 0 0 0 1.5px var(--acc) inset, 0 6px 20px rgba(0, 0, 0, .4);
  font: 500 16px/1 var(--disp); transition: background .2s, color .2s, transform .2s;
}
.spot:hover { transform: translate(-50%, -50%) scale(1.08); }
.spot[aria-expanded="true"] { background: var(--acc); color: var(--acc-ink); }
.tips { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tips li { position: relative; padding: 18px 18px 18px 58px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line) inset; color: var(--mute); font-size: 15px; transition: box-shadow .25s, background .25s; }
.tips li i { position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 500 14px/1 var(--disp); font-style: normal; color: var(--acc); box-shadow: 0 0 0 1.5px var(--acc) inset; }
.tips li b { display: block; color: var(--paper); margin-bottom: 6px; font-weight: 600; }
.tips li.on { box-shadow: 0 0 0 1.5px var(--acc) inset; background: color-mix(in srgb, var(--acc) 6%, transparent); }
.interior .viz-note, .fig-note { margin-top: 12px; }
.dim-fig { margin-bottom: 0; }
.dims .fig-note { margin-bottom: clamp(32px, 5vw, 56px); }

/* деньги */
.money { background: var(--deep); }
/* порядок платежей: линия между точками дорисовывается по шагам, комиссия последней точкой в цвете акцента */
.pay { list-style: none; margin: 0 0 clamp(40px, 6vw, 72px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pay li { position: relative; padding-top: 36px; }
.pay li::before { content: ''; position: absolute; left: 0; top: 0; z-index: 1; width: 16px; height: 16px; box-sizing: border-box; border: 2px solid var(--paper); border-radius: 50%; background: var(--deep); }
.pay li:not(:last-child)::after { content: ''; position: absolute; left: 16px; right: -24px; top: 7px; height: 2px; background: var(--paper); transform-origin: left; }
.pay b { display: block; margin-bottom: 6px; font-family: var(--disp); font-weight: 500; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.2; }
.pay span { display: block; color: var(--mute); font-size: 15px; line-height: 1.45; }
.pay li:last-child::before { width: 24px; height: 24px; top: -4px; left: -4px; background: var(--acc); border-color: var(--acc); }
.pay li:last-child b { color: var(--acc); font-size: clamp(22px, 2.5vw, 32px); }
.js .pay li::before { border-color: var(--line); }
.js .pay li:last-child::before { background: var(--deep); border-color: var(--line); }
.js .pay li:not(:last-child)::after { transform: scaleX(0); }
.js .pay.play li::before { border-color: var(--paper); transition: border-color .3s, background .3s; }
.js .pay.play li:last-child::before { background: var(--acc); border-color: var(--acc); }
.js .pay.play li:not(:last-child)::after { transform: none; transition: transform .45s linear; }
.js .pay.play li:nth-child(2)::before, .js .pay.play li:nth-child(2)::after { transition-delay: .45s; }
.js .pay.play li:nth-child(3)::before, .js .pay.play li:nth-child(3)::after { transition-delay: .9s; }
.js .pay.play li:nth-child(4)::before { transition-delay: 1.35s; }
@media (max-width: 760px) {
  .pay { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pay li { padding: 0 0 0 40px; }
  .pay li::before { top: 5px; }
  .pay li:last-child::before { top: 1px; }
  .pay li:not(:last-child)::after { left: 7px; right: auto; top: 21px; bottom: -31px; width: 2px; height: auto; transform-origin: top; }
  .js .pay li:not(:last-child)::after { transform: scaleY(0); }
}
.quads { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.quads li { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.quads li::before { margin-right: 6px; }

/* версии и расчёт */
.ver-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.ver-list { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; min-width: 0; }
.ver {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 18px; border-radius: 6px; cursor: pointer;
  box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow .2s, background .3s;
}
.ver input { position: absolute; opacity: 0; pointer-events: none; }
.ver:hover { box-shadow: 0 0 0 1px rgba(233, 242, 239, .35) inset; }
.ver:has(input:checked) { box-shadow: 0 0 0 1.5px var(--acc) inset; background: color-mix(in srgb, var(--acc) 7%, transparent); }
.ver:has(input:focus-visible) { outline: 2px solid var(--acc); outline-offset: 3px; }
.ver .nm { font-weight: 600; }
.ver .nm em { font-style: normal; font-weight: 400; color: var(--mute); margin-left: 4px; }
.ver .pr { font-family: var(--disp); font-weight: 500; white-space: nowrap; }
.ver:has(input:checked) .pr { color: var(--acc); }
.ver .eq { grid-column: 1 / -1; color: var(--mute); font-size: 14px; }
/* версия без цены поставщика: не выбирается, сумма по запросу */
.ver-ask { cursor: default; }
.ver-ask:hover { box-shadow: 0 0 0 1px var(--line) inset; }
.ver-ask .pr { font-family: var(--body); font-weight: 400; color: var(--mute); }
.calc {
  position: sticky; top: 18px; padding: clamp(20px, 2.6vw, 30px); border-radius: 6px;
  background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset;
}
.calc-car { position: relative; aspect-ratio: 1200 / 670; margin: -8px -8px 10px; }
.calc-car img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.lbl { display: block; color: var(--mute); font-size: 14px; }
label.lbl { margin-bottom: 8px; }
.swatches.mini .sw { min-height: 40px; font-size: 14px; }
.select { position: relative; }
.select::after { content: ''; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select {
  width: 100%; min-height: 52px; padding: 0 44px 0 16px; border: 0; border-radius: 6px; appearance: none; cursor: pointer;
  background: rgba(233, 242, 239, .06); box-shadow: 0 0 0 1px rgba(233, 242, 239, .18) inset; font-size: 16px;
}
.select select option { background: var(--panel); color: var(--paper); }
.sum { margin: 20px 0 0; display: grid; gap: 8px; font-size: 15px; }
.sum div { display: flex; justify-content: space-between; gap: 16px; }
.sum div span:first-child { color: var(--mute); }
.sum div span:last-child { white-space: nowrap; }
.total { margin: 16px 0 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.total small { color: var(--mute); font-size: 14px; }
.total .out { font-family: var(--disp); font-weight: 500; font-size: clamp(34px, 3.8vw, 46px); line-height: 1.1; color: var(--acc); transition: color .6s; white-space: nowrap; }
.calc > .btn { width: 100%; }
.calc .fine { margin: 14px 0 0; }
.ver-more { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 0; }
.ver-bar { display: none; }

/* порядок заказа: настоящая последовательность, поэтому с номерами */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: st; }
.steps li { counter-increment: st; padding-top: 16px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(st); display: block; font: 500 34px/1 var(--disp); color: var(--acc); margin-bottom: 14px; transition: color .6s; }
.steps b { display: block; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--mute); font-size: 15px; }

/* модели марки */
.family { background: var(--deep); }
.fam-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fam-list li { display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px 12px 14px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line) inset; font-family: var(--disp); font-weight: 500; }
.fam-list li::before { margin-right: 6px; }

/* вопросы */
.faq-list { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 20px 48px 20px 0; font-weight: 600; font-size: clamp(16px, 1.6vw, 19px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--acc); transition: transform .25s, background .6s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { margin: 0 0 22px; color: var(--mute); max-width: 70ch; }

/* финал */
.final { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: var(--night); border-top: 1px solid var(--line); overflow: hidden; }
.final .media { position: relative; order: 2; aspect-ratio: 16 / 9; }
.final .media img, .final .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final .media video { opacity: 0; transition: opacity .8s; }
.final .media video.on { opacity: 1; }
.final .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night), transparent 22%); pointer-events: none; }
.final .wrap { order: 1; margin: 0; max-width: none; padding: clamp(48px, 7vw, 96px) var(--gut) clamp(48px, 7vw, 96px) max(var(--gut), calc((100vw - var(--max)) / 2)); }
.fin-copy .lead { margin-bottom: 26px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.fin-copy .viz-note { margin-top: 18px; }
.links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 15px; }
.links a { color: var(--mute); }
.links a:hover { color: var(--paper); }
footer { padding: 28px var(--gut) 40px; color: var(--mute); font-size: 13px; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { color: var(--mute); }

/* ---------- окно выбора способа связи ---------- */
.cd {
  width: min(460px, calc(100vw - 2 * var(--gut)));
  max-height: calc(100svh - 32px);
  margin: auto; padding: 0; border: 0; border-radius: 10px;
  color: var(--paper); overflow: auto; overscroll-behavior: contain;
  background: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--acc) 12%, transparent), transparent 60%), var(--deep);
  box-shadow: 0 0 0 1px var(--line) inset, 0 30px 90px -20px rgba(0, 0, 0, .8);
}
.cd::backdrop { background: rgba(4, 9, 15, .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cd[open] { animation: cd-in .35s cubic-bezier(.2, .75, .2, 1); }
.cd[open]::backdrop { animation: cd-fade .3s ease; }
@keyframes cd-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes cd-fade { from { opacity: 0; } }
.cd [hidden] { display: none !important; }
.cd-body { padding: clamp(20px, 5vw, 30px); }
.cd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cd h2 { font-size: clamp(20px, 5vw, 24px); line-height: 1.15; padding-top: 6px; margin: 0; }
.cd-close { flex: none; width: 44px; height: 44px; margin: -4px -8px 0 0; border: 0; border-radius: 50%; background: transparent; color: var(--mute); cursor: pointer; display: grid; place-items: center; }
.cd-close:hover { color: var(--paper); background: rgba(233, 242, 239, .06); }
.cd-close svg { width: 20px; height: 20px; }
.cd-ways { display: grid; gap: 10px; margin-top: 22px; }
.cd-ways .btn { width: 100%; }
.cd-hint, .cd-note { margin: 0; color: var(--mute); font-size: 13px; }
.cd-hint { color: var(--acc); }
.cd-form { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.cd-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.cd-row { display: flex; gap: 8px; }
.cd-row input {
  flex: 1; min-width: 0; min-height: 54px; padding: 0 18px; border: 0; border-radius: 6px;
  background: rgba(233, 242, 239, .06); box-shadow: 0 0 0 1px rgba(233, 242, 239, .16) inset; font-size: 16px;
}
.cd-row input::placeholder { color: var(--mute); }
.cd-row input:focus { outline: none; box-shadow: 0 0 0 1.5px var(--acc) inset; }
.cd-row .btn { flex: none; padding: 0 20px; }
.cd-row .btn:disabled { opacity: .55; cursor: default; }
.cd-honey { display: none; } /* как на сайте: автозаполнение пропускает скрытое поле, заявка не теряется */
.cd-err { margin: 10px 0 0; color: #ff9b9b; font-size: 14px; }
.cd-err a { color: inherit; }
.cd-ok { margin: 22px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--acc); font-size: 15px; }
@media (max-width: 420px) {
  .cd-row { flex-direction: column; }
  .cd-row .btn { width: 100%; }
}

/* ---------- планшет ---------- */
@media (max-width: 1080px) {
  .nums { grid-template-columns: 1fr 1fr; }
  .tips { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr 1fr; row-gap: 32px; }
}
@media (max-width: 960px) {
  .offer { grid-template-columns: 1fr; }
  .price { grid-row: auto; }
  .swatches, .btns { justify-self: start; }
  .spec-list { grid-template-columns: 1fr; }
  .ver-grid { grid-template-columns: 1fr; }
  .calc { position: static; }
  .quads { grid-template-columns: 1fr; }
  .win-copy { grid-template-columns: 1fr; }
  .final { grid-template-columns: 1fr; }
  .final .media { order: 0; }
  .final .media::after { background: linear-gradient(0deg, var(--night), transparent 30%); }
  .final .wrap { padding: 8px var(--gut) 56px; }
  /* телефон: итог и кнопка под пальцем, пока на экране список версий */
  .ver-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 16, 26, .94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); transition: transform .3s ease; visibility: hidden;
  }
  .ver-bar.show { transform: none; visibility: visible; }
  .ver-bar small { display: block; color: var(--mute); font-size: 12px; }
  .ver-bar b { font-family: var(--disp); font-weight: 500; font-size: 22px; color: var(--acc); white-space: nowrap; }
  .ver-bar .btn { min-height: 46px; padding: 0 20px; }
}

/* ---------- телефон ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hide-m { display: none; }
  .hero { --carw: 140vw; }
  .car { margin-left: calc(50% - 70vw); }
  .scene { margin-top: 0; }
  .offer { margin-top: -9vw; gap: 18px; }
  .btns .btn { flex: 1 1 auto; }
  .nums { gap: 22px 16px; }
  .spec-list div { grid-template-columns: 1fr; gap: 2px; }
  .dim-l { padding: 2px 6px; }
  .l-h { left: 91%; }
  .winter picture img { height: 72vw; }
  .winter .wrap { margin-top: -40px; }
  .tips { grid-template-columns: 1fr; }
  .spot { width: 38px; height: 38px; font-size: 14px; }
  .ang-ctrl { flex-direction: column; align-items: stretch; }
  .arrows { justify-content: flex-end; margin-top: -4px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .fam-list li { font-size: 15px; }
}

/* ---------- без анимации ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .car[data-wake]::after { display: none; }
  .glow, .sweep { display: none; }
  .js .dim-svg .d { stroke-dasharray: none; stroke-dashoffset: 0; }
  .js .dim-l { opacity: 1; }
  .js .charge-bar i, .js .charge.in .charge-bar i { --fill: 100%; animation: none; }
  .js .pay li::before, .js .pay li::after { transition: none; }
  .js .pay li:not(:last-child)::after { transform: none; }
  .ang, .ang.on, .pair .cream, .ver-bar { transition: none; }
  .cd[open], .cd[open]::backdrop { animation: none; }
  .final .media video { display: none; }
}
