@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --noche: #050816;
  --noche-2: #0c1433;
  --profundo: #0a2a4a;
  --agua: #2de2e6;
  --agua-2: #0fb5d8;
  --neon: #ff3d9a;
  --lila: #a66bff;
  --texto: #eef1fb;
  --tenue: #9aa6cc;
  --borde: rgba(255, 255, 255, 0.13);
  --vidrio: rgba(12, 20, 51, 0.62);
  --ok: #3ddc97;
  --error: #ff6b6b;
  --radio: 20px;
  --suave: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: radial-gradient(1200px 600px at 80% -10%, rgba(45, 226, 230, 0.14), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(255, 61, 154, 0.12), transparent 60%),
              var(--noche);
  color: var(--texto);
  font: 16px/1.6 Inter, system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--agua); }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 1.05; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); font-style: italic; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wrap.estrecho { max-width: 720px; }
.kicker { letter-spacing: .3em; text-transform: uppercase; font-size: .74rem; color: var(--agua); margin: 0 0 1rem; font-weight: 600; }
.nota { color: var(--tenue); font-size: .85rem; }
.sub { color: var(--tenue); margin: -.5rem 0 1.6rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  padding: 14px 28px; border-radius: 999px; font: 600 1rem Inter, sans-serif; text-decoration: none;
  background: linear-gradient(90deg, var(--agua), var(--neon)); color: #060a1c;
  box-shadow: 0 8px 30px -8px rgba(255, 61, 154, .55); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 34px -8px rgba(45, 226, 230, .6); }
.btn:disabled { opacity: .5; cursor: wait; transform: none; }
.btn.sec { background: rgba(255,255,255,.06); color: var(--texto); border: 1px solid var(--borde); box-shadow: none; }
.btn.grande { padding: 18px 36px; font-size: 1.08rem; }
.btn.chico { padding: 9px 18px; font-size: .88rem; }

.card { background: rgba(255,255,255,.04); border: 1px solid var(--borde); border-radius: var(--radio); padding: 24px; }
.vidrio { background: var(--vidrio); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
section { padding: 88px 0; position: relative; }

/* ---------- Agua: cáusticas y reflejos hechos en CSS (funciona sin fotos) ---------- */
.agua { position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 25% 105%, rgba(45, 226, 230, .55), transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 100%, rgba(255, 61, 154, .38), transparent 70%),
    linear-gradient(180deg, #040714 0%, #071634 45%, #0a3156 78%, #0d5a7a 100%);
}
.agua::before, .agua::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -800px; right: -800px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' preserveAspectRatio='none'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='turbulence' baseFrequency='.011 .017' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .97 0 0 0 0 1 -11 0 0 0 1.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
  background-size: 520px 300px; mix-blend-mode: screen; opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, transparent 18%, #000 62%); mask-image: linear-gradient(180deg, transparent 18%, #000 62%);
  /* Solo se anima transform (GPU): la textura se dibuja una vez y no se repinta en cada cuadro */
  will-change: transform;
  animation: corriente 26s linear infinite;
}
.agua::after { opacity: .28; background-size: 760px 420px; animation-name: corriente-2; animation-duration: 38s; }
@keyframes corriente { to { transform: translate3d(-520px, 0, 0); } }
@keyframes corriente-2 { from { transform: translate3d(-760px, 0, 0); } to { transform: translate3d(0, 0, 0); } }

.flotador { position: absolute; border-radius: 50%; border: 14px solid; opacity: .85; pointer-events: none; animation: flotar 7s ease-in-out infinite; }
.flotador.rosa { width: 120px; height: 120px; border-color: var(--neon); box-shadow: 0 0 40px var(--neon), inset 0 0 22px rgba(255,61,154,.8); left: 6%; bottom: 14%; }
.flotador.cian { width: 86px; height: 86px; border-width: 11px; border-color: var(--agua); box-shadow: 0 0 34px var(--agua), inset 0 0 18px rgba(45,226,230,.8); right: 9%; bottom: 22%; animation-delay: -2.5s; }
.flotador.lila { width: 64px; height: 64px; border-width: 9px; border-color: var(--lila); box-shadow: 0 0 28px var(--lila); right: 26%; bottom: 8%; animation-delay: -4s; }
@keyframes flotar { 0%, 100% { transform: translateY(0) rotateX(62deg) rotate(0); } 50% { transform: translateY(-14px) rotateX(62deg) rotate(8deg); } }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.hero-fondo { position: absolute; inset: 0; z-index: -1; }
.hero-fondo img { width: 100%; height: 100%; object-fit: cover; opacity: .62; animation: acercar 30s ease-in-out infinite alternate; }
.hero .agua { z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,8,22,.55) 0%, rgba(5,8,22,.1) 40%, rgba(5,8,22,.85) 100%); }
@keyframes acercar { to { transform: scale(1.1); } }
/* Con foto de portada, la foto ya es la alberca: sin cáusticas ni aros encima */
.hero.con-foto .agua::before, .hero.con-foto .agua::after, .hero.con-foto .flotador { display: none; }
.hero.con-foto .hero-fondo img { opacity: .72; }
nav.top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; z-index: 2; }
.marca { font: italic 600 1.5rem 'Cormorant Garamond', serif; letter-spacing: .02em; }
.hero .contenido { position: relative; padding: 96px 16px 72px; max-width: 860px; }
.hero h1 {
  font-size: clamp(4rem, 15vw, 9.5rem); font-style: italic; margin: 0 0 .1em; letter-spacing: -.02em;
  background: linear-gradient(180deg, #fff 30%, #bff7ff 70%, #ffc2e2); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(45, 226, 230, .45));
}
.hero .lema { color: #d4dcf7; font-size: 1.02rem; margin: 0; }
.fecha { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.4rem, 3.6vw, 1.9rem); margin: 1rem 0 0; }
.cuenta { display: flex; gap: 10px; justify-content: center; margin: 1.6rem 0 2rem; }
.cuenta div { min-width: 74px; padding: 10px 8px; border: 1px solid var(--borde); border-radius: 14px; background: rgba(5,8,22,.6); }
.cuenta b { display: block; font: 600 1.9rem/1.1 'Cormorant Garamond', serif; font-variant-numeric: tabular-nums; }
.cuenta small { color: var(--tenue); font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta .btn.grande { animation: latido 2.6s ease-in-out infinite; }
@keyframes latido { 0%, 100% { box-shadow: 0 8px 30px -8px rgba(255,61,154,.55); } 50% { box-shadow: 0 8px 46px -4px rgba(255,61,154,.9); } }
.urgencia { margin: 1.4rem auto 0; display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; padding: 8px 16px; border-radius: 999px; background: rgba(255,61,154,.14); border: 1px solid rgba(255,61,154,.4); color: #ffd3e8; }
.urgencia:empty { display: none; }
.urgencia::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); animation: parpadeo 1.4s infinite; }
@keyframes parpadeo { 50% { opacity: .25; } }
.bajar { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; color: var(--tenue); text-decoration: none; font-size: 1.4rem; animation: flotar-y 2s ease-in-out infinite; }
@keyframes flotar-y { 50% { transform: translateY(6px); } }

/* Marquesina */
.marquesina { overflow: hidden; border-block: 1px solid var(--borde); background: linear-gradient(90deg, rgba(45,226,230,.08), rgba(255,61,154,.08)); padding: 14px 0; white-space: nowrap; }
.marquesina div { display: inline-block; animation: deslizar 40s linear infinite; font: italic 500 1.3rem 'Cormorant Garamond', serif; color: #d9e2ff; }
.marquesina span { margin: 0 22px; }
.marquesina span::after { content: '✦'; margin-left: 44px; color: var(--neon); font-style: normal; font-size: .9rem; }
@keyframes deslizar { to { transform: translateX(-50%); } }

/* ---------- Movimiento: aparición al hacer scroll ---------- */
/* Solo se esconde lo que se va a revelar cuando movimiento.js cargó (clase en <html>) */
html.con-movimiento [data-revelar] {
  opacity: 0; transform: translate3d(0, 34px, 0); filter: blur(6px);
  transition: opacity .9s var(--suave), transform .9s var(--suave), filter .9s var(--suave);
  transition-delay: var(--retraso, 0ms);
}
html.con-movimiento [data-revelar="escala"] { transform: translate3d(0, 24px, 0) scale(.94); }
html.con-movimiento [data-revelar].visible { opacity: 1; transform: none; filter: none; }
/* Títulos palabra por palabra: cada palabra sube desde una máscara */
html.con-movimiento [data-revelar="palabras"] { opacity: 1; transform: none; filter: none; }
.palabra { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.palabra > span { display: inline-block; }
html.con-movimiento [data-revelar="palabras"] .palabra > span { transform: translate3d(0, 110%, 0); transition: transform 1s var(--suave); transition-delay: var(--retraso); }
html.con-movimiento [data-revelar="palabras"].visible .palabra > span { transform: none; }

/* ---------- Lo que incluye ---------- */
.incluye { overflow: hidden; }
.incluye .wrap { position: relative; }
/* Luces de color que flotan despacio detrás de la sección */
.incluye-luz { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(100px); opacity: .28; pointer-events: none; animation: deriva 18s ease-in-out infinite alternate; }
.incluye-luz.uno { background: var(--agua); top: -140px; left: -180px; }
.incluye-luz.dos { background: var(--neon); bottom: -180px; right: -160px; animation-duration: 23s; animation-delay: -7s; }
@keyframes deriva { to { transform: translate3d(140px, 90px, 0) scale(1.18); } }

.cifras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0 22px; }
.cifra { text-align: center; padding: 20px 10px 16px; border-radius: 22px; border: 1px solid var(--borde); background: rgba(255,255,255,.03); }
.cifra b { display: block; font: 600 clamp(2.5rem, 7vw, 3.8rem)/1 'Cormorant Garamond', serif; font-variant-numeric: tabular-nums; background: linear-gradient(135deg, #fff 20%, var(--agua) 60%, var(--neon)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cifra small { display: block; margin-top: 6px; color: var(--tenue); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }

/* Tarjetas grandes con foto (la foto se mueve con parallax y la tarjeta se inclina con el mouse) */
.destacados { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.destacado {
  position: relative; height: 400px; border-radius: 26px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--borde); background: #0a1430;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--suave), box-shadow .4s, border-color .4s;
}
.destacado.inclinada { transition: transform .12s linear, box-shadow .4s, border-color .4s; border-color: rgba(45,226,230,.45); box-shadow: 0 34px 70px -24px rgba(0,0,0,.85), 0 0 40px -12px rgba(45,226,230,.45); }
.destacado-foto { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.18); will-change: transform; }
.destacado-foto.sin-foto { background: radial-gradient(circle at 30% 80%, rgba(45,226,230,.45), transparent 60%), radial-gradient(circle at 80% 20%, rgba(255,61,154,.35), transparent 55%), #0a1430; }
.destacado-velo { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,8,22,.05) 15%, rgba(5,8,22,.5) 52%, rgba(5,8,22,.96)); }
.destacado-brillo { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.16), transparent 45%); }
.destacado.inclinada .destacado-brillo { opacity: 1; }
.destacado-num { position: absolute; top: 16px; right: 18px; font: italic 600 1.15rem 'Cormorant Garamond', serif; color: rgba(255,255,255,.75); }
.destacado-texto { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.destacado-icono { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px; border-radius: 14px; color: var(--agua); background: rgba(5,8,22,.7); box-shadow: 0 0 0 1px rgba(45,226,230,.5) inset, 0 0 22px -4px rgba(45,226,230,.6); }
.destacado:nth-child(even) .destacado-icono { color: var(--neon); box-shadow: 0 0 0 1px rgba(255,61,154,.5) inset, 0 0 22px -4px rgba(255,61,154,.6); }
.destacado-icono svg { width: 24px; height: 24px; }
.destacado h3 { margin: 0 0 6px; font: italic 600 1.95rem/1.05 'Cormorant Garamond', serif; text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.destacado p { margin: 0; color: #dbe2f8; font-size: .9rem; line-height: 1.45; }

/* "Y además": mosaicos con íconos que flotan */
.incluye-ademas { margin: 44px 0 14px; }
.extras { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.extras > .extra { flex: 0 1 calc((100% - 36px) / 4); }
.extra { position: relative; padding: 20px; border-radius: 20px; border: 1px solid var(--borde); background: linear-gradient(160deg, rgba(45,226,230,.06), rgba(255,255,255,.02) 55%, rgba(255,61,154,.05)); transition: transform .35s var(--suave), border-color .35s, background .35s; }
.extra:hover { transform: translateY(-5px); border-color: rgba(45,226,230,.45); background: linear-gradient(160deg, rgba(45,226,230,.12), rgba(255,255,255,.03) 55%, rgba(255,61,154,.08)); }
.extra-icono { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 50%; color: var(--agua); background: rgba(45,226,230,.1); box-shadow: 0 0 0 1px rgba(45,226,230,.32) inset; animation: flotar-icono 4.5s ease-in-out infinite; }
.extra:nth-child(even) .extra-icono { color: var(--neon); background: rgba(255,61,154,.1); box-shadow: 0 0 0 1px rgba(255,61,154,.32) inset; animation-delay: -1.5s; }
.extra:nth-child(3n) .extra-icono { animation-delay: -3s; }
.extra-icono svg { width: 22px; height: 22px; }
@keyframes flotar-icono { 50% { transform: translateY(-5px); } }
.extra b { display: block; margin-bottom: 4px; font: italic 600 1.32rem 'Cormorant Garamond', serif; }
.extra p { margin: 0; color: var(--tenue); font-size: .86rem; line-height: 1.45; }

@media (max-width: 1000px) {
  .destacados { grid-template-columns: 1fr 1fr; }
  .destacado { height: 330px; }
  .extras > .extra { flex-basis: calc((100% - 24px) / 3); }
}
@media (max-width: 640px) {
  .incluye-luz { width: 300px; height: 300px; filter: blur(70px); }
  .cifras { gap: 8px; margin: 22px 0 18px; }
  .cifra { padding: 16px 6px 12px; border-radius: 18px; }
  .cifra small { font-size: .62rem; letter-spacing: .1em; }
  .destacados { grid-template-columns: 1fr; gap: 12px; }
  .destacado { height: 250px; border-radius: 22px; }
  .destacado-texto { padding: 18px; }
  .destacado h3 { font-size: 1.75rem; }
  .incluye-ademas { margin-top: 34px; }
  .extras { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .extra { padding: 16px 14px; }
  .extra:last-child:nth-child(odd) { grid-column: span 2; }
  .extra b { font-size: 1.2rem; }
  .extra p { font-size: .82rem; }
}

/* Galería (solo aparece si hay fotos en /public/media) */
.galeria { display: grid; gap: 10px; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 260px; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.galeria figure { margin: 0; position: relative; overflow: hidden; border-radius: 18px; }
.galeria figure:first-child { grid-row: span 2; }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.galeria figure:hover img { transform: scale(1.06); }
/* Con 4 fotos la última ocupa el ancho de dos columnas */
.galeria figure:nth-child(4):last-child { grid-column: span 2; }
.galeria figure:nth-child(4) img { object-position: center 78%; }
.galeria figcaption { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(5,8,22,.9)); font: italic 500 1.2rem 'Cormorant Garamond', serif; }

/* Precios */
.precios { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.precio { text-align: left; cursor: pointer; padding: 26px; border-radius: var(--radio); border: 1px solid var(--borde); background: rgba(255,255,255,.04); color: var(--texto); font: inherit; transition: border-color .2s, transform .2s, background .2s; position: relative; overflow: hidden; }
.precio:hover { border-color: var(--agua); transform: translateY(-3px); background: rgba(45,226,230,.06); }
.precio h3 { font-size: 1.7rem; font-style: italic; margin: 0 0 6px; }
.precio .monto { font: 600 2.6rem/1 'Cormorant Garamond', serif; }
.precio .monto small { font: 500 .8rem Inter, sans-serif; color: var(--tenue); margin-left: 4px; }
.precio .antes { color: var(--tenue); font-size: .85rem; margin-top: 6px; }
.precio .antes s { opacity: .8; }
.medidor { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); margin: 18px 0 8px; overflow: hidden; }
.medidor i { display: block; height: 100%; background: linear-gradient(90deg, var(--agua), var(--neon)); border-radius: 99px; transition: width 1s ease; }
.libres { font-size: .85rem; color: var(--agua); }
.libres.pocos { color: var(--neon); font-weight: 600; }
.agotado { color: var(--neon); }
.precio .elegir { position: absolute; right: 18px; top: 22px; font-size: .78rem; color: var(--tenue); }

/* Pasos */
.pasos { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); counter-reset: paso; }
.pasos li { counter-increment: paso; padding: 22px; border-radius: var(--radio); border: 1px solid var(--borde); background: rgba(255,255,255,.03); color: var(--tenue); }
.pasos li::before { content: counter(paso); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; margin-bottom: 12px; font: italic 600 1.3rem 'Cormorant Garamond', serif; color: #060a1c; background: linear-gradient(135deg, var(--agua), var(--neon)); }
.pasos b { color: var(--texto); display: block; font-size: 1.05rem; }

/* ---------- Registro: sección en la página ---------- */
.registro-sec { overflow: hidden; }
.registro-sec .agua { opacity: .55; }
/* Detrás de tarjetas con desenfoque el agua va quieta: un desenfoque sobre algo animado se recalcula en cada cuadro */
.registro-sec .agua::before, .registro-sec .agua::after, body.estado .agua::before, body.estado .agua::after { animation: none; }
.registro-cta { position: relative; text-align: center; padding: 40px 28px; }
.registro-cta h2 { margin-bottom: .3em; }
.registro-cta .sub { margin: 0 auto 26px; max-width: 460px; }
.registro-rapido { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 auto 18px; max-width: 520px; }
.registro-rapido button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 6px 14px; border-radius: 20px; border: 1.5px solid var(--borde); background: rgba(255,255,255,.04); color: var(--texto); font: inherit; cursor: pointer; transition: border-color .2s, transform .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.registro-rapido button:hover { border-color: var(--agua); transform: translateY(-3px); background: rgba(45,226,230,.06); }
.registro-rapido button:active { transform: scale(.97); }
.registro-rapido svg { width: 42px; height: 42px; margin-bottom: 4px; }
.registro-rapido b { font: italic 600 1.3rem 'Cormorant Garamond', serif; }
.registro-rapido small { color: var(--tenue); font-size: .8rem; }
.registro-cta .btn.grande { width: 100%; max-width: 520px; }
.registro-confianza { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 18px 0 0; font-size: .82rem; color: var(--tenue); }
.registro-confianza li::before { content: '✓'; color: var(--ok); margin-right: 6px; font-weight: 700; }
.registro-otra { margin: 16px 0 0; }

input, select, textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--borde);
  background: rgba(5,8,22,.6); color: var(--texto); font: inherit; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--agua); box-shadow: 0 0 0 3px rgba(45,226,230,.18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button, .chips label { margin: 0; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--borde); background: rgba(255,255,255,.04); color: var(--texto); font: inherit; font-size: .88rem; cursor: pointer; transition: border-color .2s, background .2s; }
.chips button:hover, .chips label:hover { border-color: var(--agua); }
.chips label { position: relative; }
.chips input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chips label:has(input:checked) { border-color: var(--agua); background: rgba(45,226,230,.12); color: var(--agua); }
.resumen { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(45,226,230,.07); border: 1px dashed rgba(45,226,230,.35); font-size: .92rem; }
.resumen:empty { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Registro: wizard ---------- */
html.wiz-abierto, html.wiz-abierto body { overflow: hidden; }
html.wiz-abierto .concierge-btn, html.wiz-abierto .concierge, html.wiz-abierto .barra-movil { display: none !important; }
.wiz { position: fixed; top: 0; left: 0; right: 0; height: 100dvh; z-index: 60; display: grid; place-items: center; overflow: hidden; }
.wiz-fondo { position: absolute; inset: 0; background: rgba(3,5,15,.74); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.wiz-hoja {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  width: min(520px, calc(100% - 32px)); height: min(720px, calc(100% - 48px));
  border-radius: 30px; border: 1px solid var(--borde);
  background: radial-gradient(120% 60% at 100% 0%, rgba(255,61,154,.14), transparent 55%), radial-gradient(120% 60% at 0% 0%, rgba(45,226,230,.16), transparent 55%), #070c22;
  box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(45,226,230,.06);
}
.wiz-top { display: grid; grid-template-columns: 44px 1fr auto 44px; align-items: center; gap: 12px; padding: 14px 14px 4px; padding-top: max(14px, env(safe-area-inset-top)); }
.wiz-icono { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.07); color: var(--texto); display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .15s, opacity .2s; -webkit-tap-highlight-color: transparent; }
.wiz-icono:hover { background: rgba(255,255,255,.12); }
.wiz-icono:active { transform: scale(.9); }
.wiz-icono svg { width: 20px; height: 20px; }
.wiz-icono.oculto { opacity: 0; pointer-events: none; }
.wiz-progreso { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.wiz-progreso i { display: block; height: 100%; width: 5%; border-radius: 99px; background: linear-gradient(90deg, var(--agua), var(--neon)); box-shadow: 0 0 14px rgba(45,226,230,.7); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.wiz-cuenta { font-size: .76rem; color: var(--tenue); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wiz-cuerpo { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.wiz-paso { position: absolute; inset: 0; padding: 18px 26px 22px; overflow-x: hidden; overflow-y: auto; }
.wiz-kicker { letter-spacing: .28em; text-transform: uppercase; font-size: .7rem; font-weight: 600; color: var(--agua); margin: 0 0 8px; }
.wiz-titulo { font: italic 600 clamp(2.05rem, 8.5vw, 2.6rem)/1.04 'Cormorant Garamond', serif; margin: 0 0 8px; outline: none; }
.wiz-sub { color: var(--tenue); margin: 0 0 22px; font-size: .96rem; line-height: 1.45; }
.wiz-centro { text-align: center; }

/* Scroll de respaldo: sin barras y con bordes que se desvanecen (solo si la pantalla no alcanza) */
.scroll-suave { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.scroll-suave::-webkit-scrollbar { display: none; }
.scroll-suave.desborda.fade-abajo { -webkit-mask-image: linear-gradient(#000 calc(100% - 44px), transparent); mask-image: linear-gradient(#000 calc(100% - 44px), transparent); }
.scroll-suave.desborda.fade-arriba { -webkit-mask-image: linear-gradient(transparent, #000 34px); mask-image: linear-gradient(transparent, #000 34px); }
.scroll-suave.desborda.fade-arriba.fade-abajo { -webkit-mask-image: linear-gradient(transparent, #000 34px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(transparent, #000 34px, #000 calc(100% - 44px), transparent); }

/* Opciones grandes (tipo de acceso y canal) */
.wiz-opciones { display: grid; gap: 12px; }
.wiz-opciones.chicas { grid-template-columns: 1fr 1fr; gap: 10px; }
.wiz-opcion {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 78px; padding: 12px 18px;
  text-align: left; border-radius: 20px; border: 1.5px solid var(--borde); background: rgba(255,255,255,.04);
  color: var(--texto); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: border-color .2s, background .2s, transform .15s, box-shadow .25s;
}
.wiz-opcion:hover { border-color: rgba(45,226,230,.55); background: rgba(45,226,230,.05); }
.wiz-opcion:active { transform: scale(.975); }
.wiz-opcion:focus-visible { outline: 2px solid var(--agua); outline-offset: 3px; }
.wiz-opcion[aria-checked="true"] { border-color: var(--agua); background: rgba(45,226,230,.1); box-shadow: 0 0 0 4px rgba(45,226,230,.12), 0 12px 30px -12px rgba(45,226,230,.5); }
.chicas .wiz-opcion { min-height: 60px; padding: 10px 12px; justify-content: center; text-align: center; font-weight: 600; font-size: .92rem; line-height: 1.25; }
.wiz-opcion-icono { flex: none; width: 50px; height: 50px; border-radius: 16px; background: rgba(255,255,255,.05); display: grid; place-items: center; }
.wiz-opcion-icono svg { width: 38px; height: 38px; }
.wiz-opcion-info { flex: 1; min-width: 0; }
.wiz-opcion-info b { display: block; font: italic 600 1.5rem/1.1 'Cormorant Garamond', serif; }
.wiz-opcion-info small { color: var(--tenue); font-size: .8rem; }
.wiz-opcion-precio { text-align: right; font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.wiz-opcion-precio small { display: block; font-weight: 600; font-size: .72rem; color: var(--agua); margin-top: 2px; }
.wiz-opcion-precio small.pocos { color: var(--neon); }
.wiz-check { position: absolute; top: -9px; right: -9px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #060a1c; background: linear-gradient(135deg, var(--agua), var(--neon)); box-shadow: 0 4px 14px rgba(45,226,230,.5); transform: scale(0); transition: transform .35s cubic-bezier(.3,1.7,.5,1); }
.wiz-check svg { width: 15px; height: 15px; }
.wiz-opcion[aria-checked="true"] .wiz-check { transform: scale(1); }

/* Campos de texto grandes */
.wiz-campo { position: relative; display: flex; align-items: center; border-radius: 20px; border: 1.5px solid var(--borde); background: rgba(5,8,22,.65); transition: border-color .2s, box-shadow .2s; cursor: text; }
.wiz-campo:focus-within { border-color: var(--agua); box-shadow: 0 0 0 4px rgba(45,226,230,.15); }
.wiz-campo.malo { border-color: var(--error); box-shadow: 0 0 0 4px rgba(255,107,107,.15); }
.wiz-campo input { border: 0; background: transparent; box-shadow: none !important; font-size: 1.35rem; padding: 19px 52px 19px 20px; border-radius: 20px; min-width: 0; }
.wiz-campo input::placeholder { color: rgba(154,166,204,.5); }
.wiz-prefijo { flex: none; padding: 0 4px 0 20px; color: var(--tenue); font-weight: 600; font-size: 1.2rem; }
.wiz-tel input { padding-left: 8px; letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.wiz-ok { position: absolute; right: 16px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #04140c; background: var(--ok); transform: scale(0); transition: transform .35s cubic-bezier(.3,1.7,.5,1); pointer-events: none; }
.wiz-ok svg { width: 15px; height: 15px; }
.wiz-campo.bien .wiz-ok { transform: scale(1); }
.wiz-ayuda { font-size: .86rem; color: var(--tenue); margin: 12px 4px 0; }

/* Revisión: filas compactas de una línea */
.wiz-resumen { border-radius: 18px; border: 1px solid var(--borde); background: rgba(255,255,255,.03); overflow: hidden; }
.wiz-fila { display: grid; grid-template-columns: auto minmax(0, 1fr) 18px; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 10px 14px 10px 16px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--borde); color: var(--texto); font: inherit; cursor: pointer; transition: background .2s; -webkit-tap-highlight-color: transparent; }
.wiz-fila:last-child { border-bottom: 0; }
.wiz-fila:hover, .wiz-fila:active { background: rgba(45,226,230,.06); }
.wiz-fila span { font-size: .8rem; color: var(--tenue); white-space: nowrap; }
.wiz-fila b { font-weight: 600; font-size: .94rem; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wiz-fila.vacia b { color: var(--agua); font-weight: 500; }
.wiz-fila em { display: grid; place-items: center; color: var(--tenue); }
.wiz-fila em svg { width: 16px; height: 16px; transform: rotate(180deg); }
.wiz-aviso { margin: 10px 0 0; padding: 10px 14px; border-radius: 14px; font-size: .86rem; background: rgba(45,226,230,.07); border: 1px solid rgba(45,226,230,.25); }

/* Interruptor para aceptar reglas */
.wiz-acepto { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1.5px solid var(--borde); cursor: pointer; font-size: .9rem; line-height: 1.4; transition: border-color .2s; -webkit-tap-highlight-color: transparent; }
.wiz-acepto.malo { border-color: var(--error); }
.wiz-acepto input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.wiz-switch { flex: none; position: relative; width: 52px; height: 32px; border-radius: 99px; background: rgba(255,255,255,.14); transition: background .25s; }
.wiz-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); transition: transform .3s cubic-bezier(.3,1.5,.5,1); }
.wiz-acepto input:checked + .wiz-switch { background: linear-gradient(90deg, var(--agua), var(--neon)); }
.wiz-acepto input:checked + .wiz-switch::after { transform: translateX(20px); }
.wiz-acepto input:focus-visible + .wiz-switch { outline: 2px solid var(--agua); outline-offset: 3px; }
.wiz-enlace { background: none; border: 0; padding: 0; font: inherit; color: var(--agua); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Hoja que sube desde abajo (datos opcionales y reglas) */
.wiz-hojita { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; justify-content: flex-end; }
.wiz-hojita-fondo { position: absolute; inset: 0; background: rgba(3,5,15,.6); }
.wiz-hojita-panel { position: relative; display: flex; flex-direction: column; gap: 14px; max-height: calc(100% - 40px); padding: 10px 20px; padding-bottom: max(16px, env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; border-top: 1px solid rgba(45,226,230,.3); background: #0b1330; box-shadow: 0 -30px 60px -20px rgba(0,0,0,.8); }
.wiz-hojita-asa { align-self: center; width: 44px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.2); }
.wiz-hojita h3 { margin: 0; font: italic 600 1.7rem 'Cormorant Garamond', serif; }
.wiz-hojita-cuerpo { display: grid; gap: 12px; min-height: 0; overflow-x: hidden; overflow-y: auto; }
.wiz-hojita-cuerpo label { display: grid; gap: 6px; font-size: .82rem; color: var(--tenue); }
.wiz-hojita-cuerpo label small { opacity: .8; }
.wiz-hojita-cuerpo input, .wiz-hojita-cuerpo textarea { font-size: 1rem; }
.wiz-reglas { margin: 0; padding: 0 0 0 20px; font-size: .9rem; line-height: 1.45; color: #d4dcf7; }
.wiz-reglas li { margin-bottom: 8px; }
.wiz-reglas li::marker { color: var(--neon); }

/* Pie con el botón principal: siempre visible, también con el teclado abierto */
.wiz-pie { padding: 12px 20px; padding-bottom: max(16px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.06); background: rgba(7,12,34,.92); }
.wiz-error { margin: 0 0 10px; padding: 10px 14px; border-radius: 12px; font-size: .88rem; color: #ffd0d0; background: rgba(255,107,107,.14); animation: entrar-arriba .25s ease; }
.wiz-error:empty { display: none; }
.wiz-cta { width: 100%; min-height: 56px; font-size: 1.06rem; border-radius: 18px; transition: opacity .2s, transform .15s, box-shadow .2s; }
.wiz-cta:active { transform: scale(.98); }
.wiz-cta.apagado { opacity: .5; box-shadow: none; }
.wiz-cta.cargando span::after { content: ''; display: inline-block; width: 16px; height: 16px; margin-left: 10px; vertical-align: -3px; border-radius: 50%; border: 2.5px solid rgba(6,10,28,.3); border-top-color: #060a1c; animation: girar .7s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.wiz-texto { background: none; border: 0; color: var(--tenue); font: inherit; font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px; }

/* Pantalla de éxito */
.wiz-exito { text-align: center; padding-top: 14px; }
.wiz-exito .wiz-sub { margin-bottom: 18px; }
.wiz-check-grande { width: 76px; height: 76px; margin: 0 auto 12px; display: block; filter: drop-shadow(0 0 22px rgba(45,226,230,.55)); }
.wiz-exito.animar .wiz-check-grande circle { stroke-dasharray: 264; stroke-dashoffset: 264; animation: trazar .7s .1s cubic-bezier(.6,0,.2,1) forwards; }
.wiz-exito.animar .wiz-check-grande path { stroke-dasharray: 70; stroke-dashoffset: 70; animation: trazar .45s .65s ease-out forwards; }
.wiz-exito.animar .wiz-check-grande { animation: rebote .5s .95s cubic-bezier(.3,1.6,.5,1); }
@keyframes trazar { to { stroke-dashoffset: 0; } }
@keyframes rebote { 50% { transform: scale(1.08); } }
.wiz-burbujas { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.wiz-burbujas span { position: absolute; bottom: -30px; left: calc(var(--i) * 7% + 2%); width: calc(10px + var(--i) * 1.4px); aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(45,226,230,.55); opacity: 0; }
.wiz-burbujas span:nth-child(3n) { border-color: rgba(255,61,154,.55); }
.wiz-exito.animar .wiz-burbujas span { animation: subir calc(2.6s + var(--i) * .17s) calc(var(--i) * .12s) ease-out forwards; }
@keyframes subir { 0% { opacity: 0; transform: translateY(0) scale(.6); } 15% { opacity: .9; } 100% { opacity: 0; transform: translateY(-110vh) scale(1.1); } }
/* Siguientes pasos en una sola línea */
.wiz-ruta { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 20px; padding: 0; position: relative; }
.wiz-ruta::before { content: ''; position: absolute; top: 8px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--ok) 0 33%, rgba(255,255,255,.14) 33%); }
.wiz-ruta li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .78rem; color: var(--tenue); }
.wiz-ruta i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); background: #070c22; box-sizing: border-box; }
.wiz-ruta li.hecho { color: var(--texto); }
.wiz-ruta li.hecho i { border-color: var(--ok); background: var(--ok); }
.wiz-ruta li.actual { color: var(--texto); font-weight: 600; }
.wiz-ruta li.actual i { border-color: var(--agua); box-shadow: 0 0 0 4px rgba(45,226,230,.2); animation: parpadeo 1.6s infinite; }
.wiz-etiqueta { margin: 0 0 8px; font-size: .78rem; color: var(--tenue); }
.wiz-link { display: flex; gap: 8px; padding: 6px; border-radius: 16px; border: 1px solid var(--borde); background: rgba(5,8,22,.6); }
.wiz-link input { border: 0; background: transparent; font-size: .82rem; padding: 10px; min-width: 0; color: var(--tenue); }
.wiz-link input:focus { box-shadow: none; }
.wiz-link button { flex: none; border: 0; border-radius: 12px; padding: 0 16px; font: 600 .86rem Inter, sans-serif; color: #060a1c; background: linear-gradient(90deg, var(--agua), var(--neon)); cursor: pointer; }
.wiz-exito-acciones { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 16px; }

/* Pantalla de pago */
#wCompra { position: relative; }
.wiz-exito.centrado { display: flex; flex-direction: column; justify-content: center; }
.wiz-exito #wCompra { text-align: left; }
.wiz-exito #wCompra .wiz-titulo, .wiz-exito #wCompra .wiz-sub, .wiz-exito #wCompra .wiz-kicker { text-align: center; }
.wiz-exito #wCompra > .btn { display: flex; width: max-content; margin: 0 auto; }
.wiz-reloj { margin: 2px 0 14px; padding: 9px 14px; border-radius: 14px; text-align: center; font-size: .86rem; color: #ffd3e8; background: rgba(255,61,154,.12); border: 1px solid rgba(255,61,154,.35); }
.wiz-reloj b { margin-left: 6px; font-size: 1.05rem; font-variant-numeric: tabular-nums; letter-spacing: .05em; color: #fff; }
.wiz-monto { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 18px; border-radius: 18px; background: linear-gradient(135deg, rgba(45,226,230,.16), rgba(255,61,154,.12)); border: 1px solid rgba(45,226,230,.35); }
.wiz-monto small { display: block; font-size: .76rem; color: var(--tenue); }
.wiz-monto b { font: 600 2.1rem/1.1 'Cormorant Garamond', serif; font-variant-numeric: tabular-nums; }
.wiz-spei { margin: 10px 0 0; border-radius: 16px; border: 1px solid var(--borde); background: rgba(255,255,255,.03); overflow: hidden; }
.wiz-spei > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 8px 14px; border-bottom: 1px solid var(--borde); }
.wiz-spei > div:last-child { border-bottom: 0; }
.wiz-spei span { min-width: 0; }
.wiz-spei .doble { display: grid; grid-template-columns: 1fr 1fr; }
.wiz-spei dt { font-size: .72rem; color: var(--tenue); }
.wiz-spei dd { margin: 1px 0 0; font-weight: 600; font-size: .98rem; font-variant-numeric: tabular-nums; letter-spacing: .02em; overflow-wrap: anywhere; }
.wiz-copiar { flex: none; border: 1px solid rgba(45,226,230,.4); border-radius: 10px; padding: 7px 12px; background: rgba(45,226,230,.1); color: var(--agua); font: 600 .78rem Inter, sans-serif; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .15s; }
.wiz-copiar:active { transform: scale(.94); }
.wiz-exito .wiz-ayuda { font-size: .8rem; margin-top: 10px; line-height: 1.45; }
/* Selector de forma de pago */
.wiz-metodos { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 12px; border-radius: 14px; background: rgba(255,255,255,.06); }
.wiz-metodos button { min-height: 40px; border: 0; border-radius: 11px; background: none; color: var(--tenue); font: 600 .9rem Inter, sans-serif; cursor: pointer; transition: background .2s, color .2s; -webkit-tap-highlight-color: transparent; }
.wiz-metodos button[aria-selected="true"] { background: linear-gradient(135deg, rgba(45,226,230,.25), rgba(255,61,154,.2)); color: var(--texto); box-shadow: 0 0 0 1px rgba(45,226,230,.4) inset; }
.wiz-candado { font-size: 1.6rem; opacity: .85; }
.wiz-ventajas { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font-size: .86rem; color: #d4dcf7; }
.wiz-ventajas li { position: relative; padding-left: 24px; }
.wiz-ventajas li::before { content: '✓'; position: absolute; left: 2px; color: var(--ok); font-weight: 700; }
@media (max-height: 740px) {
  .wiz-reloj { margin-bottom: 10px; padding: 7px 12px; }
  .wiz-monto { padding: 8px 12px 8px 16px; }
  .wiz-monto b { font-size: 1.8rem; }
  .wiz-spei { margin-top: 8px; }
  .wiz-spei > div { padding-top: 6px; padding-bottom: 6px; }
}

@media (max-width: 640px) {
  .wiz-hoja { width: 100%; height: 100%; border-radius: 0; border: 0; }
  .wiz-fondo { display: none; }
  .wiz-paso { padding: 14px 20px 20px; }
  .wiz-top { padding-left: 12px; padding-right: 12px; }
  .registro-cta { padding: 32px 18px; }
  .registro-rapido { gap: 8px; }
}
/* Pantallas bajas (celulares chicos, laptops): todo más compacto para que quepa sin scroll */
@media (max-height: 740px) {
  .wiz-top { padding-top: max(10px, env(safe-area-inset-top)); }
  .wiz-paso { padding-top: 10px; padding-bottom: 14px; }
  .wiz-titulo { font-size: 1.85rem; margin-bottom: 4px; }
  .wiz-sub { font-size: .9rem; margin-bottom: 16px; }
  .wiz-kicker { margin-bottom: 4px; }
  .wiz-opciones { gap: 10px; }
  .wiz-opcion { min-height: 68px; padding: 10px 14px; }
  .wiz-opcion-icono { width: 44px; height: 44px; }
  .wiz-opcion-icono svg { width: 34px; height: 34px; }
  .chicas .wiz-opcion { min-height: 54px; }
  .wiz-campo input { padding-top: 16px; padding-bottom: 16px; font-size: 1.25rem; }
  .wiz-fila { min-height: 42px; padding-top: 8px; padding-bottom: 8px; }
  .wiz-acepto { padding: 12px 14px; margin-top: 12px; }
  .wiz-pie { padding-top: 10px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .wiz-cta { min-height: 52px; }
  .wiz-check-grande { width: 60px; height: 60px; margin-bottom: 8px; }
  .wiz-exito { padding-top: 6px; }
  .wiz-exito .wiz-sub { margin-bottom: 14px; }
  .wiz-ruta { margin-bottom: 14px; }
  .wiz-exito-acciones { margin-top: 10px; }
}

/* Reglas y FAQ */
.grid2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
ul.reglas { padding-left: 1.1rem; margin: 0; }
ul.reglas li { margin-bottom: .5rem; color: #d4dcf7; }
ul.reglas li::marker { color: var(--neon); }
details { border-bottom: 1px solid var(--borde); padding: 18px 0; }
details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font: italic 600 1.35rem 'Cormorant Garamond', serif; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; font: 400 1.4rem Inter, sans-serif; color: var(--agua); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--tenue); margin: 10px 0 0; }

footer { padding: 40px 16px 120px; color: var(--tenue); font-size: .8rem; text-align: center; border-top: 1px solid var(--borde); }

/* Barra fija en móvil */
.barra-movil { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 20; display: none; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(8,12,32,.85); border: 1px solid var(--borde); backdrop-filter: blur(14px); transform: translateY(140%); transition: transform .35s ease; }
.barra-movil.visible { transform: none; }
.barra-movil span { font-size: .85rem; }
.barra-movil b { color: var(--neon); }

/* ---------- Concierge ---------- */
.concierge-btn { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(45,226,230,.5); background: rgba(8,12,32,.9); color: var(--texto); font: 600 .92rem Inter, sans-serif; cursor: pointer; box-shadow: 0 0 30px -6px rgba(45,226,230,.6); backdrop-filter: blur(10px); }
.concierge-btn i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.concierge { position: fixed; right: 18px; bottom: 80px; z-index: 31; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100svh - 120px)); display: flex; flex-direction: column; border-radius: 22px; border: 1px solid var(--borde); background: rgba(8,12,32,.96); backdrop-filter: blur(18px); box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); overflow: hidden; animation: entrar-arriba .3s ease; }
.concierge[hidden] { display: none; }
@keyframes entrar-arriba { from { opacity: 0; transform: translateY(14px); } }
.concierge header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--borde); background: linear-gradient(90deg, rgba(45,226,230,.1), rgba(255,61,154,.08)); }
.concierge header div { flex: 1; line-height: 1.2; }
.concierge header b { font: italic 600 1.25rem 'Cormorant Garamond', serif; display: block; }
.concierge header small { color: var(--tenue); font-size: .75rem; }
.concierge header button { background: none; border: 0; color: var(--tenue); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.mensajes { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.burbuja { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.45; white-space: pre-wrap; animation: entrar-arriba .25s ease; }
.burbuja.bot { background: rgba(255,255,255,.07); border-bottom-left-radius: 4px; align-self: flex-start; }
.burbuja.yo { background: linear-gradient(135deg, rgba(45,226,230,.25), rgba(255,61,154,.22)); border-bottom-right-radius: 4px; align-self: flex-end; }
.burbuja.escribiendo { color: var(--tenue); }
.burbuja.escribiendo::after { content: '…'; animation: parpadeo 1s infinite; }
.concierge .chips { padding: 0 14px 10px; }
.concierge .chips button { font-size: .8rem; padding: 6px 12px; }
.concierge form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--borde); }
.concierge form input { padding: 11px 14px; }
.concierge form .btn { padding: 10px 16px; font-size: .88rem; }

/* ---------- Página de estado ---------- */
body.estado { display: grid; place-items: center; padding: 24px 16px; position: relative; }
body.estado .agua { position: fixed; z-index: -1; opacity: .7; }
body.estado .card { max-width: 480px; width: 100%; }
body.estado .btn { width: 100%; margin-top: 14px; }
.pago { display: grid; grid-template-columns: 1fr; gap: 2px; background: rgba(5,8,22,.6); padding: 14px; border-radius: 12px; }
.pago dt:not(:first-child) { margin-top: 10px; }
.pago dd span { min-width: 0; }
.pago dt { color: var(--tenue); font-size: .85rem; }
.pago dd { margin: 0; font-weight: 600; font-size: 1.02rem; font-variant-numeric: tabular-nums; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.copiar { flex: none; background: rgba(45,226,230,.12); color: var(--agua); border: 1px solid rgba(45,226,230,.35); border-radius: 8px; padding: 4px 10px; font: 600 .75rem Inter, sans-serif; cursor: pointer; }
.separador-pago { display: flex; align-items: center; gap: 10px; margin: 18px 0 6px; font-size: .8rem; color: var(--tenue); }
.separador-pago::before, .separador-pago::after { content: ''; flex: 1; height: 1px; background: var(--borde); }
.reloj-pago { padding: 10px 14px; border-radius: 12px; background: rgba(255,61,154,.12); border: 1px solid rgba(255,61,154,.35); }
.reloj-pago b { font-variant-numeric: tabular-nums; color: #ffd3e8; letter-spacing: .04em; }
.qr { display: block; width: 100%; max-width: 280px; margin: 16px auto; border-radius: 12px; background: #fff; padding: 8px; }
.ubicacion, .referidos { margin-top: 16px; padding: 14px; border-radius: 12px; border: 1px solid var(--borde); }
.codigo { font-family: monospace; font-size: 1.3rem; color: var(--neon); letter-spacing: .15em; }

/* ---------- Generador de invitación ---------- */
.inv-layout { display: grid; gap: 28px; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); align-items: start; padding: 32px 16px 80px; max-width: 1080px; margin: 0 auto; }
.inv-preview canvas { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 1px var(--borde); display: block; }
.inv-panel h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-style: italic; }
.inv-panel textarea { min-height: 210px; font-size: .95rem; line-height: 1.5; resize: vertical; }
.inv-acciones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tonos { margin: 8px 0 12px; }
.chip-ia { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--lila); margin-left: 8px; }

@media (max-width: 760px) {
  section { padding: 64px 0; }
  .galeria { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .galeria figure:first-child { grid-column: span 2; grid-row: span 1; }
  .galeria figure:nth-child(4):last-child { grid-column: span 2; }
  .barra-movil { display: flex; }
  .concierge-btn { bottom: 76px; right: 12px; padding: 11px 14px; }
  .concierge-btn .solo-escritorio { display: none; }
  .concierge { right: 12px; bottom: 132px; height: min(520px, calc(100svh - 160px)); }
  .inv-layout { grid-template-columns: 1fr; }
  .inv-preview { max-width: 340px; margin: 0 auto; width: 100%; }
  .flotador.rosa { width: 70px; height: 70px; border-width: 9px; left: -16px; bottom: 7%; }
  .flotador.cian { width: 54px; height: 54px; border-width: 8px; right: -12px; top: 9%; bottom: auto; }
  .flotador.lila { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
