/* =========================================================
   Clavaden Private Hire — Design System
   Mobile-first, responsive
   ========================================================= */

:root {
  /* Colors */
  --navy:        #0b1a2c;
  --navy-2:      #0f2138;
  --navy-3:      #14293f;
  --navy-card:   #10233b;
  --navy-line:   #24405c;

  --gold:        #f5b301;
  --gold-2:      #ffc21f;
  --gold-dark:   #d99e00;

  --green:       #22c55e;
  --green-2:     #16a34a;
  --wa:          #25d366;
  --wa-dark:     #1db954;

  --ink:         #131c2b;
  --ink-2:       #1e293b;
  --muted:       #64748b;
  --muted-2:     #94a3b8;

  --bg:          #f4f6f8;
  --bg-2:        #eef1f4;
  --card:        #ffffff;
  --line:        #e6e9ee;
  --line-2:      #eceff3;

  /* Radii */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(16,35,59,.06), 0 1px 3px rgba(16,35,59,.05);
  --sh:    0 4px 14px rgba(16,35,59,.08);
  --sh-lg: 0 18px 45px rgba(9,20,35,.18);

  --maxw: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Outfit", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}

h1, h2, h3, h4, h5, h6, .brand-text {
  font-family: var(--font-display);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

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

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 18px;
  border-radius: var(--r);
  border: 1.5px solid transparent;
  transition: transform .06s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-block { width: 100%; }

.btn-wa      { background: var(--wa); color: #fff; }
.btn-wa:hover{ background: var(--wa-dark); }

.btn-green   { background: var(--green-2); color: #fff; }
.btn-green:hover { background: #15803d; }

.btn-gold    { background: var(--gold); color: #10233b; font-weight: 700; }
.btn-gold:hover { background: var(--gold-2); }

.btn-navy    { background: var(--navy-card); color: #fff; border-color: rgba(255,255,255,.14); }
.btn-navy:hover { background: #16304e; }

.btn-dark    { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0b1220; }

.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: #cbd5e1; background: #fafbfc; }

.btn-outline-wa   { background: #fff; color: #128a3a; border-color: #b7e9c6; }
.btn-outline-wa:hover { background: #f2fbf5; }

.btn-sm { padding: 10px 16px; font-size: 13.5px; }

/* =========================================================
   Pills / Badges
   ========================================================= */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--r-pill);
}
.pill-live {
  color: #22c55e;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.35);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }
.dot-pulse { box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: pulse 2s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.badge-green {
  font-size: 12px; font-weight: 700; color: #15803d;
  background: #dcfce7; padding: 4px 10px; border-radius: var(--r-pill);
}

/* =========================================================
   Logo
   ========================================================= */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-img { height: 42px; width: auto; display: block; }
.appbar .logo-img { height: 34px; }
.footer .logo-img { height: 46px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(150deg, #12263f, #0b1a2c);
  display: grid; place-items: center;
  border: 1px solid rgba(245,179,1,.4);
}
.logo-mark svg { width: 19px; height: 19px; }
.logo-text { line-height: 1; }
.logo-name { font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.logo-sub  { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .22em; color: var(--gold); margin-top: 3px; }

/* =========================================================
   Top navigation (desktop & tablet)
   ========================================================= */
body {
  padding-top: 56px;
}
@media (min-width: 640px) {
  body {
    padding-top: 68px;
  }
}

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.topbar .logo-name { color: var(--ink); }
.nav-links { display: none; gap: 30px; align-items: center; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: #334155; position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--gold); color: #10233b;
}
.icon-btn.navy { background: var(--navy-card); color: #fff; }
.icon-btn svg { width: 18px; height: 18px; }
.hamburger { display: grid; }

/* mobile top header (app-style) */
.appbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--navy);
  color: #fff;
  padding: 12px 16px calc(12px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.appbar-row { display: flex; align-items: center; justify-content: space-between; }
.appbar .logo-name { color: #fff; font-size: 18px; }
.appbar .logo-mark { width: 30px; height: 30px; }
.appbar-icon {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
}
.appbar-icon svg { width: 18px; height: 18px; }
.appbar-icon.gold { background: var(--gold); color: #10233b; }

/* sub-page app header */
.subhead {
  background: var(--navy); color: #fff; text-align: center;
  padding: 8px 16px 20px;
}
.subhead-top {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  position: relative; height: 40px;
}
.subhead-back {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; display: grid; place-items: center; color: #fff;
}
.subhead-back svg { width: 20px; height: 20px; }
.subhead-phone {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
}
.subhead-phone svg { width: 18px; height: 18px; }
.subhead h1 { font-size: 18px; font-weight: 700; margin: 0; }
.subhead .status { font-size: 12.5px; color: var(--green); display: inline-flex; gap: 6px; align-items: center; }
.subhead p { font-size: 13.5px; color: #b7c4d4; margin: 8px auto 0; max-width: 320px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background:
    linear-gradient(135deg, rgba(16, 35, 59, 0.92) 0%, rgba(10, 22, 38, 0.85) 55%, rgba(16, 35, 59, 0.94) 100%),
    url('https://images.unsplash.com/photo-1541899481282-d53bffe3c35d?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 16px 16px 0;
  border-radius: 24px;
}
@media (min-width: 1240px) {
  .hero {
    max-width: 1240px;
    margin: 20px auto 0;
  }
}
.hero-inner { position: relative; z-index: 2; padding: 18px 0 34px; }
.hero-inner.hero-single {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 54px 0 68px;
  gap: 20px;
}
.hero-single .hero-lead {
  margin: 0 auto;
  max-width: 620px;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(30px, 8.5vw, 40px);
  line-height: 1.12; margin: 0 0 16px; font-weight: 800; letter-spacing: -.02em;
}
.hero h1 .g { color: var(--gold); }
.hero-lead { color: #c4d0dd; font-size: 15px; max-width: 440px; margin: 0 0 20px; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.hero-note { font-size: 12.5px; color: #93a4b6; margin: 0 0 18px; }

/* =========================================================
   Hero with embedded ride form
   Mobile/base: centered text only (form hidden).
   Desktop (>=992px): two columns, left-aligned text + form.
   ========================================================= */
.hero-inner.hero-with-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 54px 0 68px;
  gap: 20px;
}
.hero-with-form .hero-lead { margin: 0 auto; max-width: 620px; }
.hero-form-col { display: block; }

/* Mobile & tablet: booking form at the TOP of the hero, before the copy,
   trimmed so the core form fits with little or no scrolling. */
@media (max-width: 991px) {
  .hero-inner.hero-with-form { padding: 10px 0 22px; gap: 12px; }
  .hero-with-form .hero-form-col { order: -1; width: 100%; }
  .hero-with-form .hero-left { order: 1; }
  .hero-with-form .hero-eyebrow { margin-bottom: 8px; }
  .hero-with-form .hero h1,
  .hero-with-form h1 { font-size: clamp(23px, 6.4vw, 31px); margin-bottom: 10px; }
  .hero-ride-card { padding: 15px !important; }
  .hero-ride-card .ride-card-header { margin-bottom: 10px; }
  .hero-ride-card #heroRideSub,
  .hero-ride-card .popular-destinations,
  .hero-ride-card .trust-info-card,
  .hero-ride-card .direct-contact-row { display: none; }
  .hero-ride-card .form-group { margin-bottom: 10px; }
}

.hero-form-col .hero-ride-card {
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.30);
  width: 100%;
}
.hero-ride-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 4px 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #059669;
}
.hero-ride-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}
/* When the driver is on a job (set from the app), the badge turns amber. */
.hero-ride-badge.is-hired { color: #b45309; }
.hero-ride-badge.is-hired .dot {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

/* =========================================================
   Out-of-service-area warning overlay
   ========================================================= */
.svc-warn-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(9, 19, 33, 0.72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.svc-warn-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.svc-warn-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 400px;
  padding: 30px 24px 24px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.40);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.svc-warn-backdrop.open .svc-warn-card {
  transform: none;
}
.svc-warn-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.svc-warn-x:hover {
  background: #e2e8f0;
}
.svc-warn-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fef3c7;
  color: #d97706;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.svc-warn-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}
.svc-warn-card p {
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 20px;
}
.svc-warn-card p strong {
  color: #0f172a;
  font-weight: 700;
}
.svc-warn-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc-warn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}
.svc-warn-btn.primary {
  background: #f5b301;
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(245, 179, 1, 0.35);
}
.svc-warn-btn.primary:hover {
  background: #e5a500;
}
.svc-warn-btn.secondary {
  background: #ffffff;
  color: #0f172a;
  border-color: #e2e8f0;
}
.svc-warn-btn.secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
@media (min-width: 480px) {
  .svc-warn-actions {
    flex-direction: row;
  }
}

.hero-vehicle-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 35, 59, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 179, 1, 0.35);
  border-radius: var(--r-pill);
  color: #e2e8f0;
  font-size: 12.5px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.hero-vehicle-pill strong {
  color: var(--gold);
}

/* Driver status card */
.status-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r);
  padding: 15px 16px;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(4px);
}
.status-card .label { font-size: 12px; color: #9fb0c2; }
.status-card .val { font-weight: 700; color: var(--green); font-size: 15px; margin-top: 2px; }
.status-card .sub { font-size: 11.5px; color: #8497aa; margin-top: 2px; }
.status-card .big-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--green); }

/* =========================================================
   Quote form card
   ========================================================= */
.quote-card {
  background: #ffffff;
  color: var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 0 12px 36px rgba(11, 26, 44, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 26px 22px;
}
.quote-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.quote-card .qc-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.45;
}

.field {
  position: relative;
  margin-bottom: 14px;
}

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

.field .fi {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.field .fi svg {
  width: 18px;
  height: 18px;
}

.input, .select, .textarea {
  width: 100%;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px 12px 42px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: #f8fafc;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.input {
  height: 48px;
}

.input::placeholder, .textarea::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(245, 179, 1, 0.18);
}

.select {
  height: 48px;
  padding: 0 38px 0 14px;
  appearance: none;
  background-color: #f8fafc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.textarea {
  padding: 12px 14px;
  min-height: 84px;
  resize: vertical;
  line-height: 1.5;
}

.form-section-title {
  font-size: 12px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 20px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.check:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.check:has(input:checked) {
  background: #fffbeb;
  border-color: var(--gold);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(245, 179, 1, 0.12);
}

.check input {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1.8px solid #94a3b8;
  border-radius: 5px;
  background: #ffffff;
  display: grid;
  place-items: center;
  flex: none;
  cursor: pointer;
  transition: all 0.15s ease;
  margin: 0;
}
.check input:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.check input:checked::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #0f172a;
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg) translate(-0.5px, -1px);
}

.connect-label {
  font-size: 12px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 20px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.connect-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.pay-note {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  margin: 12px 0 0;
  font-weight: 500;
}

/* =========================================================
   Section headers
   ========================================================= */
.section { padding: 30px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-head h2 { font-size: 19px; font-weight: 800; margin: 0; }
.link-more { font-size: 13px; color: var(--muted); font-weight: 600; }
.link-more:hover { color: var(--gold-dark); }

/* Features */
.features {
  background: #0f172a;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: 0;
  box-shadow: var(--sh-md);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.feature {
  position: relative;
  text-align: center;
  padding: 36px 18px 28px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  background: #0f172a;
}
.feature:nth-child(2n) {
  border-right: none;
}
.feature:nth-child(3),
.feature:nth-child(4) {
  border-bottom: none;
}
.feature-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.4s ease;
}
.feature:hover .feature-bg-img {
  transform: scale(1.08);
}
.feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(10, 18, 30, 0.88) 100%);
  z-index: 2;
  transition: background 0.3s ease;
}
.feature:hover .feature-overlay {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(10, 18, 30, 0.94) 100%);
}
.feature-body {
  position: relative;
  z-index: 3;
  width: 100%;
}
.feature h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.3;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}
.feature p {
  font-size: 12.5px;
  color: #e2e8f0;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .feature {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding: 48px 20px 32px;
    min-height: 230px;
  }
  .feature:nth-child(2n) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }
  .feature:last-child {
    border-right: none;
  }
}

/* Card base */
.two-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: 20px;
}
.card-title { font-size: 17px; font-weight: 800; margin: 0 0 16px; }

/* Anti-download & Protection for Driver Image */
.protected-photo-wrap {
  position: relative;
  display: inline-block;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.protected-photo-wrap img,
.driver-photo,
.driver-card-frame img,
.driver-card .dp,
img[src*="8L2Md3sk"] {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none; /* Prevents context menu, drag, and click-save on the image */
}

.protected-photo-shield {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0);
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
}

/* About driver */
.driver-top { display: flex; gap: 16px; align-items: flex-start; }
.driver-photo {
  width: 96px; height: 115px; border-radius: 12px; object-fit: cover; flex: none;
  background: #ffffff; border: 1px solid var(--line-2);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.driver-name { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.driver-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.driver-facts li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-2); }
.driver-facts li svg { width: 16px; height: 16px; color: var(--gold-dark); flex: none; }
.rating-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; }
.stars { color: var(--gold); letter-spacing: 1px; font-size: 14px; }
.gmark { font-weight: 700; font-size: 13px; }
.gmark .b{color:#4285F4}.gmark .r{color:#EA4335}.gmark .y{color:#FBBC05}.gmark .g{color:#34A853}
.mt-14 { margin-top: 14px; }

/* Popular journeys */
.journeys { display: grid; gap: 10px; }
.journey {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.journey:hover { border-color: #cbd5e1; box-shadow: var(--sh-sm); }
.journey .jpic {
  width: 52px; height: 52px; border-radius: 12px; flex: none;
  overflow: hidden; background: var(--bg-2); border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.journey .jpic img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.3s ease;
}
.journey:hover .jpic img { transform: scale(1.08); }
.journey .jmeta { flex: 1; min-width: 0; }
.journey .jname { font-weight: 700; font-size: 14.5px; color: var(--navy); }
.journey .jfrom { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* How it works (dark) */
.howitworks {
  background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 24px 22px;
}
.howitworks-full {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.88) 50%, rgba(11, 19, 41, 0.95) 100%),
              url('https://images.unsplash.com/photo-1541899481282-d53bffe3c35d?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: #fff;
  border-radius: var(--r-lg);
  padding: 40px 32px;
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(245, 179, 1, 0.25);
  overflow: hidden;
}

.howitworks-bg-glow {
  position: absolute;
  top: -100px;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 179, 1, 0.15) 0%, rgba(245, 179, 1, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  transition: all 0.8s ease;
  z-index: 0;
}

.howitworks-header {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.howitworks-top-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  border-radius: 30px;
  background: rgba(245, 179, 1, 0.12);
  border: 1px solid rgba(245, 179, 1, 0.3);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(245, 179, 1, 0.1);
}

.howitworks-header h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #fff;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.howitworks-sub {
  font-size: 15px;
  color: #94a3b8;
  margin: 0;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* Process Tracker Bar (Desktop) */
.process-tracker-bar {
  position: relative;
  max-width: 820px;
  margin: 0 auto 36px;
  padding: 0 20px;
  z-index: 2;
  display: none;
}

@media (min-width: 768px) {
  .process-tracker-bar {
    display: block;
  }
}

.tracker-line-bg {
  position: absolute;
  top: 50%;
  left: 40px;
  right: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
  border-radius: 3px;
  overflow: hidden;
}

.tracker-line-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f5b301 0%, #ffe066 100%);
  box-shadow: 0 0 12px rgba(245, 179, 1, 0.8);
  transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.tracker-nodes {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.tracker-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0f172a;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.35s ease;
  padding: 0;
}

.tracker-node.active,
.tracker-node:hover {
  background: var(--gold);
  border-color: #ffe066;
  color: #0f172a;
  box-shadow: 0 0 16px rgba(245, 179, 1, 0.6);
  transform: scale(1.15);
}

/* Steps Grid */
.steps-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .steps-full {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  cursor: pointer;
}

.step-watermark {
  position: absolute;
  top: 6px;
  right: 12px;
  font-size: 52px;
  font-weight: 900;
  color: #ffffff;
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  transition: all 0.4s ease;
  font-family: inherit;
}

.step-card:hover,
.step-card.active {
  transform: translateY(-8px) scale(1.01);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 179, 1, 0.55);
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 179, 1, 0.15);
}

.step-card:hover .step-watermark,
.step-card.active .step-watermark {
  opacity: 0.12;
  color: var(--gold);
  transform: translateY(-2px) scale(1.08);
}

.snum-wrapper {
  position: relative;
  display: inline-block;
}

.step-card .snum {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(245, 179, 1, 0.2) 0%, rgba(245, 179, 1, 0.08) 100%);
  color: var(--gold);
  border: 1px solid rgba(245, 179, 1, 0.4);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.35s ease;
}

.step-card:hover .snum,
.step-card.active .snum {
  background: var(--gold);
  color: var(--navy);
  border-color: #ffe066;
  box-shadow: 0 6px 18px rgba(245, 179, 1, 0.4);
  transform: rotate(-3deg) scale(1.05);
}

.step-card .snum svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.step-card:hover .snum svg,
.step-card.active .snum svg {
  transform: scale(1.1);
}

/* Icon Animations */
.snum-whatsapp { position: relative; }
.online-indicator {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #0f172a;
  box-shadow: 0 0 8px #22c55e;
}

.icon-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  border: 1px solid rgba(245, 179, 1, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.step-card.active .icon-pulse-ring {
  animation: ringPulse 2.4s infinite ease-in-out;
}

@keyframes ringPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.step-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.step-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(245, 179, 1, 0.14);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(245, 179, 1, 0.25);
}

.step-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.step-tag {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.06em;
}

.step-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 6px 0 8px;
  color: #fff;
  transition: color 0.3s ease;
}

.step-card:hover .step-content h4,
.step-card.active .step-content h4 {
  color: #ffffff;
}

.step-content p {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.step-card:hover .step-content p,
.step-card.active .step-content p {
  color: #cbd5e1;
}

/* Action Link inside step card */
.step-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  opacity: 0.85;
  transition: all 0.25s ease;
  padding: 4px 0;
}

.step-action-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.step-card:hover .step-action-btn,
.step-card.active .step-action-btn {
  opacity: 1;
  color: #ffffff;
}

.step-card:hover .step-action-btn svg,
.step-card.active .step-action-btn svg {
  transform: translateX(4px);
  color: var(--gold);
}

.step-action-btn.highlight {
  color: #38bdf8;
}

.step-card:hover .step-action-btn.highlight,
.step-card.active .step-action-btn.highlight {
  color: #e0f2fe;
}

/* Footer Banner Inside How It Works */
.howitworks-footer-bar {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hw-foot-btn {
  white-space: nowrap;
  padding: 12px 28px;
  font-size: 15px;
  box-shadow: 0 4px 18px rgba(245, 179, 1, 0.35);
  transition: all 0.3s ease;
}

.hw-foot-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 179, 1, 0.5);
}

/* Reviews Slider */
.reviews-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.review-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

.review-btn svg {
  width: 18px;
  height: 18px;
}

.review-btn:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
  transform: scale(1.06);
}

.review-btn:active {
  transform: scale(0.96);
}

.reviews-slider-wrapper {
  overflow: hidden;
  padding: 8px 4px;
  margin: 0 -4px;
  position: relative;
  user-select: none;
}

.reviews-slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  cursor: grab;
}

.reviews-slider-track.no-transition,
.reviews-slider-track.dragging {
  transition: none !important;
  cursor: grabbing;
}

.review-card {
  flex: 0 0 100%;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

@media (min-width: 640px) {
  .review-card {
    flex: 0 0 calc(50% - 8px);
  }
}

@media (min-width: 1024px) {
  .review-card {
    flex: 0 0 calc(33.333% - 11px);
  }
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 179, 1, 0.5);
  box-shadow: 0 8px 24px rgba(16, 35, 59, 0.08);
}

.review-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.rname-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.review-card .rname {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}

.review-card .stars {
  font-size: 13px;
  color: #f59e0b;
}

.review-card .rtime {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

.review-card .rtext {
  font-size: 13.5px;
  color: #334155;
  margin: 0;
  line-height: 1.5;
  font-style: italic;
  flex-grow: 1;
}

.rbadge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #059669;
  background: rgba(16, 185, 129, 0.08);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  width: fit-content;
}

.rbadge .check-icon {
  font-weight: 800;
}

/* Dots Indicators */
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.dot-item {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  border: none;
  padding: 0;
}

.dot-item:hover {
  background: #94a3b8;
}

.dot-item.active {
  width: 26px;
  border-radius: 12px;
  background: var(--navy);
}

/* Service Map Section - Executive Dark Theme */
.service-map-section {
  padding-top: 0;
}

.service-map-card {
  background: linear-gradient(180deg, #10233b 0%, #0b1626 100%);
  border: 1px solid rgba(245, 179, 1, 0.25);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  color: #f8fafc;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 32px rgba(245, 179, 1, 0.08);
  position: relative;
  overflow: hidden;
}

.service-map-header {
  margin-bottom: 24px;
}

.service-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.map-stats-strip {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-pill {
  font-size: 11.5px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.stat-pill strong {
  color: var(--gold);
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(245, 179, 1, 0.12);
  color: var(--gold);
  border: 1px solid rgba(245, 179, 1, 0.35);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-map-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 6px 0 6px;
  letter-spacing: -0.01em;
}

.service-map-subtitle {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0;
  max-width: 780px;
  line-height: 1.5;
}

.service-map-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

@media (min-width: 900px) {
  .service-map-layout {
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
  }
}

/* Map Container Box */
.map-container-box {
  position: relative;
  width: 100%;
  min-height: 420px;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  background: #091322;
  display: flex;
  flex-direction: column;
}

.service-leaflet-map {
  width: 100%;
  height: 100%;
  min-height: 420px;
  flex: 1;
  z-index: 1;
}

/* Custom dark theme leaflet overrides */
.service-leaflet-map .leaflet-tile-pane {
  filter: brightness(0.85) contrast(1.1) saturate(1.2);
}

.service-leaflet-map .leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  margin-top: 14px !important;
  margin-right: 14px !important;
}

.service-leaflet-map .leaflet-control-zoom-in,
.service-leaflet-map .leaflet-control-zoom-out {
  background: #10233b !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px !important;
  width: 32px !important;
  height: 32px !important;
  line-height: 30px !important;
  font-size: 16px !important;
  margin-bottom: 4px !important;
}

.service-leaflet-map .leaflet-control-zoom-in:hover,
.service-leaflet-map .leaflet-control-zoom-out:hover {
  background: #1e3a5f !important;
  color: var(--gold) !important;
}

.service-leaflet-map .leaflet-popup-content-wrapper {
  background: #10233b;
  color: #f8fafc;
  border: 1px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  padding: 6px 10px;
}

.service-leaflet-map .leaflet-popup-tip {
  background: #10233b;
  border: 1px solid var(--gold);
}

.map-floating-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 35, 59, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 179, 1, 0.4);
  border-radius: var(--r-pill);
  color: #f8fafc;
  font-size: 12px;
  z-index: 500;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.gold-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.map-reset-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(16, 35, 59, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  z-index: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.map-reset-btn:hover {
  background: #10233b;
  color: var(--gold);
  border-color: var(--gold);
}

/* Live Route HUD Overlay at bottom of Map */
.map-hud-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 500;
  background: rgba(11, 22, 38, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 179, 1, 0.4);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 600px) {
  .map-hud-overlay {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }
}

.map-hud-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.map-hud-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid var(--gold);
  flex: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.map-hud-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.map-hud-top-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-hud-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

.hud-badge-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(245, 179, 1, 0.15);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(245, 179, 1, 0.3);
}

.map-hud-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-hud-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #cbd5e1;
  flex-wrap: wrap;
}

.hud-stat-item.green {
  color: #34d399;
  font-weight: 600;
}

.hud-stat-dot {
  color: #64748b;
  font-size: 10px;
}

.map-hud-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: linear-gradient(135deg, #f5b301 0%, #d49a00 100%);
  color: #0f172a;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
  box-shadow: 0 4px 14px rgba(245, 179, 1, 0.35);
  transition: all 0.2s ease;
}

.map-hud-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 179, 1, 0.5);
  color: #000000;
}

/* Right Route Selector Column */
.route-selector-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.route-selector-header {
  margin-bottom: 12px;
}

.route-selector-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.route-selector-title-row h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.route-count-badge {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Filter Pills */
.route-filter-pills {
  display: flex;
  gap: 6px;
}

.filter-pill {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-pill);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.filter-pill.active {
  background: rgba(245, 179, 1, 0.2);
  color: var(--gold);
  border-color: rgba(245, 179, 1, 0.4);
  font-weight: 700;
}

/* Routes List with custom smooth scroll bar */
.routes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.routes-list::-webkit-scrollbar {
  width: 5px;
}

.routes-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}

.routes-list::-webkit-scrollbar-thumb {
  background: rgba(245, 179, 1, 0.3);
  border-radius: 10px;
}

.routes-list::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

.route-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.route-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 179, 1, 0.4);
  transform: translateX(3px);
}

.route-card.active {
  background: rgba(245, 179, 1, 0.14);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(245, 179, 1, 0.15);
}

.route-card-img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.route-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.route-card-icon.base {
  background: rgba(245, 179, 1, 0.2);
  color: var(--gold);
  border-color: rgba(245, 179, 1, 0.4);
}

.route-card-info {
  flex: 1;
  min-width: 0;
}

.route-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.route-card-top strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.route-tag.gold {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(245, 179, 1, 0.15);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(245, 179, 1, 0.3);
}

.route-time {
  font-size: 11.5px;
  font-weight: 700;
  color: #38bdf8;
  white-space: nowrap;
}

.route-card-sub {
  font-size: 11.5px;
  color: #94a3b8;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.route-cta-box {
  margin-top: 14px;
}

.route-cta-box .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Mobile Responsive Enhancements for Map Section */
@media (max-width: 768px) {
  .service-map-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .service-header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .map-stats-strip {
    flex-wrap: wrap;
    gap: 6px;
  }

  .stat-pill {
    font-size: 10.5px;
    padding: 2px 8px;
  }

  .service-map-title {
    font-size: 20px;
    line-height: 1.25;
    margin: 4px 0;
  }

  .service-map-subtitle {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .service-map-layout {
    gap: 16px;
    margin-bottom: 20px;
  }

  .map-container-box,
  .service-leaflet-map {
    min-height: 350px;
    height: 350px;
  }

  .routes-list {
    max-height: 320px;
  }

  .route-filter-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    margin-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .filter-pill {
    flex: none;
    font-size: 11.5px;
    padding: 5px 10px;
    white-space: nowrap;
  }

  .route-card {
    padding: 8px 10px;
    gap: 10px;
  }

  .route-card-img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
  }

  .route-card-top strong {
    font-size: 12.5px;
  }

  .route-card-sub {
    font-size: 11px;
  }
}

@media (max-width: 580px) {
  .service-map-card {
    padding: 16px 12px;
  }

  .map-container-box,
  .service-leaflet-map {
    min-height: 320px;
    height: 320px;
  }

  .map-reset-btn {
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 11px;
  }

  .map-floating-badge {
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    font-size: 11px;
  }

  .map-floating-badge span span {
    display: none;
  }

  .map-hud-overlay {
    bottom: 8px;
    left: 8px;
    right: 8px;
    padding: 10px;
    gap: 10px;
    border-radius: 12px;
  }

  .map-hud-thumb {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

  .map-hud-title {
    font-size: 12.5px;
  }

  .map-hud-meta {
    font-size: 10.5px;
    gap: 4px;
  }

  .map-hud-btn {
    width: 100%;
    justify-content: center;
    padding: 9px 12px;
    font-size: 12px;
  }

  .guarantee-item {
    padding: 10px 12px;
  }

  .guarantee-item strong {
    font-size: 12.5px;
  }

  .guarantee-item span {
    font-size: 11px;
  }
}

/* Guarantees Bar */
.service-guarantees-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .service-guarantees-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.guarantee-item svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex: none;
}

.guarantee-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.guarantee-item span {
  display: block;
  font-size: 11.5px;
  color: #94a3b8;
}

.airport-icon {
  font-size: 18px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ffffff;
  display: grid;
  place-items: center;
  border: 1px solid #cbd5e1;
  flex: none;
}

.airport-list strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}

.airport-list span {
  display: block;
  font-size: 12px;
  color: #64748b;
}

.coverage-footer {
  margin-top: 20px;
}

.coverage-footer .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* CTA banner */
.cta-banner {
  position: relative;
  background: linear-gradient(110deg, rgba(245, 179, 1, 0.94) 0%, rgba(225, 160, 0, 0.88) 55%, rgba(16, 35, 59, 0.85) 100%),
              url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  border-radius: var(--r-lg);
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.cta-left { display: flex; gap: 14px; align-items: center; position: relative; z-index: 2; }
.cta-ico { width: 48px; height: 48px; border-radius: 12px; background: rgba(16,35,59,.15); backdrop-filter: blur(4px); display: grid; place-items: center; color: #10233b; flex: none; border: 1px solid rgba(16,35,59,.1); }
.cta-ico svg { width: 22px; height: 22px; }
.cta-banner h3 { font-size: 16.5px; font-weight: 800; color: #10233b; margin: 0 0 3px; }
.cta-banner p { font-size: 13.5px; color: #223325; font-weight: 500; margin: 0; }
.cta-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; z-index: 2; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--navy); color: #cdd8e3; padding: 34px 0 0; margin-top: 8px;
}
.footer-grid { display: grid; gap: 26px; }
.footer .logo-name { color: #fff; }
.footer-about { font-size: 13px; color: #93a4b6; margin: 14px 0 0; max-width: 300px; }
.footer h5 { color: #fff; font-size: 14px; font-weight: 700; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 13.5px; color: #a9b8c8; }
.footer ul a:hover { color: var(--gold); }
.footer .contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #a9b8c8; }
.footer .contact svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 30px;
  padding: 18px 0; font-size: 12.5px; color: #7e90a3;
  display: flex; flex-direction: column; gap: 10px; text-align: center;
}
.footer-bottom a { color: #7e90a3; }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal { display: flex; gap: 18px; justify-content: center; }

/* =========================================================
   Bottom navigation (mobile & tablet)
   ========================================================= */
.bottomnav {
  position: fixed !important; left: 0 !important; right: 0 !important; bottom: 0 !important; z-index: 9999 !important;
  background: var(--navy);
  display: flex; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.25);
  width: 100%;
  box-sizing: border-box;
}
/* Ride & Book as two wide pill buttons (like the WhatsApp / Call pair) */
.bottomnav a {
  flex: 1;
  display: flex; flex-direction: row; align-items: center; justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px; font-weight: 700;
  border: 1.5px solid transparent;
  transition: all .15s ease;
}
.bottomnav a svg { width: 19px; height: 19px; }

/* Single animated "Book Now" call-to-action (replaces Ride/Book pair) */
.bottomnav .booknow-cta {
  flex: 1;
  background: var(--gold);
  color: #0f172a;
  font-size: 16px; font-weight: 800;
  border-radius: 14px;
  padding: 14px 16px;
  border: none;
  box-shadow: 0 6px 18px rgba(245,179,1,0.42);
  animation: booknowPulse 1.8s ease-in-out infinite;
}
.bottomnav .booknow-cta svg { width: 20px; height: 20px; color: #0f172a; }
.bottomnav .booknow-cta:active { transform: scale(.98); }
@keyframes booknowPulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(245,179,1,0.38); transform: scale(1); }
  50%      { box-shadow: 0 10px 28px rgba(245,179,1,0.68); transform: scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .bottomnav .booknow-cta { animation: none; }
}
/* Ride = light/white pill */
.bottomnav a:first-child {
  background: #ffffff; color: #0f172a;
}
.bottomnav a:first-child svg { color: var(--gold); }
.bottomnav a:first-child:active { background: #eef2f7; }
/* Book = dark pill with outline */
.bottomnav a:last-child {
  background: rgba(255,255,255,0.06); color: #ffffff;
  border-color: rgba(255,255,255,0.22);
}
.bottomnav a:last-child svg { color: #ffffff; }
.bottomnav a:last-child:active { background: rgba(255,255,255,0.12); }
.has-bottomnav { padding-bottom: 74px; }

/* Footer meets the bottom nav with no light gap (mobile / tablet only).
   The footer's navy is extended downward to fill the space behind the fixed
   nav; the matching negative margin keeps the page height unchanged. Only
   targets .footer, so footer-less pages (e.g. chat) keep their nav clearance. */
@media (max-width: 991px) {
  .has-bottomnav .footer {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
    margin-bottom: calc(-80px - env(safe-area-inset-bottom));
  }
}

/* =========================================================
   Chat page
   ========================================================= */
.chat-wrap { 
  max-width: 680px; 
  margin: 0 auto; 
  padding: 16px 14px 150px; 
  box-sizing: border-box;
  width: 100%;
}

@media (min-width: 640px) {
  .chat-wrap {
    padding: 24px 20px 150px;
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .chat-wrap {
    padding: 32px 24px 100px;
    max-width: 760px;
  }
}

.driver-card {
  background: #fff; 
  border: 1px solid var(--line-2); 
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); 
  padding: 16px; 
  margin-bottom: 18px;
}
@media (min-width: 640px) {
  .driver-card {
    padding: 20px;
  }
}

.driver-card-top { display: flex; gap: 12px; align-items: center; }
.driver-card .dp { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; }
.driver-card .dn { font-weight: 800; font-size: 16px; display:flex; align-items:center; gap:6px; flex-wrap: wrap; }
.driver-card .verified { color: var(--gold); display: inline-flex; align-items: center; }
.driver-card .drate { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.driver-card .dlic { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; display:flex; align-items:center; gap:6px; line-height: 1.35; }
.driver-card .dlic svg { width: 14px; height: 14px; color: var(--gold-dark); flex-shrink: 0; }
.driver-card .btn { margin-top: 14px; }

.chat-log { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.msg { 
  max-width: 85%; 
  font-size: 14px; 
  line-height: 1.45; 
  padding: 11px 14px; 
  border-radius: 16px; 
  position: relative; 
  word-break: break-word; 
  overflow-wrap: anywhere; 
}
@media (min-width: 640px) {
  .msg {
    max-width: 78%;
    font-size: 14.5px;
    padding: 12px 16px;
  }
}
.msg .time { display: block; font-size: 10.5px; margin-top: 5px; opacity: .75; }
/* Match the floating live-chat widget's bubbles: white incoming, dark-navy outgoing. */
.msg-in  { align-self: flex-start; background: #ffffff; border: 1px solid #e6ebf1; border-bottom-left-radius: 5px; color: #0f172a; box-shadow: var(--sh-sm); }
.msg-out { align-self: flex-end; background: #0b1a2c; border-bottom-right-radius: 5px; color: #ffffff; }
.msg-out .time { text-align: right; color: #cdd8e3; }
.msg-summary { align-self: stretch; max-width: 100%; background:#fff; border:1px solid var(--line-2); box-shadow: var(--sh-sm); padding: 14px 16px; }
.msg-summary .stitle { font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.msg-summary .sroute { font-weight: 700; font-size: 15px; margin-bottom: 8px; color: #0f172a; }
.msg-summary .srow { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin-top: 5px; }
.msg-summary .srow svg { width: 15px; height: 15px; color: var(--gold-dark); flex-shrink: 0; }

/* Proposed fare card */
.fare-card {
  align-self: stretch; max-width: 100%;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: var(--sh); padding: 18px;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  .fare-card { padding: 22px; }
}
.fare-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fare-top .flabel { font-size: 13px; color: var(--muted); font-weight: 600; }
.fare-top .fprice { font-size: 34px; font-weight: 800; color: var(--ink); line-height: 1; margin-top: 4px; }
.fare-details { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 11px; }
.fare-details li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.fare-details li svg { width: 16px; height: 16px; color: var(--gold-dark); flex: none; }
.fare-actions { display: grid; gap: 10px; }
@media (min-width: 640px) {
  .fare-actions {
    grid-template-columns: 1fr 1fr;
  }
  .fare-actions #confirmBtn {
    grid-column: 1 / -1;
  }
}

/* Fixed Composer (Chat Form Bar) */
.composer {
  position: fixed; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  z-index: 8000;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  transition: bottom 0.2s ease;
}

body.has-bottomnav .composer {
  bottom: calc(58px + env(safe-area-inset-bottom));
}

@media (min-width: 992px) {
  body.has-bottomnav .composer {
    bottom: 0;
  }
}

.chat-input {
  max-width: 680px; 
  margin: 0 auto;
  display: flex; 
  align-items: center; 
  gap: 10px;
  background: #ffffff; 
  border: 1.5px solid #cbd5e1; 
  border-radius: var(--r-pill);
  padding: 6px 6px 6px 16px; 
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .chat-input {
    max-width: 720px;
    padding: 8px 8px 8px 20px;
  }
}

@media (min-width: 992px) {
  .chat-input {
    max-width: 760px;
  }
}

.chat-input:focus-within {
  border-color: #0f172a;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.14);
}

.chat-input input { 
  flex: 1; 
  min-width: 0;
  border: none; 
  outline: none; 
  font-size: 15px; 
  font-weight: 500;
  color: #0f172a;
  background: transparent; 
  font-family: inherit;
}

@media (max-width: 768px) {
  .chat-input input {
    font-size: 16px; /* Prevents iOS auto-zoom */
  }
}

.chat-input .clip { 
  color: #64748b; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  padding: 6px;
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background-color 0.15s, color 0.15s;
}

.chat-input .clip:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.chat-input .clip svg { width: 20px; height: 20px; }

.chat-input .send { 
  width: 42px; 
  height: 42px; 
  border-radius: 50%; 
  background: #0f172a; 
  color: #ffffff; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  flex-shrink: 0; 
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.chat-input .send:hover {
  background: #f5b301;
  color: #0f172a;
  transform: scale(1.06);
}

.chat-input .send:active {
  transform: scale(0.95);
}

.chat-input .send svg { width: 18px; height: 18px; }

/* =========================================================
   Show / hide helpers
   ========================================================= */
.desktop-only { display: none; }
.mobile-only  { display: block; }
.mobile-flex  { display: flex; }

/* Tablets & Desktops (>= 640px) */
@media (min-width: 640px) {
  .desktop-only { display: block !important; }
  .mobile-only  { display: none !important; }
}

/* Tablet view specifically (640px - 991px) */
@media (min-width: 640px) and (max-width: 991px) {
  .bottomnav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
  }
  .has-bottomnav { padding-bottom: 80px !important; }
  .nav-links { display: flex; gap: 16px; }
}

/* =========================================================
   DESKTOP (>= 992px)
   ========================================================= */
@media (min-width: 992px) {
  .nav-links { display: flex; gap: 30px; }
  .hamburger { display: none; }

  .appbar, .subhead, .bottomnav { display: none !important; }
  .has-bottomnav { padding-bottom: 0 !important; }

  .container { padding: 0 28px; }

  /* Hero two-column */
  .hero-inner {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px;
    align-items: start; padding: 54px 0 70px;
  }
  .hero h1 { font-size: 46px; }
  .hero-lead { font-size: 16px; }
  .hero-cta { flex-direction: row; flex-wrap: wrap; }
  .hero-cta .btn { flex: 0 0 auto; }
  .hero-left { position: relative; z-index: 2; }
  .status-card { max-width: 360px; }
  .quote-card { position: relative; z-index: 3; }

  /* Sections layout */
  .section { padding: 56px 0; }
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
  .features { padding: 0; }
  
  /* Hero single-column layout when no quote form is present */
  .hero-inner.hero-single {
    padding: 80px 0 96px;
    gap: 24px;
  }
  .hero-single .hero-lead {
    margin: 0 auto;
    max-width: 620px;
  }
  .hero-single .hero-cta {
    justify-content: center;
    margin-top: 8px;
  }

  /* Hero two-column layout with embedded ride form */
  .hero-inner.hero-with-form {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
    align-items: center;
    text-align: left;
    max-width: none;
    margin: 0;
    padding: 52px 0 64px;
  }
  .hero-with-form .hero-left { max-width: 560px; }
  .hero-with-form .hero-eyebrow { margin-bottom: 14px; }
  .hero-with-form .hero-lead { margin: 0 0 4px; max-width: 500px; }
  .hero-form-col {
    display: block;
    justify-self: end;
    width: 100%;
    max-width: 470px;
  }

  .feature h4 { font-size: 14px; }
  .feature p { font-size: 12px; }

  .card, .howitworks { padding: 26px; }

  .cta-banner { flex-direction: row; align-items: center; justify-content: space-between; padding: 24px 30px; }
  .cta-actions { grid-template-columns: auto auto; }
  .cta-banner .btn { padding: 13px 22px; }

  .footer { padding-top: 46px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }

  .section-head h2 { font-size: 22px; }
  .card-title { font-size: 19px; }
}

@media (min-width: 1240px) {
  .hero h1 { font-size: 50px; }
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Subpages Detailed Styles (About, How It Works, Airports, Local, Reviews)
   ========================================================= */
.subpage-hero {
  position: relative;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(8, 16, 28, 0.94) 100%), 
              url('https://images.unsplash.com/photo-1541899481282-d53bffe3c35d?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  padding: 56px 0 48px;
  color: #fff;
  border-bottom: 1px solid rgba(245, 179, 1, 0.25);
  box-shadow: inset 0 -20px 30px rgba(0, 0, 0, 0.5);
  margin: 0 16px;
  border-radius: 24px;
  overflow: hidden;
}
@media (min-width: 1240px) {
  .subpage-hero {
    max-width: 1240px;
    margin: 0 auto;
  }
}

.subpage-hero h1 {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.subpage-hero-lead {
  color: #cbd5e1;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.subpage-hero-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.subpage-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 179, 1, 0.12);
  border: 1px solid rgba(245, 179, 1, 0.35);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 16px;
}

.subpage-hero-badge .gold-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.subpage-hero h1 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 12px;
}

@media (min-width: 768px) {
  .subpage-hero h1 { font-size: 44px; }
}

.subpage-hero-lead {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 660px;
  margin: 0 auto 24px;
}

.subpage-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.subpage-section {
  padding: 44px 0;
}

.subpage-section.dark-bg {
  background: #0b1524;
  color: #fff;
}

.section-title.text-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}

.section-title .eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--gold);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--navy);
}

.section-title.light h2 { color: #ffffff; }

.section-title p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
}

.section-title.light p { color: #94a3b8; }

/* Driver Profile Grid */
.driver-profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 860px) {
  .driver-profile-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
  }
}

.driver-card-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;       /* matches the photo (1264x1600), so no awkward crop */
  max-width: 460px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #ffffff;
}

.driver-card-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #ffffff;
}

.driver-experience-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(16, 35, 59, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 179, 1, 0.4);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
}

.driver-experience-badge strong {
  font-size: 24px;
  color: var(--gold);
  line-height: 1;
}

.driver-experience-badge span {
  font-size: 11px;
  color: #cbd5e1;
  text-transform: uppercase;
  font-weight: 700;
}

.driver-info-col h2 {
  font-size: 28px;
  color: var(--navy);
  font-weight: 800;
  margin: 0 0 12px;
}

.lead-p {
  font-size: 16px;
  color: #334155;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 12px;
}

.driver-info-col p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}

.credentials-pills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 500px) {
  .credentials-pills-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cred-pill {
  background: #f8fafc;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cred-icon { font-size: 22px; }

.cred-pill strong {
  display: block;
  font-size: 13px;
  color: var(--navy);
}

.cred-pill span {
  display: block;
  font-size: 11.5px;
  color: #64748b;
}

/* Vehicle Detail Grid */
.vehicle-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 860px) {
  .vehicle-detail-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
  }
}

.vehicle-img-box {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.12);
}

.vehicle-img-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.vehicle-badge-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(10, 22, 38, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 179, 1, 0.4);
  padding: 8px 16px;
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
}

.vehicle-badge-overlay .v-model {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.vehicle-badge-overlay .v-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gold);
}

.vehicle-specs-box h3 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 18px;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 480px) {
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.spec-card, .feature-detail-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.28s ease, 
              background 0.28s ease, 
              box-shadow 0.28s ease;
  overflow: hidden;
}

.spec-card:hover, .feature-detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 179, 1, 0.55);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 15px rgba(245, 179, 1, 0.1);
}

.spec-card-media {
  position: relative;
  width: 100%;
  height: 125px;
  border-radius: 8px;
  overflow: hidden;
  background: #0d1a2d;
}

.spec-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.spec-card:hover .spec-card-media img,
.feature-detail-card:hover .spec-card-media img {
  transform: scale(1.08);
}

.spec-icon-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(10, 22, 38, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(245, 179, 1, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.spec-icon-badge svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.spec-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.spec-content strong,
.feature-detail-card h4 {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
  line-height: 1.35;
}

.spec-content span,
.feature-detail-card p {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

/* Airport Cards Grid */
.airport-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 640px) {
  .airport-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .airport-grid { grid-template-columns: repeat(3, 1fr); }
}

.airport-card {
  background: #ffffff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.airport-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 179, 1, 0.5);
  box-shadow: 0 12px 28px rgba(16, 35, 59, 0.12);
}

.airport-card-img-box {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: var(--navy);
}

.airport-card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.airport-card:hover .airport-card-img-box img { transform: scale(1.06); }

.airport-code-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(16, 35, 59, 0.85);
  backdrop-filter: blur(4px);
  color: var(--gold);
  border: 1px solid rgba(245, 179, 1, 0.4);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 800;
  font-size: 11px;
}

.airport-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.airport-card-body h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
}

.airport-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.airport-stats span {
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
}

.airport-card-body p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 16px;
  flex-grow: 1;
}

.airport-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
}

.price-tag .label {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
}

.price-tag .val {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}

.btn-xs {
  padding: 6px 12px;
  font-size: 11.5px;
  border-radius: 6px;
}

/* Feature Cards Grid */
.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

@media (min-width: 640px) {
  .feature-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .feature-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-detail-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.feature-detail-card .spec-card-media {
  height: 150px;
  margin-bottom: 16px;
}

.feature-detail-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(245, 179, 1, 0.4);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.feature-detail-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.3;
}

.feature-detail-card p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* Process Steps Grid */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 640px) {
  .process-steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .process-steps-grid { grid-template-columns: repeat(4, 1fr); }
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  position: relative;
  box-shadow: var(--sh-sm);
}

.step-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.process-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
}

.process-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 18px 20px;
}

.faq-item h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
}

.faq-item p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Local Services Detail Boxes */
.local-services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 22px;
}

@media (min-width: 768px) {
  .local-services-grid { grid-template-columns: repeat(2, 1fr); }
}

.service-detail-box {
  background: #ffffff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
}

.service-detail-img {
  position: relative;
  height: 180px;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--navy);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 800;
  font-size: 11px;
}

.service-detail-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-detail-body h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
}

.service-detail-body p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 14px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 6px;
  flex-grow: 1;
}

.check-list li {
  font-size: 12.5px;
  color: #334155;
  font-weight: 600;
}

.link-btn {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.link-btn:hover { text-decoration: underline; }

/* Local Fare Table */
.fare-table-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 16px;
  overflow: hidden;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
  color: #e2e8f0;
}

.fare-table th, .fare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fare-table th {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.fare-table tbody tr:hover { background: rgba(255, 255, 255, 0.04); }

@media (max-width: 640px) {
  .fare-table-card {
    padding: 12px;
    background: transparent;
    border: none;
  }

  .fare-table, 
  .fare-table tbody, 
  .fare-table tr, 
  .fare-table td {
    display: block;
    width: 100%;
  }

  .fare-table thead {
    display: none;
  }

  .fare-table tbody tr {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--r-md);
    padding: 14px 16px;
    margin-bottom: 12px;
  }

  .fare-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .fare-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    font-size: 13.5px;
    text-align: right;
  }

  .fare-table td:last-child {
    border-bottom: none;
    padding-top: 10px;
    padding-bottom: 0;
    justify-content: flex-end;
  }

  .fare-table td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gold);
    text-align: left;
    margin-right: 12px;
    flex: none;
  }

  .fare-table td[data-label="Destination"] {
    font-size: 15px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 8px;
    margin-bottom: 4px;
  }

  .fare-table td[data-label="Destination"]::before {
    display: none;
  }

  .fare-table td[data-label="Action"] .btn {
    width: 100%;
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
  }
}

.gold-txt { color: var(--gold); }

/* Rating Overview Card */
.rating-overview-card {
  background: #ffffff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh-sm);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 680px) {
  .rating-overview-card {
    grid-template-columns: 200px 1fr;
    gap: 36px;
  }
}

.rating-score-box { text-align: center; }

.big-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.stars { font-size: 16px; margin: 4px 0; }

.rating-score-box p {
  font-size: 11.5px;
  color: #64748b;
  margin: 0;
}

.rating-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.breakdown-row {
  display: grid;
  grid-template-columns: 140px 1fr 40px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #334155;
  font-weight: 600;
}

.progress-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar .fill {
  height: 100%;
  background: var(--gold);
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 640px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.review-date {
  font-size: 11px;
  color: #64748b;
}

.review-text {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0 0 16px;
  flex-grow: 1;
  font-style: italic;
}

.review-author strong {
  display: block;
  font-size: 13.5px;
  color: #ffffff;
}

.review-author span {
  display: block;
  font-size: 11.5px;
  color: var(--gold);
}

/* Review Form Card */
.review-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.review-form-card .field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .review-form-card .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field-group {
  margin-bottom: 18px;
}

.btn-full {
  width: 100%;
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: center;
}

/* =========================================================
   Mobile Navigation Overlay / Drawer
   ========================================================= */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 26, 44, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile-drawer-content {
  position: relative;
  z-index: 2001;
  width: 100%;
  max-height: 92vh;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  padding: 20px 20px 28px;
  overflow-y: auto;
  transform: translateY(-20px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-overlay.open .mobile-drawer-content {
  transform: translateY(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.mobile-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-drawer-close svg {
  width: 20px;
  height: 20px;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.drawer-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-drawer-nav a.active,
.mobile-drawer-nav a:hover {
  background: rgba(245, 179, 1, 0.12);
  color: var(--gold);
  border-color: rgba(245, 179, 1, 0.35);
}

.mobile-drawer-nav a svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex: none;
}

/* =========================================================
   Mobile-First Comprehensive Responsive Overrides & Adjustments
   ========================================================= */

/* Prevent horizontal scroll globally — overflow-x only on <html> so the body
   does NOT become a second scroll container (that caused the double scrollbar). */
html { overflow-x: hidden; }
html, body {
  width: 100%;
  position: relative;
}

/* Base Container Paddings on Ultra-Narrow screens (<380px) */
@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }

  .quote-card, .review-form-card, .card, .howitworks {
    padding: 18px 12px;
  }

  .btn {
    padding: 12px 14px;
    font-size: 14px;
  }

  .field-row {
    grid-template-columns: 1fr !important;
  }

  .checks {
    grid-template-columns: 1fr !important;
  }

  .connect-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile Screens (< 480px) */
@media (max-width: 480px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta-banner {
    padding: 18px 14px;
  }

  .cta-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .subpage-cta-row {
    flex-direction: column;
    width: 100%;
  }

  .subpage-cta-row .btn {
    width: 100%;
  }

  .vehicle-img-box img {
    height: 240px;
  }

  .credentials-pills-grid {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .breakdown-row {
    grid-template-columns: minmax(70px, 100px) 1fr 35px;
    gap: 8px;
    font-size: 12px;
  }

  .chat-wrap {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: calc(150px + env(safe-area-inset-bottom));
  }

  .msg {
    max-width: 92%;
  }
}

/* Tablet Screens (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .cta-actions {
    grid-template-columns: 1fr 1fr;
  }

  .credentials-pills-grid {
    grid-template-columns: 1fr 1fr;
  }

  .specs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Medium Tablets & iPads (769px - 991px) */
@media (min-width: 769px) and (max-width: 991px) {
  .container {
    padding: 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .service-map-layout {
    grid-template-columns: 1fr;
  }

  .driver-profile-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 32px;
  }

  .vehicle-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Laptops & Standard Desktops (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    padding: 0 28px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 32px;
  }
}

/* ===== DRIVER & VEHICLE INFO CARD ===== */
.driver-info-card {
  display: flex;
  flex-direction: column;
}

.driver-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.driver-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: var(--bg-subtle, #f8fafc);
  border: 1px solid var(--line-2, #e2e8f0);
  border-radius: var(--r-md, 10px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.driver-info-item:hover {
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.driver-info-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink, #0f172a);
  display: flex;
  align-items: center;
  gap: 6px;
}

.driver-info-label svg {
  width: 14px;
  height: 14px;
  color: var(--gold-dark, #d97706);
}

.driver-info-value {
  font-size: 14px;
  font-weight: 400;
  color: var(--slate-700, #334155);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.number-plate-badge {
  display: inline-block;
  background: #fbbf24;
  color: #0f172a;
  font-weight: 600;
  font-family: 'Outfit', 'Plus Jakarta Sans', monospace, sans-serif;
  padding: 3px 12px;
  border-radius: 6px;
  border: 1.5px solid #d97706;
  letter-spacing: 1.5px;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.license-num-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 500;
  font-size: 13.5px;
}

/* ===== RIDE REQUEST MODAL COMPONENT ===== */
.ride-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 19, 41, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ride-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.ride-modal-dialog {
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.ride-modal-backdrop.open .ride-modal-dialog {
  transform: translateY(0) scale(1);
}

.ride-modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.15s ease;
}

.ride-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

/* Header bar inside Modal */
.ride-modal-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #0b1329;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.appbar-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
  color: #ffffff;
}
.appbar-gold {
  color: #fbbf24;
}

.status-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #10b981;
}

.status-dot-pulse {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.call-circle {
  border-radius: 50% !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  text-decoration: none;
}

.ride-card {
  background: #ffffff;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  padding: 22px 20px;
  color: #0f172a;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.ride-card-header {
  text-align: center;
  margin-bottom: 18px;
}

.ride-card-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
  letter-spacing: -0.3px;
}

.ride-card-header p {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

/* Switcher Tabs */
.ride-type-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #f1f5f9;
  padding: 4px;
  border-radius: 14px;
  margin-bottom: 18px;
  width: 100%;
  box-sizing: border-box;
}

.type-btn {
  background: transparent;
  border: none;
  padding: 10px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.type-btn span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.type-btn.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

.type-btn svg {
  flex-shrink: 0;
}

/* Form Groups */
.ride-card .form-group {
  margin-bottom: 14px;
}

.ride-card .field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.ride-card .input-inner {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  gap: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.ride-card .input-inner:focus-within {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.ride-card .field-icon {
  width: 18px;
  height: 18px;
  color: #0f172a;
  flex-shrink: 0;
}

.ride-card .ride-input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  font-family: inherit;
}

.ride-card .ride-input::placeholder {
  color: #94a3b8;
}

.use-location-btn {
  background: none;
  border: none;
  color: #10b981;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  white-space: nowrap;
  padding: 0;
  font-family: inherit;
  transition: color 0.15s;
}

.use-location-btn:hover {
  color: #059669;
}

/* Popular Destinations */
.popular-destinations {
  margin-bottom: 16px;
}

.popular-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.chips-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dest-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  font-family: inherit;
}

.dest-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

/* Passenger Contact (Name & Phone) Grid */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Fixed UK Country Code Badge inside phone input */
.ride-card .input-inner.phone-input-inner {
  padding: 6px 12px 6px 6px;
  gap: 8px;
}

.country-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  user-select: none;
  flex-shrink: 0;
  line-height: 1.2;
}

.phone-number-input {
  flex: 1;
  min-width: 0;
}

/* Passengers & Luggage Grid */
.pax-luggage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
  width: 100%;
  box-sizing: border-box;
}

.select-field-wrap {
  position: relative;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.select-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.select-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Visible chosen value (Passengers / Luggage) */
.select-value {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  flex-shrink: 0;
  white-space: nowrap;
}

/* The real <select> sits invisibly over the whole field, so a tap
   anywhere on the pill opens the native picker. */
.ride-select-native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  opacity: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px; /* keeps iOS from zooming when the picker opens */
  -webkit-appearance: none;
  appearance: none;
}

.select-arrow {
  width: 16px;
  height: 16px;
  color: #64748b;
  pointer-events: none;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

/* Whole pill is clickable + gives feedback */
.select-field-wrap .input-inner {
  cursor: pointer;
}
.select-field-wrap .input-inner:hover:not(.is-open) {
  border-color: #cbd5e1;
}
/* When enhanced with the custom menu, the native <select> is hidden */
.select-field-wrap.enhanced .ride-select-native {
  display: none;
}
.select-field-wrap.enhanced .input-inner:focus-visible,
.select-field-wrap .input-inner.is-open {
  outline: none;
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}
.select-field-wrap .input-inner.is-open .select-arrow {
  transform: rotate(180deg);
}

/* Custom dropdown menu (portaled to <body> so it is never clipped) */
.select-menu {
  position: fixed;
  z-index: 13000;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  padding: 6px;
  max-height: 260px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.14s ease, transform 0.14s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-overflow-scrolling: touch;
}
.select-menu.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 12px;
  margin: 0;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease;
}
.select-option:hover,
.select-option:focus-visible,
.select-option.active {
  outline: none;
  background: #f1f5f9;
}
.select-option.selected {
  background: #fff9e6;
  font-weight: 700;
}
.select-option .opt-check {
  width: 16px;
  height: 16px;
  color: #f5b301;
  opacity: 0;
  flex-shrink: 0;
}
.select-option.selected .opt-check {
  opacity: 1;
}

/* Date / Time Grid for Book for Later */
.datetime-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.datetime-grid > * {
  min-width: 0;
  width: 100%;
}

/* One way vs Return journey toggle */
.journey-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.journey-type-btn {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 11px 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.journey-type-btn span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.journey-type-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.journey-type-btn .radio-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.journey-type-btn.active .radio-dot {
  border-color: #ffffff;
  background: #ffffff;
}

.journey-type-btn.active .radio-dot::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0f172a;
}

/* Submit Button */
.send-ride-request-btn {
  width: 100%;
  background: #f5b301;
  color: #0f172a;
  font-size: 15.5px;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(245, 179, 1, 0.35);
  box-sizing: border-box;
  max-width: 100%;
}

.send-ride-request-btn:hover {
  background: #e5a500;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 179, 1, 0.45);
}

.send-ride-request-btn:active {
  transform: translateY(0);
}

/* Trust Info Card */
.trust-info-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
}

.trust-line svg {
  width: 16px;
  height: 16px;
  color: #0f172a;
  flex-shrink: 0;
}

/* Direct Contact Buttons */
.direct-contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.direct-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  transition: all 0.15s ease;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.direct-btn span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.direct-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.direct-btn.wa-style svg {
  color: #25d366;
  flex-shrink: 0;
}

.direct-btn.call-style svg {
  color: #0f172a;
  flex-shrink: 0;
}

.direct-btn.chat-style svg {
  color: #2563eb;
  flex-shrink: 0;
}

/* Modal Responsive Tweaks */
@media (max-width: 520px) {
  .ride-modal-backdrop {
    padding: 10px;
    align-items: flex-end;
  }

  .ride-modal-dialog {
    max-height: 92vh;
    border-radius: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .ride-modal-header-bar {
    padding: 12px 14px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .appbar-brand {
    font-size: 18px;
  }

  .ride-card {
    padding: 16px 12px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-sizing: border-box;
  }

  .ride-card-header h2 {
    font-size: 20px;
  }

  .ride-card-header p {
    font-size: 12.5px;
  }

  .type-btn {
    padding: 9px 6px;
    font-size: 12px;
    gap: 4px;
  }

  .dest-chip {
    padding: 6px 10px;
    font-size: 12px;
  }

  .ride-card .ride-input {
    font-size: 14px;
  }

  .use-location-btn {
    font-size: 11.5px;
  }

  .use-location-btn span {
    display: none;
  }

  .use-location-btn::after {
    content: "Locate";
  }

  .pax-luggage-grid,
  .datetime-grid,
  .direct-contact-row,
  .journey-type-grid {
    gap: 8px;
  }

  .ride-card .input-inner {
    padding: 8px 10px;
    gap: 6px;
  }

  .select-title {
    font-size: 12.5px;
  }

  .select-value {
    font-size: 13.5px;
  }

  .select-arrow {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 380px) {
  .pax-luggage-grid,
  .datetime-grid,
  .journey-type-grid,
  .direct-contact-row {
    gap: 6px;
  }

  .dest-chip {
    font-size: 11px;
    padding: 5px 8px;
  }

  .type-btn {
    font-size: 11.5px;
    padding: 8px 4px;
  }

  .direct-btn {
    font-size: 12px;
    padding: 8px 4px;
  }

  .ride-card .input-inner {
    padding: 8px 6px;
    gap: 4px;
  }

  .select-title {
    font-size: 11.5px;
  }

  .select-value {
    font-size: 12.5px;
  }
}

/* =========================================================
   Live chat widget (overlay panel + minimized pill)
   ========================================================= */
.lc-root { font-family: 'Plus Jakarta Sans', sans-serif; }

.lc-panel, .lc-pill { position: fixed; z-index: 12500; }

/* Panel */
.lc-panel {
  right: 20px;
  bottom: 20px;
  width: 370px;
  max-width: calc(100vw - 32px);
  height: min(560px, 72vh);
  background: #ffffff;
  border: 1px solid #e6ebf1;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.30);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.lc-root[data-state="open"] .lc-panel {
  display: flex;
  animation: lcPop 0.18s ease;
}
@keyframes lcPop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.lc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: #0b1a2c;
  color: #ffffff;
}
.lc-head-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lc-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  overflow: hidden; flex: none; border: 2px solid rgba(255, 255, 255, 0.2);
}
.lc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-name {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 14.5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lc-status { font-size: 11.5px; color: #9fb4c9; display: flex; align-items: center; gap: 5px; }
.lc-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}
.lc-min {
  width: 32px; height: 32px; border-radius: 9px; border: none; flex: none;
  background: rgba(255, 255, 255, 0.12); color: #ffffff; cursor: pointer;
  display: grid; place-items: center;
}
.lc-min:hover { background: rgba(255, 255, 255, 0.22); }

.lc-log {
  flex: 1; overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
  background: #f6f8fb;
  -webkit-overflow-scrolling: touch;
}
.lc-msg {
  max-width: 82%; padding: 9px 12px; border-radius: 14px;
  font-size: 13.5px; line-height: 1.4; color: #0f172a;
  overflow-wrap: anywhere; white-space: pre-line;
}
.lc-msg.lc-trip { max-width: 88%; white-space: normal; }

/* Structured "ride request" card inside a chat bubble */
.lc-trip-card { display: flex; flex-direction: column; gap: 3px; }
.lc-trip-head {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 13.5px;
  margin-bottom: 5px; letter-spacing: -0.01em;
}
.lc-trip-row { display: flex; gap: 8px; font-size: 12.5px; line-height: 1.4; }
.lc-trip-k { flex: 0 0 74px; font-weight: 600; opacity: 0.7; }
.lc-trip-v { flex: 1; font-weight: 600; overflow-wrap: anywhere; }
.lc-in {
  align-self: flex-start; background: #ffffff;
  border: 1px solid #e6ebf1; border-bottom-left-radius: 5px;
}
.lc-out {
  align-self: flex-end; background: #0b1a2c; color: #ffffff;
  border-bottom-right-radius: 5px;
}
.lc-time { display: block; font-size: 10px; margin-top: 4px; opacity: 0.6; }
.lc-out .lc-time { color: #cdd8e3; opacity: 0.85; }

/* Sender labels next to the timestamp — make bot vs human unmistakable. */
.lc-sender, .msg-sender { font-weight: 800; letter-spacing: 0.2px; }
.lc-sender-bot { color: #c2820a; }

/* Link-blocked dialog — shown ONLY to the sender who typed a link. */
.aark-linkblock-overlay {
  position: fixed; inset: 0; z-index: 13000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15, 23, 42, 0.55); padding: 20px;
  animation: aarkLinkFade 0.15s ease-out;
}
.aark-linkblock-box {
  background: #ffffff; border-radius: 16px; max-width: 340px; width: 100%;
  padding: 24px 22px; text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.aark-linkblock-icon { font-size: 34px; line-height: 1; margin-bottom: 10px; }
.aark-linkblock-title { font-size: 18px; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.aark-linkblock-text { font-size: 14px; color: #475569; line-height: 1.5; margin-bottom: 18px; }
.aark-linkblock-btn {
  background: #f5b301; color: #0f172a; border: none; border-radius: 10px;
  padding: 11px 28px; font-size: 15px; font-weight: 800; cursor: pointer; font-family: inherit;
}
.aark-linkblock-btn:hover { background: #e0a800; }
@keyframes aarkLinkFade { from { opacity: 0; } to { opacity: 1; } }

/* Read receipts: single grey = sent, double grey = delivered, double blue = seen */
.lc-tick { font-size: 11px; letter-spacing: -1.5px; }
.lc-out .lc-tick.is-sent, .lc-out .lc-tick.is-delivered { color: #cdd8e3; }
.lc-out .lc-tick.is-seen { color: #53bdeb; opacity: 1; }
/* Fare quote card (driver -> customer, with Accept / Reject) */
.lc-msg.lc-fare { padding-top: 12px; }
.lc-fare-card { text-align: center; min-width: 210px; }
.lc-fare-label { font-size: 12px; color: #64748b; font-weight: 600; letter-spacing: 0.3px; }
.lc-fare-amount { font-size: 30px; line-height: 1.1; font-weight: 800; color: #0b1a2c; margin: 4px 0 2px; }
.lc-fare-hint { font-size: 12px; color: #64748b; margin-bottom: 12px; }
.lc-fare-actions { display: flex; gap: 8px; }
.lc-fare-btn { flex: 1; padding: 10px 12px; border-radius: 10px; font-weight: 700; font-size: 14px; border: none; cursor: pointer; }
.lc-fare-accept { background: #f5b301; color: #0f172a; }
.lc-fare-reject { background: #ffffff; color: #b91c1c; border: 1px solid #fecaca; }
.lc-fare-done { padding: 8px 4px; font-weight: 700; font-size: 13px; }
.lc-fare-done.is-accept { color: #15803d; }
.lc-fare-done.is-reject { color: #b91c1c; }
.lc-review-link {
  display: inline-block;
  margin-top: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f5b301;
  color: #0f172a;
  font-weight: 700;
  font-size: 12.5px;
  text-decoration: none;
}
.lc-review-link:hover { background: #e5a500; }

.lc-composer {
  display: flex; align-items: center; gap: 8px; padding: 10px;
  border-top: 1px solid #e6ebf1; background: #ffffff;
}
.lc-input {
  flex: 1; min-width: 0;
  border: 1.5px solid #e2e8f0; border-radius: 999px;
  padding: 10px 14px; font-size: 14px; font-family: inherit; outline: none;
}
.lc-input:focus { border-color: #0b1a2c; box-shadow: 0 0 0 3px rgba(11, 26, 44, 0.08); }
.lc-send {
  width: 40px; height: 40px; border-radius: 50%; border: none; flex: none;
  background: #f5b301; color: #0f172a; cursor: pointer;
  display: grid; place-items: center;
}
.lc-send:hover { background: #e5a500; }
.lc-send svg { width: 18px; height: 18px; }

/* Connected Toast / System Status */
.lc-system-toast {
  align-self: center;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: lcToastFade 0.3s ease-out;
}

.lc-driver-toast-banner {
  position: absolute;
  top: 54px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 100;
  animation: lcBannerSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.lc-driver-toast-banner.fade-out {
  opacity: 0;
  transform: translate(-50%, -10px);
}

.lc-toast-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
}

@keyframes lcToastFade {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes lcBannerSlide {
  from { opacity: 0; transform: translate(-50%, -14px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Minimized pill */
.lc-pill {
  right: 20px; bottom: 20px;
  display: none; align-items: center; gap: 8px;
  padding: 10px 12px;
  background: #0b1a2c; color: #ffffff;
  border: none; border-radius: 999px; cursor: pointer;
  box-shadow: 0 12px 30px rgba(11, 26, 44, 0.35);
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 14px;
}
.lc-root[data-state="min"] .lc-pill { display: inline-flex; animation: lcPop 0.18s ease; }
.lc-pill:hover { background: #0f2338; }
.lc-pill-icon { display: grid; place-items: center; }
.lc-pill-icon svg { width: 20px; height: 20px; color: #f5b301; }
.lc-pill-text { white-space: nowrap; }
.lc-pill-close {
  width: 22px; height: 22px; border-radius: 50%; border: none; flex: none;
  background: rgba(255, 255, 255, 0.14); color: #ffffff; cursor: pointer;
  display: grid; place-items: center; margin-left: 2px;
}
.lc-pill-close:hover { background: rgba(255, 255, 255, 0.28); }
.lc-pill-close svg { width: 12px; height: 12px; }

@media (max-width: 560px) {
  .lc-panel {
    right: 0; left: 0; bottom: 0;
    width: 100%; max-width: 100%;
    height: 82vh; height: 82dvh;
    border-radius: 18px 18px 0 0;
  }
}
@media (max-width: 991px) {
  .lc-pill { bottom: 20px; right: 14px; }
  /* Only lift the pill above a mobile bottom nav on pages that actually have one. */
  body.has-bottomnav .lc-pill { bottom: 88px; }
}
