@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-800.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-800i.woff2") format("woff2"); }
/* Human Touch · manual de marca: navy con pares de anillos finos verdes, verde de acento, azul secundario,
   crema, Montserrat (normales livianas, lo clave en extra bold itálica) y el logo original sin tocar.
   Una columna pensada para el celular: casi todos llegan desde un mensaje de Instagram. */
:root {
  --navy: #14264c;
  --navy-hondo: #0d1a36;
  --verde: #66cc99;
  --azul: #60b0e2;
  --crema: #e7e5e3;
  --blanco: #ffffff;
  --suave: rgba(231, 229, 227, .74);
  --tenue: rgba(231, 229, 227, .14);
  --caja: rgba(255, 255, 255, .045);
  --fuente: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --curva: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--navy); color: var(--crema); font-family: var(--fuente); font-size: 17px; line-height: 1.5;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }

/* ---------- fondo: navy, luz suave que respira y pares de anillos que se mueven muy lento ---------- */
.fondo { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.fondo::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(102,204,153,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(102,204,153,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(80% 55% at 50% 15%, #000, transparent 75%); mask-image: radial-gradient(80% 55% at 50% 15%, #000, transparent 75%);
}
.fondo .luz {
  position: absolute; width: 130vmax; height: 130vmax; left: 50%; top: -75vmax; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(96,176,226,.17), transparent 70%); animation: respira 9s ease-in-out infinite alternate;
}
@keyframes respira { from { opacity: .7; transform: translateX(-50%) scale(.96); } to { opacity: 1; transform: translateX(-50%) scale(1.04); } }
.fondo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fondo .par { transform-box: fill-box; transform-origin: center; animation: deriva 26s ease-in-out infinite alternate; }
.fondo .par.b { animation-duration: 32s; animation-direction: alternate-reverse; }
@keyframes deriva { from { transform: translate(0, 0) scale(1); } to { transform: translate(14px, 10px) scale(1.05); } }

.envoltura {
  position: relative; z-index: 1; max-width: 600px; margin: 0 auto; min-height: 100vh;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
  padding-block: 22px 48px; display: flex; flex-direction: column; gap: 26px;
}
header { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
header .logo-ht { height: 28px; width: auto; flex: none; }

/* progreso: el contorno de un hexágono que se va completando */
.progreso { display: flex; align-items: center; gap: 10px; opacity: 0; transition: opacity .4s; }
.progreso.visible { opacity: 1; }
.progreso svg { width: 38px; height: 38px; overflow: visible; }
.progreso .base { fill: none; stroke: var(--tenue); stroke-width: 3; }
.progreso .avance { fill: none; stroke: var(--verde); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; transition: stroke-dashoffset .7s var(--curva); filter: drop-shadow(0 0 4px rgba(102,204,153,.6)); }
.progreso .centro { fill: var(--verde); transform-box: fill-box; transform-origin: center; animation: late-punto 1.8s infinite; }
@keyframes late-punto { 0%, 100% { transform: scale(.7); opacity: .6; } 50% { transform: scale(1); opacity: 1; } }
.progreso b { font-size: 12px; font-weight: 700; color: var(--suave); font-variant-numeric: tabular-nums; letter-spacing: .04em; white-space: nowrap; }

/* ---------- pantallas y transiciones ---------- */
.pantalla { display: flex; flex-direction: column; gap: 22px; }
.pantalla.entra { animation: entra .55s var(--curva) both; }
.pantalla.entra.atras-dir { animation-name: entra-atras; }
@keyframes entra { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes entra-atras { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.escalon { opacity: 0; animation: sube .6s var(--curva) both; animation-delay: calc(var(--i, 0) * 70ms + 120ms); }
@keyframes sube { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.ceja { font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .04em; color: var(--verde); font-size: 13px; }
h1, h2, h3 { margin: 0; font-weight: 800; font-style: italic; color: var(--blanco); text-wrap: balance; line-height: 1.1; }
h1 { font-size: clamp(32px, 8.8vw, 48px); letter-spacing: -.01em; }
h2 { font-size: clamp(25px, 6.4vw, 31px); }
h3 { font-size: 19px; }
p { margin: 0; }
[tabindex="-1"]:focus { outline: none; }
.bajada { color: var(--suave); font-size: 17px; }
.ayuda { color: var(--suave); font-size: 14.5px; margin-top: -10px; }
.marca { color: var(--verde); }

/* palabras del título que suben una a una */
.revela .p { display: inline-block; overflow: hidden; vertical-align: bottom; padding-right: .06em; margin-right: -.06em; }
.revela .p > span { display: inline-block; transform: translateY(105%); animation: asoma .8s var(--curva) both; animation-delay: calc(var(--n) * 55ms + 150ms); }
@keyframes asoma { to { transform: none; } }

.pildora { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; font-size: 13px; font-weight: 700; color: var(--crema); background: rgba(102,204,153,.12); }
.pildora i { width: 8px; height: 8px; border-radius: 50%; background: var(--verde); animation: late 1.8s infinite; }
@keyframes late { 0% { box-shadow: 0 0 0 0 rgba(102,204,153,.7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(102,204,153,0); } }
.datos { display: flex; gap: 8px; flex-wrap: wrap; }
.datos span { background: rgba(255,255,255,.05); padding: 6px 11px; font-size: 13px; font-weight: 600; display: inline-flex; gap: 7px; align-items: center; }
.datos span::before { content: ""; width: 6px; height: 6px; background: var(--verde); transform: rotate(45deg); }

/* ---------- botones ---------- */
button, .boton {
  font: 800 17px var(--fuente); cursor: pointer; border: 0; padding: 18px 22px; text-decoration: none; display: block;
  background: var(--verde); color: var(--navy); text-align: center; width: 100%; position: relative; overflow: hidden;
  transition: transform .15s, box-shadow .25s, opacity .25s; -webkit-tap-highlight-color: transparent;
}
.boton-principal { box-shadow: 0 12px 34px -12px rgba(102,204,153,.8); }
.boton-principal::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); animation: brillo 3.4s 1.2s infinite; }
@keyframes brillo { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.boton-principal.pulso { animation: pulso-boton 2.4s 1.5s infinite; }
@keyframes pulso-boton { 0% { box-shadow: 0 12px 34px -12px rgba(102,204,153,.8), 0 0 0 0 rgba(102,204,153,.55); } 70%, 100% { box-shadow: 0 12px 34px -12px rgba(102,204,153,.8), 0 0 0 16px rgba(102,204,153,0); } }
button:active, .boton:active { transform: scale(.985); }
button:disabled { opacity: .4; cursor: default; }
button:disabled::after { display: none; }
button:focus-visible, .boton:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }
.secundario { background: rgba(255,255,255,.07); color: var(--crema); box-shadow: none; }
.secundario::after { display: none; }
.microcopia { font-size: 13px; color: var(--suave); text-align: center; margin-top: -10px; }
.atras { background: none; color: var(--suave); font: 600 14px var(--fuente); padding: 6px 0; width: auto; align-self: flex-start; }
.atras::after { display: none; }
.onda { position: absolute; border-radius: 50%; background: rgba(102,204,153,.35); transform: scale(0); animation: onda .6s ease-out forwards; pointer-events: none; }
@keyframes onda { to { transform: scale(4); opacity: 0; } }

/* ---------- vienes del video ---------- */
.origen { display: flex; gap: 16px; align-items: center; background: linear-gradient(120deg, rgba(102,204,153,.09), rgba(255,255,255,.03)); padding: 14px; }
.origen .mini { flex: none; width: 74px; aspect-ratio: 9 / 16; position: relative; overflow: hidden; background: var(--navy-hondo); }
.origen .mini img { width: 100%; height: 100%; object-fit: cover; display: block; animation: acerca 12s ease-in-out infinite alternate; }
@keyframes acerca { to { transform: scale(1.12); } }
.origen .mini::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px; border-radius: 50%;
  background: rgba(20,38,76,.7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l8 5-8 5z' fill='%2366cc99'/%3E%3C/svg%3E") center / 18px no-repeat;
  animation: late 2s infinite;
}
.origen .ceja { font-size: 11.5px; }
.origen h3 { margin: 3px 0 4px; font-size: 17px; }
.origen p { font-size: 14px; color: var(--suave); }

/* ---------- hexágono (radar de seis ejes) ---------- */
.hex { width: 100%; max-width: 400px; align-self: center; overflow: visible; display: block; }
.hex .malla { fill: none; stroke: rgba(231,229,227,.13); stroke-width: 1; }
.hex .malla.borde { stroke: rgba(231,229,227,.22); stroke-dasharray: 900; stroke-dashoffset: 900; animation: traza 1.4s .2s var(--curva) forwards; }
@keyframes traza { to { stroke-dashoffset: 0; } }
.hex .eje { stroke: rgba(231,229,227,.11); }
.hex .forma { fill: rgba(102,204,153,.22); stroke: var(--verde); stroke-width: 2.5; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(102,204,153,.35)); }
.hex .punto { fill: var(--verde); transition: r .3s; }
.hex .punto.activo { fill: var(--blanco); }
.hex text { fill: var(--suave); font: 600 12px var(--fuente); transition: fill .3s; }
.hex text.activa { fill: var(--verde); font-weight: 800; font-style: italic; }
.hex .barrido { transform-origin: 0 0; animation: gira 5s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.vista { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); padding: 62px 10px 14px; display: flex; flex-direction: column; gap: 6px; }
.vista .etiqueta { position: absolute; top: 14px; left: 14px; right: 14px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--suave); display: flex; gap: 7px; align-items: center; }
.vista .etiqueta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--azul); animation: late 1.8s infinite; }
.vista .pie { text-align: center; font-size: 13px; color: var(--suave); min-height: 20px; }
.vista .pie b { color: var(--verde); font-style: italic; }

/* ---------- cifras ---------- */
.cifras { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cifras div { background: var(--caja); padding: 16px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.cifras b { font-size: 28px; font-weight: 800; font-style: italic; color: var(--verde); font-variant-numeric: tabular-nums; }
.cifras span { font-size: 12px; color: var(--suave); line-height: 1.3; }

/* ---------- opciones ---------- */
.opciones { display: flex; flex-direction: column; gap: 10px; }
.opcion {
  display: flex; align-items: center; gap: 14px; text-align: left; font: 600 16px/1.35 var(--fuente); color: var(--crema);
  background: var(--caja); padding: 16px; transition: background .25s, transform .25s, box-shadow .25s;
}
.opcion::after { display: none; }
.opcion .caja-check { flex: none; width: 26px; height: 26px; display: grid; place-items: center; background: rgba(102,204,153,.14); transition: background .25s, transform .3s var(--curva); }
.opcion .caja-check svg { width: 16px; height: 16px; }
.opcion .caja-check path { fill: none; stroke: var(--navy); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s .05s var(--curva); }
.opcion.redonda .caja-check { border-radius: 50%; }
@media (hover: hover) { .opcion:hover { background: rgba(102,204,153,.1); transform: translateX(3px); } }
.opcion.elegida { background: rgba(102,204,153,.2); box-shadow: 0 0 28px -10px var(--verde); }
.opcion.elegida .caja-check { background: var(--verde); transform: scale(1.08); }
.opcion.elegida .caja-check path { stroke-dashoffset: 0; }
.opcion .orden { margin-left: auto; font-size: 12px; font-weight: 800; font-style: italic; color: var(--verde); opacity: 0; transition: opacity .25s; white-space: nowrap; }
.opcion.elegida .orden { opacity: 1; }
.fichas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fichas .opcion { padding: 14px 12px; font-size: 14.5px; gap: 10px; }
.fichas .opcion .caja-check { width: 22px; height: 22px; }
.grupo { display: flex; flex-direction: column; gap: 10px; }
.grupo h3 { font-size: 17px; }
.opcion .textos { display: flex; flex-direction: column; gap: 3px; }
.opcion small { font: 400 13.5px/1.35 var(--fuente); color: var(--suave); }
.refuerzo { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--crema); background: rgba(102,204,153,.12); animation: sube .6s var(--curva) both; }
.refuerzo::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--verde); }
.prueba { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13.5px; color: var(--suave); text-align: center; margin-top: -6px; }
.prueba b { color: var(--verde); font-weight: 800; }

/* ---------- frase de liderazgo ---------- */
.frase { position: relative; background: var(--caja); padding: 18px 18px 16px 52px; opacity: 0; animation: sube .7s .55s var(--curva) both; }
.frase::before { content: "“"; position: absolute; left: 14px; top: 6px; font: 800 italic 44px/1 var(--fuente); color: var(--verde); animation: aparece-comilla .6s .8s var(--curva) both; }
@keyframes aparece-comilla { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.frase p { font: 400 15.5px/1.55 var(--fuente); color: var(--crema); }
.frase small { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--suave); letter-spacing: .03em; }

/* ---------- formulario ---------- */
form { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--suave); letter-spacing: .02em; }
input, textarea {
  font: 500 16px var(--fuente); color: var(--blanco); background: rgba(255,255,255,.06); border: 0; padding: 15px 14px; width: 100%;
  border-radius: 0; transition: background .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
input:focus, textarea:focus { background: rgba(255,255,255,.1); box-shadow: inset 0 -2px 0 var(--verde); outline: none; }
textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
input::placeholder, textarea::placeholder { color: rgba(231,229,227,.4); }
.error { color: #f4b860; font-size: 13px; min-height: 18px; }
.par-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 380px) { .par-campos { grid-template-columns: 1fr; } }

/* ---------- preparando ---------- */
.preparando { align-items: center; text-align: center; padding-top: 10px; }
.preparando .hex { max-width: 300px; }
.lista-prep { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; align-self: stretch; max-width: 340px; margin-inline: auto; text-align: left; }
.lista-prep li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--suave); opacity: .35; transition: opacity .4s, color .4s; }
.lista-prep li.hecho { opacity: 1; color: var(--crema); }
.lista-prep .caja-check { width: 22px; height: 22px; flex: none; display: grid; place-items: center; background: rgba(102,204,153,.14); transition: background .3s; }
.lista-prep li.hecho .caja-check { background: var(--verde); }
.lista-prep svg { width: 14px; height: 14px; }
.lista-prep path { fill: none; stroke: var(--navy); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .4s .1s; }
.lista-prep li.hecho path { stroke-dashoffset: 0; }
.barra { align-self: stretch; height: 4px; background: var(--tenue); overflow: hidden; max-width: 340px; margin-inline: auto; width: 100%; }
.barra i { display: block; height: 100%; width: 0; background: var(--verde); box-shadow: 0 0 10px var(--verde); transition: width 3.2s cubic-bezier(.4,0,.2,1); }

/* ---------- resultado ---------- */
.tarjeta { background: var(--caja); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.resumen { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.resumen div { display: grid; grid-template-columns: 112px 1fr; gap: 10px; font-size: 14.5px; }
.resumen dt { color: var(--suave); font-weight: 600; font-size: 13px; padding-top: 1px; }
.resumen dd { margin: 0; color: var(--crema); font-weight: 600; }
.lista-resumen { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.lista-resumen li::marker { color: var(--verde); }
.consejo .enfoque { font-size: 14.5px; color: var(--suave); }
.revisar { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.revisar li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.revisar li span.num { flex: none; width: 28px; height: 28px; display: grid; place-items: center; background: rgba(102,204,153,.16); color: var(--verde); font-weight: 800; font-style: italic; font-size: 14px; }
.consejo { background: linear-gradient(135deg, rgba(102,204,153,.14), rgba(96,176,226,.08)); padding: 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.consejo p { font: 600 17px/1.5 var(--fuente); color: var(--blanco); }
.pasos-reunion { display: grid; gap: 10px; }
.pasos-reunion div { display: flex; gap: 14px; align-items: center; background: var(--caja); padding: 14px; }
.pasos-reunion b { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: var(--verde); color: var(--navy); font-weight: 800; font-style: italic; }
.pasos-reunion span { font-weight: 600; font-size: 15px; }

/* ---------- prueba social ---------- */
.seccion { display: flex; flex-direction: column; gap: 14px; }
.cinta { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.cinta .pista { display: flex; width: max-content; align-items: center; animation: desliza 70s linear infinite; }
@keyframes desliza { to { transform: translateX(-50%); } }
.cinta img { width: 108px; height: 38px; object-fit: contain; margin-right: 26px; filter: brightness(0) invert(1); opacity: .6; flex: none; }
.certificaciones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.certificaciones span { background: var(--caja); display: grid; place-items: center; padding: 16px 12px; min-height: 78px; }
.certificaciones img { max-height: 40px; max-width: 100%; filter: brightness(0) invert(1); opacity: .72; }
.testimonios { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; align-items: stretch; }
.testimonios::-webkit-scrollbar { display: none; }
.testimonio { flex: 0 0 86%; scroll-snap-align: center; background: var(--caja); padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.testimonio p { font: 400 15px/1.6 var(--fuente); color: var(--crema); }
.testimonio p::before { content: "“"; color: var(--verde); font: 800 30px/0 var(--fuente); vertical-align: -10px; margin-right: 2px; }
.testimonio footer { margin-top: auto; font-size: 13px; color: var(--suave); }
.testimonio footer b { display: block; color: var(--blanco); font-size: 14.5px; }
.testimonio.solo { flex: none; }
.puntos { display: flex; gap: 6px; justify-content: center; }
.puntos i { width: 18px; height: 3px; background: var(--tenue); transition: background .3s, width .3s; }
.puntos i.activo { background: var(--verde); width: 30px; }

/* ---------- firma y contacto ---------- */
.firma { display: flex; gap: 14px; align-items: center; }
.firma img { width: 40px; height: 40px; flex: none; }
.firma b { display: block; color: var(--blanco); font-size: 15px; font-style: italic; font-weight: 800; }
.firma span { font-size: 13px; color: var(--suave); }
.contacto { margin-top: 14px; text-align: left; align-self: stretch; background: var(--caja); padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.contacto .logo-ht { height: 26px; width: auto; align-self: flex-start; margin-bottom: 4px; }
.contacto a { color: var(--crema); text-decoration: none; display: flex; gap: 10px; align-items: flex-start; }
.contacto svg { width: 18px; height: 18px; flex: none; color: var(--verde); margin-top: 1px; }
.redes { display: flex; gap: 10px; }
.redes a { width: 40px; height: 40px; display: grid; place-items: center; background: rgba(255,255,255,.06); }

/* barra fija con el botón cuando el principal sale de la vista */
.fija { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; padding: 12px max(20px, env(safe-area-inset-left, 0px)) calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(0deg, rgba(13,26,54,.97) 60%, rgba(13,26,54,0)); transform: translateY(110%); visibility: hidden; transition: transform .4s var(--curva), visibility 0s .4s; }
.fija.visible { transform: none; visibility: visible; transition: transform .4s var(--curva); }
.fija button { max-width: 560px; margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .cinta .pista { animation: none; }
}

/* ---------- agregado: consentimiento, material y pie legal ---------- */
.oculto-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.aviso-legal { font-size: 12.5px; line-height: 1.5; color: var(--suave); margin-top: -4px; }
.aviso-legal a, .pie-legal a { color: var(--crema); text-underline-offset: 3px; }
.check { flex-direction: row; align-items: flex-start; gap: 12px; font: 500 14px/1.45 var(--fuente); color: var(--crema); letter-spacing: 0; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; padding: 0; margin: 1px 0 0; background: rgba(102,204,153,.14); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--verde); }
.check input:checked::after { content: ""; width: 11px; height: 6px; border: solid var(--navy); border-width: 0 0 3px 3px; transform: translateY(-2px) rotate(-45deg); }
.check input:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }
.opcional { font-weight: 400; color: rgba(231,229,227,.5); }
.boton-texto { background: none; color: var(--crema); font: 600 14.5px var(--fuente); padding: 4px 0; width: auto; align-self: center; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(102,204,153,.6); }
.boton-texto::after { display: none; }

.pie-legal { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left, 0px)) 32px; font-size: 12px; color: var(--suave); display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; }

/* páginas de texto (privacidad, descarga) */
.texto-legal { display: flex; flex-direction: column; gap: 14px; font-size: 15.5px; }
.texto-legal h1 { font-size: clamp(28px, 7vw, 38px); }
.texto-legal h2 { font-size: 20px; margin-top: 10px; }
.texto-legal p, .texto-legal li { color: var(--crema); }
.texto-legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.texto-legal li::marker { color: var(--verde); }
.texto-legal a { color: var(--verde); }
.texto-legal table { border-collapse: collapse; font-size: 14px; }
.texto-legal td, .texto-legal th { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--tenue); vertical-align: top; }
/* con JavaScript, la portada la dibuja landing.js (con animaciones); el HTML del servidor queda para buscadores y sin JS */
.js .pantalla.ssr { visibility: hidden; }

/* Política de privacidad encima del formulario */
.dialogo-legal { width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--tenue); border-radius: 16px; background: var(--navy-hondo); color: var(--crema); overflow: hidden; display: none; flex-direction: column; }
.dialogo-legal[open] { display: flex; }
.dialogo-legal::backdrop { background: rgba(13, 26, 54, .72); }
.dialogo-barra { padding: 12px 16px; border-bottom: 1px solid var(--tenue); background: var(--navy-hondo); }
.dialogo-barra .boton { width: auto; }
.dialogo-texto { padding: 18px 20px 28px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
