/* ============================================================================
   LeftOverSeats - brand design system + landing styles
   Concept: "the calm, honest departures board."
   Identity color: green (go / value / fresh) - deliberately not OTA-blue.
   Palette in OKLCH. Trust-first, search-first, mobile-first, WCAG AA.
   ========================================================================== */

/* ----------------------------------------------------------------- Tokens */
:root {
  /* --- Surfaces & ink --- */
  --bg:            oklch(1 0 0);              /* pure white canvas = trust */
  --surface:       oklch(0.976 0.006 165);   /* whisper-green off-white */
  --surface-2:     oklch(0.958 0.010 166);   /* deeper panel */
  --ink:           oklch(0.245 0.021 178);   /* body text - ~13:1 on white */
  --ink-soft:      oklch(0.355 0.020 178);   /* subheads */
  --muted:         oklch(0.468 0.018 184);   /* secondary text - ~4.8:1 */
  --line:          oklch(0.912 0.008 176);   /* hairline */
  --line-strong:   oklch(0.858 0.011 174);

  /* --- Brand green --- */
  --primary:       oklch(0.505 0.132 162);   /* Search/GO + brand fills */
  --primary-hover: oklch(0.445 0.128 162);
  --primary-press: oklch(0.405 0.118 162);
  --primary-deep:  oklch(0.335 0.075 163);   /* the seed green - links, deep marks */
  --primary-ink:   oklch(0.315 0.070 164);   /* green text on white - ~7:1 */
  --primary-tint:  oklch(0.958 0.028 165);   /* soft green chip bg */
  --primary-tint2: oklch(0.918 0.050 165);   /* green chip bg, stronger */
  --on-primary:    oklch(0.995 0.006 165);   /* text on green fill */

  /* --- Warm accent (savings / deals ONLY, ≤10%) --- */
  --accent:        oklch(0.585 0.170 38);    /* vermilion-coral fill */
  --accent-deep:   oklch(0.470 0.150 36);    /* coral text on white - ~4.7:1 */
  --accent-tint:   oklch(0.955 0.030 46);    /* soft coral wash */
  --on-accent:     oklch(0.995 0.010 60);

  /* --- Dark green sections --- */
  --dark:          oklch(0.288 0.055 166);
  --dark-2:        oklch(0.235 0.048 167);   /* footer */
  --on-dark:       oklch(0.965 0.012 160);
  --on-dark-muted: oklch(0.800 0.022 162);
  --dark-line:     oklch(0.420 0.045 165);

  /* --- Type --- */
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-sans:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --step--1: clamp(0.8125rem, 0.79rem + 0.10vw, 0.875rem);
  --step-0:  clamp(1rem, 0.965rem + 0.16vw, 1.075rem);
  --step-1:  clamp(1.18rem, 1.10rem + 0.38vw, 1.35rem);
  --step-2:  clamp(1.4rem, 1.22rem + 0.85vw, 1.85rem);
  --step-3:  clamp(1.75rem, 1.42rem + 1.55vw, 2.55rem);
  --step-4:  clamp(2.1rem, 1.62rem + 2.3vw, 3.25rem);
  --step-5:  clamp(2.2rem, 1.6rem + 3.4vw, 4.5rem);   /* hero, ≤6rem */

  /* --- Space --- */
  --gutter: clamp(1.1rem, 4.2vw, 2.6rem);
  --maxw: 1180px;
  --maxw-narrow: 940px;
  --sp-section: clamp(3.75rem, 3rem + 3.5vw, 6.5rem);

  /* --- Radii --- */
  --r-xs: 7px; --r-sm: 10px; --r: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;

  /* --- Shadows (green-tinted) --- */
  --shadow-sm: 0 1px 2px oklch(0.4 0.03 165 / 0.06), 0 1px 3px oklch(0.4 0.03 165 / 0.05);
  --shadow-md: 0 6px 16px oklch(0.35 0.04 165 / 0.09), 0 2px 6px oklch(0.35 0.04 165 / 0.06);
  --shadow-lg: 0 20px 44px oklch(0.32 0.05 165 / 0.14), 0 6px 16px oklch(0.32 0.05 165 / 0.08);
  --shadow-widget: 0 34px 70px -24px oklch(0.30 0.06 166 / 0.30), 0 12px 26px -14px oklch(0.30 0.05 166 / 0.16);
  --ring: 0 0 0 3px oklch(0.505 0.132 162 / 0.28);
  --ring-accent: 0 0 0 3px oklch(0.585 0.17 38 / 0.30);

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-1: 130ms; --dur-2: 220ms; --dur-3: 400ms; --dur-4: 680ms;

  /* --- z-index scale --- */
  --z-base: 1; --z-raise: 10; --z-dropdown: 100; --z-sticky: 200;
  --z-header: 300; --z-backdrop: 400; --z-modal: 500; --z-toast: 600; --z-tooltip: 700;
}

/* --------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.015em; }
p { margin: 0 0 1rem; max-width: 68ch; text-wrap: pretty; }
a { color: var(--primary-ink); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 700; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-xs); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: var(--z-toast);
  background: var(--primary); color: var(--on-primary); padding: 10px 16px;
  border-radius: var(--r-sm); font-weight: 600; transition: top var(--dur-2) var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* Eyebrow / kicker used ONCE per major section, as a deliberate departures-board tag */
.tag {
  display: inline-flex; align-items: center; gap: 0.5ch;
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.02em;
  color: var(--primary-ink); background: var(--primary-tint);
  padding: 5px 11px 5px 9px; border-radius: var(--r-pill);
}
.tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 0 3px oklch(0.505 0.132 162 / 0.18);
}
.tag.tag-accent { color: var(--accent-deep); background: var(--accent-tint); }
.tag.tag-accent::before { background: var(--accent); box-shadow: 0 0 0 3px oklch(0.585 0.17 38 / 0.2); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.section-head h2 { margin-top: 0.7rem; }
.section-head .lede { color: var(--muted); font-size: var(--step-1); line-height: 1.5; margin-bottom: 0; }

/* --------------------------------------------------------------- Buttons */
.btn {
  --btn-bg: var(--primary); --btn-fg: var(--on-primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6ch;
  font-family: var(--font-sans); font-size: var(--step-0); font-weight: 700;
  line-height: 1; letter-spacing: -0.005em;
  padding: 0.95em 1.5em; border: 0; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform var(--dur-1) var(--ease-out), background var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.btn:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { background: var(--primary-press); transform: translateY(0); }
.btn:focus-visible { box-shadow: var(--ring), var(--shadow-md); }
.btn-lg { padding: 1.1em 1.85em; font-size: var(--step-1); }
.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--primary); color: var(--primary-ink); box-shadow: none; }
.btn-accent { --btn-bg: var(--accent); --btn-fg: var(--on-accent); }
.btn-accent:hover { background: var(--accent-deep); }
.btn-on-dark { --btn-bg: var(--on-dark); --btn-fg: var(--dark); }
.btn-on-dark:hover { background: #fff; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* --------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: oklch(1 0 0 / 0.82); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out);
}
.site-header.is-stuck { border-bottom-color: var(--line); background: oklch(1 0 0 / 0.9); }
.header-inner {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.2rem);
  min-height: 68px; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 0.6ch; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand:focus-visible { border-radius: var(--r-sm); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: grid; place-items: center; color: var(--on-primary);
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-deep) 100%);
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 19px; height: 19px; }
.brand b { color: var(--primary-ink); font-weight: 800; }
.primary-nav { display: flex; align-items: center; gap: 0.35rem; margin-left: 0.5rem; }
.primary-nav a {
  display: inline-flex; align-items: center; gap: 0.5ch;
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.975rem;
  padding: 0.5rem 0.8rem; border-radius: var(--r-sm);
  transition: color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out);
}
.primary-nav a:hover { color: var(--ink); background: var(--surface); }
.primary-nav a[aria-current="page"] { color: var(--primary-ink); }
.soon { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); padding: 2px 6px; border-radius: var(--r-pill); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.header-actions .link-quiet { color: var(--ink-soft); text-decoration: none; font-weight: 600; padding: 0.5rem 0.7rem; border-radius: var(--r-sm); }
.header-actions .link-quiet:hover { color: var(--ink); background: var(--surface); }
.nav-toggle { display: none; }

/* --------------------------------------------------------------- Hero */
.hero {
  --header-h: 68px;
  position: relative;
  min-height: 100svh;                    /* the whole hero fits one screen */
  display: flex; flex-direction: column; justify-content: flex-start;
  padding-top: calc(var(--header-h) + clamp(1rem, 4.5vh, 3rem));
  padding-bottom: clamp(1rem, 3.5vh, 2.5rem);
  background:
    radial-gradient(120% 70% at 50% -10%, var(--primary-tint) 0%, transparent 52%),
    var(--bg);
}
/* Decorative layers are clipped here, NOT on .hero, so popovers in .hero-inner
   can overflow the section instead of being cut off. */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-photo {
  position: absolute; inset: auto 0 0 0; height: min(64%, 620px);
  background: center 60% / cover no-repeat var(--hero-img);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, oklch(1 0 0 / 0.78) 24%, oklch(1 0 0 / 0.28) 62%, oklch(1 0 0 / 0.10) 100%);
}
.hero-routes { position: absolute; inset: 0; opacity: 0.42; color: var(--primary); }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero h1 {
  font-size: var(--step-5); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02;
  max-width: 15ch; margin-inline: auto; margin-bottom: clamp(0.5rem, 1.5vh, 0.7rem);
  overflow-wrap: break-word;
}
.hero h1 .u {
  color: var(--primary-ink); padding: 0 0.05em;
  background-image: linear-gradient(transparent 62%, var(--primary-tint2) 62%);
  background-repeat: no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-sub { color: var(--muted); font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.075rem); line-height: 1.5; max-width: 48ch; margin: 0 auto clamp(1.3rem, 3vh, 2rem); }

/* --------------------------------------------------------- Search widget */
.searchbar {
  position: relative; z-index: var(--z-dropdown);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-widget);
  max-width: 1000px; margin: 0 auto; text-align: left;
  padding: clamp(0.9rem, 0.7rem + 0.9vw, 1.25rem);
}
.trip-tabs { display: inline-flex; background: var(--surface-2); border-radius: var(--r-pill); padding: 4px; gap: 2px; margin-bottom: 0.9rem; }
.trip-tabs button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.925rem; color: var(--ink-soft);
  padding: 0.5em 1.05em; border-radius: var(--r-pill); white-space: nowrap;
  transition: color var(--dur-1) var(--ease-out);
}
.trip-tabs button[aria-selected="true"] { background: var(--bg); color: var(--primary-ink); box-shadow: var(--shadow-sm); }

.search-fields {
  display: grid; gap: 8px;
  grid-template-columns: 1.2fr auto 1.2fr 1fr 1fr 1.1fr;
  align-items: stretch;
}
.field {
  position: relative; background: var(--surface); border: 1.5px solid transparent; border-radius: var(--r);
  padding: 0.55rem 0.85rem 0.6rem; min-width: 0;
  transition: border-color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
}
.field:focus-within { background: var(--bg); border-color: var(--primary); box-shadow: var(--ring); }
.field > .field-label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px; }
.field input, .field .field-btn {
  width: 100%; border: 0; background: transparent; padding: 0; margin: 0;
  font-family: var(--font-sans); font-size: 1.02rem; font-weight: 600; color: var(--ink);
  line-height: 1.35;
}
.field input::placeholder { color: var(--muted); font-weight: 500; }
.field input:focus { outline: none; }
.field .field-hint { font-size: 0.74rem; color: var(--muted); font-weight: 500; }
.field-btn { text-align: left; cursor: pointer; display: block; }
.field-btn .field-sub { display: block; font-size: 0.74rem; color: var(--muted); font-weight: 500; }

.swap-btn {
  align-self: center; justify-self: center; width: 38px; height: 38px; flex: none;
  border-radius: 50%; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink-soft);
  display: grid; place-items: center; cursor: pointer; margin-inline: -13px; z-index: var(--z-raise);
  transition: transform var(--dur-2) var(--ease-out), color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}
.swap-btn:hover { color: var(--primary-ink); border-color: var(--primary); }
.swap-btn.spin { transform: rotate(180deg); }
.swap-btn svg { width: 17px; height: 17px; }

.search-actions { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; margin-top: 0.9rem; }
.search-extras { display: flex; flex-wrap: wrap; gap: 0.4rem 0.55rem; }
.chk {
  display: inline-flex; align-items: center; gap: 0.5ch; cursor: pointer;
  font-size: 0.88rem; font-weight: 600; color: var(--ink-soft);
  padding: 0.4rem 0.7rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg);
  transition: all var(--dur-1) var(--ease-out);
}
.chk input { position: absolute; opacity: 0; width: 0; height: 0; }
.chk .dot { width: 15px; height: 15px; border-radius: 5px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: all var(--dur-1) var(--ease-out); }
.chk .dot svg { width: 11px; height: 11px; color: #fff; opacity: 0; transform: scale(0.6); transition: all var(--dur-1) var(--ease-out); }
.chk:has(input:checked) { border-color: var(--primary); background: var(--primary-tint); color: var(--primary-ink); }
.chk:has(input:checked) .dot { background: var(--primary); border-color: var(--primary); }
.chk:has(input:checked) .dot svg { opacity: 1; transform: scale(1); }
.chk:has(input:focus-visible) { box-shadow: var(--ring); }
.search-submit { min-width: 164px; padding: 0.88em 1.5em; font-size: var(--step-0); }

/* Passenger popover */
.pax-pop {
  position: absolute; z-index: var(--z-dropdown); top: calc(100% + 8px); right: 0; width: 340px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 0.4rem; display: none;
}
.pax-pop[data-open="true"] { display: block; animation: pop var(--dur-2) var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.pax-row { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0.6rem; }
.pax-row + .pax-row { border-top: 1px solid var(--line); }
.pax-row .pax-label b { display: block; font-weight: 700; }
.pax-row .pax-label span { font-size: 0.8rem; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 0.35rem; }
.stepper button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--bg); color: var(--ink); font-size: 1.1rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: all var(--dur-1) var(--ease-out); }
.stepper button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary-ink); }
.stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.stepper output { min-width: 1.4ch; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.cabin-select { display: flex; gap: 4px; padding: 0.6rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.cabin-select button { flex: 1; min-width: 72px; font-family: var(--font-sans); font-weight: 600; font-size: 0.82rem; padding: 0.5rem; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--bg); color: var(--ink-soft); cursor: pointer; }
.cabin-select button[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-tint); color: var(--primary-ink); }
.pax-done { margin: 0.3rem; width: calc(100% - 0.6rem); }

/* Themed date-range calendar popover */
.cal-pop {
  position: absolute; z-index: var(--z-dropdown); top: 100%; left: 0; display: none;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 1.1rem 1.15rem 0.9rem; width: max-content; max-width: min(94vw, 620px);
}
.cal-pop[data-open="true"] { display: block; animation: pop var(--dur-2) var(--ease-out); }
.cal-nav {
  position: absolute; top: 1.05rem; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; z-index: 2;
  transition: border-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.cal-nav.prev { left: 1.1rem; } .cal-nav.next { right: 1.1rem; }
.cal-nav svg { width: 17px; height: 17px; }
.cal-nav:hover:not(:disabled) { border-color: var(--primary); color: var(--primary-ink); }
.cal-nav:disabled { opacity: 0.32; cursor: not-allowed; }
.cal-months { display: flex; gap: 1.7rem; }
.cal-month { min-width: 236px; }
.cal-title { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; margin-bottom: 0.55rem; }
.cal-dow-row, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-dow { text-align: center; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
.cal-grid { gap: 0; }
.cal-day {
  aspect-ratio: 1; border: 0; background: transparent; color: var(--ink); cursor: pointer;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem; border-radius: var(--r-sm);
  font-variant-numeric: tabular-nums; transition: background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.cal-day.empty { pointer-events: none; }
.cal-day:disabled { color: var(--line-strong); cursor: default; }
.cal-day:hover:not(:disabled):not(.sel):not(.empty) { background: var(--surface-2); }
.cal-day:focus-visible { box-shadow: var(--ring); z-index: 1; }
.cal-day.today:not(.sel) { box-shadow: inset 0 0 0 1.5px var(--primary); color: var(--primary-ink); }
.cal-day.in-range { background: var(--primary-tint); color: var(--primary-ink); border-radius: 0; }
.cal-day.sel { background: var(--primary); color: var(--on-primary); }
.cal-day.sel.start { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.cal-day.sel.end { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.cal-day.sel.single { border-radius: var(--r-sm); }
.cal-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.85rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.cal-hint { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.cal-done { padding: 0.6em 1.4em; font-size: 0.9rem; }
@media (max-width: 639px) { .cal-pop { max-width: min(94vw, 340px); } .cal-month { min-width: 0; width: 100%; } }

/* Trust row under widget */
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem; margin-top: clamp(1rem, 2.5vh, 1.6rem); }
.trust-row li {
  display: inline-flex; align-items: center; gap: 0.55ch; list-style: none;
  background: oklch(1 0 0 / 0.72); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
  border: 1px solid oklch(1 0 0 / 0.62); border-radius: var(--r-pill); padding: 7px 14px;
  color: var(--ink); font-size: 0.9rem; font-weight: 600; box-shadow: 0 2px 12px oklch(0.3 0.05 165 / 0.12);
}
.trust-row svg { width: 16px; height: 16px; color: var(--primary); flex: none; }
.trust-row .stars { color: var(--accent-deep); }
ul.trust-row { padding: 0; margin-inline: auto; max-width: 920px; }

/* Short viewports (small laptops, browser chrome): compress the hero so the
   trust badges still land above the fold without scrolling. */
@media (min-width: 640px) and (max-height: 800px) {
  .hero { padding-top: calc(var(--header-h) + 0.4rem); padding-bottom: 0.9rem; }
  .hero h1 { font-size: clamp(2.2rem, 6.2vh, 3.3rem); margin-bottom: 0.4rem; }
  .hero-sub { margin-bottom: 0.9rem; line-height: 1.45; }
  .searchbar { padding: 0.8rem; }
  .search-fields .field { padding-top: 0.45rem; padding-bottom: 0.5rem; }
  .trip-tabs { margin-bottom: 0.65rem; }
  .search-actions { margin-top: 0.7rem; }
  .trust-row { margin-top: 0.85rem; }
}
@media (min-width: 640px) and (max-height: 680px) {
  .hero h1 { font-size: clamp(1.9rem, 5.6vh, 2.6rem); }
  .hero-sub { font-size: 0.95rem; margin-bottom: 0.7rem; }
  .searchbar { padding: 0.65rem; }
}

/* --------------------------------------------------------------- Sections */
.section { padding-block: var(--sp-section); }
.section.on-surface { background: var(--surface); }

/* Value: three distinct panels (not identical cards) */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 0.6rem + 1.5vw, 1.8rem); }
.vpanel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.3rem, 1rem + 1vw, 1.9rem); display: flex; flex-direction: column; gap: 0.9rem; }
.vpanel h3 { margin: 0; }
.vpanel p { color: var(--muted); margin: 0; font-size: 0.985rem; }
.vpanel .vicon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary-ink); }
.vpanel .vicon svg { width: 23px; height: 23px; }
/* mini honest-price viz */
.price-mini { margin-top: auto; font-size: 0.88rem; }
.price-mini .row { display: flex; justify-content: space-between; padding: 0.28rem 0; color: var(--ink-soft); }
.price-mini .row.total { border-top: 1.5px dashed var(--line-strong); margin-top: 0.2rem; padding-top: 0.5rem; font-weight: 800; color: var(--ink); }
.price-mini .row .ok { color: var(--primary-ink); font-weight: 700; }
.price-mini .row .zero { color: var(--primary-ink); font-weight: 700; }
/* mini ticket */
.ticket-mini { margin-top: auto; position: relative; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r); padding: 0.85rem 1rem; display: flex; align-items: center; justify-content: space-between; }
.ticket-mini .code { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.ticket-mini .route-line { flex: 1; margin: 0 0.7rem; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 11px); position: relative; }
.ticket-mini .route-line svg { position: absolute; right: -4px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--primary); }
.ticket-mini::before, .ticket-mini::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 1px dashed var(--line-strong); top: 50%; transform: translateY(-50%); }
.ticket-mini::before { left: -8px; border-right: 0; border-top: 0; }
.ticket-mini::after { right: -8px; border-left: 0; border-bottom: 0; }
.shield-check { display: inline-flex; align-items: center; gap: 0.6ch; margin-top: auto; font-weight: 700; color: var(--primary-ink); }
.shield-check svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------- Deals */
.deals-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.chip-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.6rem; }
.chip {
  appearance: none; font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem; cursor: pointer;
  padding: 0.5rem 1rem; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--bg); color: var(--ink-soft);
  transition: all var(--dur-1) var(--ease-out);
}
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.deals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1rem, 0.7rem + 1vw, 1.5rem); margin-top: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); }
.deal {
  position: relative; display: flex; flex-direction: column; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.deal:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.deal-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.deal-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-4) var(--ease-out); }
.deal:hover .deal-media img { transform: scale(1.05); }
.deal-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, oklch(0.2 0.03 165 / 0.35), transparent 45%); }
.deal-route { position: absolute; left: 12px; bottom: 10px; z-index: 2; color: #fff; display: flex; align-items: center; gap: 0.5ch; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.01em; text-shadow: 0 1px 6px oklch(0.2 0 0 / 0.5); }
.deal-route svg { width: 15px; height: 15px; opacity: 0.9; }
.ribbon {
  position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 0.4ch;
  background: var(--accent); color: var(--on-accent); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em;
  padding: 5px 10px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
}
.ribbon svg { width: 12px; height: 12px; }
.deal-body { padding: 0.95rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: 0.15rem; flex: 1; }
.deal-city { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.015em; }
.deal-meta { color: var(--muted); font-size: 0.85rem; font-weight: 500; }
.deal-foot { margin-top: 0.75rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5rem; }
.deal-price { display: flex; flex-direction: column; line-height: 1.1; }
.deal-price .from { font-size: 0.72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.deal-price .amt { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--ink); }
.deal-price .rt { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.trend { display: inline-flex; align-items: center; gap: 0.35ch; font-size: 0.8rem; font-weight: 700; color: var(--accent-deep); background: var(--accent-tint); padding: 4px 9px; border-radius: var(--r-pill); }
.trend svg { width: 13px; height: 13px; }
.deal-cta { align-self: center; }

/* --------------------------------------------------------- Honest price (dark) */
.honest { background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%); color: var(--on-dark); }
.honest h2, .honest h3 { color: var(--on-dark); }
.honest .lede { color: var(--on-dark-muted); }
.honest .tag { background: oklch(0.505 0.132 162 / 0.22); color: oklch(0.86 0.09 162); }
.honest .tag::before { background: oklch(0.72 0.14 162); box-shadow: none; }
.honest-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.compare { display: grid; gap: 0.85rem; }
.compare-card { background: oklch(1 0 0 / 0.05); border: 1px solid var(--dark-line); border-radius: var(--r-lg); padding: 1.15rem 1.3rem; }
.compare-card.ours { background: oklch(0.505 0.132 162 / 0.15); border-color: oklch(0.55 0.13 162 / 0.6); }
.compare-card h4 { font-family: var(--font-sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0 0 0.7rem; }
.compare-card.ours h4 { color: oklch(0.82 0.1 162); }
.priceline { display: flex; justify-content: space-between; padding: 0.32rem 0; font-size: 0.95rem; color: var(--on-dark); }
.priceline .lbl { color: var(--on-dark-muted); }
.priceline.total { border-top: 1px solid var(--dark-line); margin-top: 0.4rem; padding-top: 0.7rem; font-weight: 800; font-size: 1.15rem; }
.priceline .add { color: oklch(0.78 0.14 40); font-weight: 700; }
.priceline .zero { color: oklch(0.78 0.14 162); font-weight: 700; }
.how-steps { display: grid; gap: 1.1rem; margin-top: 1.5rem; counter-reset: step; }
.how-step { display: flex; gap: 1rem; align-items: flex-start; }
.how-step .n { counter-increment: step; flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; background: oklch(1 0 0 / 0.08); color: var(--on-dark); border: 1px solid var(--dark-line); }
.how-step .n::before { content: counter(step); }
.how-step h3 { font-size: 1.1rem; margin: 0.2rem 0 0.2rem; }
.how-step p { color: var(--on-dark-muted); margin: 0; font-size: 0.95rem; }

/* --------------------------------------------------------- Reassurance / proof */
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
.rating-block { display: flex; flex-direction: column; gap: 1rem; }
.rating-big { display: flex; align-items: baseline; gap: 0.6rem; }
.rating-big .score { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 2rem + 4vw, 4.5rem); letter-spacing: -0.03em; line-height: 1; }
.rating-big .of { color: var(--muted); font-weight: 600; }
.stars-row { display: inline-flex; gap: 2px; color: var(--accent); }
.stars-row svg { width: 20px; height: 20px; }
.rating-sub { color: var(--muted); font-weight: 500; }
.quote-list { display: grid; gap: 0.9rem; }
.quote { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.15rem 1.3rem; }
.quote p { font-size: 1.02rem; color: var(--ink); margin: 0 0 0.7rem; }
.quote .who { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--muted); font-weight: 600; }
.quote .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--primary-tint2); color: var(--primary-ink); display: grid; place-items: center; font-weight: 800; font-size: 0.8rem; flex: none; }

/* Assurance badges strip */
.assurance { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin-top: clamp(2rem, 1.4rem + 2vw, 3rem); }
.assure { display: flex; gap: 0.85rem; align-items: flex-start; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.assure svg { width: 24px; height: 24px; color: var(--primary); flex: none; }
.assure b { display: block; }
.assure span { color: var(--muted); font-size: 0.9rem; }

/* --------------------------------------------------------- Fare alert CTA */
.alert-cta { position: relative; isolation: isolate; color: var(--on-dark); padding-block: clamp(4rem, 3rem + 5vw, 7rem); overflow: hidden; }
.alert-cta .bg { position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat var(--cta-img); transform: scale(1.05); }
.alert-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, oklch(0.24 0.05 167 / 0.94) 0%, oklch(0.28 0.06 166 / 0.82) 48%, oklch(0.3 0.055 168 / 0.6) 100%); }
.alert-inner { max-width: 640px; }
.alert-cta h2 { color: #fff; }
.alert-cta p { color: var(--on-dark-muted); font-size: var(--step-1); }
.alert-form { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.6rem; }
.alert-form .field-wrap { flex: 1; min-width: 220px; position: relative; }
.alert-form input { width: 100%; font-family: var(--font-sans); font-size: 1.02rem; font-weight: 600; color: var(--ink); background: #fff; border: 1.5px solid transparent; border-radius: var(--r-pill); padding: 1.05em 1.4em; }
.alert-form input::placeholder { color: var(--muted); font-weight: 500; }
.alert-form input:focus { outline: none; box-shadow: var(--ring); }
.alert-note { margin-top: 0.9rem; font-size: 0.85rem; color: var(--on-dark-muted); display: inline-flex; align-items: center; gap: 0.5ch; }
.alert-note svg { width: 15px; height: 15px; }
.form-msg { margin-top: 0.8rem; font-weight: 600; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { color: oklch(0.85 0.12 162); }

/* --------------------------------------------------------------- Results */
.results { display: none; }
.results.show { display: block; }
.results-panel { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.results-bar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1.1rem; }
.results-bar .summary { font-weight: 700; }
.results-bar .summary .rt { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -0.01em; }
.results-bar .summary .meta { color: var(--muted); font-weight: 500; font-size: 0.9rem; }
.results-bar .edit { margin-left: auto; }
.sort-tabs { display: inline-flex; gap: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px; }
.sort-tabs button { border: 0; background: transparent; font-family: var(--font-sans); font-weight: 600; font-size: 0.85rem; color: var(--ink-soft); padding: 0.45rem 0.9rem; border-radius: var(--r-pill); cursor: pointer; }
.sort-tabs button[aria-selected="true"] { background: var(--primary-tint); color: var(--primary-ink); }
.sample-note { display: inline-flex; align-items: center; gap: 0.5ch; font-size: 0.82rem; color: var(--muted); background: var(--bg); border: 1px dashed var(--line-strong); border-radius: var(--r-pill); padding: 0.35rem 0.85rem; }
.sample-note svg { width: 14px; height: 14px; color: var(--accent-deep); }
.result-list { display: grid; gap: 0.7rem; padding-block: 1.3rem 1.6rem; }
.result-row { display: grid; grid-template-columns: 1.4fr 2fr auto; gap: 1rem; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem 1.25rem; transition: box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out); }
.result-row:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.result-air { display: flex; align-items: center; gap: 0.7rem; }
.result-air .logo { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: #fff; }
.result-air b { display: block; font-weight: 700; }
.result-air span { font-size: 0.82rem; color: var(--muted); }
.result-times { display: flex; align-items: center; gap: 0.9rem; }
.result-times .tm { text-align: center; }
.result-times .tm b { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -0.01em; }
.result-times .tm span { display: block; font-size: 0.78rem; color: var(--muted); }
.result-times .leg { flex: 1; min-width: 60px; text-align: center; }
.result-times .leg .dur { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.result-times .leg .bar { height: 2px; background: var(--line-strong); position: relative; margin: 6px 0; border-radius: 2px; }
.result-times .leg .bar::after { content: ""; position: absolute; right: -3px; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.result-times .leg .stops { font-size: 0.74rem; font-weight: 700; color: var(--primary-ink); }
.result-times .leg .stops.one { color: var(--accent-deep); }
.result-buy { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.result-buy .amt { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.result-buy .per { font-size: 0.74rem; color: var(--muted); }

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--dark-2); color: var(--on-dark-muted); padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem) 2rem; }

/* Fare-alert strip */
.footer-alert-strip {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  background: linear-gradient(120deg, oklch(0.505 0.132 162 / 0.16), oklch(0.505 0.132 162 / 0.05));
  border: 1px solid var(--dark-line); border-radius: var(--r-xl);
  padding: clamp(1.4rem, 1rem + 1.5vw, 2.1rem) clamp(1.4rem, 1rem + 1.5vw, 2.4rem);
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}
.footer-alert-strip .fa-copy h3 { color: #fff; font-size: var(--step-2); margin: 0 0 0.35rem; }
.footer-alert-strip .fa-copy p { color: var(--on-dark-muted); margin: 0; max-width: 44ch; }
.footer-alert { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; position: relative; }
.footer-alert input { flex: 1; min-width: 220px; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: var(--ink); background: #fff; border: 1.5px solid transparent; border-radius: var(--r-pill); padding: 0.95em 1.3em; }
.footer-alert input::placeholder { color: var(--muted); font-weight: 500; }
.footer-alert input:focus { outline: none; box-shadow: var(--ring-accent); }
.footer-alert .form-msg { flex-basis: 100%; margin: 0; font-size: 0.85rem; font-weight: 600; }
.footer-alert .form-msg.ok { color: oklch(0.85 0.12 162); }

.footer-top { display: grid; grid-template-columns: 1.5fr 2.5fr; gap: clamp(1.8rem, 1rem + 3vw, 3.5rem); }
.footer-brand .brand { color: var(--on-dark); }
.footer-brand .brand b { color: oklch(0.8 0.1 162); }
.footer-blurb { margin-top: 1rem; max-width: 36ch; font-size: 0.92rem; color: var(--on-dark-muted); line-height: 1.6; }
.footer-rating { margin: 1rem 0 1.2rem; font-size: 0.9rem; color: var(--on-dark-muted); display: flex; align-items: center; gap: 0.5ch; }
.footer-rating .stars { color: var(--accent); letter-spacing: 1px; }
.footer-rating strong { color: var(--on-dark); }
.footer-brand .socials { display: flex; gap: 0.5rem; }
.footer-brand .socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--dark-line); display: grid; place-items: center; color: var(--on-dark-muted); transition: color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out); }
.footer-brand .socials a:hover { color: var(--on-dark); border-color: var(--on-dark-muted); transform: translateY(-2px); }
.footer-brand .socials svg { width: 17px; height: 17px; }

.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 0.6rem + 2vw, 2rem); }
.foot-col h4 { font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--on-dark); margin: 0 0 0.9rem; }
.foot-col a { display: flex; width: fit-content; align-items: center; gap: 0.5ch; color: var(--on-dark-muted); text-decoration: none; padding: 0.34rem 0; font-size: 0.94rem; transition: color var(--dur-1) var(--ease-out); }
.foot-col a:hover { color: var(--on-dark); }
.foot-col a .soon { background: transparent; border-color: var(--dark-line); color: var(--on-dark-muted); }

.footer-affiliate { margin: clamp(1.6rem, 1rem + 2vw, 2.6rem) 0 0; font-size: 0.82rem; line-height: 1.55; color: var(--on-dark-muted); max-width: 74ch; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: clamp(1.4rem, 1rem + 1.5vw, 2rem); padding-top: 1.5rem; border-top: 1px solid var(--dark-line); font-size: 0.85rem; }
.footer-bottom .foot-legal { margin: 0; }
.footer-bottom .foot-meta { display: flex; align-items: center; gap: 1.2rem; }
.footer-bottom .foot-meta a { color: var(--on-dark-muted); text-decoration: none; }
.footer-bottom .foot-meta a:hover { color: var(--on-dark); }
.footer-bottom .foot-region { color: var(--on-dark-muted); }

/* --------------------------------------------------------------- Interior pages */
.page-hero {
  background: radial-gradient(120% 90% at 50% -20%, var(--primary-tint) 0%, transparent 55%), var(--bg);
  padding-block: clamp(3rem, 2.4rem + 3vw, 5.5rem) clamp(1.8rem, 1.4rem + 2vw, 2.8rem);
  text-align: center; border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: var(--step-4); max-width: 20ch; margin-inline: auto; }
.page-lede { color: var(--muted); font-size: var(--step-1); line-height: 1.5; max-width: 60ch; margin: 0.7rem auto 0; }
.legal-jump { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem 0.9rem; margin: 1.1rem auto 0; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.legal-jump a { color: var(--primary); text-decoration: none; padding-bottom: 2px; border-bottom: 2px solid transparent; transition: border-color var(--dur-2) var(--ease-out); }
.legal-jump a:hover { border-bottom-color: var(--primary); }
.legal-jump span { color: var(--line-strong); }
.prose h2[id], .prose h3[id] { scroll-margin-top: 90px; }

/* Interior search bar for hotels / cars: native inputs, brand styling */
.subsearch { max-width: 960px; margin: clamp(1.5rem, 1rem + 2vw, 2.4rem) auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1rem, 0.8rem + 1vw, 1.5rem); box-shadow: var(--shadow-md); text-align: left; }
.ss-fields { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); }
.ss-field { display: grid; gap: 0.4rem; }
.ss-field > span { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.01em; color: var(--muted); }
.ss-field input, .ss-field select { font: inherit; font-weight: 600; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0.72em 0.8em; width: 100%; min-width: 0; transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out); }
.ss-field input:focus-visible, .ss-field select:focus-visible { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
.ss-actions { display: flex; justify-content: flex-end; margin-top: 1rem; }
/* Match the flight page's search button size exactly (see .search-submit) */
.ss-actions .btn { min-width: 164px; padding: 0.88em 1.5em; font-size: var(--step-0); }
@media (max-width: 560px) { .ss-actions { justify-content: stretch; } .ss-actions .btn { width: 100%; } }
/* Anchor variant of the filter chip (popular-destination links) */
.chip-link { display: inline-block; text-decoration: none; }
/* Numeric step badges reuse the .check circle */
.promise .check { font-family: var(--font-display); font-weight: 800; font-size: 0.98rem; line-height: 1; }

/* Airport / city autocomplete menu (fixed to the viewport, floats above all) */
.ac-menu { position: fixed; z-index: var(--z-tooltip); margin: 0; padding: 0.35rem; list-style: none; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); max-height: 340px; overflow-y: auto; animation: pop var(--dur-2) var(--ease-out); }
.ac-menu[hidden] { display: none; }
.ac-item { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0.55rem; border-radius: var(--r-sm); cursor: pointer; }
.ac-item > svg { width: 18px; height: 18px; flex: none; color: var(--primary); }
.ac-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ac-name { font-weight: 700; font-size: 0.95rem; color: var(--ink); line-height: 1.2; }
.ac-sub { font-size: 0.78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-code { font-family: var(--font-display); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.02em; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xs); padding: 0.15rem 0.42rem; flex: none; }
.ac-item.is-active, .ac-item:hover { background: var(--primary-tint); }
.ac-item.is-active .ac-code, .ac-item:hover .ac-code { border-color: var(--primary); color: var(--primary-ink); }

/* ---------------------------------------------------------------- Auth page */
.auth-shell { padding-block: clamp(1.25rem, 0.8rem + 2vw, 2.5rem); }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; max-width: 940px; margin-inline: auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }

.auth-aside { position: relative; overflow: hidden; padding: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); color: #fff; background: linear-gradient(155deg, oklch(0.37 0.078 164), oklch(0.2 0.05 168)); display: flex; flex-direction: column; justify-content: center; gap: 1.25rem; }
.auth-routes { position: absolute; inset: 0; z-index: 0; color: oklch(0.78 0.14 162); opacity: 0.22; pointer-events: none; }
.auth-aside > :not(.auth-routes) { position: relative; z-index: 1; }
.auth-aside .brand { color: #fff; }
.auth-aside .brand b { color: oklch(0.82 0.11 162); }
.auth-atitle { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 1.05rem + 1.5vw, 1.95rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0.15rem 0 0; }
.auth-points { display: grid; gap: 0.8rem; margin: 0.3rem 0 0; padding: 0; list-style: none; }
.auth-points li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; line-height: 1.4; color: oklch(0.95 0.02 160); }
.auth-points svg { flex: none; width: 20px; height: 20px; color: oklch(0.86 0.14 162); margin-top: 1px; }
.auth-rating { margin: 0.5rem 0 0; font-size: 0.9rem; color: oklch(0.9 0.02 160); }
.auth-rating .stars { color: var(--accent); letter-spacing: 1px; }

.auth-main { padding: clamp(1.5rem, 1rem + 2.2vw, 2.6rem); display: flex; flex-direction: column; justify-content: center; }
.auth-heading { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem); letter-spacing: -0.02em; margin: 0; }
.auth-sub { color: var(--muted); margin: 0.3rem 0 0; font-size: 0.95rem; }

.auth-tabs { display: inline-flex; background: var(--surface-2); border-radius: var(--r-pill); padding: 4px; gap: 2px; margin: 1.1rem 0 0.95rem; align-self: flex-start; }
.auth-tabs button { appearance: none; border: 0; background: transparent; cursor: pointer; font-family: var(--font-sans); font-weight: 600; font-size: 0.92rem; color: var(--ink-soft); padding: 0.5em 1.05em; border-radius: var(--r-pill); transition: color var(--dur-1) var(--ease-out); }
.auth-tabs button[aria-selected="true"] { background: var(--bg); color: var(--primary-ink); box-shadow: var(--shadow-sm); }

.oauth { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.oauth-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; width: 100%; padding: 0.72em 0.9em; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: border-color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out); }
.oauth-btn:hover { border-color: var(--line-strong); background: var(--surface); }
.oauth-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.oauth-btn svg { flex: none; }

.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1rem 0; color: var(--muted); font-size: 0.8rem; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }

.auth-form { display: grid; gap: 0.85rem; }
.auth-form[hidden] { display: none; }
.auth-field { display: grid; gap: 0.35rem; }
.auth-field > label { font-weight: 700; font-size: 0.84rem; color: var(--ink); }
.auth-field input { font: inherit; font-weight: 500; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0.78em 0.9em; width: 100%; transition: border-color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out); }
.auth-field input::placeholder { color: var(--muted); font-weight: 500; }
.auth-field input:focus { outline: none; border-color: var(--primary); background: var(--bg); box-shadow: var(--ring); }
.auth-field .hint { font-size: 0.76rem; color: var(--muted); }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 3rem; }
.pw-toggle { position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%); border: 0; background: transparent; cursor: pointer; color: var(--muted); padding: 0.4rem; display: grid; place-items: center; border-radius: var(--r-xs); }
.pw-toggle:hover { color: var(--ink); }
.pw-toggle:focus-visible { outline: none; box-shadow: var(--ring); }
.pw-toggle svg { width: 20px; height: 20px; }
.pw-toggle .eye-off { display: none; }
.pw-toggle.is-on .eye { display: none; }
.pw-toggle.is-on .eye-off { display: block; }

.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.88rem; }
.auth-check { display: inline-flex; align-items: center; gap: 0.55ch; color: var(--ink-soft); font-weight: 600; cursor: pointer; line-height: 1.4; }
.auth-check input { width: 16px; height: 16px; flex: none; accent-color: var(--primary); }
.auth-terms { align-items: flex-start; font-size: 0.85rem; }
.auth-terms input { margin-top: 2px; }
.auth-link { color: var(--primary-ink); font-weight: 700; text-decoration: none; }
.auth-link:hover { text-decoration: underline; }

.auth-submit { width: 100%; margin-top: 0.2rem; }
.auth-form .form-msg { margin: 0.1rem 0 0; font-size: 0.88rem; }
.auth-form .form-msg.ok { color: var(--primary-ink); }
.auth-alt { margin: 1.05rem 0 0; text-align: center; color: var(--muted); font-size: 0.9rem; }
.auth-alt button { border: 0; background: transparent; color: var(--primary-ink); font-weight: 700; cursor: pointer; font-size: inherit; font-family: inherit; padding: 0; }
.auth-alt button:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .auth-grid { grid-template-columns: 1fr; max-width: 440px; }
  .auth-aside { display: none; }
}
@media (max-width: 380px) {
  .oauth { grid-template-columns: 1fr; }
}
.page-body { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.prose { max-width: 72ch; margin-inline: auto; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.3rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.7rem; }
.prose p, .prose li { color: var(--ink); line-height: 1.72; }
.prose a { color: var(--primary-ink); }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li + li { margin-top: 0.4rem; }
.prose img { border-radius: var(--r-lg); margin-block: 1.6rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2rem; }
.prose blockquote {
  margin: 1.6rem 0; padding: 1.15rem 1.35rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); font-style: normal;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xs); padding: 0.1em 0.4em; font-size: 0.9em; }
.prose table { width: 100%; border-collapse: collapse; margin-block: 1.6rem; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 700; color: var(--ink); background: var(--surface); }

/* --------------------------------------------------------------- Page components */
/* Big pledge statement */
.pledge { max-width: 900px; margin-inline: auto; text-align: center; }
.pledge .big { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
.pledge .big .hl { color: var(--primary-ink); }

/* Promise checklist */
.promises { display: grid; gap: 1rem; max-width: 680px; margin-inline: auto; }
.promises.two { max-width: 900px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.promise { display: flex; gap: 0.9rem; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 1.05rem 1.2rem; }
.promise .check { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-tint2); color: var(--primary-ink); display: grid; place-items: center; }
.promise .check svg { width: 17px; height: 17px; }
.promise b { display: block; margin-bottom: 0.1rem; }
.promise span { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.promise.no .check { background: var(--accent-tint); color: var(--accent-deep); }

/* Light numbered steps */
.steps-light { display: grid; gap: 1.4rem; max-width: 760px; margin-inline: auto; counter-reset: s; }
.steps-light .step { display: flex; gap: 1.15rem; align-items: flex-start; }
.steps-light .n { counter-increment: s; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; background: var(--primary); color: var(--on-primary); }
.steps-light .n::before { content: counter(s); }
.steps-light h3 { margin: 0.35rem 0 0.35rem; }
.steps-light p { color: var(--muted); margin: 0; }

/* FAQ accordion (native <details>) */
.faq { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 0.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { box-shadow: var(--ring); border-radius: var(--r-xs); }
.faq .ico { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; position: relative; transition: background var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out); }
.faq .ico::before, .faq .ico::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease-out); }
.faq .ico::before { width: 12px; height: 2px; } .faq .ico::after { width: 2px; height: 12px; }
.faq details[open] summary .ico { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.faq details[open] summary .ico::after { transform: scaleY(0); opacity: 0; }
/* While JS animates the panel closed the element keeps [open], so flip the icon back to a plus for the duration. */
.faq details.is-collapsing summary .ico { background: transparent; border-color: var(--line-strong); color: inherit; }
.faq details.is-collapsing summary .ico::after { transform: none; opacity: 1; }
.faq details.is-animating .answer { overflow: hidden; }
.faq .answer { padding: 0 0.2rem 1.3rem; color: var(--muted); line-height: 1.65; }
.faq .answer > :last-child { margin-bottom: 0; }
.faq .answer p { max-width: 68ch; }

/* Refund/how timeline */
.timeline { max-width: 760px; margin-inline: auto; position: relative; padding-left: 0; }
.tl-item { position: relative; padding: 0 0 1.8rem 3rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: -6px; width: 2px; background: var(--line); }
.tl-item:last-child::before { display: none; }
.tl-item .dot { position: absolute; left: 6px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-tint2); border: 2px solid var(--primary); z-index: 1; }
.tl-item h3 { margin: 0 0 0.3rem; font-size: 1.12rem; }
.tl-item p { color: var(--muted); margin: 0; }
.tl-item .when { font-size: 0.82rem; font-weight: 700; color: var(--primary-ink); text-transform: uppercase; letter-spacing: 0.04em; }

/* Page CTA band */
.cta-band { background: var(--surface); border-top: 1px solid var(--line); text-align: center; padding-block: clamp(3rem, 2.4rem + 2.5vw, 4.5rem); }
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p { color: var(--muted); font-size: var(--step-1); max-width: 52ch; margin: 0 auto 1.6rem; }
.page-section { padding-block: var(--sp-section); }
.page-section.on-surface { background: var(--surface); }
.page-section .section-head { margin-inline: auto; text-align: center; }
.receipt { max-width: 420px; margin: 2rem auto 0; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(1.2rem, 0.6rem + 2vw, 2.4rem); text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); letter-spacing: -0.03em; color: var(--primary-ink); line-height: 1; }
.stat .lbl { color: var(--muted); font-weight: 600; margin-top: 0.45rem; font-size: 0.95rem; }

/* Contact methods + form */
.contact-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1rem, 0.6rem + 1.5vw, 1.5rem); }
.cmethod { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; transition: box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out); }
.cmethod:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); transform: translateY(-2px); }
.cmethod .cm-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary-ink); }
.cmethod .cm-ico svg { width: 23px; height: 23px; }
.cmethod h3 { margin: 0.2rem 0 0; font-size: 1.1rem; }
.cmethod p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.cmethod .cm-val { font-weight: 700; color: var(--primary-ink); text-decoration: none; margin-top: auto; }
.cmethod .cm-val:hover { text-decoration: underline; }

.contact-form { max-width: 640px; margin-inline: auto; display: grid; gap: 1rem; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-group { display: flex; flex-direction: column; gap: 0.4rem; }
.field-group label { font-weight: 600; font-size: 0.9rem; color: var(--ink-soft); }
.field-group input, .field-group textarea { font-family: var(--font-sans); font-size: 1rem; font-weight: 500; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r); padding: 0.85em 1em; }
.field-group input:focus, .field-group textarea:focus { outline: none; border-color: var(--primary); background: var(--bg); box-shadow: var(--ring); }
.field-group textarea { min-height: 130px; resize: vertical; }
.contact-form .form-msg { margin: 0; font-weight: 600; display: none; }
.contact-form .form-msg.show { display: block; }
.contact-form .form-msg.ok { color: var(--primary-ink); }

/* Fare-type cards (baggage) */
.fare-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(1rem, 0.6rem + 1.5vw, 1.5rem); }
.fare-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem 1.6rem; display: flex; flex-direction: column; }
.fare-card.featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow-md); }
.fare-card h3 { margin: 0 0 0.2rem; }
.fare-card .fc-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.1rem; }
.fare-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.fare-card li { display: flex; gap: 0.6ch; align-items: flex-start; font-size: 0.96rem; color: var(--ink); }
.fare-card li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.fare-card li.yes svg { color: var(--primary); }
.fare-card li.no { color: var(--muted); }
.fare-card li.no svg { color: var(--line-strong); }
.fc-badge { align-self: flex-start; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; color: var(--on-primary); background: var(--primary); padding: 4px 10px; border-radius: var(--r-pill); margin-bottom: 0.8rem; }

/* Spec table (baggage sizes) */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
.spec-table thead th { font-family: var(--font-sans); font-weight: 700; color: var(--ink); background: var(--surface); font-size: 0.85rem; letter-spacing: 0.02em; }
.spec-table td:first-child { font-weight: 600; }
.spec-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }

/* --------------------------------------------------------------- Coming-soon splash */
.coming-soon-page { min-height: 100vh; }
.cs-wrap { position: relative; isolation: isolate; min-height: 100vh; display: grid; place-items: center; padding: clamp(2rem, 5vw, 4rem) var(--gutter); color: var(--on-dark); overflow: hidden; }
.cs-bg { position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat var(--cs-img); transform: scale(1.04); }
.cs-wrap::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(140deg, oklch(0.22 0.05 167 / 0.95), oklch(0.28 0.06 166 / 0.84) 55%, oklch(0.3 0.055 168 / 0.72)); }
.cs-routes { position: absolute; inset: 0; z-index: -1; color: oklch(0.72 0.14 162); opacity: 0.26; pointer-events: none; }
.cs-inner { max-width: 680px; text-align: center; animation: heroRise 0.85s var(--ease-expo) both; }
.cs-brand { color: #fff; justify-content: center; font-size: 1.35rem; margin-bottom: 1.7rem; }
.cs-brand b { color: oklch(0.82 0.12 162); }
.cs-tag { background: oklch(1 0 0 / 0.16); color: #fff; }
.cs-tag::before { background: oklch(0.75 0.15 162); box-shadow: none; }
.coming-soon-page h1 { color: #fff; font-size: clamp(2.2rem, 1.5rem + 3.5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; margin: 1.1rem 0 0.9rem; text-wrap: balance; }
.cs-lede { color: var(--on-dark-muted); font-size: var(--step-1); line-height: 1.55; max-width: 54ch; margin: 0 auto clamp(1.8rem, 1.2rem + 2vw, 2.6rem); }
.cs-form { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; max-width: 520px; margin: 0 auto; }
.cs-form input { flex: 1; min-width: 220px; font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; color: var(--ink); background: #fff; border: 1.5px solid transparent; border-radius: var(--r-pill); padding: 1.05em 1.4em; }
.cs-form input:focus { outline: none; box-shadow: var(--ring-accent); }
.cs-form .form-msg { flex-basis: 100%; margin: 0.5rem 0 0; font-weight: 600; }
.cs-form .form-msg.ok { color: oklch(0.85 0.12 162); }
.cs-trust { list-style: none; display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; margin: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem) 0 0; padding: 0; color: var(--on-dark-muted); font-weight: 600; font-size: 0.92rem; }
.cs-trust li { display: inline-flex; align-items: center; gap: 0.5ch; }
.cs-trust svg { width: 17px; height: 17px; color: oklch(0.75 0.14 162); }
@media (max-width: 620px) { .cs-form { flex-direction: column; } .cs-form .btn { width: 100%; } .cs-trust { gap: 0.8rem 1.2rem; } }

/* --------------------------------------------------------------- Reveal motion
   Content is visible by default; only hidden once JS marks the body .js-reveal,
   so a headless render or a no-JS visitor never sees a blank section. */
.reveal { transition: opacity var(--dur-4) var(--ease-expo), transform var(--dur-4) var(--ease-expo); }
.reveal-stagger > * { transition: opacity var(--dur-4) var(--ease-expo), transform var(--dur-4) var(--ease-expo); }
.js-reveal .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
.js-reveal .reveal-stagger:not(.in) > * { opacity: 0; transform: translateY(18px); }
.reveal.in, .reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 350ms; }

/* --------------------------------------------------------------- Signature motion
   One orchestrated hero entrance + a few earned micro-moments, not fade-on-every-section. */
@keyframes heroRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hlSweep { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-bg { animation: fadeIn 1.3s var(--ease-out) both; }
.hero .hero-inner > .reveal.in { animation: heroRise 0.78s var(--ease-expo) both; }
.hero .hero-inner > .reveal.in:nth-child(1) { animation-delay: 0.06s; }
.hero .hero-inner > .reveal.in:nth-child(2) { animation-delay: 0.20s; }
.hero .hero-inner > .reveal.in:nth-child(3) { animation-delay: 0.34s; }
/* the green highlight wipes in left-to-right after the headline settles */
.hero h1 .u { background-size: 0% 100%; animation: hlSweep 0.62s var(--ease-out) 0.52s both; }

/* Button press feedback */
.btn:active { transform: translateY(0) scale(0.975); }
.btn.is-loading { pointer-events: none; color: transparent; position: relative; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 1.15em; height: 1.15em; border-radius: 50%;
  border: 2.5px solid var(--on-primary); border-right-color: transparent; animation: spin 0.6s linear infinite;
}

/* Count-up numbers hold their box so the layout never jumps as they tick */
[data-countup] { font-variant-numeric: tabular-nums; }

/* Deal card price nudges up on hover (already lifts + zooms image) */
.deal:hover .deal-price .amt { color: var(--primary-ink); transition: color var(--dur-2) var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero .hero-inner > .reveal.in, .hero h1 .u { animation: none !important; }
  .hero h1 .u { background-size: 100% 100%; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .deal:hover, .btn:hover, .deal:hover .deal-media img { transform: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* --------------------------------------------------------------- Responsive */
@media (max-width: 1024px) {
  .honest-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-alert-strip { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .search-fields { grid-template-columns: 1fr auto 1fr 1fr; grid-auto-rows: auto; }
  .field-pax { grid-column: 1 / -1; }
}
@media (max-width: 940px) {
  .primary-nav, .header-actions .link-quiet.hide-sm { display: none; }
  .nav-toggle { display: inline-grid; margin-left: auto; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
  .nav-toggle svg { width: 22px; height: 22px; }
  .header-actions { margin-left: 0; }
  .value-grid { grid-template-columns: 1fr; }
  .result-row { grid-template-columns: 1fr auto; grid-template-areas: "air buy" "times times"; row-gap: 0.9rem; }
  .result-air { grid-area: air; } .result-buy { grid-area: buy; } .result-times { grid-area: times; }
}
@media (max-width: 620px) {
  .search-fields { grid-template-columns: 1fr; }
  .swap-btn { justify-self: end; margin: -22px 12px -10px auto; transform: rotate(90deg); }
  .swap-btn.spin { transform: rotate(270deg); }
  .search-actions { grid-template-columns: 1fr; }
  .search-submit { width: 100%; }
  .trip-tabs { width: 100%; justify-content: space-between; }
  .trip-tabs button { flex: 1; }
  .deals-head { flex-direction: column; align-items: flex-start; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
  .contact-form .row2 { grid-template-columns: 1fr; }
  .footer-alert { flex-direction: column; align-items: stretch; }
  .footer-alert .btn { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .pax-pop { right: auto; left: 0; width: min(320px, calc(100vw - 3rem)); }
}

/* Mobile nav drawer */
.mobile-nav { position: fixed; inset: 0; z-index: var(--z-modal); display: none; }
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav .scrim { position: absolute; inset: 0; background: oklch(0.2 0.03 165 / 0.4); backdrop-filter: blur(2px); }
.mobile-nav .drawer { position: absolute; top: 0; right: 0; width: min(340px, 88vw); height: 100%; background: var(--bg); box-shadow: var(--shadow-lg); padding: 1.2rem; display: flex; flex-direction: column; gap: 0.3rem; animation: slidein var(--dur-3) var(--ease-out); }
@keyframes slidein { from { transform: translateX(100%); } to { transform: none; } }
.mobile-nav .drawer .close { align-self: flex-end; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); cursor: pointer; display: grid; place-items: center; }
.mobile-nav .drawer a { padding: 0.85rem 0.6rem; font-weight: 600; font-size: 1.1rem; color: var(--ink); text-decoration: none; border-radius: var(--r-sm); display: flex; align-items: center; gap: 0.6ch; }
.mobile-nav .drawer a:hover { background: var(--surface); }
.mobile-nav .drawer .btn { margin-top: 0.8rem; }
