/* ==========================================================================
   Mao Taxi Express — Design tokens
   Direction: dark luxury automotive. Near-black charcoal, metallic gold,
   cool steel silver — the "premium chauffeur brand" register, not a generic
   taxi-yellow site. Full light (pearl) + dark (charcoal) themes, toggled
   and persisted, no flash on load. `--teal` now carries the metallic-silver
   secondary accent (kept as the same variable name to avoid touching every
   reference; it no longer means "teal").
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Manrope:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

:root {
  --bg: #f5f2ea;
  --surface: #ffffff;
  --surface-2: #ece6d6;
  --surface-3: #e1d9c4;
  --border: rgba(20, 18, 10, 0.12);
  --border-strong: rgba(20, 18, 10, 0.22);
  --text: #17161a;
  --text-soft: rgba(23, 22, 26, 0.66);
  --text-faint: rgba(23, 22, 26, 0.44);
  --accent: #b8892e;
  --accent-strong: #9c7522;
  --accent-ink: #1a1508;
  --accent-text: #8a6a1c;
  --teal: #6d7580;
  --live: #1f9d5c;
  --shadow: rgba(20, 18, 10, 0.18);
  --map-line: rgba(20, 18, 10, 0.16);
  --map-block: rgba(20, 18, 10, 0.05);
  --scheme: light;

  --font-display: 'Fraunces', ui-serif, Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0c;
    --surface: #131316;
    --surface-2: #1b1b1f;
    --surface-3: #242429;
    --border: rgba(245, 242, 234, 0.09);
    --border-strong: rgba(245, 242, 234, 0.17);
    --text: #f5f2ea;
    --text-soft: rgba(245, 242, 234, 0.68);
    --text-faint: rgba(245, 242, 234, 0.44);
    --accent: #d4af37;
    --accent-strong: #e8c766;
    --accent-ink: #1a1508;
    --accent-text: #d4af37;
    --teal: #b9bec6;
    --live: #35e08a;
    --shadow: rgba(0, 0, 0, 0.6);
    --map-line: rgba(245, 242, 234, 0.16);
    --map-block: rgba(245, 242, 234, 0.06);
    --scheme: dark;
  }
}
:root[data-theme='light'] {
  --bg: #f5f2ea;
  --surface: #ffffff;
  --surface-2: #ece6d6;
  --surface-3: #e1d9c4;
  --border: rgba(20, 18, 10, 0.12);
  --border-strong: rgba(20, 18, 10, 0.22);
  --text: #17161a;
  --text-soft: rgba(23, 22, 26, 0.66);
  --text-faint: rgba(23, 22, 26, 0.44);
  --accent: #b8892e;
  --accent-strong: #9c7522;
  --accent-ink: #1a1508;
  --accent-text: #8a6a1c;
  --teal: #6d7580;
  --live: #1f9d5c;
  --shadow: rgba(20, 18, 10, 0.18);
  --map-line: rgba(20, 18, 10, 0.16);
  --map-block: rgba(20, 18, 10, 0.05);
  --scheme: light;
}
:root[data-theme='dark'] {
  --bg: #0a0a0c;
  --surface: #131316;
  --surface-2: #1b1b1f;
  --surface-3: #242429;
  --border: rgba(245, 242, 234, 0.09);
  --border-strong: rgba(245, 242, 234, 0.17);
  --text: #f5f2ea;
  --text-soft: rgba(245, 242, 234, 0.68);
  --text-faint: rgba(245, 242, 234, 0.44);
  --accent: #d4af37;
  --accent-strong: #e8c766;
  --accent-ink: #1a1508;
  --accent-text: #d4af37;
  --teal: #b9bec6;
  --live: #35e08a;
  --shadow: rgba(0, 0, 0, 0.6);
  --map-line: rgba(245, 242, 234, 0.16);
  --map-block: rgba(245, 242, 234, 0.06);
  --scheme: dark;
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
svg { display: block; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
  position: relative;
}
/* faint film grain so surfaces feel textured rather than flat digital color */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* ---- eyebrow / labels ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: '';
  width: 1.4em;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  padding: 0.85em 1.4em;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-accent:hover { background: var(--accent-strong); transform: translateY(-1px); box-shadow: 0 8px 20px -8px var(--accent); }
.btn-accent:active { transform: translateY(0); }
.btn-outline {
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  border-color: transparent;
}
.btn-whatsapp:hover { background: #1fbd5a; transform: translateY(-1px); box-shadow: 0 8px 20px -8px #25d366; }
.btn-whatsapp:active { transform: translateY(0); }
.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--surface-2);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 0.6em 1em; font-size: 0.82rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  white-space: nowrap;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-actions .btn { padding: 0.65em 1.05em; font-size: 0.85rem; }
.nav-inline {
  display: flex;
  gap: clamp(0.9rem, 2vw, 1.7rem);
  font-size: clamp(0.8rem, 1vw, 0.88rem);
  color: var(--text-soft);
  flex: none;
}
.nav-inline a { transition: color 0.2s var(--ease); white-space: nowrap; }
.nav-inline a:hover { color: var(--accent-text); }

/* ---- language switcher: dropdown ---- */
.lang-dropdown { position: relative; flex: none; }
.lang-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5em 0.7em;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-dropdown-toggle:hover { border-color: var(--accent); color: var(--text); }
.lang-dropdown-toggle svg { width: 0.85rem; height: 0.85rem; flex: none; }
.lang-dropdown-toggle .chevron { width: 0.6rem; height: 0.6rem; transition: transform 0.2s var(--ease); }
.lang-dropdown.is-open .chevron { transform: rotate(180deg); }
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 150px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 40px -20px var(--shadow);
  overflow: hidden;
  z-index: 60;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.lang-dropdown.is-open .lang-dropdown-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lang-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.65em 0.95em;
  font-size: 0.85rem;
  color: var(--text);
  transition: background 0.15s var(--ease);
}
.lang-btn:hover { background: var(--surface-2); }
.lang-btn.is-active { color: var(--accent-text); font-weight: 700; }
.lang-dropdown-drawer { align-self: center; margin-top: 0.5rem; }
.lang-dropdown-drawer .lang-dropdown-menu { right: auto; left: 50%; transform: translate(-50%, -6px); }
.lang-dropdown-drawer.is-open .lang-dropdown-menu { transform: translate(-50%, 0); }
@media (max-width: 900px) {
  .header-actions > .lang-dropdown { display: none; }
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--text);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent-text); }
.theme-toggle svg { width: 1.1rem; height: 1.1rem; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme='light'] .theme-toggle .icon-sun { display: block; }
:root[data-theme='light'] .theme-toggle .icon-moon { display: none; }

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  place-items: center;
  color: var(--text);
}
.menu-toggle svg { width: 1.1rem; height: 1.1rem; }
.menu-toggle .icon-close { display: none; }
body.nav-open .menu-toggle .icon-menu { display: none; }
body.nav-open .menu-toggle .icon-close { display: block; }

@media (max-width: 900px) {
  .nav-inline { display: none; }
  .menu-toggle { display: grid; }
  .header-actions .btn-outline,
  .header-actions .btn-whatsapp { display: none; }
}
@media (max-width: 420px) {
  .brand-sub { display: none; }
}

/* ---- mobile drawer ---- */
.nav-drawer {
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 55;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h, 64px) + 1.5rem) var(--gutter) 2rem;
  gap: 2rem;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
  visibility: hidden;
}
body.nav-open .nav-drawer { transform: translateY(0); visibility: visible; }
.nav-drawer nav { display: flex; flex-direction: column; gap: 1.6rem; }
.nav-drawer nav a {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
}
.nav-drawer .drawer-actions { display: flex; flex-direction: column; gap: 0.8rem; margin-top: auto; }
@media (min-width: 901px) {
  .nav-drawer { display: none; }
}

/* ==========================================================================
   Hero — centered, editorial, daylight (no boxed ticket-card composition)
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
  /* the hero always sits on a dark night photo, so pin its tokens to the
     dark-mode values regardless of the site-wide light/dark toggle —
     everything inside (headline, chip, ticket-card glass, inputs) inherits
     these automatically since they're the same custom properties. */
  --text: #f5f2ea;
  --text-soft: rgba(245, 242, 234, 0.74);
  --text-faint: rgba(245, 242, 234, 0.52);
  --border: rgba(245, 242, 234, 0.18);
  --border-strong: rgba(245, 242, 234, 0.3);
  --surface: rgba(16, 15, 16, 0.6);
  --surface-2: rgba(255, 255, 255, 0.09);
  --accent-text: #f0c85e;
  --shadow: rgba(0, 0, 0, 0.65);
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(100deg, rgba(4, 4, 5, 0.92) 0%, rgba(4, 4, 5, 0.78) 28%, rgba(4, 4, 5, 0.38) 55%, rgba(4, 4, 5, 0.56) 78%, rgba(4, 4, 5, 0.86) 100%),
    linear-gradient(to top, rgba(4, 4, 5, 0.9) 0%, rgba(4, 4, 5, 0.12) 34%, transparent 56%),
    url('../assets/images/hero-bg.jpeg');
  background-size: cover, cover, cover;
  background-position: center, center, 66% 38%;
  background-repeat: no-repeat;
}
@media (max-width: 940px) {
  .hero-photo {
    background-image:
      linear-gradient(180deg, rgba(4, 4, 5, 0.74) 0%, rgba(4, 4, 5, 0.9) 42%, rgba(4, 4, 5, 0.97) 100%),
      url('../assets/images/hero-bg.jpeg');
    background-size: cover, cover;
    background-position: center, 62% 32%;
  }
}

/* ---- live status dot (chip, ticker, chat mockup) ---- */
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 55%, transparent);
  animation: pulse 2s ease-out infinite;
  flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 55%, transparent); }
  70% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--live) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 0%, transparent); }
}
/* ---- ambient floating icons: small, quiet, in a slow drifting loop ---- */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  color: var(--accent-text);
  opacity: 0;
  animation-name: particleDrift;
  animation-duration: var(--dur, 12s);
  animation-delay: var(--delay, 0s);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.particle svg { width: 100%; height: 100%; display: block; }
@keyframes particleDrift {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  14%  { opacity: var(--op, 0.3); }
  50%  { transform: translate(var(--dx, 14px), var(--dy, -18px)) rotate(var(--rot, 8deg)); }
  86%  { opacity: var(--op, 0.3); }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .particle { animation: none; opacity: var(--op, 0.3); }
}
@media (max-width: 640px) {
  .particle { transform: scale(0.85); }
}

/* ---- one-time cinematic gold light sweep on load ---- */
.hero-shine {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-shine::before {
  content: '';
  position: absolute;
  top: -25%;
  left: -35%;
  width: 38%;
  height: 150%;
  background: linear-gradient(100deg, transparent 15%, color-mix(in srgb, var(--accent) 30%, transparent) 50%, transparent 85%);
  transform: translateX(-120%) rotate(8deg);
  animation: heroShine 2.4s cubic-bezier(0.4, 0, 0.2, 1) 0.7s 1 both;
}
@keyframes heroShine {
  0% { transform: translateX(-120%) rotate(8deg); opacity: 0; }
  18% { opacity: 1; }
  62% { opacity: 1; }
  100% { transform: translateX(340%) rotate(8deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-shine::before { display: none; }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 400px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4em 0.9em 0.4em 0.7em;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 1.6rem;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 500;
  max-width: 15ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-text);
}
.hero-lede {
  margin-top: 1.3rem;
  max-width: 42ch;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--text-soft);
}
.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.hero-trust {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.7rem;
  font-size: 0.86rem;
  color: var(--text-faint);
}
.hero-trust strong { color: var(--text); font-weight: 700; }
.hero-trust .sep { opacity: 0.5; }

/* ---- ticket card (signature): a boarding-pass styled trip request that opens in WhatsApp ---- */
.ticket-card {
  position: relative;
  display: block;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.4rem;
  box-shadow: 0 34px 64px -28px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ticket-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.ticket-rating {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  color: var(--accent-text);
  white-space: nowrap;
}
.ticket-kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--text);
}

/* ---- route: pickup + drop-off side by side, arrow divider between ---- */
.ticket-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.ticket-route-field { position: relative; min-width: 0; }
.ticket-route-field label,
.ticket-meta-field label,
.toggle-group-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.3rem;
}
.ticket-input-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border-bottom: 1.5px solid var(--border-strong);
  padding-bottom: 0.32rem;
  transition: border-color 0.2s var(--ease);
}
.ticket-input-row:focus-within { border-color: var(--accent); }
.ticket-input-row input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
}
.ticket-input-row input::placeholder { font-family: var(--font-body); font-size: 0.84rem; color: var(--text-faint); }
.ticket-input-row input:focus { outline: none; }
.ticket-input-row .locate-btn {
  position: static;
  transform: none;
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  color: var(--text-faint);
}
.ticket-input-row .locate-btn svg { width: 0.95rem; height: 0.95rem; }
.ticket-input-row .locate-btn:hover { color: var(--accent-text); background: none; }

.ticket-route-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.5rem;
  color: var(--accent-text);
  opacity: 0.75;
}
.ticket-route-divider svg { width: 1.1rem; height: 1.1rem; }

.ticket-route-field .quote-suggest { top: calc(100% + 0.3rem); }

@media (max-width: 380px) {
  .ticket-route { grid-template-columns: 1fr; }
  .ticket-route-divider { display: none; }
}

/* ---- decorative "ticket tear" perforation ---- */
.ticket-tear {
  height: 1px;
  margin: 0 -1.5rem 1.1rem;
  background-image: linear-gradient(to right, var(--border-strong) 0 6px, transparent 6px 12px);
  background-size: 12px 1px;
  background-repeat: repeat-x;
}

/* ---- date + passengers ---- */
.ticket-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}
.ticket-meta-field input,
.ticket-meta-field select {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid var(--border-strong);
  background: none;
  padding: 0.3em 0.1em;
  border-radius: 0;
  font: inherit;
  font-size: 0.92rem;
  color: var(--text);
  appearance: none;
  transition: border-color 0.2s var(--ease);
}
.ticket-meta-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--text-faint) 50%), linear-gradient(135deg, var(--text-faint) 50%, transparent 50%);
  background-position: calc(100% - 6px) center, calc(100% - 1px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  color-scheme: light;
}
/* the ticket card is always on a dark background (see .hero override notes
   above) — force the native calendar icon to its light variant so it isn't
   a near-invisible dark glyph on a dark field */
.ticket-meta-field input[type="datetime-local"] { color-scheme: dark; }
/* the native <option> popup is always rendered on a light system background
   by the browser, regardless of page theme — force readable dark text so it
   never inherits the hero's light (near-white) --text color */
.ticket-meta-field select option {
  color: #14161a;
  background: #ffffff;
}
.ticket-meta-field input:focus,
.ticket-meta-field select:focus {
  outline: none;
  border-color: var(--accent);
}

/* ---- vehicle + payment: icon-only toggle pairs ---- */
.ticket-toggles {
  display: flex;
  gap: 1.4rem;
  margin-bottom: 1.1rem;
}
.toggle-group { flex: 1; min-width: 0; }
.icon-toggle { display: flex; gap: 0.5rem; }
.icon-toggle-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex: 1;
  cursor: pointer;
}
.icon-toggle-btn input { position: absolute; opacity: 0; width: 0; height: 0; }
.icon-toggle-btn svg {
  width: 2.1rem;
  height: 2.1rem;
  padding: 0.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-soft);
  background: var(--surface-2);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-toggle-btn input:checked + svg { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.icon-toggle-btn input:focus-visible + svg { outline: 2px solid var(--teal); outline-offset: 2px; }
.icon-toggle-caption {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.62rem;
  color: var(--text-faint);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}
.icon-toggle-btn input:checked ~ .icon-toggle-caption { color: var(--accent-text); font-weight: 700; }
.soon-tag {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  padding: 0.1em 0.35em;
  border-radius: var(--radius-full);
}

/* ---- combo-dropdown: shared trigger+panel pattern (vehicle, passengers) ---- */
.combo-dropdown { position: relative; }
.combo-native-select { display: none; }
.combo-trigger {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  border: none;
  border-bottom: 1.5px solid var(--border-strong);
  background: none;
  padding: 0.3em 0.1em;
  font: inherit;
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}
.combo-trigger:hover,
.combo-dropdown.is-open .combo-trigger { border-color: var(--accent); }
.combo-chevron { width: 0.75rem; height: 0.75rem; margin-left: auto; flex: none; color: var(--text-faint); transition: transform 0.2s var(--ease); }
.combo-dropdown.is-open .combo-chevron { transform: rotate(180deg); }

/* passengers: a real number input (free entry) + a small quick-pick chevron */
.combo-input-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border-bottom: 1.5px solid var(--border-strong);
  padding-bottom: 0.3em;
  transition: border-color 0.2s var(--ease);
}
.combo-input-row:focus-within,
.combo-dropdown.is-open .combo-input-row { border-color: var(--accent); }
.combo-input-row input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.92rem;
  color: var(--text);
  appearance: textfield;
}
.combo-input-row input::-webkit-outer-spin-button,
.combo-input-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.combo-input-row input:focus { outline: none; }
#passengers-dropdown .combo-trigger {
  width: auto;
  flex: none;
  border-bottom: none;
  padding: 0.2rem;
}

.combo-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 0.4rem);
  z-index: 20;
  /* --surface-3 on purpose, same reasoning as .quote-suggest: guaranteed
     opaque so the panel never shows the hero photo through it */
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 40px -18px var(--shadow);
  overflow: hidden;
}
/* passengers: a simple vertical list of numbers */
.combo-panel-simple { right: 0; display: flex; flex-direction: column; }
/* the [hidden] attribute is how JS opens/closes these panels — author
   `display: flex`/`grid` above has equal specificity to the UA `[hidden]`
   rule and would otherwise win, leaving a "closed" panel visible/clickable */
.combo-panel[hidden] { display: none; }
.combo-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55em 0.9em;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s var(--ease);
}
.combo-option:last-child { border-bottom: none; }
.combo-option:hover { background: var(--surface-2); }
.combo-option.is-selected { color: var(--accent-text); font-weight: 700; }

/* vehicle: a real photo (or icon placeholder) on top, info below, 3 across */
.vehicle-trigger-icon { display: flex; flex: none; width: 1.2rem; height: 1.2rem; border-radius: 50%; overflow: hidden; }
.vehicle-trigger-icon svg { width: 1.2rem; height: 1.2rem; color: var(--accent-text); }
.vehicle-trigger-icon img { width: 100%; height: 100%; object-fit: cover; }
.combo-panel-rich {
  width: 300px;
  max-width: calc(100vw - 2.5rem);
  padding: 0.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}
.vehicle-option-row {
  display: flex;
  flex-direction: column;
  border-radius: calc(var(--radius-sm) - 2px);
  overflow: hidden;
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.vehicle-option-row:hover { background: var(--surface-2); }
.vehicle-option-row:has(input:checked) { border-color: var(--accent); }
.vehicle-option-row input { position: absolute; opacity: 0; width: 0; height: 0; }
.vehicle-option-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 0.9;
  background: var(--surface-2);
  color: var(--text-soft);
}
.vehicle-option-photo svg { width: 1.9rem; height: 1.9rem; }
.vehicle-option-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vehicle-option-check {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  width: 1.15rem;
  height: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease);
}
.vehicle-option-check svg { width: 0.7rem; height: 0.7rem; }
.vehicle-option-row input:checked ~ .vehicle-option-photo .vehicle-option-check { opacity: 1; transform: scale(1); }
.vehicle-option-row input:checked ~ .vehicle-option-photo { color: var(--accent-text); }
.vehicle-option-row input:focus-visible ~ .vehicle-option-photo { outline: 2px solid var(--teal); outline-offset: -2px; }
.vehicle-option-text { min-width: 0; padding: 0.4rem 0.3rem 0.45rem; text-align: center; }
.vehicle-option-name { display: block; font-size: 0.68rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.vehicle-option-note { display: block; font-family: var(--font-mono); font-size: 0.56rem; color: var(--text-faint); margin-top: 0.15rem; line-height: 1.3; }

/* ---- fare estimate ---- */
.ticket-fare {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem 0.6rem;
  padding: 0.75rem 0;
  margin-bottom: 0.9rem;
  border-top: 1px dashed var(--border-strong);
  font-size: 0.8rem;
  color: var(--text-soft);
}
.ticket-fare-amount { margin-left: auto; font-family: var(--font-mono); font-size: 1.18rem; color: var(--accent-text); white-space: nowrap; }
.ticket-fare .fare-sub { flex-basis: 100%; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-faint); }

.ticket-submit { margin-top: 0; }

/* ---- pickup/drop-off + map-modal search: text input + "choose on map" button + suggestions ---- */
.quote-locate { position: relative; }
.quote-locate input { padding-right: 2.6rem; }
.locate-btn {
  position: absolute;
  top: 50%;
  right: 0.4rem;
  transform: translateY(-50%);
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  color: var(--text-faint);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.locate-btn svg { width: 1.05rem; height: 1.05rem; }
.locate-btn:hover { color: var(--accent-text); background: color-mix(in srgb, var(--accent) 14%, transparent); }

.quote-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 5;
  /* --surface-3 on purpose: inside the hero, --surface is a translucent
     glass color for the quote card itself — a dropdown list needs a fully
     opaque background so page content doesn't show through behind it */
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 40px -20px var(--shadow);
  overflow: hidden;
  max-height: 220px;
  overflow-y: auto;
}
.quote-suggest-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.65em 0.85em;
  font-size: 0.85rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.quote-suggest-item:last-child { border-bottom: none; }
.quote-suggest-item:hover { background: var(--surface-2); color: var(--accent-text); }

/* ==========================================================================
   Map location picker (modal)
   ========================================================================== */
.map-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}
.map-modal.is-open { display: flex; }
.map-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 5, 0.72);
  backdrop-filter: blur(4px);
}
.map-modal-panel {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(760px, 92vh);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
.map-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.4rem 1rem;
}
.map-modal-head h3 { font-size: 1.1rem; font-weight: 600; color: var(--text); }
.map-modal-head p { margin-top: 0.3rem; font-size: 0.84rem; color: var(--text-soft); }
.map-modal-close {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  color: var(--text-soft);
  flex: none;
}
.map-modal-close:hover { color: var(--accent-text); border-color: var(--accent); }
.map-modal-close svg { width: 1rem; height: 1rem; }
.map-modal-search {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 1.4rem 1rem;
  padding: 0.55em 0.9em;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.map-modal-search svg { width: 1.1rem; height: 1.1rem; color: var(--text-faint); flex: none; }
.map-modal-search input { flex: 1; border: none; background: none; font: inherit; font-size: 0.82rem; color: var(--text); outline: none; }
.map-modal-search .quote-suggest { top: calc(100% + 0.5rem); left: -1px; right: -1px; z-index: 11; background: var(--surface); }
.map-modal-map {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 320px;
  width: 100%;
  background: var(--surface-2);
}
.my-location-btn {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  /* Leaflet's own panes (tiles, markers, popups) use z-indexes up to ~700,
     so this needs to clear all of them to stay visible over the map */
  z-index: 750;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55em 0.9em 0.55em 0.7em;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.6);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.my-location-btn svg { width: 1.05rem; height: 1.05rem; color: var(--teal); flex: none; }
.my-location-btn:hover { border-color: var(--teal); color: var(--accent-text); }
.my-location-btn.is-locating svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.map-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--border);
}
.map-modal-address { font-size: 0.82rem; color: var(--text-soft); }
.map-modal-foot .btn { flex: none; white-space: nowrap; }
@media (max-width: 640px) {
  .map-modal { padding: 0; }
  .map-modal-panel { width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .map-modal-foot { flex-direction: column; align-items: stretch; }
  .map-modal-address { text-align: center; }
}

/* ---- test payment modal (no merchant account yet — clearly labeled as a demo) ---- */
.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}
.pay-modal.is-open { display: flex; }
.pay-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 5, 0.72);
  backdrop-filter: blur(4px);
}
.pay-modal-panel {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 2.2rem 1.8rem 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
}
.pay-modal-panel .map-modal-close { position: absolute; top: 1rem; right: 1rem; }
.pay-modal-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.3rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent-text);
}
.pay-modal-icon svg { width: 1.5rem; height: 1.5rem; }
.pay-modal-panel h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.pay-modal-panel p { font-size: 0.84rem; color: var(--text-soft); line-height: 1.5; }
.pay-modal-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  margin: 0.3rem 0 0.4rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: 0.84rem;
  color: var(--text-soft);
}
#pay-modal-amount { font-family: var(--font-mono); font-size: 1.05rem; color: var(--accent-text); }
.pay-modal-panel .btn { width: 100%; margin-top: 0.4rem; }

/* ---- route ribbon (signature) ---- */
.route-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding-block: 2rem;
}
.route-ribbon {
  position: relative;
  z-index: 1;
  width: 100%;
}
.route-ribbon-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  padding-bottom: 0.4rem;
}
.route-travel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 11px;
  pointer-events: none;
}
.route-travel-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 22%, transparent), 0 0 16px 2px color-mix(in srgb, var(--live) 55%, transparent);
  transform: translate(-50%, -50%);
  animation: routeTravel 15s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
}
/* dot centers on each stop's marker: stop marker is 11px wide, so its centre
   sits 5.5px right of the stop's own left edge — add that offset here */
@keyframes routeTravel {
  0%      { left: calc(0% + 5.5px);      opacity: 0; background: var(--live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 22%, transparent), 0 0 16px 2px color-mix(in srgb, var(--live) 55%, transparent); }
  2%      { opacity: 1; }
  12%     { left: calc(0% + 5.5px); }
  12.3%   { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 16px 2px color-mix(in srgb, var(--accent) 55%, transparent); }
  22%     { left: calc(16.667% + 5.5px); }
  22.3%   { background: var(--live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 22%, transparent), 0 0 16px 2px color-mix(in srgb, var(--live) 55%, transparent); }
  30%     { left: calc(16.667% + 5.5px); }
  30.3%   { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 16px 2px color-mix(in srgb, var(--accent) 55%, transparent); }
  40%     { left: calc(33.333% + 5.5px); }
  40.3%   { background: var(--live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 22%, transparent), 0 0 16px 2px color-mix(in srgb, var(--live) 55%, transparent); }
  48%     { left: calc(33.333% + 5.5px); }
  48.3%   { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 16px 2px color-mix(in srgb, var(--accent) 55%, transparent); }
  58%     { left: calc(50% + 5.5px); }
  58.3%   { background: var(--live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 22%, transparent), 0 0 16px 2px color-mix(in srgb, var(--live) 55%, transparent); }
  66%     { left: calc(50% + 5.5px); }
  66.3%   { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 16px 2px color-mix(in srgb, var(--accent) 55%, transparent); }
  76%     { left: calc(66.667% + 5.5px); }
  76.3%   { background: var(--live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 22%, transparent), 0 0 16px 2px color-mix(in srgb, var(--live) 55%, transparent); }
  84%     { left: calc(66.667% + 5.5px); }
  84.3%   { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 16px 2px color-mix(in srgb, var(--accent) 55%, transparent); }
  94%     { left: calc(83.333% + 5.5px); }
  94.3%   { background: var(--live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 22%, transparent), 0 0 16px 2px color-mix(in srgb, var(--live) 55%, transparent); }
  98%     { left: calc(83.333% + 5.5px); opacity: 1; }
  100%    { left: calc(83.333% + 5.5px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .route-travel-dot { animation: none; left: calc(0% + 5.5px); opacity: 1; }
}
.route-stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: clamp(120px, 18vw, 190px);
  flex: none;
  text-align: center;
}
.route-stop-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  flex: none;
}
.route-stop.is-live .route-stop-dot { background: var(--live); border-color: var(--live); }
.route-stop-line {
  width: 100%;
  height: 2px;
  background-image: linear-gradient(to right, var(--border-strong) 0 6px, transparent 6px 12px);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  margin-top: 5px;
}
.route-stop:last-child .route-stop-line { visibility: hidden; }
.route-stop-row { display: flex; align-items: center; width: 100%; }
.route-stop-label {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.route-scroll { overflow-x: auto; scrollbar-width: none; }
.route-scroll::-webkit-scrollbar { display: none; }
@media (max-width: 760px) {
  .route-ribbon .wrap { padding-inline: var(--gutter); }
}

/* ==========================================================================
   Trust ticker — signature element (replaces a static stat grid)
   ========================================================================== */
.ticker {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--text);
  padding-block: 0.85rem;
  padding-inline: clamp(1rem, 3vw, 2.1rem);
  white-space: nowrap;
  border-right: 1px solid var(--border);
}
.ticker-item .dim { color: var(--text-faint); }
.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 8px 1px color-mix(in srgb, var(--live) 70%, transparent);
  animation: blink 1.8s ease-in-out infinite;
  flex: none;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ==========================================================================
   Section basics
   ========================================================================== */
section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-top: 0.6rem; }
.section-head p { color: var(--text-soft); font-size: 1.02rem; }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Ride options (services) — app-style list
   ========================================================================== */
.ride-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.ride-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.1rem;
  padding: 1.3rem 0.5rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.ride-row:hover { background: var(--surface); padding-left: 1rem; }
.ride-row-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex: none;
}
.ride-row-icon svg { width: 1.5rem; height: 1.5rem; }
.ride-row-body h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 0.3rem; }
.ride-row-body p { color: var(--text-soft); font-size: 0.92rem; max-width: 52ch; }
.ride-row-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  text-transform: uppercase;
  white-space: nowrap;
  display: none;
}
.ride-row-arrow { color: var(--text-faint); width: 1.1rem; height: 1.1rem; transition: transform 0.2s var(--ease), color 0.2s var(--ease); }
.ride-row:hover .ride-row-arrow { transform: translateX(3px); color: var(--accent-text); }
@media (min-width: 620px) {
  .ride-row { grid-template-columns: auto 1fr auto auto; }
  .ride-row-tag { display: block; }
}

/* ==========================================================================
   About / why-us
   ========================================================================== */
.about { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about h2 { font-size: clamp(1.8rem, 3.2vw, 2.3rem); }
.about-copy { margin-top: 1.1rem; color: var(--text-soft); max-width: 46ch; }
.about-copy + .about-copy { margin-top: 0.9rem; }
.stat-row {
  margin-top: 2.1rem;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(1.4rem, 4vw, 2.6rem);
}
.stat .num { font-family: var(--font-mono); font-size: clamp(1.5rem, 3vw, 1.9rem); color: var(--accent-text); }
.stat .label { font-size: 0.76rem; letter-spacing: 0.02em; color: var(--text-faint); margin-top: 0.3rem; }

/* ---- chat mockup ---- */
.chat-mock {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  box-shadow: 0 24px 50px -28px var(--shadow);
}
.chat-mock-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.8rem;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-soft);
}
.chat-mock-head .live-dot { animation: none; }
.bubble {
  max-width: 82%;
  padding: 0.65em 0.9em;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.4;
}
.bubble-in { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 4px; color: var(--text); }
.bubble-out { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; font-weight: 600; }
.bubble-time { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-faint); align-self: flex-end; margin-top: -0.3rem; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .chat-mock-wrap { order: -1; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Find us
   ========================================================================== */
.find-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: stretch;
}
.map-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }
.find-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  box-shadow: 0 22px 44px -30px var(--shadow);
}
.find-row { display: flex; gap: 0.9rem; align-items: flex-start; }
.find-row svg { width: 1.3rem; height: 1.3rem; color: var(--teal); flex: none; margin-top: 0.2rem; }
.find-row strong { display: block; font-size: 0.98rem; margin-bottom: 0.2rem; }
.find-row span, .find-row a.link { color: var(--text-soft); font-size: 0.94rem; }
.find-row a.link:hover { color: var(--teal); }
@media (max-width: 860px) { .find-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 18px 36px -28px var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.testi-card:hover { transform: translateY(-3px); box-shadow: 0 26px 46px -26px var(--shadow); }
.testi-quote {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}
.testi-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}
.testi-meta .stars { color: var(--accent-text); letter-spacing: 0.1em; }

/* ==========================================================================
   Trust badges
   ========================================================================== */
.trust-badges { padding-block: 2.6rem; border-bottom: 1px solid var(--border); }
.badges-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.4rem;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.badge-item svg {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  color: var(--accent-text);
}

/* ==========================================================================
   Airport transfers — departure-board styling
   ========================================================================== */
.board {
  margin-top: 1rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 50px -32px var(--shadow);
}
.board-head {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 1.5rem;
  padding: 0.9rem 1.4rem;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.board-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 1.4rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
}
.board-route { display: flex; align-items: center; gap: 0.7rem; font-size: 0.94rem; color: var(--text); }
.board-route svg { width: 1.1rem; height: 1.1rem; color: var(--accent-text); flex: none; }
.board-code { color: var(--text-faint); font-size: 0.78rem; }
.board-time { color: var(--text-soft); font-size: 0.94rem; white-space: nowrap; }
.board-fare { color: var(--accent-text); font-size: 0.94rem; font-weight: 700; white-space: nowrap; }
.board-status { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--text-soft); white-space: nowrap; }
.board-note { padding: 0.8rem 1.4rem 1.1rem; font-family: var(--font-body); font-size: 0.78rem; color: var(--text-faint); border-top: 1px solid var(--border); }
@media (max-width: 640px) {
  .board-head { display: none; }
  .board-row { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ==========================================================================
   How it works
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem;
}
.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.25em 0.6em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
.step-card h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 0.5rem; }
.step-card p { color: var(--text-soft); font-size: 0.92rem; }

/* ==========================================================================
   The standard (fleet, honestly framed)
   ========================================================================== */
.standard { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.standard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}
.standard-point svg { width: 1.6rem; height: 1.6rem; color: var(--accent-text); margin-bottom: 1rem; }
.standard-point h4 { font-size: 1.02rem; font-weight: 600; margin-bottom: 0.4rem; }
.standard-point p { color: var(--text-soft); font-size: 0.9rem; }

/* ==========================================================================
   Hotels & corporate
   ========================================================================== */
.corporate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
.corporate-points { display: flex; flex-direction: column; gap: 1.2rem; }
.corp-point {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
}
.corp-point h4 { font-size: 0.98rem; font-weight: 600; margin-bottom: 0.3rem; }
.corp-point p { color: var(--text-soft); font-size: 0.88rem; }
@media (max-width: 860px) { .corporate-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Coverage areas
   ========================================================================== */
.area-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.area-chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 0.55em 1em;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-soft);
}
.area-chip-more { color: var(--accent-text); border-color: color-mix(in srgb, var(--accent) 40%, var(--border-strong)); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.2rem 1.3rem;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { color: var(--text-soft); font-size: 0.92rem; padding-bottom: 1.2rem; max-width: 62ch; }
.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--accent-text);
  transition: transform 0.25s var(--ease);
}
.faq-icon::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); max-width: 16ch; }
.cta-band p { color: var(--text-soft); margin-top: 0.6rem; max-width: 40ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  padding-block: 2.6rem;
  font-size: 0.85rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
}
.footer-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-nav a:hover { color: var(--accent-text); }
.footer-fine { margin-top: 1.6rem; color: var(--text-faint); font-size: 0.78rem; }

/* ==========================================================================
   Floating sticky booking bar
   ========================================================================== */
.float-bar {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  transform: translate(-50%, 140%);
  z-index: 70;
  display: flex;
  gap: 0.6rem;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--border-strong);
  padding: 0.55rem;
  border-radius: var(--radius-full);
  box-shadow: 0 20px 40px -18px var(--shadow);
  backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease);
}
.float-bar.is-visible { transform: translate(-50%, 0); }
.float-bar .btn { padding: 0.6em 1.1em; font-size: 0.84rem; }

/* ---- reveal on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* cascade the hero elements in one after another instead of all at once */
.hero-copy > .reveal:nth-child(1) { transition-delay: 0s; }
.hero-copy > .reveal:nth-child(2) { transition-delay: 0.09s; }
.hero-copy > .reveal:nth-child(3) { transition-delay: 0.18s; }
.hero-copy > .reveal:nth-child(4) { transition-delay: 0.27s; }
.hero-copy > .reveal:nth-child(5) { transition-delay: 0.34s; }
.hero-grid > .ticket-card.reveal { transition-delay: 0.2s; }

/* ==========================================================================
   Legal pages (Terms, Privacy)
   ========================================================================== */
.legal-hero { padding-block: clamp(2.6rem, 6vw, 4rem) 1.8rem; border-bottom: 1px solid var(--border); }
.legal-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal-hero p { color: var(--text-soft); margin-top: 0.6rem; max-width: 60ch; }
.legal-content { max-width: 740px; margin-inline: auto; padding-block: clamp(2.2rem, 5vw, 3.2rem); }
.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2rem;
}
.legal-content h2 { font-size: 1.25rem; font-weight: 600; margin-top: 2.4rem; margin-bottom: 0.9rem; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { color: var(--text-soft); margin-bottom: 1rem; line-height: 1.75; }
.legal-content ul { margin: 0 0 1rem; padding-left: 1.3rem; }
.legal-content li { color: var(--text-soft); margin-bottom: 0.5rem; line-height: 1.65; list-style: disc; }
.legal-content a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.legal-note {
  margin-top: 2.6rem;
  padding: 1.1rem 1.3rem;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 150;
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -24px var(--shadow);
  transform: translateY(140%);
  transition: transform 0.4s var(--ease);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p { flex: 1 1 260px; font-size: 0.86rem; color: var(--text-soft); margin: 0; }
.cookie-banner a { color: var(--accent-text); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 0.6rem; flex: none; }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner-actions { justify-content: center; }
}
