
/* ============================================================
   CarNow — design tokens
   Warm paper + near-black ink, gold accent, deep pine for CTAs.
   ============================================================ */
:root {
  --ink: #12161a;
  --paper: #f2f1ec;
  --paper-2: #e5e3da;
  --white: #fff;

  --pine: #0c6e55;
  --pine-dk: #0a5843;
  --gold: #d89b3c;
  --gold-lt: #f2be63;
  --wa: #25d366;

  --text: #1d2226;
  --text-2: #454b4f;
  --stone: #62686b;

  --line: rgba(18, 22, 26, 0.14);
  --line-dk: rgba(242, 241, 236, 0.18);

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --pill: 100px;

  --display: var(--font-display), system-ui, sans-serif;
  --body: var(--font-body), system-ui, sans-serif;
  --mono: var(--font-mono), ui-monospace, monospace;

  --shadow-card: 0 18px 40px rgba(18, 22, 26, 0.13);
  --shadow-float: 0 20px 50px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* sticky header height, so #anchors don't land under it */
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}

.sec-head p {
  margin: 8px 0 0;
  color: var(--stone);
  font-size: 15px;
}

/* ---------- type ---------- */
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  margin: 0;
  /* Geologica is narrower than the old display face — it needs less negative
     tracking to stay readable in uppercase Cyrillic. */
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--ink);
}

h1 {
  font-size: clamp(30px, 4.4vw, 54px);
  text-transform: uppercase;
  /* evens out the line lengths instead of leaving one stray word */
  text-wrap: balance;
}

h2 {
  font-size: clamp(22px, 2.9vw, 33px);
  text-transform: uppercase;
  text-wrap: balance;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  font-family: var(--body);
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.eyebrow::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.lede {
  font-size: clamp(15.5px, 1.4vw, 18.5px);
  color: var(--text-2);
  max-width: 56ch;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition:
    transform 0.12s,
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-wa {
  background: var(--wa);
  color: #06301e;
}
.btn-wa:hover {
  background: #1fbe5b;
}

.btn-pine {
  background: var(--pine);
  color: #fff;
}
.btn-pine:hover {
  background: var(--pine-dk);
}

.btn-out {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}
.btn-out:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--paper-2);
}

.btn-light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-light:hover {
  background: rgba(255, 255, 255, 0.24);
}

.btn-lg {
  padding: 15px 26px;
  font-size: 15.5px;
  width: 100%;
}

.btn-ico {
  width: 48px;
  padding: 0;
  flex: none;
}

.wa-ico {
  width: 17px;
  height: 17px;
  flex: none;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(18, 22, 26, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dk);
  color: #fff;
}

.hbar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 66px;
}

.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  flex: none;
  white-space: nowrap;
}

/* matches the mark's 28×24 viewBox so it isn't letterboxed */
.logo .mark {
  width: 30px;
  height: 26px;
  flex: none;
}

.main-nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.main-nav a:hover {
  color: #fff;
}

.hright {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang {
  display: flex;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  border: 1px solid var(--line-dk);
  border-radius: var(--pill);
  overflow: hidden;
}

.lang a {
  padding: 6px 10px;
  color: rgba(255, 255, 255, 0.65);
  transition:
    background 0.15s,
    color 0.15s;
}

.lang a:hover {
  color: #fff;
}

.lang a[aria-current="true"] {
  background: #fff;
  color: var(--ink);
}

.tel {
  font-family: var(--mono);
  font-size: 13.5px;
  white-space: nowrap;
  color: #fff;
}

.burger {
  display: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r-xs);
  width: 40px;
  height: 38px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 17px;
  height: 1.6px;
  background: #fff;
  border-radius: 2px;
  content: "";
}

.burger span {
  position: relative;
}

.burger span::before {
  position: absolute;
  top: -5px;
}

.burger span::after {
  position: absolute;
  top: 5px;
}

.mnav {
  display: none;
  background: rgba(18, 22, 26, 0.97);
  border-bottom: 1px solid var(--line-dk);
  padding: 12px 0 18px;
}

.mnav.open {
  display: block;
}

.mnav a {
  display: block;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mnav .mlang {
  display: flex;
  gap: 8px;
  padding: 16px 0 4px;
}

.mnav .mlang a {
  border: 1px solid var(--line-dk);
  border-radius: var(--pill);
  padding: 8px 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.mnav .mlang a[aria-current="true"] {
  background: #fff;
  color: var(--ink);
}

.mnav .mtel {
  font-family: var(--mono);
  border-bottom: 0;
  padding-top: 16px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 104px 0 96px;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: #101416;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  object-fit: cover;
  /* favours the ridge line over the empty foreground when the frame crops */
  object-position: 55% 42%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(
      90deg,
      rgba(9, 12, 13, 0.96) 0%,
      rgba(9, 12, 13, 0.86) 42%,
      rgba(9, 12, 13, 0.34) 78%,
      rgba(9, 12, 13, 0.55) 100%
    ),
    linear-gradient(180deg, rgba(9, 12, 13, 0.6) 0%, transparent 34%, rgba(9, 12, 13, 0.55) 100%);
}

.hero .wrap {
  position: relative;
  z-index: 4;
}

.hero-copy {
  max-width: 640px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.hero .eyebrow::after {
  background: rgba(255, 255, 255, 0.3);
}

.hero h1 {
  color: #fff;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.5);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-lt);
  /* the accent phrase must never break across lines */
  white-space: nowrap;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.9);
  margin-top: 18px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero-btns {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.hero-btns .btn {
  width: auto;
}

.hstats {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hstat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--r-sm);
  padding: 11px 17px;
  backdrop-filter: blur(6px);
}

.hstat b {
  display: block;
  font-family: var(--display);
  font-size: 21px;
  color: #fff;
  line-height: 1.2;
}

.hstat span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
}

/* ---------- filters card, overlapping the hero ---------- */
.fleet-scope {
  position: relative;
}

/* Deliberately NOT sticky: pinned, this card is ~250px tall and covered the
   first row of results on the way down. It stays at the top of the fleet. */
.filters-hold {
  position: relative;
  z-index: 20;
  margin-top: -52px;
}

/* On pages without the dark hero there is nothing to overlap into. */
.fleet-scope.no-overlap .filters-hold {
  margin-top: 20px;
}

/* No overflow:hidden — it would clip the open filter dropdowns. The footer row
   rounds its own bottom corners instead. */
.filters {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-float);
}

/* Cars ↔ mopeds — the top-level split above the class chips. */
.kind-tabs {
  display: flex;
  gap: 6px;
  padding: 12px 14px 0;
}

.kind-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--white);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}

.kind-tabs button:hover {
  background: var(--paper);
  color: var(--ink);
}

.kind-tabs button[aria-pressed="true"] {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff;
}

.kind-n {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--pill);
  background: var(--paper-2);
  color: var(--text-2);
}

.kind-tabs button[aria-pressed="true"] .kind-n {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.f-lab {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 16px 18px 2px;
}

/* mopeds expose three controls instead of five */
.f-row-moped {
  grid-template-columns: repeat(3, 1fr);
}

.seg {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 10px 14px 14px;
}

.seg button {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 11px 13px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  color: var(--ink);
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}

.seg button:hover {
  background: var(--paper-2);
}

.seg button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.seg button small {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--stone);
  margin-top: 3px;
}

.seg button[aria-pressed="true"] small {
  color: rgba(255, 255, 255, 0.74);
}

/* secondary filter row: price / seats / gearbox / drive / sort */
.f-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 0 14px 14px;
}

.f-note {
  background: var(--paper);
  padding: 12px 18px;
  font-size: 13.5px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--text-2);
  border-top: 1px solid var(--line);
  border-radius: 0 0 calc(var(--r) - 1px) calc(var(--r) - 1px);
}

.f-found {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-weight: 500;
}

.f-reset {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 5px 12px;
  font-size: 12.5px;
  color: var(--text-2);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}

.f-reset:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.f-reset-n {
  background: var(--gold);
  color: #33230a;
  border-radius: var(--pill);
  font-size: 10px;
  padding: 1px 7px;
}


/* Left-aligned in the flow: pushing this to the right edge put it underneath
   the floating WhatsApp button at ~1024px. */
.f-note .last {
  color: var(--stone);
}


/* ---------- fleet cards ---------- */
.fleet {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* No overflow:hidden here — it would clip the open day-picker panel. The photo
   rounds its own top corners instead. */
.car {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

/* lifts the whole card while its picker is open, above neighbouring cards */
.car:has(.lb-open) {
  position: relative;
  z-index: 30;
}

.car:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.shot {
  position: relative;
  /* fleet photos run from 4:3 to 2:1 — a 3:2 window wastes the least space
     around them once they are shown whole */
  aspect-ratio: 3 / 2;
  background: var(--paper-2);
  overflow: hidden;
  display: block;
  border-radius: calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0;
}

/* contain, not cover: a cropped car is worse than a letterboxed one */
/**
 * next/font aside, the other thing Next did for us was position every image:
 * <Image fill> emits inline styles that pin it to its container. A plain <img>
 * has none of that, so without this the blurred backdrop simply covers the
 * photograph — which is exactly what it looked like.
 */
.hero-bg img,
.shot img,
.gmain img,
.th img,
.shot-fill img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.shot .shot-img,
.gmain .shot-img,
.th .shot-img {
  object-fit: contain;
  z-index: 1;
}

/**
 * The bars left by `contain` used to show the card colour, which clashes with
 * whatever background the photo was shot on. A blurred, over-scaled copy of
 * the same photo fills them instead, so the edges always match the picture.
 */
.shot-fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.shot-fill img {
  object-fit: cover;
  transform: scale(1.25);
  filter: blur(18px) saturate(1.1);
}

.badge {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(18, 22, 26, 0.85);
  color: #fff;
  padding: 6px 10px;
  border-radius: var(--pill);
}

.badge.free {
  left: auto;
  right: 11px;
  background: var(--pine);
}

.badge.busy {
  left: auto;
  right: 11px;
  background: #8a4030;
}

.car-in {
  padding: 17px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.car-name {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  min-height: 48px;
}

.car-name h3 {
  font-size: 16.5px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.car-name .yr {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--stone);
  padding-top: 3px;
  flex: none;
}

.sl {
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: var(--text-2);
  border-top: 1px solid var(--line);
  padding-top: 11px;
}

.sl div {
  display: flex;
  gap: 6px;
  justify-content: space-between;
}

.sl i {
  font-style: normal;
  color: var(--stone);
  flex: none;
}

.sl b {
  font-weight: 500;
  color: var(--ink);
  text-align: right;
}

.pr {
  display: flex;
  align-items: baseline;
  gap: 7px;
  border-top: 1px solid var(--line);
  padding-top: 11px;
  flex-wrap: wrap;
}

/* Currency always leads the number, matching the "$980" totals elsewhere. */
.price {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}

.pr .amt {
  font-family: var(--display);
  font-weight: 800;
  font-size: 25px;
  color: var(--ink);
}

.pr .cur {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  color: var(--pine);
}

.pr .per {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--stone);
}


/* ---------- listbox (day picker + fleet filters) ---------- */
.lb {
  display: grid;
  gap: 6px;
}

/* compact variant used in the filter row */
.lb-sm .lb-btn {
  min-height: 42px;
  padding: 9px 11px;
  font-size: 14px;
}

/* An applied filter reads as chosen, not as an untouched control. Sort is
   excluded — it always holds a value and isn't a "filter applied" state. */
.lb-sm.lb-set:not(.lb-sort) .lb-btn {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  font-weight: 600;
}

.lb-sm.lb-set:not(.lb-sort) .lb-chev {
  color: rgba(255, 255, 255, 0.7);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.lb-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

.lb-wrap {
  position: relative;
}

.lb-btn {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 11px 13px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.15s,
    background 0.15s,
    box-shadow 0.15s;
}

.lb-btn:hover {
  background: var(--paper-2);
}

.lb-open .lb-btn {
  background: var(--white);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(18, 22, 26, 0.08);
}

.lb-value {
  flex: 1;
}

.lb-badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  background: var(--gold);
  color: #33230a;
  padding: 3px 8px;
  border-radius: var(--pill);
  flex: none;
}

.lb-chev {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--stone);
  transition: transform 0.2s ease;
}

.lb-open .lb-chev {
  transform: rotate(180deg);
  color: var(--ink);
}

.lb-list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 5px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: 0 16px 36px rgba(18, 22, 26, 0.18);
  max-height: 268px;
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: lb-in 0.16s ease-out;
}

/* flipped above the trigger when there is no room below */
.lb-up .lb-list {
  top: auto;
  bottom: calc(100% + 6px);
  animation: lb-in-up 0.16s ease-out;
}

@keyframes lb-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@keyframes lb-in-up {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}

.lb-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 11px;
  border-radius: var(--r-xs);
  font-size: 14.5px;
  cursor: pointer;
  color: var(--text);
}

.lb-opt-label {
  flex: 1;
}

.lb-opt.is-active {
  background: var(--paper-2);
}

.lb-opt.is-selected {
  color: var(--ink);
  font-weight: 600;
}

.lb-opt-badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #6b4a17;
  background: rgba(216, 155, 60, 0.22);
  padding: 3px 8px;
  border-radius: var(--pill);
  flex: none;
}

.lb-check {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--pine);
}

.tot {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
  color: var(--text-2);
}

.tot b {
  font-family: var(--display);
  font-size: 17px;
  color: var(--ink);
}

.tot .som {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--stone);
}

.acts {
  margin-top: auto;
  display: flex;
  gap: 8px;
  padding-top: 4px;
}

.acts .btn:first-child {
  flex: 1;
}

.fleet-empty {
  border: 1px dashed var(--line);
  border-radius: var(--r);
  padding: 40px 24px;
  text-align: center;
  color: var(--stone);
  background: var(--white);
}

/* ---------- breadcrumbs ---------- */
.crumbs {
  margin-bottom: 14px;
}

.crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}

.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.crumbs a:hover {
  color: var(--ink);
}

/* ---------- terms page ---------- */
.terms-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.terms-list article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
}

.terms-list .k {
  font-family: var(--display);
  font-weight: 800;
  font-size: 21px;
  color: var(--pine);
}

.terms-list h3 {
  margin: 10px 0 6px;
}

.terms-list p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-2);
}

/* ---------- contacts page ---------- */
.contacts-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: start;
}

.contacts-list {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 8px 24px;
}

.contacts-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.contacts-list > div:last-child {
  border-bottom: 0;
}

.contacts-list dt {
  color: var(--stone);
  font-size: 14px;
}

.contacts-list dd {
  margin: 0;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
}

.contacts-cta {
  display: grid;
  gap: 10px;
}

@media (max-width: 860px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  .contacts-list dd {
    text-align: left;
  }
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: s;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
}

.step::before {
  counter-increment: s;
  content: "0" counter(s);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--pine);
  display: block;
  margin-bottom: 12px;
}

.step p {
  margin: 7px 0 0;
  font-size: 14.5px;
  color: var(--text-2);
}

/* ---------- trust: stats, guarantees, reviews ---------- */
.tstats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.tstat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
}

.tstat b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 27px;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.tstat span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--stone);
}

.tpoints {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tpoint {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
}

.tp-ico {
  width: 26px;
  height: 26px;
  color: var(--pine);
  margin-bottom: 12px;
}

.tpoint p {
  margin: 7px 0 0;
  font-size: 14.5px;
  color: var(--text-2);
}

.reviews {
  margin-top: 44px;
}

.rv-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.rv-head h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.015em;
}

.rv-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}

.rv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rv {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rv-stars {
  display: flex;
  gap: 3px;
}

.rv-stars svg {
  width: 15px;
  height: 15px;
  fill: var(--paper-2);
}

.rv-stars svg.on {
  fill: var(--gold);
}

.rv blockquote {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-2);
  flex: 1;
}

.rv figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.rv-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.rv-meta {
  font-size: 11.5px;
  color: var(--stone);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  min-height: 56px;
  cursor: pointer;
  font-weight: 500;
  font-size: 15.5px;
  color: var(--ink);
  list-style: none;
  transition: background 0.15s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: var(--paper);
}

.faq-item summary svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--stone);
  transition: transform 0.2s ease;
}

.faq-item[open] summary svg {
  transform: rotate(45deg);
  color: var(--ink);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  font-size: 14.5px;
  color: var(--text-2);
  max-width: 82ch;
}

/* ---------- closing CTA ---------- */
.cta .box {
  background: var(--pine);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 42px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  margin: 13px 0 0;
  max-width: 44ch;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
  padding: 52px 0 24px;
  font-size: 14px;
}

.fgrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.site-footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer a:hover {
  color: #fff;
}

.fbot {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dk);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.6);
}

.footlogo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 10px;
}

/* ---------- car detail page ---------- */
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 9px 16px;
}

.back:hover {
  color: var(--ink);
  background: var(--paper-2);
}

/* Gallery on the left, booking panel on the right. */
.dt {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.dt > .gal {
  grid-column: 1;
}

.dt > .dt-info {
  grid-column: 2;
}

.gal {
  display: grid;
  gap: 12px;
}

.gmain {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}



.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.th {
  position: relative;
  /* same window as the main photo, so a 3:2 shot fills both exactly */
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper-2);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}

.th .shot-img {
  object-fit: contain;
  z-index: 1;
}

/* a thumbnail is a tenth of the width, so it needs a tenth of the blur */
.th .shot-fill img {
  filter: blur(6px) saturate(1.1);
}

.th[aria-current="true"] {
  outline: 2.5px solid var(--ink);
  outline-offset: -2.5px;
}

.dt-info {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
}

.dt-info h1 {
  font-size: clamp(24px, 2.7vw, 33px);
  text-transform: none;
  letter-spacing: -0.03em;
}

.dt-brand {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 8px;
}

.dt-price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 18px 0 6px;
}

.dt-price .amt {
  font-family: var(--display);
  font-weight: 800;
  font-size: 36px;
  color: var(--ink);
}

.dt-price .cur {
  font-family: var(--display);
  font-weight: 600;
  font-size: 23px;
  color: var(--pine);
}

.dt-price .per {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--stone);
}



.dt-sel {
  margin: 18px 0 14px;
  max-width: 290px;
}

.dt-tot {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--text-2);
  font-size: 14px;
}

.dt-tot b {
  font-family: var(--display);
  font-size: 21px;
  color: var(--ink);
}

.dt-tot .som {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--stone);
}

.dt-sl {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 20px;
}

.dt-sl div {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 7px;
}

.dt-sl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dt-sl i {
  font-style: normal;
  color: var(--stone);
}

.dt-sl b {
  font-weight: 500;
  color: var(--ink);
  text-align: right;
}

.dt-btns {
  display: grid;
  gap: 10px;
}

.dt-note {
  font-size: 13px;
  color: var(--stone);
  margin-top: 13px;
}

.dt-warn {
  background: #fdf3e7;
  border: 1px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  font-size: 13.5px;
  color: #6b4a17;
  margin-bottom: 16px;
}

.also {
  margin-top: 68px;
}

.also h2 {
  margin-bottom: 22px;
}

/* ---------- floating actions ---------- */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

.fab svg {
  width: 27px;
  height: 27px;
  color: #06301e;
}

.mobile-cta {
  display: none;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 0 0 var(--r-sm) 0;
}

.skip:focus {
  left: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .seg {
    grid-template-columns: repeat(3, 1fr);
  }
  .tstats {
    grid-template-columns: repeat(2, 1fr);
  }
  .f-row,
  .f-row-moped {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .tpoints,
  .rv-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .main-nav,
  .tel,
  .hright .lang {
    display: none;
  }
  .burger {
    display: grid;
  }
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .cta .box,
  .fgrid {
    grid-template-columns: 1fr;
  }
  .dt {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  /* single column: photos, then the booking panel */
  .dt > .gal,
  .dt > .dt-info {
    grid-column: 1;
  }
  .hero {
    min-height: 520px;
    padding: 84px 0;
  }
  .hero-bg::after {
    background: linear-gradient(
      180deg,
      rgba(9, 12, 13, 0.62) 0%,
      rgba(9, 12, 13, 0.68) 45%,
      rgba(9, 12, 13, 0.92) 100%
    );
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 72px;
  }
  section {
    padding: 54px 0;
  }
  .wrap {
    padding: 0 16px;
  }
  .hbar {
    height: 60px;
    gap: 10px;
  }
  /* the bottom action bar already carries this CTA on phones */
  .hright .btn-pine {
    display: none;
  }
  .logo {
    font-size: 16px;
  }
  .seg {
    grid-template-columns: 1fr 1fr;
  }
  .f-row,
  .f-row-moped {
    grid-template-columns: 1fr 1fr;
  }
  .tstats {
    grid-template-columns: 1fr 1fr;
  }
  .f-note .last {
    width: 100%;
  }
  .filters-hold {
    margin-top: -40px;
  }
  .thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .cta .box {
    padding: 26px 20px;
  }
  .dt-info {
    padding: 20px;
  }
  .also {
    margin-top: 48px;
  }
  .fab {
    display: none;
  }
  body {
    padding-bottom: 66px;
  }
  .mobile-cta {
    display: flex;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 75;
    padding: 10px 14px;
    background: rgba(18, 22, 26, 0.94);
    backdrop-filter: blur(10px);
  }
  .mobile-cta a {
    flex: 1;
    padding: 14px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--pill);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
  }
  .mobile-cta a.w {
    background: var(--wa);
    color: #06301e;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- reviews page and the account screens ---------- */

.rv-all {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pine);
  white-space: nowrap;
}

.rv-all:hover {
  color: var(--pine-dk);
}

.rvp-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  margin-bottom: 34px;
}

.rvp-h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin: 0;
}

.rvp-lede {
  margin: 10px 0 0;
  color: var(--text-2);
  max-width: 62ch;
}

.rvp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.rvp-note {
  border-radius: var(--r-sm);
  padding: 12px 16px;
  margin: 0 0 18px;
  font-size: 14.5px;
}

.rvp-note.is-ok {
  background: rgba(12, 110, 85, 0.1);
  color: var(--pine-dk);
}

.rvp-note.is-bad {
  background: rgba(176, 58, 46, 0.1);
  color: #8e2e24;
}

/* who you are signed in as, and the way out */
.rvp-who {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--stone);
}

.rvp-who button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- form fields ---------- */

.rvp-form {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  max-width: 560px;
}

.fld {
  display: grid;
  gap: 7px;
  border: 0;
  padding: 0;
  margin: 0;
  min-inline-size: 0;   /* a fieldset refuses to shrink in a grid without it */
}

.fld > span,
.fld > legend {
  font-weight: 600;
  font-size: 14px;
  padding: 0;
}

.fld input,
.fld textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 15px;
}

.fld input:focus,
.fld textarea:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(12, 110, 85, 0.14);
}

.fld-hint {
  font-size: 12.5px;
  color: var(--stone);
}

/* The honeypot. display:none would be the obvious way and is exactly what a
   bot checks for, so it is pushed out of sight instead. */
.fld-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- star picker ---------- */

/* Markup runs 5→1 and is flipped here, which is what lets the checked star
   light every star to its left using nothing but a sibling selector. */
.rvp-rate {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.rvp-rate input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.rvp-rate label {
  cursor: pointer;
  padding: 2px;
  line-height: 0;
}

.rvp-rate svg {
  width: 30px;
  height: 30px;
  fill: var(--paper-2);
  transition: fill 0.12s;
}

.rvp-rate input:checked ~ label svg {
  fill: var(--gold);
}

.rvp-rate input:focus-visible + label {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

/* ---------- the list ---------- */

.rvp-list {
  margin-bottom: 8px;
}

.rvp-own {
  margin-top: 18px;
  max-width: 560px;
}

.rvp-reply {
  background: var(--paper);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 13.5px;
}

.rvp-reply b {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pine);
  margin-bottom: 4px;
}

.rvp-reply p {
  margin: 0;
  color: var(--text-2);
}

/* ---------- sign in / sign up ---------- */

.auth-wrap {
  padding: 48px 0 64px;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.auth-h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0;
}

.auth-lede {
  margin: 10px 0 20px;
  font-size: 14.5px;
  color: var(--text-2);
}

.auth-card .rvp-form {
  max-width: none;
  margin-top: 0;
}

.auth-card .btn-lg {
  width: 100%;
  justify-content: center;
}

.auth-fine {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--stone);
}

.auth-swap {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-2);
}

.auth-swap a {
  color: var(--pine);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .rvp-panel {
    padding: 22px 18px;
  }
  .auth-card {
    padding: 24px 20px;
  }
  .rvp-rate svg {
    width: 34px;
    height: 34px;
  }
}
