/* ============================================================
   Aeris Air — Shared Stylesheet
   Design tokens + base layout + shared components
   ============================================================ */

:root {
  /* Brand colors */
  --navy-900: #061627;
  --navy-800: #0A2A43;
  --navy-700: #123A5C;
  --navy-600: #1B4A72;
  --gold-light: #F0C572;
  --gold: #B8860B;
  --gold-btn: #DCA53B;
  --gold-btn-hover: #C58F2A;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F7F9FB;
  --gray-100: #EEF2F6;
  --gray-200: #E1E7ED;
  --gray-300: #C7D0DA;
  --gray-500: #7C8B9B;
  --gray-700: #46566A;
  --gray-900: #1D2733;

  /* Semantic */
  --success: #1E9E6D;
  --warning: #E8A93B;
  --danger: #D64550;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(10, 42, 67, 0.08);
  --shadow-md: 0 10px 28px rgba(10, 42, 67, 0.14);
  --shadow-lg: 0 24px 56px rgba(10, 42, 67, 0.20);
  --shadow-xl: 0 36px 80px rgba(6, 22, 39, 0.32);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.8, 0.28, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Fraunces', 'Georgia', 'Times New Roman', serif;

  /* Layout */
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

::selection { background: var(--gold); color: var(--white); }

:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

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

h1, h2, h3, h4 { margin: 0 0 12px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy-900); }
p { margin: 0 0 12px; color: var(--gray-700); }

.display {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.eyebrow.on-dark { color: var(--gold-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97) translateY(0) !important; }
.btn-primary { background: var(--gold-btn); color: var(--navy-900); box-shadow: 0 8px 20px rgba(220, 165, 59, 0.35); }
.btn-primary:hover { background: var(--gold-btn-hover); color: var(--navy-900); box-shadow: 0 14px 32px rgba(197, 143, 42, 0.45); transform: translateY(-2px); }
.btn-secondary { background: var(--navy-800); color: var(--white); }
.btn-secondary:hover { background: var(--navy-700); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--gray-300); }
.btn-outline:hover { border-color: var(--navy-800); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: rgba(255,255,255,0.14); border-color: var(--white); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Top utility bar ---------- */
.utility-bar {
  background: var(--navy-900);
  color: var(--gray-300);
  font-size: 12.5px;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
}
.utility-bar a { opacity: 0.85; margin-left: 18px; transition: opacity 0.2s ease, color 0.2s ease; }
.utility-bar a:hover { opacity: 1; color: var(--gold-light); }
.utility-bar .utility-left span { margin-right: 16px; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 21px;
  color: var(--navy-900);
  flex-shrink: 0;
}
.brand-mark {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out);
  display: block;
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-name { letter-spacing: -0.01em; }
/* Wordmark is uniform-colored per the brand logo (no two-tone split) —
   inherit color from context instead of hardcoding, so it stays visible
   in both the light header and the dark footer. */
.brand-name .accent { color: inherit; font-weight: 800; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy-800);
  position: relative;
  transition: background 0.2s ease, color 0.2s ease;
}
.main-nav a:hover { background: var(--gray-50); color: var(--gold); }
.main-nav a.active { color: var(--gold); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--gold);
}

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--navy-900); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-600) 100%);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-600) 100%);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(190deg, rgba(6,16,29,0.55) 0%, rgba(6,16,29,0.4) 30%, rgba(6,16,29,0.92) 100%),
    linear-gradient(90deg, rgba(6,16,29,0.92) 0%, rgba(6,16,29,0.55) 45%, rgba(6,16,29,0.15) 80%),
    radial-gradient(circle at 85% 15%, rgba(184, 134, 11, 0.28), transparent 45%);
}
@keyframes kenburns {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.16) translate(-1.5%, -1%); }
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 150px 0 140px;
  width: 100%;
}
.hero-copy { max-width: 640px; margin-bottom: 40px; }
.hero-copy h1 {
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 58px;
  line-height: 1.06;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.hero-copy p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 520px; }

/* Entrance animation for above-the-fold hero content (no scroll needed) */
.animate-in {
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Search Card ---------- */
.search-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 26px;
}
.hero .search-card { margin-bottom: -180px; }
.trip-tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.trip-tab {
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--gray-700);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 13.5px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.trip-tab.active { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

.search-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: end;
}
.search-grid.with-btn { grid-template-columns: repeat(4, 1fr) auto; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.field input,
.field select {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 12px;
  font-size: 14.5px;
  color: var(--navy-900);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.12);
}
.field-swap-wrap { position: relative; }
.swap-btn {
  position: absolute;
  right: -21px;
  top: 32px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--gold);
  transition: transform 0.3s var(--ease-out), border-color 0.2s ease;
}
.swap-btn:hover { border-color: var(--gold); transform: rotate(180deg); }
.swap-btn svg { width: 16px; height: 16px; }

.search-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.checkbox-field { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--gray-700); font-weight: 600; }
.checkbox-field input { width: 16px; height: 16px; accent-color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--gray-50); }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-family: var(--font-serif); font-weight: 600; font-size: 36px; }
.section-head p { font-size: 16px; }
.section-head.left { text-align: left; margin: 0 0 44px; }

/* Extra top clearance for the section directly after the hero, to make
   room for the search card's negative-margin overlap into it. */
.section-after-hero { padding-top: 210px; }
@media (max-width: 760px) {
  .section-after-hero { padding-top: 250px; }
}

/* ---------- Promo / feature grid ---------- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.promo-card {
  border-radius: var(--radius-md);
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.promo-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.promo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
  z-index: 0;
}
.promo-card:hover .promo-img { transform: scale(1.1); }
.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6,22,39,0.08) 0%, rgba(6,22,39,0.55) 55%, rgba(6,22,39,0.94) 100%);
}
.promo-content { position: relative; z-index: 2; padding: 28px; width: 100%; }
.promo-1 { background: linear-gradient(135deg, var(--gold-btn), var(--navy-700)); }
.promo-2 { background: linear-gradient(135deg, var(--navy-600), var(--gold-btn)); }
.promo-3 { background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); }
.promo-content h3 { color: var(--white); margin-bottom: 4px; font-size: 21px; font-family: var(--font-serif); font-weight: 600; }
.promo-content p { color: rgba(255,255,255,0.85); font-size: 14px; margin-bottom: 14px; }
.promo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--white);
  transition: gap 0.25s ease;
}
.promo-link svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease-out); }
.promo-card:hover .promo-link { gap: 10px; }
.promo-card:hover .promo-link svg { transform: translateX(2px); }

/* ---------- Destination cards ---------- */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.dest-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  border: 1px solid var(--gray-100);
}
.dest-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.dest-img-wrap { height: 180px; width: 100%; overflow: hidden; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); position: relative; }
.dest-img-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6,22,39,0.35) 100%);
}
.dest-img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.dest-card:hover .dest-img { transform: scale(1.1); }
.dest-body { padding: 18px 20px 22px; }
.dest-city { font-weight: 800; font-size: 17px; color: var(--navy-900); }
.dest-country { font-size: 13px; color: var(--gray-500); margin-bottom: 10px; }
.dest-price { display: flex; align-items: baseline; justify-content: space-between; }
.dest-price .from { font-size: 12px; color: var(--gray-500); text-transform: uppercase; font-weight: 700; }
.dest-price .amount { font-size: 21px; font-weight: 800; color: var(--gold); }
.dest-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--white);
  margin-bottom: 8px;
}

/* ---------- Stats / trust bar ---------- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-item .num {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 600;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}
.trust-item .label { font-size: 13.5px; color: var(--gray-500); font-weight: 600; }

/* ---------- Cards generic ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

/* ---------- Perk list ---------- */
.perk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.perk-card {
  text-align: left;
  padding: 30px 26px;
  border-radius: var(--radius-md);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s ease;
}
.perk-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--white); }
.perk-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.16), rgba(184, 134, 11, 0.06));
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.35s var(--ease-out);
}
.perk-card:hover .perk-icon { transform: scale(1.08) rotate(-4deg); }
.perk-icon svg { width: 27px; height: 27px; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-item:first-child { border-top: 1px solid var(--gray-100); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-900);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: transform 0.3s var(--ease-out);
}
.faq-item summary .faq-icon svg { width: 16px; height: 16px; }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 32px 22px 4px; color: var(--gray-500); font-size: 14.5px; line-height: 1.75; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--navy-700);
  line-height: 1.5;
}
.checklist svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--success); margin-top: 1px; }

/* ---------- Quick-facts info grid ---------- */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.info-tile {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.info-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-tile .info-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--gold); margin-bottom: 8px; }
.info-tile h4 { font-size: 16px; margin-bottom: 6px; }
.info-tile p { font-size: 13.5px; color: var(--gray-500); margin: 0; line-height: 1.6; }

/* ---------- Simple numbered steps ---------- */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step-card { text-align: left; }
.step-num {
  counter-increment: step;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step-num::before { content: counter(step); }
.step-num.is-code { counter-increment: none; font-size: 14px; letter-spacing: 0.02em; }
.step-num.is-code::before { content: none; }
.step-card h4 { font-size: 16px; margin-bottom: 6px; }
.step-card p { font-size: 13.5px; color: var(--gray-500); margin: 0; line-height: 1.6; }

/* ---------- Route price list ---------- */
.route-list { display: flex; flex-direction: column; }
.route-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--gray-100);
  transition: padding-left 0.25s var(--ease-out);
}
.route-row:first-child { border-top: 1px solid var(--gray-100); }
.route-row:hover { padding-left: 8px; }
.route-row .route-cities { font-weight: 700; color: var(--navy-900); font-size: 15px; }
.route-row .route-sub { font-size: 12.5px; color: var(--gray-500); margin-top: 2px; }
.route-row .route-price { text-align: right; flex-shrink: 0; }
.route-row .route-price .from { display: block; font-size: 11px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; }
.route-row .route-price .amount { font-size: 19px; font-weight: 800; color: var(--gold); font-family: var(--font-serif); }

/* ---------- Fare comparison cards ---------- */
.fare-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fare-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.fare-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.fare-card.featured { background: var(--navy-900); border-color: var(--navy-900); }
.fare-card.featured h3, .fare-card.featured .fare-price { color: var(--white); }
.fare-card.featured .fare-price { color: var(--gold-light); }
.fare-card .fare-price { font-family: var(--font-serif); font-weight: 600; font-size: 24px; color: var(--gold); margin: 6px 0 16px; }
.fare-list { list-style: none; margin: 0 0 22px; padding: 0; }
.fare-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; padding: 6px 0; color: var(--gray-500); line-height: 1.4; }
.fare-list svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--success); margin-top: 2px; }
.fare-card.featured .fare-list li { color: rgba(255,255,255,0.75); }
.fare-card.featured .fare-list svg { color: var(--gold-light); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
}
.cta-media { position: absolute; inset: 0; z-index: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(6,22,39,0.94), rgba(10,42,67,0.75));
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 6px; font-family: var(--font-serif); font-weight: 600; font-size: 30px; }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--gray-300);
  padding: 56px 0 0;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand { color: var(--white); margin-bottom: 12px; }
.footer-brand p { color: var(--gray-500); font-size: 13.5px; max-width: 260px; }
.footer-address {
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
  line-height: 1.7;
  margin-top: 14px;
}
.footer-tagline {
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 2px 0 14px;
}
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, transform 0.25s var(--ease-out);
}
.social-row a:hover { background: var(--gold); transform: translateY(-3px); }
.social-row svg { width: 16px; height: 16px; }
.footer-col h4 { color: var(--white); font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--gray-300); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 12.5px;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .legal-links { display: flex; gap: 18px; }

/* ---------- Page header (for interior pages) ---------- */
.page-header {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 64px 0 130px;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
}
.page-header-media { position: absolute; inset: 0; z-index: 0; }
.page-header-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.page-header-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(190deg, rgba(6,16,29,0.55) 0%, rgba(6,16,29,0.75) 60%, rgba(6,16,29,0.95) 100%),
    linear-gradient(90deg, rgba(6,16,29,0.85) 0%, rgba(6,16,29,0.35) 60%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); font-family: var(--font-serif); font-weight: 600; font-size: 40px; margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,0.82); max-width: 560px; font-size: 16.5px; }
.page-body { margin-top: -84px; position: relative; padding-bottom: 90px; }

.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.85); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- Flight results ---------- */
.results-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.flight-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
}
.flight-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.flight-airline { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy-900); font-size: 14px; }
.flight-airline .plane-chip {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--navy-900); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.flight-airline .plane-chip svg { width: 18px; height: 18px; }
.flight-times { display: flex; align-items: center; gap: 14px; }
.flight-times .time { font-size: 20px; font-weight: 800; color: var(--navy-900); }
.flight-times .airport { font-size: 12px; color: var(--gray-500); font-weight: 700; }
.flight-path { flex: 1; text-align: center; position: relative; }
.flight-path .duration { font-size: 12px; color: var(--gray-500); margin-bottom: 4px; }
.flight-path .line { height: 2px; background: var(--gray-300); position: relative; }
.flight-path .line::before, .flight-path .line::after {
  content: ""; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--navy-600);
}
.flight-path .line::before { left: 0; }
.flight-path .line::after { right: 0; background: var(--gold); }
.flight-path .stops { font-size: 11.5px; color: var(--gray-500); margin-top: 4px; }
.flight-meta { text-align: right; }
.flight-meta .price { font-size: 22px; font-weight: 800; color: var(--gold); }
.flight-meta .price-label { font-size: 11.5px; color: var(--gray-500); margin-bottom: 6px; display:block; }

/* ---------- Status timeline ---------- */
.status-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0;
  position: relative;
}
.status-flow::before {
  content: "";
  position: absolute;
  top: 20px; left: 20px; right: 20px;
  height: 3px;
  background: var(--gray-200);
  z-index: 0;
}
.status-flow .flow-progress {
  position: absolute; top: 20px; left: 20px; height: 3px;
  background: var(--gold); z-index: 1;
  transition: width 0.8s var(--ease-out);
}
.flow-step { position: relative; z-index: 2; text-align: center; flex: 1; }
.flow-dot {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px; color: var(--gray-400);
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.flow-step.done .flow-dot { border-color: var(--gold); color: var(--gold); background: rgba(184,134,11,0.08); }
.flow-step.current .flow-dot { border-color: var(--gold-btn); color: var(--gold-btn); background: rgba(220,165,59,0.1); box-shadow: 0 0 0 6px rgba(220,165,59,0.18); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(220,165,59,0.18); }
  50% { box-shadow: 0 0 0 10px rgba(220,165,59,0.08); }
}
.flow-dot svg { width: 20px; height: 20px; }
.flow-label { font-size: 12.5px; font-weight: 700; color: var(--navy-900); }
.flow-sub { font-size: 11.5px; color: var(--gray-500); }

.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-size: 12.5px; font-weight: 700;
}
.status-pill.on-time { background: rgba(30,158,109,0.12); color: var(--success); }
.status-pill.delayed { background: rgba(232,169,59,0.15); color: #A8781E; }
.status-pill.boarding { background: rgba(184,134,11,0.15); color: var(--gold); }

/* ---------- Boarding pass ---------- */
.boarding-pass {
  display: grid;
  grid-template-columns: 1fr 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.bp-main { padding: 30px; }
.bp-route { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.bp-route .city { font-family: var(--font-serif); font-size: 32px; font-weight: 600; color: var(--navy-900); }
.bp-route .code { font-size: 12px; color: var(--gray-500); font-weight: 700; }
.bp-route .arrow { color: var(--gold); flex: 1; text-align: center; }
.bp-route .arrow svg { width: 28px; }
.bp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bp-grid .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-500); font-weight: 700; margin-bottom: 4px; }
.bp-grid .value { font-size: 16px; font-weight: 800; color: var(--navy-900); }
.bp-stub {
  background: var(--navy-900);
  color: var(--white);
  padding: 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bp-stub::before {
  content: "";
  position: absolute;
  left: -10px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gray-50);
}
.bp-barcode {
  height: 50px;
  background: repeating-linear-gradient(90deg, var(--white) 0 2px, transparent 2px 5px);
  margin-top: 16px;
}

/* ---------- Trip cards ---------- */
.trip-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
}
.trip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.trip-date-badge {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  text-align: center;
  min-width: 74px;
}
.trip-date-badge .month { font-size: 11px; text-transform: uppercase; opacity: 0.75; }
.trip-date-badge .day { font-size: 24px; font-weight: 800; }

/* ---------- Forms (lookup) ---------- */
.lookup-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lookup-form .field.full { grid-column: 1 / -1; }

/* ---------- Alert / empty state ---------- */
.alert {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(184,134,11,0.08);
  color: var(--navy-800);
  font-size: 13.5px;
  align-items: flex-start;
}
.alert svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.hidden { display: none !important; }

/* ---------- Filter chips (destinations) ---------- */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-chip {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--gray-700);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease-out);
}
.filter-chip.active { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.filter-chip:hover { border-color: var(--navy-900); transform: translateY(-2px); }

/* ---------- Scroll reveal + stagger animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }

.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.stagger.visible > * { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(1) { transition-delay: 0.03s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.09s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.21s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.27s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.33s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.39s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.45s; }
.stagger.visible > *:nth-child(9) { transition-delay: 0.51s; }
.stagger.visible > *:nth-child(10) { transition-delay: 0.57s; }
.stagger.visible > *:nth-child(11) { transition-delay: 0.63s; }
.stagger.visible > *:nth-child(12) { transition-delay: 0.69s; }

/* ---------- Pop-in (for content revealed via JS interaction, not scroll) ---------- */
@keyframes popIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.pop-in { animation: popIn 0.55s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .search-grid { grid-template-columns: repeat(2, 1fr); }
  .search-grid.with-btn { grid-template-columns: repeat(2, 1fr); }
  .promo-grid, .perk-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .info-grid, .step-grid { grid-template-columns: repeat(2, 1fr); }
  .fare-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-copy h1 { font-size: 46px; }
  .flight-row { grid-template-columns: 1fr; text-align: left; gap: 10px; }
  .flight-meta { text-align: left; }
  .boarding-pass { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .hero { min-height: auto; }
  .hero-inner { padding: 130px 0 190px; }
  .hero-copy h1 { font-size: 34px; }
  .hero .search-card { margin-bottom: -220px; }
  .search-grid, .search-grid.with-btn { grid-template-columns: 1fr; }
  .promo-grid, .perk-grid, .dest-grid { grid-template-columns: 1fr; }
  .info-grid, .step-grid, .checklist, .fare-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .trip-card { grid-template-columns: 1fr; text-align: left; }
  .bp-grid { grid-template-columns: repeat(2, 1fr); }
  .utility-bar { display: none; }
  .lookup-form { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 28px; }
  .page-header h1 { font-size: 30px; }
}
