:root {
  --ink: #221f1a;
  --ink-muted: #716a5c;
  --ink-faint: #a9a190;
  --paper: #f5f2ec;
  --surface: #ffffff;
  --border: #e4dfd2;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; font-family: var(--font); background: var(--paper); color: var(--ink); font-size: 15px; line-height: 1.55; overflow-x: hidden; max-width: 100vw; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.site-nav { position: sticky; top: 0; z-index: 20; background: rgba(245,242,236,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand-mark { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.brand-mark .logo { width: 34px; height: 34px; border-radius: 9px; object-fit: contain; }
.brand-mark .letter { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--accent-700), var(--accent-500)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { font-size: 13.5px; font-weight: 600; color: var(--ink-muted); }
.nav-links a:not(.btn):hover { color: var(--ink); }

.nav-toggle { display: none; background: none; border: none; padding: 8px; margin: -8px; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); display: block; }
.nav-scrim { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 13.5px/1 var(--font); padding: 12px 20px; border-radius: 11px; border: none; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--accent-600); color: #fff; }
.btn-primary:hover { background: var(--accent-700); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--ink-faint); }
.btn-sm { padding: 9px 15px; font-size: 12.5px; }

/* Hero */
.hero { padding: 76px 0 84px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 420px;
  background: radial-gradient(ellipse at top, var(--accent-100), transparent 70%);
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font: 700 11.5px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-700); background: var(--accent-050); border: 1px solid var(--accent-100); padding: 7px 12px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: 46px; font-weight: 800; letter-spacing: -0.02em; max-width: 720px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent-600); }
.hero .lede { margin-top: 18px; font-size: 16.5px; color: var(--ink-muted); max-width: 540px; line-height: 1.6; }
.hero .cta-row { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .trust-row { margin-top: 40px; display: flex; gap: 28px; flex-wrap: wrap; }
.hero .trust-row .stat b { display: block; font: 800 24px/1 var(--mono); font-variant-numeric: tabular-nums; }
.hero .trust-row .stat span { font-size: 11.5px; color: var(--ink-muted); font-weight: 600; }

/* Section shell */
section.block { padding: 64px 0; }
.section-head { max-width: 560px; margin-bottom: 40px; }
.section-head .kicker { font: 800 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-600); margin-bottom: 10px; }
.section-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
.section-head p { margin-top: 10px; color: var(--ink-muted); font-size: 14.5px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px 20px; }
.step .num { font: 800 13px/1 var(--mono); color: var(--accent-600); background: var(--accent-050); width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 12.5px; color: var(--ink-muted); line-height: 1.55; }

/* Vehicle types */
.vt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.vt-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.vt-card .icon { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-050); color: var(--accent-700); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.vt-card h3 { font-size: 15px; font-weight: 700; }
.vt-card .pax { font-size: 12px; color: var(--ink-muted); font-weight: 600; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card { padding: 4px 0; }
.why-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.why-card h3 svg { width: 18px; height: 18px; stroke: var(--accent-600); flex-shrink: 0; }
.why-card p { font-size: 13px; color: var(--ink-muted); line-height: 1.6; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--accent-700), var(--accent-500)); border-radius: 24px; padding: 48px 44px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 26px; font-weight: 800; max-width: 420px; text-wrap: balance; }
.cta-band p { margin-top: 8px; color: rgba(255,255,255,.85); font-size: 13.5px; max-width: 420px; }
.cta-band .btn-primary { background: #fff; color: var(--accent-700); }
.cta-band .btn-primary:hover { background: #fff; opacity: .92; }

/* Footer */
footer.site-footer { border-top: 1px solid var(--border); padding: 44px 0 30px; }
footer .foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer .foot-brand p { margin-top: 10px; font-size: 12.5px; color: var(--ink-muted); max-width: 280px; }
footer .foot-contact { font-size: 13px; display: flex; flex-direction: column; gap: 7px; color: var(--ink-muted); }
footer .foot-contact a:hover { color: var(--ink); }
footer .foot-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 11.5px; color: var(--ink-faint); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer .foot-legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
footer .foot-legal-links a { color: var(--ink-faint); }
footer .foot-legal-links a:hover { color: var(--ink-muted); }

@media (max-width: 860px) {
  .hero h1 { font-size: 33px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 26px; flex-direction: column; align-items: flex-start; }

  .nav-toggle { display: inline-flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 300px;
    max-width: 78vw;
    background: var(--surface);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    padding: 88px 22px 24px;
    margin: 0;
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 30;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); box-shadow: -12px 0 32px rgba(34,31,26,.14); }
  .nav-links a:not(.btn) { display: block; width: 100%; padding: 12px 4px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
  .nav-links a.btn { width: 100%; margin-top: 10px; }

  .nav-scrim {
    display: block;
    position: fixed;
    /* Not "inset: 0" on purpose: .site-nav's backdrop-filter makes it the
       containing block for fixed descendants, so a bottom/height relative
       to nav's own (short) box would only cover the nav bar itself instead
       of the full page. Viewport units sidestep that entirely. */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(34,31,26,.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 29;
  }
  .nav-scrim.open { opacity: 1; pointer-events: auto; }
}

@media (max-width: 480px) {
  .site-nav .wrap { height: 60px; }
  .brand-mark { font-size: 15px; }
  .brand-mark .logo, .brand-mark .letter { width: 30px; height: 30px; }

  .hero { padding: 56px 0 60px; }
  .hero h1 { font-size: 28px; }
  .hero .lede { font-size: 14.5px; }
  .hero .trust-row { gap: 20px; }

  section.block { padding: 44px 0; }
  .section-head h2 { font-size: 23px; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 28px 22px; }
  .cta-band h2 { font-size: 21px; }
}

/* ---- Booking wizard ---- */
.book-page { padding: 40px 0 80px; }
.book-wrap { max-width: 760px; }

.stepper { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 26px; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 8px; font: 700 12px/1 var(--font); color: var(--ink-faint); padding-bottom: 12px; border-bottom: 3px solid var(--border); }
.stepper li.on { color: var(--ink); border-bottom-color: var(--accent-500); }
.stepper .dot { width: 22px; height: 22px; border-radius: 999px; background: var(--border); color: var(--ink-muted); display: flex; align-items: center; justify-content: center; font: 800 11px/1 var(--mono); flex-shrink: 0; }
.stepper li.on .dot { background: var(--accent-500); color: #fff; }

.book-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px; }
.book-card h1 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.book-card .sub { margin-top: 8px; font-size: 13.5px; color: var(--ink-muted); line-height: 1.55; max-width: 480px; }

.step-panel { display: none; }
.step-panel.active { display: block; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font: 700 11.5px/1 var(--font); color: var(--ink-muted); }
.form-field input, .form-field select {
  font: inherit; font-size: 14px; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--paper); color: var(--ink); width: 100%;
}
.form-field input:focus, .form-field select:focus { outline: 2px solid var(--accent-100); border-color: var(--accent-500); }
.form-field select:disabled, .form-field input:disabled { opacity: .55; }

.vt-picker { margin-top: 26px; }
.vt-picker > label { font: 700 11.5px/1 var(--font); color: var(--ink-muted); display: block; margin-bottom: 10px; }
.vt-picker .vt-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.vt-select { font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.vt-select:hover { border-color: var(--accent-500); }
.vt-select.selected { border-color: var(--accent-500); background: var(--accent-050); }
.vt-loading { grid-column: 1 / -1; font-size: 13px; color: var(--ink-muted); }

.otp-row { display: flex; gap: 8px; }
.otp-row input { flex: 1; }
.otp-status { font-size: 12.5px; color: var(--accent-700); margin-top: 4px; min-height: 1em; }

#otp-code {
  font: 800 22px/1 var(--mono);
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-align: center;
  padding-top: 14px;
  padding-bottom: 14px;
  border-width: 2px;
}

.channel-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.channel-grid .vt-card { padding: 12px 14px; gap: 2px; }
.channel-grid .vt-card h3 { font-size: 13px; }
.channel-grid .vt-card.disabled { opacity: .45; cursor: not-allowed; }
.channel-hint { font-size: 11.5px; color: var(--ink-muted); margin-top: 6px; }
.channel-hint.warn { color: #a32f22; }

.step-error { margin-top: 16px; font-size: 12.5px; color: #a32f22; min-height: 1em; }
.legal-note { margin-top: 14px; font-size: 11.5px; color: var(--ink-faint); }
.legal-note a { color: var(--ink-muted); text-decoration: underline; }
.legal-note a:hover { color: var(--ink); }
.step-actions { margin-top: 24px; display: flex; gap: 10px; justify-content: flex-end; }
.step-actions .btn { min-width: 130px; }

.confirm-mark { width: 52px; height: 52px; border-radius: 999px; background: var(--accent-050); color: var(--accent-700); font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.confirm-card { margin-top: 22px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.confirm-row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px; font-size: 13px; border-bottom: 1px solid var(--border); }
.confirm-row:last-child { border-bottom: none; }
.confirm-row span { color: var(--ink-muted); }
.confirm-row b.mono { font-family: var(--mono); }

.pill { display: inline-flex; align-items: center; font: 700 10.5px/1 var(--font); padding: 6px 10px; border-radius: 999px; white-space: nowrap; text-transform: capitalize; }
.pill.pending { background: #fcefd0; color: #8a5e10; }
.pill.confirm { background: #dceafb; color: #1d4e89; }
.pill.completed { background: #def2de; color: #276b34; }
.pill.cancel { background: #fbdfdc; color: #a32f22; }

.recent-panel { margin-top: 34px; }
.recent-panel h2 { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.recent-list { display: flex; flex-direction: column; gap: 8px; }
.recent-row { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 13px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.recent-row b { display: block; font-size: 13px; font-weight: 700; }
.recent-row span:not(.pill) { display: block; font-size: 11.5px; color: var(--ink-muted); margin-top: 3px; }

@media (max-width: 640px) {
  .book-card { padding: 22px 18px; border-radius: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .stepper li span:not(.dot) { display: none; }
  .stepper li { justify-content: center; }
  .step-actions { flex-direction: column-reverse; }
  .step-actions .btn { width: 100%; min-width: 0; }
  .otp-row { flex-direction: column; }
}

@media (max-width: 380px) {
  .channel-grid { grid-template-columns: 1fr; }
}
