/* ============================================
   D.S AIRLINES — Luxury Design System
   Color: Gold + Deep Navy Blue + Dark
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css');

/* --- CSS Custom Properties --- */
:root {
  color-scheme: dark;
  
  /* Navy Blues */
  --navy-darkest: #040a1a;
  --navy-dark: #0a1128;
  --navy: #0f1b3d;
  --navy-light: #1b2845;
  --navy-lighter: #243358;

  /* Golds */
  --gold-dark: #a07c2e;
  --gold: #c9a84c;
  --gold-light: #dcc06e;
  --gold-lighter: #e8d48b;
  --gold-pale: #f5ecd0;

  /* Dark Backgrounds */
  --bg-darkest: #020510;
  --bg-dark: #060b18;
  --bg-card: rgba(15, 27, 61, 0.6);
  --bg-glass: rgba(15, 27, 61, 0.35);

  /* Text */
  --text-primary: #f0ece2;
  --text-secondary: #a8b2c8;
  --text-muted: #6b7a99;
  --text-gold: #c9a84c;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #a07c2e, #c9a84c, #e8d48b, #c9a84c, #a07c2e);
  --gradient-gold-text: linear-gradient(90deg, #a07c2e, #e8d48b, #c9a84c);
  --gradient-navy: linear-gradient(180deg, #0a1128, #060b18);
  --gradient-hero: linear-gradient(135deg, rgba(4, 10, 26, 0.95), rgba(10, 17, 40, 0.85), rgba(15, 27, 61, 0.7));
  --gradient-card: linear-gradient(145deg, rgba(27, 40, 69, 0.5), rgba(10, 17, 40, 0.8));

  /* Effects */
  --shadow-gold: 0 0 20px rgba(201, 168, 76, 0.15);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --border-gold: 1px solid rgba(201, 168, 76, 0.3);
  --border-subtle: 1px solid rgba(201, 168, 76, 0.1);

  /* Layout */
  --max-width: 1400px;
  --nav-height: 80px;
  --radius: 12px;
  --radius-lg: 20px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Light Mode Overrides --- */
[data-theme="light"] {
  color-scheme: light;
  
  /* Reverse Backgrounds */
  --bg-darkest: #f4f6fa;
  --bg-dark: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.7);

  /* Reverse Text -> Navy */
  --text-primary: #0a1128;
  --text-secondary: #243358;
  --text-muted: #6b7a99;

  /* Gradients */
  --gradient-navy: linear-gradient(180deg, #f4f6fa, #ffffff);
  --gradient-hero: linear-gradient(135deg, rgba(244, 246, 250, 0.95), rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.7));
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(244, 246, 250, 0.8));

  /* Tweak effects for light mode */
  --shadow-lg: 0 25px 60px rgba(10, 17, 40, 0.1);
  --shadow-card: 0 8px 32px rgba(10, 17, 40, 0.08);
  --border-gold: 1px solid rgba(201, 168, 76, 0.4);
  --border-subtle: 1px solid rgba(201, 168, 76, 0.2);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(10, 17, 40, 0.08);
}

[data-theme="light"] .nav-dropdown .dropdown-menu {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 40px rgba(10, 17, 40, 0.1);
}

[data-theme="light"] .footer {
  background: var(--navy-darkest);
  color: #fff;
}
[data-theme="light"] .footer .text-secondary {
  color: #a8b2c8;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: none;           /* Firefox */
  -ms-overflow-style: none;        /* IE / Edge */
}

html::-webkit-scrollbar {
  display: none;                   /* Chrome, Safari, Opera */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-darkest);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s var(--ease-smooth);
}

a:hover {
  color: var(--gold-light);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-primary);
  line-height: 1.2;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.gold-text {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shimmer-text {
  background: linear-gradient(90deg,
      var(--gold-dark),
      var(--gold-light),
      var(--gold),
      var(--gold-lighter),
      var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

  0%,
  100% {
    background-position: 0% center;
  }

  50% {
    background-position: 200% center;
  }
}

/* --- Glass Card --- */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--ease-smooth);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold), var(--shadow-lg);
  border-color: rgba(201, 168, 76, 0.5);
}

/* --- Gold Border Glow --- */
.gold-border-glow {
  position: relative;
  border: none;
  overflow: hidden;
}

.gold-border-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-gold);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border: none;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--navy-darkest);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.5);
  color: var(--navy-darkest);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(25deg);
  transition: left 0.6s var(--ease-smooth);
}

.btn-primary:hover::after {
  left: 120%;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  color: var(--gold);
  border: var(--border-gold);
}

.btn-glass:hover {
  background: rgba(201, 168, 76, 0.15);
  box-shadow: var(--shadow-gold);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1.05rem;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.4s var(--ease-smooth);
}

.navbar.scrolled {
  background: rgba(4, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo img:first-child {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.3));
}

.nav-logo-text {
  height: 22px !important;
  width: auto !important;
  display: inline-block !important;
  filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.2));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 8px;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}

/* Hamburger Menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-hamburger span {
  width: 28px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s var(--ease-smooth);
  border-radius: 2px;
}

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

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

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

/* Logo icon fix */
.nav-logo img:first-child {
  height: 40px !important;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.3));
}

/* ---- Nav Dropdown (More menu) ---- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-toggle {
  cursor: pointer;
  user-select: none;
}

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: rgba(4, 10, 26, 0.97);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
  overflow: hidden;
  z-index: 1100;
  animation: dropIn 0.2s ease;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-dropdown .dropdown-menu li {
  list-style: none;
}

.nav-dropdown .dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(201, 168, 76, 0.06);
  transition: all 0.2s;
}

.nav-dropdown .dropdown-menu li:last-child a {
  border-bottom: none;
}

.nav-dropdown .dropdown-menu li a:hover,
.nav-dropdown .dropdown-menu li a.active {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
  padding-left: 26px;
}

/* Mobile dropdown */
@media (max-width: 860px) {
  .nav-dropdown .dropdown-menu {
    position: static;
    transform: none;
    border: none;
    box-shadow: none;
    background: rgba(201,168,76,0.04);
    border-radius: 0;
    animation: none;
  }
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown .dropdown-menu.open {
    display: block;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-darkest);
  padding-top: var(--nav-height);
  padding-bottom: 40px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 8s infinite;
}

@keyframes float-particle {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    opacity: 0;
    transform: translateY(-10vh) scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Hero Search Widget --- */
.hero-search {
  margin-top: 60px;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s forwards;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.search-field {
  padding: 24px 28px;
  border-right: 1px solid rgba(201, 168, 76, 0.1);
}

.search-field:last-of-type {
  border-right: none;
}

.search-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.search-field input,
.search-field select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

.search-field input::placeholder {
  color: var(--text-muted);
}

.search-field select {
  cursor: pointer;
}

.search-field select option {
  background: var(--navy-dark);
  color: var(--text-primary);
}

/* Hero calendar trigger button — matches search-field input look */
.hero-date-btn {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: color 0.2s;
}

.hero-date-btn.date-selected {
  color: var(--text-primary);
}

.hero-date-btn:hover {
  color: var(--gold);
}


.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 40px;
  background: var(--gradient-gold);
  border: none;
  cursor: pointer;
  color: var(--navy-darkest);
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s var(--ease-smooth);
}

.search-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
}

.search-btn svg {
  width: 24px;
  height: 24px;
}

/* --- Booking Form Grid (replaces inline style for mobile override) --- */
.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* --- Booking Card (form container with responsive padding) --- */
.booking-card {
  padding: 48px;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--gradient-gold);
  margin: 24px auto 0;
  border-radius: 2px;
}

/* --- Destination Cards --- */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.dest-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  cursor: pointer;
}

.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.dest-card:hover img {
  transform: scale(1.08);
}

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 10, 26, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: all 0.4s var(--ease-smooth);
}

.dest-card:hover .dest-overlay {
  background: linear-gradient(180deg, transparent 20%, rgba(4, 10, 26, 0.95) 100%);
}

.dest-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.dest-route {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.dest-price {
  font-size: 1.1rem;
  font-weight: 600;
}

.dest-price span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* --- Class Showcase --- */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.class-card {
  padding: 48px 36px;
  text-align: center;
  position: relative;
}

.class-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  background: rgba(201, 168, 76, 0.1);
  border: var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: all 0.4s var(--ease-smooth);
}

.class-card:hover .class-icon {
  background: rgba(201, 168, 76, 0.2);
  box-shadow: var(--shadow-gold);
  transform: scale(1.1);
}

.class-name {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.class-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.class-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.class-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.class-features li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.7rem;
}

.class-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
  border: var(--border-gold);
}

/* Featured / Premium class */
.class-card.featured {
  border-color: var(--gold);
  background: linear-gradient(145deg, rgba(201, 168, 76, 0.08), rgba(10, 17, 40, 0.8));
}

.class-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: var(--navy-darkest);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 20px;
  border-radius: 0 0 10px 10px;
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  padding: 40px 30px;
  text-align: center;
  border-right: 1px solid rgba(201, 168, 76, 0.1);
  transition: all 0.3s var(--ease-smooth);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(201, 168, 76, 0.05);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.testimonial-card {
  padding: 36px;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--navy-darkest);
  font-size: 1.1rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Newsletter / CTA --- */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(10, 17, 40, 0.3));
  border-top: var(--border-gold);
  border-bottom: var(--border-gold);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta-desc {
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.cta-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0;
  border-radius: 50px;
  overflow: hidden;
  border: var(--border-gold);
}

.cta-form input {
  flex: 1;
  padding: 16px 28px;
  background: var(--bg-glass);
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.cta-form input::placeholder {
  color: var(--text-muted);
}

.cta-form button {
  padding: 16px 36px;
  background: var(--gradient-gold);
  border: none;
  color: var(--navy-darkest);
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.cta-form button:hover {
  filter: brightness(1.1);
}

/* --- Footer --- */
.footer {
  background: var(--navy-dark);
  border-top: var(--border-gold);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 30px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px dotted rgba(201,168,76,0.3);
}

.footer-brand {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.3));
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.3);
  background: rgba(10,17,40,0.8) !important; /* override inline bg, use site theme */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  transition: all 0.3s var(--ease-smooth);
  text-decoration: none;
}

.footer-social a svg {
  fill: var(--gold) !important;
  filter: none;
}

.footer-social a:hover {
  background: rgba(201,168,76,0.12) !important;
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(201,168,76,0.25);
  transform: translateY(-2px);
}

.footer-social a:hover svg {
  fill: #fff !important;
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

.footer-bottom-social {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-bottom-social span {
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.footer-bottom-social a {
  color: var(--gold);
  display: flex;
  align-items: center;
  transition: all 0.3s;
  text-decoration: none;
}
.footer-bottom-social a svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-bottom-social a:hover svg {
  transform: translateY(-2px);
}

.footer-bottom-social a:hover {
  color: var(--gold);
}

/* Legal Modal */
.legal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 40, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.legal-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.legal-modal {
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.legal-modal-overlay.open .legal-modal {
  transform: translateY(0);
}

.legal-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal-header h2 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.5rem;
}

.legal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.legal-close:hover {
  background: rgba(239, 68, 68, 0.8);
}

.legal-body {
  padding: 24px;
  overflow-y: auto;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-body h3 {
  color: #fff;
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.legal-body h3:first-child {
  margin-top: 0;
}

.legal-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-body li {
  margin-bottom: 8px;
}

/* --- Forms --- */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-input,
.form-select {
  width: 100%;
  padding: 14px 20px;
  background: rgba(15, 27, 61, 0.5);
  border: var(--border-gold);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s var(--ease-smooth);
}

.form-input:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
  outline: none;
  background: rgba(10, 17, 40, 0.95);
}

/* Force Native Dark Mode Date Picker Overrides */
input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.8;
  transition: 0.3s ease;
  filter: invert(1) brightness(0.8) sepia(1) hue-rotate(355deg) saturate(500%); /* Gold tint approximation */
}
input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  filter: invert(1) brightness(1) sepia(1) hue-rotate(355deg) saturate(800%);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-select option {
  background: var(--navy-dark);
}

/* --- Page Header (for inner pages) --- */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--navy-dark), var(--bg-darkest));
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 16px;
}

.page-header-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb span {
  color: var(--text-muted);
}

.breadcrumb .current {
  color: var(--gold);
}

/* --- Flight Cards --- */
.flight-card {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  padding: 30px 36px;
  margin-bottom: 16px;
  transition: all 0.3s var(--ease-smooth);
}

.flight-card:hover {
  transform: translateX(4px);
}

.flight-airline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flight-airline-logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flight-airline-logo img {
  height: 30px;
}

.flight-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.flight-time {
  text-align: center;
}

.flight-time-value {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}

.flight-time-city {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.flight-duration {
  text-align: center;
  flex: 1;
}

.flight-duration-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.flight-line-segment {
  flex: 1;
  height: 1px;
  background: rgba(201, 168, 76, 0.3);
}

.flight-plane-icon {
  flex: none;
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1;
}

.flight-duration-line span:not(.flight-line-segment):not(.flight-plane-icon) {
  flex: 1;
  height: 1px;
  background: rgba(201, 168, 76, 0.3);
}

.flight-duration-line i {
  color: var(--gold);
  font-size: 1rem;
}

.flight-duration-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.flight-price {
  text-align: right;
}

.flight-price-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
}

.flight-price-class {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Booking Steps --- */
.booking-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  gap: 0;
}

.booking-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.booking-step.active {
  color: var(--gold);
}

.booking-step.completed {
  color: var(--gold-light);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.booking-step.active .step-number {
  background: var(--gold);
  color: var(--navy-darkest);
  border-color: var(--gold);
}

.booking-step.completed .step-number {
  background: var(--gold);
  color: var(--navy-darkest);
  border-color: var(--gold);
}

.step-connector {
  width: 60px;
  height: 2px;
  background: rgba(201, 168, 76, 0.2);
}

.step-connector.completed {
  background: var(--gold);
}

/* --- Profile Page --- */
.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.profile-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
}

.profile-name {
  font-size: 1.8rem;
  font-family: 'Playfair Display', serif;
}

.profile-email {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Auth Modal --- */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 26, 0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-smooth);
}

.auth-overlay.open {
  opacity: 1;
  visibility: visible;
}

.auth-modal {
  background: linear-gradient(145deg, #0d1a3a 0%, #0a1128 100%);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 24px;
  padding: 0;
  width: 520px;
  max-width: 94vw;
  max-height: 92vh;
  overflow-y: auto;
  scrollbar-width: none;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 60px rgba(201,168,76,0.08);
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-smooth);
}
.auth-modal::-webkit-scrollbar { display: none; }

.auth-overlay.open .auth-modal {
  transform: translateY(0);
}

/* -- Auth Header -- */
.auth-header { padding: 32px 36px 0; }
.auth-modal-logo { height: 50px; margin: 0 auto 16px; }
.auth-modal-title { font-size: 1.5rem; margin-bottom: 4px; }
.auth-modal-desc { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 0; }

/* -- Auth Tabs -- */
.auth-tabs {
  display: flex;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  margin: 20px 0 0;
  padding: 0 24px;
  gap: 0;
}
.auth-tab {
  flex: 1;
  padding: 14px 8px;
  border: none;
  background: none;
  color: rgba(255,255,255,0.4);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.auth-tab:hover { color: rgba(255,255,255,0.7); }
.auth-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.auth-tab svg { width: 14px; height: 14px; fill: currentColor; }

/* -- Tab Panel -- */
.auth-tab-panel {
  display: none;
  padding: 28px 36px 32px;
  animation: authFadeIn 0.35s ease;
}
.auth-tab-panel.active { display: block; }
@keyframes authFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* -- Form Inputs -- */
.auth-input-group {
  margin-bottom: 16px;
  text-align: left;
}
.auth-input-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.auth-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 12px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.25s;
}
.auth-input::placeholder { color: rgba(255,255,255,0.25); }
.auth-input:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.04);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}

/* Phone input with country code */
.auth-phone-row {
  display: flex;
  gap: 10px;
}
.auth-country-code {
  width: 100px;
  flex-shrink: 0;
  padding: 13px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 12px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: all 0.25s;
}
.auth-country-code:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}

/* -- Login Method Toggle -- */
.auth-method-toggle {
  display: flex;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 20px;
  gap: 3px;
}
.auth-method-btn {
  flex: 1;
  padding: 10px 8px;
  border: none;
  background: none;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.25s;
}
.auth-method-btn.active {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* -- OTP Input Row -- */
.auth-otp-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 16px 0 20px;
}
.auth-otp-digit {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 12px;
  outline: none;
  transition: all 0.25s;
}
.auth-otp-digit:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

/* -- Auth Buttons -- */
.auth-submit-btn {
  width: 100%;
  padding: 14px 24px;
  background: var(--gradient-gold);
  color: #0a1128;
  border: none;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.3px;
}
.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}
.auth-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.auth-secondary-btn {
  width: 100%;
  padding: 12px 24px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}
.auth-secondary-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,168,76,0.3);
  color: #fff;
}

/* SSO Buttons */
.auth-sso-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  justify-content: center;
  border: none;
  margin-bottom: 10px;
}
.auth-sso-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.auth-sso-google { background: #fff; color: #333; }
.auth-sso-google:hover { background: #f0f0f0; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.auth-sso-x { background: #000; color: #fff; border: 1px solid #333 !important; }
.auth-sso-x:hover { background: #1a1a1a; }
.auth-sso-x svg { fill: #fff; }
.auth-sso-ms { background: #2f2f2f; color: #fff; }
.auth-sso-ms:hover { background: #404040; }
.auth-sso-okta { background: #00297a; color: #fff; }
.auth-sso-okta:hover { background: #003399; }

/* -- Divider -- */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(201,168,76,0.12);
}

/* -- Quick Links in Auth -- */
.auth-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.auth-link {
  font-size: 0.78rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.auth-link:hover { color: #fff; text-decoration: underline; }

/* -- Security Badge -- */
.auth-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 4px;
  margin-top: 16px;
  border-top: 1px solid rgba(201,168,76,0.08);
}
.auth-security-dot {
  width: 6px; height: 6px;
  background: #34d399;
  border-radius: 50%;
  animation: secPulse 2s infinite;
}
@keyframes secPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.auth-security span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* -- Legal text -- */
.auth-legal-footer {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  margin-top: 14px;
  line-height: 1.5;
}
.auth-legal-footer a { color: var(--gold); text-decoration: none; }
.auth-legal-footer a:hover { text-decoration: underline; }

/* -- OTP Resend Timer -- */
.auth-resend {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
}
.auth-resend button {
  background: none;
  border: none;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.auth-resend button:disabled { color: rgba(255,255,255,0.25); cursor: not-allowed; }

/* -- Auth Close Button -- */
.auth-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.2);
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
}
.auth-close:hover {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
}

/* -- Session Timeout Toast -- */
.session-warning {
  position: fixed;
  top: 90px;
  right: 24px;
  background: linear-gradient(135deg, #1a0a00, #2d1500);
  border: 1px solid rgba(255,165,0,0.4);
  border-radius: 14px;
  padding: 16px 24px;
  color: #ffb347;
  font-size: 0.88rem;
  font-weight: 500;
  z-index: 9999;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  animation: slideInRight 0.4s ease;
  display: none;
}
.session-warning.show { display: flex; align-items: center; gap: 10px; }
@keyframes slideInRight {
  from { transform: translateX(100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* -- Auth Panel Specific -- */
.auth-corp-badge, .auth-agent-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.auth-corp-badge {
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.3);
  color: #60a5fa;
}
.auth-agent-badge {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: #34d399;
}

/* -- Auth Back button (shown during OTP/2FA steps) -- */
.auth-back-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 6px 0;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.auth-back-btn:hover { color: var(--gold); }

/* -- Registration Wizard Steps -- */
.auth-step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 20px;
}
.auth-step-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.25);
  background: rgba(255,255,255,0.03);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s ease;
}
.auth-step-dot span {
  font-size: 0.72rem; font-weight: 700;
  color: rgba(255,255,255,0.35);
  transition: all 0.4s ease;
}
.auth-step-dot.active {
  border-color: var(--gold);
  background: var(--gold);
}
.auth-step-dot.active span { color: #0a1128; }
.auth-step-dot.completed {
  border-color: var(--gold);
  background: rgba(201,168,76,0.2);
}
.auth-step-dot.completed span { color: var(--gold); }
.auth-step-line {
  width: 60px; height: 2px;
  background: rgba(201,168,76,0.12);
  position: relative;
  overflow: hidden;
}
.auth-step-line-fill {
  position: absolute; left: 0; top: 0;
  width: 0%; height: 100%;
  background: var(--gold);
  transition: width 0.5s ease;
}
.auth-wizard-step {
  animation: authStepIn 0.35s ease;
}
@keyframes authStepIn {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}
.auth-step-title {
  font-size: 0.95rem; font-weight: 700;
  color: #e8e0cc;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
  text-align: left;
}
.auth-step-badge {
  font-size: 0.62rem; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 6px;
}
.auth-step-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
  margin-bottom: 16px;
  text-align: left;
}
.auth-tooltip {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 14px; height: 14px;
  font-size: 0.6rem;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 50%;
  color: var(--gold);
  cursor: help;
  margin-left: 4px;
  vertical-align: middle;
  position: relative;
}
.auth-tooltip:hover::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #0a1128;
  border: 1px solid rgba(201,168,76,0.3);
  color: rgba(255,255,255,0.7);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  max-width: 260px;
  white-space: normal;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  line-height: 1.4;
}
/* Select dropdown styling */
.auth-input option { background: #0a1128; color: #e8e0cc; }

/* -- Turnstile widget centering -- */
.auth-turnstile {
  display: flex;
  justify-content: center;
  margin: 12px 0;
  min-height: 0;
}

/* -- Mobile responsive -- */
@media (max-width: 560px) {
  .auth-modal { width: 100%; max-width: 100%; border-radius: 20px 20px 0 0; }
  .auth-tab-panel { padding: 24px 20px 28px; }
  .auth-header { padding: 28px 20px 0; }
  .auth-tabs { padding: 0 12px; }
  .auth-tab { font-size: 0.72rem; padding: 12px 4px; }
  .auth-otp-digit { width: 42px; height: 50px; font-size: 1.2rem; }
  /* Wizard step responsive */
  #authStep1 [style*="grid-template-columns"] { grid-template-columns: 80px 1fr !important; }
  #authStep1 [style*="grid-template-columns"] > div:last-child { grid-column: 1 / -1; }
  .auth-step-title { font-size: 0.88rem; flex-wrap: wrap; }
}

/* --- Loading & Animation States --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(201, 168, 76, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Glow pulse for alive feel */
@keyframes glow-pulse {

  0%,
  100% {
    box-shadow: 0 0 5px rgba(201, 168, 76, 0.2);
  }

  50% {
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.4), 0 0 40px rgba(201, 168, 76, 0.1);
  }
}

/* --- About Page --- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-story-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-story-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-img {
  border-radius: var(--radius-lg);
  border: var(--border-gold);
  overflow: hidden;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.fleet-card {
  padding: 36px;
  text-align: center;
}

.fleet-card h4 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.fleet-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.fleet-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-list {
  list-style: none;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
  border: var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
}

.contact-info-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- Toast Notifications --- */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 28px;
  background: var(--navy);
  border: var(--border-gold);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.9rem;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s var(--ease-smooth);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-color: #4caf50;
}

.toast.error {
  border-color: #f44336;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .classes-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

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

  .search-form {
    grid-template-columns: 1fr 1fr;
  }

  .search-btn {
    grid-column: 1 / -1;
  }

  .about-story {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  /* ── Navbar ── */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s var(--ease-smooth);
    border-left: var(--border-gold);
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Hide name text, keep avatar + compact sign-out */
  .nav-auth {
    gap: 6px;
  }
  #userName {
    display: none !important;
  }
  .nav-user-avatar {
    width: 30px;
    height: 30px;
  }
  #userMenu button.btn-outline {
    padding: 5px 8px;
    font-size: 0.7rem;
    letter-spacing: 0;
    white-space: nowrap;
  }
  #signInBtn {
    padding: 8px 12px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  /* ── Hero ── */
  .hero-title {
    font-size: 2rem;
  }
  .hero-desc {
    font-size: 0.95rem;
  }
  .hero-content {
    padding: 0 16px;
  }
  .hero-search {
    margin-top: 36px;
  }
  .search-form {
    grid-template-columns: 1fr;
  }

  /* ── Booking form grid — single column on mobile ── */
  .booking-form-grid {
    grid-template-columns: 1fr !important;
  }

  /* Booking card — reduce padding on mobile */
  .booking-card {
    padding: 24px 16px !important;
  }

  /* Booking page glass-card padding override */
  .glass-card[style*="padding:48px"] {
    padding: 24px 16px !important;
  }

  /* Trip type toggle — full width */
  .trip-type-toggle {
    width: 100%;
  }
  .trip-type-label {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  /* Booking steps — clean scrolling row */
  .booking-steps {
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 12px;
    padding-left: 8px;
    padding-right: 8px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  .booking-step {
    padding: 8px 12px;
    font-size: 0.8rem;
    flex-shrink: 0;
    min-width: auto;
  }
  .step-connector {
    min-width: 30px;
    flex-shrink: 0;
  }

  /* ── Stats ── */
  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }
  .stat-item {
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  }

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

  /* ── Flight cards ── */
  .flight-card {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  .flight-price {
    text-align: center;
  }

  /* ── Profile ── */
  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  /* ── Destinations & Testimonials ── */
  .destinations-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* ── Page headers ── */
  .page-header-title {
    font-size: 2rem;
  }
  .page-header {
    padding: 100px 0 40px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: 1.75rem;
  }
  .hero-subtitle {
    font-size: 0.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }

  /* Nav logo smaller on tiny phones */
  .nav-logo img:first-child {
    height: 32px !important;
  }
  .nav-logo-text {
    height: 16px !important;
  }

  /* Form inputs bigger tap targets */
  .form-input,
  .form-select {
    padding: 14px 16px;
    font-size: 1rem;
  }

  /* Search button full-width */
  .search-btn {
    padding: 18px;
    font-size: 1rem;
  }

  .booking-card {
    padding: 16px 12px !important;
  }

  .trip-type-label {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .cta-form {
    flex-direction: column;
    border-radius: var(--radius);
  }

  .cta-form button {
    border-radius: 0 0 var(--radius) var(--radius);
  }
}

/* --- Virtual Boarding Pass --- */
.boarding-pass {
  background: linear-gradient(135deg, rgba(10, 17, 40, 0.95), rgba(6, 11, 24, 0.98));
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(201, 168, 76, 0.1);
}

.boarding-pass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
}

.boarding-pass-airline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.boarding-pass-class {
  background: var(--gradient-gold);
  color: var(--navy-darkest);
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 2px;
}

.boarding-pass-divider {
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(201, 168, 76, 0.3), rgba(201, 168, 76, 0.3) 6px, transparent 6px, transparent 12px);
  margin: 0 20px;
}

.boarding-pass-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  gap: 16px;
}

.boarding-pass-city {
  text-align: center;
  flex: 0 0 auto;
}

.bp-code {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  line-height: 1;
}

.bp-name {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.boarding-pass-flight-icon {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.boarding-pass-flight-icon span {
  font-size: 1.5rem;
  color: var(--gold);
  flex: none;
}

.bp-flight-line {
  flex: 1;
  height: 1px;
  background: rgba(201, 168, 76, 0.3);
}

.boarding-pass-details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 16px;
  padding: 20px 28px;
}

.bp-detail {
  text-align: center;
}

.bp-label {
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 1.5px;
  margin-bottom: 4px;
  opacity: 0.8;
}

.bp-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.boarding-pass-barcode {
  padding: 20px 28px;
  text-align: center;
}

.bp-barcode-lines {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.bp-ref {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 700;
}

/* Responsive adjustments for boarding pass */
@media (max-width: 640px) {
  .boarding-pass-details {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .bp-code {
    font-size: 1.6rem;
  }

  .boarding-pass-route {
    padding: 20px 20px;
  }

  .boarding-pass-header {
    padding: 16px 20px;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* --- Trip Type Toggle --- */
.trip-type-toggle {
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.3);
  background: rgba(10, 17, 40, 0.6);
}

.trip-type-option {
  cursor: pointer;
  position: relative;
}

.trip-type-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.trip-type-label {
  display: inline-block;
  padding: 12px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s var(--ease-smooth);
  white-space: nowrap;
}

.trip-type-option input[type="radio"]:checked+.trip-type-label {
  background: var(--gradient-gold);
  color: var(--navy-darkest);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}

.trip-type-option:first-child .trip-type-label {
  border-radius: 50px 0 0 50px;
}

.trip-type-option:last-child .trip-type-label {
  border-radius: 0 50px 50px 0;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--navy-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 168, 76, 0.5);
}

/* --- Selection --- */
::selection {
  background: rgba(201, 168, 76, 0.3);
  color: var(--text-primary);
}

/* =============================================
   CURRENCY SELECTOR
   ============================================= */
.currency-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50px;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.currency-btn:hover {
  background: rgba(201,168,76,0.2);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.currency-btn svg { width:12px; height:12px; }

/* Currency Modal Backdrop */
.currency-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(2,5,16,0.85);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.currency-modal.open { display: flex; }

.currency-modal-inner {
  background: var(--navy-dark);
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 420px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.25s ease forwards;
}

.currency-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: var(--border-subtle);
}
.currency-modal-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--gold);
}
.currency-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s;
}
.currency-modal-close:hover { color: var(--gold); }

.currency-modal-list {
  list-style: none;
  overflow-y: auto;
  padding: 12px 0;
}
.currency-modal-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid rgba(201,168,76,0.04);
}
.currency-modal-item:hover { background: rgba(201,168,76,0.06); }
.currency-flag { font-size: 1.4rem; flex-shrink: 0; }
.currency-code {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
  min-width: 44px;
  flex-shrink: 0;
}
.currency-name { color: var(--text-secondary); font-size: 0.9rem; flex: 1; }
.currency-check {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  width: 20px;
  text-align: center;
}

/* =============================================
   AIRPORT AUTOCOMPLETE
   ============================================= */
.ac-wrapper { position: relative; }

.ac-list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 2000;
  list-style: none;
  background: rgba(4,10,26,0.98);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
  max-height: 300px;
  overflow-y: auto;
  animation: dropIn 0.18s ease;
}

.ac-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  cursor: pointer;
  border-bottom: 1px solid rgba(201,168,76,0.05);
  transition: background 0.15s;
}
.ac-item:last-child { border-bottom: none; }
.ac-item:hover, .ac-item.focused {
  background: rgba(201,168,76,0.1);
}
.ac-code {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 42px;
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
}
.ac-name {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Hero search autocomplete */
.search-field { position: relative; }
.search-field .ac-list {
  border-radius: 0 0 var(--radius) var(--radius);
  border-top: 1px solid rgba(201,168,76,0.1);
}

/* =============================================
   MOBILE SIGN-OUT IN HAMBURGER
   ============================================= */
#mobileSignOutLi {
  display: none;
  margin-top: 8px;
  width: 100%;
  text-align: center;
}
#mobileSignOutLi a {
  display: inline-block;
  padding: 10px 28px;
  border: 2px solid var(--gold);
  border-radius: 50px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s var(--ease-smooth);
}
#mobileSignOutLi a:hover {
  background: rgba(201,168,76,0.15);
}

/* Mobile: hide desktop sign-out button */
@media (max-width: 768px) {
  #userMenu .btn-outline { display: none !important; }
  #mobileSignOutLi.show { display: list-item; }

  /* Currency button slim on mobile */
  .currency-btn {
    padding: 6px 10px;
    font-size: 0.76rem;
  }
}

/* ============================================================
   TRIP TYPE TOGGLE  (booking-ui.js)
   ============================================================ */
.tt-toggle {
  display: flex;
  gap: 0;
  justify-content: center;
  border-radius: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.18);
  padding: 4px;
  width: fit-content;
  margin: 0 auto 28px;
  flex-wrap: wrap;
}

.tt-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  border: none;
  border-radius: 36px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.tt-btn .tt-icon {
  font-size: 1rem;
}

.tt-btn:hover {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.tt-btn.active {
  background: linear-gradient(135deg, var(--gold), hsl(40,80%,55%));
  color: #0a1020;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(201,168,76,0.35);
}

/* ============================================================
   DATE PICKER BUTTON  (replaces <input type="date">)
   ============================================================ */
.date-picker-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--text-secondary);
  padding: 14px 16px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  min-height: 52px;
}

.date-picker-btn:hover {
  border-color: rgba(201,168,76,0.5);
  background: rgba(201,168,76,0.05);
  color: var(--text-primary);
}

.date-picker-btn.date-selected {
  color: var(--text-primary);
  border-color: rgba(201,168,76,0.4);
}

.date-btn-icon { font-size: 1.1rem; flex-shrink: 0; }
.date-btn-value { flex: 1; }
.date-btn-arrow {
  font-size: 1.2rem;
  color: var(--gold);
  opacity: 0.6;
  margin-left: auto;
}

/* ============================================================
   CUSTOM CALENDAR MODAL  (dsCalendar)
   ============================================================ */
.ds-calendar {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ds-calendar.open {
  pointer-events: all;
  opacity: 1;
}

.ds-calendar .cal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
}

.cal-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(180deg, #121c34 0%, #0d1628 100%);
  border: 1px solid rgba(201,168,76,0.25);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  padding: 0 0 env(safe-area-inset-bottom,0);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  overflow: hidden;
  max-height: 92dvh;
  overflow-y: auto;
}

.ds-calendar.open .cal-panel {
  transform: translateY(0);
}

/* Drag handle */
.cal-panel::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  margin: 12px auto 0;
}

.cal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px 10px;
  position: relative;
}

.cal-month-label {
  flex: 1;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.cal-nav-btn {
  width: 36px;
  height: 36px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.cal-nav-btn:hover { background: rgba(201,168,76,0.25); }

.cal-close-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
  margin-left: auto;
}

.cal-close-btn:hover {
  background: rgba(255,255,255,0.15);
  color: var(--text-primary);
}

/* Date display bar */
.cal-date-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px 20px 14px;
  padding: 14px 20px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.cal-date-display span {
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s;
}

.cal-date-display span.active { color: var(--gold); }
.cal-dash { color: var(--gold); font-size: 1.2rem; }

/* Mode row (depart / return radio) */
.cal-mode-row {
  display: flex;
  gap: 20px;
  padding: 4px 20px 12px;
  display: none; /* shown by JS when round-trip */
}

.cal-mode-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.cal-mode-label input { accent-color: var(--gold); }

/* Calendar grid */
.cal-body {
  padding: 0 16px 8px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-day-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  padding: 6px 2px;
  opacity: 0.8;
}

.cal-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  user-select: none;
}

.cal-cell:hover:not(.past):not(.empty) {
  background: rgba(201,168,76,0.18);
  color: var(--gold);
}

.cal-cell:focus { outline: 2px solid var(--gold); outline-offset: 2px; }

.cal-cell.past {
  color: rgba(255,255,255,0.2);
  cursor: not-allowed;
}

.cal-cell.today {
  font-weight: 700;
  color: var(--gold);
}

.cal-cell.today::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.cal-cell.selected {
  background: linear-gradient(135deg, var(--gold), hsl(40,80%,55%));
  color: #0a1020;
  font-weight: 700;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 2px 12px rgba(201,168,76,0.4);
}

.cal-cell.depart { border-radius: 50% 0 0 50%; }
.cal-cell.return { border-radius: 0 50% 50% 0; }
.cal-cell.depart.return { border-radius: 50%; }

.cal-cell.in-range {
  background: rgba(201,168,76,0.12);
  border-radius: 0;
  color: var(--gold);
}

/* Footer */
.cal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.cal-reset-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: var(--text-secondary);
  padding: 10px 16px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.cal-reset-btn:hover { border-color: var(--gold); color: var(--gold); }

.cal-confirm-btn {
  flex: 1;
  max-width: 200px;
  border-radius: 40px;
  padding: 12px 24px;
}

/* ============================================================
   PASSENGER PICKER MODAL  (dsPassengerPicker)
   ============================================================ */
.pax-picker {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pax-picker.open {
  pointer-events: all;
  opacity: 1;
}

.pax-picker .pax-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
}

.pax-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: linear-gradient(180deg, #121c34 0%, #0d1628 100%);
  border: 1px solid rgba(201,168,76,0.25);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  padding: 0 0 env(safe-area-inset-bottom, 24px);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.pax-picker.open .pax-panel {
  transform: translateY(0);
}

.pax-panel::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  margin: 12px auto 0;
}

.pax-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.pax-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0;
}

.pax-close {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.07);
  border: none;
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Passenger row */
.pax-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pax-category {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.pax-age {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.pax-counter {
  display: flex;
  align-items: center;
  gap: 0;
}

.pax-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.pax-btn.minus {
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.12);
}

.pax-btn.plus {
  background: linear-gradient(135deg, var(--gold), hsl(40,80%,55%));
  color: #0a1020;
  font-weight: 800;
}

.pax-btn:hover:not(:disabled) { transform: scale(1.1); }
.pax-btn:disabled { opacity: 0.3; cursor: not-allowed; transform: none; }

.pax-count {
  width: 48px;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pax-note {
  min-height: 22px;
  text-align: center;
  font-size: 0.8rem;
  color: hsl(0,80%,70%);
  padding: 6px 24px 0;
  opacity: 0;
  transition: opacity 0.4s;
}

.pax-confirm-btn {
  display: block;
  width: calc(100% - 48px);
  margin: 18px 24px 28px;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold), hsl(35,80%,50%));
  color: #0a1020;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}

.pax-confirm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.45);
}

/* Passenger trigger button */
.pax-picker-trigger { cursor: pointer; }

/* ============================================================
   MULTI-CITY SECTION
   ============================================================ */
.mc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  color: var(--gold);
  font-weight: 600;
}

.mc-add-btn {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.mc-add-btn:hover { background: rgba(201,168,76,0.2); }

.mc-row {
  display: grid;
  grid-template-columns: 28px 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.mc-row-num {
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: #0a1020;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.mc-cal-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-secondary);
  cursor: pointer;
  text-align: left;
  font-size: 0.85rem;
  padding: 12px 14px;
  border-radius: var(--radius);
}

.mc-remove-btn {
  width: 30px;
  height: 30px;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  color: #f87171;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .mc-row {
    grid-template-columns: 28px 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .mc-cal-btn { grid-column: 2 / span 2; }
  .mc-remove-btn { grid-column: 1; grid-row: 2; }

  .tt-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .tt-btn .tt-label { display: inline; }

  .pax-row { padding: 16px 20px; }
  .pax-btn { width: 36px; height: 36px; }
  .pax-count { width: 40px; font-size: 1.15rem; }
}

/* ============================================================
   CUSTOM CABIN CLASS PICKER  (dsClassPicker)
   ============================================================ */
.class-picker {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.class-picker.open {
  pointer-events: all;
  opacity: 1;
}

.class-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
}

.class-picker-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(180deg, #121c34 0%, #0d1628 100%);
  border: 1px solid rgba(201,168,76,0.25);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  padding: 0 0 env(safe-area-inset-bottom, 28px);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.class-picker-panel::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  margin: 12px auto 0;
}

.class-picker.open .class-picker-panel {
  transform: translateY(0);
}

.class-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.class-picker-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0;
}

.class-picker-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 12px 20px 20px;
}

/* Each cabin class card */
.class-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  border: 1.5px solid transparent;
  margin-bottom: 6px;
  background: rgba(255,255,255,0.03);
}

.class-card:hover {
  background: rgba(201,168,76,0.07);
  border-color: rgba(201,168,76,0.2);
  transform: translateX(3px);
}

.class-card.selected {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.45);
}

.class-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.class-card-info { flex: 1; }

.class-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.class-card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.class-card-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), hsl(40,80%,55%));
  color: #0a1020;
  font-weight: 900;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.class-card.selected .class-card-check {
  opacity: 1;
}

/* ============================================================
   D.S LINK CAUTION NOTICE
   ============================================================ */
.ds-link-notice {
  margin-top: 20px;
}

.ds-link-notice-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(59,130,246,0.08);
  border: 1.5px solid rgba(59,130,246,0.28);
}

.ds-link-notice-inner.ds-link-only {
  background: rgba(245,158,11,0.08);
  border-color: rgba(245,158,11,0.4);
}

.ds-link-notice-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.ds-link-notice-inner strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.ds-link-notice-inner p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.ds-link-notice-inner.ds-link-only strong {
  color: hsl(40,90%,65%);
}

/* =========================================================
   SEAT MAP UI
   ========================================================= */

.seat-map-container {
  overflow-x: auto;
  padding: 40px 20px;
  background: rgba(10, 17, 40, 0.4);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 24px;
  box-shadow: inset 0 10px 30px rgba(0,0,0,0.5);
}

.aircraft-fuselage {
  min-width: 600px;
  max-width: 750px;
  margin: 0 auto;
  border-left: 2px solid rgba(201, 168, 76, 0.3);
  border-right: 2px solid rgba(201, 168, 76, 0.3);
  border-radius: 200px 200px 0 0; /* Plane nose */
  padding: 80px 40px 40px 40px;
  background: linear-gradient(180deg, rgba(20, 25, 45, 0.8) 0%, rgba(10, 15, 30, 0.95) 100%);
  position: relative;
}

.aircraft-nose {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 60px;
  background: rgba(201, 168, 76, 0.5);
  border-radius: 10px;
}

.cabin-section {
  margin-bottom: 50px;
}

.cabin-title {
  text-align: center;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
}

.cabin-title::before, .cabin-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: rgba(201, 168, 76, 0.2);
}

.cabin-title::before { left: 0; }
.cabin-title::after { right: 0; }

.seat-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
  gap: 8px; /* Gap between seats/aisles */
}

/* Row numbers (e.g. 1A, 2B in reality, but we'll put the row number in the aisle) */
.aisle-number {
  color: var(--text-muted);
  font-size: 0.75rem;
  width: 40px;
  text-align: center;
  font-weight: 600;
}

/* The Seat Button */
.seat {
  width: 36px;
  height: 38px;
  border-radius: 8px 8px 4px 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: transparent; /* hide letters usually */
}

.seat::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 10%;
  width: 80%;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}

.seat:hover:not(.taken) {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
  color: #fff;
}

/* State: Available per class */
.seat.first { border-color: var(--gold); background: rgba(201,168,76,0.1); }
.seat.first::after { background: var(--gold); }
.seat.business { border-color: #8b5cf6; background: rgba(139,92,246,0.1); }
.seat.business::after { background: #8b5cf6; }
.seat.premium { border-color: #06b6d4; background: rgba(6,182,212,0.1); }
.seat.premium::after { background: #06b6d4; }
.seat.economy { border-color: #3b82f6; background: rgba(59,130,246,0.1); }
.seat.economy::after { background: #3b82f6; }

/* State: Taken */
.seat.taken {
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  cursor: not-allowed;
  opacity: 0.5;
}
.seat.taken::after { background: rgba(255,0,0,0.3); }

/* State: Selected by User */
.seat.selected {
  background: var(--gold);
  border-color: #fff;
  color: #0a1128;
  font-weight: 800;
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.6);
  transform: translateY(-2px);
}
.seat.selected::after { background: #fff; }

/* Different sizings for First class suites */
.seat.first {
  width: 45px;
  height: 55px;
  border-radius: 12px;
}

.seat.business {
  width: 40px;
  height: 48px;
}

/* =========================================
   FOOTER MOBILE ACCORDION STYLES
========================================= */
.footer-chevron {
  display: none; /* Hidden by default on desktop */
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .footer-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 0 !important;
  }
  
  .footer-chevron {
    display: block; /* Show chevron on mobile */
  }

  /* Hide the links list by default under each toggle heading */
  .footer-grid > div > .footer-links {
    display: none;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 0;
  }
  
  /* When the parent div has the .active class, display the links */
  .footer-grid > div.active > .footer-links {
    display: block;
    animation: fadeIn 0.3s ease forwards;
  }
  
  /* Rotate the chevron when active */
  .footer-grid > div.active > .footer-heading .footer-chevron {
    transform: rotate(180deg);
  }
  
  /* Remove border for the app download section which isn't an accordion */
  .footer-grid > div > h4:not(.footer-toggle) {
    margin-top: 20px;
  }
}

/* ===== PREMIUM CABIN CARDS (Redesigned) ===== */
.premium-cabin-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}
.premium-cabin {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: left;
  transition: all 0.4s var(--ease-smooth);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.premium-cabin:hover {
  border-color: rgba(212, 175, 55, 0.6);
  transform: translateY(-5px);
  background: rgba(15, 27, 61, 0.7);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.premium-cabin-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 24px;
}
@media (min-width: 768px) {
  .premium-cabin-header {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
}
.premium-cabin-icon {
  font-size: 3rem;
  line-height: 1;
}
.premium-cabin-title h3 {
  font-size: 2rem;
  color: #fff;
  margin: 0 0 4px 0;
  font-family: 'Playfair Display', serif;
}
.premium-cabin-title p {
  color: var(--gold);
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.premium-cabin-intro {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 900px;
}
.premium-cabin-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 992px) {
  .premium-cabin-features {
    grid-template-columns: repeat(2, 1fr);
  }
}
.premium-cabin-feature {
  background: rgba(0, 0, 0, 0.2);
  padding: 24px;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  transition: background 0.3s;
}
.premium-cabin-feature:hover {
  background: rgba(0, 0, 0, 0.3);
}
.premium-cabin-feature h5 {
  color: var(--gold);
  margin: 0 0 12px 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.premium-cabin-feature p {
  color: #e2e8f0;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- Flatpickr Luxury Override --- */
.flatpickr-calendar {
  background: rgba(10, 17, 40, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(201, 168, 76, 0.3) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6) !important;
  border-radius: 12px !important;
  font-family: 'Inter', sans-serif !important;
  padding: 10px !important;
  color: #fff !important;
}
.flatpickr-months { background: transparent !important; }
.flatpickr-month { color: var(--gold) !important; fill: var(--gold) !important; }
.flatpickr-current-month .flatpickr-monthDropdown-months {
  background: var(--navy-dark) !important; border-radius: 6px; padding: 4px; border: none; outline: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:focus { outline: none; border-color: var(--gold); }
.flatpickr-current-month .numInputWrapper span.arrowUp:after { border-bottom-color: var(--gold) !important; }
.flatpickr-current-month .numInputWrapper span.arrowDown:after { border-top-color: var(--gold) !important; }
span.flatpickr-weekday { color: #8899aa !important; font-weight: 600 !important; font-size: 0.85rem !important; }
.flatpickr-day {
  color: #e8e0cc !important; border-radius: 8px !important; transition: all 0.3s cubic-bezier(0.4,0,0.2,1) !important; background: transparent !important; border: 1px solid transparent !important;
}
.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: rgba(232, 224, 204, 0.3) !important; }
.flatpickr-day:hover, .flatpickr-day.prevMonthDay:hover, .flatpickr-day.nextMonthDay:hover, .flatpickr-day:focus {
  background: rgba(201, 168, 76, 0.15) !important; border-color: var(--gold) !important; color: #fff !important;
}
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover {
  background: var(--gradient-gold) !important; border-color: transparent !important; color: #040a1a !important; font-weight: 700 !important; box-shadow: var(--shadow-gold) !important;
}
.flatpickr-day.today { border-color: var(--gold) !important; }

/* ============================================================
   MOBILE RESPONSIVE — Luxury Mobile-First Overhaul
   Breakpoint: 768px (tablets & phones)
   ============================================================ */

@media (max-width: 768px) {

  /* ── Navigation ── */
  .nav-hamburger {
    display: flex !important;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 10, 26, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 0;
    overflow-y: auto;
    z-index: 999;
    animation: none;
  }

  .nav-links.open {
    display: flex;
    animation: mobileMenuSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes mobileMenuSlide {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 16px 20px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.08);
    border-radius: 0;
  }

  .nav-auth {
    gap: 10px;
    margin-left: auto;
    margin-right: 20px;
  }

  .nav-auth .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .currency-btn {
    display: none;
  }

  .navbar {
    height: 64px;
    --nav-height: 64px;
  }

  .nav-logo img:first-child {
    height: 32px !important;
  }

  .nav-logo-text {
    height: 16px !important;
  }

  /* ── Hero Section ── */
  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 30px;
  }

  .hero-content {
    padding: 0 16px;
  }

  .hero-subtitle {
    font-size: 0.72rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 16px;
    line-height: 1.15;
  }

  .hero-desc {
    font-size: 0.92rem;
    margin-bottom: 28px;
    line-height: 1.6;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }

  /* ── Hero Search Widget ── */
  .hero-search {
    margin-top: 32px;
  }

  .search-form {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .search-field {
    padding: 16px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  }

  .search-field:last-of-type {
    border-bottom: none;
  }

  .search-btn {
    padding: 18px;
    border-radius: 0 0 16px 16px;
  }

  /* ── Stats Bar ── */
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 16px;
  }

  .stat-item {
    padding: 24px 16px;
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(201, 168, 76, 0.1);
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* ── Section Headers ── */
  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-desc {
    font-size: 0.92rem;
    padding: 0 8px;
  }

  .container {
    padding: 0 16px;
  }

  /* ── Destination Cards ── */
  .destinations-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dest-card {
    height: 280px;
  }

  .dest-overlay {
    padding: 20px;
  }

  .dest-name {
    font-size: 1.3rem;
  }

  /* ── Cabin Classes ── */
  .classes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .class-card {
    padding: 32px 24px;
  }

  .premium-cabin {
    padding: 28px 20px;
    margin-bottom: 20px;
  }

  .premium-cabin-title h3 {
    font-size: 1.5rem;
  }

  .premium-cabin-intro {
    font-size: 0.95rem;
  }

  .premium-cabin-features {
    grid-template-columns: 1fr !important;
  }

  .premium-cabin-feature {
    padding: 18px;
  }

  /* ── Testimonials ── */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .testimonial-text {
    font-size: 0.92rem;
  }

  /* ── CTA / Newsletter ── */
  .cta-section {
    padding: 60px 0;
  }

  .cta-form {
    flex-direction: column;
    border-radius: 16px;
    gap: 0;
  }

  .cta-form input {
    border-radius: 16px 16px 0 0;
    padding: 14px 20px;
    text-align: center;
  }

  .cta-form button {
    border-radius: 0 0 16px 16px;
    padding: 14px 20px;
  }

  /* ── Footer ── */
  .footer {
    padding: 48px 0 24px;
  }

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

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

  .footer-heading {
    font-size: 0.85rem;
    margin-bottom: 0;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  }

  .footer-chevron {
    transition: transform 0.3s ease;
  }

  .footer-grid > div.active .footer-chevron {
    transform: rotate(180deg);
  }

  .footer-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
    padding: 0;
  }

  .footer-grid > div.active .footer-links {
    max-height: 500px;
    padding: 12px 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-bottom-links {
    gap: 12px;
    justify-content: center;
    font-size: 0.75rem;
  }

  .footer-bottom-social {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* ── Booking Form ── */
  .booking-form-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .booking-card {
    padding: 24px 16px;
  }

  .booking-steps {
    gap: 4px;
    padding: 0 8px;
  }

  .booking-step span:last-child {
    display: none;
  }

  .step-connector {
    flex: 1;
    min-width: 12px;
  }

  /* ── Page Headers ── */
  .page-header {
    padding: 100px 0 32px;
  }

  .page-header-title {
    font-size: 1.8rem;
  }

  .page-header-desc {
    font-size: 0.9rem;
  }

  .breadcrumb {
    font-size: 0.8rem;
  }

  /* ── Auth Modal ── */
  .auth-overlay {
    align-items: flex-end;
  }

  .auth-modal {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
    overflow-y: auto;
    padding: 24px 20px 32px;
    margin: 0;
  }

  .auth-tabs {
    gap: 4px;
  }

  .auth-tab {
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  .auth-tab svg {
    display: none;
  }

  .auth-otp-row {
    gap: 8px;
  }

  .auth-otp-digit {
    width: 42px;
    height: 48px;
    font-size: 1.2rem;
  }

  /* ── Boarding Pass ── */
  .boarding-pass {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .boarding-pass-details {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }

  .boarding-pass-route {
    flex-direction: row;
    gap: 12px;
  }

  .bp-code {
    font-size: 1.8rem;
  }

  /* ── Glass Cards ── */
  .glass-card {
    border-radius: 16px;
    padding: 20px;
  }

  /* ── Buttons ── */
  .btn {
    padding: 12px 24px;
    font-size: 0.88rem;
  }

  .btn-lg {
    padding: 14px 32px;
    font-size: 0.95rem;
  }

  /* ── Sustainability Widget ── */
  .section > div > a[href="sustainability.html"] {
    grid-template-columns: 1fr !important;
    padding: 24px 20px !important;
  }

  .section > div > a[href="sustainability.html"] > div {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0 !important;
  }

  .section > div > a[href="sustainability.html"] > div:last-child {
    border-bottom: none;
    justify-content: center;
  }

  /* ── Seat Map ── */
  .seat-map-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* ── Toast ── */
  .toast {
    bottom: 90px !important;
    left: 16px !important;
    right: 16px !important;
    max-width: none;
  }

  /* ── Flatpickr mobile ── */
  .flatpickr-calendar {
    width: calc(100vw - 32px) !important;
    left: 16px !important;
    right: 16px !important;
  }

  /* ── Aviator AI Panel ── */
  .aviator-panel,
  .ai-panel {
    width: 100% !important;
    max-width: 100% !important;
    right: 0 !important;
    bottom: 72px !important;
    border-radius: 20px 20px 0 0 !important;
    max-height: 70vh !important;
  }

  /* ── Trip Type Toggle ── */
  .trip-type-toggle {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* ── Currency Modal ── */
  .currency-overlay .currency-modal {
    width: 95% !important;
    max-height: 80vh;
    border-radius: 20px;
  }

  /* ── Legal Modal ── */
  .legal-modal {
    width: 95%;
    max-height: 80vh;
    border-radius: 16px;
  }

  .legal-header h2 {
    font-size: 1.2rem;
  }

  /* ── Cancel/Refund forms ── */
  .form-grid-2col {
    grid-template-columns: 1fr !important;
  }

  /* ── Profile Dashboard ── */
  .profile-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
  }

  .profile-tab {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 10px 16px;
  }

  /* ── Cargo Page ── */
  .cargo-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    gap: 8px;
    padding-bottom: 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .cargo-tabs::-webkit-scrollbar {
    display: none;
  }

  .cargo-tab {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.82rem;
    padding: 10px 18px;
  }

  .cargo-form-grid {
    grid-template-columns: 1fr !important;
  }

  .cargo-card {
    padding: 20px 16px;
  }

  .service-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── Notification Bell ── */
  .notification-panel {
    width: 100% !important;
    right: 0 !important;
    top: 64px !important;
    border-radius: 0 0 16px 16px !important;
    max-height: 60vh;
  }

}

/* ============================================================
   EXTRA SMALL SCREENS (max 480px)
   ============================================================ */

@media (max-width: 480px) {

  .hero-title {
    font-size: 1.65rem;
  }

  .hero-desc {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .dest-card {
    height: 240px;
  }

  .dest-name {
    font-size: 1.1rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .btn-lg {
    padding: 13px 24px;
    font-size: 0.88rem;
  }

  .boarding-pass-details {
    grid-template-columns: 1fr !important;
  }

  .bp-code {
    font-size: 1.5rem;
  }

  .auth-modal {
    padding: 20px 16px 28px;
  }

  .premium-cabin {
    padding: 20px 14px;
  }

  .premium-cabin-title h3 {
    font-size: 1.3rem;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 8px;
  }

  .booking-card {
    padding: 20px 12px;
  }
}