/* Cigua — vidrio claro sobre lavanda, con el mundo 3D detrás. */

/* Tipografías autoalojadas (licencia OFL, ver fonts/LICENCIAS.txt) */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fragment Mono"; font-weight: 400; font-display: swap; src: url("fonts/fragment-mono-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Fragment Mono"; font-weight: 400; font-display: swap; src: url("fonts/fragment-mono-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+A720-A7FF; }

:root {
  --bg: #eeebfa;
  --ink: #1f1a4d;
  --ink-2: #463f82;
  --ink-3: #6b64a3;
  --brand: #4f3fd0;
  --brand-hover: #5d4ee0;
  --brand-2: #7c68f0;
  --lav: #9d8cff;
  --pink: #ff8ab8;
  --sky: #5cc8f5;
  --mango: #ffb547;
  --ok: #18a875;
  --no: #e5484d;
  --wa: #128c5e;
  /* Vidrio líquido: relleno translúcido + borde de luz interior + sombra teñida de índigo */
  --glass: rgba(255, 255, 255, 0.46);
  --glass-strong: rgba(255, 255, 255, 0.66);
  --glass-edge: rgba(255, 255, 255, 0.78);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(79, 63, 208, 0.06), 0 24px 48px -26px rgba(79, 63, 208, 0.34), 0 2px 8px rgba(79, 63, 208, 0.06);
  --radius: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Fragment Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Grano muy leve, fijo y sin eventos (no cuesta al hacer scroll) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .15 0 0 0 0 .45 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.03em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

/* Fondo: auroras suaves, lentas y poco saturadas */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.b1 { width: 46vw; height: 46vw; background: var(--lav); opacity: 0.55; top: -14vw; right: -10vw; animation: drift1 28s var(--ease) infinite alternate; }
.b2 { width: 32vw; height: 32vw; background: var(--pink); opacity: 0.3; bottom: -10vw; right: 12vw; animation: drift2 32s var(--ease) infinite alternate; }
.b3 { width: 36vw; height: 36vw; background: var(--sky); opacity: 0.3; bottom: 4vw; left: -12vw; animation: drift3 36s var(--ease) infinite alternate; }
.b4 { width: 22vw; height: 22vw; background: var(--mango); opacity: 0.18; top: 32vh; left: 30vw; animation: drift1 40s var(--ease) infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-7vw, 9vh) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-10vw, -7vh) scale(0.92); } }
@keyframes drift3 { to { transform: translate(9vw, -10vh) scale(1.08); } }

/* Mundo 3D, fijo detrás de todo el contenido */
#scene3d { position: fixed; inset: 0; z-index: 0; pointer-events: none; transition: opacity 0.9s var(--ease), filter 0.9s var(--ease); }
#scene3d canvas { display: block; }
#scene3d.dim { opacity: 0.26; filter: blur(2px) saturate(0.9); }
main, .footer { position: relative; z-index: 1; }

/* Vidrio */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}
/* Brillo de borde que sigue al cursor */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 104, 240, 0.75), rgba(255, 181, 71, 0.35) 35%, transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.spot:hover::before { opacity: 1; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* Navegación */
.nav {
  position: sticky; top: 14px; z-index: 50;
  width: min(1180px, 100% - 32px); margin: 14px auto 0;
  display: flex; align-items: center; gap: 16px;
  padding: 9px 10px 9px 16px; border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; text-decoration: none; }
.brand img { border-radius: 50%; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 0.94rem; padding: 8px 14px; border-radius: 999px; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.nav-links a:hover { background: rgba(255, 255, 255, 0.7); color: var(--ink); }

/* Botones: sólidos, con luz interior y un leve tirón magnético (JS) */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: inherit; font-weight: 700; color: #fff;
  padding: 14px 24px; background: var(--brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -2px 0 rgba(20, 12, 90, 0.22), 0 10px 24px -10px rgba(79, 63, 208, 0.7);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { background: var(--brand-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), inset 0 -2px 0 rgba(20, 12, 90, 0.22), 0 14px 30px -10px rgba(79, 63, 208, 0.75); }
.btn:active { transform: scale(0.98) translate(var(--tx, 0), var(--ty, 0)); }
.btn.magnetic { transform: translate(var(--tx, 0), var(--ty, 0)); }
.btn-small { padding: 10px 18px; font-size: 0.94rem; }
.btn-wa { background: var(--wa); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 24px -10px rgba(18, 140, 94, 0.7); }
.btn-wa:hover { background: #10a06a; }
.btn[disabled] { cursor: progress; }
.btn.is-loading .btn-label { opacity: 0.85; }
.btn.is-loading::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); background-size: 220% 100%; animation: shimmer 1.1s linear infinite; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* Inicio */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 64px 0 48px; min-height: min(calc(100dvh - 80px), 860px); }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px; border-radius: 999px; font-weight: 600; font-size: 0.88rem; color: var(--ink-2); margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(24, 168, 117, 0.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(24, 168, 117, 0); } }
h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.h1-accent { color: var(--brand); }
.underlined { position: relative; white-space: nowrap; }
.underlined svg { position: absolute; left: -2%; bottom: -0.14em; width: 104%; height: 0.32em; color: var(--mango); overflow: visible; }
.underlined path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s var(--ease) 0.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 36ch; }

/* Formulario */
.waitlist { margin-top: 26px; max-width: 500px; }
.field-label { display: block; font-size: 0.86rem; font-weight: 700; color: var(--ink-2); margin: 0 0 8px 4px; }
.field { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; transition: box-shadow 0.3s var(--ease); }
.field:focus-within { box-shadow: 0 0 0 4px rgba(124, 104, 240, 0.25), var(--glass-shadow); }
.cc { position: relative; flex: none; display: flex; align-items: center; }
.cc-label { display: inline-flex; align-items: center; gap: 6px; padding: 10px 6px 10px 14px; font-weight: 700; border-right: 1px solid rgba(79, 63, 208, 0.15); }
.cc-label::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translate(-2px, -2px); margin: 0 6px 0 2px; }
.cc-select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font: inherit; }
.cc:focus-within .cc-label { color: var(--brand); }
.field input[type="tel"] { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); padding: 10px 8px; outline: none; }
.field input::placeholder { color: var(--ink-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 12px 4px 0; font-size: 0.82rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; text-align: left; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brand); cursor: pointer; }
.consent a { color: var(--brand); font-weight: 700; }
.consent.err span { color: var(--no); }
.form-msg { min-height: 1.5em; margin: 10px 4px 0; font-size: 0.9rem; font-weight: 600; }
.form-msg.err { color: var(--no); }
.form-msg.ok { color: var(--ok); }
.form-msg a { color: inherit; }
.step-2 { animation: rise 0.5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.step-title { font-weight: 800; font-size: 1.15rem; margin: 0 0 4px; }
.step-text { color: var(--ink-2); font-size: 0.93rem; margin: 0 0 14px; }
.link-btn { display: block; margin: 12px 4px 0; padding: 0; border: 0; background: none; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--ink-3); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--brand); }
.shake { animation: shake 0.4s var(--ease); }
@keyframes shake { 20%, 60% { translate: -6px 0; } 40%, 80% { translate: 6px 0; } }

/* Visual del inicio: la notificación y las etiquetas flotan sobre el 3D */
.hero-visual { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; }
.notif { position: absolute; left: -8%; bottom: 2%; width: min(330px, 80%); border-radius: 22px; padding: 14px; background: var(--glass-strong); animation: slideIn 0.9s var(--ease) 0.3s both; }
.notif.bump { animation: bump 0.4s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
@keyframes bump { 40% { transform: scale(1.03); } }
.notif-head { display: flex; gap: 11px; align-items: flex-start; }
.notif-head img { border-radius: 50%; flex: none; }
.notif-app { margin: 0; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.notif-title { margin: 1px 0 0; font-weight: 800; font-size: 0.98rem; }
.notif-sub { margin: 1px 0 0; font-size: 0.8rem; color: var(--ink-3); }
.notif-actions { display: flex; gap: 8px; margin-top: 12px; }
.chip { flex: 1; border: 0; border-radius: 12px; padding: 9px 10px; font: inherit; font-weight: 700; font-size: 0.88rem; cursor: pointer; transition: transform 0.25s var(--ease), filter 0.2s; }
.chip:hover { filter: brightness(0.97); transform: translateY(-1px); }
.chip:active { transform: scale(0.97); }
.chip-ok { background: rgba(24, 168, 117, 0.14); color: #0d7a54; }
.chip-no { background: rgba(229, 72, 77, 0.13); color: #b8262b; }
.tag { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 0.84rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.tag-a { right: -4%; top: 16%; animation: float 7s ease-in-out infinite 1s; }
.tag-b { left: 0; top: 6%; animation: float 8s ease-in-out infinite 0.5s; }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* Funciones: un panel de vidrio por escena */
.story { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 96px 0; }
.story-panel { max-width: 450px; padding: 34px; border-radius: 28px; background: rgba(255, 255, 255, 0.55); }
.eyebrow { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.num { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0; padding: 3px 8px; border-radius: 8px; background: rgba(79, 63, 208, 0.1); color: var(--brand); }
.story-panel h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 800; }
.story-panel > p:not(.eyebrow):not(.log) { color: var(--ink-2); font-size: 1.04rem; }
.log { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid rgba(79, 63, 208, 0.14); font-family: var(--mono); font-size: 0.76rem; color: var(--ink-3); }

/* Secciones */
.section { padding: 88px 0; }
.section-head { max-width: 560px; margin-bottom: 36px; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; }
.sub { color: var(--ink-2); font-size: 1.06rem; }
.sub a { color: var(--brand); font-weight: 700; }

/* Cómo funciona: bento asimétrico */
.bento { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.step { position: relative; border-radius: 26px; padding: 28px; transition: transform 0.5s var(--ease); }
.step:hover { transform: translateY(-3px); }
.step-big { grid-row: span 2; display: flex; flex-direction: column; }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; font-family: var(--mono); font-size: 0.9rem; color: #fff; background: var(--brand); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); margin-bottom: 18px; }
.step h3 { font-size: 1.3rem; font-weight: 800; }
.step p { color: var(--ink-2); margin: 0; }
.scan { flex: 1; display: grid; place-items: center; margin: 4px 0 22px; min-height: 180px; border-radius: 18px; background: rgba(255, 255, 255, 0.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8); }
.scan svg { width: min(300px, 80%); }
.scan-line { animation: scan 2.6s var(--ease) infinite; }
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(74px); opacity: 0; } }

/* Privacidad */
.privacy { max-width: 560px; border-radius: 28px; padding: 36px; background: rgba(255, 255, 255, 0.55); }
.privacy h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.h-icon { flex: none; color: var(--brand); }
.checks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; color: var(--ink-2); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: rgba(24, 168, 117, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d7a54' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.text-link { font-weight: 700; color: var(--brand); text-underline-offset: 4px; }

/* Preguntas: título a la izquierda, lista a la derecha */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq { display: grid; gap: 10px; }
.qa { border-radius: 20px; overflow: hidden; }
.q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; background: none; border: 0; font: inherit; font-weight: 700; font-size: 1.04rem; color: var(--ink); padding: 19px 22px; cursor: pointer; }
.plus { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(79, 63, 208, 0.1); transition: transform 0.45s var(--ease), background 0.3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; border-radius: 2px; background: var(--brand); transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa.open .plus { transform: rotate(45deg); background: rgba(79, 63, 208, 0.18); }
.a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.a > div { overflow: hidden; }
.a p { padding: 0 22px 20px; margin: 0; color: var(--ink-2); }
.qa.open .a { grid-template-rows: 1fr; }

/* Llamado final */
.cta { border-radius: 32px; padding: 38px; max-width: 560px; background: rgba(255, 255, 255, 0.58); }
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.cta .waitlist { margin-top: 20px; }
.cta-img { width: 200px; margin: -10px auto 10px; -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 71%); mask-image: radial-gradient(circle, #000 55%, transparent 71%); }

/* Pie */
.footer { padding: 36px 0 52px; color: var(--ink-2); font-size: 0.95rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid rgba(79, 63, 208, 0.14); margin-bottom: 10px; }
.footer p { margin: 4px 0; }
.social { display: flex; gap: 8px; }
.social a { text-decoration: none; font-weight: 700; font-size: 0.9rem; color: var(--brand); padding: 8px 15px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); border: 1px solid var(--glass-edge); transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.social a:hover { background: rgba(255, 255, 255, 0.85); transform: translateY(-1px); }
.fine { font-size: 0.8rem; color: var(--ink-3); }

/* Aparición escalonada al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Sin 3D: imágenes de Cigua en su lugar */
.fallback-img { display: none; }
.no3d .fallback-img { display: block; }
.hero-visual .fallback-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; -webkit-mask-image: radial-gradient(circle, #000 56%, transparent 71%); mask-image: radial-gradient(circle, #000 56%, transparent 71%); }
.story-panel .fallback-img { width: 66%; margin: -10px auto 8px; -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 71%); mask-image: radial-gradient(circle, #000 55%, transparent 71%); }

/* Página legal */
.legal-page .nav { position: sticky; }
.legal { width: min(760px, 100% - 32px); margin: 0 auto; padding: 48px 0 40px; position: relative; z-index: 1; }
.legal article { border-radius: 28px; padding: clamp(24px, 5vw, 48px); background: rgba(255, 255, 255, 0.66); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal a:not(.btn) { color: var(--brand); font-weight: 700; }
.legal .num { display: inline-block; margin-bottom: 10px; }
.updated { font-family: var(--mono); font-size: 0.82rem; color: var(--ink-3) !important; }
.pill.btn, .legal .btn { color: #fff; }

/* Tableta y celular */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; min-height: 0; }
  .hero-visual { max-width: 460px; }
  .has3d .hero { padding-top: 0; }
  .has3d .hero-visual { order: -1; max-width: none; aspect-ratio: auto; height: 46svh; }
  .notif { left: 0; }
  .story { align-items: flex-end; padding: 48svh 0 32px; }
  .no3d .story { align-items: center; padding: 64px 0; }
  .story-panel { max-width: none; width: 100%; padding: 26px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav .btn-small { margin-left: auto; }
  .bento { grid-template-columns: 1fr; }
  .step-big { grid-row: auto; }
  .section { padding: 64px 0; }
  .cta, .privacy { padding: 26px 22px; }
}
@media (max-width: 520px) {
  .field { flex-wrap: wrap; border-radius: 22px; }
  .field input[type="tel"] { flex: 1 1 150px; }
  .field .btn { flex-basis: 100%; }
  .tag-b { display: none; }
  .tag-a { right: 0; }
  .notif { width: 88%; left: 6%; bottom: -4%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .underlined path { stroke-dashoffset: 0; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, 0.88); }
}
