/* ==========================================================================
   Sydney CBD Limos — stylesheet
   ========================================================================== */

:root {
  --black: #0b0c0e;
  --near-black: #16181c;
  --charcoal: #2a2d33;
  --accent: #2a5cff;
  --accent-dark: #1743d6;
  --accent-light: #a9c6ff;
  --accent-pale: #dfe9ff;
  --white: #ffffff;
  --cream: #f7f3ea;
  --off-white: #f7f6f4;
  --grey-100: #f2f1ef;
  --grey-300: #d9d7d3;
  /* Darkened from #8a8783, which measured 3.58:1 on white and 3.23:1 on the
     cream sections -- below the 4.5:1 minimum, and this token is the text
     colour for fleet meta, booking cards, report labels and table headers.
     #716f6b measures 5.01:1 and 4.53:1 on those two grounds. */
  --grey-500: #716f6b;
  --grey-700: #55524d;
  --radius: 8px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
  --header-height: 76px;
  --max-width: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

/* Keyboard focus needs a visible indicator on every control. :focus-visible
   keeps it out of the way of mouse users, who get no ring on a plain click.
   The accent blue reads on the light pages; on the dark surfaces it is close
   enough to the background to disappear, so those switch to the light tint. */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
.hero :focus-visible,
.booking-widget :focus-visible,
.menu-drawer :focus-visible,
.cta-banner :focus-visible,
.city-hero :focus-visible,
.site-footer :focus-visible,
.site-header:not(.scrolled) :focus-visible {
  outline-color: var(--accent-light);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
[hidden] { display: none !important; }

/* Honour the system setting. The site uses smooth scrolling and transitions
   throughout, and for a visitor who gets motion sickness that is not a
   nice-to-have. Motion is reduced to near zero rather than removed outright,
   so state changes still land rather than being cancelled mid-flight. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--near-black);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 760px; }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.15; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 12px; color: var(--grey-700); }

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}
.eyebrow-light { color: var(--accent-light); }

.section { padding: 88px 0; }
.section-muted { background: var(--cream); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-sub { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: var(--shadow-md); }
.btn-light {
  background: var(--white);
  color: var(--near-black);
}
.btn-light:hover { background: var(--accent-pale); }
.btn-small { padding: 10px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; }
.btn-pill { border-radius: 999px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--grey-300);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--white);
  transition: color 0.25s ease;
  flex-shrink: 0;
}
.site-header.scrolled .logo { color: var(--near-black); }
.logo-light { color: var(--white) !important; }
/* The mark is a wide emblem (roughly 2.4:1), not a square badge, so the width
   follows the height rather than being fixed -- a square box with object-fit:
   cover would crop it down to an unreadable slice of the middle. The wordmark
   itself is the adjacent <span>, so the image carries the emblem only. */
.logo-image {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}
/* The emblem is dark navy, and it appears over the dark hero header, the black
   footer and the dark menu drawer -- where it reads as a smudge rather than a
   logo. Rendering it as a white silhouette in those places is the same trick
   the wordmark beside it already uses. The scrolled header is white, so there
   the mark keeps its own navy and silver. */
.logo .logo-image { filter: brightness(0) invert(1); }
.site-header.scrolled .logo .logo-image { filter: none; }
.admin-badge {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.05rem;
  margin-left: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled .menu-btn {
  background: var(--grey-100);
  border-color: var(--grey-300);
}
.menu-btn span {
  display: block;
  height: 2px;
  width: 16px;
  background: var(--white);
  border-radius: 2px;
  transition: background 0.25s ease;
}
.site-header.scrolled .menu-btn span { background: var(--near-black); }

/* ---------- Menu drawer ---------- */
.menu-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1090;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.menu-scrim.open { opacity: 1; pointer-events: auto; }

.menu-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: var(--near-black);
  color: var(--white);
  z-index: 1100;
  transform: translateX(100%);
  /* The closed drawer is only translated off-screen, so its 13 links and
     buttons stayed in the tab order: a keyboard user tabbing the page landed
     on controls they could not see. visibility: hidden takes the whole subtree
     out of the tab order, and because visibility animates discretely the
     slide-out still plays in full before it disappears. */
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}
.menu-drawer.open { transform: translateX(0); visibility: visible; }
.menu-drawer-inner { padding: 24px 28px 40px; display: flex; flex-direction: column; min-height: 100%; }
.menu-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.menu-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-accordion { display: flex; flex-direction: column; flex: 1; }
.accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 18px 2px;
}
.accordion-toggle svg { transition: transform 0.2s ease; color: rgba(255,255,255,0.6); }
.accordion-toggle.open svg { transform: rotate(180deg); }
.accordion-panel {
  display: flex;
  flex-direction: column;
  padding: 0 2px 14px;
  gap: 12px;
}
.accordion-panel a {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.accordion-panel a:hover { color: var(--accent-light); }
.menu-flat-link {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: 18px 2px;
  font-size: 1.05rem;
  font-weight: 600;
}
.menu-flat-link:last-of-type { border-bottom: 1px solid rgba(255,255,255,0.14); }
.menu-phone {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-light);
  font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 40px) 0 100px;
  overflow: hidden;
  color: var(--white);
}
/* Layer order runs top to bottom: the brand wash sits over a darkening scrim,
   which sits over the photograph. The scrim is not decoration; the hero carries
   white headline text and a glass booking card over this image, and without it
   the sky washes both out. The solid background-color underneath is what shows
   while the photo loads, so the text is never left on bare white. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #05060a;
  background-image:
    radial-gradient(circle at 20% 15%, rgba(42, 92, 255, 0.28), transparent 48%),
    linear-gradient(180deg, rgba(5, 6, 10, 0.82) 0%, rgba(5, 6, 10, 0.62) 40%, rgba(5, 6, 10, 0.94) 100%),
    url("../images/hero-sydney.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center 35%;
  background-repeat: no-repeat, no-repeat, no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 140px);
}

/* ---------- Sydney skyline silhouette ----------
   One SVG, applied as a mask rather than a background image, so the colour
   comes from background-color and the same file serves every section instead
   of needing a light and a dark copy.

   mask-size: contain keeps the whole skyline visible at any width -- it just
   gets shorter on narrow screens. 'cover' would fill the band more completely
   but crops from the sides, which on a phone means losing the Opera House. */

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { padding-top: 12px; }
.hero-copy h1 { color: var(--white); }

/* ---------- Booking widget (glass card) ---------- */
.booking-widget {
  background: rgba(22, 24, 30, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  color: var(--white);
}
.pill-tabs {
  display: inline-flex;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 4px;
  margin: 22px 24px 4px;
}
.tab-btn {
  border: none;
  background: transparent;
  padding: 10px 20px;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  border-radius: 999px;
  transition: all 0.2s ease;
}
.tab-btn.active {
  background: var(--accent);
  color: var(--white);
}
.booking-form { padding: 20px 24px 24px; }
.form-row { margin-bottom: 4px; }
.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: block; }
.field-underline { margin-bottom: 18px; }

/* ---------- Custom address / date / time pickers ----------
   Built in-house rather than using native mobile date-time controls or
   Google's autocomplete web component, both of which behaved poorly on
   phones. Panels are absolutely positioned inside .picker-field. */
.picker-field { position: relative; }

.input-with-clear { position: relative; display: flex; align-items: center; }
.input-with-clear input { padding-right: 30px !important; }
.input-clear {
  position: absolute;
  right: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.input-clear:hover { color: #ffffff; }
.input-clear svg { width: 16px; height: 16px; }

.picker-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #ffffff;
  font-family: var(--font);
  font-size: 0.95rem;
  text-align: left;
}
.picker-trigger:hover { border-bottom-color: rgba(255, 255, 255, 0.6); }
.picker-placeholder { color: rgba(255, 255, 255, 0.4); }
.picker-placeholder.has-value { color: #ffffff; }
.picker-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.2s ease;
}
.picker-trigger[aria-expanded="true"] .picker-chevron { transform: rotate(180deg); }

/* Panels sit in normal flow rather than absolutely positioned. The booking
   card uses overflow:hidden for its rounded corners, which clipped absolutely
   positioned panels away to zero height and made every date untappable.
   In-flow panels make the card grow instead, so they can never be clipped and
   the page scrolls naturally to reveal them on small screens. */
.picker-panel,
.suggestion-panel {
  margin-top: 8px;
  background: #1b1e25;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.picker-panel--list,
.suggestion-panel {
  max-height: 260px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---- Address suggestions ---- */
.suggestion-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-family: var(--font);
  font-size: 0.9rem;
  text-align: left;
  line-height: 1.35;
}
.suggestion-item:hover,
.suggestion-item.active { background: rgba(255, 255, 255, 0.09); }
.suggestion-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: rgba(255,255,255,0.5); }
.suggestion-main { display: block; }
.suggestion-secondary { display: block; font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); }
.suggestion-status { padding: 12px 14px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

/* ---- Calendar ---- */
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 8px;
}
.cal-title { font-weight: 700; font-size: 0.95rem; color: #ffffff; }
.cal-nav {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-nav:disabled { opacity: 0.25; }
.cal-nav svg { width: 14px; height: 14px; }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 0 8px 10px;
}
.cal-dow {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  padding: 4px 0;
}
.cal-day {
  aspect-ratio: 1;
  min-height: 34px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #ffffff;
  font-family: var(--font);
  font-size: 0.85rem;
}
.cal-day:disabled { color: rgba(255, 255, 255, 0.2); }
.cal-day:not(:disabled):hover { background: rgba(255, 255, 255, 0.1); }
.cal-day.selected { background: var(--accent); font-weight: 700; }
.cal-day.today:not(.selected) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.cal-empty { min-height: 34px; }

/* ---- Time slot list ---- */
.time-slot {
  display: block;
  width: 100%;
  padding: 11px 16px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-family: var(--font);
  font-size: 0.92rem;
  text-align: left;
}
.time-slot:hover { background: rgba(255, 255, 255, 0.09); }
.time-slot.selected { background: var(--accent); font-weight: 700; }
.field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  border-radius: 0;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--white);
  background: transparent;
  transition: border-color 0.2s ease;
}
.field select { color: var(--white); }
.field select option { color: var(--near-black); }
.field input::placeholder,
/* 0.4 measured 3.80:1 against the booking card; 0.5 clears the 4.5:1 minimum. */
.field textarea::placeholder { color: rgba(255,255,255,0.5); }
/* Vertical only: the booking panel is a fixed-width column, and a horizontally
   resizable textarea drags out past its edge. */
.field textarea { resize: vertical; line-height: 1.5; }
/* Marks a field as genuinely optional, so nobody stalls on the notes box. */
.field-optional { color: rgba(255,255,255,0.45); font-weight: 400; text-transform: none; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-light);
}
/* The stop is opt-in, so the control that reveals it has to read as an action
   rather than as another empty field waiting to be filled. */
.stop-actions { margin: -8px 0 18px; }
.stop-toggle {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
  cursor: pointer;
}
.stop-toggle:hover { text-decoration: underline; }
/* On the admin card the stop is the part a dispatcher can miss, so it is not
   left looking like the rest of the route text. */
.booking-stop { color: var(--accent-dark); font-weight: 600; }
.field-hint {
  font-size: 0.8rem;
  color: var(--accent-light);
  margin: -6px 0 14px;
}
.trip-error {
  background: rgba(220, 60, 70, 0.15);
  border: 1px solid rgba(255, 120, 130, 0.5);
  color: #ffd9dc;
  font-size: 0.85rem;
  padding: 10px 12px;
  border-radius: 8px;
  margin: 0 0 14px;
}
.form-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
  margin: 12px 0 0;
}

/* ---------- Booking wizard steps (choose vehicle / confirm) ---------- */
.booking-step { padding: 20px 24px 24px; color: var(--white); }
.step-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0;
  margin-bottom: 16px;
}
.step-back:hover { color: var(--white); }
.step-trip-summary {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin: 0 0 4px;
}
.step-title { color: var(--white); margin-bottom: 16px; }

.vehicle-options { display: flex; flex-direction: column; gap: 12px; }
.vehicle-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.vehicle-option:hover { border-color: var(--accent-light); background: rgba(255,255,255,0.1); }
.vehicle-option-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vehicle-option-info { flex: 1; min-width: 0; }
.vehicle-option-name { margin: 0 0 2px; font-weight: 700; color: var(--white); font-size: 0.95rem; }
.vehicle-option-capacity { margin: 0; font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.vehicle-option-price { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.vehicle-option-amount { font-weight: 800; font-size: 1.15rem; color: var(--white); }

.confirm-summary {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.confirm-summary-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.confirm-route { margin: 0 0 4px; font-weight: 700; color: var(--white); }
.confirm-meta { margin: 0; font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.confirm-price { font-size: 1.4rem; font-weight: 800; color: var(--white); flex-shrink: 0; }

/* ---------- Payment method ---------- */
.payment-method { margin-bottom: 20px; }
.payment-method > .field-label { color: rgba(255,255,255,0.6); margin-bottom: 10px; display: block; }
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payment-option {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
}
.payment-option:has(input:checked) { border-color: var(--accent); background: rgba(42,92,255,0.18); }
.payment-option input { position: absolute; top: 12px; right: 12px; accent-color: var(--accent); }
.payment-option span { font-weight: 700; color: var(--white); font-size: 0.9rem; padding-right: 20px; }
.payment-option small { color: rgba(255,255,255,0.55); font-size: 0.76rem; }

/* ---------- Feature strip ---------- */
.feature-strip { background: var(--cream); padding: 72px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--accent-pale);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; margin: 0; }

/* ---------- Cards / services ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  padding: 32px 26px;
  border: 1px solid var(--grey-300);
  border-radius: 14px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--accent-light);
}
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-pale);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 24px; height: 24px; }

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step { text-align: center; }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 16px;
}

/* ---------- Fleet ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.fleet-card {
  border: 1px solid var(--grey-300);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.fleet-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.fleet-media {
  height: 200px;
  position: relative;
  background: linear-gradient(135deg, var(--grey-100), var(--grey-300));
  overflow: hidden;
}
.fleet-media--sedan { background: linear-gradient(135deg, #1b1d21, #2a3d6b); }
.fleet-media--van { background: linear-gradient(135deg, #24262b, #34508f); }
.fleet-media--first { background: linear-gradient(135deg, #0d0e10, #1c2c55); }
.fleet-media--suv { background: linear-gradient(135deg, #16181c, #202d52); }
.fleet-media--sprinter { background: linear-gradient(135deg, #1f2126, #2c4478); }
.fleet-car-icon { width: 100%; height: 100%; max-width: 220px; }
.fleet-car-photo { width: 100%; height: 100%; object-fit: cover; }
.fleet-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 1;
}
.fleet-body { padding: 20px; }
.fleet-vehicle { font-size: 0.82rem; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.fleet-meta { font-size: 0.82rem; color: var(--grey-500); margin-bottom: 8px; }
.fleet-desc { font-size: 0.9rem; }
.fleet-price {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--grey-300);
  font-size: 0.9rem;
  color: var(--grey-700);
}
.fleet-price strong { color: var(--near-black); font-size: 1.15rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  background-color: #0b0c0e;
  background-image:
    linear-gradient(115deg, rgba(11, 12, 14, 0.93) 0%, rgba(11, 12, 14, 0.72) 45%, rgba(22, 33, 74, 0.68) 100%),
    url("../images/cta-sydney.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  color: var(--white);
  padding: 64px 0;
}

.cta-banner-inner { position: relative; }
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner-inner h2 { color: var(--white); max-width: 480px; }
.cta-banner-inner p { color: rgba(255,255,255,0.7); max-width: 480px; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  padding: 28px;
  background: var(--cream);
  border-radius: 14px;
}
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial-author { font-weight: 600; color: var(--near-black); margin-top: 12px; font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 10px;
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent);
  margin-left: 12px;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { margin-top: 12px; margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-list { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--grey-700);
  font-size: 0.95rem;
}
.contact-list svg { color: var(--accent); flex-shrink: 0; }
.contact-form {
  background: var(--cream);
  padding: 28px;
  border-radius: 14px;
}
.contact-form .field { margin-bottom: 14px; }
.contact-form .field input,
.contact-form .field textarea {
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--near-black);
  background: var(--white);
}
.contact-form .field input::placeholder { color: var(--grey-500); }
.contact-form .field-label { color: var(--grey-700); }
.contact-form textarea { resize: vertical; }

/* ---------- Footer ---------- */
/* The footer is on every page, so this is what carries the skyline across the
   whole site rather than only the home and fleet pages. */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 0;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  background-color: rgba(255, 255, 255, 0.11);
  pointer-events: none;
  -webkit-mask-image: url("../images/sydney-skyline.svg");
  mask-image: url("../images/sydney-skyline.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.site-footer .container { position: relative; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.88rem; margin-top: 14px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 12px; }
}

@media (max-width: 860px) {
  :root { --header-height: 66px; }

  .hero { padding: calc(var(--header-height) + 24px) 0 60px; }

  .card-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  h1 { font-size: 2.1rem; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .pill-tabs { margin: 18px 18px 4px; }
  .booking-form { padding: 16px 18px 20px; }
  .booking-step { padding: 16px 18px 20px; }
  .header-actions .btn-small { padding: 9px 14px; font-size: 0.82rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Auth: drawer slot, contact fields, modals
   ========================================================================== */

/* ---- Drawer sign-in / account slot ---- */
.menu-auth { padding: 18px 2px; border-top: 1px solid rgba(255,255,255,0.14); }
.menu-signin-btn { width: 100%; }
.menu-account { display: flex; flex-direction: column; gap: 10px; }
.menu-account-name { margin: 0; font-weight: 700; color: var(--white); }
.menu-account .menu-flat-link { border: none; padding: 0; font-size: 0.95rem; }
.menu-signout-btn { align-self: flex-start; }

/* ---- Contact fields inside booking form ---- */
.contact-fields { margin-top: 4px; }
.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent-light);
  font-weight: 600;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.guest-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin: -6px 0 18px;
}
.guest-note strong { color: rgba(255,255,255,0.85); }

/* ---- Modals (auth + booking confirmation) ---- */
.modal-scrim {
  position: fixed;
  inset: 0;
  background: rgba(10,11,14,0.5);
  z-index: 1190;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-scrim.open { opacity: 1; pointer-events: auto; }

.modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%);
  width: min(420px, 90vw);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 32px 28px 28px;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--grey-300);
  background: var(--white);
  color: var(--near-black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-tabs {
  display: inline-flex;
  background: var(--grey-100);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 22px;
}
.modal-tab {
  border: none;
  background: transparent;
  padding: 10px 20px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--grey-700);
  border-radius: 999px;
  transition: all 0.2s ease;
}
.modal-tab.active { background: var(--near-black); color: var(--white); }

.modal-form .field { margin-bottom: 14px; }
.modal-form .field-label { color: var(--grey-700); }
.modal-form .field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--near-black);
  background: var(--white);
}
.modal-form .field input:focus { border-color: var(--accent); }
.modal-hint { font-size: 0.78rem; color: var(--grey-500); margin: -8px 0 14px; }
.modal-error {
  background: #fde8e8;
  color: #a4222c;
  font-size: 0.85rem;
  padding: 10px 12px;
  border-radius: 8px;
  margin: 0 0 14px;
}
.modal-success {
  background: #e6f6ec;
  color: #1c6b3a;
  font-size: 0.85rem;
  padding: 10px 12px;
  border-radius: 8px;
  margin: 0 0 14px;
}
.modal-alt-action { text-align: center; margin: 14px 0 0; }
/* .link-btn is styled light for the dark booking widget; this variant is for
   the white modal background. */
.link-btn-dark { color: var(--accent); font-size: 0.85rem; }

/* ---- Booking confirmation modal ---- */
.modal-confirm { text-align: center; }
.modal-confirm-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--accent-pale);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.modal-confirm h3 { margin-bottom: 10px; }
.modal-confirm p { margin-bottom: 22px; }
.modal-confirm .btn { margin-bottom: 10px; }

/* ---------- Fleet page ---------- */
.fleet-page-hero { padding-top: calc(var(--header-height) + 48px) !important; }

/* Shown above the booking tabs when a visitor arrives from a "Services" link,
   so they can see the form is already set up for what they clicked. */
.booking-context {
  /* The card has no padding of its own; .pill-tabs insets itself by 22px 24px.
     Match that inset, and pull the tabs up so the two read as one block. */
  margin: 22px 24px -10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
}

/* ---------- City pages ----------
   Generated by scripts/build-city-pages.js. The hero is a plain dark gradient
   on purpose: every photograph on the site shows a Sydney landmark, which
   would be the wrong picture on a Melbourne or Perth page. */
.city-hero {
  padding: calc(var(--header-height) + 64px) 0 72px;
  background: linear-gradient(150deg, #05060a 0%, #12141c 55%, #1b2030 100%);
  color: var(--white);
}
.city-hero h1 { color: var(--white); max-width: 820px; }
.city-hero .city-lead { color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; max-width: 720px; }
.city-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn-outline-light:hover { border-color: var(--white); }
.city-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; }
.city-facts li { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.city-facts li::before { content: "\2713"; color: var(--accent-light); margin-right: 8px; }
.city-prose { max-width: 760px; margin: 0 auto; }
.city-prose p { font-size: 1.02rem; }
.city-prose + .card-grid { margin-top: 40px; }
/* Wide on desktop, scrolls sideways on a phone rather than squashing. */
.trip-table-wrap { overflow-x: auto; margin-top: 8px; }
.trip-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.trip-table th,
.trip-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--grey-300); vertical-align: top; }
.trip-table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--grey-500); }
.trip-table td:first-child { font-weight: 600; color: var(--near-black); }
.trip-table td:nth-child(2) { white-space: nowrap; color: var(--grey-700); }
.city-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.city-links a { padding: 10px 20px; border: 1px solid var(--grey-300); border-radius: 999px; font-weight: 600; }
.city-links a:hover { border-color: var(--accent); color: var(--accent); }

/* ==========================================================================
   Account / My bookings page
   ========================================================================== */
.account-page { padding: calc(var(--header-height) + 48px) 0 100px; min-height: 60vh; }
.account-signed-out { max-width: 480px; margin: 40px auto; text-align: center; }
.account-signed-out h1 { margin-bottom: 12px; }

.account-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--grey-300);
}
.account-header h1 { margin-bottom: 6px; }

.bookings-empty {
  text-align: center;
  padding: 48px 24px;
  background: var(--cream);
  border-radius: 14px;
}
.bookings-empty p { margin-bottom: 18px; }

.bookings-list { display: flex; flex-direction: column; gap: 16px; }
.booking-card {
  border: 1px solid var(--grey-300);
  border-radius: 14px;
  padding: 20px 22px;
}
.booking-card-top { display: flex; align-items: flex-start; gap: 16px; }
.booking-card-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--accent-pale);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.booking-card-main { flex: 1; min-width: 0; }
.booking-route { font-weight: 700; margin: 0 0 4px; color: var(--near-black); }
.booking-meta { font-size: 0.85rem; margin: 0; color: var(--grey-500); }
.booking-card-price { font-size: 1.2rem; font-weight: 800; color: var(--near-black); flex-shrink: 0; }
.booking-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--grey-100);
  font-size: 0.82rem;
  color: var(--grey-500);
}
.booking-status {
  text-transform: capitalize;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-pale);
  color: var(--accent-dark);
}
.admin-status-select {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-pale);
  border: none;
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
}

/* Customer notes decide which vehicle actually goes out, so they are set apart
   from the grey meta lines rather than blending into them. */
.booking-notes {
  font-size: 0.85rem;
  margin: 6px 0 0;
  padding: 8px 10px;
  color: var(--near-black);
  background: var(--grey-100);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.booking-invoice-ok { color: #1c7a4a; }
/* A completed ride whose invoice never sent is a GST record that does not
   exist yet, so it is called out rather than shown as ordinary grey meta text. */
.booking-invoice-fail { color: #8a1c1c; font-weight: 700; }

/* Refunding moves real money, so this reads as a warning rather than blending
   in with the neutral status control beside it. */
.admin-refund-btn {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  color: #8a1c1c;
  background: #fdecec;
  border: 1px solid #f4c7c7;
  border-radius: 999px;
  padding: 4px 12px;
  margin-left: auto;
  margin-right: 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.admin-refund-btn:hover:not(:disabled) {
  background: #f9d9d9;
}
.admin-refund-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.admin-status-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.admin-tab {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-700);
  background: var(--grey-100);
  border: 1px solid var(--grey-300);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.admin-tab:hover { border-color: var(--accent); }
.admin-tab.active {
  background: var(--near-black);
  color: var(--white);
  border-color: var(--near-black);
}

.admin-view-tabs {
  display: flex;
  gap: 4px;
  background: var(--grey-100);
  border-radius: 999px;
  padding: 4px;
  width: fit-content;
  margin-bottom: 28px;
}
.admin-view-tab {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--grey-700);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 8px 20px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.admin-view-tab.active { background: var(--white); color: var(--near-black); box-shadow: var(--shadow-sm); }

.report-date-custom {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin: 16px 0 28px;
}

.report-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.report-stat-card {
  background: var(--cream);
  border-radius: 14px;
  padding: 20px;
}
.report-stat-label { font-size: 0.8rem; color: var(--grey-500); margin: 0 0 6px; }
.report-stat-value { font-size: 1.6rem; font-weight: 800; color: var(--near-black); margin: 0; }

.report-table-wrap { overflow-x: auto; }
.report-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.report-table th, .report-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--grey-100);
  white-space: nowrap;
}
.report-table th { color: var(--grey-500); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.report-table td { color: var(--near-black); }

@media (max-width: 720px) {
  .report-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .booking-card-top { flex-wrap: wrap; }
  .booking-card-price { margin-left: 58px; }
}

/* ==========================================================================
   Checkout status pages (success / cancelled)
   ========================================================================== */
.status-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 24px;
}
.status-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 40px 32px;
  text-align: center;
  max-width: 440px;
}
.status-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.status-icon--loading { background: var(--grey-100); color: var(--grey-500); animation: status-spin 1.2s linear infinite; }
.status-icon--success { background: var(--accent-pale); color: var(--accent); }
.status-icon--error { background: #fde8e8; color: #a4222c; }
@keyframes status-spin { to { transform: rotate(360deg); } }
.status-card h1 { font-size: 1.5rem; margin-bottom: 10px; }
.status-card p { margin-bottom: 22px; }
.status-card .btn { margin: 0 6px 10px; }
.status-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* ---- Legal pages (terms, privacy, cancellation) ---- */
.legal-page {
  padding: 120px 0 80px;
  background: var(--white);
}
.legal-page h1 { font-size: 2.1rem; margin-bottom: 8px; }
.legal-meta {
  font-size: 0.86rem;
  color: var(--grey-500);
  margin-bottom: 28px;
}
.legal-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  padding-bottom: 26px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--grey-100);
}
.legal-page h2 {
  font-size: 1.18rem;
  margin: 34px 0 12px;
}
.legal-page p { line-height: 1.7; margin-bottom: 14px; }
.legal-page ul { margin: 0 0 16px; padding-left: 22px; }
.legal-page li { line-height: 1.7; margin-bottom: 9px; }
.legal-page code {
  background: var(--grey-100);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.9em;
}
.legal-contact {
  background: var(--cream);
  border-radius: 12px;
  padding: 18px 20px;
  line-height: 1.8;
}
.legal-related {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--grey-100);
  font-size: 0.94rem;
  color: var(--grey-500);
}

/* Wide tables must scroll inside their own box rather than pushing the page
   sideways on a phone. */
.legal-table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 380px;
  font-size: 0.95rem;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--grey-100);
}
.legal-table thead th {
  background: var(--cream);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-500);
}

@media (max-width: 640px) {
  .legal-page { padding: 100px 0 60px; }
  .legal-page h1 { font-size: 1.7rem; }
}

/* ---- Paid-booking confirmation ---- */
.confirm-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 40px 32px;
  max-width: 560px;
  width: 100%;
}
.confirm-head { text-align: center; }
.confirm-head h1 { font-size: 1.6rem; margin-bottom: 8px; }
.confirm-head p { color: var(--grey-500); margin-bottom: 26px; }

/* The reference is the one thing a customer may need to read back to us, so it
   is set large, spaced and selectable rather than buried in a sentence. */
.confirm-ref {
  text-align: center;
  background: var(--accent-pale);
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 26px;
}
.confirm-ref-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 6px;
}
.confirm-ref-value {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  user-select: all;
  line-height: 1.15;
}
.confirm-ref-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--grey-500);
  margin-top: 6px;
}

.confirm-details {
  margin: 0 0 22px;
  border-top: 1px solid var(--grey-100);
}
.confirm-details dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey-500);
  padding-top: 14px;
}
.confirm-details dd {
  margin: 3px 0 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--grey-100);
  font-size: 0.98rem;
  /* Long addresses must wrap rather than force the card to scroll sideways. */
  overflow-wrap: anywhere;
}

.confirm-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
}
.confirm-total span { font-weight: 600; }
.confirm-total strong { font-size: 1.5rem; font-weight: 800; }
.confirm-paid-note {
  font-size: 0.84rem;
  color: var(--grey-500);
  margin: 6px 0 26px;
}

.confirm-next {
  background: var(--cream);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 24px;
}
.confirm-next h2 { font-size: 1rem; margin-bottom: 10px; }
.confirm-next ol { margin: 0; padding-left: 20px; }
.confirm-next li { font-size: 0.92rem; margin-bottom: 7px; line-height: 1.5; }
.confirm-next li:last-child { margin-bottom: 0; }

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.confirm-actions .btn { flex: 1 1 190px; text-align: center; }
.confirm-help {
  font-size: 0.86rem;
  color: var(--grey-500);
  text-align: center;
  margin: 20px 0 0;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .confirm-card { padding: 30px 20px; }
  .confirm-ref-value { font-size: 1.6rem; }
  .confirm-total strong { font-size: 1.3rem; }
}
