/* ============================================
   SASTIFLIGHT.PK — Design System
   Palette: Deep Teal + Warm Gold + Cream
   Fonts: Bricolage Grotesque + Plus Jakarta Sans
   ============================================ */

:root {
  --teal-900: #0A2A2A;
  --teal-800: #0D3535;
  --teal-700: #0F4040;
  --teal-600: #136B6B;
  --teal-500: #178080;
  --teal-400: #1A9696;
  --teal-300: #4DB8B8;
  --teal-100: #D0EEEE;
  --teal-50:  #EAF7F7;

  --gold-500: #D4A017;
  --gold-400: #E8B422;
  --gold-300: #F5C842;
  --gold-200: #FAE08A;
  --gold-100: #FDF3CC;

  --cream:    #F8F4EE;
  --white:    #FFFFFF;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6B7280;
  --gray-300: #D1D5DB;
  --gray-100: #F3F4F6;

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.18);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.22);

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--gray-900);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select { font-family: inherit; }
img { max-width: 100%; display: block; }

/* ---- CONTAINER ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 42, 42, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.logo-icon {
  font-size: 1.5rem;
  display: inline-block;
  animation: logoFloat 3s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-3px) rotate(5deg); }
}
.logo-dot { color: var(--gold-300); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--gold-400) !important;
  color: var(--teal-900) !important;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  background: var(--gold-300) !important;
  transform: translateY(-1px);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 45%, #1A5050 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 24px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(212,160,23,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(26,150,150,0.15) 0%, transparent 50%);
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Animated plane path */
.plane-path {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.plane-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 200px;
}
.flying-plane {
  position: absolute;
  font-size: 1.6rem;
  top: 0; left: -60px;
  animation: flyAcross 12s linear infinite;
  filter: drop-shadow(0 0 8px rgba(212,160,23,0.6));
}
@keyframes flyAcross {
  0%   { left: -60px; top: 140px; opacity: 0; }
  5%   { opacity: 1; }
  30%  { top: 20px; }
  60%  { top: 90px; }
  95%  { opacity: 1; }
  100% { left: calc(100% + 60px); top: 50px; opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--gold-200);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  animation: fadeSlideDown 0.6s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  animation: fadeSlideDown 0.7s ease 0.1s both;
}
.hero-highlight {
  color: var(--gold-300);
  position: relative;
}
.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  font-weight: 400;
  animation: fadeSlideDown 0.7s ease 0.2s both;
}

/* ============================================
   SEARCH CARD
   ============================================ */
.search-card {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 28px 32px 32px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.2);
  margin-bottom: 28px;
  animation: fadeSlideUp 0.8s ease 0.3s both;
}

/* Trip Tabs */
.trip-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: var(--gray-100);
  padding: 4px;
  border-radius: var(--radius-md);
  width: fit-content;
}
.trip-tab {
  padding: 8px 20px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
  transition: all var(--transition);
}
.trip-tab.active {
  background: var(--white);
  color: var(--teal-600);
  box-shadow: var(--shadow-sm);
}
.trip-tab:hover:not(.active) { color: var(--gray-700); }

/* Form Row */
.form-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1fr 1fr 1fr;
  gap: 12px;
  align-items: end;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.form-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-label svg { color: var(--teal-500); }

.input-wrapper { position: relative; }

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-input:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(23,128,128,0.12);
}
.form-input::placeholder { color: var(--gray-300); font-weight: 400; }
.form-input.error { border-color: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* Swap Button */
.swap-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-50);
  border: 1.5px solid var(--teal-100);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
  margin-bottom: 2px;
}
.swap-btn:hover {
  background: var(--teal-600);
  color: var(--white);
  border-color: var(--teal-600);
  transform: rotate(180deg);
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 50;
  max-height: 280px;
  overflow-y: auto;
  display: none;
}
.autocomplete-dropdown.open { display: block; }
.autocomplete-item {
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background var(--transition);
  border-bottom: 1px solid var(--gray-100);
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover, .autocomplete-item.highlighted { background: var(--teal-50); }
.airport-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal-600);
  min-width: 36px;
}
.airport-info { flex: 1; }
.airport-name { font-size: 0.88rem; font-weight: 600; color: var(--gray-900); }
.airport-city { font-size: 0.78rem; color: var(--gray-500); }
.airport-country {
  font-size: 0.75rem;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* Passenger Selector */
.passenger-display {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-900);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.passenger-display:focus, .passenger-display.open {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(23,128,128,0.12);
}
.passenger-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 50;
  padding: 12px;
  display: none;
  min-width: 220px;
}
.passenger-dropdown.open { display: block; }
.passenger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
.passenger-row:last-of-type { border-bottom: none; }
.pax-label { font-size: 0.9rem; font-weight: 600; color: var(--gray-900); }
.pax-sub { font-size: 0.75rem; color: var(--gray-500); }
.pax-counter { display: flex; align-items: center; gap: 12px; }
.pax-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.pax-btn:hover { background: var(--teal-600); color: var(--white); border-color: var(--teal-600); }
.pax-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.pax-count { font-weight: 700; font-size: 1rem; min-width: 20px; text-align: center; }
.pax-done {
  width: 100%;
  margin-top: 10px;
  padding: 9px;
  background: var(--teal-600);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background var(--transition);
}
.pax-done:hover { background: var(--teal-500); }

/* Search Button */
.search-btn {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-500) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(23,128,128,0.35);
  letter-spacing: -0.01em;
}
.search-btn:hover {
  background: linear-gradient(135deg, var(--teal-500) 0%, var(--teal-400) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(23,128,128,0.45);
}
.search-btn:active { transform: translateY(0); }
.search-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}
.search-btn.loading svg {
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Trust Badges */
.trust-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s ease 0.5s both;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  font-weight: 500;
}
.trust-icon { font-size: 1rem; }

/* ============================================
   RESULTS SECTION
   ============================================ */
.results-section {
  padding: 60px 0;
  background: var(--cream);
}
.results-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.results-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--teal-900);
  letter-spacing: -0.02em;
}
.results-subtitle { color: var(--gray-500); font-size: 0.9rem; margin-top: 4px; }
.sort-select {
  padding: 8px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  outline: none;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-chip {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-300);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  transition: all var(--transition);
}
.filter-chip:hover { border-color: var(--teal-400); color: var(--teal-600); }
.filter-chip.active {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: var(--white);
}

/* Flight Cards */
.flights-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.flight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  animation: fadeSlideUp 0.4s ease both;
}
.flight-card:hover {
  border-color: var(--teal-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.flight-card.best-deal {
  border-color: var(--gold-300);
  background: linear-gradient(135deg, #FFFDF5 0%, var(--white) 100%);
}
.best-deal-badge {
  position: absolute;
  top: -10px; left: 20px;
  background: var(--gold-400);
  color: var(--teal-900);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.flight-card-wrapper { position: relative; }

.airline-info { display: flex; align-items: center; gap: 10px; }
.airline-logo-sm {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--teal-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--teal-700);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.airline-name-sm { font-size: 0.88rem; font-weight: 600; color: var(--gray-900); }
.flight-number { font-size: 0.75rem; color: var(--gray-500); }

.flight-time-block { text-align: center; }
.flight-time {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}
.flight-airport { font-size: 0.78rem; color: var(--gray-500); font-weight: 500; }

.flight-route {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 120px;
}
.route-duration { font-size: 0.78rem; color: var(--gray-500); font-weight: 500; }
.route-line {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
}
.route-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-400);
  flex-shrink: 0;
}
.route-dash {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, var(--teal-300), var(--gray-300));
}
.route-plane { font-size: 0.9rem; color: var(--teal-500); }
.route-stops {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.route-stops.direct { background: #D1FAE5; color: #065F46; }
.route-stops.one-stop { background: #FEF3C7; color: #92400E; }

.flight-price-block { text-align: right; }
.price-label { font-size: 0.72rem; color: var(--gray-500); font-weight: 500; }
.price-amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal-700);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-currency { font-size: 0.9rem; font-weight: 600; }
.price-per { font-size: 0.72rem; color: var(--gray-500); }

.book-btn {
  padding: 11px 22px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(23,128,128,0.3);
}
.book-btn:hover {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(23,128,128,0.4);
}

/* No Results */
.no-results {
  text-align: center;
  padding: 60px 20px;
}
.no-results-icon { font-size: 3rem; margin-bottom: 16px; }
.no-results h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--gray-700); margin-bottom: 8px; }
.no-results p { color: var(--gray-500); }

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  padding: 100px 0;
  background: var(--white);
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-badge {
  display: inline-block;
  background: var(--teal-50);
  color: var(--teal-600);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--teal-900);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-sub { color: var(--gray-500); margin-top: 10px; font-size: 1rem; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  padding: 36px 28px;
  border-radius: var(--radius-xl);
  background: var(--cream);
  border: 1.5px solid transparent;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal-50), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.step-card:hover {
  border-color: var(--teal-200);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-card:hover::before { opacity: 1; }
.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--teal-100);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}
.step-icon { font-size: 2rem; margin-bottom: 14px; }
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal-900);
  margin-bottom: 8px;
}
.step-card p { color: var(--gray-500); font-size: 0.9rem; line-height: 1.6; }

/* ============================================
   POPULAR ROUTES
   ============================================ */
.popular-routes {
  padding: 100px 0;
  background: var(--cream);
}
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.route-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}
.route-card:hover {
  border-color: var(--teal-300);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.route-card-img {
  height: 140px;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.route-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.3));
}
.route-card-body { padding: 16px 18px; }
.route-cities {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-900);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.route-arrow { color: var(--teal-400); }
.route-meta { font-size: 0.78rem; color: var(--gray-500); margin-bottom: 10px; }
.route-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.route-from { font-size: 0.72rem; color: var(--gray-500); }
.route-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--teal-600);
}

/* ============================================
   AIRLINES STRIP
   ============================================ */
.airlines-strip {
  padding: 48px 0;
  background: var(--teal-900);
  overflow: hidden;
}
.airlines-label {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.airlines-scroll {
  display: flex;
  gap: 40px;
  align-items: center;
  animation: scrollLeft 20s linear infinite;
  width: max-content;
}
.airline-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  transition: color var(--transition);
  letter-spacing: -0.01em;
}
.airline-logo:hover { color: rgba(255,255,255,0.85); }
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--teal-900);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 300px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   LOADING SKELETON
   ============================================ */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-md);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  height: 90px;
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .form-row {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto auto;
  }
  .form-row .form-group:nth-child(4) { grid-column: 1; }
  .form-row .form-group:nth-child(5) { grid-column: 2 / span 2; }
  .form-row .form-group:nth-child(6) { grid-column: 1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 90px 20px 50px; }
  .hero-title { font-size: 2.4rem; }

  .search-card { padding: 20px; }
  .form-row {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
  }
  .swap-btn { width: 36px; height: 36px; margin: 0 auto; }

  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .routes-grid { grid-template-columns: 1fr 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }

  .flight-card {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }
  .flight-route { grid-column: 1 / -1; order: -1; }
  .flight-price-block { text-align: left; }
}

@media (max-width: 480px) {
  .routes-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .trust-badges { gap: 14px; }
  .trip-tabs { width: 100%; }
  .trip-tab { flex: 1; text-align: center; }
}