/* =========================================================
   YA Transit – main stylesheet
   Plain CSS, no build step. Fonts are self-hosted (SIL OFL).
   ========================================================= */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-latin-var.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #070E1A;
  --navy-900: #0B1628;
  --navy-800: #102039;
  --navy-700: #1B2D4A;
  --slate-600: #4A5A72;
  --slate-500: #5B6B82;
  --slate-300: #A9B6C8;
  --slate-200: #D5DDE8;
  --slate-100: #EAEFF5;
  --off-white: #F5F7FB;
  --white: #FFFFFF;
  --teal: #2EE6C5;
  --teal-bright: #6FF2DB;
  --teal-dark: #0B7D6B;   /* teal for text on light backgrounds (AA contrast) */
  --rose: #FF6F8E;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 22, 40, 0.06), 0 2px 8px rgba(11, 22, 40, 0.05);
  --shadow: 0 10px 30px rgba(11, 22, 40, 0.08), 0 2px 6px rgba(11, 22, 40, 0.05);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.35);
  --header-h: 72px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { padding: 0; margin: 0; list-style: none; }
figure { margin: 0; }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  background: var(--teal);
  color: var(--navy-950);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--teal);
  color: var(--navy-950);
  box-shadow: 0 8px 24px rgba(46, 230, 197, 0.28);
}
.btn-primary:hover { background: var(--teal-bright); box-shadow: 0 10px 30px rgba(46, 230, 197, 0.38); }
.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 0.9375rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 14, 26, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.brand-name span { font-weight: 500; color: var(--teal); margin-left: 6px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav ul a {
  color: var(--slate-200);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}
.site-nav ul a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav ul a:hover { color: var(--white); }
.site-nav ul a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 20px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; transform: translateX(-50%); }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 72px) 0 96px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 78% 30%, rgba(46, 230, 197, 0.16), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(255, 111, 142, 0.08), transparent 60%),
    linear-gradient(180deg, #070E1A 0%, #0B1628 60%, #0E1C33 100%);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(46, 230, 197, 0.35);
  border-radius: 999px;
  background: rgba(46, 230, 197, 0.08);
  color: var(--teal-bright);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(46, 230, 197, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 230, 197, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(46, 230, 197, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 230, 197, 0); }
}
.hero h1 { margin-bottom: 24px; }
.accent {
  color: var(--teal);
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--slate-200); max-width: 36em; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--slate-300); font-size: 0.9375rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 10px; }
.hero-points li::before {
  content: "";
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(46, 230, 197, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='%232EE6C5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}

/* Phone concept */
.hero-visual { display: flex; flex-direction: column; align-items: center; }
.phone {
  position: relative;
  width: 100%;
  max-width: 330px;
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(160deg, #26395A, #0B1628 60%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(2deg);
}
.phone::before {
  content: "";
  position: absolute; inset: -40px;
  background: radial-gradient(closest-side, rgba(46, 230, 197, 0.22), transparent);
  z-index: -1;
}
.phone-notch {
  position: absolute; top: 22px; left: 50%;
  width: 90px; height: 24px;
  transform: translateX(-50%);
  background: #050A13;
  border-radius: 999px;
  z-index: 2;
}
.phone-map { border-radius: 34px 34px 0 0; overflow: hidden; height: 240px; }
.phone-map svg { width: 100%; height: 100%; }
.phone-body {
  background: #0F1D33;
  border-radius: 0 0 34px 34px;
  padding: 22px 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.phone-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--slate-300); margin: 0 0 4px; }
.phone-trip { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin: 0 0 14px; }
.phone-trip span { color: var(--teal); }
.phone-status {
  display: flex; align-items: center; gap: 10px;
  background: rgba(46, 230, 197, 0.1);
  border: 1px solid rgba(46, 230, 197, 0.25);
  color: var(--teal-bright);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.9rem; font-weight: 500;
  margin-bottom: 14px;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 2.2s infinite; }
.phone-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.phone-tags span {
  font-size: 0.78rem; color: var(--slate-200);
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.phone-btn {
  text-align: center;
  background: var(--teal);
  color: var(--navy-950);
  font-weight: 700;
  border-radius: 14px;
  padding: 12px;
  font-size: 0.95rem;
}
.concept-note { margin: 22px 0 0; font-size: 0.8rem; color: var(--slate-300); letter-spacing: 0.04em; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-light { background: var(--off-white); }
.section-white { background: var(--white); }
.section-dark {
  background:
    radial-gradient(800px 400px at 90% 10%, rgba(46, 230, 197, 0.10), transparent 60%),
    var(--navy-900);
  color: var(--white);
}
.section-dark p { color: var(--slate-200); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p:last-child { color: var(--slate-600); font-size: 1.125rem; }
.kicker {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.kicker.kicker-light { color: var(--teal); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split > div > p:not(.kicker) { color: var(--slate-600); }
.section-dark .split > div > p:not(.kicker) { color: var(--slate-200); }

/* About */
.mission {
  display: flex; gap: 18px;
  margin-top: 32px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.mission h3 { margin-bottom: 6px; }
.mission p { margin: 0; color: var(--slate-600); }
.rose { flex: 0 0 44px; width: 44px; height: 44px; color: var(--teal-dark); }
.vehicle-card {
  position: relative;
  padding: 48px 32px 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 260px at 50% 110%, rgba(46, 230, 197, 0.25), transparent 70%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.vehicle-card::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 64%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}
.vehicle { width: 100%; height: auto; position: relative; }
.vehicle-card figcaption {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--slate-300);
  text-align: center;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 1px solid var(--slate-100);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 66px; right: -22px;
  width: 16px; height: 16px;
  border-top: 2px solid var(--teal-dark);
  border-right: 2px solid var(--teal-dark);
  transform: rotate(45deg);
  opacity: 0.5;
}
.step-icon, .card-icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--navy-900);
  color: var(--teal);
  margin-bottom: 22px;
}
.step-icon svg, .card-icon svg { width: 30px; height: 30px; }
.step-num {
  display: block;
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.step h3 { font-size: 1.5rem; }
.step p { color: var(--slate-600); margin: 0; }

/* Routes */
.split-routes { grid-template-columns: 0.9fr 1.1fr; }
.city-list { margin: 32px 0 24px; display: grid; gap: 4px; position: relative; }
.city-list li { display: flex; gap: 18px; padding: 14px 0; position: relative; }
.city-list li:not(:last-child)::before {
  content: "";
  position: absolute; left: 7px; top: 34px; bottom: -18px;
  width: 2px;
  background: linear-gradient(var(--teal), rgba(46, 230, 197, 0.2));
}
.city-dot {
  flex: 0 0 16px; height: 16px; margin-top: 6px;
  border-radius: 50%;
  border: 3px solid var(--teal);
  background: var(--navy-900);
  position: relative; z-index: 1;
}
.city-list h3 { margin: 0 0 2px; font-size: 1.2rem; }
.city-list p { margin: 0; font-size: 0.975rem; }
.section-dark .split > div > p.small-print { font-size: 0.875rem; color: var(--slate-300); }
.route-diagram svg {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.route-diagram figcaption { margin-top: 14px; font-size: 0.8125rem; color: var(--slate-300); text-align: center; }
.route-flow { animation: flow 2.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -64; } }

/* Why cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--slate-600); margin: 0; font-size: 0.975rem; }

/* Timeline */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 11px; left: 12px; right: 12px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-dark) 0%, var(--teal-dark) 38%, var(--slate-200) 38%);
}
.milestone { position: relative; padding-top: 44px; }
.milestone-marker {
  position: absolute; top: 0; left: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--slate-200);
}
.is-done .milestone-marker { background: var(--teal-dark); border-color: var(--teal-dark); }
.is-done .milestone-marker::after {
  content: ""; position: absolute; left: 6px; top: 2px;
  width: 6px; height: 11px;
  border: solid var(--white); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.is-current .milestone-marker { border-color: var(--teal-dark); box-shadow: 0 0 0 6px rgba(11, 125, 107, 0.15); }
.is-current .milestone-marker::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--teal-dark);
}
.badge {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-600);
  margin-bottom: 12px;
}
.badge-done { background: rgba(11, 125, 107, 0.12); color: var(--teal-dark); }
.badge-current { background: var(--navy-900); color: var(--teal); }
.milestone p { color: var(--slate-600); font-size: 0.975rem; margin: 0; }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 28px; height: 28px;
  border-radius: 50%;
  background: var(--off-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%230B7D6B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--radius); }
.faq-body { padding: 0 26px 22px; color: var(--slate-600); }
.faq-body p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--slate-300); padding: 72px 0 32px; font-size: 0.9375rem; }
.site-footer a { color: var(--slate-200); text-decoration: none; }
.site-footer a:hover { color: var(--teal); text-decoration: underline; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand img { width: 180px; height: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 30em; }
.footer-nav ul { display: grid; gap: 10px; }
.footer-heading { font-family: var(--font-body); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--white); margin-bottom: 12px; }
.site-footer .footer-legal { padding-top: 28px; font-size: 0.8125rem; color: #95A3B8; }
.footer-legal p { margin: 0 0 6px; }

/* ---------- Privacy page ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: var(--white);
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 56px) 0 56px;
}
.page-hero p { color: var(--slate-200); margin: 0; }
.draft-banner {
  background: #FFF4D6;
  border: 1px solid #F0C659;
  color: #5C4200;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 0 0 40px;
  font-size: 0.95rem;
}
.draft-banner strong { color: #3D2C00; }
.container.prose { padding-top: 64px; padding-bottom: 96px; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: #33445C; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.placeholder { background: #FFF4D6; padding: 0 4px; border-radius: 4px; color: #5C4200; font-weight: 500; }
.back-link { display: inline-block; margin-top: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .site-nav ul { gap: 18px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px 24px 24px;
    background: var(--navy-950);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .site-nav ul a::after { display: none; }
  .site-nav .btn { width: 100%; min-height: 48px; }

  .hero { padding: calc(var(--header-h) + 48px) 0 72px; }
  .hero-inner, .split, .split-routes { grid-template-columns: 1fr; gap: 48px; }
  .section { padding: 80px 0; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .step:not(:last-child)::after { display: none; }
  .timeline { grid-template-columns: 1fr; gap: 32px; padding-left: 44px; }
  .timeline::before {
    top: 12px; bottom: 12px; left: 11px; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(180deg, var(--teal-dark) 0%, var(--teal-dark) 38%, var(--slate-200) 38%);
  }
  .milestone { padding-top: 0; }
  .milestone-marker { left: -44px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container { padding: 0 20px; }
  .hero-actions .btn { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .phone { max-width: 290px; }
  .phone-map { height: 200px; }
  .mission { flex-direction: column; gap: 12px; }
  .vehicle-card { padding: 36px 18px 22px; }
  .faq summary { padding: 18px 20px; font-size: 1.05rem; }
  .faq-body { padding: 0 20px 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .route-diagram .city-name { font-size: 30px; }
  .route-diagram .city-sub { display: none; }
  .route-diagram .pennines { font-size: 17px; }
}

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