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

:root {
  --blue:        #0057B8;
  --blue-hover:  #004494;
  --blue-light:  #EBF3FF;
  --blue-mid:    #BBDBFF;
  --teal:        #00897B;
  --teal-light:  #E0F2F1;
  --orange:      #E85D04;
  --green:       #1B8A5A;
  --green-light: #E6F5EE;
  --gray-50:     #F7F9FC;
  --gray-100:    #EEF2F7;
  --gray-200:    #DDE3ED;
  --gray-300:    #C4CEDD;
  --gray-400:    #96A4B8;
  --gray-500:    #6B7A90;
  --gray-700:    #3D4D63;
  --gray-900:    #1A2235;
  --white:       #FFFFFF;
  --shadow-xs:   0 1px 2px rgba(16,24,40,.06);
  --shadow-sm:   0 1px 4px rgba(16,24,40,.08), 0 2px 8px rgba(16,24,40,.04);
  --shadow-md:   0 4px 16px rgba(16,24,40,.10), 0 1px 4px rgba(16,24,40,.06);
  --shadow-lg:   0 12px 40px rgba(16,24,40,.14), 0 4px 12px rgba(16,24,40,.06);
  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   18px;
  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --transition:  .15s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--gray-50);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, select { font-family: var(--font); }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
}

.navbar__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
  letter-spacing: -.3px;
}

.logo-svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.logo-text strong { color: var(--teal); font-weight: 800; }

.navbar__links {
  display: flex;
  gap: 2px;
  flex: 1;
}

.nav-link {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: background var(--transition), color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover { background: var(--gray-100); color: var(--gray-900); }
.nav-link.active { background: var(--blue-light); color: var(--blue); font-weight: 600; }
.nav-link.disabled { opacity: .5; pointer-events: none; }

.badge {
  font-size: .65rem;
  padding: 2px 7px;
  background: var(--orange);
  color: white;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: .2px;
}

.navbar__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-ghost {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

.btn-primary {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
  transition: background var(--transition), transform .1s;
}
.btn-primary:hover { background: var(--blue-hover); }
.btn-primary:active { transform: scale(.98); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 88px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #0A1628 0%, #0A3D8A 50%, #005F73 100%);
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,150,200,.25) 0%, transparent 70%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 980px;
  text-align: center;
}

.hero__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 14px;
  letter-spacing: -.6px;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 36px;
  font-weight: 400;
}

/* ===== SEARCH BOX ===== */
.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.search-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 22px;
  border-bottom: 1.5px solid var(--gray-100);
  padding-bottom: 4px;
}

.tab {
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: background var(--transition), color var(--transition);
}
.tab:hover { background: var(--gray-100); color: var(--gray-900); }
.tab.active {
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 600;
}

.search-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.search-row--bottom {
  margin-top: 12px;
  justify-content: space-between;
  align-items: center;
}

/* ===== FIELDS ===== */
.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field--airport   { flex: 1 1 200px; min-width: 160px; }
.field--date      { flex: 0 0 148px; }
.field--passengers{ flex: 0 0 158px; }

.field__label {
  font-size: .7rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .7px;
  padding-left: 14px;
}

.field__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  min-height: 48px;
}

.field__input-wrap:focus-within,
.field__input-wrap:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,87,184,.10);
}

.field__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px 0 13px;
  color: var(--gray-400);
  flex-shrink: 0;
}

.field__icon svg {
  width: 16px;
  height: 16px;
}

.field__chevron {
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--gray-400);
  flex-shrink: 0;
}

.field__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 13px 10px 13px 0;
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-900);
  background: transparent;
  min-width: 0;
}

.field__input::placeholder {
  color: var(--gray-400);
  font-weight: 400;
}

input[type="date"].field__input {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  color: var(--gray-700);
}

.passengers-display {
  flex: 1;
  padding: 13px 8px 13px 0;
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-900);
  user-select: none;
}

/* ===== SWAP BUTTON ===== */
.swap-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 2px;
  color: var(--blue);
  transition: border-color var(--transition), background var(--transition), transform .25s;
}
.swap-btn svg { width: 16px; height: 16px; }
.swap-btn:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  transform: rotate(180deg);
}

/* ===== AUTOCOMPLETE ===== */
.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 200;
  max-height: 300px;
  overflow-y: auto;
  display: none;
}
.autocomplete-dropdown.open { display: block; }

.autocomplete-item {
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background var(--transition);
  border-bottom: 1px solid var(--gray-100);
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover { background: var(--blue-light); }

.airport-code {
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  padding: 3px 7px;
  border-radius: 5px;
  min-width: 40px;
  text-align: center;
  letter-spacing: .3px;
  flex-shrink: 0;
}

.airport-details { flex: 1; min-width: 0; }
.airport-city {
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.airport-name-small {
  font-size: .75rem;
  color: var(--gray-400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== PASSENGERS DROPDOWN ===== */
.passengers-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 290px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 200;
  padding: 16px;
  display: none;
}
.passengers-dropdown.open { display: block; }

.passenger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--gray-100);
}
.passenger-row:last-of-type { border-bottom: none; }

.passenger-type { font-size: .9rem; font-weight: 600; color: var(--gray-900); }
.passenger-sub  { font-size: .75rem; color: var(--gray-400); margin-top: 1px; }

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

.counter-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 500;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}
.counter-btn:hover { border-color: var(--blue); background: var(--blue-light); }
.counter-btn:disabled { opacity: .3; pointer-events: none; }

.counter-val { font-size: .95rem; font-weight: 700; min-width: 18px; text-align: center; }

.btn-confirm-passengers {
  width: 100%;
  margin-top: 14px;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
}

/* ===== CLASS SELECTOR ===== */
.class-selector {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.class-select {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
  min-height: 48px;
}
.class-select:focus, .class-select:hover { border-color: var(--blue); }

/* ===== SEARCH BUTTON ===== */
.btn-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 4px 14px rgba(0,87,184,.30);
  transition: background var(--transition), transform .12s, box-shadow var(--transition);
  white-space: nowrap;
  letter-spacing: -.1px;
}
.btn-search:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,87,184,.38);
}
.btn-search:active { transform: translateY(0); }
.btn-search.loading { opacity: .65; pointer-events: none; }

/* ===== RESULTS SECTION ===== */
.results-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 28px 72px;
}

.results-container {
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: 24px;
  align-items: start;
}

/* ===== FILTERS SIDEBAR ===== */
.filters-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  position: sticky;
  top: 80px;
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.filters-header h3 { font-size: .95rem; font-weight: 700; color: var(--gray-900); }

.btn-ghost-sm {
  font-size: .8rem;
  color: var(--blue);
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 5px;
  transition: background var(--transition);
}
.btn-ghost-sm:hover { background: var(--blue-light); }

.filter-group {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--gray-100);
}
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.filter-group h4 {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 9px;
  cursor: pointer;
}
.checkbox-label input {
  accent-color: var(--blue);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.range-slider {
  width: 100%;
  accent-color: var(--blue);
  height: 4px;
  margin-bottom: 8px;
}

.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--gray-700);
  font-weight: 600;
}

/* ===== RESULTS MAIN ===== */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.results-count { font-size: .875rem; color: var(--gray-500); }
.results-count strong { color: var(--gray-900); }

.sort-bar { display: flex; align-items: center; gap: 6px; }
.sort-label { font-size: .8rem; color: var(--gray-400); margin-right: 2px; }

.sort-btn {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--gray-500);
  border: 1.5px solid var(--gray-200);
  transition: all var(--transition);
}
.sort-btn:hover { border-color: var(--blue); color: var(--blue); }
.sort-btn.active { background: var(--blue); color: white; border-color: var(--blue); }

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

/* ===== FLIGHT CARD ===== */
.flight-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition), box-shadow var(--transition), transform .12s;
  animation: fadeInUp .2s ease both;
}

.flight-card:hover {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.flight-card.best-price { border-color: var(--teal); }

.best-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-light);
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.best-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.flight-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* AIRLINE LOGO */
.airline-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 72px;
}

.airline-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  color: var(--gray-700);
  letter-spacing: .5px;
  border: 1px solid var(--gray-200);
  text-transform: uppercase;
}

.airline-name {
  font-size: .7rem;
  color: var(--gray-400);
  text-align: center;
  white-space: nowrap;
  font-weight: 500;
}

/* ROUTE */
.flight-route {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.route-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.route-time {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.5px;
  line-height: 1;
}

.route-code {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: .3px;
}

.route-line {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 100px;
}

.route-duration {
  font-size: .72rem;
  color: var(--gray-400);
  font-weight: 600;
  letter-spacing: .2px;
}

.route-visual {
  display: flex;
  align-items: center;
  width: 100%;
}

.route-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
}

.route-dash {
  flex: 1;
  height: 1.5px;
  background: var(--gray-300);
}

.route-plane-icon {
  width: 18px;
  height: 18px;
  color: var(--gray-400);
  flex-shrink: 0;
  margin: 0 2px;
}

.route-stops {
  font-size: .7rem;
  color: var(--gray-400);
  font-weight: 600;
}
.route-stops.direct   { color: var(--green); }
.route-stops.one-stop { color: var(--orange); }

/* EXTRAS */
.flight-extras {
  display: flex;
  gap: 6px;
  margin-top: 13px;
  flex-wrap: wrap;
}

.extra-tag {
  font-size: .72rem;
  padding: 3px 9px;
  border-radius: 5px;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-500);
  letter-spacing: .1px;
}
.extra-tag.green { background: var(--green-light); color: var(--green); }
.extra-tag.blue  { background: var(--blue-light);  color: var(--blue); }

/* ===== PRICE SECTION ===== */
.flight-price-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 148px;
}

.price-per {
  font-size: .72rem;
  color: var(--gray-400);
  font-weight: 500;
}

.price-main {
  line-height: 1;
  color: var(--gray-900);
}

.price-currency {
  font-size: 1rem;
  font-weight: 700;
  vertical-align: top;
  margin-top: 4px;
  display: inline-block;
}

.price-amount {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.btn-book {
  width: 100%;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  text-align: center;
  transition: background var(--transition);
  letter-spacing: -.1px;
}
.btn-book:hover { background: var(--blue-hover); }

.price-note {
  font-size: .7rem;
  color: var(--gray-400);
  text-align: right;
}

/* ===== SKELETON ===== */
.skeleton {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  padding: 22px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
}

@keyframes shimmer {
  0%   { background-position: -800px 0; }
  100% { background-position:  800px 0; }
}

.skel-block {
  border-radius: 6px;
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite;
}

/* ===== POPULAR DESTINATIONS ===== */
.popular-section {
  padding: 72px 28px;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}

.popular-inner { max-width: 1240px; margin: 0 auto; }

.section-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 28px;
  color: var(--gray-900);
  letter-spacing: -.3px;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.dest-card {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
}
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.dest-card__img {
  height: 130px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.dest-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.35) 0%, transparent 60%);
}

.dest-card__iata {
  position: relative;
  z-index: 1;
  font-size: .7rem;
  font-weight: 800;
  color: white;
  background: rgba(0,0,0,.35);
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: .5px;
  backdrop-filter: blur(4px);
}

.dest-card__body { padding: 14px 16px 16px; }

.dest-card__city {
  font-weight: 700;
  font-size: .95rem;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.dest-card__country {
  font-size: .8rem;
  color: var(--gray-400);
  margin-bottom: 10px;
}

.dest-card__price {
  font-size: .875rem;
  color: var(--blue);
  font-weight: 700;
}

.dest-card__price span {
  font-size: .75rem;
  font-weight: 400;
  color: var(--gray-400);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.65);
  padding: 56px 28px 0;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
}

.footer-brand .navbar__logo { color: white; margin-bottom: 14px; display: inline-flex; }
.footer-brand .logo-svg { color: white; }
.footer-brand p { font-size: .875rem; line-height: 1.65; max-width: 300px; }

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

.footer-links h5 {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .9px;
  color: white;
  margin-bottom: 14px;
}

.footer-links a {
  display: block;
  font-size: .875rem;
  margin-bottom: 9px;
  transition: color var(--transition);
}
.footer-links a:hover { color: white; }

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

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

.flight-card:nth-child(2) { animation-delay: .04s; }
.flight-card:nth-child(3) { animation-delay: .08s; }
.flight-card:nth-child(4) { animation-delay: .12s; }
.flight-card:nth-child(5) { animation-delay: .16s; }
.flight-card:nth-child(n+6) { animation-delay: .20s; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--gray-900);
  color: white;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  animation: fadeInUp .25s ease;
  max-width: 320px;
}
.toast.error { background: #C0392B; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .search-row { flex-wrap: wrap; }
  .field--airport    { flex: 1 1 calc(50% - 28px); }
  .field--date       { flex: 1 1 calc(50% - 28px); }
  .field--passengers { flex: 1 1 100%; }
  .swap-btn { display: none; }
  .results-container { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .navbar__links { display: none; }
  .navbar__actions .btn-ghost { display: none; }
  .hero { padding: 40px 16px 60px; }
  .search-box { padding: 20px 16px 18px; }
  .results-section { padding: 20px 16px 48px; }
  .flight-card { grid-template-columns: 1fr; }
  .flight-price-section { flex-direction: row; align-items: center; justify-content: space-between; }
  .btn-book { width: auto; padding: 10px 20px; }
  .popular-section { padding: 48px 16px; }
  .footer { padding: 40px 16px 0; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
