/* Página de presentación (CRESCIA). Tipografías propias (Fraunces para títulos, Instrument Sans para el resto): app/css/fonts.css. */
:root {
  --bg: #06070b; --bg2: #0b0d14; --text: #eef0f7; --muted: #98a0b6; --line: rgba(255, 255, 255, .1);
  --violet: #7c3aed; --blue: #3b82f6; --cyan: #38bdf8;
  --grad: linear-gradient(120deg, #7c3aed 0%, #3b82f6 55%, #38bdf8 100%);
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'Instrument Sans', system-ui, sans-serif; --disp: 'Fraunces', Georgia, 'Times New Roman', serif;
  --gut: clamp(1.1rem, 5vw, 4rem);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; left: 1rem; top: 1rem; z-index: 99; background: #fff; color: #000; padding: .6rem 1rem; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: 0 1.7rem; border-radius: 4px; font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.btn.sm { min-height: 42px; padding: 0 1.2rem; }
.btn.solid { background: #fff; color: #07080d; }
.btn.solid:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(99, 102, 241, .45); }
.btn.line { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(6, 7, 11, .35); backdrop-filter: blur(6px); }
.btn.line:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* Barra superior */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 1.5rem; padding: .9rem max(var(--gut), calc((100% - 1200px) / 2)); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }   /* en pantallas anchas el menú y la portada se alinean con el resto de la página (1200 px) */
.nav.solid { background: rgba(6, 7, 11, .82); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand img { width: 34px; height: 34px; } .marca-nombre { font: 600 1.05rem/1 var(--disp); letter-spacing: .32em; text-transform: uppercase; color: #eef0f7; }
.links { display: flex; gap: 2rem; }
.links a { white-space: nowrap; font: 500 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #dfe3f0; opacity: .85; }
.links a:hover { opacity: 1; }
@media (max-width: 960px) { .links { gap: 1.2rem; } .marca-nombre { letter-spacing: .24em; } }
@media (max-width: 860px) { .links { display: none; } }
@media (max-width: 720px) { .marca-nombre { font-size: .95rem; letter-spacing: .26em; } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 7rem var(--gut) 6rem; text-align: center; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 100%, #0d1022 0%, var(--bg) 60%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-video + .hero-bg { background: linear-gradient(180deg, rgba(6, 7, 11, .55), rgba(6, 7, 11, .75) 60%, var(--bg)); }
.hero-video + .hero-bg .glow, .hero-video + .hero-bg .grid { display: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: flota 14s ease-in-out infinite alternate; }
.g1 { width: min(60vw, 620px); aspect-ratio: 1; left: -8%; top: 8%; background: #5b2bd9; }
.g2 { width: min(55vw, 560px); aspect-ratio: 1; right: -6%; bottom: 2%; background: #1f7ae0; animation-delay: -6s; }
.grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; opacity: .22; mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent); -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent); }
@keyframes flota { to { transform: translate3d(5vw, -4vh, 0) scale(1.12); } }
.hero-in { display: grid; justify-items: center; gap: 1.1rem; max-width: 52rem; }
.hero-mark { width: clamp(150px, 26vw, 300px); filter: drop-shadow(0 0 60px rgba(99, 102, 241, .5)); animation: entra 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.hero-name { display: block; font: 700 clamp(2.6rem, 9vw, 5.4rem)/1 var(--disp); letter-spacing: .2em; padding-left: .2em; background: linear-gradient(90deg, #f1f3fb, #b4bde0); -webkit-background-clip: text; background-clip: text; color: transparent; animation: entra 1.2s .15s cubic-bezier(.2, .7, .2, 1) both; }
.hero-greca { display: block; width: clamp(110px, 16vw, 170px); height: auto; margin: .3rem 0 0; opacity: .9; animation: entra 1.2s .3s cubic-bezier(.2, .7, .2, 1) both; }
.lead { font: 500 clamp(1.1rem, 2.4vw, 1.5rem)/1.4 var(--sans); color: #d6dbea; margin-top: .6rem; animation: entra 1.2s .3s cubic-bezier(.2, .7, .2, 1) both; }
.cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 1.4rem; animation: entra 1.2s .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes entra { from { opacity: 0; transform: translateY(24px); } }
.scroll { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: .1rem; font: 500 .62rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #cfd5e6; }
.scroll svg { animation: baja 1.8s ease-in-out infinite; }
@keyframes baja { 50% { transform: translateY(5px); } }

/* Foto del hero: a la derecha en pantallas anchas (se desvanece hacia el fondo); detrás del texto en el celular */
.hero-photo { position: absolute; z-index: -1; inset: 0; opacity: .55; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 7, 11, .55) 0%, rgba(6, 7, 11, .15) 40%, var(--bg) 100%); }
@media (min-width: 760px) {
  .hero { text-align: left; justify-items: start; }
  .hero-in { justify-items: start; max-width: 36rem; }
  .cta { justify-content: flex-start; }
  .hero-mark { width: clamp(150px, 15vw, 230px); }
  .hero-name { font-size: clamp(2.6rem, 5vw, 4rem); }
  .hero-photo { left: 34%; opacity: 1; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
  .hero-photo img { object-position: 35% 55%; }
  .scroll { left: max(var(--gut), calc((100% - 1200px) / 2)); transform: none; justify-items: start; }
}

/* Hero con el celular: texto y celular en dos columnas en pantallas anchas; en el celular, el celular de demostración debajo del texto.
   (La clase «con-cuerpo» se conserva por compatibilidad: ahora el hero lleva el celular, no el cuerpo 3D, que pasó a la encuesta.) */
.hero.con-cuerpo { grid-template-columns: minmax(0, 1fr); align-content: center; row-gap: 1.6rem; padding-top: 6.5rem; padding-bottom: 4rem; }
.hero.con-cuerpo .hero-in { justify-self: center; }
.hero-tel { display: grid; justify-items: center; gap: 1rem; width: 100%; }
.hero-tel .tel { width: min(310px, 100%); min-height: 430px; text-align: left; }
.hero-precio { color: var(--muted); font-size: .92rem; text-align: center; }
.hero-precio a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.ej { display: grid; grid-template-columns: 1fr auto; gap: .1rem .6rem; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 10px; }
.ej b { font: 600 .98rem/1.2 var(--disp); letter-spacing: -.01em; }
.ej span { color: var(--muted); font-size: .8rem; grid-column: 1; }
.ej em { font: 700 1rem/1 var(--disp); font-style: normal; color: var(--cyan); grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.vid { display: grid; place-items: center; height: 150px; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(140deg, #1a1e3a, #0c0e1c); color: #fff; }
.coment { padding: .8rem; border-radius: 12px; background: rgba(124, 92, 255, .12); border: 1px solid rgba(124, 92, 255, .4); font-size: .9rem; color: #d9dcf0; }
.coment strong { display: block; color: var(--cyan); font: 600 .66rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .15rem; }
.hp-puntos { display: flex; justify-content: center; gap: .6rem; margin-top: auto; padding-top: .6rem; }
.hp-puntos button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .25); cursor: pointer; position: relative; }
.hp-puntos button::after { content: ""; position: absolute; inset: -17px -5px; }
.hp-puntos button.on { background: var(--cyan); }
@media (max-width: 899px) {
  .hero.con-cuerpo { padding-top: 5.2rem; row-gap: 1rem; }
  .hero.con-cuerpo .hero-in { gap: .6rem; }
  .hero.con-cuerpo .hero-mark { width: 84px; }
  .hero.con-cuerpo .hero-name { font-size: 2rem; }
  .hero.con-cuerpo .lead { margin-top: .2rem; font-size: 1rem; }
  .hero.con-cuerpo .cta { margin-top: .6rem; gap: .6rem; }
  .hero.con-cuerpo .btn { padding-inline: 1.1rem; }
  .hero.con-cuerpo .scroll { display: none; }
}
@media (min-width: 900px) {
  .hero.con-cuerpo { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: 2rem; padding: 5.5rem max(var(--gut), calc((100% - 1200px) / 2)) 5rem; }
  .hero.con-cuerpo .hero-in { justify-self: start; }
}

/* Pantallas muy anchas: el logo, el celular y el menú crecen un poco para que la portada no quede vacía */
@media (min-width: 1400px) {
  .hero.con-cuerpo .hero-mark { width: 270px; }
  .hero.con-cuerpo .hero-name { font-size: 4.2rem; }
  .hero.con-cuerpo .lead { font-size: 1.35rem; }
  .hero-tel .tel { width: 360px; min-height: 500px; }
  .hero.con-cuerpo { padding-top: 6.5rem; }
}

/* Secciones */
.sec { padding: clamp(4rem, 10vw, 8rem) var(--gut); max-width: 1180px; margin: 0 auto; }
.sec.alt { max-width: none; background: var(--bg2); border-block: 1px solid var(--line); }
.sec.alt > * { max-width: 1180px; margin-inline: auto; }
.eyebrow { display: flex; align-items: center; gap: .7rem; font: 600 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; }
.eyebrow i { font-style: normal; display: inline-grid; place-items: center; min-width: 2rem; height: 1.5rem; padding: 0 .4rem; border: 1px solid rgba(56, 189, 248, .5); border-radius: 3px; letter-spacing: .06em; }
h2 { font: 700 clamp(2.2rem, 6vw, 4.2rem)/1.04 var(--disp); letter-spacing: -.025em; margin-bottom: 2.2rem; max-width: 17ch; }
h2 em { font-style: italic; font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
p { color: var(--muted); }

/* 01 · paso a paso con celular */
.demo { display: grid; gap: 2rem; align-items: center; }
.pasos { display: grid; gap: .7rem; }
.paso { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; text-align: left; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--text); font: inherit; cursor: pointer; transition: border-color .25s, background .25s; }
.paso b { font: 700 2.2rem/1 var(--disp); color: #3a4060; transition: color .25s; }
.paso strong { display: block; font: 600 1.4rem/1.15 var(--disp); letter-spacing: -.015em; }
.paso em { display: block; font-style: normal; color: var(--muted); font-size: .95rem; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s, opacity .35s, margin .35s; }
.paso:hover { border-color: rgba(255, 255, 255, .28); }
.paso.on { background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.paso.on b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.paso.on em { max-height: 5rem; opacity: 1; margin-top: .3rem; }
.tel { justify-self: center; width: min(310px, 100%); min-height: 420px; padding: 1rem 1rem 1.2rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 30px; background: var(--bg2); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 90px rgba(99, 102, 241, .22); display: grid; align-content: start; gap: 1rem; }
.tel-top { display: flex; align-items: center; gap: .6rem; font: 600 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #cdd3e6; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.tel-top img { width: 22px; }
.pant { display: grid; gap: .8rem; align-content: start; animation: pantalla .45s cubic-bezier(.2, .7, .2, 1) both; }
.pant[hidden] { display: none; }
@keyframes pantalla { from { opacity: 0; transform: translateX(14px); } }
.pant small { color: var(--muted); font-size: .78rem; }
.pant h4 { font: 600 1.3rem/1.15 var(--disp); letter-spacing: -.015em; }
.barra { height: 6px; border-radius: 9px; background: #1a1e2d; overflow: hidden; } .barra i { display: block; height: 100%; background: var(--grad); }
.op { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.op span { display: grid; place-items: center; height: 54px; border: 1px solid var(--line); border-radius: 10px; font: 700 1.4rem/1 var(--disp); }
.op .sel { background: #fff; color: #07080d; border-color: #fff; }
.sig { justify-self: start; padding: .7rem 1.2rem; border-radius: 99px; background: var(--grad); font: 600 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.sem { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.sem span { position: relative; display: grid; place-items: center; height: 46px; border: 1px solid var(--line); border-radius: 9px; font: 700 1.2rem/1 var(--disp); color: #8a92a8; }
.sem .ok { color: #86e0a5; border-color: rgba(134, 224, 165, .4); background: rgba(134, 224, 165, .08); } .sem u { position: absolute; top: 2px; right: 5px; font-size: .5rem; text-decoration: none; }
.sem .ya { color: #fff; border-color: #7c5cff; box-shadow: 0 0 16px rgba(124, 58, 237, .45); }
.dias { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.dias div { padding: .6rem; border: 1px solid var(--line); border-radius: 10px; font: 600 .95rem/1.15 var(--disp); letter-spacing: -.01em; }
.dias small { display: block; color: var(--cyan); font: 600 .66rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.dias .hecho { border-color: rgba(134, 224, 165, .4); } .dias .hecho small { color: #86e0a5; } .dias .sel { border-color: #7c5cff; }
.rx { font-size: .85rem; color: var(--muted); }
.campos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.campos label { display: grid; gap: .2rem; padding: .55rem .6rem; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: .72rem; }
.campos b { font: 700 1.4rem/1 var(--disp); color: #fff; }
.flecha { display: flex; align-items: center; gap: .8rem; padding: .8rem; border-radius: 12px; background: rgba(134, 224, 165, .1); border: 1px solid rgba(134, 224, 165, .35); font-size: .9rem; color: #d6f5e0; }
.flecha i { font: 700 2.1rem/1 var(--disp); color: #86e0a5; font-style: normal; }
@media (min-width: 860px) { .demo { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; } }

/* 02 · tarjetas que se abren al tocar */
.bento { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { position: relative; display: grid; align-content: start; gap: .7rem; text-align: left; min-height: 190px; padding: 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); color: var(--text); font: inherit; cursor: pointer; transition: border-color .25s, transform .25s, background .25s; }
.tile:hover { border-color: rgba(124, 92, 255, .6); transform: translateY(-3px); }
.tile strong { font: 600 1.4rem/1.1 var(--disp); letter-spacing: -.02em; }
.tile .mas { display: block; color: var(--muted); font-size: .95rem; line-height: 1.5; overflow: hidden; opacity: 0; max-height: 0; transition: opacity .3s, max-height .35s; }
.tile em { font: 600 .66rem/1 var(--sans); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.tile[aria-expanded=true] { border-color: rgba(124, 92, 255, .7); background: linear-gradient(160deg, rgba(124, 58, 237, .18), rgba(56, 189, 248, .05)); }
.tile[aria-expanded=true] .mas { opacity: 1; max-height: 9rem; }
.tile[aria-expanded=true] em { display: none; }
.vis { display: flex; align-items: center; gap: .35rem; height: 40px; color: var(--cyan); }
.v-rutina i { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 7px; font: 700 .9rem/1 var(--disp); font-style: normal; color: #6f7893; } .v-rutina i.on { background: var(--grad); color: #fff; border-color: transparent; }
.v-peso i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 700 1.3rem/1 var(--disp); font-style: normal; border: 1px solid; } .v-peso .u { color: #86e0a5; } .v-peso .e { color: #9ec5ff; } .v-peso .d { color: #ff9a9a; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tile.ancho { grid-column: 1 / -1; min-height: 130px; } }
@media (max-width: 899px) { .tile.ancho { grid-column: 1 / -1; } }
@media (max-width: 520px) { .tile { min-height: 150px; padding: 1rem; } .tile strong { font-size: 1.3rem; } .tile[aria-expanded=true] .mas { max-height: 14rem; font-size: .9rem; } }

/* 03 · método: pregunta interactiva */
.metodo { padding: clamp(4rem, 10vw, 8rem) var(--gut); }
.metodo-in { max-width: 1180px; margin: 0 auto; display: grid; gap: clamp(2rem, 6vw, 5rem); grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
.fotos { display: grid; grid-template-columns: 1.1fr .9fr; gap: .8rem; align-items: end; }
.metodo-foto { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.metodo-foto img { width: 100%; height: 100%; object-fit: cover; }
.metodo-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 7, 11, .6)); pointer-events: none; }
.metodo-foto.b { aspect-ratio: 3 / 4; margin-bottom: 2.2rem; }
.pregunta { font-size: 1.1rem; color: #d6dbea; margin-bottom: 1.2rem; max-width: 30rem; } .pregunta b { color: #fff; }
.resp { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem; }
.resp button { padding: .85rem 1.2rem; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--text); font: 600 1rem/1 var(--sans); cursor: pointer; transition: all .2s; }
.resp button:hover { border-color: rgba(255, 255, 255, .5); }
.resp button[aria-pressed=true] { background: #fff; color: #07080d; border-color: #fff; }
.veredicto { display: flex; align-items: center; gap: 1.1rem; min-height: 112px; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .03); transition: border-color .3s, background .3s; }
.veredicto i { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid currentColor; font: 700 2.3rem/1 var(--disp); font-style: normal; color: #4a5272; }
.veredicto strong { display: block; font: 600 1.55rem/1.1 var(--disp); letter-spacing: -.02em; margin-bottom: .25rem; }
.veredicto em { font-style: normal; color: var(--muted); font-size: .95rem; }
.veredicto.u { border-color: rgba(134, 224, 165, .5); background: rgba(134, 224, 165, .07); } .veredicto.u i { color: #86e0a5; }
.veredicto.e { border-color: rgba(158, 197, 255, .5); background: rgba(158, 197, 255, .07); } .veredicto.e i { color: #9ec5ff; }
.veredicto.d { border-color: rgba(255, 154, 154, .5); background: rgba(255, 154, 154, .07); } .veredicto.d i { color: #ff9a9a; }
.nota { margin-top: 1rem; font-size: .92rem; }
@media (max-width: 800px) { .metodo-in { grid-template-columns: 1fr; } }
.faq { display: grid; gap: .7rem; max-width: 46rem; }
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 0 1.2rem; background: rgba(255, 255, 255, .02); }
.faq summary { cursor: pointer; padding: 1.1rem 0; font: 600 1.15rem/1.25 var(--disp); letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--cyan); font: 500 1.6rem/1 var(--sans); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding-bottom: 1.1rem; }
.final { text-align: center; padding: clamp(4rem, 10vw, 8rem) var(--gut); background: radial-gradient(80% 120% at 50% 120%, rgba(99, 102, 241, .35), transparent 70%); display: grid; justify-items: center; gap: 1rem; }
.final h2 { margin: 0; max-width: none; font-size: clamp(2.8rem, 9vw, 6rem); }
.foot { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding: 1.6rem var(--gut); border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.foot nav { display: flex; gap: 1.4rem; } .foot a:hover { color: #fff; }

/* Aparición al bajar */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glow, .scroll svg, .hero-mark, .hero-name, .hero-greca, .lead, .cta { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- botón de modo oscuro / claro ---------- */
.tema-btn { flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.tema-btn:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.tema-btn .i-sol { display: none; }
.tema-btn[data-modo=light] .i-luna { display: none; } .tema-btn[data-modo=light] .i-sol { display: inline; }

/* ---------- modo claro ----------
   El hero (con el celular) y el celular de demostración siguen oscuros en los dos modos: son "escenarios". El resto de la página cambia. */
:root[data-theme=light] { --bg: #dfe3ec; --bg2: #e9ecf3; --card: #eef0f6; --text: #161931; --muted: #424a68; --line: rgba(18, 20, 42, .15); --cyan: #0a6aa5; }
:root[data-theme=light] .hero, :root[data-theme=light] .tel { --bg: #06070b; --bg2: #0b0d14; --text: #eef0f7; --muted: #98a0b6; --line: rgba(255, 255, 255, .1); --cyan: #38bdf8; color: #eef0f7; }
:root[data-theme=light] .nav.solid { background: rgba(223, 227, 236, .92); }
:root[data-theme=light] .nav.solid .links a { color: #2b2f4d; }
:root[data-theme=light] .nav.solid .tema-btn { color: #15172b; border-color: rgba(18, 20, 42, .3); }
:root[data-theme=light] .nav.solid .tema-btn:hover { background: rgba(18, 20, 42, .07); border-color: #15172b; }
:root[data-theme=light] .nav.solid .marca-nombre { color: #15172b; }
:root[data-theme=light] .nav.solid .btn.solid { background: #15172b; color: #fff; }
:root[data-theme=light] .btn.solid { background: #15172b; color: #fff; }
:root[data-theme=light] .hero .btn.solid { background: #fff; color: #07080d; }
:root[data-theme=light] .sec.alt { background: var(--bg2); }
:root[data-theme=light] .paso b { color: #c4c9dc; }
:root[data-theme=light] .paso:hover { border-color: rgba(18, 20, 42, .35); }
:root[data-theme=light] .tile { background: var(--card); box-shadow: 0 1px 2px rgba(18, 20, 42, .08); }
:root[data-theme=light] .tile:hover { border-color: rgba(109, 61, 240, .6); }
:root[data-theme=light] .tile[aria-expanded=true] { border-color: rgba(109, 61, 240, .7); background: linear-gradient(160deg, rgba(124, 58, 237, .10), rgba(56, 189, 248, .06)), var(--card); }
:root[data-theme=light] .v-rutina i { color: #8b92ab; } :root[data-theme=light] .v-rutina i.on { color: #fff; }
:root[data-theme=light] .v-peso .u { color: #17803f; } :root[data-theme=light] .v-peso .e { color: #2456b5; } :root[data-theme=light] .v-peso .d { color: #c42b2b; }
:root[data-theme=light] .pregunta { color: #3a4160; } :root[data-theme=light] .pregunta b { color: #15172b; }
:root[data-theme=light] .resp button:hover { border-color: rgba(18, 20, 42, .5); }
:root[data-theme=light] .resp button[aria-pressed=true] { background: #15172b; color: #fff; border-color: #15172b; }
:root[data-theme=light] .veredicto { background: var(--card); }
:root[data-theme=light] .veredicto.u { border-color: rgba(23, 128, 63, .5); background: rgba(23, 128, 63, .07); } :root[data-theme=light] .veredicto.u i { color: #17803f; }
:root[data-theme=light] .veredicto.e { border-color: rgba(36, 86, 181, .5); background: rgba(36, 86, 181, .07); } :root[data-theme=light] .veredicto.e i { color: #2456b5; }
:root[data-theme=light] .veredicto.d { border-color: rgba(196, 43, 43, .5); background: rgba(196, 43, 43, .07); } :root[data-theme=light] .veredicto.d i { color: #c42b2b; }
:root[data-theme=light] .faq details { background: var(--card); }
:root[data-theme=light] .final { background: radial-gradient(80% 120% at 50% 120%, rgba(99, 102, 241, .20), transparent 70%); }
:root[data-theme=light] .foot a:hover { color: #15172b; }
:root[data-theme=light] .metodo-foto { box-shadow: 0 10px 40px rgba(18, 20, 42, .15); }
:root[data-theme=light] .nav:not(.solid) .btn.solid { background: #fff; color: #07080d; }
@media (max-width: 720px) { .nav { gap: .6rem; } .tema-btn { width: 38px; height: 38px; } .nav .btn.sm { padding: 0 .9rem; } }

.vis { flex-wrap: wrap; min-width: 0; }
@media (max-width: 520px) { .v-peso i { width: 30px; height: 30px; font-size: 1.15rem; } .v-peso i { width: 30px; height: 30px; font-size: 1.2rem; } }

.vis.v-rutina { flex-wrap: nowrap; gap: .2rem; }
.v-rutina i { width: 20px; height: 24px; font-size: .78rem; border-radius: 5px; }

/* Precios: pestañas con subrayado y tarjetas con el precio por mes en grande (se arman en landing.js) */
.pr-sub { color: var(--muted); max-width: 60ch; margin: -1rem 0 2rem; }
.pr-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.pr-tabs button { background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: .95rem 1.6rem; min-height: 48px; cursor: pointer; color: var(--muted); font: 600 1rem/1.2 var(--sans); }
.pr-tabs button:hover { color: var(--text); }
.pr-tabs button[aria-selected=true] { color: var(--text); border-bottom-color: var(--cyan); }
.pr-cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.pr-card { position: relative; display: grid; gap: .75rem; align-content: start; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 1.7rem; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.pr-card .eyebrow { margin: 0; }
.pr-card .desde { color: var(--muted); font-size: .95rem; }
.pr-card .precio { font: 600 3rem/1 var(--disp); letter-spacing: -.01em; }
.pr-card .precio small { font: 400 1rem var(--sans); color: var(--muted); letter-spacing: 0; }
.pr-card .peq { color: var(--muted); font-size: .9rem; }
.pr-card hr { border: 0; border-top: 1px solid var(--line); margin: .3rem 0; }
.pr-card ul { list-style: none; padding: 0; display: grid; gap: .5rem; font-size: .95rem; }
.pr-card li { padding-left: 1.5rem; position: relative; }
.pr-card li::before { content: "✓"; position: absolute; left: 0; color: #86e0a5; font-weight: 700; }
.pr-card .btn { margin-top: .4rem; }
.pr-badge { position: absolute; top: -.75rem; right: 1.3rem; background: var(--grad); color: #fff; font: 600 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: .45rem .75rem; border-radius: 99px; }
.pr-ahorro { color: #86e0a5; font-weight: 600; font-size: .93rem; }
.pr-esc { display: flex; align-items: flex-end; gap: .55rem; height: 190px; }
.pr-barra { flex: 1; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: .35rem; background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); min-width: 0; height: 100%; font-family: var(--sans); }
.pr-barra i { display: block; width: 100%; align-self: end; border-radius: 8px 8px 0 0; background: rgba(255, 255, 255, .16); transition: background .2s, height .3s; min-height: 6px; }
.pr-barra:hover i { background: var(--violet); }
.pr-barra[aria-pressed=true] i { background: var(--grad); }
.pr-barra[aria-pressed=true] { color: var(--text); }
.pr-v { font: 600 .85rem/1 var(--sans); }
.pr-m { font-size: .78rem; }
.pr-nota { color: var(--muted); font-size: .88rem; margin-top: 1.6rem; max-width: 70ch; }
@media (max-width: 560px) { .pr-tabs button { padding: .85rem 1rem; font-size: .92rem; } .pr-card { padding: 1.3rem; } .pr-card .precio { font-size: 2.5rem; } }
:root[data-theme=light] .pr-card { background: #eef0f6; box-shadow: 0 8px 30px rgba(18, 20, 42, .1); }
:root[data-theme=light] .pr-barra i { background: rgba(18, 20, 42, .18); }
:root[data-theme=light] .pr-card li::before, :root[data-theme=light] .pr-ahorro { color: #1b7a43; }
