/* «Dezén» — пневсервис. Метафора: дорога и протектор.
   Лето — выгоревший бетон, резина и жёлтая дорожная разметка. Зима — ночной мокрый асфальт и лёд.
   Шрифты семейства Fira (Mozilla / Carrois): Extra Condensed — вывески и цифры как на дорожных знаках,
   Fira Sans — текст, Fira Mono — размеры, цены, время. Без свечений и градиентов «для красоты». */

:root {
  --bg: #ECE9E2; --surface: #F7F5F0; --surface-2: #E3DFD6; --paper: #FFFDF8;
  --ink: #151515; --muted: #5A564F; --line: #D2CDC2; --line-2: #B9B3A6;
  --accent: #F2B705; --on-accent: #151515; --accent-ink: #7A5700; --accent-soft: #F6E6AE;
  --ok: #2B7342; --warn: #A34A12; --bad: #B42318;
  --road: #2A2A28; --road-mark: #F2B705;
  --rubber: #1B1B1B; --side: #252525; --emb: #3D3D3D; --emb-dark: #0B0B0B; --rim: #C8CBCF; --rim-line: #979CA2;
  --disc: #7D8084; --hat: #5F6266; --well: #111111; --caliper: #F2B705; --shine: #FFFFFF;
  --plate-blue: #1F4AA8;
  --f-text: "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-disp: "Fira Sans Extra Condensed", "Fira Sans", system-ui, sans-serif;
  --f-mono: "Fira Mono", ui-monospace, Consolas, monospace;
  --r: 14px; --ease: cubic-bezier(.2, .8, .2, 1);
  --top-h: 68px;
  color-scheme: light;
}
:root[data-season="winter"] {
  --bg: #0F1316; --surface: #161B20; --surface-2: #1E252C; --paper: #1B2127;
  --ink: #E7EDF1; --muted: #9AA6B0; --line: #29323A; --line-2: #3B4651;
  --accent: #8FD0F7; --on-accent: #0B1620; --accent-ink: #9FD8FA; --accent-soft: #19303F;
  --ok: #6FCF8E; --warn: #F0A060; --bad: #FF7A6B;
  --road: #05080A; --road-mark: #E7EDF1;
  --rubber: #15191D; --side: #1C2126; --emb: #3A424A; --emb-dark: #000000; --rim: #B4BCC3; --rim-line: #7D868F;
  --disc: #5A6168; --hat: #454B51; --well: #06080A; --caliper: #8FD0F7; --shine: #CFE9F8;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
.reduce, .reduce * { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--f-text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sprite { display: none; }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mono { font-family: var(--f-mono); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 900px; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 16px; line-height: 1.1; text-decoration: none; transition: background-color .15s, color .15s, transform .12s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-accent:hover { box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.btn-line { box-shadow: inset 0 0 0 2px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; border: 1.5px solid var(--line-2); background: var(--surface); font: 500 14px var(--f-mono); }
.chip:hover { border-color: var(--ink); }

/* ---------- полоса «демо» и шапка ---------- */
.demo-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 18px; padding: 7px 24px; background: var(--ink); color: var(--bg); font-size: 13.5px; line-height: 1.4; }
.demo-strip a { display: inline-flex; align-items: center; gap: 4px; min-height: 30px; color: var(--accent); font-weight: 600; text-decoration: none; }
.demo-strip a:hover { text-decoration: underline; }
.demo-strip .icon { width: 16px; height: 16px; }
.top { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.top.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 18px -14px rgba(0, 0, 0, .5); }
.top-in { display: flex; align-items: center; gap: 18px; max-width: 1240px; min-height: var(--top-h); margin: 0 auto; padding: 8px 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; }
.logo-mark circle:first-child { fill: var(--rubber); }
.logo-rim { fill: var(--rim); stroke: var(--rubber); stroke-width: 2; }
.logo-tread { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.logo-word { font: 900 30px/1 var(--f-disp); letter-spacing: .01em; text-transform: uppercase; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 8px; font-weight: 600; font-size: 15.5px; text-decoration: none; }
.nav a:hover { background: var(--surface-2); }
.tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.season { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: var(--surface-2); }
.season button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: 8px; font-weight: 600; font-size: 14.5px; color: var(--muted); }
.season button .icon { width: 19px; height: 19px; }
.season button[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.langs { display: inline-flex; border: 1.5px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.langs a { display: inline-grid; place-items: center; min-width: 42px; min-height: 42px; padding: 0 8px; font: 600 13.5px var(--f-mono); text-decoration: none; color: var(--muted); }
.langs a + a { border-left: 1.5px solid var(--line-2); }
.langs a:hover { color: var(--ink); background: var(--surface-2); }
.langs a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.top-cta { min-height: 44px; padding: 0 16px; font-size: 15px; }
.menu-btn { display: none; place-items: center; width: 46px; height: 46px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.menu { position: fixed; inset: var(--top-h) 0 0; z-index: 39; overflow-y: auto; padding: 18px 24px 32px; background: var(--bg); }
.menu nav { display: grid; }
.menu nav a { display: flex; align-items: center; min-height: 58px; border-bottom: 1px solid var(--line); font: 800 30px var(--f-disp); text-transform: uppercase; text-decoration: none; }
.menu-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.menu-langs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line-2); font-weight: 600; text-decoration: none; }
.menu-langs a[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.menu-open body { overflow: hidden; }
@media (max-width: 1099px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
}

/* ---------- первый экран ---------- */
.hero { position: relative; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 24px; max-width: 1240px; margin: 0 auto; padding: 48px 24px 28px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 14px var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ""; width: 34px; height: 6px; background: repeating-linear-gradient(90deg, var(--accent) 0 12px, transparent 12px 18px); }
.hero-title { margin-top: 16px; font: 900 clamp(52px, 7.4vw, 108px)/.9 var(--f-disp); letter-spacing: -.005em; text-transform: uppercase; }
.hero-title em { font-style: normal; background: linear-gradient(transparent 60%, var(--accent) 60% 90%, transparent 90%); padding: 0 .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
:root[data-season="winter"] .hero-title em { background: none; color: var(--accent); }
.hero-lead { max-width: 560px; margin-top: 22px; font-size: 19px; color: var(--muted); }
.hero-season { display: flex; align-items: flex-start; gap: 10px; max-width: 560px; margin-top: 18px; padding: 12px 14px; border-left: 4px solid var(--accent); background: var(--surface); font-size: 15.5px; line-height: 1.45; }
.hero-season .icon { margin-top: 1px; color: var(--accent-ink); }
:root[data-season="summer"] .hero-season .icon:nth-of-type(2), :root[data-season="winter"] .hero-season .icon:nth-of-type(1),
:root[data-season="summer"] .s-winter, :root[data-season="winter"] .s-summer { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.next-free { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 18px; font-size: 15px; color: var(--muted); }
.next-free .icon { width: 19px; height: 19px; }
.next-free b { color: var(--ink); font-weight: 700; }
.hero-art { position: relative; aspect-ratio: 1; }
.hero-tire { position: absolute; inset: -4% -22% -4% 0; }
.tire-svg { width: 100%; height: 100%; overflow: visible; }
.t-well { fill: var(--well); }
.t-disc { fill: var(--disc); }
.t-holes { fill: var(--well); }
.t-hat { fill: var(--hat); }
.t-caliper { fill: var(--caliper); stroke: var(--rubber); stroke-width: 3; stroke-linejoin: round; }
.t-rubber { fill: var(--rubber); stroke: var(--line-2); stroke-width: 1.2; }
:root[data-season="summer"] .t-rubber { stroke: none; }
.t-sipe { fill: none; stroke: var(--side); stroke-width: 2.4; stroke-linejoin: round; }
.t-side { fill: var(--side); }
.t-line { fill: none; stroke: #000; stroke-opacity: .55; stroke-width: 2; }
.t-shine { fill: none; stroke: var(--shine); stroke-opacity: .16; stroke-width: 8; stroke-linecap: round; }
.t-emb { font: 800 25px var(--f-disp); letter-spacing: .12em; fill: var(--emb); stroke: var(--emb); }
.t-emb text, text.t-emb { stroke: none; }
g.t-emb { fill: none; stroke: var(--emb); }
.t-emb--dark { fill: var(--emb-dark); }
.t-emb--size { font-size: 30px; letter-spacing: .08em; }
.t-rim { fill: var(--rim); }
.t-rim-line { fill: none; stroke: var(--rim-line); stroke-width: 2; }
.t-nut { fill: var(--rim-line); }
.t-cap { fill: var(--rubber); stroke: var(--rim-line); stroke-width: 2; }
.t-cap-d { font: 900 22px var(--f-disp); fill: var(--accent); }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1240px; margin: 0 auto; padding: 8px 24px 26px; }
.facts li { display: grid; gap: 2px; padding: 14px 18px 12px; border-left: 2px solid var(--ink); }
.facts b { font: 800 clamp(30px, 3.4vw, 44px)/1 var(--f-disp); letter-spacing: .01em; }
.facts span { font-size: 14.5px; color: var(--muted); line-height: 1.35; }

.track { height: 82px; background: var(--road); color: var(--road-mark); overflow: hidden; }
.track-svg { width: 100%; }
.track-print { opacity: .9; }
.track-svg pattern path { fill: none; stroke: var(--road-mark); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.track-svg pattern rect { fill: var(--road-mark); }
.js .track .track-svg { clip-path: inset(0 100% 0 0); }
.js .track.in .track-svg { clip-path: inset(0 0 0 0); transition: clip-path 1.6s cubic-bezier(.5, 0, .2, 1); }
.reduce .track .track-svg { clip-path: none !important; transition: none !important; }

/* ---------- секции ---------- */
.sec { padding: 96px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 12px; margin-bottom: 40px; }
.sec-n { display: inline-grid; place-items: center; justify-self: start; min-width: 46px; height: 46px; padding: 0 8px; border: 2.5px solid var(--ink); border-radius: 8px; font: 800 22px var(--f-disp); }
.sec-head h2 { font: 800 clamp(38px, 5vw, 66px)/.95 var(--f-disp); text-transform: uppercase; letter-spacing: .005em; }
.sec-lead { max-width: 680px; font-size: 18px; color: var(--muted); }
.mini-h { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 800 20px var(--f-disp); text-transform: uppercase; letter-spacing: .02em; }
.mini-h .icon { width: 20px; height: 20px; }
.js:not(.reduce) .rise { opacity: 0; translate: 0 18px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.js:not(.reduce) .rise.in { opacity: 1; translate: 0 0; }

/* ---------- как проходит: дорога ---------- */
.road { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.road li { position: relative; padding: 38px 22px 0 0; }
.road li::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 14px; background: var(--road) repeating-linear-gradient(90deg, var(--road-mark) 0 26px, transparent 26px 44px) center / 100% 3px no-repeat; }
.road li:first-child::before { border-radius: 7px 0 0 7px; }
.road li:last-child::before { border-radius: 0 7px 7px 0; }
.road-n { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 4px var(--bg); font: 800 19px var(--f-disp); }
.road h3 { margin-top: 18px; font: 800 24px/1.1 var(--f-disp); text-transform: uppercase; }
.road p { margin-top: 6px; color: var(--muted); font-size: 16px; }

/* ---------- калькулятор ---------- */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
fieldset { margin: 0 0 28px; padding: 0; border: 0; min-width: 0; }
legend { margin-bottom: 12px; padding: 0; font: 600 13.5px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cards { display: grid; gap: 10px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pick { position: relative; display: grid; align-content: start; gap: 3px; min-height: 96px; padding: 14px 16px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: var(--surface); text-align: left; transition: border-color .15s, box-shadow .15s; }
.pick:hover { border-color: var(--ink); }
.pick[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), inset 0 -6px 0 var(--accent); }
.pick b { font-size: 17px; font-weight: 700; }
.pick small { font-size: 14px; line-height: 1.4; color: var(--muted); }
.pick-ico svg { width: 64px; height: 34px; margin-bottom: 4px; }
.veh-body { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.veh-wheel { fill: var(--rubber); stroke: var(--surface); stroke-width: 1.5; }
:root[data-season="winter"] .veh-wheel { fill: var(--ink); stroke: var(--surface); }
.pick--wide { padding-bottom: 40px; }
.pick-price { position: absolute; left: 16px; bottom: 12px; font-size: 18px; font-weight: 500; }
.rims { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.rim { display: flex; align-items: baseline; justify-content: center; min-height: 52px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--surface); font: 800 22px var(--f-disp); }
.rim-r { font-size: 14px; margin-right: 1px; color: var(--muted); }
.rim:hover { border-color: var(--ink); }
.rim[aria-checked="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.rim[aria-checked="true"] .rim-r { color: inherit; opacity: .7; }
.extras { display: grid; gap: 8px; }
.extra { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 62px; padding: 10px 16px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; transition: border-color .15s; }
.extra:hover { border-color: var(--ink); }
.extra input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.box { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; border: 2px solid var(--ink); background: var(--surface); }
.box .icon { width: 18px; height: 18px; stroke-width: 3; opacity: 0; }
.extra input:checked + .box { background: var(--accent); }
.extra input:checked + .box .icon { opacity: 1; color: var(--on-accent); }
.extra input:focus-visible + .box { outline: 3px solid var(--ink); outline-offset: 3px; }
.extra-t { display: grid; gap: 1px; }
.extra-t b { font-size: 16px; font-weight: 700; }
.extra-t small { font-size: 14px; line-height: 1.4; color: var(--muted); }
.extra-p { font-size: 16px; }
.extra.is-incl { cursor: default; opacity: .75; }
.extra.is-incl:hover { border-color: var(--line-2); }
.extra--inline { min-height: 52px; padding: 8px 12px; margin: 4px 0 14px; background: transparent; }

.bill { position: sticky; top: calc(var(--top-h) + 20px); }
.bill-paper { padding: 22px 22px 20px; border-radius: 4px; background: var(--paper); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.bill-h { font: 800 26px/1 var(--f-disp); text-transform: uppercase; }
.bill-car { margin-top: 6px; font: 500 14px var(--f-mono); color: var(--muted); }
.bill-lines { display: grid; gap: 8px; margin: 16px 0 0; padding: 14px 0; border-block: 2px dashed var(--line-2); }
.bill-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; }
.bill-lines b { font-weight: 500; white-space: nowrap; }
.bill-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; font: 800 22px var(--f-disp); text-transform: uppercase; }
.bill-total b { font-size: 34px; font-weight: 500; letter-spacing: -.02em; }
.bill-time { display: flex; align-items: center; gap: 8px; margin: 8px 0 18px; font-size: 15px; color: var(--muted); }
.bill-time b { color: var(--ink); }
.bill-time .icon { width: 19px; height: 19px; }
.bill-note { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* ---------- прочитай шину ---------- */
.dec-input { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 12px 20px; align-items: start; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font: 600 13.5px var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.field input:not([type="checkbox"]):not([type="range"]) { width: 100%; min-height: 52px; padding: 0 14px; border-radius: 10px; border: 2px solid var(--line-2); background: var(--surface); font-size: 17px; }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent); }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.code-input { min-height: 64px !important; font: 500 30px var(--f-mono) !important; letter-spacing: .04em; text-transform: uppercase; }
.hint { font-size: 14px; color: var(--muted); }
.err { min-height: 0; font-size: 14.5px; font-weight: 600; color: var(--bad); }
.err:empty { display: none; }
.presets { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.presets span { font-size: 14.5px; color: var(--muted); margin-right: 2px; }
.sidewall { margin: 26px 0 0; border-radius: var(--r); background: #0E0E0E; overflow: hidden; transition: opacity .2s; }
.sw-svg { width: 100%; height: auto; }
.sw-teeth { fill: #1C1C1C; }
.sw-band { fill: #242424; }
.sw-line { fill: none; stroke: #000; stroke-width: 3; }
.sw-code { font: 800 70px var(--f-disp); letter-spacing: .05em; fill: #4A4A4A; }
.sw-code--dark { fill: #0A0A0A; }
.sw-code [data-tok].on { fill: #F2B705; }
.sw-small { font: 700 25px var(--f-disp); letter-spacing: .14em; fill: #444; }
.sw-small [data-tok].on { fill: #F2B705; }
.sw-mark { fill: none; stroke: #F2B705; stroke-width: 5; stroke-linecap: round; opacity: 0; transition: opacity .15s; }
.sw-mark.on { opacity: 1; }
.sw-oval { fill: none; stroke: #4A4A4A; stroke-width: 3; }
.sw-ball circle { fill: #0E0E0E; stroke: #6B6B6B; stroke-width: 2.5; }
.sw-ball text { font: 600 18px var(--f-mono); fill: #BDBDBD; }
.sw-ball.on circle { fill: #F2B705; stroke: #F2B705; }
.sw-ball.on text { fill: #111; }
.stale { opacity: .45; }
.dec-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 26px; align-items: start; }
.parts { display: grid; gap: 0; border-top: 2px solid var(--ink); transition: opacity .2s; }
.part { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-areas: "n l v" "n t t"; gap: 2px 12px; padding: 12px 8px 12px 0; border-bottom: 1px solid var(--line); transition: background-color .15s; }
.part.on { background: var(--accent-soft); }
.part .ball { grid-area: n; margin-top: 2px; }
.part-l { grid-area: l; font: 600 13.5px var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); align-self: center; }
.part-v { grid-area: v; font-size: 24px; font-weight: 500; line-height: 1.1; text-align: right; }
.part-v small { margin-left: 3px; font-size: 14px; color: var(--muted); }
.part-t { grid-area: t; font-size: 15.5px; line-height: 1.45; }
.part-t .warn, .part.is-warn .part-t { color: var(--warn); }
.part-t .warn { font-weight: 600; }
.ball { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); font: 500 14px var(--f-mono); }
.part.on .ball { background: var(--ink); color: var(--bg); }
.section-fig { padding: 14px 14px 12px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.section-fig figcaption { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.sec-svg { width: 100%; height: auto; }
.hatch { stroke: var(--ink); stroke-width: 1.1; }
.hatch--metal { stroke-width: .9; }
.sec-tire { fill: var(--surface-2); }
.sec-tire-h { opacity: .55; }
.sec-out { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }
.sec-groove { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.sec-rim { fill: none; stroke: var(--muted); stroke-width: 7; stroke-linejoin: round; }
.sec-face { fill: var(--surface-2); stroke: var(--ink); stroke-width: 1.4; }
.sec-face-h { opacity: .4; }
.cl { stroke: var(--muted); stroke-width: 1.2; stroke-dasharray: 22 5 4 5; }
.dim { stroke: var(--ink); stroke-width: 1.3; }
.dim-ext { stroke: var(--muted); stroke-width: 1; }
.dim-ar { fill: var(--ink); }
.dim-t { font: 500 17px var(--f-mono); fill: var(--muted); }
.dim-t--axis { font-size: 14px; }
.dim-v { font-weight: 500; fill: var(--ink); font-size: 20px; }
.dec-extra { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; margin-top: 36px; }
.dec-extra h3 { font: 800 26px var(--f-disp); text-transform: uppercase; }
.dec-extra .small { margin: 4px 0 12px; }
.table-wrap { overflow-x: auto; }
.alt-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.alt-table th, .alt-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.alt-table thead th { font: 600 12.5px var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); white-space: normal; }
.alt-table .num { text-align: right; }
.alt-table tbody th { font-weight: 500; }
.alt-table .is-orig { background: var(--accent-soft); }
.alt-table .is-orig small { font: 500 12px var(--f-text); color: var(--muted); }
.gauge { padding: 18px 18px 16px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: var(--surface); }
.g-svg { width: 100%; height: auto; }
.g-carcass { fill: var(--rubber); }
.g-block { fill: var(--rubber); transition: y .2s, height .2s; }
:root[data-season="winter"] .g-carcass, :root[data-season="winter"] .g-block { fill: #3A424A; }
.g-ghost { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 5 4; }
.g-twi { fill: var(--bad); }
.g-lim { stroke-width: 1.5; stroke-dasharray: 7 5; }
.g-l4 { stroke: var(--warn); }
.g-l16 { stroke: var(--bad); }
.g-lim-t { font: 500 14px var(--f-mono); }
.g-lim-t.g-l4 { fill: var(--warn); stroke: none; }
.g-lim-t.g-l16 { fill: var(--bad); stroke: none; }
.g-new { fill: var(--muted); }
.g-axis, .g-tick { stroke: var(--ink); stroke-width: 1.5; }
.g-tick-t { font: 500 13px var(--f-mono); fill: var(--muted); }
.g-ptr { fill: var(--ink); }
.gauge-range { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 10px; font-weight: 600; }
.gauge-range input { width: 100%; min-height: 44px; accent-color: var(--ink); }
.gauge-range output { min-width: 64px; text-align: right; font-size: 18px; }
.gauge-verdict { margin-top: 8px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15.5px; line-height: 1.4; border-left: 4px solid currentColor; background: var(--bg); }
.gauge-verdict.is-ok { color: var(--ok); }
.gauge-verdict.is-winter { color: var(--warn); }
.gauge-verdict.is-soon { color: var(--warn); }
.gauge-verdict.is-bad { color: var(--bad); }

/* ---------- запись ---------- */
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.days { display: flex; gap: 8px; margin-bottom: 26px; padding: 2px 2px 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.day { display: grid; justify-items: start; gap: 1px; flex: none; min-width: 108px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); text-align: left; scroll-snap-align: start; }
.day-w { font: 600 12.5px var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.day b { font: 800 24px/1.1 var(--f-disp); }
.day small { font-size: 12.5px; color: var(--ok); font-weight: 600; }
.day.is-full small { color: var(--muted); font-weight: 500; }
.day:hover { border-color: var(--ink); }
.day[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), inset 0 -6px 0 var(--accent); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.slot { min-height: 48px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--surface); font: 500 16px var(--f-mono); }
.slot:hover:not(:disabled) { border-color: var(--ink); }
.slot:disabled { color: var(--muted); background: repeating-linear-gradient(-45deg, transparent 0 6px, var(--line) 6px 7.5px); border-style: dashed; cursor: not-allowed; text-decoration: line-through; opacity: .8; }
.slot[aria-checked="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.slot.is-mine { background: var(--ink); color: var(--bg); border-color: var(--ink); text-decoration: none; opacity: 1; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.lg { display: inline-flex; align-items: center; gap: 7px; }
.lg::before { content: ""; width: 18px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-2); background: var(--surface); }
.lg-busy::before { border-style: dashed; background: repeating-linear-gradient(-45deg, transparent 0 3px, var(--line-2) 3px 4.5px); }
.lg-on::before { background: var(--accent); border-color: var(--ink); }
.book-form, .ticket { padding: 22px; border-radius: 4px; background: var(--paper); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.book-form { display: grid; gap: 12px; }
.ticket { outline: none; }
.picked { padding-bottom: 14px; border-bottom: 2px dashed var(--line-2); }
.picked-k { font: 600 13px var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.picked-when { margin-top: 2px; font: 800 26px/1.1 var(--f-disp); text-transform: uppercase; }
.picked-when b { font-family: var(--f-mono); font-weight: 500; font-size: 24px; }
.picked-srv { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.picked-srv b { color: var(--ink); }
.picked-srv a { color: var(--accent-ink); font-weight: 600; text-underline-offset: 3px; }
.picked-none { font-size: 15px; color: var(--muted); }
.plate { display: flex; align-items: stretch; min-height: 60px; border: 2.5px solid #111; border-radius: 8px; background: #FFFFFF; color: #111; overflow: hidden; }
.plate:focus-within { box-shadow: 0 0 0 3px var(--accent); }
.plate-eu { display: grid; justify-items: center; align-content: center; gap: 3px; flex: none; width: 40px; background: var(--plate-blue); color: #FFFFFF; }
.plate-eu i { width: 17px; height: 17px; border-radius: 50%; border: 2.5px dotted #F7D117; }
.plate-eu b { font: 700 13px var(--f-text); }
.plate-eu b:empty { display: none; }
.plate-eu:has(b:empty) { display: none; }
.plate input { flex: 1; width: 100%; min-width: 0; min-height: 0 !important; padding: 0 12px !important; border: 0 !important; background: transparent !important; box-shadow: none !important; color: #111; font: 500 28px var(--f-mono) !important; letter-spacing: .06em; text-transform: uppercase; }
.plate input::placeholder { color: #B3B3B3; }
.plate:has(input[aria-invalid="true"]) { border-color: var(--bad); }
.plate--mini { display: inline-flex; min-height: 30px; border-width: 2px; border-radius: 5px; vertical-align: middle; margin-right: 4px; }
.plate--mini .plate-eu { width: 20px; gap: 1px; }
.plate--mini .plate-eu i { width: 9px; height: 9px; border-width: 1.5px; }
.plate--mini .plate-eu b { font-size: 8.5px; }
.plate--mini .mono { display: inline-flex; align-items: center; padding: 0 7px; font-size: 15px; letter-spacing: .05em; }
.ticket-k { display: flex; align-items: center; gap: 8px; font: 800 24px var(--f-disp); text-transform: uppercase; color: var(--ok); }
.ticket-code { margin-top: 4px; font-size: 34px; letter-spacing: .08em; }
.ticket-dl { display: grid; gap: 10px; margin: 16px 0; padding: 14px 0; border-block: 2px dashed var(--line-2); }
.ticket-dl dt { font: 600 12.5px var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ticket-dl dd { margin-top: 2px; font-size: 15.5px; }
.ticket-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }

/* ---------- шинный готель ---------- */
.hotel-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 36px; align-items: start; }
.rack-fig { padding: 18px 18px 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.rk-svg { width: 100%; height: auto; }
.rk-col { font: 900 26px var(--f-disp); fill: var(--ink); }
.rk-row { font: 500 15px var(--f-mono); fill: var(--muted); }
.rk-post { stroke: var(--ink); stroke-width: 4; }
.rk-shelf { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.rk-tire { fill: var(--rubber); stroke: var(--surface); stroke-width: 1.2; }
:root[data-season="winter"] .rk-tire { fill: #3A424A; }
.rk-tire.is-mine { fill: var(--accent); stroke: var(--ink); stroke-width: 1.5; }
.rk-empty { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 5 4; }
.rk-tag { fill: var(--paper); stroke: var(--line-2); }
.rk-tag.is-mine { fill: var(--accent); stroke: var(--ink); }
.rk-tag-t { font: 500 9px var(--f-mono); fill: var(--muted); }
.rk-tag-t.is-mine { fill: var(--on-accent); font-weight: 600; }
.rack-fig figcaption { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.tariffs { display: grid; gap: 12px; }
.tariff { position: relative; padding: 18px 20px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: var(--surface); }
.tariff--best { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--accent); }
.tariff h3 { font: 800 26px/1 var(--f-disp); text-transform: uppercase; }
.tariff-p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 6px; }
.tariff-p b { font-size: 26px; font-weight: 500; }
.tariff-p span { font-size: 14px; color: var(--muted); }
.tariff ul { display: grid; gap: 4px; margin-top: 10px; }
.tariff li { display: flex; gap: 8px; font-size: 15px; line-height: 1.4; }
.tariff li .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--ok); }
.tag { position: absolute; right: 16px; top: -12px; padding: 3px 10px; border-radius: 6px; background: var(--ink); color: var(--bg); font: 600 12.5px var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.how { display: grid; gap: 10px; counter-reset: how; margin-top: 4px; }
.how li { position: relative; padding-left: 38px; font-size: 15.5px; line-height: 1.45; counter-increment: how; }
.how li::before { content: counter(how); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 800 15px var(--f-disp); }
.hotel-grid .mini-h { margin-top: 26px; }

/* ---------- вопросы ---------- */
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 14px 0; font: 700 19px/1.3 var(--f-text); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: rotate .2s var(--ease); }
.faq details[open] summary .icon { rotate: 45deg; }
.faq summary:hover { color: var(--accent-ink); }
.faq details p { max-width: 720px; padding: 0 0 18px; color: var(--muted); font-size: 16.5px; }
.faq details p a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* ---------- контакты ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: start; }
.contact-list { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.contact-list > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { display: flex; align-items: center; gap: 8px; font: 600 13px var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.contact-list dt .icon { width: 19px; height: 19px; }
.contact-list dd { margin-top: 6px; font-size: 18px; font-weight: 600; }
.hours { border-collapse: collapse; font-size: 16px; }
.hours th { padding: 2px 18px 2px 0; text-align: left; font-weight: 500; color: var(--muted); }
.hours td { padding: 2px 0; }
.contact-list .small { margin-top: 6px; font-weight: 400; }
.map-fig { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.mp-svg { width: 100%; height: auto; }
.mp-river { fill: #BFD3DE; }
:root[data-season="winter"] .mp-river { fill: #1C3342; }
.mp-road { fill: none; stroke: var(--line-2); stroke-width: 16; stroke-linecap: round; }
.mp-road--main { stroke-width: 26; stroke: var(--road); }
.mp-road--thin { stroke-width: 9; }
.mp-road--side { stroke-width: 22; }
.mp-rl { font: 700 12.5px var(--f-text); letter-spacing: .06em; fill: #F4F1EA; text-transform: uppercase; }
.mp-in { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.mp-block { fill: var(--surface-2); stroke: var(--line-2); stroke-width: 1.2; }
.mp-tree { fill: #9FB59A; }
:root[data-season="winter"] .mp-tree { fill: #2B3A33; }
.mp-t { font: 600 14px var(--f-text); fill: var(--muted); }
.mp-t--river { font-style: italic; fill: #4E6B7A; }
:root[data-season="winter"] .mp-t--river { fill: #7FA2B5; }
.mp-t--shop { font: 900 22px var(--f-disp); fill: #151515; letter-spacing: .04em; }
.mp-stop rect { fill: var(--plate-blue); }
.mp-shop { fill: var(--accent); stroke: var(--ink); stroke-width: 2.5; }
.mp-bay { stroke: var(--ink); stroke-width: 2; }
.mp-pin path { fill: var(--ink); }
.mp-pin circle { fill: var(--accent); }
.mp-north path { fill: var(--ink); }
.mp-scale path { fill: none; stroke: var(--ink); stroke-width: 2; }
.map-fig figcaption { padding: 10px 16px 12px; font-size: 14.5px; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- подвал и тост ---------- */
.foot { padding: 28px 0 40px; border-top: 6px solid var(--ink); background: var(--surface); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; font-size: 15px; color: var(--muted); }
.foot-logo { display: flex; align-items: baseline; gap: 12px; color: var(--ink); }
.foot a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.foot .icon { width: 16px; height: 16px; }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 80; max-width: min(460px, calc(100% - 24px)); padding: 13px 18px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 15.5px; translate: -50% 16px; opacity: 0; pointer-events: none; transition: opacity .2s, translate .25s var(--ease); }
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- смена сезона: новая палитра «наезжает» слева направо, как колесо ---------- */
.vt-season::view-transition-old(root) { animation: none; }
.vt-season::view-transition-new(root) { animation: season-wipe .85s cubic-bezier(.6, 0, .2, 1) both; }
@keyframes season-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- адаптив ---------- */
@media (max-width: 1099px) {
  .calc-grid, .book-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
  .hero-tire { inset: 0 -30% 0 0; }
}
@media (max-width: 899px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 28px; }
  .hero-art { position: absolute; right: -36%; top: 10px; width: 78%; opacity: .16; pointer-events: none; }
  .hero-tire { inset: 0; }
  .hero-copy { position: relative; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .road { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .road li:nth-child(2)::before { border-radius: 0 7px 7px 0; }
  .road li:nth-child(3)::before { border-radius: 7px 0 0 7px; }
  .calc-grid, .book-grid, .dec-grid, .dec-extra, .hotel-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .bill { position: static; }
  .rims { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sec { padding: 72px 0; }
}
@media (max-width: 640px) {
  .demo-strip { padding: 7px 16px; }
  .top-in { gap: 10px; padding: 8px 16px; }
  .logo-word { font-size: 26px; }
  .logo-mark { width: 32px; height: 32px; }
  .top-cta, .langs { display: none; }
  .season button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .season button { width: 44px; justify-content: center; padding: 0; }
  .wrap, .hero-in, .facts { padding-left: 16px; padding-right: 16px; }
  .hero-lead { font-size: 17.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .facts li { padding: 10px 12px; }
  .cards--3 { grid-template-columns: minmax(0, 1fr); }
  .cards--3 .pick { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "i b" "i s"; min-height: 0; column-gap: 12px; }
  .cards--3 .pick-ico { grid-area: i; align-self: center; }
  .cards--2 { grid-template-columns: minmax(0, 1fr); }
  .dec-input { grid-template-columns: minmax(0, 1fr); }
  .code-input { font-size: 24px !important; }
  .road { grid-template-columns: minmax(0, 1fr); }
  .road li::before { border-radius: 7px !important; }
  .sec { padding: 60px 0; }
  .sec-head { margin-bottom: 28px; }
  .book-form, .ticket, .bill-paper { box-shadow: 5px 5px 0 var(--ink); }
  .part-v { font-size: 20px; }
}
