/* PreveriAvto — site styles
   Palette: alpine paper, slate-navy ink, one signal yellow for actions.
   Type: Archivo variable — wide cuts for headlines, normal width for reading. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #F2F4F6;
  --paper-2: #E7EBEF;
  --white: #FFFFFF;
  --ink: #1B2A3A;
  --steel: #566676;
  --line: #D5DCE3;
  --signal: #FFC61A;
  --signal-press: #F2B500;
  --alpine: #0F1D2B;
  --alpine-2: #1A2D40;
  --alpine-text: #C9D3DD;
  --ok: #2E8656;
  --warn: #B77A06;
  --bad: #C2412A;

  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 64px;
  --r-media: 28px;
  --r-sheet: 14px;
  --r-pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-stretch: 100%;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (max-width: 600px) { body { font-size: 17px; } }

img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 720; text-wrap: balance; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .cta-final :focus-visible { outline-color: var(--signal); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.display {
  font-size: clamp(46px, 7.6vw, 108px);
  font-stretch: 116%;
  font-weight: 760;
  line-height: .96;
  letter-spacing: -0.025em;
}
.h2 {
  font-size: clamp(34px, 4.9vw, 66px);
  font-stretch: 112%;
  font-weight: 720;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.h3 {
  font-size: clamp(21px, 1.9vw, 25px);
  font-stretch: 106%;
  font-weight: 660;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.5;
  color: var(--steel);
  max-width: 34em;
}
.muted { color: var(--steel); }
.small { font-size: 15px; line-height: 1.5; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: var(--r-pill); border: 0;
  font: inherit; font-size: 17px; font-weight: 650; font-stretch: 104%;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--signal); color: var(--ink); }
.btn-primary:hover { background: var(--signal-press); }
.btn-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--white); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }

.textlink {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: text-decoration-color .2s;
}
.textlink:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header { transition: border-color .3s, background-color .35s var(--ease), color .35s var(--ease); }
.site-header.is-dark { background: color-mix(in srgb, var(--alpine) 74%, transparent); border-bottom-color: rgba(255, 255, 255, .08); color: var(--white); }
.site-header.is-dark .brand-name, .site-header.is-dark .menu-btn { color: var(--white); }
.site-header.is-dark .brand svg rect { fill: #2B4157; }
.site-header.is-dark .menu-btn { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
@media (min-width: 861px) { .site-header.is-dark .nav a:not(.btn) { color: var(--white); } }
.site-header.is-dark :focus-visible { outline-color: var(--signal); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand-name { font-size: 20px; font-weight: 780; font-stretch: 120%; letter-spacing: -0.02em; }
.brand-name span { font-weight: 420; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font-size: 15px; font-weight: 520; text-decoration: none; color: var(--ink); opacity: .78; transition: opacity .2s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"] { font-weight: 650; }

.menu-btn {
  display: none; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 14px; border-radius: var(--r-pill);
  border: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.menu-btn .bars { position: relative; width: 16px; height: 10px; }
.menu-btn .bars::before, .menu-btn .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-btn .bars::before { top: 1px; }
.menu-btn .bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    /* The header's blurred background makes it the reference box for this panel,
       so the panel gets an explicit height instead of stretching to the screen bottom. */
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h) + 1px); height: calc(100dvh - var(--header-h) + 1px);
    overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    padding: 8px var(--gutter) 28px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .site-header.menu-open { background: var(--paper); border-bottom-color: var(--line); }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav a:not(.btn) { font-size: 26px; font-stretch: 112%; font-weight: 680; opacity: 1; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 20px; min-height: 54px; }
  .header-cta { display: none; }
}
@media (min-width: 861px) { .nav .btn { display: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(88px, 11vw, 160px); }
.section-tight { padding-block: clamp(64px, 8vw, 112px); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(44px, 6vw, 80px); max-width: 860px; }
.bg-white { background: var(--white); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 8vw, 104px); }
.hero-copy { display: grid; gap: 28px; }
.hero h1 { max-width: 11.5ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 8px; }
.hero-note {
  display: flex; align-items: flex-start; gap: 12px;
  max-width: 30em; font-size: 16px; line-height: 1.5; color: var(--steel); margin-top: 6px;
}
.hero-note svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--ink); }

.hero-media {
  --inset: 0px; --rad: 0px; --zoom: 1;
  margin-top: clamp(48px, 7vw, 88px);
  height: clamp(380px, 74vh, 780px);
  overflow: hidden;
  clip-path: inset(0 var(--inset) round var(--rad));
  background: linear-gradient(160deg, #2A4157, var(--alpine));
  will-change: clip-path;
}
@media (max-width: 600px) { .hero-media { height: 58vh; min-height: 340px; } }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom)); transform-origin: 50% 60%; will-change: transform; }

.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--line);
}
.fact strong { display: block; font-size: 19px; font-weight: 650; font-stretch: 106%; margin-bottom: 4px; }
.fact span { display: block; font-size: 16px; line-height: 1.5; color: var(--steel); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.process-photo { border-radius: var(--r-media); overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #2A4157, var(--alpine)); }
.process-photo img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 76px 1fr; gap: 8px 20px;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  font-size: 64px; line-height: .9; font-weight: 300; font-stretch: 125%;
  color: var(--ink);
}
.steps h3 { align-self: end; }
.steps p { color: var(--steel); max-width: 32em; }
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-photo { aspect-ratio: 16 / 11; order: 2; }
}
@media (max-width: 520px) { .steps li { grid-template-columns: 52px 1fr; } .steps li::before { font-size: 46px; } }

/* ---------- Report story (the centrepiece) ---------- */
.story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.story-steps { list-style: none; margin: 0; padding: 0; }
.story-step {
  min-height: 74vh; display: flex; flex-direction: column; justify-content: center; gap: 14px;
  opacity: .28; transition: opacity .5s var(--ease);
}
.story-step:first-child { min-height: 60vh; justify-content: flex-start; padding-top: 12vh; }
.story-step:last-child { min-height: 80vh; }
.story-step.is-active { opacity: 1; }
.story-step .count { font-size: 15px; color: var(--steel); font-variant-numeric: tabular-nums; }
.story-step h3 { font-size: clamp(28px, 3vw, 40px); font-stretch: 112%; font-weight: 720; line-height: 1.05; letter-spacing: -0.02em; }
.story-step p { color: var(--steel); max-width: 26em; }

.story-sheet-wrap { position: sticky; top: calc(var(--header-h) + 3vh); align-self: start; padding-bottom: 6vh; }

.sheet {
  background: var(--white);
  border-radius: var(--r-sheet);
  box-shadow: 0 1px 0 rgba(27, 42, 58, .06), 0 30px 60px -30px rgba(15, 29, 43, .35), 0 0 0 1px rgba(27, 42, 58, .07);
  padding: clamp(22px, 2.6vw, 36px);
  font-size: 15px; line-height: 1.45;
  max-height: calc(100vh - var(--header-h) - 7vh);
  overflow: hidden;
}
.sheet { display: flex; flex-direction: column; }
.sheet-clip { flex: 1 1 auto; min-height: 0; overflow: hidden; transition: -webkit-mask-image .3s, mask-image .3s; }
.sheet-clip.is-scrolled {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 18px);
}
.sheet-inner { position: relative; transition: transform .7s var(--ease); }
.sheet-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.sheet-title { font-size: 20px; font-weight: 740; font-stretch: 112%; letter-spacing: -0.01em; }
.sheet-sample { flex: none; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); background: var(--paper-2); color: var(--steel); }
.sheet-meta { display: grid; grid-template-columns: 2.2fr 1fr 1.3fr; gap: 6px 16px; padding: 14px 0 6px; }
.sheet-meta dt { font-size: 12.5px; color: var(--steel); }
.sheet-meta dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

.sheet-sec { padding-top: 14px; }
.sheet-sec h4 { font-size: 13.5px; font-weight: 650; color: var(--steel); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.row {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 64px; align-items: center; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
}
.row .what { min-width: 0; }
.row .what span { display: block; font-weight: 560; }
.row .what small { display: block; font-size: 13px; color: var(--steel); }
@media (min-width: 901px) and (max-height: 860px) {
  .sheet { font-size: 14px; padding: 22px 26px; }
  .row { padding: 6px 0; }
  .row .what small { display: none; }
  .sheet-sec { padding-top: 10px; }
  .sheet-sum { margin-top: 12px; padding: 12px 16px; }
}
.row .cost { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.row > * { transition: opacity .45s var(--ease); }
.row::after {
  content: ""; position: absolute; left: 0; top: 50%; height: 10px; margin-top: -5px;
  width: 62%; border-radius: 5px; background: var(--paper-2);
  transition: opacity .35s var(--ease);
}
.row:nth-child(odd)::after { width: 48%; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  padding: 3px 10px 3px 8px; border-radius: var(--r-pill);
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip-ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 11%, white); }
.chip-warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 13%, white); }
.chip-bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 11%, white); }

.sheet-sum {
  margin-top: 16px; padding: 16px 18px; border-radius: 10px;
  background: var(--ink); color: var(--white);
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.sheet-sum .label { font-size: 13px; color: var(--alpine-text); }
.sheet-sum .total { font-size: 26px; font-weight: 740; font-stretch: 110%; font-variant-numeric: tabular-nums; grid-row: span 2; align-self: center; }
.sheet-sum .verdict { font-weight: 600; font-size: 16px; }

/* Hidden state, only when JS has armed the story */
.js-story .row:not(.is-on) > * { opacity: 0; }
.js-story .row.is-on::after { opacity: 0; }
.js-story .row:not(.is-on) .chip { transform: scale(.7); }
.js-story .sheet-sum:not(.is-on) { opacity: 0; transform: translateY(10px); }
.row.is-on::after, .no-js .row::after { opacity: 0; }
html:not(.js-story) .row::after { opacity: 0; }

.story-caption { display: none; }

/* Phones and tablets without the animation (reduced motion): steps, then the full report */
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-step, .story-step:first-child, .story-step:last-child { min-height: 0; opacity: 1; padding: 0 0 36px; justify-content: flex-start; }
  .story-sheet-wrap { position: relative; top: 0; padding-bottom: 0; }
  .sheet { max-height: none; }
  html:not(.js-story) .sheet-inner { transform: none !important; }
}

/* Phones and tablets with the animation: the report stays pinned while the five steps scroll past.
   The step list becomes invisible scroll distance; its text is shown in the caption under the report. */
@media (max-width: 900px) {
  .js-story .story-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .js-story .story-steps,
  .js-story .story-sheet-wrap { grid-area: 1 / 1; }
  .js-story .story-steps { pointer-events: none; }
  .js-story .story-step,
  .js-story .story-step:first-child,
  .js-story .story-step.is-active { min-height: 70vh; min-height: 70svh; padding: 0; opacity: 0; }
  .js-story .story-step:last-child { min-height: 100vh; min-height: 100svh; }

  .js-story .story-sheet-wrap {
    position: sticky; top: var(--header-h); z-index: 1; align-self: start;
    height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h));
    display: flex; flex-direction: column; gap: 18px;
    padding: 14px 0 20px;
  }
  .js-story .sheet {
    flex: 1 1 auto; min-height: 0; max-height: none;
    padding: 18px 18px 14px; font-size: 14px;
  }
  .js-story .sheet-top { padding-bottom: 12px; }
  .js-story .sheet-title { font-size: 17px; }
  .js-story .sheet-meta { padding-top: 10px; }
  .js-story .sheet-sec { padding-top: 10px; }
  .js-story .row { padding: 7px 0; }
  .js-story .sheet-sum { margin-top: 12px; padding: 12px 14px; }
  .js-story .sheet-sum .total { font-size: 22px; }

  .js-story .story-caption { display: grid; gap: 6px; flex: none; min-height: 168px; align-content: start; }
  .story-caption .cap-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 8px; }
  .story-caption .cap-progress span { height: 3px; border-radius: 2px; background: var(--line); transition: background-color .35s var(--ease); }
  .story-caption .cap-progress span.is-on { background: var(--ink); }
  .story-caption .count { font-size: 14px; color: var(--steel); font-variant-numeric: tabular-nums; }
  .story-caption h3 { font-size: 24px; font-stretch: 112%; font-weight: 720; line-height: 1.1; letter-spacing: -0.015em; }
  .story-caption p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--steel); }
  .story-caption .cap-text { transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .story-caption .cap-text.is-swapping { opacity: 0; transform: translateY(6px); }
}
@media (max-width: 900px) and (max-height: 700px) {
  .js-story .story-caption { min-height: 140px; }
  .js-story .story-caption h3 { font-size: 21px; }
  .js-story .story-caption p { font-size: 15px; }
  .js-story .row .what small { display: none; }
}
@media (max-width: 520px) {
  .row { grid-template-columns: 1fr auto; }
  .row .cost { grid-column: 2; grid-row: 2; }
  .row .cost:empty { display: none; }
  .sheet-meta { grid-template-columns: 1fr 1fr; }
  .sheet-meta div:first-child { grid-column: span 2; }
}

/* ---------- Statement ---------- */
.statement-text {
  font-size: clamp(32px, 4.6vw, 64px);
  font-stretch: 110%; font-weight: 680; line-height: 1.12; letter-spacing: -0.02em;
  max-width: 19ch; margin: 0;
}
.statement-text .w { transition: opacity .15s linear; }
.js-reveal .statement-text .w { opacity: .16; }
.statement-sub { margin-top: 36px; max-width: 34em; }

/* ---------- Comparison ---------- */
.compare-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.compare { width: 100%; border-collapse: collapse; font-size: 17px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 15px; font-weight: 600; color: var(--steel); padding-top: 0; }
.compare thead th.us { color: var(--ink); }
.compare tbody th { font-weight: 650; width: 24%; }
.compare td { color: var(--steel); width: 38%; }
.compare td.us { color: var(--ink); font-weight: 560; }
.compare-photo { border-radius: var(--r-media); overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #2A4157, var(--alpine)); }
.compare-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .compare th, .compare td { border: 0; padding: 0; }
  .compare tbody th { margin-bottom: 8px; font-size: 18px; }
  .compare td { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 4px 0; }
  .compare td::before { content: attr(data-label); font-size: 14px; color: var(--steel); font-weight: 500; }
}

/* ---------- Dark: DPF ---------- */
.on-dark { background: var(--alpine); color: var(--white); }
.on-dark .muted, .on-dark .lead { color: var(--alpine-text); }
.dpf-grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.dpf-photo { border-radius: var(--r-media); overflow: hidden; aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--alpine-2), #060E16); }
.dpf-photo img { width: 100%; height: 100%; object-fit: cover; }
.dpf-copy { display: grid; gap: 24px; }
.checks { list-style: none; padding: 0; margin: clamp(56px, 7vw, 96px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.checks li { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); }
.checks strong { display: block; font-size: 18px; font-weight: 650; font-stretch: 106%; margin-bottom: 8px; line-height: 1.3; }
.checks span { display: block; font-size: 16px; line-height: 1.5; color: var(--alpine-text); }
.dpf-price { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.dpf-price p { font-size: 17px; color: var(--alpine-text); margin: 0; }
.dpf-price strong { color: var(--white); font-weight: 650; }
@media (max-width: 1000px) { .checks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .dpf-grid { grid-template-columns: 1fr; } .dpf-photo { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Price list rows ---------- */
.prices { border-top: 1.5px solid var(--ink); }
.price-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 40px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.price-row .name { font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; font-stretch: 110%; letter-spacing: -0.015em; line-height: 1.15; }
.price-row .desc { color: var(--steel); max-width: 36em; margin-top: 6px; }
.price-row .amount { font-size: clamp(26px, 2.8vw, 38px); font-weight: 700; font-stretch: 112%; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.price-row .amount small { display: block; font-size: 14px; font-weight: 500; font-stretch: 100%; color: var(--steel); }
a.price-row .name { transition: opacity .2s; }
a.price-row:hover .name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.prices-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 28px; }
@media (max-width: 600px) {
  .price-row { grid-template-columns: 1fr; }
  .price-row .amount { text-align: left; }
}

/* ---------- FAQ ---------- */
.faq-more { margin-top: 20px; }
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 20px; font-weight: 640; font-stretch: 104%; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; flex: none; width: 18px; height: 18px; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq .answer { padding: 0 48px 26px 0; color: var(--steel); max-width: 40em; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.cta-final { position: relative; color: var(--white); overflow: hidden; background: var(--alpine); }
.cta-final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-final::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 29, 43, .25) 0%, rgba(15, 29, 43, .55) 45%, rgba(15, 29, 43, .92) 100%); }
.cta-final .wrap { position: relative; z-index: 1; min-height: clamp(520px, 86vh, 820px); display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; padding-bottom: clamp(56px, 8vw, 104px); }
.cta-final h2 { max-width: 13ch; }
.cta-final p { color: #E3E9EF; max-width: 30em; font-size: clamp(18px, 1.6vw, 21px); }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 40px; background: var(--paper); border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.footer-grid { display: grid; grid-template-columns: 4fr 2fr 3fr 2fr 3fr; gap: 40px; }
.footer-grid h2 { font-size: 15px; font-weight: 650; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-grid li { color: var(--steel); }
.footer-grid a { color: var(--steel); text-decoration: none; }
.footer-grid .brand { color: var(--ink); }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-brand p { color: var(--steel); max-width: 26em; margin-top: 16px; }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--steel); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 359px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.page-hero .display { font-size: clamp(44px, 6.6vw, 92px); max-width: 13ch; }
.page-hero .lead { margin-top: 24px; }
.page-hero .alt { margin-top: 16px; font-size: 17px; color: var(--steel); }

/* ---------- Pricing page ---------- */
.feature {
  display: grid; grid-template-columns: 7fr 5fr; gap: 0;
  background: var(--white); border-radius: 22px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(27, 42, 58, .07);
}
.feature-body { padding: clamp(28px, 4vw, 56px); display: grid; gap: 20px; align-content: start; }
.feature-body .h2 { font-size: clamp(30px, 3.6vw, 48px); }
.feature-side { padding: clamp(28px, 4vw, 56px); background: var(--ink); color: var(--white); display: flex; flex-direction: column; gap: 22px; }
.feature-price { font-size: clamp(64px, 8vw, 104px); font-weight: 760; font-stretch: 118%; line-height: .9; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.feature-price-note { color: var(--alpine-text); font-size: 16px; }
.feature-side .btn { align-self: flex-start; margin-top: auto; }
.addon {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  padding: 18px; border-radius: 12px; background: var(--alpine-2);
}
.addon .plus { font-size: 22px; font-weight: 720; font-stretch: 112%; color: var(--signal); white-space: nowrap; font-variant-numeric: tabular-nums; }
.addon p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--alpine-text); }
.addon strong { color: var(--white); display: block; font-weight: 640; margin-bottom: 2px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.ticks li { position: relative; padding-left: 30px; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg);
}
.ticks.not li::before { border: 0; width: 14px; height: 2.5px; top: .7em; background: var(--steel); transform: none; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ticks { grid-template-columns: 1fr; } }

.scope { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.scope h3 { margin-bottom: 20px; }
.scope .ticks { grid-template-columns: 1fr; }
@media (max-width: 760px) { .scope { grid-template-columns: 1fr; } }

.b2b {
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 22px; background: var(--paper-2);
}
.b2b .actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
@media (max-width: 860px) { .b2b { grid-template-columns: 1fr; } }

.area { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.towns { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.towns li { padding: 8px 16px; border-radius: var(--r-pill); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-weight: 520; }
@media (max-width: 760px) { .area { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-card { background: var(--white); border-radius: 22px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 0 0 1px rgba(27, 42, 58, .07); }
.form-card h2 { font-size: clamp(26px, 2.6vw, 34px); font-stretch: 110%; letter-spacing: -0.015em; margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 15px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--paper); border: 1.5px solid transparent; border-radius: 12px;
  padding: 14px 16px; min-height: 52px;
  transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231B2A3A' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--bad); }
.field .hint { font-size: 14px; color: var(--steel); }
.field .err { font-size: 14px; color: var(--bad); font-weight: 560; }
.field .err:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice label { position: relative; font-weight: 520; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: var(--paper); border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.choice input:checked + span { background: var(--ink); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.field label.consent { font-weight: 400; }
.field legend { margin-bottom: 8px; padding: 0; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; color: var(--steel); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
/* Booking form: add-on, price line, vehicle details */
.form-grid > .full, .form-total { grid-column: 1 / -1; }
.form-sep { grid-column: 1 / -1; width: 100%; border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
.sub-grid { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.option-box {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: 12px; background: var(--paper); cursor: pointer;
  box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s, background-color .2s;
}
.option-box:hover { box-shadow: inset 0 0 0 1.5px var(--line); }
.option-box:has(input:checked) { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); }
.option-box input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.option-body strong { display: block; font-size: 16px; font-weight: 640; }
.option-body small { display: block; font-size: 14px; color: var(--steel); line-height: 1.45; }
.option-price { font-size: 18px; font-weight: 700; font-stretch: 110%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.form-total { margin: 0; font-size: 16px; color: var(--steel); }
.form-total strong { color: var(--ink); font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
#vin { text-transform: uppercase; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
#vin::placeholder { text-transform: none; letter-spacing: 0; }
@media (max-width: 600px) { .sub-grid { grid-template-columns: 1fr; } }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-status { font-size: 15px; color: var(--steel); }
.hp { position: absolute !important; left: -9999px; }

.form-done { display: none; text-align: left; }
.form-card.is-done form { display: none; }
.form-card.is-done .form-done { display: grid; gap: 16px; }
.form-done .mark { width: 56px; height: 56px; border-radius: 50%; background: var(--signal); display: grid; place-items: center; }
.form-done .mark svg { width: 26px; height: 26px; }

.contact-side { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-line {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center;
  padding: 18px 20px; border-radius: 16px; background: var(--white);
  box-shadow: 0 0 0 1px rgba(27, 42, 58, .07);
  text-decoration: none; transition: box-shadow .2s;
}
a.contact-line:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.contact-line .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; }
.contact-line .ic svg { width: 20px; height: 20px; }
.contact-line small { display: block; font-size: 14px; color: var(--steel); }
.contact-line strong { display: block; font-size: 18px; font-weight: 640; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.side-note { padding: 20px; border-radius: 16px; background: var(--paper-2); font-size: 15.5px; line-height: 1.55; }
.side-note strong { display: block; margin-bottom: 6px; font-size: 16px; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side { position: static; }
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Simple pages ---------- */
.simple { min-height: 60vh; display: flex; align-items: center; }
.simple .wrap { display: grid; gap: 24px; }

/* ---------- Small helpers (used instead of inline styles) ---------- */
.flush-top { padding-top: 0; }
.end-pad { padding-bottom: clamp(88px, 11vw, 160px); }
.flush { margin: 0; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.stack { display: grid; gap: 24px; }
.narrow { max-width: 14ch; }
.h2-md { font-size: clamp(28px, 3.4vw, 44px); }
.feature-price-md { font-size: clamp(40px, 4.4vw, 60px); }
.display-md { font-size: clamp(40px, 6vw, 84px); max-width: 14ch; }
.botcheck { display: none !important; }

/* ---------- Social links ---------- */
.pill-links { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border-radius: var(--r-pill); background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 560; text-decoration: none; color: var(--ink);
  transition: box-shadow .2s;
}
.pill-links a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero-media { clip-path: none; }
  .hero-media img { transform: none; }
}
