/* Shiluv · sitio. Claro, celeste como único acento.
   Formas: botones en píldora, todo lo demás con radio 14 px. */

/* Fuentes servidas desde el sitio (antes de Google Fonts, que frenaba el primer pintado
   en el celular). Son variables: un archivo cubre todos los pesos. Solo el juego latino,
   que trae todo el castellano. Licencia SIL Open Font License 1.1 (fonts.google.com). */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fuentes/hanken-grotesk.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Sora; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(/fuentes/sora.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fragment Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fuentes/fragment-mono.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --fondo: #ffffff;
  --fondo-2: #f5f8fb;
  --tinta: #0f1720;
  --tinta-2: #46505e;
  --tinta-3: #66707e;
  --linea: #e3e8ee;
  --celeste: #74b9e8;
  --celeste-hover: #5fade2;
  --celeste-claro: #eaf5fc;
  --celeste-medio: #d3eaf9;
  --celeste-tinta: #1d6a9b;
  --radio: 14px;
  --sombra: 0 1px 2px rgba(15, 23, 32, .06), 0 10px 22px -14px rgba(15, 23, 32, .24);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: Sora, ui-sans-serif, system-ui, sans-serif;
  --texto: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "Fragment Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: #c7d3de transparent; accent-color: var(--celeste-tinta); scroll-padding-top: 84px; /* que la nav fija no tape lo enfocado */ }
body { background: var(--fondo); color: var(--tinta); font: 400 17px/1.55 var(--texto); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--celeste-tinta); text-underline-offset: 3px; text-decoration-thickness: 1px; }
::selection { background: var(--celeste-medio); color: var(--tinta); }
:focus-visible { outline: 2px solid var(--celeste-tinta); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; color: var(--tinta); text-wrap: balance; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 16px; top: -60px; z-index: 30; background: var(--tinta); color: #fff; padding: 10px 16px; border-radius: 999px; }
.saltar:focus { top: 12px; }
.ancho { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.intro { margin-top: 16px; font-size: 19px; color: var(--tinta-2); max-width: 58ch; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--texto); text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-chico { height: 40px; padding: 0 18px; font-size: 15px; }
.btn-celeste { background: var(--celeste); color: var(--tinta); box-shadow: 0 8px 20px -12px rgba(29, 106, 155, .7); }
.btn-celeste:hover { background: var(--celeste-hover); }
.btn-tinta { background: var(--tinta); color: #fff; }
.btn-tinta:hover { background: #26303c; }

/* navegación */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(234, 245, 252, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.nav.con-borde { border-bottom-color: var(--linea); background: rgba(255, 255, 255, .86); }
.nav-in { max-width: 1200px; margin: 0 auto; padding: 0 32px; height: 68px; display: flex; align-items: center; gap: 28px; }
.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--tinta); text-decoration: none; font: 700 21px/1 var(--display); letter-spacing: -.03em; }
.marca img { display: block; width: auto; height: 30px; } /* logo temporario (paquete shiluv-brand, 9/10) */
.pie .marca img { height: 28px; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { color: var(--tinta-2); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.links a:hover { color: var(--tinta); }
.nav-acc { display: flex; align-items: center; gap: 10px; }
.entrar-cel { display: none; color: var(--tinta-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 6px; }

/* héroe */
.heroe { position: relative; background: linear-gradient(180deg, var(--celeste-claro) 0%, #f3f9fd 62%, #fff 100%); margin-top: -68px; padding-top: 68px; }
/* בס״ד arriba de todo, en la esquina derecha, siempre visible (fijo, aunque se baje) */
.bsd { position: fixed; top: 6px; right: 14px; z-index: 30; pointer-events: none; font-size: 12px; line-height: 1; color: var(--tinta-2); }
.heroe-in { max-width: 1200px; margin: 0 auto; padding: 20px 32px 72px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.titular { font-size: clamp(44px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -.045em; min-height: 3.25em; } /* 3 renglones con el cursor: ninguna frase del tipeo mueve la página */
.titular-fijo { display: block; }
.tipeo { color: var(--celeste-tinta); }
.cursor { display: inline-block; width: .07em; height: .92em; margin-left: .06em; background: var(--celeste); border-radius: 2px; vertical-align: -.1em; }
.js .cursor { animation: parpadeo 1.05s steps(1) infinite; }
/* el cursor va pegado a su palabra: nunca baja solo a un renglón vacío (app.js, pintar) */
.pegado { white-space: nowrap; }
.falta { visibility: hidden; } /* lo que falta tipear ocupa su lugar: los renglones no saltan */
.bajada { margin-top: 22px; font-size: 20px; line-height: 1.5; color: var(--tinta-2); max-width: 34ch; }

.telefono { position: relative; justify-self: end; display: grid; justify-items: center; gap: 18px; }
.tel-marco { width: 324px; aspect-ratio: 324 / 676; padding: 12px; border-radius: 48px; background: var(--tinta); box-shadow: 0 2px 6px rgba(15, 23, 32, .12), 0 40px 80px -36px rgba(15, 23, 32, .55), inset 0 0 0 1.5px #2a3440; }
.tel-pantalla { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #1a222b; }
/* escenas verticales: se funden de una a otra con un zoom muy leve */
.tel-pantalla video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #1a222b center / cover no-repeat; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.6s var(--ease); }
.tel-pantalla video.activa { opacity: 1; transform: none; }
/* lo de encima: cabecera de WhatsApp, burbujas, avisos y tarjetas (los arma app.js) */
.tel-capa { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-start; padding: 14px 12px 16px; background: linear-gradient(180deg, rgba(10, 16, 22, .38) 0, rgba(10, 16, 22, 0) 22%, rgba(10, 16, 22, 0) 48%, rgba(10, 16, 22, .55) 100%); font: 500 13.5px/1.35 var(--texto); color: var(--tinta); }
.tel-cab { display: flex; align-items: center; gap: 9px; padding: 22px 6px 0; color: #fff; transition: opacity .4s var(--ease); }
.tel-cab b { display: block; font: 600 14.5px/1.2 var(--display); letter-spacing: -.01em; }
.tel-cab small { display: block; font-size: 11.5px; opacity: .82; }
.tel-cab-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--celeste); color: var(--tinta); font: 700 14px var(--display); }
.tel-cab.oculta { opacity: 0; }
.tel-pie { display: flex; flex-direction: column; gap: 7px; margin-top: auto; }
.tel-arriba { display: flex; flex-direction: column; gap: 7px; margin-top: -34px; }
.burbuja { max-width: 84%; padding: 8px 11px 6px; border-radius: 14px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .45); animation: entra-burbuja .45s var(--ease) both; }
.burbuja small { display: block; text-align: right; font-size: 10.5px; color: rgba(15, 23, 32, .66); margin-top: 2px; } /* .66: contraste 4.5:1 en las dos burbujas */
.burbuja i { display: block; font: 600 10.5px/1.2 var(--mono); font-style: normal; letter-spacing: .04em; text-transform: uppercase; color: var(--celeste-tinta); margin-bottom: 2px; }
.burbuja.cli { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.burbuja.bot { align-self: flex-end; background: #dff0fb; border-bottom-right-radius: 4px; }
.burbuja.escribiendo { padding: 11px 13px; display: flex; gap: 4px; }
.burbuja.escribiendo span { width: 6px; height: 6px; border-radius: 50%; background: var(--celeste-tinta); opacity: .35; animation: puntito 1s infinite; }
.burbuja.escribiendo span:nth-child(2) { animation-delay: .15s; }
.burbuja.escribiendo span:nth-child(3) { animation-delay: .3s; }
.aviso-tel { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); animation: entra-aviso .55s var(--ease) both; }
.aviso-tel img { flex: none; width: 30px; height: 30px; margin-top: 1px; }
.aviso-tel b { display: block; font: 600 13.5px/1.25 var(--display); letter-spacing: -.01em; }
.aviso-tel span { display: block; color: var(--tinta-2); font-size: 12.5px; }
.aviso-tel em { float: right; font-style: normal; font-size: 11px; color: var(--tinta-3); margin-left: 8px; }
.tarjeta-tel { padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); animation: entra-burbuja .5s var(--ease) both; }
.tarjeta-tel h4 { font: 600 10.5px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--tinta-3); margin-bottom: 8px; }
.tarjeta-tel p { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--linea); font-size: 13px; }
.tarjeta-tel p:first-of-type { border-top: 0; }
.tarjeta-tel p b { font: 600 13px var(--mono); color: var(--celeste-tinta); }
@keyframes entra-burbuja { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes entra-aviso { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
@keyframes puntito { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.telefono figcaption { display: grid; justify-items: center; gap: 4px; text-align: center; }
.tel-leyenda { font: 600 15px/1.3 var(--display); letter-spacing: -.01em; min-height: 1.3em; transition: opacity .3s; }
.tel-nota { font-size: 12.5px; color: var(--tinta-3); }

/* video */
.video { padding: 112px 0 96px; }
.video-marco { position: relative; margin-top: 40px; border-radius: var(--radio); overflow: hidden; background: var(--tinta); box-shadow: var(--sombra); aspect-ratio: 16 / 9; }
.video-marco video { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 14px; border: 0; cursor: pointer; background: linear-gradient(180deg, rgba(15, 23, 32, 0) 40%, rgba(15, 23, 32, .45) 100%); color: #fff; font: 600 18px var(--display); }
.video-play svg { width: 76px; height: 76px; padding: 22px 20px 22px 24px; border-radius: 50%; background: var(--celeste); fill: var(--tinta); box-shadow: 0 16px 40px -12px rgba(15, 23, 32, .6); transition: transform .3s var(--ease); }
.video-play:hover svg { transform: scale(1.06); }
.video-play span { position: absolute; bottom: 24px; left: 28px; font-size: 16px; }
.video-marco.reproduciendo .video-play { display: none; }
/* la portada en movimiento: arriba del video principal y abajo del botón; aparece con un fundido cuando ya corre */
.video-muestra { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity .8s var(--ease); }
.video-muestra.corre { opacity: 1; }
.video-marco.reproduciendo .video-muestra { display: none; }

/* Lo de abajo del héroe se arma recién cuando se acerca: en un celular lento, calcular toda
   la página de entrada demoraba lo primero que se ve. "auto" recuerda el alto ya medido,
   así que la barra de scroll y los saltos a #preguntas no se mueven. */
.resuelve, .como, .panel, .control, .preguntas, .cierre, .pie { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* lo que resuelve: cada problema con cómo se resuelve, agrupados por momento de la venta */
.resuelve { padding: 104px 0; background: var(--fondo-2); }
/* Explorador (2026-10-09): reemplaza los cuatro grupos de tarjetas. Un momento por pestaña,
   los problemas en acordeón y, al costado, la captura del panel que lo prueba. */
.explorador { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "rail rail" "lista escena"; gap: 32px 56px; align-items: start; }
.momentos { grid-area: rail; justify-self: start; display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--linea); border-radius: 999px; }
.momentos button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; cursor: pointer; font: 500 15.5px var(--texto); color: var(--tinta-2); white-space: nowrap; transition: background-color .25s var(--ease), color .25s var(--ease); }
.momentos button:hover { color: var(--tinta); }
.momentos button[aria-selected="true"] { background: var(--celeste-claro); color: var(--tinta); font-weight: 600; box-shadow: inset 0 0 0 1px var(--celeste-medio); }
.momentos-cuerpo { grid-area: lista; min-width: 0; }
.momento h3 { font-size: 27px; letter-spacing: -.03em; }
/* con JS el título del momento repite la pestaña: queda solo para el lector de pantalla (sin JS se ve, porque está todo abierto) */
.js .explorador .momento > h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.js .explorador .momento > h3 + .problemas { margin-top: 0; }
.momento-bajada { margin-top: 6px; color: var(--tinta-2); font-size: 16.5px; }
.problemas { list-style: none; margin-top: 22px; border-top: 1px solid var(--linea); }
.problema { position: relative; border-bottom: 1px solid var(--linea); }
.problema h4 { font: 600 18.5px/1.3 var(--display); letter-spacing: -.02em; }
.problema button { display: block; width: 100%; text-align: left; padding: 17px 36px 17px 0; border: 0; background: none; cursor: pointer; font: inherit; letter-spacing: inherit; color: var(--tinta-2); text-wrap: balance; transition: color .25s var(--ease); position: relative; }
.js .problema button::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -6px; border-right: 2px solid var(--tinta-3); border-bottom: 2px solid var(--tinta-3); transform: rotate(45deg); transition: transform .4s var(--ease); }
.problema button:hover, .problema.abierto button { color: var(--tinta); }
.js .problema.abierto button::after { transform: rotate(225deg); margin-top: -2px; }
.solucion { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--ease), opacity .4s var(--ease); }
.solucion > div { overflow: hidden; min-height: 0; }
.solucion p { color: var(--tinta-2); font-size: 16.5px; line-height: 1.5; padding-bottom: 20px; max-width: 46ch; }
/* en el celular la captura viaja adentro del problema abierto, debajo de la respuesta */
.solucion .escenario { position: static; margin: 2px 0 22px; }
/* con JS: solo el problema abierto muestra su respuesta, y lleva la barra que avanza */
.js .explorador .solucion { grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .5s var(--ease), opacity .3s var(--ease), visibility 0s .5s; }
.js .explorador .abierto .solucion { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows .5s var(--ease), opacity .45s var(--ease) .1s, visibility 0s; }
.problema::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--celeste-tinta); transform: scaleX(0); transform-origin: left; }
.explorador.solo .abierto::before { animation: avanza 7s linear forwards; }
.explorador.manual .abierto::before, .explorador.quieto .abierto::before { transform: scaleX(1); animation: none; background: var(--celeste); }
.explorador:hover .abierto::before, .explorador:focus-within .abierto::before, .explorador.fuera .abierto::before { animation-play-state: paused; }
@keyframes avanza { to { transform: scaleX(1); } }
.momento-acc { margin-top: 22px; }
.js .explorador .momento[hidden] { display: none; }
/* el escenario: la captura flota sobre un campo celeste claro */
.escenario { grid-area: escena; position: sticky; top: 96px; }
.escena { height: 540px; display: grid; place-items: center; padding: 32px; border-radius: var(--radio); background: var(--celeste-claro); border: 1px solid var(--celeste-medio); overflow: hidden; }
.escena img { width: min(100%, var(--ancho, 300px)); height: auto; max-height: 100%; object-fit: cover; object-position: top; border-radius: 12px; background: #fff;
  box-shadow: 0 2px 4px rgba(15, 23, 32, .06), 0 24px 44px -20px rgba(15, 23, 32, .38);
  object-position: 50% var(--foco, 0%);
  transition: opacity .35s var(--ease), transform .55s var(--ease), filter .45s var(--ease), object-position .9s var(--ease); }
.escena img.cambiando { opacity: 0; transform: translateY(12px) scale(.985); filter: blur(4px); }
/* misma captura, otro problema: la imagen se desliza a la parte que toca (data-foco) y hace un
   "re-enfoque" corto, así el cambio se nota aunque la pantalla sea la misma */
.escena img.repaso { animation: repaso .55s var(--ease); }
@keyframes repaso { from { transform: scale(.985); filter: blur(2px); opacity: .7; } }
.momento-medida .problema::before { background: var(--tinta); }

/* héroe: botones, aclaración de riesgo y clientes pegados al CTA */
.heroe-acc { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.heroe-riesgo { margin-top: 14px; font-size: 15px; color: var(--tinta-2); }
.heroe-usan { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--linea); max-width: 540px; min-width: 0; }
.heroe-texto { min-width: 0; } /* que la cinta no ensanche la columna en el celular */
.usan-titulo { font-size: 14px; color: var(--tinta-3); margin-bottom: 12px; }
/* cinta de marcas: gira sola, se frena con el mouse, con el teclado y con "Pausar animaciones" */
.cinta { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.cinta-in { display: flex; flex: none; gap: 34px; padding-right: 34px; list-style: none; animation: cinta 24s linear infinite; }
.cinta:hover .cinta-in, .cinta:focus-within .cinta-in { animation-play-state: paused; }
.cinta a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--tinta); text-decoration: none; font: 600 16px/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.cinta a:hover { color: var(--celeste-tinta); }
.cinta img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px var(--linea); }
@keyframes cinta { to { transform: translateX(-100%); } }

/* cómo funciona: tres pasos, botones y el video */
.como { padding: 104px 0 112px; }
/* tres pasos: un camino, con los números unidos por una línea (sin cajas) */
.tres-pasos { list-style: none; margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.tres-pasos li { position: relative; padding-right: 8px; }
.tres-pasos li:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 64px; right: -28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--celeste), var(--celeste-medio)); }
.paso-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--celeste-tinta); font: 700 19px var(--display); box-shadow: inset 0 0 0 2px var(--celeste), 0 8px 18px -12px rgba(29, 106, 155, .6); margin-bottom: 22px; }
.tres-pasos h3 { font-size: 23px; letter-spacing: -.025em; }
.tres-pasos p { margin-top: 8px; color: var(--tinta-2); font-size: 16.5px; max-width: 32ch; }
/* Se dibujan en orden al entrar: el círculo, el texto y la línea hasta el paso que sigue.
   La clase .dibujar la pone app.js, así que sin JS los pasos se ven quietos. */
.tres-pasos li:nth-child(2) { --d: .45s; }
.tres-pasos li:nth-child(3) { --d: .9s; }
.dibujar .paso-n { opacity: 0; transform: scale(.8); transition: opacity .4s var(--ease) var(--d, 0s), transform .55s var(--ease) var(--d, 0s); }
.dibujar li > h3, .dibujar li > p { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease) calc(var(--d, 0s) + .08s), transform .6s var(--ease) calc(var(--d, 0s) + .08s); }
.dibujar li:not(:last-child)::after { transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease) calc(var(--d, 0s) + .25s); }
.dibujar.visto .paso-n, .dibujar.visto li > h3, .dibujar.visto li > p { opacity: 1; transform: none; }
.dibujar.visto li:not(:last-child)::after { transform: none; }
.como-acc { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.como .video { padding: 0; margin-top: 88px; }
.video-titulo { font-size: clamp(28px, 3vw, 38px); }
.video-play small { font: 500 15px var(--texto); opacity: .85; }

/* vos tenés el control */
.control { padding: 104px 0; }
.control-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 72px; align-items: start; }
.control-cab { position: sticky; top: 112px; }
.control-lista { border-top: 1px solid var(--linea); }
.control-lista article { display: grid; grid-template-columns: 52px 1fr; gap: 4px 20px; padding: 28px 0; border-bottom: 1px solid var(--linea); }
.control-lista svg { grid-row: span 2; width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: var(--celeste-claro); fill: none; stroke: var(--celeste-tinta); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.control-lista h3 { font-size: 22px; letter-spacing: -.025em; align-self: end; }
.control-lista p { color: var(--tinta-2); font-size: 17px; max-width: 52ch; }
.control-lista article:nth-child(2) { transition-delay: .08s; }
.control-lista article:nth-child(3) { transition-delay: .16s; }
/* la prueba de "que no invente": la tarjeta real de lo que derivó, flotando sobre celeste */
.control-prueba { margin-top: 32px; }
.control-prueba > div { display: grid; place-items: center; padding: 28px; border-radius: var(--radio); background: var(--celeste-claro); border: 1px solid var(--celeste-medio); }
.control-prueba img { width: min(100%, 300px); height: auto; border-radius: 12px; background: #fff; box-shadow: 0 2px 4px rgba(15, 23, 32, .06), 0 24px 44px -20px rgba(15, 23, 32, .38); }
.control-prueba figcaption { margin-top: 12px; font-size: 14px; color: var(--tinta-3); }

/* celular: barra fija abajo con las dos acciones (aparece al pasar los botones del héroe) */
.barra-cel { display: none; }

/* panel */
.panel { padding: 112px 0 104px; background: var(--fondo-2); }
.pestanas { margin-top: 36px; display: inline-flex; gap: 4px; padding: 4px; background: var(--fondo-2); border: 1px solid var(--linea); border-radius: 999px; }
.pestanas button { border: 0; background: none; cursor: pointer; height: 38px; padding: 0 18px; border-radius: 999px; font: 500 15px var(--texto); color: var(--tinta-2); transition: background-color .2s, color .2s; }
.pestanas button:hover { color: var(--tinta); }
/* La activa se distingue sin depender del fondo (blanco sobre casi blanco no alcanzaba): peso y una raya. */
.pestanas button[aria-selected="true"] { background: #fff; color: var(--tinta); font-weight: 600; box-shadow: inset 0 -3px 0 var(--celeste-tinta), 0 1px 2px rgba(15, 23, 32, .08), 0 0 0 1px var(--linea); }
.pestanas small { font: 500 11px var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--tinta-3); margin-left: 4px; }
/* Avanza solo, como el explorador: la raya de la pestaña activa se llena en 6 s y pasa a la
   siguiente. Se frena con el mouse o el foco encima, fuera de pantalla y con "Pausar
   animaciones"; cuando alguien elige a mano, se queda quieta. */
.pestanas button { position: relative; overflow: hidden; }
.pestanas.solo button[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--celeste-medio), 0 1px 2px rgba(15, 23, 32, .08), 0 0 0 1px var(--linea); }
.pestanas.solo button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--celeste-tinta); transform: scaleX(0); transform-origin: left; animation: avanza 6s linear forwards; }
.pestanas.solo:hover button::after, .pestanas.solo:focus-within button::after, .panel:has(.navegador:hover) .pestanas button::after, .pestanas.fuera button::after { animation-play-state: paused; }
/* riel que no entra entero (celular): se desvanece del lado donde hay más pestañas */
.momentos.hay-mas, .pestanas.hay-mas { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.navegador { margin-top: 22px; border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); background: #fff; }
.navegador-barra { height: 38px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--linea); background: var(--fondo-2); }
.navegador-barra span { font: 500 12.5px var(--mono); color: var(--tinta-3); padding: 3px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--linea); }
.navegador img { width: 100%; transition: opacity .35s var(--ease), transform .5s var(--ease); }
.navegador img.cambiando { opacity: 0; transform: translateY(8px) scale(.995); }


/* planes (plegados hasta tener precios) */
.planes { padding: 96px 0; }
.planes-grilla { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { border: 1px solid var(--linea); border-radius: var(--radio); padding: 28px; }
.precio { font: 700 34px var(--display); margin: 12px 0 18px; }
.precio span { font-size: 15px; color: var(--tinta-3); font-weight: 500; }
.plan ul { list-style: none; display: grid; gap: 8px; color: var(--tinta-2); font-size: 15.5px; }

/* preguntas */
.preguntas { padding: 104px 0; background: var(--fondo-2); } /* alterna con "Delegás" (blanca) desde que no está "Empezar" */
.preguntas-in { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.acordeon { border-top: 1px solid var(--linea); }
.acordeon details { border-bottom: 1px solid var(--linea); }
.acordeon summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 18px/1.35 var(--display); letter-spacing: -.015em; }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--tinta-3); border-bottom: 2px solid var(--tinta-3); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.acordeon details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.acordeon details p { padding: 0 40px 24px 0; color: var(--tinta-2); max-width: 62ch; }
/* la respuesta se despliega en vez de aparecer de golpe (donde el navegador no lo soporta, abre como siempre) */
.acordeon { interpolate-size: allow-keywords; }
.acordeon details::details-content { block-size: 0; overflow-y: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.acordeon details[open]::details-content { block-size: auto; }

/* cierre */
.cierre { background: var(--celeste); padding: 96px 0; }
.cierre :focus-visible { outline-color: var(--tinta); } /* el azul no se ve sobre el celeste */
.cierre-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cierre h2 { max-width: 16ch; font-size: clamp(34px, 4.4vw, 54px); }
.cierre-acc { display: flex; gap: 12px; flex-wrap: wrap; }
.cierre-nota { flex-basis: 100%; font-size: 15px; color: var(--tinta); } /* tinta sobre celeste: el gris no da contraste */

/* pie */
.pie { padding: 48px 0 40px; }
.pie-in { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.pie-lema { margin-top: 10px; font-size: 14.5px; color: var(--tinta-3); }
.pie-links { display: flex; gap: 24px; flex-wrap: wrap; }
.pie-links a { color: var(--tinta-2); text-decoration: none; font-size: 15px; }
.pie-links a:hover { color: var(--tinta); text-decoration: underline; }
/* el único aviso de que capturas y escenas son de ejemplo (antes iba debajo de cada foto) */
.pie-nota { grid-column: 1 / -1; font-size: 13.5px; color: var(--tinta-3); }
.pie-copy { grid-column: 1 / -1; font-size: 13.5px; color: var(--tinta-3); border-top: 1px solid var(--linea); padding-top: 20px; }

/* avatar animado (Bible Strong Avatar Lab, AGPL-3.0): sentado arriba del teléfono y en Preguntas */
.telefono { isolation: isolate; }
.av-tel { position: absolute; top: -82px; left: 22px; z-index: 2; line-height: 0; cursor: pointer; }
.av-tel .bs-avatar { filter: drop-shadow(0 14px 12px rgba(15, 23, 32, .14)); }
.av-preg { line-height: 0; margin: 0 0 6px -12px; cursor: pointer; }
.av-tel:empty, html:not(.js) .av-preg:empty { display: none; }
/* El avatar de Preguntas se arma después de cargar la página: su lugar queda guardado
   para que el título no salte cuando aparece. */
.av-preg:empty { height: 104px; }
/* Lugar para la nube, que se sienta arriba. Se reserva desde el principio (.js la pone
   el HTML) y no cuando carga el avatar: si no, el telefono saltaba 86 px al cargar. */
.js .telefono { margin-top: 86px; }

/* Pausar animaciones (WCAG 2.2.2): discreto, abajo del telefono. */
.pausa { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; min-height: 32px; padding: 0 14px; border: 1px solid var(--linea); border-radius: 999px; background: #fff; color: var(--tinta-2); font: 500 13.5px var(--texto); cursor: pointer; transition: color .2s, border-color .2s; }
.pausa:hover { color: var(--tinta); border-color: #c7d3de; }
.pausa svg { width: 14px; height: 14px; fill: currentColor; }
.pausa .ico-seguir, .en-pausa .pausa .ico-pausa { display: none; }
.en-pausa .pausa .ico-seguir { display: inline; }
.en-pausa *, .en-pausa *::before, .en-pausa *::after { animation-play-state: paused !important; }
.en-pausa .cursor { animation: none; opacity: 1; }
.pie-copy a { color: inherit; }

/* aparición al hacer scroll, solo si hay JS. El movimiento es SIEMPRE, aunque el sistema
   pida reducirlo (decisión de Martín, 2026-10-05). */
.js .aparece { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .aparece.visto { opacity: 1; transform: none; }
@keyframes parpadeo { 50% { opacity: 0; } }

/* tablet */
@media (max-width: 1080px) {
  .heroe-in { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .tel-marco { width: 296px; }
}
@media (max-width: 900px) {
  .links { display: none; }
  .nav-acc { margin-left: auto; }
  .entrar-cel { display: inline-flex; align-items: center; min-height: 44px; }
  /* Apilado: el teléfono va justo después de los botones y "Ya lo usan" pasa abajo, así en el
     celular la escena que se mueve entra en la primera pantalla (antes arrancaba en el píxel 783). */
  .heroe-in { grid-template-columns: 1fr; padding-top: 20px; row-gap: 0; }
  .heroe-texto { display: contents; }
  .heroe-usan { order: 1; }
  .telefono { justify-self: center; }
  .js .telefono { margin-top: 96px; }
  .heroe-usan { margin-top: 36px; }
  .explorador { grid-template-columns: 1fr; grid-template-areas: "rail" "lista" "escena"; gap: 24px; }
  .escenario { position: static; }
  .escena { height: 380px; padding: 22px; }
  .escena:has(img.ancha) { place-items: start; }
  .escena img.ancha { width: 170%; max-width: none; max-height: none; }
  .preguntas-in { grid-template-columns: 1fr; gap: 28px; }
  .cierre-in { flex-direction: column; align-items: flex-start; }
  .tres-pasos { grid-template-columns: 1fr; gap: 0; }
  .tres-pasos li { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; padding-bottom: 30px; }
  .tres-pasos li .paso-n { grid-row: span 2; margin-bottom: 0; }
  .tres-pasos li h3 { align-self: center; }
  .tres-pasos li:not(:last-child)::after { top: 52px; bottom: 4px; left: 23px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--celeste), var(--celeste-medio)); }
  .dibujar li:not(:last-child)::after { transform: scaleY(0); transform-origin: top; }
  .dibujar.visto li:not(:last-child)::after { transform: none; }
  .control-in { grid-template-columns: 1fr; gap: 32px; }
  .control-cab { position: static; }
}
/* teléfono */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .ancho, .nav-in { padding: 0 16px; }
  .nav-in { height: 60px; }
  .heroe { margin-top: -60px; padding-top: 60px; }
  .bsd { top: 2px; right: 3px; font-size: 11px; }
  .heroe-in { padding: 16px 16px 56px; }
  .nav .btn-chico { height: 44px; }
  .titular { font-size: 40px; }
  .bajada { margin-top: 16px; font-size: 17.5px; }
  .tel-marco { width: 264px; border-radius: 42px; padding: 10px; }
  .tel-pantalla { border-radius: 33px; }
  .resuelve, .como, .panel, .control, .preguntas { padding: 72px 0; }
  .como .video { margin-top: 64px; }
  .heroe-acc { flex-direction: column; }
  .heroe-acc .btn { width: 100%; }
  .heroe-usan { margin-top: 24px; padding-top: 18px; }
  .como-acc { flex-direction: column; }
  .como-acc .btn { width: 100%; }
  .barra-cel { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--linea); transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
  /* visibility: escondida, sus botones no reciben el foco ni los lee el lector de pantalla */
  .barra-cel.ver { transform: none; visibility: visible; transition-delay: 0s; }
  html { scroll-padding-bottom: 84px; } /* ni la barra tapa lo enfocado */
  .barra-cel .btn { flex: 1; min-width: 0; padding: 0 12px; font-size: 15px; }
  .barra-cel svg { flex: none; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
  .pie { padding-bottom: 96px; }
  .intro { font-size: 17px; }
  .explorador { margin-top: 32px; }
  .momentos { display: flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; justify-self: stretch; }
  .momentos button { flex: none; padding: 0 14px; }
  .escena { height: 300px; padding: 16px; }
  .momento h3 { font-size: 24px; }
  .problema h4 { font-size: 17.5px; }
  .solucion p { font-size: 15.5px; }
  .momento-acc { width: 100%; }
  .pestanas { display: flex; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .pestanas button { flex: none; }
  .video-play svg { width: 64px; height: 64px; padding: 18px 16px 18px 20px; }
  .video-play span { display: none; }
  .cierre { padding: 72px 0; }
  .pie-in { grid-template-columns: 1fr; }
}

/* celulares angostos (360 px): las frases más largas del titular entran en 3 renglones */
@media (max-width: 400px) { .titular { font-size: 35px; } }
@media (max-width: 345px) { .titular { font-size: 31px; } }
