:root {
  --bg: #f4f6fb;
  --card: #fff;
  --ink: #0f172a;
  --muted: #556274;
  --line: #e2e8f0;
  --brand: #1363df;
  --brand-2: #0e7490;
  --heart: #ff3d6e;
  --star: #f5a524;
  --shadow: 0 18px 40px -18px rgba(15, 23, 42, .4);
  --shadow-sm: 0 6px 20px -10px rgba(15, 23, 42, .2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body:has(.sheet[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.muted { font-size: 14px; color: var(--muted); }
.fine { margin-top: 14px; font-size: 12px; color: var(--muted); }
.glass { background: rgba(255, 255, 255, .18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .25); }

/* Views */
[data-view]:not([hidden]) { animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  padding: calc(14px + env(safe-area-inset-top)) 0 32px;
  border-radius: 0 0 36px 36px;
  overflow: hidden;
  background: #0b2540 url(https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=75) center/cover;
}
.hero .wrap { position: relative; }
.topbar { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 6px 16px -4px rgba(6, 182, 212, .6); }
.logo-mark svg { width: 22px; height: 22px; }
.call { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; }
.call span { display: none; }
.greet { margin-top: 28px; font-weight: 600; opacity: .9; }
.hero h1 { font-size: clamp(36px, 10vw, 72px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; margin-top: 6px; }
.lead { margin-top: 12px; max-width: 44ch; opacity: .88; font-size: 15px; }
.search { display: flex; align-items: center; gap: 10px; margin-top: 22px; max-width: 560px; padding: 6px 6px 6px 18px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.search:focus-within { box-shadow: var(--shadow), 0 0 0 4px rgba(6, 182, 212, .45); }
.search > svg { color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; padding: 10px 0; }
.go { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.stats li { padding: 7px 14px; border-radius: 999px; font-size: 13px; }
.stats b { font-weight: 800; }

/* Sections */
.section { margin-top: 32px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.section-head h2 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.section-head span { font-size: 13px; font-weight: 600; color: var(--muted); }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; padding: 4px 20px 20px; margin: 0 -20px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: none; scroll-snap-align: start; }

/* Featured card */
.feat { position: relative; width: min(72vw, 280px); aspect-ratio: 3 / 4; border-radius: 28px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #94a3b8, #cbd5e1); box-shadow: var(--shadow); }
.feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.feat:hover img { transform: scale(1.07); }
.feat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, transparent 35%, rgba(3, 15, 35, .85) 100%); }
.feat .info { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; }
.feat h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0 4px; }
.feat .place { color: rgba(255, 255, 255, .9); }
.from { font-size: 13px; opacity: .9; }
.from b { font-size: 16px; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.badge svg, .rating svg { width: 14px; height: 14px; fill: var(--star); stroke: var(--star); }
.hit { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }

/* Row card */
.grid { display: grid; gap: 14px; }
.grid > .empty { grid-column: 1 / -1; }
.row { position: relative; display: flex; gap: 14px; padding: 10px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.row:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.row:active { transform: scale(.98); }
.row img { width: 104px; height: 112px; flex: none; border-radius: 18px; object-fit: cover; background: var(--line); }
.row .body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding-right: 36px; }
.row h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.place { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.place svg { width: 14px; height: 14px; }
.line { display: flex; gap: 12px; font-size: 13px; color: var(--muted); }
.rating { display: flex; align-items: center; gap: 4px; font-weight: 700; color: var(--ink); }
.price { font-size: 13px; color: var(--muted); margin-top: 2px; }
.price b { font-size: 18px; font-weight: 800; color: var(--brand); }
.status { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: #fff4e0; color: #b45309; font-size: 12px; font-weight: 700; vertical-align: 2px; }

/* Round buttons on images */
.fav, .close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .22); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .2s, background .2s; }
.close { right: auto; left: 14px; }
.fav:active, .close:active { transform: scale(.9); }
.row .fav { top: 10px; right: 10px; width: 36px; height: 36px; color: var(--muted); background: #f1f5f9; }
.fav[aria-pressed="true"] { color: var(--heart); background: #fff; }
.fav[aria-pressed="true"] svg { fill: currentColor; animation: pop .35s; }
@keyframes pop { 50% { transform: scale(1.35); } }

/* Chips */
.chips { display: flex; gap: 10px; overflow-x: auto; margin: 0 -20px 16px; padding: 2px 20px 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 10px 18px; border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-sm); transition: background .2s, color .2s, transform .15s; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip:active { transform: scale(.95); }

/* Offer banner */
.offer { margin-top: 16px; padding: 28px 24px; border-radius: 28px; color: #fff; background: linear-gradient(90deg, rgba(3, 15, 35, .9), rgba(3, 15, 35, .6) 70%, rgba(3, 15, 35, .25)), #0b2540 url(https://images.unsplash.com/photo-1514282401047-d79a71a590e8?auto=format&fit=crop&w=1400&q=75) center/cover; box-shadow: var(--shadow); }
.offer .tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--star); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.offer h2 { max-width: 16ch; margin: 12px 0 6px; font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.offer p { max-width: 34ch; font-size: 15px; opacity: .92; }
.offer .btn { margin-top: 18px; background: #fff; color: var(--ink); box-shadow: none; }

/* Reviews */
.review { width: min(80vw, 320px); padding: 20px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-sm); }
.review header { display: flex; align-items: center; gap: 12px; }
.review img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--line); }
.review b { display: block; }
.review small { color: var(--muted); }
.stars { margin: 12px 0 6px; color: var(--star); letter-spacing: 2px; }
.review blockquote { color: #334155; font-size: 15px; }

/* Trust strip */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.trust li { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow-sm); }
.trust .ic { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--brand); background: #eaf2ff; }
.trust b { display: block; font-size: 14px; line-height: 1.3; }
.trust small { display: block; font-size: 12px; line-height: 1.4; color: var(--muted); }

/* How it works */
.steps { display: grid; gap: 12px; margin-bottom: 18px; }
.steps li { position: relative; padding: 20px 20px 20px 76px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-sm); }
.steps .num { position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.steps h3 { font-size: 16px; font-weight: 800; }
.steps p { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 20px; background: var(--card); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { color: var(--muted); transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 20px 18px; font-size: 15px; color: var(--muted); }
.consent { font-size: 12px; line-height: 1.45; color: var(--muted); }
.consent a { color: var(--brand); text-decoration: underline; }

/* Footer */
.footer { margin-top: 48px; padding: 40px 0 calc(120px + env(safe-area-inset-bottom)); border-radius: 36px 36px 0 0; font-size: 14px; color: rgba(255, 255, 255, .75); background: #0b1324; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand .logo { margin-bottom: 10px; color: #fff; }
.footer h3 { margin-bottom: 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.foot-links a { display: block; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer .fine { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .6); }

/* Legal page */
.legal { max-width: 760px; padding-bottom: 48px; }
.legal-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.legal-top a:last-child { font-weight: 700; color: var(--brand); }
.legal h1 { margin-top: 16px; font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.legal h2 { margin: 40px 0 10px; font-size: 24px; font-weight: 800; scroll-margin-top: 20px; }
.legal h3 { margin: 20px 0 6px; font-size: 16px; font-weight: 800; }
.legal p, .legal li { margin-bottom: 10px; color: #334155; }
.legal ul { padding-left: 22px; list-style: disc; }
.legal main a { color: var(--brand); text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 16px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 12px 24px -10px rgba(19, 99, 223, .7); transition: transform .15s, filter .2s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .6; cursor: progress; }

/* Other pages */
.page-head { padding: calc(28px + env(safe-area-inset-top)) 0 20px; }
.page-head h1 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.page-head p { margin-top: 4px; color: var(--muted); }
.empty { padding: 44px 24px; border-radius: 28px; text-align: center; background: var(--card); box-shadow: var(--shadow-sm); }
.empty .ic { width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; color: var(--brand); background: #eaf2ff; }
.empty .ic svg { width: 28px; height: 28px; }
.empty h3 { font-size: 18px; }
.empty p { margin: 4px 0 18px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.contact-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 8px; border-radius: 24px; text-align: center; background: var(--card); box-shadow: var(--shadow-sm); transition: transform .2s; }
.contact-card:active { transform: scale(.96); }
.contact-card .ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.contact-card .ic.sms { background: linear-gradient(135deg, #22c55e, #15803d); }
.contact-card .ic.mail { background: linear-gradient(135deg, #ff8a3d, #ff3d6e); }
.contact-card span:last-child { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.card { margin-top: 16px; padding: 22px; border-radius: 28px; background: var(--card); box-shadow: var(--shadow-sm); }
.card h2 { margin-bottom: 14px; font-size: 19px; font-weight: 800; }
.office { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }

/* Tab bar: bottom on phones, floating pill on desktop */
.tabbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 20; max-width: 480px; margin: 0 auto; display: flex; padding: 8px; border-radius: 24px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); box-shadow: 0 10px 40px -10px rgba(15, 23, 42, .35); user-select: none; }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0; border-radius: 16px; font-size: 11px; font-weight: 700; color: var(--muted); transition: color .2s, background .2s; }
.tabbar svg { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--brand); }
.tabbar a[aria-current="page"] svg { stroke-width: 2.4; }

/* Detail sheet */
.sheet { position: fixed; inset: auto 0 0; width: 100%; max-width: 560px; max-height: 92vh; max-height: 92dvh; margin: 0 auto; padding: 0; border: 0; border-radius: 32px 32px 0 0; background: var(--bg); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; outline: none; }
.sheet::backdrop { background: rgba(3, 15, 35, .55); backdrop-filter: blur(4px); }
.sheet[open] { animation: up .4s cubic-bezier(.2, .9, .25, 1); }
@keyframes up { from { transform: translateY(100%); } }
.sheet-hero { position: relative; height: 290px; background: linear-gradient(135deg, #94a3b8, #cbd5e1); }
.sheet-hero img { width: 100%; height: 100%; object-fit: cover; }
.sheet-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .4), transparent 45%); }
.grabber { position: absolute; top: 10px; left: 50%; z-index: 2; width: 44px; height: 5px; margin-left: -22px; border-radius: 9px; background: rgba(255, 255, 255, .75); }
.sheet-body { position: relative; margin-top: -28px; padding: 26px 20px calc(28px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; background: var(--bg); }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.sheet h2 { margin: 4px 0; font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.pills span { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; background: var(--card); box-shadow: var(--shadow-sm); }
.pills svg { width: 15px; height: 15px; color: var(--brand); }
.about { color: #334155; }
.sheet h3 { margin: 20px 0 10px; font-size: 17px; font-weight: 800; }
.tags { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tags li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.tags svg { width: 16px; height: 16px; color: #16a34a; }
.book { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; padding: 20px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-sm); }
.book h2, .book h3 { margin: 0; }
.full { grid-column: 1 / -1; }
.field { min-width: 0; display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #f8fafc; color: var(--ink); font-size: 16px; font-weight: 500; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(19, 99, 223, .14); }
.total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 10px; border-top: 1px dashed var(--line); font-weight: 600; color: var(--muted); }
.total b { font-size: 24px; font-weight: 800; color: var(--ink); }
.book .btn { padding: 16px; }

/* Toast */
.toast { position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top)); z-index: 50; width: max-content; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 18px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); transform: translate(-50%, -160%); transition: transform .45s cubic-bezier(.2, .9, .25, 1); pointer-events: none; }
.toast.show { transform: translate(-50%, 0); }

@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .hero { padding: 24px 0 88px; border-radius: 0 0 48px 48px; }
  .greet { margin-top: 64px; }
  .lead { font-size: 18px; }
  .call { padding: 0 18px; }
  .call span { display: inline; }
  .trust { position: relative; grid-template-columns: repeat(4, 1fr); margin-top: -44px; }
  .trust li { flex-direction: row; align-items: center; padding: 18px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .faq { max-width: 820px; }
  [data-view="contact"] .wrap { max-width: 760px; }
  .footer { padding-bottom: 40px; border-radius: 48px 48px 0 0; }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .foot-brand { grid-column: auto; }
  .rail { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; overflow: visible; margin: 0; padding: 4px 0 0; }
  .feat, .review { width: auto; }
  .swipe { display: none; }
  .offer { padding: 56px 48px; }
  .offer h2 { font-size: 38px; }
  .page-head { padding-top: 104px; }
  .tabbar { top: 20px; bottom: auto; left: 50%; right: auto; width: max-content; transform: translateX(-50%); margin: 0; gap: 4px; padding: 6px; border-radius: 20px; }
  .tabbar a { flex-direction: row; gap: 8px; padding: 10px 16px; font-size: 14px; border-radius: 14px; }
  .tabbar svg { width: 18px; height: 18px; }
  .sheet { inset: 0; margin: auto; border-radius: 32px; max-height: 90vh; }
  .sheet[open] { animation: pop-in .3s ease; }
  .grabber { display: none; }
}

@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@keyframes pop-in { from { opacity: 0; transform: scale(.96); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Demo notice bar: deleting its line in the HTML removes it and this offset */
.demo-bar { position: relative; z-index: 30; padding: 8px 16px; text-align: center; font-size: 12px; font-weight: 600; color: #fff; background: #0b1324; }
@media (min-width: 900px) { body:has(.demo-bar) .tabbar { top: 50px; } }

/* ---------- Motion & effects ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes kenburns { from { transform: scale(1.15); } }

/* Hero slideshow, flight path and entrance */
.hero-slides { position: absolute; inset: -60px 0 0; }
.hero-slides::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 15, 35, .6) 0%, rgba(3, 15, 35, .2) 45%, rgba(3, 15, 35, .78) 100%); }
.slide { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity 1.4s ease; }
.slide.on { opacity: 1; animation: kenburns 9s ease-out both; }
.flight { display: none; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flight .route { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2.5; stroke-dasharray: 1 12; animation: march 1.4s linear infinite; }
.flight .jet { fill: #fff; stroke: none; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); }
@keyframes march { to { stroke-dashoffset: -13; } }
.hero-copy > * { animation: rise .9s cubic-bezier(.2, .8, .2, 1) backwards; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-copy > :nth-child(6) { animation-delay: .4s; }
.rotator { display: inline-block; padding-bottom: .06em; color: transparent; background: linear-gradient(90deg, #ffd27a, #ff9a62 50%, #ff6fa3); -webkit-background-clip: text; background-clip: text; }
.rotator.swap { animation: swap .8s cubic-bezier(.2, .8, .2, 1); }
@keyframes swap { from { opacity: 0; transform: translateY(.3em); } }
.bars { display: flex; gap: 6px; margin-top: 18px; }
.bars button { position: relative; width: 32px; height: 20px; }
.bars button::before, .bars button::after { content: ''; position: absolute; left: 0; top: 8px; height: 4px; border-radius: 4px; }
.bars button::before { right: 0; background: rgba(255, 255, 255, .3); }
.bars button::after { width: 0; background: #fff; }
.bars button.on::after { animation: fill var(--slide, 6s) linear forwards; }
@keyframes fill { to { width: 100%; } }
.float-cards { display: none; }
.float-card { display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 22px; color: #fff; text-align: left; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .55); animation: bob 6s ease-in-out infinite; }
.float-card:nth-child(2) { margin-right: 70px; animation-delay: -3s; }
.float-card img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }
.float-card b { display: block; font-size: 16px; }
.float-card small { display: flex; align-items: center; gap: 4px; font-size: 13px; opacity: .9; }
.float-card svg { width: 13px; height: 13px; fill: var(--star); stroke: var(--star); }
@keyframes bob { 50% { transform: translateY(-12px); } }
.logo-mark svg { transition: transform .7s cubic-bezier(.3, 1.4, .5, 1); }
.logo:hover .logo-mark svg { transform: rotate(180deg); }

/* Scroll reveal (the .anim class is added by JS, so content stays visible without it) */
.anim .reveal:not(.in) { opacity: 0; }
.anim .reveal.in { animation: rise .8s cubic-bezier(.2, .8, .2, 1) backwards; }
.anim .reveal.in .stagger > *, .anim .reveal.in.stagger > * { animation: rise .7s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 90ms + .1s); }
.stagger > :nth-child(2) { --i: 1; }
.stagger > :nth-child(3) { --i: 2; }
.stagger > :nth-child(4) { --i: 3; }
.stagger > :nth-child(5) { --i: 4; }
.grid > * { animation: rise .55s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 45ms); }

/* Cards: 3D tilt with glare (JS sets the transform), heart burst */
.feat { transition: transform .3s ease-out; }
.feat::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .35), transparent 55%); opacity: 0; transition: opacity .3s; }
.feat:hover::before { opacity: 1; }
.fav[aria-pressed="true"]::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--heart); opacity: 0; animation: ring .55s ease-out; pointer-events: none; }
@keyframes ring { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(1.5); } }

/* Destination ribbon */
.ribbon { overflow: hidden; padding: 40px 0 16px; }
.marquee { width: 110%; margin-left: -5%; overflow: hidden; transform: rotate(-2deg); background: linear-gradient(90deg, var(--brand), var(--brand-2)); box-shadow: var(--shadow); }
.marquee-track { display: flex; width: max-content; animation: scroll 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { padding: 14px 0; font-size: clamp(24px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px #fff; }
.marquee span::after { content: '\2726'; margin: 0 28px; color: var(--star); -webkit-text-stroke: 0; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Offer countdown */
.countdown { display: flex; gap: 8px; margin-top: 18px; }
.countdown div { min-width: 58px; padding: 8px 6px; border-radius: 14px; text-align: center; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.countdown b { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }

/* How it works icons */
.steps li { transition: transform .3s, box-shadow .3s; }
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-ic { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; color: var(--brand); opacity: .15; transition: transform .4s, opacity .4s; }
.steps li:hover .step-ic { transform: rotate(-8deg) scale(1.1); opacity: .35; }

/* Buttons: shimmer sweep */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .4) 50%, transparent 65%); transform: translateX(-100%); }
.btn:hover::after { transform: translateX(100%); transition: transform .8s ease; }
.offer .btn::after, .btn.light::after { background: linear-gradient(110deg, transparent 35%, rgba(19, 99, 223, .2) 50%, transparent 65%); }
.offer .btn::after { animation: shine 3.5s ease-in-out infinite; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
.btn.light { background: #fff; color: var(--ink); box-shadow: none; }
.btn.ghost { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35); box-shadow: none; }

/* Call-to-action band with drifting ocean gradient */
.cta-band { position: relative; overflow: hidden; padding: 48px 24px; border-radius: 32px; text-align: center; color: #fff; background: linear-gradient(120deg, #0b2540, #1363df, #0e7490, #0b2540); background-size: 300% 300%; animation: aurora 14s ease-in-out infinite; box-shadow: var(--shadow); }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(rgba(255, 255, 255, .2) 1px, transparent 1px) 0 0 / 22px 22px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 18ch; margin: 0 auto; font-size: clamp(28px, 5vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.cta-band p { max-width: 46ch; margin: 12px auto 0; opacity: .9; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
@keyframes aurora { 50% { background-position: 100% 50%; } }

/* Tab bar: sliding highlight and icon hop */
.tab-ind { position: absolute; top: 0; left: 0; border-radius: 16px; background: rgba(19, 99, 223, .1); transition: transform .5s cubic-bezier(.3, 1.3, .5, 1), width .5s cubic-bezier(.3, 1.3, .5, 1); }
.tabbar a { position: relative; z-index: 1; }
.tabbar a[aria-current="page"] svg { animation: hop .5s ease; }
@keyframes hop { 40% { transform: translateY(-4px); } }

/* Detail sheet */
.sheet-hero { overflow: hidden; }
.sheet[open] .sheet-hero img { animation: kenburns 10s ease-out both; }
.sheet[open] .sheet-body { animation: rise .6s .1s cubic-bezier(.2, .8, .2, 1) backwards; }

/* Parallax hero photos where scroll-driven animations are supported */
@supports (animation-timeline: scroll()) {
  .hero-slides { animation: drift linear both; animation-timeline: scroll(); animation-range: 0 700px; }
  @keyframes drift { to { transform: translateY(60px); } }
}

@media (min-width: 900px) {
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: 40px; }
  .float-cards { display: grid; justify-items: end; gap: 18px; padding-bottom: 40px; }
  .flight { display: block; }
  .cta-band { padding: 72px 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .bars button.on::after { width: 100%; }
}
