/* Maqueta AQUA·PRO · Zerufy Studio. Negro de estudio, plata y un acento azul hielo. */

@font-face { font-family: 'Michroma'; src: url('fonts/michroma-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/manrope-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/manrope-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/manrope-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #060708;
  --bg2: #0e1014;
  --bg3: #161a1f;
  --ink: #eef1f4;
  --ink2: #aab3bd;
  --acc: #8fd3ff;
  --acc-ink: #03131d;
  --light: #e6e9ec;
  --light2: #d5dade;
  --light-ink: #0a0c0f;
  --m: clamp(16px, 4.2vw, 56px);
  --display: 'Michroma', 'Arial Black', sans-serif;
  --text: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --top: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--top); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 50; background: var(--acc); color: var(--acc-ink); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 10px; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--m); }

/* Botones: esquinas rectas, un solo relleno */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 0; background: var(--acc); color: var(--acc-ink); font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer; transition: transform 160ms var(--ease), background-color 160ms; }
.btn:hover { background: #b3e2ff; }
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-wide { width: 100%; }
.btn-ghost { background: var(--bg3); color: var(--ink); }
.btn-ghost:hover { background: #222831; }
.btn-alt { background: var(--bg3); color: var(--ink); }
.btn-alt:hover { background: #222831; }
.btn-dark { background: var(--light-ink); color: var(--light); }
.btn-dark:hover { background: #1c2026; }
.link { display: inline-flex; align-items: center; min-height: 44px; background: none; border: 0; padding: 0; color: var(--ink); font: 600 16px/1 var(--text); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--acc); cursor: pointer; }
.link:hover { color: var(--acc); }
.link-dark { color: var(--light-ink); text-decoration-color: var(--light-ink); }
.link-dark:hover { color: #233; }

/* Encabezado */
.top { position: fixed; inset: 0 0 auto; z-index: 30; transition: background-color 240ms; }
.top.is-solid { background: var(--bg); }
.demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px var(--m); background: var(--bg2); color: var(--ink2); font-size: 12px; line-height: 1.3; }
.demo-bar a { color: inherit; font-weight: 700; }
.demo-bar-cta { flex: none; text-decoration: none; padding: 4px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; padding: 0 var(--m); }
.brand { font: 400 20px/1 var(--display); letter-spacing: 0.02em; text-decoration: none; }
.brand span { color: var(--acc); }
.nav nav { display: none; gap: 28px; }
.nav nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink2); }
.nav nav a:hover { color: var(--ink); }
@media (min-width: 900px) { .nav nav { display: flex; } }

/* Historia con el auto 3D */
.story { position: relative; height: 260vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
.poster, .poster img { position: absolute; inset: 0; width: 100%; height: 100%; }
.poster img { object-fit: cover; transition: opacity 900ms var(--ease); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 900ms var(--ease); }
.is-live .stage canvas { opacity: 1; }
.is-live .poster img { opacity: 0; }
.stage-ui { position: absolute; inset: 0; padding: calc(var(--top) + 24px) var(--m) 28px; pointer-events: none; }
.stage-ui a, .stage-ui button { pointer-events: auto; }
.hero-copy, .cap { position: absolute; left: var(--m); right: var(--m); top: calc(var(--top) + clamp(16px, 4vh, 48px)); max-width: 760px; transition: opacity 520ms var(--ease), transform 620ms var(--ease); }
.hero-copy h1 { font-size: clamp(1.85rem, 5.1vw, 5.2rem); max-width: 12ch; }
.lead { margin-top: 20px; max-width: 34em; font-size: clamp(16px, 1.25vw, 19px); color: var(--ink); }
.hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }
.hero-price { margin-top: 18px; color: var(--ink2); font-size: 15px; }
.hero-price strong { color: var(--ink); font-weight: 700; }
.cap h2 { font-size: clamp(1.5rem, 3.4vw, 3.4rem); max-width: 15ch; }
.cap p { margin-top: 16px; max-width: 30em; font-size: clamp(16px, 1.2vw, 18px); }
.cap .link { margin-top: 8px; }
.has-3d [data-cap] { opacity: 0; transform: translateY(18px); }
.has-3d [data-cap].is-on { opacity: 1; transform: none; }
.has-3d .hero-copy { opacity: 1; transform: none; }
.has-3d .hero-copy:not(.is-on) { opacity: 0; transform: translateY(-14px); }
.is-shot .top, .is-shot .stage-ui, .is-shot .poster { display: none !important; }
.is-shot .stage canvas { opacity: 1; transition: none; }

/* Sin 3D (movimiento reducido o sin WebGL): la misma historia, quieta */
.no-3d .story { height: auto; }
.no-3d .stage { position: relative; height: auto; overflow: visible; }
.no-3d .poster { position: relative; display: block; inset: auto; height: auto; }
.no-3d .poster img { position: relative; height: 100svh; min-height: 560px; }
.no-3d .stage canvas { display: none; }
.no-3d .stage-ui { position: static; inset: auto; padding: 0; pointer-events: auto; }
.no-3d .hero-copy { position: absolute; top: calc(var(--top) + 24px); }
.no-3d .cap { position: relative; top: auto; left: auto; right: auto; max-width: none; padding: 56px var(--m) 0; }
.no-3d .cap:last-child { padding-bottom: 32px; }

/* Paquetes */
.pk { padding: clamp(96px, 14vw, 200px) 0 clamp(80px, 10vw, 160px); }
.pk-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 80px); }
.pk-head h2 { font-size: clamp(1.6rem, 3.6vw, 3.6rem); max-width: 18ch; }
.pk-head p { max-width: 36em; color: var(--ink); }
.pk-body { display: grid; gap: 32px; }
.pk-fig { margin: 0; display: none; }
.pk-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--bg2); transition: opacity 280ms var(--ease); }
.pk-fig img.is-swap { opacity: 0.25; }
.pk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.pk-item { padding: clamp(22px, 3vw, 40px); background: var(--bg2); display: grid; gap: 20px; transition: background-color 240ms; }
.pk-item.is-cur { background: var(--bg3); }
.pk-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.pk-top h3 { font-size: clamp(1.25rem, 2.2vw, 2rem); }
.pk-time { color: var(--ink2); font-size: 15px; }
.pk-prices { border-collapse: collapse; width: 100%; max-width: 460px; }
.pk-prices th { text-align: left; font-weight: 600; font-size: 14px; color: var(--ink2); padding: 0 0 4px; }
.pk-prices td { font: 400 clamp(1.3rem, 2.2vw, 1.9rem)/1.1 var(--display); padding: 0; letter-spacing: -0.02em; }
.pk-inc { margin: 0; padding: 0 0 0 1.1em; display: grid; gap: 6px; }
.pk-inc li::marker { color: var(--acc); }
.pk-item .btn { justify-self: start; }
@media (min-width: 900px) {
  .pk-body { grid-template-columns: 5fr 7fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
  .pk-fig { display: block; position: sticky; top: calc(var(--top) + 24px); }
}

/* Arma tu paquete */
.cfg { position: relative; padding: clamp(80px, 10vw, 160px) 0; background: var(--bg2); }
.cfg-grid { display: grid; gap: 40px; }
.cfg h2 { font-size: clamp(1.6rem, 3.6vw, 3.6rem); }
.cfg-lead { margin-top: 18px; max-width: 34em; }
.cfg-form { margin-top: 40px; display: grid; gap: 36px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 14px; font: 400 18px/1.2 var(--display); letter-spacing: -0.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input, .opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; background: var(--bg3); color: var(--ink); font-weight: 600; font-size: 15px; transition: background-color 160ms, color 160ms, transform 160ms var(--ease); }
.chip:hover span { background: #222831; }
.chip input:checked + span { background: var(--acc); color: var(--acc-ink); }
.chip input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 3px; }
.chip:active span { transform: scale(0.97); }
.opts { display: grid; gap: 8px; }
.opt { position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding: 16px 18px; background: var(--bg3); cursor: pointer; transition: background-color 160ms; }
.opt:hover { background: #20252c; }
.opt-n { font-weight: 700; }
.opt-m { grid-row: 2; color: var(--ink2); font-size: 14px; }
.opt-p { grid-row: 1 / 3; grid-column: 2; align-self: center; font: 400 18px/1 var(--display); }
.opt::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--acc); transform: scaleY(0); transition: transform 200ms var(--ease); }
.opt:has(input:checked) { background: #1d2a33; }
.opt:has(input:checked)::before { transform: none; }
.opt:has(input:focus-visible) { outline: 2px solid var(--acc); outline-offset: 2px; }
.row2 { display: grid; gap: 12px; margin-bottom: 12px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink2); }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 14px; background: var(--bg3); color: var(--ink); border: 0; border-radius: 0; font: 600 16px var(--text); color-scheme: dark; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.cfg-sum { align-self: start; padding: clamp(24px, 3vw, 36px); background: var(--bg); display: grid; gap: 16px; }
.cfg-sum h3 { font-size: 20px; }
.sum-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 16px; }
.sum-lines li span:last-child { font-weight: 700; white-space: nowrap; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 18px; margin: 4px -18px 0; background: var(--bg2); }
.sum-total strong { font: 400 clamp(1.8rem, 3vw, 2.6rem)/1 var(--display); }
.sum-note { color: var(--ink2); font-size: 15px; }
.mini { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px var(--m) calc(10px + env(safe-area-inset-bottom)); background: var(--bg); transform: translateY(110%); transition: transform 280ms var(--ease); }
.mini.is-on { transform: none; }
.mini strong { font: 400 20px/1 var(--display); margin-left: 6px; }
@media (min-width: 900px) {
  .cfg-grid { grid-template-columns: 7fr 5fr; gap: clamp(40px, 5vw, 80px); }
  .cfg-sum { position: sticky; top: calc(var(--top) + 24px); margin-top: 150px; }
  .mini { display: none; }
}

/* Antes y después */
.ba { padding: clamp(96px, 13vw, 200px) 0 clamp(80px, 10vw, 160px); }
.ba-head { display: grid; gap: 16px; margin-bottom: 36px; }
.ba-head h2 { font-size: clamp(1.6rem, 3.6vw, 3.6rem); }
.ba-frame { margin: 0; }
.ba-view { position: relative; --x: 50%; overflow: hidden; }
.ba-view img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg2); }
.ba-view .ba-before { position: absolute; inset: 0; height: 100%; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba-view::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: var(--acc); pointer-events: none; }
.ba-view input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-view:has(input:focus-visible) { outline: 2px solid var(--acc); outline-offset: 3px; }
.ba-tag { position: absolute; top: 14px; padding: 6px 12px; background: var(--bg); font-weight: 700; font-size: 14px; pointer-events: none; }
.ba-tag-a { left: 14px; }
.ba-tag-d { right: 14px; }
.ba-frame figcaption { margin-top: 12px; color: var(--ink2); font-size: 14px; }
@media (max-width: 640px) { .ba-view img { aspect-ratio: 4 / 3; } }

/* Zonas: campo claro */
.zn { background: var(--light); color: var(--light-ink); padding: clamp(88px, 12vw, 180px) 0; }
.zn-grid { display: grid; gap: 48px; }
.zn h2 { font-size: clamp(1.6rem, 3.6vw, 3.6rem); max-width: 14ch; }
.zn-copy p { margin-top: 20px; max-width: 32em; }
.zn-hours { margin: 32px 0 0; display: grid; gap: 14px; }
.zn-hours div { display: grid; gap: 2px; }
.zn-hours dt { font-weight: 700; }
.zn-hours dd { margin: 0; }
.zn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font: 400 clamp(1.5rem, 3.4vw, 3.1rem)/1.15 var(--display); letter-spacing: -0.03em; }
.zn-list li:nth-child(odd) { color: #2b3137; }
@media (min-width: 900px) { .zn-grid { grid-template-columns: 1fr 1fr; align-items: start; } .zn-list { justify-items: end; text-align: right; } }

/* Preguntas */
.faq { padding: clamp(88px, 12vw, 180px) 0; }
.faq-grid { display: grid; gap: 36px; }
.faq h2 { font-size: clamp(1.5rem, 3vw, 3rem); max-width: 14ch; }
.faq-list { display: grid; gap: 8px; }
.faq details { background: var(--bg2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 24px/1 var(--display); color: var(--acc); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 22px; max-width: 40em; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 5fr 7fr; } }

/* Cierre */
.close { padding: 0 0 clamp(96px, 12vw, 180px); }
.close-in { display: grid; gap: 20px; justify-items: start; }
.close h2 { font-size: clamp(2rem, 6vw, 6rem); max-width: 12ch; }

/* Banda de Zerufy: campo de acento */
.zs { background: var(--acc); color: var(--acc-ink); padding: clamp(72px, 9vw, 140px) 0; }
.zs-in { display: grid; gap: 20px; }
.zs h2 { font-size: clamp(1.5rem, 3.4vw, 3.4rem); max-width: 20ch; }
.zs p { max-width: 36em; }
.zs-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 8px; }

/* Pie */
.foot { padding: clamp(56px, 8vw, 112px) 0 40px; }
.foot-word { font: 400 clamp(2.2rem, 11.2vw, 10.4rem)/0.9 var(--display); letter-spacing: -0.04em; color: var(--bg3); margin-bottom: 40px; white-space: nowrap; }
.foot-grid { display: grid; gap: 20px; color: var(--ink2); font-size: 15px; }
.foot-grid a { color: var(--ink); }
.foot-credit { font-size: 13px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr 1.4fr; gap: 40px; } }

/* Ventanas */
.dlg { width: min(560px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0; background: var(--bg2); color: var(--ink); }
.dlg::backdrop { background: rgba(0, 0, 0, 0.72); }
.dlg[open] { animation: dlg-in 260ms var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.dlg-in { padding: clamp(24px, 5vw, 40px); display: grid; gap: 18px; }
.dlg h2 { font-size: clamp(1.25rem, 3.4vw, 1.75rem); }
.dlg-demo { color: var(--acc); font-weight: 700; }
.dlg-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.wa { background: #0b141a; padding: 18px; }
.wa-bubble { white-space: pre-line; background: #005c4b; color: #e9edef; padding: 12px 14px; margin-left: auto; max-width: 92%; font-size: 15px; line-height: 1.45; }
.wa-meta { text-align: right; color: #8696a0; font-size: 12px; margin-top: 6px; }
.pay { background: #f6f7f9; color: #1a1f36; padding: 22px; display: grid; gap: 4px; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; }
.pay-brand { font-weight: 700; letter-spacing: 0.02em; }
.pay-what { color: #5b6476; font-size: 14px; }
.pay-amount { font-size: 32px; font-weight: 700; margin-top: 8px; }
.pay-sub { color: #5b6476; font-size: 14px; }
.pay-btn { margin-top: 14px; display: block; text-align: center; padding: 13px; background: #1a1f36; color: #fff; font-weight: 600; }

/* Entradas al hacer scroll */
.has-js [data-reveal] > * { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 800ms var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.has-js [data-reveal].is-in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
  .has-js [data-reveal] > * { transform: none; }
}
