/* ==========================================================================
   Vflyu — main stylesheet
   Brand colours taken from the logo: purple, orange→amber swoosh, sky cyan.
   ========================================================================== */
:root {
  --p-950: #14042a;
  --p-900: #1f0638;
  --p-800: #2c0a52;
  --p-700: #3b0a6b;
  --p-600: #5a0e8c;
  --p-500: #7b2cbf;
  --p-400: #9b51e0;
  --p-200: #dccbf3;
  --p-100: #efe6fa;
  --p-50: #f8f4fd;
  --o-600: #f05a00;
  --o-500: #ff6a00;
  --o-400: #ff8a1f;
  --amber: #fdb913;
  --gold: #f4c76b;
  --cyan: #1fb6e3;
  --cyan-600: #0e93c4;
  --ink: #1d1030;
  --muted: #6c6380;
  --line: #ebe4f3;
  --bg: #fbf9fe;
  --white: #fff;
  --ok: #0fa968;
  --danger: #e0344b;
  --grad-brand: linear-gradient(135deg, var(--o-500), var(--amber));
  --grad-purple: linear-gradient(135deg, var(--p-600), var(--p-400));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(40, 10, 80, .06);
  --shadow: 0 12px 34px rgba(40, 10, 80, .10);
  --shadow-lg: 0 30px 70px rgba(30, 6, 60, .22);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--p-600); text-decoration: none; }
a:hover { color: var(--o-500); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.hide-sm { }
.mt-xl { margin-top: 64px; }
.pt-0 { padding-top: 0 !important; }
.fine { font-size: .8rem; color: var(--muted); margin-top: 20px; }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.note { background: #fff7e6; border: 1px solid #ffe0a3; padding: 12px 16px; border-radius: 10px; font-size: .9rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; line-height: 1.2; text-decoration: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-orange { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 24px rgba(255, 106, 0, .35); }
.btn-orange:hover { color: #fff; box-shadow: 0 14px 32px rgba(255, 106, 0, .45); }
.btn-purple { background: var(--grad-purple); color: #fff; box-shadow: 0 10px 24px rgba(90, 14, 140, .3); }
.btn-purple:hover { color: #fff; }
.btn-ghost { background: #fff; color: var(--p-700); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--p-400); color: var(--p-600); }
.btn-white { background: #fff; color: var(--p-700); }
.btn-gold { background: linear-gradient(135deg, #f4c76b, #d89b2b); color: #2a1600; box-shadow: 0 10px 24px rgba(216, 155, 43, .35); }
.btn-gold:hover { color: #2a1600; }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.06); }
.btn-outline-light:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--p-600); font-weight: 600; cursor: pointer; text-decoration: underline; }
.link-btn.danger { color: var(--danger); }

/* ---------- Preloader: plane orbiting the logo ---------- */
#preloader { position: fixed; inset: 0; z-index: 9999; background: radial-gradient(circle at 50% 45%, #fff 0%, #f6effd 70%); display: grid; place-items: center; transition: opacity .6s ease, visibility .6s; animation: plAuto 0s 2.5s forwards; }
#preloader.done { opacity: 0; visibility: hidden; }
.no-preload #preloader { display: none; }
@keyframes plAuto { to { opacity: 0; visibility: hidden; } }
.pl-inner { position: relative; width: 210px; height: 210px; display: grid; place-items: center; }
.pl-orbit { position: absolute; inset: 0; width: 100%; height: 100%; animation: plSpin 1.6s linear infinite; }
.pl-logo { width: 130px; position: relative; animation: plPulse 1.6s ease-in-out infinite; }
@keyframes plSpin { to { transform: rotate(360deg); } }
@keyframes plPulse { 50% { transform: scale(1.05); } }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--p-900); color: #d8c8ef; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar a { color: #d8c8ef; margin-left: 18px; }
.topbar a:hover { color: #fff; }
.dot-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2ee08a; margin-right: 6px; box-shadow: 0 0 0 0 rgba(46,224,138,.7); animation: live 1.8s infinite; vertical-align: middle; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(46,224,138,0); } 100% { box-shadow: 0 0 0 0 rgba(46,224,138,0); } }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.scrolled { background: #fff; box-shadow: 0 8px 30px rgba(40,10,80,.08); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand img { height: 54px; width: auto; transition: transform .3s; }
.brand:hover img { transform: scale(1.04) rotate(-1deg); }
.main-nav { display: flex; gap: 6px; margin-right: auto; }
.main-nav > a { padding: 10px 14px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .95rem; position: relative; }
.main-nav > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad-brand); transform: scaleX(0); transition: transform .25s; }
.main-nav > a:hover::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.call-pill { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--p-50); border: 1px solid var(--p-100); color: var(--ink); transition: .2s; }
.call-pill:hover { background: var(--p-100); color: var(--ink); }
.call-ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad-brand); animation: ring 2.4s infinite; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 4% { transform: rotate(-14deg); } 8% { transform: rotate(14deg); } 12% { transform: rotate(-10deg); } 16% { transform: rotate(0); } }
.call-text { display: flex; flex-direction: column; line-height: 1.15; }
.call-text small { font-size: .68rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.call-text b { font-size: 1.05rem; color: var(--p-700); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--p-50); border-radius: 12px; cursor: pointer; padding: 12px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--p-700); border-radius: 2px; transition: .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.flash { padding: 14px 0; font-weight: 600; }
.flash-success { background: #e6f8ef; color: #0b7a4b; }
.flash-error { background: #fdecef; color: #b3172f; }
.flash-info { background: var(--p-50); color: var(--p-700); }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 5; color: #fff; padding: 72px 0 0; isolation: isolate; background: radial-gradient(1200px 600px at 85% -10%, rgba(255,138,31,.35), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(31,182,227,.25), transparent 60%), linear-gradient(160deg, var(--p-800) 0%, var(--p-700) 45%, var(--p-600) 100%); }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background-image: var(--hero); background-size: cover; background-position: center 30%; opacity: .22; mix-blend-mode: luminosity; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1; background: linear-gradient(to bottom, transparent, var(--bg)); }
.hero-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.cloud { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,0)); filter: blur(4px); animation: drift linear infinite; }
.cloud.c1 { width: 420px; height: 120px; top: 14%; left: -420px; animation-duration: 60s; }
.cloud.c2 { width: 300px; height: 90px; top: 38%; left: -300px; animation-duration: 45s; animation-delay: -20s; opacity: .7; }
.cloud.c3 { width: 520px; height: 140px; top: 62%; left: -520px; animation-duration: 75s; animation-delay: -40s; opacity: .5; }
.cloud.c4 { width: 260px; height: 80px; top: 6%; left: -260px; animation-duration: 52s; animation-delay: -10s; opacity: .6; }
@keyframes drift { to { transform: translateX(calc(100vw + 600px)); } }
.flight-path { position: absolute; inset: 0; width: 100%; height: 100%; }
.svg-plane { filter: drop-shadow(0 8px 10px rgba(0,0,0,.35)); }

.hero-inner { display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; padding-bottom: 48px; }
.hero-badge { display: inline-flex; align-items: center; gap: 4px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); font-size: .85rem; font-weight: 600; backdrop-filter: blur(6px); margin-bottom: 22px; animation: rise .8s .2s both; }
.hero h1 { color: #fff; animation: rise .8s .35s both; }
.hero-sub { font-size: 1.15rem; color: #e8dcf8; max-width: 560px; animation: rise .8s .5s both; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; animation: rise .8s .65s both; }
.hero-or { color: #d6c3f0; font-size: .95rem; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Boarding pass graphic */
.boarding-pass { background: #fff; color: var(--ink); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 22px 24px 0; transform: rotate(3deg); animation: floaty 6s ease-in-out infinite, rise 1s .5s both; position: relative; max-width: 400px; justify-self: end; width: 100%; }
@keyframes floaty { 0%, 100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(1.5deg) translateY(-12px); } }
.bp-top { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .18em; color: var(--muted); }
.bp-top img { width: 72px; }
.bp-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 18px 0; }
.bp-route b { display: block; font-size: 2.2rem; font-weight: 800; color: var(--p-700); letter-spacing: -.02em; line-height: 1; }
.bp-route small { color: var(--muted); font-size: .8rem; }
.bp-route > div:last-child { text-align: right; }
.bp-mid { display: flex; align-items: center; gap: 6px; color: var(--o-500); }
.bp-mid i { flex: 1; border-top: 2px dashed var(--p-200); }
.bp-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.bp-info small, .bp-save small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.bp-info b { font-size: .95rem; }
.bp-stub { margin: 0 -24px; padding: 16px 24px 20px; border-top: 2px dashed var(--line); display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: center; position: relative; background: var(--p-50); border-radius: 0 0 22px 22px; }
.bp-stub::before, .bp-stub::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--p-700); }
.bp-stub::before { left: -11px; } .bp-stub::after { right: -11px; }
.bp-save b { font-size: 1.15rem; }
.bp-save.hot b { color: var(--o-500); }
.barcode { width: 64px; height: 40px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px); opacity: .8; border-radius: 2px; }

.hero-search { position: relative; z-index: 3; padding-bottom: 24px; animation: rise .9s .7s both; }

/* ---------- Search card ---------- */
.search-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 18px 20px 22px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.6); position: relative; }
.search-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.search-tabs .tab { padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--muted); transition: .2s; }
.search-tabs .tab input { position: absolute; opacity: 0; pointer-events: none; }
.search-tabs .tab.active { background: var(--p-700); color: #fff; }
.search-tabs .tab:not(.active):hover { background: var(--p-50); color: var(--p-700); }
.search-hint { margin-left: auto; font-size: .85rem; color: var(--muted); }
.search-hint b { color: var(--o-600); }
.search-grid { display: grid; grid-template-columns: 1.2fr auto 1.2fr 1fr 1fr 1.1fr auto; align-items: stretch; gap: 0; border: 1.5px solid var(--line); border-radius: 18px; position: relative; }
@media (min-width: 1101px) { .search-grid.no-return { grid-template-columns: 1.25fr auto 1.25fr 1.1fr 1.2fr auto; } }
.sf { position: relative; padding: 12px 16px; display: flex; flex-direction: column; justify-content: center; min-width: 0; border-right: 1.5px solid var(--line); transition: background .2s; }
.sf:hover { background: var(--p-50); }
.sf:focus-within { background: var(--p-50); }
.sf:first-child { border-radius: 16px 0 0 16px; }
.sf label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sf-row { display: flex; align-items: center; gap: 8px; }
.sf-ico { width: 20px; height: 20px; color: var(--p-500); flex: none; }
.sf input[type=text], .sf input[type=date] { border: 0; background: transparent; outline: none; padding: 2px 0; width: 100%; font-weight: 700; font-size: 1.05rem; min-width: 0; }
.sf input[type=date] { font-size: .95rem; letter-spacing: -.01em; }
.sf input::placeholder { color: #a99fbb; font-weight: 500; }
.sf-sub { font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf.sf-error { background: #fff3f4; }
.swap-btn { align-self: center; width: 40px; height: 40px; margin: 0 -20px; z-index: 2; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--p-600); display: grid; place-items: center; cursor: pointer; transition: transform .4s, border-color .2s, color .2s; box-shadow: var(--shadow-sm); }
.swap-btn:hover { transform: rotate(180deg); border-color: var(--o-500); color: var(--o-500); }
.sf-airport + .swap-btn + .sf-airport { padding-left: 28px; }
.pax-toggle { border: 0; background: none; padding: 2px 0; font-weight: 700; font-size: 1rem; text-align: left; cursor: pointer; display: flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; }
.pax-pop { position: absolute; top: calc(100% + 10px); right: 0; width: 320px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 18px; z-index: 30; animation: pop .2s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.pax-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.pax-row small { display: block; color: var(--muted); font-size: .78rem; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 1.2rem; font-weight: 700; color: var(--p-600); cursor: pointer; }
.stepper button:hover { border-color: var(--p-500); }
.stepper input { width: 28px; text-align: center; border: 0; font-weight: 700; background: none; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cabin-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; }
.cabin-pills label { cursor: pointer; }
.cabin-pills input { position: absolute; opacity: 0; }
.cabin-pills span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .82rem; font-weight: 600; transition: .2s; }
.cabin-pills input:checked + span { background: var(--p-700); border-color: var(--p-700); color: #fff; }
.search-submit { border: 0; margin: 6px; border-radius: 14px; padding: 0 26px; background: var(--grad-brand); color: #fff; font-weight: 800; font-size: 1.05rem; cursor: pointer; display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 26px rgba(255,106,0,.4); transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden; white-space: nowrap; }
.search-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255,106,0,.5); }
.search-submit::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-100%); animation: shine 3.5s infinite; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
.ss-plane { transition: transform .6s cubic-bezier(.5,-0.4,.5,1.4); transform: rotate(90deg); }
.search-submit.taking-off .ss-plane { transform: translate(60px, -40px) rotate(60deg); opacity: 0; transition: transform .7s ease-in, opacity .7s; }
.search-error { color: var(--danger); font-weight: 600; font-size: .9rem; margin: 10px 4px 0; min-height: 0; }
.search-error:empty { display: none; }

/* Autocomplete */
.ac-list { position: absolute; top: calc(100% + 8px); left: 0; width: max(100%, 380px); max-height: 380px; overflow: auto; list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); z-index: 40; animation: pop .15s ease; }
.ac-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.ac-item.active, .ac-item:hover { background: var(--p-50); }
.ac-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--p-100); color: var(--p-600); flex: none; font-size: 1rem; }
.ac-item.city .ac-ico { background: #fff1e6; color: var(--o-600); }
.ac-text { flex: 1; min-width: 0; }
.ac-text b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-text small { color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-code { font-family: ui-monospace, monospace; font-weight: 800; background: var(--p-700); color: #fff; padding: 4px 8px; border-radius: 8px; font-size: .85rem; }
.ac-empty { padding: 14px; color: var(--muted); font-size: .9rem; }
.ac-item mark { background: #ffe9d6; color: inherit; border-radius: 3px; padding: 0 1px; }

/* ---------- Airline marquee ---------- */
.airline-strip { padding: 26px 0 10px; text-align: center; overflow: hidden; }
.airline-strip p { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 50s linear infinite; }
.marquee-track span { font-weight: 800; font-size: 1.15rem; color: #b6abc7; white-space: nowrap; letter-spacing: -.01em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; position: relative; }
.section.alt { background: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head.row { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; max-width: none; gap: 20px; flex-wrap: wrap; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--o-600); margin-bottom: 10px; }
.eyebrow.light { color: var(--amber); }
.eyebrow.gold { color: var(--gold); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps-path { position: absolute; top: 46px; left: 8%; width: 84%; height: 60px; z-index: 0; }
.steps-path path { stroke-dashoffset: 400; animation: dash 6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.step { position: relative; z-index: 1; background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.8rem; background: linear-gradient(135deg, var(--p-50), #fff3e8); margin-bottom: 18px; box-shadow: inset 0 0 0 1px var(--p-100); }
.step-n { position: absolute; top: 22px; right: 24px; font-size: 2.6rem; font-weight: 800; color: var(--p-100); line-height: 1; }
.step p { color: var(--muted); margin: 0; }

/* Deals */
.deals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.deal-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); color: var(--ink); transition: transform .35s, box-shadow .35s; display: flex; flex-direction: column; }
.deal-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: var(--ink); }
.deal-img { position: relative; aspect-ratio: 16 / 11; background-image: linear-gradient(to top, rgba(20,4,42,.55), rgba(20,4,42,0) 55%), var(--img), linear-gradient(135deg, var(--p-600), var(--o-500)); background-size: cover; background-position: center; transition: background-size .6s; }
.deal-img::before { content: attr(data-code); position: absolute; left: 16px; bottom: 10px; color: #fff; font-weight: 800; font-size: 2rem; letter-spacing: .02em; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.deal-card:hover .deal-img { background-size: auto, 110%, auto; }
.deal-tag { position: absolute; top: 12px; left: 12px; background: var(--danger); color: #fff; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.deal-cabin { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.92); color: var(--p-700); font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.deal-cabin.premium { background: linear-gradient(135deg, #f4c76b, #d89b2b); color: #2a1600; }
.deal-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.deal-route { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; color: var(--muted); }
.deal-line { flex: 1; display: flex; align-items: center; gap: 4px; color: var(--o-500); }
.deal-line i { flex: 1; border-top: 1.5px dashed var(--p-200); }
.deal-body h3 { font-size: 1.05rem; margin: 8px 0 12px; }
.deal-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.deal-price { font-size: 1.5rem; font-weight: 800; color: var(--p-700); line-height: 1; }
.deal-price small { font-size: .72rem; font-weight: 600; color: var(--muted); }
.deal-price small:last-child { display: block; margin-top: 5px; }
.deal-price sup { font-size: .7rem; color: var(--muted); }
.deal-go { font-size: .85rem; font-weight: 700; color: var(--o-600); white-space: nowrap; transition: transform .2s; }
.deal-card:hover .deal-go { transform: translateX(4px); }

/* Why */
.why { background: #fff; }
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; }
.checks li { position: relative; padding: 8px 0 8px 36px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-brand); color: #fff; font-size: .8rem; font-weight: 800; display: grid; place-items: center; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { background: linear-gradient(160deg, var(--p-700), var(--p-500)); color: #fff; border-radius: var(--radius); padding: 30px 24px; position: relative; overflow: hidden; }
.stat:nth-child(2), .stat:nth-child(3) { background: linear-gradient(160deg, #fff, var(--p-50)); color: var(--ink); border: 1px solid var(--line); }
.stat b { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.stat:nth-child(2) b, .stat:nth-child(3) b { color: var(--p-700); }
.stat > span { display: block; margin-top: 8px; opacity: .85; font-weight: 600; }
.stat::after { content: "✈"; position: absolute; right: -6px; bottom: -18px; font-size: 5rem; opacity: .07; transform: rotate(-20deg); }

/* Business banner */
.business-banner { background: radial-gradient(800px 400px at 90% 10%, rgba(244,199,107,.18), transparent 60%), linear-gradient(135deg, var(--p-950), var(--p-800)); color: #fff; overflow: hidden; }
.bb-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.business-banner h2 { color: #fff; }
.business-banner p { color: #d8c8ef; font-size: 1.08rem; }
.bb-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.bb-list { display: grid; gap: 12px; }
.bb-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(244,199,107,.25); color: #fff; transition: .25s; }
.bb-item:hover { background: rgba(255,255,255,.12); transform: translateX(6px); color: #fff; }
.bb-item b { color: var(--gold); white-space: nowrap; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; font-size: .92rem; transition: .2s; }
.chip:hover { border-color: var(--o-500); color: var(--o-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.chip.static:hover { transform: none; border-color: var(--line); color: var(--ink); box-shadow: none; }
.prose .chips { justify-content: flex-start; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.stars { color: var(--amber); font-size: 1.1rem; letter-spacing: 2px; }
.stars span { color: #e3dcea; }
.review blockquote { margin: 12px 0 16px; color: var(--ink); }
.review figcaption small { display: block; color: var(--muted); }

/* My Trips promo */
.mytrips-promo { background: linear-gradient(180deg, var(--bg), #fff); }
.mt-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.phone-mock { justify-self: center; width: 290px; padding: 12px; border-radius: 44px; background: linear-gradient(160deg, #2b1149, #120424); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.08); transform: rotate(-4deg); animation: floaty2 7s ease-in-out infinite; }
@keyframes floaty2 { 50% { transform: rotate(-2deg) translateY(-10px); } }
.pm-screen { background: var(--bg); border-radius: 34px; padding: 18px 14px 22px; min-height: 520px; }
.pm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-weight: 800; color: var(--p-700); }
.pm-head img { width: 64px; }
.pm-card { background: #fff; border-radius: 16px; padding: 14px; margin-bottom: 12px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.pm-card.next { background: linear-gradient(150deg, var(--p-700), var(--p-500)); color: #fff; border: 0; }
.pm-card small { font-size: .72rem; opacity: .75; font-weight: 600; }
.pm-route { display: flex; align-items: center; justify-content: space-between; font-size: 1.6rem; font-weight: 800; margin: 6px 0; }
.pm-route.sm { font-size: 1rem; }
.pm-price { color: var(--o-500); }
.pm-meta { display: flex; justify-content: space-between; font-size: .78rem; }
.pm-ok { background: #2ee08a; color: #063; border-radius: 999px; padding: 2px 8px; font-weight: 700; }
.pm-btns { display: flex; gap: 6px; margin-top: 8px; }
.pm-btns span { flex: 1; text-align: center; font-size: .72rem; font-weight: 700; padding: 6px; border-radius: 999px; border: 1px solid var(--line); }
.pm-btns .ok { background: var(--grad-brand); color: #fff; border: 0; }
.pm-dl { font-weight: 700; color: var(--p-600); margin-top: 4px; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 0 22px; transition: box-shadow .2s; }
.faq-list details[open] { box-shadow: var(--shadow); }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 700; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--p-50); color: var(--p-600); display: grid; place-items: center; font-size: 1.2rem; transition: transform .3s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--grad-brand); color: #fff; }
.faq-list details p { color: var(--muted); padding-bottom: 18px; margin: 0; }
.faq-group { margin-top: 40px; font-size: 1.4rem; }

/* CTA band + footer */
.cta-band { position: relative; overflow: hidden; background: var(--grad-brand); color: #fff; padding: 56px 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; opacity: .95; font-size: 1.08rem; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-orange { background: var(--p-700); box-shadow: 0 10px 24px rgba(40,10,80,.35); }
.cta-plane { position: absolute; width: 90px; top: 50%; left: -100px; opacity: .25; animation: ctaFly 14s linear infinite; }
@keyframes ctaFly { 0% { transform: translate(0, 20px) rotate(-8deg); } 100% { transform: translate(calc(100vw + 200px), -60px) rotate(-8deg); } }
.site-footer { background: var(--p-950); color: #c4b5dc; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 16px; padding: 10px 14px; margin-bottom: 16px; }
.footer-logo img { width: 120px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c4b5dc; }
.site-footer a:hover { color: #fff; }
.footer-contact a { color: #fff; font-weight: 600; }
.socials { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 22px; font-size: .82rem; }
.footer-legal .muted { color: #8e80a6; }

/* Floating buttons + modal */
.floating-actions { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab { position: relative; height: 58px; min-width: 58px; border-radius: 999px; border: 0; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; box-shadow: 0 12px 30px rgba(0,0,0,.22); transition: transform .2s; color: #fff; padding: 0 17px; }
.fab:hover { transform: scale(1.06); }
.fab-wa { background: #25d366; }
.fab-callback { background: var(--grad-brand); }
.fab-label { font-weight: 700; white-space: nowrap; }
.fab-ring { position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--o-500); animation: fabRing 2s infinite; }
@keyframes fabRing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.35); opacity: 0; } }
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(20,4,42,.55); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-card { position: relative; background: #fff; border-radius: 24px; width: min(440px, 100%); padding: 30px; box-shadow: var(--shadow-lg); animation: pop .25s ease; max-height: 92vh; overflow: auto; }
.modal-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--p-50); font-size: 1.5rem; cursor: pointer; }
.modal-head { text-align: center; margin-bottom: 18px; }
.modal-head p { color: var(--muted); }
.modal-plane { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; font-size: 1.8rem; background: var(--grad-brand); color: #fff; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-8deg); } }

/* ---------- Forms ---------- */
.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.lead-form h2 { font-size: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; flex: 1; min-width: 0; }
.field.grow { flex: 2; }
.field label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--p-400); box-shadow: 0 0 0 4px var(--p-100); }
.field input.invalid { border-color: var(--danger); background: #fff6f7; }
.form-row { display: flex; gap: 14px; flex-wrap: wrap; }
.check-inline { display: flex; gap: 10px; align-items: center; font-size: .92rem; margin: 4px 0 14px; cursor: pointer; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .76rem; color: var(--muted); line-height: 1.45; margin: 4px 0 16px; cursor: pointer; }
.consent input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--o-500); }
.consent.invalid span { color: var(--danger); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: 10px 0 0; font-weight: 600; font-size: .92rem; }
.form-msg:empty { display: none; }
.form-msg.err { color: var(--danger); }
.form-msg.ok { color: var(--ok); }
.secure-note { font-size: .82rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.btn.loading span { opacity: .3; }
.btn.loading { position: relative; pointer-events: none; }
.btn.loading::after { content: "✈"; position: absolute; animation: btnFly 1s linear infinite; font-size: 1.2rem; }
@keyframes btnFly { 0% { transform: translateX(-40px); opacity: 0; } 30%, 70% { opacity: 1; } 100% { transform: translateX(40px); opacity: 0; } }
.alert { background: #fdecef; color: #b3172f; padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-weight: 600; font-size: .92rem; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 72px 0 84px; background: radial-gradient(700px 300px at 85% 0%, rgba(255,138,31,.3), transparent 60%), linear-gradient(150deg, var(--p-800), var(--p-600)); }
.page-hero.slim { padding: 48px 0 110px; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 820px; }
.page-hero p { color: #e2d4f6; font-size: 1.1rem; max-width: 680px; margin: 0; }
.page-hero.premium { background: radial-gradient(700px 300px at 85% 0%, rgba(244,199,107,.25), transparent 60%), linear-gradient(150deg, var(--p-950), var(--p-800)); padding-bottom: 96px; }
.ph-plane { position: absolute; right: 6%; top: 50%; width: 140px; color: rgba(255,255,255,.08); transform: translateY(-50%) rotate(-12deg); animation: phFloat 6s ease-in-out infinite; }
@keyframes phFloat { 50% { transform: translateY(-58%) rotate(-8deg); } }
.page-hero.slim + .section .search-card, .quote-main > .search-card { margin-top: -80px; }
.quote-grid { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.quote-main { display: grid; gap: 22px; margin-top: -80px; }
.quote-main > .search-card { margin-top: 0; }
.trip-summary { background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 24px 28px; }
.ts-route { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; }
.ts-route b { font-size: 2.4rem; font-weight: 800; color: var(--p-700); line-height: 1; display: block; }
.ts-route small { color: var(--muted); }
.ts-route > div:last-child { text-align: right; }
.ts-plane { display: flex; align-items: center; gap: 8px; color: var(--o-500); font-size: 1.4rem; }
.ts-plane i { flex: 1; border-top: 2px dashed var(--p-200); }
.ts-plane span { animation: tsPlane 2.4s ease-in-out infinite; }
@keyframes tsPlane { 50% { transform: translateX(10px); } }
.ts-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }
.ts-meta span { background: var(--p-50); padding: 6px 12px; border-radius: 999px; font-size: .88rem; font-weight: 600; }
.lead-form.big { padding: 32px; }
.quote-side { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.call-card { text-align: center; background: linear-gradient(160deg, #fff, var(--p-50)); }
.cc-pulse { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; background: #fff; box-shadow: 0 0 0 0 rgba(255,106,0,.4); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 18px rgba(255,106,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,106,0,0); } }
.call-card small { display: block; color: var(--muted); margin-top: 8px; }
.timeline { padding-left: 20px; margin: 0; }
.timeline li { margin-bottom: 10px; color: var(--muted); }
.timeline b { color: var(--ink); }

/* Thank-you */
.thanks { position: relative; overflow: hidden; padding: 90px 0 100px; background: linear-gradient(180deg, var(--p-700), var(--p-500) 60%, var(--bg) 100%); color: #fff; text-align: center; }
.thanks-sky { position: absolute; inset: 0; pointer-events: none; }
.takeoff-plane { position: absolute; left: -100px; bottom: 30%; animation: takeoff 4s cubic-bezier(.6,0,.4,1) .3s forwards; }
@keyframes takeoff { 0% { transform: translate(0,0) rotate(0); } 40% { transform: translate(45vw, 0) rotate(-5deg); } 100% { transform: translate(110vw, -60vh) rotate(-25deg); } }
.thanks-inner { position: relative; }
.thanks h1 { color: #fff; }
.lead-text { font-size: 1.15rem; color: #efe4fb; max-width: 640px; margin: 0 auto 36px; }
.check-burst { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 50%; background: #fff; color: var(--ok); font-size: 3rem; font-weight: 800; display: grid; place-items: center; animation: burst .7s cubic-bezier(.2,1.6,.5,1) both; box-shadow: 0 0 0 14px rgba(255,255,255,.15), 0 0 0 28px rgba(255,255,255,.07); }
@keyframes burst { from { transform: scale(0); } }
.thanks-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tc { color: var(--ink); text-align: center; display: flex; flex-direction: column; gap: 4px; transition: transform .25s; }
.tc:hover { transform: translateY(-4px); color: var(--ink); }
.tc span { font-size: 2rem; }
.tc small { color: var(--muted); }

/* Route pages */
.route-hero { position: relative; color: #fff; padding: 70px 0 120px; background-image: linear-gradient(100deg, rgba(31,6,56,.92), rgba(59,10,107,.7) 55%, rgba(59,10,107,.25)), var(--img), linear-gradient(135deg, var(--p-700), var(--o-500)); background-size: cover; background-position: center; }
.route-hero h1 { color: #fff; max-width: 760px; }
.rh-sub { font-size: 1.1rem; color: #eadcfb; }
.crumbs { font-size: .85rem; margin-bottom: 18px; color: #d6c3f0; }
.crumbs a { color: #fff; }
.section.lift { margin-top: -90px; padding-bottom: 20px; z-index: 5; }
.route-grid-2 { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 32px; }
.prose ul { padding-left: 20px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.facts > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.facts small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.route-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm); transition: .3s; }
.route-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.rc-img { aspect-ratio: 16/9; background-image: var(--img), linear-gradient(135deg, var(--p-600), var(--o-500)); background-size: cover; background-position: center; }
.rc-body { padding: 16px 18px 20px; }
.rc-body small { color: var(--o-600); font-weight: 800; letter-spacing: .06em; }
.rc-body h3 { margin: 4px 0 6px; }
.rc-body span { color: var(--muted); font-size: .9rem; }

/* About / business / contact */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.feature-col { display: grid; gap: 18px; align-content: start; }
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.feature span { font-size: 2rem; display: block; margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.cc-item { display: flex; align-items: center; gap: 16px; padding: 20px; color: var(--ink); transition: .25s; }
.cc-item:hover { transform: translateX(4px); color: var(--ink); }
.cc-item > span { font-size: 1.6rem; width: 52px; height: 52px; display: grid; place-items: center; background: var(--p-50); border-radius: 14px; flex: none; }
.cc-item b { display: block; }
.cc-item small { color: var(--muted); }
.notice { margin-top: 18px; }
.notfound { padding: 120px 0; }
.nf-plane { font-size: 5rem; animation: bob 2s ease-in-out infinite; color: var(--o-500); }

/* Auth */
.auth { min-height: calc(100vh - 200px); display: grid; place-items: center; padding: 60px 20px; background: radial-gradient(600px 300px at 80% 10%, var(--p-100), transparent 60%), radial-gradient(500px 300px at 10% 90%, #ffe9d6, transparent 60%); }
.auth-card { width: min(460px, 100%); padding: 36px; box-shadow: var(--shadow-lg); }
.auth-head { text-align: center; margin-bottom: 20px; }
.auth-head img { margin: 0 auto 12px; width: 110px; }
.auth-head h1 { font-size: 1.8rem; }
.auth-head p { color: var(--muted); }
.auth-alt { text-align: center; margin: 16px 0 0; }

/* Account */
.account-hero { color: #fff; padding: 56px 0 96px; background: radial-gradient(700px 300px at 85% 0%, rgba(255,138,31,.3), transparent 60%), linear-gradient(150deg, var(--p-800), var(--p-600)); }
.ah-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.account-hero h1 { color: #fff; }
.account-hero p { color: #e2d4f6; margin: 0; }
.ah-actions { display: flex; gap: 10px; }
.verify-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: #fff8eb; border-color: #ffe0a3; margin-bottom: 18px; padding: 16px 20px; }
.page-account .section.lift { margin-top: -30px; }
.tabs { display: flex; gap: 6px; background: #fff; padding: 6px; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 26px; overflow-x: auto; }
.tabs a { padding: 10px 18px; border-radius: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.tabs a.active { background: var(--p-700); color: #fff; }
.list-title { font-size: 1.2rem; margin: 26px 0 14px; }
.trip-list, .quote-list { display: grid; gap: 18px; }
.trip-card .tc-route { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-bottom: 18px; }
.tc-route b { font-size: 2rem; color: var(--p-700); font-weight: 800; display: block; line-height: 1; }
.tc-route small { color: var(--muted); }
.tc-route > div:last-child { text-align: right; }
.tc-line { display: flex; gap: 8px; align-items: center; color: var(--o-500); }
.tc-line i { flex: 1; border-top: 2px dashed var(--p-200); }
.tc-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; padding: 16px; background: var(--p-50); border-radius: 14px; }
.tc-details small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.tc-head { display: flex; justify-content: space-between; gap: 10px; }
.tc-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.req-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.quote-card.declined { opacity: .6; }
.qc-top { display: flex; justify-content: space-between; gap: 16px; }
.qc-top h3 { margin: 4px 0; }
.qc-top small { color: var(--muted); }
.qc-price { font-size: 2rem; font-weight: 800; color: var(--o-600); text-align: right; line-height: 1; }
.qc-price small { display: block; font-size: .75rem; color: var(--muted); font-weight: 600; }
.qc-details { background: var(--p-50); padding: 12px 14px; border-radius: 12px; margin: 14px 0 0; font-size: .92rem; }
.qc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.inline { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.empty { text-align: center; padding: 50px 24px; }
.empty-ico { font-size: 3rem; }
.empty p { color: var(--muted); }
.profile-form { max-width: 720px; }

/* Tables & badges */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--p-50); color: var(--p-700); white-space: nowrap; }
.badge-new { background: #fff1e6; color: var(--o-600); }
.badge-contacted { background: #e7f6fd; color: var(--cyan-600); }
.badge-quoted, .badge-sent { background: var(--p-100); color: var(--p-700); }
.badge-booked, .badge-ticketed, .badge-accepted, .badge-confirmed, .badge-closed, .badge-completed { background: #e6f8ef; color: #0b7a4b; }
.badge-lost, .badge-cancelled, .badge-declined, .badge-expired { background: #fdecef; color: #b3172f; }
.badge-open { background: #fff1e6; color: var(--o-600); }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .search-grid { grid-template-columns: 1fr auto 1fr; }
  .sf { border-bottom: 1.5px solid var(--line); }
  .sf-date { border-right: 1.5px solid var(--line); }
  .sf-airport:nth-of-type(2) { border-right: 0; }
  .sf-date, .sf-pax { grid-column: span 1; }
  .search-grid > .sf-date:nth-of-type(3) { grid-column: 1 / 2; }
  .search-grid { grid-template-areas: "from swap to" "dep . ret" "pax pax pax" "go go go"; }
  .search-grid > .sf-airport:first-child { grid-area: from; }
  .search-grid > .swap-btn { grid-area: swap; }
  .search-grid > .sf-airport:nth-child(3) { grid-area: to; }
  .search-grid > .sf-date:not(.sf-return) { grid-area: dep; border-radius: 0; }
  .search-grid > .sf-return { grid-area: ret; border-right: 0; }
  .search-grid > .sf-pax { grid-area: pax; border-right: 0; }
  .search-grid > .search-submit { grid-area: go; padding: 16px; justify-content: center; }
  .search-grid.no-return { grid-template-areas: "from swap to" "dep dep dep" "pax pax pax" "go go go"; }
  .deals-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .call-text small { display: none; }
}
@media (max-width: 960px) {
  .main-nav { position: fixed; inset: calc(var(--header-h) + 36px) 0 auto 0; background: #fff; flex-direction: column; padding: 16px 20px 24px; box-shadow: var(--shadow-lg); transform: translateY(-120%); transition: transform .35s ease; z-index: -1; max-height: calc(100vh - 100px); overflow: auto; }
  .nav-open .main-nav { transform: none; }
  .main-nav > a, .nav-mobile-extra a { padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; display: block; color: var(--ink); font-weight: 600; }
  .nav-mobile-extra { display: block; }
  .nav-toggle { display: flex; }
  .hide-sm { display: none !important; }
  .hero-inner, .why-grid, .bb-inner, .mt-grid, .about-grid, .contact-grid, .quote-grid, .route-grid-2 { grid-template-columns: 1fr; }
  .boarding-pass { justify-self: center; max-width: 380px; }
  .quote-side, .sticky { position: static; }
  .review-grid, .route-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .steps-path { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .thanks-cards { grid-template-columns: 1fr; }
  .phone-mock { order: 2; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .topbar-links { display: none; }
  .brand img { height: 44px; }
  .call-pill { padding: 4px; }
  .call-text { display: none; }
  .hero { padding-top: 40px; }
  .hero-inner { gap: 28px; padding-bottom: 24px; }
  .boarding-pass { display: none; }
  .section { padding: 64px 0; }
  .deals-grid, .review-grid, .route-grid, .feature-row, .stats { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 18px; }
  .stat b { font-size: 2rem; }
  .search-card { padding: 14px; border-radius: 20px; }
  .search-hint { display: none; }
  .search-grid { grid-template-columns: 1fr; grid-template-areas: "from" "to" "dep" "ret" "pax" "go" !important; }
  .search-grid.no-return { grid-template-areas: "from" "to" "dep" "pax" "go" !important; }
  .sf { border-right: 0 !important; }
  .swap-btn { position: absolute; right: 16px; top: 52px; margin: 0; grid-area: auto !important; transform: rotate(90deg); }
  .swap-btn:hover { transform: rotate(270deg); }
  .sf-airport + .swap-btn + .sf-airport { padding-left: 16px; }
  .ac-list { width: 100%; }
  .pax-pop { width: auto; left: 0; right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fab-label { display: none; }
  .fab { padding: 0; width: 56px; height: 56px; }
  .ts-route b, .bp-route b { font-size: 1.8rem; }
  .card, .lead-form.big { padding: 22px; }
  .qc-top { flex-direction: column; }
  .qc-price { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .svg-plane, .contrail { display: none; }
}

/* ==========================================================================
   Calendar (datepicker.js) — US format, Sunday first
   ========================================================================== */
.dp-input { cursor: pointer; caret-color: transparent; }
.sf .dp-input { border: 0; background: transparent; outline: none; padding: 2px 0; width: 100%; font-weight: 700; font-size: 1.02rem; min-width: 0; color: var(--ink); }
.sf .dp-input::placeholder { color: #a99fbb; font-weight: 500; }
.field .dp-input { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%237b2cbf' d='M19 4h-1V2h-2v2H8V2H6v2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 16H5V9h14v11z'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; padding-right: 40px !important; }
.dp-pop { position: absolute; z-index: 400; width: max-content; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(30, 6, 60, .28), 0 0 0 1px rgba(90, 14, 140, .08); padding: 16px 18px 14px; opacity: 0; transform: translateY(-6px) scale(.98); transition: opacity .18s ease, transform .18s ease; font-family: var(--font); color: var(--ink); }
.dp-pop.show { opacity: 1; transform: none; }
.dp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.dp-label { flex: 1; text-align: center; line-height: 1.2; }
.dp-label small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--o-600); }
.dp-label b { font-size: .95rem; }
.dp-nav { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 1.5rem; line-height: 1; color: var(--p-600); cursor: pointer; display: grid; place-items: center; transition: .2s; padding-bottom: 3px; }
.dp-nav:hover:not([disabled]) { background: var(--p-50); border-color: var(--p-400); }
.dp-nav[disabled] { opacity: .3; cursor: default; }
.dp-x { display: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--p-50); font-size: 1.5rem; cursor: pointer; }
.dp-months { display: grid; gap: 28px; }
.dp-months.m2 { grid-template-columns: 1fr 1fr; }
.dp-title { text-align: center; font-weight: 800; font-size: 1.02rem; margin: 6px 0 10px; color: var(--p-700); }
.dp-grid { display: grid; grid-template-columns: repeat(7, 42px); row-gap: 4px; }
.dp-dow { text-align: center; font-size: .72rem; font-weight: 800; color: var(--muted); text-transform: uppercase; padding: 4px 0 8px; }
.dp-dow.we { color: var(--o-600); }
.dp-day { position: relative; height: 42px; border: 0; background: transparent; font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink); cursor: pointer; border-radius: 50%; z-index: 0; transition: color .15s; }
.dp-day::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; z-index: -1; transition: background .15s, transform .15s; }
.dp-day:hover:not([disabled])::before { background: var(--p-100); }
.dp-day:focus-visible { outline: 2px solid var(--o-500); outline-offset: -2px; }
.dp-day.we:not([disabled]) { color: var(--p-600); }
.dp-day.today::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--o-500); }
.dp-day[disabled] { color: #cfc8da; cursor: default; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.08); }
.dp-day.in-range { border-radius: 0; background: var(--p-50); }
.dp-day.in-range::before { background: transparent; }
.dp-day.selected { color: #fff !important; }
.dp-day.selected::before { background: var(--grad-brand); box-shadow: 0 6px 16px rgba(255, 106, 0, .4); }
.dp-day.selected.end::before { background: var(--grad-purple); box-shadow: 0 6px 16px rgba(90, 14, 140, .35); }
.dp-day.selected.today::after { background: #fff; }
.dp-day.start.has-range { background: linear-gradient(90deg, transparent 50%, var(--p-50) 50%); border-radius: 0; }
.dp-day.end:not(.start) { background: linear-gradient(90deg, var(--p-50) 50%, transparent 50%); border-radius: 0; }
.dp-day.range-end-preview::before { background: transparent; box-shadow: inset 0 0 0 2px var(--p-400); }
.dp-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.dp-summary { display: flex; align-items: center; gap: 10px; }
.dp-summary span { padding: 6px 12px; border-radius: 12px; border: 1.5px solid transparent; line-height: 1.2; }
.dp-summary span.on { border-color: var(--o-400); background: #fff7f0; }
.dp-summary small { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dp-summary b { font-size: .92rem; white-space: nowrap; }
.dp-summary i { font-style: normal; color: var(--o-500); }
.dp-actions { display: flex; gap: 8px; margin-left: auto; }
.dp-actions button { border: 0; background: none; font: inherit; font-weight: 700; font-size: .88rem; padding: 9px 14px; border-radius: 999px; cursor: pointer; color: var(--p-600); }
.dp-actions .dp-clear:hover, .dp-actions .dp-today:hover { background: var(--p-50); }
.dp-actions .dp-done { background: var(--grad-purple); color: #fff; padding: 9px 20px; }
.dp-backdrop { position: fixed; inset: 0; background: rgba(20, 4, 42, .5); z-index: 399; backdrop-filter: blur(2px); animation: fadeIn .2s; }
html.dp-lock, html.dp-lock body { overflow: hidden; }
/* phones: bottom sheet */
.dp-pop.sheet { position: fixed; left: 0 !important; right: 0; bottom: 0; top: auto !important; width: 100%; border-radius: 26px 26px 0 0; padding: 10px 16px calc(16px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .28s cubic-bezier(.2, .9, .3, 1), opacity .1s; max-height: 92vh; overflow: auto; }
.dp-pop.sheet.show { transform: none; }
.dp-pop.sheet::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: #ddd3ea; margin: 0 auto 10px; }
.dp-pop.sheet .dp-x { display: grid; place-items: center; }
.dp-pop.sheet .dp-grid { grid-template-columns: repeat(7, 1fr); }
.dp-pop.sheet .dp-day { height: 46px; font-size: 1rem; }
.dp-pop.sheet .dp-foot { flex-direction: column; align-items: stretch; }
.dp-pop.sheet .dp-summary { justify-content: center; }
.dp-pop.sheet .dp-actions { margin: 0; }
.dp-pop.sheet .dp-actions .dp-done { flex: 1; padding: 13px; font-size: 1rem; }
.time-select { padding: 13px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; }

/* ==========================================================================
   v2: WhatsApp, promo popup, mobile bar, policies
   ========================================================================== */
.wa-pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 12px; border-radius: 999px; background: #e9fbf0; color: #128c4a; font-weight: 700; border: 1px solid #c9f1d8; transition: .2s; }
.wa-pill:hover { background: #25d366; color: #fff; }
.btn-wa { background: #25d366; color: #fff; margin-top: 10px; }
.btn-wa:hover { color: #fff; background: #1ebe5b; }
.agree-note { font-size: .74rem; color: var(--muted); margin: -6px 0 14px; line-height: 1.45; }
.legal-links { font-size: .85rem; }
.legal-links a { color: #e2d4f6; text-decoration: underline; text-underline-offset: 3px; }
.privacy-choices::before { content: "🛡 "; }
.fare-rules { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fff8eb; border: 1px solid #ffe2b0; font-size: .9rem; }
.fare-rules p { margin: 6px 0; color: var(--ink); }
.fare-rules a { font-weight: 700; font-size: .85rem; }
.quote-accept { display: grid; gap: 8px; width: 100%; }
.quote-accept .consent { margin: 0; font-size: .82rem; }
.quote-accept .consent.invalid { color: var(--danger); animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.policy h2 { font-size: 1.35rem; margin-top: 36px; }
.policy li { margin-bottom: 6px; }
.policy-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 10px; }
.policy-cards div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.policy-cards span { font-size: 1.6rem; display: block; }
.policy-cards small { display: block; color: var(--muted); margin-top: 4px; }
.choice-card { text-align: left; }
.choice-status { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 16px; margin-bottom: 18px; }
.choice-status.on { background: var(--p-50); }
.choice-status.off { background: #e6f8ef; }
.choice-status span { font-size: 2rem; }
.choice-status small { display: block; color: var(--muted); }
.choice-actions { margin: 10px 0 16px; }
.gpc-note { background: #e6f8ef; padding: 10px 14px; border-radius: 10px; }
.modal-open, .modal-open body { overflow: hidden; }

/* Promo popup */
.promo .promo-card { position: relative; display: grid; grid-template-columns: 300px 1fr; width: min(820px, 100%); background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); animation: promoIn .45s cubic-bezier(.2, 1.2, .4, 1); max-height: 94vh; }
@keyframes promoIn { from { opacity: 0; transform: translateY(30px) scale(.94); } }
.promo .modal-close { z-index: 3; background: rgba(255,255,255,.9); }
.promo-art { position: relative; overflow: hidden; color: #fff; background: radial-gradient(400px 300px at 100% 0%, rgba(255,138,31,.55), transparent 60%), linear-gradient(160deg, var(--p-800), var(--p-600)); }
.promo-art .cloud { animation-duration: 18s; }
.promo-path { position: absolute; inset: 0; width: 100%; height: 100%; }
.promo-plane { position: absolute; left: -60px; top: 70%; offset-path: path("M-10 250 C 80 230, 120 120, 200 110 S 290 60, 320 20"); offset-rotate: auto; left: 0; top: 0; animation: promoFly 5s ease-in-out infinite; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
@keyframes promoFly { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.promo-badge { position: absolute; left: 28px; bottom: 90px; }
.promo-badge small { display: inline-block; background: var(--danger); padding: 4px 10px; border-radius: 999px; font-weight: 800; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; animation: pulse 2s infinite; }
.promo-badge b { display: block; font-size: 2.1rem; line-height: 1.05; margin: 10px 0 6px; letter-spacing: -.02em; }
.promo-badge span { color: #f3c98b; font-weight: 700; }
.promo-logo { position: absolute; left: 24px; bottom: 22px; width: 96px; background: #fff; border-radius: 12px; padding: 6px 8px; }
.promo-body { padding: 30px 30px 24px; overflow: auto; }
.promo-body h3 { font-size: 1.55rem; }
.promo-body > p { color: var(--muted); }
.promo-body .field { margin-bottom: 10px; }
.promo-wa { display: block; text-align: center; margin-top: 12px; font-weight: 700; color: #128c4a; }

/* Mobile bottom bar (phones & small tablets) */
.mobile-bar { display: none; }
@media (max-width: 820px) {
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(40,10,80,.08); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .mobile-bar a, .mobile-bar button { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; font-weight: 700; color: var(--muted); background: none; border: 0; padding: 4px 0; font-family: inherit; min-height: 48px; justify-content: flex-end; }
  .mobile-bar span { font-size: 1.25rem; line-height: 1; }
  .mobile-bar .wa-ico { color: #25d366; }
  .mobile-bar .mb-main { color: var(--p-700); }
  .mobile-bar .mb-main span { width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: #fff; box-shadow: 0 8px 20px rgba(255,106,0,.45); border: 4px solid #fff; font-size: 1.3rem; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .floating-actions { display: none; }
  .wa-pill span { display: none; }
  .wa-pill { width: 44px; padding: 0; justify-content: center; }
}
@media (max-width: 760px) {
  .promo .promo-card { grid-template-columns: 1fr; border-radius: 24px 24px 0 0; align-self: end; max-height: 92vh; }
  .promo { padding: 0; align-items: end; }
  .promo-art { height: 110px; }
  .promo-body > p, .promo-body > .eyebrow { display: none; }
  .promo-body .field label { font-size: .8rem; }
  .promo-body .field input { padding: 11px 12px; }
  .promo-badge { left: 20px; bottom: 18px; }
  .promo-badge b { font-size: 1.5rem; margin: 6px 0 2px; }
  .promo-badge b br { display: none; }
  .promo-logo { display: none; }
  .promo-body { padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); }
  .promo-body h3 { font-size: 1.3rem; }
  .policy-cards { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: end; }
  .modal-card { border-radius: 24px 24px 0 0; width: 100%; padding: 24px 20px calc(20px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
  .field input, .field select, .field textarea { font-size: 16px; } /* prevents iOS auto-zoom */
}
.choice-actions .btn { white-space: normal; text-align: center; max-width: 100%; }

/* v2.1 mobile header fix (iOS Safari): menu fully hidden until opened, actions pinned right */
.header-actions { margin-left: auto; }
@media (max-width: 960px) {
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; inset: auto; top: 100%; left: 0; right: 0;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
    z-index: 99; max-height: calc(100vh - var(--header-h) - 80px); border-top: 1px solid var(--line);
    border-radius: 0 0 20px 20px;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .25s ease, transform .25s ease; }
  .topbar { display: none; }
}

/* v2.2 strict phone/email fields */
.us-phone { position: relative; display: flex; align-items: stretch; }
.us-phone .us-cc { display: flex; align-items: center; gap: 4px; padding: 0 12px; border: 1.5px solid var(--line); border-right: 0; border-radius: 12px 0 0 12px; background: var(--p-50); font-weight: 700; font-size: .9rem; color: var(--p-700); white-space: nowrap; }
.us-phone input { border-radius: 0 12px 12px 0 !important; flex: 1; min-width: 0; letter-spacing: .02em; }
.field-err { display: block; color: var(--danger); font-size: .8rem; font-weight: 600; margin-top: 2px; }
.suggest-btn { border: 0; background: #fff1e6; color: var(--o-600); font: inherit; font-weight: 800; padding: 3px 10px; border-radius: 999px; cursor: pointer; margin-left: 4px; }
.field input.valid { border-color: #9ee2bf; background: #fbfffd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230fa968' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; padding-right: 38px; }
.us-phone input.valid { background-position: right 12px center; }
@media (max-width: 640px) { .lead-form .form-row { flex-direction: column; gap: 0; } }

/* v2.3 mobile fixes: one-way/multi-city layout + popup fits the visible screen (iOS Safari toolbars) */
@media (max-width: 1100px) and (min-width: 641px) {
  .search-grid.no-return { grid-template-columns: 1fr auto 1fr; }
}
@media (max-width: 640px) {
  .search-grid, .search-grid.no-return { grid-template-columns: 1fr !important; }
}
@media (max-width: 760px) {
  .promo { align-items: end; }
  .promo .promo-card { display: flex; flex-direction: column; max-height: 92vh; max-height: calc(100dvh - 12px); }
  .promo-art { flex: none; height: 92px; }
  .promo-badge { bottom: 14px; }
  .promo-badge small { font-size: .62rem; padding: 3px 8px; }
  .promo-badge b { font-size: 1.3rem; }
  .promo-badge span { font-size: .85rem; }
  .promo-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px 18px calc(18px + env(safe-area-inset-bottom)); }
  .promo-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
  .promo-body .field { margin-bottom: 8px; gap: 4px; }
  .promo-body .field input { padding: 10px 12px; }
  .promo-body .consent { font-size: .72rem; margin-bottom: 10px; }
  .promo-body .agree-note { font-size: .7rem; margin-bottom: 10px; }
  .promo-body .btn-lg { padding: 14px; }
  .promo .modal-close { top: 10px; right: 10px; width: 34px; height: 34px; }
  .modal-card { max-height: calc(100dvh - 12px); overflow-y: auto; }
  .dp-pop.sheet { max-height: calc(100dvh - 20px); }
}
@media (max-width: 760px) and (max-height: 700px) {
  .promo-body .field:nth-of-type(4) { display: none; } /* "Where to?" (optional) hidden on short screens */
}
@media (max-width: 760px) and (max-height: 600px) {
  .promo-art { height: 60px; }
  .promo-badge { bottom: 10px; }
  .promo-badge small, .promo-badge span { display: none; }
  .promo-badge b { font-size: 1.15rem; margin: 0; }
  .promo-body { padding-top: 12px; }
  .promo-body h3 { font-size: 1.02rem; margin-bottom: 6px; }
}

/* v2.4 popups centered on phones + aligned close button */
.modal-close { display: flex; align-items: center; justify-content: center; padding: 0; line-height: 1; font-size: 1.4rem; font-family: Arial, sans-serif; color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.promo .modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.95); }
@media (max-width: 760px) {
  .modal, .promo { align-items: center; justify-content: center; padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .modal-card { width: 100%; border-radius: 22px; max-height: calc(100dvh - 32px); padding: 26px 20px 20px; }
  .promo .promo-card { width: 100%; align-self: center; border-radius: 22px; max-height: calc(100dvh - 32px); }
  .promo-body { padding: 14px 18px 18px; }
  .promo .modal-close { top: 10px; right: 10px; width: 34px; height: 34px; font-size: 1.25rem; }
  .promo-art { border-radius: 22px 22px 0 0; height: 116px; }
  .promo-badge { bottom: 16px; left: 20px; }
}
@media (max-width: 760px) and (max-height: 600px) { .promo-art { height: 60px; } .promo-badge { bottom: 12px; } }

/* v2.5 desktop popup: always fits the window height */
@media (min-width: 761px) {
  .promo { padding: 20px; }
  .promo .promo-card { max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); grid-template-rows: minmax(0, 1fr); }
  .promo-body { min-height: 0; overflow-y: auto; padding: 28px 30px 24px; }
  .promo-art { min-height: 0; }
}
@media (min-width: 761px) and (max-height: 920px) {
  .promo-body { padding: 22px 28px 18px; }
  .promo-body > p { display: none; }
  .promo-body h3 { font-size: 1.4rem; margin-bottom: 12px; }
  .promo-body .field { margin-bottom: 8px; gap: 4px; }
  .promo-body .field input { padding: 10px 14px; }
  .promo-body .consent { margin-bottom: 8px; font-size: .74rem; }
  .promo-body .agree-note { margin-bottom: 10px; }
  .promo-body .btn-lg { padding: 13px 24px; }
  .promo-badge { bottom: 100px; }
  .promo-badge b { font-size: 1.8rem; }
}
@media (min-width: 761px) and (max-height: 760px) {
  .promo-body .field:nth-of-type(4) { display: none; } /* optional "Where to?" */
  .promo-body .eyebrow { display: none; }
}
/* US flag drawn as an image (Windows has no flag emoji) */
.us-cc .flag-us { display: inline-block; width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7410 3900'%3E%3Crect width='7410' height='3900' fill='%23b22234'/%3E%3Cpath d='M0,450H7410m0,600H0m0,600H7410m0,600H0m0,600H7410m0,600H0' stroke='%23fff' stroke-width='300'/%3E%3Crect width='2964' height='2100' fill='%233c3b6e'/%3E%3C/svg%3E") center / cover no-repeat; }

/* ===== v2.6 — US SEO hubs, guides, policies ===== */
.skip-link{position:absolute;left:-9999px;top:8px;z-index:9999;background:#fff;color:#3b0a6b;padding:10px 16px;border-radius:10px;font-weight:700;box-shadow:0 6px 20px rgba(0,0,0,.2)}
.skip-link:focus{left:12px}
:focus-visible{outline:3px solid #f7931e;outline-offset:2px}
.chips.left{justify-content:flex-start}
.lead-intro{font-size:1.1rem;max-width:760px;margin:0 0 24px;color:#3a3550}
.route-card .h3,.guide-card .h3{font-size:1.15rem;margin:4px 0 6px}
.city-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
.city-card{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border-radius:16px;background:#fff;border:1px solid #ece6f5;box-shadow:0 4px 14px rgba(59,10,107,.06);transition:transform .2s,box-shadow .2s;text-decoration:none;color:#22183a}
.city-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(59,10,107,.14)}
.city-card b{font-size:1.05rem}.city-card small{color:#7a7290}
.guide-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}
.guide-card{display:flex;flex-direction:column;gap:6px;padding:22px;text-decoration:none;color:inherit}
.guide-card small{color:#7a7290}.guide-card p{margin:0;color:#4a4560}
.guide-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px;align-items:start}
.guide-body h2{margin-top:1.6em}
.guide-layout aside .sticky{position:sticky;top:100px}
.prose ul.cols-2{columns:2;column-gap:32px}
.prose ul.cols-2 li{break-inside:avoid}
@media (max-width:900px){.guide-layout{grid-template-columns:1fr}.guide-layout aside .sticky{position:static}}
@media (max-width:560px){.prose ul.cols-2{columns:1}.city-grid{grid-template-columns:repeat(2,1fr)}}

/* ===== v2.7 — OTP login, trusted devices, newsletter ===== */
.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}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f3edfa;border-radius:12px;padding:4px;margin:0 0 16px}
.auth-tabs a{text-align:center;padding:10px;border-radius:9px;font-weight:700;color:#5a4e70;text-decoration:none}
.auth-tabs a.active{background:#fff;color:#3b0a6b;box-shadow:0 2px 8px rgba(59,10,107,.12)}
.otp-input{font-size:2rem!important;letter-spacing:.5em;text-align:center;font-weight:800;padding:14px 10px!important;font-variant-numeric:tabular-nums}
.otp-actions{display:flex;justify-content:space-between;gap:10px;margin-top:12px;flex-wrap:wrap}
.linklike{background:none;border:0;padding:0;color:#5a0e8c;font-weight:700;cursor:pointer;text-decoration:underline;font:inherit}
.trust-check{margin:4px 0 14px;font-size:.92rem}
.alert-ok{background:#e9f8ef!important;color:#14613a!important;border-color:#bfe8cf!important}
.device-list{list-style:none;padding:0;margin:14px 0;display:grid;gap:10px}
.device-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border:1px solid #ece6f5;border-radius:12px;background:#fff}
.device-list small{display:block;color:#7a7290;margin-top:2px}
.nl-optin{font-size:.85rem;margin:6px 0 4px;color:#4a4560}
.footer-news{display:grid;grid-template-columns:1fr 1.1fr;gap:28px;align-items:center;padding:28px 0 30px;border-bottom:1px solid rgba(255,255,255,.12);margin-bottom:34px}
.footer-news h3{color:#fff;margin:0 0 6px;font-size:1.25rem}
.footer-news p{margin:0;opacity:.85}
.news-form{display:grid;grid-template-columns:1fr auto;gap:8px}
.news-form input[type=email]{border-radius:12px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;padding:13px 14px;font:inherit;min-width:0}
.news-form input[type=email]::placeholder{color:rgba(255,255,255,.65)}
.news-form .form-msg,.news-form small{grid-column:1/-1;margin:0}
.news-form small{opacity:.7}.news-form small a{color:inherit}
.news-form .form-msg.ok{color:#9ff0c1}.news-form .form-msg.err{color:#ffc2b3}
label.chip.chk{cursor:pointer;display:inline-flex;gap:6px;align-items:center}
label.chip.chk:has(input:checked){background:#3b0a6b;color:#fff;border-color:#3b0a6b}
label.chip.chk input{accent-color:#ff6a00}
.nl-page-form fieldset{border:0;padding:0;margin:0 0 14px}
.nl-page-form legend{font-weight:700;margin-bottom:8px}
@media (max-width:760px){.footer-news{grid-template-columns:1fr;gap:14px}.device-list li{flex-direction:column;align-items:flex-start}}
.promo .nl-optin,.modal .nl-optin{font-size:.78rem;line-height:1.35;margin:2px 0}
.pw-wrap{position:relative;display:block}
.pw-wrap input{padding-right:48px!important;width:100%}
.pw-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;background:transparent;color:#6b6380;border-radius:8px;display:grid;place-items:center;cursor:pointer}
.pw-eye:hover,.pw-eye:focus-visible{background:#f1eaf9;color:#3b0a6b}
.inline-form .pw-wrap{display:inline-block;width:auto}

/* ===== v2.8 — live fare panel (search results) ===== */
.fare-panel{margin:16px 0 20px;padding:26px 26px 22px;overflow:hidden}
.fp-loading{text-align:center;padding:10px 0 6px}
.fp-track{position:relative;height:34px;margin:6px 22px 8px}
.fp-dash{position:absolute;left:0;right:0;top:50%;border-top:2px dashed #d9cdea}
.fp-fill{position:absolute;left:0;top:calc(50% - 1px);height:3px;width:0;border-radius:3px;background:linear-gradient(90deg,#5a0e8c,#ff6a00);transition:width .15s linear}
.fp-plane{position:absolute;top:50%;left:0;transform:translate(-50%,-50%);color:#ff6a00;transition:left .15s linear;filter:drop-shadow(0 3px 6px rgba(255,106,0,.35))}
.fp-pct{display:block;font-size:1.05rem;color:#5a0e8c;font-variant-numeric:tabular-nums}
.fp-msg{margin:4px 0 0;color:#5a4e70}
.fp-result{animation:fpIn .45s ease both}
@keyframes fpIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.fp-price-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px}
.fp-price{display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:12px;align-items:end}
.fp-price s{grid-column:1/-1;color:#8a8199;font-weight:700;font-size:1.05rem}
.fp-price b{font-size:clamp(2.4rem,6vw,3.2rem);line-height:1;color:#1e1033;letter-spacing:-.02em}
.fp-price b sup{font-size:.9rem;color:#8a8199;margin-left:2px}
.fp-price small{color:#6b6380;font-size:.82rem;line-height:1.3;padding-bottom:6px}
.fp-ticks{list-style:none;margin:0;padding:0;display:grid;gap:6px;color:#2b2140;font-weight:600;font-size:.92rem}
.fp-compare{margin:6px 0 0;font-size:.8rem;color:#8a8199}
.fp-airlines{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 6px}
.fp-airlines span{padding:6px 12px;border-radius:999px;background:#f3edfa;color:#3b0a6b;font-weight:700;font-size:.85rem}
.fp-meta{margin:4px 0 14px;color:#4a4560;font-weight:600}
.fp-ctas{display:flex;flex-wrap:wrap;gap:10px}
.fp-fine{margin:14px 0 0;font-size:.75rem;color:#8a8199}
.fp-none{text-align:center}.fp-none h3{margin:0 0 6px}
@media (max-width:560px){.fare-panel{padding:20px 16px}.fp-ctas .btn{width:100%;justify-content:center}.fp-price-row{flex-direction:column;align-items:flex-start}}
.deal-img .ph-credit,.route-hero .ph-credit{position:absolute;right:8px;bottom:6px;font-size:.62rem;color:rgba(255,255,255,.8);text-shadow:0 1px 2px rgba(0,0,0,.6);z-index:2}
.route-hero .ph-credit a{color:inherit}
.deal-updated{display:block;font-size:.68rem;color:#8a8199;margin-top:2px}
/* search results: trip + fare on the left, form on the right (like a results page) */
.quote-grid.trip-mode{grid-template-columns:minmax(0,1fr) 420px}
.trip-mode .quote-side{margin-top:-80px;position:sticky;top:calc(var(--header-h) + 16px)}
.trip-mode .quote-side .lead-form{padding:24px 22px;margin:0}
.trip-mode .quote-side .lead-form h2{font-size:1.3rem}
.trip-mode .quote-side .form-row{display:grid;grid-template-columns:1fr;gap:0 14px}
.trip-mode .quote-side textarea{min-height:64px}
.trip-side-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.trip-side-cards .card{margin:0}
@media (max-width:1100px){.quote-grid.trip-mode{grid-template-columns:minmax(0,1fr) 380px}.trip-side-cards{grid-template-columns:1fr}}
@media (max-width:900px){.quote-grid.trip-mode{grid-template-columns:1fr}.trip-mode .quote-side{margin-top:0;position:static;max-height:none;overflow:visible}.trip-mode .quote-side .form-row{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.trip-mode .quote-side .form-row{grid-template-columns:1fr}}
@media (max-width:900px){
  .quote-grid.trip-mode{display:flex;flex-direction:column;gap:22px}
  .trip-mode .quote-main{display:contents}
  .trip-mode .quote-main > *{order:1}
  .trip-mode .quote-main > .trip-summary{margin-top:-80px}
  .trip-mode .quote-side{order:2}
  .trip-mode .quote-main > .trip-side-cards{order:3}
}

/* compact quote form beside search results (no inner scrolling) */
.trip-mode .quote-side .lead-form{padding:20px 20px 16px;gap:0}
.trip-mode .quote-side .lead-form h2{margin:0;font-size:1.25rem}
.trip-mode .quote-side .qs-sub{margin:2px 0 12px;color:#6b6380;font-size:.85rem}
.trip-mode .quote-side .field-notes,.trip-mode .quote-side .field-flex,.trip-mode .quote-side .secure-note{display:none}
.trip-mode .quote-side .field{margin-bottom:10px}
.trip-mode .quote-side .field label{font-size:.8rem;margin-bottom:4px}
.trip-mode .quote-side .field input{padding-top:10px;padding-bottom:10px}
.trip-mode .quote-side .agree,.trip-mode .quote-side .consent,.trip-mode .quote-side .check-inline,.trip-mode .quote-side .agree-note{font-size:.72rem;line-height:1.35;margin:4px 0}
.trip-mode .quote-side .btn-lg{margin-top:10px;padding-top:13px;padding-bottom:13px}
.qs-sub{margin:0 0 10px}

.page-hero.trip-hero{padding-top:26px;padding-bottom:110px}
.page-hero.trip-hero h1{font-size:clamp(1.5rem,3vw,2rem);margin:0}
.page-hero.trip-hero p{display:none}
.trip-mode .quote-side .field > label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.trip-mode .quote-side .field{margin-bottom:9px}
.trip-mode .quote-main{gap:16px}
.deal-dates{margin:-2px 0 6px;font-size:.8rem;color:#6b6380;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* no live fare → call-first panel */
.fp-none{text-align:center;padding:6px 4px 2px}
.fp-none-ico{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#efe7fb;color:#3b0a6b;margin-bottom:12px}
.fp-none h3{font-size:clamp(1.3rem,2.6vw,1.75rem);line-height:1.25;margin:0 auto 8px;max-width:560px}
.fp-none > p{margin:0 0 18px;color:#4a4560}
.fp-none-btns{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:560px;margin:0 auto}
.fp-none-btns .btn{justify-content:center;gap:8px}
.btn-call{background:#16a34a;color:#fff;border:0;font-weight:800;letter-spacing:.02em}
.btn-call:hover{background:#12873e;color:#fff}
.fp-none-phone{margin:14px 0 0!important;font-weight:700;color:#2b2140}
.fp-none-phone a{color:#16a34a;font-size:1.15rem}
.fp-or{display:flex;align-items:center;gap:12px;max-width:560px;margin:14px auto 6px;color:#8a8199;font-size:.85rem}
.fp-or::before,.fp-or::after{content:"";flex:1;border-top:1px solid #e6dff0}
.fp-none-small{margin:0!important;color:#6b6380;font-size:.9rem}
@media (max-width:560px){.fp-none-btns{grid-template-columns:1fr}}

/* ===== v3.0 — blog & country pages ===== */
.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:22px}
.blog-grid.three{grid-template-columns:repeat(3,1fr)}
.blog-card{display:flex;flex-direction:column;background:#fff;border:1px solid #ece6f5;border-radius:20px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:0 6px 20px rgba(59,10,107,.06);transition:transform .2s,box-shadow .2s}
.blog-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(59,10,107,.14)}
.bc-img{display:block;aspect-ratio:16/9;background:var(--img,linear-gradient(135deg,#5a0e8c,#ff6a00)) center/cover no-repeat;background-image:var(--img),linear-gradient(135deg,#5a0e8c,#ff6a00)}
.bc-body{display:flex;flex-direction:column;gap:6px;padding:16px 18px 18px}
.bc-body small{color:#8a8199;font-weight:600}
.bc-body h2,.bc-body h3{font-size:1.12rem;line-height:1.3;margin:0;color:#1e1033}
.bc-body p{margin:0;color:#4a4560;font-size:.93rem}
.blog-card.featured{grid-column:1/-1;flex-direction:row}
.blog-card.featured .bc-img{flex:1.2;aspect-ratio:auto;min-height:280px}
.blog-card.featured .bc-body{flex:1;justify-content:center;padding:28px}
.blog-card.featured h2{font-size:1.6rem}
.blog-cats{margin-bottom:22px}.blog-cats .chip.active{background:#3b0a6b;color:#fff;border-color:#3b0a6b}
.blog-hero{padding-bottom:40px}.blog-hero h1{max-width:900px}
.blog-meta{opacity:.9}
.blog-cover{margin:0 0 20px}.blog-cover img{width:100%;height:auto;border-radius:18px;display:block;aspect-ratio:1200/630;object-fit:cover}
.blog-cover figcaption{font-size:.75rem;color:#8a8199;margin-top:6px}.blog-cover figcaption a{color:inherit}
.blog-lead{font-size:1.15rem;color:#2b2140;font-weight:500}
.blog-toc{background:#f6f1fc;border-radius:14px;padding:14px 18px;margin:0 0 20px}
.blog-toc ol{margin:6px 0 0;padding-left:20px}.blog-toc a{color:#5a0e8c}
.blog-body h2{scroll-margin-top:100px}
.blog-body blockquote{border-left:4px solid #ff6a00;margin:16px 0;padding:6px 16px;background:#fff7f0;border-radius:0 10px 10px 0}
.blog-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,#3b0a6b,#5a0e8c);color:#fff;border-radius:18px;padding:20px 22px;margin:24px 0}
.blog-cta b{display:block;font-size:1.15rem}.blog-cta span{opacity:.9;font-size:.92rem}
.blog-cta-btns{display:flex;gap:10px;flex-wrap:wrap}
.blog-tags .chip{margin:4px 4px 0 0}
.adm-preview-bar{background:#fff3cd;color:#664d03;text-align:center;padding:10px;font-size:.9rem}
@media (max-width:900px){.blog-grid.three{grid-template-columns:1fr 1fr}.blog-card.featured{flex-direction:column}.blog-card.featured .bc-img{min-height:200px}}
@media (max-width:600px){.blog-grid.three{grid-template-columns:1fr}.blog-cta-btns .btn{width:100%;justify-content:center}}

/* v3.2 — compact search-first hero (ASAP-style: form above the fold) */
.page-home .hero { padding: 44px 0 0; }
.hero-top { text-align: center; padding-bottom: 22px; animation: rise .8s .2s both; }
.hero-top h1 { font-size: clamp(1.5rem, 3.3vw, 2.6rem); line-height: 1.15; margin: 0 auto 18px; max-width: 1000px; color: #fff; }
.hero-top h1 .grad-text { white-space: nowrap; }
.hero-stats { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1100px; }
.hero-stats li { padding: 4px 14px; color: #fff; font-weight: 600; font-size: 1rem; }
.hero-stats li + li { border-left: 1px solid rgba(255,255,255,.28); }
.hero-stats b { color: #ffb259; font-weight: 800; }
.page-home .hero-search { padding-bottom: 30px; }
.hero-callrow { display: table; margin: 16px auto 0; padding: 9px 20px; border-radius: 999px; background: #fff; color: var(--muted); font-size: .95rem; box-shadow: var(--shadow-sm); text-align: center; }
.hero-callrow a { color: var(--o-600); font-weight: 800; }
@media (max-width: 820px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 6px; }
  .hero-stats li:nth-child(3) { border-left: 0; }
}
@media (max-width: 640px) {
  .page-home .hero { padding: 18px 0 0; }
  .hero-top { padding-bottom: 14px; }
  .hero-top h1 { font-size: 1.45rem; margin-bottom: 0; }
  .hero-top h1 .grad-text { display: block; }
  .hero-stats { display: none; }
  .hero-callrow span { display: none; }
  /* From ⇄ To side by side, dates side by side — like ASAP */
  .page-home .search-card { padding: 12px; }
  .page-home .search-tabs { margin-bottom: 10px; }
  .page-home .search-tabs .tab { padding: 7px 12px; font-size: .85rem; }
  .page-home .search-grid { grid-template-columns: 1fr auto 1fr !important; grid-template-areas: "from swap to" "dep dep ret" "pax pax pax" "go go go" !important; }
  .page-home .search-grid.no-return { grid-template-areas: "from swap to" "dep dep dep" "pax pax pax" "go go go" !important; }
  .page-home .search-grid > .sf-date:not(.sf-return) { grid-column: auto; }
  .page-home .sf-airport .sf-ico { display: none; }
  .page-home .search-grid > .swap-btn { position: static; grid-area: swap !important; align-self: center; margin: 0 -18px; width: 36px; height: 36px; transform: none; }
  .page-home .search-grid > .swap-btn:hover { transform: rotate(180deg); }
  .page-home .sf-airport + .swap-btn + .sf-airport { padding-left: 24px; }
  .page-home .sf-airport:first-child { padding-right: 22px; }
  .page-home .sf-airport .sf-input { font-size: 1rem; font-weight: 700; }
  .page-home .sf-airport .sf-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* v3.3 — full-screen airport search on phones & tablets (like ASAP) */
.sf-code { display: none; }
html.ap-open, html.ap-open body { overflow: hidden; }
.ap-sheet { position: fixed; inset: 0; z-index: 2147483000; background: #fff; display: flex; flex-direction: column; animation: fadeIn .15s; }
.ap-sheet[hidden] { display: none; }
.ap-head { display: flex; align-items: center; gap: 6px; padding: 10px 10px 10px 4px; border-bottom: 1px solid var(--line); box-shadow: 0 4px 14px rgba(40,10,80,.06); }
.ap-back, .ap-clear { flex: none; width: 44px; height: 44px; border: 0; background: none; color: var(--p-700); display: grid; place-items: center; cursor: pointer; border-radius: 12px; font-size: 1.6rem; line-height: 1; }
.ap-clear { color: var(--muted); }
.ap-field { flex: 1; min-width: 0; }
.ap-title { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ap-input { width: 100%; border: 0; outline: 0; padding: 2px 0; font: inherit; font-size: 1.15rem; font-weight: 600; color: var(--ink); background: none; -webkit-appearance: none; appearance: none; }
.ap-input::-webkit-search-cancel-button { display: none; }
.ap-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.ap-list { list-style: none; margin: 0; padding: 4px 0 24px; }
.ap-label { padding: 14px 18px 6px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ap-item { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #f3eefa; cursor: pointer; }
.ap-item:active { background: var(--p-50); }
.ap-item.city .ac-ico { background: #fff1e6; color: var(--o-600); }
.ap-text { flex: 1; min-width: 0; }
.ap-text b { display: block; font-weight: 700; color: var(--ink); line-height: 1.3; }
.ap-text small { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.ap-item mark { background: #ffe9d6; color: inherit; border-radius: 3px; padding: 0 1px; }
.ap-list .ac-empty { padding: 18px; }
@media (max-width: 1024px) {
  .sf-airport .sf-input { cursor: pointer; caret-color: transparent; }
  .sf-airport .ac-list { display: none !important; }
}
@media (max-width: 640px) {
  /* Big airport code + city once chosen, like ASAP */
  .sf-airport.has-code .sf-row, .sf-airport.has-code .sf-sub { display: none; }
  .sf-airport.has-code .sf-code { display: block; padding: 2px 0 0; }
  .sf-code b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--p-800); letter-spacing: .02em; line-height: 1.1; }
  .sf-code small { display: block; color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* v3.4 — ASAP-style results page: one card, fare on the left, call + quote form on the right */
.res-wrap { background: linear-gradient(180deg, var(--p-50) 0%, #fff 340px); padding: 26px 0 50px; }
.res-shell { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 26px 26px 30px 34px; }
.res-h1 { font-size: 1rem; font-weight: 700; color: var(--muted); margin: 0 0 12px; }
.res-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--p-800); color: #fff; font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 8px; }
.res-route { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 18px; margin: 22px 0 4px; }
.rr-end b { display: block; font-size: 2.6rem; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: .01em; }
.rr-end small { display: block; color: var(--muted); font-size: 1rem; margin-top: 6px; }
.rr-to { text-align: right; }
.rr-mid { min-width: 0; }
.rr-line { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.rr-line i { flex: 1; border-top: 2px solid var(--line); }
.rr-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin-top: 6px; font-size: .82rem; color: var(--muted); }
.rr-meta span { padding: 0 10px; }
.rr-meta span + span { border-left: 1px solid var(--line); }
.rr-edit { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); }
.rr-edit:hover { color: var(--o-600); border-color: var(--o-500); }
.rr-dates { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
#editSearch { margin-top: 16px; }
.res-fare { margin-top: 26px; }
.res-fare .fp-loading { padding: 18px 0 10px; }
.res-fare .fp-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 48px; justify-content: flex-start; }
.res-fare .fp-price { display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: end; }
.res-fare .fp-price s { grid-column: 1 / -1; font-size: 1.15rem; color: var(--ink); font-weight: 700; opacity: .75; }
.res-fare .fp-price b { font-size: clamp(2.8rem, 6vw, 3.6rem); font-weight: 800; color: var(--ink); line-height: 1; }
.res-fare .fp-price small { font-size: .95rem; color: var(--muted); line-height: 1.35; padding-bottom: 6px; }
.res-fare .fp-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-weight: 600; color: var(--ink); }
.res-fare .fp-ticks li { position: relative; padding-left: 28px; }
.res-fare .fp-ticks li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 12px; height: 7px; border-left: 2.4px solid var(--ink); border-bottom: 2.4px solid var(--ink); transform: rotate(-45deg); }
.res-fare .fp-compare { font-size: .78rem; color: var(--muted); margin: 8px 0 0; }
.res-fare .fp-airlines { display: flex; flex-wrap: wrap; gap: 14px 30px; margin: 26px 0 10px; align-items: center; }
.fp-logo { display: inline-flex; align-items: center; gap: 10px; }
.fp-logo img { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; background: #fff; }
.fp-logo em { font-style: normal; font-weight: 800; color: var(--ink); font-size: .98rem; }
.fp-logo-txt em { padding: 6px 12px; border-radius: 999px; background: var(--p-50); color: var(--p-800); font-size: .88rem; }
.res-fare .fp-meta { color: var(--muted); font-weight: 600; font-size: .9rem; margin: 4px 0 16px; }
.res-fare .fp-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.fp-cta-quote { display: none; }
.fp-call-link { font-weight: 800; color: var(--p-700); }
.res-fare .fp-fine { font-size: .75rem; color: var(--muted); margin-top: 16px; }
.res-nofare { margin-top: 24px; }
.res-nofare h2 { font-size: 1.5rem; margin: 0 0 6px; }
.res-nofare p { color: var(--muted); margin: 0; }
.res-steps { list-style: none; margin: 30px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.res-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.res-steps li b { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--p-100); color: var(--p-700); font-size: .82rem; }
.res-steps strong { color: var(--ink); }
/* right column */
.res-right { background: #faf7fe; border-radius: 18px; padding: 16px; align-self: start; position: sticky; top: calc(var(--header-h) + 14px); }
.res-call { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 2px dashed #ffb27a; background: #fff6ee; border-radius: 14px; color: var(--ink); }
.res-call:hover { background: #ffefe0; }
.rc-ico { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(255,106,0,.35); }
.rc-text b { display: block; font-size: 1.22rem; font-weight: 800; color: var(--o-600); line-height: 1.15; }
.rc-text small { display: block; color: var(--muted); font-size: .82rem; margin-top: 3px; }
.res-or { display: flex; align-items: center; gap: 12px; margin: 12px 0 6px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.res-or::before, .res-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.res-form { background: none; box-shadow: none; padding: 0; margin: 0; border: 0; }
.res-form h2 { text-align: center; font-size: 1.15rem; margin: 0 0 12px; }
.rf-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 10px; }
.rf-box { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 12px; cursor: pointer; min-width: 0; font: inherit; }
.rf-box small { display: block; font-size: .72rem; color: var(--muted); }
.rf-box span { display: block; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rf-swap { width: 30px; height: 30px; margin: 0 -6px; z-index: 1; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink); }
.res-form .field { margin-bottom: 10px; }
.res-form .field input { background: #fff; padding-top: 13px; padding-bottom: 13px; }
.res-form .rf-flex { font-size: .85rem; margin: 2px 0 8px; }
.res-form .consent, .res-form .agree-note { font-size: .74rem; }
.rf-submit { margin-top: 6px; letter-spacing: .02em; }
.res-form .secure-note { font-size: .78rem; text-align: center; margin: 8px 0 0; color: var(--muted); }
@media (max-width: 1000px) {
  .res-shell { grid-template-columns: minmax(0, 1fr) 360px; padding: 22px; gap: 22px; }
  .rr-end b { font-size: 2.1rem; }
}
@media (max-width: 900px) {
  .res-wrap { padding: 14px 0 40px; }
  .res-shell { grid-template-columns: 1fr; padding: 18px 16px 22px; border-radius: 18px; }
  .res-right { position: static; }
  .fp-cta-quote { display: inline-flex; width: 100%; justify-content: center; }
  .res-fare .fp-ctas { flex-direction: column; align-items: stretch; text-align: center; }
  .res-steps { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 560px) {
  .res-route { grid-template-columns: auto 1fr auto; gap: 10px; margin-top: 16px; }
  .rr-edit { position: absolute; right: 18px; top: 18px; width: 36px; height: 36px; }
  .res-left { position: relative; }
  .res-h1 { padding-right: 44px; }
  .rr-end b { font-size: 1.9rem; }
  .rr-end small { font-size: .85rem; }
  .rr-meta { font-size: .72rem; }
  .rr-meta span { padding: 0 6px; }
  .res-fare .fp-price-row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .res-fare .fp-airlines { gap: 12px 20px; }
  .rc-text b { font-size: 1.05rem; }
}
.res-fare.fare-panel { padding: 0; background: none; box-shadow: none; border: 0; border-radius: 0; }
.res-fare .fp-airlines span.fp-logo { background: none; padding: 0; border-radius: 0; color: inherit; }
.res-fare .fp-airlines span.fp-logo-txt em { display: inline-block; }
.res-form .nl-optin { font-size: .74rem; color: var(--muted); }
.page-search .floating-actions { display: none; }
@media (max-width: 560px) {
  .res-badge { margin-right: 46px; font-size: .74rem; }
  .rf-box { padding: 6px 10px; }
  .rf-box span { font-size: .92rem; }
}
@media (max-width: 560px) { .rc-text b { font-size: 1rem; white-space: nowrap; } .rc-ico { width: 44px; height: 44px; } .fp-call-link { font-size: .92rem; } }

/* v3.5 — compact desktop calendar like ASAP: fits on screen, no Done button (closes when dates are picked) */
@media (min-width: 641px) {
  .dp-pop:not(.sheet) { padding: 12px 14px 12px; border-radius: 16px; }
  .dp-pop:not(.sheet) .dp-head { position: absolute; left: 10px; right: 10px; top: 8px; margin: 0; pointer-events: none; }
  .dp-pop:not(.sheet) .dp-head .dp-nav { pointer-events: auto; width: 30px; height: 30px; font-size: 1.25rem; border: 0; background: var(--p-50); }
  .dp-pop:not(.sheet) .dp-label { visibility: hidden; }
  .dp-pop:not(.sheet) .dp-months { gap: 22px; }
  .dp-pop:not(.sheet) .dp-title { font-size: .92rem; margin: 2px 0 6px; line-height: 30px; }
  .dp-pop:not(.sheet) .dp-grid { grid-template-columns: repeat(7, 34px); row-gap: 2px; }
  .dp-pop:not(.sheet) .dp-dow { font-size: .66rem; padding: 2px 0 4px; }
  .dp-pop:not(.sheet) .dp-day { height: 32px; font-size: .86rem; }
  .dp-pop:not(.sheet) .dp-day.today::after { bottom: 3px; width: 4px; height: 4px; margin-left: -2px; }
  .dp-pop:not(.sheet) .dp-foot { display: none; }
}

/* v3.5 — phones: quote form opens full screen from "GET A FREE QUOTE" (like ASAP), no long scrolling */
.rs-top { display: none; }
html.qs-open, html.qs-open body { overflow: hidden; }
@media (max-width: 900px) {
  .res-shell.sheet-mode .res-right { display: none; }
  .res-shell.sheet-mode .res-right.open, body > .res-right.open { display: block; position: fixed; inset: 0; align-self: stretch; justify-self: stretch; height: 100%; height: 100dvh; z-index: 2147482000; margin: 0; border-radius: 0; background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 0 16px calc(20px + env(safe-area-inset-bottom)); animation: fadeIn .18s; }
  .res-right.open .rs-top { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; background: #fff; margin: 0 -16px 10px; padding: 10px 10px 10px 16px; border-bottom: 1px solid var(--line); }
  .rs-top b { font-size: 1.05rem; }
  .rs-close { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--p-50); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
  .res-right.open .res-form h2 { display: none; }
  .res-right.open .res-call { padding: 10px 12px; }
  .res-right.open .res-or { margin: 8px 0 8px; }
  .res-right.open .res-form .field { margin-bottom: 8px; }
  .res-right.open .res-form .field input { padding-top: 11px; padding-bottom: 11px; }
  .res-right.open .res-form .rf-flex { display: none; }
  .res-right.open .secure-note { display: none; }
}

/* v3.5 — compact Travelers & class box (fits under the field, like ASAP) */
@media (min-width: 641px) {
  .pax-pop { top: calc(100% + 6px); width: 300px; padding: 12px 14px; border-radius: 14px; }
  .pax-row { padding: 4px 0; }
  .pax-row b { font-size: .92rem; }
  .pax-row small { font-size: .72rem; }
  .stepper button { width: 28px; height: 28px; font-size: 1rem; }
  .cabin-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0 10px; }
  .cabin-pills span { display: block; text-align: center; padding: 6px 8px; font-size: .78rem; }
  .pax-done { padding: 9px !important; font-size: .92rem !important; }
}
@media (min-width: 641px) {
  .pax-pop { width: 330px; }
  .pax-row { padding: 3px 0; }
  .pax-row > div:first-child { display: flex; align-items: baseline; gap: 8px; }
  .pax-row small { display: inline; }
  .cabin-pills span { white-space: nowrap; padding: 6px 4px; font-size: .74rem; }
}

/* v3.6 — results page fits on one screen (no scrolling to reach GET A FREE QUOTE), like ASAP */
.page-search .res-wrap { padding: 14px 0 40px; }
.res-shell { padding: 20px 22px 22px 30px; }
.res-h1 { font-size: .9rem; margin-bottom: 8px; }
.res-route { margin-top: 14px; }
.res-fare { margin-top: 16px; }
.res-right { padding: 12px 14px; top: calc(var(--header-h) + 10px); }
.res-call { padding: 9px 12px; gap: 12px; border-width: 1.5px; }
.rc-ico { width: 40px; height: 40px; }
.rc-ico svg { width: 20px; height: 20px; }
.rc-text b { font-size: 1.12rem; }
.rc-text small { font-size: .76rem; margin-top: 1px; }
.res-or { margin: 6px 0 2px; font-size: .74rem; }
.res-form h2 { font-size: 1.05rem; margin: 0 0 8px; }
.rf-route { margin-bottom: 8px; }
.rf-box { padding: 5px 10px; }
.rf-box small { font-size: .68rem; }
.res-form .field { margin-bottom: 8px; }
.res-form .field input { padding-top: 10px; padding-bottom: 10px; font-size: .95rem; }
.res-form .us-cc { font-size: .9rem; }
.rf-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .7rem !important; line-height: 1.35; color: var(--muted); margin: 2px 0 8px; }
.rf-consent input { margin-top: 2px; flex: none; width: 16px; height: 16px; }
.rf-submit { margin-top: 0; padding-top: 13px !important; padding-bottom: 13px !important; }
.rf-after { margin-top: 8px; }
.rf-after .nl-optin { font-size: .7rem; color: var(--muted); display: flex; gap: 8px; align-items: center; margin: 0 0 4px; }
.rf-after .agree-note { font-size: .68rem; color: var(--muted); margin: 0; line-height: 1.35; }
.res-form .form-msg:empty { display: none; }
/* desktop: keep the right column within the screen height */
@media (min-width: 901px) {
  .res-right { max-height: calc(100vh - var(--header-h) - 20px); }
}
@media (min-width: 901px) and (max-height: 760px) {
  .res-call small { display: none; }
  .res-form h2 { display: none; }
  .res-route .rr-end b { font-size: 2.2rem; }
}
/* phones: price + GET A FREE QUOTE first, details after — button visible without scrolling */
@media (max-width: 900px) {
  .page-search .res-wrap { padding: 8px 0 30px; }
  .res-shell { padding: 14px 14px 18px; }
  .res-h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .res-badge { font-size: .7rem; padding: 4px 9px; }
  .res-route { margin-top: 10px; }
  .rr-dates { font-size: .82rem; margin-top: 2px; }
  .res-fare { margin-top: 10px; }
  .res-fare .fp-loading { padding: 6px 0 4px; }
  .res-fare .fp-result { display: flex; flex-direction: column; }
  .res-fare .fp-price-row { display: contents; }
  .res-fare .fp-price { order: 1; margin-bottom: 4px; }
  .res-fare .fp-compare { order: 2; margin: 0 0 10px; }
  .res-fare .fp-ctas { order: 3; margin-bottom: 4px; }
  .res-fare .fp-airlines { order: 4; margin: 14px 0 6px; }
  .res-fare .fp-meta { order: 5; }
  .res-fare .fp-ticks { order: 6; margin-top: 4px; }
  .res-fare .fp-fine { order: 7; }
  .res-fare .fp-price b { font-size: 2.6rem; }
  .res-fare .fp-price s { font-size: 1rem; }
  .res-fare .fp-ctas .fp-call-link { font-size: .88rem; }
  /* full-screen form: everything on one screen */
  .res-right.open { padding-left: 14px; padding-right: 14px; }
  .res-right.open .rs-top { margin: 0 -14px 8px; padding: 6px 8px 6px 14px; }
  .rs-close { width: 38px; height: 38px; }
  .res-right.open .res-call { padding: 7px 10px; }
  .res-right.open .res-call small { display: none; }
  .res-right.open .res-or { margin: 4px 0 4px; }
  .res-right.open .res-form .field input { padding-top: 10px; padding-bottom: 10px; }
}
@media (max-width: 560px) { .rr-edit { top: 10px; right: 12px; width: 34px; height: 34px; } .res-badge { margin-right: 44px; } }

/* v3.7 — route header never breaks with long airport/city names */
.rr-end { min-width: 0; }
.rr-end small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.rr-to small { margin-left: auto; }
.rr-meta span { white-space: nowrap; }
.res-route { grid-template-columns: minmax(0, auto) minmax(140px, 1fr) minmax(0, auto) auto; }
@media (max-width: 900px) {
  .res-route { grid-template-columns: minmax(0, 1fr) minmax(56px, 1.1fr) minmax(0, 1fr); grid-template-areas: "from line to" "meta meta meta"; column-gap: 10px; row-gap: 0; }
  .res-route .rr-end:first-child { grid-area: from; }
  .res-route .rr-to { grid-area: to; }
  .res-route .rr-mid { display: contents; }
  .res-route .rr-line { grid-area: line; align-self: start; margin-top: 12px; }
  .res-route .rr-meta { grid-area: meta; justify-content: flex-start; margin-top: 8px; padding: 6px 0 0; border-top: 1px dashed var(--line); }
  .res-route .rr-meta span:first-child { padding-left: 0; }
  .rr-end small { max-width: 100%; }
}
@media (max-width: 900px) {
  .res-left { position: relative; }
  .rr-edit { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; }
  .res-badge { margin-right: 44px; }
}
@media (max-width: 900px) {
  .rr-end small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; overflow-wrap: anywhere; }
}
@media (max-width: 900px) {
  .res-route { align-items: start; margin-top: 16px; }
  .rr-end small { hyphens: auto; -webkit-hyphens: auto; }
}

/* v3.7 — show the full airport name under the city (no cutting) */
.rr-end small { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; display: block !important; -webkit-line-clamp: unset !important; max-width: none !important; }
.rr-ap { display: block; font-size: .8rem; color: var(--muted); opacity: .85; line-height: 1.3; margin-top: 2px; max-width: 260px; }
.rr-to .rr-ap { margin-left: auto; }
@media (max-width: 900px) {
  .rr-ap { font-size: .74rem; max-width: none; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
}
.rf-box span { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.25; overflow-wrap: anywhere; }
@media (max-width: 900px) { .rr-end small { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; } }
