/* =========================================================
   GEELONG BAY CABS – Design System & Styles
   Colours taken from the logo: taxi yellow + deep bay navy
   ========================================================= */

:root {
  --yellow: #ffc61a;
  --yellow-soft: #fff4cc;
  --yellow-deep: #e0a500;
  --navy: #0b2a55;
  --navy-deep: #071b38;
  --navy-soft: #e9eff8;
  --ink: #0e1a2e;
  --muted: #5c6b82;
  --line: #e4eaf2;
  --bg: #f6f8fc;
  --white: #ffffff;
  --success: #14a36b;
  --danger: #d9434f;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(11, 42, 85, 0.08);
  --shadow: 0 18px 40px -12px rgba(11, 42, 85, 0.22);
  --shadow-lg: 0 30px 60px -20px rgba(11, 42, 85, 0.35);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --nav-h: 76px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
.brand span {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  line-height: 1.15;
}

code {
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 6px;
  border-radius: 6px;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.narrow {
  width: min(820px, 92%);
}

section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: var(--bg);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  color: var(--navy-deep);
  margin: 14px 0 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--yellow-soft);
  padding: 7px 14px;
  border-radius: 999px;
}

.muted {
  color: var(--muted);
}

.muted-lg {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 12px 0 28px;
}

.small {
  font-size: 0.85rem;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.field-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-deep);
}

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

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: var(--yellow);
  color: var(--navy-deep);
  box-shadow: 0 10px 24px -8px rgba(255, 198, 26, 0.75);
}

.btn-primary:hover {
  background: #ffd23f;
  box-shadow: 0 14px 30px -8px rgba(255, 198, 26, 0.85);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-navy:hover {
  background: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-ghost:hover {
  background: var(--navy);
  color: #fff;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.92rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ---------- Reveal animations ---------- */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal {
  transform: translateY(28px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal.in-view,
.reveal-left.in-view,
.reveal-right.in-view {
  opacity: 1;
  transform: none;
}

/* ---------- API banner ---------- */
.api-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.api-banner[hidden] {
  display: none;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px -12px rgba(11, 42, 85, 0.25);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  color: var(--navy-deep);
  white-space: nowrap;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.4s var(--ease);
}

.brand:hover img {
  transform: rotate(-4deg) scale(1.05);
}

.brand b {
  color: var(--yellow-deep);
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  color: var(--ink);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-phone {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin: 0 auto;
  background: var(--navy);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 90px;
  background: linear-gradient(180deg, #fffbef 0%, #ffffff 75%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: float 12s ease-in-out infinite;
}

.b1 {
  width: 480px;
  height: 480px;
  background: #ffd95a;
  opacity: 0.5;
  top: -120px;
  right: -80px;
}

.b2 {
  width: 420px;
  height: 420px;
  background: #9cc0ff;
  opacity: 0.35;
  bottom: -140px;
  left: -120px;
  animation-delay: -4s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -24px);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
  margin: 20px 0 18px;
}

.highlight {
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  padding: 0 4px;
}

.hero-title em {
  font-style: normal;
  color: var(--navy);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 40px;
}

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}

.hero-stats strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  color: var(--navy-deep);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stats span {
  font-size: 0.9rem;
  color: var(--muted);
}

.pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c27d;
  box-shadow: 0 0 0 0 rgba(34, 194, 125, 0.7);
  animation: pulse 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(34, 194, 125, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 194, 125, 0);
  }
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.ride-card {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 32px;
}

.hero-logo {
  width: 62%;
  max-width: 270px;
  background: #fff;
  border-radius: 24px;
  padding: 14px;
  animation: bob 4s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes bob {
  50% {
    transform: translateY(-10px);
  }
}

.ride-status {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: #1b3f73;
  overflow: hidden;
}

.road::after {
  content: '';
  position: absolute;
  left: -40%;
  right: -40%;
  top: 50%;
  height: 6px;
  margin-top: -3px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 36px, transparent 36px 72px);
  animation: road 1.2s linear infinite;
}

@keyframes road {
  to {
    transform: translateX(72px);
  }
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--navy-deep);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  animation: bob 5s ease-in-out infinite;
  z-index: 3;
}

.chip-1 {
  top: 8%;
  left: -6%;
}

.chip-2 {
  bottom: 14%;
  right: -4%;
  animation-delay: -2s;
}

.chip-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: 18px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 32s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  padding-right: 48px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.marquee-track span::after {
  content: '';
  width: 8px;
  height: 8px;
  margin-left: 48px;
  border-radius: 50%;
  background: var(--yellow);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ---------- Services ---------- */
.service-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}

.service-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--navy-soft);
  color: var(--navy);
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background 0.3s, transform 0.4s var(--ease);
}

.icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:hover .icon {
  background: var(--yellow);
  transform: rotate(-6deg) scale(1.05);
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
  padding: 12px;
}

.step-num {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--yellow);
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  box-shadow: 0 0 0 8px var(--yellow-soft);
}

.step h3 {
  font-size: 1.25rem;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px;
}

/* ---------- Booking ---------- */
.book-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfcfe;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11, 42, 85, 0.12);
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--danger);
  background: #fff8f8;
}

.error {
  color: var(--danger);
  font-size: 0.84rem;
  min-height: 0;
}

.error:empty {
  display: none;
}

.vehicle-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.vehicle-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.vehicle-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.vo-box {
  display: block;
  height: 100%;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.vo-box strong {
  display: block;
  color: var(--navy-deep);
}

.vo-box small {
  color: var(--muted);
}

.vehicle-option:hover .vo-box {
  transform: translateY(-2px);
  border-color: #c7d3e4;
}

.vehicle-option input:checked + .vo-box {
  border-color: var(--navy);
  background: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(255, 198, 26, 0.45);
}

.vehicle-option input:focus-visible + .vo-box {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

.form-submit {
  width: 100%;
  margin-top: 26px;
}

.form-note {
  margin-top: 12px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
}

/* Fare panel */
.fare-panel {
  position: sticky;
  top: 110px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 0;
  color: #fff;
}

.fare-panel h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.fare-hint {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.fare-panel .fare-hint.small {
  font-size: 0.82rem;
  margin-top: 16px;
}

.fare-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  margin: 16px 0 4px;
  animation: fadeUp 0.5s var(--ease);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.fare-lines {
  list-style: none;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  animation: fadeUp 0.6s var(--ease);
}

.fare-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- Track ---------- */
.track-form {
  padding: 32px;
}

.track-box {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.track-box input {
  flex: 1;
  min-width: 200px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.track-box input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(11, 42, 85, 0.12);
}

.track-result {
  margin-top: 18px;
  animation: fadeUp 0.5s var(--ease);
}

.track-card {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--line);
}

.track-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--navy-deep);
}

.status {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status-pending {
  background: #fff4cc;
  color: #7a5a00;
}

.status-confirmed {
  background: #dff7ec;
  color: #0b7a50;
}

.status-completed {
  background: var(--navy-soft);
  color: var(--navy);
}

.status-cancelled {
  background: #fde7e9;
  color: #a1222c;
}

/* ---------- Fleet ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.fleet-card {
  padding: 0;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.fleet-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.fleet-art {
  display: grid;
  place-items: center;
  padding: 36px 24px 12px;
  background: radial-gradient(circle at 50% 40%, #ffffff 0%, var(--navy-soft) 100%);
}

.car-svg {
  width: min(320px, 90%);
  height: auto;
  animation: carIn 1s var(--ease) both;
}

@keyframes carIn {
  from {
    transform: translateX(-30px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.fleet-body {
  padding: 28px 32px 32px;
}

.fleet-body h3 {
  font-size: 1.4rem;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.fleet-body p {
  color: var(--muted);
}

.spec-list {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.spec-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 500;
}

.spec-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2A55' stroke-width='3'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Areas ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.radar {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #ffffff 35%, var(--navy-soft) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(11, 42, 85, 0.22);
  animation: ring 3.2s ease-out infinite;
}

.ring:nth-child(2) {
  animation-delay: 1.07s;
}

.ring:nth-child(3) {
  animation-delay: 2.14s;
}

@keyframes ring {
  from {
    transform: scale(0.25);
    opacity: 1;
  }
  to {
    transform: scale(1.05);
    opacity: 0;
  }
}

.dot {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 5px rgba(255, 198, 26, 0.55);
  animation: blink 2.4s ease-in-out infinite;
}

.dot.d2 {
  animation-delay: 0.6s;
}

.dot.d3 {
  animation-delay: 1.2s;
}

@keyframes blink {
  50% {
    box-shadow: 0 0 0 10px rgba(255, 198, 26, 0);
  }
}

.center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
}

.center img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.area-groups {
  display: grid;
  gap: 26px;
  margin-top: 8px;
}

.zone-group h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 12px;
}

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

.chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.92rem;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
  cursor: default;
}

.chip:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-2px);
}

/* ---------- Pricing ---------- */
.price-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.price-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.1;
}

.price-card small {
  color: var(--muted);
}

.price-card.featured {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 0;
}

.price-card.featured .price-label,
.price-card.featured small {
  color: rgba(255, 255, 255, 0.75);
}

.price-card.featured .price-value {
  color: var(--yellow);
}

.pricing-note {
  text-align: center;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Reviews ---------- */
.review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.review:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.stars {
  color: #f5a623;
  letter-spacing: 3px;
  font-size: 1.05rem;
}

.review blockquote {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--navy-deep);
}

.review-author small {
  display: block;
  font-weight: 400;
  color: var(--muted);
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--navy-deep);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: #d5deeb;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  color: var(--navy-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  line-height: 1;
  color: var(--navy);
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 0 18px;
  color: var(--muted);
  animation: fadeDown 0.35s var(--ease);
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.info-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.info-card .icon {
  width: 48px;
  height: 48px;
  margin: 0;
}

.info-card .icon svg {
  width: 22px;
  height: 22px;
}

.info-card strong {
  color: var(--navy-deep);
}

.info-card a {
  color: var(--navy);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.info-card a:hover {
  text-decoration: underline;
}

.contact-form {
  padding: 36px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer a {
  transition: color 0.3s;
  overflow-wrap: anywhere;
}

.footer a:hover {
  color: var(--yellow);
}

.footer-about {
  margin-top: 16px;
  max-width: 320px;
  font-size: 0.95rem;
}

.brand-light {
  color: #fff;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
}

/* ---------- Floating buttons ---------- */
.fab-call {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: fabIn 0.6s var(--ease) both;
}

@keyframes fabIn {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--yellow);
  color: var(--navy-deep);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* ---------- Toasts ---------- */
.toast-wrap {
  position: fixed;
  top: 92px;
  right: 20px;
  z-index: 200;
  display: grid;
  gap: 10px;
  max-width: min(380px, calc(100% - 40px));
}

.toast {
  background: var(--navy-deep);
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s;
}

.toast.show {
  transform: none;
  opacity: 1;
}

.toast.success {
  border-left: 4px solid var(--success);
}

.toast.error {
  border-left: 4px solid var(--danger);
}

.toast.info {
  border-left: 4px solid var(--yellow);
}

/* ---------- Modal ---------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  place-items: center;
  padding: 20px;
  background: rgba(7, 27, 56, 0.6);
  backdrop-filter: blur(4px);
}

.modal.open {
  display: grid;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-box {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: pop 0.45s var(--ease);
}

@keyframes pop {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.check {
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--success);
  animation: pop 0.5s var(--ease);
}

.check svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw 0.6s 0.3s forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.modal h3 {
  font-size: 1.6rem;
  color: var(--navy-deep);
}

.ref-code {
  margin: 16px 0;
  padding: 14px;
  border-radius: 12px;
  background: var(--yellow-soft);
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--navy-deep);
}

.fare-badge {
  margin-top: 6px;
  font-weight: 600;
  color: var(--navy);
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ---------- Admin ---------- */
.admin-page {
  padding: 120px 0 60px;
  min-height: 100vh;
  background: var(--bg);
}

.admin-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.admin-bar .field {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.admin-bar input {
  min-width: 260px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
}

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

.stat {
  padding: 22px;
}

.stat strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  color: var(--navy-deep);
}

.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.admin-table th {
  background: var(--navy-soft);
  color: var(--navy-deep);
  font-weight: 600;
  white-space: nowrap;
}

.admin-table tbody tr:hover {
  background: #fafcff;
}

.admin-table select {
  padding: 8px 10px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.admin-section {
  margin-top: 40px;
}

.admin-section h3 {
  color: var(--navy-deep);
  margin-bottom: 14px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Large laptops / small desktops */
@media (max-width: 1180px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    gap: 20px;
  }
}

/* Tablets & mobile navigation */
@media (max-width: 960px) {
  section {
    padding: 80px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 5% 24px;
    background: #fff;
    box-shadow: 0 18px 30px -18px rgba(11, 42, 85, 0.3);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.3s;
  }

  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-phone {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .lead {
    margin-inline: auto;
  }

  .hero-cta,
  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
  }

  .float-chip {
    display: none;
  }

  .book-grid,
  .areas-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fare-panel {
    position: static;
    order: -1;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .grid-3 .review:last-child {
    grid-column: 1 / -1;
  }

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

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

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

  .radar {
    width: min(360px, 90%);
  }
}

/* Phones */
@media (max-width: 640px) {
  :root {
    --nav-h: 66px;
  }

  .container {
    width: min(100%, 92%);
  }

  section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .brand {
    font-size: 1rem;
    gap: 8px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .nav-actions .btn {
    padding: 9px 14px;
    font-size: 0.88rem;
  }

  .hero-title {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
  }

  .hero-stats {
    gap: 22px;
  }

  .hero-stats strong {
    font-size: 1.6rem;
  }

  .hero-cta .btn {
    flex: 1 1 100%;
  }

  .ride-card {
    border-radius: 24px;
  }

  .grid-4,
  .grid-3,
  .stats {
    grid-template-columns: 1fr;
  }

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

  .card {
    padding: 24px;
  }

  .contact-form {
    padding: 24px;
  }

  .track-form {
    padding: 22px;
  }

  .track-box .btn {
    width: 100%;
  }

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

  .price-value {
    font-size: 2rem;
  }

  .vehicle-options {
    grid-template-columns: 1fr;
  }

  .fare-amount {
    font-size: 2.6rem;
  }

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

  .footer-bottom {
    flex-direction: column;
  }

  .fab-call {
    display: inline-flex;
  }

  .to-top {
    bottom: 84px;
    right: 18px;
    width: 42px;
    height: 42px;
  }

  .toast-wrap {
    left: 16px;
    right: 16px;
    max-width: none;
    top: 80px;
  }

  .admin-bar input {
    min-width: 0;
    width: 100%;
  }

  .admin-bar .field {
    width: 100%;
    flex-wrap: wrap;
  }
}

/* Small phones */
@media (max-width: 380px) {
  .price-grid {
    grid-template-columns: 1fr;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-stats li {
    flex: 1 1 40%;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   V2 ADDITIONS: payment options, map, progress bar, glow
   ========================================================= */

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  background: linear-gradient(90deg, var(--yellow), var(--navy));
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
}

/* Card glow that follows the cursor (mouse devices) */
.glow {
  position: relative;
  overflow: hidden;
}

.glow::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 198, 26, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.glow:hover::after {
  opacity: 1;
}

/* Payment method selector in the booking form */
.payment-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pay-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.pay-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pay-option .vo-box {
  padding: 14px;
}

.pay-option:hover .vo-box {
  transform: translateY(-2px);
  border-color: #c7d3e4;
}

.pay-option input:checked + .vo-box {
  border-color: var(--navy);
  background: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(255, 198, 26, 0.45);
}

.pay-option input:focus-visible + .vo-box {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

/* Payment section cards */
.payment-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.payment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.payment-card .icon {
  transition: background 0.3s, transform 0.4s var(--ease);
}

.payment-card:hover .icon {
  background: var(--yellow);
  transform: rotate(-6deg) scale(1.05);
}

.payment-card h3 {
  font-size: 1.3rem;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.payment-card p {
  color: var(--muted);
}

/* Map */
.map-card {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--navy-soft);
}

.map-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-open {
  margin-top: 22px;
}

/* Contact info cards use the same glow + hover as other cards */
.info-card {
  position: relative;
}

/* Tablets */
@media (max-width: 960px) {
  .payment-grid {
    grid-template-columns: 1fr 1fr;
  }

  .payment-grid .payment-card:last-child {
    grid-column: 1 / -1;
  }

  .map-card {
    min-height: 360px;
  }
}

/* Phones */
@media (max-width: 640px) {
  .payment-options {
    grid-template-columns: 1fr;
  }

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

  .payment-grid .payment-card:last-child {
    grid-column: auto;
  }

  .map-card {
    min-height: 300px;
  }

  .map-open {
    width: 100%;
  }

  .scroll-progress {
    height: 2px;
  }
}

/* Keep the glow off on touch screens and when motion is reduced */
@media (hover: none) {
  .glow::after {
    display: none;
  }
}

/* V3 ADDITIONS: single-column booking, admin helpers */
.book-single {
  grid-template-columns: 1fr;
  max-width: 860px;
  margin: 0 auto;
}

.admin-tag {
  font-size: 0.7em;
  color: var(--muted);
}

.table-empty {
  padding: 24px;
}

/* =========================================================
   V4 ADDITIONS: Why Choose Us, 3-vehicle fleet,
   location suggestions, required marks
   ========================================================= */

/* ----- Why Choose Us ----- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.why-item {
  padding: 40px 26px;
  text-align: center;
  position: relative;
  transition: background 0.4s, transform 0.4s var(--ease);
}

.why-item + .why-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--line);
}

.why-item:hover {
  background: var(--yellow-soft);
}

.why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-soft);
  color: var(--navy);
  transition: transform 0.5s var(--ease), background 0.3s;
}

.why-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-item:hover .why-icon {
  transform: translateY(-4px) scale(1.06);
  background: var(--yellow);
}

.why-item h3 {
  font-size: 1.25rem;
  color: var(--navy-deep);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.why-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ----- Booking: 3 vehicle options and payment ----- */
.vehicle-options-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ----- Fleet: 3 vehicles ----- */
.fleet-trio .fleet-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.fleet-trio .fleet-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fleet-trio .spec-row {
  margin-top: auto;
}

.fleet-art-dark {
  background: radial-gradient(circle at 50% 40%, #1d3a6b 0%, var(--navy-deep) 100%);
}

.fleet-premium {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-color: transparent;
}

.fleet-premium h3 {
  color: #fff;
}

.fleet-premium p {
  color: rgba(255, 255, 255, 0.75);
}

.fleet-premium .fleet-body .spec-row li {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.spec-row {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.spec-row li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy-deep);
  font-size: 0.95rem;
}

.spec-ico {
  font-size: 1.05rem;
  line-height: 1;
}

/* ----- Location suggestions dropdown ----- */
.ac-wrap {
  position: relative;
}

.ac-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 50;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  max-height: 280px;
  overflow-y: auto;
  animation: fadeDown 0.25s var(--ease);
}

.ac-list[hidden] {
  display: none;
}

.ac-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--ink);
  transition: background 0.2s;
}

.ac-list li.active,
.ac-list li:hover {
  background: var(--yellow-soft);
}

.ac-pin {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 4px rgba(255, 198, 26, 0.45);
}

.required-mark {
  color: var(--danger);
  font-weight: 700;
}

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-item:nth-child(4)::before {
    display: none;
  }

  .why-item:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-item::before {
    display: none !important;
  }

  .why-item {
    border-bottom: 1px solid var(--line);
  }

  .why-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
}

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

  .why-item {
    border-right: 0 !important;
    padding: 30px 22px;
  }

  .vehicle-options-3 {
    grid-template-columns: 1fr;
  }

  .spec-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ac-list li {
    font-size: 0.9rem;
  }
}

@media (max-width: 960px) {
  .fleet-trio .fleet-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .fleet-trio .fleet-card:last-child {
    grid-column: auto;
  }
}

/* =========================================================
   V5 ADDITIONS: photography
   ========================================================= */

/* Hero: coastline photo under a light overlay so navy text stays readable */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: 0.55;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 251, 239, 0.96) 0%,
    rgba(255, 251, 239, 0.82) 45%,
    rgba(255, 251, 239, 0.35) 100%
  );
}

/* Why Choose Us banner */
.feature-banner {
  margin: 0 0 48px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-height: 420px;
}

.feature-banner img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center 40%;
}

/* Booking: form and photo side by side on desktop */
.book-with-photo {
  grid-template-columns: 1.35fr 1fr;
  max-width: none;
  margin: 0;
  align-items: start;
}

.side-photo {
  position: sticky;
  top: 110px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.side-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Fleet photos */
.fleet-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.fleet-art {
  padding: 18px 18px 0;
  background: transparent;
}

.fleet-art-dark {
  background: transparent;
}

/* Service area banner */
.wide-photo {
  margin: 0 0 56px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.wide-photo img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

/* Tablets and below: stack the booking photo under the form */
@media (max-width: 960px) {
  .book-with-photo {
    grid-template-columns: 1fr;
  }

  .side-photo {
    position: static;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* Phones */
@media (max-width: 640px) {
  .feature-banner,
  .wide-photo {
    border-radius: 16px;
  }

  .feature-banner img {
    max-height: 240px;
  }

  .wide-photo img {
    max-height: 220px;
  }

  .hero-photo {
    opacity: 0.45;
  }

  .hero-bg::after {
    background: linear-gradient(180deg, rgba(255, 251, 239, 0.9) 0%, rgba(255, 251, 239, 0.85) 60%, rgba(255, 251, 239, 0.95) 100%);
  }
}

/* =========================================================
   V6: Our Fleet spacing and colour (two vehicles)
   ========================================================= */

/* Two cards side by side, centred, instead of three columns with a gap */
#fleet {
  padding: 72px 0;
}

#fleet .section-head {
  margin-bottom: 36px;
}

.fleet-trio {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

/* Restore the light blue-grey photo background used on the first card */
.fleet-trio .fleet-art,
.fleet-trio .fleet-art-dark {
  padding: 22px 22px 0;
  background: radial-gradient(circle at 50% 40%, #ffffff 0%, var(--navy-soft) 100%);
}

.fleet-trio .fleet-photo {
  border-radius: 12px;
}

/* Tighter card text spacing */
.fleet-trio .fleet-body {
  padding: 20px 26px 24px;
}

.fleet-trio .fleet-body h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.fleet-trio .fleet-body p {
  font-size: 0.95rem;
  line-height: 1.55;
}

.fleet-trio .spec-row {
  margin-top: 16px;
  padding-top: 14px;
}

/* Remove the old span rules, which made the second card full width */
.fleet-trio .fleet-card:last-child {
  grid-column: auto;
}

@media (max-width: 760px) {
  #fleet {
    padding: 56px 0;
  }

  .fleet-trio {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

/* =========================================================
   V7: Reviews and the booking page
   ========================================================= */

/* Booking page: the form sits on its own page, with space below the fixed navbar */
.booking-page {
  padding-top: calc(var(--nav-h) + 24px);
  min-height: 100vh;
}

.booking-section {
  padding-top: 40px;
}

/* Reviews */
.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: -24px auto 36px;
  padding: 14px 24px;
  width: fit-content;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.reviews-avg {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1;
}

.reviews-avg-stars {
  color: #f5a623;
  letter-spacing: 3px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.reviews-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 28px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.review-card blockquote {
  flex: 1;
  color: var(--ink);
  line-height: 1.65;
}

.review-card .review-author small {
  display: block;
  font-weight: 400;
  color: var(--muted);
}

.review-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px;
}

.review-form h3 {
  font-size: 1.4rem;
  color: var(--navy-deep);
  margin-bottom: 18px;
}

.review-form .form-submit {
  width: auto;
  min-width: 220px;
  margin-top: 20px;
}

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

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

  .review-form {
    padding: 24px;
  }

  .review-form .form-submit {
    width: 100%;
  }

  .reviews-summary {
    border-radius: 18px;
    width: 100%;
  }
}

.review-actions {
  white-space: nowrap;
}

.btn.danger {
  color: var(--danger);
  border-color: var(--danger);
}

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

/* =========================================================
   V8: Responsive pass for phones and tablets
   ========================================================= */

/* Book link inside the mobile menu (hidden on desktop) */
.nav-mobile-book {
  display: none !important;
}

/* Stop sideways scrolling on iPhone Safari as well as other browsers */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

/* Tablets and laptops where the navigation gets crowded */
@media (max-width: 1240px) {
  .nav-phone {
    display: none;
  }
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }
}

/* Mobile navigation: include the Book link and keep the header tidy */
@media (max-width: 960px) {
  .nav-mobile-book {
    display: block !important;
    margin-top: 16px;
    padding: 14px 20px !important;
    border: 0 !important;
    text-align: center;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--navy-deep) !important;
    font-weight: 700;
  }

  .nav-mobile-book::after {
    display: none;
  }
}

/* Phones */
@media (max-width: 640px) {
  /* iOS zooms into a page when an input font is smaller than 16px; keep form text at 16px */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Larger tap targets */
  .btn {
    min-height: 46px;
  }

  .btn-sm {
    min-height: 40px;
  }

  /* Keep the floating call button clear of the iPhone home bar */
  .fab-call {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: 16px;
  }

  .to-top {
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    right: 16px;
  }

  .toast-wrap {
    top: auto;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    right: 12px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero-stats li {
    min-width: 30%;
  }

  .card,
  .review-card,
  .service-card {
    padding: 22px;
  }

  .fleet-trio .fleet-body {
    padding: 18px 20px 20px;
  }

  .track-box input {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }

  .track-box .btn {
    width: 100%;
  }

  .map-card iframe {
    min-height: 300px;
  }

  .admin-table {
    min-width: 760px;
  }
}

/* Small phones (320 to 400 px wide) */
@media (max-width: 420px) {
  .navbar .container {
    width: 94%;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-align: center;
    line-height: 1.4;
  }

  .why-item {
    padding: 26px 18px;
  }

  .payment-card,
  .info-card {
    padding: 18px;
  }

  .info-card {
    gap: 12px;
  }

  .review-form {
    padding: 20px;
  }

  .modal-box {
    padding: 28px 20px;
  }

  .ref-code {
    font-size: 1.25rem;
    letter-spacing: 0.08em;
  }
}

/* Very short phones: keep the hero from overflowing */
@media (max-height: 640px) and (max-width: 640px) {
  .hero {
    min-height: auto;
  }
}
