/* ==========================================================================
   style.css — BookTicketsHub
   Load order: variables → animations → components → style → responsive
   Sections: Reset · Base · Layout · Utilities · Navbar · Footer · Hero ·
             Home · Search Results · Booking · Payment · Confirmation ·
             Content pages · 404
   ========================================================================== */

/* ============================== Reset ============================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--text);
  background: var(--surface-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg, picture { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: var(--lh-tight); color: var(--navy-800); font-weight: var(--fw-bold); }
:focus-visible { outline: none; }
::selection { background: var(--green-100); color: var(--navy-900); }

/* ============================== Layout ============================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: 860px; }
.section { padding-block: clamp(48px, 6vw, 88px); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.section--light { background: var(--light); }
.section--white { background: var(--surface); }

.page { min-height: calc(100vh - var(--nav-h)); }
main { display: block; }

/* ============================== Utilities ============================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs); font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wider); text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--green-600); border-radius: 2px; }
.section-head { max-width: 640px; margin-inline: auto; text-align: center; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .eyebrow { justify-content: center; margin-bottom: 14px; }
.section-head h2 { font-size: var(--fs-h1); margin-bottom: 12px; }
.section-head p { color: var(--text-muted); font-size: var(--fs-lg); }

.text-muted { color: var(--text-muted); }
.text-soft { color: var(--text-soft); }
.text-green { color: var(--green-700); }
.text-navy { color: var(--navy-800); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.fw-semibold { font-weight: var(--fw-semibold); }
.fw-bold { font-weight: var(--fw-bold); }
.mono-price { font-family: var(--font-display); font-weight: var(--fw-extrabold); letter-spacing: -.01em; }

.stack > * + * { margin-top: var(--sp-4); }
.row { display: flex; gap: var(--sp-4); }
.row--between { justify-content: space-between; align-items: center; }
.row--center { align-items: center; }
.wrap { flex-wrap: wrap; }
.grid { display: grid; gap: var(--sp-4); }
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top var(--t);
}
.skip-link:focus { top: 12px; }

/* ============================== Navbar ============================== */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  height: var(--nav-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--sh-nav);
  transition: box-shadow var(--t), border-color var(--t), background var(--t);
}
.nav.is-scrolled { box-shadow: 0 1px 0 rgba(15,23,42,.06), 0 10px 30px rgba(10,42,74,.09); background: rgba(255,255,255,.98); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: var(--sp-6); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { width: 36px; height: 36px; }
.brand__name { font-family: var(--font-display); font-weight: var(--fw-extrabold); font-size: 1.22rem; color: var(--navy-800); letter-spacing: -.01em; }
.brand__name b { color: var(--green-600); font-weight: var(--fw-extrabold); }

.nav__menu { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text-muted);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover, .nav__link.is-active { color: var(--navy-800); background: var(--surface-3); }
.nav__link.is-active { color: var(--green-700); }
.nav__link .caret { width: 15px; height: 15px; transition: transform var(--t-fast); }

/* dropdown */
.nav__item { position: relative; }
.nav__dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 220px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--sh-pop); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav__item:hover .nav__dropdown, .nav__item:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__item:hover .nav__link .caret { transform: rotate(180deg); }
.nav__dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--text); }
.nav__dropdown a:hover { background: var(--surface-3); color: var(--navy-800); }
.nav__dropdown a svg { width: 18px; height: 18px; color: var(--green-600); }

.nav__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav__pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px;
  border: 1px solid var(--border); border-radius: var(--r-full);
  font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text-muted); background: var(--surface);
  cursor: pointer; transition: border-color var(--t-fast), color var(--t-fast);
}
.nav__pill:hover { border-color: var(--navy-800); color: var(--navy-800); }
.nav__pill img { width: 18px; height: 13px; border-radius: 2px; }
.nav__burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); color: var(--navy-800); cursor: pointer; place-items: center;
}
.nav__burger svg { width: 22px; height: 22px; }

/* mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(7,27,51,.42); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity var(--t); z-index: var(--z-drawer);
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(86vw, 340px);
  background: var(--surface); z-index: calc(var(--z-drawer) + 1);
  transform: translateX(100%); transition: transform var(--t-slow) var(--ease);
  display: flex; flex-direction: column; box-shadow: var(--sh-pop);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border-soft); }
.drawer__close { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; color: var(--navy-800); }
.drawer__body { padding: 12px; overflow-y: auto; flex: 1; }
.drawer__link { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px; border-radius: var(--r-sm); font-weight: var(--fw-semibold); color: var(--navy-800); }
.drawer__link:hover { background: var(--surface-3); }
.drawer__link svg { width: 18px; height: 18px; color: var(--text-soft); }
.drawer__foot { padding: 16px 20px; border-top: 1px solid var(--border-soft); display: flex; gap: 10px; }

/* ============================== Footer ============================== */
.footer { background: var(--navy-900); color: var(--text-invert-soft); }
.footer__top { padding-block: clamp(48px, 5vw, 72px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: var(--sp-10); }
.footer__brand .brand__name { color: #fff; }
.footer__about { margin: 18px 0; color: var(--text-invert-soft); font-size: var(--fs-sm); max-width: 34ch; line-height: var(--lh-base); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--r-sm);
  background: rgba(255,255,255,.06); color: #fff; transition: background var(--t), transform var(--t-fast);
}
.footer__social a:hover { background: var(--green-600); transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__col h4 { color: #fff; font-size: var(--fs-sm); letter-spacing: var(--tracking-wide); text-transform: uppercase; margin-bottom: 16px; font-weight: var(--fw-bold); }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: var(--fs-sm); color: var(--text-invert-soft); transition: color var(--t-fast); }
.footer__col a:hover { color: #fff; }

.footer__news p { color: var(--text-invert-soft); font-size: var(--fs-sm); margin-bottom: 14px; }
.footer__newsform { display: flex; gap: 8px; }
.footer__newsform input {
  flex: 1; min-width: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  color: #fff; border-radius: var(--r-sm); padding: 11px 14px; font-size: var(--fs-sm);
}
.footer__newsform input::placeholder { color: rgba(255,255,255,.5); }
.footer__newsform input:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(0,120,210,.25); }
.footer__pay { margin-top: 22px; }
.footer__pay span { display: block; font-size: var(--fs-2xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.footer__pay-row { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__pay-row img { height: 26px; width: auto; border-radius: 4px; }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.09); padding-block: 22px; }
.footer__bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__copy { font-size: var(--fs-xs); color: rgba(255,255,255,.5); }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { font-size: var(--fs-xs); color: rgba(255,255,255,.6); }
.footer__legal a:hover { color: #fff; }

/* ============================== Hero (home) ============================== */
.hero {
  position: relative;
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(240,180,41,.16), transparent 55%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 60%, var(--navy-950) 100%);
  color: #fff;
  overflow: hidden;
  padding-top: clamp(48px, 6vw, 80px);
}
.hero__map { position: absolute; inset: 0; background: center/cover no-repeat; opacity: .9; pointer-events: none; }
.hero__map img { width: 100%; height: 100%; object-fit: cover; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-10); align-items: center; padding-bottom: clamp(90px, 9vw, 130px); }
.hero__title { font-size: var(--fs-display); font-weight: var(--fw-extrabold); color: #fff; letter-spacing: -.02em; margin-bottom: 18px; }
.hero__title .accent { color: var(--gold); }
.hero__sub { color: rgba(255,255,255,.82); font-size: var(--fs-lg); max-width: 46ch; margin-bottom: 28px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero__trust-item { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.78); font-size: var(--fs-sm); font-weight: var(--fw-medium); }
.hero__trust-item svg { width: 18px; height: 18px; color: var(--green-500); }
.hero__art { position: relative; }
.hero__art img { width: 100%; max-width: 520px; margin-left: auto; display: block; border-radius: var(--r-xl); box-shadow: 0 30px 50px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.08); }

/* ---- Search form (hero + shared) ---- */
.searchbar {
  position: relative; z-index: 5;
  margin-top: -60px; margin-bottom: 0;
  background: var(--surface); border-radius: var(--r-xl);
  box-shadow: var(--sh-pop); border: 1px solid var(--border-soft);
  padding: var(--sp-6);
}
.searchbar__tabs { margin-bottom: var(--sp-5); }
.searchbar__grid {
  display: grid;
  grid-template-columns: 1.15fr auto 1.15fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px 10px;
  align-items: end;
}
.searchbar__grid .field--from      { grid-column: 1;     grid-row: 1; }
.searchbar__grid .searchbar__swap  { grid-column: 2;     grid-row: 1; }
.searchbar__grid .field--to        { grid-column: 3;     grid-row: 1; }
.searchbar__grid .field--depart    { grid-column: 4;     grid-row: 1; }
.searchbar__grid .field--return    { grid-column: 5;     grid-row: 1; }
.searchbar__grid .field--travelers { grid-column: 1 / 4; grid-row: 2; }
.searchbar__grid .searchbar__submit{ grid-column: 4 / 6; grid-row: 2; height: 52px; }
.searchbar.is-oneway .searchbar__grid .field--depart { grid-column: 4 / 6; }
.searchbar.is-oneway [data-return-field] { display: none; }
.searchbar__swap {
  width: 40px; height: 40px; margin-bottom: 6px; align-self: end;
  border: 1px solid var(--border-strong); border-radius: 50%; background: var(--surface);
  display: grid; place-items: center; cursor: pointer; color: var(--navy-800);
  transition: transform var(--t), border-color var(--t-fast);
}
.searchbar__swap:hover { border-color: var(--green-600); transform: rotate(180deg); }
.searchbar__swap svg { width: 18px; height: 18px; }
.searchbar .btn { height: 46px; }

/* Trust badges strip — sits right under the search CTA */
.trust-badges {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px 28px; margin-top: 20px;
}
.trust-badges__item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text-muted);
}
.trust-badges__item svg { width: 18px; height: 18px; color: var(--green-600); flex: none; }

/* ============================== Home: Why Us ============================== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--sp-7); box-shadow: var(--sh-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--border-soft); }
.feature__icon {
  width: 52px; height: 52px; border-radius: var(--r-full); display: grid; place-items: center;
  background: var(--green-50); color: var(--green-600); margin-bottom: 18px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature__icon--blue { background: var(--info-50); color: var(--blue); }
.feature__icon--purple { background: var(--purple-50); color: var(--purple); }
.feature h3 { font-size: var(--fs-h4); margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: var(--fs-sm); line-height: var(--lh-base); }

/* ============================== Home: Services ============================== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.service {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, var(--navy-700), var(--navy-900));
  border: 1px solid rgba(255,255,255,.06); border-radius: var(--r-lg);
  padding: var(--sp-7); color: #fff;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.service::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 60% at 100% 0, rgba(0,120,210,.24), transparent 60%); pointer-events: none; }
.service:hover { transform: translateY(-4px); box-shadow: var(--sh-pop); }
.service__icon { width: 50px; height: 50px; border-radius: var(--r-md); background: rgba(0,120,210,.18); color: var(--green-500); display: grid; place-items: center; margin-bottom: 18px; }
.service__icon svg { width: 25px; height: 25px; }
.service h3 { color: #fff; font-size: var(--fs-h4); margin-bottom: 8px; }
.service p { color: rgba(255,255,255,.72); font-size: var(--fs-sm); line-height: var(--lh-base); margin-bottom: 20px; min-height: 44px; }
.service .btn { position: relative; z-index: 1; }

/* Home: destinations strip */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.dest {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/4;
  border: 1px solid var(--border); box-shadow: var(--sh-sm); cursor: pointer;
}
.dest__bg { position: absolute; inset: 0; }
.dest__bg svg, .dest__bg img { width: 100%; height: 100%; object-fit: cover; }
.dest__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,27,51,.82)); }
.dest__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; color: #fff; }
.dest__body h4 { color: #fff; font-size: 1.05rem; }
.dest__body span { font-size: var(--fs-xs); color: rgba(255,255,255,.8); }
.dest:hover .dest__bg { transform: scale(1.06); transition: transform .6s var(--ease); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  border-radius: var(--r-2xl); padding: clamp(32px, 5vw, 56px);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8);
  color: #fff; position: relative; overflow: hidden; box-shadow: var(--sh-lg);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0, rgba(240,180,41,.20), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: var(--fs-h1); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 44ch; }

/* ============================== Sub-header (interior pages) ============================== */
.subhead { background: var(--surface); border-bottom: 1px solid var(--border); }
.subhead__inner { padding-block: var(--sp-6); display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.subhead h1 { font-size: var(--fs-h2); margin-bottom: 8px; }
.subhead__meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--text-muted); font-size: var(--fs-sm); }
.subhead__meta span { display: inline-flex; align-items: center; gap: 6px; }
.subhead__meta svg { width: 16px; height: 16px; color: var(--text-soft); }

/* page hero for content pages */
.page-hero {
  background:
    radial-gradient(100% 120% at 90% -20%, rgba(240,180,41,.16), transparent 55%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #fff; padding-block: clamp(48px, 6vw, 84px);
}
.page-hero .eyebrow { color: var(--green-500); }
.page-hero .eyebrow::before { background: var(--green-500); }
.page-hero h1 { color: #fff; font-size: var(--fs-h1); margin: 12px 0 10px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 60ch; font-size: var(--fs-lg); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: rgba(255,255,255,.65); margin-bottom: 8px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 13px; height: 13px; opacity: .6; }

/* ============================== Search Results ============================== */
.results-layout { display: grid; grid-template-columns: 288px 1fr; gap: var(--sp-6); align-items: start; }

.filters { position: sticky; top: calc(var(--nav-h) + 16px); }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); }
.filters__head h2 { font-size: var(--fs-sm); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--navy-800); }
.filter-group { padding: var(--sp-5) 0; border-bottom: 1px solid var(--border-soft); }
.filter-group:last-child { border-bottom: 0; }
.filter-group__title { font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--navy-800); margin-bottom: 14px; }
.filter-group .check + .check { margin-top: 12px; }
.filter-group .check { width: 100%; }
.filter-range__labels { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--text-muted); margin-top: 10px; font-weight: var(--fw-semibold); }
.filters__mobtoggle { display: none; }

.results-main__bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  margin-bottom: var(--sp-5); flex-wrap: wrap;
}
.results-count { font-size: var(--fs-sm); color: var(--text-muted); }
.results-count b { color: var(--navy-800); font-weight: var(--fw-bold); }
.sort { display: flex; align-items: center; gap: 10px; }
.sort label { font-size: var(--fs-sm); color: var(--text-muted); font-weight: var(--fw-medium); }
.sort .select { width: auto; min-width: 176px; }

/* Flight card */
.flight-card {
  display: grid; grid-template-columns: 1fr 200px; gap: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); overflow: hidden; transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}
.flight-card + .flight-card { margin-top: var(--sp-4); }
.flight-card:hover { box-shadow: var(--sh-lg); border-color: var(--border-soft); transform: translateY(-2px); }
.flight-card__main { padding: var(--sp-5) var(--sp-6); }
.flight-card__route { display: grid; grid-template-columns: minmax(132px, 1.1fr) auto 1.5fr auto; align-items: center; gap: var(--sp-4); }
.airline { display: flex; align-items: center; gap: 12px; min-width: 132px; }
.airline img { width: 40px; height: 40px; border-radius: var(--r-sm); flex: none; }
.airline__name { font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--navy-800); line-height: 1.25; }
.airline__flno { font-size: var(--fs-xs); color: var(--text-soft); }
.timepoint { text-align: center; }
.timepoint__time { font-family: var(--font-display); font-size: 1.32rem; font-weight: var(--fw-bold); color: var(--navy-800); }
.timepoint__code { font-size: var(--fs-xs); color: var(--text-muted); font-weight: var(--fw-semibold); }
.timepoint--plus { position: relative; }
.timepoint--plus sup { color: var(--green-700); font-size: .62em; font-weight: var(--fw-bold); }
.leg { text-align: center; position: relative; padding: 0 6px; }
.leg__dur { font-size: var(--fs-xs); color: var(--text-muted); font-weight: var(--fw-semibold); margin-bottom: 6px; }
.leg__line { position: relative; height: 2px; background: var(--border-strong); border-radius: 2px; }
.leg__line::before, .leg__line::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border-radius: 50%; transform: translateY(-50%); }
.leg__line::before { left: 0; background: var(--navy-800); }
.leg__line::after { right: 0; background: var(--green-600); }
.leg__line .dot { position: absolute; top: 50%; transform: translate(-50%,-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--text-soft); }
.leg__stops { font-size: var(--fs-xs); color: var(--green-700); font-weight: var(--fw-semibold); margin-top: 6px; }
.leg__stops.is-stops { color: var(--amber); }

.flight-card__tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--border); }
.flight-card__side {
  padding: var(--sp-5) var(--sp-6); background: var(--surface-2); border-left: 1px solid var(--border-soft);
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 4px; text-align: right;
}
.flight-card__from { font-size: var(--fs-xs); color: var(--text-soft); }
.flight-card__price { font-family: var(--font-display); font-size: 1.7rem; font-weight: var(--fw-extrabold); color: var(--navy-800); letter-spacing: -.02em; }
.flight-card__per { font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: 12px; }
.flight-card__side .btn { width: 100%; }
.flight-card__details { margin-top: 12px; }
.flight-card__details-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--text-muted); font-weight: var(--fw-semibold); background: none; border: 0; cursor: pointer; }
.flight-card__details-toggle svg { width: 15px; height: 15px; }

.results-empty { text-align: center; padding: var(--sp-16) var(--sp-6); }
.results-empty img { margin: 0 auto 20px; }

/* ============================== Booking / Checkout layout ============================== */
.checkout-layout { display: grid; grid-template-columns: 1fr 384px; gap: var(--sp-6); align-items: start; }
.checkout-main { display: flex; flex-direction: column; gap: var(--sp-5); }

.block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-card); }
.block__head { display: flex; align-items: center; gap: 12px; padding: var(--sp-5) var(--sp-6); border-bottom: 1px solid var(--border-soft); }
.block__num { width: 30px; height: 30px; border-radius: 50%; background: var(--navy-800); color: #fff; display: grid; place-items: center; font-size: var(--fs-sm); font-weight: var(--fw-bold); flex: none; }
.block__head h2, .block__head h3 { font-size: var(--fs-h4); }
.block__head .link { margin-left: auto; font-size: var(--fs-sm); }
.block__head .head-check { width: 22px; height: 22px; color: var(--green-600); }
.block__body { padding: var(--sp-6); }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4) var(--sp-5); }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.form-grid .col-span-2 { grid-column: span 2; }
.form-grid .col-span-3 { grid-column: 1 / -1; }

.passenger { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.passenger + .passenger { margin-top: var(--sp-4); }
.passenger__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--surface-2); border-bottom: 1px solid var(--border-soft); cursor: pointer; }
.passenger__head h4 { font-size: var(--fs-sm); font-weight: var(--fw-bold); }
.passenger__head .badge { margin-left: 4px; }
.passenger__head .chev { margin-left: auto; width: 20px; height: 20px; color: var(--text-soft); transition: transform var(--t); }
.passenger.is-collapsed .passenger__head .chev { transform: rotate(-90deg); }
.passenger__body { padding: var(--sp-5) var(--sp-6); }
.passenger.is-collapsed .passenger__body { display: none; }

/* Sticky summary */
.summary { position: sticky; top: calc(var(--nav-h) + 16px); display: flex; flex-direction: column; gap: var(--sp-4); }
.summary__flight { padding: var(--sp-5) var(--sp-6); }
.summary__route { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.2rem; font-weight: var(--fw-bold); color: var(--navy-800); }
.summary__route svg { width: 18px; height: 18px; color: var(--green-600); }
.summary__meta { margin-top: 6px; font-size: var(--fs-sm); color: var(--text-muted); }
.price-line { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--fs-sm); }
.price-line + .price-line { margin-top: 12px; }
.price-line span:first-child { color: var(--text-muted); }
.price-line span:last-child { font-weight: var(--fw-semibold); color: var(--text); }
.price-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--border-strong); }
.price-total span:first-child { font-weight: var(--fw-bold); color: var(--navy-800); }
.price-total .amount { font-family: var(--font-display); font-size: 1.5rem; font-weight: var(--fw-extrabold); color: var(--navy-800); }
.summary__note { text-align: center; font-size: var(--fs-xs); color: var(--text-soft); margin-top: 12px; }

.promo { display: flex; gap: 8px; }
.promo .input { flex: 1; }

.fare-rules li { display: flex; gap: 10px; font-size: var(--fs-sm); color: var(--text-muted); padding: 8px 0; align-items: flex-start; }
.fare-rules li + li { border-top: 1px solid var(--border-soft); }
.fare-rules svg { width: 17px; height: 17px; color: var(--green-600); flex: none; margin-top: 2px; }

/* Selected flight banner (booking form) */
.sel-flight { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; }
.sel-flight__route { display: flex; align-items: center; gap: 12px; }
.sel-flight__route .r { font-family: var(--font-display); font-size: 1.35rem; font-weight: var(--fw-bold); color: var(--navy-800); display: inline-flex; align-items: center; gap: 10px; }
.sel-flight__route .r svg { width: 20px; height: 20px; color: var(--green-600); }
.sel-flight__price { text-align: right; }
.sel-flight__price .amount { font-family: var(--font-display); font-size: 1.5rem; font-weight: var(--fw-extrabold); color: var(--navy-800); }
.sel-flight__price small { display: block; font-size: var(--fs-xs); color: var(--text-muted); }

/* ============================== Payment ============================== */
.pay-methods { display: flex; flex-direction: column; gap: 12px; }
.pay-method { border: 1.5px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.pay-method.is-active { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(0,120,210,.1); }
.pay-method__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; }
.pay-method__head .radio { pointer-events: none; }
.pay-method__label { font-weight: var(--fw-semibold); color: var(--navy-800); font-size: var(--fs-sm); }
.pay-method__logos { margin-left: auto; display: flex; gap: 6px; }
.pay-method__logos img { height: 26px; }
.pay-method__body { padding: 0 18px 20px; display: none; }
.pay-method.is-active .pay-method__body { display: block; }

.card-visual {
  position: relative; aspect-ratio: 1.6/1; max-width: 340px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-950));
  border-radius: var(--r-lg); padding: 22px; color: #fff; box-shadow: var(--sh-lg);
  display: flex; flex-direction: column; justify-content: space-between; margin-bottom: 20px;
}
.card-visual__chip { width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #E9CE7A, #C9A227); }
.card-visual__no { font-family: var(--font-display); font-size: 1.28rem; letter-spacing: .12em; }
.card-visual__row { display: flex; justify-content: space-between; align-items: flex-end; font-size: var(--fs-xs); }
.card-visual__row small { display: block; color: rgba(255,255,255,.55); letter-spacing: .08em; text-transform: uppercase; font-size: .6rem; margin-bottom: 3px; }
.card-visual__brand { position: absolute; top: 22px; right: 22px; font-family: var(--font-display); font-weight: var(--fw-extrabold); font-style: italic; letter-spacing: .04em; }

.upi-note, .wallet-note { display: grid; gap: 12px; }
.wallet-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.wallet-opt { border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px; text-align: center; font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--text-muted); cursor: pointer; transition: border-color var(--t-fast); }
.wallet-opt:hover { border-color: var(--green-600); color: var(--navy-800); }

.secure-row { display: flex; align-items: center; gap: 18px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.secure-row span { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-xs); color: var(--text-muted); font-weight: var(--fw-medium); }
.secure-row svg { width: 16px; height: 16px; color: var(--green-600); }

/* ============================== Confirmation ============================== */
.confirm-hero { text-align: center; padding: clamp(40px, 5vw, 64px) var(--gutter) clamp(24px, 3vw, 40px); }
.confirm-hero img { margin: 0 auto 20px; width: 92px; }
.confirm-hero h1 { font-size: var(--fs-h1); color: var(--success-700); margin-bottom: 10px; }
.confirm-hero p { color: var(--text-muted); max-width: 52ch; margin: 0 auto; }
.confirm-hero strong { color: var(--navy-800); }
.confirm-ref { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 18px; background: var(--success-50); border: 1px solid #C6EFD3; border-radius: var(--r-full); font-size: var(--fs-sm); }
.confirm-ref b { font-family: var(--font-display); color: var(--success-800); font-weight: var(--fw-extrabold); letter-spacing: .03em; }

.confirm-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

.detail-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 12px 0; }
.detail-row + .detail-row { border-top: 1px solid var(--border-soft); }
.detail-row__label { font-size: var(--fs-xs); color: var(--text-soft); letter-spacing: .02em; text-transform: uppercase; font-weight: var(--fw-semibold); min-width: 120px; }
.detail-row__value { font-size: var(--fs-sm); color: var(--text); text-align: right; }
.pax-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: var(--fs-sm); }
.pax-list li + li { border-top: 1px solid var(--border-soft); }
.pax-list .idx { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-3); color: var(--navy-800); display: grid; place-items: center; font-size: var(--fs-xs); font-weight: var(--fw-bold); }

/* ============================== Content pages ============================== */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--fs-h3); margin: 32px 0 12px; }
.prose h3 { font-size: var(--fs-h4); margin: 24px 0 8px; }
.prose p { color: var(--text-muted); margin-bottom: 14px; line-height: var(--lh-base); }
.prose ul { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 16px; }
.prose ul li { position: relative; padding-left: 24px; color: var(--text-muted); line-height: var(--lh-base); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--green-600); }
.prose a { color: var(--green-700); font-weight: var(--fw-semibold); }
.prose strong { color: var(--navy-800); }
.toc { position: sticky; top: calc(var(--nav-h) + 16px); }
.toc h4 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--text-soft); margin-bottom: 12px; }
.toc a { display: block; padding: 8px 12px; border-radius: var(--r-sm); font-size: var(--fs-sm); color: var(--text-muted); font-weight: var(--fw-medium); border-left: 2px solid transparent; }
.toc a:hover { background: var(--surface-3); color: var(--navy-800); border-left-color: var(--green-600); }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: var(--sp-10); align-items: start; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--sp-10); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: var(--sp-5); }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item__icon { width: 46px; height: 46px; border-radius: var(--r-md); background: var(--green-50); color: var(--green-600); display: grid; place-items: center; flex: none; }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item h4 { font-size: var(--fs-sm); margin-bottom: 3px; }
.contact-item p { color: var(--text-muted); font-size: var(--fs-sm); }

/* About stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.stat { text-align: center; padding: var(--sp-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.stat__num { font-family: var(--font-display); font-size: 2.1rem; font-weight: var(--fw-extrabold); color: var(--green-700); letter-spacing: -.02em; }
.stat__label { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 4px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.value { padding: var(--sp-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.value__icon { width: 46px; height: 46px; border-radius: var(--r-md); background: var(--green-50); color: var(--green-600); display: grid; place-items: center; margin-bottom: 14px; }
.value__icon svg { width: 23px; height: 23px; }
.value h3 { font-size: var(--fs-h4); margin-bottom: 6px; }
.value p { color: var(--text-muted); font-size: var(--fs-sm); line-height: var(--lh-base); }

/* FAQ */
.faq-layout { max-width: 820px; margin-inline: auto; }
.faq-cats { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: var(--sp-8); }

/* 404 */
.err-page { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; text-align: center; padding: var(--sp-16) var(--gutter); }
.err-page img { max-width: 380px; margin: 0 auto 28px; }
.err-page h1 { font-size: var(--fs-h1); margin-bottom: 12px; }
.err-page p { color: var(--text-muted); max-width: 46ch; margin: 0 auto 26px; }
.err-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* helpers for interior page top spacing */
.pt-section { padding-top: clamp(40px, 5vw, 64px); }
.pb-section { padding-bottom: clamp(40px, 5vw, 64px); }

.passenger__head { cursor: pointer; }

/* Mobile drawer — grouped flight-flow links */
.drawer__group-label { font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-500); font-weight: 700; padding: 16px 4px 4px; }
.drawer__link--sub { padding-left: 18px; font-size: var(--fs-sm); color: var(--ink-700); }
.drawer__link--sub svg { width: 16px; height: 16px; }

/* ============ BT autocomplete dropdown (added for backend wiring) ============ */
.bt-suggest {
  position: absolute; z-index: 40; top: 100%; left: 0; right: 0;
  background: #ffffff; border: 1px solid var(--border); border-radius: var(--r-md);
  margin-top: 4px; max-height: 240px; overflow-y: auto; box-shadow: var(--sh-lg);
  display: none;
}
.bt-suggest.open { display: block; }
.bt-suggest button {
  display: block; width: 100%; text-align: left; padding: 10px 14px;
  font: inherit; font-size: var(--fs-sm);
  background-color: #ffffff !important; color: var(--text) !important;
  border: none; border-bottom: 1px solid var(--border-soft); cursor: pointer;
}
.bt-suggest button:last-child { border-bottom: none; }
.bt-suggest button:hover, .bt-suggest button:focus {
  background-color: var(--info-50) !important; color: var(--navy-800) !important;
}

/* ============ Mobile sticky CTA bar (Call for help) — flight-intent pages ============ */
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    justify-content: center;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--navy-900);
    box-shadow: 0 -8px 24px rgba(10, 42, 74, .28);
    z-index: 150;
  }
  .mobile-cta-bar__btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px;
    min-width: 220px;
    padding: 0 32px;
    border-radius: 999px;
    font-weight: var(--fw-bold);
    font-size: var(--fs-sm);
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22), 0 2px 6px rgba(0, 0, 0, .1);
    transition: transform var(--t), box-shadow var(--t);
  }
  .mobile-cta-bar__btn:active { transform: scale(.97); }
  .mobile-cta-bar__btn--call {
    /* Sky blue, not navy: the bar itself sits on --navy-900, and navy-on-navy
       nearly disappeared here (reported Aug 2026). Sky blue is the site's
       action color everywhere else, so it also stays on-brand. */
    background: var(--green-600);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 120, 210, .38), 0 2px 6px rgba(0, 120, 210, .20);
  }
  /* keep page content (and footer) from being hidden behind the floating bar */
  body:has(.mobile-cta-bar) { padding-bottom: 82px; }
}

