/* ==========================================================================
   Yann design foundation
   1. Tokens  2. Base  3. Layout  4. Components (buttons, badges, page header)
   5. Utilities  6. Responsive grid  7. 404
   Inter is loaded from index.html (<link> + preconnect), not @import, so it never blocks the stylesheet.
   ========================================================================== */

/* ── 1. Tokens ────────────────────────────────────────────────────────── */

:root {
  /* Brand */
  --primary: #1152d4;
  --primary-light: #4a89f3;
  --primary-dark: #0a3a9c;
  --primary-rgb: 17, 82, 212;
  --accent: #7daaff;

  /* Surfaces */
  --base-bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f4f7fe;

  /* Text — every pairing below meets WCAG AA (4.5:1) on --surface and --surface-alt */
  --text-primary: #1e293b;
  --text-secondary: #566579;
  --text-hint: #5b6b82; /* placeholders, de-emphasised metadata */
  --text-light: #ffffff;

  /* Lines & focus */
  --border: #e2e8f0;
  --border-focus: #1152d4;
  --focus-ring: rgba(17, 82, 212, 0.15);
  --focus-color: var(--primary);

  /* Status. The bare colours are for fills/borders; use the -text variants for words. */
  --success: #10b981;
  --success-text: #047857;
  --error: #f43f5e;
  --error-text: #be123c;
  --warning: #f59e0b;
  --warning-text: #92400e;

  /* Elevation */
  --shadow-color: 30, 58, 138; /* #1E3A8A in RGB */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(var(--shadow-color), 0.08);
  --shadow-lg: 0 8px 20px rgba(var(--shadow-color), 0.15);
  --shadow-glass-sm: 0 2px 10px rgba(var(--shadow-color), 0.06);
  --shadow-glass-md: 0 10px 28px rgba(var(--shadow-color), 0.1);
  --shadow-glass-lg: 0 20px 50px rgba(var(--shadow-color), 0.14);

  /* Surfaces that used to be frosted glass: now clean solid fills. Only the navbar keeps a blur. */
  --glass-blur: 16px;
  --glass-bg: #ffffff;
  --glass-bg-strong: #ffffff;
  --glass-bg-tint: var(--surface-alt);
  --glass-border: var(--border);
  --glass-border-soft: var(--border);
  --glass-highlight: rgba(255, 255, 255, 0.5);

  /* On dark / brand-coloured surfaces (hero banners, CTA) */
  --glass-dark-bg: rgba(255, 255, 255, 0.12);
  --glass-dark-border: rgba(255, 255, 255, 0.22);

  /* Ambient glow */
  --glow-primary: rgba(17, 82, 212, 0.12);
  --glow-accent: rgba(125, 170, 255, 0.18);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Type scale (fluid; 16px minimum for body so mobile never needs pinch-zoom) */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-xs: 0.8125rem; /* 13px — smallest text allowed on the site */
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-h4: 1.125rem;
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  --fs-h2: clamp(1.625rem, 1.3rem + 1.4vw, 2.375rem);
  --fs-h1: clamp(2rem, 1.5rem + 2.4vw, 3rem);
  --fs-display: clamp(2.25rem, 1.5rem + 3.6vw, 3.75rem);

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 5rem;
  --section-y: clamp(3.25rem, 2.25rem + 4vw, 5rem);
  --gutter: clamp(1rem, 4.5vw, 1.5rem);
  --header-h: 5rem;
  --container-max: 1280px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;

  /* Touch + layering */
  --tap-min: 44px;
  --z-sticky: 900;
  --z-consent: 990;
  --z-nav: 1000;
  --z-modal: 2000;
  --z-skip: 3000;

  color-scheme: light;
}

@media (max-width: 1100px) {
  :root { --header-h: 4.5rem; }
}

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

/* ── 2. Base ──────────────────────────────────────────────────────────── */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Anything scrolled into view (anchors, focused form fields) clears the fixed navbar. */
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  background-color: var(--base-bg);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

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

/* Sections linked with #anchors land below the fixed navbar. */

[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

/* Visible keyboard focus everywhere (mouse clicks don't show it). The colour flips to white
   inside dark sections via --focus-color. No border-radius here: it would square off pill buttons. */

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

.main-content:focus {
  outline: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: var(--z-skip);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
  --focus-color: #fff;
}

/* ── 3. Layout ────────────────────────────────────────────────────────── */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-y) 0;
}

/* Many pages use class="container section": keep the container's side gutter
   instead of letting .section's shorthand reset it to 0. */

.container.section {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

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

.section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.section-head h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--text-secondary);
  font-size: var(--fs-lead);
  max-width: 600px;
  margin: 0 auto;
}

/* Shared top-of-page banner used by every inner page. Variants (service-header, tours-header…)
   only change the background. */

.page-header {
  background: var(--surface-alt);
  padding: calc(var(--header-h) + clamp(2rem, 1rem + 3vw, 3.5rem)) 0 clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 100%);
  height: 400px;
  background: radial-gradient(ellipse closest-side, var(--glow-primary), transparent);
  pointer-events: none;
}

.page-header .container {
  position: relative;
}

.page-header h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.page-header p {
  font-size: var(--fs-lead);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* ── 4. Components ────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  border-radius: var(--radius-full);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-fast), border-color var(--transition-fast);
}

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

.btn:disabled,
.btn[aria-disabled='true'] {
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-sm {
  min-height: var(--tap-min);
  padding: 0.5rem 1.125rem;
  font-size: var(--fs-sm);
}

.btn-primary {
  background: linear-gradient(180deg, #2a68e6 0%, var(--primary) 100%);
  color: var(--text-light);
  box-shadow: var(--shadow-glass-md), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--primary);
  background: var(--surface);
}

@media (hover: hover) {
  .btn-primary:hover {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow-glass-lg), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }

  .btn-outline:hover {
    background-color: var(--surface-alt);
    border-color: var(--primary-light);
  }
}

/* Small translucent pill that sits on dark/brand banners. */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  background: var(--glass-dark-bg);
  border: 1px solid var(--glass-dark-border);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  position: relative;
}

/* Section label above a heading. */

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: var(--tap-min);
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:hover {
  color: var(--primary-dark);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.get-app-dialog {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.get-app-dialog-hint {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Dark / brand-coloured sections: white focus ring so keyboard users can still see it. */

.cta-box,
.lp-hero-partner,
.lp-final,
.service-header,
.tours-header,
.routes-hero {
  --focus-color: #fff;
}

/* ── 5. Utilities ─────────────────────────────────────────────────────── */

.text-center {
  text-align: center;
}

.w-full {
  width: 100%;
}

.mt-4 {
  margin-top: 1rem;
}

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

/* ── 6. Grid helpers ──────────────────────────────────────────────────── */

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .grid-3,
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: 1fr; }
  /* An odd last card spans the row instead of sitting alone beside an empty cell. */
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .grid { gap: 1.25rem; }
  .grid-3,
  .grid-4,
  .grid-2 { grid-template-columns: 1fr; }
}

/* ── 7. 404 ───────────────────────────────────────────────────────────── */

.not-found {
  text-align: center;
  padding: calc(var(--header-h) + 4rem) var(--gutter) 6rem;
}

.not-found-code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -3px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.not-found h1 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  margin: 0.75rem 0;
}

.not-found-text {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  z-index: var(--z-nav);
  transition: background var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-glass-sm);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-h);
  gap: 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: var(--tap-min);
}

.yann-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  position: relative;
  transition: color var(--transition-fast);
  height: 100%;
  white-space: nowrap;
}

.nav-link:hover { color: var(--primary); }

.nav-link.active {
  font-weight: 700;
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background-color: var(--primary);
  border-radius: 4px 4px 0 0;
}

.nav-link-mobile-only,
.nav-mobile-ctas {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-partner,
.nav-download { white-space: nowrap; }

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  width: var(--tap-min);
  height: var(--tap-min);
  border-radius: 12px;
}

@media (max-width: 1240px) {
  .nav-link { padding: 0 0.7rem; font-size: 0.92rem; }
  .nav-link.active::after { left: 0.7rem; right: 0.7rem; }
}

@media (max-width: 1100px) {
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    /* Solid: a blurred panel nested inside the blurred navbar renders see-through in Chromium. */
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    gap: 0.25rem;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.35s;
    z-index: 1001;
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
  }

  .nav-link,
  .nav-link-mobile-only {
    display: flex;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0.875rem 0.5rem;
    min-height: var(--tap-min);
    height: auto;
    border-bottom: 1px solid var(--border);
  }

  .nav-link.active::after { display: none; }
  .nav-link.active { color: var(--primary); }

  .nav-mobile-ctas {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .nav-mobile-ctas .btn { width: 100%; min-height: 52px; }

  .nav-partner { display: none; }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
  }
}

@media (max-width: 420px) {
  .nav-download { padding-inline: 1rem; }
  .yann-logo { height: 34px; }
}
.footer {
  background-color: var(--surface-alt);
  padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  margin-bottom: 0.75rem;
}

.yann-logo-footer {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-desc {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  max-width: 340px;
  line-height: 1.6;
}

.footer-contact {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact li {
  color: var(--text-secondary);
}

.footer-contact a {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  padding-block: 0.6rem;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--primary);
}

@media (hover: hover) and (pointer: fine) {
  .footer-contact a { padding-block: 0.2rem; }
}

.footer-contact a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  box-shadow: var(--shadow-glass-sm);
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glass-md);
}

.footer-heading {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Rows are at least 44px tall on touch devices, so neighbouring links are never mis-tapped. */
.footer-links a,
.footer-linkbtn {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  font-size: 0.975rem;
  text-align: left;
  padding: 0;
}

@media (hover: hover) and (pointer: fine) {
  .footer-links a,
  .footer-linkbtn { min-height: 32px; }
}

.footer-links a:hover,
.footer-linkbtn:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
}
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-consent); /* above page content and sticky CTAs, below the open mobile menu and dialogs */
  padding: 0 1rem calc(1rem + env(safe-area-inset-bottom));
  pointer-events: none;
  animation: consent-in 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.consent-card {
  pointer-events: auto;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.25rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
  padding: 1.125rem 1.25rem;
}

.consent-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--glow-primary), var(--glow-accent));
  color: var(--primary);
  align-self: start;
}

.consent-text h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.consent-text p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.consent-text a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-options {
  display: grid;
  gap: 0.625rem;
  margin-top: 0.875rem;
}

.consent-option {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.45;
  cursor: pointer;
}

.consent-option input {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.consent-option strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.consent-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.consent-btn {
  min-height: var(--tap-min);
  padding: 0.625rem 1.125rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.consent-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-link:hover { color: var(--text-primary); }

@keyframes consent-in {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

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

  .consent-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .consent-actions .consent-btn {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .consent { padding: 0 0.5rem calc(0.5rem + env(safe-area-inset-bottom)); }
  .consent-icon { display: none; }
  .consent-card { grid-template-columns: 1fr; padding: 1rem; }
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  /* Detailed cards stack; compact tiles stay 2-up. */
  .svc-grid-full { grid-template-columns: 1fr; }
}

.svc-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
  height: 100%;
  padding: 1.25rem 1.25rem 1.125rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.svc-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
  color: var(--primary);
  margin-bottom: 0.5rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.svc-card-category {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.svc-card-title {
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--text-primary);
}

.svc-card-text {
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-secondary);
  flex: 1;
}

.svc-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.svc-card-chips li {
  background: var(--surface-alt);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-primary);
}

.svc-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--primary);
}

.svc-card-more svg {
  transition: transform var(--transition-fast);
}

.svc-card-full {
  padding: 1.5rem;
}

@media (hover: hover) {
  .svc-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glass-md);
    transform: translateY(-3px);
  }

  .svc-card:hover .svc-card-icon {
    background: var(--primary);
    color: #fff;
  }

  .svc-card:hover .svc-card-more svg {
    transform: translateX(3px);
  }
}

/* Phones: compact cards become 2-up tiles with just the icon and the name. */
@media (max-width: 640px) {
  .svc-card-compact {
    padding: 1rem;
  }

  .svc-card-compact .svc-card-text,
  .svc-card-compact .svc-card-more {
    display: none;
  }

  .svc-card-compact .svc-card-icon {
    margin-bottom: 0.25rem;
  }

  .svc-card-compact .svc-card-title {
    font-size: var(--fs-base);
  }
}

/* Phones: detailed cards put the icon beside the text, so eight stacked cards stay short. */
@media (max-width: 640px) {
  .svc-card-full {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 1rem;
    row-gap: 0.25rem;
    padding: 1.25rem;
  }

  .svc-card-full > * {
    grid-column: 2;
  }

  .svc-card-full .svc-card-icon {
    grid-column: 1;
    grid-row: 1 / span 5;
    align-self: start;
    margin-bottom: 0;
  }
}
/* Shared form system (partner, contact, enquiry forms) */

.yf {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.yf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.125rem 1rem;
}

.yf-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
}

.yf-label {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.yf-required { color: var(--error-text); }

.yf-optional {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.yf input[type='text'],
.yf input[type='email'],
.yf input[type='tel'],
.yf input[type='number'],
.yf input[type='date'],
.yf select,
.yf textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-primary);
  font: inherit;
  font-size: 1rem; /* ≥16px stops iOS zooming into the field */
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.yf select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
}

.yf textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.5;
}

.yf input::placeholder,
.yf textarea::placeholder { color: var(--text-hint); }

.yf input:focus,
.yf select:focus,
.yf textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px var(--focus-ring);
}

.yf-field-error input,
.yf-field-error select,
.yf-field-error textarea {
  border-color: var(--error);
}

.yf-field-error input:focus,
.yf-field-error select:focus,
.yf-field-error textarea:focus {
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.15);
}

.yf-hint {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.yf-error {
  font-size: 0.8125rem;
  color: #be123c;
  font-weight: 500;
}

.yf-phone {
  display: flex;
  align-items: stretch;
}

.yf-phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: var(--surface-alt);
  color: var(--text-secondary);
  font-weight: 600;
}

.yf-phone input[type='tel'] {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.yf-field-error .yf-phone-prefix { border-color: var(--error); }

/* Provider type cards */
.yf-choices {
  border: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.yf-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.yf-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  color: var(--text-secondary);
}

.yf-choice:hover { border-color: var(--primary-light); }

.yf-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.yf-choice svg { color: var(--primary); }

.yf-choice-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.975rem;
}

.yf-choice-text {
  font-size: 0.8125rem;
  line-height: 1.4;
}

.yf-choice-on {
  border-color: var(--primary);
  background: rgba(17, 82, 212, 0.05);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.yf-choice:has(input:focus-visible) {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Consent */
.yf-consent label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
  cursor: pointer;
}

.yf-consent input {
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.yf-consent a,
.yf-footnote a,
.yf-alert a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.yf-consent-error input { outline: 2px solid var(--error); outline-offset: 2px; }
.yf-consent .yf-error { margin: 0.375rem 0 0 2rem; }

.yf-alert {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
  font-size: 0.9rem;
  line-height: 1.5;
}

.yf-submit {
  width: 100%;
  min-height: 52px;
  font-size: 1.0625rem;
}

.yf-submit:disabled {
  opacity: 0.75;
  cursor: progress;
  transform: none;
}

.yf-footnote {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
}

.yf-spin { animation: yf-spin 0.9s linear infinite; }

@keyframes yf-spin { to { transform: rotate(360deg); } }

/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.yf-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Success */
.yf-success {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.yf-success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.12);
  color: var(--success-text);
  margin-bottom: 0.25rem;
}

.yf-success h3 {
  font-size: 1.375rem;
  font-weight: 800;
}

.yf-success p {
  color: var(--text-secondary);
  max-width: 440px;
}

.yf-next {
  width: 100%;
  margin-top: 0.75rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
}

.yf-next h4 {
  font-size: 1rem;
  font-weight: 700;
}

.yf-ref {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--text-hint);
}

@media (max-width: 720px) {
  .yf-choice-grid { grid-template-columns: 1fr; }
  .yf-choice {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.75rem;
    align-items: center;
  }
  .yf-choice svg { grid-row: span 2; }
}

@media (max-width: 560px) {
  .yf-grid { grid-template-columns: 1fr; }
}
/* Image + duration/rating badges shared by the tour cards on the homepage and /tours. */

.tour-image-container {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--surface-alt);
}

.tour-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.tour-detail-card:hover .tour-image {
  transform: scale(1.05);
}

.tour-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-alt), var(--border));
  color: var(--text-secondary);
}

.tour-meta-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
  z-index: 2;
}

.tour-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-primary);
}

.tour-badge.rating {
  background: #FEF3C7;
  color: var(--warning-text);
}

/* HomePage */

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(1.75rem, 1rem + 3vw, 3.5rem)) 0 clamp(2.5rem, 1.5rem + 4vw, 5rem);
  /* Soft glows are painted as hero backgrounds (not positioned boxes), so they fade out
     smoothly instead of ending in a hard edge. */
  background:
    radial-gradient(52rem 34rem at 92% -8%, var(--glow-primary), transparent 70%),
    radial-gradient(34rem 26rem at -8% 108%, var(--glow-accent), transparent 70%),
    var(--base-bg);
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
}

.hero-content h1 {
  font-size: var(--fs-display);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-line {
  display: block;
}

.hero-lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  max-width: 34rem;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.hero-trust svg {
  color: var(--primary);
  flex-shrink: 0;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-frame {
  width: min(300px, 100%);
  aspect-ratio: 1 / 2;
  background: var(--surface);
  border-radius: 40px;
  border: 8px solid var(--text-primary);
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.35), var(--shadow-glass-lg);
  overflow: hidden;
}

.mockup-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  bottom: 16%;
  left: -2.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass-md);
}

.driver-info {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
}

.driver-name {
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.2;
}

.driver-info span {
  font-size: var(--fs-xs);
  color: var(--primary);
  font-weight: 600;
}

/* ── Services ─────────────────────────────────────────── */
.services-home-all {
  margin-top: 1.75rem;
  text-align: center;
}

/* ── Why Yann ─────────────────────────────────────────── */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass-sm);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Tours row ────────────────────────────────────────── */
.tour-row {
  position: relative;
}

.tour-row-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tour-row-btn {
  width: var(--tap-min);
  height: var(--tap-min);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--primary);
  transition: background var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast);
}

.tour-row-btn:hover:not(:disabled) {
  background: var(--surface-alt);
  border-color: var(--primary-light);
}

.tour-row-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.tour-row-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Bleed to the screen edge on phones so the next card peeks in, signalling "swipe". */
  margin-inline: calc(var(--gutter) * -1);
  padding: 0.25rem var(--gutter) 1.5rem;
}

.tour-row-track::-webkit-scrollbar {
  display: none;
}

.home-tour-card {
  flex: 0 0 min(300px, 78vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glass-sm);
}

.home-tour-card .tour-image-container {
  height: 190px;
}

.home-tour-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-tour-content h3 {
  font-size: var(--fs-h3);
  margin-bottom: 0.5rem;
}

.home-tour-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-tour-features {
  margin: 0.25rem 0 1.25rem;
}

.home-tour-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
}

.home-tour-features .bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.home-tour-cta {
  margin-top: auto;
}

.tours-all {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* ── How it works ─────────────────────────────────────── */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  position: relative;
}

.step {
  text-align: center;
  position: relative;
  padding: 0 0.5rem;
}

/* Connector between the numbered circles */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 31px;
  left: calc(50% + 44px);
  width: calc(100% - 88px + 2rem);
  height: 2px;
  background: var(--border);
}

.step-number {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2a68e6 0%, var(--primary) 100%);
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-glass-md);
}

.step h3 {
  font-size: var(--fs-h3);
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-secondary);
  max-width: 18rem;
  margin: 0 auto;
}

/* ── Partner band ─────────────────────────────────────── */
.partner-band-wrap {
  padding-top: 0;
}

.partner-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: clamp(1.75rem, 1rem + 2vw, 2.75rem) clamp(1.25rem, 0.5rem + 3vw, 3rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(30rem 16rem at 100% 0%, var(--glow-accent), transparent 65%),
    var(--surface-alt);
  border: 1px solid var(--border);
}

.partner-band h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.625rem;
}

.partner-band p {
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.6;
}

.partner-band-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.partner-band-types li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid var(--border);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.partner-band-types svg { color: var(--primary); }

.partner-band-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* ── Download CTA ─────────────────────────────────────── */
.cta-box {
  background: linear-gradient(160deg, #1d5de6 0%, var(--primary) 50%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 1rem + 4vw, 4rem) clamp(1.25rem, 0.5rem + 3vw, 3rem);
  text-align: center;
  color: var(--text-light);
  box-shadow: var(--shadow-glass-lg);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(40rem 24rem at 50% -20%, rgba(255, 255, 255, 0.14), transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cta-box p {
  font-size: var(--fs-lead);
  opacity: 0.92;
}

.app-downloads-split {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  margin-top: 2.5rem;
}

.app-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.app-title {
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.cta-box .app-sub {
  font-size: var(--fs-sm);
  margin: 0 0 1.25rem;
  opacity: 0.9;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead,
  .hero-trust {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  /* Phone peeks up from the bottom of the hero instead of adding another full screen of scroll. */
  .home-page .hero-image {
    max-height: 26rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
    mask-image: linear-gradient(to bottom, #000 78%, transparent);
  }

  .mockup-frame { width: min(260px, 72vw); }

  .floating-card {
    left: 50%;
    bottom: auto;
    top: 55%;
    margin-left: -170px;
  }

  .steps-container { grid-template-columns: 1fr; gap: 2rem; }
  .step:not(:last-child)::after { display: none; }

  .partner-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .partner-band-actions { align-items: stretch; width: 100%; }
  .app-downloads-split { flex-direction: column; align-items: center; }
}

@media (max-width: 640px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-trust { flex-direction: column; align-items: center; gap: 0.5rem; }
  .floating-card { display: none; }
}
.cta-band {
  padding-top: 0;
}

.cta-band-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.75rem, 1rem + 2.5vw, 3rem) clamp(1.25rem, 0.5rem + 3vw, 3rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #1d5de6 0%, var(--primary) 50%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-glass-lg);
  --focus-color: #fff;
}

.cta-band-copy h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.cta-band-copy p {
  font-size: var(--fs-lead);
  opacity: 0.92;
  max-width: 34rem;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-light {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 10px 30px rgba(3, 18, 56, 0.3);
}

.btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

@media (hover: hover) {
  .btn-light:hover { transform: translateY(-2px); }
  .btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }
}

@media (max-width: 900px) {
  .cta-band-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cta-band-copy p { margin-inline: auto; }
  .cta-band-actions { justify-content: center; }
}

@media (max-width: 480px) {
  .cta-band-actions { flex-direction: column; }
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.about-values-title {
  margin-top: 3rem;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.values-list li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.values-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.values-list strong {
  color: var(--text-primary);
}

.about-image {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.about-img-main {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass-lg);
  border: 1px solid var(--glass-border-soft);
  display: block;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: var(--glass-bg-tint);
  border: 1px dashed var(--glass-border);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-weight: 600;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.features-grid .feature-card h2 {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.features-grid .feature-card p {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}
.driver-hero {
  background:
    radial-gradient(48rem 30rem at 95% 0%, var(--glow-primary), transparent 70%),
    var(--surface-alt);
}

.driver-hero .hero-container {
  position: relative;
}

.req-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.req-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.text-success {
  color: var(--success-text);
}

.driver-highlight-card {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  max-width: 380px;
}

.driver-highlight-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.highlight-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
}

.highlight-list li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.onboarding-steps {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.onboarding-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.onboarding-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2a68e6 0%, var(--primary) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glass-sm);
}

.onboarding-step h3 {
  font-size: var(--fs-h4);
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.onboarding-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .driver-highlight-card {
    max-width: 100%;
  }
}

.driver-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 1.5rem;
}

.driver-hero-cta {
  padding-inline: 2rem;
}

.driver-fleet-wrap {
  padding-bottom: var(--section-y);
}

.driver-fleet {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 2.25rem 2.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #0b2a6f 0%, #0d3ea8 55%, #1152d4 100%);
  color: #fff;
  box-shadow: var(--shadow-glass-lg);
}

.driver-fleet-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.driver-fleet-copy { flex: 1; }

.driver-fleet h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  margin-bottom: 0.375rem;
}

.driver-fleet p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.driver-fleet .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.driver-req-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
}

.driver-req-cta p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .driver-fleet {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
  }

  .driver-hero-actions { justify-content: center; }
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.contact-lead {
  margin-bottom: 1.75rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  color: inherit;
}

a.info-item:hover {
  background: var(--surface-alt);
  border-color: var(--border);
}

.info-item .icon-wrapper {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
  color: var(--primary);
  border-radius: 50%;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.info-item h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.info-item p {
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-line {
  display: block;
}

.contact-partner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #0b2a6f 0%, #1152d4 100%);
  color: #fff;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-partner-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glass-md);
}

.contact-partner-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.contact-partner-card span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.contact-form-container {
  background: var(--surface);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass-md);
  border: 1px solid var(--border);
}

.contact-form-title {
  font-size: var(--fs-h3);
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
  font-weight: 800;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
.privacy-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  padding: clamp(1.25rem, 0.75rem + 2.5vw, 3rem);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass-sm);
  border: 1px solid var(--border);
}

.privacy-content h2 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem);
  color: var(--primary-dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.privacy-content > .legal-toc + h2,
.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.privacy-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.privacy-content ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.privacy-content li {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.privacy-content li strong {
  color: var(--text-primary);
}

.privacy-content a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.important-note {
  background: rgba(var(--primary-rgb), 0.05);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.important-note p { margin-bottom: 0; }

.legal-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.5rem;
}

.legal-card p { margin-bottom: 0.35rem; }

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.legal-toc a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-full);
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

.legal-toc a:hover { border-color: var(--primary-light); }

.legal-linkbtn {
  color: var(--primary);
  font-weight: 600;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
}

.legal-signoff {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.legal-signoff p {
  font-style: italic;
  font-weight: 700;
  color: var(--text-secondary);
}
.breadcrumbs {
  margin-bottom: 1.25rem;
  font-size: var(--fs-sm);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.125rem 0.375rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs-light { color: var(--text-secondary); }
.breadcrumbs-light a:hover { color: var(--primary); }
.breadcrumbs-light [aria-current] { color: var(--text-primary); font-weight: 600; }

.breadcrumbs-dark { color: rgba(255, 255, 255, 0.85); }
.breadcrumbs-dark a:hover { color: #fff; }
.breadcrumbs-dark [aria-current] { color: #fff; font-weight: 600; }
.promise-item {
  text-align: center;
  padding: 1rem;
}

.promise-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
}

.promise-item h3 {
  font-size: var(--fs-h3);
  margin-bottom: 0.5rem;
}

.promise-item p {
  color: var(--text-secondary);
  max-width: 22rem;
  margin: 0 auto;
}
/* Shared styles for every /services/* page (see ServiceLayout.tsx). */

.service-header {
  background: linear-gradient(160deg, #1d5de6 0%, var(--primary) 45%, var(--primary-dark) 100%);
  color: #ffffff;
}

.service-header::before {
  top: -60%;
  left: auto;
  right: -10%;
  transform: none;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse closest-side, rgba(255, 255, 255, 0.14), transparent);
}

.service-header h1 {
  color: #ffffff;
}

.service-header p {
  color: rgba(255, 255, 255, 0.92);
}

.service-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: start;
}

.service-main-content h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.service-main-content > p {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  max-width: 44rem;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  gap: 1.25rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-item h3,
.benefit-item h4 {
  font-size: var(--fs-h4);
  margin-bottom: 0.25rem;
}

.benefit-item p {
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Secondary blocks inside the main column: "Popular routes", "Included in every rental", … */
.features-checklist,
.how-it-works-mini {
  margin-top: 2.5rem;
}

.features-checklist h3,
.how-it-works-mini h3 {
  font-size: var(--fs-h3);
  margin-bottom: 1rem;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-weight: 500;
}

.checklist svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--primary);
}

.checklist-note {
  margin-top: 1rem;
  font-size: var(--fs-xs);
  color: var(--text-secondary);
}

.route-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.route-list li {
  background: var(--surface-alt);
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  font-weight: 500;
  border: 1px solid var(--border);
}

.route-list svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Booking card */
.side-card {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass-md);
  border: 1px solid var(--border);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.side-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.875rem;
}

.price-row span {
  color: var(--text-secondary);
}

.price-row strong {
  text-align: right;
  white-space: nowrap;
}

.price-disclaimer {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  margin-top: 1rem;
}

/* More services */
.related-services {
  background: var(--surface-alt);
  padding: var(--section-y) 0;
}

.related-services h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 2rem;
}

.related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Mobile bottom bar: keeps "Book" reachable without scrolling back up to the card. */
.service-sticky-cta {
  display: none;
}

@media (max-width: 900px) {
  .service-info-grid {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-page {
    padding-bottom: 5rem;
  }

  .service-sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-sticky);
    padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
  }

  .service-sticky-cta.is-visible {
    transform: none;
    visibility: visible;
    transition: transform 0.25s var(--ease-out), visibility 0s;
  }

  .service-sticky-cta .btn {
    width: 100%;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .checklist,
  .route-list {
    grid-template-columns: 1fr;
  }

  .benefit-item {
    padding: 1rem;
    gap: 1rem;
  }
}
.commute-how-it-works {
  margin-top: 2.5rem;
}

.commute-how-it-works h3 {
  font-size: var(--fs-h3);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.commute-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.commute-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.1rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.commute-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  flex-shrink: 0;
}

.commute-route-request {
  margin-top: 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.commute-route-request a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* ===== ROUTES PAGE — PREMIUM OVERHAUL ===== */

/* Hero */
.routes-hero {
  background: linear-gradient(160deg, #0a1f4d 0%, #0b2a6f 45%, #0d3ea8 100%);
  color: #fff;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.routes-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,137,243,0.12) 0%, transparent 65%);
  animation: hero-pulse 6s ease-in-out infinite;
}

.routes-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125,170,255,0.08) 0%, transparent 65%);
  animation: hero-pulse 8s ease-in-out 2s infinite;
}

@keyframes hero-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

.routes-hero .container { position: relative; z-index: 2; }

/* Badge */
.routes-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(125,170,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(125,170,255,0.2);
  border-radius: 9999px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: #b9d2ff;
}

/* Heading */
.routes-hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.routes-hero h1 span {
  background: linear-gradient(135deg, #ffffff 0%, #b9d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.routes-hero p {
  font-size: var(--fs-lead);
  color: rgba(255,255,255,0.86);
  line-height: 1.7;
  max-width: 520px;
}

/* Search */
.routes-search-bar {
  margin-top: 2.25rem;
  max-width: 520px;
  position: relative;
}

.routes-search-bar .search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.7);
  pointer-events: none;
  transition: color 0.25s;
}

.routes-search-bar input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
}

.routes-search-bar input::placeholder { color: rgba(255,255,255,0.72); }

.routes-search-bar input:focus {
  border-color: rgba(125,170,255,0.45);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 4px rgba(125,170,255,0.08);
}

.routes-search-bar input:focus ~ .search-icon { color: rgba(255,255,255,0.7); }

/* Stats */
.routes-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

.routes-stats .stat-item {
  display: flex;
  flex-direction: column;
  position: relative;
}

.routes-stats .stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255,255,255,0.12);
}

.routes-stats .stat-item strong {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.routes-stats .stat-item span {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-top: 0.2rem;
}

/* ===== SECTION HEADER ===== */
.routes-section {
  padding: 3.5rem 0 5rem;
  background: var(--surface-alt);
  min-height: 400px;
}

.routes-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.routes-section-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.routes-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== ROUTES GRID ===== */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 370px), 1fr));
  gap: 1.5rem;
}

/* Card */
.route-card {
  background: var(--glass-bg-strong);
  border-radius: 20px;
  border: 1px solid var(--glass-border-soft);
  box-shadow: var(--shadow-glass-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  animation: card-in 0.5s ease-out backwards;
}

.route-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #7daaff, #a78bfa);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.route-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(17,82,212,0.14), 0 8px 16px rgba(0,0,0,0.06);
  border-color: rgba(17,82,212,0.2);
}

.route-card:hover::before { opacity: 1; }

@keyframes card-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.route-card:nth-child(1) { animation-delay: 0.05s; }
.route-card:nth-child(2) { animation-delay: 0.1s; }
.route-card:nth-child(3) { animation-delay: 0.15s; }
.route-card:nth-child(4) { animation-delay: 0.2s; }
.route-card:nth-child(5) { animation-delay: 0.25s; }
.route-card:nth-child(6) { animation-delay: 0.3s; }

/* Card header */
.route-card-header {
  padding: 1.5rem 1.5rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.route-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.route-status {
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.route-status.active {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #15803d;
}

.route-status.inactive { background: #f1f5f9; color: var(--text-secondary); }

/* Path */
.route-path {
  padding: 0.75rem 1.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.route-endpoint { display: flex; flex-direction: column; min-width: 0; flex: 1; }

.route-endpoint-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-hint);
  margin-bottom: 0.2rem;
}

.route-endpoint-name {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-primary);
}

.route-path-line {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--primary);
  gap: 0;
}

.route-path-line .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(17,82,212,0.15);
}

.route-path-line .line {
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  position: relative;
}

.route-path-line .line::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid var(--accent);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.route-path-line .arrow { display: none; }

/* Meta row */
.route-card-meta {
  padding: 0 1.5rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.route-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: var(--surface-alt);
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
}

.route-meta-item svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }
.route-meta-item strong { font-weight: 600; color: var(--text-primary); }

/* Footer */
.route-card-footer {
  padding: 0.85rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-alt);
}

.route-days { display: flex; gap: 0.25rem; }

.route-day {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.route-day.active-day { background: var(--primary); color: #fff; }
.route-day.inactive-day { background: transparent; color: var(--text-hint); border: 1px solid var(--border); }

.route-price { font-size: 1.2rem; font-weight: 800; color: var(--primary); }
.route-price span { font-size: 0.75rem; font-weight: 500; color: var(--text-hint); }

/* Action */
.route-card-action {
  padding: 0.85rem 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.25s ease;
}

.route-card-action svg {
  transition: transform 0.25s ease;
}

.route-card:hover .route-card-action svg { transform: translateX(4px); }

/* Error */
.routes-error { text-align: center; padding: 5rem 0; }

.routes-error-box {
  max-width: 420px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: var(--glass-bg-strong);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass-md);
}

.routes-error-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.routes-error-box p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.routes-error-box button {
  min-height: var(--tap-min);
  padding: 0.7rem 1.75rem;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.routes-error-box button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Empty */
.routes-empty { text-align: center; padding: 5rem 0; }

.routes-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--text-hint);
}

.routes-empty h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.routes-empty p { color: var(--text-secondary); max-width: 400px; margin: 0 auto; font-size: 0.9rem; }

/* Skeleton */
.route-card-skeleton {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  animation: card-in 0.4s ease-out backwards;
}

.route-card-skeleton:nth-child(1) { animation-delay: 0.05s; }
.route-card-skeleton:nth-child(2) { animation-delay: 0.1s; }
.route-card-skeleton:nth-child(3) { animation-delay: 0.15s; }

.skeleton-line {
  background: linear-gradient(90deg, var(--surface-alt) 25%, #e8ecf4 50%, var(--surface-alt) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
}

.skeleton-line.title { height: 22px; width: 55%; margin-bottom: 1.25rem; }
.skeleton-line.subtitle { height: 14px; width: 80%; margin-bottom: 0.75rem; }
.skeleton-line.meta { height: 12px; width: 40%; margin-bottom: 0.5rem; }
.skeleton-line.full { height: 40px; width: 100%; margin-top: 1.25rem; border-radius: 10px; }

@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Responsive */
@media (max-width: 900px) {
  .routes-hero h1 { font-size: 2.25rem; }
  .routes-grid { grid-template-columns: 1fr; }
  .routes-section-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

@media (max-width: 600px) {
  .routes-hero { padding: calc(var(--header-h) + 2rem) 0 3rem; }
  .routes-hero h1 { font-size: 1.85rem; }
  .routes-stats { gap: 1.5rem; }
  .routes-search-bar input { padding: 0.9rem 1rem 0.9rem 2.75rem; }
}

/* Route cards are real links now (keyboard + crawlable) */
a.route-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.routes-search-bar input[type='search'] {
  -webkit-appearance: none;
  appearance: none;
}

.routes-search-bar input[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
/* ToursPage */

/* Photo banner: lighter webp (was a 320 KB jpg) and a normal scrolling background —
   `background-attachment: fixed` is ignored or janky on iOS and forces repaints on scroll. */
.tours-header {
  background:
    linear-gradient(rgba(10, 20, 40, 0.55), rgba(10, 20, 40, 0.68)),
    url('/Images/tours/manali.webp') center / cover no-repeat;
  color: #ffffff;
}

.header-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.tours-header h1,
.tours-header p {
  color: #ffffff;
}

.tours-header p {
  max-width: 700px;
  line-height: 1.7;
}

.tours-section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.tours-section-header h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.tours-section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.tours-grid-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tour-detail-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-glass-sm);
  transition: box-shadow var(--transition-normal), border-color var(--transition-fast), transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
}

@media (hover: hover) {
  .tour-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glass-md);
    border-color: var(--primary-light);
  }
}

.tour-detail-content {
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tour-detail-content h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.tour-detail-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.tour-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex: 1;
}

.tour-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-weight: 500;
}

.tour-feature-list .bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.cta-section h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: var(--fs-lead);
}

.tours-grid-section {
  padding-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.tour-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.tours-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.875rem 1.25rem;
  margin-top: 1.5rem;
}

.tours-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-basis: 100%;
  min-height: var(--tap-min);
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-empty {
  text-align: center;
  color: var(--text-secondary);
  padding: 3rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-category-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
}

.blog-card-date {
  color: var(--text-hint);
  font-size: 0.85rem;
  font-weight: 600;
}

.blog-card-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.blog-card-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}
.blog-back-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-category-badge {
  display: inline-block;
  background: var(--glass-bg-strong);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.blog-post-page h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.blog-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-hint);
  font-size: 0.9rem;
  font-weight: 600;
  flex-wrap: wrap;
}

.blog-meta-dot {
  opacity: 0.5;
}

.blog-post-cover {
  margin-top: 2.5rem;
}

.blog-post-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
}

.blog-post-content {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.blog-post-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
}

.blog-post-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
}

.blog-post-content p {
  margin-bottom: 1.25rem;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 0 0 1.25rem 1.5rem;
  list-style: disc;
}

.blog-post-content ol {
  list-style: decimal;
}

.blog-post-content a {
  color: var(--primary);
  text-decoration: underline;
}

.blog-post-inline-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.blog-key-takeaways {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}

.blog-key-takeaways h2 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
  color: var(--primary-dark);
}

.blog-key-takeaways ul {
  margin: 0 0 0 1.25rem;
  list-style: disc;
}

.blog-key-takeaways li {
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.blog-key-takeaways li:last-child {
  margin-bottom: 0;
}

.blog-faqs {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.blog-faq-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.blog-faq-item:last-child {
  border-bottom: none;
}

.blog-faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.blog-faq-item p {
  color: var(--text-secondary);
  margin: 0;
}

.blog-updated-note {
  margin-top: 2rem;
  color: var(--text-hint);
  font-size: 0.85rem;
  font-style: italic;
}

@media (max-width: 600px) {
  .blog-post-page h1 { font-size: 1.85rem; }
}
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-glass-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  font-weight: 700;
  font-size: 1.0125rem;
  color: var(--text-primary);
}

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

.faq-chevron {
  flex-shrink: 0;
  color: var(--primary);
  transition: transform var(--transition-normal);
}

.faq-item[open] .faq-chevron { transform: rotate(180deg); }

.faq-item p {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
/* Campaign landing pages: /partner-with-us and /download */

.lp { overflow-x: clip; }

/* ── Hero ─────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  padding: 7.5rem 0 4.5rem;
  overflow: hidden;
}

.lp-hero-partner {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(125, 170, 255, 0.35), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(74, 137, 243, 0.35), transparent 60%),
    linear-gradient(160deg, #0b2a6f 0%, #0d3ea8 55%, #1152d4 100%);
  color: #fff;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 1.25rem;
}

.lp-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 1.25rem;
}

.lp-hero-partner h1 span {
  background: linear-gradient(90deg, #ffffff, #b9d2ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-lead {
  font-size: 1.1875rem;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 1.5rem;
}

.lp-hero-partner .lp-lead { color: rgba(255, 255, 255, 0.88); }

.lp-ticks {
  display: grid;
  gap: 0.625rem;
  margin-bottom: 2rem;
}

.lp-ticks li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
}

.lp-hero-partner .lp-ticks svg { color: #86efac; flex-shrink: 0; }

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.lp-btn-light {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 10px 30px rgba(3, 18, 56, 0.35);
}

.lp-btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(3, 18, 56, 0.45);
}

.lp-btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.lp-btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }

.lp-form-card {
  background: #fff;
  color: var(--text-primary);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(3, 18, 56, 0.4);
  scroll-margin-top: 6rem;
}

.lp-form-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.lp-form-card > p {
  color: var(--text-secondary);
  margin: 0.25rem 0 1.25rem;
}

/* ── Sections ─────────────────────────────────────────── */
.lp-section .section-head h2 { letter-spacing: -0.6px; }

.lp-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--glow-primary), var(--glow-accent));
  color: var(--primary);
  flex-shrink: 0;
}

.lp-icon-sm {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
}

.lp-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.lp-path {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-glass-sm);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.lp-path:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glass-md);
}

.lp-path-on {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--focus-ring), var(--shadow-glass-md);
}

.lp-path h3 {
  font-size: 1.3rem;
  font-weight: 800;
}

.lp-path-who {
  color: var(--text-secondary);
  line-height: 1.55;
}

.lp-path ol {
  counter-reset: lp-path;
  list-style: none;
  display: grid;
  gap: 0.625rem;
  margin: 0.25rem 0 0.5rem;
  flex: 1;
}

.lp-path ol li {
  counter-increment: lp-path;
  display: flex;
  gap: 0.625rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.lp-path ol li::before {
  content: counter(lp-path);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.05rem;
}

.lp-path-btn { align-self: flex-start; }

.lp-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.lp-benefit {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
}

.lp-benefit h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.lp-benefit p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

.lp-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  position: relative;
}

.lp-step {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

.lp-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 70%);
  box-shadow: var(--shadow-glass-md);
  margin-bottom: 1rem;
}

.lp-step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.lp-step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

.lp-docs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.lp-doc-card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 1.75rem;
}

.lp-doc-head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.lp-doc-head h3 {
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 700;
}

.lp-doc-card ul {
  display: grid;
  gap: 0.625rem;
}

.lp-doc-card li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.lp-doc-card li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

/* ── Final CTA ────────────────────────────────────────── */
.lp-final {
  text-align: center;
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(125, 170, 255, 0.35), transparent 60%),
    linear-gradient(160deg, var(--primary-light) 0%, var(--primary) 45%, var(--primary-dark) 100%);
  box-shadow: var(--shadow-glass-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.lp-final h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.6px;
}

.lp-final > p { color: rgba(255, 255, 255, 0.9); font-size: 1.0625rem; }

.lp-final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.lp-final-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #fff;
}

.lp-final-legal {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
}

.lp-final-legal a { text-decoration: underline; text-underline-offset: 2px; }

.lp-steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ── Mobile sticky CTA ───────────────────────────────── */
.lp-sticky {
  display: none;
}

@media (max-width: 900px) {
  /* keep the footer's last line clear of the sticky bar */
  body:has(.lp-sticky) .footer { padding-bottom: 6rem; }
}

@media (max-width: 900px) {
  .lp-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    transform: translateY(110%);
    transition: transform 250ms ease;
  }

  .lp-sticky-on { transform: none; }

  .lp-sticky .btn { width: 100%; min-height: 50px; }
}

/* ── Download page specifics ──────────────────────────── */
.lp-hero-rider {
  background:
    radial-gradient(900px 500px at 100% 0%, var(--glow-accent), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, var(--glow-primary), transparent 60%),
    var(--surface);
}

.lp-hero-rider h1 span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-hero-rider .lp-lead { color: var(--text-secondary); }

.lp-hero-rider .lp-eyebrow {
  background: rgba(17, 82, 212, 0.08);
  border-color: rgba(17, 82, 212, 0.18);
  color: var(--primary);
}

.lp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.lp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.lp-chip svg { color: var(--primary); }

.lp-phone {
  display: flex;
  justify-content: center;
  position: relative;
}

.lp-phone-frame {
  width: min(300px, 78vw);
  aspect-ratio: 1 / 2;
  border-radius: 42px;
  border: 9px solid #0f172a;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.25);
}

.lp-phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.lp-service {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--border);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  color: inherit;
}

.lp-service:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-glass-md);
}

.lp-service h3 { font-size: 1.125rem; font-weight: 700; }

.lp-service p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}

.lp-service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}

.lp-center { text-align: center; margin-top: 2rem; }

/* ── Smart link / QR utility pages ───────────────────── */
.lp-utility {
  min-height: 70vh;
  padding: 8rem 0 4rem;
  display: flex;
  align-items: center;
  background:
    radial-gradient(800px 400px at 100% 0%, var(--glow-accent), transparent 60%),
    var(--surface);
}

.lp-utility-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-glass-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lp-utility-card img.lp-logo { height: 44px; width: auto; }

.lp-utility-card h1 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.lp-utility-card p { color: var(--text-secondary); line-height: 1.6; }

.lp-utility-steps {
  text-align: left;
  display: grid;
  gap: 0.75rem;
  counter-reset: lp-u;
  width: 100%;
  margin: 0.5rem 0;
}

.lp-utility-steps li {
  counter-increment: lp-u;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  font-weight: 500;
}

.lp-utility-steps li::before {
  content: counter(lp-u);
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  animation: yf-spin 0.9s linear infinite;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1080px) {
  .lp-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .lp-hero { padding: 6.5rem 0 3.5rem; }
  .lp-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .lp-paths, .lp-benefits, .lp-docs { grid-template-columns: 1fr; }
  .lp-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .lp-hero { padding: 6rem 0 3rem; }
  .lp-hero-actions .btn { flex: 1 1 100%; }
  .lp-form-card { padding: 1.5rem 1.125rem; border-radius: var(--radius-lg); }
  .lp-benefits, .lp-steps, .lp-services { grid-template-columns: 1fr; }
  .lp-path { padding: 1.5rem; }
  .lp-final { padding: 2.5rem 1.25rem; }
  .lp-lead { font-size: 1.0625rem; }
  .lp { padding-bottom: 4.5rem; }
}
/* Use index.css for everything */
