/* Alpha Limo Denver — landing page. Mobile-first. Dark cinematic luxury (CLAUDE.md §4). */

/* ============================================================= *
 * 0. Reset + the [hidden] fix
 *    CRITICAL: component classes set `display`, which at equal
 *    specificity + later source order would defeat the UA
 *    [hidden]{display:none}. Force it so step/success gating works.
 * ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

:root {
  --bg-base: #0A0A0A;
  --bg-section: #101010;
  --bg-card: #161616;
  --bg-card-2: #1C1C1C;
  --border-subtle: #262626;
  --border-gold: rgba(198, 166, 100, 0.22);
  --gold: #C6A664;
  --gold-hover: #D8BE84;
  --gold-dim: rgba(198, 166, 100, 0.12);
  --text-primary: #F5F3EE;
  --text-secondary: #A2A2A0;
  --text-muted: #6E6E6C;
  --text-on-gold: #0A0A0A;
  --error: #FF8080;

  --radius: 6px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --maxw: 1180px;
  --gutter: clamp(18px, 5vw, 32px);
  --section-pad: clamp(64px, 10vw, 116px);

  /* type scale */
  --fs-eyebrow: 0.75rem;
  --fs-body: 1rem;
  --fs-h3: 1.15rem;
  --fs-h2: clamp(1.75rem, 1.2rem + 2.6vw, 2.75rem);
  --fs-h1: clamp(2.5rem, 1.4rem + 5.4vw, 4rem);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.modal-open { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  background: var(--bg-base);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
/* Buttons default to the system button text color (near-black), which makes any
   heading inside a button-based card invisible on our dark surfaces. Inherit the
   page text color instead. Buttons that need a different color set it explicitly. */
button { font-family: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.gold { color: var(--gold); }

/* Icons — inline SVG line set, 1.5px stroke, currentColor */
.ico { width: 24px; height: 24px; flex: none; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ico-lg { width: 28px; height: 28px; }
.ico-sm { width: 18px; height: 18px; }

/* ---------- Section rhythm ---------- */
.section { padding-block: var(--section-pad); }
.section--alt { background: var(--bg-section); }
.section-head { max-width: 60ch; margin-inline: auto; text-align: center; margin-bottom: clamp(32px, 6vw, 56px); }
.eyebrow {
  display: inline-block; color: var(--gold); font-size: var(--fs-eyebrow); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em; margin-bottom: 14px;
}
.section-head h2 { font-size: var(--fs-h2); margin-bottom: 14px; }
.section-head .sub { color: var(--text-secondary); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 50px; padding: 0 1.5em; border-radius: var(--radius); white-space: nowrap;
  font: inherit; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: background 0.18s var(--ease), color 0.18s, border-color 0.18s, transform 0.18s var(--ease);
}
.btn-primary { background: var(--gold); color: var(--text-on-gold); }
.btn-ghost { background: transparent; color: var(--text-primary); border-color: var(--border-gold); }
.btn-ghost:hover { border-color: var(--gold); background: var(--gold-dim); }
.btn-block { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .btn-primary:hover { background: var(--gold-hover); transform: scale(1.015); }
  .btn:active { transform: scale(0.985); }
}
.btn-primary:hover { background: var(--gold-hover); }

/* ============================================================= *
 * Header
 * ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 12px; padding-block: 12px; }
.site-header .logo { height: 40px; width: auto; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { display: none; align-items: center; gap: 8px; color: var(--text-secondary); font-weight: 600; }
.header-phone:hover { color: var(--gold); }
.header-phone .ico { color: var(--gold); }

/* ============================================================= *
 * Hero
 * ============================================================= */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 8vw, 80px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(90% 60% at 82% -8%, rgba(198, 166, 100, 0.16), transparent 62%),
    radial-gradient(120% 120% at 50% 120%, rgba(0, 0, 0, 0.75), transparent 55%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: clamp(30px, 5vw, 52px); align-items: start; }
.hero h1 { font-size: var(--fs-h1); margin-bottom: 20px; }
.hero .lead { color: var(--text-secondary); font-size: 1.12rem; max-width: 44ch; margin-bottom: 30px; }

.stat-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-tile {
  background: linear-gradient(180deg, var(--bg-card-2), var(--bg-card));
  border: 1px solid var(--border-gold); border-radius: var(--radius); padding: 16px 14px; text-align: center;
}
.stat-tile .n { display: block; font-size: 1.4rem; font-weight: 600; color: var(--gold); line-height: 1; }
.stat-tile .l { display: block; font-size: 0.72rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 8px; }

/* Form card */
.form-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-card-2), var(--bg-card));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 5vw, 28px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.form-card-head h2 { font-size: 1.35rem; margin-bottom: 4px; }
.form-card-head p { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 18px; }
#hero-form-mount { min-height: 470px; }

/* ============================================================= *
 * Marquee (pure CSS, pauses on hover)
 * ============================================================= */
.marquee {
  position: relative; overflow: hidden; white-space: nowrap;
  border-block: 1px solid var(--border-subtle);
  background: linear-gradient(90deg, var(--bg-base), #151515, var(--bg-base));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: inline-flex; align-items: center; gap: 2.6rem; padding-block: 14px; will-change: transform; }
.marquee-item { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 500; }
.marquee-item .ico { color: var(--gold); width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 32s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================= *
 * Generic card + grids
 * ============================================================= */
.grid { display: grid; gap: 20px; }
.card-surface {
  background: linear-gradient(180deg, var(--bg-card-2), var(--bg-card));
  border: 1px solid var(--border-gold); border-radius: var(--radius-lg);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
@media (prefers-reduced-motion: no-preference) {
  .card-interactive:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 24px 44px -26px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--border-gold); }
}
.card-interactive:hover { border-color: var(--gold); }

/* Media with reserved aspect ratio + gradient overlay (CLS-safe, adds depth) */
.media { position: relative; width: 100%; overflow: hidden; background: #101010; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.55)); pointer-events: none; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, #131313, #131313 14px, #171717 14px, #171717 28px);
  color: #4a4a48; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
}

/* ---------- Fleet cards ---------- */
.fleet-grid { display: grid; gap: 22px; }
.fleet-card { display: flex; flex-direction: column; overflow: hidden; }
.fleet-card .media { border-bottom: 1px solid var(--border-subtle); }
.fleet-body { display: flex; flex-direction: column; gap: 16px; padding: 20px; flex: 1; }
.fleet-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fleet-title h3 { font-size: 1.25rem; }
.fleet-desc { color: var(--text-secondary); font-size: 0.92rem; margin-top: -6px; }
.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.amenity { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-secondary); background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle); border-radius: var(--radius); padding: 9px 10px; }
.amenity .ico { color: var(--gold); width: 18px; height: 18px; }
.capacity-row { display: flex; gap: 22px; padding-top: 4px; border-top: 1px solid var(--border-subtle); padding-top: 14px; margin-top: auto; }
.capacity-row .cap { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-primary); }
.capacity-row .cap .ico { color: var(--gold); }
.capacity-row .cap b { font-weight: 600; }
.provisional-note { color: var(--text-muted); font-size: 0.78rem; text-align: center; margin-top: 18px; }
.provisional-note sup { color: var(--gold); }

/* ---------- Reviews ---------- */
.review { padding: 24px; }
.review .stars { margin-bottom: 12px; display: flex; gap: 3px; }
.ico-star { width: 18px; height: 18px; fill: var(--gold); stroke: none; }
.review blockquote { margin: 0 0 14px; font-size: 0.98rem; color: var(--text-primary); }
.review .who { color: var(--text-secondary); font-size: 0.82rem; font-weight: 600; }

/* ---------- Route cards ---------- */
/* Popular routes — landscape image cards, route label overlaid on the photo.
   6 cards: 1 col mobile / 2 col tablet (>=640) / 3 col desktop (>=1024, 3x2). */
.route-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px)  { .route-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .route-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.route-card {
  position: relative; display: block; width: 100%; padding: 0; overflow: hidden; cursor: pointer;
  aspect-ratio: 16 / 10; background: #101010;
  border: 1px solid var(--border-subtle); border-radius: 10px;
  transition: border-color 0.2s var(--ease);
}
.route-card > picture { position: absolute; inset: 0; display: block; }
.route-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Gradient scrim above the image */
.route-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 32%, rgba(0, 0, 0, 0) 68%);
}
.route-card__content { position: absolute; left: 0; bottom: 0; z-index: 1; padding: 16px; text-align: left; }
.route-card__route { display: block; color: #FFFFFF; font-weight: 600; font-size: 1.125rem; line-height: 1.2; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.route-card__arrow { color: var(--gold); }
.route-card__meta { display: block; margin-top: 6px; font-size: 0.8125rem; font-weight: 400; color: rgba(255, 255, 255, 0.72); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
/* Uses .card-interactive, but the card itself must not move/resize (only the image scales) */
.route-card:hover, .route-card:focus-visible { border-color: var(--gold); transform: none; box-shadow: none; }
.route-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (min-width: 640px) {
  .route-card__content { padding: 20px; }
  .route-card__route { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .route-card img { transition: transform 0.4s ease; }
  .route-card:hover img, .route-card:focus-visible img { transform: scale(1.04); }
}

/* ---------- Steps (reserve in advance) ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step-tile { padding: 26px 22px; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-pill); border: 1px solid var(--border-gold); color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.step-tile h3 { font-size: var(--fs-h3); margin-bottom: 6px; }
.step-tile p { color: var(--text-secondary); font-size: 0.92rem; }

/* ---------- Alpha standard ---------- */
.promise { display: grid; gap: 16px; }
/* Tiles are now <button>s reusing .card-interactive (same hover/focus as services) */
.promise-tile { padding: 24px 20px; width: 100%; text-align: left; cursor: pointer; }
.promise-tile .icon-tile { margin-bottom: 16px; }
.promise-tile h3 { font-size: var(--fs-h3); margin-bottom: 6px; }
.promise-tile p { color: var(--text-secondary); font-size: 0.9rem; }
.know-panel { margin-top: 24px; padding: clamp(22px, 4vw, 32px); }
.know-panel h3 { font-size: var(--fs-h3); margin-bottom: 16px; }
.know-panel ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.know-panel li { display: flex; gap: 12px; color: var(--text-secondary); }
.know-panel li .ico { color: var(--gold); flex: none; margin-top: 2px; }
.protip { display: flex; gap: 12px; border-left: 3px solid var(--gold); background: var(--gold-dim); padding: 14px 16px; border-radius: 0 var(--radius) var(--radius) 0; }
.protip .ico { color: var(--gold); flex: none; }
.protip b { color: var(--gold); }
.inline-link { color: var(--gold); text-decoration: none; }
.inline-link:hover { text-decoration: underline; }

/* ---------- Services ---------- */
.service-card { padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; text-align: left; width: 100%; cursor: pointer; }
.service-card .ico { color: var(--gold); }
.service-card h3 { font-size: var(--fs-h3); }
.service-card p { color: var(--text-secondary); font-size: 0.9rem; }
.service-card .meta { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-size: 0.8rem; font-weight: 600; margin-top: auto; padding-top: 8px; }

/* ---------- Coverage chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: var(--radius-pill); border: 1px solid var(--border-gold); background: var(--bg-card); color: var(--text-primary); font: inherit; font-size: 0.92rem; cursor: pointer; transition: border-color 0.18s, color 0.18s, background 0.18s; }
.chip:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.coverage-sub { text-align: center; color: var(--gold); font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.18em; font-weight: 600; margin: 40px 0 16px; }

/* ---------- Gallery (masonry via CSS columns: natural aspect, no crop, 0 CLS) ---------- */
.gallery-masonry { column-count: 1; column-gap: 12px; }
.g-item {
  display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 1px solid var(--border-subtle);
  border-radius: 8px; overflow: hidden; cursor: pointer; background: #101010; position: relative;
  break-inside: avoid; -webkit-column-break-inside: avoid; transition: border-color 0.2s var(--ease);
}
.g-item img { width: 100%; height: auto; display: block; }
.g-item:hover { border-color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .g-item img { transition: transform 0.3s var(--ease); }
  .g-item:hover img { transform: scale(1.045); }
}

/* ---------- About ---------- */
.about-wrap { max-width: 72ch; margin-inline: auto; text-align: center; }
.about-wrap p { color: var(--text-secondary); margin-bottom: 18px; }
.about-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.about-actions .btn { width: 100%; }
@media (min-width: 640px) { .about-actions { flex-direction: row; justify-content: center; } .about-actions .btn { width: auto; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-q { width: 100%; background: none; border: 0; color: var(--text-primary); font: inherit; font-weight: 600; font-size: 1.02rem; text-align: left; padding: 20px 44px 20px 0; position: relative; cursor: pointer; min-height: 44px; }
.faq-q .plus { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform 0.2s var(--ease); }
.faq-q .plus::before { width: 14px; height: 1.5px; }
.faq-q .plus::after { width: 1.5px; height: 14px; }
.faq-item.is-open .faq-q .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s var(--ease); }
.faq-item.is-open .faq-a { max-height: 340px; }
.faq-a p { padding-bottom: 20px; color: var(--text-secondary); }

/* ---------- Footer ---------- */
/* Footer bg set to the logo's sampled corner black (#000000) so the logo's baked-in
   black background merges seamlessly; mix-blend-mode: screen (below) keeps the gold
   true against it. Permanent fix = transparent PNG/SVG from the client. */
.site-footer { background: #000000; border-top: 1px solid var(--border-subtle); padding-block: 48px 32px; }
.footer-grid { display: grid; gap: 28px; }
/* Footer logo: larger, explicit size (zero CLS via aspect-ratio), and
   mix-blend-mode: screen to drop the logo's baked-in black box against the
   dark footer. Permanent fix is a transparent PNG/SVG from the client. */
.site-footer .logo { width: 160px; height: auto; aspect-ratio: 700 / 300; margin-bottom: 14px; mix-blend-mode: screen; }
@media (min-width: 920px) { .site-footer .logo { width: 200px; } }
.site-footer h4 { color: var(--gold); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 14px; }
.site-footer .muted { color: var(--text-secondary); font-size: 0.9rem; max-width: 32ch; }
.footer-links a { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); padding: 5px 0; }
.footer-links a:hover { color: var(--gold); }
.footer-legal { border-top: 1px solid var(--border-subtle); margin-top: 30px; padding-top: 20px; color: var(--text-muted); font-size: 0.82rem; }

/* ============================================================= *
 * Scroll reveal (transform/opacity only, JS-gated, reduced-motion safe)
 * Initial hidden state only applies once JS adds .reveal-ready to <html>
 * AND motion is allowed — so no-JS / reduced-motion users see content.
 * ============================================================= */
@media (prefers-reduced-motion: no-preference) {
  html.reveal-ready [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
  html.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* ============================================================= *
 * Booking form (shared: hero + modal)
 * ============================================================= */
.bf-form { display: flex; flex-direction: column; gap: 15px; }
.bf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.bf-progress-head { display: flex; justify-content: space-between; font-size: 0.8rem; margin-bottom: 7px; }
.bf-progress-label { color: var(--gold); font-weight: 600; }
.bf-progress-pct { color: var(--text-secondary); }
.bf-progress-track { height: 6px; background: #262626; border-radius: var(--radius-pill); overflow: hidden; }
.bf-progress-fill { display: block; height: 100%; width: 50%; background: linear-gradient(90deg, var(--gold), var(--gold-hover)); border-radius: var(--radius-pill); transition: width 0.35s var(--ease); }

/* Row spacing is margin-based (not flex gap) so a collapsing row leaves no gap. */
.bf-step { display: flex; flex-direction: column; }
.bf-step-title { font-size: 1.15rem; margin-bottom: 2px; }
.bf-step-sub { color: var(--text-secondary); font-size: 0.88rem; margin: -4px 0 15px; }

.bf-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; }
.bf-row:last-child { margin-bottom: 0; }

/* Smoothly collapsible conditional rows (drop-off / hours / vehicle) */
.bf-collapsible { max-height: 260px; overflow: hidden; }
.bf-collapsible.bf-collapsed { max-height: 0; opacity: 0; margin-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .bf-collapsible { transition: max-height 0.28s var(--ease), opacity 0.22s var(--ease), margin-bottom 0.28s var(--ease); }
}

/* Visually-hidden label kept for screen readers (label lives in the placeholder) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Readable "Pickup date"/"Pickup time" overlay over native date/time fields */
.bf-ph { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); pointer-events: none; font: inherit; }
.picker-field.filled .bf-ph { display: none; }
.picker-field:not(.filled) .bf-input[type="date"]::-webkit-datetime-edit,
.picker-field:not(.filled) .bf-input[type="time"]::-webkit-datetime-edit { opacity: 0; }
.bf-label { font-size: 0.82rem; color: var(--text-secondary); font-weight: 600; }
.bf-input {
  width: 100%; min-height: 48px; padding: 11px 13px;
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--border-gold); border-radius: var(--radius);
  color: var(--text-primary); font: inherit;
}
.bf-input::placeholder { color: var(--text-secondary); }
.bf-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }
.bf-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: right 16px center, right 11px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.bf-textarea { min-height: 82px; resize: vertical; }
.bf-input[aria-invalid="true"] { border-color: var(--error); }
.bf-phone-group { display: grid; grid-template-columns: 108px 1fr; gap: 8px; }

.bf-error { color: var(--error); font-size: 0.8rem; }
.bf-vehicle-hint { display: flex; flex-direction: column; gap: 4px; margin-top: 2px; }
.bf-link { align-self: flex-start; background: none; border: 0; color: var(--gold); text-decoration: underline; font: inherit; font-size: 0.82rem; padding: 4px 0; cursor: pointer; }
.bf-undecided { color: var(--gold); font-size: 0.8rem; }
.bf-provisional { color: var(--text-muted); font-size: 0.76rem; }
.bf-link-inline { color: var(--gold); }

.bf-actions { display: flex; gap: 10px; margin-top: 4px; }
.bf-btn { min-height: 50px; padding: 0 1.5em; border-radius: var(--radius); font: inherit; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: background 0.18s, transform 0.18s var(--ease); }
.bf-btn-primary { background: var(--gold); color: var(--text-on-gold); flex: 1; }
.bf-btn-primary:hover { background: var(--gold-hover); }
.bf-btn-primary:disabled { opacity: 0.7; cursor: default; }
.bf-btn-ghost { background: transparent; color: var(--text-primary); border-color: var(--border-subtle); }
.bf-btn-ghost:hover { border-color: var(--gold); }
.bf-trust { color: var(--text-muted); font-size: 0.76rem; text-align: center; margin-top: 8px; }
.bf-submit-error { text-align: center; }

.bf-success { text-align: center; padding: 22px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bf-success-check { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--text-on-gold); display: grid; place-items: center; font-size: 1.7rem; font-weight: 700; }
.bf-success-title { margin-top: 6px; }
.bf-success-sub { color: var(--text-secondary); font-size: 0.9rem; max-width: 34ch; }

/* ============================================================= *
 * Modal (native <dialog>) — full-screen mobile, fade + scale-in
 * ============================================================= */
#booking-modal { padding: 0; border: none; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; color: var(--text-primary); }
#booking-modal::backdrop { background: rgba(0, 0, 0, 0.74); backdrop-filter: blur(3px); }
.modal-panel { position: relative; background: linear-gradient(180deg, var(--bg-card-2), var(--bg-card)); border: 1px solid var(--border-gold); width: 100%; min-height: 100%; padding: 22px var(--gutter) 44px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.modal-head h2 { font-size: 1.3rem; }
.modal-head p { color: var(--text-secondary); font-size: 0.88rem; margin-top: 4px; }
.modal-close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-subtle); background: transparent; color: var(--text-primary); cursor: pointer; display: grid; place-items: center; }
.modal-close:hover { border-color: var(--gold); color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  #booking-modal { transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
  #booking-modal[open] { opacity: 1; transform: none; }
  @starting-style { #booking-modal[open] { opacity: 0; transform: scale(0.98) translateY(8px); } }
  #booking-modal::backdrop { transition: opacity 0.2s var(--ease); }
}

/* ============================================================= *
 * Icon tiles + hero actions + trust tiles + coverage + reviews
 * ============================================================= */
.icon-tile { width: 48px; height: 48px; border-radius: 12px; background: rgba(198, 166, 100, 0.09); border: 1px solid var(--border-gold); display: grid; place-items: center; flex: none; }
.icon-tile .ico { width: 24px; height: 24px; color: var(--gold); }
.icon-tile.sm { width: 32px; height: 32px; border-radius: 8px; }
.icon-tile.sm .ico { width: 18px; height: 18px; }
.service-card .icon-tile { margin-bottom: 4px; }

/* Hero actions */
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.hero-actions .btn { width: 100%; }
@media (min-width: 480px) { .hero-actions { flex-direction: row; } .hero-actions .btn { width: auto; } }

/* Trust tiles */
.trust-tiles { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 4px; }
.trust-tile { display: flex; align-items: center; gap: 12px; background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: var(--radius); padding: 12px 14px; }
.trust-label { display: flex; flex-direction: column; line-height: 1.22; font-size: 0.78rem; color: var(--text-secondary); }
.trust-label b { color: var(--text-primary); font-weight: 600; }
@media (min-width: 560px) { .trust-tiles { grid-template-columns: repeat(3, 1fr); } }

/* Date/time fields: 48px+, white text, gold indicator, gold focus border (from .bf-input) */
.bf-input[type="date"], .bf-input[type="time"] { color-scheme: dark; min-height: 50px; }
.bf-input[type="date"]::-webkit-datetime-edit, .bf-input[type="time"]::-webkit-datetime-edit { color: var(--text-primary); }

/* Mobile (coarse pointer): keep the native picker, tint its indicator gold */
@media (pointer: coarse) {
  .bf-input::-webkit-calendar-picker-indicator { width: 22px; height: 22px; margin-left: 6px; cursor: pointer; opacity: 1; filter: invert(74%) sepia(35%) saturate(560%) hue-rotate(357deg) brightness(92%) contrast(88%); }
}
/* Desktop (fine pointer): hide native indicator, draw a gold icon; custom panel opens on click */
@media (pointer: fine) {
  .bf-input[type="date"], .bf-input[type="time"] { background-repeat: no-repeat; background-position: right 12px center; background-size: 20px 20px; cursor: pointer; }
  .bf-input[type="date"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C6A664' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='4.5' width='17' height='16' rx='2'/%3E%3Cpath d='M3.5 9.5h17M8 3v3M16 3v3'/%3E%3C/svg%3E"); }
  .bf-input[type="time"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C6A664' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7v5l3.2 1.8'/%3E%3C/svg%3E"); }
  .bf-input[type="date"]::-webkit-calendar-picker-indicator, .bf-input[type="time"]::-webkit-calendar-picker-indicator { display: none; }
}

/* Custom picker panels (desktop) */
.picker-field { position: relative; width: 100%; }
.dp-panel, .tp-panel { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; background: var(--bg-card); border: 1px solid var(--gold); border-radius: 8px; box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.85); padding: 12px; }
.dp-panel.up, .tp-panel.up { top: auto; bottom: calc(100% + 6px); }
.dp-panel { width: 288px; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dp-title { font-weight: 600; font-size: 0.95rem; }
.dp-nav { width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--border-gold); background: none; color: var(--gold); font-size: 1.15rem; line-height: 1; cursor: pointer; }
.dp-nav:hover { background: var(--gold-dim); }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-dow { text-align: center; color: var(--text-secondary); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 0; }
.dp-day { aspect-ratio: 1; border: 0; background: none; color: var(--text-primary); border-radius: 999px; cursor: pointer; font: inherit; font-size: 0.9rem; }
.dp-day:hover:not(:disabled) { background: var(--gold-dim); }
.dp-day.today { box-shadow: inset 0 0 0 1px var(--gold); }
.dp-day.selected { background: var(--gold); color: var(--text-on-gold); font-weight: 600; }
.dp-day:disabled { color: var(--text-muted); opacity: 0.4; cursor: default; }
.tp-panel { width: 190px; }
.tp-list { max-height: 232px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.tp-opt { text-align: left; border: 0; background: none; color: var(--text-primary); padding: 9px 12px; border-radius: 6px; cursor: pointer; font: inherit; }
.tp-opt:hover { background: var(--gold-dim); }
.tp-opt.selected { background: var(--gold); color: var(--text-on-gold); font-weight: 600; }

/* ============================================================= *
 * Google Places autocomplete — pickup/drop-off dropdown
 * Inputs are already .bf-input (identical to the date/time fields: same border,
 * radius, bg, height, padding, font, placeholder, and :focus ring). Here we only
 * re-theme Google's injected dropdown to match the dark page, and wrap each input
 * so the dropdown sits inside the same stacking context (top-layer safe in the
 * modal) directly under its field.
 * ============================================================= */
.ac-field { position: relative; width: 100%; }

/* Dropdown container — legacy (.pac-container) + new widget (.pma-container) */
.pac-container, .pma-container {
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-top: none;                 /* reads as an extension of the input above */
  border-radius: 0 0 4px 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  font-family: inherit;             /* kill Google's Roboto */
  margin-top: 0;
  overflow: hidden;
  z-index: 1000;                    /* above form content within this context */
}
/* When relocated under the input, pin it directly beneath, full width */
.ac-field > .ac-dropdown.pac-container,
.ac-field > .ac-dropdown.pma-container {
  position: absolute !important; top: 100% !important; left: 0 !important; width: 100% !important;
}

/* Suggestion rows */
.pac-item, .pma-container [role="option"] {
  display: flex; align-items: center;
  padding: 12px 14px; min-height: 44px;   /* tap target */
  color: var(--text-secondary);           /* remainder (city/state) */
  font-size: 0.9375rem; font-family: inherit; line-height: 1.3;
  border: none; border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
}
.pac-item:last-child, .pma-container [role="option"]:last-child { border-bottom: none; }

/* Matched substring in gold 600; secondary text stays --text-secondary (base above) */
.pac-item-query, .pac-item .pac-matched,
.pma-container [role="option"] .pma-matched, .pma-container [role="option"] b {
  color: var(--gold); font-weight: 600;
}

/* Hover + keyboard-highlighted row: background shift only, no text colour change */
.pac-item:hover, .pac-item-selected, .pac-item-selected:hover,
.pma-container [role="option"]:hover, .pma-container [role="option"][aria-selected="true"] {
  background: var(--bg-section);
}

/* Google's default grey pin — hide it (looks cheap on a dark card) */
.pac-icon, .pma-container .pma-icon { display: none; }

/* Keep the "Powered by Google" attribution, just stop its white strip flashing */
.pac-logo:after { background-color: var(--bg-card); }

/* Airport tiles */
.airport-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 6px; }
.airport-tile { display: flex; align-items: center; gap: 12px; padding: 16px; text-align: left; width: 100%; cursor: pointer; }
.airport-text { display: flex; flex-direction: column; line-height: 1.2; }
.airport-code { font-weight: 600; color: var(--text-primary); font-size: 1.02rem; letter-spacing: 0.04em; }
.airport-name { color: var(--text-secondary); font-size: 0.78rem; margin-top: 2px; }

/* City chip hover lift */
@media (prefers-reduced-motion: no-preference) {
  .chip { transition: border-color 0.18s, color 0.18s, background 0.18s, transform 0.18s var(--ease); }
  .chip:hover { transform: translateY(-2px); }
}

/* Reviews widget: reserve height so the lazy embed causes zero CLS */
.reviews-widget { min-height: 520px; }
.reviews-widget iframe { width: 100%; min-width: 100%; border: 0; }

/* ============================================================= *
 * Responsive
 * ============================================================= */
@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .promise { grid-template-columns: repeat(2, 1fr); }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { column-count: 2; }
  .airport-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 920px) {
  .header-phone { display: inline-flex; }
  .site-header .wrap { min-height: 78px; }
  .site-header .logo { height: 48px; }
  .hero-grid { grid-template-columns: 1.02fr 0.98fr; }
  .hero .form-card { position: sticky; top: 84px; }
  .fleet-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-masonry { column-count: 3; }
  .promise { grid-template-columns: repeat(4, 1fr); }
  .airport-grid { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  #booking-modal { width: auto; height: auto; max-width: 560px; margin: auto; }
  .modal-panel { min-height: 0; border-radius: var(--radius-lg); max-height: 90vh; overflow-y: auto; }
}
