/* =========================================================
   Skövde Bilcenter - bright showroom theme
   Light page; dark is reserved for photographic surfaces (hero, page banners,
   CTA band, footer) via the .on-dark token scope, so components adapt automatically.
   Shape rule: everything 3-4px (sharp, like a spec sheet). Only the hero tag is a pill.
   z-index scale: grain 80, lightbox 70, drawer 60, header 50, action bar 40, preview 45, raised 2.
   ========================================================= */

:root {
  --bg: #f3f4f6;
  --bg-2: #eceef1;
  --surface: #fdfdfd;
  --surface-2: #eef0f3;
  --surface-3: #dfe2e7;
  --line: rgb(17 18 20 / .09);
  --line-2: rgb(17 18 20 / .17);
  --ink: #111214;
  --ink-2: #41444b;
  --ink-3: #666a72;
  --red: #d81f2a;
  --red-press: #b51a22;
  --red-text: #c41c26;
  --red-soft: #fbe7e8;
  --red-glow: rgb(216 31 42 / .28);
  --ok: #17824a;
  --photo: #e7e6e2;
  --shadow: 0 1px 2px rgb(17 18 20 / .04), 0 12px 32px -16px rgb(17 18 20 / .18);
  --shadow-lg: 0 30px 70px -30px rgb(17 18 20 / .35);

  --r-s: 3px;
  --r-m: 4px;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  color-scheme: light;
}

/* Dark token scope for photographic / brand surfaces */
.on-dark {
  --bg: #1c1d20;
  --bg-2: #222326;
  --surface: #2a2b2e;
  --surface-2: #3a3b3f;
  --surface-3: #4a4b50;
  --line: rgb(255 255 255 / .1);
  --line-2: rgb(255 255 255 / .2);
  --ink: #f4f3f0;
  --ink-2: #cfcfd4;
  --ink-3: #a2a2a9;
  --red-text: #ff6a70;
  --ok: #4fd18b;
  --shadow: 0 20px 50px -20px rgb(0 0 0 / .7);
  color: var(--ink);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::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;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Subtle film grain, fixed and non-interactive */
body::after {
  content: ''; position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 750; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-s); z-index: 100; }
.skip-link:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.tnum { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: .8125rem; letter-spacing: .02em; }
.muted { color: var(--ink-3); }
.lead { font-size: 1.125rem; color: var(--ink-2); max-width: 54ch; line-height: 1.55; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight-top { padding-top: 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }

/* Display type: condensed italic caps, accent word in red */
.display { font-weight: 800; font-stretch: 68%; font-style: italic; text-transform: uppercase; line-height: .92; letter-spacing: -.005em; }
.display em { font-style: inherit; color: var(--red-text); }
.h-section em, .bar-title em { font-style: normal; color: var(--red-text); }
.h-section, .bar-title { position: relative; font-weight: 750; font-size: clamp(1.55rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -.02em; padding-bottom: 14px; }
.h-section::after, .bar-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--red); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }

/* Pill tag (hero) */
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: .8rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.tag__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .tag__dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #fff; animation: ping 2s var(--ease) infinite; }
}
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--surface); --_fg: var(--ink); --_bd: var(--line-2);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  font-weight: 700; font-size: .95rem; white-space: nowrap; text-decoration: none; letter-spacing: .04em; text-transform: uppercase;
  color: var(--_fg); background: var(--_bg); border: 1.5px solid var(--_bd); border-radius: var(--r-s);
  cursor: pointer; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s, transform .2s var(--spring), box-shadow .3s var(--ease);
}
.btn i { font-size: 1.2em; transition: transform .35s var(--spring); }
.btn:hover i.ph-arrow-right, .btn:hover i.ph-arrow-up-right { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--primary { --_bg: var(--red); --_fg: #fff; --_bd: var(--red); box-shadow: 0 12px 30px -14px var(--red-glow); }
.btn--primary:hover { --_bg: var(--red-press); --_bd: var(--red-press); }
.btn--primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .25) 50%, transparent 65%); transform: translateX(-110%); }
@media (prefers-reduced-motion: no-preference) { .btn--primary:hover::after { transition: transform .8s var(--ease); transform: translateX(110%); } }
.btn--dark { --_bg: var(--ink); --_fg: var(--bg); --_bd: var(--ink); }
.btn--dark:hover { opacity: .88; }
.btn--light { --_bg: #fdfdfd; --_fg: #111214; --_bd: #fdfdfd; }
.btn--light:hover { --_bg: #fff; }
.btn--ghost { --_bg: transparent; }
.btn--ghost:hover { --_bd: var(--ink); --_bg: color-mix(in srgb, var(--ink) 6%, transparent); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .85rem; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::before { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 3px; transition: background-size .4s var(--ease), color .2s; }
.link-arrow:hover { background-size: 100% 1.5px; color: var(--red-text); }
.link-arrow i { transition: transform .35s var(--spring); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; color: var(--ink);
  background: rgb(253 253 253 / .86);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s, box-shadow .35s;
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
/* Over a photographic hero: transparent with white type until the page scrolls */
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; color: #f4f3f0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .site-header.is-scrolled { background: rgb(253 253 253 / .9); color: var(--ink); border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgb(17 18 20 / .4); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.brand__top { font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; padding-left: 2px; }
.brand__main { font-size: 1.7rem; font-weight: 850; font-stretch: 72%; font-style: italic; letter-spacing: .005em; text-transform: uppercase; }
.brand__main b { color: var(--red); font-weight: inherit; }
.site-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.site-nav a { position: relative; display: block; padding: 10px 14px; text-decoration: none; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: inherit; opacity: .82; transition: opacity .2s, color .2s; }
.site-nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.site-nav a[aria-current="page"] { opacity: 1; }
.header-call { display: inline-flex; --_fg: currentColor; --_bd: currentColor; }
.header-call i { color: var(--red); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1.5px solid currentColor; background: transparent; color: inherit; border-radius: var(--r-s); align-items: center; justify-content: center; cursor: pointer; font-size: 1.35rem; }
.nav-toggle .ph-x { display: none; }
.nav-open .nav-toggle .ph-x { display: block; }
.nav-open .nav-toggle .ph-list { display: none; }
.nav-call-mobile { display: none; --_fg: currentColor; --_bd: currentColor; }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .header-call { display: none; }
  .nav-call-mobile { display: inline-flex; width: 46px; height: 46px; padding: 0; min-height: 0; }
  .nav-open .site-header { background: var(--surface) !important; color: var(--ink) !important; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: var(--surface); color: var(--ink); padding: 24px var(--gutter);
    opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility 0s .25s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav-open { overflow: hidden; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { padding: 16px 0; font-size: 1.5rem; font-weight: 750; letter-spacing: -.01em; text-transform: none; opacity: 1; line-height: 1.1; }
  .site-nav a::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--red-text); }
  @media (prefers-reduced-motion: no-preference) {
    .site-nav li { transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); }
    .nav-open .site-nav li { transform: none; opacity: 1; }
    .nav-open .site-nav li:nth-child(2) { transition-delay: .04s; }
    .nav-open .site-nav li:nth-child(3) { transition-delay: .08s; }
    .nav-open .site-nav li:nth-child(4) { transition-delay: .12s; }
    .nav-open .site-nav li:nth-child(5) { transition-delay: .16s; }
  }
}

/* ---------- Hero (home): full-bleed photo, content bottom-left ---------- */
.hero { position: relative; min-height: min(100dvh, 960px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #0d0e10; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transform: scale(1.08); }
@media (prefers-reduced-motion: no-preference) { .hero__slide.is-active img { transition: transform 8s linear; transform: scale(1); } }
.hero::before { /* legibility: dark from the left and bottom */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(10 11 13 / .85) 0%, rgb(10 11 13 / .6) 38%, rgb(10 11 13 / .12) 72%, rgb(10 11 13 / 0) 100%),
    linear-gradient(0deg, rgb(10 11 13 / .8) 0%, rgb(10 11 13 / 0) 42%),
    linear-gradient(180deg, rgb(10 11 13 / .6) 0%, rgb(10 11 13 / 0) 22%);
}
.hero__inner { width: 100%; padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(130px, 14vw, 170px); display: grid; gap: 40px; align-items: end; }
@media (min-width: 1024px) { .hero__inner { grid-template-columns: minmax(0, 1fr) 340px; } }
.hero__copy { display: grid; gap: 22px; justify-items: start; max-width: 900px; }
.hero__title { font-size: clamp(2.8rem, 6vw, 5.6rem); text-shadow: 0 2px 30px rgb(0 0 0 / .25); }
.hero__title span { white-space: nowrap; }
@media (max-width: 480px) { .hero__title span { white-space: normal; } }
.hero__title span { display: block; }
.hero__copy .lead { color: var(--ink-2); font-size: 1.15rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn--ghost { --_fg: #fff; --_bd: rgb(255 255 255 / .55); }
.hero__ctas .btn--ghost:hover { --_bd: #fff; --_bg: rgb(255 255 255 / .1); }
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .9s var(--ease) both; }
  .hero__copy > *:nth-child(2) { animation-delay: .08s; }
  .hero__copy > *:nth-child(3) { animation-delay: .16s; }
  .hero__copy > *:nth-child(4) { animation-delay: .24s; }
  .hero__now { animation: rise 1s .35s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* "Senast inkommen" glass card synced with the background slides */
.hero__now {
  align-self: end; display: grid; gap: 10px; padding: 18px; border-radius: var(--r-m); text-decoration: none;
  background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .14);
}
@media (prefers-reduced-transparency: reduce) { .hero__now { background: #17181b; backdrop-filter: none; } }
@media (max-width: 1023px) { .hero__now { display: none; } }
.hero__now-label { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.hero__now-name { font-size: 1.2rem; font-weight: 750; line-height: 1.15; }
.hero__now-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hero__now-price { font-size: 1.25rem; font-weight: 800; font-stretch: 85%; font-variant-numeric: tabular-nums; }
.hero__now-spec { color: var(--ink-3); }
.hero__now:hover .hero__now-name { color: var(--red-text); }
.hero__bars { display: flex; gap: 6px; }
.hero__bars button { flex: 1; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.hero__bars button::before, .hero__bars button::after { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 2px; border-radius: 2px; }
.hero__bars button::before { background: rgb(255 255 255 / .22); }
.hero__bars button::after { background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__bars button.is-done::after { transform: scaleX(1); }
.hero__bars button.is-active::after { animation: fill var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero__bars button.is-active::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hero__bars button.is-active::after { animation: none; transform: scaleX(1); } }
@keyframes fill { to { transform: scaleX(1); } }

/* Quick search overlaps the hero edge */
.quicksearch-wrap { position: relative; z-index: 2; margin-top: clamp(-96px, -8vw, -72px); }
.quicksearch {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  background: var(--surface); border-radius: var(--r-m);
  padding: 18px; box-shadow: var(--shadow-lg);
}
@media (min-width: 720px) { .quicksearch { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .quicksearch { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: end; padding: 22px; } }
.quicksearch .btn { min-width: 200px; }
@media (min-width: 720px) and (max-width: 1023px) { .quicksearch .btn { grid-column: 1 / -1; } }

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.section-head p { color: var(--ink-2); margin-top: 12px; max-width: 52ch; }

/* ---------- Car cards ---------- */
.car-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 600px) { .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .car-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.latest { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .latest { grid-template-columns: repeat(2, minmax(0, 1fr)); } .latest > :first-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .latest { grid-template-columns: repeat(4, minmax(0, 1fr)); } .latest > :first-child { grid-column: span 2; grid-row: span 2; } }

.spot { position: relative; }
.spot::before {
  content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), var(--red), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.spot:hover::before { opacity: 1; }

.car-card { background: var(--surface); border-radius: var(--r-m); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.car-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.car-card__link:focus-visible { outline-offset: -3px; }
.car-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--photo); }
.car-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .5s var(--ease); }
.car-card__img--alt { opacity: 0; }
@media (hover: hover) {
  .car-card:hover .car-card__img--alt { opacity: 1; }
  .car-card:hover .car-card__media img { transform: scale(1.04); }
}
.car-card__go { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 44px; height: 44px; border-radius: var(--r-s); display: grid; place-items: center; background: var(--red); color: #fff; font-size: 1.15rem; transform: translateY(8px); opacity: 0; transition: transform .45s var(--spring), opacity .3s; }
.car-card:hover .car-card__go, .car-card__link:focus-visible .car-card__go { transform: none; opacity: 1; }
.car-card__noimg { display: grid; place-items: center; height: 100%; font-size: 3rem; color: var(--ink-3); background: var(--surface-2); }
.car-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.car-card__new { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-text); }
.car-card__title { font-size: 1.15rem; font-weight: 400; line-height: 1.25; letter-spacing: -.01em; }
.car-card__title b { font-weight: 750; }
.car-card__variant { font-size: .85rem; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.car-card__specs { list-style: none; margin: 10px 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.car-card__specs li { padding: 5px 10px; border-radius: var(--r-s); background: var(--surface-2); color: var(--ink); font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.car-card__price { margin-top: auto; display: grid; gap: 2px; }
.car-card__main { font-size: 1.55rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.1; color: var(--red-text); font-variant-numeric: tabular-nums; }
.car-card__sub { font-size: .95rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (min-width: 1100px) {
  .car-card--feature .car-card__media { aspect-ratio: auto; flex: 1; min-height: 340px; }
  .car-card--feature .car-card__title { font-size: 1.55rem; }
  .car-card--feature .car-card__main { font-size: 2rem; }
  .car-card--feature .car-card__body { padding: 24px 28px 26px; flex: none; }
}
/* Inventory list: photo left, details right (desktop) */
@media (min-width: 900px) {
  .car-grid--list { grid-template-columns: 1fr; gap: 18px; }
  .car-grid--list .car-card__link { flex-direction: row; }
  .car-grid--list .car-card__media { flex: 0 0 46%; aspect-ratio: 4 / 3; }
  .car-grid--list .car-card__body { padding: 28px 32px; justify-content: center; }
  .car-grid--list .car-card__title { font-size: 1.45rem; }
  .car-grid--list .car-card__variant { -webkit-line-clamp: 2; font-size: .95rem; }
  .car-grid--list .car-card__price { margin-top: 8px; }
  .car-grid--list .car-card__main { font-size: 1.9rem; }
}
.car-card--skeleton .car-card__body { gap: 12px; }
.sk { background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 50%, var(--surface-2) 100%); background-size: 200% 100%; animation: shimmer 1.6s ease-in-out infinite; }
.sk-line { height: 14px; border-radius: 4px; }
.w40 { width: 40%; } .w60 { width: 60%; } .w90 { width: 90%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.footnote { font-size: .78rem; color: var(--ink-3); margin-top: 24px; max-width: 92ch; }

/* ---------- Brand tiles ---------- */
.brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .brands { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.brand-tile { display: grid; justify-items: center; gap: 10px; padding: 22px 12px 18px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .4s var(--spring), box-shadow .4s var(--ease), border-color .3s; }
.brand-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--red); }
.brand-tile__logo { height: 44px; width: 44px; display: grid; place-items: center; }
.brand-tile__logo img { max-height: 44px; max-width: 64px; width: auto; filter: grayscale(1) brightness(.35); opacity: .85; transition: filter .3s, opacity .3s; }
.brand-tile:hover .brand-tile__logo img { filter: none; opacity: 1; }
.brand-tile__mono { width: 44px; height: 44px; border-radius: var(--r-s); display: grid; place-items: center; background: var(--surface-2); font-weight: 800; font-stretch: 75%; font-style: italic; font-size: 1.2rem; color: var(--ink-2); transition: background-color .3s, color .3s; }
.brand-tile:hover .brand-tile__mono { background: var(--red); color: #fff; }
.brand-tile__name { font-weight: 700; font-size: .95rem; text-align: center; line-height: 1.2; }
.brand-tile__count { font-family: var(--mono); font-size: .75rem; color: var(--ink-3); }
.brand-tile--all { background: var(--ink); color: var(--bg); border-color: var(--ink); align-content: center; }
.brand-tile--all .brand-tile__count { color: rgb(255 255 255 / .7); }
.brand-tile--all i { font-size: 1.6rem; color: var(--red); }

/* ---------- Body-type index ---------- */
.typeindex { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.typeindex li { border-bottom: 1px solid var(--line-2); }
.typeindex a { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; padding: clamp(12px, 1.8vw, 20px) 0; text-decoration: none; transition: padding-left .5s var(--ease), color .3s; }
.typeindex__name { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 750; letter-spacing: -.02em; line-height: 1.1; }
.typeindex__count { font-family: var(--mono); color: var(--ink-3); font-size: .9rem; }
.typeindex__go { width: 48px; height: 48px; border-radius: var(--r-s); border: 1.5px solid var(--line-2); display: grid; place-items: center; font-size: 1.3rem; transition: background-color .3s, border-color .3s, color .3s, transform .45s var(--spring); }
.typeindex__thumb { display: none; }
@media (hover: hover) {
  .typeindex a:hover { padding-left: 18px; color: var(--red-text); }
  .typeindex a:hover .typeindex__go { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(-45deg); }
}
@media (hover: none) {
  .typeindex a { grid-template-columns: 1fr auto 72px; }
  .typeindex__go { display: none; }
  .typeindex__thumb { display: block; width: 72px; aspect-ratio: 4 / 3; border-radius: var(--r-s); object-fit: cover; background: var(--photo); }
}
.cursor-preview {
  position: fixed; left: 0; top: 0; z-index: 45; width: 340px; aspect-ratio: 4 / 3; pointer-events: none;
  border-radius: var(--r-m); overflow: hidden; background: var(--photo); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(.85) rotate(-3deg); transition: opacity .3s var(--ease);
}
.cursor-preview.is-on { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(1) rotate(-3deg); }
.cursor-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (prefers-reduced-motion: reduce) { .cursor-preview { display: none; } }

/* ---------- About split ---------- */
.about { display: grid; gap: 0; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: 6fr 5fr; } }
.about__media { position: relative; }
.about__img { border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 3; background: var(--photo); box-shadow: var(--shadow-lg); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__badge { position: absolute; left: 20px; bottom: 20px; display: grid; gap: 2px; padding: 18px 22px; border-radius: var(--r-m); background: var(--red); color: #fff; box-shadow: 0 20px 40px -20px var(--red-glow); }
.about__badge strong { font-size: 2rem; font-weight: 800; line-height: 1; }
.about__badge span { font-size: .85rem; font-weight: 600; opacity: .92; }
.about__copy { display: grid; gap: 18px; background: var(--surface); padding: clamp(28px, 3.6vw, 48px); border-radius: var(--r-m); box-shadow: var(--shadow-lg); }
@media (min-width: 960px) { .about__copy { position: relative; z-index: 2; margin-left: -96px; } }
@media (max-width: 959px) { .about__copy { position: relative; margin: -40px 12px 0; } }
.about__copy p { color: var(--ink-2); max-width: 58ch; }

.proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 10px; border-top: 1px solid var(--line-2); }
.proof__item { padding: 18px 16px 4px 0; display: grid; gap: 4px; align-content: start; }
.proof__item:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-2); }
.proof__num { font-size: clamp(1.7rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.proof__num em { font-style: inherit; color: var(--red-text); }
.proof__label { color: var(--ink-3); font-size: .9rem; max-width: 26ch; }

/* ---------- Service image tiles ---------- */
.tiles { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 380px; padding: 26px; border-radius: var(--r-m); text-decoration: none; color: #f4f3f0; background: #17181b; }
.tile__bg { position: absolute; inset: 0; z-index: -2; background: #1f2023; }
.tile__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 11 13 / .05) 0%, rgb(10 11 13 / .5) 42%, rgb(10 11 13 / .94) 100%); transition: background-color .4s; }
.tile:hover .tile__bg img { transform: scale(1.06); }
.tile__kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.tile__kicker::before { content: ''; width: 18px; height: 2px; background: var(--red); }
.tile h3 { font-size: 1.6rem; font-weight: 750; line-height: 1.1; letter-spacing: -.02em; }
.tile p { color: #d6d6da; max-width: 36ch; font-size: .95rem; }
.tile__go { position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border-radius: var(--r-s); display: grid; place-items: center; background: rgb(255 255 255 / .14); backdrop-filter: blur(8px); font-size: 1.2rem; transition: background-color .3s, transform .45s var(--spring); }
.tile:hover .tile__go { background: var(--red); transform: rotate(-45deg); }

/* ---------- Visit / map ---------- */
.visit { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 960px) { .visit { grid-template-columns: 5fr 7fr; gap: 56px; } }
.visit__map { position: relative; border-radius: var(--r-m); overflow: hidden; min-height: 420px; background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--shadow); }
.visit__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.visit__info { display: grid; gap: 30px; align-content: start; }
.visit__block h3 { font-size: 1rem; margin-bottom: 12px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.visit__contact { display: grid; gap: 0; }
.visit__contact a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 650; transition: color .2s, padding-left .4s var(--ease); }
.visit__contact a:hover { color: var(--red-text); padding-left: 6px; }
.visit__contact a span:first-child { display: inline-flex; align-items: center; gap: 12px; }
.visit__contact i { font-size: 1.25rem; color: var(--red-text); }
.visit__contact .mono { color: var(--ink-3); }
.open-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.open-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.open-status.is-open { color: var(--ok); }
.open-status.is-open::before { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 18%, transparent); }

.hours { margin: 0; display: grid; gap: 6px; }
.hours__row { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; padding: 2px 0; }
.hours__row dt { color: var(--ink-2); }
.hours__row dd { margin: 0; font-weight: 600; font-family: var(--mono); font-size: .875rem; white-space: nowrap; }
.hours__row.is-today dt, .hours__row.is-today dd { color: var(--ink); font-weight: 700; }
.hours__row.is-today dt::after { content: ' (idag)'; color: var(--red-text); font-weight: 500; }
.hours__note { font-size: .85rem; color: var(--ink-3); margin-top: 8px; }
.site-footer .hours__row.is-today dt::after { content: none; }
.site-footer .hours__row.is-today dt { color: var(--red-text); }

/* ---------- Footer (dark) ---------- */
.site-footer { position: relative; background: var(--bg); padding-top: 72px; overflow: hidden; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--red-text); }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__tag { color: var(--ink-2); margin-top: 18px; max-width: 34ch; }
.footer__col h2 { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; color: var(--ink-3); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--ink-2); }
.footer__col ul a { color: var(--ink-2); }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r-s); font-size: 1.25rem; transition: background-color .25s, border-color .25s, transform .35s var(--spring); }
.footer__social a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
.footer__bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: var(--ink-3); }
.footer__word { font-size: clamp(3rem, 12vw, 11rem); font-weight: 850; font-stretch: 62%; font-style: italic; text-transform: uppercase; line-height: 1; letter-spacing: -.01em; white-space: nowrap; margin: 32px 0 -0.2em; padding-top: .08em; color: var(--surface-2); text-align: center; user-select: none; }
.footer__word b { color: rgb(216 31 42 / .6); font-weight: inherit; }

/* ---------- Page banner (subpages) ---------- */
.page-head { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px)); padding-bottom: clamp(36px, 4vw, 56px); }
.page-head__bg { position: absolute; inset: 0; z-index: -2; }
.page-head__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.page-head::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 11 13 / .94) 0%, rgb(10 11 13 / .78) 45%, rgb(10 11 13 / .45) 100%); }
.page-head h1 { position: relative; display: inline-block; font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 750; line-height: 1.1; letter-spacing: -.02em; padding-bottom: 16px; }
.page-head h1::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--red); }
.page-head h1 em { font-style: normal; color: var(--red-text); }
.page-head .lead { margin-top: 18px; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-head + * { margin-top: clamp(36px, 5vw, 64px); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; }
.field label, .field__label { font-size: .875rem; font-weight: 650; color: var(--ink); }
.field__hint { font-size: .825rem; color: var(--ink-3); }
.field__error { font-size: .85rem; color: var(--red-text); font-weight: 600; }
.field__error:empty { display: none; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  background: var(--bg); border: 1.5px solid var(--line-2); border-radius: var(--r-s);
  color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-3); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--red); background: var(--surface); box-shadow: 0 0 0 4px rgb(216 31 42 / .14); }
.input[aria-invalid], .textarea[aria-invalid], .select[aria-invalid] { border-color: var(--red); }
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%23666a72' stroke-width='1.6' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.input--upper { text-transform: uppercase; font-family: var(--mono); letter-spacing: .08em; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { padding: 0; margin-bottom: 10px; font-size: .875rem; font-weight: 650; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-s); background: var(--surface); font-size: .925rem; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s, transform .3s var(--spring); }
.chip:hover span { border-color: var(--ink-3); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:active + span { transform: scale(.96); }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.chip small { font-family: var(--mono); font-size: .75rem; opacity: .65; }
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.form__fine { font-size: .78rem; color: var(--ink-3); }
.hp { position: absolute !important; left: -9999px !important; }
.form__status { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-m); background: color-mix(in srgb, var(--ok) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); }
.form__status i { font-size: 1.6rem; color: var(--ok); flex: none; }
.form__status div { display: grid; gap: 2px; }
.form__status span { color: var(--ink-2); font-size: .95rem; }
.form__status.is-error { background: var(--red-soft); border-color: rgb(216 31 42 / .35); }
.form__status.is-error i { color: var(--red-text); }
.form__status:focus { outline: none; }

/* ---------- States ---------- */
.state { grid-column: 1 / -1; text-align: center; padding: 64px 20px; border: 1.5px dashed var(--line-2); border-radius: var(--r-m); display: grid; justify-items: center; gap: 12px; background: var(--surface); }
.state i { font-size: 2.6rem; color: var(--ink-3); }
.state h3 { font-size: 1.4rem; font-weight: 750; }
.state p { color: var(--ink-2); max-width: 46ch; }
.state .btn { margin-top: 8px; }

/* ---------- Inventory ---------- */
.inv { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; padding-bottom: 120px; }
@media (min-width: 1024px) { .inv { grid-template-columns: 290px minmax(0, 1fr); } }
.filters { display: grid; gap: 20px; }
@media (min-width: 1024px) { .filters { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100dvh - var(--header-h) - 40px); overflow-y: auto; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); scrollbar-width: thin; } }
.filters__head { display: flex; justify-content: space-between; align-items: center; }
.filters__head h2 { font-size: 1.15rem; font-weight: 750; }
.filters__reset { background: none; border: 0; color: var(--red-text); font-weight: 650; cursor: pointer; padding: 6px 0; }
.filters__close, .filters__apply { display: none; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.inv__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.inv__count { font-size: 1.3rem; font-weight: 750; line-height: 1.1; }
.inv__count span { color: var(--ink-3); font-size: .9rem; font-weight: 500; margin-left: 6px; }
.inv__tools { display: flex; gap: 10px; align-items: center; }
.inv__tools .select { min-height: 44px; width: auto; background-color: var(--surface); }
.filter-open { display: none; }
.type-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters:empty { display: none; }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: var(--r-s); border: 1px solid rgb(216 31 42 / .35); background: var(--red-soft); color: var(--ink); font-size: .85rem; font-weight: 600; cursor: pointer; transition: background-color .2s; }
.active-filters button:hover { background: rgb(216 31 42 / .16); }
@media (max-width: 1023px) {
  .filter-open { display: inline-flex; }
  .filters {
    position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: 20px var(--gutter) 110px; overflow-y: auto;
    transform: translateY(100%); transition: transform .45s var(--ease); visibility: hidden;
  }
  .filters.is-open { transform: none; visibility: visible; }
  .filters__close { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1.5px solid var(--line-2); border-radius: var(--r-s); background: var(--surface); font-size: 1.25rem; cursor: pointer; }
  .filters__apply { display: block; position: fixed; left: 0; right: 0; bottom: 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
  .filters:not(.is-open) .filters__apply { display: none; }
  body.filters-locked { overflow: hidden; }
}

/* ---------- Car detail ---------- */
.car { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "summary" "content"; gap: 32px; align-items: start; }
@media (min-width: 1024px) {
  .car { grid-template-columns: minmax(0, 1fr) 410px; grid-template-areas: "gallery summary" "content summary"; column-gap: 48px; row-gap: 56px; }
  .car > .summary { align-self: start; }
}
.car__main { min-width: 0; display: grid; gap: clamp(56px, 7vw, 88px); }
.gallery { display: grid; gap: 10px; }
.gallery__stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-m); overflow: hidden; background: var(--photo); }
.gallery__stage img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
@media (prefers-reduced-motion: no-preference) { .gallery__stage img.is-swapping { animation: swapIn .5s var(--ease); } }
@keyframes swapIn { from { opacity: .3; transform: scale(1.02); } }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: var(--r-s); border: 0; background: rgb(17 18 20 / .7); color: #f4f3f0; display: grid; place-items: center; font-size: 1.3rem; cursor: pointer; backdrop-filter: blur(6px); transition: background-color .2s, transform .3s var(--spring); }
.gallery__nav:hover { background: var(--red); }
.gallery__nav:active { transform: translateY(-50%) scale(.92); }
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
.gallery__zoom { position: absolute; right: 14px; bottom: 14px; min-height: 40px; padding: 0 14px; border-radius: var(--r-s); border: 0; background: rgb(17 18 20 / .7); color: #f4f3f0; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .78rem; cursor: pointer; backdrop-filter: blur(6px); }
.gallery__zoom:hover { background: rgb(17 18 20 / .9); }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.gallery__thumbs button { flex: none; width: 104px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: var(--r-s); overflow: hidden; cursor: pointer; background: var(--photo); scroll-snap-align: start; opacity: .6; transition: opacity .25s, border-color .25s; }
.gallery__thumbs button:hover { opacity: .95; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--red); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.summary { display: grid; gap: 18px; }
@media (min-width: 1024px) { .summary { position: sticky; top: calc(var(--header-h) + 20px); } }
.summary__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 26px; display: grid; gap: 20px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.summary__card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--red); }
.summary h1 { font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.summary h1 b { font-weight: 750; }
.summary__variant { color: var(--ink-3); margin-top: 10px; font-size: .95rem; }
.summary__price { display: grid; gap: 6px; padding-block: 18px; border-block: 1px solid var(--line); }
.summary__price strong { font-size: clamp(2rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; line-height: 1; }
.summary__price a { color: var(--ink-2); font-family: var(--mono); font-size: .82rem; }
.summary__price a:hover { color: var(--red-text); }
.summary__actions { display: grid; gap: 10px; }
.summary__perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .925rem; color: var(--ink-2); }
.summary__perks li { display: flex; gap: 10px; align-items: flex-start; }
.summary__perks i { color: var(--ok); font-size: 1.2rem; flex: none; margin-top: 1px; }
.summary__perks a { color: var(--ink); font-weight: 650; }
.summary__seller { display: flex; gap: 12px; align-items: center; font-size: .9rem; color: var(--ink-2); padding: 0 4px; }
.summary__seller strong { color: var(--ink); display: block; font-weight: 650; }

.cluster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: var(--surface); }
@media (min-width: 640px) { .cluster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cluster__item { padding: 22px 22px 20px; display: grid; gap: 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.cluster__label { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.cluster__label i { font-size: 1rem; color: var(--red-text); }
.cluster__value { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 750; line-height: 1.1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cluster__value small { font-size: .5em; font-weight: 650; color: var(--ink-3); margin-left: 4px; }

.car-section h2 { position: relative; font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 750; line-height: 1.15; letter-spacing: -.02em; padding-bottom: 12px; margin-bottom: 22px; }
.car-section h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--red); }
.prose { color: var(--ink-2); max-width: 68ch; }
.prose p + p { margin-top: 1em; }
.equip { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.equip li { list-style: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: var(--r-s); background: var(--surface); border: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.equip li i { color: var(--ok); }
.equip.is-collapsed li:nth-child(n+17) { display: none; }
.equip-toggle { margin-top: 18px; }
.tech { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .tech { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tech h3 { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1.5px solid var(--ink); }
.tech dl { margin: 0; display: grid; gap: 9px; }
.tech dl div { display: flex; justify-content: space-between; gap: 12px; font-size: .925rem; }
.tech dt { color: var(--ink-3); }
.tech dd { margin: 0; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow); }
.calc__head { padding: 24px 24px 18px; display: grid; gap: 16px; }
.calc__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; }
@media (min-width: 720px) { .calc__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.calc__facts span { background: var(--bg); padding: 12px 14px; display: grid; gap: 4px; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.calc__facts strong { font-family: var(--font); font-size: 1.15rem; letter-spacing: 0; text-transform: none; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc__paper { margin: 0 12px; border-radius: var(--r-s); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.calc iframe { width: 100%; height: 695px; border: 0; display: block; background: #fff; }
.calc__note { padding: 16px 24px 22px; font-size: .8rem; color: var(--ink-3); }

.interest { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(22px, 3.4vw, 40px); position: relative; overflow: hidden; box-shadow: var(--shadow); }
.interest::after { content: ''; position: absolute; right: -140px; top: -140px; width: 340px; height: 340px; background: radial-gradient(closest-side, rgb(216 31 42 / .12), transparent); pointer-events: none; }
.interest h2 { margin-bottom: 10px; }
.interest > p { color: var(--ink-2); margin-bottom: 26px; max-width: 56ch; }

/* Mobile action bar */
.actionbar { display: none; }
@media (max-width: 1023px) {
  .actionbar {
    display: flex; gap: 8px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgb(253 253 253 / .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgb(17 18 20 / .4);
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .actionbar.is-visible { transform: none; }
  .actionbar__price { margin-right: auto; display: grid; line-height: 1.15; min-width: 0; }
  .actionbar__price strong { font-size: 1.2rem; font-weight: 800; font-stretch: 80%; font-variant-numeric: tabular-nums; }
  .actionbar__price span { font-size: .78rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .actionbar .btn { min-height: 46px; padding: 0 14px; font-size: .8rem; }
  body[data-page="bil"] .site-footer { padding-bottom: 90px; }
}

/* Lightbox */
.lightbox { border: 0; padding: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgb(8 8 9 / .97); color: #f4f3f0; }
.lightbox::backdrop { background: rgb(8 8 9 / .97); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 12px; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; border-radius: var(--r-s); }
.lightbox__close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: var(--r-s); border: 0; background: rgb(255 255 255 / .1); color: inherit; font-size: 1.3rem; cursor: pointer; display: grid; place-items: center; }
.lightbox__close:hover { background: var(--red); }
.lightbox .gallery__nav { background: rgb(255 255 255 / .1); }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: .85rem; color: #a2a2a9; }

/* ---------- Content pages ---------- */
.split { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 6fr 5fr; gap: 72px; } .split--rev { grid-template-columns: 5fr 6fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow); }
.panel h2, .split h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 750; line-height: 1.15; letter-spacing: -.02em; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; }
.flow li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding-bottom: 32px; position: relative; }
.flow li:not(:last-child)::after { content: ''; position: absolute; left: 27px; top: 60px; bottom: 6px; width: 1.5px; background: linear-gradient(var(--red), transparent); }
.flow__icon { width: 56px; height: 56px; border-radius: var(--r-m); background: var(--red-soft); color: var(--red-text); display: grid; place-items: center; font-size: 1.4rem; }
.flow h3 { margin: 12px 0 6px; font-size: 1.2rem; }
.flow p { color: var(--ink-2); }
.people { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .people { grid-template-columns: 1fr 1fr; } }
.person { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.person__mono { width: 64px; height: 64px; border-radius: var(--r-m); display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 850; font-stretch: 75%; font-style: italic; font-size: 1.35rem; flex: none; }
.person h3 { font-size: 1.15rem; font-weight: 750; line-height: 1.2; }
.person p { color: var(--ink-3); font-size: .9rem; margin-top: 4px; }
.person a { font-weight: 650; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; font-family: var(--mono); font-size: .875rem; }
.person a:hover { color: var(--red-text); }
.partners { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.partners li { padding: 12px 18px; border-radius: var(--r-s); background: var(--surface); border: 1px solid var(--line); font-weight: 650; }
.media-frame { border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 3; background: var(--photo); box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media-frame:hover img { transform: scale(1.04); }
.check-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; color: var(--ink-2); }
.check-list i { color: var(--red-text); font-size: 1.2rem; margin-top: 2px; flex: none; }
.check-list strong { color: var(--ink); }
.quote { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 700; line-height: 1.3; letter-spacing: -.015em; color: var(--ink); }
.quote em { font-style: normal; color: var(--red-text); }
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--red); color: #fff; border-radius: var(--r-m); padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 750; line-height: 1.15; letter-spacing: -.02em; }
.cta-band p { color: rgb(255 255 255 / .9); margin-top: 10px; }
.cta-band .btn--primary { --_bg: #fff; --_fg: var(--red-press); --_bd: #fff; box-shadow: 0 14px 40px -14px rgb(0 0 0 / .4); }
.cta-band .btn--primary:hover { --_bg: #111214; --_fg: #fff; --_bd: #111214; }
.cta-band .btn--ghost { --_fg: #fff; --_bd: rgb(255 255 255 / .55); }
.cta-band .btn--ghost:hover { --_bg: rgb(255 255 255 / .12); --_bd: #fff; }
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .bento { grid-template-columns: 7fr 5fr; } .bento__tile--tall { grid-row: span 2; } }
.bento__tile { position: relative; border-radius: var(--r-m); padding: clamp(24px, 3vw, 40px); overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-height: 240px; isolation: isolate; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.bento__tile h2, .bento__tile h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 750; line-height: 1.15; letter-spacing: -.02em; }
.bento__tile p { max-width: 44ch; color: var(--ink-2); }
.bento__tile--accent { background: var(--red); border-color: var(--red); color: #fff; }
.bento__tile--accent p { color: rgb(255 255 255 / .92); }
.bento__icon { font-size: 2.2rem; }
.bento__tile--plain .bento__icon { color: var(--red-text); }

/* ---------- Reveal ---------- */
/* Animates `translate` (not `transform`) so hover transforms on cards and tiles keep working */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal]:not(.is-in), .js [data-stagger]:not(.is-in) > * { opacity: 0; }
  .js [data-reveal].is-in { animation: reveal .9s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 80ms); }
  .js [data-stagger].is-in > * { animation: reveal .8s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
}
@keyframes reveal { from { opacity: 0; translate: 0 26px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Site credit (plain link = followed) */
.footer__credit a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.footer__credit a:hover { color: var(--red-text); }

/* ---------- Reco rating (icons are Reco's own artwork from their widget) ---------- */
:root {
  --reco-full: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%3e%3ccircle%20cx='16'%20cy='16'%20r='16'/%3e%3cpath%20fill='%23F9C63C'%20d='M1.6%2015.5A14.4%2014.4%200%200%201%2015.5%201.6v13.9H1.6Z'/%3e%3cpath%20fill='%233096D0'%20d='M30.4%2015.5A14.4%2014.4%200%200%200%2016.5%201.6v13.9h13.9Z'/%3e%3cpath%20fill='%23ED2281'%20d='M1.6%2016.5a14.4%2014.4%200%200%200%2013.9%2013.9V16.5H1.6Z'/%3e%3cpath%20fill='%23C3DA4A'%20d='M16.5%2016.5v13.9a14.4%2014.4%200%200%200%2013.9-13.9H16.5Z'/%3e%3c/svg%3e");
  --reco-empty: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%3e%3ccircle%20cx='16'%20cy='16'%20r='16'/%3e%3cpath%20fill='%23EBEBEB'%20d='M1.6%2015.5A14.4%2014.4%200%200%201%2015.5%201.6v13.9H1.6Z'/%3e%3cpath%20fill='%23EBEBEB'%20d='M30.4%2015.5A14.4%2014.4%200%200%200%2016.5%201.6v13.9h13.9Z'/%3e%3cpath%20fill='%23EBEBEB'%20d='M1.6%2016.5a14.4%2014.4%200%200%200%2013.9%2013.9V16.5H1.6Z'/%3e%3cpath%20fill='%23EBEBEB'%20d='M16.5%2016.5v13.9a14.4%2014.4%200%200%200%2013.9-13.9H16.5Z'/%3e%3c/svg%3e");
}
.reco-icons { display: inline-flex; gap: 3px; }
.reco-icon { position: relative; width: var(--reco-size, 22px); height: var(--reco-size, 22px); background: var(--reco-empty) center / cover no-repeat; }
.reco-icon::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--fill, 100%); background: var(--reco-full) left center / var(--reco-size, 22px) var(--reco-size, 22px) no-repeat; }

/* Hero badge */
.reco-badge { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 4px; padding: 10px 14px 10px 10px; border-radius: var(--r-s); text-decoration: none; color: var(--ink-2); font-size: .95rem; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color .25s, border-color .25s; }
.reco-badge:hover { background: rgb(255 255 255 / .14); border-color: rgb(255 255 255 / .3); }
.reco-badge strong { color: var(--ink); font-size: 1.05rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.reco-badge img { height: 15px; width: auto; opacity: .95; }
@media (prefers-reduced-motion: no-preference) { .hero__copy > *:nth-child(5) { animation-delay: .32s; } }

/* Full Reco widget section */
.reviews__frame { border-radius: var(--r-m); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.reviews__frame iframe { width: 100%; height: 225px; border: 0; display: block; overflow: hidden; }
.reviews__summary { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; color: var(--ink-2); }
.reviews__summary strong { color: var(--ink); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
/* Reco's widget wraps on narrow screens and needs more height there */
@media (max-width: 900px) { .reviews__frame iframe { height: 280px; } }
@media (max-width: 560px) { .reviews__frame iframe { height: 350px; } }
@media (max-width: 480px) {
  .reco-badge { --reco-size: 18px; gap: 8px 10px; font-size: .88rem; }
  .reco-badge__long { display: none; }
}
