/* ==========================================================================
   Rhodes Rental — homepage styles
   Mobile-first. From 1000px up, the layout follows the 1440px design
   artboard: every size is written as N * var(--u), where 1u = 1 design px.
   ========================================================================== */

:root {
  --blue: #0037d3;
  --blue-deep: #002ba8;
  --orange: #f89c1c;
  --orange-deep: #e3860a;
  --navy: #273a5b;
  --ink-soft: #55575c;
  --line: #c9cbd0;
  --font: "Tomorrow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Merienda", cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.45;
  color: var(--blue);
  background: #fff;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.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: -80px; z-index: 100;
  padding: 10px 16px; border-radius: 6px;
  background: var(--orange); color: #fff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px;
  border: 0; border-radius: 6px;
  font: 700 15px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 10px 22px -6px rgba(0, 0, 0, .35); }
.btn--orange:hover { background: var(--orange-deep); }
.btn--blue { background: var(--blue); color: #f1f1f2; }
.btn--blue:hover { background: var(--blue-deep); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: relative; z-index: 20; background: var(--blue); }

.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding: 0 16px;
}
.nav__logo img { width: auto; height: 38px; }

.nav__toggle {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-right: -8px; padding: 0;
  border: 0; background: none; cursor: pointer;
}
.nav__toggle-bar,
.nav__toggle-bar::before,
.nav__toggle-bar::after {
  display: block; width: 24px; height: 2.5px; border-radius: 2px; background: #fff;
  transition: transform .2s ease, background-color .2s ease;
}
.nav__toggle-bar { position: relative; }
.nav__toggle-bar::before, .nav__toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav__toggle-bar::before { top: -7px; }
.nav__toggle-bar::after { top: 7px; }
.menu-open .nav__toggle-bar { background: transparent; }
.menu-open .nav__toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.menu-open .nav__toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

.nav__menu {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  padding: 4px 16px 18px;
  background: var(--blue);
  border-top: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .4);
}
.menu-open .nav__menu { display: block; }

.nav__links { margin: 0; padding: 0; list-style: none; }
.nav__links a {
  display: block; padding: 12px 0;
  color: #fff; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
}
.nav__links a:hover { color: var(--orange); }
.nav__links a.nav__accent { color: var(--orange); }
.nav__links a.nav__accent:hover { color: #fff; }

.nav__cube { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; isolation: isolate; padding-top: 30px; }

.hero__intro { position: relative; z-index: 2; padding: 0 16px; }
.hero h1 {
  font-weight: 500; font-size: clamp(31px, 8.4vw, 50px); line-height: 1.04; letter-spacing: -.005em;
}
.hero__intro p { max-width: 38em; margin-top: 14px; font-size: 15px; line-height: 1.45; }

.hero__tagline {
  position: relative; z-index: 0;
  margin-top: 30px; padding: 0 16px;
  line-height: 1; text-transform: uppercase;
}
.hero__chevrons { width: 112px; margin: 0 0 16px; }
.hero__lead { display: block; font-weight: 500; font-size: clamp(26px, 7.6vw, 46px); }
.hero__begin {
  display: block; margin-left: -.03em;
  font-weight: 700; font-style: italic; font-size: min(26vw, 150px); line-height: .92;
}

.hero__photo {
  --photo-h: clamp(240px, 62vw, 560px);
  --photo-x: 58%;
  /* cinematic: the clip's top (its sky) fades into the page between these two heights; the tagline sits in
     front (the clip's camera moves, so the photo's hard hills cut-out can't be used with it) */
  --fade-from: 6%;
  --fade-to: 46%;
  position: relative; z-index: 1;
  height: var(--photo-h);
  margin-top: calc(-0.31 * var(--photo-h));
}
/* the photo with its hills cut-out ("BEGIN" behind the mountains): shown until the clip plays */
.hero__photo::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/img/hero-road.jpg") var(--photo-x) 50% / cover no-repeat;
  -webkit-mask: url("../assets/img/hero-road-mask.png") var(--photo-x) 50% / cover no-repeat;
          mask: url("../assets/img/hero-road-mask.png") var(--photo-x) 50% / cover no-repeat;
  transition: opacity .9s ease;
}
.hero__photo.is-played::before { opacity: 0; }
/* pause / play the looping clip (bottom-left of the hero, clear of the booking panel) */
.hero__pause {
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(16, 28, 52, .55); color: #fff;
  cursor: pointer; transition: background-color .15s ease;
}
.hero__pause:hover { background: rgba(16, 28, 52, .8); }
.hero__pause[hidden] { display: none; }
.hero__pause svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hero__pause svg[data-icon-play] { fill: currentColor; stroke-width: 1.5; }
.hero__pause svg[hidden] { display: none; }
/* when the clip is going to play, "LET YOUR STORY BEGIN" sits in front of it (no hills cut-out) */
.hero.has-film .hero__tagline { z-index: 2; }
.hero.has-film .hero__lead, .hero.has-film .hero__begin { text-shadow: 0 0 22px rgba(255, 255, 255, .8), 0 0 4px rgba(255, 255, 255, .6); }
/* Cinematic (js/hero-video.js): the clip fades in over the photo, its top fading into the page */
.hero__film {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent var(--fade-from), #000 var(--fade-to));
          mask-image: linear-gradient(to bottom, transparent var(--fade-from), #000 var(--fade-to));
  opacity: 0; transition: opacity 1.2s ease;
  pointer-events: none;
}
.hero__photo.is-playing .hero__film { opacity: 1; }
/* the clip framed like the photo ("cover" above): it's 16:9 (the photo plus extra sky on top, see
   tools/make-hero-ai-image.php), shown bottom-aligned in a box with the photo's own shape */
.hero__frame {
  position: absolute; left: var(--photo-x); top: 50%;
  width: max(100%, calc(var(--photo-h) * 1612 / 699)); aspect-ratio: 1612 / 699;
  overflow: hidden;
  transform: translate(calc(var(--photo-x) * -1), -50%);
}
.hero__video { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 1612 / 907; object-fit: cover; }

/* ==========================================================================
   Booking search panel
   ========================================================================== */
.booking { position: relative; z-index: 3; margin: -44px 16px 0; scroll-margin-top: 16px; }

.booking__panel {
  position: relative;
  padding: 24px 18px 20px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 28px 50px -18px rgba(0, 18, 70, .55);
}

.booking__grid { display: grid; gap: 20px; }

.field { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.field__label { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.field__arrow { display: none; }
.field__controls { display: flex; gap: 10px; width: 100%; margin-top: 10px; }

.pill, .chip { position: relative; min-width: 0; }
.pill { flex: 1 1 58%; border-radius: 7px; box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .35); }
.chip { flex: 1 1 42%; border-radius: 6px; background: var(--orange); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .35); }

.pill select, .pill input,
.chip select, .chip input {
  display: block; width: 100%; height: 44px; margin: 0;
  font: 500 13px/1 var(--font); letter-spacing: .06em; text-transform: uppercase;
  text-align: center; text-align-last: center;
  -webkit-appearance: none; appearance: none;
}
.pill select, .pill input {
  padding: 0 28px 0 12px;
  border: 1px solid var(--line); border-radius: 7px;
  background: #fff; color: var(--ink-soft);
}
.chip select, .chip input {
  padding: 0 10px;
  border: 0; border-radius: 6px;
  background: transparent; color: #fff; font-weight: 600;
}
.chip input::placeholder { color: #fff; opacity: 1; }
.chip input:focus::placeholder { opacity: .7; }
.chip select option, .pill select option { color: var(--blue); background: #fff; text-transform: none; }
.chip select { padding-right: 24px; cursor: pointer; }
.pill select { cursor: pointer; }

/* chevron on selects */
.pill--select::after {
  content: ""; position: absolute; right: 12px; top: 50%;
  width: 7px; height: 7px;
  border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.chip.pill--select::after { right: 10px; border-color: #fff; }

/* location search (pick-up / drop-off) */
.field__controls--place { flex-direction: column; }
.field--place .pill { flex: none; width: 100%; }
.place__icon {
  position: absolute; left: 12px; top: 50%; z-index: 1;
  width: 16px; height: 16px; transform: translateY(-50%);
  fill: var(--orange); pointer-events: none;
}
.pill .place__input {
  padding: 0 12px 0 36px;
  color: var(--blue); font-size: 14px; letter-spacing: .01em;
  text-transform: none; text-align: left; text-align-last: left;
  text-overflow: ellipsis;
}
.place__input::placeholder { color: #8a8d94; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

.place__panel {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 30;
  width: 100%; min-width: min(320px, calc(100vw - 32px));
  padding: 6px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 22px 44px -12px rgba(0, 20, 80, .5), 0 2px 8px rgba(0, 20, 80, .12);
  text-align: left;
}
.place__list { margin: 0; padding: 0; list-style: none; }
.place__opt {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--blue);
  cursor: pointer;
}
.place__opt:hover, .place__opt[aria-selected="true"] { background: #eef2fd; }
.place__opt[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--orange); }
.place__main { font-weight: 600; font-size: 14px; line-height: 1.25; }
.place__sub { font-size: 12.5px; line-height: 1.3; color: #6b7080; }
.place__note { padding: 10px 12px; font-size: 13px; line-height: 1.4; color: #6b7080; }
.place__credit {
  padding: 6px 10px 4px;
  font: 400 11px/1 Roboto, Arial, sans-serif; color: #70757a; text-align: right;
}

.quick-picks { display: flex; gap: 10px; width: 100%; }
.quick-picks .chip {
  flex: 1 1 0; width: auto; height: 40px;
  border: 0; color: #fff;
  font: 600 12.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.quick-picks .chip:hover { background: var(--orange-deep); }
.quick-picks .chip[aria-pressed="true"] { background: #fff; color: var(--blue); }

/* date fields (open the calendar) */
.date-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 7px;
  background: #fff; color: var(--ink-soft);
  font: 500 13px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.date-btn:hover { border-color: #9aa6c9; }
.date-btn[aria-expanded="true"] { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange); color: var(--blue); }
.date-btn__icon { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; }

/* ---------- Calendar ---------- */
.datepicker {
  position: absolute; z-index: 200;
  padding: 16px 18px 14px;
  border-radius: 16px;
  background: #fff; color: var(--blue);
  box-shadow: 0 32px 64px -20px rgba(0, 20, 80, .55), 0 4px 14px rgba(0, 20, 80, .12);
  font-family: var(--font);
}
.datepicker[hidden], .datepicker-backdrop[hidden] { display: none; }

.datepicker__head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding-right: 42px; position: relative; }
.dp-slot {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 9px 12px;
  border: 0; border-radius: 10px;
  background: #f2f5fd; color: var(--blue);
  font-family: var(--font); text-align: left;
  cursor: pointer;
}
.dp-slot[aria-pressed="true"] { background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.dp-slot__label { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6b7080; }
.dp-slot[aria-pressed="true"] .dp-slot__label { color: var(--orange); }
.dp-slot__date { font-size: 15px; font-weight: 600; white-space: nowrap; }
.dp-slot__arrow { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dp-close {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center;
  width: 34px; height: 34px; padding: 0;
  border: 0; border-radius: 9px; background: none; color: var(--blue);
  cursor: pointer;
}
.dp-close:hover { background: #f2f5fd; }
.dp-close svg, .dp-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.datepicker__body { position: relative; }
.datepicker__months { display: flex; gap: 28px; }
.dp-month { width: 280px; }
.dp-month__title { margin-bottom: 6px; font-weight: 600; font-size: 15px; line-height: 34px; text-align: center; }
.dp-nav {
  position: absolute; top: 0; z-index: 1;
  display: grid; place-items: center;
  width: 34px; height: 34px; padding: 0;
  border: 0; border-radius: 9px; background: #f2f5fd; color: var(--blue);
  cursor: pointer;
}
.dp-nav:hover { background: #e3e9fb; }
.dp-nav:disabled { opacity: .35; cursor: default; }
.dp-nav--prev { left: 0; }
.dp-nav--next { right: 0; }

.dp-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.dp-grid th { padding: 2px 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8a8d94; }
.dp-grid td { padding: 1px 0; text-align: center; }
.dp-day {
  position: relative;
  width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 10px;
  background: none; color: var(--blue);
  font: 500 14px/1 var(--font);
  cursor: pointer;
}
.dp-day:hover { background: #e8eefc; }
.dp-day:disabled { color: #c3c7d1; background: none; cursor: default; }
.dp-day:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.dp-day.is-today::after {
  content: ""; position: absolute; left: 50%; bottom: 6px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--orange);
}
/* selected range */
.dp-grid td.in-range { background: #e8eefc; }
.dp-grid td.is-start { background: linear-gradient(90deg, transparent 50%, #e8eefc 50%); }
.dp-grid td.is-end { background: linear-gradient(90deg, #e8eefc 50%, transparent 50%); }
.dp-grid td.is-preview.in-range { background: #f1f4fd; }
.dp-grid td.is-preview.is-start { background: linear-gradient(90deg, transparent 50%, #f1f4fd 50%); }
.dp-grid td.is-preview.is-end { background: linear-gradient(90deg, #f1f4fd 50%, transparent 50%); }
.dp-day.is-start, .dp-day.is-end { background: var(--blue); color: #fff; font-weight: 700; }
.dp-day.is-preview-end { box-shadow: inset 0 0 0 2px var(--blue); background: #fff; }

.datepicker__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid #e3e6ee;
}
.dp-summary { font-size: 14px; color: var(--ink-soft); }
.dp-summary b { color: var(--blue); font-weight: 700; }
.dp-done { padding: 12px 24px; font-size: 14px; }

.datepicker-backdrop { position: fixed; inset: 0; z-index: 190; background: rgba(0, 12, 45, .5); }
html.dp-lock { overflow: hidden; }

/* phones: calendar slides up from the bottom */
@media (max-width: 639px) {
  .datepicker {
    position: fixed; left: 0; right: 0; bottom: 0;
    max-height: 92vh; overflow-y: auto;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
    animation: dp-up .22s ease-out;
  }
  .datepicker__months { justify-content: center; }
  .dp-month { width: 100%; max-width: 360px; }
  .dp-day { width: 100%; max-width: 46px; height: 44px; }
  .dp-done { flex: none; }
}
@keyframes dp-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .datepicker { animation: none; } }

.booking__footer { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

.age-check {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-radius: 6px;
  background: #fff; color: var(--blue);
  font-size: 14px; letter-spacing: .02em; text-transform: uppercase;
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .4);
  cursor: pointer;
}
.age-check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.age-check__box {
  position: relative; flex: none;
  width: 22px; height: 22px;
  border: 1.5px solid var(--line); border-radius: 4px;
  background: #fff; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .15);
}
/* tick: sized and positioned relative to the box, so it stays centred at any box size */
.age-check input:checked + .age-check__box::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 32%; height: 58%;
  border: solid var(--blue); border-width: 0 3px 3px 0;
  transform: translate(-50%, -62%) rotate(45deg);
}
.age-check input:focus-visible + .age-check__box { outline: 3px solid var(--orange); outline-offset: 2px; }

.booking__submit { width: 100%; padding: 16px 28px; font-size: 16px; }

.booking__error {
  margin-top: 14px; padding: 10px 14px;
  border-left: 4px solid var(--orange); border-radius: 6px;
  background: #fff; color: #b3261e; font-size: 14px;
}

/* ==========================================================================
   Features
   ========================================================================== */
.features { display: grid; gap: 16px; margin: 56px 16px 0; }

.feature {
  padding: 26px 24px 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 40px -22px rgba(10, 30, 90, .45), 0 2px 8px rgba(10, 30, 90, .06);
}
.feature h3 { font-weight: 700; font-size: 22px; line-height: 1.12; }
.feature__sub { margin-top: 4px; font-size: 15.5px; }
.feature p:last-child { margin-top: 16px; font-size: 15.5px; line-height: 1.42; }

/* ==========================================================================
   Fleet
   ========================================================================== */
.fleet { margin-top: 72px; }

.fleet__intro { position: relative; isolation: isolate; padding: 0 16px; text-align: center; }
.fleet__title {
  position: relative; z-index: 0;
  font-weight: 700; font-size: clamp(38px, 11.2vw, 84px); line-height: 1; letter-spacing: -.01em;
  text-transform: uppercase;
}
.fleet__text { position: relative; z-index: 2; max-width: 30em; margin: 18px auto 0; font-size: 15.5px; line-height: 1.5; }
.fleet__couple {
  position: relative; z-index: 1;
  width: min(100%, 520px); aspect-ratio: 858 / 708;
  margin: 10px auto 0;
  background: url("../assets/img/couple.jpg") center / 100% 100% no-repeat;
  -webkit-mask: url("../assets/img/couple-mask.png") center / 100% 100% no-repeat;
          mask: url("../assets/img/couple-mask.png") center / 100% 100% no-repeat;
}
.fleet__dots, .fleet__cube { display: none; }

.fleet__band {
  display: flow-root; /* keeps the cards' negative margin inside the band */
  position: relative; z-index: 3;
  padding: 0 16px 56px;
  background: var(--blue);
}

.cars {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 28px;
  margin: -34px 0 0; padding: 0; list-style: none;
}

.car {
  position: relative;
  display: flex; flex-direction: column;
  width: min(100%, 356px);
  filter: drop-shadow(0 22px 22px rgba(0, 6, 40, .45));
}
.car__media {
  position: relative; overflow: hidden;
  height: 236px; margin: 0 4px;
  border-radius: 22px 22px 0 0;
  background: var(--navy);
}
.car__media img {
  position: absolute; left: 50%; top: 56%;
  width: 108%; max-width: none;
  transform: translate(-50%, -50%);
}
.car__media .car__img--wide { top: 50%; width: 100%; height: 100%; object-fit: cover; }
.car__eyebrow {
  position: absolute; z-index: 1; left: 30px; top: 22px;
  font: 400 9px/1.75 var(--font); letter-spacing: .4em; text-transform: uppercase; color: #fff;
}
.car__eyebrow span { display: block; color: var(--orange); }

.car__body {
  position: relative;
  display: flex; flex: 1; flex-direction: column;
  padding: 18px 22px 16px 30px;
  border-top: 3px solid var(--orange);
  border-radius: 0 0 22px 22px;
  background: #fff;
}
.car__name {
  padding-right: 128px;
  font-weight: 600; font-style: italic; font-size: 22px; line-height: 1.1;
  text-transform: uppercase;
}
.car__specs {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; align-items: end;
  margin: auto 0 0; padding: 12px 0 0; list-style: none;
  font-size: 10.5px; line-height: 1.2; text-transform: uppercase;
}
.car__specs b { display: block; font-weight: 600; font-style: italic; font-size: 17px; line-height: 1.15; }
.car__book { position: absolute; right: 22px; top: -14px; padding: 8px 14px; border-radius: 5px; font-size: 15px; }

.fleet__more { margin-top: 44px; text-align: center; }

/* ==========================================================================
   Car list page
   ========================================================================== */
.page-intro {
  position: relative;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  max-width: 1180px; margin: 0 auto; padding: 40px 16px 0;
}
.page-intro h1 {
  font-weight: 700; font-size: clamp(44px, 12vw, 97px); line-height: 1; letter-spacing: -.01em;
  text-transform: uppercase;
}
.page-intro p { max-width: 34em; margin-top: 14px; font-size: 16px; line-height: 1.5; }
.page-intro__dots { display: none; }

.filters { display: grid; gap: 12px; max-width: 1180px; margin: 28px auto 0; padding: 0 16px; }
.filters__group { display: flex; flex-wrap: wrap; gap: 8px; }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.filters__count { font-size: 14px; color: var(--ink-soft); }

.filter-btn {
  padding: 10px 15px;
  border: 1.5px solid var(--blue); border-radius: 6px;
  background: #fff; color: var(--blue);
  font: 600 13px/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.filter-btn:hover { background: #eef2fd; }
.filter-btn[aria-pressed="true"] { background: var(--blue); color: #fff; }
.filter-btn--alt[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }

.fleet-list { margin-top: 36px; padding: 60px 16px 64px; background: var(--blue); }
.cars.cars--grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  justify-items: center; gap: 52px 30px;
  max-width: 1180px; margin: 0 auto;
}
.cars--grid .car { width: 100%; max-width: 380px; }
.car[hidden] { display: none; }
.cars--grid .car__media img { top: 50%; width: 100%; height: 100%; object-fit: cover; }
.car__group {
  margin-top: 10px; padding-top: 9px;
  border-top: 1px solid #e3e6ee;
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #7a8090;
}

.fleet-list__empty { max-width: 30em; margin: 0 auto; color: #fff; font-size: 17px; text-align: center; }
.fleet-list__cta { max-width: 1180px; margin: 56px auto 0; color: #fff; text-align: center; }
.fleet-list__cta p { margin-bottom: 18px; font-size: 18px; }

/* ==========================================================================
   Booking steps: "Choose a car" (search.html) and "Your details" (booking.html)
   ========================================================================== */
.proto-banner {
  margin: 0; padding: 8px 16px;
  background: #fff4e3; color: #6a4300;
  font-size: 13px; text-align: center;
}

.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .75); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }

.trip { padding: 26px 16px 30px; background: var(--blue); color: #fff; border-top: 1px solid rgba(255, 255, 255, .15); }
.trip__inner { max-width: 1180px; margin: 0 auto; }
.trip__title { margin-bottom: 18px; font-weight: 700; font-size: clamp(32px, 7vw, 56px); line-height: 1; text-transform: uppercase; }
.trip--compact .trip__title { margin-bottom: 8px; }
.trip--compact .trip__inner { max-width: 1208px; } /* lines up with the details form below */
.trip__back { color: #dfe6ff; font-size: 14px; text-decoration: none; }
.trip__back:hover { color: #fff; text-decoration: underline; }

.steps {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin: 0 0 18px; padding: 0; list-style: none; counter-reset: step;
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.steps li { display: flex; align-items: center; gap: 8px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 24px; height: 24px; border: 1.5px solid currentColor; border-radius: 6px;
  font-size: 12px; letter-spacing: 0;
}
.steps li.is-done { color: #fff; }
.steps li.is-done::before { content: "\2713"; border-color: #fff; background: #fff; color: var(--blue); }
.steps li[aria-current="step"] { color: #fff; }
.steps li[aria-current="step"]::before { border-color: var(--orange); background: var(--orange); color: #fff; }

.trip__summary {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px 22px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px;
  background: rgba(255, 255, 255, .07);
}
.trip__summary[hidden] { display: none; }
.trip__leg { min-width: 0; }
.trip__label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.trip__place { display: block; overflow: hidden; font-weight: 600; font-size: 16px; white-space: nowrap; text-overflow: ellipsis; }
.trip__when { display: block; font-size: 14px; color: #dfe6ff; }
.trip__arrow { width: 22px; height: 22px; fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.trip__days { margin: 0; padding: 8px 16px; border-radius: 10px; background: #fff; color: var(--blue); text-align: center; line-height: 1.1; }
.trip__days b { display: block; font-size: 24px; }
.trip__days span { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.trip__change { padding: 13px 20px; font-size: 14px; }

@media (max-width: 760px) {
  .trip__summary { grid-template-columns: 1fr auto; grid-template-areas: "pick pick" "drop drop" "days change"; }
  .trip__leg--pick { grid-area: pick; }
  .trip__leg--drop { grid-area: drop; }
  .trip__arrow { display: none; }
  .trip__days { grid-area: days; justify-self: start; }
  .trip__change { grid-area: change; }
}

.notice {
  max-width: 1180px; margin: 22px auto 0; padding: 14px 18px;
  border-left: 4px solid var(--orange); border-radius: 0 10px 10px 0;
  background: #fff4e3; color: #5b3a00; font-size: 15px;
}
.notice[hidden] { display: none; }
@media (max-width: 1212px) { .notice { margin-left: 16px; margin-right: 16px; } }
.notice a { color: var(--blue); font-weight: 600; }

.filters__end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.sort select {
  height: 38px; padding: 0 34px 0 12px;
  border: 1.5px solid var(--blue); border-radius: 6px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230037d3' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center / 14px;
  color: var(--blue); font: 600 13px/1 var(--font);
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
.filters[hidden], .included[hidden] { display: none; }

.included {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  max-width: 1180px; margin: -20px auto 46px; padding: 0; list-style: none;
  color: #fff; font-size: 14px;
}
.included li { display: flex; align-items: center; gap: 8px; }
.included li::before {
  content: ""; width: 16px; height: 16px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23f89c1c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* result card price row */
.car__similar {
  display: block; margin-top: 3px;
  font-style: normal; font-weight: 500; font-size: 11px; letter-spacing: .06em; text-transform: none; color: #7a8090;
}
.car__price {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-top: 12px; padding-top: 10px; border-top: 1px solid #e3e6ee;
}
.car__total { font-weight: 700; font-size: 26px; line-height: 1; color: var(--blue); }
.car__total--quote { font-size: 16px; color: #7a8090; }
.car__per { font-size: 12px; color: #6b7080; text-align: right; }
/* season discount: old price crossed out + "−10%" badge */
.car__amount { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.car__was, .summary__was { color: #8a90a0; font-weight: 500; text-decoration-thickness: 2px; }
.car__was { font-size: 16px; }
.car__offer {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  padding: 5px 10px; border-radius: 999px;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 14px; line-height: 1;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .45);
}
.summary__offer { display: inline-block; padding: 1px 7px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 700; font-size: 12px; }

/* checkout layout */
.checkout { display: grid; gap: 24px; max-width: 1180px; margin: 34px auto 0; padding: 0 16px 72px; }
.checkout[hidden], .confirm[hidden] { display: none; }
/* phones/tablets: car and total first, then the form */
@media (max-width: 959px) {
  .summary { order: -1; }
}
/* desktop: the form gets the wide column, the summary sits on the right */
@media (min-width: 960px) {
  .checkout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 36px; max-width: 1240px; padding-bottom: 96px; }
  .summary { position: sticky; top: 20px; }
}

.panel {
  padding: 22px 22px 24px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 40px -24px rgba(10, 30, 90, .45), 0 2px 8px rgba(10, 30, 90, .06);
}
.panel[hidden] { display: none; }
.panel + .panel { margin-top: 18px; }
.panel h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-weight: 700; font-size: 20px; }
.panel h2 .num, .num {
  display: inline-grid; place-items: center; flex: none;
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--orange); color: #fff; font-size: 15px;
}
.panel__lead { margin: -8px 0 14px; color: #6b7080; font-size: 14px; }

.form-grid { display: grid; gap: 14px 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }
.fld[hidden] { display: none; }
.fld label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--blue); }
.req { color: var(--orange); }
.opt { font-weight: 400; color: #7a8090; }
.input {
  display: block; width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--blue);
  font: 500 15px/1.3 var(--font);
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea.input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.input::placeholder { color: #9aa0ad; }
.input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(248, 156, 28, .28); }
.input--code { letter-spacing: .1em; text-transform: uppercase; }

/* phone: flag + country code picker (intl-tel-input) */
:root {
  --iti-border-color: var(--line);
  --iti-hover-color: #eef2fd;
  --iti-icon-color: var(--blue);
  --iti-arrow-size: 4px;
  --iti-spacer-horizontal: 12px;
}
.fld .iti { display: block; width: 100%; }
.fld .iti .input { width: 100%; }
.iti__selected-country { border-radius: 8px 0 0 8px; }
.iti__selected-country-primary { border-right: 1px solid #e3e6ee; }
.iti__selected-dial-code { color: var(--blue); font: 600 15px/1 var(--font); }
.iti__dropdown-content {
  border: 0; border-radius: 12px; overflow: hidden;
  box-shadow: 0 22px 44px -12px rgba(0, 20, 80, .45), 0 2px 8px rgba(0, 20, 80, .12);
  font-family: var(--font); color: var(--blue);
}
.iti__search-input { font: 500 15px var(--font); color: var(--blue); }
.iti__country { font-size: 14.5px; }
.iti__dial-code { color: #6b7080; }
.iti__country.iti__highlight { background: #eef2fd; }

/* country dropdown with the selected country's flag */
.select-flag { position: relative; }
.select-flag__flag { position: absolute; left: 14px; top: 50%; z-index: 1; transform: translateY(-50%); pointer-events: none; }
.select-flag__flag:not(.iti__flag) { display: none; }
.select-flag__select {
  padding-right: 40px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230037d3' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center / 14px;
}
.select-flag.has-flag .select-flag__select { padding-left: 46px; }
.select-flag__select.is-empty { color: #9aa0ad; }
.select-flag__select option, .select-flag__select optgroup { color: var(--blue); }
.fld.is-invalid .input { border-color: #c62828; }
.fld__error { margin-top: 6px; font-size: 13px; color: #c62828; }

/* extras */
.extra { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #e9ecf3; }
.extra:first-child { border-top: 0; padding-top: 0; }
.extra__name { display: block; font-weight: 600; }
.extra__price { display: block; font-size: 13px; color: #6b7080; }
.stepper { display: inline-flex; align-items: center; flex: none; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.stepper button {
  width: 42px; height: 42px; padding: 0; border: 0;
  background: #f2f5fd; color: var(--blue); font: 600 20px/1 var(--font);
  cursor: pointer;
}
.stepper button:hover:not(:disabled) { background: #e3e9fb; }
.stepper button:disabled { color: #b9bfcc; cursor: default; }
.stepper output { min-width: 38px; font-weight: 700; text-align: center; }

/* payment options */
.coupon { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; max-width: 480px; }
.coupon__btn { padding: 13px 22px; font-size: 14px; }
.coupon .input[readonly] { background: #f2f5fd; }
.coupon__msg { margin-top: 10px; font-size: 14px; font-weight: 600; }
.coupon__msg.is-ok { color: #17733a; }
.coupon__msg.is-error { color: #c0392b; }
.payopts { display: grid; gap: 10px; }
.payopt {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2px 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.payopt:hover { border-color: #9aa6c9; }
.payopt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.payopt__dot { grid-row: span 2; width: 20px; height: 20px; border: 2px solid var(--line); border-radius: 50%; background: #fff; }
.payopt__title { font-weight: 600; }
.payopt__amount { font-weight: 700; white-space: nowrap; }
.payopt__desc { grid-column: 2 / 4; font-size: 13px; color: #6b7080; }
.payopt:has(input:checked) { border-color: var(--blue); background: #f5f8ff; }
.payopt input:checked + .payopt__dot { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 4px #fff; }
.payopt input:focus-visible + .payopt__dot { outline: 3px solid var(--orange); outline-offset: 2px; }

.checkout__submit { margin-top: 22px; }
.terms { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; cursor: pointer; }
.terms input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); }
.terms a { color: var(--blue); font-weight: 600; }
.checkout__submit .booking__error { margin-top: 14px; }

/* security check (Cloudflare Turnstile) */
.captcha { margin-top: 18px; min-height: 65px; }
.captcha[hidden] { display: none; }
.captcha__widget { max-width: 400px; }
.captcha__msg {
  margin-top: 8px; padding: 10px 14px;
  border-left: 4px solid var(--orange); border-radius: 0 8px 8px 0;
  background: #fff4e3; color: #5b3a00; font-size: 14px;
}
.captcha__msg[hidden] { display: none; }
.checkout__btn { width: 100%; margin-top: 18px; padding: 18px 28px; font-size: 17px; }
.checkout__small { margin-top: 10px; font-size: 13px; color: #6b7080; text-align: center; }

/* summary */
.summary { overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 28px 50px -24px rgba(10, 30, 90, .55), 0 2px 8px rgba(10, 30, 90, .08); }
/* The photos have the same navy background, so the whole photo is shown (never cropped) and sits at the
   bottom: the car always stays below the "CITY / RHODES RENTAL" label. */
.summary__media { position: relative; height: 230px; background: var(--navy); }
.summary__media img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center bottom;
}
.summary__body { padding: 18px 20px 20px; border-top: 3px solid var(--orange); }
.summary__name { font-weight: 600; font-style: italic; font-size: 22px; text-transform: uppercase; }
.summary__name small { font-style: normal; font-weight: 500; font-size: 12px; text-transform: none; color: #7a8090; }
.summary__specs { margin-top: 4px; font-size: 13px; color: #6b7080; }
.summary__trip { display: grid; gap: 10px; margin: 16px 0 0; padding: 14px 0; border-top: 1px solid #e9ecf3; border-bottom: 1px solid #e9ecf3; }
.summary__trip div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; }
.summary__trip dt { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); padding-top: 2px; }
.summary__trip dd { margin: 0; font-size: 14px; }
.summary__trip dd b { display: block; }
.summary__trip dd span { color: #6b7080; }
.summary__lines { padding-top: 10px; }
.summary__line { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; }
.summary__line--discount { color: #17733a; font-weight: 600; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 12px; border-top: 2px solid var(--blue); }
.summary__total span { font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.summary__total b { font-size: 28px; }
.summary__paynow { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #f2f5fd; font-size: 13.5px; }
.summary__paynow:empty { display: none; }

/* confirmation */
.confirm { max-width: 820px; margin: 34px auto 0; padding: 0 16px 80px; outline: none; }
.confirm__card {
  padding: 30px 26px; border-radius: 16px; background: #fff; text-align: center;
  box-shadow: 0 28px 50px -24px rgba(10, 30, 90, .55), 0 2px 8px rgba(10, 30, 90, .08);
}
.confirm__icon { width: 64px; height: 64px; margin: 0 auto 10px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.confirm__icon circle { stroke: var(--orange); }
.confirm__icon path { stroke: var(--blue); }
.confirm__card h2 { font-weight: 700; font-size: 30px; }
.confirm__card > p { max-width: 36em; margin: 10px auto 0; font-size: 16px; }
.confirm__code {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  margin: 16px auto 4px; padding: 14px 26px;
  border: 2px dashed var(--orange); border-radius: 12px; background: #fffaf1;
}
.confirm__code span { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #b86a00; }
.confirm__code b { font-size: 30px; letter-spacing: .08em; color: var(--blue); user-select: all; }
.confirm__code small { max-width: 26em; font-size: 12.5px; color: #6b7080; }
.confirm__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.confirm__card > p.confirm__proto { padding: 10px 14px; border-radius: 10px; background: #fff4e3; color: #5b3a00; font-size: 14px; }
.maptable { width: 100%; margin: 22px 0 24px; border-collapse: collapse; font-size: 13.5px; text-align: left; }
.maptable caption { margin-bottom: 8px; font-weight: 600; text-align: left; }
.maptable th, .maptable td { padding: 7px 10px; border-bottom: 1px solid #e9ecf3; vertical-align: top; }
.maptable th { width: 34%; font-family: Consolas, monospace; font-weight: 400; color: #6b7080; }
.maptable td { word-break: break-word; }

/* ==========================================================================
   Rental terms page
   ========================================================================== */
.page-intro p a { color: var(--blue); font-weight: 600; }

.glance { max-width: 1180px; margin: 34px auto 0; padding: 0 16px; }
.glance__list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .glance__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .glance__list { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.glance__item {
  padding: 18px 20px 20px;
  border-top: 4px solid var(--orange); border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 36px -22px rgba(10, 30, 90, .45), 0 2px 8px rgba(10, 30, 90, .06);
}
.glance__item h3 { font-weight: 700; font-size: 18px; }
.glance__item p { margin-top: 6px; font-size: 14.5px; line-height: 1.45; color: #3b4a7a; }

.terms-layout { display: grid; gap: 24px; max-width: 1180px; margin: 44px auto 0; padding: 0 16px 80px; }
@media (min-width: 1000px) { .terms-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; } }

.toc { position: relative; }
@media (min-width: 1000px) { .toc { position: sticky; top: 24px; } }
.toc__box { border-radius: 12px; background: #f2f5fd; }
.toc__box summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
.toc__box summary::-webkit-details-marker { display: none; }
.toc__box summary::after {
  content: ""; width: 8px; height: 8px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg) translateY(-2px); transition: transform .2s ease;
}
.toc__box[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.toc ol { margin: 0; padding: 0 10px 12px; list-style: none; counter-reset: toc; }
.toc li a {
  display: flex; gap: 10px; padding: 8px 10px; border-radius: 8px;
  color: var(--blue); font-size: 14.5px; text-decoration: none;
}
.toc li a::before { counter-increment: toc; content: counter(toc); min-width: 14px; font-weight: 700; color: var(--orange); }
.toc li a:hover { background: #e3e9fb; }
.toc li a[aria-current="true"] { background: var(--blue); color: #fff; }
.toc li a[aria-current="true"]::before { color: #fff; }
@media (min-width: 1000px) {
  .toc__box summary { cursor: default; }
  .toc__box summary::after { display: none; }
}

.terms-section { padding: 26px 0 28px; border-top: 1px solid #e3e6ee; scroll-margin-top: 20px; }
.terms-section:first-child { padding-top: 0; border-top: 0; }
.terms-section h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-weight: 700; font-size: clamp(22px, 4vw, 28px); }
.terms-section h3 { margin: 18px 0 4px; font-weight: 700; font-size: 16.5px; }
.terms-section h2 + h3 { margin-top: 6px; }
.terms-section p { max-width: 46em; font-size: 16px; line-height: 1.6; color: #22305c; }
.terms-section p a { color: var(--blue); font-weight: 600; }

.ticks, .crosses, .pay-list { margin: 8px 0 0; padding: 0; list-style: none; }
.ticks li, .crosses li { position: relative; max-width: 46em; padding: 6px 0 6px 30px; font-size: 16px; line-height: 1.5; color: #22305c; }
.ticks li::before, .crosses li::before { content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; background: center / contain no-repeat; }
.ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230037d3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.crosses li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='%23f89c1c' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.pay-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pay-list li { padding: 8px 14px; border: 1.5px solid var(--blue); border-radius: 8px; font-weight: 600; font-size: 14px; }

.excess { width: 100%; max-width: 560px; margin-top: 10px; border-collapse: collapse; font-size: 15.5px; }
.excess th { padding: 10px 14px; background: var(--blue); color: #fff; font-size: 12.5px; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.excess th:first-child { border-radius: 8px 0 0 0; }
.excess th:last-child { border-radius: 0 8px 0 0; }
.excess td { padding: 11px 14px; border-bottom: 1px solid #e3e6ee; }
.excess td:not(:first-child), .excess th:not(:first-child) { text-align: right; white-space: nowrap; }
.excess tbody tr:nth-child(even) td { background: #f7f9fe; }

.terms-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: 18px; padding: 24px 26px; border-radius: 14px;
  background: var(--blue); color: #fff;
}
.terms-cta h2 { font-weight: 700; font-size: 22px; }
.terms-cta p { margin-top: 4px; color: #dfe6ff; }
.terms-cta a:not(.btn) { color: #fff; font-weight: 600; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-ways { max-width: 1180px; margin: 34px auto 0; padding: 0 16px; }
.contact-ways__list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .contact-ways__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .contact-ways__list { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.way {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 14px;
  height: 100%; padding: 18px 18px 20px;
  border-top: 4px solid var(--orange); border-radius: 10px;
  background: #fff; color: var(--blue); text-decoration: none;
  box-shadow: 0 18px 36px -22px rgba(10, 30, 90, .45), 0 2px 8px rgba(10, 30, 90, .06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.way:hover { transform: translateY(-2px); box-shadow: 0 24px 40px -22px rgba(10, 30, 90, .55), 0 2px 8px rgba(10, 30, 90, .08); }
.way__icon {
  grid-row: span 3; align-self: start;
  width: 42px; height: 42px; padding: 9px; border-radius: 10px;
  background: var(--blue); fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.way__label { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.way__value { font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }
.way__note { font-size: 13px; color: #6b7080; }

.contact { display: grid; gap: 24px; max-width: 1180px; margin: 36px auto 0; padding: 0 16px 80px; }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; } }
.contact form[hidden], .contact__sent[hidden] { display: none; }
.input--select {
  padding-right: 40px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230037d3' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center / 14px;
}
.contact__btn { width: 100%; margin-top: 18px; padding: 17px 28px; font-size: 16px; }
@media (min-width: 640px) { .contact__btn { width: auto; } }
.contact__small { margin-top: 10px; font-size: 13px; color: #6b7080; }
.contact form .booking__error { margin-top: 14px; }

.contact__sent { padding: 10px 0 4px; text-align: center; outline: none; }
.contact__sent h3 { font-weight: 700; font-size: 26px; }
.contact__sent p { max-width: 34em; margin: 8px auto 0; }
.contact__sent .confirm__proto { padding: 10px 14px; border-radius: 10px; background: #fff4e3; color: #5b3a00; font-size: 14px; }
.contact__sent .btn { margin-top: 18px; }

.contact__side { display: grid; gap: 18px; }
.contact__map {
  overflow: hidden; aspect-ratio: 4 / 3; border-radius: 14px; background: #e8eefc;
  box-shadow: 0 22px 40px -24px rgba(10, 30, 90, .45), 0 2px 8px rgba(10, 30, 90, .06);
}
.contact__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.contact__directions { width: 100%; padding: 14px 20px; font-size: 14px; }
.contact__info { padding: 22px 22px 24px; border-radius: 14px; background: var(--blue); color: #fff; }
.contact__info h2 { font-weight: 700; font-size: 20px; }
.contact__info p { margin-top: 6px; color: #dfe6ff; font-size: 15px; line-height: 1.5; }
.contact__links { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.contact__links a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-decoration: none; }
.contact__links a::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' fill='none' stroke='%23f89c1c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.contact__links a:hover { color: var(--orange); }

/* ==========================================================================
   "Already booked?" (homepage) and "My booking" page
   ========================================================================== */
.btn--ghost-blue { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn--ghost-blue:hover { background: #eef2fd; }

/* ==========================================================================
   Stations: "Our stations" page, homepage section, contact page (back office → Stations)
   ========================================================================== */
.stations { display: grid; gap: 28px; max-width: 1180px; margin: 34px auto 0; padding: 0 16px; }
.station {
  display: grid; overflow: hidden; scroll-margin-top: 20px;
  border-radius: 16px; background: #fff;
  box-shadow: 0 28px 50px -28px rgba(10, 30, 90, .5), 0 2px 8px rgba(10, 30, 90, .07);
}
.station__media { display: grid; background: var(--navy); }
.station__photo { display: block; width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
.station__map { min-height: 280px; background: #e8eefc; }
.station__map iframe { display: block; width: 100%; height: 100%; min-height: 280px; border: 0; }
.station__body { padding: 24px 22px 26px; border-top: 4px solid var(--orange); }
.station__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--orange); }
.station__eyebrow span { margin-left: 6px; color: var(--ink-soft); font-weight: 400; }
.station__name { margin-top: 6px; font-weight: 700; font-style: italic; font-size: 34px; line-height: 1.05; text-transform: uppercase; color: var(--blue); }
.station__name small, .station-card__name small {
  display: block; margin-top: 4px; font-style: normal; font-weight: 500; font-size: 15px; text-transform: none; color: var(--ink-soft);
}
.station__now, .station-card__now, .contact__now { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; font-size: 14px; }
.station__now::before, .station-card__now::before, .contact__now::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.station__now.is-open, .station-card__now.is-open, .contact__now.is-open { color: #17733a; }
.station__now.is-closed, .station-card__now.is-closed, .contact__now.is-closed { color: #a8261d; }
.station__now:empty { display: none; }
.station__desc { margin-top: 14px; line-height: 1.55; }
.station__facts { display: grid; gap: 8px; margin: 18px 0 0; }
.station__facts div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 10px; }
.station__facts dt { padding-top: 3px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.station__facts dd { margin: 0; overflow-wrap: anywhere; }
.station__facts a { color: var(--blue); font-weight: 600; text-decoration: none; }
.station__hours { width: 100%; max-width: 380px; margin-top: 20px; border-collapse: collapse; font-size: 14.5px; }
.station__hours caption { padding-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-align: left; text-transform: uppercase; color: var(--orange); }
.station__hours th, .station__hours td { padding: 6px 8px; border-bottom: 1px solid #e9ecf3; font-weight: 400; text-align: left; }
.station__hours td { text-align: right; font-variant-numeric: tabular-nums; }
.station__hours tr.is-today th, .station__hours tr.is-today td { background: #eef2fd; font-weight: 700; }
.station__note { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }
.station__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.station__actions .btn { padding: 13px 20px; font-size: 14px; }
.stations-cta {
  display: grid; gap: 16px; justify-items: start;
  max-width: 1148px; margin: 34px 16px 60px; padding: 24px 22px;
  border-radius: 14px; background: var(--blue); color: #fff;
}
.stations-cta p { max-width: 40em; line-height: 1.5; color: #dfe6ff; }
.stations-cta b { color: #fff; }
@media (min-width: 900px) {
  .station { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .station__body { padding: 32px 34px; border-top: 0; border-left: 4px solid var(--orange); }
  .stations-cta { grid-template-columns: 1fr auto; align-items: center; margin: 40px auto 70px; padding: 28px 32px; }
}
@media (min-width: 1180px) { .stations-cta { margin-left: auto; margin-right: auto; } }

.stations-home { max-width: 1180px; margin: 64px auto 0; padding: 0 16px 24px; }
.stations-home__head h2 { font-weight: 700; font-size: clamp(32px, 8vw, 60px); line-height: 1; text-transform: uppercase; color: var(--blue); }
.stations-home__head p { max-width: 34em; margin-top: 10px; line-height: 1.5; }
.station-cards { display: grid; gap: 20px; margin: 26px 0 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .station-cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; } }
.station-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 16px; background: #fff;
  box-shadow: 0 28px 50px -28px rgba(10, 30, 90, .5), 0 2px 8px rgba(10, 30, 90, .07);
}
.station-card__media { position: relative; height: 210px; background: var(--navy); }
.station-card__media::before { content: ""; position: absolute; inset: 0 0 45% 0; z-index: 1; background: linear-gradient(rgba(16, 28, 52, .7), rgba(16, 28, 52, 0)); }
.station-card__media .car__eyebrow { z-index: 2; }
.station-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.station-card__media--pin svg {
  position: absolute; left: 50%; top: 56%; width: 70px; height: 70px; transform: translate(-50%, -50%);
  fill: none; stroke: var(--orange); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.station-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; border-top: 3px solid var(--orange); }
.station-card__name { font-weight: 700; font-style: italic; font-size: 24px; line-height: 1.1; text-transform: uppercase; color: var(--blue); }
.station-card__address { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }
.station-card__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: auto; padding-top: 18px; }
.station-card__links .btn { padding: 12px 20px; font-size: 14px; }
.station-card__more { color: var(--blue); font-weight: 600; font-size: 14px; }
.stations-home__more { margin-top: 26px; text-align: center; }

/* What our clients say (homepage): Google reviews in a row you can swipe or step through */
.reviews-home { padding: 52px 16px 56px; background: #eef1f6; color: #14181f; }
.reviews-home[hidden] { display: none; }
.reviews-home__head, .reviews-home__track, .reviews-home__more { max-width: 1180px; margin-left: auto; margin-right: auto; }
.reviews-home__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; }
.reviews-home__head h2 { font-weight: 700; font-size: clamp(32px, 8vw, 60px); line-height: 1; text-transform: uppercase; color: var(--blue); }
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; }
.reviews-summary__score { font-weight: 700; font-size: 44px; line-height: 1; color: var(--blue); }
.reviews-summary__stars { position: relative; display: inline-block; color: #d3d9e6; font-size: 24px; line-height: 1; letter-spacing: 2px; }
.reviews-summary__stars::before { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--pct, 100%); overflow: hidden; color: var(--orange); white-space: nowrap; }
.reviews-summary__count { width: 100%; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
@media (min-width: 640px) { .reviews-summary__count { width: auto; } }
.reviews-home__track { position: relative; margin-top: 26px; }
/* wider screens: room at the sides for the arrows, so they never cover a review */
@media (min-width: 700px) { .reviews-home__track { padding: 0 34px; } }
.review-cards {
  display: flex; gap: 18px; margin: 0; padding: 4px 2px 8px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; /* no scrollbar: swipe, use the arrows or a trackpad */
}
.review-cards::-webkit-scrollbar { display: none; }
.review-cards:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 8px; }
.review-card {
  flex: 0 0 min(86%, 340px); scroll-snap-align: start;
  display: flex; flex-direction: column;
  padding: 20px 20px 16px; border: 1px solid #dfe3ec; border-radius: 14px;
  background: #fff; box-shadow: 0 1px 3px rgba(10, 30, 90, .06);
}
@media (min-width: 700px) { .review-card { flex-basis: calc((100% - 18px) / 2); } }
@media (min-width: 1000px) { .review-card { flex-basis: calc((100% - 36px) / 3); } }
.review-card__head { display: flex; align-items: center; gap: 12px; }
.review-card__avatar { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 16px; }
.review-card__name { font-weight: 700; font-size: 16px; line-height: 1.2; overflow-wrap: anywhere; }
.review-card__date { margin-top: 2px; font-size: 13px; color: #7a8090; }
.review-card__stars { margin-top: 14px; color: var(--orange); font-size: 18px; line-height: 1; letter-spacing: 2px; }
.review-card__stars span { color: #d3d9e6; }
.review-card__text {
  margin: 10px 0 0; font-weight: 400; font-size: 15px; line-height: 1.55; color: #2b2f3a;
  white-space: pre-line; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden;
}
.review-card.is-open .review-card__text { display: block; -webkit-line-clamp: unset; overflow: visible; }
.review-card__more { align-self: flex-start; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--blue); font: 600 14px var(--font); text-decoration: underline; cursor: pointer; }
.review-card__more[hidden] { display: none; }
.review-card__source { margin-top: auto; padding-top: 14px; font-size: 12.5px; color: #7a8090; }
.reviews-home__arrow {
  position: absolute; top: 50%; z-index: 2; margin-top: -31px;
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 0; border-radius: 50%; background: #fff; color: var(--blue);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45); cursor: pointer;
}
.reviews-home__arrow[hidden] { display: none; }
.reviews-home__arrow:hover { color: var(--orange); }
.reviews-home__arrow:disabled { opacity: 0; pointer-events: none; }
.reviews-home__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.reviews-home__arrow--prev { left: -12px; }
.reviews-home__arrow--next { right: -12px; }
@media (min-width: 1300px) { .reviews-home__track { padding: 0; } .reviews-home__arrow--prev { left: -58px; } .reviews-home__arrow--next { right: -58px; } }
@media (max-width: 699px) { .reviews-home__arrow { display: none; } } /* phones: swipe */
.reviews-home__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.reviews-home__more[hidden] { display: none; }

.contact__stations {
  padding: 20px 22px; border-radius: 14px; background: #fff;
  box-shadow: 0 22px 40px -24px rgba(10, 30, 90, .45), 0 2px 8px rgba(10, 30, 90, .06);
}
.contact__stations h2 { font-weight: 700; font-size: 20px; color: var(--blue); }
.contact__stations ul { display: grid; gap: 12px; margin: 12px 0 14px; padding: 0; list-style: none; }
.contact__stations li { display: grid; gap: 2px; font-size: 14.5px; }
.contact__stations li a { color: var(--blue); font-weight: 700; text-decoration: none; }
.contact__stations li span { color: var(--ink-soft); }
.contact__stations > a { color: var(--blue); font-weight: 600; font-size: 14px; }
.contact__now { margin-top: 2px; font-size: 13.5px; }
.footer__stations { display: contents; }

.lookup-strip { position: relative; z-index: 2; margin: 40px 16px 0; }
.lookup-strip__card {
  display: grid; gap: 16px;
  padding: 20px 20px 22px;
  border: 1.5px solid #dfe5f5; border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 36px -24px rgba(10, 30, 90, .4);
}
.lookup-strip__text h2 { font-weight: 700; font-size: 20px; }
.lookup-strip__text p { margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: #3b4a7a; }
.lookup-strip__fields { display: grid; gap: 12px; }
.lookup-strip .fld label { font-size: 13px; }
.lookup-strip__btn { padding: 14px 22px; font-size: 14px; }
@media (min-width: 720px) {
  .lookup-strip { margin: 48px 32px 0; }
  .lookup-strip__fields { grid-template-columns: 1fr 1.4fr auto; align-items: start; }
  .lookup-strip__btn { height: 46px; margin-top: 25px; }
}
@media (min-width: 1000px) {
  .lookup-strip { width: calc(1096 * var(--u)); margin: calc(72 * var(--u)) auto 0; }
  .lookup-strip__card { grid-template-columns: minmax(0, .85fr) minmax(0, 2fr); align-items: center; gap: 28px; padding: 22px 28px; }
}

.mybooking { max-width: 900px; margin: 34px auto 0; padding: 0 16px 80px; }
.mybooking__find[hidden], .resv[hidden] { display: none; }
.mybooking .captcha { min-height: 0; margin-top: 12px; }
.mybooking__btn { width: 100%; margin-top: 18px; padding: 17px 28px; font-size: 16px; }
@media (min-width: 640px) { .mybooking__btn { width: auto; } }
.mybooking__help { margin-top: 12px; font-size: 14px; color: #6b7080; }
.mybooking__help a { color: var(--blue); font-weight: 600; }

.resv {
  padding: 24px; border-radius: 16px; background: #fff; outline: none;
  box-shadow: 0 28px 50px -24px rgba(10, 30, 90, .55), 0 2px 8px rgba(10, 30, 90, .08);
}
.resv__proto { margin-bottom: 16px; padding: 10px 14px; border-radius: 10px; background: #fff4e3; color: #5b3a00; font-size: 14px; }
.resv__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #e3e6ee; }
.resv__label { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.resv__title { font-weight: 700; font-size: 34px; line-height: 1.05; }
.resv__by { margin-top: 6px; font-size: 14px; color: #6b7080; }
.resv__status {
  flex: none; padding: 7px 12px; border-radius: 999px;
  font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
}
.resv__status.is-confirmed { background: #e6f6ec; color: #17733a; }
.resv__status.is-request { background: #fff4e3; color: #8a5300; }
.resv__status.is-cancelled { background: #fdeceb; color: #a8261d; }
.cars__loading { grid-column: 1 / -1; padding: 40px 16px; text-align: center; color: #6b7080; list-style: none; }
.resv__grid { display: grid; gap: 22px; margin-top: 20px; }
@media (min-width: 760px) { .resv__grid { grid-template-columns: 300px minmax(0, 1fr); align-items: start; } }
.resv__car { overflow: hidden; border: 1px solid #e3e6ee; border-radius: 14px; }
.resv__car .car__media { height: 220px; margin: 0; border-radius: 0; }
.resv__car .car__media img { top: 0; left: 0; width: 100%; height: 100%; transform: none; object-fit: contain; object-position: center bottom; }
.resv__car-body { padding: 14px 16px 16px; border-top: 3px solid var(--orange); }
.resv__trip { margin-top: 0; }
.resv__pay, .resv__cancel { margin-top: 10px; font-size: 14px; }
.resv__cancel { color: #17733a; font-weight: 600; }
.resv__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #e3e6ee; }
.resv__again { margin-left: auto; padding: 8px 0; border: 0; background: none; color: var(--blue); font: 600 14px var(--font); text-decoration: underline; cursor: pointer; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 0 16px 28px; background: var(--blue); color: #fff; }

.footer__inner {
  display: grid; gap: 32px;
  max-width: 1180px; margin: 0 auto; padding-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.footer__logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.footer__cube { width: 58px; }
.footer__lockup { display: flex; flex-direction: column; align-items: flex-start; }
.footer__lockup img { width: 150px; }
.footer__script {
  margin-top: 2px;
  font-family: var(--script); font-weight: 700; font-size: 21px; line-height: 1.1; color: var(--orange);
}
.footer__brand p { max-width: 24em; margin-top: 16px; font-size: 14.5px; opacity: .85; }

.site-footer h2 {
  margin-bottom: 14px;
  font-weight: 700; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange);
}
.site-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.site-footer address { display: grid; gap: 8px; font-style: normal; font-size: 15px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--orange); }

.footer__bottom {
  max-width: 1180px; margin: 40px auto 0;
  font-size: 13px; opacity: .75;
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (min-width: 640px) {
  .booking__grid { grid-template-columns: 1fr 1fr; gap: 26px 22px; }
  .booking__footer { flex-direction: row; justify-content: space-between; align-items: center; }
  .booking__submit { width: auto; }
}

@media (min-width: 720px) {
  .hero { padding-top: 44px; }
  .hero__intro, .hero__tagline { padding: 0 32px; }
  .booking { margin: -60px 32px 0; }
  .booking__panel { padding: 30px 28px 26px; }
  .features { grid-template-columns: 1fr 1fr; gap: 24px; margin: 72px 32px 0; }
  .footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .site-footer { padding: 0 32px 28px; }
}

/* ==========================================================================
   Desktop: follow the 1440px artboard (1u = 1 design pixel)
   ========================================================================== */
@media (min-width: 1000px) {
  :root { --u: min(calc(100vw / 1440), 1.15px); }

  /* Header: the full menu starts at 1280px (see below); in between, the compact menu button is used */
  .nav { max-width: calc(1440 * var(--u)); margin: 0 auto; padding: 0 calc(39 * var(--u)); }

  /* Hero */
  .hero { height: calc(846 * var(--u)); padding: 0; }
  .hero__stage { position: relative; width: min(100%, calc(1440 * var(--u))); height: 100%; margin: 0 auto; }
  .hero__intro { position: absolute; left: calc(39 * var(--u)); top: calc(117 * var(--u)); padding: 0; }
  .hero h1 { font-size: calc(49 * var(--u)); line-height: 1; }
  .hero__intro p {
    max-width: calc(640 * var(--u)); margin-top: calc(22 * var(--u)); padding-left: calc(10 * var(--u));
    font-size: max(14px, calc(16 * var(--u))); line-height: 1.2;
  }
  .hero__tagline { position: absolute; left: calc(839 * var(--u)); top: calc(116 * var(--u)); margin: 0; padding: 0; }
  .hero__chevrons { width: calc(212 * var(--u)); margin: 0 0 calc(58 * var(--u)) calc(34 * var(--u)); }
  .hero__lead { padding-left: calc(27 * var(--u)); font-size: calc(56 * var(--u)); }
  .hero__begin { margin-top: calc(-13 * var(--u)); font-size: calc(155 * var(--u)); line-height: 1; }
  .hero__photo {
    --photo-h: calc(671 * var(--u));
    --photo-x: 50%;
    position: absolute; left: 0; right: 0; top: calc(175 * var(--u));
    margin: 0;
  }

  /* Booking */
  .booking { width: calc(1096 * var(--u)); margin: calc(-98 * var(--u)) auto 0; }
  .booking__panel {
    min-height: calc(292 * var(--u));
    padding: calc(42 * var(--u)) calc(16 * var(--u)) calc(64 * var(--u));
    border-radius: calc(16 * var(--u));
    box-shadow: 0 calc(40 * var(--u)) calc(60 * var(--u)) calc(-20 * var(--u)) rgba(0, 18, 70, .55);
  }
  .booking__grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .field__label { font-size: max(11px, calc(13.6 * var(--u))); }
  .field__arrow { display: block; width: auto; height: calc(37 * var(--u)); margin: calc(20 * var(--u)) auto calc(28 * var(--u)); }
  .field__controls { flex-direction: column; align-items: center; gap: calc(26 * var(--u)); margin: 0; }
  .pill { flex: none; width: max(140px, calc(160 * var(--u))); }
  .chip { flex: none; width: max(140px, calc(156 * var(--u))); }
  .chip--time { width: max(76px, calc(84 * var(--u))); }
  .pill select, .pill input { height: max(32px, calc(36 * var(--u))); font-size: max(11px, calc(12 * var(--u))); }
  .chip select, .chip input { height: max(28px, calc(30 * var(--u))); font-size: max(10.5px, calc(11.5 * var(--u))); }

  .date-btn { height: max(32px, calc(36 * var(--u))); font-size: max(11px, calc(12 * var(--u))); }
  .field--place .pill { width: max(180px, calc(232 * var(--u))); }
  .pill .place__input { font-size: max(12px, calc(13.5 * var(--u))); }
  .place__input::placeholder { font-size: max(10.5px, calc(11.5 * var(--u))); }
  .quick-picks { width: max(180px, calc(232 * var(--u))); gap: calc(10 * var(--u)); }
  .quick-picks .chip { height: max(28px, calc(30 * var(--u))); font-size: max(10.5px, calc(11.5 * var(--u))); }
  .place__panel { min-width: 320px; }
  .booking__footer {
    position: absolute; left: calc(99 * var(--u)); right: calc(99 * var(--u)); bottom: calc(-22 * var(--u));
    margin: 0;
  }
  .age-check {
    height: calc(44 * var(--u)); padding: 0 calc(28 * var(--u)) 0 calc(20 * var(--u));
    font-size: max(12px, calc(14 * var(--u))); gap: calc(16 * var(--u));
  }
  .age-check__box { width: max(18px, calc(24 * var(--u))); height: max(18px, calc(24 * var(--u))); }
  .booking__submit { height: calc(48 * var(--u)); padding: 0 calc(36 * var(--u)); font-size: max(13px, calc(16 * var(--u))); }
  .booking__error {
    position: absolute; left: 50%; top: calc(100% + calc(40 * var(--u)));
    width: max-content; max-width: 90%; margin: 0;
    transform: translateX(-50%);
    box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .3);
  }

  /* Features */
  .features {
    max-width: calc(1220 * var(--u));
    margin: calc(96 * var(--u)) auto 0; padding: 0 calc(10 * var(--u));
    gap: calc(54 * var(--u)) calc(64 * var(--u));
  }
  .feature { min-height: calc(180 * var(--u)); padding: calc(44 * var(--u)) calc(60 * var(--u)) calc(40 * var(--u)); border-radius: calc(6 * var(--u)); }
  .feature h3 { font-size: calc(24 * var(--u)); }
  .feature__sub, .feature p:last-child { font-size: max(14px, calc(16 * var(--u))); }
  .feature p:last-child { margin-top: calc(20 * var(--u)); line-height: 1.38; }

  /* Fleet */
  .fleet { margin-top: calc(92 * var(--u)); }
  .fleet__intro { width: min(100%, calc(1440 * var(--u))); height: calc(710 * var(--u)); margin: 0 auto; padding: 0; }
  .fleet__title { font-size: calc(97 * var(--u)); }
  .fleet__text {
    position: absolute; right: calc(122 * var(--u)); top: calc(102 * var(--u));
    width: calc(480 * var(--u)); margin: 0;
    font-size: max(14px, calc(16 * var(--u))); line-height: 1.56; text-align: right;
  }
  .fleet__couple {
    position: absolute; left: calc(279 * var(--u)); top: calc(52 * var(--u));
    width: calc(823 * var(--u)); height: calc(680 * var(--u)); margin: 0;
  }
  .fleet__dots { display: block; position: absolute; z-index: 2; left: calc(241 * var(--u)); top: calc(148 * var(--u)); width: calc(204 * var(--u)); }
  .fleet__cube { display: block; position: absolute; z-index: 2; left: calc(1036 * var(--u)); top: calc(236 * var(--u)); width: calc(363 * var(--u)); }

  .fleet__band { padding: 0 0 calc(70 * var(--u)); }
  .cars { flex-wrap: nowrap; gap: calc(57 * var(--u)); margin-top: calc(-36 * var(--u)); }
  .car { width: calc(356 * var(--u)); filter: drop-shadow(0 calc(22 * var(--u)) calc(22 * var(--u)) rgba(0, 6, 40, .5)); }
  .car__media { height: calc(252 * var(--u)); margin: 0 calc(4 * var(--u)); border-radius: calc(22 * var(--u)) calc(22 * var(--u)) 0 0; }
  .car__eyebrow { left: calc(30 * var(--u)); top: calc(24 * var(--u)); font-size: max(8px, calc(8.5 * var(--u))); }
  .car__body {
    padding: calc(18 * var(--u)) calc(26 * var(--u)) calc(16 * var(--u)) calc(34 * var(--u));
    border-top-width: calc(3 * var(--u));
    border-radius: 0 0 calc(22 * var(--u)) calc(22 * var(--u));
  }
  .car__name { padding-right: calc(130 * var(--u)); font-size: calc(22 * var(--u)); }
  .car__specs { padding-top: calc(12 * var(--u)); font-size: max(9.5px, calc(10.8 * var(--u))); }
  .car__specs b { font-size: calc(17 * var(--u)); }
  .car__book {
    right: calc(26 * var(--u)); top: calc(-13 * var(--u));
    padding: calc(8 * var(--u)) calc(15 * var(--u)); font-size: max(12px, calc(15.9 * var(--u)));
  }
  .fleet__more { margin-top: calc(56 * var(--u)); }

  .site-footer { padding: 0 calc(120 * var(--u)) 28px; }

  /* Car list page */
  .page-intro { padding-top: calc(110 * var(--u)); }
  .page-intro__dots { display: block; width: calc(212 * var(--u)); margin-bottom: calc(14 * var(--u)); }
  .filters { margin-top: calc(40 * var(--u)); }
  .fleet-list { margin-top: calc(48 * var(--u)); padding: calc(80 * var(--u)) 24px calc(80 * var(--u)); }
  .cars.cars--grid { flex-wrap: wrap; gap: calc(64 * var(--u)) calc(40 * var(--u)); margin-top: 0; }
  .cars--grid .car { width: 100%; }
  /* these cards stay ~360px wide, so on smaller laptops the photo box would get too short and the
     car would slide up under the "CITY / RHODES RENTAL" label */
  .cars--grid .car__media { height: max(236px, calc(252 * var(--u))); }

  /* booking steps: start below the cube that hangs from the header */
  .trip { padding-top: calc(112 * var(--u)); }
}

/* Full header menu with the cube: from 1280px (narrower screens don't have room for the links on both sides of the cube) */
@media (min-width: 1280px) {
  .nav {
    align-items: flex-end;
    height: calc(136 * var(--u));
    padding-bottom: calc(32 * var(--u));
  }
  .nav__logo img { height: calc(54 * var(--u)); }
  .nav__toggle { display: none; }
  .nav__menu,
  .menu-open .nav__menu {
    display: flex; flex: 1; justify-content: space-between; align-items: flex-end;
    position: static; margin-left: calc(60 * var(--u)); padding: 0;
    background: none; border: 0; box-shadow: none;
  }
  .nav__links { display: flex; gap: calc(56 * var(--u)); }
  .nav__links--right { gap: calc(38 * var(--u)); }
  .nav__links a { padding: 0 0 calc(5 * var(--u)); font-size: max(12px, calc(13.3 * var(--u))); line-height: 1; letter-spacing: .03em; }
  .nav__cube {
    display: block;
    position: absolute; left: 50%; top: calc(44 * var(--u)); z-index: 5;
    width: calc(157 * var(--u)); height: auto;
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Used cars for sale: list (used-cars.php) and one car (used-car.php)
   ========================================================================== */
.page-intro__sub { display: block; margin-top: .08em; font-size: .42em; letter-spacing: .02em; color: var(--orange); }

/* labels on photos (list and car page) */
.ucard__status {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  padding: 7px 12px; border-radius: 6px;
  background: var(--orange); color: #fff;
  font-weight: 700; font-size: 14px; line-height: 1; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5);
}
.urow--sold .ucard__status, .ucar--sold .ucar__status { background: #c62828; }
.ucard__count, .ucar__counter {
  position: absolute; right: 12px; bottom: 10px; z-index: 2;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(16, 28, 52, .75); color: #fff; font-size: 12px; font-weight: 500;
}

/* the list: one car per row (photo left, details right; photo on top on phones) */
.used-list { margin-top: 36px; padding: 32px 16px 64px; background: #eef1f6; }
.used-list__count { max-width: 1180px; margin: 0 auto 14px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.used-list__empty { max-width: 1180px; margin: 0 auto; font-size: 17px; color: #14181f; }
.used-list__empty a { color: var(--blue); font-weight: 600; }
.ulist { display: grid; gap: 16px; max-width: 1180px; margin: 0 auto; padding: 0; list-style: none; }
.urow {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr);
  border: 1px solid #dde2ec; border-radius: 14px; background: #fff; color: #14181f;
  box-shadow: 0 1px 3px rgba(10, 30, 90, .06);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.urow:hover { border-color: #b7c4e8; box-shadow: 0 14px 30px -16px rgba(10, 30, 90, .4); }
.urow:focus-within { box-shadow: 0 0 0 3px var(--orange); }
.urow__ribbon {
  position: absolute; left: 0; top: 0; z-index: 4;
  width: 50px; height: 50px;
  background: var(--orange); clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}
.urow__ribbon .ico { position: absolute; left: 6px; top: 6px; width: 17px; height: 17px; }
.urow__ribbon .ico-fill, .urow__badge .ico-fill { fill: #fff; stroke: none; }
.urow__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); }
.urow__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.urow:hover .urow__media img { transform: scale(1.03); }
.urow__media .urow__nophoto { width: 70px; height: 100%; margin: auto; object-fit: contain; opacity: .45; }
.urow--sold .urow__media img { filter: grayscale(.75); opacity: .75; }
.urow__body { display: flex; flex-direction: column; min-width: 0; padding: 16px 18px 16px; }
.urow__name { font-weight: 700; font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
.urow__name a { color: inherit; text-decoration: none; }
.urow__name a::after { content: ""; position: absolute; inset: 0; z-index: 3; } /* the whole row opens the car */
.urow__name a:focus-visible { outline: none; }
.urow__version { margin-top: 2px; font-size: 14px; font-weight: 500; text-transform: uppercase; color: #3a3f4b; }
.urow__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.urow__badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 6px;
  background: var(--orange); color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.3;
}
.urow__badge .ico { width: 14px; height: 14px; }
.urow__price { margin-top: 12px; font-weight: 700; font-size: 26px; line-height: 1; }
.urow__price--muted { font-size: 18px; color: #6b7080; }
.urow--sold .urow__price { color: #c62828; letter-spacing: .1em; text-transform: uppercase; }
.urow__specs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: #4a4f5c; }
.urow__specs li { display: inline-flex; align-items: center; gap: 6px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: #3d7be0; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.urow__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.urow__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: #6b7080; }
.urow__meta span { display: inline-flex; align-items: center; gap: 5px; }
.urow__meta .ico { width: 17px; height: 17px; stroke: #6b7080; }
.urow__actions { position: relative; z-index: 4; display: flex; gap: 8px; margin-left: auto; }
.urow__btn {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1.5px solid var(--blue); border-radius: 8px; background: #fff; color: var(--blue);
  transition: background-color .15s ease;
}
.urow__btn:hover { background: #eef2fd; }
.urow__btn .ico { stroke: currentColor; }
.urow__btn--wa { border-color: #13804f; color: #13804f; }
.urow__btn--wa:hover { background: #e8f5ee; }
@media (min-width: 700px) {
  .urow { grid-template-columns: 280px minmax(0, 1fr); min-height: 210px; }
  .urow__media { aspect-ratio: auto; }
  .urow__body { padding: 18px 22px 16px 26px; }
  .urow__name { font-size: 21px; }
  .urow__price { font-size: 28px; }
}
@media (min-width: 1000px) { .urow { grid-template-columns: 300px minmax(0, 1fr); min-height: 225px; } }
/* Search filters: button above the list + panel sliding in from the right (full screen on phones) */
.used-list__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; max-width: 1180px; margin: 0 auto 14px; }
.used-list__bar .used-list__count { margin: 0; }
.used-list__count a, .used-list__empty--filtered a, .linkish { color: var(--blue); font-weight: 600; }
.linkish { padding: 0; border: 0; background: none; font: inherit; text-decoration: underline; cursor: pointer; }
.used-list__empty--filtered { margin-bottom: 16px; }
.ufilter-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border: 1.5px solid var(--blue); border-radius: 8px;
  background: #fff; color: var(--blue); font: 600 14px/1 var(--font); cursor: pointer;
}
.ufilter-btn:hover { background: #eef2fd; }
.ufilter-btn .ico { width: 18px; height: 18px; stroke: currentColor; }
.ufilter-btn__count { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 12px; }
.ufilters {
  position: fixed; inset: 0 0 0 auto;
  width: min(420px, 100vw); max-width: none; height: 100%; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: #f6f7fa; color: #14181f;
  box-shadow: -24px 0 48px -24px rgba(0, 0, 0, .45);
}
.ufilters[open] { display: flex; animation: ufilters-in .22s ease-out; }
.ufilters::backdrop { background: rgba(8, 14, 30, .5); }
@keyframes ufilters-in { from { transform: translateX(40px); opacity: 0; } }
.ufilters__form { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.ufilters__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 12px 14px 18px; border-bottom: 1px solid #e3e6ee; background: #fff; }
.ufilters__head h2 { font-weight: 700; font-size: 22px; color: var(--blue); }
.ufilters__close { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 8px; background: none; color: #6b7080; cursor: pointer; }
.ufilters__close:hover { background: #eef0f4; color: #14181f; }
.ufilters__close .ico { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; }
.ufilters__body { display: grid; flex: 1; align-content: start; gap: 14px; overflow-y: auto; padding: 16px 18px 22px; overscroll-behavior: contain; }
.uf { min-width: 0; margin: 0; padding: 0; border: 0; }
.uf__label { display: block; float: left; width: 100%; margin-bottom: 6px; padding: 0; font-size: 14px; font-weight: 600; color: var(--blue); }
.uf__pair { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.uf__box { position: relative; display: block; clear: both; border: 1px solid #cfd5e2; border-radius: 8px; background: #fff; }
.uf__box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 55, 211, .15); }
.uf__box span { position: absolute; left: 12px; top: 7px; font-size: 12px; color: #7a8090; pointer-events: none; }
.uf__box select {
  width: 100%; height: 50px; padding: 0 34px 0 12px;
  border: 0; border-radius: 8px; outline: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23273a5b' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 14px;
  color: #14181f; font: 500 16px/1.2 var(--font);
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
.uf__box--labelled select { height: 56px; padding-top: 18px; }
/* price slider (two handles on one track) */
.urange__values { clear: both; display: flex; align-items: baseline; gap: 8px; margin: 0 0 4px; font-weight: 700; font-size: 18px; color: #14181f; }
.urange__dash { color: #7a8090; font-weight: 500; }
.urange { --from: 0%; --to: 100%; position: relative; height: 36px; margin: 0 11px; }
.urange__track { position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: #d6dbe7; }
.urange__fill { position: absolute; top: 0; bottom: 0; left: var(--from); right: calc(100% - var(--to)); border-radius: 3px; background: var(--blue); }
.urange input[type="range"] {
  position: absolute; left: -11px; top: 0; z-index: 2;
  width: calc(100% + 22px); height: 36px; margin: 0;
  background: none; pointer-events: none; /* only the handles take clicks, so both can be dragged */
  -webkit-appearance: none; appearance: none;
}
.urange input[type="range"]:focus { outline: none; }
.urange input[type="range"]::-webkit-slider-runnable-track { height: 36px; background: none; }
.urange input[type="range"]::-moz-range-track { height: 36px; background: none; }
.urange input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; pointer-events: auto;
  width: 22px; height: 22px; margin-top: 7px;
  border: 2px solid var(--blue); border-radius: 50%; background: #fff;
  box-shadow: 0 2px 6px rgba(10, 30, 90, .3); cursor: grab;
}
.urange input[type="range"]::-moz-range-thumb {
  pointer-events: auto; width: 18px; height: 18px;
  border: 2px solid var(--blue); border-radius: 50%; background: #fff;
  box-shadow: 0 2px 6px rgba(10, 30, 90, .3); cursor: grab;
}
.urange input[type="range"]:active::-webkit-slider-thumb { cursor: grabbing; background: var(--blue); }
.urange input[type="range"]:active::-moz-range-thumb { cursor: grabbing; background: var(--blue); }
.urange input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(248, 156, 28, .55); }
.urange input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(248, 156, 28, .55); }
.urange__ends { display: flex; justify-content: space-between; margin: 0; font-size: 12px; color: #7a8090; }

.ufilters__foot { display: grid; gap: 10px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #e3e6ee; background: #fff; }
.ufilters__search { width: 100%; gap: 8px; padding: 16px 20px; }
.ufilters__search .ico { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.2; }
.ufilters__reset {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 13px; border-radius: 6px; background: #eef0f4; color: #14181f;
  font-weight: 600; font-size: 14px; text-decoration: none;
}
.ufilters__reset:hover { background: #e2e6ee; }
.ufilters__reset .ico { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.2; }
@media (prefers-reduced-motion: reduce) { .ufilters[open] { animation: none; } }

.used-list__cta { max-width: 1180px; margin: 44px auto 0; text-align: center; color: #14181f; }
.used-list__cta p { margin-bottom: 16px; font-size: 18px; }
.used-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.used-missing { max-width: 1180px; margin: 28px auto 80px; padding: 0 16px; }

/* one car */
.ucar {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px;
  grid-template-areas: "back" "gallery" "info" "desc" "form";
  max-width: 1240px; margin: 0 auto; padding: 20px 16px 72px;
}
.ucar__back { grid-area: back; font-size: 14px; }
.ucar__back a { color: var(--blue); font-weight: 600; text-decoration: none; }
.ucar__back a:hover { text-decoration: underline; }
.ucar__gallery { grid-area: gallery; min-width: 0; }
.ucar__main { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 18px; background: var(--navy); }
.ucar__mainlink { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.ucar__main [data-gallery-main] { width: 100%; height: 100%; object-fit: contain; }
.ucar__status { left: 16px; top: 16px; padding: 9px 14px; font-size: 16px; }
.ucar__nophoto { display: grid; place-content: center; justify-items: center; gap: 12px; height: 100%; color: #dfe6ff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.ucar__nophoto img { width: 90px; opacity: .55; }
.ucar__arrow, .lightbox__arrow, .lightbox__close {
  display: grid; place-items: center;
  width: 46px; height: 46px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--blue);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .55); cursor: pointer;
}
.ucar__arrow { position: absolute; top: 50%; z-index: 2; margin-top: -23px; }
.ucar__arrow[hidden], .lightbox__arrow[hidden] { display: none; }
.ucar__arrow--prev { left: 12px; }
.ucar__arrow--next { right: 12px; }
.ucar__arrow:hover, .lightbox__arrow:hover, .lightbox__close:hover { background: #fff; color: var(--orange); }
.ucar__arrow svg, .lightbox__arrow svg, .lightbox__close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ucar__thumbs { display: flex; gap: 10px; margin: 12px 0 0; padding: 3px 3px 8px; overflow-x: auto; list-style: none; scrollbar-width: thin; }
.ucar__thumbs li { flex: none; }
.ucar__thumbs a { display: block; overflow: hidden; width: 104px; border-radius: 10px; opacity: .72; transition: opacity .15s ease; }
.ucar__thumbs a:hover, .ucar__thumbs a[aria-current="true"] { opacity: 1; }
.ucar__thumbs a[aria-current="true"] { box-shadow: 0 0 0 3px var(--orange); }
.ucar__thumbs img { width: 104px; aspect-ratio: 4 / 3; object-fit: cover; }

.ucar__info { grid-area: info; min-width: 0; }
.ucar__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--orange); }
.ucar__eyebrow span { margin-left: 6px; color: var(--ink-soft); font-weight: 400; }
.ucar--sold .ucar__eyebrow { color: #c62828; }
.ucar__title { margin-top: 8px; font-weight: 700; font-style: italic; font-size: clamp(30px, 6vw, 44px); line-height: 1.05; text-transform: uppercase; overflow-wrap: anywhere; }
.ucar__version { margin-top: 6px; font-size: 15px; font-weight: 600; text-transform: uppercase; color: var(--ink-soft); }
.ucar__specs { margin-top: 16px; }
.ucar__meta { margin-top: 12px; }
.ucar__price { margin-top: 18px; font-weight: 700; font-size: 42px; line-height: 1; }
.ucar__price--ask { font-size: 22px; color: #7a8090; }
.ucar--sold .ucar__price { font-size: 26px; letter-spacing: .1em; text-transform: uppercase; color: #c62828; }
.ucar__contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ucar__contact .btn { gap: 8px; padding: 13px 18px; font-size: 14px; }
.ucar__contact .btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--whatsapp { background: #13804f; color: #fff; }
.btn--whatsapp:hover { background: #0e6b41; }
.ucar__notice {
  margin-top: 20px; padding: 14px 18px;
  border-left: 4px solid var(--orange); border-radius: 0 10px 10px 0;
  background: #fff4e3; color: #5b3a00; font-size: 15px;
}
.ucar__notice a { color: var(--blue); font-weight: 600; }
.ucar__facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 22px; margin: 26px 0 0; }
.ucar__facts div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e9ecf3; }
.ucar__facts dt { padding-top: 3px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.ucar__facts dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }

.ucar__desc { grid-area: desc; min-width: 0; }
.ucar__desc h2 { margin-bottom: 4px; font-weight: 700; font-size: 24px; text-transform: uppercase; }
.ucar__desc p { max-width: 42em; margin-top: 10px; font-weight: 400; line-height: 1.6; color: #2b2f3a; }
.ucar__enquire { grid-area: form; min-width: 0; scroll-margin-top: 20px; }
.ucar__enquire form .booking__error { margin-top: 14px; }

@media (min-width: 960px) {
  .ucar {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    grid-template-areas: "back back" "gallery info" "desc form";
    gap: 30px 44px; align-items: start;
  }
  .ucar__desc { padding-top: 6px; }
}
@media (min-width: 1000px) { .ucar { padding-top: calc(110 * var(--u)); } }

/* full-screen photos */
.lightbox {
  width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(8, 14, 30, .95); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(8, 14, 30, .6); }
.lightbox img { width: auto; max-width: calc(100vw - 24px); height: auto; max-height: calc(100dvh - 110px); object-fit: contain; }
.lightbox__close { position: fixed; top: 14px; right: 14px; }
.lightbox__arrow { position: fixed; top: 50%; margin-top: -23px; }
.lightbox__arrow--prev { left: 14px; }
.lightbox__arrow--next { right: 14px; }
.lightbox__counter { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 14px; }
.has-lightbox { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav__toggle-bar, .nav__toggle-bar::before, .nav__toggle-bar::after, .urow__media img { transition: none; }
}
