/* 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);
  /* Single vertical-rhythm scale for every .section (top + bottom). Tightened
     from clamp(64px,10vw,116px): stacked section paddings were leaving 128-232px
     dead bands at each boundary. Mobile min drops most (was 64 → 48). */
  --section-pad: clamp(48px, 6vw, 80px);

  /* 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(28px, 4vw, 44px); }
.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 tiles are <button> (each opens the quote modal). Keep the card look:
   left-aligned, full-width, inherit font, pointer + generous padding = >44px tap. */
.step-tile { padding: 26px 22px; text-align: left; width: 100%; font: inherit; cursor: pointer; }
.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: 28px 0 14px; }

/* ---------- 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; }
/* While its autocomplete dropdown is open, a row must not clip it (drop-off is a
   collapsible row with overflow:hidden). overflow:visible lets the absolutely
   positioned dropdown paint past the row box; the row's own height is unchanged. */
.bf-row.ac-open { overflow: visible; }
@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; }

/* ============================================================= *
 * 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%; }

/* Our own suggestions dropdown (Places API New, data layer). Rendered inside
   .ac-field, so it lives in the dialog's top layer — never behind the modal
   backdrop — and needs no relocation. */
.ac-dropdown {
  position: absolute; top: 100%; left: 0; width: 100%;
  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);
  overflow: hidden;
  z-index: 1000;                    /* above sibling form rows within this context */
}
.ac-list { list-style: none; margin: 0; padding: 0; max-height: 264px; overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* Suggestion rows — 44px minimum tap target */
.ac-option {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  padding: 9px 14px; min-height: 44px;
  font-size: 0.9375rem; line-height: 1.3; cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
}
.ac-option:last-child { border-bottom: none; }
.ac-main { color: var(--text-primary); }
.ac-main b { color: var(--gold); font-weight: 600; }   /* matched substring */
.ac-secondary { color: var(--text-secondary); font-size: 0.82rem; }

/* Hover + keyboard-highlighted row: background shift only */
.ac-option:hover, .ac-option.is-active { background: var(--bg-section); }

/* Required "Powered by Google" attribution (kept outside the listbox) */
.ac-attrib { display: flex; justify-content: flex-end; align-items: center; padding: 6px 10px; border-top: 1px solid var(--border-subtle); background: var(--bg-card); }
.ac-attrib img { height: 14px; width: auto; opacity: 0.85; }

/* 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 */
/* Reserve the widget's actual rendered height (measured ~436px on the live
   reputationhub carousel), not the old 520px which left a dead band above/below.
   The iframe self-resizes on load; this floor only prevents pre-load collapse, so
   it stays close to the real height to keep CLS < 0.05. */
.reviews-widget { min-height: 440px; }
.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; }
}

/* ============================================================= *
 * Thank-you page (/thankyou) — reuses .hero, .section, .card-surface,
 * .steps/.step-tile, .btn. Only summary-specific rules live here.
 * ============================================================= */
.ty-hero-copy { max-width: 62ch; }
.ty-hero h1 { font-size: var(--fs-h1); margin-bottom: 18px; }
.ty-hero h1:focus { outline: none; }
.ty-hero h1:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 4px; }
.ty-actions { max-width: 400px; margin-bottom: 0; }

/* Call-incentive offer: bordered dark card with a gold accent, wrapping the
   tap-to-call CTA so the 10% promise and the call button read as one unit. */
.ty-offer {
  max-width: 460px; margin-bottom: 0;
  padding: clamp(20px, 3.5vw, 28px);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-lg);
}
.ty-offer-icon { margin-bottom: 14px; }
.ty-offer-head {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem); font-weight: 600;
  letter-spacing: -0.01em; line-height: 1.15; margin-bottom: 8px;
  color: var(--text-primary);
}
.ty-offer-pct { color: var(--gold); white-space: nowrap; }
.ty-offer-sub {
  color: var(--text-secondary); font-size: 1rem; line-height: 1.5;
  max-width: 42ch; margin-bottom: 20px;
}
.ty-offer .ty-actions { margin-bottom: 0; }

.ty-narrow { max-width: 720px; }
.ty-head-left { text-align: left; margin-inline: 0; margin-bottom: 18px; }
.ty-card { padding: clamp(20px, 4vw, 30px); }
.ty-rows { margin: 0; display: grid; }
.ty-row { display: grid; grid-template-columns: minmax(110px, 32%) 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--border-subtle); }
.ty-row:first-child { padding-top: 0; }
.ty-row:last-child { padding-bottom: 0; border-bottom: 0; }
.ty-row dt { color: var(--gold); font-weight: 600; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; align-self: center; }
.ty-row dd { margin: 0; color: var(--text-primary); overflow-wrap: anywhere; }
.ty-fix { margin-top: 18px; color: var(--text-secondary); font-size: 0.95rem; }
.ty-fix a { color: var(--gold); }
/* "What happens next" reuses .steps/.step-tile with an icon-tile instead of a
   numbered .step-num — give the icon a little breathing room above the heading. */
.steps .step-tile .icon-tile { margin-bottom: 12px; }

/* ============================================================= *
 * HERO QUOTE REDESIGN (AV-style 3-step form) — SCOPED
 * Everything here is scoped to the landing hero (.hero--quote) and the hero
 * quote form (.quote-form--v2) so the modal booking form, the /thankyou hero
 * (.hero.ty-hero), and every other section stay exactly as they were.
 * Adapts the AV reference layout to Alpha's brand tokens (gold #C6A664, cream
 * #F5F3EE text, near-black surfaces). AV-compat tokens are aliased to Alpha's.
 * ============================================================= */
.hero--quote {
  --gold-rgb: 198, 166, 100;
  --gold-glow: rgba(198, 166, 100, 0.38);
  --gold-metal: linear-gradient(180deg, #e4cf9b 0%, #c6a664 52%, #b08f4f 100%);
  --gold-metal-hover: linear-gradient(180deg, #eedcb0 0%, #d8be84 52%, #c2a05c 100%);
  --card-shadow: 0 20px 52px -26px rgba(0, 0, 0, 0.78);
  --card-shadow-hover: 0 26px 60px -22px rgba(0, 0, 0, 0.72);
  /* Light quote-form fields (AV v3 look) — cream fill, dark text, so they pop. */
  --qf-field-bg: #f5f3ee;
  --qf-field-bg-focus: #ffffff;
  --qf-field-text: #141414;
  --qf-field-placeholder: #6e6e6c;
  --qf-field-border: #c7c3b8;
}

/* ---- Hero layout (two-column: intro + quote card) ---- */
.hero--quote .hero__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 940px) { .hero--quote .hero__grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero--quote .hero__intro { min-width: 0; }
.hero--quote h1 { font-size: var(--fs-h1); margin-bottom: 0.75rem; }
.hero--quote .hero__sub { color: var(--text-secondary); font-size: 1.12rem; line-height: 1.5; max-width: 46ch; margin: 0 0 1.6rem; }
.hero--quote .hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 0 0 1.5rem; }
.hero--quote .hero__divider { height: 1px; width: min(420px, 100%); margin: 0 0 1.5rem; background: linear-gradient(90deg, var(--border-gold), transparent); }
.hero--quote .hero__features { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.9rem 1.8rem; }
.hero--quote .hero__features li { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text-secondary); font-size: 0.95rem; }
.hero--quote .hero__features .hf-ico { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--gold-dim); border: 1px solid var(--border-gold); color: var(--gold); flex: none; }
.hero--quote .hero__features .hf-ico .ico { width: 20px; height: 20px; }
.hero--quote .hero__features .hf-text b { color: var(--text-primary); font-weight: 600; }

/* ---- Quote card ---- */
.hero--quote .quote-card--v2 {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(198, 166, 100, 0.08), transparent 60%),
    linear-gradient(180deg, #211f1c, #141312);
  border: 1px solid var(--border-gold); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--card-shadow), inset 0 1px 0 rgba(198, 166, 100, 0.08);
}
.hero--quote .quote-card__head { margin-bottom: 1.1rem; }
.hero--quote .quote-card__title { font-size: 1.4rem; margin: 0; }

/* ---- Steps / generic form bits ---- */
.quote-form--v2 .quote-step { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.quote-form--v2 [hidden] { display: none; }
.quote-form--v2 .quote-actions { margin-top: 1.1rem; display: flex; gap: 0.75rem; }
.quote-form--v2 .quote-actions--start { justify-content: flex-start; }
.quote-form--v2 .quote-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-form--v2 .quote-status { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: var(--radius); font-size: 0.9rem; }
.quote-form--v2 .quote-status--error { color: var(--error); background: rgba(255, 128, 128, 0.08); border: 1px solid rgba(255, 128, 128, 0.3); }

/* ---- Trip-type tabs ---- */
.quote-form--v2 .qf-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 1rem; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); }
.quote-form--v2 .qf-tab { padding: 0.72rem; border: 1.5px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.1); color: var(--text-primary); font: inherit; font-weight: 700; border-radius: var(--radius-pill); cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.quote-form--v2 .qf-tab:hover { border-color: var(--gold); color: var(--gold); background: rgba(198, 166, 100, 0.14); }
.quote-form--v2 .qf-tab:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--gold-dim); }
.quote-form--v2 .qf-tab.is-active { background: var(--gold-metal); border-color: var(--gold); color: var(--text-on-gold); box-shadow: 0 4px 16px -4px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.quote-form--v2 .qf-tab.is-active:hover { color: var(--text-on-gold); background: var(--gold-metal-hover); border-color: var(--gold-hover); }

/* ---- Location rows + swap ---- */
.quote-form--v2 .qf-locs { position: relative; display: grid; gap: 0.6rem; margin-bottom: 0.6rem; }
.quote-form--v2 .qf-swap { position: absolute; right: 12px; top: calc(50% - 15px); width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-gold); background: var(--bg-card-2); color: var(--gold); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.quote-form--v2 .qf-swap:hover { border-color: var(--gold); }
.quote-form--v2 .qf-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 0.6rem; }
.quote-form--v2 .qf-hours { margin-bottom: 0.6rem; }

/* ---- Return trip ---- */
.quote-form--v2 .qf-check { display: flex; align-items: center; gap: 0.55rem; margin: 0.5rem 0 0.2rem; cursor: pointer; font-weight: 600; color: var(--text-primary); }
.quote-form--v2 .qf-check input { width: 18px; height: 18px; accent-color: var(--gold); }
.quote-form--v2 .qf-return { border-top: 1px solid var(--border-subtle); margin-top: 0.75rem; padding-top: 0.9rem; }
.quote-form--v2 .qf-return__eyebrow { color: var(--gold); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem; margin: 0; }
.quote-form--v2 .qf-return__note { color: var(--text-secondary); font-size: 0.85rem; margin: 0.2rem 0 0.75rem; }
.quote-form--v2 .qf-trust { text-align: center; color: var(--text-muted); font-size: 0.78rem; margin: 0.9rem 0 0; }

/* ---- Step 2: vehicle cards ---- */
.quote-form--v2 .qf-vhead { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin: 0 0 0.85rem; }
.quote-form--v2 .qf-vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 0.3rem; }
@media (max-width: 400px) { .quote-form--v2 .qf-vgrid { grid-template-columns: 1fr; } }
.quote-form--v2 .qf-vcard { display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem; min-height: 74px; padding: 0.85rem 0.95rem; text-align: left; font: inherit; color: var(--text-primary); background: linear-gradient(180deg, #1b1a18, #141312); border: 1px solid rgba(198, 166, 100, 0.2); border-radius: var(--radius); cursor: pointer; box-shadow: var(--card-shadow); transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), transform 0.18s var(--ease), background 0.18s var(--ease); }
.quote-form--v2 .qf-vcard:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--card-shadow-hover), 0 0 18px -6px var(--gold-glow); }
.quote-form--v2 .qf-vcard:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }
.quote-form--v2 .qf-vcard.is-selected { border-color: var(--gold); background: var(--gold-dim); box-shadow: inset 0 0 0 1px var(--gold), 0 0 18px -6px var(--gold-glow); }
.quote-form--v2 .qf-vcard__name { display: flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 0.96rem; }
.quote-form--v2 .qf-vcard__ico { flex: none; width: 16px; height: 16px; color: var(--gold); stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.quote-form--v2 .qf-vcard__seats { font-size: 0.8rem; color: var(--text-secondary); }
.quote-form--v2 .qf-vcard.is-selected .qf-vcard__seats { color: var(--gold-hover); }

/* ---- Step 3: progress + fields ---- */
.quote-form--v2 .qf-progress { margin: 0 0 1.1rem; }
.quote-form--v2 .qf-progress__row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.45rem; }
.quote-form--v2 .qf-progress__step { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); }
.quote-form--v2 .qf-progress__hint { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.quote-form--v2 .qf-progress__track { height: 5px; border-radius: var(--radius-pill); background: rgba(0, 0, 0, 0.35); overflow: hidden; }
.quote-form--v2 .qf-progress__fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-hover)); }
.quote-form--v2 .quote-grid { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.quote-form--v2 .quote-field { display: flex; flex-direction: column; gap: 0.3rem; }
.quote-form--v2 .quote-field > span { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }
.quote-form--v2 .cf-optional { color: var(--text-muted); font-weight: 400; }

/* ---- Custom pickers (date calendar / time list / hours / country) ---- */
.hero--quote .cf-field { position: relative; }
.hero--quote button.cf-trigger { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; width: 100%; text-align: left; font: inherit; cursor: pointer; }
.hero--quote .cf-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero--quote .cf-ico { flex: none; color: var(--gold); }
.hero--quote .cf-field.cf-open .cf-ico { color: var(--gold-hover); }
.hero--quote .cf-field.is-invalid .cf-trigger { border-color: #d9534f; }
.hero--quote .cf-pop { position: absolute; z-index: 90; top: calc(100% + 6px); left: 0; right: 0; background: #141414; border: 1px solid var(--border-gold); border-radius: 12px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55); overflow: hidden; }
.hero--quote .cf-list { list-style: none; margin: 0; padding: 0.35rem; max-height: 240px; overflow-y: auto; }
.hero--quote .cf-list--time { max-height: 260px; }
.hero--quote .cf-opt { display: block; width: 100%; text-align: left; font: inherit; padding: 0.6rem 0.8rem; border: 0; background: transparent; color: var(--text-primary); border-radius: 8px; cursor: pointer; }
.hero--quote .cf-opt:hover, .hero--quote .cf-opt:focus-visible { background: var(--gold-dim); color: var(--gold); outline: none; }
.hero--quote .cf-cal { padding: 0.75rem; }
.hero--quote .cf-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; }
.hero--quote .cf-cal__month { font-weight: 600; color: var(--text-primary); }
.hero--quote .cf-cal__nav { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border-subtle); background: transparent; color: var(--gold); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.hero--quote .cf-cal__nav:hover { border-color: var(--gold); }
.hero--quote .cf-cal__dow, .hero--quote .cf-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.hero--quote .cf-cal__dow { margin-bottom: 4px; }
.hero--quote .cf-cal__dow span { text-align: center; font-size: 0.7rem; color: var(--text-muted); padding: 2px 0; }
.hero--quote .cf-cal__cell { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--text-primary); border-radius: 8px; font: inherit; font-size: 0.85rem; cursor: pointer; }
.hero--quote .cf-cal__cell--empty { visibility: hidden; }
.hero--quote .cf-cal__cell:not([disabled]):hover { background: var(--gold-dim); color: var(--gold); }
.hero--quote .cf-cal__cell[disabled] { color: var(--text-muted); opacity: 0.4; cursor: not-allowed; }
.hero--quote .cf-cal__cell.is-selected { box-shadow: inset 0 0 0 2px var(--gold); color: var(--gold); font-weight: 700; }
.hero--quote .cf-phone { display: flex; gap: 0.5rem; }
.hero--quote .cf-field--cc { flex: 0 0 auto; width: 104px; }
.hero--quote .cf-field--cc .cf-trigger { padding-left: 0.75rem; padding-right: 0.6rem; }
.hero--quote .cf-field--cc .cf-pop { right: auto; min-width: 150px; }
.hero--quote .cf-phone > input[type="tel"] { flex: 1; min-width: 0; }

/* ---- Light fields (scoped to the hero quote form only) ---- */
.quote-form--v2 .bf-input,
.quote-form--v2 .cf-trigger {
  width: 100%; min-height: 50px; padding: 0.8rem 1rem; font: inherit;
  background: var(--qf-field-bg); color: var(--qf-field-text);
  border: 1.5px solid var(--qf-field-border); border-radius: var(--radius);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}
.quote-form--v2 textarea.bf-input { min-height: 84px; resize: vertical; }
.quote-form--v2 .bf-input::placeholder { color: var(--qf-field-placeholder); opacity: 1; }
.quote-form--v2 .cf-value { color: var(--qf-field-text); }
.quote-form--v2 .cf-placeholder { color: var(--qf-field-placeholder); }
.quote-form--v2 .bf-input:hover,
.quote-form--v2 .cf-trigger:hover { border-color: var(--gold); }
.quote-form--v2 .bf-input:focus,
.quote-form--v2 .cf-field.cf-open .cf-trigger,
.quote-form--v2 .cf-trigger:focus-visible {
  outline: none; border-color: var(--gold); background: var(--qf-field-bg-focus);
  box-shadow: 0 0 0 3px var(--gold-dim), 0 0 18px rgba(198, 166, 100, 0.18);
}
.quote-form--v2 .bf-input:-webkit-autofill,
.quote-form--v2 .bf-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--qf-field-text);
  -webkit-box-shadow: 0 0 0 1000px var(--qf-field-bg) inset;
}

/* ============================================================= *
 * PREMIUM HOMEPAGE REDESIGN — SCOPED to body.page-lp only.
 * The index variant (canonical "/") renders via renderHome() and gets this
 * layer. Every other landing variant and /thankyou never carry .page-lp, so
 * they are visually unchanged. Brand tokens preserved (gold #C6A664, cream,
 * near-black); adds glass/sheen, refined cards, motion, and the new band/steps/
 * CTA sections.
 * ============================================================= */
.page-lp {
  --gold-rgb: 198, 166, 100;
  --gold-glow: rgba(198, 166, 100, 0.30);
  --gold-metal: linear-gradient(180deg, #e4cf9b 0%, #c6a664 52%, #b08f4f 100%);
  --gold-metal-hover: linear-gradient(180deg, #eedcb0 0%, #d8be84 52%, #c2a05c 100%);
  --glass-bg: linear-gradient(180deg, rgba(34, 31, 28, 0.72), rgba(20, 19, 18, 0.72));
  --glass-border: rgba(198, 166, 100, 0.22);
}

/* Richer hero backdrop + glass/sheen on the quote card */
.page-lp .hero--quote {
  background:
    radial-gradient(120% 95% at 16% -12%, rgba(198, 166, 100, 0.16), transparent 56%),
    radial-gradient(90% 80% at 88% 112%, rgba(198, 166, 100, 0.09), transparent 60%),
    linear-gradient(180deg, #121110, var(--bg-base));
}
/* NOTE: the card must NOT clip overflow — the custom date/time/hours pickers
   (.cf-pop) are absolutely positioned inside it and would be cut off. The sheen
   ::before is contained by its own border-radius instead of overflow:hidden.
   The hero is raised above the following marquee/sections so an open picker that
   extends past the card bottom is never painted over. */
.page-lp .hero--quote { position: relative; z-index: 2; }
.page-lp .hero--quote .quote-card--v2 { position: relative; backdrop-filter: blur(6px) saturate(140%); }
.page-lp .hero--quote .quote-card--v2::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.06), transparent 42%);
}

/* Premium primary buttons (metallic sheen) — scoped to homepage */
.page-lp .btn-primary { background: var(--gold-metal); color: var(--text-on-gold); box-shadow: 0 6px 20px -8px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.page-lp .btn-primary:hover { background: var(--gold-metal-hover); }
@media (prefers-reduced-motion: no-preference) { .page-lp .btn-primary:hover { transform: translateY(-1px); } }

.page-lp .section-head h2 { letter-spacing: -0.02em; }

/* Card sheen + a touch more lift on interactive cards (homepage only) */
.page-lp .card-surface { position: relative; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .page-lp .card-interactive { transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
  .page-lp .card-interactive:hover { transform: translateY(-4px); }
}

/* ---- Trust band ---- */
.page-lp .hm-band-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .page-lp .hm-band-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .page-lp .hm-band-grid { grid-template-columns: repeat(4, 1fr); } }
.page-lp .hm-band-tile { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius-lg); background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(6px); box-shadow: 0 20px 44px -30px rgba(0, 0, 0, 0.85); }
.page-lp .hm-band-tile .icon-tile { flex: none; }
.page-lp .hm-band-copy { display: flex; flex-direction: column; line-height: 1.3; }
.page-lp .hm-band-copy b { color: var(--text-primary); font-size: 1rem; font-weight: 600; }
.page-lp .hm-band-copy span { color: var(--text-secondary); font-size: 0.84rem; }

/* ---- Fleet cards (premium surface) ---- */
.page-lp .fleet-card { background: linear-gradient(180deg, #1b1a18, #141312); }
.page-lp .fleet-card .media::after { background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.6)); }

/* ---- The Alpha Standard: promises + how-it-works ---- */
.page-lp .hm-promise { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .page-lp .hm-promise { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .page-lp .hm-promise { grid-template-columns: repeat(4, 1fr); } }
.page-lp .hm-promise .promise-tile { padding: 24px 20px; }
.page-lp .hm-promise .promise-tile .icon-tile { margin-bottom: 14px; }
.page-lp .hm-promise .promise-tile h3 { font-size: var(--fs-h3); margin-bottom: 6px; }
.page-lp .hm-promise .promise-tile p { color: var(--text-secondary); font-size: 0.9rem; }
.page-lp .hm-steps { margin-top: 22px; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .page-lp .hm-steps { grid-template-columns: repeat(3, 1fr); } }
.page-lp .hm-step { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius-lg); background: var(--glass-bg); border: 1px solid var(--border-subtle); }
.page-lp .hm-step-n { flex: none; width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; font-weight: 700; color: var(--text-on-gold); background: var(--gold-metal); }
.page-lp .hm-step h3 { font-size: 1.02rem; margin-bottom: 4px; }
.page-lp .hm-step p { color: var(--text-secondary); font-size: 0.88rem; }

/* ---- CTA band ---- */
.page-lp .hm-cta-inner {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(28px, 5vw, 48px); border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid var(--border-gold);
  background: radial-gradient(120% 140% at 0% 0%, rgba(198, 166, 100, 0.14), transparent 55%), linear-gradient(180deg, #201d18, #141312);
  box-shadow: 0 30px 70px -36px rgba(0, 0, 0, 0.9);
}
.page-lp .hm-cta-inner::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(130deg, rgba(255, 255, 255, 0.06), transparent 40%); }
.page-lp .hm-cta-copy { max-width: 46ch; position: relative; }
.page-lp .hm-cta-copy h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.3rem); margin: 6px 0 10px; letter-spacing: -0.02em; }
.page-lp .hm-cta-copy p { color: var(--text-secondary); }
.page-lp .hm-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }

/* Flipped custom-picker popover: opens ABOVE the field when opening downward
   would cover the step's action buttons (set by hero-quote.js open()). */
.hero--quote .cf-field.cf-up .cf-pop { top: auto; bottom: calc(100% + 6px); }

/* The date calendar must NOT be pinned to the half-width date column (that
   crushed the 7-day grid and cut off the right columns). Give it a real width,
   anchored to the left cell (data-cf="date" is always the left column), capped
   to the viewport on mobile so no edge is clipped. An open picker is lifted
   above the trip-type tabs and every other form control. */
.hero--quote .cf-field.cf-open { z-index: 100; }
.hero--quote .cf-field[data-cf="date"] .cf-pop {
  width: 288px; max-width: calc(100vw - 24px); left: 0; right: auto;
}
