/* ==========================================================================
   MEGA HOTELS — premium redesign
   Editorial luxury hospitality × event-tech. Champagne accent on deep graphite.
   Fraunces (display serif) + Inter (UI). Gold is an accent, never dominant.
   ========================================================================== */
:root {
  --bg: #0A0A0B; --bg-2: #0E0E12; --bg-3: #131318;
  --panel: rgba(255,255,255,.035); --panel-2: rgba(255,255,255,.06);
  --line: rgba(245,241,234,.09); --line-2: rgba(245,241,234,.15);
  --text: #F5F1EA; --soft: rgba(245,241,234,.72); --muted: rgba(245,241,234,.46);
  --gold: #E7C15A; --gold-2: #C9A24B; --gold-deep: #8A6A24; --champagne: #EBDDBC;
  --gold-soft: rgba(231,193,90,.10); --gold-line: rgba(231,193,90,.30);
  --ok: #6FD39A;
  --ease: cubic-bezier(.2,.7,.2,1);
  --r: 18px; --r-lg: 24px;
  --maxw: 1200px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --hdr: 68px;
}
* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hdr); overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; min-height: 100svh;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(231,193,90,.26); color: #fff; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.serif { font-family: 'Fraunces', Georgia, serif; }
.g { color: var(--gold); }
.gc { background: linear-gradient(100deg, var(--champagne), var(--gold) 55%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── type scale ── */
.h1 { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(32px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -.02em; overflow-wrap: break-word; }
.h2 { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(30px, 5vw, 52px); line-height: 1.06; letter-spacing: -.015em; }
.h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(21px, 3vw, 27px); line-height: 1.15; }
.lede { color: var(--soft); font-size: clamp(15px, 2.2vw, 18.5px); line-height: 1.65; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; transition: transform .16s var(--ease), background .2s, border-color .2s, box-shadow .2s; min-height: 48px; }
.btn:active { transform: translateY(1px); }
.btn-gold { color: #171307; background: linear-gradient(135deg, var(--champagne), var(--gold) 60%, var(--gold-2)); box-shadow: 0 10px 30px -10px rgba(231,193,90,.5); font-weight: 700; }
.btn-gold:hover { box-shadow: 0 14px 38px -10px rgba(231,193,90,.65); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.05); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.09); border-color: var(--gold-line); }
.btn-line { color: var(--text); background: transparent; border-color: var(--line-2); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; min-height: 40px; }
.btn-lg { padding: 17px 34px; font-size: 16.5px; min-height: 56px; }

/* ── badges / chips ── */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; color: var(--gold); background: var(--gold-soft); border: 1px solid var(--gold-line); white-space: nowrap; }
.badge.solid { color: #171307; background: linear-gradient(135deg, var(--champagne), var(--gold-2)); border-color: transparent; }
.badge.soon { color: var(--muted); background: rgba(255,255,255,.05); border-color: var(--line); }
.badge.ok { color: var(--ok); background: rgba(111,211,154,.10); border-color: rgba(111,211,154,.3); }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--soft); background: var(--panel); border: 1px solid var(--line); white-space: nowrap; }

/* ── glass card ── */
.glass { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid var(--line); border-radius: var(--r-lg); }

/* ── sections ── */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(231,193,90,.025) 50%, transparent); }
.section--dark { background: var(--bg-2); }
.head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.head .eyebrow { display: inline-block; margin-bottom: 16px; }
.head .h2 { margin: 0 0 16px; }
.head--left { text-align: left; margin-left: 0; }

/* ══════════════════════ HEADER ══════════════════════ */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 90; padding: calc(var(--safe-t) + 6px) 0 6px;
  transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.hdr.solid { background: rgba(10,10,11,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 20px; min-height: calc(var(--hdr) - 12px); }
.hdr-brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.hdr-brand img { height: 34px; width: auto; }
.hdr-brand small { display: none; font-size: 10px; color: var(--muted); font-weight: 600; letter-spacing: .05em; }
.hdr-nav { display: none; align-items: center; gap: 4px; margin: 0 auto; }
.hdr-nav a { font-size: 13.5px; font-weight: 500; color: var(--soft); padding: 9px 13px; border-radius: 10px; transition: color .2s, background .2s; }
.hdr-nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.hdr-actions { display: none; align-items: center; gap: 10px; flex: 0 0 auto; }
.hdr-city { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--soft);
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); }
.hdr-city b { color: var(--text); }
.hdr-burger { display: inline-flex; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); }
.hdr-burger svg { width: 22px; height: 22px; }
@media (min-width: 1000px) {
  .hdr-nav, .hdr-actions { display: flex; }
  .hdr-burger { display: none; }
  .hdr-brand small { display: block; }
}

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 95; background: var(--bg); padding: calc(var(--safe-t) + 18px) 22px calc(var(--safe-b) + 24px);
  display: flex; flex-direction: column; transform: translateY(-100%); transition: transform .38s var(--ease); overflow-y: auto; }
.mobile-menu.open { transform: none; }
.mm-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.mm-top img { height: 30px; }
.mm-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); }
.mm-nav { display: flex; flex-direction: column; gap: 2px; }
.mm-nav a { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 400; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--line); }
.mm-nav a:active { color: var(--gold); }
.mm-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.mm-actions .btn { width: 100%; }

/* ══════════════════════ HERO ══════════════════════ */
.hero { position: relative; min-height: min(88svh, 760px); display: flex; align-items: center; padding: calc(var(--hdr) + 28px) 0 44px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 15%, rgba(231,193,90,.10), transparent 55%),
    radial-gradient(90% 80% at 10% 100%, rgba(120,90,40,.14), transparent 60%),
    linear-gradient(180deg, #0C0C10, #0A0A0B 60%); }
.hero-grain { position: absolute; inset: 0; z-index: 1; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px); background-size: 3px 3px; }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; width: 100%; }
.hero-in > * { min-width: 0; }
.h2, .h3 { overflow-wrap: break-word; }
[hidden] { display: none !important; }

/* eyebrow with brand mark */
.hero-eyebrow { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.hero-eyebrow-ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--gold); background: var(--gold-soft); border: 1px solid var(--gold-line); }
.hero-eyebrow-ic svg { width: 19px; height: 19px; }
.hero-eyebrow-tx { display: flex; flex-direction: column; line-height: 1.2; }
.hero-eyebrow-tx b { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne); }
.hero-eyebrow-tx span { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }

.hero-ctx { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px; font-size: 14px; color: var(--soft); }
.hero-ctx::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); flex: 0 0 auto; }
.hero-ctx b { color: var(--champagne); font-weight: 600; }

.hero h1 { margin: 0 0 18px; }
.hero-h1 { letter-spacing: -.02em; line-height: 1.04; }
.hero h1 .gc { display: inline-block; }
.hero-sub { max-width: 46ch; margin: 0 0 26px; }

/* three benefits */
.hero-benes { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.hero-benes li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--soft); }
.hb-ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--gold); background: var(--gold-soft); border: 1px solid var(--gold-line); }
.hb-ic svg { width: 18px; height: 18px; }

/* footer: how-it-works link + ecosystem seal */
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero-how { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--text); transition: gap .2s var(--ease), color .2s; }
.hero-how svg { color: var(--gold); transition: transform .2s var(--ease); }
.hero-how:hover { color: var(--gold); }
.hero-how:hover svg { transform: translateX(3px); }
.hero-how:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.hero-eco { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted);
  background: transparent; border: 0; padding: 4px 0; transition: color .2s; }
.hero-eco-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--champagne), var(--gold-2)); box-shadow: 0 0 0 4px var(--gold-soft); }
.hero-eco:hover { color: var(--soft); }
.hero-eco:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.hero-eco[aria-expanded="true"] { color: var(--champagne); }
.hero-eco-panel { margin-top: 16px; max-width: 44ch; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel);
  animation: ecoIn .32s var(--ease) both; }
.hero-eco-panel p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.6; color: var(--soft); }
.hero-eco-panel b { color: var(--text); font-weight: 600; }
.hero-eco-panel a { font-size: 13px; font-weight: 600; }
@keyframes ecoIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* editorial hero image */
.hero-media { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2);
  aspect-ratio: 5 / 4; box-shadow: 0 44px 100px -56px rgba(0,0,0,.92); isolation: isolate; }
.hero-media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  transform: scale(1.02); transition: transform 1.4s var(--ease); }
.hero-media:hover .hero-media-img { transform: scale(1.06); }
.hero-media-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,9,18,.10) 0%, rgba(6,9,18,.05) 40%, rgba(7,8,13,.62) 100%),
    linear-gradient(100deg, rgba(9,13,28,.30), rgba(10,11,16,.05) 60%); }
.hero-media-chip { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: var(--text); padding: 8px 13px; border-radius: 999px;
  background: rgba(10,10,11,.55); border: 1px solid var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-media-chip svg { color: var(--gold); flex: 0 0 auto; }
@media (min-width: 940px) {
  .hero-in { grid-template-columns: 0.82fr 1fr; gap: 58px; }
  .hero-media { aspect-ratio: auto; align-self: stretch; min-height: 480px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media-img, .hero-media:hover .hero-media-img { transform: none; transition: none; }
}
/* mobile: image leads, tighter rhythm */
@media (max-width: 939px) {
  .hero { min-height: auto; padding: calc(var(--hdr) + 20px) 0 28px; }
  .hero-media { order: -1; aspect-ratio: 16 / 10; }
  .hero-benes li { font-size: 14.5px; }
  .hero-foot { gap: 12px 18px; }
}
/* elegant hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-media { animation: heroIn .7s var(--ease) both; }
  .hero-media { animation-delay: .08s; }
}
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* hero product card */
.stay-preview { position: relative; }
.stay-preview .badge.solid { position: absolute; top: 14px; left: 14px; z-index: 3; }
.spc { overflow: hidden; }
.spc-img { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, #24201a, #101015); background-size: cover; background-position: center; }
.spc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,10,11,.82)); }
.spc-tag { position: absolute; top: 14px; right: 14px; z-index: 2; }
.spc-title { position: absolute; left: 18px; bottom: 14px; z-index: 2; }
.spc-title b { font-family: 'Fraunces', serif; font-weight: 500; font-size: 21px; display: block; }
.spc-title span { font-size: 13px; color: var(--soft); }
.spc-body { padding: 18px; }
.spc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.spc-row:last-of-type { border-bottom: 0; }
.spc-row .k { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.spc-row .v { color: var(--text); font-weight: 600; }
.spc-route { display: flex; align-items: center; gap: 8px; margin: 14px 0 4px; font-size: 12px; color: var(--soft); flex-wrap: wrap; }
.spc-route .node { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); }
.spc-route .arrow { color: var(--gold); }
.spc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.spc-price b { font-family: 'Fraunces', serif; font-size: 24px; }
.spc-price span { font-size: 12.5px; color: var(--muted); }

/* ══════════════════════ EVENT CONTEXT + SEARCH ══════════════════════ */
/* Premium floating search card — the hero's protagonist action. Pulled up to
   anchor under the hero copy/image. */
.ctxbar { margin-top: -20px; position: relative; z-index: 5; }
.ctxbar-card { padding: clamp(20px, 3vw, 30px); display: grid; gap: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.022));
  border-color: var(--line-2); box-shadow: 0 40px 90px -50px rgba(0,0,0,.9); }
/* quick-filter chips retired from the hero for focus — the stays section tabs
   provide the same filtering with results in view. */
.qfilters { display: none; }
.ctx-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ctx-thumb { width: 62px; height: 62px; border-radius: 14px; object-fit: cover; background: var(--bg-3); flex: 0 0 auto; border: 1px solid var(--line); }
.ctx-meta { min-width: 0; }
.ctx-meta .eyebrow { display: block; margin-bottom: 5px; }
.ctx-meta b { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 500; display: block; line-height: 1.15; overflow-wrap: anywhere; }
.ctx-meta span { font-size: 13.5px; color: var(--soft); }
.ctx-link { display: inline-block; margin-top: 7px; font-size: 13px; font-weight: 600; transition: opacity .18s; }
.ctx-link:hover { opacity: .8; }
.ctx-status { margin-left: auto; }
.ctx-loading .ctx-meta b, .ctx-loading .ctx-meta span { color: transparent; border-radius: 7px; background: rgba(255,255,255,.06); position: relative; overflow: hidden; min-width: 160px; }
.ctx-loading .ctx-meta span { min-width: 220px; margin-top: 6px; }
.ctx-loading .ctx-thumb { background: rgba(255,255,255,.06); }
.ctx-loading .ctx-meta b::after, .ctx-loading .ctx-meta span::after, .ctx-loading .ctx-thumb::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.09), transparent); animation: shimmer 1.4s infinite; }

/* event invalid / missing-location banner */
.ev-state { padding: clamp(26px, 4vw, 40px); text-align: center; margin-bottom: 18px; }
.ev-state h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(21px, 3.4vw, 27px); margin: 0 0 10px; }
.ev-state p { color: var(--soft); margin: 0 auto 20px; max-width: 54ch; font-size: 15px; }
.ev-state-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
/* mobile: city / check-in / check-out / button each take a full row; only the
   two selects (guests + rooms) pair up. Date inputs have an intrinsic min width
   that overflows a half column, so they must stay full width on phones. */
.search-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.search-grid > .search-field:nth-child(1),
.search-grid > .search-field:nth-child(2),
.search-grid > .search-field:nth-child(3),
.search-actions { grid-column: 1 / -1; }
.search-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.search-field label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.search-field input, .search-field select {
  width: 100%; min-width: 0; padding: 13px 15px; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(0,0,0,.28);
  color: var(--text); font-family: inherit; font-size: 16px; /* 16px avoids iOS focus-zoom */ min-height: 48px; }
.search-field input:focus, .search-field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.search-actions { display: flex; align-items: end; }
.search-actions .btn { width: 100%; }
.qfilters { display: flex; gap: 9px; flex-wrap: wrap; }
.qchip { font-size: 12.5px; font-weight: 600; color: var(--soft); padding: 9px 14px; min-height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); transition: all .18s var(--ease); }
.qchip[aria-pressed="true"] { color: #171307; background: linear-gradient(135deg, var(--champagne), var(--gold-2)); border-color: transparent; }
.qchip.soon { opacity: .55; cursor: default; }
.qchip.soon::after { content: ' · soon'; color: var(--muted); font-weight: 500; }
/* iOS ignores width:100% on date inputs unless appearance is reset → they spill
   past the card edge. Reset on phones (native picker still opens on tap). */
@media (max-width: 719px) {
  .search-field input[type="date"] { -webkit-appearance: none; appearance: none; max-width: 100%; text-align: left; }
}
@media (min-width: 720px) {
  .search-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr auto; align-items: end; }
  .search-grid > .search-field, .search-actions { grid-column: auto; }
}

/* ══════════════════════ EVENT MODE (Crewfare-style focused hotel-deals page) ══════════════════════ */
/* When a real event loads, the page collapses to a focused booking flow:
   event hero → search → hotel deals → map → Mega Ride → FAQ. Every marketing
   section is hidden. Toggled by body.event-mode (added in hotels.js). */
.ev-hero { display: none; }
body.event-mode .ev-hero { display: block; animation: evIn .5s var(--ease) both; }
body.event-mode .hero-copy > :not(.ev-hero) { display: none; }
body.event-mode .stay-preview, body.event-mode .hero-media { display: none; }
body.event-mode .hero-in { grid-template-columns: 1fr; max-width: 900px; margin-left: auto; margin-right: auto; }

/* hide every marketing section — keepers are hero, search, stays, map, ride, faq */
body.event-mode #journeySection,
body.event-mode #benefitsSection,
body.event-mode #organizers,
body.event-mode #hotels,
body.event-mode #groups,
body.event-mode #how,
body.event-mode #trustSection,
body.event-mode #citiesSection,
body.event-mode #waitlist,
body.event-mode #finaleSection { display: none; }

/* hide marketing nav links whose targets are hidden in event mode */
body.event-mode .hdr-nav a[href="#how"],
body.event-mode .hdr-nav a[href="#organizers"],
body.event-mode .hdr-nav a[href="#hotels"],
body.event-mode .hdr-nav a[href="#groups"],
body.event-mode .mm-nav a[href="#how"],
body.event-mode .mm-nav a[href="#organizers"],
body.event-mode .mm-nav a[href="#hotels"],
body.event-mode .mm-nav a[href="#groups"] { display: none; }

/* ── event hero content ── */
.ev-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 12.5px; color: var(--muted); }
.ev-crumb a { color: var(--soft); }
.ev-crumb a:hover { color: var(--gold); }
.ev-crumb .sep { opacity: .5; }
.ev-crumb .cur { color: var(--text); font-weight: 600; }
.ev-chip { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 16px;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #171307;
  padding: 7px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--champagne), var(--gold-2)); box-shadow: 0 8px 24px -10px rgba(231,193,90,.55); }
.ev-chip svg { width: 15px; height: 15px; }
.ev-title { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(36px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 18px; overflow-wrap: break-word; text-shadow: 0 2px 34px rgba(0,0,0,.55); }
.ev-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.ev-meta .m { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text);
  padding: 9px 15px; border-radius: 999px; background: rgba(10,10,11,.5); border: 1px solid var(--line-2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); min-width: 0; }
.ev-meta .m svg { width: 16px; height: 16px; color: var(--gold); flex: 0 0 auto; }
.ev-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.evb { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--soft); }
.evb svg { color: var(--gold); flex: 0 0 auto; }
.evb-link { color: var(--gold); font-weight: 700; }
.evb-link:hover { opacity: .85; }
@keyframes evIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ── floating compact search bar (Crewfare-style) — event mode restructures the ctxbar ── */
body.event-mode .ctxbar { margin-top: -40px; }
body.event-mode .ctx-head, body.event-mode #quickFilters { display: none; }
body.event-mode .ctxbar-card { max-width: 940px; margin-left: auto; margin-right: auto; padding: 14px; gap: 0;
  background: linear-gradient(180deg, rgba(22,22,28,.95), rgba(14,14,18,.95)); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-color: var(--line-2); box-shadow: 0 28px 66px -26px rgba(0,0,0,.85); }
body.event-mode .search-grid { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; grid-template-columns: none; }
body.event-mode .search-grid > .search-field:nth-child(1) { display: none; } /* city — the event fixes it */
body.event-mode .search-grid > .search-field { flex: 1 1 140px; min-width: 128px; grid-column: auto; }
body.event-mode .search-actions { flex: 1 1 100%; grid-column: auto; }
@media (min-width: 760px) {
  body.event-mode .search-actions { flex: 0 0 auto; }
  body.event-mode .search-actions .btn { min-width: 168px; }
}
@media (max-width: 600px) {
  .ev-meta .m { font-size: 13px; padding: 8px 13px; }
  body.event-mode .ctxbar { margin-top: 12px; }
}

/* ══════════════════════ ECOSYSTEM JOURNEY ══════════════════════ */
.journey { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.jnode { position: relative; padding: 20px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel);
  text-align: center; transition: transform .2s var(--ease), border-color .2s, background .2s; }
.jnode:hover { transform: translateY(-4px); border-color: var(--gold-line); }
.jnode.on { background: linear-gradient(180deg, rgba(231,193,90,.14), rgba(231,193,90,.03)); border-color: var(--gold-line); }
.jnode-ic { width: 54px; height: 54px; margin: 0 auto 13px; border-radius: 15px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: #0B0B14; border: 1px solid var(--line); }
.jnode-ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jnode.on .jnode-ic { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft); }
.jnode-ic svg { width: 22px; height: 22px; }
.jnode b { font-size: 13.5px; font-weight: 700; display: block; }
.jnode small { font-size: 11.5px; color: var(--muted); display: block; margin-top: 3px; line-height: 1.35; }
.jnode .step-n { position: absolute; top: 10px; right: 12px; font-size: 10px; font-weight: 700; color: var(--muted); }
@media (max-width: 860px) { .journey { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (max-width: 520px) { .journey { grid-template-columns: repeat(2, 1fr); } }

/* ══════════════════════ FEATURED STAYS ══════════════════════ */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.tab { font-size: 13.5px; font-weight: 600; color: var(--soft); padding: 11px 20px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); transition: color .18s var(--ease), border-color .18s, background .18s; cursor: pointer; }
.tab:hover { color: var(--text); border-color: var(--line-2); }
.tab[aria-selected="true"] { color: #171307; background: linear-gradient(135deg, var(--champagne), var(--gold-2)); border-color: transparent; box-shadow: 0 8px 22px -10px rgba(231,193,90,.5); }
.tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.tab[data-soon] { opacity: .62; }
@media (max-width: 620px) {
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 0 2px 3px; margin-bottom: 24px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; }
}
.stays-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.hotel { overflow: hidden; display: flex; flex-direction: column; transition: transform .24s var(--ease), border-color .24s, box-shadow .24s; cursor: pointer; box-shadow: 0 1px 0 rgba(255,255,255,.015); }
.hotel:hover { transform: translateY(-5px); border-color: var(--gold-line); box-shadow: 0 26px 54px -30px rgba(0,0,0,.85); }
.hotel.is-active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold-line); }
.hotel-img { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, #24201a, #101015); background-size: cover; background-position: center; transition: transform .55s var(--ease); }
.hotel:hover .hotel-img { transform: scale(1.045); }
.hotel-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(10,10,11,.5)); }
.hotel-badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; max-width: 80%; }
.hotel-rating { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--gold);
  background: rgba(10,10,11,.58); border: 1px solid var(--gold-line); padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hotel-body { padding: 15px; display: flex; flex-direction: column; flex: 1; gap: 11px; }
/* sectioned card body (Crewfare package-card style): Hotel block + Good-to-know block + price CTA */
.hcard-sec { background: rgba(255,255,255,.018); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; }
.hcard-sec-h { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--gold); margin-bottom: 9px; }
.hcard-sec-h svg { width: 13px; height: 13px; }
.hotel-name { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 500; margin: 0 0 6px; line-height: 1.22;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.44em; }
.hotel-loc { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin: 0 0 12px; }
.hotel-loc svg { width: 13px; height: 13px; color: var(--muted); flex: 0 0 auto; }
.hotel-facts { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12.5px; color: var(--soft); }
.hotel-fact { display: inline-flex; align-items: center; gap: 6px; }
.hotel-fact svg { width: 14px; height: 14px; color: var(--gold); flex: 0 0 auto; }
.hcard-incl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hcard-incl li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--soft); line-height: 1.4; }
.hcard-incl li svg { width: 13px; height: 13px; color: var(--ok); flex: 0 0 auto; margin-top: 2px; }
.hcard-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 2px; }
.hcard-foot .hotel-price { display: flex; align-items: baseline; gap: 8px; }
.hotel-price b { font-family: 'Fraunces', serif; font-size: 24px; }
.hotel-price span { font-size: 12px; color: var(--muted); }
.hcard-cta { width: 100%; }
.stays-note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 22px; }
.stays-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 22px; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.stays-trust span { display: inline-flex; align-items: center; gap: 7px; }
.stays-trust svg { color: var(--gold); flex: 0 0 auto; }
@media (min-width: 680px) { .stays-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .stays-grid { grid-template-columns: 1fr 1fr 1fr; } }

/* skeleton + empty */
.sk { position: relative; overflow: hidden; background: rgba(255,255,255,.05); border-radius: 8px; }
.sk::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.empty { text-align: center; padding: 50px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--soft); }
.empty svg { width: 40px; height: 40px; color: var(--muted); margin: 0 auto 14px; }

/* ══════════════════════ MAP ══════════════════════ */
.map-wrap { display: grid; grid-template-columns: 1fr; gap: 18px; }
.map-list { display: flex; flex-direction: column; gap: 10px; max-height: 560px; overflow-y: auto; padding-right: 4px; }
.map-item { display: flex; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; transition: border-color .18s, background .18s; }
.map-item:hover, .map-item.is-active { border-color: var(--gold-line); background: var(--panel-2); }
.map-item-n { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #171307; background: linear-gradient(135deg, var(--champagne), var(--gold-2)); }
.map-item b { font-size: 14px; font-weight: 600; display: block; }
.map-item span { font-size: 12px; color: var(--muted); }
.map-item .mi-price { margin-left: auto; font-family: 'Fraunces', serif; font-size: 16px; white-space: nowrap; }
.map-canvas { min-height: 420px; height: 100%; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #0a0e1c; }
#hotelMap { width: 100%; height: 100%; min-height: 420px; background: #0a0e1c; }
.leaflet-container { background: #0a0e1c !important; font-family: 'Inter', sans-serif !important; }
/* Tint the (grey) CARTO dark tiles to deep navy blue. Applied to the tile pane
   only, so the gold pins, route line and labels (other panes) stay untouched. */
.leaflet-tile-pane { filter: sepia(1) hue-rotate(190deg) saturate(2.6) brightness(.6); }
.pin { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #171307;
  width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, var(--champagne), var(--gold-2)); box-shadow: 0 3px 10px rgba(0,0,0,.5); border: 1px solid rgba(0,0,0,.2); }
.pin > * { transform: rotate(45deg); }
.pin.venue { background: linear-gradient(135deg, #fff, #d6d6d6); width: 30px; height: 30px; }
.pin.is-active { outline: 3px solid rgba(231,193,90,.4); }
/* venue name label (permanent) + route distance pill — override Leaflet's white default */
.leaflet-tooltip.venue-label { background: rgba(10,10,11,.92); color: #fff; border: 1px solid var(--gold-line); border-radius: 8px;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 12px; padding: 5px 11px; box-shadow: 0 8px 22px rgba(0,0,0,.55); white-space: nowrap; }
.leaflet-tooltip.venue-label::before { display: none; }
.leaflet-tooltip.route-tip { background: linear-gradient(135deg, var(--champagne), var(--gold-2)); color: #171307; border: 0; border-radius: 999px;
  font-family: 'Inter', sans-serif; font-weight: 800; font-size: 11px; padding: 3px 10px; box-shadow: 0 4px 12px rgba(0,0,0,.5); white-space: nowrap; }
.leaflet-tooltip.route-tip::before { display: none; }
.route-line { filter: drop-shadow(0 0 3px rgba(231,193,90,.45)); }
.map-toggle { display: none; }
@media (min-width: 940px) { .map-wrap { grid-template-columns: 380px 1fr; } }
@media (max-width: 939px) {
  .map-toggle { display: inline-flex; gap: 6px; margin: 0 auto 18px; padding: 5px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; }
  .map-toggle button { padding: 9px 20px; border-radius: 999px; border: 0; background: transparent; color: var(--soft); font-weight: 600; font-size: 13.5px; }
  .map-toggle button[aria-pressed="true"] { color: #171307; background: linear-gradient(135deg, var(--champagne), var(--gold-2)); }
  .map-wrap[data-view="map"] .map-list { display: none; }
  .map-wrap[data-view="list"] .map-canvas { display: none; }
}

/* ══════════════════════ BENEFITS ══════════════════════ */
.bene-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.bene { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); }
.bene-ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--gold); background: var(--gold-soft); border: 1px solid var(--gold-line); margin-bottom: 18px; }
.bene-ic svg { width: 23px; height: 23px; }
.bene h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 20px; margin: 0 0 8px; }
.bene p { color: var(--soft); font-size: 14.5px; margin: 0; }
@media (min-width: 680px) { .bene-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .bene-grid { grid-template-columns: 1fr 1fr 1fr; } }

/* ══════════════════════ SPLIT (Mega Ride, editorial) ══════════════════════ */
.split { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.app-cta { display: inline-flex; align-items: center; gap: 13px; margin-top: 16px; padding: 10px 22px 10px 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--text); transition: border-color .2s, background .2s, transform .16s var(--ease); }
.app-cta:hover { border-color: var(--gold-line); background: rgba(255,255,255,.07); transform: translateY(-2px); }
.app-cta svg { flex: 0 0 auto; color: var(--text); }
.app-cta span { display: flex; flex-direction: column; line-height: 1.18; }
.app-cta small { font-size: 10.5px; color: var(--muted); letter-spacing: .02em; }
.app-cta b { font-size: 14.5px; font-weight: 600; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* ══════════════════════ MEGA RIDE — premium event transportation ══════════════════════ */
/* Asymmetric editorial split: cinematic media (~55%) + focused content (~45%).
   Deep navy + black + champagne accent, coherent with the Mega Hotels system. */
.ridex-grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: stretch; }
@media (min-width: 920px) {
  .ridex-grid { grid-template-columns: 1.24fr 1fr; gap: 58px; }
  .ridex-copy { align-self: center; }
}

/* ── visual column ── */
.ridex-media { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2);
  aspect-ratio: 16 / 11; min-height: 300px; margin: 0;
  box-shadow: 0 48px 100px -54px rgba(0,0,0,.92), inset 0 0 0 1px rgba(255,255,255,.02); isolation: isolate; }
@media (min-width: 920px) { .ridex-media { aspect-ratio: auto; } }
.ridex-media-img { position: absolute; inset: 0; z-index: 0; background-color: #06070c; background-size: cover; background-position: 50% 52%;
  background-image: url('/images/mega-ride-hero.jpg'); /* official Mega Ride fleet asset (Maybach S-Class · night hotel arrival) */
  transform: scale(1.03); transition: transform 1.4s var(--ease); }
.ridex-media:hover .ridex-media-img { transform: scale(1.08); }
.ridex-media-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,8,16,.30) 0%, rgba(6,8,16,.12) 34%, rgba(7,8,13,.78) 100%),
    linear-gradient(104deg, rgba(11,16,34,.58) 0%, rgba(10,11,16,.20) 52%, rgba(10,11,16,.05) 100%); }
.ridex-media-cap { position: absolute; left: clamp(16px, 3vw, 26px); right: clamp(16px, 3vw, 26px); bottom: clamp(16px, 3vw, 24px); z-index: 2;
  display: flex; align-items: center; gap: 13px; }
.ridex-media-ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--gold); background: rgba(10,10,11,.5); border: 1px solid var(--gold-line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ridex-media-tx { display: flex; flex-direction: column; line-height: 1.32; min-width: 0; }
.ridex-media-tx b { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(15px, 2.4vw, 18px); color: #fff; letter-spacing: -.01em; }
.ridex-media-tx span { font-size: 12px; color: rgba(245,241,234,.82); font-weight: 500; }

/* ── content column ── */
.ridex-id { margin-bottom: 16px; }
.ridex-logo { height: auto; width: clamp(128px, 34%, 150px); display: block; }
.ridex-eyebrow { display: block; margin-bottom: 12px; }
.ridex-h { font-size: clamp(30px, 4.2vw, 46px); margin: 0 0 14px; }
.ridex-lede { margin: 0 0 12px; max-width: 40ch; }
.ridex-support { color: var(--soft); font-size: 14.5px; line-height: 1.6; margin: 0 0 24px; max-width: 46ch; }
.ridex-support b { color: var(--text); font-weight: 600; }

/* three benefits */
.ridex-benes { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.ridex-bene { display: flex; align-items: flex-start; gap: 14px; }
.ridex-bene-ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--gold); background: var(--gold-soft); border: 1px solid var(--gold-line); }
.ridex-bene-ic svg { width: 20px; height: 20px; }
.ridex-bene-tx { display: flex; flex-direction: column; gap: 2px; }
.ridex-bene-tx b { font-size: 15px; font-weight: 600; color: var(--text); }
.ridex-bene-tx span { font-size: 13.5px; color: var(--soft); line-height: 1.5; }

/* route flow: Airport → Hotel → Event → Return */
.ridex-route { position: relative; list-style: none; margin: 0 0 22px; padding: 4px 0 0; display: flex; justify-content: space-between; }
.ridex-route::before { content: ''; position: absolute; top: 24px; left: 12.5%; right: 12.5%; z-index: 0; border-top: 1px dashed var(--line-2); }
.ridex-rt { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ridex-rt-ic { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--muted); background: var(--bg-3); border: 1px solid var(--line-2); transition: color .2s, border-color .2s, background .2s; }
.ridex-rt-ic svg { width: 19px; height: 19px; }
.ridex-rt-l { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.ridex-rt.is-key .ridex-rt-ic { color: var(--gold); border-color: var(--gold-line); background: rgba(231,193,90,.12); box-shadow: 0 0 0 4px var(--gold-soft); }
.ridex-rt.is-key .ridex-rt-l { color: var(--text); font-weight: 700; }

/* ESTADO 2 — route summary card */
.ridex-plan { padding: 16px 18px; margin: 0 0 18px; }
.ridex-plan-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.ridex-plan-t { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ridex-plan-h .badge { margin: 0; }
.ridex-plan-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.ridex-plan-row:last-child { border-bottom: 0; }
.ridex-plan-row .k { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.ridex-plan-row .k svg { color: var(--gold); flex: 0 0 auto; }
.ridex-plan-row .v { color: var(--text); font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }

/* ESTADO 1 — contextual hint */
.ridex-hint { font-size: 13.5px; color: var(--soft); margin: 0 0 20px; }
.ridex-hint a { color: var(--gold); font-weight: 600; border-bottom: 1px solid var(--gold-line); transition: opacity .18s; }
.ridex-hint a:hover { opacity: .82; }
.ridex-hint a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* CTA */
.ridex-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.ridex-cta-main:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ridex-cta-sec { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--soft); transition: color .2s; }
.ridex-cta-sec svg { color: var(--gold); }
.ridex-cta-sec:hover { color: var(--gold); }
.ridex-cta-sec:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.ridex-fine { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.ridex-copy .app-cta { margin-top: 22px; }

/* responsive: media on top, full-width primary CTA on phones */
@media (max-width: 640px) {
  .ridex-route::before { left: 12.5%; right: 12.5%; }
  .ridex-rt-l { font-size: 11px; }
  .ridex-cta { gap: 14px; }
  .ridex-cta-main { width: 100%; }
  .ridex-cta-sec { width: 100%; justify-content: center; }
}
@media (max-width: 380px) {
  .ridex-rt-ic { width: 40px; height: 40px; }
  .ridex-route::before { top: 22px; }
}
/* keep the cinematic image still for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .ridex-media-img, .ridex-media:hover .ridex-media-img { transform: none; transition: none; }
}

/* ══════════════════════ ORGANIZER DASHBOARD ══════════════════════ */
.dash { padding: 22px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.dash-top b { font-family: 'Fraunces', serif; font-size: 18px; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric { padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-3); }
.metric .k { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.metric .v { font-family: 'Fraunces', serif; font-size: 27px; margin-top: 4px; }
.metric .d { font-size: 11.5px; color: var(--ok); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin-top: 14px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-3); }
.bar { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--gold), var(--gold-deep)); min-height: 6px; transition: height .8s var(--ease); }
@media (min-width: 560px) { .metrics { grid-template-columns: repeat(4, 1fr); } }

/* ══════════════════════ GROUPS ══════════════════════ */
.groups-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.gcard { overflow: hidden; }
.gcard-img { aspect-ratio: 16/9; position: relative; overflow: hidden;
  background-color: #14110c; background-size: cover; background-position: center;
  border-bottom: 1px solid var(--line); }
.gcard-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,10,11,.55) 100%); }
.gcard-body { padding: 20px; }
.gcard h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 19px; margin: 0 0 7px; }
.gcard p { color: var(--soft); font-size: 13.5px; margin: 0 0 14px; }
@media (min-width: 680px) { .groups-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .groups-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

/* ══════════════════════ STEPS (how it works) ══════════════════════ */
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; counter-reset: s; }
.step { padding: 30px 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); position: relative; }
.step .n { font-family: 'Fraunces', serif; font-size: 15px; font-weight: 600; color: var(--gold); letter-spacing: .1em; }
.step h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px; margin: 12px 0 10px; }
.step p { color: var(--soft); font-size: 14.5px; margin: 0; }
@media (min-width: 820px) { .steps { grid-template-columns: 1fr 1fr 1fr; } }

/* ══════════════════════ TRUST ══════════════════════ */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); font-size: 14px; }
.trust-item svg { width: 20px; height: 20px; color: var(--gold); flex: 0 0 auto; }
@media (min-width: 760px) { .trust-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

/* ══════════════════════ CITY DISCOVERY ══════════════════════ */
.cities { display: grid; grid-template-columns: 1fr; gap: 18px; }
.city { position: relative; aspect-ratio: 16/10; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  display: flex; align-items: flex-end; padding: 22px; transition: transform .22s var(--ease), border-color .22s;
  background: radial-gradient(100% 90% at 82% 0%, rgba(231,193,90,.14), transparent 55%), linear-gradient(150deg, #1d1a12, #0c0c10); }
.city:hover { transform: translateY(-4px); border-color: var(--gold-line); }
.city.feat { outline: 1px solid var(--gold-line); }
.city::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 32%, rgba(10,10,11,.8)); }
.city-glyph { position: absolute; top: 16px; right: 18px; z-index: 1; color: var(--gold); opacity: .18; pointer-events: none; }
.city-glyph svg { width: 46px; height: 46px; }
.city-in { position: relative; z-index: 2; }
.city-in .badge { margin-bottom: 10px; }
.city-in h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 24px; margin: 0 0 6px; }
.city-in p { font-size: 13px; color: var(--soft); margin: 0 0 12px; max-width: 34ch; }
@media (min-width: 680px) { .cities { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cities { grid-template-columns: 1fr 1fr 1fr; } }

/* ══════════════════════ FORMS / MODAL / SHEET ══════════════════════ */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.form-grid.two { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.3);
  color: var(--text); font-family: inherit; font-size: 16px; /* 16px avoids iOS focus-zoom */ }
.field input, .field select { min-height: 48px; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.field input::placeholder, .field textarea::placeholder { color: rgba(245,241,234,.32); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--soft); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.form-fine { font-size: 11.5px; color: var(--muted); }
.form-hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; opacity: 0; }
.form-msg { display: none; }
.form-thanks { display: none; text-align: center; padding: 26px 10px; }
.form-thanks.show { display: block; }
.form-thanks .chk { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #171307; background: linear-gradient(135deg, var(--champagne), var(--gold-2)); }
.form-thanks h3 { font-family: 'Fraunces', serif; font-size: 22px; margin: 0 0 6px; }
.form-thanks p { color: var(--soft); margin: 0; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }

.modal-mask { position: fixed; inset: 0; z-index: 100; background: rgba(6,6,8,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-mask.open { display: flex; animation: maskIn .2s var(--ease) both; }
.modal-mask.open .modal { animation: modalIn .26s var(--ease) both; }
@keyframes maskIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.modal { width: 100%; max-width: 560px; max-height: 90svh; overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 26px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.modal-head h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 24px; margin: 0; }
.modal-head p { color: var(--soft); font-size: 14px; margin: 6px 0 0; }
.modal-x { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); display: flex; align-items: center; justify-content: center; transition: border-color .2s, background .2s, color .2s; }
.modal-x:hover { border-color: var(--gold-line); color: var(--gold); background: var(--panel-2); }
.modal-x:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .modal-mask.open, .modal-mask.open .modal { animation: none; } }
@media (max-width: 480px) { .modal-mask { padding: 12px; } }
.modal form { margin-top: 18px; }
.modal .btn { width: 100%; margin-top: 6px; }

/* ── stay detail modal (premium) ── */
.modal-stay { max-width: 540px; padding: 0; overflow: hidden; position: relative; }
.modal-x-float { position: absolute; top: 14px; right: 14px; z-index: 4; background: rgba(10,10,11,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sd-hero { position: relative; aspect-ratio: 16/9; background-size: cover; background-position: center; background-color: #14110c; }
.sd-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.16) 0%, transparent 32%, rgba(20,20,24,.72)); }
.sd-stars { position: absolute; left: 16px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--gold); padding: 6px 12px; border-radius: 999px;
  background: rgba(10,10,11,.6); border: 1px solid var(--gold-line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sd-body { padding: 22px 24px 24px; }
.sd-name { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(21px,3.4vw,25px); line-height: 1.16; margin: 0 0 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sd-sub { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: 0 0 18px; }
.sd-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 16px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sd-fact { display: flex; align-items: flex-start; gap: 11px; min-width: 0; }
.sd-fact-ic { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  color: var(--gold); background: var(--gold-soft); border: 1px solid var(--gold-line); }
.sd-fact-ic svg { width: 17px; height: 17px; }
.sd-fact-t { display: flex; flex-direction: column; min-width: 0; }
.sd-fact-k { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.sd-fact-v { font-size: 13.5px; color: var(--text); font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; }
.sd-price { display: flex; align-items: baseline; gap: 9px; margin: 18px 0 3px; }
.sd-price b { font-family: 'Fraunces', serif; font-size: 30px; }
.sd-price span { font-size: 12.5px; color: var(--muted); }
.sd-fine { font-size: 11.5px; color: var(--muted); margin: 0 0 18px; }
.sd-cta { width: 100%; margin-top: 10px; }
.sd-avail .sd-cta:first-of-type, .sd-form .sd-cta { margin-top: 4px; }
.sd-avail-msg { font-size: 13.5px; line-height: 1.55; color: var(--soft); margin: 0 0 14px; }
.sd-trust { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.sd-trust svg { width: 14px; height: 14px; color: var(--ok); flex: 0 0 auto; }
/* in-modal waitlist form */
.sd-form-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; opacity: 0; }
.sd-form-h { font-family: 'Fraunces', serif; font-weight: 500; font-size: 19px; margin: 0 0 4px; }
.sd-form-sub { font-size: 13px; color: var(--soft); margin: 0 0 16px; }
.sd-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.sd-field label { font-size: 12.5px; font-weight: 600; color: var(--soft); }
.sd-field label .opt { color: var(--muted); font-weight: 500; }
.sd-field input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.3);
  color: var(--text); font-family: inherit; font-size: 16px; min-height: 48px; }
.sd-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.sd-field2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sd-success { text-align: center; padding: 10px 6px 4px; }
.sd-success-ic { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #171307; background: linear-gradient(135deg, var(--champagne), var(--gold-2)); }
.sd-success h4 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 21px; margin: 0 0 6px; }
.sd-success p { font-size: 13.5px; color: var(--soft); margin: 0 0 16px; }
@media (max-width: 560px) {
  .sd-facts { grid-template-columns: 1fr; gap: 13px; }
  .sd-field2 { grid-template-columns: 1fr; }
  .sd-body { padding: 20px 18px 22px; }
}

/* ── reserve (Phase 2D) ── */
.modal-reserve { max-width: 480px; }
#rsvBody { margin-top: 18px; }
.rsv-summary { padding: 16px 18px; margin-bottom: 18px; }
.rsv-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; }
.rsv-line:first-child { font-family: 'Fraunces', serif; font-size: 16px; display: block; }
.rsv-line .k { color: var(--muted); }
.rsv-line .v { color: var(--text); font-weight: 600; text-align: right; }
.rsv-line.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.rsv-line.total .v { font-family: 'Fraunces', serif; font-size: 20px; color: var(--gold); }
.rsv-policy { font-size: 12.5px; color: var(--soft); margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
#rsvPayEl { margin: 6px 0 4px; min-height: 40px; }
.rsv-error { font-size: 13px; color: #ffb4a8; background: rgba(255,90,70,.08); border: 1px solid rgba(255,90,70,.25); border-radius: 10px; padding: 10px 12px; margin-top: 12px; }
.rsv-loading { padding: 8px 0; }
.rsv-success { text-align: center; padding: 14px 6px 6px; }
.rsv-success .chk { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #171307; background: linear-gradient(135deg, var(--champagne), var(--gold-2)); }
.rsv-success .chk svg { width: 26px; height: 26px; }
.rsv-success h3 { font-family: 'Fraunces', serif; font-size: 24px; margin: 0 0 6px; }
.rsv-success p { color: var(--soft); margin: 0 0 12px; }
.rsv-ref { display: inline-block; border: 1px dashed var(--gold-line); border-radius: 12px; padding: 12px 20px; margin: 6px 0 14px; font-size: 13px; color: var(--muted); }
.rsv-ref b { font-family: 'Fraunces', serif; font-size: 20px; color: var(--text); letter-spacing: .02em; display: block; margin-top: 4px; }

/* ══════════════════════ WAITLIST ══════════════════════ */
.waitlist { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--gold-line);
  background: radial-gradient(120% 100% at 80% 0%, rgba(231,193,90,.14), transparent 55%), linear-gradient(160deg, #17140d, #0b0b0e); padding: clamp(30px, 5vw, 56px); }
.waitlist-in { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.waitlist form { max-width: 460px; }
@media (min-width: 900px) { .waitlist-in { grid-template-columns: 1fr 1fr; gap: 50px; } }

/* ══════════════════════ FAQ ══════════════════════ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: transparent; border: 0; color: var(--text); padding: 22px 40px 22px 0;
  font-size: 16.5px; font-weight: 500; position: relative; display: flex; }
.faq-q::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--gold); font-weight: 300; transition: transform .3s; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { color: var(--soft); font-size: 14.5px; margin: 0 0 22px; padding-right: 30px; }

/* ══════════════════════ FINAL CTA ══════════════════════ */
.finale { text-align: center; }
.finale .h2 { max-width: 18ch; margin: 0 auto 18px; }
.finale-eco { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.finale-eco .pill.on { color: #171307; background: linear-gradient(135deg, var(--champagne), var(--gold-2)); border-color: transparent; }
.finale-logo { height: 40px; margin: 34px auto 0; opacity: .95; }

/* ══════════════════════ FOOTER ══════════════════════ */
.foot { border-top: 1px solid var(--line); padding: 60px 0 calc(40px + var(--safe-b)); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 20px; }
.foot-brand img { height: 30px; margin-bottom: 14px; }
.foot-brand p { font-size: 13px; color: var(--muted); max-width: 30ch; }
.foot-col h5 { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 700; }
.foot-col a { display: block; font-size: 13.5px; color: var(--soft); padding: 5px 0; }
.foot-col a:hover { color: var(--gold); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ══════════════════════ MOBILE STICKY CTA ══════════════════════ */
.sticky-cta { position: fixed; left: 16px; right: 16px; bottom: calc(14px + var(--safe-b)); z-index: 80;
  display: none; padding: 14px; border-radius: 16px; text-align: center; font-weight: 700; color: #171307;
  background: linear-gradient(135deg, var(--champagne), var(--gold) 60%, var(--gold-2)); box-shadow: 0 14px 34px -10px rgba(0,0,0,.6);
  transform: translateY(160%); transition: transform .35s var(--ease); }
.sticky-cta.show { transform: none; }
@media (min-width: 1000px) { .sticky-cta { display: none !important; } }

/* ══════════════════════ MOBILE REFINEMENTS ══════════════════════ */
/* Phones (≤600px): stack hero CTAs full-width, tighten hero rhythm, roomier map. */
@media (max-width: 600px) {
  .hero { min-height: auto; padding-bottom: 30px; }
  .hero-in { gap: 26px; }
  .hero-sub { max-width: none; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { gap: 7px; }
  /* no overlap on phones — the compact hero leaves the card cramped against the
     trust pills. Give it a clean gap instead of the desktop -margin overlap. */
  .ctxbar { margin-top: 10px; }
  .ctxbar-card { padding: 18px; }
  .ctx-head { gap: 13px; }
  .ctx-status { margin-left: 0; }
  .section { padding: 56px 0; }
  .head { margin-bottom: 30px; }
  /* map: comfortable height, list scrolls under it without eating the page */
  .map-canvas, #hotelMap { min-height: 62svh; }
  .map-list { max-height: 62svh; }
  .split { gap: 28px; }
  .waitlist form { max-width: none; }
  /* keep floating CTA clear of the last section's own buttons */
  .finale { padding-bottom: 92px; }
}
/* Small phones (≤400px): trim gutters + display type so nothing crowds the edge. */
@media (max-width: 400px) {
  .wrap { padding: 0 16px; }
  .h1 { font-size: 30px; }
  .h2 { font-size: 25px; }
  .hero-badge { font-size: 10px; }
  .btn-lg { padding: 15px 24px; font-size: 15.5px; }
  .journey { gap: 8px; }
  .jnode { padding: 16px 10px; }
  .jnode-ic { width: 46px; height: 46px; }
  .metrics { gap: 10px; }
  .metric { padding: 13px; }
  .metric .v { font-size: 23px; }
  .modal { padding: 20px; }
  .foot-grid { gap: 26px 16px; }
}
/* very short landscape phones — don't force a tall hero */
@media (max-height: 480px) and (orientation: landscape) { .hero { min-height: auto; } }

/* ══════════════════════ REVEAL ══════════════════════ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
