/* NDC Deals — Fare Board
   Dense B2B ops aesthetic. Inspired by FIDS screens + agent workstations.
   Not soft SaaS cream, not acid-dark startup. */

:root {
  --ink: #0a1628;
  --ink-soft: #1c2b3a;
  --paper: #f0f2f5;
  --sheet: #ffffff;
  --line: #d5dbe3;
  --line-strong: #a8b3c0;
  --mute: #5c6b7a;
  --green: #0a7a52;
  --green-deep: #065c3d;
  --green-soft: #e6f5ef;
  --amber: #d97706;
  --amber-soft: #fff7ed;
  --navy: #0a1628;
  --navy-2: #132337;
  --danger: #b91c1c;
  --ok: #0a7a52;

  /* Modern product UI — not condensed/newspaper */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Inter", system-ui, sans-serif;

  --max: 1120px;
  --nav-h: 64px;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: var(--green-deep);
  text-underline-offset: 2px;
}
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 0.45em;
  text-transform: none;
}

p { margin: 0 0 1em; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ——— Nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--sheet);
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 48px;
  width: auto;
}

.site-footer .logo img { height: 80px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--green);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 0.4rem 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 3px 0;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  text-decoration: none;
}

.btn-ghost {
  background: var(--sheet);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  text-decoration: none;
}

.btn-amber {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
}
.btn-amber:hover {
  background: #b45309;
  border-color: #b45309;
  color: #fff;
  text-decoration: none;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
}

.btn-block { width: 100%; }

/* ——— Hero (fare board thesis) ——— */
.hero {
  background: var(--navy);
  color: #e8eef4;
  padding: 2.75rem 0 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.78) 48%, rgba(10, 22, 40, 0.55) 100%),
    url("../assets/images/bg-hero.png") center / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: stretch;
  padding-bottom: 2.75rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0 1rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #9bb0c2;
  margin-bottom: 1rem;
}

.hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(10, 122, 82, 0.35);
}

.hero h1 {
  font-size: clamp(2.15rem, 4.5vw, 3.1rem);
  color: #fff;
  margin-bottom: 0.85rem;
  max-width: 16ch;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.hero h1 .hl {
  color: #3dd68c;
  display: inline;
}

.hero-lead {
  font-size: 1.05rem;
  color: #a8b8c8;
  max-width: 36ch;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.15rem;
  max-width: 420px;
}

.hero-metrics .m {
  padding-right: 1rem;
}

.hero-metrics .m + .m {
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 1rem;
}

.hero-metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.hero-metrics span {
  font-size: 0.78rem;
  color: #7d93a8;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
}

/* Live fare board panel */
.fare-board {
  background: #07101c;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.fare-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #0d1a2b;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #7d93a8;
}

.fare-board-head .live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #3dd68c;
  font-weight: 600;
}

.fare-board-head .live::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #3dd68c;
  border-radius: 50%;
  animation: pulse 1.6s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.fare-cols {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.9fr 0.9fr;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #5a7085;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.fare-row {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.9fr 0.9fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
}

.fare-row:nth-child(even) {
  background: rgba(255,255,255,0.02);
}

.fare-row .route {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.fare-row .route span {
  color: #5a7085;
  margin: 0 0.2rem;
  font-weight: 500;
}

.fare-row .airline {
  font-size: 0.82rem;
  color: #a8b8c8;
  font-weight: 600;
}

.fare-row .price {
  font-size: 0.88rem;
  color: #7d93a8;
  text-decoration: line-through;
  text-decoration-color: rgba(185, 28, 28, 0.5);
}

.fare-row .ndc {
  font-size: 0.92rem;
  font-weight: 700;
  color: #3dd68c;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.fare-row .ndc small {
  display: block;
  font-size: 0.65rem;
  color: #5a7085;
  font-weight: 500;
  margin-top: 0.15rem;
}

.fare-board-foot {
  margin-top: auto;
  padding: 1rem;
  background: #0d1a2b;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.fare-board-foot p {
  margin: 0;
  font-size: 0.8rem;
  color: #7d93a8;
  max-width: 28ch;
}

/* Full-width airline logo carousel */
.carrier-strip {
  background: var(--sheet);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
  overflow: hidden;
}

.logo-carousel {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
  animation: logo-scroll 45s linear infinite;
}

.logo-track:hover {
  animation-play-state: paused;
}

@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-slide {
  flex: 0 0 auto;
  width: 128px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

.logo-slide img {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .logo-carousel { mask-image: none; -webkit-mask-image: none; overflow: visible; padding: 0 1rem; }
}

/* ——— Sections ——— */
.section {
  padding: 3.5rem 0;
}

.section-tight {
  padding: 2.75rem 0;
}

.section-dark {
  background: var(--navy);
  color: #e8eef4;
}

.section-sheet {
  background: var(--sheet);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Switch checklist — full section photo background */
.section-switch {
  position: relative;
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}

.section-switch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(240, 242, 245, 0.94) 0%,
      rgba(240, 242, 245, 0.88) 45%,
      rgba(240, 242, 245, 0.92) 100%
    ),
    url("../assets/images/bg-switch.png") center / cover no-repeat;
}

.section-switch .section-head-on-photo {
  max-width: 36rem;
}

.section-switch .section-head-on-photo h2 {
  color: var(--ink);
}

.section-switch .compare-wrap {
  box-shadow: 0 16px 40px rgba(10, 22, 40, 0.1);
  background: rgba(255, 255, 255, 0.97);
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}

.section-head h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-dark .section-head h2 { color: #fff; }

.section-head p {
  color: var(--mute);
  font-size: 1rem;
  margin: 0;
  max-width: 48ch;
}

.section-dark .section-head p { color: #8fa0b0; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
  display: block;
}

.section-dark .eyebrow { color: #3dd68c; }

.split-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.split-head .section-head { margin-bottom: 0; }

/* ——— Steps (process, numbers OK) ——— */
.media-split .steps {
  grid-template-columns: 1fr;
}

.media-split .step-card {
  border-right: none;
  border-bottom: 1px solid var(--line);
}

.media-split .step-card:last-child {
  border-bottom: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--sheet);
  border-radius: var(--r);
  overflow: hidden;
}

.step-card {
  padding: 1.5rem 1.35rem;
  border-right: 1px solid var(--line);
  background: var(--sheet);
}

.step-card:last-child { border-right: none; }

.step-num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--green);
  margin-bottom: 0.55rem;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.step-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--mute);
  line-height: 1.55;
}

/* ——— Comparison tables ——— */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--sheet);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.compare-table th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.compare-table th.highlight {
  background: var(--green);
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table td:first-child {
  font-weight: 700;
  color: var(--ink-soft);
  width: 18%;
  font-size: 0.85rem;
}

.compare-table td.highlight {
  background: var(--green-soft);
  font-weight: 500;
}

/* ——— Feature tabs ——— */
.tabs {
  display: grid;
  grid-template-columns: 200px 1fr;
  border: 1px solid var(--line);
  background: var(--sheet);
  border-radius: var(--r);
  overflow: hidden;
  min-height: 240px;
}

.tab-list {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  gap: 0.25rem;
  border-right: 1px solid var(--line);
}

.tab-btn {
  background: transparent;
  border: none;
  text-align: left;
  padding: 0.75rem 0.85rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--mute);
  cursor: pointer;
  border-radius: var(--r);
}

.tab-btn[aria-selected="true"] {
  background: var(--green);
  color: #fff;
}

.tab-btn:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
}

.tab-panels { padding: 1.5rem 1.75rem; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.tab-panel li {
  margin-bottom: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ——— Accordion ——— */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--sheet);
}

.acc-item {
  border-bottom: 1px solid var(--line);
  background: var(--sheet);
}

.acc-item:last-child { border-bottom: none; }

.acc-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 0.95rem 1.1rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.acc-trigger:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

.acc-icon {
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  color: var(--mute);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  line-height: 1;
}

.acc-item.open .acc-icon {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.acc-panel {
  display: none;
  padding: 0 1.1rem 1.1rem;
  color: var(--mute);
  font-size: 0.92rem;
}

.acc-item.open .acc-panel { display: block; }

.acc-panel ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

/* ——— Timeline ——— */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--sheet);
}

.tl-card {
  padding: 1.15rem;
  border-right: 1px solid var(--line);
  background: var(--sheet);
}

.tl-card:last-child { border-right: none; }

.tl-year {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 0.5rem;
  display: block;
}

.tl-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.tl-card p {
  font-size: 0.82rem;
  color: var(--mute);
  margin: 0;
  line-height: 1.45;
}

/* ——— Videos ——— */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.video-card {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  display: block;
}

.video-card .cap {
  padding: 0.7rem 0.9rem;
  font-weight: 700;
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

/* ——— Blog cards ——— */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.blog-card {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.12s;
}

.blog-card:hover {
  border-color: var(--green);
  color: inherit;
  text-decoration: none;
}

.blog-card-img {
  aspect-ratio: 16/9;
  background: var(--navy);
  object-fit: cover;
  width: 100%;
}

.blog-card-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.3;
}

.blog-card p {
  color: var(--mute);
  font-size: 0.88rem;
  margin: 0;
  flex: 1;
}

/* ——— Offers ——— */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.offer-pass {
  display: grid;
  grid-template-columns: 140px 1fr;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.12s;
}

.offer-pass:hover {
  border-color: var(--amber);
  text-decoration: none;
  color: inherit;
}

.offer-pass img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 110px;
  background: var(--navy);
}

.offer-pass-body {
  padding: 1rem 1.1rem;
  border-left: 1px dashed var(--line);
}

.offer-pass-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-weight: 700;
}

.offer-pass-body p {
  font-size: 0.88rem;
  color: var(--mute);
  margin: 0;
}

/* ——— Contact form ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.form {
  background: var(--navy);
  color: #e8eef4;
  padding: 1.5rem;
  border-radius: var(--r);
}

.form h3 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.form .sub {
  color: #8fa0b0;
  font-size: 0.9rem;
  margin-bottom: 1.15rem;
}

.form-row { margin-bottom: 0.85rem; }

.form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d93a8;
  margin-bottom: 0.3rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form input::placeholder,
.form textarea::placeholder { color: rgba(255,255,255,0.35); }

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 0;
  border-color: transparent;
}

.form textarea {
  min-height: 110px;
  resize: vertical;
}

.form-msg {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-msg.ok { color: #3dd68c; }
.form-msg.err { color: #fca5a5; }

/* ——— Footer ——— */
.site-footer {
  background: #060d16;
  color: #8fa0b0;
  padding: 2.75rem 0 1.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer .logo {
  margin-bottom: 1rem;
}

.site-footer p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 32rem;
  margin: 0;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.85rem;
}

.footer-col a {
  display: block;
  color: #8fa0b0;
  text-decoration: none;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.footer-col a:hover { color: #3dd68c; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

/* ——— Modal ——— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.open { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 13, 22, 0.72);
}

.modal-panel {
  position: relative;
  width: min(100%, 400px);
  background: var(--sheet);
  border-radius: var(--r);
  padding: 1.5rem;
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(0,0,0,0.25);
}

.modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: var(--mute);
}

.modal-panel h2 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.modal-panel .sub {
  color: var(--mute);
  font-size: 0.9rem;
  margin-bottom: 1.15rem;
}

.modal .form-row label { color: var(--mute); }

.modal input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.modal input:focus {
  outline: 2px solid var(--green);
  border-color: transparent;
}

/* ——— Inner page hero ——— */
.page-hero {
  background: var(--navy);
  color: #e8eef4;
  padding: 2.5rem 0 2.25rem;
}

.page-hero h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  color: #fff;
  margin-bottom: 0.4rem;
}

.page-hero p {
  color: #8fa0b0;
  max-width: 42rem;
  margin: 0;
  font-size: 1rem;
}

.page-hero a { color: #3dd68c; }

/* ——— Prose ——— */
.prose {
  max-width: 42rem;
}

.prose h2 {
  font-size: 1.4rem;
  margin-top: 1.75rem;
  text-transform: uppercase;
}

.prose h3 {
  font-size: 1.1rem;
  margin-top: 1.25rem;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
}

.prose img {
  border-radius: var(--r);
  margin: 1rem 0;
  border: 1px solid var(--line);
}

/* ——— Airlines grid ——— */
.airline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.airline-card {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.1rem 0.85rem;
  text-align: center;
}

.airline-card .code {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.airline-card .name {
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 0.2rem;
  color: var(--ink-soft);
}

.airline-card .status {
  display: inline-block;
  margin-top: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  background: var(--green-soft);
  color: var(--green-deep);
  border-radius: 2px;
}

.airline-card .status.in_progress {
  background: var(--amber-soft);
  color: #92400e;
}

/* ——— Utility ——— */
.center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }

.flex-center {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.chip {
  border: 1px solid var(--line);
  background: var(--sheet);
  color: var(--ink-soft);
  border-radius: 2px;
  padding: 0.4rem 0.75rem;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: var(--font-body);
}

.chip[aria-pressed="true"],
.chip:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.cta-band {
  background: var(--green);
  color: #fff;
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 122, 82, 0.92) 0%, rgba(6, 92, 61, 0.88) 100%),
    url("../assets/images/bg-cta.png") center / cover no-repeat;
  z-index: 0;
}

.cta-band > .container {
  position: relative;
  z-index: 1;
}

/* Section with side image */
.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.media-split .media-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sheet);
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.08);
}

.media-split .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

@media (max-width: 960px) {
  .media-split { grid-template-columns: 1fr; }
}

.cta-band .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: 1.65rem;
  color: #fff;
  margin: 0 0 0.25rem;
}

.cta-band p {
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.cta-band .btn-secondary {
  border-color: rgba(255,255,255,0.55);
}

.cta-band .btn-secondary:hover {
  background: rgba(255,255,255,0.15);
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .hero-grid,
  .contact-grid,
  .two-col,
  .tabs {
    grid-template-columns: 1fr;
  }

  .tab-list {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .tab-btn { white-space: nowrap; }

  .steps,
  .card-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .steps .step-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .tl-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fare-cols,
  .fare-row {
    grid-template-columns: 1.1fr 0.6fr 0.8fr 0.9fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }

  .site-header .logo img { height: 40px; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--sheet);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    display: block;
    padding: 0.7rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-links .btn {
    margin-top: 0.65rem;
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero-metrics .m + .m {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 0.75rem;
  }

  .fare-cols { display: none; }

  .fare-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.75rem;
  }

  .fare-row .price { grid-column: 1; }
  .fare-row .ndc { grid-column: 2; text-align: right; }

  .offer-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .offer-pass {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fare-board-head .live::before { animation: none; }
}

/* Page-level Turnstile (pre-clearance). Invisible in "interactive-only" mode until a visitor
   must interact; then it appears in the bottom-left corner (bottom-right is the chat widget). */
.ndc-turnstile-page {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9999;
}
.ndc-turnstile-page:empty { display: none; }
