/* ═══════════════════════════════════════════════════════
   Cabway — style.css   (dark theme)
   Primary #2563EB · Accent #F59E0B · Ink #0B1220
   Headings Poppins Bold · Body Inter · Buttons Poppins SemiBold
   ═══════════════════════════════════════════════════════ */

:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: #60A5FA;
  --blue-soft: rgba(37, 99, 235, .16);
  --accent: #F59E0B;
  --accent-soft: rgba(245, 158, 11, .16);
  --wa: #25D366;
  --wa-dark: #1EB955;

  /* dark surfaces — very little pure white anywhere */
  --bg: #0B1220;
  --bg-2: #0E1728;
  --surface: #131D33;
  --surface-2: #182444;
  --line: rgba(148, 163, 184, .16);
  --line-soft: rgba(148, 163, 184, .09);

  --ink: #E8EEF9;
  --body: #A3B1C9;
  --muted: #7C8AA5;

  --r-sm: 12px;
  --r: 16px;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, .3);
  --shadow: 0 16px 40px rgba(0, 0, 0, .4);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, .55);
  --shadow-blue: 0 12px 30px rgba(37, 99, 235, .4);

  --ease: cubic-bezier(.22, .68, .32, 1);
  --container: 1180px;

  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--ink);
}

p { margin: 0 0 1em; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  padding: 12px 18px; background: var(--blue); color: #fff;
  font-weight: 600; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 8px; }

/* ── Icons ─────────────────────────────────────────── */
.icon {
  width: 26px; height: 26px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-sm { width: 19px; height: 19px; }

.icon-tile {
  display: grid; place-items: center;
  width: 54px; height: 54px; margin-bottom: 16px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue-light);
  transition: transform .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease);
}
.icon-tile-accent { background: var(--accent-soft); color: var(--accent); }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px;
  border: 2px solid transparent; border-radius: var(--r-sm);
  font-family: var(--font-head); font-weight: 600; font-size: .97rem;
  cursor: pointer; white-space: nowrap;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
              background-color .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease);
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(1); }

.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.btn-secondary { background: rgba(96, 165, 250, .1); border-color: rgba(96, 165, 250, .45); color: #DCE9FF; }
.btn-secondary:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.btn-ghost { background: transparent; border-color: var(--line); color: var(--body); }
.btn-ghost:hover { border-color: var(--blue-light); color: var(--ink); }

.btn-light { background: #fff; border-color: #fff; color: var(--blue-dark); box-shadow: var(--shadow); }

.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--blue-dark); }

.btn-whatsapp { background: var(--wa); border-color: var(--wa); color: #06281A; box-shadow: 0 12px 28px rgba(37, 211, 102, .26); }
.btn-whatsapp:hover { background: var(--wa-dark); border-color: var(--wa-dark); }

.btn-lg { padding: 16px 30px; font-size: 1.03rem; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }

.wa-icon { width: 20px; height: 20px; flex: none; }

/* ── Header ────────────────────────────────────────── */
/* white bar so the logo's own light background reads as part of the header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .28);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 88px; }

.logo {
  display: inline-flex; align-items: center;
  /* the artwork carries its own left margin, so pull it back into optical
     alignment with the container edge */
  margin-left: -6px;
  transition: opacity .25s var(--ease);
}
.logo:hover { opacity: .85; }

.logo-img {
  display: block;
  height: clamp(42px, 5.2vw, 58px);
  width: auto;
}

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  position: relative; padding: 4px 0;
  font-weight: 500; font-size: .95rem; color: #475569;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--blue); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 5vw, 72px) 0 clamp(120px, 13vw, 180px);
  background:
    radial-gradient(1100px 560px at 80% -10%, rgba(37, 99, 235, .3), transparent 62%),
    linear-gradient(168deg, #0C1526 0%, var(--bg) 60%, #0A101C 100%);
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero-orb { position: absolute; border-radius: 50%; filter: blur(46px); pointer-events: none; }
.hero-orb-a {
  width: 460px; height: 460px; top: -150px; left: -130px;
  background: radial-gradient(circle, rgba(37, 99, 235, .5), transparent 68%);
  animation: float 15s ease-in-out infinite;
}
.hero-orb-b {
  width: 380px; height: 380px; right: 4%; bottom: 4%;
  background: radial-gradient(circle, rgba(245, 158, 11, .26), transparent 68%);
  animation: float 19s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, 46px) scale(1.1); }
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr .92fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 20px; padding: 8px 16px;
  border-radius: 999px;
  background: rgba(148, 163, 184, .09);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  color: var(--ink); font-size: .86rem; font-weight: 500;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4ADE80;
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); }
  70%  { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  color: #F5F8FF; margin-bottom: 16px; letter-spacing: -.035em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line-inner {
  display: block; transform: translateY(110%);
  animation: lineUp .9s var(--ease) forwards; animation-delay: var(--d, 0ms);
}
@keyframes lineUp { to { transform: translateY(0); } }
.hero-title .accent { color: var(--accent); }

.hero-sub { max-width: 500px; margin-bottom: 22px; font-size: clamp(.98rem, 1.9vw, 1.08rem); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 26px; }
.hero-badges li {
  display: flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 500; color: var(--ink);
}
.hero-badges .icon { color: var(--blue-light); }

.reveal-up {
  opacity: 0; transform: translateY(22px);
  animation: fadeUp .8s var(--ease) forwards; animation-delay: var(--d, 0ms);
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-alt { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.hero-alt a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.hero-alt a:hover { border-bottom-color: var(--blue-light); }

/* ── Animated car driving across the hero ──────────── */
.drive {
  position: absolute; left: 0; right: 0; bottom: 0; height: 130px;
  overflow: hidden; pointer-events: none; z-index: 1;
}
.drive-road {
  position: absolute; left: 0; right: 0; bottom: 34px; height: 2px;
  background: repeating-linear-gradient(90deg,
    rgba(148, 163, 184, .38) 0 26px, transparent 26px 56px);
  animation: dash 1.1s linear infinite;
}
@keyframes dash { to { background-position: -56px 0; } }

.drive::after {          /* soft ground glow the car rides over */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(to top, rgba(37, 99, 235, .12), transparent);
}

.drive-car {
  position: absolute; bottom: 20px; left: 0;
  width: 190px; height: auto;
  animation: drive 11s linear infinite;
}
@keyframes drive {
  0%   { transform: translateX(-230px); }
  100% { transform: translateX(calc(100vw + 60px)); }
}
.drive-car .paint  { fill: var(--accent); stroke: none; }
.drive-car .glass  { fill: #0B1220; opacity: .55; }
.drive-car .stripe { stroke: rgba(11, 18, 32, .3); stroke-width: 3; stroke-linecap: round; }
.drive-car .lamp   { fill: #FFF7E0; }
.drive-car .lamp-rear { fill: #F87171; }
.drive-car .tyre   { fill: #0B1220; stroke: #334155; stroke-width: 3; }
.drive-car .spokes { stroke: #475569; stroke-width: 2; stroke-linecap: round; }
.drive-car .speed path {
  stroke: rgba(148, 163, 184, .5); stroke-width: 3; stroke-linecap: round;
  animation: speedFade 1s ease-in-out infinite;
}
@keyframes speedFade { 0%, 100% { opacity: .25; } 50% { opacity: .8; } }

.drive-car .wheel { transform-box: fill-box; transform-origin: center; animation: roll .7s linear infinite; }
@keyframes roll { to { transform: rotate(360deg); } }

/* ── Booking widget ────────────────────────────────── */
.widget {
  position: relative;
  padding: 22px;
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}

/* stepper */
.stepper { position: relative; margin-bottom: 20px; }
.stepper-track {
  position: absolute; top: 15px; left: 12.5%; right: 12.5%; height: 2px;
  background: var(--line); border-radius: 2px;
}
.stepper-fill {
  display: block; width: 0; height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transition: width .45s var(--ease);
}
.stepper-nodes { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.node { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.node-dot {
  display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--surface-2);
  border: 2px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--muted);
  transition: all .35s var(--ease);
}
.node-label { font-size: .76rem; font-weight: 500; color: var(--muted); transition: color .35s var(--ease); }
.node.is-active .node-dot {
  background: var(--blue); border-color: var(--blue); color: #fff;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, .18);
}
.node.is-active .node-label { color: var(--ink); }
.node.is-done .node-dot { background: rgba(37, 99, 235, .2); border-color: var(--blue); color: var(--blue-light); }

/* step viewport + slide transitions */
.steps { position: relative; overflow: hidden; transition: height .42s var(--ease); }
/* top/left/right only — an `inset: 0` here would stretch each step to the
   container's height, and the height measurement would feed back on itself */
.step {
  position: absolute; top: 0; left: 0; right: 0;
  opacity: 0; transform: translateX(34px);
  pointer-events: none; visibility: hidden;
  transition: opacity .38s var(--ease), transform .38s var(--ease), visibility .38s;
}
.steps.is-back .step { transform: translateX(-34px); }
.step.is-active {
  opacity: 1; transform: none; pointer-events: auto; visibility: visible;
}

/* route fields with rail */
.route { position: relative; padding-left: 30px; }
.route-rail { position: absolute; left: 6px; top: 34px; bottom: 34px; width: 14px; }
.rail-dot {
  position: absolute; top: 0; left: 3px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue-light); box-shadow: 0 0 0 4px rgba(96, 165, 250, .18);
}
.rail-line {
  position: absolute; top: 12px; bottom: 16px; left: 7px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--line) 0 4px, transparent 4px 8px);
}
.rail-pin { position: absolute; bottom: -4px; left: 0; color: var(--accent); }
.rail-pin svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; }

.route-fields { display: grid; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label {
  font-size: .74rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}
.field input, .field select {
  width: 100%; padding: 12px 13px;
  font-family: var(--font-body); font-size: .94rem; color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.field input::placeholder { color: #64748B; }
.field input:focus, .field select:focus {
  outline: none; background: #1B2950;
  border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .2);
}
.field input.has-error { border-color: #F87171; animation: shake .4s var(--ease); }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.swap {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--blue-light);
  transition: transform .42s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.swap svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.swap:hover { border-color: var(--blue); background: rgba(37, 99, 235, .18); }
.swap.is-spun { transform: translateY(-50%) rotate(180deg); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.chip {
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--body); font-family: var(--font-body); font-size: .84rem; font-weight: 500;
  transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--blue-light); color: var(--ink); transform: translateY(-2px); }
.chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }

.step-error { margin: 10px 0 0; font-size: .84rem; color: #FCA5A5; opacity: 0; height: 0; transition: opacity .25s var(--ease); }
.step-error.is-on { opacity: 1; height: auto; margin-bottom: 8px; }

.step-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 16px; }
.step-actions .btn { width: 100%; }
.step > .btn-block { margin-top: 16px; }

/* car picker */
.cars { display: grid; gap: 10px; }
.car { cursor: pointer; }
.car input { position: absolute; opacity: 0; pointer-events: none; }
.car-inner {
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  gap: 4px 14px; padding: 13px 16px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: all .3s var(--ease);
}
.car-inner .icon { grid-row: span 2; color: var(--blue-light); transition: color .3s var(--ease); }
.car-name { font-family: var(--font-head); font-weight: 600; font-size: .96rem; color: var(--ink); }
.car-meta { grid-column: 2; font-size: .8rem; color: var(--muted); }
.car:hover .car-inner { border-color: rgba(96, 165, 250, .5); transform: translateY(-2px); }
.car input:checked + .car-inner {
  border-color: var(--blue); background: rgba(37, 99, 235, .16);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}
.car input:focus-visible + .car-inner { outline: 3px solid var(--blue-light); outline-offset: 2px; }

.summary {
  margin-top: 14px; padding: 12px 14px;
  background: rgba(148, 163, 184, .06); border-radius: var(--r-sm);
  border: 1px dashed var(--line);
}
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: .85rem; padding: 3px 0; }
.summary-row span { color: var(--muted); }
.summary-row strong { color: var(--ink); font-weight: 600; text-align: right; }

/* ── Confirmation screen ───────────────────────────── */
.confirm { text-align: center; animation: confirmIn .5s var(--ease) both; }
@keyframes confirmIn {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.confirm-check { width: 74px; height: 74px; margin: 4px auto 12px; }
.confirm-check svg { width: 100%; height: 100%; fill: none; }
.check-ring {
  stroke: var(--wa); stroke-width: 3;
  stroke-dasharray: 145; stroke-dashoffset: 145;
  animation: drawRing .7s var(--ease) forwards;
}
.check-tick {
  stroke: var(--wa); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: drawTick .4s var(--ease) .55s forwards;
}
@keyframes drawRing { to { stroke-dashoffset: 0; } }
@keyframes drawTick { to { stroke-dashoffset: 0; } }

.confirm h3 { font-size: 1.4rem; margin-bottom: 4px; }
.confirm-sub { font-size: .92rem; color: var(--muted); margin-bottom: 16px; }

/* mini map */
.map {
  position: relative; height: 150px; margin-bottom: 18px;
  border-radius: var(--r-sm); overflow: hidden;
  background: linear-gradient(160deg, #101B33, #0C1424);
  border: 1px solid var(--line);
}
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-svg .road { fill: none; stroke: rgba(148, 163, 184, .16); stroke-width: 9; stroke-linecap: round; }
.map-svg .route-line { fill: none; stroke: rgba(96, 165, 250, .28); stroke-width: 4; stroke-linecap: round; }
.map-svg .route-trace {
  fill: none; stroke: var(--blue-light); stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320;
  animation: trace 3.2s var(--ease) .3s forwards;
}
@keyframes trace { to { stroke-dashoffset: 0; } }

.map-marker { position: absolute; right: 14%; top: 16%; width: 30px; height: 30px; }
.marker-pin {
  position: relative; z-index: 2; width: 30px; height: 30px;
  fill: none; stroke: var(--accent); stroke-width: 1.8;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5));
  animation: pinDrop .6s var(--ease) .5s both;
}
@keyframes pinDrop {
  0%   { opacity: 0; transform: translateY(-22px) scale(.7); }
  70%  { transform: translateY(3px) scale(1.05); }
  100% { opacity: 1; transform: none; }
}
.marker-ring {
  position: absolute; left: 50%; top: 62%; width: 16px; height: 16px;
  margin: -8px 0 0 -8px; border-radius: 50%;
  border: 2px solid var(--accent);
  animation: ripple 2.2s ease-out 1s infinite;
}
.marker-ring-2 { animation-delay: 1.9s; }
@keyframes ripple {
  0%   { opacity: .85; transform: scale(.4); }
  100% { opacity: 0; transform: scale(3.4); }
}

.map-car {
  position: absolute; left: 4%; bottom: 12%;
  width: 34px; color: var(--accent);
  animation: mapDrive 3.2s var(--ease) .3s forwards;
}
.map-car svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes mapDrive {
  0%   { left: 4%;  bottom: 12%; opacity: 0; }
  10%  { opacity: 1; }
  45%  { left: 40%; bottom: 12%; }
  70%  { left: 44%; bottom: 48%; }
  100% { left: 76%; bottom: 62%; opacity: 1; }
}

/* ── Review + terms on the final step ──────────────── */
.review { margin-top: 0; margin-bottom: 12px; }
.pay-line {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 0 0 10px; padding: 10px 12px;
  background: var(--accent-soft); border-radius: var(--r-sm);
  font-size: .82rem; color: var(--ink);
}
.pay-line .icon { color: var(--accent); margin-top: 1px; }

.terms-check {
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  align-items: start; margin-top: 12px; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer;
  font-size: .82rem; color: var(--body);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.terms-check:hover { border-color: rgba(96, 165, 250, .45); }
.terms-check input { position: absolute; opacity: 0; pointer-events: none; }
.terms-check .tick {
  display: grid; place-items: center;
  width: 20px; height: 20px; margin-top: 1px;
  border: 2px solid var(--line); border-radius: 6px;
  transition: all .22s var(--ease);
}
.terms-check .tick::after {
  content: "✓"; font-size: .72rem; font-weight: 800; color: #fff;
  transform: scale(0); transition: transform .22s var(--ease);
}
.terms-check input:checked + .tick { background: var(--blue); border-color: var(--blue); }
.terms-check input:checked + .tick::after { transform: scale(1); }
.terms-check input:focus-visible + .tick { outline: 3px solid var(--blue-light); outline-offset: 2px; }
.terms-check a { color: var(--blue-light); font-weight: 600; text-decoration: underline; }
.terms-check.has-error {
  border-color: #F87171; background: rgba(248, 113, 113, .08);
  animation: shake .4s var(--ease);
}

.privacy-note {
  display: flex; align-items: center; gap: 8px;
  margin: 12px 0 0; padding: 10px 12px;
  background: var(--blue-soft); border-radius: var(--r-sm);
  font-size: .8rem; color: var(--ink);
}
.privacy-note .icon { color: var(--blue-light); }

/* ── Confirmation next steps ───────────────────────── */
.next { text-align: left; margin-bottom: 16px; }
.next-title {
  margin: 0 0 8px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.next-list { counter-reset: n; }
.next-list li {
  counter-increment: n;
  position: relative; padding: 7px 0 7px 30px;
  font-size: .88rem; color: var(--body);
}
.next-list li::before {
  content: counter(n);
  position: absolute; left: 0; top: 7px;
  display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: .7rem; font-weight: 700; color: var(--muted);
}
.next-list li.done { color: var(--ink); }
.next-list li.done::before {
  content: "✓";
  background: var(--wa); border-color: var(--wa); color: #06281A;
}

.confirm-actions { display: grid; gap: 10px; }

/* ── Trust strip ───────────────────────────────────── */
.trust { padding: 30px 0; background: var(--bg-2); border-bottom: 1px solid var(--line-soft); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.trust-item strong {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem); color: var(--blue-light); letter-spacing: -.02em;
}
.trust-item span { font-size: .88rem; color: var(--muted); }

/* ── Sections ──────────────────────────────────────── */
.section { padding: clamp(60px, 8vw, 100px) 0; background: var(--bg); }
.section-alt { background: var(--bg-2); }

.section-head { max-width: 700px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.8vw, 2.5rem); }
.section-sub { margin: 0; font-size: 1.02rem; color: var(--muted); }

.eyebrow {
  display: inline-block; margin: 0 0 10px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-light);
}
.eyebrow-light { color: var(--accent); }

.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ── Fleet ─────────────────────────────────────────── */
.fleet { max-width: 1000px; margin: 0 auto; }
.fleet-tabs {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 6px; padding: 6px; margin-bottom: 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.fleet-tab {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 15px 10px; border-radius: var(--r-sm); cursor: pointer; text-align: center;
  transition: transform .3s var(--ease);
}
.fleet-tab:hover { transform: translateY(-2px); }
.tab-tier { font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--body); transition: color .3s var(--ease); }
.tab-indicator {
  position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px;
  width: calc((100% - 12px - 12px) / 3);
  border-radius: var(--r-sm); background: var(--blue); box-shadow: var(--shadow-blue);
  transition: transform .42s var(--ease);
}
#v-suv:checked    ~ .fleet-tabs .tab-indicator { transform: translateX(calc(100% + 6px)); }
#v-luxury:checked ~ .fleet-tabs .tab-indicator { transform: translateX(calc(200% + 12px)); }
#v-sedan:checked  ~ .fleet-tabs .fleet-tab:nth-of-type(1) .tab-tier,
#v-suv:checked    ~ .fleet-tabs .fleet-tab:nth-of-type(2) .tab-tier,
#v-luxury:checked ~ .fleet-tabs .fleet-tab:nth-of-type(3) .tab-tier { color: #fff; }
.fleet-radio:focus-visible ~ .fleet-tabs { outline: 3px solid var(--blue-light); outline-offset: 4px; }

.fleet-panels { position: relative; }
.fleet-panel {
  display: none; grid-template-columns: 1fr 1.15fr;
  gap: clamp(20px, 4vw, 44px); align-items: center;
  padding: clamp(20px, 3vw, 34px);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow);
  animation: panelIn .5s var(--ease) both;
}
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
#v-sedan:checked  ~ .fleet-panels #p-sedan,
#v-suv:checked    ~ .fleet-panels #p-suv,
#v-luxury:checked ~ .fleet-panels #p-luxury { display: grid; }

.fleet-art { overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 10; background: var(--surface-2); }
.fleet-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.fleet-panel:hover .fleet-art img { transform: scale(1.04); }

.fleet-info h3 {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 18px;
}
.pill {
  padding: 4px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-head); font-size: .68rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
}

.spec-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.spec-list li {
  display: flex; align-items: flex-start; gap: 10px; padding: 13px;
  border-radius: var(--r-sm); background: var(--surface-2); color: var(--blue-light);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.spec-list li:hover { background: rgba(37, 99, 235, .18); transform: translateY(-2px); }
.spec-list .icon { width: 22px; height: 22px; margin-top: 2px; }
.spec-list strong { display: block; font-size: .92rem; line-height: 1.3; color: var(--ink); }
.spec-list small { font-size: .78rem; color: var(--muted); }

.fleet-desc { margin-bottom: 20px; }
.fleet-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Services ──────────────────────────────────────── */
/* fixed column counts, not auto-fit — auto-fit leaves ragged last rows
   (8 perks wrapping 3-3-2). Every row is now full or the grid is single-column. */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  position: relative; overflow: hidden; padding: 28px 26px 26px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-sm);
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(96, 165, 250, .35); box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .icon-tile { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.06); }
.service-card h3 { font-size: 1.14rem; }
.service-card p { font-size: .95rem; margin-bottom: 14px; }

.link-arrow { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--blue-light); transition: color .25s var(--ease); }
.link-arrow:hover { color: #fff; }

/* ── Team ──────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.driver-card {
  overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.driver-card:hover { transform: translateY(-8px); border-color: rgba(96, 165, 250, .35); box-shadow: var(--shadow-lg); }
.driver-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.driver-avatar, .driver-img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.driver-card:hover .driver-avatar, .driver-card:hover .driver-img { transform: scale(1.08); }
.driver-rating {
  position: absolute; top: 14px; right: 14px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(11, 18, 32, .78); backdrop-filter: blur(6px);
  color: var(--accent); font-size: .82rem; font-weight: 600;
  border: 1px solid var(--line);
}
.driver-body { padding: 22px 24px 26px; }
.driver-body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.driver-vehicle {
  display: inline-block; margin: 0 0 12px; padding: 3px 11px;
  border-radius: 999px; background: var(--blue-soft); color: var(--blue-light);
  font-size: .8rem; font-weight: 600;
}
.driver-bio { font-size: .94rem; margin: 0; }
.driver-tag {
  display: inline-block; margin: 14px 0 0; padding: 7px 14px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent);
  font-size: .82rem; font-weight: 600;
}

/* ── Reviews ───────────────────────────────────────── */
.reviews { margin-top: clamp(52px, 7vw, 80px); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  position: relative; margin: 0; padding: 28px 26px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-card::before {
  content: "\201C"; position: absolute; top: 4px; right: 22px;
  font-family: var(--font-head); font-size: 4.4rem; line-height: 1;
  color: var(--blue-light); opacity: .16;
}
.stars { margin-bottom: 12px; color: var(--accent); font-size: 1.05rem; letter-spacing: .12em; }
.review-card blockquote { margin: 0 0 20px; font-size: .95rem; }
.review-card figcaption {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.review-avatar {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 50%; background: var(--blue); color: #fff;
  font-family: var(--font-head); font-weight: 600;
}
.review-card figcaption strong { display: block; font-size: .94rem; color: var(--ink); }
.review-card figcaption small { font-size: .82rem; color: var(--muted); }

/* ── Special offers ────────────────────────────────── */
.offers {
  background:
    radial-gradient(700px 380px at 12% 0%, rgba(37, 99, 235, .34), transparent 62%),
    linear-gradient(160deg, #101A31, #0A1020);
}
.offers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.offer-card {
  position: relative; padding: 32px 28px 28px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow);
  transition: transform .38s var(--ease), box-shadow .38s var(--ease);
}
.offer-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-lg); }
.offer-tag {
  position: absolute; top: 20px; right: 20px;
  padding: 5px 13px; border-radius: 999px;
  background: var(--blue); color: #fff;
  font-family: var(--font-head); font-size: .7rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
}
.offer-card h3 { font-size: 1.28rem; }
.offer-card > p { font-size: .96rem; }
.offer-points { margin-bottom: 22px; }
.offer-points li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .93rem; }
.offer-points li::before {
  content: "✓"; display: grid; place-items: center;
  width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue-light);
  font-size: .72rem; font-weight: 700;
}

/* ── Why Cabway ────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-item {
  position: relative; overflow: hidden; padding: 28px 24px 26px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.why-item:hover { transform: translateY(-8px) scale(1.02); border-color: rgba(96, 165, 250, .35); box-shadow: var(--shadow-lg); }
.why-item:hover .icon-tile { background: var(--blue); color: #fff; transform: translateY(-3px) rotate(-6deg) scale(1.07); }
.why-accent {
  background: linear-gradient(165deg, var(--blue-dark), var(--blue));
  border-color: transparent; box-shadow: var(--shadow-blue);
}
.why-accent h3 { color: #fff; }
.why-accent p { color: rgba(255, 255, 255, .86); }
.why-accent .icon-tile { background: rgba(255, 255, 255, .18); color: #fff; }
.why-accent:hover .icon-tile { background: #fff; color: var(--blue); }
.why-item h3 { font-size: 1.08rem; }
.why-item p { font-size: .93rem; margin: 0; }

/* ── Terms & Conditions ────────────────────────────── */
.terms-wrap { max-width: 960px; }
.terms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.term {
  padding: 22px 24px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.term:hover { border-color: rgba(96, 165, 250, .3); transform: translateY(-3px); }
.term h3 { font-size: 1rem; margin-bottom: 8px; color: var(--blue-light); }
.term p { margin: 0; font-size: .89rem; line-height: 1.6; }
.term strong { color: var(--ink); }
.term a { color: var(--blue-light); text-decoration: underline; }

.footer-terms { color: var(--blue-light); text-decoration: underline; }
.footer-terms:hover { color: #fff; }

/* ── Final CTA ─────────────────────────────────────── */
.cta {
  padding: clamp(60px, 8vw, 96px) 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  text-align: center;
}
.cta-inner { max-width: 760px; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: #fff; }
.cta p { color: rgba(255, 255, 255, .86); font-size: 1.04rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-note { margin: 26px 0 0; font-size: .93rem; font-weight: 500; color: rgba(255, 255, 255, .82); }
.cta-note a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .45); }
.cta-note a:hover { border-bottom-color: #fff; }

/* ── Footer ────────────────────────────────────────── */
.site-footer { padding: 56px 0 24px; background: #080D18; color: var(--muted); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; padding-bottom: 34px; }
.footer-logo { display: block; height: 58px; width: auto; margin-bottom: 12px; }
.footer-brand p { font-size: .93rem; max-width: 340px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.footer-nav h4 { margin-bottom: 14px; color: var(--ink); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-nav a {
  display: block; padding: 5px 0; font-size: .93rem; color: var(--muted);
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.footer-nav a:hover { color: var(--blue-light); transform: translateX(4px); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* ── Floating quick-book ───────────────────────────── */
.quick-book {
  position: fixed; z-index: 80; right: 22px; bottom: 22px;
  display: flex; flex-direction: column; gap: 12px;
  animation: fadeUp .6s var(--ease) .9s both;
}
.quick-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: var(--r-sm);
  font-family: var(--font-head); font-weight: 600; font-size: .94rem;
  box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease);
}
.quick-btn:hover { transform: scale(1.03); }
.quick-call { background: var(--blue); color: #fff; }
.quick-wa { background: var(--wa); color: #06281A; }

/* ── Responsive ────────────────────────────────────── */
/* ── Symmetry: step 4 -> 2 -> 1 and 3 -> 1, never a half-empty row ── */
@media (max-width: 1080px) {
  .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding-bottom: clamp(140px, 18vw, 190px); }
  .fleet-panel { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  /* 3 cards would wrap 2 + 1 here, so go straight to a single column */
  .team-grid, .reviews-grid { grid-template-columns: 1fr; }
}

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

@media (max-width: 620px) {
  .services-grid, .why-grid, .offers-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; min-height: 84px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .spec-list { grid-template-columns: 1fr; }
  .fleet-actions .btn { flex: 1 1 100%; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .drive-car { width: 140px; }

  .quick-book {
    left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(8, 13, 24, .96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .quick-book .quick-btn { flex: 1; justify-content: center; margin: 0 5px; padding: 14px 10px; box-shadow: none; }
  body { padding-bottom: 76px; }
}

@media (max-width: 460px) {
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ── Reduced motion ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-title .line-inner { transform: none; }
  .reveal-up { opacity: 1; transform: none; }
  .drive-car { display: none; }
  .map-svg .route-trace { stroke-dashoffset: 0; }
}
