/* ==========================================================================
   Drive with Shun — styles.css
   Look: highway guide-sign green, warning-sign yellow, asphalt and concrete.
   Type: Overpass, a typeface inspired by the lettering on US highway signs.
   Mobile-first: base styles are for phones, media queries add larger layouts.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --sign: #0B5D3B;          /* guide-sign green: brand, primary actions */
  --sign-deep: #084A2F;
  --sign-tint: #E4EFE8;
  --caution: #FFC530;       /* warning-sign yellow: the main call to action */
  --caution-deep: #F0B000;
  --caution-tint: #FFF4D1;
  --asphalt: #26292E;       /* text and dark bands */
  --concrete: #F1F2EE;      /* page background */
  --paper: #FFFFFF;
  --line: #D5D8D0;
  --line-strong: #A9AEA5;
  --muted: #565C63;
  --danger: #B42318;
  --danger-tint: #FDECEA;

  --font: "Overpass", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Type scale (~1.25 ratio) */
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem);
  --step-4: clamp(2.1rem, 1.5rem + 3vw, 3.25rem);

  --container: 72rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --space-section: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);
  --header-h: 4rem;

  --r-sign: 18px;
  --r-panel: 14px;
  --r-control: 10px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--asphalt);
  background: var(--concrete);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--sign); text-underline-offset: 0.15em; }
a:hover { color: var(--sign-deep); }

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

/* Two-tone focus ring that shows on light and dark backgrounds */
:focus-visible {
  outline: 3px solid var(--caution);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--asphalt);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow { max-width: calc(52rem + 2 * var(--gutter)); }

.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute !important;
  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: 1rem; top: -5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--asphalt);
  color: #fff;
  border-radius: var(--r-control);
  font-weight: 800;
}
.skip-link:focus { top: 1rem; color: #fff; }

[hidden] { display: none !important; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--r-control);
  font-size: var(--step-0);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-large { min-height: 56px; padding: 0.95rem 1.75rem; font-size: 1.125rem; }
.btn-block { width: 100%; }

.btn-caution { background: var(--caution); color: var(--asphalt); }
.btn-caution:hover { background: var(--caution-deep); color: var(--asphalt); }

.btn-go { background: var(--sign); color: #fff; }
.btn-go:hover { background: var(--sign-deep); color: #fff; }

.btn-ghost-light { border-color: rgba(255, 255, 255, 0.85); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.btn-outline { border-color: var(--asphalt); color: var(--asphalt); background: transparent; }
.btn-outline:hover { background: var(--asphalt); color: #fff; }

.btn:disabled, .btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* ---------- 4. Header and navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  margin-right: auto;
  color: var(--asphalt);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--asphalt); }
.brand-mark { width: 34px; height: 34px; flex: none; }

.nav-book { order: 2; min-height: 44px; padding: 0.5rem 1rem; font-size: 1rem; white-space: nowrap; }

.nav-toggle {
  order: 3;
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-control);
  background: var(--paper);
  color: var(--asphalt);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px; height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6.5px; }
.nav-toggle-bars::after { top: 6.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6.5px) rotate(-45deg); }

.nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  margin: 0;
  padding: 0.25rem var(--gutter) 0.75rem;
  list-style: none;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 24px -16px rgba(38, 41, 46, 0.35);
}
.nav-menu.is-open { display: block; }
.nav-menu a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 0.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--asphalt);
  font-weight: 600;
  text-decoration: none;
}
.nav-menu li:last-child a { border-bottom: 0; }
.nav-menu a[aria-current="page"] { color: var(--sign); font-weight: 800; }

@media (max-width: 519px) {
  .nav-book-more { display: none; }   /* the button reads just "Book" on phones */
}
@media (max-width: 359px) {
  .brand { font-size: 1rem; }
  .nav-book { padding-inline: 0.8rem; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-menu {
    order: 1;
    display: flex;
    gap: 0.25rem;
    position: static;
    margin-right: 0.75rem;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav-menu a {
    min-height: 44px;
    padding: 0 0.8rem;
    border: 0;
    border-radius: 8px;
  }
  .nav-menu a:hover { background: var(--concrete); color: var(--asphalt); }
  .nav-menu a[aria-current="page"] {
    border-radius: 0;
    box-shadow: inset 0 -3px 0 var(--sign);
  }
}

/* ---------- 5. The sign surface (reused for hero, summary, confirmation, CTA) ---------- */
/* Green panel with the white inset border every highway guide sign has */
.sign {
  background: var(--sign);
  color: #fff;
  border-radius: var(--r-sign);
  box-shadow: inset 0 0 0 7px var(--sign), inset 0 0 0 10px #fff;
}
.sign h1, .sign h2, .sign h3 { color: #fff; }

/* ---------- 6. Hero ---------- */
.hero { padding-block: clamp(1rem, 0.5rem + 2vw, 2.5rem) var(--space-section); }

.hero-sign {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 1rem + 3vw, 3.5rem) clamp(1.5rem, 0.75rem + 4vw, 4.5rem);
}
.hero-sign h1 {
  max-width: 17ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.3rem, 1.4rem + 3.8vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.hero-sub {
  max-width: 38rem;
  font-size: var(--step-0);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.hero-note {
  margin-top: 1rem;
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.85);
}
.hero-arrow { display: none; width: clamp(5.5rem, 9vw, 8.5rem); color: #fff; }

.discount-flag {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--caution);
  color: var(--asphalt);
  font-weight: 800;
  font-size: var(--step--1);
  letter-spacing: 0.01em;
}
.discount-flag-static { margin: 0.9rem 0 0; }
@media (max-width: 430px) {
  /* keep the badge on one line on small phones */
  .discount-flag { font-size: 0.8rem; padding: 0.35rem 0.75rem; }
}

@media (max-width: 519px) {
  .hero-actions .btn { width: 100%; padding-inline: 1rem; }
}
@media (min-width: 760px) {
  .hero-sign { grid-template-columns: 1fr auto; }
  .hero-sub { font-size: var(--step-1); }
  .hero-arrow { display: block; margin-right: clamp(0rem, 2vw, 2rem); }
}

/* ----- The route: the four stages drawn as a road ----- */
.route { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.route-title { font-size: var(--step-2); margin-bottom: 1.25rem; }
.route-track { position: relative; }

.route-stops { margin: 0; padding: 0; list-style: none; }
.route-stops li {
  position: relative;
  min-height: 5.5rem;
  padding: 0.4rem 0 1.75rem 5rem;
}
/* Road segment (vertical on phones) */
.route-stops li::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3.75rem;
  background-color: var(--asphalt);
  background-image: linear-gradient(to bottom, var(--caution) 55%, transparent 55%);
  background-size: 4px 26px;
  background-repeat: repeat-y;
  background-position: center top;
}
.route-stops li:first-child::before { border-radius: 12px 12px 0 0; }
.route-stops li:last-child::before { border-radius: 0 0 12px 12px; }

.stop-name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
  font-size: var(--step-1);
  font-weight: 800;
  line-height: 1.2;
}
.stop-desc { display: block; color: var(--muted); }

/* Small green "exit number" plate */
.exit-badge {
  display: inline-grid;
  place-items: center;
  flex: none;
  min-width: 2rem; height: 2rem;
  padding: 0.15rem 0.45rem 0;
  border-radius: 6px;
  background: var(--sign);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 3.5px #fff;
}
.exit-badge-lg { min-width: 2.4rem; height: 2.4rem; font-size: 1.2rem; }

/* The car drives the route once when the page loads */
.route-car {
  position: absolute;
  left: -9px;                 /* centres the rotated car in the left lane */
  top: 17px;
  width: 48px; height: 26px;
  rotate: 90deg;
  animation: drive-down 2.8s cubic-bezier(0.45, 0.05, 0.25, 1) 0.4s both;
  pointer-events: none;
}
@keyframes drive-down {
  from { top: 17px; }
  to   { top: calc(100% - 52px); }
}

@media (min-width: 760px) {
  .route-stops { display: grid; grid-template-columns: repeat(4, 1fr); }
  .route-stops li { min-height: 0; padding: 5.25rem 1.5rem 0 0; }
  .route-stops li::before {
    right: 0; bottom: auto;
    width: auto; height: 3.75rem;
    background-image: linear-gradient(to right, var(--caution) 55%, transparent 55%);
    background-size: 26px 4px;
    background-repeat: repeat-x;
    background-position: left center;
  }
  .route-stops li:first-child::before { border-radius: 12px 0 0 12px; }
  .route-stops li:last-child::before { border-radius: 0 12px 12px 0; }
  .route-car {
    rotate: 0deg;
    top: 32px;                /* right-hand lane */
    left: 14px;
    animation-name: drive-across;
  }
  @keyframes drive-across {
    from { left: 14px; }
    to   { left: calc(100% - 76px); }
  }
}

/* ---------- 7. Sections ---------- */
.section { padding-block: var(--space-section); }
.section-paper { background: var(--paper); }

.section-head { max-width: 42rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head h2 { font-size: var(--step-4); }
.section-head p { font-size: var(--step-1); line-height: 1.5; color: var(--muted); }

/* ----- Benefits ----- */
.why { background: var(--paper); }

.benefits { margin: 0; padding: 0; list-style: none; display: grid; }
.benefit {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  column-gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 2px solid var(--line);
}
.benefit-icon { width: 3.5rem; height: 3.5rem; grid-row: span 2; }
.benefit h3 { font-size: var(--step-2); margin-bottom: 0.4rem; }
.benefit p { max-width: 34rem; color: var(--muted); }

@media (min-width: 900px) {
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .benefit { grid-template-columns: 1fr; padding-top: 1.75rem; border-top: 4px solid var(--asphalt); }
  .benefit-icon { grid-row: auto; width: 4rem; height: 4rem; margin-bottom: 1.25rem; }
}

/* ----- Reviews ----- */
.reviews { position: relative; background: var(--asphalt); color: #fff; }
.reviews::before {            /* lane line across the top edge */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(to right, var(--caution) 55%, transparent 55%) 0 0 / 44px 6px repeat-x;
}
.reviews h2 { font-size: var(--step-4); color: #fff; }

.review-list { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.review { margin: 0; padding-left: 1.25rem; border-left: 4px solid var(--caution); }
.review blockquote { margin: 0 0 1rem; font-size: var(--step-1); line-height: 1.5; }
.review figcaption { font-weight: 800; }
.review figcaption span { display: block; font-weight: 400; font-size: var(--step--1); color: #C5CAD0; }
.sample-tag {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.15rem 0.55rem 0.05rem;
  border: 1.5px dashed var(--caution);
  border-radius: 6px;
  color: var(--caution);
  font-size: 0.8125rem;
  font-weight: 600;
}
@media (min-width: 900px) {
  /* auto-fit so one or two reviews don't sit squashed in a third of the row */
  .review-list { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 3rem; }
  .review { max-width: 34rem; }
}

/* ---- Leave feedback (inside the dark reviews band) ---- */
.feedback { margin-top: 3rem; }
.feedback-panel {
  max-width: 40rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--r-panel);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.feedback-panel h3 { font-size: var(--step-1); margin: 0 0 0.4rem; }
.feedback-intro { font-size: var(--step--1); color: #C5CAD0; margin: 0 0 1.25rem; }
.feedback-panel .field { margin-bottom: 1.1rem; }
.feedback-panel label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.feedback-panel input[type="text"],
.feedback-panel select,
.feedback-panel textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  font: inherit;
  font-size: 1rem;                    /* 16px stops iOS zooming on focus */
  color: var(--asphalt);
  background: var(--paper);
  border: 2px solid transparent;
  border-radius: var(--r-control);
}
.feedback-panel textarea { min-height: 8rem; resize: vertical; line-height: 1.5; }
.feedback-panel .field-hint {
  margin: 0.3rem 0 0;
  font-size: 0.8125rem;
  color: #C5CAD0;
  text-align: right;
}
.feedback-panel .field-error {
  margin: 0.35rem 0 0;
  font-size: var(--step--1);
  font-weight: 600;
  color: #FFB4AC;
}
.feedback-panel .is-invalid { border-color: #FFB4AC; }

.rating { border: 0; padding: 0; margin: 0 0 1.1rem; }
.rating legend { font-weight: 600; margin-bottom: 0.45rem; padding: 0; }
.rating-hint { font-weight: 400; font-size: var(--step--1); color: #C5CAD0; }
.rating-options { display: flex; gap: 0.5rem; }
.rating-choice { position: relative; flex: 1 1 0; margin: 0; }
.rating-choice input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.rating-choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--r-control);
  font-weight: 800;
  font-size: var(--step-1);
}
.rating-choice input:checked + span {
  background: var(--caution);
  border-color: var(--caution);
  color: var(--asphalt);
}
.rating-choice input:focus-visible + span {
  outline: 3px solid var(--caution);
  outline-offset: 2px;
}

.feedback-panel .checkbox {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 400;
  cursor: pointer;
}
.feedback-panel .checkbox input {
  flex: none;
  width: 24px; height: 24px;
  margin-top: 0.15rem;
  accent-color: var(--caution);
}
.feedback-status {
  margin: 0.9rem 0 0;
  font-weight: 600;
  font-size: var(--step--1);
  min-height: 1.3em;
}
.feedback-status.is-error { color: #FFB4AC; }

.feedback-thanks {
  max-width: 40rem;
  margin-top: 1.5rem;
  padding: 1.75rem;
}
.feedback-thanks h3 { font-size: var(--step-2); margin: 0 0 0.5rem; }
.feedback-thanks p { margin: 0; color: rgba(255, 255, 255, 0.9); }

/* ---------- 8. Booking ---------- */
.preview-banner {
  max-width: 48rem;
  margin-bottom: 1.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-control);
  background: var(--caution-tint);
  border-left: 5px solid var(--caution);
}

.booking { display: grid; gap: 1.5rem; align-items: start; }
.booking-steps { display: grid; gap: 1.25rem; min-width: 0; }

@media (min-width: 1000px) {
  .booking { grid-template-columns: minmax(0, 1fr) 21rem; gap: 2rem; }
  .summary { position: sticky; top: calc(var(--header-h) + 1.25rem); }
}

.step {
  min-width: 0;
  margin: 0;
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
}
.step > legend {
  float: left;               /* lets the legend sit inside the panel padding */
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: var(--step-2);
  font-weight: 800;
  line-height: 1.2;
}
.step > legend + * { clear: both; }
@media (min-width: 600px) { .step { padding: 1.75rem; } }

.subfield { min-width: 0; margin: 0 0 1.5rem; padding: 0; border: 0; }
.subfield:last-child { margin-bottom: 0; }
.subfield > legend { padding: 0; margin-bottom: 0.6rem; font-weight: 600; }

/* Radio tiles */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice-body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  min-height: 4.75rem;
  padding: 0.85rem 2.5rem 0.85rem 1rem;
  background: var(--paper);
  border: 2px solid var(--line-strong);
  border-radius: var(--r-control);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.choice-body::after {         /* radio indicator */
  content: "";
  position: absolute;
  top: 0.85rem; right: 0.85rem;
  width: 1.15rem; height: 1.15rem;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  transition: border-width 0.15s ease, border-color 0.15s ease;
}
.choice-title { font-size: var(--step-1); font-weight: 800; line-height: 1.2; }
.choice-meta { font-size: var(--step--1); color: var(--muted); }
.choice:hover .choice-body { border-color: var(--sign); }
.choice input:checked + .choice-body { border-color: var(--sign); background: var(--sign-tint); }
.choice input:checked + .choice-body::after { border: 6px solid var(--sign); }
.choice input:focus-visible { outline: none; box-shadow: none; }
.choice input:focus-visible + .choice-body {
  outline: 3px solid var(--caution);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--asphalt);
}

/* Calendar + times */
.schedule { display: grid; gap: 1.75rem; }
@media (min-width: 720px) {
  .schedule { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; }
}

.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.75rem; }
.cal-title { margin: 0; font-size: var(--step-1); font-weight: 800; }
.cal-nav {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-control);
  color: var(--asphalt);
  cursor: pointer;
}
.cal-nav:hover:not(:disabled) { border-color: var(--sign); color: var(--sign); }
.cal-nav:disabled { opacity: 0.35; cursor: not-allowed; }

.cal-weekdays, .cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.cal-weekdays span {
  padding-bottom: 0.35rem;
  text-align: center;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--muted);
}
.cal-day {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  min-height: 40px;
  padding: 0 0 4px;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 10px;
  color: #8E949A;
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}
.cal-day.is-full { text-decoration: line-through; }
.cal-day.is-open {
  background: var(--paper);
  border-color: var(--sign);
  color: var(--sign);
  font-weight: 800;
  cursor: pointer;
}
.cal-day.is-open::after {     /* "has open times" dot */
  content: "";
  position: absolute;
  bottom: 5px; left: 50%;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--sign);
}
.cal-day.is-open:hover { background: var(--sign-tint); }
.cal-day.is-selected { background: var(--sign); color: #fff; }
.cal-day.is-selected:hover { background: var(--sign-deep); }
.cal-day.is-selected::after { background: #fff; }
.cal-day.is-today { box-shadow: inset 0 -3px 0 var(--caution); }
.cal-grid.is-loading .cal-day { animation: pulse 1.1s ease-in-out infinite alternate; }

.cal-legend {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  font-size: var(--step--1);
  color: var(--muted);
}
.cal-legend-swatch {
  position: relative;
  flex: none;
  width: 1.4rem; height: 1.4rem;
  border: 1.5px solid var(--sign);
  border-radius: 6px;
  background: var(--paper);
}
.cal-legend-swatch::after {
  content: "";
  position: absolute;
  bottom: 3px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--sign);
}

.times { scroll-margin-top: calc(var(--header-h) + 1rem); }
.times-title {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0 0.75rem;
  font-size: var(--step-1);
  font-weight: 800;
}
.times-group + .times-group { margin-top: 1rem; }
.times-group-label { margin: 0 0 0.4rem; font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr));
  gap: 0.5rem;
}
.time-btn {
  min-height: 48px;
  padding: 0.4rem;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-control);
  color: var(--asphalt);
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.time-btn:hover { border-color: var(--sign); color: var(--sign); }
.time-btn[aria-pressed="true"] { background: var(--sign); border-color: var(--sign); color: #fff; }

.times-empty {
  margin: 0;
  padding: 1rem;
  background: var(--concrete);
  border-radius: var(--r-control);
  color: var(--muted);
}
.times-empty.is-error { background: var(--danger-tint); color: var(--danger); font-weight: 600; }
.times-empty.is-loading { animation: pulse 1.1s ease-in-out infinite alternate; }
.times-retry { margin-top: 0.75rem; }
.times-notice {
  margin: 0 0 0.75rem;
  padding: 0.6rem 0.8rem;
  background: var(--caution-tint);
  border-left: 4px solid var(--caution);
  border-radius: 4px;
  font-size: var(--step--1);
}

@keyframes pulse { from { opacity: 1; } to { opacity: 0.55; } }

/* Form fields */
.fields { display: grid; gap: 1.1rem; }
@media (min-width: 600px) {
  .fields { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .field-wide { grid-column: 1 / -1; }
}
.field { min-width: 0; }
.field > label { display: block; margin-bottom: 0.35rem; font-weight: 600; }
.hint { display: block; font-weight: 400; font-size: var(--step--1); color: var(--muted); }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  font-size: 1rem;           /* 16px+ stops iPhones zooming in on focus */
  color: var(--asphalt);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-control);
  transition: border-color 0.15s ease;
}
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: 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='%2326292E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1.1rem;
}
.field textarea { min-height: 6rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sign); }
.field [aria-invalid="true"] { border-color: var(--danger); background-color: var(--danger-tint); }

.field-error {
  margin: 0.35rem 0 0;
  color: var(--danger);
  font-size: var(--step--1);
  font-weight: 600;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--sign-tint);
  border: 1.5px solid transparent;
  border-radius: var(--r-control);
  font-weight: 600;
  cursor: pointer;
}
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--sign); cursor: pointer; }
.check:has(input[aria-invalid="true"]) { border-color: var(--danger); background: var(--danger-tint); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Summary (green sign) */
.summary-card { padding: 1.75rem 1.5rem; box-shadow: inset 0 0 0 6px var(--sign), inset 0 0 0 8.5px #fff; }
.summary-card h3 { font-size: var(--step-2); margin-bottom: 0.75rem; }
.summary-card dl { margin: 0 0 0.75rem; }
.summary-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.summary-card dt { color: rgba(255, 255, 255, 0.82); }
.summary-card dd { margin: 0; font-weight: 600; text-align: right; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0.75rem 0 0.25rem; }
.summary-total strong { font-size: var(--step-3); line-height: 1; }
.summary-fine { font-size: var(--step--1); color: rgba(255, 255, 255, 0.85); }
.summary-discount {
  margin-top: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--r-control);
  background: rgba(255, 197, 48, 0.16);
  border: 1px solid rgba(255, 197, 48, 0.5);
  color: #fff;
  font-size: var(--step--1);
  font-weight: 600;
}
.form-status {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  background: #fff;
  border-left: 5px solid var(--danger);
  border-radius: 6px;
  color: var(--danger);
  font-size: var(--step--1);
  font-weight: 600;
}
.summary-card .btn { margin-top: 1rem; }
.summary-card .btn:focus-visible { outline-color: #fff; }
.summary-privacy { margin-top: 0.9rem; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.8); }

/* Confirmation */
.confirmation {
  max-width: 44rem;
  padding: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
}
.confirmation:focus { outline: none; box-shadow: none; }
.confirmation:not([hidden]) .confirm-sign { animation: sign-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.confirm-sign { padding: 1.75rem 1.75rem 1.6rem; margin-bottom: 1.5rem; }
.confirm-sign h3 { font-size: var(--step-3); margin-bottom: 0.35rem; }
.confirm-sign p { font-size: var(--step-1); font-weight: 600; }
.confirm-lead { font-size: var(--step-1); line-height: 1.5; }
.confirm-list { margin: 0 0 1rem; padding-left: 1.25rem; }
.confirm-list li { margin-bottom: 0.35rem; }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.confirm-ref { margin-top: 1.25rem; font-size: var(--step--1); color: var(--muted); }
@keyframes sign-in {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 9. Pricing page ---------- */
.page-hero { padding-block: clamp(2rem, 1.5rem + 3vw, 4.5rem); }
.page-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.page-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 1.5rem + 4.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.lead { max-width: 36rem; font-size: var(--step-1); line-height: 1.5; color: var(--muted); }

/* Rate shown as a speed-limit-style sign on a post */
.rate-post { position: relative; justify-self: start; padding-bottom: 2.5rem; }
.rate-post::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  width: 14px; height: 2.75rem;
  margin-left: -7px;
  background: linear-gradient(to right, #8A9097, #B8BDC2 45%, #8A9097);
  border-radius: 0 0 3px 3px;
  z-index: -1;
}
.rate-sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(14rem, 64vw);
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 1.25rem;
  background: #fff;
  color: var(--asphalt);
  border-radius: 16px;
  text-align: center;
  box-shadow:
    inset 0 0 0 7px #fff,
    inset 0 0 0 11px var(--asphalt),
    0 0 0 1px var(--line),
    0 20px 36px -20px rgba(38, 41, 46, 0.5);
}
.rate-sign-top, .rate-sign-bottom { font-size: 1.45rem; font-weight: 800; line-height: 1.1; }
.rate-sign-num {
  margin: 0.4rem 0 0.2rem;
  font-size: clamp(4.25rem, 3.5rem + 3vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: lining-nums;
}
@media (min-width: 760px) {
  .page-hero-grid { grid-template-columns: 1fr auto; gap: 4rem; }
  .rate-post { justify-self: end; margin-right: 2rem; }
}

.rates-grid { display: grid; gap: 2.5rem; align-items: start; }
.rates-grid h2 { font-size: var(--step-3); }
@media (min-width: 900px) { .rates-grid { grid-template-columns: 1.5fr 1fr; gap: 3.5rem; } }

.table-wrap { overflow-x: auto; }
.rate-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  overflow: hidden;
  font-size: var(--step-0);
}
@media (min-width: 600px) { .rate-table { font-size: var(--step-1); } }
.rate-table th, .rate-table td {
  padding: 1rem clamp(0.75rem, 0.5rem + 1.5vw, 1.5rem);
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.rate-table thead th { background: var(--asphalt); color: #fff; font-size: var(--step-0); font-weight: 600; }
.rate-table tbody th { font-weight: 800; }
.rate-table td { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rate-table tbody tr:last-child > * { border-bottom: 0; }
.fine { margin-top: 1rem; font-size: var(--step--1); color: var(--muted); }

.pay-panel {
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  background: var(--caution);
  border-radius: var(--r-panel);
}
.pay-panel h2 { font-size: var(--step-3); }

.vehicle-options { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .vehicle-options { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.vehicle {
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
}
.vehicle-icon { width: 4rem; height: auto; margin-bottom: 1.25rem; }
.vehicle h3 { font-size: var(--step-2); margin-bottom: 0.25rem; }
.vehicle-price { font-size: var(--step-1); font-weight: 800; color: var(--sign); }

.ticks { margin: 1.25rem 0 0; padding: 1rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding-left: 1.75rem; margin-bottom: 0.5rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.15rem; top: 0.35rem;
  width: 0.7rem; height: 0.4rem;
  border-left: 3px solid var(--sign);
  border-bottom: 3px solid var(--sign);
  transform: rotate(-45deg);
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  overflow: hidden;
}
.checklist li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 1rem;
  padding: 1.15rem clamp(1rem, 0.75rem + 1vw, 1.5rem);
  border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li.is-required { background: var(--caution-tint); }
.checklist svg { width: 1.75rem; height: 1.75rem; color: var(--sign); }
.checklist strong { display: block; font-size: var(--step-1); line-height: 1.3; margin-bottom: 0.2rem; }
.checklist li > div > span { color: var(--muted); }
.pill {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.2rem 0.6rem 0.05rem;
  border-radius: 999px;
  background: var(--asphalt);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  vertical-align: 0.15em;
  white-space: nowrap;
}

.faq { margin-top: 1.5rem; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq details:first-child { border-top: 1px solid var(--line-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 1rem 0;
  font-size: var(--step-1);
  font-weight: 800;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1;
  color: var(--sign);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 40rem; padding-bottom: 1.25rem; color: var(--muted); }
#faq-title { font-size: var(--step-4); }

.cta-band { padding-bottom: var(--space-section); }
.cta-sign {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem) clamp(1.5rem, 1rem + 3vw, 3.5rem);
}
.cta-sign h2 { margin-bottom: 0.3rem; font-size: var(--step-3); }
.cta-sign p { color: rgba(255, 255, 255, 0.88); }
@media (max-width: 519px) { .cta-sign .btn { width: 100%; } }

/* ---------- 10. Footer ---------- */
.site-footer { padding-block: 3rem 1.5rem; background: var(--asphalt); color: #E4E6E8; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.4); }
.site-footer a:hover { color: var(--caution); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.brand-light, .brand-light:hover { color: #fff; }
.footer-blurb { max-width: 24rem; margin-top: 0.75rem; color: #C5CAD0; }
.footer-title { margin-bottom: 0.6rem; font-size: var(--step-0); color: #fff; }
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li { padding: 0.3rem 0; }
.footer-list a { display: inline-block; padding: 0.2rem 0; }
.footer-base {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--step--1);
  color: #B9BEC4;
}

/* ---------- 11. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
