/* ============================================================
   GIRLS CHASING FREEDOM — cinematic travel planner
   Direction: sun-drenched escape · coral accent on ocean blues
   ============================================================ */

:root {
  /* palette */
  --ink: #0a1417;               /* near-black, cool */
  --ink-2: #10232a;
  --paper: #f6f1e9;             /* warm off-white */
  --accent: #ff7a59;            /* sunset coral */
  --accent-2: #f5b841;          /* gold */
  --accent-deep: #e8532e;
  --glass: rgba(255,255,255,.10);
  --glass-strong: rgba(255,255,255,.16);
  --hair: rgba(255,255,255,.22);
  --text-dim: rgba(246,241,233,.72);
  --text-faint: rgba(246,241,233,.5);

  /* type */
  --f-display: "Archivo", system-ui, sans-serif;
  --f-serif: "Fraunces", Georgia, serif;
  --f-body: "Manrope", system-ui, sans-serif;

  /* spacing scale (8px base) */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px; --s7:48px; --s8:64px; --s9:96px;

  --r-sm:10px; --r-md:16px; --r-lg:22px; --r-xl:30px;
  --shadow: 0 24px 60px -20px rgba(0,0,0,.55);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --nav-h: 130px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }   /* keep the hidden attribute authoritative over class display rules */

html, body { height: 100%; }

body {
  font-family: var(--f-body);
  color: var(--paper);
  background: var(--ink);
  overflow-x: hidden;               /* vertical scroll stays native — dots switch options, wheel scrolls the page */
  -webkit-font-smoothing: antialiased;
  position: relative;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

/* ---------- BACKDROP ---------- */
.backdrop {
  position: fixed; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .9s var(--ease);
  transform: scale(1.06); will-change: opacity;
}
.backdrop.active {
  opacity: 1;
  animation: slowzoom 20s ease-in-out infinite alternate;
}
@keyframes slowzoom { from { transform: scale(1.04);} to { transform: scale(1.12);} }

.backdrop-scrim {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(105deg, rgba(6,15,18,.88) 0%, rgba(6,15,18,.55) 38%, rgba(6,15,18,.15) 62%, rgba(6,15,18,.55) 100%),
    linear-gradient(0deg, rgba(6,15,18,.85) 0%, rgba(6,15,18,0) 42%);
}
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- HEADER ---------- */
/* locked top bar — content scrolls behind it, never peeks through */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 50;
  display: flex; align-items: center; gap: var(--s6);
  padding: 0 clamp(20px, 4vw, 54px);
  background: rgba(8, 17, 20, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.brand { display: flex; align-items: center; }
.brand-logo {
  height: 105px; width: auto;
  filter: drop-shadow(0 0 2px rgba(255,255,255,.45)) drop-shadow(0 3px 8px rgba(0,0,0,.5));
  transition: transform .25s var(--ease);
}
.brand:hover .brand-logo { transform: scale(1.03); }

.nav-right { display: flex; align-items: center; gap: var(--s5); margin-left: auto; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--hair); backdrop-filter: blur(10px);
  transition: transform .25s var(--ease), background .25s;
}
.icon-btn:hover { background: var(--glass-strong); transform: scale(1.06); }
.greeting { font-size: 14px; color: var(--text-dim); white-space: nowrap; }
.greeting strong { color: var(--paper); font-weight: 700; }

/* ---------- TABS (desktop: sits in the header row) ---------- */
.tabs {
  position: fixed; top: 43px; left: 50%; transform: translateX(-50%);
  z-index: 55; display: flex; gap: 4px; padding: 5px;
  background: rgba(10,20,23,.6); border: 1px solid var(--hair); border-radius: 100px; backdrop-filter: blur(14px);
}
.tab {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 100px; font-size: 14px; font-weight: 600;
  color: var(--text-dim); transition: color .3s var(--ease); white-space: nowrap;
}
.tab .tab-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; transition: .3s; }
.tab.is-active { color: #1a0f0a; } .tab.is-active .tab-dot { background: var(--accent-deep); opacity: 1; }
.tab-glider {
  position: absolute; z-index: 1; top: 5px; height: calc(100% - 10px); border-radius: 100px;
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  box-shadow: 0 6px 20px -6px var(--accent);
  transition: transform .45s var(--ease-out), width .45s var(--ease-out);
}

/* ============================================================
   STAGE (Check This Out)
   ============================================================ */
main { position: relative; z-index: 10; min-height: 100vh; }
.stage {
  position: relative; min-height: 100vh;
  display: grid;
  grid-template-columns: 64px minmax(0,1fr) clamp(300px, 34vw, 560px);
  align-items: center;
  padding: calc(var(--nav-h) + 28px) clamp(20px,4vw,54px) 96px;
  gap: clamp(16px, 3vw, 40px);
}

/* ghost watermark word */
.ghost-word {
  position: absolute; left: clamp(20px,4vw,54px); bottom: 78px; z-index: 0;
  font-family: var(--f-display); font-weight: 900; font-size: clamp(60px, 12vw, 168px);
  line-height: .8; letter-spacing: -.03em; text-transform: uppercase;
  color: rgba(246,241,233,.06); pointer-events: none; user-select: none; white-space: nowrap;
}

/* ---------- LEFT DOT RAIL ---------- */
.rail { position: relative; height: 62%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; z-index: 12; }
.rail-line { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(246,241,233,.14); border-radius: 2px; }
.rail-line-fill { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: linear-gradient(var(--accent-2), var(--accent)); border-radius: 2px; transition: height .5s var(--ease-out); }
.dot {
  position: relative; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: transparent;
  font-family: var(--f-display); font-size: 11px; font-weight: 700; color: var(--text-faint);
  transition: color .3s var(--ease);
}
.dot::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(246,241,233,.28); transform: scale(.42); background: rgba(246,241,233,.3);
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.dot:hover::before { transform: scale(.6); }
.dot.is-active { color: var(--paper); }
.dot.is-active::before { transform: scale(1); background: transparent; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,122,89,.18); }

/* ---------- HERO ---------- */
.hero { z-index: 11; max-width: 620px; }
.hero-index { font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--text-dim); letter-spacing: .12em; margin-bottom: var(--s4); }
.hero-index i { font-style: normal; color: var(--accent); margin: 0 4px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s4); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  background: var(--glass); border: 1px solid var(--hair); backdrop-filter: blur(8px);
}
.chip.accent { background: rgba(255,122,89,.16); border-color: rgba(255,122,89,.45); color: #ffd9cd; }
.chip.gold { background: rgba(245,184,65,.15); border-color: rgba(245,184,65,.45); color: #ffe9be; }
.chip svg { width: 13px; height: 13px; }

.hero-title {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(52px, 8.5vw, 132px); line-height: .86; letter-spacing: -.035em;
  text-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.hero-tagline {
  font-family: var(--f-serif); font-style: italic; font-weight: 500;
  font-size: clamp(20px, 2.6vw, 32px); color: var(--accent-2); margin-top: var(--s3);
}
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--s5); margin: var(--s5) 0; }
.meta-item { display: flex; flex-direction: column; gap: 2px; }
.meta-item .mi-k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.meta-item .mi-v { font-size: 15px; font-weight: 600; }
.meta-item .mi-v span { color: var(--accent-2); }

.hero-desc { font-size: 15.5px; line-height: 1.62; color: var(--text-dim); max-width: 52ch; }

.hero-actions { display: flex; align-items: center; gap: var(--s6); margin-top: var(--s6); flex-wrap: wrap; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-faint); }
.price-value { font-family: var(--f-display); font-weight: 800; font-size: 40px; letter-spacing: -.02em; }
.price-unit { font-size: 13px; color: var(--text-dim); }

.btn-explore {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 100px;
  font-size: 15px; font-weight: 700; color: #1a0f0a;
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  box-shadow: 0 14px 30px -10px var(--accent); transition: transform .3s var(--ease), box-shadow .3s;
}
.btn-explore svg { transition: transform .3s var(--ease); }
.btn-explore:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px var(--accent); }
.btn-explore:hover svg { transform: translateX(5px); }
.btn-explore.small { padding: 12px 20px; font-size: 14px; }

/* ---------- RIGHT CARD RAIL ---------- */
.cards {
  z-index: 11; display: flex; gap: var(--s4); align-items: center;
  height: 66%; overflow-x: auto; overflow-y: visible; padding: 20px 4px; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.cards::-webkit-scrollbar { display: none; }
.card {
  position: relative; flex: 0 0 auto; width: clamp(190px, 15vw, 236px); height: 100%; border-radius: var(--r-xl);
  overflow: hidden; scroll-snap-align: center; background: var(--ink-2);
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.12);
  transition: transform .5s var(--ease-out), box-shadow .5s;
  cursor: pointer;
}
.card:first-child { transform: translateY(-14px); }
.card:hover { transform: translateY(-22px) scale(1.015); box-shadow: 0 40px 70px -24px rgba(0,0,0,.7); }
.card-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .8s var(--ease-out); }
.card:hover .card-img { transform: scale(1.08); }
.card-grad { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,15,18,.9) 4%, rgba(6,15,18,.15) 44%, rgba(6,15,18,.35) 100%); }
.card-tag {
  position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 100px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(10,20,23,.6); border: 1px solid var(--hair); backdrop-filter: blur(8px);
}
.card-save {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(246,241,233,.92); display: grid; place-items: center; color: var(--ink);
  transition: transform .25s var(--ease), background .25s;
}
.card-save:hover { transform: scale(1.12); }
.card-save.saved { background: var(--accent); color: #fff; }
.card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; }
.card-title { font-family: var(--f-display); font-weight: 700; font-size: 16px; line-height: 1.15; }
.card-sub { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.card-meta { display: inline-flex; align-items: center; gap: 5px; margin-top: 9px; font-size: 11.5px; font-weight: 600; color: var(--accent-2); }
.card-dots { display: flex; gap: 5px; margin-top: 12px; }
.card-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(246,241,233,.35); }
.card-dots i:first-child { width: 16px; border-radius: 3px; background: var(--paper); }

/* ---------- BOTTOM CONTROLS ---------- */
.controls { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 12; display: flex; align-items: center; justify-content: center; gap: var(--s7); padding: 0 clamp(20px,4vw,54px); pointer-events: none; }
.counter { display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-weight: 700; font-size: 14px; color: var(--text-dim); }
.counter #counterNow { color: var(--paper); }
.counter-track { width: clamp(80px, 16vw, 220px); height: 2px; background: rgba(246,241,233,.18); border-radius: 2px; overflow: hidden; }
.counter-fill { display: block; height: 100%; width: 12%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: 2px; transition: width .5s var(--ease-out); }

/* view switching */
[data-view] { transition: opacity .5s var(--ease), transform .5s var(--ease); }
[data-view].leaving { opacity: 0; transform: translateY(12px); pointer-events: none; }
.entering { animation: viewIn .6s var(--ease-out); }
@keyframes viewIn { from { opacity: 0; transform: translateY(16px);} to { opacity: 1; transform: none;} }

/* stagger entrance for hero bits */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }

/* ============================================================
   SURPRISE ME
   ============================================================ */
.surprise { min-height: 100vh; display: grid; place-items: center; padding: calc(var(--nav-h) + 40px) 20px 60px; position: relative; z-index: 10; }
.surprise-inner { text-align: center; max-width: 720px; }
.surprise-eyebrow { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2); margin-bottom: var(--s4); }
.surprise-head { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 6.5vw, 92px); line-height: .9; letter-spacing: -.03em; }
.surprise-head em { font-family: var(--f-serif); font-style: italic; font-weight: 500; text-transform: none; color: var(--accent); display: block; }
.surprise-sub { font-size: 16px; line-height: 1.6; color: var(--text-dim); max-width: 46ch; margin: var(--s5) auto 0; }
.btn-spin {
  margin-top: var(--s7); position: relative; padding: 20px 48px; border-radius: 100px;
  font-family: var(--f-display); font-weight: 800; font-size: 17px; letter-spacing: .02em; color: #1a0f0a;
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  box-shadow: 0 18px 40px -12px var(--accent); transition: transform .3s var(--ease);
  overflow: hidden;
}
.btn-spin::after { content:""; position:absolute; inset:0; background: linear-gradient(120deg,transparent 30%,rgba(255,255,255,.5) 50%,transparent 70%); transform: translateX(-120%); }
.btn-spin:hover { transform: translateY(-3px) scale(1.02); }
.btn-spin:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }

/* reel */
.reel { margin-top: var(--s7); }
.reel-window { width: min(560px, 86vw); height: 96px; margin: 0 auto; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--hair); background: rgba(10,20,23,.5); position: relative; }
.reel-window::before, .reel-window::after { content:""; position:absolute; top:0; bottom:0; width:70px; z-index:2; pointer-events:none; }
.reel-window::before { left:0; background: linear-gradient(90deg, rgba(10,20,23,.9), transparent); }
.reel-window::after { right:0; background: linear-gradient(270deg, rgba(10,20,23,.9), transparent); }
.reel-marker { position:absolute; left:50%; top:8px; bottom:8px; width:2px; background:var(--accent); z-index:4; transform:translateX(-50%); border-radius:2px; box-shadow:0 0 12px var(--accent); }
.reel-track { display: flex; align-items: center; height: 100%; }
.reel-item { flex: 0 0 auto; width: 200px; text-align: center; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 22px; letter-spacing: -.01em; color: var(--text-dim); }

/* result */
.surprise-result { margin-top: var(--s7); display: grid; grid-template-columns: 220px 1fr; gap: var(--s6); text-align: left; background: rgba(10,20,23,.55); border: 1px solid var(--hair); border-radius: var(--r-xl); overflow: hidden; backdrop-filter: blur(14px); box-shadow: var(--shadow); max-width: 720px; }
.sr-photo { background-size: cover; background-position: center; min-height: 240px; }
.sr-body { padding: var(--s6) var(--s6) var(--s6) 0; }
.sr-kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); }
.sr-title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 40px; line-height: .9; letter-spacing: -.02em; margin-top: 8px; }
.sr-tag { font-family: var(--f-serif); font-style: italic; color: var(--accent-2); font-size: 19px; margin-top: 6px; }
.sr-desc { font-size: 14.5px; line-height: 1.6; color: var(--text-dim); margin-top: var(--s4); }
.sr-actions { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s5); flex-wrap: wrap; }
.sr-price { font-family: var(--f-display); font-weight: 800; font-size: 26px; }
.btn-ghost { font-size: 13.5px; font-weight: 600; color: var(--text-dim); transition: color .25s; }
.btn-ghost:hover { color: var(--paper); }

/* ============================================================
   DETAIL DRAWER
   ============================================================ */
.drawer-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(4,10,12,.62); backdrop-filter: blur(4px); animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(720px, 94vw);
  background: linear-gradient(180deg, #0c1d22, #0a1417); border-left: 1px solid var(--hair);
  box-shadow: -30px 0 80px -20px rgba(0,0,0,.7); overflow-y: auto;
  animation: slideIn .5s var(--ease-out);
}
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer-close { position: sticky; top: 18px; float: right; margin: 18px 18px 0 0; width: 42px; height: 42px; border-radius: 50%; background: var(--glass); border: 1px solid var(--hair); font-size: 15px; z-index: 5; transition: background .25s, transform .25s; }
.drawer-close:hover { background: var(--accent); transform: rotate(90deg); }
.drawer-content { padding: 0 clamp(24px,4vw,48px) 60px; }
.dh { position: relative; height: 320px; margin: 0 calc(-1 * clamp(24px,4vw,48px)) 0; background-size: cover; background-position: center; }
.dh::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg,#0a1417 2%, rgba(10,20,23,.1) 60%); }
.dh-cap { position: absolute; left: clamp(24px,4vw,48px); bottom: 24px; z-index: 2; }
.dh-cap h2 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 56px; line-height: .88; letter-spacing: -.03em; }
.dh-cap p { font-family: var(--f-serif); font-style: italic; color: var(--accent-2); font-size: 22px; margin-top: 6px; }
.d-section { margin-top: var(--s7); }
.d-section h3 { font-family: var(--f-display); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s4); display: flex; align-items: center; gap: 10px; }
.d-section h3::before { content:""; width: 24px; height: 2px; background: var(--accent); }
.d-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.d-fact { background: var(--glass); border: 1px solid var(--hair); border-radius: var(--r-md); padding: var(--s4) var(--s5); }
.d-fact.linked { display: block; cursor: pointer; transition: border-color .25s, background .25s, transform .25s var(--ease); }
.d-fact.linked:hover { border-color: var(--accent-2); background: var(--glass-strong); transform: translateY(-2px); }
.d-fact .ext { color: var(--accent-2); font-size: 12px; opacity: .7; transition: opacity .25s; }
.d-fact.linked:hover .ext { opacity: 1; }
.d-fact .k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.d-fact .v { font-size: 15.5px; font-weight: 600; margin-top: 4px; }
.d-fact .v em { font-family: var(--f-serif); font-style: italic; color: var(--accent-2); }
.d-list { display: flex; flex-direction: column; gap: 10px; }
.d-li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.55; color: var(--text-dim); }
.d-li b { color: var(--paper); font-weight: 700; }
.d-li .ic { flex: 0 0 auto; color: var(--accent); margin-top: 2px; }
.d-photos { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.d-photos .dp { aspect-ratio: 3/4; border-radius: var(--r-md); background-size: cover; background-position: center; border: 1px solid rgba(255,255,255,.1); }
.d-photos .dp.wide { grid-column: span 2; aspect-ratio: 16/10; }

/* budget table */
.budget { border: 1px solid var(--hair); border-radius: var(--r-md); overflow: hidden; }
.budget-row { display: flex; justify-content: space-between; padding: 13px 18px; font-size: 14.5px; border-bottom: 1px solid rgba(255,255,255,.08); }
.budget-row:last-child { border-bottom: 0; }
.budget-row.total { background: rgba(255,122,89,.12); font-weight: 700; }
.budget-row .br-k { color: var(--text-dim); } .budget-row.total .br-k { color: var(--paper); }
.budget-row .br-v { font-family: var(--f-display); font-weight: 700; }
.budget-note { font-size: 12.5px; color: var(--text-faint); margin-top: 10px; line-height: 1.5; }

.d-cta { margin-top: var(--s7); display: flex; gap: var(--s4); flex-wrap: wrap; }
.d-cta a { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 100px; font-size: 14px; font-weight: 700; }
.d-cta .primary { background: linear-gradient(120deg,var(--accent-2),var(--accent)); color: #1a0f0a; }
.d-cta .secondary { background: var(--glass); border: 1px solid var(--hair); }
.d-cta a:hover { transform: translateY(-2px); transition: transform .25s; }

/* ============================================================
   BOOK IT — real costed booking view
   ============================================================ */
.booking { min-height: 100vh; position: relative; z-index: 10; }
.booking-inner {
  max-width: 1080px; margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) clamp(20px,4vw,54px) 90px;
  display: flex; flex-direction: column; gap: var(--s5);
}
.bk-head { position: relative; height: 230px; border-radius: var(--r-xl); overflow: hidden; background-size: cover; background-position: center; box-shadow: var(--shadow); }
.bk-head::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(6,15,18,.92) 6%, rgba(6,15,18,.15) 70%); }
.bk-head-cap { position: absolute; left: clamp(20px,4vw,36px); bottom: 22px; z-index: 2; }
.bk-kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2); font-weight: 700; }
.bk-head-cap h2 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(38px,6vw,68px); line-height: .9; letter-spacing: -.03em; margin-top: 4px; }
.bk-head-cap p { font-family: var(--f-serif); font-style: italic; color: var(--accent-2); font-size: clamp(17px,2.2vw,22px); margin-top: 4px; }

.bk-datenote {
  font-size: 14px; line-height: 1.55; color: var(--text-dim);
  background: rgba(245,184,65,.1); border: 1px solid rgba(245,184,65,.4);
  border-radius: var(--r-md); padding: var(--s4) var(--s5);
}
.bk-datenote b { color: var(--paper); font-weight: 700; }

.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.bk-block {
  background: var(--glass); border: 1px solid var(--hair); border-radius: var(--r-lg);
  padding: var(--s5) var(--s6); backdrop-filter: blur(10px);
}
.bk-block h3 { font-family: var(--f-display); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); margin-bottom: var(--s4); display: flex; align-items: center; gap: 10px; }
.bk-block h3 .bk-sub { font-family: var(--f-body); font-style: normal; text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 500; color: var(--text-faint); }
.bk-ic { font-size: 17px; }
.bk-link { color: var(--accent-2); font-size: 13px; font-weight: 600; white-space: nowrap; }
.bk-link:hover { text-decoration: underline; }
.bk-fine { font-size: 12px; color: var(--text-faint); line-height: 1.5; margin-top: var(--s3); }

/* flight */
.bk-flight { display: flex; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; align-items: flex-start; }
.bk-route { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: .02em; }
.bk-flight-meta { font-size: 13.5px; color: var(--text-dim); margin-top: 4px; }
.bk-flight-price { text-align: right; display: flex; flex-direction: column; }
.bk-amt { font-family: var(--f-display); font-weight: 800; font-size: 30px; color: var(--accent-2); }
.bk-per { font-size: 11.5px; color: var(--text-faint); }
.bk-flight-price .bk-link { margin-top: 6px; }

/* hotel configs */
.bk-includes { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; margin-bottom: var(--s4); }
.bk-configs { display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--s4); }
.bk-config { border: 1px solid var(--hair); border-radius: var(--r-md); padding: var(--s4); background: rgba(255,255,255,.04); }
.bk-config-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.bk-config-label { font-weight: 700; font-size: 14.5px; }
.bk-config-pp { font-family: var(--f-display); font-weight: 800; font-size: 20px; color: var(--accent-2); }
.bk-config-pp i { font-style: normal; font-size: 11px; color: var(--text-faint); font-family: var(--f-body); font-weight: 500; margin-left: 2px; }
.bk-config-detail { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.bk-config-total { font-size: 12px; color: var(--text-faint); margin-top: 6px; }

/* excursions */
.bk-excs { display: flex; flex-direction: column; }
.bk-exc { display: flex; justify-content: space-between; gap: var(--s4); padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.bk-exc:last-child { border-bottom: 0; }
.bk-exc-main b { font-weight: 700; font-size: 14.5px; }
.bk-exc-main span { display: block; font-size: 12.5px; color: var(--text-dim); margin-top: 2px; }
.bk-exc-price { font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--accent-2); white-space: nowrap; }

/* itinerary */
.bk-itin { display: flex; flex-direction: column; gap: var(--s4); }
.bk-day { display: flex; gap: var(--s4); }
.bk-day-num { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 13px; background: rgba(255,122,89,.16); border: 1px solid rgba(255,122,89,.4); color: #ffd9cd; }
.bk-day-body { flex: 1; min-width: 0; padding-top: 4px; }
.bk-day-label { font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.bk-day-items { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.bk-day-items li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--text-dim); }
.bk-day-items em { font-style: normal; color: var(--accent-2); font-weight: 600; white-space: nowrap; }

/* totals */
.bk-totals { display: flex; gap: var(--s4); flex-wrap: wrap; }
.bk-total { flex: 1; min-width: 200px; border: 1px solid var(--hair); border-radius: var(--r-md); padding: var(--s4) var(--s5); display: flex; justify-content: space-between; align-items: center; }
.bk-total.lead { background: linear-gradient(120deg, rgba(245,184,65,.18), rgba(255,122,89,.16)); border-color: rgba(245,184,65,.5); }
.bk-total-label { font-size: 13.5px; color: var(--text-dim); }
.bk-total.lead .bk-total-label { color: var(--paper); font-weight: 600; }
.bk-total-pp { font-family: var(--f-display); font-weight: 800; font-size: 26px; }
.bk-total-pp i { font-style: normal; font-size: 11px; color: var(--text-faint); font-family: var(--f-body); font-weight: 500; margin-left: 3px; }

.bk-cta { display: flex; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s5); align-items: center; }
.bk-cta .primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 100px; font-size: 14px; font-weight: 700; background: linear-gradient(120deg,var(--accent-2),var(--accent)); color: #1a0f0a; }
.bk-cta .secondary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 100px; font-size: 14px; font-weight: 700; background: var(--glass); border: 1px solid var(--hair); color: var(--paper); cursor: pointer; }
.bk-cta a:hover, .bk-cta button:hover { transform: translateY(-2px); transition: transform .25s; }

/* fallback (no detailed quote yet) */
.bk-soon { text-align: center; padding: var(--s7) var(--s4); display: flex; flex-direction: column; align-items: center; gap: var(--s3); }
.bk-soon-lead { font-size: 17px; font-weight: 600; max-width: 52ch; }
.bk-soon-sub { font-size: 14px; color: var(--text-dim); }
.bk-soon .bk-cta { justify-content: center; }

/* ============================================================
   ROUND 2 — date pill · medals · podium · share
   ============================================================ */

/* warning chip */
.chip.warn { background: rgba(232,83,46,.18); border-color: rgba(232,83,46,.55); color: #ffc9b8; }
.season-note { font-style: normal; color: var(--accent-2); font-size: 12px; }

/* date pill in the nav */
.date-pill {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 100px; cursor: pointer;
  background: var(--glass); border: 1px solid var(--hair); backdrop-filter: blur(10px);
  font-size: 13.5px; font-weight: 600; color: var(--text-dim);
  transition: background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.date-pill:hover { background: var(--glass-strong); color: var(--paper); }
.date-pill.set { border-color: rgba(245,184,65,.55); color: var(--accent-2); }
.date-pill input[type="date"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.date-pill input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }

/* medal buttons on the hero */
.medals { display: inline-flex; gap: 6px; padding: 6px; border-radius: 100px; background: rgba(10,20,23,.45); border: 1px solid var(--hair); backdrop-filter: blur(10px); }
.medal {
  position: relative;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-size: 21px; filter: grayscale(1) opacity(.5);
  transition: transform .25s var(--ease), filter .25s, background .25s, box-shadow .25s;
}
/* hover only on devices that actually hover — taps on phones must not leave a stale look */
@media (hover: hover) {
  .medal:hover { transform: translateY(-3px) scale(1.08); filter: grayscale(.75) opacity(.75); }
  .medal.held:hover { filter: none; }
}
.medal.held {
  filter: none; transform: scale(1.06);
  background: rgba(245,184,65,.22);
  box-shadow: 0 0 0 2px var(--accent-2), 0 6px 18px -6px rgba(245,184,65,.7);
}
.medal.held::after {
  content: "✓"; position: absolute; right: -3px; top: -3px;
  width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-2); color: #1a0f0a; font-size: 10px; font-weight: 900;
}

/* medal badge on rail dots */
.dot[data-medal]:not([data-medal=""])::after {
  content: attr(data-medal); position: absolute; right: -7px; top: -7px; font-size: 12px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.5));
}

/* podium count bubble in nav */
.podium-btn { position: relative; font-size: 17px; }
.podium-count {
  position: absolute; top: -4px; right: -4px;
  display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 100px; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 800;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
}

/* medal hint */
.medal-group { display: inline-flex; align-items: center; gap: 10px; }
.medals-hint {
  font-size: 11px; line-height: 1.35; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-faint); font-weight: 600;
}

/* podium overlay */
.podium-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(4,10,12,.66); backdrop-filter: blur(5px); animation: fade .35s var(--ease); }
.podium {
  position: fixed; z-index: 71; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: min(560px, 92vw); max-height: 86vh; overflow-y: auto;
  background: linear-gradient(180deg, #0d2027, #0a1417);
  border: 1px solid var(--hair); border-radius: var(--r-xl); padding: var(--s6);
  box-shadow: var(--shadow); animation: podIn .45s var(--ease-out);
}
@keyframes podIn { from { opacity: 0; transform: translate(-50%,-46%) scale(.96); } }
.podium .drawer-close { position: absolute; top: 14px; right: 14px; float: none; margin: 0; }
.podium-eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2); }
.podium-head { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 40px; letter-spacing: -.02em; margin-top: 6px; }
.podium-sub { font-size: 14px; line-height: 1.55; color: var(--text-dim); margin-top: 8px; max-width: 44ch; }
.podium-slots { display: flex; flex-direction: column; gap: 10px; margin-top: var(--s5); }
.p-slot {
  display: flex; align-items: center; gap: 14px; padding: 12px;
  border: 1px solid var(--hair); border-radius: var(--r-md); background: var(--glass);
  cursor: pointer; transition: background .25s, transform .25s var(--ease);
}
.p-slot:hover { background: var(--glass-strong); transform: translateX(4px); }
.p-slot.empty { cursor: default; opacity: .55; }
.p-slot.empty:hover { transform: none; background: var(--glass); }
.p-medal { font-size: 26px; flex: 0 0 auto; }
.p-photo { width: 64px; height: 48px; border-radius: 10px; background-size: cover; background-position: center; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.14); }
.p-body { min-width: 0; }
.p-name { font-family: var(--f-display); font-weight: 800; font-size: 16px; }
.p-tag { font-size: 12.5px; color: var(--text-dim); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-price { font-size: 12.5px; font-weight: 700; color: var(--accent-2); margin-top: 3px; }
.podium-actions { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s5); flex-wrap: wrap; }

/* share buttons */
.btn-share {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 100px;
  font-size: 13.5px; font-weight: 700; color: var(--paper);
  background: var(--glass); border: 1px solid var(--hair); backdrop-filter: blur(8px);
  transition: background .25s, transform .25s var(--ease);
}
.btn-share:hover { background: var(--glass-strong); transform: translateY(-2px); }
.sr-pool { font-size: 12px; color: var(--text-faint); margin-top: 12px; }
.budget-row.season { background: rgba(245,184,65,.1); }
.budget-row.season .br-k { color: var(--accent-2); }
.btn-drawer-share { cursor: pointer; font-size: 14px; font-weight: 700; }
.d-section.husbands h3 { color: var(--accent-2); }
.d-section.husbands h3::before { background: var(--accent-2); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .stage { grid-template-columns: 54px 1fr; grid-template-rows: 1fr auto; }
  .cards { grid-column: 1 / -1; grid-row: 2; height: 220px; }
  .hero { grid-column: 2; }
}
@media (max-width: 720px) {
  .greeting { display: none; }
  :root { --nav-h: 100px; }
  .brand-logo { height: 72px; }
  .nav { gap: var(--s4); }
  .nav-right { margin-left: auto; gap: var(--s3); }
  #searchBtn { display: none; }                 /* Surprise tab is one tap away anyway */
  .medals-hint br { display: none; }            /* hint fits on one line down here */
  .date-pill { padding: 10px 12px; }
  .date-pill:not(.set) .date-pill-label { display: none; }  /* icon-only until a date is chosen */
  .date-pill.set { font-size: 12px; }
  .tabs { top: auto; bottom: 18px; }
  /* page scrolls naturally; dots switch options */
  .stage {
    grid-template-columns: 38px 1fr; grid-template-rows: 1fr;
    padding: calc(var(--nav-h) + 40px) 20px 190px; align-content: center; gap: 16px;
  }
  .rail { height: 52%; align-self: center; }
  .cards { display: none; }
  .hero-title { font-size: clamp(44px, 15vw, 78px); }
  .hero-badges { gap: 6px; }
  .chip { padding: 5px 10px; font-size: 11px; }
  .hero-meta { gap: 14px 20px; margin: var(--s4) 0; }
  .hero-actions { margin-top: var(--s5); gap: var(--s4); }
  .price-value { font-size: 34px; }
  .controls { bottom: 92px; justify-content: space-between; }
  .counter-track { width: 84px; }
  .ghost-word { display: none; }
  .surprise-head { font-size: clamp(38px, 11vw, 60px); }
  .surprise-result { grid-template-columns: 1fr; }
  .sr-photo { min-height: 180px; }
  .sr-body { padding: var(--s5); }
  .sr-title { font-size: 32px; }
  .drawer .d-grid, .drawer .d-photos { grid-template-columns: 1fr 1fr; }
  .dh-cap h2 { font-size: 40px; }
  .bk-grid { grid-template-columns: 1fr; }
  .booking-inner { padding: calc(var(--nav-h) + 30px) 18px 120px; gap: var(--s4); }
  .bk-head { height: 180px; }
  .bk-block { padding: var(--s5); }
  .bk-flight-price { text-align: left; }
  .bk-total { min-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .backdrop { animation: none; transform: none; }
}
