:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --ink: #0f172a;
  --muted: #5b6b82;
  --line: #e3e8ef;
  --bg: #f5f7fb;
  --card: #ffffff;
  --brand: #ff5a3c;
  --brand-hover: #e8462a;
  --brand-soft: #ffe7e1;
  --good: #0d8a4f;
  --good-bg: #e3f6ec;
  --danger: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.07);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---- Buttons ---------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 10px; border: 1px solid transparent; padding: 10px 16px;
  font: inherit; font-weight: 700; font-size: 15px; text-decoration: none;
  white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #c2ccda; }
.btn:focus-visible, button:focus-visible, a:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px;
}

/* ---- Top bar ---------------------------------------------------------------------------- */

.topbar { background: var(--navy); color: #fff; }
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
}
.logo svg { width: 30px; height: 30px; }
.topnav { display: flex; gap: 22px; margin-left: auto; }
.topnav a { text-decoration: none; font-weight: 500; font-size: 15px; opacity: 0.85; }
.topnav a:hover { opacity: 1; }
.currency select {
  background: rgba(255, 255, 255, 0.1); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px;
  padding: 6px 12px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.currency option { color: var(--ink); }

.demo-banner {
  background: #fff4d6; color: #6b4800; border-bottom: 1px solid #f1d98f;
  text-align: center; font-size: 14px; padding: 8px 16px;
}

/* ---- Hero + search ---------------------------------------------------------------------- */

.hero {
  background:
    radial-gradient(1000px 420px at 85% -20%, #2a5c9e 0%, transparent 60%),
    linear-gradient(180deg, var(--navy), var(--navy-2));
  color: #fff;
  padding: 56px 0 72px;
}
.hero h1 {
  margin: 0 0 12px; font-size: clamp(32px, 5vw, 52px); line-height: 1.08;
  font-weight: 800; letter-spacing: -0.03em;
}
.hero h1 em { font-style: normal; color: #ffb199; }
.lede { margin: 0 0 28px; max-width: 560px; font-size: 18px; opacity: 0.85; }

.search-card {
  background: var(--card); color: var(--ink);
  border-radius: 18px; padding: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* Category tabs above the search card */
.cat-tabs {
  display: flex; gap: 6px; margin: 0 0 14px; padding-bottom: 2px;
  overflow-x: auto; scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs button {
  display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
  padding: 9px 16px; border: 1px solid transparent; border-radius: 999px;
  background: transparent; color: rgba(255, 255, 255, 0.85);
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.cat-tabs button:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.cat-tabs button.active { border-color: rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.1); color: #fff; }
.cat-tabs svg { width: 20px; height: 20px; flex: none; }

.form-note { margin: 0; font-size: 14px; color: var(--muted); }
.form-note a { font-weight: 600; color: var(--navy-2); }
.field input[type="date"] { cursor: pointer; }

.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; }
.chip-row a {
  padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 600; color: var(--ink); text-decoration: none;
}
.chip-row a:hover { border-color: var(--navy-2); }

.cat-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px; }
.cat-panel h2 { margin: 0 0 4px; font-size: 20px; letter-spacing: -0.01em; }
.cat-panel p { margin: 0; max-width: 560px; color: var(--muted); }
.cat-panel-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Flight + Hotel steps above the results */
.trip-steps {
  display: grid; gap: 12px; margin-bottom: 16px; padding: 16px 18px;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
}
.trip-step { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.trip-step > div { flex: 1; min-width: 200px; }
.trip-step p { margin: 2px 0 0; font-size: 14px; }

.trip-toggle {
  display: inline-flex; gap: 2px; padding: 4px; margin-bottom: 14px;
  background: var(--bg); border-radius: 999px;
}
.trip-toggle label { position: relative; }
.trip-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.trip-toggle span {
  display: block; padding: 6px 16px; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: 14px; color: var(--muted);
}
.trip-toggle input:checked + span {
  background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15);
}
.trip-toggle input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.fields { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.field {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  flex: 1 1 150px; min-width: 0; padding: 8px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.field:focus-within { border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(19, 49, 92, 0.12); }
.field.place { flex: 2 1 220px; }
.field.small { flex: 0 1 130px; }
.field label {
  font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.field input, .field select {
  width: 100%; min-width: 0; padding: 2px 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 16px; font-weight: 600; color: var(--ink);
}
.field input::placeholder { color: #94a3b8; font-weight: 500; }
.field select { cursor: pointer; }
.field select:focus-visible { outline: 0; }

.swap {
  flex: 0 0 auto; align-self: center; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--navy-2);
}
.swap:hover { border-color: var(--navy-2); }
.swap svg { width: 18px; height: 18px; }

.search-btn { flex: 0 0 auto; min-height: 58px; padding: 0 28px; font-size: 16px; }

.form-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 12px;
}
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--brand); }
.form-error { margin: 0; color: var(--danger); font-size: 14px; font-weight: 600; }

.suggest {
  position: absolute; left: -1px; right: -1px; top: calc(100% + 6px); z-index: 20;
  min-width: 280px; max-height: 340px; overflow: auto;
  margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
}
.suggest li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.suggest li.active, .suggest li:hover { background: var(--bg); }
.sg-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.sg-main strong { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-main small { font-size: 13px; color: var(--muted); }
.sg-code {
  padding: 2px 6px; border-radius: 6px; background: #e9f0fa;
  font-size: 13px; font-weight: 700; color: var(--navy-2);
}

/* ---- Sections --------------------------------------------------------------------------- */

main { padding-top: 40px; }
main > section + section { margin-top: 52px; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 18px;
}
.section-head h2 { margin: 0; font-size: clamp(22px, 3vw, 28px); letter-spacing: -0.02em; line-height: 1.2; }
.section-head p { margin: 4px 0 0; }

.sort { display: inline-flex; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.sort button {
  padding: 8px 14px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--muted);
}
.sort button.active { background: var(--navy); color: #fff; }

/* ---- Deal cards ------------------------------------------------------------------------- */

.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 16px; }
.deal {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
}
.deal-art {
  display: flex; align-items: flex-start; justify-content: space-between;
  height: 92px; padding: 12px 14px; color: #fff;
  background: linear-gradient(135deg, hsl(var(--hue) 65% 38%), hsl(calc(var(--hue) + 25) 70% 52%));
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.deal-code { font-size: 28px; font-weight: 800; letter-spacing: 0.04em; }
.deal-tag {
  padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.24);
  font-size: 12px; font-weight: 700;
}
.deal-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.deal-body h3 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.deal-body p { margin: 0; }
.deal-meta { margin-top: 8px !important; font-size: 14px; color: var(--muted); }
.deal-foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 10px; margin-top: auto; padding-top: 14px;
}
.deal-actions { display: flex; gap: 6px; }
.deal-actions .btn { padding: 8px 12px; font-size: 14px; }
.price { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }

/* ---- Fare rows -------------------------------------------------------------------------- */

.fare-list { display: flex; flex-direction: column; gap: 12px; }
.fare {
  display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 16px;
  padding: 16px 18px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
}
.fare-airline { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.fare-airline img { width: 60px; height: 20px; object-fit: contain; object-position: left; }
.fare-legs { display: flex; flex-direction: column; gap: 6px; }
.leg { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 15px; }
.leg strong { font-size: 18px; }
.leg-tag {
  width: 56px; font-size: 11px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.route { font-weight: 600; }
.fare-price { display: flex; align-items: center; gap: 16px; text-align: right; }
.fare-price small { display: block; font-size: 12px; }

/* ---- Price calendar --------------------------------------------------------------------- */

.calendar { margin-bottom: 16px; padding: 16px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.calendar:empty { display: none; }
.cal-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cal-legend { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.cal-legend i { width: 12px; height: 12px; border-radius: 4px; background: var(--good-bg); border: 1px solid var(--good); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-wd { padding-bottom: 2px; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.cal-day {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 58px; padding: 8px 2px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink);
}
button.cal-day { cursor: pointer; }
button.cal-day:hover { border-color: var(--navy-2); }
.cal-day span { font-size: 13px; font-weight: 600; }
.cal-day small { font-size: 12px; font-weight: 700; color: var(--muted); }
.cal-day.none { background: var(--bg); border-color: transparent; color: #a0acbd; }
.cal-day.good small { color: var(--ink); }
.cal-day.best { background: var(--good-bg); border-color: #a6dcc0; }
.cal-day.best small { color: var(--good); }
.cal-day.selected { border-color: var(--brand); outline: 2px solid var(--brand); outline-offset: 1px; }
.link-btn {
  margin-top: 10px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--navy-2); text-decoration: underline;
}

/* ---- States ----------------------------------------------------------------------------- */

.notice { grid-column: 1 / -1; padding: 24px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.notice h3 { margin: 0 0 6px; }
.notice p { margin: 0 0 16px; color: var(--muted); }
.skeleton {
  border-radius: var(--radius);
  background: linear-gradient(90deg, #e9eef5 25%, #f4f7fb 37%, #e9eef5 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
.skeleton.deal { height: 236px; }
.skeleton.fare { height: 92px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }
.more { display: flex; margin: 16px auto 0; }

/* ---- How it works + footer -------------------------------------------------------------- */

.how { padding: 32px; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); }
.how h2 { margin: 0 0 20px; letter-spacing: -0.02em; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 14px; }
.step-num {
  display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-hover); font-weight: 800;
}
.steps h3 { margin: 4px 0; font-size: 17px; }
.steps p { margin: 0; font-size: 15px; color: var(--muted); }

footer { margin-top: 56px; padding: 28px 0 36px; background: #fff; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer p { max-width: 760px; margin: 0 0 8px; }
.foot-brand { font-weight: 800; color: var(--ink); }

/* ---- Landing pages (/flights/...) ------------------------------------------------------- */

.page-hero {
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  color: #fff;
  padding: 28px 0 36px;
}
.page-hero h1 {
  margin: 10px 0 8px; font-size: clamp(28px, 4.2vw, 42px); line-height: 1.12;
  font-weight: 800; letter-spacing: -0.03em;
}
.page-hero .lede { margin-bottom: 20px; max-width: 720px; }
.page-hero .lede strong { color: #ffb199; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ghost-light { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); }

.breadcrumbs ol {
  display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0;
  list-style: none; font-size: 14px; color: rgba(255, 255, 255, 0.8);
}
.breadcrumbs li + li::before { content: '›'; margin-right: 8px; opacity: 0.6; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.landing { padding-top: 32px; }
.landing > * + * { margin-top: 44px; }
.landing h2 { margin: 0 0 6px; font-size: clamp(20px, 2.6vw, 24px); letter-spacing: -0.02em; line-height: 1.25; }
.section-note { margin: 0 0 16px; font-size: 15px; color: var(--muted); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; margin-bottom: 0; }
.stat { padding: 16px 18px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat dt { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.stat dd { margin: 4px 0 2px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.stat p { margin: 0; font-size: 14px; color: var(--muted); }

.month-list { margin: 0; padding: 8px; list-style: none; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.month-row {
  display: grid; grid-template-columns: 210px 1fr 96px; align-items: center; gap: 14px;
  padding: 10px; border-radius: 10px; text-decoration: none;
}
.month-row:hover { background: var(--bg); }
.m-name { font-size: 15px; font-weight: 600; }
.m-bar { height: 8px; overflow: hidden; background: #edf1f6; border-radius: 4px; }
.m-bar i { display: block; height: 100%; background: var(--navy-2); border-radius: 0 4px 4px 0; }
.month-row.best .m-bar i { background: var(--good); }
.m-price { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.tag-best {
  margin-left: 6px; padding: 2px 8px; border-radius: 999px; vertical-align: 1px;
  background: var(--good-bg); color: var(--good); font-size: 12px; font-weight: 700;
}

.text-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--navy-2); }

.prose p { max-width: 760px; margin: 0 0 12px; font-size: 16px; line-height: 1.7; }

/* About / privacy */
.doc {
  max-width: 760px; padding: 28px 32px; background: var(--card);
  border-radius: 20px; box-shadow: var(--shadow); font-size: 16px; line-height: 1.7;
}
.doc h2 { margin: 28px 0 8px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin: 18px 0 4px; font-size: 17px; }
.doc p, .doc ul { margin: 0 0 12px; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 4px; }
.doc a { color: var(--navy-2); font-weight: 600; }
@media (max-width: 720px) { .doc { padding: 20px; } }

.faq details { padding: 14px 18px; background: var(--card); border-radius: 12px; box-shadow: var(--shadow); }
.faq details + details { margin-top: 10px; }
.faq h2 { margin-bottom: 14px; }
.faq summary {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 16px; font-weight: 700; list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 800; color: var(--muted); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 10px 0 0; line-height: 1.6; color: var(--muted); }

.route-links {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 8px;
  margin: 12px 0 0; padding: 0; list-style: none;
}
.route-links a {
  display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px;
  background: var(--card); border-radius: 12px; box-shadow: var(--shadow);
  font-size: 15px; font-weight: 600; text-decoration: none;
}
.route-links a:hover { box-shadow: 0 0 0 2px var(--navy-2); }
.route-links .muted { white-space: nowrap; }

.deal-body h3 a { text-decoration: none; }
.deal-body h3 a:hover { text-decoration: underline; }

.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.extra {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none;
}
.extra:hover { box-shadow: 0 0 0 2px var(--navy-2), var(--shadow); }
.extra-icon {
  display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 12px;
  background: #e9f0fa; color: var(--navy-2);
}
.extra-do .extra-icon { background: var(--brand-soft); color: var(--brand-hover); }
.extra-esim .extra-icon { background: var(--good-bg); color: var(--good); }
.extra-transfer .extra-icon, .extra-car .extra-icon { background: #f1ecfb; color: #5b3fa6; }
.extra-icon svg { width: 22px; height: 22px; }
.extra-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.extra-text strong { font-size: 16px; }
.extra-text small { font-size: 14px; color: var(--muted); }
.extra-cta { font-size: 14px; font-weight: 700; color: var(--brand-hover); white-space: nowrap; }
/* Price alert sign-up */
.alert-box {
  display: grid; gap: 14px; padding: 22px 24px;
  background: linear-gradient(135deg, #fff4ee, #ffffff 60%);
  border: 1px solid #fbd9cc; border-radius: 18px; box-shadow: var(--shadow);
}
.alert-box h2, .alert-box h3 { margin: 0 0 4px; font-size: 20px; letter-spacing: -0.01em; }
.alert-box p { margin: 0; color: var(--muted); }
.alert-form { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.alert-form .field { flex: 1 1 220px; }
.alert-form .field.price { flex: 0 1 220px; }
.alert-form .btn { min-height: 58px; padding: 0 22px; }
.field .field-label {
  font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.alert-fine { font-size: 13px; }
.alert-status:empty { display: none; }
.alert-status { font-weight: 600; }
.alert-status.ok { color: var(--good); }
.alert-status.err { color: var(--danger); }
.search-alert { margin-top: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 720px) {
  .alert-box { padding: 18px; }
  .alert-form .field, .alert-form .field.price, .alert-form .btn { flex: 1 1 100%; }
}

.trip-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px 16px; }
.trip-group .extra { align-items: flex-start; }
.trip-group .extra-cta { display: none; } /* the whole card is the link */
.trip-group h3, .trip-group h4 {
  margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.trip-group .extras { grid-template-columns: 1fr; gap: 10px; }
.extras-block { margin-top: 28px; }
.extras-block h3 { margin: 0 0 12px; font-size: 20px; letter-spacing: -0.01em; }
@media (max-width: 520px) { .extra-cta { display: none; } }

.city-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.city-links a {
  display: inline-block; padding: 8px 14px; background: var(--card);
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.city-links a:hover { border-color: var(--navy-2); }

.link-group + .link-group { margin-top: 18px; }
.link-group h3 {
  margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* Fares to one destination from each departure city */
.dest-list { margin: 0; padding: 8px; list-style: none; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.dest-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 10px; border-radius: 10px; }
.dest-row:hover { background: var(--bg); }
.dest-main { display: flex; flex-direction: column; min-width: 0; text-decoration: none; }
.dest-main strong { font-size: 16px; }
.dest-main .muted { font-size: 14px; }
.dest-price { font-size: 20px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dest-price small { font-size: 12px; font-weight: 600; }
@media (max-width: 520px) {
  .dest-row { grid-template-columns: 1fr auto; }
  .dest-row .btn { grid-column: 1 / -1; }
}

/* Footer columns */
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; margin-bottom: 20px; }
.foot-grid h4 {
  margin: 0 0 10px; font-size: 13px; color: var(--ink);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.foot-grid nav { display: flex; flex-direction: column; gap: 6px; }
.foot-grid nav a { color: var(--muted); font-weight: 500; text-decoration: none; }
.foot-grid nav a:hover { color: var(--ink); text-decoration: underline; }
.foot-legal { padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}

/* ---- Small screens ---------------------------------------------------------------------- */

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .topnav { display: none; }
  .currency { margin-left: auto; }
  .hero { padding: 32px 0 40px; }
  .lede { font-size: 16px; margin-bottom: 20px; }
  .search-card { padding: 14px; }
  .field.place { flex: 1 1 100%; }
  .field, .field.small { flex: 1 1 130px; }
  .swap { display: none; }
  .search-btn { flex: 1 1 100%; min-height: 52px; }
  .fare { grid-template-columns: 1fr; gap: 10px; }
  .fare-airline { flex-direction: row; align-items: center; }
  .fare-price { justify-content: space-between; text-align: left; }
  .how { padding: 22px; }
  .month-row { grid-template-columns: 1fr auto; grid-template-areas: 'name price' 'bar bar'; gap: 6px 12px; }
  .m-name { grid-area: name; }
  .m-price { grid-area: price; }
  .m-bar { grid-area: bar; }
}

@media (max-width: 520px) {
  .calendar { padding: 12px; }
  .cal-grid { gap: 3px; }
  .cal-day { min-height: 48px; padding: 6px 0; border-radius: 8px; }
  .cal-day small { font-size: 10px; }
}
