/* ===== VARIABLES ===== */
:root {
  --blue: #004590;
  --blue-dark: #003267;
  --blue-mid: #0168da;
  --lagon: #00aeef;
  --ocean: #6eb3ff;
  --ocean-10: #edf6ff;
  --ocean-20: #cde5ff;
  --pistache: #bfd730;
  --pistache-dark: #9cb400;
  --footer-bg: #0b316c;
  --text: #2d3845;
  --black: #182027;
  --grey: #445262;
  --grey-70: #5d6d7f;
  --grey-alt: #78899c;
  --grey-light: #d7e4f3;
  --grey-ultra: #eef3f9;
  --grey-20: #e2ecf6;
  --bg-grey: #f5f8fc;
  --white: #fff;
  --red: #ea4e2d;
  --orange: #fcaf17;
  --fd: 'Nunito', sans-serif;
  --fb: 'Nunito Sans', sans-serif;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 999px;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fb);
  color: var(--text);
  background: var(--bg-grey);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  font-family: var(--fb);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

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

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--grey-light);
  border-radius: var(--radius-full);
}

/* ===== ANIMATIONS ===== */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.5); }
}

.anim-up { animation: slideUp 0.8s ease-out both; }
.anim-up-1 { animation: slideUp 0.8s ease-out 0.1s both; }
.anim-up-2 { animation: slideUp 0.8s ease-out 0.2s both; }
.anim-up-3 { animation: slideUp 0.8s ease-out 0.35s both; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  width: 100%;
}

/* ===== BUTTONS ===== */
.btn-pistache {
  font-size: 14px;
  font-weight: 800;
  background: var(--pistache);
  color: var(--text);
  border-radius: var(--radius-full);
  padding: 11px 26px;
  box-shadow: 0 4px 16px rgba(191, 215, 48, 0.3);
}

.btn-pistache-lg {
  font-size: 15px;
  padding: 16px 36px;
  box-shadow: 0 6px 28px rgba(191, 215, 48, 0.3);
}

.btn-ghost-white {
  font-size: 15px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 16px 36px;
  backdrop-filter: blur(12px);
}

.btn-blue {
  font-size: 14px;
  font-weight: 700;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  box-shadow: 0 4px 16px rgba(0, 69, 144, 0.2);
}

.btn-ghost-border {
  font-size: 14px;
  font-weight: 700;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 14px 30px;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  background: #5865F2;
  color: var(--white);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-discord:hover {
  background: #4752C4;
  transform: translateY(-1px);
  color: var(--white);
}

.btn-discord-lg {
  padding: 16px 32px;
  font-size: 15px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s;
}

.nav.solid {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 69, 144, 0.08);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.4s;
}

.nav-logo-img.logo-color { display: none; }
.nav-logo-img.logo-white { display: block; }

.nav.solid .nav-logo-img.logo-color { display: block; }
.nav.solid .nav-logo-img.logo-white { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.nav.solid .nav-link {
  color: var(--grey);
}

.nav-link:hover {
  color: var(--lagon);
}

.nav-locale {
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 3px;
}

.nav-locale-link {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  padding: 5px 10px;
  border-radius: var(--radius-full);
  transition: all 0.3s;
}

.nav-locale-link.active {
  background: var(--white);
  color: var(--blue);
}

.nav-locale-link:hover:not(.active) {
  color: var(--white);
}

.nav.solid .nav-locale {
  background: var(--grey-ultra);
}

.nav.solid .nav-locale-link {
  color: var(--grey-alt);
}

.nav.solid .nav-locale-link.active {
  background: var(--blue);
  color: var(--white);
}

.nav--solid-init {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 69, 144, 0.08);
}

.nav--solid-init .nav-logo-img.logo-color { display: block; }
.nav--solid-init .nav-logo-img.logo-white { display: none; }

.nav--solid-init .nav-link {
  color: var(--grey);
}

.nav--solid-init .nav-locale {
  background: var(--grey-ultra);
}

.nav--solid-init .nav-locale-link {
  color: var(--grey-alt);
}

.nav--solid-init .nav-locale-link.active {
  background: var(--blue);
  color: var(--white);
}

.nav--solid-init .btn-discord {
  color: var(--white);
}

.nav-link--active {
  color: var(--lagon) !important;
}

/* Rank sprite: 5 epaulettes, each 230x481, total 1150x481 */
.rank-epaulette {
  display: inline-block;
  width: 20px;
  height: 40px;
  background: url('/images/ranks-sprite.png') no-repeat;
  background-size: calc(5 * 20px) 40px; /* 5 slots scaled to 20px each */
  vertical-align: middle;
  flex-shrink: 0;
}
.rank-epaulette.rank-0 { background-position: 0 0 }
.rank-epaulette.rank-1 { background-position: -20px 0 }
.rank-epaulette.rank-2 { background-position: -40px 0 }
.rank-epaulette.rank-3 { background-position: -60px 0 }
.rank-epaulette.rank-4 { background-position: -80px 0 }

/* Larger variant for profile / grades page */
.rank-epaulette-lg {
  display: inline-block;
  width: 40px;
  height: 80px;
  background: url('/images/ranks-sprite.png') no-repeat;
  background-size: calc(5 * 40px) 80px;
  vertical-align: middle;
  flex-shrink: 0;
}
.rank-epaulette-lg.rank-0 { background-position: 0 0 }
.rank-epaulette-lg.rank-1 { background-position: -40px 0 }
.rank-epaulette-lg.rank-2 { background-position: -80px 0 }
.rank-epaulette-lg.rank-3 { background-position: -120px 0 }
.rank-epaulette-lg.rank-4 { background-position: -160px 0 }

/* Nav pilot badge */
.nav-pilot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s;
  text-decoration: none;
}
.nav-pilot:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.25);
}
.nav-pilot-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-pilot-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}
.nav-pilot-rank-text {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

/* Solid nav variants */
.nav.solid .nav-pilot,
.nav--solid-init .nav-pilot {
  background: var(--grey-ultra);
  border-color: var(--grey-light);
}
.nav.solid .nav-pilot:hover,
.nav--solid-init .nav-pilot:hover {
  background: var(--grey-light);
}
.nav.solid .nav-pilot-name,
.nav--solid-init .nav-pilot-name {
  color: var(--text);
}
.nav.solid .nav-pilot-rank-text,
.nav--solid-init .nav-pilot-rank-text {
  color: var(--grey-alt);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-slides {
  position: absolute;
  inset: 0;
  background-color: var(--blue-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background: center 42% / cover no-repeat;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 8s ease-out;
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.06);
}

.hero-overlay-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 50, 103, 0.45) 0%,
    rgba(0, 69, 144, 0.25) 30%,
    rgba(0, 69, 144, 0.15) 50%,
    rgba(0, 50, 103, 0.5) 75%,
    rgba(0, 50, 103, 0.9) 100%
  );
}

.hero-overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 50, 103, 0.75) 0%,
    rgba(0, 50, 103, 0.4) 30%,
    rgba(0, 50, 103, 0.1) 55%,
    transparent 70%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin-right: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-full);
  padding: 8px 22px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pistache);
  box-shadow: 0 0 10px var(--pistache);
  animation: pulse 2.5s infinite;
}

.hero-badge-text {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.hero h1 {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 68px);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 16px;
}

.hero h1 em {
  font-weight: 700;
}

.hero-sub {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
}

.confetti-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ===== STATS ===== */
.stats-section {
  background: var(--bg-grey);
  padding: 20px 0 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(0, 69, 144, 0.04);
  border: 1px solid var(--grey-ultra);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--ocean-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.stat-val {
  font-family: var(--fd);
  font-size: 26px;
  font-weight: 900;
  color: var(--blue);
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-alt);
}

/* ===== MAP SECTION ===== */
.map-section {
  background: var(--bg-grey);
  padding: 0 0 80px;
}

.map-title {
  text-align: center;
  margin-bottom: 40px;
}

.map-title h2 {
  font-family: var(--fd);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--blue);
}

.map-title p {
  font-size: 15px;
  color: var(--grey-alt);
  margin-top: 8px;
}

.map-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.map-tab {
  background: var(--white);
  color: var(--grey);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-full);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-tab.active {
  background: var(--blue);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 16px rgba(0, 69, 144, 0.2);
}

.map-tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.map-tab.active .map-tab-dot {
  background: var(--pistache);
}

.map-tab:not(.active) .map-tab-dot {
  background: var(--lagon);
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
}

.map-canvas-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 500px;
  box-shadow: 0 8px 32px rgba(0, 69, 144, 0.1);
}

#live-map {
  width: 100%;
  height: 100%;
}

.live-plane-icon {
  background: none !important;
  border: none !important;
}

.plane-marker {
  transition: transform 0.5s ease;
  filter: drop-shadow(0 0 6px rgba(0, 174, 239, 0.6));
}

.live-flight-tooltip {
  background: var(--blue-dark) !important;
  color: var(--white) !important;
  border: 1px solid rgba(0, 174, 239, 0.3) !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 14px !important;
  font-family: var(--fb) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.live-flight-tooltip::before {
  border-top-color: var(--blue-dark) !important;
}

.live-flight-tooltip .tooltip-sub {
  font-weight: 500;
  font-size: 11px !important;
  opacity: 0.7;
}

.panel-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--grey-alt);
  font-size: 14px;
}

/* WELCOME PANEL */
.panel-welcome {
  text-align: center;
}

.panel-welcome-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.panel-welcome h3 {
  font-family: var(--fd);
  font-size: 20px;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 10px;
}

.panel-welcome p {
  font-size: 13px;
  color: var(--grey-alt);
  line-height: 1.8;
  margin-bottom: 20px;
}

.panel-welcome-features {
  text-align: left;
  margin-bottom: 20px;
}

.panel-welcome-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--grey-ultra);
}

.panel-welcome-feat:last-child {
  border-bottom: none;
}

.panel-welcome-feat span {
  font-size: 16px;
  width: 24px;
  text-align: center;
}

.panel-welcome-hint {
  font-size: 11px;
  color: var(--grey-alt);
  font-style: italic;
  padding-top: 8px;
  border-top: 1px solid var(--grey-ultra);
}

/* PANEL BACK */
.panel-back {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--grey-ultra);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  transition: color 0.2s;
}

.panel-back:hover {
  color: var(--lagon);
}

/* AIRPORT LABELS */
.airport-label {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-family: var(--fd) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
}

.airport-label::before {
  display: none !important;
}

/* DESTINATION MAP TOOLTIPS */
.dest-map-tooltip {
  background: rgba(0, 50, 103, 0.85) !important;
  color: var(--white) !important;
  border: 1px solid rgba(0, 174, 239, 0.2) !important;
  border-radius: var(--radius-sm) !important;
  padding: 6px 12px !important;
  font-family: var(--fb) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

.dest-map-tooltip::before {
  display: none !important;
}

.map-panel {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 69, 144, 0.06);
  border: 1px solid var(--grey-ultra);
  display: flex;
  flex-direction: column;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pistache);
  box-shadow: 0 0 8px var(--pistache);
}

.panel-id {
  font-family: var(--fd);
  font-size: 20px;
  font-weight: 900;
  color: var(--blue);
}

.panel-badge {
  font-size: 10px;
  font-weight: 800;
  color: var(--lagon);
  background: var(--ocean-10);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  margin-left: auto;
  letter-spacing: 1px;
}

.panel-route {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.panel-code {
  font-family: var(--fd);
  font-size: 28px;
  font-weight: 900;
}

.panel-code.from {
  color: var(--blue);
}

.panel-code.to {
  color: var(--lagon);
}

.panel-city {
  font-size: 11px;
  color: var(--grey-alt);
}

.panel-progress {
  flex: 1;
  padding: 0 6px;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 4px;
}

.panel-bar-fill {
  height: 3px;
  background: var(--lagon);
  border-radius: var(--radius-full);
  transition: flex 0.5s;
  flex: var(--fill, 0);
}

.panel-bar-empty {
  height: 3px;
  background: var(--grey-20);
  border-radius: var(--radius-full);
  flex: var(--empty, 100);
}

.panel-bar-plane {
  font-size: 11px;
}

.panel-pct {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--lagon);
}

.panel-to {
  text-align: right;
}

.panel-details {
  flex: 1;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-ultra);
}

.panel-row:last-child {
  border-bottom: none;
}

.panel-row-label {
  font-size: 13px;
  color: var(--grey-alt);
}

.panel-row-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

/* ===== STEPS ===== */
.steps-section {
  background: var(--bg-grey);
  padding: 80px 0;
}

.steps-title {
  text-align: center;
  margin-bottom: 48px;
}

.steps-title h2 {
  font-family: var(--fd);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--blue);
}

.steps-title p {
  font-size: 15px;
  color: var(--grey-alt);
  margin-top: 8px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--grey-ultra);
  box-shadow: 0 2px 12px rgba(0, 69, 144, 0.04);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 69, 144, 0.08);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--fd);
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 69, 144, 0.2);
}

.step-icon {
  font-size: 36px;
  margin-bottom: 16px;
  margin-top: 8px;
}

.step-card h3 {
  font-family: var(--fd);
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 13px;
  color: var(--grey-alt);
  line-height: 1.8;
}

/* ===== DESTINATIONS ===== */
.dest-section {
  background: var(--white);
  padding: 80px 0;
}

.dest-title {
  text-align: center;
  margin-bottom: 16px;
}

.dest-title h2 {
  font-family: var(--fd);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--blue);
}

.dest-subtitle {
  font-size: 16px;
  color: var(--grey-70);
  margin-top: 8px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.dest-grid--inmap {
  margin-top: 40px;
}

/* ===== FIDS — Flight Information Display System ===== */
.fids {
  margin-top: 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 69, 144, 0.06);
  border: 1px solid var(--grey-ultra);
}

.fids-title-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--blue-dark);
  border-bottom: 3px solid var(--pistache);
}

.fids-title-icon {
  font-size: 20px;
}

.fids-title-text {
  font-family: var(--fd);
  font-size: 14px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.fids-title-airport {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
}

.fids-head {
  display: grid;
  grid-template-columns: 80px 90px 1fr 1fr 100px 100px;
  padding: 10px 24px;
  background: var(--grey-ultra);
  border-bottom: 1px solid var(--grey-20);
  gap: 12px;
  align-items: center;
}

.fids-th {
  font-size: 9px;
  font-weight: 800;
  color: var(--grey-alt);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.fids-row {
  display: grid;
  grid-template-columns: 80px 90px 1fr 1fr 100px 100px;
  padding: 12px 24px;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--grey-ultra);
  transition: background 0.2s;
}

.fids-row:last-child {
  border-bottom: none;
}

.fids-row:hover {
  background: var(--ocean-10);
}

.fids-row--codeshare {
  opacity: 0.65;
}

.fids-col-time {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fids-time {
  font-family: 'Courier New', monospace;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
}

.fids-time-rel {
  font-size: 10px;
  font-weight: 700;
  color: var(--grey-alt);
  font-family: var(--fb);
}

.fids-flight {
  font-family: var(--fd);
  font-size: 14px;
  font-weight: 900;
  color: var(--text);
}

.fids-col-dest {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fids-dest-icao {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--lagon);
  background: var(--ocean-10);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.fids-dest-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fids-dest-city {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.fids-dest-name {
  font-size: 10px;
  color: var(--grey-alt);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fids-codeshare {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: var(--orange);
  margin-top: 1px;
}

.fids-col-country {
  font-size: 12px;
  color: var(--grey-alt);
  font-weight: 600;
}

.fids-col-aircraft {
  font-family: var(--fd);
  font-size: 13px;
  font-weight: 700;
  color: var(--grey);
}

.fids-status {
  font-size: 11px;
  font-weight: 700;
  color: #36a354;
  background: #e6f9ed;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.fids-book-btn {
  font-size: 11px;
  font-weight: 700;
  background: var(--pistache);
  color: var(--text);
  border: none;
  border-radius: var(--radius-full);
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(191, 215, 48, 0.2);
}

.fids-book-btn:hover {
  background: var(--pistache-dark);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .fids-head,
  .fids-row {
    grid-template-columns: 70px 80px 1fr 90px 110px;
    padding: 10px 16px;
  }
  .fids-col-country {
    display: none;
  }
  .fids-title-airport { display: none; }
}

@media (max-width: 600px) {
  .fids-head,
  .fids-row {
    grid-template-columns: 60px 1fr 90px;
    padding: 8px 12px;
    gap: 8px;
  }
  .fids-col-flight,
  .fids-col-aircraft {
    display: none;
  }
  .fids-time { font-size: 14px; }
  .fids-dest-icao { font-size: 12px; padding: 2px 6px; }
  .fids-dest-city { font-size: 12px; }
  .fids-title-text { font-size: 11px; letter-spacing: 2px; }
  .fids-book-btn { font-size: 10px; padding: 5px 10px; }
}

/* Legacy dest-board (unused, kept for compat) */
.dest-board {
  margin-top: 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--grey-ultra);
  box-shadow: 0 4px 24px rgba(0, 69, 144, 0.06);
  overflow: hidden;
}

.dest-board-header {
  display: grid;
  grid-template-columns: 130px 1fr 1fr 100px 120px;
  padding: 14px 24px;
  background: var(--blue-dark);
  gap: 12px;
  align-items: center;
}

.dest-board-th {
  font-size: 10px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.dest-board-row {
  display: grid;
  grid-template-columns: 130px 1fr 1fr 100px 120px;
  padding: 16px 24px;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--grey-ultra);
  transition: background 0.2s;
}

.dest-board-row:last-child {
  border-bottom: none;
}

.dest-board-row:hover {
  background: var(--ocean-10);
}

.dest-board-codes {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dest-board-icao {
  font-family: var(--fd);
  font-size: 17px;
  font-weight: 900;
  color: var(--blue);
}

.dest-board-iata {
  font-size: 11px;
  font-weight: 700;
  color: var(--grey-alt);
  background: var(--grey-ultra);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.dest-board-city-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.dest-board-country {
  font-size: 13px;
  color: var(--grey-alt);
  font-weight: 600;
}

.dest-board-time {
  font-family: var(--fd);
  font-size: 16px;
  font-weight: 900;
  color: var(--lagon);
}

.dest-board-btn {
  font-size: 12px;
  font-weight: 700;
  background: var(--pistache);
  color: var(--text);
  border-radius: var(--radius-full);
  padding: 7px 18px;
  display: inline-block;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(191, 215, 48, 0.2);
}

.dest-board-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .dest-board-header {
    grid-template-columns: 100px 1fr 100px 90px;
  }
  .dest-board-row {
    grid-template-columns: 100px 1fr 100px 90px;
  }
  .dest-board-th--country,
  .dest-board-country {
    display: none;
  }
}

@media (max-width: 600px) {
  .dest-board-header {
    grid-template-columns: 80px 1fr 70px;
    padding: 12px 16px;
  }
  .dest-board-row {
    grid-template-columns: 80px 1fr 70px;
    padding: 12px 16px;
  }
  .dest-board-th--country,
  .dest-board-country,
  .dest-board-th--action,
  .dest-board-action {
    display: none;
  }
  .dest-board-icao { font-size: 14px; }
  .dest-board-iata { font-size: 10px; }
  .dest-board-city-name { font-size: 13px; }
  .dest-board-time { font-size: 14px; }
}

.dest-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.dest-tab {
  font-size: 14px;
  font-weight: 700;
  background: transparent;
  color: var(--grey);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-full);
  padding: 10px 24px;
}

.dest-tab.active {
  background: var(--blue);
  color: var(--white);
  border: none;
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dest-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 69, 144, 0.06);
  border: 1px solid var(--grey-ultra);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 69, 144, 0.1);
}

.dest-img {
  height: 180px;
  overflow: hidden;
}

.dest-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dest-body {
  padding: 20px 22px;
}

.dest-name {
  font-family: var(--fd);
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
}

.dest-info {
  font-size: 13px;
  color: var(--grey-alt);
  margin-top: 2px;
}

.dest-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.dest-price-label {
  font-size: 11px;
  color: var(--grey-alt);
}

.dest-price {
  font-family: var(--fd);
  font-size: 24px;
  font-weight: 900;
  color: var(--blue);
}

.dest-btn {
  font-size: 12px;
  font-weight: 700;
  background: var(--pistache);
  color: var(--text);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  box-shadow: 0 2px 8px rgba(191, 215, 48, 0.2);
}

/* ===== GALLERY ===== */
.gallery-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  padding: 80px 0;
}

.gallery-header {
  text-align: center;
  margin-bottom: 48px;
}

.gallery-header h2 {
  font-family: var(--fd);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--white);
}

.gallery-header p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(
    to top,
    rgba(0, 30, 70, 0.75) 0%,
    rgba(0, 30, 70, 0.15) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.gallery-caption-title {
  font-family: var(--fd);
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
}

.gallery-caption-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item--wide {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .gallery-item--tall {
    grid-row: span 1;
  }
  .gallery-caption {
    opacity: 1;
  }
}

/* ===== CTA ===== */
.cta-section {
  background: var(--bg-grey);
  padding: 80px 0;
}

.cta-card {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  height: 300px;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: url("../images/acv-header-M0BU1Hr.jpg") center 55% / cover no-repeat;
  background-color: var(--blue-dark);
  filter: brightness(0.4);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--blue) 0%,
    rgba(0, 69, 144, 0.55) 45%,
    transparent 100%
  );
}

.cta-content {
  position: relative;
  z-index: 1;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 520px;
}

.cta-content h2 {
  font-family: var(--fd);
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  gap: 12px;
}

/* ===== FLEET PAGE ===== */
.fleet-hero {
  position: relative;
  padding: 140px 0 60px;
  overflow: hidden;
}

.fleet-hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/acv-header-M0BU1Hr.jpg") center 42% / cover no-repeat;
  background-color: var(--blue-dark);
  filter: brightness(0.35);
}

.fleet-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 50, 103, 0.7) 0%,
    rgba(0, 50, 103, 0.9) 100%
  );
}

.fleet-hero-content {
  position: relative;
  z-index: 1;
}

.fleet-hero-content h1 {
  font-family: var(--fd);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}

.fleet-hero-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
}

.fleet-overview {
  background: var(--bg-grey);
  padding: 40px 0;
}

.fleet-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fleet-overview-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--grey-ultra);
  box-shadow: 0 2px 12px rgba(0, 69, 144, 0.04);
  transition: all 0.3s;
}

.fleet-overview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 69, 144, 0.08);
}

.fleet-overview-count {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--ocean-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-size: 22px;
  font-weight: 900;
  color: var(--blue);
  flex-shrink: 0;
}

.fleet-overview-type {
  font-family: var(--fd);
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.fleet-overview-role {
  font-size: 12px;
  color: var(--grey-alt);
  font-weight: 600;
}

.fleet-detail {
  background: var(--bg-grey);
  padding: 0 0 40px;
}

.fleet-detail:nth-child(even) {
  background: var(--white);
}

.fleet-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.fleet-detail-img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.fleet-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.fleet-detail-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--fd);
  font-size: 12px;
  font-weight: 800;
  color: var(--white);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  letter-spacing: 1px;
}

.fleet-detail-credit {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  text-align: right;
}

.fleet-detail-credit a {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.fleet-detail-credit a:hover {
  color: var(--white);
  text-decoration: underline;
}

.fleet-detail-body {
  padding: 8px 0;
}

.fleet-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.fleet-detail-mfr {
  font-size: 12px;
  font-weight: 700;
  color: var(--lagon);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.fleet-detail-header h2 {
  font-family: var(--fd);
  font-size: 32px;
  font-weight: 900;
  color: var(--blue);
}

.fleet-detail-count {
  font-family: var(--fd);
  font-size: 20px;
  font-weight: 900;
  color: var(--lagon);
  background: var(--ocean-10);
  border-radius: var(--radius-full);
  padding: 6px 16px;
}

.fleet-detail-desc {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 24px;
}

.fleet-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.fleet-spec {
  background: var(--ocean-10);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.fleet-spec-val {
  font-family: var(--fd);
  font-size: 18px;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 4px;
}

.fleet-spec-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--grey-alt);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fleet-cabin {
  margin-bottom: 24px;
}

.fleet-cabin-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--grey-alt);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.fleet-cabin-bar {
  display: flex;
  gap: 2px;
  border-radius: var(--radius-full);
  overflow: hidden;
  height: 28px;
  margin-bottom: 10px;
}

.fleet-cabin-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--white);
}

.fleet-cabin-seg span {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.fleet-cabin-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.fleet-cabin-leg {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--grey);
  font-weight: 600;
}

.fleet-cabin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fleet-regs {
  margin-bottom: 20px;
}

.fleet-regs-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--grey-alt);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.fleet-regs-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fleet-reg-tag {
  font-family: var(--fd);
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  background: var(--ocean-10);
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  padding: 5px 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fleet-reg-tag:hover {
  background: var(--ocean-20, rgba(0, 174, 239, 0.15));
}

.fleet-reg-tag--active {
  border-color: var(--lagon);
  background: var(--ocean-20, rgba(0, 174, 239, 0.15));
}

.fleet-routes {
  border-top: 1px solid var(--grey-ultra);
  padding-top: 16px;
}

.fleet-routes-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--grey-alt);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.fleet-routes-text {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.7;
}

/* ===== FLEET PARTNERS ===== */
.fleet-partners {
  padding: 60px 0;
  background: var(--ocean-10);
}

.fleet-partners-title {
  font-family: var(--fb);
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
  text-align: center;
  margin-bottom: 8px;
}

.fleet-partners-subtitle {
  font-size: 14px;
  color: var(--grey-alt);
  text-align: center;
  margin-bottom: 32px;
}

.fleet-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.partner-airline-section {
  margin-bottom: 32px;
}

.partner-airline-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--grey-ultra);
}

.partner-airline-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.partner-airline-name {
  font-family: var(--fb);
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  margin: 0;
}

.partner-airline-codes {
  font-family: var(--fd);
  font-size: 12px;
  font-weight: 700;
  color: var(--grey-alt);
  letter-spacing: 0.5px;
}

/* Public site — partner horizontal row card */
.partner-type-row {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.partner-type-thumb {
  position: relative;
  width: 140px;
  min-height: 120px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--ocean-10);
}

.partner-type-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}

.partner-type-thumb-credit {
  position: absolute;
  bottom: 4px;
  left: 4px;
  font-size: 8px;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 6px;
  border-radius: var(--r-sm);
}

.partner-type-thumb-credit a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.partner-type-info {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.partner-type-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.partner-type-mfr {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey-alt);
  margin-bottom: 2px;
}

.partner-type-name {
  font-family: var(--fb);
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
}

.partner-type-count {
  font-family: var(--fd);
  font-size: 16px;
  font-weight: 900;
  color: var(--blue);
  background: var(--ocean-10);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.partner-type-specs-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.partner-spec-inline {
  font-family: var(--fd);
  font-size: 12px;
  font-weight: 700;
  color: var(--grey);
}

.partner-spec-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--grey-light);
  flex-shrink: 0;
}

.partner-regs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.partner-reg-tag {
  font-family: var(--fd);
  font-size: 11px;
  font-weight: 800;
  color: var(--grey);
  background: var(--grey-ultra);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.partner-reg-tag:hover {
  border-color: var(--lagon);
  color: var(--lagon);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--footer-bg);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.8;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s;
}

.footer-social:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.footer-tagline {
  font-family: var(--fd);
  font-size: 14px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.15);
  margin-top: 12px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.footer-col a:hover {
  color: var(--lagon);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.15);
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.25);
  transition: color 0.3s;
}

.footer-legal-link:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== DISCLAIMER TOAST ===== */
.disclaimer-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  max-width: 380px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 30, 70, 0.18), 0 1px 4px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--grey-ultra);
  padding: 20px;
  display: flex;
  gap: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.disclaimer-toast.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.disclaimer-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.disclaimer-body {
  flex: 1;
  min-width: 0;
}

.disclaimer-title {
  font-family: var(--fd);
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 6px;
}

.disclaimer-body p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--grey);
  margin-bottom: 12px;
}

.disclaimer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.disclaimer-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-alt);
  cursor: pointer;
  transition: color 0.2s;
}

.disclaimer-link:hover {
  color: var(--blue-mid);
}

.disclaimer-btn {
  font-size: 12px;
  font-weight: 700;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-full);
  padding: 6px 18px;
}

.disclaimer-btn:hover {
  background: var(--blue-mid);
}

@media (max-width: 600px) {
  .disclaimer-toast {
    bottom: 12px;
    right: 12px;
    left: 12px;
    max-width: none;
  }
}

/* ===== LEGAL PAGE ===== */
.nav--solid {
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.nav--solid .nav-link {
  color: var(--grey);
}

.nav--solid .nav-link:hover {
  color: var(--blue);
}

.legal-page {
  padding: 120px 0 80px;
  background: var(--bg-grey);
  min-height: 100vh;
}

.legal-header {
  margin-bottom: 48px;
}

.legal-header h1 {
  font-family: var(--fd);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--blue);
}

.legal-header p {
  font-size: 14px;
  color: var(--grey-alt);
  margin-top: 8px;
}

.legal-content {
  max-width: 800px;
}

.legal-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 24px;
  border: 1px solid var(--grey-ultra);
}

.legal-section h2 {
  font-family: var(--fd);
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ocean-10);
}

.legal-section h3 {
  font-family: var(--fd);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-section h3:first-of-type {
  margin-top: 0;
}

.legal-section p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey);
  margin-bottom: 8px;
}

.legal-section ul {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey);
  margin-bottom: 8px;
  padding-left: 20px;
}

.legal-section li {
  margin-bottom: 4px;
}

.legal-section a {
  color: var(--blue-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-section a:hover {
  color: var(--blue);
}

.legal-section strong {
  color: var(--text);
}

@media (max-width: 600px) {
  .legal-section {
    padding: 24px 20px;
  }
}

/* ===== RANKS PAGE ===== */
.ranks-section {
  background: var(--bg-grey);
  padding: 48px 0 64px;
}

.ranks-current {
  margin-bottom: 40px;
}

.ranks-current-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 24px 32px;
  border: 2px solid var(--lagon);
  box-shadow: 0 4px 20px rgba(0, 174, 239, 0.1);
}

.ranks-current-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--grey-alt);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ranks-current-rank {
  font-family: var(--fd);
  font-size: 22px;
  font-weight: 900;
  color: var(--blue);
  margin-top: 2px;
}

.ranks-current-next {
  font-size: 13px;
  color: var(--grey-alt);
  margin-top: 4px;
}

.ranks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .ranks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.ranks-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  border: 1px solid var(--grey-light);
  transition: all 0.3s;
  text-align: center;
}

.ranks-card:hover {
  border-color: var(--ocean);
  box-shadow: 0 8px 32px rgba(0, 69, 144, 0.08);
  transform: translateY(-2px);
}

.ranks-card--active {
  border-color: var(--lagon);
  box-shadow: 0 4px 20px rgba(0, 174, 239, 0.12);
}

.ranks-card-epaulette {
  margin-bottom: 16px;
}

.ranks-card-name {
  font-family: var(--fd);
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 2px;
}

.ranks-card-abbr {
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-alt);
  margin-bottom: 16px;
}

.ranks-card-reqs {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.ranks-card-req {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.ranks-card-req-icon {
  font-size: 16px;
}

.ranks-card-req-val {
  font-family: var(--fd);
  font-size: 18px;
  font-weight: 900;
  color: var(--blue);
}

.ranks-card-req-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--grey-alt);
}

.ranks-card-stripes {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.ranks-stripe {
  width: 28px;
  height: 5px;
  border-radius: 3px;
  background: var(--grey-light);
}

.ranks-stripe--filled {
  background: var(--pistache);
}

/* ===== AUTO PLANNING SECTION ===== */
.planning-section {
  padding: 80px 0;
  background: var(--white);
  overflow: hidden;
}

.planning-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .planning-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .planning-visual {
    order: 2;
  }
}

.planning-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.planning-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--lagon);
  background: var(--ocean-10);
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

.planning-badge--opt {
  color: var(--pistache-dark);
  background: rgba(191, 215, 48, 0.12);
}

.planning-content h2 {
  font-family: var(--fd);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--blue);
  line-height: 1.15;
  margin-bottom: 12px;
}

.planning-sub {
  font-size: 16px;
  color: var(--grey-70);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 480px;
}

.planning-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.planning-feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.planning-feat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--ocean-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.planning-feat-title {
  font-family: var(--fd);
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

.planning-feat-text {
  font-size: 13px;
  color: var(--grey-alt);
  line-height: 1.5;
}

/* Mock UI card */
.planning-visual {
  display: flex;
  justify-content: center;
}

.planning-card-mock {
  width: 100%;
  max-width: 400px;
  background: var(--bg-grey);
  border-radius: var(--radius-xl);
  border: 1px solid var(--grey-light);
  padding: 24px;
  box-shadow:
    0 8px 40px rgba(0, 69, 144, 0.08),
    0 0 0 1px rgba(0, 69, 144, 0.04);
  position: relative;
}

.planning-card-mock::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.planning-mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--fd);
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.planning-mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pistache);
  box-shadow: 0 0 8px rgba(191, 215, 48, 0.4);
}

.planning-mock-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.planning-mock-slot {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  border: 1px solid var(--grey-light);
  transition: all 0.3s;
}

.planning-mock-day {
  font-size: 11px;
  font-weight: 700;
  color: var(--grey-alt);
  margin-bottom: 6px;
}

.planning-mock-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--grey-light);
  margin: 0 auto;
  position: relative;
  transition: all 0.3s;
}

.planning-mock-check.active {
  background: var(--lagon);
  border-color: var(--lagon);
}

.planning-mock-check.active::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.planning-mock-sep {
  height: 1px;
  background: var(--grey-light);
  margin-bottom: 16px;
}

.planning-mock-flights {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.planning-mock-flight {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  border: 1px solid var(--grey-light);
  transition: all 0.3s;
}

.planning-mock-flight:hover {
  border-color: var(--ocean);
  box-shadow: 0 2px 12px rgba(0, 69, 144, 0.06);
}

.planning-mock-flight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.planning-mock-flight-dot--long {
  background: var(--blue);
}

.planning-mock-flight-dot--reg {
  background: var(--lagon);
}

.planning-mock-flight-id {
  font-family: var(--fd);
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.planning-mock-flight-type {
  font-size: 11px;
  color: var(--grey-alt);
}

.planning-mock-flight-badge {
  margin-left: auto;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--ocean-10);
  color: var(--blue);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* ===== REGISTER MODAL ===== */
.reg-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 20, 50, 0.7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}

.reg-overlay.active {
  display: flex;
  opacity: 1;
}

.reg-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 20, 50, 0.3);
  animation: regSlideUp 0.35s ease-out;
}

@keyframes regSlideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.reg-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--grey-alt);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.reg-close:hover {
  color: var(--text);
}

.reg-header {
  text-align: center;
  margin-bottom: 28px;
}

.reg-logo {
  height: 40px;
  margin-bottom: 14px;
}

.reg-header h2 {
  font-family: var(--fd);
  font-size: 24px;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 4px;
}

.reg-sub {
  font-size: 14px;
  color: var(--grey-alt);
}

.reg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reg-field {
  margin-bottom: 16px;
}

.reg-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--grey);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.reg-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--grey-light);
  font-family: var(--fb);
  font-size: 14px;
  color: var(--text);
  background: var(--bg-grey);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.reg-field input:focus {
  border-color: var(--lagon);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.reg-pilot-id {
  display: flex;
  align-items: center;
  gap: 0;
}

.reg-prefix {
  padding: 12px 14px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--fd);
  font-size: 15px;
  font-weight: 900;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  letter-spacing: 1px;
  border: 1.5px solid var(--blue);
}

.reg-pilot-id input {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--fd);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 2px;
  border-left: none;
}

.reg-hint {
  font-size: 12px;
  color: var(--grey-alt);
  margin-top: 6px;
}

.reg-hint strong {
  color: var(--lagon);
  font-family: var(--fd);
}

.reg-toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.reg-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.reg-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.reg-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--grey-light);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.25s;
}

.reg-toggle-slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s;
}

.reg-toggle input:checked + .reg-toggle-slider {
  background: var(--lagon);
}

.reg-toggle input:checked + .reg-toggle-slider::after {
  transform: translateX(18px);
}

.reg-toggle-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
}

.reg-company-email {
  margin-bottom: 16px;
}

.reg-company-hint {
  display: block;
  font-size: 11px;
  color: var(--grey-alt);
  margin-top: 2px;
  line-height: 1.4;
}

.reg-company-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  background: var(--ocean-10);
  border: 1.5px solid var(--ocean-20);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: all 0.3s;
}

.reg-company-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.reg-company-addr {
  font-family: var(--fd);
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.2px;
}

.reg-separator {
  height: 1px;
  background: var(--grey-light);
  margin: 20px 0;
}

.reg-prefs {
  margin-bottom: 24px;
}

.reg-prefs-title {
  font-family: var(--fd);
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reg-prefs-badge {
  font-family: var(--fb);
  font-size: 10px;
  font-weight: 700;
  background: var(--ocean-10);
  color: var(--lagon);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reg-radio-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.reg-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.reg-radio input {
  accent-color: var(--lagon);
}

.reg-radio span {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
}

.reg-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--pistache);
  color: var(--text);
  font-family: var(--fd);
  font-size: 16px;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
  text-decoration: none;
}

.reg-submit:hover {
  background: var(--pistache-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(191, 215, 48, 0.3);
}

.reg-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.reg-error {
  background: #fef0ec;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.reg-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 20px 0;
}

.reg-success-icon {
  font-size: 48px;
}

.reg-success h2 {
  font-family: var(--fd);
  font-size: 26px;
  font-weight: 900;
  color: var(--blue);
}

.reg-success-id {
  font-family: var(--fd);
  font-size: 32px;
  font-weight: 900;
  color: var(--lagon);
  letter-spacing: 2px;
}

.reg-success p {
  font-size: 14px;
  color: var(--grey-alt);
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .reg-modal {
    padding: 24px 20px;
    max-height: 95vh;
  }
  .reg-row {
    grid-template-columns: 1fr;
  }
}

/* ===== CONSTRUCTION BANNER ===== */
.construction-banner {
  background: repeating-linear-gradient(
    -45deg,
    #f5c518,
    #f5c518 10px,
    #1a1a1a 10px,
    #1a1a1a 20px
  );
  padding: 3px 0;
  overflow: hidden;
}

.construction-banner-text {
  background: #1a1a1a;
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  color: #f5c518;
  letter-spacing: 0.5px;
}

@media (max-width: 600px) {
  .construction-banner-text {
    font-size: 11px;
    padding: 6px 14px;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- Nav mobile toggle --- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav.solid .nav-toggle span,
.nav--solid-init .nav-toggle span,
.nav--solid .nav-toggle span {
  background: var(--text);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Tablet landscape (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px clamp(20px, 4vw, 48px);
    gap: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--grey-ultra);
  }

  .nav-links.open { display: flex; }
  .nav-links .nav-link { color: var(--grey) !important; font-size: 15px; }
  .nav-links .nav-locale { background: var(--grey-ultra); }
  .nav-links .nav-locale-link { color: var(--grey-alt); }
  .nav-links .nav-locale-link.active { background: var(--blue); color: var(--white); }
  .nav-links .btn-discord { justify-content: center; }

  /* Map grid */
  .map-grid { grid-template-columns: 1fr; }
  .map-panel { max-height: 300px; overflow-y: auto; }

  /* Fleet detail */
  .fleet-detail-card { grid-template-columns: 1fr; gap: 24px; }
  .fleet-detail-header h2 { font-size: 26px; }

  /* How it works */
  .hiw-split { grid-template-columns: 1fr; gap: 30px; }
  .hiw-tracker-show { grid-template-columns: 1fr; gap: 30px; }
}

/* --- Tablet portrait (max-width: 900px) --- */
@media (max-width: 900px) {
  /* Hero */
  .hero { min-height: 75vh; }
  .hero-btns { flex-wrap: wrap; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  /* Destinations */
  .dest-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* CTA */
  .cta-card { height: auto; min-height: 240px; }
  .cta-content { padding: 32px 24px; }
  .cta-content h2 { font-size: 28px; }
  .cta-btns { flex-wrap: wrap; }

  /* Fleet */
  .fleet-overview-grid { grid-template-columns: repeat(2, 1fr); }
  .fleet-hero { padding: 110px 0 48px; }
  .fleet-specs-grid { grid-template-columns: repeat(2, 1fr); }

  /* How it works */
  .hiw-hero { padding: 110px 0 60px; }
  .hiw-hero h1 { font-size: 30px; }
  .hiw-modes { grid-template-columns: 1fr; gap: 20px; }
  .hiw-email-cards { grid-template-columns: 1fr; }
  .hiw-efb-grid { grid-template-columns: 1fr; }

  /* Partner fleet */
  .partner-type-row { flex-direction: column; }
  .partner-type-thumb { width: 100%; min-height: 160px; }
}

/* --- Mobile (max-width: 600px) --- */
@media (max-width: 600px) {
  /* Stats */
  .stats-grid { grid-template-columns: 1fr; }

  /* Destinations */
  .dest-grid { grid-template-columns: 1fr; }

  /* Hero */
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn-pistache-lg,
  .hero-btns .btn-ghost-white,
  .hero-btns .btn-discord-lg { text-align: center; justify-content: center; }
  .hero-sub { font-size: 14px; }

  /* Map */
  .map-canvas-wrap { height: 300px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* CTA */
  .cta-content h2 { font-size: 22px; }
  .cta-content { padding: 28px 20px; }

  /* Sections padding */
  .planning-section { padding: 48px 0; }
  .steps-section { padding: 48px 0; }
  .gallery-section { padding: 48px 0; }
  .cta-section { padding: 48px 0; }

  /* Ranks */
  .ranks-current-inner { flex-direction: column; text-align: center; }

  /* Fleet */
  .fleet-overview-grid { grid-template-columns: 1fr; }
  .fleet-hero { padding: 100px 0 40px; }
  .fleet-hero-content h1 { font-size: 28px; }

  /* How it works */
  .hiw-hero { padding: 100px 0 48px; }
  .hiw-section { padding: 48px 0; }
}
