/* ============== TOKENS ============== */
:root {
  --navy-900: #042C53;
  --navy-800: #0C447C;
  --navy-600: #185FA5;
  --navy-400: #378ADD;
  --navy-200: #B5D4F4;
  --navy-100: #E6F1FB;

  --ink-900: #1A1A1A;
  --ink-700: #444441;
  --ink-500: #888780;
  --ink-300: #B4B2A9;
  --ink-200: #D3D1C7;
  --ink-100: #F1EFE8;

  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --border: rgba(0, 0, 0, 0.10);
  --border-strong: rgba(0, 0, 0, 0.18);

  --success: #0F6E56;
  --success-bg: #E1F5EE;
  --warning: #854F0B;
  --warning-bg: #FAEEDA;
  --danger: #A32D2D;
  --danger-bg: #FCEBEB;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html, body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3 { font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: 40px; }
h2 { font-size: 24px; }
h3 { font-size: 16px; }
p { color: var(--ink-700); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 64px 24px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.section__title { margin-bottom: 28px; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 6px;
  font-weight: 500;
}
.eyebrow--light { color: var(--navy-200); }

.muted-xs { font-size: 11px; color: var(--ink-500); }

.link { color: var(--navy-600); font-size: 13px; }
.link--bold { font-weight: 500; }
.link:hover { color: var(--navy-800); }

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 480px;
  background-image: url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?w=1600&q=80');
  background-size: cover;
  background-position: center;
  color: white;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 44, 83, 0.82) 0%, rgba(4, 44, 83, 0.4) 60%, rgba(4, 44, 83, 0.15) 100%);
}
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  padding-top: 24px;
  padding-bottom: 80px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: white;
  color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  font-weight: 500; font-size: 13px;
}
.nav__name { font-size: 14px; font-weight: 500; }
.nav__links {
  display: flex; gap: 24px;
  font-size: 13px;
}
.nav__links li { opacity: 0.9; cursor: pointer; }
.nav__cta {
  background: rgba(255, 255, 255, 0.18);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  opacity: 1 !important;
}

.hero__copy { max-width: 560px; }
.hero__copy h1 {
  font-size: 44px;
  margin: 12px 0 16px;
}
.hero__copy p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============== BUTTONS ============== */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.1s, opacity 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: white; color: var(--navy-900); }
.btn--primary:hover { background: rgba(255, 255, 255, 0.92); }
.btn--ghost { color: white; border: 1px solid rgba(255, 255, 255, 0.6); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--white { background: white; color: var(--navy-900); white-space: nowrap; }
.btn--solid {
  background: var(--navy-900);
  color: white;
}
.btn--solid:hover { background: var(--navy-800); }

/* ============== STATS ============== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: -36px;
  position: relative;
  z-index: 2;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.stat-card__num {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.stat-card__label {
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 2px;
}

/* ============== DEALS ============== */
.deals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.deal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}
.deal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.deal-card__img {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.deal-card__nights {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 10px;
}
.badge {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(255, 255, 255, 0.96);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.6px;
}
.badge--flash      { color: #993C1D; }
.badge--bestseller { color: #085041; }
.badge--luxury     { color: #3C3489; }
.badge--group      { color: var(--navy-900); }

.deal-card__body { padding: 14px; }
.deal-card__title { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.deal-card__desc {
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.55;
  margin-bottom: 12px;
  min-height: 38px;
}
.deal-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.price { font-size: 16px; font-weight: 500; }
.net-price { font-size: 11px; color: var(--success); margin-top: 2px; }

/* ============== FEATURES ============== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.feature__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feature__icon--blue   { background: var(--navy-100); color: var(--navy-600); }
.feature__icon--teal   { background: #E1F5EE;       color: #0F6E56; }
.feature__icon--coral  { background: #FAECE7;       color: #993C1D; }
.feature__icon--purple { background: #EEEDFE;       color: #3C3489; }
.feature__icon--amber  { background: #FAEEDA;       color: #854F0B; }
.feature__icon--pink   { background: #FBEAF0;       color: #72243E; }

.feature h3 { margin-bottom: 8px; }
.feature p { font-size: 13px; color: var(--ink-500); line-height: 1.65; }

/* ============== CTA STRIP ============== */
.cta-strip {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 64px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-strip__title { font-size: 20px; font-weight: 500; margin-bottom: 4px; }
.cta-strip__sub { font-size: 13px; color: var(--navy-200); }

/* ============== FOOTER ============== */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 24px;
  font-size: 12px;
  color: var(--ink-500);
  border-top: 1px solid var(--border);
}
.footer__links { display: flex; gap: 18px; }
.footer__links a:hover { color: var(--ink-900); }

/* ============== LOGIN ============== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}
.login-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  max-width: 760px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}
.login-card__brand {
  background: var(--navy-900);
  color: white;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-card__brand h2 {
  font-size: 22px;
  margin: 28px 0 14px;
}
.login-card__brand p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--navy-200);
}
.login-card__brand-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}
.login-card__brand-stat-num { font-size: 20px; font-weight: 500; }
.login-card__brand-stat-label { font-size: 11px; color: var(--navy-200); }
.login-card__form {
  padding: 36px 28px;
}
.login-card__form h2 {
  font-size: 20px;
  margin-bottom: 4px;
}
.login-card__form > p {
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 24px;
}

.field { margin-bottom: 14px; }
.field__label {
  display: block;
  font-size: 11px;
  color: var(--ink-500);
  margin-bottom: 5px;
}
.field__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.field input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  background: var(--surface);
  color: var(--ink-900);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px var(--navy-100);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-500);
  margin: 16px 0 18px;
  cursor: pointer;
}
.checkbox input { width: 14px; height: 14px; accent-color: var(--navy-600); }

.btn--full { width: 100%; text-align: center; padding: 11px; }

.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  color: var(--ink-300);
  font-size: 11px;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.sso-btn {
  display: block;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 12px;
  color: var(--ink-500);
  cursor: pointer;
}
.sso-btn:hover { border-color: var(--border-strong); color: var(--ink-900); }

.note {
  background: var(--warning-bg);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 11px;
  color: var(--warning);
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.note__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--warning);
  color: var(--warning-bg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 500; font-size: 10px;
  flex-shrink: 0;
}

/* ============== SEARCH ENGINE ============== */
.app-shell {
  min-height: 100vh;
  background: var(--bg);
}
.app-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.app-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-header__brand { display: flex; align-items: center; gap: 12px; }
.app-header__logo {
  width: 30px; height: 30px;
  border-radius: var(--radius-sm);
  background: var(--navy-100);
  color: var(--navy-600);
  display: flex; align-items: center; justify-content: center;
  font-weight: 500; font-size: 13px;
}
.app-header__title { font-size: 14px; font-weight: 500; }
.app-header__right {
  display: flex; align-items: center; gap: 16px;
  font-size: 12px; color: var(--ink-500);
}
.avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500;
}

.search-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.tab {
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-500);
  cursor: pointer;
}
.tab:hover { border-color: var(--border-strong); }
.tab--active {
  background: var(--navy-600);
  color: white;
  border-color: var(--navy-600);
  font-weight: 500;
}
.tab--active:hover { background: var(--navy-800); }

.sectors-label {
  font-size: 11px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}
.sector {
  background: var(--ink-100);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 28px 1fr 1fr 1fr 28px;
  gap: 12px;
  align-items: end;
}
.sector__num {
  font-size: 11px;
  color: var(--ink-500);
  text-align: center;
  padding-bottom: 12px;
}
.sector__field {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
}
.sector__field-label {
  font-size: 11px;
  color: var(--ink-500);
  margin-bottom: 5px;
}
.sector__field-main { font-weight: 500; }
.sector__field-meta { font-size: 11px; color: var(--ink-500); margin-top: 1px; }
.sector__field--placeholder { color: var(--ink-300); }
.sector__remove {
  text-align: center;
  padding-bottom: 12px;
  color: var(--ink-300);
  cursor: pointer;
  font-size: 16px;
}

.add-sector {
  display: inline-block;
  font-size: 12px;
  color: var(--navy-600);
  padding: 8px 14px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.row-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; }
.row-meta-text { font-size: 12px; color: var(--ink-500); }

.divider-line { height: 1px; background: var(--border); margin: 20px 0; }

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.pax-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
}
.pax-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}
.pax-row + .pax-row { border-top: 1px solid var(--border); }
.pax-meta { font-size: 10px; color: var(--ink-500); }
.counter { display: flex; align-items: center; gap: 10px; }
.counter__btn {
  width: 24px; height: 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 13px;
}
.counter__btn:hover { border-color: var(--border-strong); }
.counter__num { font-weight: 500; min-width: 14px; text-align: center; }

.pill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}
.pill {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 12px;
  text-align: center;
  color: var(--ink-500);
  cursor: pointer;
}
.pill:hover { border-color: var(--border-strong); color: var(--ink-900); }
.pill--active {
  border: 2px solid var(--navy-600);
  background: var(--navy-100);
  color: var(--navy-800);
  font-weight: 500;
  padding: 9px;
}

.pill-row { display: flex; gap: 6px; }
.pill-row .pill { flex: 1; }

.airline-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  min-height: 90px;
  font-size: 12px;
}
.chip-list { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy-100);
  color: var(--navy-800);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
}
.chip__close { opacity: 0.6; cursor: pointer; }
.chip__code { font-weight: 500; }

.advanced {
  background: var(--ink-100);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}
.advanced__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  font-size: 12px;
}
.advanced__field-label { color: var(--ink-500); font-size: 11px; margin-bottom: 5px; }
.advanced__field {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
.advanced__checks {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  font-size: 11px;
  color: var(--ink-500);
  flex-wrap: wrap;
}

.search-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.search-actions__history {
  font-size: 11px;
  color: var(--ink-300);
}
.search-actions__spacer { flex: 1; }
.btn--quiet {
  font-size: 13px;
  padding: 10px 16px;
  color: var(--ink-500);
  cursor: pointer;
}
.btn--outline {
  font-size: 13px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.btn--outline:hover { border-color: var(--border-strong); }

/* ============== RESPONSIVE ============== */
@media (max-width: 900px) {
  h1 { font-size: 32px; }
  .hero__copy h1 { font-size: 32px; }
  .stats, .deals, .features { grid-template-columns: repeat(2, 1fr); }
  .options-grid, .advanced__row { grid-template-columns: 1fr; }
  .login-card { grid-template-columns: 1fr; }
  .login-card__brand { padding: 28px 24px; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .sector { grid-template-columns: 1fr; }
  .sector__num, .sector__remove { text-align: left; padding-bottom: 0; }
}

@media (max-width: 540px) {
  .stats, .deals, .features { grid-template-columns: 1fr; }
  .nav__links { gap: 12px; font-size: 12px; }
  .section { padding: 40px 16px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ===================================================================
   FLIGHT RESULTS PAGE
   =================================================================== */

/* Search summary bar */
.search-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.search-summary__route {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-700);
}
.bold { font-weight: 500; color: var(--ink-900); }
.muted { color: var(--ink-500); }
.muted-sm { font-size: 12px; color: var(--ink-500); }

/* Info banner */
.info-banner {
  background: var(--navy-100);
  border: 1px solid var(--navy-400);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}
.info-banner__icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--navy-600);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500;
  flex-shrink: 0;
  font-family: Georgia, serif;
  font-style: italic;
}
.info-banner__text {
  font-size: 12px;
  color: var(--navy-800);
  line-height: 1.5;
}
.info-banner__text strong { font-weight: 500; }

/* Generic card */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 14px;
}

/* Flexible dates strip */
.flex-dates__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.flex-dates__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.day-cell {
  padding: 9px 4px;
  text-align: center;
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
  border: 1px solid transparent;
}
.day-cell:hover { border-color: var(--border); }
.day-cell__d {
  color: var(--ink-500);
  font-size: 11px;
  margin-bottom: 3px;
}
.day-cell__tag {
  font-size: 9px;
  margin-top: 2px;
  letter-spacing: 0.4px;
}
.day-cell--cheap {
  background: #C0DD97;
  color: #173404;
}
.day-cell--cheap .day-cell__d { color: #173404; opacity: 0.75; }
.day-cell--selected {
  background: var(--navy-600);
  color: white;
}
.day-cell--selected .day-cell__d { color: white; opacity: 0.85; }

/* Result toolbar */
.result-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.sort-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 3px;
}
.sort-tab {
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink-500);
  cursor: pointer;
}
.sort-tab:hover { color: var(--ink-900); }
.sort-tab--active {
  background: var(--navy-600);
  color: white;
  font-weight: 500;
}

/* Flight result */
.flight {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.15s;
}
.flight:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.04); }

.flight__head {
  padding: 16px;
  display: grid;
  grid-template-columns: 56px 140px 1fr 130px;
  gap: 18px;
  align-items: center;
}
.flight--collapsed .flight__head {
  grid-template-columns: 56px 140px 1fr 130px 110px;
}

/* Airline logo */
.airline__logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: white;
  overflow: hidden;
  background: var(--ink-100);
}
.airline__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
  padding: 4px;
}
.airline__logo--6E { background: #042C53; }
.airline__logo--AI { background: #A32D2D; }
.airline__logo--EK { background: #993C1D; }
.airline__logo--FZ { background: #185FA5; }
.airline__logo--QR { background: #5C0931; }
.airline__logo--TK { background: #C70A0C; }

.airline__meta {}
.airline__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-900);
}
.airline__sub {
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 3px;
}

/* Route timeline */
.route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}
.route__time-h {
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}
.route__time-m {
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 5px;
}
.route__time--right { text-align: right; }
.route__line {
  text-align: center;
  min-width: 90px;
}
.route__dur {
  font-size: 11px;
  color: var(--ink-500);
}
.route__bar {
  height: 1px;
  background: var(--border-strong);
  margin: 5px 0;
  position: relative;
}
.route__dot {
  position: absolute;
  right: -3px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy-600);
}
.route__stops {
  font-size: 11px;
  color: var(--success);
  font-weight: 500;
}

/* Price-from block */
.flight__price-from { text-align: right; }
.flight__price {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.1;
  margin: 2px 0;
}

.warning { color: var(--warning); }

/* ============== FARE CART ============== */
.fare-cart {
  background: #FAF9F4;
  border-top: 1px solid var(--border);
  padding: 16px;
}
.fare-cart__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.overline {
  font-size: 11px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 500;
}
.fare-cart__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.check-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-500);
  cursor: pointer;
}
.check-mini input { width: 13px; height: 13px; accent-color: var(--navy-600); }

/* The actual horizontal cart */
.fare-cart__scroll {
  display: grid;
  grid-template-columns: repeat(6, minmax(170px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-top: 10px;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
}
.fare-cart__scroll::-webkit-scrollbar { height: 6px; }
.fare-cart__scroll::-webkit-scrollbar-thumb {
  background: var(--ink-200);
  border-radius: 3px;
}

/* Fare card */
.fare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  position: relative;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, transform 0.1s;
  cursor: pointer;
  min-width: 170px;
}
.fare-card:hover {
  border-color: var(--border-strong);
}
.fare-card--selected {
  border: 2px solid var(--navy-600);
  padding: 11px;
}

.fare-card__badge {
  position: absolute;
  top: -8px;
  left: 10px;
  font-size: 9px;
  font-weight: 500;
  padding: 3px 7px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}
.fare-card__badge--selected {
  background: var(--navy-600);
  color: white;
}
.fare-card__badge--margin {
  background: #C0DD97;
  color: #173404;
}
.fare-card__badge--corp {
  background: #E1F5EE;
  color: #0F6E56;
}

.fare-card__name {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 2px;
}
.fare-card__type {
  font-size: 10px;
  color: var(--ink-500);
  margin-bottom: 10px;
}
.fare-card__price {
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}
.fare-card__net {
  font-size: 10px;
  color: var(--success);
  margin: 4px 0 10px;
}

.fare-card__list {
  font-size: 11px;
  line-height: 1.7;
  color: var(--ink-700);
  list-style: none;
  margin-bottom: 12px;
  flex: 1;
}
.fare-card__list li.muted { color: var(--ink-300); }
.fare-card__list li.warning { color: var(--warning); }
.fare-card__list li.danger { color: var(--danger); }
.fare-card__list li.info { color: var(--navy-600); }

.fare-card__btn {
  width: 100%;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 12px;
  color: var(--ink-500);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.fare-card__btn:hover {
  border-color: var(--border-strong);
  color: var(--ink-900);
}
.fare-card__btn--primary {
  background: var(--navy-600);
  color: white;
  border-color: var(--navy-600);
  font-weight: 500;
}
.fare-card__btn--primary:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: white;
}

/* Fare cart footer */
.fare-cart__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.tag-strip { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 10px;
  padding: 3px 8px;
  background: var(--ink-100);
  color: var(--ink-700);
  border-radius: 3px;
}
.tag--info {
  background: var(--navy-100);
  color: var(--navy-600);
}
.fare-cart__links { display: flex; gap: 14px; }
.fare-cart__links a {
  font-size: 12px;
  color: var(--navy-600);
}
.fare-cart__links a:hover { color: var(--navy-800); }

/* CTA button on collapsed flights */
.btn--cta-blue {
  padding: 9px 16px;
  background: var(--navy-600);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}
.btn--cta-blue:hover { background: var(--navy-800); }
.btn--outline {
  padding: 9px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--ink-700);
  cursor: pointer;
  font-family: inherit;
}
.btn--outline:hover {
  border-color: var(--border-strong);
}

/* Responsive */
@media (max-width: 1100px) {
  .fare-cart__scroll { grid-template-columns: repeat(6, 180px); }
}
@media (max-width: 900px) {
  .flight__head, .flight--collapsed .flight__head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .route { gap: 8px; }
  .flight__price-from { text-align: left; }
  .fare-cart__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .fare-cart__foot { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ===================================================================
   PAX & CONFIRMATION PAGES
   =================================================================== */

/* Step indicator bar */
.step-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.step-bar__label {
  font-size: 11px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.step-bar__steps {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.step { color: var(--ink-300); }
.step--done { color: var(--ink-500); }
.step--current {
  color: var(--navy-600);
  font-weight: 500;
}
.step__sep { color: var(--ink-300); }

/* Flight summary strip */
.flight-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 44px 1fr auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}
.flight-summary--inset {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
}
.flight-summary__seg {}
.flight-summary__seg .time-lg {
  font-size: 17px;
  font-weight: 500;
  margin-top: 2px;
}
.flight-summary__dur {
  text-align: center;
  min-width: 80px;
}
.success-xs { font-size: 11px; color: var(--success); }
.warning-xs { font-size: 11px; color: var(--warning); }
.fare-pill {
  display: inline-block;
  padding: 4px 10px;
  background: var(--navy-100);
  color: var(--navy-600);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}
.flight-summary__price {
  text-align: right;
}
.text-md { font-size: 14px; }
.text-sm { font-size: 12px; }
.muted-xs { font-size: 11px; color: var(--ink-500); }
.muted { color: var(--ink-500); }
.text-right { text-align: right; }
.text-center { text-align: center; }

/* Two-column layout shell */
.layout-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 16px;
  align-items: start;
}

/* Pax card */
.pax-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
}
.pax-card--warning { border-color: var(--warning); }

.pax-card__head {
  padding: 12px 16px;
  background: #FAF9F4;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.pax-card--collapsed .pax-card__head { border-bottom: none; }
.pax-card__head--warning {
  background: var(--warning-bg);
  border-bottom-color: var(--warning);
}

.pax-card__head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pax-card__head-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pax-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy-100);
  color: var(--navy-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
}
.pax-num--warning {
  background: var(--warning);
  color: white;
}
.pax-card__title {
  font-size: 13px;
  font-weight: 500;
}
.pax-card__title--warning { color: var(--warning); }

.pax-card__body { padding: 16px; }

/* Form rows */
.form-row {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}
.form-row--2 { grid-template-columns: 1fr 1fr; }
.form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.form-row--name { grid-template-columns: 90px 1fr 1fr; }

.field select,
.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 13px;
  font-family: inherit;
  background: var(--surface);
  color: var(--ink-900);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field select:focus,
.field input:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px var(--navy-100);
}
.req { color: var(--danger); }

/* Pill-row toggles (Male/Female, etc.) */
.pill-row {
  display: flex;
  gap: 6px;
}
.pill {
  flex: 1;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  text-align: center;
  color: var(--ink-500);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.pill:hover { border-color: var(--border-strong); }
.pill--active {
  border: 2px solid var(--navy-600);
  background: var(--navy-100);
  color: var(--navy-800);
  font-weight: 500;
  padding: 7px;
}

/* Alerts */
.alert {
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.55;
  margin: 12px 0;
}
.alert--ok {
  background: var(--success-bg);
  border: 1px solid var(--success);
  color: var(--success);
}
.alert--warning {
  background: var(--warning-bg);
  border: 1px solid var(--warning);
  color: var(--warning);
}
.alert--banner { margin: 0 0 14px; }
.alert__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  flex-shrink: 0;
  margin-top: 1px;
}
.alert--ok .alert__dot,
.alert--warning .alert__dot {
  color: white;
}
.alert--ok .alert__dot { background: var(--success); }
.alert--warning .alert__dot { background: var(--warning); }
.alert > div:last-child { color: var(--ink-900); }
.alert--ok > div:last-child { color: var(--success); }
.alert--warning > div:last-child { color: var(--warning); }

/* SSR section */
.ssr {
  background: #FAF9F4;
  margin: 14px -16px -16px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}
.overline {
  font-size: 11px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  margin-bottom: 10px;
}
.ssr__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.ssr-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.ssr-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--ink-500);
  margin-bottom: 6px;
}
.ssr-card__code {
  font-size: 9px;
  color: var(--ink-300);
  letter-spacing: 0.5px;
}
.ssr-card__value {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}
.ssr-card__price {
  font-size: 11px;
  color: var(--ink-500);
  margin-bottom: 6px;
}
.link--xs { font-size: 11px; }

.ssr__more {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  color: var(--ink-500);
}

/* Contact & GST card */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
}
.card-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

.gst-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #FAF9F4;
  border-radius: var(--radius-sm);
}
.toggle {
  width: 30px;
  height: 18px;
  border-radius: 9px;
  background: var(--ink-300);
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle--on { background: var(--navy-600); }
.toggle__knob {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  top: 2px;
  left: 2px;
  transition: left 0.2s;
}
.toggle--on .toggle__knob { left: 14px; }
.gst-toggle__text { flex: 1; }
.bold { font-weight: 500; }

/* Right rail */
.rail {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rail .card {
  margin-bottom: 0;
  padding: 16px;
}

/* Price breakdown list */
.price-list {
  font-size: 13px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
}
.price-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}
.price-divider--strong {
  background: var(--border-strong);
  margin: 14px 0 12px;
}
.price-row--success { color: var(--success); }
.price-row--danger { color: var(--danger); }
.price-row--bold { font-weight: 500; }
.price-row--total {
  font-weight: 500;
  font-size: 14px;
}
.price-row--earning {
  color: var(--success);
  font-size: 12px;
  padding-top: 2px;
}

/* Markup override */
.markup-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.markup-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-size: 13px;
  font-family: inherit;
  background: var(--surface);
}
.markup-input--active {
  border-color: var(--border-strong);
  font-weight: 500;
}

/* Payment options */
.pay-option {
  display: flex;
  justify-content: space-between;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--ink-500);
  cursor: pointer;
}
.pay-option--active {
  border: 2px solid var(--navy-600);
  background: var(--navy-100);
  color: var(--navy-600);
  padding: 8px 11px;
}

/* Actions block */
.actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.btn--lg { padding: 13px; font-size: 14px; }
.btn--full { width: 100%; text-align: center; box-sizing: border-box; }
.btn--warning {
  background: var(--warning);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}
.btn--warning:hover { opacity: 0.92; }

.hold-hint {
  background: var(--ink-100);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: var(--ink-500);
  text-align: center;
  line-height: 1.55;
}

/* ============== CONFIRMATION PAGE SPECIFIC ============== */

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
}
.review-card__head {
  padding: 11px 16px;
  background: #FAF9F4;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.review-card__body { padding: 16px; }

.rules-strip {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  align-items: center;
}
.tag {
  font-size: 11px;
  padding: 3px 8px;
  background: var(--ink-100);
  color: var(--ink-700);
  border-radius: 3px;
}
.tag--muted { color: var(--ink-300); }
.tag--danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.pax-review-row {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 32px 1.2fr 1.3fr 1.1fr 100px;
  gap: 14px;
  align-items: center;
  font-size: 12px;
}
.pax-review-row--last { border-bottom: none; }
.pax-review-row .pax-num {
  width: 26px;
  height: 26px;
  font-size: 11px;
}

.ssr-list {
  font-size: 11px;
  color: var(--ink-700);
  line-height: 1.7;
}
.ssr-list .muted { color: var(--ink-300); }

.kv-grid {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 6px;
  font-size: 12px;
  line-height: 1.7;
}

.confirm-block {
  background: var(--surface);
  border: 1px solid var(--warning);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.confirm-line {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.55;
}
.confirm-line input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--navy-600);
  flex-shrink: 0;
}
.confirm-line__hint {
  color: var(--ink-500);
  font-style: normal;
  font-size: 11px;
  display: block;
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 1000px) {
  .layout-split { grid-template-columns: 1fr; }
  .rail { position: static; }
  .form-row--3 { grid-template-columns: 1fr 1fr; }
  .ssr__grid { grid-template-columns: 1fr; }
  .pax-review-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .pax-review-row .pax-num { display: none; }
  .text-right { text-align: left; }
  .flight-summary {
    grid-template-columns: 44px 1fr;
    gap: 10px;
  }
}
@media (max-width: 600px) {
  .form-row--3, .form-row--name, .form-row--2 { grid-template-columns: 1fr; }
  .step-bar { flex-direction: column; align-items: flex-start; }
  .step-bar__steps { flex-wrap: wrap; }
}

/* ===================================================================
   SEAT MAP (inline expanded panel inside SSR seat card)
   =================================================================== */

.seatmap {
  background: var(--surface);
  border: 2px solid var(--navy-600);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 10px;
}

.seatmap__head {
  padding: 12px 16px;
  background: var(--navy-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.seatmap__title {
  font-size: 12px;
  color: var(--navy-600);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}
.seatmap__title-meta {
  font-size: 11px;
  color: var(--navy-600);
  opacity: 0.8;
  font-weight: 400;
}
.seatmap__head-right {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 11px;
  color: var(--navy-600);
}
.seatmap__close { cursor: pointer; }

/* Pax selector strip */
.seatmap__pax-strip {
  padding: 10px 16px;
  background: #FAF9F4;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.pax-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
  background: var(--surface);
}
.pax-chip:hover { border-color: var(--border-strong); }
.pax-chip--active {
  border: 2px solid var(--navy-600);
  background: var(--navy-100);
  padding: 5px 11px;
}
.pax-chip__num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink-100);
  color: var(--ink-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
}
.pax-chip--active .pax-chip__num {
  background: var(--navy-600);
  color: white;
}
.pax-chip--active .pax-chip__name { color: var(--navy-600); font-weight: 500; }
.pax-chip__name { color: var(--ink-500); }
.pax-chip__seat { color: var(--success); font-size: 11px; }
.pax-chip--active .pax-chip__seat { color: var(--navy-600); }

/* Body grid */
.seatmap__body {
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
}

/* Aircraft layout */
.aircraft {
  background: #FAF9F4;
  border-radius: var(--radius-md);
  padding: 16px;
}
.aircraft__nose,
.aircraft__tail {
  text-align: center;
  font-size: 10px;
  color: var(--ink-500);
}
.aircraft__nose-shape {
  display: inline-block;
  padding: 4px 18px 8px;
  border-bottom: 1.5px solid var(--border-strong);
  border-left: 1.5px solid var(--border-strong);
  border-right: 1.5px solid var(--border-strong);
  border-radius: 0 0 40% 40%;
  margin-bottom: 12px;
}
.aircraft__tail { margin-top: 10px; }
.aircraft__rows-skip {
  text-align: center;
  margin: 12px 0 4px;
  font-size: 10px;
  color: var(--ink-300);
}
.aircraft__exit {
  text-align: center;
  margin: 8px 0;
  padding: 4px;
  background: #E1F5EE;
  border-radius: 4px;
  font-size: 10px;
  color: var(--success);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Seat row */
.seat-row {
  display: grid;
  grid-template-columns: 18px repeat(3, 1fr) 18px repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}
.seat-row--header {
  margin-bottom: 6px;
  font-size: 10px;
  color: var(--ink-300);
  text-align: center;
}
.seat-row__num {
  font-size: 9px;
  color: var(--ink-300);
  text-align: right;
  align-self: center;
}
.seat-row__aisle {
  /* empty middle column for aisle */
}

/* Seat cell */
.seat {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 6px 0;
  text-align: center;
  font-size: 10px;
  color: var(--ink-500);
  cursor: pointer;
  transition: border-color 0.1s, transform 0.05s;
}
.seat:hover {
  border-color: var(--navy-600);
}
.seat:active { transform: scale(0.95); }

.seat--taken {
  background: var(--ink-100);
  border-color: transparent;
  color: var(--ink-300);
  cursor: not-allowed;
}
.seat--taken:hover { border-color: transparent; }

.seat--front {
  background: #FAEEDA;
  color: #854F0B;
  border-color: #BA7517;
  font-weight: 500;
}
.seat--exit {
  background: #E1F5EE;
  color: #085041;
  border-color: #1D9E75;
  font-weight: 500;
}
.seat--mine {
  background: var(--navy-600);
  color: white;
  border-color: var(--navy-600);
  font-weight: 500;
  position: relative;
}
.seat--current {
  border: 2px solid var(--navy-900);
  padding: 5px 0;
}
.seat__sub {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  font-size: 7px;
  line-height: 1;
}

/* Sidebar: legend & detail */
.seatmap__sidebar {}
.seatmap__sidebar > * + * { margin-top: 10px; }

.legend {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
}
.legend__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 11px;
}
.legend__swatch {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  flex-shrink: 0;
}
.legend__swatch--standard { background: var(--surface); border: 1px solid var(--border-strong); }
.legend__swatch--front { background: #FAEEDA; border: 1px solid #BA7517; }
.legend__swatch--exit { background: #E1F5EE; border: 1px solid #1D9E75; }
.legend__swatch--mine { background: var(--navy-600); }
.legend__swatch--taken {
  background: var(--ink-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-300);
  font-size: 10px;
}

/* Focused seat detail */
.seat-detail {
  background: var(--navy-100);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius-md);
  padding: 12px;
}
.seat-detail__head {
  font-size: 11px;
  color: var(--navy-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  margin-bottom: 8px;
}
.seat-detail__list {
  font-size: 11px;
  line-height: 1.7;
  color: var(--navy-600);
  list-style: none;
}
.seat-detail__divider {
  height: 1px;
  background: var(--navy-600);
  opacity: 0.3;
  margin: 10px 0;
}
.seat-detail__price {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--navy-600);
  padding: 2px 0;
}
.seat-detail__price--total {
  color: var(--success);
  font-weight: 500;
}

/* Footer */
.seatmap__foot {
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  background: #FAF9F4;
  display: flex;
  align-items: center;
  gap: 12px;
}
.seatmap__total-label {
  font-size: 11px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.seatmap__total-amt {
  font-size: 14px;
  font-weight: 500;
}
.seatmap__total-net {
  font-size: 11px;
  color: var(--success);
}
.seatmap__foot .btn--outline,
.seatmap__foot .btn--solid {
  padding: 7px 14px;
  font-size: 12px;
}

@media (max-width: 800px) {
  .seatmap__body {
    grid-template-columns: 1fr;
  }
  .seatmap__pax-strip { flex-wrap: wrap; }
}

/* ===================================================================
   ROUND TRIP RESULTS PAGE
   =================================================================== */

/* Toolbar with route + segmented toggle */
.rt-toolbar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.rt-toolbar__route {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-700);
}

.seg-toggle {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: var(--ink-100);
  border-radius: var(--radius-sm);
  font-size: 12px;
}
.seg-toggle__item {
  padding: 6px 14px;
  border-radius: 4px;
  color: var(--ink-500);
  cursor: pointer;
}
.seg-toggle__item:hover { color: var(--ink-900); }
.seg-toggle__item--active {
  background: var(--navy-600);
  color: white;
  font-weight: 500;
}

.alert--info {
  background: var(--navy-100);
  border: 1px solid var(--navy-400);
  color: var(--navy-800);
}
.alert--info .alert__dot {
  background: var(--navy-600);
  color: white;
  font-family: Georgia, serif;
  font-style: italic;
}
.alert--info > div:last-child { color: var(--navy-800); }

/* ============== INTERNATIONAL: COMBINED FARE CARD ============== */
.rt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.15s;
}
.rt-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.rt-card--featured { border: 1px solid var(--navy-600); }

.rt-leg {
  padding: 16px;
  display: grid;
  grid-template-columns: 70px 56px 1fr 1.4fr 130px;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.rt-leg--alt { background: #FAF9F4; }
.rt-leg__label {
  font-size: 11px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 500;
  line-height: 1.5;
}
.rt-leg__meta {
  font-size: 12px;
}
.rt-leg__tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.rt-foot {
  padding: 12px 16px;
  background: var(--navy-100);
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--navy-600);
}
.rt-foot__price {
  font-size: 18px;
  font-weight: 500;
  color: var(--navy-600);
  margin-top: 2px;
}
.rt-foot__sub {
  font-size: 11px;
  color: var(--navy-600);
  opacity: 0.85;
}

.btn--outline-light {
  padding: 8px 14px;
  border: 1px solid var(--navy-600);
  background: white;
  color: var(--navy-600);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}
.btn--outline-light:hover { background: var(--navy-100); }
.btn--cta {
  padding: 8px 16px;
  font-size: 13px;
}

/* Compact RT card (collapsed alternates) */
.rt-card-mini {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 80px 1fr 1fr 130px;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  transition: border-color 0.15s;
}
.rt-card-mini:hover { border-color: var(--border-strong); }
.rt-card-mini__logos {
  display: flex;
  gap: 4px;
}
.rt-card-mini__logos .airline__logo {
  width: 30px;
  height: 30px;
}
.rt-card-mini__price { text-align: right; }

/* ============== DOMESTIC: SPLIT SELECTION ============== */
.rt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.rt-split__col {}
.rt-split__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 10px;
}

.mini-flight {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.mini-flight:hover { border-color: var(--border-strong); }
.mini-flight--selected {
  border: 2px solid var(--navy-600);
  padding: 11px;
}

.mini-flight__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.mini-logo { width: 28px !important; height: 28px !important; }

.badge-mini {
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.badge-mini--selected {
  background: var(--navy-100);
  color: var(--navy-600);
}

.mini-flight__route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.mini-flight__foot {
  padding-top: 8px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Sticky basket */
.rt-basket {
  background: var(--surface);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr 220px 130px;
  gap: 18px;
  align-items: center;
  margin-bottom: 10px;
}
.rt-basket__leg {
  display: flex;
  gap: 12px;
  align-items: center;
}
.basket-logo { width: 30px !important; height: 30px !important; }
.rt-basket__total {}

@media (max-width: 900px) {
  .rt-leg {
    grid-template-columns: 70px 1fr;
    gap: 10px;
  }
  .rt-leg .airline__logo,
  .rt-leg__meta,
  .rt-leg__tags { grid-column: 1 / -1; }
  .rt-foot { flex-direction: column; align-items: flex-start; }
  .rt-card-mini { grid-template-columns: 1fr; }
  .rt-split { grid-template-columns: 1fr; }
  .rt-basket { grid-template-columns: 1fr; }
  .rt-toolbar { flex-direction: column; align-items: flex-start; }
}

/* ===================================================================
   SUCCESS PAGE
   =================================================================== */

.step--success { color: var(--success); }

.success-hero {
  background: linear-gradient(135deg, var(--success) 0%, #085041 100%);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 16px;
  color: white;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 20px;
  align-items: center;
}
.success-hero__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.success-hero__title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 4px;
}
.success-hero__sub {
  font-size: 13px;
  opacity: 0.95;
}
.success-hero__meta {
  font-size: 11px;
  opacity: 0.85;
  margin-top: 6px;
}
.success-hero__ref {
  text-align: right;
}
.success-hero__refnum {
  font-size: 17px;
  font-weight: 500;
  margin-top: 2px;
  font-family: monospace;
}

.status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4px;
}
.status-pill--ok {
  background: var(--success-bg);
  color: var(--success);
}

/* Reference number display */
.ref-num {
  font-size: 18px;
  font-weight: 500;
  font-family: monospace;
  letter-spacing: 0.5px;
  margin: 4px 0 2px;
}
.ref-mono {
  font-family: monospace;
  font-weight: 500;
  margin-top: 3px;
  letter-spacing: 0.3px;
}
.ref-mono--sm { font-size: 11px; font-weight: 400; }

.etk-card {
  background: var(--ink-100);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 12px;
}

/* Download buttons */
.dl-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink-900);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 8px;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
  justify-content: center;
}
.dl-btn:hover { border-color: var(--border-strong); }
.dl-btn--primary {
  background: var(--navy-600);
  color: white;
  border-color: var(--navy-600);
  font-weight: 500;
}
.dl-btn--primary:hover { background: var(--navy-800); border-color: var(--navy-800); }
.dl-btn--mini {
  padding: 9px;
  font-size: 11px;
  margin: 0;
  justify-content: center;
}
.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

/* Document list */
.doc-list {
  display: flex;
  flex-direction: column;
}
.doc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.doc-row--last { border-bottom: none; }

.success { color: var(--success); }

/* ===================================================================
   E-TICKET PAGE
   =================================================================== */

.ticket-page {
  background: var(--bg);
  min-height: 100vh;
}
.ticket-toolbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.ticket-toolbar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ticket-page__main {
  padding: 32px 16px;
}

/* The actual ticket document */
.eticket {
  max-width: 760px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: #1A1A1A;
  font-family: var(--font);
  overflow: hidden;
}

.eticket__head {
  background: var(--navy-900);
  color: white;
  padding: 22px 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.eticket__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.eticket__logo {
  width: 32px;
  height: 32px;
  border-radius: 5px;
  background: white;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 13px;
}
.eticket__name {
  font-size: 16px;
  font-weight: 500;
}
.eticket__brand-sub {
  font-size: 11px;
  color: var(--navy-200);
  letter-spacing: 0.4px;
}
.eticket__head-right { text-align: right; }

/* PNR bar */
.eticket__pnr-bar {
  background: #FAF9F4;
  padding: 16px 30px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  border-bottom: 1px solid #E5E2D8;
}
.eticket__pnr-label {
  font-size: 9px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 5px;
  font-weight: 500;
}
.eticket__pnr-num {
  font-size: 19px;
  font-weight: 500;
  font-family: monospace;
  letter-spacing: 1px;
}

/* Section */
.eticket__section {
  padding: 18px 30px;
}
.eticket__section--bordered {
  border-top: 1px dashed #D5D2C8;
}
.eticket__section-title {
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
  margin-bottom: 12px;
}

/* Flight head */
.eticket__flight-head {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

/* Flight route */
.eticket__route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: #FAF9F4;
  border-radius: 8px;
}
.eticket__route-label {
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.eticket__route-time {
  font-size: 24px;
  font-weight: 500;
  margin: 5px 0 7px;
  line-height: 1;
}
.eticket__route-date {
  font-size: 13px;
  font-weight: 500;
}
.eticket__route-airport {
  font-size: 11px;
  color: #444;
  margin-top: 5px;
}
.eticket__route-term {
  font-size: 11px;
  color: #666;
}
.eticket__route-mid {
  text-align: center;
  padding: 0 8px;
}
.eticket__route-line {
  height: 1px;
  background: #C8C8C8;
  margin: 4px 0;
  position: relative;
  min-width: 90px;
}
.eticket__route-dot {
  position: absolute;
  right: -3px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy-900);
}

/* Bag strip */
.eticket__bag-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
  padding: 12px 16px;
  background: #F5F4EE;
  border-radius: 6px;
  font-size: 11px;
}
.eticket__bag-strip > div > div:first-child {
  color: #888;
  margin-bottom: 3px;
}

/* Pax table */
.pax-table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
}
.pax-table th {
  text-align: left;
  padding: 9px 8px 9px 0;
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 500;
  border-bottom: 1px solid #D5D2C8;
}
.pax-table td {
  padding: 12px 8px 12px 0;
  border-bottom: 1px solid #ECEAE0;
  vertical-align: top;
}
.pax-table tr:last-child td { border-bottom: none; }

/* Fare grid */
.eticket__fare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  font-size: 12px;
}
.eticket__payment-box {
  background: #FAF9F4;
  border-radius: 6px;
  padding: 14px;
  font-size: 11px;
}

/* Notes */
.eticket__notes {
  font-size: 11px;
  line-height: 1.7;
  color: #444;
}

/* Footer */
.eticket__foot {
  background: #FAF9F4;
  padding: 14px 30px;
  border-top: 1px solid #D5D2C8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #888;
  line-height: 1.6;
}

/* Print rules */
@media print {
  .no-print { display: none !important; }
  body { background: white; }
  .ticket-page__main { padding: 0; }
  .eticket {
    box-shadow: none;
    border: none;
    max-width: none;
  }
}

@media (max-width: 700px) {
  .eticket__head, .eticket__pnr-bar, .eticket__section, .eticket__foot {
    padding-left: 18px;
    padding-right: 18px;
  }
  .eticket__pnr-bar { grid-template-columns: 1fr; gap: 12px; }
  .eticket__route { grid-template-columns: 1fr; gap: 12px; }
  .eticket__route-mid { padding: 8px 0; }
  .eticket__bag-strip { grid-template-columns: 1fr 1fr; }
  .eticket__fare-grid { grid-template-columns: 1fr; }
  .eticket__foot { flex-direction: column; gap: 10px; align-items: flex-start; }
  .pax-table { font-size: 11px; }
}

/* ===================================================================
   E-TICKET: BARCODE / QR + CUSTOMER COPY VARIANT
   =================================================================== */

/* PNR bar with codes — 3-column layout with barcode on right */
.eticket__pnr-bar--codes {
  grid-template-columns: 1fr 1fr 220px;
  align-items: center;
}

.eticket__codes {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.eticket__code-block {
  text-align: center;
}
.eticket__code-block svg {
  display: block;
  background: white;
  padding: 2px;
  border-radius: 2px;
}
.eticket__code-block #qrcode {
  display: inline-block;
  background: white;
  padding: 3px;
  border-radius: 2px;
}
.eticket__code-block #qrcode img {
  display: block;
}
.eticket__code-label {
  font-size: 9px;
  color: #666;
  margin-top: 3px;
  font-family: monospace;
  letter-spacing: 0.4px;
}

/* Customer-copy fare layout (single column, max width) */
.eticket__fare-customer {
  font-size: 12px;
  max-width: 340px;
}

/* Customer-copy footer (shorter, simpler) */
.eticket__foot--customer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media print {
  .eticket__pnr-bar--codes {
    page-break-inside: avoid;
  }
  .eticket__codes svg,
  .eticket__codes #qrcode {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

@media (max-width: 700px) {
  .eticket__pnr-bar--codes {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .eticket__codes {
    justify-content: flex-start;
  }
  .eticket__foot--customer {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/* ============================================================================
   2026-06-13 — Welcome.cshtml mobile polish
   Richa team flagged "mobile compatibility not updated". The original two
   breakpoints (900/540) only re-stack grids; this block tightens nav, hero,
   stats, and CTAs for real phones (320-540px) so the landing page renders
   without horizontal scroll, with sensible information density, and with
   tap targets that fit a thumb. CSS-only — no markup change.

   Source order matters: this block declares the SAME selectors as the 540px
   block above (e.g. `.stats` -> 2x2 instead of 1-col on phone), so it must
   stay at the END of the stylesheet to win the cascade.
   ============================================================================ */

@media (max-width: 540px) {
  /* Tighter container so 320-360px phones don't lose 48px to side padding */
  .container { padding: 0 16px; }
  .section   { padding: 40px 16px; }

  /* Hide the four dead-text nav items (they're not links anyway), keep only
     brand + Sign-in pill. A real menu would need markup work — out of scope. */
  .nav__links li:not(.nav__cta) { display: none; }
  .nav__links { gap: 0; }
  .nav__cta   { font-size: 13px; padding: 8px 14px; }
  .nav__name  { font-size: 13px; }

  /* Hero shorter on phones so CTAs sit above the fold on a 568px iPhone SE */
  .hero, .hero__inner { min-height: 380px; }
  .hero__inner        { padding-top: 18px; padding-bottom: 48px; }
  .hero__copy h1      { font-size: 28px; line-height: 1.22; margin: 10px 0 12px; }
  .hero__copy p       { font-size: 13.5px; line-height: 1.55; margin-bottom: 18px; }

  /* Stats: 2x2 grid (NOT 1-col) — denser, less scroll-fatigue before deals */
  .stats           { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card       { padding: 16px 14px; }
  .stat-card__num  { font-size: 24px; }
  .stat-card__label{ font-size: 12px; }

  /* Deals + features stack 1-col on phone (already inherited, but tighten) */
  .deals    { gap: 14px; }
  .features { gap: 14px; }
  .feature  { padding: 18px; }

  /* CTAs full-width with comfortable tap height (44pt min) */
  .hero__actions { flex-direction: column; gap: 10px; width: 100%; }
  .hero__actions .btn { width: 100%; text-align: center; padding: 13px 18px; font-size: 14px; }
  .cta-strip   { padding: 24px 18px; }
  .cta-strip__title { font-size: 18px; line-height: 1.3; }
  .cta-strip__sub   { font-size: 13px; }
  .cta-strip .btn   { width: 100%; text-align: center; padding: 13px 18px; }

  /* Footer wraps better */
  .footer        { flex-direction: column; gap: 10px; align-items: flex-start; padding-bottom: 24px; }
  .footer__links { gap: 14px; }
}

/* Very narrow phones — iPhone SE, low-end Androids, foldables in cover mode */
@media (max-width: 380px) {
  .hero__copy h1   { font-size: 22px; }
  .hero__copy p    { font-size: 12.5px; }
  .stat-card       { padding: 12px 10px; }
  .stat-card__num  { font-size: 20px; }
  .stat-card__label{ font-size: 11px; }
  .container       { padding: 0 12px; }
  .section         { padding: 32px 12px; }
}

/* ============================================================================
   2026-06-13 — "Where to login" fix (Suketubhai's feedback)
   The Sign-in pill was rgba(.18) over a dark hero — agents on phones missed
   it entirely, especially when the browser URL bar overlaid the nav row.
   Two changes:
   (1) Make the existing nav Sign-in pill solid white + bold so it pops.
   (2) Add a sticky "Sign in" link that floats in the top-right corner of
       the viewport on mobile only — always visible, follows the scroll.
       Uses a real <a> via :before-style trickery? No — needs actual markup
       for tap target. Instead we surface the existing nav__cta link via a
       fixed-position rule on phones (it becomes BOTH the nav pill AND the
       floating button via position:fixed). The nav itself becomes empty
       on its row; the brand stays left, the pill floats top-right.
   ============================================================================ */

@media (max-width: 540px) {
  /* (1) Always-visible Sign-in CTA, top-right corner of viewport.
         The same <li class="nav__cta"><a>Sign in</a></li> element gets a
         fixed position so it survives scroll. White pill with navy text,
         strong shadow. Tap target: 44px min height. */
  .nav__cta {
    position: fixed !important;
    top: 12px;
    right: 12px;
    z-index: 9999;
    background: #ffffff !important;
    border-radius: 999px;
    padding: 10px 18px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
    font-weight: 700 !important;
    font-size: 14px !important;
    opacity: 1 !important;
    border: 2px solid #ffffff;
  }
  .nav__cta a {
    color: #042c53 !important;   /* navy-900 */
    text-decoration: none !important;
  }
  .nav__cta a::after {
    content: ' →';
    font-weight: 800;
  }
  /* The nav row no longer needs the pill in flow — let the brand sit alone.
     IMPORTANT: do NOT `display:none` the .nav__links UL because .nav__cta
     is its child — that would hide the floating pill too (display:none
     beats position:fixed). Leave the UL rendered but collapse it; the
     four dead items are already hidden by the earlier li:not(.nav__cta)
     rule, and .nav__cta itself is yanked out of normal flow by
     position:fixed so the UL has no visible content. */
  .nav { padding-right: 0; }
  .nav__links {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 0;
  }
}

/* On very narrow phones, shrink the floating pill so it doesn't overlap the
   hero heading. Still tap-friendly (40px min height). */
@media (max-width: 380px) {
  .nav__cta {
    top: 10px;
    right: 10px;
    padding: 8px 14px !important;
    font-size: 13px !important;
  }
}
