/* Eliobe en casa · web v3. Marfil de día, medianoche de noche (marca), con los colores de la luz de Eliobe: ámbar
   (reposo), violeta (habla), azul (familia) y los pastel de la familia (salvia, lavanda, mantequilla, agua).
   Manrope para títulos; Atkinson Hyperlegible Next para leer (mínimo 20 px). Con «reducir movimiento», todo quieto. */

/* Fonts served from this site (SIL Open Font License, see fuentes/): no visitor's address goes to Google. */
@font-face { font-family: "Manrope"; font-weight: 200; font-style: normal; font-display: swap; src: url("fuentes/Manrope_200ExtraLight.ttf") format("truetype"); }
@font-face { font-family: "Manrope"; font-weight: 300; font-style: normal; font-display: swap; src: url("fuentes/Manrope_300Light.ttf") format("truetype"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("fuentes/Manrope_400Regular.ttf") format("truetype"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("fuentes/Manrope_500Medium.ttf") format("truetype"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("fuentes/Manrope_600SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("fuentes/Manrope_700Bold.ttf") format("truetype"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 400; font-style: normal; font-display: swap; src: url("fuentes/AtkinsonHyperlegibleNext_400Regular.ttf") format("truetype"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 700; font-style: normal; font-display: swap; src: url("fuentes/AtkinsonHyperlegibleNext_700Bold.ttf") format("truetype"); }
@view-transition { navigation: auto; }

:root {
  --marfil: #F7F4EE; --arena: #EFE9DF; --blanco: #FFFFFF;
  --tinta: #0E1A33; --tinta-2: #4A5368; --tinta-3: #969BA8;
  --noche: #070C1A; --medianoche: #0E1A33; --hondo: #16264A;
  --bronce: #8A6428; --rojo: #D9645A;
  --ambar: #F2A848; --violeta: #9A7CF0; --azul: #5E9BF0;
  --salvia: #DCE6D5; --lavanda: #E2DDF0; --mantequilla: #F4E7BE; --agua: #D3E4EC; --plata: #E4E6EA;
  --degradado: linear-gradient(100deg, #F2A848 0%, #E58FA0 38%, #9A7CF0 64%, #5E9BF0 100%);

  --fondo: var(--marfil); --texto: var(--tinta); --texto-2: var(--tinta-2); --texto-3: var(--tinta-3);
  --superficie: var(--blanco); --superficie-2: var(--arena); --linea: rgba(14, 26, 51, .09); --linea-2: rgba(14, 26, 51, .16);

  --radio: 32px; --radio-m: 24px;
  --sombra: 0 1px 2px rgba(14, 26, 51, .04), 0 10px 30px -12px rgba(14, 26, 51, .12);
  --sombra-alta: 0 2px 6px rgba(14, 26, 51, .05), 0 30px 70px -24px rgba(14, 26, 51, .28);
  --ancho: 1200px;
  --suave: cubic-bezier(.22, .8, .24, 1);
  --t-titulo: "Manrope", system-ui, -apple-system, sans-serif;
  --t-texto: "Atkinson Hyperlegible Next", system-ui, -apple-system, sans-serif;
}
body.noche {
  --fondo: var(--noche); --texto: #F7F4EE; --texto-2: #B7BECD; --texto-3: #6E778E;
  --superficie: #111B33; --superficie-2: #0C1529; --linea: rgba(247, 244, 238, .10); --linea-2: rgba(247, 244, 238, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--fondo); color: var(--texto); font: 400 20px/1.6 var(--t-texto); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
  transition: background-color .9s var(--suave), color .9s var(--suave); }
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(154, 124, 240, .28); }
:focus-visible { outline: 3px solid var(--violeta); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3 { font-family: var(--t-titulo); color: var(--texto); margin: 0; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(48px, 7.6vw, 112px); line-height: .98; }
h2 { font-size: clamp(38px, 5.2vw, 76px); line-height: 1.02; }
h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--texto-3); }
.grad { background: var(--degradado); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: brilla 8s ease-in-out infinite alternate; }
@keyframes brilla { to { background-position: 100% 0; } }
p { margin: 0; }

.envoltura { width: min(var(--ancho), 100% - 48px); margin-inline: auto; }
section { padding-block: clamp(80px, 10vw, 140px); position: relative; }
.etiqueta { font: 700 14px/1.2 var(--t-titulo); letter-spacing: .14em; text-transform: uppercase; color: var(--bronce); margin-bottom: 20px; display: inline-flex; align-items: center; gap: 10px; }
.etiqueta::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--degradado); }
body.noche .etiqueta { color: var(--ambar); }
.entradilla { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.5; color: var(--texto-2); max-width: 36em; margin-top: 26px; text-wrap: pretty; }
.suave { color: var(--texto-2); }
.cabeza { max-width: 940px; margin-bottom: clamp(44px, 6vw, 76px); }
.cabeza.centro { margin-inline: auto; text-align: center; }
.cabeza.centro .entradilla { margin-inline: auto; }

/* ── Botones ── */
.boton { --b-fondo: var(--tinta); --b-texto: var(--marfil);
  display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 30px; border-radius: 999px; position: relative; isolation: isolate;
  background: var(--b-fondo); color: var(--b-texto); border: 1px solid transparent; font: 600 18px/1 var(--t-titulo); text-decoration: none; cursor: pointer;
  transition: transform .35s var(--suave), box-shadow .35s var(--suave), background-color .35s var(--suave); }
.boton::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; background: var(--degradado); z-index: -1; opacity: 0; filter: blur(14px); transition: opacity .4s var(--suave); }
.boton:hover { transform: translateY(-2px); }
.boton:hover::before { opacity: .75; }
.boton:active { transform: scale(.98); }
.boton .flecha { transition: transform .35s var(--suave); }
.boton:hover .flecha { transform: translateX(4px); }
.boton.claro { --b-fondo: rgba(255, 255, 255, .55); --b-texto: var(--texto); border-color: var(--linea-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.boton.claro::before { display: none; }
.boton.claro:hover { --b-fondo: var(--superficie); box-shadow: var(--sombra); }
body.noche .boton, .oscura .boton { --b-fondo: var(--marfil); --b-texto: var(--tinta); }
body.noche .boton.claro { --b-fondo: transparent; --b-texto: var(--marfil); }
.acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.acciones.centro { justify-content: center; }
.enlace { font: 600 19px/1.2 var(--t-titulo); color: var(--texto); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.enlace .flecha { transition: transform .35s var(--suave); }
.enlace:hover .flecha { transform: translateX(4px); }

/* ── El anillo de Eliobe: un círculo de neón, vacío por dentro, con su bolita de luz (marca la hora) ── */
.neon { --d: 420px; --b: max(3px, calc(var(--d) * .016)); --c: #FFC774; --g: 245 150 50;
  width: var(--d); aspect-ratio: 1; position: relative; border-radius: 50%; pointer-events: none; flex: none;
  border: var(--b) solid var(--c);
  box-shadow: 0 0 calc(var(--b) * 2) rgb(var(--g) / .95), 0 0 calc(var(--b) * 7) rgb(var(--g) / .6), 0 0 calc(var(--b) * 18) rgb(var(--g) / .28),
              inset 0 0 calc(var(--b) * 2) rgb(var(--g) / .95), inset 0 0 calc(var(--b) * 7) rgb(var(--g) / .45);
  transition: border-color 1.2s var(--suave), box-shadow 1.2s var(--suave); }
.neon[data-luz="violeta"] { --c: #C9B8FF; --g: 150 120 235; }
.neon[data-luz="azul"] { --c: #A9CBFF; --g: 95 155 240; }
.neon[data-luz="perla"] { --c: #FFFFFF; --g: 200 210 235; }
.neon .bolita { position: absolute; inset: calc(var(--b) * -1); transform: rotate(var(--angulo, 50deg)); }
.neon .bolita i { position: absolute; left: 50%; top: calc(var(--b) / 2); width: calc(var(--b) * 3.4); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: #fff; box-shadow: 0 0 calc(var(--b) * 1.5) #fff, 0 0 calc(var(--b) * 5) rgb(var(--g)), 0 0 calc(var(--b) * 12) rgb(var(--g) / .6); transition: box-shadow 1.2s var(--suave); }
.neon.despierta .bolita { animation: vuelta 2.4s cubic-bezier(.6, .05, .2, 1) .3s both; }
@keyframes vuelta { from { transform: rotate(calc(var(--angulo, 50deg) - 360deg)); } }
.anillo-mini { width: 22px; height: 22px; border-radius: 50%; flex: none; border: 2.5px solid #FFC774; box-shadow: 0 0 6px rgb(245 150 50 / .8), inset 0 0 4px rgb(245 150 50 / .6); position: relative; }
.anillo-mini::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; top: -1px; right: -1px; box-shadow: 0 0 6px #fff, 0 0 10px rgb(245 150 50); }
.marca { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--texto); font: 300 19px/1 var(--t-titulo); letter-spacing: .42em; }

/* ── Aurora: luz de colores en movimiento lento ── */
.aurora { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: deriva 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 52vw; height: 52vw; left: -14vw; top: -18vw; background: #FFD39A; }
.aurora i:nth-child(2) { width: 46vw; height: 46vw; right: -12vw; top: -6vw; background: #D7CBFF; animation-duration: 26s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 40vw; height: 40vw; left: 30vw; top: 30vh; background: #C3DBFF; animation-duration: 30s; animation-delay: -12s; }
.aurora i:nth-child(4) { width: 30vw; height: 30vw; right: 10vw; bottom: -10vw; background: #F6E2B6; animation-duration: 24s; }
@keyframes deriva { 50% { transform: translate(6vw, 4vw) scale(1.12); } 100% { transform: translate(-4vw, 6vw) scale(.94); } }
.aurora::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--fondo) 100%); }

/* ── Cabecera de cristal ── */
.cabecera { position: fixed; inset: 0 0 auto; z-index: 50; view-transition-name: cabecera; transition: background-color .5s var(--suave), box-shadow .5s var(--suave); }
.cabecera.con-fondo { background: color-mix(in srgb, var(--fondo) 72%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 var(--linea); }
.barra { width: min(var(--ancho), 100% - 48px); margin-inline: auto; height: 72px; display: flex; align-items: center; gap: 28px; }
.menu { display: flex; gap: 6px; margin-left: auto; }
.menu a { font: 500 16px/1 var(--t-titulo); color: var(--texto-2); text-decoration: none; padding: 10px 14px; border-radius: 999px; transition: color .25s, background-color .25s; }
.menu a:hover { color: var(--texto); background: color-mix(in srgb, var(--texto) 6%, transparent); }
.menu a[aria-current="page"] { color: var(--texto); }
.barra > .boton { min-height: 44px; padding: 0 20px; font-size: 16px; }
.movil { display: none; }
@media (max-width: 1040px) {
  .menu, .barra > .boton { display: none; }
  .movil { display: block; margin-left: auto; }
  .movil summary { list-style: none; cursor: pointer; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 2; }
  .movil summary::-webkit-details-marker { display: none; }
  .movil summary span, .movil summary::before, .movil summary::after { content: ""; position: absolute; width: 22px; height: 2px; border-radius: 2px; background: var(--texto); transition: transform .4s var(--suave), opacity .3s; }
  .movil summary::before { transform: translateY(-7px); } .movil summary::after { transform: translateY(7px); }
  .movil[open] summary span { opacity: 0; }
  .movil[open] summary::before { transform: rotate(45deg); } .movil[open] summary::after { transform: rotate(-45deg); }
  .movil nav { position: fixed; inset: 0; background: var(--fondo); padding: 120px 28px 40px; display: flex; flex-direction: column; gap: 4px; animation: sube .5s var(--suave); }
  .movil nav a { font: 600 36px/1.2 var(--t-titulo); letter-spacing: -.03em; color: var(--texto); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--linea); opacity: 0; animation: entra .6s var(--suave) forwards; animation-delay: calc(var(--i, 0) * 50ms + 80ms); }
  .cabecera:has(.movil[open]) { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--fondo); }
  .cabecera:has(.movil[open]) .marca { position: relative; z-index: 3; }
}
@keyframes sube { from { opacity: 0; transform: translateY(-12px); } }
@keyframes entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ── Aparecer ── */
.js .r { opacity: 0; transform: translateY(32px); filter: blur(8px); transition: opacity 1s var(--suave), transform 1s var(--suave), filter 1s var(--suave); transition-delay: calc(var(--d, 0) * 90ms); }
.js .r.on { opacity: 1; transform: none; filter: none; }
.js .palabras .p { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(12px); animation: palabra 1.1s var(--suave) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes palabra { to { opacity: 1; transform: none; filter: none; } }

/* ── Portada (Inicio) ── */
.portada { padding-top: clamp(120px, 13vw, 170px); padding-bottom: 0; text-align: center; overflow: clip; }
.portada > .envoltura, .portada .escenario { position: relative; z-index: 1; }
.portada .entradilla { margin-inline: auto; }
.portada .acciones { justify-content: center; }
.escenario { position: relative; height: clamp(600px, 60vw, 800px); margin-top: clamp(30px, 4vw, 56px); display: grid; place-items: center; }
.escenario .neon { position: absolute; --d: min(84vw, 640px); }
.escenario .telefono { --w: clamp(250px, 23vw, 310px); transform: translateY(calc(var(--p, 0) * -50px)); }
.momento { position: absolute; z-index: 3; width: min(320px, 40vw); text-align: left; padding: 18px 20px; border-radius: 24px;
  background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 30px 60px -28px rgba(14, 26, 51, .35); font-size: 18px; line-height: 1.4;
  opacity: .5; transform: scale(.94); filter: saturate(.5); transition: opacity .8s var(--suave), transform .8s var(--suave), filter .8s var(--suave), box-shadow .8s var(--suave); }
.momento.activo { opacity: 1; transform: scale(1.02); filter: none; box-shadow: 0 0 0 2px rgb(var(--g) / .55), 0 30px 70px -24px rgb(var(--g) / .6); }
.momento .que { display: flex; align-items: center; gap: 8px; font: 700 13px/1 var(--t-titulo); letter-spacing: .12em; text-transform: uppercase; color: var(--texto-2); margin-bottom: 10px; }
.momento .que::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgb(var(--g)); box-shadow: 0 0 8px rgb(var(--g)); }
.momento b { font: 600 19px/1.3 var(--t-titulo); display: block; }
.momento .botones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.momento .botones span { text-align: center; padding: 10px; border-radius: 12px; font: 600 15px/1 var(--t-titulo); border: 1px solid var(--linea-2); }
.momento .botones span:first-child { background: var(--tinta); color: var(--marfil); border-color: transparent; }
.momento .charla { margin-top: 4px; }
.momento .onda { display: flex; align-items: center; gap: 3px; height: 28px; margin-top: 10px; }
.momento .onda i { width: 4px; border-radius: 2px; background: rgb(var(--g)); height: calc(var(--h) * 1%); animation: onda 1.2s ease-in-out infinite; animation-delay: calc(var(--k) * -90ms); }
@keyframes onda { 50% { transform: scaleY(.45); } }
.m-ambar { --g: 235 150 50; left: max(0px, calc(50% - 570px)); top: 14%; }
.m-violeta { --g: 140 110 230; right: max(0px, calc(50% - 570px)); top: 28%; }
.m-azul { --g: 80 145 235; left: max(0px, calc(50% - 530px)); top: 60%; }
@media (max-width: 900px) {
  .escenario { height: auto; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 40px 0 20px; }
  .escenario .neon { --d: min(104vw, 460px); top: 0; }
  .escenario .telefono { --w: 230px; }
  .momento { position: relative; left: auto; right: auto; top: auto; width: min(100%, 360px); display: none; opacity: 1; transform: none; filter: none; }
  .momento.activo { display: block; animation: entra .6s var(--suave); }
}

/* ── Cinta que se mueve sola ── */
.cinta { overflow: hidden; padding-block: 34px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cinta .pista { display: flex; gap: 14px; width: max-content; animation: cinta 60s linear infinite; }
.cinta:hover .pista { animation-play-state: paused; }
.cinta span { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: var(--superficie); border: 1px solid var(--linea); font: 600 18px/1 var(--t-titulo); white-space: nowrap; box-shadow: var(--sombra); }
.cinta span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--c, var(--ambar)); box-shadow: 0 0 8px var(--c, var(--ambar)); }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ── Teléfono con pantallas reales ── */
.telefono { --w: 300px; width: var(--w); aspect-ratio: 390 / 844; position: relative; z-index: 2; border-radius: calc(var(--w) * .16); padding: calc(var(--w) * .035);
  background: linear-gradient(145deg, #2B3142, #0B0F1A 40%, #1C2232); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), 0 50px 90px -30px rgba(14, 26, 51, .5), 0 20px 40px -20px rgba(14, 26, 51, .35); }
.telefono::before { content: ""; position: absolute; z-index: 3; top: calc(var(--w) * .055); left: 50%; width: 30%; height: calc(var(--w) * .085); transform: translateX(-50%); border-radius: 999px; background: #05070D; }
.telefono .pantalla { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .125); overflow: hidden; background: var(--marfil); }
.telefono img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s var(--suave), transform 1.2s var(--suave); }
.telefono img:not(.on) { opacity: 0; transform: scale(1.04); }

/* ── Frase que se ilumina ── */
.ilumina { font: 600 clamp(34px, 4.8vw, 68px)/1.1 var(--t-titulo); letter-spacing: -.035em; max-width: 1080px; text-wrap: balance; }
.ilumina .w { color: var(--texto-3); opacity: .35; transition: color .5s var(--suave), opacity .5s var(--suave); }
.ilumina .w.on { color: var(--texto); opacity: 1; }
.ilumina em { font-style: normal; }
.ilumina .w.marca-luz.on { background: var(--degradado); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Historia con el móvil fijo ── */
.historia-rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; }
.historia-movil { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.historia-movil .neon { position: absolute; --d: min(36vw, 470px); }
.historia-movil .telefono { --w: clamp(250px, 21vw, 300px); }
.paso-h { min-height: 82vh; display: flex; flex-direction: column; justify-content: center; max-width: 500px; opacity: .25; transition: opacity .7s var(--suave); }
.paso-h.activo { opacity: 1; }
.paso-h .num-paso { font: 700 15px/1 var(--t-titulo); letter-spacing: .12em; margin-bottom: 18px; color: rgb(var(--g)); }
.paso-h h3 { font-size: clamp(36px, 3.8vw, 56px); letter-spacing: -.035em; line-height: 1.04; }
.paso-h p { margin-top: 18px; color: var(--texto-2); font-size: 22px; text-wrap: pretty; }
.paso-h .telefono { display: none; }
.paso-h[data-luz="ambar"] { --g: 220 140 40; } .paso-h[data-luz="violeta"] { --g: 130 100 225; } .paso-h[data-luz="azul"] { --g: 70 135 225; } .paso-h[data-luz="perla"] { --g: 120 130 160; }
@media (max-width: 900px) {
  .historia-rejilla { grid-template-columns: 1fr; }
  .historia-movil { display: none; }
  .paso-h { min-height: auto; opacity: 1; padding-block: 36px; max-width: none; }
  .paso-h .telefono { display: block; --w: min(66vw, 260px); margin: 36px auto 0; }
}

/* ── Conversación ── */
.charla { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; font-size: 19px; line-height: 1.4; }
.burbuja { align-self: flex-start; max-width: 90%; padding: 12px 18px; border-radius: 22px 22px 22px 8px; background: var(--superficie-2); color: var(--texto); }
.burbuja.eliobe { align-self: flex-end; border-radius: 22px 22px 8px 22px; color: #fff; background: linear-gradient(120deg, #8F72EC, #5E9BF0); display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 24px -12px rgba(110, 110, 235, .7); }
.burbuja.eliobe::before { content: ""; width: 12px; height: 12px; border-radius: 50%; flex: none; border: 2px solid #fff; box-shadow: 0 0 8px #fff; }
.js .charla.r > * { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .6s var(--suave), transform .6s var(--suave); }
.js .charla.r.on > * { opacity: 1; transform: none; }
.js .charla.r.on > :nth-child(2) { transition-delay: .7s; } .js .charla.r.on > :nth-child(3) { transition-delay: 1.4s; }

/* ── Celdas de colores ── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.celda { grid-column: span 2; border-radius: var(--radio); padding: clamp(28px, 3vw, 40px); border: 1px solid var(--linea); background: var(--superficie); box-shadow: var(--sombra);
  display: flex; flex-direction: column; min-height: 320px; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .6s var(--suave), box-shadow .6s var(--suave); }
.celda::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .75), transparent 60%); }
.celda:hover { transform: translateY(-6px); box-shadow: var(--sombra-alta); }
.celda:hover::before { opacity: 1; }
.celda.ancha { grid-column: span 3; } .celda.entera { grid-column: span 6; } .celda.alta { grid-row: span 2; }
.celda h3 { margin-bottom: 12px; } .celda > p { color: var(--texto-2); font-size: 19px; text-wrap: pretty; }
.celda .demo { margin-top: auto; padding-top: 26px; }
.c-salvia { background: linear-gradient(160deg, #EFF5EA, var(--salvia)); border-color: transparent; }
.c-lavanda { background: linear-gradient(160deg, #F2EFFA, var(--lavanda)); border-color: transparent; }
.c-mantequilla { background: linear-gradient(160deg, #FBF4DE, var(--mantequilla)); border-color: transparent; }
.c-agua { background: linear-gradient(160deg, #EAF3F7, var(--agua)); border-color: transparent; }
.c-plata { background: linear-gradient(160deg, #F4F5F7, var(--plata)); border-color: transparent; }
.c-luz { background: linear-gradient(140deg, #FFE2B5 0%, #F3C9D6 45%, #D6CBFF 75%, #C6DCFF 100%); border-color: transparent; }
.oscura { background: radial-gradient(120% 120% at 0% 0%, #22305A 0%, var(--medianoche) 45%, var(--noche) 100%); color: var(--marfil); border-color: transparent; }
.oscura h3, .oscura h2 { color: var(--marfil); } .oscura > p { color: #B7BECD; }
.oscura::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(154, 124, 240, .25), transparent 60%); }
.icono-luz { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px; background: rgba(255, 255, 255, .75); box-shadow: var(--sombra); }
.icono-luz svg { width: 26px; height: 26px; stroke: var(--tinta); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.oscura .icono-luz { background: rgba(255, 255, 255, .08); } .oscura .icono-luz svg { stroke: var(--marfil); }
@media (max-width: 1000px) { .celda, .celda.ancha { grid-column: span 3; } .celda.alta { grid-row: auto; } }
@media (max-width: 680px) { .bento { grid-template-columns: 1fr; } .celda, .celda.ancha, .celda.entera { grid-column: auto; min-height: 0; } }

/* Pequeñas piezas de la app */
.aviso-ui { background: rgba(255, 255, 255, .75); border-radius: 20px; padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; font-size: 18px; box-shadow: var(--sombra); }
.aviso-ui .ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--medianoche); display: grid; place-items: center; }
.aviso-ui b { font: 600 18px/1.25 var(--t-titulo); } .aviso-ui small { color: var(--texto-2); font-size: 16px; }
.pasos-ui { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: p; }
.pasos-ui li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .75); font-size: 18px; counter-increment: p; }
.pasos-ui li::before { content: counter(p); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 15px/1 var(--t-titulo); background: var(--arena); }
.pasos-ui li.hecho::before { content: "✓"; background: var(--tinta); color: var(--marfil); }
.alerta-ui { border-radius: 20px; padding: 16px 18px; background: rgba(247, 244, 238, .08); border: 1px solid rgba(247, 244, 238, .16); font-size: 18px; line-height: 1.4; }
.alerta-ui b { color: var(--ambar); font-family: var(--t-titulo); }
.elige-ui { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .75); gap: 4px; }
.elige-ui span { padding: 10px 18px; border-radius: 999px; font: 600 17px/1 var(--t-titulo); color: var(--texto-2); }
.elige-ui span.si { background: var(--tinta); color: var(--marfil); }
.gente-ui { display: flex; align-items: center; }
.gente-ui span { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 600 22px/1 var(--t-titulo); border: 3px solid var(--superficie); margin-left: -12px; }
.gente-ui span:first-child { margin-left: 0; }
.gente-ui .g1 { background: var(--salvia); } .gente-ui .g2 { background: var(--lavanda); } .gente-ui .g3 { background: var(--mantequilla); } .gente-ui .g4 { background: var(--agua); }
.gente-ui em { font-style: normal; margin-left: 16px; color: var(--texto-2); font-size: 18px; }

/* ── Cifras ── */
.cifras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cifra { padding: 36px 28px; border-radius: var(--radio-m); background: var(--superficie); border: 1px solid var(--linea); box-shadow: var(--sombra); }
.cifra b { display: block; font: 300 clamp(54px, 5.6vw, 86px)/1 var(--t-titulo); letter-spacing: -.05em; margin-bottom: 16px; background: var(--degradado); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cifra span { color: var(--texto-2); font-size: 18px; line-height: 1.45; display: block; }
@media (max-width: 900px) { .cifras { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cifras { grid-template-columns: 1fr; } }

/* ── Comparación ── */
.comparar { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 19px; }
.comparar th, .comparar td { padding: 22px 18px; text-align: center; border-bottom: 1px solid var(--linea); }
.comparar th { font: 600 15px/1.3 var(--t-titulo); color: var(--texto-2); vertical-align: bottom; }
.comparar td:first-child, .comparar th:first-child { text-align: left; padding-left: 0; }
.comparar .nos { background: linear-gradient(180deg, rgba(255, 226, 181, .55), rgba(214, 203, 255, .45)); }
.comparar th.nos { border-radius: 24px 24px 0 0; color: var(--texto); font-size: 17px; letter-spacing: .3em; padding-top: 28px; }
.comparar tr:last-child .nos { border-radius: 0 0 24px 24px; }
.comparar tr:last-child td { border-bottom: 0; }
.ic-si { width: 28px; height: 28px; vertical-align: middle; }
.ic-si circle { fill: var(--tinta); } .ic-si path { fill: none; stroke: var(--marfil); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nos .ic-si circle { fill: #8F72EC; } .nos .ic-si path { stroke: #fff; }
.ic-no { display: inline-block; width: 16px; height: 2px; background: var(--texto-3); vertical-align: middle; border-radius: 2px; }
.tabla-cont { overflow-x: auto; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) { .comparar { font-size: 17px; } .comparar th, .comparar td { padding: 16px 8px; } .comparar th { font-size: 13px; } .comparar th.nos { letter-spacing: .12em; } }

/* ── Listas ── */
.lista { list-style: none; margin: 0; padding: 0; display: grid; }
.lista li { position: relative; padding: 20px 0 20px 48px; border-bottom: 1px solid var(--linea); font-size: 21px; }
.lista li::before { content: ""; position: absolute; left: 0; top: 22px; width: 28px; height: 28px; border-radius: 50%; background: var(--degradado);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zm-1.6 15.2-4-3.8 1.4-1.4 2.6 2.4 6.2-6 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zm-1.6 15.2-4-3.8 1.4-1.4 2.6 2.4 6.2-6 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.lista.no li::before { background: var(--texto-3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zM7 11h10v2H7z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zM7 11h10v2H7z'/%3E%3C/svg%3E") center / contain no-repeat; }
.lista.dos { grid-template-columns: 1fr 1fr; column-gap: 48px; }
@media (max-width: 760px) { .lista.dos { grid-template-columns: 1fr; } }

/* ── Secciones de noche (con neón) ── */
.sec-noche { overflow: clip; }
.sec-noche > .neon { position: absolute; right: -8vw; top: 50%; translate: 0 -50%; --d: min(50vw, 620px); }
.sec-noche .envoltura { position: relative; z-index: 1; }
.sec-noche .envoltura > .cabeza, .sec-noche .envoltura > .lista, .sec-noche .envoltura > .acciones, .sec-noche .envoltura > .r { max-width: min(100%, 660px); }
.sec-noche .lista.dos { grid-template-columns: 1fr; }
@media (max-width: 900px) { .sec-noche > .neon { right: -45vw; top: 8%; translate: 0 0; --d: 90vw; opacity: .6; } }
.dos-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 6vw; align-items: center; }
.sec-noche .dos-col > div:first-child { max-width: 620px; }
@media (max-width: 900px) { .dos-col { grid-template-columns: 1fr; } }

/* ── Línea del tiempo ── */
.tiempo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; padding-top: 48px; --p: 0; }
.tiempo::before, .tiempo::after { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--linea-2); }
.tiempo::after { background: var(--degradado); transform-origin: left; transform: scaleX(var(--p)); }
.hito { position: relative; }
.hito::before { content: ""; position: absolute; top: -48px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--fondo); border: 2px solid var(--linea-2); z-index: 1; }
.hito.ahora::before { background: var(--ambar); border-color: var(--ambar); box-shadow: 0 0 0 8px rgba(242, 168, 72, .18), 0 0 18px var(--ambar); animation: late 2.4s ease-in-out infinite; }
@keyframes late { 50% { box-shadow: 0 0 0 14px rgba(242, 168, 72, 0), 0 0 18px var(--ambar); } }
.hito .etiqueta { margin-bottom: 10px; }
.hito h3 { margin-bottom: 18px; }
.hito ul { margin: 0; padding: 0; list-style: none; color: var(--texto-2); font-size: 19px; }
.hito li { padding: 6px 0; }
@media (max-width: 800px) {
  .tiempo { grid-template-columns: 1fr; padding-top: 0; padding-left: 44px; gap: 44px; }
  .tiempo::before, .tiempo::after { top: 0; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; }
  .tiempo::after { transform-origin: top; transform: scaleY(var(--p)); }
  .hito::before { top: 4px; left: -44px; }
}

/* ── Llamada final ── */
.final { padding-top: 20px; }
.final .caja { border-radius: 48px; padding: clamp(64px, 9vw, 120px) 28px; text-align: center; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 50% 0%, #22305A 0%, var(--medianoche) 50%, var(--noche) 100%); color: var(--marfil); }
.final .caja .aurora i { opacity: .3; }
.final .caja .aurora::after { display: none; }
.final .caja > *:not(.aurora) { position: relative; z-index: 1; }
.final .caja h2 { color: var(--marfil); }
.final .caja .neon { --d: 110px; margin: 0 auto 40px; }
.final .caja p { color: #B7BECD; margin: 18px auto 0; max-width: 30em; }
.final .caja .boton { --b-fondo: var(--marfil); --b-texto: var(--tinta); }
.final .tel { display: block; margin-top: 22px; font-size: 18px; color: #B7BECD; }
.final .hueco { color: var(--ambar); }

/* ── Cabecera de página ── */
.cabecera-pag { padding-top: clamp(140px, 15vw, 200px); padding-bottom: clamp(60px, 8vw, 100px); overflow: clip; }
.cabecera-pag > .envoltura { position: relative; z-index: 1; }
.cabecera-pag h1 { font-size: clamp(46px, 6.4vw, 96px); }
.cabecera-pag .rejilla { display: grid; grid-template-columns: 1.15fr .85fr; gap: 5vw; align-items: center; }
.cabecera-pag .visual { display: grid; place-items: center; min-height: 440px; position: relative; }
@media (max-width: 900px) { .cabecera-pag .rejilla { grid-template-columns: 1fr; } .cabecera-pag .visual { min-height: 0; margin-top: 20px; } }
.mini { position: relative; display: grid; place-items: center; width: 100%; min-height: clamp(440px, 40vw, 560px); }
.mini .neon { position: absolute; --d: min(84vw, 430px); }
.mini .telefono { --w: clamp(200px, 17vw, 236px); }

/* ── Tarjetas ── */
.tarjetas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.tarjeta { background: var(--superficie); border: 1px solid var(--linea); border-radius: var(--radio-m); padding: 32px; box-shadow: var(--sombra); position: relative; overflow: hidden; isolation: isolate;
  transition: transform .6s var(--suave), box-shadow .6s var(--suave), background-color .9s var(--suave); }
.tarjeta::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--degradado); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--suave); }
.tarjeta:hover { transform: translateY(-4px); box-shadow: var(--sombra-alta); }
.tarjeta:hover::after { transform: scaleX(1); }
.tarjeta h3 { margin-bottom: 12px; font-size: 25px; }
.tarjeta p { color: var(--texto-2); font-size: 19px; text-wrap: pretty; }
.tarjeta .num { display: block; font: 300 56px/1 var(--t-titulo); letter-spacing: -.04em; margin-bottom: 24px; background: var(--degradado); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tarjeta .lista li { font-size: 19px; padding-block: 14px; }
.tarjeta .lista li::before { top: 16px; }

.bloque { display: grid; grid-template-columns: 340px 1fr; gap: 6vw; padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--linea); }
.bloque:first-child { border-top: 0; padding-top: 0; }
.bloque .lado { position: sticky; top: 120px; align-self: start; }
.bloque .lado .num { font: 200 clamp(68px, 7vw, 110px)/.9 var(--t-titulo); letter-spacing: -.05em; display: block; margin-bottom: 18px; background: var(--degradado); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bloque .lado h3 { font-size: clamp(32px, 3.2vw, 46px); letter-spacing: -.035em; }
.bloque .lado p { color: var(--texto-2); margin-top: 10px; }
.bloque .tarjetas { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .bloque { grid-template-columns: 1fr; gap: 32px; } .bloque .lado { position: static; } }
@media (max-width: 600px) { .bloque .tarjetas { grid-template-columns: 1fr; } }

/* Abanico de pantallas */
.abanico { display: flex; justify-content: center; align-items: center; padding-block: 20px 40px; }
.abanico .telefono { --w: clamp(190px, 22vw, 290px); margin-inline: calc(var(--w) * -.14); transition: transform 1.2s var(--suave); }
.js .abanico .telefono:nth-child(1) { transform: translateX(30%) scale(.92); }
.js .abanico .telefono:nth-child(3) { transform: translateX(-30%) scale(.92); }
.js .abanico.on .telefono:nth-child(1) { transform: rotate(-7deg) translateY(30px) scale(.92); }
.js .abanico.on .telefono:nth-child(3) { transform: rotate(7deg) translateY(30px) scale(.92); }
.abanico .telefono:nth-child(2) { z-index: 3; }
@media (max-width: 600px) { .abanico .telefono:nth-child(1), .abanico .telefono:nth-child(3) { display: none; } }

/* La bola: cristal esmerilado con el anillo de neón dentro */
.esfera { --s: clamp(260px, 30vw, 380px); width: var(--s); aspect-ratio: 1; border-radius: 50%; position: relative; isolation: isolate; display: grid; place-items: center;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .98), rgba(255, 255, 255, .6) 26%, rgba(233, 227, 217, .55) 58%, rgba(196, 187, 172, .75) 100%);
  box-shadow: inset -24px -36px 70px rgba(14, 26, 51, .14), inset 18px 14px 40px rgba(255, 255, 255, .9), 0 60px 90px -40px rgba(14, 26, 51, .45); }
.esfera .neon { --d: calc(var(--s) * .56); filter: blur(1.2px); z-index: -1; }
.esfera::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -14%; height: 12%; border-radius: 50%; background: radial-gradient(ellipse, rgba(14, 26, 51, .28), transparent 70%); filter: blur(8px); z-index: -2; }
.bola-rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.bola-rejilla .cabeza { margin-bottom: 0; }
@media (max-width: 900px) { .bola-rejilla { grid-template-columns: 1fr; } }
.cifra-centro { position: relative; z-index: 2; text-align: center; max-width: 230px; }
.cifra-centro b { display: block; font: 200 clamp(64px, 7vw, 96px)/1 var(--t-titulo); letter-spacing: -.05em; background: var(--degradado); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cifra-centro span { color: var(--texto-2); font-size: 18px; }

/* Avisos apilados */
.pila { width: min(100%, 420px); display: grid; gap: 12px; margin-inline: auto; }
.pila .aviso { display: grid; grid-template-columns: 44px 1fr auto; gap: 4px 14px; align-items: center; padding: 16px 18px; border-radius: 24px;
  background: color-mix(in srgb, var(--superficie) 80%, transparent); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid var(--linea); box-shadow: var(--sombra); font-size: 17px; line-height: 1.35; }
.pila .aviso .icono { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--medianoche); display: grid; place-items: center; }
.pila .aviso b { font: 700 16px/1.2 var(--t-titulo); } .pila .aviso time { color: var(--texto-3); font-size: 14px; }
.pila .aviso > span:not(.icono) { grid-column: 2 / -1; color: var(--texto-2); }
.pila .pie-pila { text-align: center; color: var(--texto-2); font-size: 17px; margin-top: 8px; }
.js .pila.r .aviso { opacity: 0; transform: translateY(-16px) scale(.96); transition: opacity .7s var(--suave), transform .7s var(--suave); }
.js .pila.r.on .aviso { opacity: 1; transform: none; }
.js .pila.r.on .aviso:nth-child(2) { transition-delay: .25s; } .js .pila.r.on .aviso:nth-child(3) { transition-delay: .5s; }

/* Precios */
.precios { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.precio { background: var(--superficie); border: 1px solid var(--linea); border-radius: var(--radio-m); padding: 30px 26px; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 14px; }
.precio .etiqueta { margin: 0; }
.precio b { font: 600 24px/1.2 var(--t-titulo); letter-spacing: -.02em; }
.precio.bola { background: radial-gradient(120% 120% at 0% 0%, #22305A, var(--medianoche) 50%, var(--noche)); color: var(--marfil); border-color: transparent; }
.precio.bola .etiqueta { color: var(--ambar); }

/* Formulario */
.contacto { display: grid; gap: 22px; }
.contacto label { display: grid; gap: 8px; font: 600 17px/1.3 var(--t-titulo); }
.contacto input, .contacto textarea { font: 400 20px/1.5 var(--t-texto); color: var(--texto); padding: 16px 18px; border-radius: 16px; border: 1px solid var(--linea-2); background: var(--superficie); transition: border-color .25s, box-shadow .25s; }
.contacto input:focus, .contacto textarea:focus { outline: none; border-color: var(--violeta); box-shadow: 0 0 0 4px rgba(154, 124, 240, .22); }
.contacto fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.contacto fieldset label { position: relative; cursor: pointer; }
.contacto fieldset input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.contacto fieldset span { display: inline-block; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--linea-2); font: 600 17px/1 var(--t-titulo); transition: all .25s var(--suave); }
.contacto fieldset input:checked + span { background: var(--tinta); color: var(--marfil); border-color: transparent; }
.contacto fieldset input:focus-visible + span { outline: 3px solid var(--violeta); outline-offset: 2px; }

/* Lo que falta por decidir */
.hueco { display: inline-block; padding: 2px 12px; border: 1.5px dashed var(--ambar); border-radius: 10px; color: var(--bronce); font: 600 .78em/1.5 var(--t-titulo); letter-spacing: .02em; background: rgba(242, 168, 72, .08); }
body.noche .hueco { color: var(--ambar); }
.bloque-hueco { width: 100%; aspect-ratio: 4 / 5; max-width: 440px; display: grid; place-items: center; text-align: center; padding: 30px; border-radius: var(--radio); font-size: 18px; }
.bola-tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .6); color: var(--texto-2); font: 600 13px/1 var(--t-titulo); letter-spacing: .08em; text-transform: uppercase; }
.bola-tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #FFC774; box-shadow: 0 0 6px rgb(245 150 50 / .8); }
body.noche .bola-tag { background: rgba(255, 255, 255, .08); }
.aviso-112 { font-size: 17px; color: var(--texto-2); margin-top: 18px; display: flex; gap: 10px; align-items: baseline; }
.aviso-112::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--rojo); transform: translateY(-2px); }

/* ── Pie ── */
.pie { padding-block: 72px 48px; border-top: 1px solid var(--linea); font-size: 17px; color: var(--texto-2); }
.pie .filas { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; }
.pie .marca { margin-bottom: 20px; }
.pie nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; align-content: start; }
.pie nav a { text-decoration: none; color: var(--texto-2); transition: color .2s; }
.pie nav a:hover { color: var(--texto); }
@media (max-width: 760px) { .pie .filas { grid-template-columns: 1fr; } .pie nav { grid-template-columns: 1fr 1fr; } }

/* ── Transiciones entre páginas ── */
::view-transition-old(root) { animation: .35s var(--suave) both sale; }
::view-transition-new(root) { animation: .55s var(--suave) both llega; }
@keyframes sale { to { opacity: 0; transform: translateY(-8px); } }
@keyframes llega { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .r, .js .palabras .p, .js .charla.r > *, .js .pila.r .aviso { opacity: 1 !important; transform: none !important; filter: none !important; }
  .escenario .telefono { transform: none !important; }
  .cinta .pista { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* Aurora de noche: colores hondos que se suman a la oscuridad, no manchas grises */
.sec-noche .aurora i, .final .caja .aurora i { mix-blend-mode: screen; opacity: .5; }
.sec-noche .aurora i:nth-child(1), .final .aurora i:nth-child(1) { background: #7A4A12; }
.sec-noche .aurora i:nth-child(2), .final .aurora i:nth-child(2) { background: #4B33A8; }
.sec-noche .aurora i:nth-child(3), .final .aurora i:nth-child(3) { background: #1F4C9C; }
.sec-noche .aurora i:nth-child(4), .final .aurora i:nth-child(4) { background: #3A2A80; }
.sec-noche .aurora::after { display: none; }
.dos-col h2 { font-size: clamp(36px, 4.2vw, 62px); }
.cabecera-pag h1 { font-size: clamp(44px, 5.4vw, 82px); }

/* ══ Fondo vivo: luces de colores que se mueven solas, cambian al bajar y siguen al puntero ══ */
.luz-fondo { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; --s: 0; --mx: 50vw; --my: 30vh; }
.luz-fondo i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .75; will-change: transform; animation: deriva 20s ease-in-out infinite alternate; transition: background-color 1.2s var(--suave), opacity 1.2s var(--suave); }
.luz-fondo i:nth-child(1) { width: 58vmax; height: 58vmax; left: -18vmax; top: -22vmax; background: #FFCB8A; translate: 0 calc(var(--s) * 60vh); }
.luz-fondo i:nth-child(2) { width: 50vmax; height: 50vmax; right: -16vmax; top: -10vmax; background: #CDBBFF; animation-duration: 26s; animation-delay: -8s; translate: calc(var(--s) * -20vw) calc(var(--s) * 30vh); }
.luz-fondo i:nth-child(3) { width: 46vmax; height: 46vmax; left: -10vmax; top: 55vh; background: #AFCFFF; animation-duration: 30s; animation-delay: -14s; translate: calc(var(--s) * 30vw) calc(var(--s) * -50vh); }
.luz-fondo i:nth-child(4) { width: 38vmax; height: 38vmax; right: -6vmax; top: 60vh; background: #FFE3A3; animation-duration: 24s; animation-delay: -4s; translate: 0 calc(var(--s) * -40vh); }
.luz-fondo i:nth-child(5) { width: 30vmax; height: 30vmax; left: 38vw; top: 20vh; background: #F6C9E0; opacity: .5; animation-duration: 34s; translate: calc(var(--s) * -25vw) calc(var(--s) * 40vh); }
.luz-fondo b { position: absolute; width: 46vmax; height: 46vmax; left: calc(var(--mx) - 23vmax); top: calc(var(--my) - 23vmax); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .75), rgba(255, 238, 214, .35) 35%, transparent 65%); mix-blend-mode: soft-light; transition: left .9s var(--suave), top .9s var(--suave); }
body.noche .luz-fondo i { mix-blend-mode: screen; opacity: .55; }
body.noche .luz-fondo i:nth-child(1) { background: #8A4E10; } body.noche .luz-fondo i:nth-child(2) { background: #4A2FB0; }
body.noche .luz-fondo i:nth-child(3) { background: #1E4FA8; } body.noche .luz-fondo i:nth-child(4) { background: #5B2E8C; }
body.noche .luz-fondo i:nth-child(5) { background: #2A6FB8; opacity: .35; }
body.noche .luz-fondo b { background: radial-gradient(circle, rgba(170, 150, 255, .35), transparent 60%); mix-blend-mode: screen; }
.grano { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body.noche .grano { mix-blend-mode: screen; opacity: .05; }
/* The per-section lights are replaced by the living background (the final card keeps its own). */
.cabecera-pag > .aurora, .sec-noche > .aurora, .portada > .aurora { display: none; }
.sec-noche { background: transparent; }
@media (max-width: 760px) { .luz-fondo i { filter: blur(60px); } .luz-fondo i:nth-child(5), .luz-fondo b { display: none; } }

/* Rayos de luz detrás del anillo, en la portada */
.rayos { position: absolute; width: min(150vw, 1400px); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, transparent 0deg 8deg, rgba(255, 214, 160, .28) 10deg, rgba(205, 187, 255, .18) 12deg, transparent 15deg);
  -webkit-mask: radial-gradient(circle, #000 14%, transparent 64%); mask: radial-gradient(circle, #000 14%, transparent 64%); animation: gira 90s linear infinite; }

/* Superficies de cristal: las luces se ven a través */
.tarjeta, .cifra, .precio, .celda:not([class*="c-"]):not(.oscura), .cinta span, .comparar .nos {
  background-color: rgba(255, 255, 255, .58); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
.tarjeta, .cifra, .precio { background-image: none; border-color: rgba(255, 255, 255, .7); }
body.noche .tarjeta, body.noche .cifra, body.noche .precio { background-color: rgba(17, 27, 51, .55); border-color: rgba(255, 255, 255, .08); }
.c-salvia, .c-lavanda, .c-mantequilla, .c-agua, .c-plata, .c-luz { -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); opacity: .97; }
.cifras.tres { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .cifras.tres { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .luz-fondo i, .rayos { animation: none; } .luz-fondo b { display: none; } }

/* ── Primero el lema, a pantalla completa; al bajar, el móvil ── */
.lema { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 96px 0 120px; position: relative; --q: 0; }
.lema h1 { font-size: clamp(58px, 10.5vw, 164px); line-height: .94; letter-spacing: -.045em; }
.lema .envoltura { transform: translateY(calc(var(--q) * -80px)) scale(calc(1 - var(--q) * .08)); opacity: calc(1 - var(--q) * 1.3); filter: blur(calc(var(--q) * 10px)); will-change: transform, opacity; }
.baja { position: absolute; left: 50%; bottom: 36px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none;
  font: 600 15px/1 var(--t-titulo); letter-spacing: .12em; text-transform: uppercase; color: var(--texto-2); opacity: calc(1 - var(--q) * 3); }
.baja i { width: 2px; height: 46px; border-radius: 2px; background: linear-gradient(180deg, transparent, var(--violeta)); position: relative; overflow: hidden; }
.baja i::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: #fff; border-radius: 2px; animation: cae 1.8s var(--suave) infinite; }
@keyframes cae { to { top: 110%; } }
.portada { padding-top: clamp(40px, 6vw, 80px); }
.portada .entradilla { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .lema .envoltura { transform: none !important; opacity: 1 !important; filter: none !important; } }

/* ══ Acabados ══ */
/* Cells with only text: sized to their content and centred; cells with a demo keep the demo at the bottom. */
.celda:not(:has(.demo)) { min-height: 0; justify-content: center; align-items: center; text-align: center; padding-block: clamp(40px, 4vw, 56px); }
.celda:not(:has(.demo)) > p { max-width: 30ch; }
.celda:not(:has(.demo)) .icono-luz { margin-inline: auto; }
.celda:has(.demo) { min-height: 0; }
.celda h3 { font-size: clamp(25px, 2vw, 30px); letter-spacing: -.025em; }
.celda > p { font-size: 19px; line-height: 1.5; }
.celda .lista { text-align: left; width: 100%; }

/* Card grids balanced by how many cards there are: never one alone in the last row. */
.tarjetas { grid-template-columns: repeat(3, 1fr); }
.tarjetas:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
.tarjetas:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
.tarjetas:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, 1fr); }
.tarjetas:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
.tarjetas:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3; }
.bloque .tarjetas { grid-template-columns: repeat(3, 1fr); }
.tarjeta { display: flex; flex-direction: column; }
.tarjeta h3 { font-size: 24px; letter-spacing: -.02em; }
@media (max-width: 1000px) {
  .tarjetas, .tarjetas:has(> :nth-child(4):last-child), .bloque .tarjetas { grid-template-columns: repeat(2, 1fr); }
  .tarjetas:has(> :nth-child(5):last-child) { grid-template-columns: repeat(2, 1fr); }
  .tarjetas:has(> :nth-child(5):last-child) > * { grid-column: auto; }
  .tarjetas:has(> :nth-child(5):last-child) > :last-child, .bloque .tarjetas > :nth-child(3):last-child, .tarjetas:has(> :nth-child(3):last-child) > :nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .tarjetas, .tarjetas:has(> :nth-child(n)), .bloque .tarjetas { grid-template-columns: 1fr; }
  .tarjetas > *, .tarjetas > :last-child { grid-column: auto !important; }
}

/* Preguntas frecuentes: desplegables, como en Apple */
.preguntas { max-width: 880px; border-top: 1px solid var(--linea-2); }
.preguntas details { border-bottom: 1px solid var(--linea-2); }
.preguntas summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 4px;
  font: 600 clamp(22px, 2vw, 27px)/1.25 var(--t-titulo); letter-spacing: -.02em; color: var(--texto); }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .6); border: 1px solid var(--linea-2);
  background-image: linear-gradient(var(--texto), var(--texto)), linear-gradient(var(--texto), var(--texto)); background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat;
  transition: transform .4s var(--suave), background-color .3s; }
.preguntas details[open] summary::after { transform: rotate(45deg); background-color: var(--superficie); }
.preguntas details p { padding: 0 60px 30px 4px; color: var(--texto-2); font-size: 21px; max-width: 46em; animation: entra .5s var(--suave); }
.preguntas summary:hover { color: var(--bronce); }

/* Personas detrás: el contacto, delante */
.personas { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5vw; align-items: center; }
.personas .chat { display: grid; gap: 12px; max-width: 440px; margin-inline: auto; padding: 26px; border-radius: 32px;
  background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, .8); box-shadow: var(--sombra-alta); }
.personas .chat .quien { display: flex; align-items: center; gap: 12px; font: 700 16px/1.2 var(--t-titulo); padding-bottom: 12px; border-bottom: 1px solid var(--linea); }
.personas .chat .quien small { display: block; font: 400 14px/1.3 var(--t-texto); color: var(--texto-2); }
.personas .chat .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--degradado); display: grid; place-items: center; color: #fff; font-weight: 700; }
.personas .chat .burbuja { font-size: 18px; }
.personas .chat .burbuja.equipo { align-self: flex-end; border-radius: 22px 22px 8px 22px; background: var(--tinta); color: var(--marfil); }
.personas .vias { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.personas .vias li { display: flex; gap: 14px; align-items: baseline; font-size: 20px; }
.personas .vias li b { font-family: var(--t-titulo); min-width: 128px; }
@media (max-width: 900px) { .personas { grid-template-columns: 1fr; } .personas .vias li { flex-direction: column; gap: 2px; } }
.celda:has(.lista) { justify-content: flex-start; align-items: stretch; text-align: left; padding-block: clamp(32px, 3vw, 44px); }
.bloque { grid-template-columns: 300px 1fr; }

/* Textos legales (desde eliobe/LEGAL.md) */
.indice-legal{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:0 auto 28px}
.indice-legal a{padding:10px 16px;border-radius:999px;background:rgba(14,26,51,.06);color:inherit;text-decoration:none;font-weight:600}
.texto-legal{max-width:760px;margin:0 auto;font-size:18px;line-height:1.65}
.texto-legal h3{font-size:22px;margin:28px 0 8px}
.texto-legal p{margin:0 0 14px}
.texto-legal-lista{margin:0 0 16px;padding-left:22px}
.texto-legal-lista li{margin:6px 0}

/* Lea, 14-11-2026: la portada de «Qué hace», sin teléfono (el anillo y una frase). El logo se escribe «EliObe». */
.marca .logo { font: 500 23px/1 var(--t-titulo); letter-spacing: -.01em; }
.marca .logo small { font: 400 16px/1 var(--t-texto, inherit); letter-spacing: 0; color: var(--texto-2); margin-left: 2px; }
.mini .frase-anillo { position: relative; z-index: 1; margin: 0; max-width: 12ch; text-align: center; font: 300 clamp(24px, 2.6vw, 34px)/1.25 var(--t-titulo); letter-spacing: -.01em; color: var(--texto); }


/* Contacto: dos vías (email y la app), centradas y del mismo ancho. */
.bento.dos-vias { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; }
.bento.dos-vias .celda { grid-column: auto; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bento.dos-vias .demo { margin-top: 18px; font-size: 20px; }
@media (max-width: 700px) { .bento.dos-vias { grid-template-columns: 1fr; } }
