@charset "UTF-8";
/* ============================================
   FAREKITE — flight metasearch
   Theme adapted from Welohan: lime hero, royal blue, yellow accents,
   Sora headings + Inter body, dark pill nav.
   ============================================ */

:root {
  --blue: #2149e8;
  --blue-d: #1a3ac2;
  --blue-l: #4b6ef5;
  --lime: #f1f3e7;
  --yellow: #ffc727;
  --neon: #d9f024;
  --ink: #131518;
  --text: #5f6673;
  --lightblue: #ebf3fc;
  --white: #ffffff;
  --line: #e9eaf0;
  --green: #0f9d58;
  --red: #e5484d;
  --shadow: 0 20px 50px rgba(19, 21, 24, 0.10);
  --shadow-soft: 0 10px 30px rgba(19, 21, 24, 0.06);
  --r: 20px;
  --font-head: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
section, [id] { scroll-margin-top: 110px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

::selection { background: var(--blue); color: var(--white); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f5f6f8; }
::-webkit-scrollbar-thumb { background: #d3d7e0; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

.container { width: min(1150px, 92%); margin: 0 auto; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); font-weight: 700; line-height: 1.3; letter-spacing: -0.3px; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.section-sub { color: var(--text); max-width: 580px; }
.text-center { text-align: center; }
.section-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.section-head p { margin: 0 auto; }
section { padding: 90px 0; position: relative; }

/* yellow swoosh underline (welohan signature) */
.swoosh { position: relative; display: inline-block; }
.swoosh::after {
  content: '';
  position: absolute;
  left: 0; right: -26px;
  bottom: -14px;
  height: 24px;
  border: 3.5px solid transparent;
  border-bottom-color: var(--yellow);
  border-radius: 0 0 50% 45%;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.2px;
  cursor: pointer;
  border: none;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn .arr { transition: transform 0.35s; }
.btn:hover .arr { transform: translateX(5px); }
.btn-blue { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px rgba(33, 73, 232, 0.28); }
.btn-blue:hover { background: var(--blue-d); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(33, 73, 232, 0.38); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; transform: translateY(-2px); }

/* ---------- Phone strip ---------- */
/* Fixed promo strip. Its height is locked to 40px so the header offset
   (.site-header.with-strip { top: 40px }) always lines up — the contents never
   wrap onto a second line (which used to paint over the logo on phones). */
.phone-strip {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  height: 40px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  overflow: hidden;
}
.phone-strip-in {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: nowrap;
  white-space: nowrap;
  padding: 0 14px;
}
.ps-txt { display: inline-flex; align-items: center; gap: 8px; overflow: hidden; text-overflow: ellipsis; }
.ps-txt i { color: var(--yellow); flex: 0 0 auto; }
.ps-num {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--neon);
  letter-spacing: 0.4px;
  flex: 0 0 auto;
}
.ps-num:hover { text-decoration: underline; }
@media (max-width: 480px) {
  .phone-strip { font-size: 12px; }
  .phone-strip-in { gap: 9px; }
}

/* ---------- Header — clean white bar that matches the site ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  /* NOTE: no backdrop-filter here — it would make the header the containing
     block for its fixed descendants, trapping the mobile menu (.nav-links
     fixed inset:0) inside the 64px bar. A near-opaque background gives the
     same clean look without that side effect. */
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(19, 21, 24, 0.06);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.with-strip { top: 40px; }
.site-header.scrolled {
  padding: 10px 0;
  box-shadow: 0 8px 30px rgba(19, 21, 24, 0.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { height: 42px; width: auto; }
.site-header.slim .nav-wrap { justify-content: space-between; }

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  display: inline-block;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 10px;
  transition: background 0.25s, color 0.25s;
}
.nav-links a:hover { background: #f2f4f8; color: var(--ink); }
.nav-links a.active {
  background: var(--lightblue);
  color: var(--blue);
  font-weight: 600;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--blue);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 11px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  box-shadow: 0 8px 20px rgba(33, 73, 232, 0.22);
  transition: all 0.3s;
  white-space: nowrap;
}
.cta-arr { display: inline-flex; align-items: center; justify-content: center; transition: transform 0.3s; }
.cta-arr i { font-size: 11px; }
.nav-cta:hover { background: var(--blue-d); transform: translateY(-1px); }
.nav-cta:hover .cta-arr { transform: translateX(3px); }

/* Call-for-fares phone in the menu bar (fareleaders/farescraper style) */
.nav-phone { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.np-ic {
  width: 36px; height: 36px; flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lightblue);
  color: var(--blue);
  display: grid; place-items: center;
  font-size: 15px;
  transition: background 0.25s, color 0.25s;
}
.nav-phone:hover .np-ic { background: var(--blue); color: #fff; }
.np-txt { display: flex; flex-direction: column; line-height: 1.15; }
.np-txt small { font-size: 10.5px; color: var(--text); font-weight: 500; }
.np-txt b { font-family: var(--font-head); font-size: 15.5px; color: var(--ink); font-weight: 700; letter-spacing: 0.2px; }
.nav-phone:hover .np-txt b { color: var(--blue); }
@media (max-width: 560px) {
  .np-txt small { display: none; }
  .np-txt b { font-size: 14px; }
  .np-ic { width: 32px; height: 32px; font-size: 13px; }
}
/* On small phones the logo + spelled-out phone number + burger together are
   wider than the viewport and pushed the whole page into horizontal scroll.
   The call button keeps its tap target but drops to icon-only. */
@media (max-width: 480px) {
  .np-txt { display: none; }
  .logo img { width: 148px; height: auto; }
}

.hamburger { position: relative; display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 1300; }
.hamburger span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero + search ----------
   NO overflow:hidden here — the airport dropdown must be able to extend past
   the section edge. The decorative blobs get their own clipped layer. */
.hero {
  background: var(--lime);
  padding: 118px 0 56px;
  position: relative;
}
.hero.with-strip { padding-top: 155px; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; }
.blob-1 { width: 360px; height: 360px; background: #f6e79c; top: -90px; left: -110px; }
.blob-2 { width: 320px; height: 320px; background: #d2e6ff; bottom: -100px; right: 22%; }

.hero-head { text-align: center; max-width: 720px; margin: 0 auto 26px; position: relative; z-index: 2; }
.hero-head h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 10px; line-height: 1.2; }
.hero-head p { font-size: 15.5px; color: #4c5560; max-width: 560px; margin: 0 auto; }

/* the kite that floats beside the headline */
.hero-kite {
  position: absolute;
  top: -14px; right: -46px;
  width: 58px;
  opacity: 0.9;
  animation: kiteFloat 5s ease-in-out infinite;
  pointer-events: none;
}
/* Decorations must never widen the page: clip the hero on the x-axis only
   (overflow-x: clip creates no scroll container, so the search card's
   dropdown/calendar popovers keep overflowing downward untouched), and pull
   the kite inside the viewport once the hero-head spans the full width. */
.hero { overflow-x: clip; }
@media (max-width: 1100px) {
  .hero-kite { right: -6px; }
}
@keyframes kiteFloat { 0%,100% { transform: translateY(0) rotate(8deg); } 50% { transform: translateY(-10px) rotate(3deg); } }

/* ---------- Search card (form structure mirrors the partner site) ---------- */
.search-card {
  position: relative;
  z-index: 3;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 24px 24px 20px;
  max-width: 1050px;
  margin: 0 auto;
}
/* compact variant used on the results page (editable search) */
.search-card.compact { padding: 16px 18px; box-shadow: var(--shadow-soft); }
.search-card.compact .trip-tabs { margin-bottom: 12px; }
.search-card.compact .trip-tabs button { padding: 7px 15px; font-size: 12.5px; }

.trip-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.trip-tabs button {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 13.5px;
  transition: all 0.25s;
}
.trip-tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.search-grid {
  display: grid;
  /* From/To carry long "City (IATA)" labels, so they get a real minimum width
     and the largest share of the row; the single row only survives while every
     field still fits — below that it wraps to two columns (see media query). */
  grid-template-columns:
    minmax(180px, 1.4fr)   /* From — fits "San Francisco (SFO)" */
    minmax(180px, 1.4fr)   /* To */
    minmax(130px, 1fr)     /* Depart — fits "Wed, Aug 20" */
    minmax(130px, 1fr)     /* Return */
    minmax(172px, 1.2fr)   /* Travellers — fits "2 Travellers · Premium" */
    max-content;           /* Search — never narrower than its own label */
  /* The six minimums plus these gaps must stay under the card's inner width
     (~1000px at a 1280 screen) or every field collapses and clips. */
  gap: 10px;
  align-items: end;
}
.search-grid > * { min-width: 0; }
/* When six fields can no longer fit at a readable width, drop to two roomy
   columns so From/To always show the full airport name. */
@media (max-width: 1180px) {
  .search-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .search-grid .field:last-child { grid-column: 1 / -1; }
  .search-grid .field:last-child label { display: none; }
}

.field { position: relative; min-width: 0; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: #9aa1ad;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.field input, .field select {
  width: 100%;
  min-width: 0;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  /* 13.5px + tighter side padding: the longest real values ("Wed, Aug 20",
     "2 Travellers · Prem. Economy", "San Francisco (SFO)") now sit inside
     their boxes instead of being clipped. */
  padding: 12px 13px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  transition: border 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(33, 73, 232, 0.10);
}
.pax-toggle {
  cursor: pointer;
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* From/To airport fields: plane icons inside, swap circle between them */
.field.has-ap input { padding-left: 35px; }
/* The swap button straddles the From/To gap and reaches ~12px into the To
   field, exactly where its plane icon sat — shift the icon (and the input's
   text) right so nothing is covered. */
#toField .ap-ic { left: 26px; }
#toField.has-ap input, .field.has-ap#toField input { padding-left: 49px; }
.field .ap-ic {
  position: absolute;
  left: 12px;
  bottom: 16px;
  font-size: 13px;
  color: #9aa1ad;
  pointer-events: none;
  z-index: 2;
}
/* keep the airport name on one line, trimming with an ellipsis only if truly needed */
#fromInput, #toInput { text-overflow: ellipsis; }
.swap-btn {
  position: absolute;
  right: -24px;
  bottom: 6px;
  z-index: 6;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #dbe2f0;
  color: var(--blue);
  font-size: 13px;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(19, 21, 24, 0.08);
  transition: transform 0.3s, border-color 0.3s, color 0.3s;
}
.swap-btn:hover { border-color: var(--blue); transform: rotate(180deg); }

.search-btn {
  /* The grid column is `auto`, so a 100% width resolved against a track that
     ignored the nowrap label — the text spilled past the blue pill. Sizing to
     the content (with a floor) keeps the label inside at every width. */
  width: auto;
  min-width: 100%;
  min-height: 47px;
  padding: 0 18px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(33, 73, 232, 0.28);
  transition: all 0.3s;
  white-space: nowrap;
}
.search-btn:hover { background: var(--blue-d); transform: translateY(-1px); }

/* Small numbered chip beside the From/To labels — "1" then "2". */
.search-grid .step-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px; height: 15px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--line);
  color: var(--text);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
  transition: background 0.25s ease, color 0.25s ease;
}
.search-grid .field.step-done .step-dot { background: #1c9d5b; color: #fff; }

/* Step confirmation: green wash + tick that fades out. */
@keyframes fl-step-done {
  0% { box-shadow: 0 0 0 0 rgba(28, 157, 91, 0.34); background-color: rgba(28, 157, 91, 0.10); }
  55% { box-shadow: 0 0 0 6px rgba(28, 157, 91, 0); background-color: rgba(28, 157, 91, 0.10); }
  100% { box-shadow: 0 0 0 0 rgba(28, 157, 91, 0); background-color: transparent; }
}
.search-grid .field.step-done input { animation: fl-step-done 1.5s ease-out; border-color: #1c9d5b; }
.search-grid .field.step-done::after {
  content: '✓';
  position: absolute;
  right: 12px; bottom: 12px;
  color: #1c9d5b;
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
  animation: fl-step-tick 1.5s ease-out forwards;
  pointer-events: none;
}
@keyframes fl-step-tick {
  0% { opacity: 0; transform: scale(0.5); }
  18% { opacity: 1; transform: scale(1.15); }
  30% { transform: scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes fl-step-next {
  0%, 100% { box-shadow: 0 0 0 0 rgba(33, 73, 232, 0); }
  50% { box-shadow: 0 0 0 5px rgba(33, 73, 232, 0.20); }
}
.search-grid .field.step-next input, .datefield.step-next {
  animation: fl-step-next 1.1s ease-in-out 2;
  border-color: var(--blue);
}
@media (prefers-reduced-motion: reduce) {
  .search-grid .field.step-done input, .search-grid .field.step-done::after,
  .search-grid .field.step-next input, .datefield.step-next { animation: none; }
  .search-grid .field.step-done::after { opacity: 1; }
}

/* ---- Date fields + range picker (Google-Flights style) ---- */
.datefield {
  width: 100%;
  min-width: 0;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 13px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: border 0.15s;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  line-height: 1.35;
}
.datefield:hover { border-color: #cfd8e3; }
.datefield:focus-visible { outline: none; border-color: var(--blue); }
.datefield.filled { border-color: #cfd8e3; }
.datefield .dfval {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.datefield .dfval.ph { color: #98a6b5; font-weight: 600; }
.datefield::before {
  content: '\f073';
  font-family: 'Font Awesome 6 Free';
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  color: var(--blue);
  opacity: 0.8;
}

.fldp-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(19, 21, 24, 0.35);
  z-index: 1400;
  display: none;
}
.fldp-backdrop.show { display: block; }
body.fldp-lock { overflow: hidden; }

.fldp {
  position: absolute;
  z-index: 1401;
  display: none;
  width: min(680px, calc(100vw - 24px));
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 16px 18px 12px;
  font-family: var(--font-body);
}
.fldp.show { display: block; }
.fldp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.fldp-fields { display: flex; gap: 10px; flex: 1; min-width: 0; }
.fldp-f {
  flex: 1;
  min-width: 0;
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: var(--font-body);
}
.fldp-f.on { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.fldp-f span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9aa1ad;
}
.fldp-f b {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fldp.oneway .fldp-f[data-side="end"] { display: none; }
.fldp-x {
  border: 0;
  background: transparent;
  font-size: 17px;
  color: var(--text);
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 50%;
}
.fldp-x:hover { background: #f5f6f8; }
.fldp-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
  font-size: 11.5px;
  font-weight: 800;
  color: #9aa1ad;
  text-align: center;
  padding-bottom: 6px;
}
.fldp-dow span { padding: 2px 0; }
.fldp-body { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.fldp-body.scroll { grid-template-columns: 1fr; gap: 18px; max-height: none; }
.fldp-m { min-width: 0; }
.fldp-mt {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin: 2px 0 8px;
}
.fldp-g { display: grid; grid-template-columns: repeat(7, 1fr); }
.fldp-p { height: 38px; }
/* Day cell: the coloured band is the CELL, the circle the inner <i>, so a
   continuous range reads as one bar with rounded ends. */
.fldp-d {
  position: relative;
  height: 38px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.fldp-d i {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  margin: 2px auto;
  border-radius: 50%;
  font-style: normal;
}
.fldp-d:hover:not(.off) i { background: var(--lightblue); }
.fldp-d.off { color: #c3ccd6; cursor: default; }
.fldp-d.mid::before {
  content: '';
  position: absolute;
  inset: 2px 0;
  background: var(--lightblue);
  z-index: 1;
}
.fldp-d.mid.prev::before { background: #f1f5f9; }
.fldp-d.sel i { background: var(--blue); color: #fff; }
.fldp-d.s1::before { content: ''; position: absolute; inset: 2px 0 2px 50%; background: var(--lightblue); z-index: 1; }
.fldp-d.s2::before { content: ''; position: absolute; inset: 2px 50% 2px 0; background: var(--lightblue); z-index: 1; }
.fldp-d.only::before { display: none; }
.fldp-nav {
  position: absolute;
  top: 78px;
  border: 1px solid var(--line);
  background: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 17px;
  color: var(--ink);
  line-height: 1;
  z-index: 3;
}
.fldp-prev { left: 14px; }
.fldp-next { right: 14px; }
.fldp-nav:disabled { opacity: 0.3; cursor: default; }
.fldp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 10px;
}
.fldp-hint { font-size: 13px; color: var(--text); font-weight: 600; }
.fldp-reset, .fldp-done {
  border: 0;
  border-radius: 10px;
  padding: 9px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.fldp-reset { background: transparent; color: var(--text); }
.fldp-done { background: var(--blue); color: #fff; margin-left: 6px; }
.fldp-trip {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.fldp-trip:hover { border-color: var(--ink); }
.fldp-trip[hidden] { display: none !important; }
@media (max-width: 520px) {
  .fldp-foot .fldp-hint { display: none; }
}

/* Phones: full-height sheet with a continuous scroll of months. */
@media (max-width: 760px) {
  .fldp {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    border-radius: 0;
    border: 0;
    padding: 12px 14px 0;
    display: none;
    flex-direction: column;
  }
  .fldp.show { display: flex; }
  .fldp-nav { display: none; }
  .fldp-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
  }
  .fldp-dow { position: sticky; top: 0; background: #fff; z-index: 4; }
  .fldp-foot { position: sticky; bottom: 0; background: #fff; padding-bottom: 14px; }
  .fldp-done { flex: 0 0 auto; }
}

/* ---- Airport autocomplete dropdown ---- */
.ac-list {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-top: 6px;
  z-index: 1300;
  max-height: 300px;
  overflow: auto;
  display: none;
  min-width: 300px;
}
.ac-list.show { display: block; }
.ac-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f5f6f8;
}
.ac-item:hover, .ac-item.active { background: var(--lightblue); }
.ac-item .ac-ico {
  width: 30px; height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f5f6f8;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.ac-item.active .ac-ico, .ac-item:hover .ac-ico { background: #fff; color: var(--blue); }
.ac-item .ac-txt { min-width: 0; flex: 1; }
.ac-item .ac-name, .ac-item .ac-sub { display: block; }
.ac-item .ac-name {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ac-item .ac-sub {
  font-size: 12.5px;
  color: var(--text);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ac-item .code {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text);
  background: #f5f6f8;
  padding: 4px 9px;
  border-radius: 7px;
  flex: 0 0 auto;
}
.ac-item.active .code, .ac-item:hover .code { background: #fff; color: var(--blue); }
.ac-empty { padding: 18px 14px; color: var(--text); font-size: 14px; text-align: center; }
@media (max-width: 760px) {
  .ac-list { left: 0; right: 0; width: auto; min-width: 0; }
}

/* ---- Passengers & class popover ---- */
.pax-pop {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px;
  width: 280px;
  z-index: 1300;
  display: none;
  max-height: min(72vh, 460px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.pax-pop.show { display: block; }
.pax-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; }
.pax-row b { font-family: var(--font-head); font-size: 13.5px; color: var(--ink); }
.pax-row .pmut { font-size: 11.5px; color: var(--text); }
.pax-row select {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
  background: #fff;
}
.pax-row .stepper { display: flex; align-items: center; gap: 12px; }
.stepper button {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
  line-height: 1;
}
.stepper button:hover { border-color: var(--blue); color: var(--blue); }
.stepper span { font-family: var(--font-head); min-width: 18px; text-align: center; font-size: 14px; font-weight: 700; color: var(--ink); }
.pax-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 10px;
}
.pax-actions button {
  border: 0;
  border-radius: 10px;
  padding: 8px 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.pax-actions .pax-cancel { background: transparent; color: var(--text); }
.pax-actions .pax-done { background: var(--blue); color: #fff; }
.pax-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(19, 21, 24, 0.35);
  z-index: 1299;
}
@media (max-width: 760px) {
  .pax-pop {
    position: fixed;
    top: auto;
    left: 12px; right: 12px; bottom: 12px;
    width: auto;
    z-index: 1400;
    border-radius: 18px;
  }
}
body.ac-open { overflow: hidden; }

/* trust chips under search */
.trust-chips { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; justify-content: center; position: relative; z-index: 2; }
.trust-chips span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #3a4252; }
.trust-chips b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px; height: 19px;
  min-width: 19px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--neon);
  font-size: 10px;
  font-weight: 700;
}

/* ---------- Destination cards ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dest-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 168px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}
a.dest-card { text-decoration: none; }  /* cards are real links now (SEO) */
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dest-card .dc-tag { font-size: 10.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; opacity: 0.8; }
.dest-card .dc-city { font-family: var(--font-head); font-size: 21px; font-weight: 700; line-height: 1.2; }
.dest-card .dc-country { font-size: 12.5px; opacity: 0.85; }
/* real destination photo + a dark shade so the label stays legible */
.dest-card .dc-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.dest-card:hover .dc-photo { transform: scale(1.08); }
.dest-card .dc-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 20, 35, 0.15) 0%, rgba(15, 20, 35, 0.30) 45%, rgba(15, 20, 35, 0.82) 100%);
}
.dest-card > span { position: relative; z-index: 2; }
.dest-card .dc-ic {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 13px;
  transition: background 0.3s, transform 0.3s;
}
.dest-card:hover .dc-ic { background: var(--yellow); color: var(--ink); transform: rotate(45deg); }
/* gradient palette — professional, no photos needed */
.dg-1 { background: linear-gradient(135deg, #1a3ac2, #4b6ef5); }
.dg-2 { background: linear-gradient(135deg, #0d3320, #1c7c4c); }
.dg-3 { background: linear-gradient(135deg, #6a1f9e, #a55bd6); }
.dg-4 { background: linear-gradient(135deg, #b3541e, #e8933f); }
.dg-5 { background: linear-gradient(135deg, #0f4c5c, #2a9db5); }
.dg-6 { background: linear-gradient(135deg, #7c1f3f, #c2476b); }
.dg-7 { background: linear-gradient(135deg, #1f2a68, #4653b5); }
.dg-8 { background: linear-gradient(135deg, #234010, #5a7d2a); }

/* popular routes */
.routes-wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.route-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 11px 20px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.25s;
}
.route-chip i { font-size: 11px; color: var(--blue); }
.route-chip:hover { border-color: var(--blue); background: var(--lightblue); transform: translateY(-2px); }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.how-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 26px;
  transition: all 0.35s;
  position: relative;
}
.how-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-4px); border-color: transparent; }
.how-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: var(--lightblue);
  border-radius: 8px;
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 16px;
}
.how-card h3 { font-size: 18px; margin-bottom: 8px; }
.how-card p { font-size: 14.5px; }
.how-ic {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--neon);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 18px;
}

/* ---------- Feature band ---------- */
.band { background: var(--lime); border-radius: 28px; padding: 60px 50px; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feat { text-align: left; }
.feat-ic {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--white);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
}
.feat h4 { font-size: 15.5px; margin-bottom: 6px; }
.feat p { font-size: 13.5px; line-height: 1.6; }

/* ---------- Results page ---------- */
.results-hero {
  background: var(--lime);
  padding: 104px 0 24px;
}
.results-hero.with-strip { padding-top: 140px; }
.results-bar {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.rb-route { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.rb-route i { color: var(--blue); font-size: 13px; }
.rb-meta { font-size: 13px; color: var(--text); }
.rb-edit { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--blue); cursor: pointer; }
.rb-edit:hover { text-decoration: underline; }

.results-main { padding: 34px 0 90px; background: #f7f8fa; min-height: 60vh; }
/* filters | results | sponsor rail */
/* The results page carries three columns (filters · fares · sponsors), so the
   1150px site container squeezed the fare cards to ~620px and left the leg
   duration line stubby. Results get their own wider shell. */
.results-page .container { width: min(1440px, 94%); }
.results-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr) 250px; gap: 24px; align-items: start; }
.results-col { min-width: 0; }
.sponsor-col { min-width: 0; }
/* below 1180px drop the right rail under the results (full-width strip) */
@media (max-width: 1180px) {
  .results-layout { grid-template-columns: 230px minmax(0, 1fr); }
  .sponsor-col { grid-column: 1 / -1; }
  .sponsor-rail { display: flex !important; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
  .sponsor-rail .sr-head { flex-basis: 100%; margin-bottom: 2px; }
  .sponsor-rail .sr-ad { flex: 1 1 260px; margin-bottom: 0; }
}

.filters {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 20px;
  /* scrolls with the page — a long filter list must never be clipped */
}
.filters-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.filters-head h4 { font-size: 18px; }
.filters-count { font-size: 13px; color: var(--text); font-weight: 500; }
.f-group { border-top: 1px solid var(--line); padding: 14px 0 8px; }
.f-group:first-of-type { border-top: 0; padding-top: 0; }
.f-group h5 { font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--ink); margin-bottom: 10px; font-family: var(--font-head); font-weight: 700; }
.f-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 14px; color: var(--ink); }
.f-opt label { display: flex; align-items: center; gap: 10px; cursor: pointer; min-width: 0; }
.f-opt input[type=checkbox] { accent-color: var(--blue); width: 16px; height: 16px; flex: 0 0 auto; }
.f-opt .cnt { font-size: 12.5px; color: #9aa1ad; font-weight: 500; }
.f-hidden { display: none; }
.f-more { background: none; border: none; cursor: pointer; color: #c0663a; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; padding: 8px 0 2px; }
.f-more:hover { text-decoration: underline; }

/* duration range sliders */
.dur-block { margin-bottom: 14px; }
.dur-block:last-child { margin-bottom: 4px; }
.dur-top { display: flex; align-items: baseline; justify-content: space-between; }
.dur-label { font-size: 14px; color: var(--ink); }
.dur-val { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); }
.dur-range { width: 100%; margin: 8px 0 4px; accent-color: var(--blue); height: 4px; cursor: pointer; }
.dur-ends { display: flex; justify-content: space-between; font-size: 11.5px; color: #9aa1ad; }

/* departure-time windows */
.dep-block { margin-bottom: 14px; }
.dep-block:last-child { margin-bottom: 2px; }
.dep-origin { font-size: 13px; color: var(--blue); font-weight: 600; margin-bottom: 6px; }
.dep-opt .win-t { font-size: 12.5px; color: #9aa1ad; white-space: nowrap; }

/* priced sort tabs (Best / Cheapest / Fastest) */
.sort-wrap { margin-bottom: 18px; }
.sort-tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sort-tab { text-align: left; background: #fff; border: none; border-right: 1px solid var(--line); padding: 13px 18px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; transition: background 0.2s; }
.sort-tab:last-child { border-right: none; }
.sort-tab .st-name { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--ink); }
.sort-tab .st-price { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--ink); line-height: 1.15; }
.sort-tab .st-sub { font-size: 12px; color: var(--text); }
.sort-tab:hover { background: #f7f8fa; }
.sort-tab.on { background: var(--blue); }
.sort-tab.on .st-name, .sort-tab.on .st-price { color: #fff; }
.sort-tab.on .st-sub { color: rgba(255, 255, 255, 0.82); }
.sort-cap { text-align: right; padding: 8px 2px 0; }
.sort-info { font-size: 12.5px; color: #9aa1ad; }

/* ---------- Fare cards (farescraper-style: leg blocks + price/SELECT rail) ---------- */
.fcard {
  background: var(--white);
  border: 1px solid #e7e9ef;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(19, 21, 24, 0.04);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.fcard:hover { box-shadow: 0 12px 30px rgba(33, 73, 232, 0.10); border-color: #d6def3; }
.fcard-main { display: grid; grid-template-columns: minmax(0, 1fr) 210px; }
.fcard-legs { padding: 16px 22px; min-width: 0; }

.leg-block + .leg-block { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.leg-head {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9aa1ad;
  margin-bottom: 10px;
}
.leg-head span { color: #b8bec9; font-weight: 600; }

/* farescraper-style compact row: date+logo | time+code | duration line | time+code.
   Owner 2026-08-16: no airline name or flight number is printed — the logo
   carries the airline (tooltip on hover) and the day+date sits above it. */
.leg-row {
  display: grid;
  grid-template-columns: 74px 82px minmax(0, 1fr) 82px;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.lr-al { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.lr-date {
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
  color: #7c8598; white-space: nowrap;
}
.lr-logo { display: block; line-height: 0; }

/* Hover/focus tooltip used by the airline logo and the airport codes. */
[data-tip] { position: relative; cursor: help; }
[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(3px);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body, inherit);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(19, 21, 24, 0.22);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 40;
}
[data-tip]::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top-color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease;
  z-index: 41;
}
[data-tip]:hover::after, [data-tip]:focus-visible::after {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
[data-tip]:hover::before, [data-tip]:focus-visible::before { opacity: 1; visibility: visible; }
@media (hover: none) {
  /* Touch devices have no hover — the tooltip would stick after a tap. */
  [data-tip]::after, [data-tip]::before { display: none; }
}
.al-logo, .al-mono { width: 38px; height: 38px; border-radius: 9px; flex: 0 0 auto; }
.al-logo { object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 2px; }
.al-mono {
  display: grid; place-items: center;
  background: var(--lightblue); color: var(--blue);
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
}
.lr-pt { text-align: center; white-space: nowrap; }
.lr-pt b { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--ink); display: block; line-height: 1.15; }
/* Airport code sits under the time, deliberately larger than before and
   carrying a name/city tooltip on hover. */
.lr-pt .lr-code {
  display: inline-block;
  margin-top: 2px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #c0663a;
  border-bottom: 1px dotted rgba(192, 102, 58, 0.45);
}
.lr-pt .lr-code:hover, .lr-pt .lr-code:focus-visible { color: var(--blue); border-bottom-color: var(--blue); outline: none; }
.lr-mid { text-align: center; min-width: 0; padding: 0 6px; }
.lr-dur { font-size: 11.5px; color: var(--text); font-weight: 600; display: block; margin-bottom: 5px; white-space: nowrap; }
.lr-bar { display: block; height: 2px; background: var(--line); border-radius: 2px; position: relative; }
/* A connection shows as a single dot in the middle of the line (farescraper). */
.lr-bar.has-stop::before {
  content: '';
  position: absolute;
  left: 50%; top: -2.5px;
  width: 7px; height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: #c0663a;
}
.lr-bar::after {
  content: '\f072'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; right: -4px; top: -9px; color: var(--yellow); font-size: 13px;
}
.lr-stops { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 700; color: #c0663a; }
.lr-stops.nonstop { color: var(--green); }

/* right rail: price + SELECT + travel-site name */
.fcard-side {
  background: linear-gradient(165deg, #f8faff, #eef3fd);
  border-left: 1px solid #e7ecf6;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 3px;
  min-width: 0;
}
.side-tag {
  font-family: var(--font-head); font-size: 10px; font-weight: 700;
  letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--ink); background: var(--neon);
  border-radius: 100px; padding: 3px 10px; margin-bottom: 3px;
}
.side-tag i { font-size: 9px; }
.side-price { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--ink); line-height: 1.1; letter-spacing: -0.5px; }
.side-per { font-size: 10.5px; color: #9aa1ad; margin-bottom: 9px; }
.btn-select {
  width: 100%;
  border: none;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.6px;
  padding: 11px 10px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(33, 73, 232, 0.26);
  transition: background 0.2s, transform 0.2s;
}
.btn-select:hover { background: var(--blue-d); transform: translateY(-1px); }
.side-partner {
  margin-top: 8px; font-size: 11.5px; font-weight: 600; color: var(--text);
  display: inline-flex; align-items: center; gap: 5px; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.side-partner i { color: var(--green); font-size: 11px; }

/* footer bar: alternate travel-site prices + details toggle */
.fcard-foot {
  border-top: 1px solid var(--line);
  background: #fafbfd;
  padding: 9px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.fa-alts { font-size: 12.5px; color: var(--text); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fa-alt b { color: var(--ink); font-family: var(--font-head); }
.fa-sep { color: #d3d7e0; font-style: normal; }
.fa-inc { font-size: 12px; color: var(--text); display: inline-flex; align-items: center; gap: 7px; }
.fa-inc i { color: #9aa1ad; font-size: 11px; }
.foot-toggle {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px; color: var(--blue);
  display: inline-flex; align-items: center; gap: 6px; padding: 2px;
}
.foot-toggle i { font-size: 10px; }
.foot-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.otas-toggle {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px; color: #c0663a;
  display: inline-flex; align-items: center; gap: 6px;
}
.otas-toggle i { font-size: 10px; transition: transform 0.2s; }

/* expandable "all travel-site prices" list */
/* farescraper-style inline strip: the other travel sites' prices at the foot
   of the card, each clickable, with a chevron opening the full list. */
.ota-strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 9px 22px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.ota-strip-list { display: flex; align-items: center; flex-wrap: wrap; gap: 0; min-width: 0; }
.ota-inline {
  background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600; color: #c0663a;
  padding: 3px 14px; border-left: 1px solid var(--line);
  white-space: nowrap;
}
.ota-inline:first-child { border-left: 0; padding-left: 0; }
.ota-inline b { color: var(--ink); font-family: var(--font-head); font-weight: 800; }
.ota-inline:hover { color: var(--blue); }
.ota-inline:hover b { color: var(--blue); }
.ota-more-note { font-size: 12px; color: #9aa1ad; padding-left: 14px; white-space: nowrap; }
.fcard-otas { display: none; border-top: 1px solid var(--line); background: #fff; }
.fcard-otas.show { display: block; }
.ota-best {
  font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: 0.4px;
  text-transform: uppercase; color: var(--green);
  background: #e9f8ef; border-radius: 20px; padding: 2px 8px; margin-left: 6px;
}
.ota-head { font-family: var(--font-head); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #9aa1ad; padding: 12px 22px 2px; }
.ota-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 22px; border-top: 1px solid #f3f4f7; }
.ota-row:first-of-type { border-top: none; }
.ota-site { color: #c0663a; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ota-right { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.ota-price { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--ink); }
.btn-ota {
  background: var(--blue); color: #fff; border: none; border-radius: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 12px;
  padding: 7px 16px; cursor: pointer; transition: background 0.2s;
}
.btn-ota:hover { background: var(--blue-d); }

.fcard-details { display: none; border-top: 1px solid var(--line); padding: 14px 22px 16px; background: #fbfcfe; }
.fcard-details.show { display: block; }
.sd-h { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; color: var(--ink); margin: 8px 0 4px; }
.seg { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.seg:last-of-type { border-bottom: 0; }
.seg-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); margin-top: 6px; flex: 0 0 auto; }
.seg-body { flex: 1; min-width: 0; }
.seg-hd { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.seg-hd b { font-family: var(--font-head); font-size: 13px; color: var(--ink); }
.seg-fl { font-size: 12px; color: var(--text); }
.seg-tm { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink); margin-top: 4px; }
.seg-dur { color: var(--text); display: inline-flex; align-items: center; gap: 5px; }
.seg-dur i { font-size: 10px; color: #9aa1ad; }
.seg-lay {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff7e0; border: 1px solid #f4e3ae; color: #8a6d00;
  font-size: 12px; font-weight: 600; border-radius: 9px; padding: 5px 12px; margin: 6px 0;
}
.seg-lay i { font-size: 10.5px; }
.sd-fare { margin-top: 12px; font-size: 12.5px; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.sd-fare b { color: var(--ink); }

/* interleaved sponsor ad */
.ad-card {
  display: block;
  position: relative;
  background: linear-gradient(135deg, #14224a, #23306a);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  min-height: 96px;
  box-shadow: 0 2px 10px rgba(19, 21, 24, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.ad-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(19, 21, 24, 0.14); }
.ad-label {
  position: absolute; top: 8px; right: 10px; z-index: 2;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65); background: rgba(255, 255, 255, 0.12);
  border-radius: 5px; padding: 2px 7px;
}
.ad-img { width: 100%; height: auto; display: block; }
.ad-text { padding: 22px 26px; color: #fff; }
.ad-text .ad-title { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.ad-text .ad-body { font-size: 13.5px; color: rgba(255, 255, 255, 0.75); margin-bottom: 12px; }
.ad-cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  color: var(--ink); background: var(--neon); border-radius: 8px; padding: 7px 15px;
}
.ad-cta i { font-size: 10px; }

/* show more */
.more-wrap { text-align: center; padding: 8px 0 20px; }
.btn-more {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 30px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-more:hover { border-color: var(--blue); color: var(--blue); background: var(--lightblue); }
.btn-more .more-count { color: #9aa1ad; font-weight: 500; }

/* ---------- Loading state (while fares are fetched) ---------- */
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* animated header: a plane flying along a dashed route with a moving glow */
.loading-head {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
}
.lh-route { position: relative; flex: 0 0 74px; height: 40px; }
.lh-route .lh-track {
  position: absolute; top: 50%; left: 4px; right: 4px; height: 2px;
  background: repeating-linear-gradient(90deg, #cdd6e6 0 6px, transparent 6px 12px);
  transform: translateY(-50%);
}
.lh-route .lh-a, .lh-route .lh-b {
  position: absolute; top: 50%; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); transform: translateY(-50%);
}
.lh-route .lh-a { left: 0; }
.lh-route .lh-b { right: 0; background: var(--yellow); }
.lh-route .lh-plane {
  position: absolute; top: 50%; left: 0; color: var(--blue); font-size: 15px;
  transform: translate(-2px, -50%);
  animation: lhFly 1.8s cubic-bezier(0.55, 0, 0.45, 1) infinite;
}
@keyframes lhFly {
  0% { left: 2px; opacity: 0; transform: translate(-2px, -50%) rotate(-8deg); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 62px; opacity: 0; transform: translate(-2px, -50%) rotate(-8deg); }
}
.lh-text { font-size: 15px; color: var(--text); }
.lh-text b { color: var(--ink); font-family: var(--font-head); font-weight: 700; }
.lh-dots::after { content: '…'; display: inline-block; width: 14px; text-align: left; animation: lhDots 1.4s steps(4, end) infinite; }
@keyframes lhDots { 0% { content: '.'; } 33% { content: '..'; } 66% { content: '…'; } }
.loading-head::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(33, 73, 232, 0.05), transparent);
  transform: translateX(-100%); animation: shimmer 1.6s infinite;
}

/* skeleton fare cards that mirror the real card shape */
.skel-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eceef3;
  border-radius: 14px;
  margin-bottom: 14px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 22px;
}
.skel-card .sk-block { display: flex; flex-direction: column; gap: 13px; }
.sk-legrow { display: flex; align-items: center; gap: 14px; }
.sk-dot { width: 40px; height: 40px; border-radius: 10px; background: #eef1f6; flex: 0 0 auto; }
.sk-l { height: 12px; border-radius: 6px; background: #eef1f6; }
.sk-l.lg { height: 18px; }
.sk-l.w15 { width: 15%; } .sk-l.w25 { width: 25%; } .sk-l.w40 { width: 40%; } .sk-l.w60 { width: 60%; }
.sk-right { border-left: 1px solid #eef1f6; padding-left: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; }
.sk-price { width: 72%; height: 26px; border-radius: 8px; background: #eef1f6; }
.sk-btn { width: 100%; height: 40px; border-radius: 10px; background: #e6ebf4; }
.skel-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: translateX(-100%); animation: shimmer 1.3s infinite;
}
@media (max-width: 900px) {
  .skel-card { grid-template-columns: 1fr; }
  .sk-right { border-left: 0; border-top: 1px solid #eef1f6; padding-left: 0; padding-top: 14px; }
}

/* ---------- Sponsor rail (left column, always visible) ---------- */
.sponsor-rail { margin-top: 18px; }
.sr-head {
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #9aa1ad;
  margin: 0 2px 10px;
}
.sr-ad {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sr-ad:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.sr-ad img { width: 100%; height: auto; display: block; }
.sr-body { padding: 14px 15px; }
.sr-body .sr-title { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.sr-body .sr-text { font-size: 12.5px; color: var(--text); margin: 5px 0 11px; line-height: 1.5; }
.sr-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px;
  padding: 8px 15px; border-radius: 9px;
}
.sr-cta i { font-size: 10px; }
.sr-tag { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: #b8bec9; padding: 8px 15px 0; }

.no-results {
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 16px;
  text-align: center;
  padding: 60px 30px;
}
.no-results i { font-size: 30px; color: #c9cdd6; margin-bottom: 14px; }
.no-results h3 { font-size: 18px; margin-bottom: 6px; }
.no-results p { font-size: 14px; }

/* ---------- Static pages ---------- */
.page-hero { background: var(--lime); padding: 130px 0 54px; text-align: center; }
.page-hero.with-strip { padding-top: 166px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); }
.page-hero p { max-width: 560px; margin: 12px auto 0; }
.page-body { padding: 60px 0 90px; }
.page-body .prose { max-width: 760px; margin: 0 auto; }

/* SEO route landing pages */
.route-hero { text-align: left; }
.route-hero h1 { font-size: clamp(26px, 3.6vw, 40px); }
.route-hero p { max-width: none; margin: 10px 0 0; }
.route-hero p b { color: var(--ink); }
.crumbs { font-size: 13px; color: var(--text); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.crumbs a { color: var(--blue); }
.crumbs a:hover { text-decoration: underline; }
.crumbs i { font-size: 10px; color: #c0c6d0; }
.route-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--lime); border-radius: 18px; padding: 24px 28px; margin: 30px 0; }
.route-cta b { font-family: var(--font-head); font-size: 17px; color: var(--ink); display: block; }
.route-cta span { font-size: 14px; color: var(--text); }
.route-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 4px; }
.route-chips .route-chip { text-decoration: none; }
.route-chip b { color: var(--blue); font-weight: 700; margin-left: 2px; }
.route-updated { font-size: 13px; color: #9aa1ad; margin-top: 26px; display: inline-flex; align-items: center; gap: 8px; }
.prose h2 { font-size: 22px; margin: 34px 0 12px; }
.prose h3 { font-size: 17px; margin: 24px 0 8px; }
.prose p, .prose li { font-size: 15px; color: var(--text); }
.prose ul { padding-left: 22px; margin: 10px 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; max-width: 950px; margin: 0 auto; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.contact-card h3 { font-size: 18px; margin-bottom: 16px; }
.ci-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; font-size: 14.5px; color: var(--ink); }
.ci-row i { width: 38px; height: 38px; border-radius: 12px; background: var(--lightblue); color: var(--blue); display: grid; place-items: center; font-size: 14px; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-family: var(--font-head); font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border 0.25s, box-shadow 0.25s;
  background: var(--white);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33, 73, 232, 0.12); }
.form-note { font-size: 13px; color: var(--green); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: 64px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.foot-logo { filter: brightness(0) invert(1); opacity: 0.95; margin-bottom: 16px; }
.foot-brand p { font-size: 13.5px; line-height: 1.7; max-width: 320px; }
.foot-col h5 { color: var(--white); font-family: var(--font-head); font-size: 14px; margin-bottom: 14px; }
.foot-col a { display: block; font-size: 13.5px; padding: 5px 0; color: rgba(255, 255, 255, 0.62); transition: color 0.25s; }
.foot-col a:hover { color: var(--neon); }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
}
.foot-note { color: rgba(255, 255, 255, 0.45); }

/* slim footer (results page) */
.site-footer.slim { padding: 20px 0; }
.foot-slim { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; }
.foot-slim-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-slim-links a { color: rgba(255, 255, 255, 0.7); font-weight: 500; }
.foot-slim-links a:hover { color: var(--neon); }

/* ---------- Stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  background: var(--ink);
  border-radius: 24px;
  padding: 44px 46px;
  color: #fff;
}
.stat-item .sv { font-family: var(--font-head); font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; color: var(--neon); line-height: 1.1; }
.stat-item .sk { font-size: 13px; color: rgba(255, 255, 255, 0.65); margin-top: 6px; }

/* ---------- Tips ---------- */
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tip-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px;
  transition: all 0.3s;
}
.tip-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.tip-card .tic {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--lightblue);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 16px;
  margin-bottom: 14px;
}
.tip-card h3 { font-size: 16px; margin-bottom: 7px; }
.tip-card p { font-size: 13.5px; line-height: 1.65; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: var(--white); overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 16px 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.faq-q i { color: var(--blue); font-size: 12px; transition: transform 0.3s; flex: 0 0 auto; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 16px; font-size: 14px; color: var(--text); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  /* search-grid two-column layout is handled by the 1180px rule above */
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: repeat(2, 1fr); }
  .results-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-links.mobile-open {
    display: flex;
    position: fixed;
    inset: 0;
    background: #fff;
    border-radius: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 1200;
  }
  .nav-links.mobile-open a { font-size: 18px; padding: 12px 26px; }
}
/* Fare card collapses to a stacked layout with a footer price bar */
@media (max-width: 900px) {
  .fcard-main { grid-template-columns: 1fr; }
  .fcard-side {
    border-left: 0;
    border-top: 1px solid var(--line);
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px 14px;
    text-align: left;
    padding: 13px 18px;
  }
  .side-tag { order: 1; margin: 0; }
  .side-partner { order: 2; margin: 0 auto 0 0; }
  .side-price { order: 3; font-size: 23px; }
  .side-per { display: none; }
  .btn-select { order: 4; width: auto; min-width: 150px; padding: 10px 24px; }
}

@media (max-width: 640px) {
  .search-card { padding: 18px 16px 16px; }
  /* single column on phones — each field is full width so long airport names fit */
  .search-grid { grid-template-columns: 1fr; }
  /* Stacked From/To: the swap button straddles the two fields at the right,
     arrows rotated to point up/down. Hover keeps the same rotation. */
  .swap-btn, .swap-btn:hover { right: 12px; bottom: -26px; transform: rotate(90deg); }
  /* Icon shift is only needed while swap pokes into the To field (side-by-side). */
  #toField .ap-ic { left: 12px; }
  #toField.has-ap input, .field.has-ap#toField input { padding-left: 35px; }
  /* 16px stops iOS from auto-zooming a focused field */
  .field input, .field select, .datefield { font-size: 16px; }
  .trust-chips { gap: 10px 18px; }
  .hero { padding-top: 130px; }
  .hero.with-strip { padding-top: 175px; }
  .hero-head h1 { font-size: 30px; }
  .hero-kite { width: 54px; right: -6px; top: -22px; }
  /* Logo-only left column fits even on phones — keep the one-line row. */
  .leg-row { grid-template-columns: 62px 70px minmax(0, 1fr) 70px; gap: 8px; }
  .al-logo, .al-mono { width: 30px; height: 30px; }
  .lr-date { font-size: 10px; }
  .lr-pt b { font-size: 15.5px; }
  .lr-pt .lr-code { font-size: 13.5px; }
  .ota-strip { padding: 8px 14px; }
  .ota-inline { padding: 3px 10px; font-size: 12.5px; }
  .fcard-legs { padding: 14px 16px; }
  .fcard-details { padding: 12px 16px 16px; }
  .seg-tm { flex-direction: column; gap: 3px; }
  .results-bar { flex-direction: column; align-items: flex-start; gap: 6px; }
  .sort-row { gap: 6px; }
  .sort-pill { padding: 7px 14px; font-size: 12px; }
  .sort-info { flex-basis: 100%; margin: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .band { padding: 40px 24px; }
  .band-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dest-card { min-height: 128px; padding: 14px; }
  .dest-card .dc-city { font-size: 17px; }
  .routes-wrap { gap: 8px; }
  .route-chip { padding: 9px 14px; font-size: 12px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  /* Phone-width overflow fixes (owner 2026-08-16). These three were pushing the
     whole page into horizontal scroll on a 375px screen:
       · the swoosh underline sticks 26px past its text — clip it to the text;
       · the stats band's 46px side padding left the 4 stat columns no room;
       · long stat labels set a min-content floor, so let them shrink/wrap. */
  .swoosh::after { right: 0; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 18px; padding: 30px 22px; }
  .stat-item { min-width: 0; overflow-wrap: anywhere; }
  .faq-q { font-size: 14px; }
  .tips-grid { grid-template-columns: 1fr; }
}

