/* ============================================
   AeroNexus Holding — Design System
   Fonts: Inter (body), Poppins (headings)
   ============================================ */

:root {
  --color-primary: #1e3a8a;
  --color-primary-dark: #172554;
  --color-primary-light: #3b4f9a;
  --gradient-secondary: linear-gradient(135deg, #0d9488 0%, #06b6d4 50%, #22d3ee 100%);
  --color-accent: #f59e0b;
  --color-accent-strong: #ea580c;
  --color-bg: #f5f7fa;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-border: rgba(30, 58, 138, 0.12);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --header-height: 76px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --hero-splash-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Poppins", var(--font-sans);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

/* ----- Opening sequence: flight image (right → left), then homepage ----- */
html.page-intro-active {
  overflow: hidden;
  height: 100%;
}

.page-intro {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 48px 24px;
  background: #030712;
  overflow: hidden;
  transition: opacity 0.55s ease;
}

.page-intro__clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Wide frame pans horizontally so motion reads as right → left */
.page-intro__flight {
  position: absolute;
  top: -6%;
  left: 0;
  width: 200%;
  height: 112%;
  background-image: url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=2560&q=80");
  background-size: cover;
  background-position: 58% center;
  will-change: transform;
  animation: introFlightRtoL 2.75s cubic-bezier(0.45, 0, 0.2, 1) forwards;
}

@keyframes introFlightRtoL {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.page-intro__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(3, 7, 18, 0.88) 0%,
    rgba(3, 7, 18, 0.25) 42%,
    rgba(3, 7, 18, 0.65) 100%
  );
}

.page-intro__brand {
  position: relative;
  z-index: 2;
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.page-intro.page-intro--exit {
  opacity: 0;
  pointer-events: none;
}

.page-intro.page-intro--hidden {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .page-intro__flight {
    animation: none;
    transform: translateX(-22%);
    width: 180%;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
.section__title,
.hero__title {
  font-family: var(--font-display);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.site-header:not(.is-scrolled) .nav__list a,
.site-header:not(.is-scrolled) .lang__btn {
  color: #fff;
}

.site-header:not(.is-scrolled) .lang__sep {
  color: rgba(255, 255, 255, 0.4);
}

.site-header:not(.is-scrolled) .icon-btn,
.site-header:not(.is-scrolled) .nav-toggle {
  color: #fff;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--color-primary);
}

.logo:hover {
  text-decoration: none;
}

/* Logo “card” on dark hero (transparent header) */
.site-header:not(.is-scrolled) .logo {
  background: #fff;
  border-radius: 5px;
  padding: 20px 10px 8px;
  margin-top: -15px;
}

.site-header.is-scrolled .logo {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-top: 0;
}

.logo__img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
  object-position: left center;
  transition: filter var(--transition);
}

.site-header.is-scrolled .logo__img {
  filter: none;
}

.logo__img--footer {
  height: 44px;
  max-width: 200px;
  opacity: 0.98;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  display: block;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}

.nav__list a:hover {
  background: rgba(30, 58, 138, 0.08);
  text-decoration: none;
}

.site-header:not(.is-scrolled) .nav__list a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 2px;
  font-size: 0.75rem;
}

.lang__btn {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: var(--color-text-muted);
  padding: 4px 4px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.lang__btn:hover {
  color: var(--color-primary);
}

.lang__btn--active {
  color: var(--color-primary);
  font-weight: 600;
}

.site-header:not(.is-scrolled) .lang__btn--active {
  color: #fff;
}

.lang__sep {
  color: var(--color-border);
  user-select: none;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  transition: background var(--transition);
}

.icon-btn:hover {
  background: rgba(30, 58, 138, 0.08);
}

.site-header:not(.is-scrolled) .icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--color-primary);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--transition);
}

/* ========== HERO (full-viewport still image + Ken Burns) ========== */
.hero {
  position: relative;
  /* Splash: always at least one full screen */
  min-height: 100vh;
  min-height: 100dvh;
  max-height: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: calc(var(--header-height) + 32px) 24px 96px;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -4%;
  background-image: url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=2400&q=80");
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: heroKenBurns 28s var(--hero-splash-ease) infinite alternate;
}

.hero--no-video .hero__bg {
  animation-duration: 35s;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, transparent 42%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.55) 0%, transparent 55%),
    linear-gradient(180deg, transparent 20%, rgba(15, 23, 42, 0.5) 65%, rgba(10, 20, 50, 0.92) 100%);
}

/* Subtle film grain — reads as “premium broadcast” */
.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
}

.hero__layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

.hero__main {
  min-width: 0;
}

.hero__preview {
  min-width: 0;
}

@media (min-width: 900px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
    gap: 36px 48px;
  }
}

/* Splash-style entrance (requires JS: html.hero-enhanced) */
html.hero-enhanced .hero__content {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(6px);
  transition:
    opacity 1.1s var(--hero-splash-ease),
    transform 1.1s var(--hero-splash-ease),
    filter 1s var(--hero-splash-ease);
}

html.hero-enhanced .hero.hero--ready .hero__content {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 12px;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin: 0 0 36px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.14) translate3d(-1.5%, 1%, 0);
  }
}

/* Bottom “splash” affordance — scroll into site */
.hero__scroll-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  padding: 10px 20px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.8s var(--hero-splash-ease) 0.4s, color var(--transition), background var(--transition);
}

html:not(.hero-enhanced) .hero__scroll-hint {
  opacity: 1;
}

.hero.hero--ready .hero__scroll-hint {
  opacity: 1;
}

.hero__scroll-hint:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
}

.hero__scroll-icon {
  display: flex;
  animation: heroScrollBounce 2.2s ease-in-out infinite;
}

@keyframes heroScrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg {
    animation: none;
    transform: scale(1.05);
    inset: 0;
  }

  html.hero-enhanced .hero__content {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .hero__scroll-icon {
    animation: none;
  }

  .hero__scroll-hint {
    opacity: 1;
    transition: none;
  }
}

/* Flight search block */
.flight-search {
  max-width: 640px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 14px 14px 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.flight-search__tabs-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 14px;
}

.flight-search__iam {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.2;
}

.flight-search__segment {
  flex: 1 1 220px;
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 48px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

.flight-search__tab {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition),
    transform 0.15s ease;
}

.flight-search__tab-text {
  display: block;
  line-height: 1.25;
}

.flight-search__tab:hover:not(.flight-search__tab--active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.flight-search__tab--active {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.flight-search__tab--active:hover {
  color: var(--color-primary);
  background: #fff;
}

.flight-search__tab:focus-visible {
  outline: 2px solid rgba(245, 158, 11, 0.95);
  outline-offset: 2px;
}

.flight-search__row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.flight-search__input {
  flex: 1;
  min-width: 200px;
  padding: 16px 20px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--color-text);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.flight-search__input::placeholder {
  color: #94a3b8;
}

.flight-search__input:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow var(--transition);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-strong) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.35);
}

.btn--accent:hover {
  box-shadow: 0 12px 32px rgba(234, 88, 12, 0.45);
}

/* Hero flight preview: darker glass so text wins over bright sky / wing */
.hero-preview {
  background: linear-gradient(
    165deg,
    rgba(15, 23, 42, 0.86) 0%,
    rgba(15, 23, 42, 0.78) 50%,
    rgba(15, 23, 42, 0.72) 100%
  );
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 18px 18px 14px;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-preview__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-preview__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero-preview__meta {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.88);
}

.hero-preview__panel {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hero-preview__panel--hidden {
  display: none !important;
}

.hero-preview__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  color: #e2e8f0;
}

.hero-preview__table thead th {
  text-align: left;
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(241, 245, 249, 0.92);
  padding: 8px 10px 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-preview__table tbody td {
  padding: 11px 12px 11px 0;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  color: #f1f5f9;
}

.hero-preview__table tbody td strong {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-preview__table tbody tr:last-child td {
  border-bottom: none;
}

.hero-preview__table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.hero-preview__table .status-pill {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.hero-preview__foot {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.hero-preview__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #f8fafc;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: color var(--transition), border-color var(--transition);
}

.hero-preview__link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.75);
}

/* Hero: contextual quick links (swap with Arriving / Departing) */
.hero-context-links {
  margin-top: 40px;
  max-width: none;
}

.hero-context-links__panel--hidden {
  display: none !important;
}

.hero-context-links__card {
  background: linear-gradient(
    165deg,
    rgba(15, 23, 42, 0.86) 0%,
    rgba(15, 23, 42, 0.78) 50%,
    rgba(15, 23, 42, 0.72) 100%
  );
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 22px 24px 20px;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-context-links__section + .hero-context-links__section {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-context-links__group-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(241, 245, 249, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Horizontal scroll: image + title tiles (like carousel strip) */
.hero-context-links__scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 4px;
  margin: 0 -6px;
  padding: 4px 6px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.06);
}

.hero-context-links__scroll::-webkit-scrollbar {
  height: 7px;
}

.hero-context-links__scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

.hero-context-links__scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 4px;
}

.hero-context-links__strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-context-links__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 132px;
}

@media (min-width: 480px) {
  .hero-context-links__item {
    width: 148px;
  }
}

@media (min-width: 900px) {
  .hero-context-links__item {
    width: 156px;
  }
}

.hero-context-links__tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  text-decoration: none;
  color: #f1f5f9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.hero-context-links__tile:hover {
  color: #fff;
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.hero-context-links__tile:focus-visible {
  outline: 2px solid rgba(245, 158, 11, 0.95);
  outline-offset: 3px;
}

.hero-context-links__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.6);
}

.hero-context-links__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.45s ease;
}

.hero-context-links__tile:hover .hero-context-links__img {
  transform: scale(1.06);
}

.hero-context-links__tile-title {
  display: block;
  padding: 10px 8px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  font-family: var(--font-display);
}

@media (prefers-reduced-motion: reduce) {
  .hero-context-links__tile:hover {
    transform: none;
  }

  .hero-context-links__tile:hover .hero-context-links__img {
    transform: none;
  }
}

/* ========== SECTIONS (shared) ========== */
.section {
  padding: 72px 0;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section__header--light .section__title,
.section__header--light .section__lead {
  color: #fff;
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

/* ========== QUICK LINKS ========== */
.quick-links__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.link-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 24px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 148, 136, 0.35);
  text-decoration: none;
}

.link-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(30, 58, 138, 0.08), rgba(6, 182, 212, 0.12));
  color: var(--color-primary);
}

.link-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
}

/* ========== FLIGHT PANEL (dark) ========== */
.flight-panel-wrap {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 45%, #0c4a6e 100%);
  padding: 80px 0;
}

.flight-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  background: rgba(15, 23, 42, 0.6);
}

.flight-panel__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.flight-panel__tabs {
  display: flex;
  gap: 8px;
}

.flight-panel__tab {
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.flight-panel__tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.flight-panel__tab--active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(6, 182, 212, 0.5);
}

.flight-panel__clock-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: flex-end;
  font-variant-numeric: tabular-nums;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.flight-panel__tz-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.flight-panel__clock {
  font-weight: 600;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
}

.flight-panel__tz-badge {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(6, 182, 212, 0.2);
  color: #7dd3fc;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.flight-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.flight-table thead th {
  text-align: left;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.flight-table tbody td {
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.flight-table tbody tr:last-child td {
  border-bottom: none;
}

.flight-table__row {
  transition: background var(--transition);
}

.flight-table__row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.flight-table__row--ontime {
  border-left: 3px solid #22c55e;
}

.flight-table__row--delayed {
  border-left: 3px solid #f97316;
}

.flight-table__row--boarding {
  border-left: 3px solid #eab308;
}

.flight-table__row--gate {
  border-left: 3px solid #38bdf8;
}

.flight-table--hidden {
  display: none;
}

.status-pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.status-pill--ontime {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

.status-pill--delayed {
  background: rgba(249, 115, 22, 0.2);
  color: #fdba74;
}

.status-pill--boarding {
  background: rgba(234, 179, 8, 0.2);
  color: #fde047;
}

.status-pill--gate {
  background: rgba(56, 189, 248, 0.2);
  color: #7dd3fc;
}

/* ========== SERVICES ========== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card__image {
  height: 200px;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
}

.service-card__body {
  padding: 28px 24px 32px;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--color-primary-dark);
}

.service-card__text {
  margin: 0 0 20px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.service-card__link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #0d9488;
  text-decoration: none;
}

.service-card__link:hover {
  color: var(--color-primary);
}

/* ========== EXPERIENCES ========== */
.experiences__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: minmax(280px, 32vw) minmax(220px, 24vw);
  gap: 20px;
}

.exp-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.exp-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.exp-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp-card--large {
  grid-column: span 3;
  grid-row: 1;
}

.exp-card--small {
  grid-column: span 2;
  grid-row: 2;
}

.exp-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.55) 50%, rgba(15, 23, 42, 0.92) 100%);
  pointer-events: none;
}

.exp-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 28px;
  z-index: 1;
}

.exp-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

.exp-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.2;
}

.exp-card__meta {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}

.exp-card--small .exp-card__title {
  font-size: 1.125rem;
}

/* ========== VIP BANNER ========== */
.vip-banner {
  padding: 80px 0;
  background: var(--color-bg);
}

.vip-banner__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.vip-banner__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.vip-banner__text {
  padding: 48px 48px 48px 0;
}

.vip-banner__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0d9488;
  margin: 0 0 12px;
}

.vip-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 16px;
  line-height: 1.2;
}

.vip-banner__copy {
  margin: 0 0 28px;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  max-width: 480px;
}

.btn--vip {
  background: var(--gradient-secondary);
  color: #fff;
  padding: 16px 32px;
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.35);
}

.btn--vip:hover {
  box-shadow: 0 14px 40px rgba(13, 148, 136, 0.45);
}

/* ========== DESTINATIONS CAROUSEL ========== */
.destinations .section__header {
  margin-bottom: 32px;
}

.destinations__carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 24px 24px;
  max-width: 1440px;
  margin: 0 auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) transparent;
}

.destinations__carousel::-webkit-scrollbar {
  height: 8px;
}

.destinations__carousel::-webkit-scrollbar-thumb {
  background: rgba(30, 58, 138, 0.35);
  border-radius: 999px;
}

.dest-card {
  flex: 0 0 min(280px, 85vw);
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.dest-card img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.dest-card__body {
  padding: 16px 18px 20px;
}

.dest-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--color-primary-dark);
}

.dest-card__code {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #0d9488;
}

/* ========== FOOTER (long mega — text-only, Changi-style) ========== */
.site-footer--mega {
  background: #1c1c1c;
  color: rgba(255, 255, 255, 0.78);
  padding-top: 0;
}

.site-footer__upper {
  padding: 56px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__mega-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(200px, 260px);
  gap: 32px 28px;
  align-items: start;
}

.site-footer__mega-col {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-block__title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.footer-block__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-block__list li {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}

.footer-block__list li:last-child {
  margin-bottom: 0;
}

.site-footer__mega-aside {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-aside__label {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.footer-app-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-app-badge {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
}

.footer-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 200px;
}

.footer-social-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.footer-aside__newsletter-text {
  margin: 0 0 14px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.footer-btn-outline {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
}

.site-footer__bar {
  padding: 28px 0 32px;
  background: #1c1c1c;
}

.site-footer__bar-inner--mega {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}

.site-footer__bar-brand {
  display: flex;
  align-items: center;
}

.site-footer__logo-mark {
  background: #fff;
  border-radius: 5px;
  padding: 10px;
}

.site-footer__logo-mark .logo__img--footer {
  height: 40px;
  width: auto;
  max-width: 200px;
  opacity: 0.95;
}

.site-footer__bar-links,
.site-footer__bar-legal {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  line-height: 1.5;
}

.site-footer__bar-links {
  flex: 1 1 260px;
  min-width: min(100%, 200px);
}

.site-footer__bar-legal {
  flex: 1 1 220px;
  min-width: min(100%, 180px);
}

.site-footer__bar-links span:not(.site-footer__dot),
.site-footer__bar-legal span:not(.site-footer__dot) {
  white-space: nowrap;
}

.site-footer__dot {
  color: rgba(255, 255, 255, 0.25);
  user-select: none;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* ========== RESPONSIVE: TABLET ========== */
@media (max-width: 1024px) {
  .nav__list {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 999;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .nav.is-open .nav__list {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list a {
    color: var(--color-text) !important;
    padding: 14px 12px;
    border-radius: var(--radius-sm);
  }

  .nav__list a:hover {
    background: rgba(30, 58, 138, 0.08) !important;
  }

  .nav-toggle {
    display: flex;
  }

  .quick-links__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .experiences__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .exp-card--large {
    grid-column: span 2;
    grid-row: auto;
    min-height: 260px;
  }

  .exp-card--small {
    grid-column: span 1;
    min-height: 220px;
  }

  .vip-banner__inner {
    grid-template-columns: 1fr;
  }

  .vip-banner__text {
    padding: 32px 28px 40px;
  }

  .vip-banner__media img {
    min-height: 280px;
  }

  .site-footer__mega-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__mega-aside {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: 0;
    border-left: none;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 24px 32px;
  }

  .site-footer__bar-inner--mega {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__copy {
    text-align: left;
  }
}

/* ========== RESPONSIVE: MOBILE ========== */
@media (max-width: 768px) {
  .header__inner {
    padding: 0 16px;
  }

  .lang {
    display: none;
  }

  .hero {
    padding-bottom: 88px;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero__scroll-hint {
    bottom: 20px;
  }

  .hero-context-links {
    margin-top: 28px;
  }

  .hero-context-links__card {
    padding: 18px 14px 14px;
  }

  .hero-context-links__item {
    width: 124px;
  }

  .hero-context-links__tile-title {
    font-size: 0.6875rem;
    padding: 8px 6px 10px;
  }

  .flight-search__tabs-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .flight-search__iam {
    text-align: center;
    letter-spacing: 0.22em;
  }

  .flight-search__segment {
    flex: 1 1 auto;
    width: 100%;
  }

  .flight-search__row {
    flex-direction: column;
  }

  .flight-search__submit {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  .quick-links__grid {
    grid-template-columns: 1fr;
  }

  .flight-panel__toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .experiences__grid {
    grid-template-columns: 1fr;
  }

  .exp-card--large,
  .exp-card--small {
    grid-column: span 1;
    min-height: 240px;
  }

  .destinations__carousel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-footer__upper {
    padding: 40px 0 36px;
  }

  .site-footer__mega-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer__mega-aside {
    flex-direction: column;
    padding-top: 0;
    border-top: none;
  }

  .site-footer__bar-inner--mega {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-footer__bar-links,
  .site-footer__bar-legal {
    font-size: 0.75rem;
  }

  .site-footer__copy {
    text-align: left;
  }
}

@media (min-width: 1025px) {
  .nav {
    flex: 1;
    display: flex;
    justify-content: center;
  }
}
