/* ==========================================================================
   Aeronovas Tour & Travels — Design System
   Single source of truth for tokens, layout, components and the form engine UI.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --ink:        #070b1a;
  --midnight:   #0d1430;
  --navy:       #14204a;
  --navy-soft:  #1d2c60;
  --gold:       #f6b93b;
  --gold-deep:  #d99413;
  --coral:      #ff6b5e;
  --teal:       #17c8b4;
  --sky:        #3f9cff;
  --violet:     #7c6bff;

  /* Surfaces */
  --bg:         #f6f8fc;
  --bg-alt:     #eef2f9;
  --card:       #ffffff;
  --line:       #e3e9f3;
  --line-soft:  #eef2f8;

  /* Text */
  --text:       #131a2e;
  --text-2:     #414c66;
  --muted:      #626e8a;
  --muted-2:    #8b95ad;
  --on-dark:    #eef2fb;
  --on-dark-mu: #a6b1cd;

  /* Feedback */
  --ok:         #12b76a;
  --warn:       #f79009;
  --err:        #e5484d;
  --err-soft:   #fef2f2;

  /* Shape & motion */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --sh-xs: 0 1px 2px rgba(13, 20, 48, .06);
  --sh-sm: 0 4px 14px rgba(13, 20, 48, .07);
  --sh-md: 0 14px 34px rgba(13, 20, 48, .10);
  --sh-lg: 0 28px 64px rgba(13, 20, 48, .16);
  --sh-gold: 0 12px 28px rgba(246, 185, 59, .35);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --wrap: 1200px;
  --wrap-tight: 940px;
  --header-h: 76px;

  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --grad-brand: linear-gradient(135deg, #1d2c60 0%, #0d1430 55%, #14204a 100%);
  --grad-gold:  linear-gradient(135deg, #ffd579 0%, #f6b93b 45%, #e39a12 100%);
  --grad-aurora: radial-gradient(60% 80% at 15% 20%, rgba(124,107,255,.55) 0%, transparent 60%),
                 radial-gradient(50% 70% at 85% 15%, rgba(23,200,180,.45) 0%, transparent 60%),
                 radial-gradient(70% 90% at 60% 95%, rgba(63,156,255,.40) 0%, transparent 65%);
}

/* Fix a stray token typo defensively */
:root { --text-2: #414c66; }

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(63,156,255,.55); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--ink); }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: var(--text); }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.05rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.075rem; }
p  { color: var(--text-2); }
.lead { font-size: clamp(1.02rem, 1.35vw, 1.16rem); color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad-gold); }
.eyebrow.on-dark { color: var(--gold); }
.grad-text { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ---------- 4. Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.wrap-tight { max-width: var(--wrap-tight); }
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-head { max-width: 660px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: .7rem 0 .8rem; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--midnight); color: var(--on-dark); position: relative; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--on-dark-mu); }
.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.center { text-align: center; }

/* ---------- 5. Buttons & chips ---------- */
.btn {
  --btn-bg: var(--grad-gold);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .92rem 1.55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
  border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--ink);
  box-shadow: var(--sh-gold);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(246,185,59,.42); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: none; border: 1.5px solid var(--line); }
.btn--ghost:hover { background: #fff; border-color: var(--navy); box-shadow: var(--sh-sm); }
.btn--dark { background: var(--midnight); color: #fff; box-shadow: var(--sh-md); }
.btn--dark:hover { box-shadow: 0 20px 40px rgba(13,20,48,.28); }
.btn--light { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.24); box-shadow: none; backdrop-filter: blur(8px); }
.btn--light:hover { background: rgba(255,255,255,.18); }
.btn--sm { padding: .62rem 1.1rem; font-size: .86rem; }
.btn--lg { padding: 1.06rem 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .38rem .8rem; border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 700; font-family: var(--font-head);
  background: var(--bg-alt); color: var(--text-2);
}
.chip--gold  { background: rgba(246,185,59,.16); color: var(--gold-deep); }
.chip--teal  { background: rgba(23,200,180,.14); color: #0a8b7d; }
.chip--coral { background: rgba(255,107,94,.14); color: #d94436; }
.chip--sky   { background: rgba(63,156,255,.14); color: #1f6fd0; }
.chip--glass { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); }

.pill-badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  padding: .34rem .72rem; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 800; font-size: .74rem;
  background: var(--grad-gold); color: var(--ink); box-shadow: var(--sh-sm);
}

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.site-header .wrap { display: flex; align-items: center; gap: 1.4rem; }
.site-header.is-stuck { background: rgba(255,255,255,.86); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 1px 0 var(--line), var(--sh-sm); }
.brand { display: flex; align-items: center; gap: .68rem; margin-right: auto; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--grad-brand); display: grid; place-items: center;
  box-shadow: var(--sh-sm); flex: none;
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.16rem; letter-spacing: -.03em; line-height: 1.05; color: #fff; }
.brand__tag { display: block; font-size: .63rem; letter-spacing: .21em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.is-stuck .brand__name, .header--solid .brand__name { color: var(--text); }
.header--solid { background: rgba(255,255,255,.9); backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line); }
.header--solid .brand__tag { color: var(--gold-deep); }

.nav { display: flex; align-items: center; gap: .2rem; }
.nav a {
  position: relative; padding: .6rem .82rem; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 600; color: rgba(255,255,255,.86);
  transition: color .2s, background .2s;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav a.is-active { color: #fff; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; translate: -50% 0;
  width: 18px; height: 3px; border-radius: 3px; background: var(--grad-gold);
}
.is-stuck .nav a, .header--solid .nav a { color: var(--text-2); }
.is-stuck .nav a:hover, .header--solid .nav a:hover { color: var(--text); background: var(--bg-alt); }
.is-stuck .nav a.is-active, .header--solid .nav a.is-active { color: var(--navy); }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.header-phone { display: flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .9rem; color: rgba(255,255,255,.9); }
.is-stuck .header-phone, .header--solid .header-phone { color: var(--text-2); }
.header-phone svg { width: 17px; height: 17px; }

.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); place-items: center; border: 1.5px solid rgba(255,255,255,.25); }
.burger span { display: block; width: 19px; height: 2px; border-radius: 2px; background: #fff; position: relative; transition: .3s var(--ease); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 19px; height: 2px; border-radius: 2px; background: #fff; transition: .3s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.is-stuck .burger, .header--solid .burger { border-color: var(--line); }
.is-stuck .burger span, .is-stuck .burger span::before, .is-stuck .burger span::after,
.header--solid .burger span, .header--solid .burger span::before, .header--solid .burger span::after { background: var(--text); }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; rotate: 45deg; }
body.nav-open .burger span::after { top: 0; rotate: -45deg; }

/* ---------- 7. Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(3rem, 6vw, 5rem); background: var(--grad-brand); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10%; background: var(--grad-aurora); opacity: .85; filter: blur(10px); z-index: -2; animation: drift 26s ease-in-out infinite alternate; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(80% 60% at 50% 30%, #000 20%, transparent 75%);
}
@keyframes drift { from { transform: translate3d(-3%, -2%, 0) scale(1.05); } to { transform: translate3d(3%, 3%, 0) scale(1.15); } }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 4vw, 3.4rem); align-items: center; }
.hero__copy > .eyebrow { margin-bottom: 1rem; }
.hero__copy .lead { color: var(--on-dark-mu); margin: 1.15rem 0 1.9rem; max-width: 52ch; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__stats { display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.14); flex-wrap: wrap; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); color: #fff; letter-spacing: -.03em; }
.stat__num span { color: var(--gold); }
.stat__label { font-size: .8rem; color: var(--on-dark-mu); letter-spacing: .02em; }

/* Hero art — pure CSS/SVG scene stack */
.hero__art { position: relative; aspect-ratio: 1/1; }
.hero__art .orb {
  position: absolute; inset: 6% 4%; border-radius: 50%;
  background: conic-gradient(from 210deg, rgba(246,185,59,.85), rgba(124,107,255,.7), rgba(23,200,180,.8), rgba(246,185,59,.85));
  filter: blur(2px); opacity: .22; animation: spin 34s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
.hero__art .globe { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #35468f 0%, #16224c 55%, #0b1230 100%); box-shadow: inset 0 0 60px rgba(0,0,0,.5), 0 30px 80px rgba(0,0,0,.45); overflow: hidden; }
.hero__art .globe::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(246,185,59,.5) 1.2px, transparent 1.4px);
  background-size: 18px 18px; opacity: .5;
  mask-image: radial-gradient(circle at 40% 35%, #000 40%, transparent 78%);
}
.hero__art .ring { position: absolute; inset: 2%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.22); animation: spin 60s linear infinite reverse; }
.hero__art .ring--2 { inset: -6%; border-style: solid; border-color: rgba(255,255,255,.1); animation-duration: 90s; }
.hero__art .plane { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; translate: -50% -50%; animation: spin 22s linear infinite; }
.hero__art .plane i {
  position: absolute; top: -6px; left: 50%; translate: -50% 0;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--grad-gold); border-radius: 14px; box-shadow: var(--sh-gold);
  animation: spin 22s linear infinite reverse;
}
.hero__art .plane svg { width: 24px; height: 24px; }
.float-card {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: .7rem;
  padding: .7rem .9rem; border-radius: var(--r-md);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(14px); box-shadow: 0 18px 40px rgba(0,0,0,.28);
  animation: bob 6s ease-in-out infinite;
}
.float-card__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-gold); flex: none; }
.float-card__ico svg { width: 18px; height: 18px; }
.float-card b { display: block; font-family: var(--font-head); font-size: .86rem; color: #fff; }
.float-card small { color: var(--on-dark-mu); font-size: .72rem; }
.float-card--a { top: 8%; right: -2%; animation-delay: -1s; }
.float-card--b { bottom: 16%; left: -4%; animation-delay: -3s; }
.float-card--c { bottom: -1%; right: 12%; animation-delay: -5s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 8. Quick search widget ---------- */
.searchbox {
  position: relative; z-index: 6;
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
  background: rgba(255,255,255,.97); border-radius: var(--r-xl);
  box-shadow: var(--sh-lg); padding: .55rem .55rem 1.15rem;
}
.searchbox__tabs { display: flex; gap: .25rem; padding: .3rem; overflow-x: auto; scrollbar-width: none; }
.searchbox__tabs::-webkit-scrollbar { display: none; }
.searchbox__tab {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .72rem 1.1rem; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--muted);
  transition: .25s var(--ease); white-space: nowrap;
}
.searchbox__tab svg { width: 18px; height: 18px; }
.searchbox__tab:hover { color: var(--text); background: var(--bg-alt); }
.searchbox__tab[aria-selected="true"] { background: var(--midnight); color: #fff; box-shadow: var(--sh-md); }
.searchbox__panel { display: none; padding: 1.1rem .85rem 0; }
.searchbox__panel.is-active { display: block; animation: fade-up .4s var(--ease-out); }
.searchbox__fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: .7rem; align-items: end; }
.qs-field { position: relative; }
.qs-field > label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .3rem; }
.qs-field input, .qs-field select {
  width: 100%; padding: .78rem .9rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .94rem;
  transition: border-color .2s, box-shadow .2s;
}
.qs-field input:focus, .qs-field select:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(63,156,255,.14); outline: none; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 9. Cards ---------- */
.card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-xs);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: transparent; }
.card__body { padding: 1.35rem; }
.card__title { font-family: var(--font-head); font-weight: 800; font-size: 1.08rem; margin-bottom: .3rem; }
.card__meta { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--muted); }

/* Generated scene art */
.card-art { position: relative; aspect-ratio: 16/11; background: linear-gradient(160deg, var(--c1, #1d2c60), var(--c2, #0d1430)); overflow: hidden; }
.card-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,11,26,.72) 0%, rgba(7,11,26,.05) 55%, transparent 100%); }
.card-art__cap { position: absolute; z-index: 3; left: 1rem; right: 1rem; bottom: .85rem; color: #fff; }
.card-art__cap b { font-family: var(--font-head); font-size: 1.12rem; font-weight: 800; display: block; letter-spacing: -.02em; }
.card-art__cap small { font-size: .8rem; color: rgba(255,255,255,.8); }
.card:hover .card-art svg { transform: scale(1.06); transition: transform .8s var(--ease); }
.card-art svg { transition: transform .8s var(--ease); }

/* Deal card */
.deal__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1rem 1.35rem 1.35rem; border-top: 1px dashed var(--line); }
.price { display: flex; align-items: baseline; gap: .4rem; }
.price s { color: var(--muted-2); font-size: .88rem; }
.price b { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; }
.price small { color: var(--muted); font-size: .76rem; }
.rating { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; font-size: .85rem; }
.rating svg { width: 15px; height: 15px; color: var(--gold); }

/* Feature / value card */
.feature { padding: 1.7rem 1.5rem; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); transition: .4s var(--ease); }
.feature:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.feature__ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 1.05rem; background: var(--bg-alt); color: var(--navy); }
.feature__ico svg { width: 25px; height: 25px; }
.feature:nth-child(4n+1) .feature__ico { background: rgba(246,185,59,.16); color: var(--gold-deep); }
.feature:nth-child(4n+2) .feature__ico { background: rgba(23,200,180,.14); color: #0a8b7d; }
.feature:nth-child(4n+3) .feature__ico { background: rgba(63,156,255,.14); color: #1f6fd0; }
.feature:nth-child(4n+4) .feature__ico { background: rgba(124,107,255,.14); color: #5a49d6; }
.feature h3 { font-size: 1.06rem; margin-bottom: .45rem; }
.feature p { font-size: .92rem; }
.section--dark .feature { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.section--dark .feature__ico { background: rgba(255,255,255,.08); color: var(--gold); }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 1.4rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step-card { position: relative; padding: 1.6rem 1.4rem; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.step-card::before {
  counter-increment: s; content: "0" counter(s);
  font-family: var(--font-head); font-weight: 800; font-size: 2.1rem;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: .5rem; letter-spacing: -.04em;
}
.step-card h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.step-card p { font-size: .89rem; }

/* Testimonials */
.tst-rail { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .25rem 1.5rem; scrollbar-width: thin; }
.tst {
  flex: 0 0 min(400px, 84vw); scroll-snap-align: start;
  padding: 1.7rem; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-xs);
}
.tst__stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: .9rem; }
.tst__stars svg { width: 17px; height: 17px; }
.tst blockquote { font-size: .98rem; color: var(--text-2); margin-bottom: 1.15rem; }
.tst__who { display: flex; align-items: center; gap: .75rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; background: var(--grad-brand); flex: none; font-size: .92rem; }
.tst__who b { display: block; font-family: var(--font-head); font-size: .93rem; }
.tst__who small { color: var(--muted); font-size: .8rem; }

/* Accordion */
.acc { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); overflow: hidden; }
.acc + .acc { margin-top: .7rem; }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; font-family: var(--font-head); font-weight: 700; font-size: 1rem; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--gold-deep); transition: rotate .3s var(--ease); line-height: 1; }
.acc[open] summary::after { rotate: 45deg; }
.acc__body { padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: .94rem; }

/* Marquee */
.marquee { overflow: hidden; padding: 1.2rem 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__item { display: flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--muted-2); white-space: nowrap; }
.marquee__item svg { width: 20px; height: 20px; opacity: .75; }

/* CTA band */
.cta-band { position: relative; border-radius: var(--r-xl); padding: clamp(2.2rem, 5vw, 3.6rem); background: var(--grad-brand); color: #fff; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: -30%; background: var(--grad-aurora); opacity: .7; z-index: -1; }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { color: var(--on-dark-mu); max-width: 46ch; margin: .8rem 0 1.6rem; }
.cta-band__grid { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

/* ---------- 10. Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-mu); padding: clamp(3rem, 6vw, 4.5rem) 0 0; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1.05rem; letter-spacing: .01em; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(1.6rem, 3vw, 2.6rem); }
.footer__grid a { font-size: .92rem; display: inline-block; padding: .22rem 0; transition: color .2s, translate .2s; }
.footer__grid a:hover { color: var(--gold); translate: 3px 0; }
.footer__about p { color: var(--on-dark-mu); font-size: .92rem; margin: 1rem 0 1.3rem; max-width: 34ch; }
.socials { display: flex; gap: .55rem; }
.socials a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.socials a:hover { background: var(--gold); color: var(--ink); translate: 0 -3px; }
.socials svg { width: 18px; height: 18px; }
.newsletter { display: flex; gap: .5rem; margin-top: .9rem; }
.newsletter input { flex: 1; min-width: 0; padding: .8rem 1rem; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; font-size: .9rem; }
.newsletter input::placeholder { color: #7c87a5; }
.footer__bar { margin-top: clamp(2.4rem, 5vw, 3.4rem); border-top: 1px solid rgba(255,255,255,.1); padding: 1.3rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; }
.footer__bar a:hover { color: var(--gold); }

/* ---------- 11. Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(2.6rem, 5vw, 4rem)) 0 clamp(2.6rem, 5vw, 4rem); background: var(--grad-brand); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: -30%; background: var(--grad-aurora); opacity: .8; z-index: -1; animation: drift 30s ease-in-out infinite alternate; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 22ch; }
.page-hero p { color: var(--on-dark-mu); max-width: 58ch; margin-top: .95rem; }
.crumbs { display: flex; align-items: center; gap: .5rem; font-size: .84rem; color: var(--on-dark-mu); margin-bottom: 1.1rem; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { opacity: .5; }
.page-hero__badges { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- 12. Form engine ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(1.5rem, 3vw, 2.4rem); align-items: start; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-md); overflow: hidden; }

/* progress rail */
.wizard-rail { display: flex; gap: .3rem; padding: 1.1rem clamp(1rem, 2.4vw, 1.9rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fbfcfe, #fff); overflow-x: auto; scrollbar-width: none; }
.wizard-rail::-webkit-scrollbar { display: none; }
.rail-step { display: flex; align-items: center; gap: .6rem; padding: .5rem .7rem; border-radius: var(--r-pill); flex: none; transition: .3s var(--ease); }
.rail-step__dot {
  width: 27px; height: 27px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: .8rem;
  background: var(--bg-alt); color: var(--muted-2); border: 1.5px solid var(--line);
  transition: .3s var(--ease);
}
.rail-step__label { font-family: var(--font-head); font-weight: 700; font-size: .84rem; color: var(--muted-2); white-space: nowrap; }
.rail-step.is-current { background: rgba(246,185,59,.13); }
.rail-step.is-current .rail-step__dot { background: var(--grad-gold); color: var(--ink); border-color: transparent; box-shadow: var(--sh-gold); }
.rail-step.is-current .rail-step__label { color: var(--gold-deep); }
.rail-step.is-done .rail-step__dot { background: var(--ok); border-color: transparent; color: #fff; }
.rail-step.is-done .rail-step__label { color: var(--text-2); }
.rail-step.is-done .rail-step__dot::after { content: "✓"; }
.rail-step.is-done .rail-step__dot span { display: none; }
.rail-sep { flex: none; align-self: center; width: 16px; height: 1.5px; background: var(--line); border-radius: 2px; }

.wizard-bar { height: 4px; background: var(--line-soft); }
.wizard-bar__fill { height: 100%; width: 0; background: var(--grad-gold); transition: width .5s var(--ease-out); }

.wizard-body { padding: clamp(1.3rem, 3vw, 2.2rem); }
.step { display: none; }
.step.is-active { display: block; animation: step-in .45s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.step__head { margin-bottom: 1.5rem; }
.step__head h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-bottom: .35rem; }
.step__head p { font-size: .93rem; color: var(--muted); }
.step__kicker { font-family: var(--font-head); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); display: block; margin-bottom: .5rem; }

fieldset { border: 0; padding: 0; }
.fs { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fcfdff; }
.fs + .fs { margin-top: 1.1rem; }
.fs > legend, .fs__legend {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 800; font-size: .95rem; color: var(--navy);
  padding: 0 0 .95rem;
}
.fs__legend svg { width: 18px; height: 18px; color: var(--gold-deep); }
.fs__legend .tagline { font-weight: 500; font-size: .82rem; color: var(--muted-2); font-family: var(--font-body); margin-left: auto; }
.fs--leg { border-left: 3px solid var(--gold); }
.fs--return { border-left: 3px solid var(--teal); }

.fgrid { display: grid; gap: .95rem 1rem; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.f-1 { grid-column: span 1; } .f-2 { grid-column: span 2; } .f-3 { grid-column: span 3; } .f-4 { grid-column: span 4; }
.f-5 { grid-column: span 5; } .f-6 { grid-column: span 6; } .f-7 { grid-column: span 7; } .f-8 { grid-column: span 8; }
.f-9 { grid-column: span 9; } .f-10 { grid-column: span 10; } .f-11 { grid-column: span 11; } .f-12 { grid-column: span 12; }


.field { position: relative; display: flex; flex-direction: column; gap: .34rem; min-width: 0; }
.field > label, .field .lbl { font-family: var(--font-head); font-size: .84rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: .32rem; }
.field .req { color: var(--err); font-weight: 700; }
.field .hint { font-size: .76rem; color: var(--muted-2); }
.ctrl {
  width: 100%; padding: .8rem .92rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: #fff;
  font-size: .94rem; font-weight: 500; color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
  min-width: 0;
}
.ctrl::placeholder { color: #a9b2c6; font-weight: 400; }
.ctrl:hover { border-color: #cdd6e6; }
.ctrl:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(63,156,255,.14); background: #fff; }
select.ctrl {
  appearance: none; cursor: pointer; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23626e8a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; background-size: 16px;
}
textarea.ctrl { min-height: 120px; resize: vertical; line-height: 1.55; }
.ctrl[readonly] { background: var(--bg-alt); color: var(--muted); cursor: default; }
input[type="date"].ctrl, input[type="time"].ctrl { cursor: pointer; }
.ctrl.has-error { border-color: var(--err); background: var(--err-soft); }
.ctrl.has-error:focus { box-shadow: 0 0 0 4px rgba(229,72,77,.14); }
.err-msg { display: none; font-size: .78rem; font-weight: 600; color: var(--err); align-items: center; gap: .3rem; }
.err-msg::before { content: "⚠"; }
.field.is-invalid .err-msg { display: flex; }

/* input with prefix (phone) */
.input-group { display: flex; gap: .45rem; }
.input-group select.ctrl { flex: 0 0 118px; }
.input-group input.ctrl { flex: 1; }

/* segmented radio group */
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .62rem 1rem; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .87rem; color: var(--muted);
  cursor: pointer; transition: .25s var(--ease); user-select: none;
}
.seg label svg { width: 16px; height: 16px; }
.seg label:hover { border-color: #c6d0e2; color: var(--text); }
.seg input:checked + label { background: var(--midnight); border-color: var(--midnight); color: #fff; box-shadow: var(--sh-sm); }
.seg input:focus-visible + label { outline: 3px solid rgba(63,156,255,.5); outline-offset: 2px; }

/* card-style choices (class / fare / cabin) */
.choice-grid { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  display: block; height: 100%; padding: .85rem .95rem;
  border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff;
  cursor: pointer; transition: .25s var(--ease);
}
.choice label b { display: block; font-family: var(--font-head); font-size: .9rem; font-weight: 800; }
.choice label small { display: block; font-size: .76rem; color: var(--muted-2); margin-top: .15rem; line-height: 1.4; }
.choice label:hover { border-color: #c6d0e2; box-shadow: var(--sh-xs); transform: translateY(-2px); }
.choice input:checked + label { border-color: var(--gold); background: rgba(246,185,59,.09); box-shadow: 0 0 0 3px rgba(246,185,59,.18); }
.choice input:checked + label b { color: var(--gold-deep); }
.choice input:focus-visible + label { outline: 3px solid rgba(63,156,255,.5); outline-offset: 2px; }

/* checkbox / switch */
.check { display: flex; gap: .65rem; align-items: flex-start; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; transition: .22s var(--ease); }
.check:hover { border-color: #c6d0e2; }
.check input { width: 19px; height: 19px; margin-top: .12rem; accent-color: var(--gold-deep); flex: none; cursor: pointer; }
.check span { font-size: .88rem; font-weight: 600; }
.check small { display: block; font-weight: 400; color: var(--muted-2); font-size: .78rem; }
.check:has(input:checked) { border-color: var(--gold); background: rgba(246,185,59,.07); }
.check-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* stepper (counters) */
.stepper { display: flex; align-items: center; gap: .55rem; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 1.15rem; font-weight: 700; color: var(--navy); transition: .2s; flex: none; }
.stepper button:hover { border-color: var(--navy); background: var(--midnight); color: #fff; }
.stepper input { width: 56px; text-align: center; padding: .55rem .3rem; border-radius: var(--r-xs); border: 1.5px solid var(--line); font-weight: 700; font-family: var(--font-head); }

/* repeater (travellers / rooms) */
.rep-item { position: relative; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 1.1rem; box-shadow: var(--sh-xs); animation: step-in .35s var(--ease-out); }
.rep-item + .rep-item { margin-top: .9rem; }
.rep-item__bar { display: flex; align-items: center; gap: .6rem; margin-bottom: .95rem; padding-bottom: .8rem; border-bottom: 1px dashed var(--line); }
.rep-item__n { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .82rem; flex: none; }
.rep-item__title { font-family: var(--font-head); font-weight: 800; font-size: .95rem; }
.rep-item__title small { display: block; font-weight: 500; font-size: .76rem; color: var(--muted-2); font-family: var(--font-body); }
.rep-remove { margin-left: auto; display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .7rem; border-radius: var(--r-pill); font-size: .8rem; font-weight: 700; color: var(--err); background: var(--err-soft); transition: .2s; }
.rep-remove:hover { background: var(--err); color: #fff; }
.rep-remove svg { width: 14px; height: 14px; }
.rep-add {
  display: flex; align-items: center; justify-content: center; gap: .55rem; width: 100%;
  margin-top: .9rem; padding: .95rem; border-radius: var(--r-md);
  border: 1.8px dashed #c9d4e7; background: #fbfcfe;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--navy);
  transition: .25s var(--ease);
}
.rep-add:hover { border-color: var(--gold); background: rgba(246,185,59,.08); color: var(--gold-deep); }
.rep-add svg { width: 18px; height: 18px; }
.rep-note { font-size: .8rem; color: var(--muted-2); margin-top: .55rem; }
.rep-empty { padding: 1.4rem; text-align: center; color: var(--muted-2); font-size: .9rem; border: 1.5px dashed var(--line); border-radius: var(--r-md); background: #fbfcfe; }

/* conditional reveal */
[data-show-when] { display: none; }
[data-show-when].is-shown { display: block; animation: step-in .4s var(--ease-out); }

/* dropzone */
.dropzone {
  position: relative; display: grid; place-items: center; gap: .5rem;
  padding: clamp(1.6rem, 4vw, 2.6rem); text-align: center;
  border: 2px dashed #c9d4e7; border-radius: var(--r-lg);
  background: linear-gradient(180deg, #fbfcfe, #f5f8fd); cursor: pointer;
  transition: .28s var(--ease);
}
.dropzone:hover { border-color: var(--gold); background: rgba(246,185,59,.06); }
.dropzone.is-drag { border-color: var(--sky); background: rgba(63,156,255,.09); transform: scale(1.01); }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone__ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-gold); box-shadow: var(--sh-gold); }
.dropzone__ico svg { width: 27px; height: 27px; color: var(--ink); }
.dropzone b { font-family: var(--font-head); font-size: 1rem; }
.dropzone span { font-size: .85rem; color: var(--muted); }
.dropzone em { font-style: normal; color: var(--gold-deep); font-weight: 700; text-decoration: underline; }
.file-list { margin-top: 1rem; display: grid; gap: .6rem; }
.file-row { display: flex; align-items: center; gap: .8rem; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; animation: step-in .3s var(--ease-out); }
.file-row__ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-alt); color: var(--navy); flex: none; font-size: .68rem; font-weight: 800; font-family: var(--font-head); text-transform: uppercase; }
.file-row__ico.is-img { background: rgba(23,200,180,.14); color: #0a8b7d; }
.file-row__ico.is-pdf { background: rgba(229,72,77,.12); color: #c93438; }
.file-row__meta { min-width: 0; flex: 1; }
.file-row__meta b { display: block; font-size: .88rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-row__meta small { font-size: .76rem; color: var(--muted-2); }
.file-row__x { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--bg-alt); flex: none; transition: .2s; }
.file-row__x:hover { background: var(--err); color: #fff; }
.file-row__x svg { width: 15px; height: 15px; }
.file-row.is-bad { border-color: var(--err); background: var(--err-soft); }
.file-thumb { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; flex: none; }

/* notices */
.notice { display: flex; gap: .75rem; padding: .95rem 1.05rem; border-radius: var(--r-md); font-size: .88rem; align-items: flex-start; }
.notice svg { width: 19px; height: 19px; flex: none; margin-top: .1rem; }
.notice--info { background: rgba(63,156,255,.09); color: #17518f; border: 1px solid rgba(63,156,255,.22); }
.notice--gold { background: rgba(246,185,59,.12); color: #8a5c04; border: 1px solid rgba(246,185,59,.3); }
.notice--err  { background: var(--err-soft); color: #a92e32; border: 1px solid rgba(229,72,77,.25); }
.notice b { font-family: var(--font-head); }

/* wizard footer */
.wizard-foot { display: flex; align-items: center; gap: .8rem; padding: 1.1rem clamp(1rem, 2.4vw, 2.2rem); border-top: 1px solid var(--line); background: #fbfcfe; flex-wrap: wrap; }
.wizard-foot .spacer { flex: 1; }
.step-count { font-size: .82rem; color: var(--muted-2); font-weight: 600; }
.save-state { font-size: .78rem; color: var(--ok); font-weight: 700; display: none; align-items: center; gap: .3rem; }
.save-state.is-on { display: flex; animation: fade-up .3s var(--ease-out); }

/* review */
.review-block { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.review-block + .review-block { margin-top: .85rem; }
.review-block__head { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; background: #f7f9fd; border-bottom: 1px solid var(--line); }
.review-block__head b { font-family: var(--font-head); font-size: .9rem; }
.review-edit { margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--sky); }
.review-edit:hover { text-decoration: underline; }
.review-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .1rem 1.4rem; padding: .9rem 1rem; }
.review-row { display: flex; justify-content: space-between; gap: 1rem; padding: .42rem 0; border-bottom: 1px dashed var(--line-soft); font-size: .875rem; }
.review-row dt { color: var(--muted); }
.review-row dd { font-weight: 700; text-align: right; word-break: break-word; }

/* success panel */
.success { display: none; text-align: center; padding: clamp(2rem, 5vw, 3.4rem) clamp(1rem, 3vw, 2rem); }
.success.is-on { display: block; animation: step-in .5s var(--ease-out); }
.success__tick { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 1.4rem; display: grid; place-items: center; background: rgba(18,183,106,.12); color: var(--ok); position: relative; }
.success__tick::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(18,183,106,.25); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.success__tick svg { width: 42px; height: 42px; }
.success h2 { margin-bottom: .6rem; }
.success p { max-width: 52ch; margin: 0 auto 1.5rem; }
.ref-box { display: inline-flex; align-items: center; gap: .75rem; padding: .75rem 1.15rem; border-radius: var(--r-pill); background: var(--bg-alt); border: 1.5px dashed var(--line); margin-bottom: 1.7rem; }
.ref-box small { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.ref-box b { font-family: var(--font-head); font-size: 1.02rem; letter-spacing: .06em; }
.success__actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
.summary-pre {
  margin-top: 1.8rem; text-align: left; max-height: 300px; overflow: auto;
  padding: 1.1rem; border-radius: var(--r-md); background: var(--midnight); color: #cfd8ee;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .78rem; line-height: 1.65;
  white-space: pre-wrap; word-break: break-word;
}

/* sticky aside */
.aside { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 1rem; }
.aside-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: 1.3rem; box-shadow: var(--sh-xs); }
.aside-card h4 { display: flex; align-items: center; gap: .5rem; margin-bottom: .9rem; font-size: .96rem; }
.aside-card h4 svg { width: 18px; height: 18px; color: var(--gold-deep); }
.aside-card ul { display: grid; gap: .6rem; }
.aside-card li { display: flex; gap: .55rem; font-size: .875rem; color: var(--text-2); align-items: flex-start; }
.aside-card li svg { width: 16px; height: 16px; color: var(--ok); flex: none; margin-top: .18rem; }
.aside-card--dark { background: var(--grad-brand); border-color: transparent; color: var(--on-dark); }
.aside-card--dark h4 { color: #fff; }
.aside-card--dark li { color: var(--on-dark-mu); }
.aside-card--dark li svg { color: var(--gold); }
.help-row { display: flex; align-items: center; gap: .7rem; padding: .7rem 0; }
.help-row + .help-row { border-top: 1px solid rgba(255,255,255,.12); }
.help-row__ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.1); flex: none; }
.help-row__ico svg { width: 18px; height: 18px; color: var(--gold); }
.help-row b { display: block; font-family: var(--font-head); font-size: .9rem; color: #fff; }
.help-row small { font-size: .78rem; color: var(--on-dark-mu); }
.trust-row { display: flex; gap: .5rem; flex-wrap: wrap; }

/* live mini-summary in aside */
.mini-sum { display: grid; gap: .5rem; }
.mini-sum__row { display: flex; justify-content: space-between; gap: .8rem; font-size: .84rem; padding-bottom: .5rem; border-bottom: 1px dashed var(--line); }
.mini-sum__row:last-child { border: 0; padding: 0; }
.mini-sum__row span { color: var(--muted); }
.mini-sum__row b { font-weight: 700; text-align: right; }

/* ---------- 13. Utilities & animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }
.reveal[data-d="4"] { transition-delay: .36s; }
.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; }
.mt-1 { margin-top: .6rem; } .mt-2 { margin-top: 1.1rem; } .mt-3 { margin-top: 1.7rem; } .mt-4 { margin-top: 2.4rem; }
.mb-2 { margin-bottom: 1.1rem; }
.toast {
  position: fixed; left: 50%; bottom: 26px; translate: -50% 120%; z-index: 300;
  display: flex; align-items: center; gap: .6rem;
  padding: .85rem 1.25rem; border-radius: var(--r-pill);
  background: var(--midnight); color: #fff; font-weight: 600; font-size: .9rem;
  box-shadow: var(--sh-lg); transition: translate .45s var(--ease-out);
}
.toast.is-on { translate: -50% 0; }
.toast svg { width: 18px; height: 18px; color: var(--gold); }

/* ---------- 14. Responsive ---------- */
@media (max-width: 1080px) {
  .form-shell { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .searchbox__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .searchbox__fields .btn { width: 100%; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { width: min(440px, 78vw); max-width: 440px; margin-inline: auto; order: -1; }
  .float-card--a { right: 2%; } .float-card--b { left: 0; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .burger { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; z-index: 99;
    flex-direction: column; align-items: stretch; gap: .15rem;
    padding: 1rem clamp(1rem, 4vw, 2rem) 1.6rem;
    background: rgba(255,255,255,.98); backdrop-filter: blur(20px);
    box-shadow: var(--sh-lg);
    clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none;
    transition: clip-path .45s var(--ease-out), opacity .3s;
  }
  body.nav-open .nav { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
  .nav a { color: var(--text) !important; padding: .85rem 1rem; border-radius: var(--r-sm); font-size: 1rem; }
  .nav a.is-active { background: var(--bg-alt); }
  .nav a.is-active::after { display: none; }
  .header-phone { display: none; }
  .g-3, .g-4, .g-2 { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .aside { grid-template-columns: minmax(0, 1fr); }
  .f-1, .f-2, .f-3, .f-4, .f-5, .f-6, .f-7, .f-8, .f-9, .f-10, .f-11 { grid-column: span 12; }
  .searchbox__fields { grid-template-columns: minmax(0, 1fr); }
  .review-list { grid-template-columns: minmax(0, 1fr); }
  .wizard-rail .rail-step__label { display: none; }
  .wizard-rail { justify-content: space-between; }
  .rail-sep { flex: 1; }
  .cta-band__grid { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .fs { padding: 1rem .85rem; }
  .btn { padding: .85rem 1.25rem; }
  .float-card--c { display: none; }
}

@media print {
  .site-header, .site-footer, .wizard-foot, .aside, .page-hero, .success__actions { display: none !important; }
  .form-card { box-shadow: none; border: 0; }
  body { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 15. Currency switch ---------- */
.cur-toggle { display: flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.is-stuck .cur-toggle, .header--solid .cur-toggle { background: var(--bg-alt); border-color: var(--line); }
.cur-toggle button {
  padding: .34rem .64rem; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 800; font-size: .78rem;
  color: rgba(255,255,255,.75); transition: .22s var(--ease);
}
.is-stuck .cur-toggle button, .header--solid .cur-toggle button { color: var(--muted); }
.cur-toggle button[aria-selected="true"] { background: var(--grad-gold); color: var(--ink); box-shadow: var(--sh-xs); }
.cur-note { font-size: .78rem; color: var(--muted-2); }

/* ---------- 16. Contact split & map ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(1.5rem, 3vw, 2.6rem); align-items: start; }
.info-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: 1.4rem; box-shadow: var(--sh-xs); }
.info-row { display: flex; gap: .85rem; padding: .9rem 0; align-items: flex-start; }
.info-row + .info-row { border-top: 1px solid var(--line-soft); }
.info-row__ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-alt); color: var(--navy); flex: none; }
.info-row__ico svg { width: 20px; height: 20px; }
.info-row b { display: block; font-family: var(--font-head); font-size: .92rem; margin-bottom: .1rem; }
.info-row span, .info-row a { font-size: .89rem; color: var(--muted); }
.info-row a:hover { color: var(--gold-deep); }
.map-art { position: relative; height: 230px; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(150deg, #dfe8f5, #eef2f9); border: 1px solid var(--line); }
.map-art::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(20,32,74,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(20,32,74,.09) 1px, transparent 1px);
  background-size: 26px 26px;
}
.map-art__roads { position: absolute; inset: 0; }
.map-art__pin { position: absolute; top: 44%; left: 50%; translate: -50% -100%; width: 44px; height: 44px; border-radius: 50% 50% 50% 4px; rotate: -45deg; background: var(--grad-gold); box-shadow: var(--sh-md); display: grid; place-items: center; }
.map-art__pin svg { width: 20px; height: 20px; rotate: 45deg; color: var(--ink); }
.map-art__label { position: absolute; bottom: 12px; left: 12px; right: 12px; padding: .6rem .8rem; border-radius: var(--r-sm); background: rgba(255,255,255,.92); backdrop-filter: blur(6px); font-size: .82rem; font-weight: 600; box-shadow: var(--sh-xs); }

/* ---------- 17. Admin dashboard ---------- */
.adm { padding: calc(var(--header-h) + 1.6rem) 0 4rem; }
.adm-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.adm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.6rem; }
.adm-stat { padding: 1.15rem 1.25rem; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-xs); }
.adm-stat b { display: block; font-family: var(--font-head); font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; }
.adm-stat span { font-size: .8rem; color: var(--muted); }
.adm-bar { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.1rem; }
.adm-bar input, .adm-bar select { padding: .6rem .8rem; border-radius: var(--r-sm); border: 1.5px solid var(--line); font-size: .9rem; background: #fff; }
.adm-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; font-size: .88rem; }
.adm-table th { text-align: left; padding: .8rem 1rem; background: #f7f9fd; font-family: var(--font-head); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
.adm-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.adm-table tr:last-child td { border-bottom: 0; }
.adm-table tbody tr:hover { background: #fbfcfe; }
.adm-table .ref { font-family: ui-monospace, Consolas, monospace; font-weight: 700; font-size: .82rem; }
.adm-wrap { overflow-x: auto; border-radius: var(--r-lg); }
.adm-detail { margin-top: 1.4rem; }
.adm-empty { padding: 3rem 1rem; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: var(--r-lg); }
.adm-files { display: flex; gap: .4rem; flex-wrap: wrap; }
.adm-files a { font-size: .78rem; padding: .2rem .55rem; border-radius: var(--r-pill); background: var(--bg-alt); font-weight: 700; }
.adm-files a:hover { background: var(--gold); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .adm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 18. Contrast & wrapping corrections ---------- */
/* icons that sit on gold or dark-navy chips must be explicitly coloured,
   otherwise they inherit the surrounding text colour and disappear */
.brand__mark            { color: var(--gold); }
.hero__art .plane i     { color: var(--ink); }
.float-card__ico        { color: var(--ink); }
.dropzone__ico          { color: var(--ink); }
.rep-item__n            { color: #fff; }
.cur-toggle button      { white-space: nowrap; }
.header-phone           { white-space: nowrap; }
.header-phone span      { white-space: nowrap; }
.searchbox__tab         { white-space: nowrap; }
@media (max-width: 1180px) { .header-phone { display: none; } }
.review-block__head svg { width: 18px; height: 18px; flex: none; color: var(--ok); }
.chip svg, .rail-step svg { width: 15px; height: 15px; flex: none; }
.crumbs svg, .mini-sum svg { width: 14px; height: 14px; }

/* ==========================================================================
   19. Mobile pass
   Phones were cramped: the header action row pushed the burger off-screen,
   the decorative hero art collided with the headline, and the wizard's
   Continue button sat below the fold on long steps.
   ========================================================================== */

/* ---- tablets and below ---- */
@media (max-width: 900px) {
  /* the header keeps only what a thumb needs: brand, currency, menu */
  .header-cta { margin-left: auto; flex-shrink: 0; gap: .45rem; }
  .header-cta > .btn { display: none; }           /* moved into the drawer */
  .burger { flex: none; }

  /* decorative orbit art must never sit on top of the words */
  .hero__grid { gap: 1.4rem; }
  .hero__art { order: -1; width: min(260px, 62vw); margin: 0 auto .4rem; }
  .hero__art .float-card { display: none; }
  .hero__copy .lead { max-width: none; }
  .hero__stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.1rem 1rem; }

  /* comfortable tap targets everywhere */
  .btn { min-height: 46px; }
  .btn--sm { min-height: 40px; }
  .ctrl, .qs-field input, .qs-field select { min-height: 48px; font-size: 16px; } /* 16px stops iOS zoom-on-focus */
  select.ctrl { background-position: right 1rem center; }
  .seg label, .rail-step { min-height: 44px; }
  .check { min-height: 48px; align-items: center; }
  .stepper button { width: 42px; height: 42px; }
  .stepper input { width: 62px; min-height: 42px; }
  .file-row__x { width: 40px; height: 40px; }
  .socials a { width: 44px; height: 44px; }

  /* one decision per row reads better on a narrow screen */
  .choice-grid { grid-template-columns: minmax(0, 1fr); }
  .check-grid { grid-template-columns: minmax(0, 1fr); }

  /* the primary action follows you down the form */
  .wizard-foot {
    position: sticky; bottom: 0; z-index: 20;
    display: flex; flex-wrap: nowrap; gap: .55rem;
    padding: .75rem clamp(.85rem, 3vw, 1.2rem);
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(13, 20, 48, .1);
  }
  .wizard-foot .spacer,
  .wizard-foot .step-count,
  .wizard-foot .save-state,
  .wizard-foot [data-clear-draft] { display: none !important; }
  .wizard-foot [data-next],
  .wizard-foot [data-submit] { flex: 1 1 auto; }
  .wizard-foot [data-prev] { flex: 0 0 auto; padding-inline: 1.1rem; }

  .form-card { border-radius: var(--r-lg); }
  .searchbox { border-radius: var(--r-lg); padding: .4rem .4rem 1rem; }
  .deal__foot { flex-direction: column; align-items: stretch; gap: .8rem; }
  .deal__foot .btn { width: 100%; }
  .toast { left: 16px; right: 16px; translate: 0 120%; max-width: none; }
  .toast.is-on { translate: 0 0; }
  .summary-pre { font-size: .72rem; }
  .adm-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .adm-bar > * { flex: 1 1 100%; }
}

/* ---- the drawer gets the actions the header gave up ---- */
.nav-actions { display: none; }
@media (max-width: 900px) {
  .nav-actions {
    display: grid; gap: .5rem;
    margin-top: .8rem; padding-top: .9rem;
    border-top: 1px solid var(--line);
  }
  .nav-actions .btn { width: 100%; }
  .nav-actions__phone {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    font-weight: 700; font-size: .95rem; color: var(--text-2); padding: .5rem;
  }
  .nav-actions__phone svg { width: 17px; height: 17px; color: var(--gold-deep); }
  .nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
}

/* ---- small phones ---- */
@media (max-width: 430px) {
  .brand__mark { width: 38px; height: 38px; border-radius: 11px; }
  .brand__name { font-size: 1.04rem; }
  .brand__tag { font-size: .58rem; letter-spacing: .16em; }
  .cur-toggle button { padding: .3rem .5rem; font-size: .72rem; }
  .hero__art { width: min(210px, 56vw); }
  .hero__actions .btn { width: 100%; }
  .page-hero__badges .chip { font-size: .72rem; }
  .fs { padding: .9rem .8rem; }
  .wizard-body { padding: 1.05rem .85rem; }
  .rep-item { padding: .9rem .8rem; }
  .dropzone { padding: 1.3rem .9rem; }
  .ref-box { flex-wrap: wrap; justify-content: center; }
  .success__actions .btn { width: 100%; }
  .tst { flex-basis: 88vw; }
}

/* ---- 20. Mobile drawer opacity + working sticky footer ----------------
   `position: sticky` resolves against the nearest scroll container, so an
   ancestor with overflow:hidden (the form card, and body's overflow-x guard)
   silently disables it. overflow-x:clip guards the same overflow without
   creating a scrollport.                                                   */
body { overflow-x: clip; }

@media (max-width: 900px) {
  .nav {
    background: #fff;                       /* opaque: the page must not read through */
    min-height: calc(100dvh - var(--header-h));
    padding-bottom: 2rem;
    box-shadow: 0 20px 50px rgba(13, 20, 48, .28);
  }
  .form-card { overflow: visible; }         /* let the footer stick */
  .wizard-rail { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .wizard-foot { border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .success { border-radius: var(--r-lg); overflow: hidden; }
}

/* ---- 21. Very small phones (iPhone SE, 320px) --------------------------
   The header row (brand + currency + menu) is the tightest thing on the
   site, so below 380px the currency codes collapse to their symbols.     */
@media (max-width: 380px) {
  .site-header .wrap { padding-inline: .75rem; gap: .5rem; }
  .header-cta { gap: .3rem; }
  .brand { gap: .5rem; }
  .brand__mark { width: 34px; height: 34px; border-radius: 10px; }
  .brand__mark svg { width: 20px; height: 20px; }
  .brand__name { font-size: .98rem; }
  .brand__tag { display: none; }
  .cur-code { display: none; }
  .cur-toggle { padding: 2px; }
  .cur-toggle button { padding: .34rem .52rem; font-size: .82rem; }
  .burger { width: 40px; height: 40px; }
  .wrap { padding-inline: .85rem; }
  h1 { font-size: 1.95rem; }
  .hero__stats { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .stat__num { font-size: 1.35rem; }
}

/* the dashboard's status chip is informative, not essential — the board
   repeats the same numbers, so it goes rather than wrap the header */
@media (max-width: 900px) {
  .header-cta > .chip { display: none; }
  .adm-top { flex-direction: column; align-items: flex-start; }
}

/* inline code and long unbroken strings must wrap, not widen the page */
code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: .88em;
  padding: .1em .35em;
  border-radius: 5px;
  background: var(--bg-alt);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.notice span, .review-row dd, .file-row__meta b { overflow-wrap: anywhere; }

/* ---- 22. Currency toggle used outside the header ----------------------
   The base colour was tuned for the transparent header over the dark hero,
   which made the same component invisible on the white Deals card. Dark is
   now the default; white applies only inside a transparent header.        */
.cur-toggle button { color: var(--muted); }
.site-header:not(.is-stuck):not(.header--solid) .cur-toggle { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.site-header:not(.is-stuck):not(.header--solid) .cur-toggle button { color: rgba(255,255,255,.78); }
.cur-toggle button[aria-selected="true"],
.site-header:not(.is-stuck):not(.header--solid) .cur-toggle button[aria-selected="true"] {
  background: var(--grad-gold); color: var(--ink);
}
