:root {
  --navy: #05203c;
  --navy-2: #073b7a;
  --cream: #e8f4ff;
  --white: #ffffff;
  --gold: #00a698;
  --gold-2: #ff7a59;
  --ink: #10243d;
  --muted: #62738a;
  --line: rgba(5, 32, 60, 0.13);
  --green: #00a698;
  --green-dark: #00887a;
  --amber: #ffb02e;
  --orange: #ff6d3a;
  --ok: #00875a;
  --danger: #d92d20;
  --shadow: 0 18px 42px rgba(5, 32, 60, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f3f8ff; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 32, 60, 0.96);
  color: var(--white);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; font-weight: 900; }
.logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
  flex: 0 0 auto;
  overflow: hidden;
}
.logo img {
  width: 100%;
  height: 100%;
  display: block;
}
.brand small { display: block; color: #77e4ff; font-size: .73rem; text-transform: uppercase; font-weight: 800; }
.desktop-nav { display: none; gap: 18px; align-items: center; font-weight: 800; color: rgba(255,255,255,.82); }
.desktop-nav a.active, .desktop-nav a:hover { color: #77e4ff; }

.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5,32,60,.94), rgba(7,59,122,.82) 43%, rgba(0,166,152,.25)),
    image-set(url("/static/assets/hero.webp") type("image/webp"), url("/static/assets/hero.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: 58% center;
}
.hero-inner { min-height: 78vh; display: grid; align-items: center; padding: 58px 0 94px; }
.landing-hero {
  background:
    linear-gradient(90deg, rgba(5,32,60,.95), rgba(7,59,122,.84) 43%, rgba(0,166,152,.34)),
    image-set(url("/static/assets/hero.webp") type("image/webp"), url("/static/assets/hero.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: 60% center;
}
.landing-hero .hero-inner {
  grid-template-columns: minmax(0,1fr);
  gap: 26px;
  min-height: 72vh;
  padding: 48px 0 56px;
}
.hero-copy { max-width: 680px; }
.landing-hero h1 {
  max-width: 10.5ch;
  margin-bottom: 18px;
  font-size: clamp(3rem, 10vw, 5.9rem);
}
.hero-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 24px 0 26px;
  max-width: 660px;
}
.hero-metrics span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  font-weight: 850;
}
.hero-metrics strong { color: var(--gold-2); font-size: 1.05rem; }
.booking-preview {
  display: grid;
  gap: 16px;
  width: min(100%, 460px);
  padding: 18px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 58px rgba(5,32,60,.28);
}
.booking-preview-head,
.route-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.booking-preview-head strong { color: var(--navy); }
.route-preview {
  padding: 15px;
  border: 1px solid rgba(0,166,152,.28);
  border-radius: 8px;
  background: var(--white);
}
.route-preview > div:not(.route-swap) {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.route-preview span,
.booking-preview-grid small {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}
.route-preview strong {
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
}
.route-preview small { color: var(--muted); font-weight: 800; }
.route-swap {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--navy);
  background: #e8f4ff;
  border: 1px solid rgba(0,166,152,.35);
}
.booking-preview-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
.booking-preview-grid span {
  display: grid;
  gap: 2px;
  min-height: 66px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.booking-preview-grid strong {
  color: var(--navy);
  font-size: .95rem;
  line-height: 1.25;
}
.booking-preview .btn {
  width: 100%;
  border-radius: 8px;
}
.landing-search-card {
  align-content: start;
}
.landing-search-card .form-grid {
  gap: 10px;
}
.landing-search-card input,
.landing-search-card select {
  min-height: 42px;
  border-radius: 10px;
  padding: 9px 10px;
}
.landing-search-card .segmented button {
  min-height: 38px;
}
.landing-search-card .compact-counters {
  gap: 8px;
}
.landing-search-card .counter {
  grid-template-columns: 1fr auto auto auto;
  min-height: auto;
  padding: 10px;
  border-radius: 8px;
  box-shadow: none;
}
.landing-search-card .counter strong {
  font-size: .82rem;
  line-height: 1.15;
}
.landing-search-card .counter button {
  width: 32px;
  height: 32px;
}
.eyebrow { color: #77e4ff; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow.dark { color: var(--green-dark); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 12ch; font-size: clamp(2.65rem, 11vw, 5.8rem); line-height: .96; letter-spacing: 0; margin-bottom: 20px; }
h2 { color: var(--navy); font-size: clamp(2rem, 7vw, 3.2rem); line-height: 1.08; letter-spacing: 0; margin-bottom: 12px; }
h3 { color: var(--navy); margin-bottom: 8px; }
.lead { color: rgba(255,255,255,.88); max-width: 560px; font-size: clamp(1.08rem, 3.5vw, 1.35rem); }
.section-lead { color: var(--muted); max-width: 760px; font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { min-height: 50px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; font-weight: 900; box-shadow: 0 14px 30px rgba(7,26,51,.17); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { color: var(--white); background: linear-gradient(135deg,#00a6ff,var(--green)); }
.btn-navy { color: var(--white); background: linear-gradient(135deg,var(--navy-2),var(--navy)); }
.btn-light { color: var(--navy); background: #eef7ff; }
.btn-gold { color: var(--white); background: linear-gradient(135deg,#ff7a59,#ffb02e); }
.btn-danger { color: var(--white); background: var(--danger); }
.btn-label-short { display: none; }

main section { padding: 62px 0; }
.landing-content { background: linear-gradient(180deg,#e8f4ff,#ffffff 42%,#f6fbff); }
.landing-content > .shell { display: grid; gap: 30px; }
.destination-band,
.landing-cta {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(0,166,152,.2);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(5,32,60,.08);
}
.destination-band h2,
.section-heading h2,
.landing-cta h2 {
  max-width: 760px;
  font-size: clamp(1.8rem, 4vw, 2.85rem);
}
.landing-section {
  padding: 18px 0 6px;
}
.section-heading {
  margin-bottom: 18px;
}
.service-grid {
  grid-template-columns: 1fr;
}
.service-tile {
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(5,32,60,.07);
}
.service-tile span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--green-dark);
  font-weight: 950;
}
.service-tile h3 { font-size: 1.05rem; }
.service-tile p { color: var(--muted); margin-bottom: 0; }
.process-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.14);
  box-shadow: 0 16px 38px rgba(7,26,51,.12);
}
.process-strip div {
  display: grid;
  gap: 3px;
  min-height: 94px;
  padding: 16px;
  background: linear-gradient(135deg,var(--navy),var(--navy-2));
}
.process-strip span {
  color: #77e4ff;
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}
.process-strip strong {
  color: var(--white);
  font-size: .96rem;
  line-height: 1.3;
}
.landing-cta { background: linear-gradient(135deg,#e8f4ff,#ffffff); }
#page-results { padding-top: 32px; }
.grid { display: grid; gap: 16px; }
.cards { grid-template-columns: 1fr; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: 0 12px 28px rgba(5,32,60,.08); }
.card.gold { border-color: rgba(0,166,152,.28); background: #eaf7ff; }
.card.green { border-color: rgba(21,128,61,.45); background: #f0fdf4; }
.card.amber { border-color: rgba(245,182,66,.55); background: #fffbeb; }
.card.orange { border-color: rgba(220,122,25,.6); background: #fff7ed; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 8px 12px; background: #e8f4ff; border: 1px solid rgba(0,166,152,.22); color: var(--navy); font-weight: 850; }
.badge { display: inline-flex; width: fit-content; border-radius: 999px; padding: 6px 10px; color: var(--white); background: var(--green); font-size: .78rem; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.badge.regular { background: #e0ecff; }
.badge.group { background: linear-gradient(135deg,#ff7a59,#ffb02e); }
.notice { margin: 12px 0; padding: 12px; border-radius: 12px; font-weight: 850; background: #e8f4ff; border: 1px solid rgba(0,166,152,.22); }
.notice.green { background: #dcfce7; border-color: #86efac; color: #14532d; }
.notice.amber { background: #fef3c7; border-color: #facc15; color: #78350f; }
.notice.orange { background: #ffedd5; border-color: #fb923c; color: #7c2d12; }

.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.field { display: grid; gap: 7px; }
.passenger-panel {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}
.passenger-panel legend {
  padding: 0 8px;
  color: var(--navy);
}
.passenger-panel input[readonly] {
  color: var(--muted);
  background: #f8fafc;
}
label { color: var(--navy); font-weight: 850; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 11px 12px;
  color: var(--ink);
}
textarea { min-height: 90px; resize: vertical; }
.segmented { display: grid; grid-template-columns: repeat(2,1fr); padding: 4px; gap: 4px; border-radius: 999px; background: #e8f4ff; }
.segmented button { min-height: 42px; border: 0; border-radius: 999px; background: transparent; font-weight: 900; color: var(--navy); }
.segmented button.active { background: var(--white); box-shadow: 0 8px 18px rgba(7,26,51,.1); }
.counter { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 10px; }
.counter button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 950; }
.check { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); }
.check input { width: 20px; min-height: 20px; margin-top: 2px; }
.tableish { display: grid; gap: 10px; }
.row { display: grid; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.muted { color: var(--muted); }
.amount { color: var(--navy); font-size: 1.35rem; font-weight: 950; }
.hidden { display: none !important; }
.page { display: none; }
.page.active { display: block; }
.split { display: grid; gap: 18px; }

.results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.results-heading h2 { margin-bottom: 4px; }
#page-results .results-heading h2 {
  font-size: 2.15rem;
  line-height: 1;
}
.results-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.results-actions .btn {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.results-heading strong {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  white-space: nowrap;
}
.shared-notice,
.result-notice {
  margin: 0 0 8px;
  padding: 8px 10px;
  border: 1px solid rgba(0,166,152,.25);
  border-radius: 8px;
  color: var(--navy);
  background: #e8f4ff;
  font-weight: 800;
}
.shared-notice.below-results { margin: 12px 0 0; }
.results-toolbar {
  margin-bottom: 10px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(5,32,60,.06);
}
.toolbar-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
  align-items: end;
}
.toolbar-grid .field { gap: 4px; font-size: .82rem; }
.toolbar-grid input,
.toolbar-grid select {
  min-height: 36px;
  border-radius: 8px;
  padding: 6px 8px;
}
.compact-check {
  min-height: 36px;
  align-items: center;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: .85rem;
}
.compact-check small {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-size: .72rem;
  font-weight: 950;
}
.results-stack { display: grid; gap: 10px; }
.live-search-wait {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(170px, 240px) 1fr;
  align-items: center;
  gap: 26px;
  padding: 26px;
  border: 1px solid rgba(0,166,152,.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg,rgba(232,244,255,.96),rgba(255,255,255,.98)),
    radial-gradient(circle at 14% 20%,rgba(0,166,152,.14),transparent 32%);
  box-shadow: 0 18px 42px rgba(5,32,60,.1);
  overflow: hidden;
}
.search-radar {
  width: min(52vw, 220px);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from -12deg,rgba(7,26,51,.12) 0 8deg,transparent 8deg 24deg),
    radial-gradient(circle,rgba(255,255,255,.95) 0 28%,rgba(0,166,152,.16) 29% 100%);
  border: 1px solid rgba(7,26,51,.12);
}
.group-ticket-wait {
  background:
    linear-gradient(135deg,rgba(255,255,255,.96),rgba(246,251,255,.98)),
    radial-gradient(circle at 14% 20%,rgba(255,122,89,.18),transparent 34%);
}
.group-radar {
  background:
    repeating-conic-gradient(from -12deg,rgba(7,26,51,.11) 0 8deg,transparent 8deg 24deg),
    radial-gradient(circle,rgba(255,255,255,.95) 0 28%,rgba(0,166,152,.14) 29% 100%);
}
.search-radar::before,
.search-radar::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 1px solid rgba(7,26,51,.16);
}
.search-radar::after { inset: 38%; }
.radar-ring {
  position: absolute;
  inset: 16%;
  border: 2px solid rgba(45,181,121,.28);
  border-radius: 50%;
  animation: radarPulse 1.8s ease-out infinite;
}
.radar-ring.delay { animation-delay: .7s; }
.plane-dot {
  width: 18px;
  height: 18px;
  position: absolute;
  top: 48%;
  left: 48%;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(45,181,121,.16);
  transform-origin: 10px 10px;
  animation: planeSweep 2.8s linear infinite;
}
.live-search-copy {
  min-width: 0;
}
.live-search-copy h3 {
  margin: 6px 0 8px;
  font-size: clamp(1.35rem, 4vw, 2.15rem);
  line-height: 1.05;
}
.live-search-copy p {
  color: var(--muted);
  margin-bottom: 14px;
}
.wait-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.wait-steps span {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(7,26,51,.1);
  font-size: .82rem;
  font-weight: 900;
}
.wait-steps span.active {
  color: var(--white);
  background: var(--navy);
}
.wait-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(7,26,51,.1);
  overflow: hidden;
}
.wait-bar span {
  display: block;
  width: 44%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,#00a6ff,var(--green),#ff7a59);
  animation: waitSlide 1.65s ease-in-out infinite;
}
.wait-note {
  margin-top: 10px;
  font-size: .9rem;
}
@keyframes radarPulse {
  from { opacity: .7; transform: scale(.58); }
  to { opacity: 0; transform: scale(1.28); }
}
@keyframes planeSweep {
  from { transform: rotate(0deg) translateX(72px); }
  to { transform: rotate(360deg) translateX(72px); }
}
@keyframes waitSlide {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(85%); }
  100% { transform: translateX(230%); }
}
.regular-results-section,
.group-deals-section {
  display: grid;
  gap: 10px;
}
.group-deals-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(7,26,51,.12);
}
.subsection-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}
.subsection-heading h3 {
  margin: 0;
  font-size: 1.05rem;
}
.subsection-heading p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .92rem;
}
.subsection-heading strong {
  color: var(--navy);
  white-space: nowrap;
}
.flight-card {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(5,32,60,.08);
}
.flight-card.group-seat {
  border-color: rgba(255,122,89,.34);
  background: linear-gradient(180deg,#ffffff,#fff3ef);
}
.flight-airline {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 9px;
  min-width: 0;
}
.airline-logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  color: var(--white);
  background: #ffffff;
  border: 1px solid rgba(5,32,60,.12);
  box-shadow: 0 8px 18px rgba(5,32,60,.08);
  font-weight: 950;
}
.airline-logo span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg,#00a6ff,var(--green));
}
.airline-logo img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}
.airline-logo.is-loaded span { display: none; }
.badge-line { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 3px; }
.badge.verified { background: #fff0bd; }
.flight-airline h3 {
  margin: 0;
  font-size: .92rem;
  line-height: 1.2;
}
.flight-airline p,
.flight-fare p,
.flight-details p,
.fare-row span {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
}
.travel-date {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 850;
  margin-bottom: 4px;
}
.travel-date span {
  color: var(--green-dark);
  background: #e6fffb;
  border-radius: 999px;
  padding: 1px 7px;
}
.journey-line {
  display: grid;
  grid-template-columns: minmax(82px,1fr) minmax(100px,1.1fr) minmax(82px,1fr);
  gap: 6px;
  align-items: center;
}
.journey-line strong {
  display: block;
  color: var(--navy);
  font-size: .96rem;
  line-height: 1.18;
}
.journey-line span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
}
.journey-mid {
  position: relative;
  text-align: center;
  padding: 0 8px;
}
.journey-mid::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  border-top: 1px solid rgba(7,26,51,.18);
}
.journey-mid span,
.journey-mid strong {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 6px;
  background: var(--white);
}
.journey-mid strong { font-size: .85rem; }
.day-shift {
  display: inline-block;
  margin-left: 3px;
  color: #7c5b0f;
  font-size: .74rem;
}
.group-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  color: #7c5b0f;
  font-size: .82rem;
  font-weight: 850;
}
.flight-fare {
  display: grid;
  gap: 3px;
  align-content: center;
}
.flight-fare > span {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 850;
}
.flight-fare > strong {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.1;
}
.flight-fare .btn {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: none;
}
.mini-options {
  display: grid;
  gap: 4px;
  margin: 2px 0;
}
.mini-options span {
  display: grid;
  gap: 1px;
  padding: 5px 7px;
  border: 1px solid rgba(0,166,152,.24);
  border-radius: 10px;
  background: #f3f8ff;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.2;
}
.mini-options strong {
  color: var(--navy);
  font-size: .8rem;
}
.flight-details {
  display: none;
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.flight-details.open { display: grid; gap: 12px; }
.details-grid {
  display: grid;
  gap: 12px;
}
.flight-details h4 {
  margin: 0 0 6px;
  color: var(--navy);
}
.fare-options { display: grid; gap: 8px; }
.fare-options-loading,
.fare-options-empty,
.fare-options-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 850;
}
.fare-options-loading,
.fare-options-empty {
  color: var(--navy);
  background: #e8f4ff;
  border: 1px solid rgba(0,166,152,.24);
}
.fare-options-error {
  color: #7c2d12;
  background: #ffedd5;
  border: 1px solid #fb923c;
}
.fare-row {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
}
.fare-row > div { display: grid; gap: 2px; }
.fare-row strong { color: var(--navy); }
.fare-row .btn {
  min-height: 44px;
  border-radius: 12px;
  box-shadow: none;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 28px rgba(5,32,60,.12);
}
.bottom-nav a { min-height: 62px; display: grid; place-items: center; gap: 2px; color: var(--muted); font-size: .76rem; font-weight: 900; }
.bottom-nav a.active { color: var(--green-dark); }
.float-wa { position: fixed; z-index: 45; right: 16px; bottom: calc(88px + env(safe-area-inset-bottom)); width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: linear-gradient(135deg,var(--green),var(--green-dark)); box-shadow: 0 18px 34px rgba(18,140,74,.32); }
.footer { padding: 26px 0 94px; color: rgba(255,255,255,.78); background: linear-gradient(135deg,#05203c,#073b7a); }
.footer .shell { display: grid; gap: 10px; }
.footer a { color: #77e4ff; font-weight: 900; }

.staff-layout { display: grid; gap: 16px; }
.status { font-weight: 950; color: var(--navy); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (min-width: 760px) {
  .shell { width: min(1180px, calc(100% - 56px)); }
  .desktop-nav { display: flex; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .landing-search-card .cards.three { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1.05fr .95fr; align-items: start; }
  .footer .shell { grid-template-columns: 1fr auto; }
  .toolbar-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .details-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .landing-hero .hero-inner { grid-template-columns: minmax(0,1.12fr) minmax(340px,.78fr); }
  .booking-preview { justify-self: end; }
  .destination-band,
  .landing-cta { grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .process-strip { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

@media (min-width: 900px) {
  .flight-card {
    grid-template-columns: minmax(138px, 16%) minmax(360px, 1fr) minmax(335px, 31%);
    align-items: center;
    min-height: 150px;
    padding: 8px 10px;
    column-gap: 12px;
    row-gap: 8px;
  }
  .flight-airline { grid-template-columns: 40px 1fr; }
  .travel-date { margin-bottom: 2px; }
  .journey-line {
    grid-template-columns: minmax(92px,.95fr) minmax(118px,1.1fr) minmax(92px,.95fr);
    gap: 5px;
  }
  .flight-fare {
    grid-template-columns: minmax(145px,1fr) minmax(168px,auto);
    align-items: center;
    column-gap: 12px;
    row-gap: 4px;
  }
  .flight-fare > span,
  .flight-fare > strong,
  .flight-fare p,
  .mini-options { grid-column: 1; }
  .flight-fare > span,
  .flight-fare > strong {
    white-space: nowrap;
  }
  .flight-fare p {
    max-width: 210px;
    line-height: 1.25;
  }
  .flight-fare .btn {
    grid-column: 2;
    grid-row: 1 / span 5;
    min-width: 168px;
    max-width: 190px;
  }
  .mini-options { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .mini-options span { min-width: 0; }
  .fare-row {
    grid-template-columns: minmax(130px,1.1fr) minmax(180px,1.25fr) minmax(150px,1fr) minmax(135px,.9fr) auto;
    align-items: center;
  }
}

@media (min-width: 1040px) {
  .cards.four { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .cards.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .staff-layout { grid-template-columns: 1.4fr .9fr; }
  .service-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .hero { background-position: 67% center; }
  .hero-inner { min-height: 83vh; padding-top: 42px; }
  .landing-hero .hero-inner { min-height: auto; padding: 28px 0 34px; }
  .landing-search-card { order: -1; }
  .landing-hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .booking-preview { display: grid; }
  .booking-preview-grid { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
  main section { padding: 48px 0; }
  .destination-band,
  .landing-cta { padding: 16px; }
  .service-tile { min-height: 0; }
  .service-tile span { margin-bottom: 14px; }
}

@media (min-width: 900px) {
  .bottom-nav { display: none; }
  .float-wa { bottom: 18px; }
  .footer { padding-bottom: 28px; }
  .results-toolbar {
    position: sticky;
    top: 82px;
    z-index: 25;
  }
}

@media (min-width: 1180px) {
  .toolbar-grid { grid-template-columns: 1.05fr 1.05fr .85fr .95fr .75fr .75fr .75fr 1.35fr .95fr .75fr; }
}

@media (max-width: 520px) {
  .results-heading {
    align-items: start;
    flex-direction: column;
  }
  .results-actions {
    width: 100%;
    justify-content: space-between;
  }
  .live-search-wait {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }
  .search-radar {
    width: min(64vw, 190px);
    justify-self: center;
  }
  .live-search-copy h3 {
    font-size: 1.35rem;
  }
  .wait-steps span {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }
  .toolbar-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .toolbar-grid .field { font-size: .78rem; }
  .toolbar-grid input,
  .toolbar-grid select {
    min-height: 34px;
    border-radius: 11px;
    padding: 5px 8px;
  }
  .compact-check {
    min-height: 34px;
    padding: 5px 7px;
    font-size: .78rem;
  }
  #filter-nearby-groups.closest-fallback,
  .compact-check:first-of-type { grid-column: 1 / -1; }
  .flight-card {
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
  }
  .flight-airline {
    grid-template-columns: 38px 1fr;
    align-items: center;
  }
  .airline-logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
  .journey-line {
    grid-template-columns: minmax(78px,1fr) minmax(92px,1fr) minmax(78px,1fr);
  }
  .journey-line strong { font-size: .94rem; }
  .journey-line span { font-size: .74rem; }
  .flight-fare {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 5px;
  }
  .flight-fare > span,
  .flight-fare > strong,
  .flight-fare p { grid-column: 1 / -1; }
  .flight-fare .btn {
    grid-column: 1 / -1;
    grid-row: auto;
    width: auto;
    min-width: 136px;
    justify-self: start;
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: .9rem;
  }
  .flight-fare .btn-label-full { display: none; }
  .flight-fare .btn-label-short { display: inline; }
}
