/* Layout: a sky that follows the visitor's clock opens the page, then calm editorial sections on a lilac-white ground. */
:root {
  --bg: #f7f5fb;
  --surface: #ffffff;
  --ink: #1f1530;
  --muted: #5e5674;
  --line: #e4dfee;
  --plum: #4b2a86;
  --plum-ink: #ffffff;
  --sun: #c97a12;
  --good: #137a52;
  --night: #1a1030;
  --night-2: #3a1f6b;
  --star: #fff6dd;
  --amber: #ffc35c;
  --day-1: #ffd88a;
  --day-2: #ffb36b;
  --day-3: #8fc7e8;
  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --f-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 18px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #120b20; --surface: #1c1330; --ink: #f3effa; --muted: #aba1c2; --line: #2e2445;
    --plum: #b79bff; --plum-ink: #1a1030; --sun: #ffc35c; --good: #4fd29a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #120b20; --surface: #1c1330; --ink: #f3effa; --muted: #aba1c2; --line: #2e2445;
  --plum: #b79bff; --plum-ink: #1a1030; --sun: #ffc35c; --good: #4fd29a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.eyebrow { font: 600 13px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun); }
.lede { font-size: 19px; color: var(--muted); max-width: 60ch; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--night) 72%, transparent); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font: 700 21px/1 var(--f-display); letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.pill-cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--amber); color: #2a1748; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
@media (max-width: 760px) { .nav-links { display: none; } .nav .pill-cta { margin-left: auto; } }

/* Hero sky: colors are a fixed scene, set explicitly */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--night); isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -1; transition: opacity 1.2s ease; }
.sky-night { background: radial-gradient(120% 80% at 70% 0%, #5a2f99 0%, #2c1752 45%, #140b26 100%); }
.sky-day { background: linear-gradient(180deg, #6fb3dd 0%, #f6c27a 62%, #f29b5c 100%); opacity: 0; }
.hero[data-mode="siesta"] .sky-day { opacity: 1; }
.stars { position: absolute; inset: 0; z-index: -1; transition: opacity 1.2s ease; }
.hero[data-mode="siesta"] .stars { opacity: 0; }
.orb { position: absolute; z-index: -1; width: 220px; height: 220px; right: 8%; top: 70px; border-radius: 50%; transition: all 1.2s ease;
  background: radial-gradient(circle at 35% 35%, #fff4cf, #ffc35c 60%, #f2a93b); box-shadow: 0 0 120px 40px rgba(255,195,92,0.35); }
.hero[data-mode="noche"] .orb { width: 150px; height: 150px; top: 90px; background: radial-gradient(circle at 40% 40%, #fffaf0, #f3e7c9 70%);
  box-shadow: 0 0 90px 20px rgba(255,246,221,0.22); -webkit-mask: radial-gradient(circle at 78% 30%, transparent 46%, #000 47%); mask: radial-gradient(circle at 78% 30%, transparent 46%, #000 47%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; padding-block: 72px 88px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 48px 64px; } .orb { right: -40px; top: 30px; } }
.hero h1 { font-size: clamp(46px, 7.4vw, 92px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero[data-mode="siesta"] h1 em { color: #2a1748; }
.hero .sub { font-size: 20px; max-width: 34ch; margin-top: 22px; color: rgba(255,255,255,0.86); }
.hero[data-mode="siesta"] .sub { color: #2a1748; }
.hero[data-mode="siesta"] { color: #1f1530; }
.toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25); margin-bottom: 26px; }
.hero[data-mode="siesta"] .toggle { background: rgba(255,255,255,0.45); border-color: rgba(42,23,72,0.15); }
.toggle button { border: 0; background: transparent; color: inherit; font: 600 15px/1 var(--f-body); padding: 10px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.toggle button[aria-pressed="true"] { background: #fff; color: #2a1748; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 14px; background: #fff; color: #1a1030; text-decoration: none; }
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: 11px; letter-spacing: 0.04em; opacity: 0.7; line-height: 1.2; }
.store b { display: block; font: 700 17px/1.2 var(--f-display); }
.clock-note { font: 500 13px/1.4 var(--f-mono); opacity: 0.8; }

/* Phone mock */
.phone { justify-self: center; width: min(330px, 100%); aspect-ratio: 330 / 680; max-width: 100%; border-radius: 48px; padding: 12px; background: #0d0718;
  box-shadow: 0 40px 80px rgba(10,5,25,0.45), inset 0 0 0 2px rgba(255,255,255,0.12); }
.screen { height: 100%; border-radius: 38px; overflow: hidden; background: #f6f3fb; color: #1f1530; display: flex; flex-direction: column; font-size: 13px; }
.screen-top { background: linear-gradient(160deg, #2c1752, #4b2a86); color: #fff; padding: 38px 16px 16px; }
.screen-top .t { font: 700 20px/1.1 var(--f-display); }
.screen-top .s { opacity: 0.75; font-size: 12px; margin-top: 4px; }
.chips { display: flex; gap: 6px; margin-top: 12px; }
.chip { font-size: 11px; font-weight: 600; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,0.16); }
.chip.on { background: var(--amber); color: #2a1748; }
.deals { padding: 12px; display: grid; gap: 10px; overflow: hidden; }
.deal { background: #fff; border-radius: 16px; padding: 10px; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; box-shadow: 0 1px 3px rgba(31,21,48,0.08); }
.ph { width: 64px; height: 64px; border-radius: 12px; }
.deal .n { font-weight: 700; font-size: 13px; line-height: 1.25; }
.deal .m { color: #6b6380; font-size: 11px; margin-top: 2px; }
.deal .p { text-align: right; font: 700 16px/1 var(--f-mono); }
.deal .p small { display: block; font: 500 10px/1.3 var(--f-body); color: #6b6380; margin-top: 3px; }
.drop { display: inline-block; margin-top: 5px; font-size: 10px; font-weight: 700; color: #fff; background: #137a52; padding: 3px 7px; border-radius: 999px; }
.slot { display: inline-block; margin-top: 5px; font: 600 10px/1 var(--f-mono); color: #8a4b00; background: #ffe9c2; padding: 4px 7px; border-radius: 999px; }

/* Sections */
section { padding-block: 96px; }
@media (max-width: 700px) { section { padding-block: 64px; } }
.head { display: grid; gap: 16px; margin-bottom: 44px; }

.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 800px) { .modes { grid-template-columns: 1fr; } }
.mode { border-radius: 28px; padding: 36px; display: grid; gap: 18px; align-content: start; min-width: 0; }
.mode.siesta { background: linear-gradient(170deg, #ffe2a8, #ffc98f); color: #2a1748; }
.mode.noche { background: linear-gradient(170deg, #2c1752, #1a1030); color: #f3effa; }
.mode .time { font: 600 14px/1 var(--f-mono); letter-spacing: 0.04em; opacity: 0.8; }
.mode h3 { font-size: 34px; }
.mode ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.mode li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.mode li svg { width: 20px; height: 20px; margin-top: 4px; }
.tag { justify-self: start; font: 700 12px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: rgba(42,23,72,0.12); }
.mode.noche .tag { background: rgba(255,195,92,0.18); color: var(--amber); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 28px; } }
.step { display: grid; gap: 12px; align-content: start; min-width: 0; padding-top: 22px; border-top: 2px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); font: 600 14px/1 var(--f-mono); color: var(--sun); }
.step p { color: var(--muted); }

.world { background: var(--night); color: #f3effa; }
.world .lede { color: #c9bfdc; }
.world .eyebrow { color: var(--amber); }
.cities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,0.1); border-radius: 20px; overflow: hidden; }
@media (max-width: 900px) { .cities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.city { background: #1d1336; padding: 18px 18px 16px; display: grid; gap: 6px; min-width: 0; }
.city .top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.city .nm { font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.city .clk { font: 500 14px/1 var(--f-mono); color: #c9bfdc; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.city .clk i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); display: inline-block; }
.city .clk i.night { background: #b79bff; }
.city .fr { font: 700 22px/1 var(--f-mono); }
.city .fr small { font: 500 12px/1 var(--f-body); color: #a99fc0; margin-right: 4px; }
.city .ctry { color: #a99fc0; font-size: 13px; }
.note { margin-top: 18px; font-size: 13px; color: #a99fc0; }

.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
@media (max-width: 800px) { .feats { grid-template-columns: 1fr; } }
.feat { padding-block: 26px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.feat svg { width: 28px; height: 28px; color: var(--plum); }
.feat p { color: var(--muted); margin-top: 6px; }

.faq { display: grid; gap: 0; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 20px; }
.faq summary { cursor: pointer; font: 700 19px/1.3 var(--f-display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--f-body); color: var(--plum); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; max-width: 68ch; }

.cta { text-align: left; }
.cta-box { border-radius: 32px; padding: clamp(32px, 6vw, 64px); background: linear-gradient(120deg, #c4572c 0%, #8a3a8f 45%, #3a1f6b 75%, #1a1030 100%); color: #fff; display: grid; gap: 18px; }
.cta-box h2 { max-width: 16ch; }
.cta-box p { max-width: 52ch; font-size: 18px; color: rgba(255,255,255,0.9); }
.mail { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mail code { font: 600 17px/1 var(--f-mono); background: rgba(255,255,255,0.16); padding: 12px 16px; border-radius: 12px; user-select: all; }
.btn { border: 0; cursor: pointer; font: 700 15px/1 var(--f-body); padding: 13px 18px; border-radius: 12px; background: #fff; color: #2a1748; text-decoration: none; display: inline-block; }

footer { border-top: 1px solid var(--line); padding-block: 40px 56px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .brand { color: var(--ink); }

/* Legal pages */
.doc { max-width: 760px; margin-inline: auto; padding: 64px 20px 96px; }
.doc h1 { font-size: clamp(38px, 6vw, 56px); margin-bottom: 10px; }
.doc .upd { color: var(--muted); font: 500 14px/1 var(--f-mono); margin-bottom: 36px; }
.doc h2 { font-size: 24px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc strong { color: var(--ink); }
.doc code { font-family: var(--f-mono); font-size: 0.95em; }

/* Booking page */
.bk-head { padding-block: 56px 28px; background: linear-gradient(180deg, color-mix(in srgb, var(--plum) 10%, var(--bg)), var(--bg)); }
.bk-head h1 { font-size: clamp(34px, 5vw, 56px); margin-top: 12px; }
.bk-head .lede { margin-top: 10px; }
.bk-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-top: 26px; }
.fld { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); min-width: 0; }
.fld select, .fld input { font: 500 16px/1.2 var(--f-body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; min-width: 0; width: 100%; }
.bk-bar .fld select { min-width: 150px; }
.fld input:focus, .fld select:focus { outline: 2px solid var(--plum); outline-offset: 1px; }
.chk { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 15px; padding: 11px 4px; }
.chk input { width: 18px; height: 18px; accent-color: var(--plum); }
.ghost { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 15px/1 var(--f-body); padding: 12px 14px; border-radius: 12px; cursor: pointer; }
.ghost svg { width: 16px; height: 16px; color: var(--plum); }
.bk-list { padding-block: 8px 96px; }
.bk-status { color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.card { text-align: left; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: var(--r); padding: 0; overflow: hidden; cursor: pointer; font: inherit; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31,21,48,0.12); }
.card .img { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #3a1f6b, #ffc35c); }
.card .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge { position: absolute; left: 10px; top: 10px; background: var(--good); color: #fff; font: 700 12px/1 var(--f-body); padding: 6px 9px; border-radius: 999px; }
.cb { padding: 14px 16px 16px; display: grid; gap: 4px; }
.cb .nm { font: 700 17px/1.25 var(--f-display); letter-spacing: -0.01em; }
.cb .mt { color: var(--muted); font-size: 14px; }
.cb .mt b { color: var(--ink); }
.cb .pr { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; font-size: 13px; color: var(--muted); }
.cb .pr .ok { color: var(--good); font-weight: 600; }
.cb .pr b { font: 700 22px/1 var(--f-mono); color: var(--ink); }
.cb .sm { text-align: right; color: var(--muted); font-size: 12px; }
.sheet { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.sheet-bg { position: absolute; inset: 0; background: rgba(10,5,25,0.6); }
.sheet-card { position: relative; width: min(640px, 100%); max-height: calc(100% - 16px); overflow: auto; background: var(--bg); border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,0.4); }
.x { position: absolute; right: 12px; top: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0,0,0,0.55); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; aspect-ratio: 16 / 9; background: #2c1752; }
.gal img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.noimg { flex: 1; background: linear-gradient(135deg, #3a1f6b, #ffc35c); }
.sheet-body { padding: 22px 24px 28px; display: grid; gap: 16px; }
.sheet-body h2 { font-size: 28px; }
.sheet-body h3 { font-size: 19px; margin-bottom: 4px; }
.meta { color: var(--muted); }
.meta b { color: var(--ink); }
.price-box, .hold { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--surface); display: grid; gap: 8px; }
.pl { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-weight: 600; }
.pl b { font: 700 26px/1 var(--f-mono); }
.pd { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.pd b { color: var(--ink); font-family: var(--f-mono); }
.pd.good { color: var(--good); font-weight: 600; }
#guest { display: grid; gap: 12px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row2 { grid-template-columns: 1fr; } }
.primary { display: inline-block; text-align: center; border: 0; cursor: pointer; background: var(--plum); color: var(--plum-ink); font: 700 16px/1 var(--f-body); padding: 16px 18px; border-radius: 14px; text-decoration: none; width: 100%; }
.primary:disabled { opacity: 0.6; cursor: wait; }
.fine { color: var(--muted); font-size: 13px; }
.err { color: #c0392b; font-weight: 600; min-height: 1em; margin: 0; }
#payment-element { min-height: 120px; }
#payment-element button { width: 100%; margin-top: 16px; padding: 15px; border: 0; border-radius: 14px; background: var(--plum); color: var(--plum-ink); font: 700 16px var(--f-body); cursor: pointer; }
.done { padding-block: 72px 110px; }
.ticket { max-width: 620px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 32px; display: grid; gap: 16px; overflow: hidden; }
.ticket h1 { font-size: clamp(30px, 5vw, 44px); }
.ticket p { color: var(--muted); }
.tk-img { width: calc(100% + 64px); max-width: none; margin: -32px -32px 4px; aspect-ratio: 16 / 8; object-fit: cover; }
.tk { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; border-block: 1px dashed var(--line); padding-block: 16px; }
.tk span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.tk b { font: 700 17px/1.3 var(--f-mono); word-break: break-word; }
.hero-actions .book-now { display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border-radius: 14px; background: var(--amber); color: #2a1748; font: 700 17px/1 var(--f-body); text-decoration: none; }
.badge.member { background: var(--amber); color: #2a1748; }
.cb .pr s { font: 500 14px/1 var(--f-mono); color: var(--muted); margin-right: 4px; }
.perks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.perks span { font-size: 12px; font-weight: 600; color: var(--good); background: color-mix(in srgb, var(--good) 12%, transparent); padding: 4px 8px; border-radius: 999px; }
details.member { border: 1px dashed var(--line); border-radius: 16px; padding: 14px 16px; }
details.member summary { cursor: pointer; font-weight: 700; }
details.member p { color: var(--muted); font-size: 15px; margin-block: 10px 12px; }
.card .img .badge { top: auto; bottom: 10px; }
.tier { position: absolute; left: 10px; top: 10px; font: 700 12px/1 var(--f-body); padding: 6px 9px; border-radius: 999px; color: #2a1748; background: #fff; }
.tier.great { background: var(--amber); }
.tier.hot { background: #e2552b; color: #fff; }
