/* ============================================================
   liinktok — página de inicio (liinktok.com)
   El oscuro de la marca (#141416) arriba y abajo, papel cálido en el medio,
   y la señal del robot: rosa → naranja. Montserrat en los títulos.
   ============================================================ */
:root {
  --oscuro: #141416; --oscuro-2: #1E1D23; --oscuro-3: #2A2930; --oscuro-linea: #2E2D34;
  --rosa: #FF5470; --naranja: #FF9A3E; --coral: #FF7757; --rosa-tinta: #D6294F;
  --grad: linear-gradient(90deg, #FF5470, #FF9A3E);
  --papel: #FAF8F4; --papel-2: #F3EFE8; --tarjeta: #FFFFFF; --tinta: #17151F; --tinta-2: #494556; --tinta-3: #6F6A7C; --linea: #E7E1D7;
  --sobre-oscuro: #F4F1EC; --sobre-oscuro-2: #A7A2B6;
  --f-titulo: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-texto: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --r: 16px; --r-lg: 24px; --pill: 980px;
  --sombra: 0 1px 2px rgba(23,21,31,.06), 0 10px 30px -14px rgba(23,21,31,.18);
  --ancho: 1160px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --papel: #111014; --papel-2: #17161B; --tarjeta: #1C1B21; --tinta: #F3F1F7; --tinta-2: #C3BFD0; --tinta-3: #9692A4; --linea: #2B2937; --rosa-tinta: #FF7A90; color-scheme: dark; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 16px/1.6 var(--f-texto); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--rosa-tinta); }
h1, h2, h3 { font-family: var(--f-titulo); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 300; }
h2 b { font-weight: 800; }
p { margin: 0; }
section[id] { scroll-margin-top: 72px; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--tarjeta); color: var(--tinta); padding: 10px 14px; border-radius: 12px; }
.saltar:focus { top: 12px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--rosa) 70%, transparent); outline-offset: 2px; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--rosa-tinta); text-decoration: underline; cursor: pointer; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--pill); font: 700 15px/1 var(--f-titulo); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .2s ease, filter .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn-marca { background: var(--grad); color: var(--oscuro); }
.btn-marca:hover { filter: brightness(1.06); }
.btn-linea { background: transparent; color: inherit; border-color: currentColor; }
.btn-grande { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-bloque { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* ---------- Barra de arriba ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--oscuro) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); color: var(--sobre-oscuro); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.con-borde { border-bottom-color: var(--oscuro-linea); }
/* El ancho del contenido (sin el margen de 20 px) es el mismo que el de la portada: el logo queda alineado con el texto de abajo. */
.nav-in { max-width: calc(var(--ancho) + 40px); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 30px; }
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--sobre-oscuro-2); text-decoration: none; font: 600 14.5px var(--f-titulo); }
.nav-links a:hover { color: #fff; }
.nav-acc { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-acc .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
.nav-menu { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--oscuro-linea); background: var(--oscuro-2); padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.nav-menu span { width: 18px; height: 2px; border-radius: 2px; background: #fff; }
.menu-movil { display: grid; padding: 4px 20px 16px; border-top: 1px solid var(--oscuro-linea); }
.menu-movil[hidden] { display: none; }
.menu-movil a { color: var(--sobre-oscuro); text-decoration: none; padding: 12px 0; font: 600 16px var(--f-titulo); border-bottom: 1px solid var(--oscuro-linea); }
/* Hasta 1023 px el menú va en el botón (en tablets las secciones no entran en una línea). */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-menu { display: inline-flex; }
}
.nav-links a { white-space: nowrap; }
@media (max-width: 519px) {
  .nav-in { gap: 10px; padding: 10px 20px; }
  .nav-logo img { height: 28px; }
  .nav-acc .btn-linea { display: none; }
  .nav-acc .btn { padding: 0 14px; }
}

/* ---------- Inicio ---------- */
.hero { position: relative; overflow: hidden; background: var(--oscuro); color: #fff; padding: 56px 20px 40px; }
.hero::before { content: ''; position: absolute; width: 760px; height: 760px; right: -260px; top: -360px; border-radius: 50%; background: radial-gradient(circle, rgba(255,84,112,.30), transparent 62%); pointer-events: none; }
.hero::after { content: ''; position: absolute; width: 640px; height: 640px; left: -300px; bottom: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,154,62,.20), transparent 65%); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero-in { max-width: var(--ancho); margin: 0 auto; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 40px 20px 48px; } .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; } .hero-arte { margin-top: 8px; } }
.ojo { font: 700 12.5px/1.3 var(--f-titulo); letter-spacing: .16em; text-transform: uppercase; color: var(--coral); margin-bottom: 14px; }
.hero h1 { font-size: clamp(38px, 6vw, 66px); font-weight: 300; letter-spacing: -.035em; line-height: 1.04; max-width: 14ch; }
.hero h1 b { font-weight: 800; display: block; }
.hero h1 em, .grad { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 22px; font-size: clamp(17px, 1.6vw, 19px); color: #C9C5D3; max-width: 52ch; }
.hero-acc { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-nota { margin-top: 14px; font-size: 14px; color: var(--sobre-oscuro-2); }
.hero-puntos { max-width: var(--ancho); margin: 48px auto 0; padding: 22px 0 0; list-style: none; display: grid; gap: 14px; border-top: 1px solid var(--oscuro-linea); }
@media (min-width: 760px) { .hero-puntos { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; } }
@media (min-width: 1080px) { .hero-puntos { grid-template-columns: repeat(4, 1fr); } }
.hero-puntos li { color: var(--sobre-oscuro-2); font-size: 14.5px; }
.hero-puntos b { display: block; color: #fff; font: 700 15px var(--f-titulo); margin-bottom: 2px; }

/* La muestra de la app: una escena armada, siempre igual (un celular con la conversación, el robot al lado, el aviso
   que baja sobre la pantalla y la tarea apoyada en el borde). Mide 520 × 560 y, donde no entra, se achica entera. */
.hero-arte { position: relative; display: grid; justify-items: center; }
.hero-escena { position: relative; width: 540px; height: 560px; }
@media (min-width: 960px) and (max-width: 1179px) { .hero-escena { zoom: .8; } }
@media (max-width: 559px) { .hero-escena { zoom: .86; } }
/* En el celular, solo el celular con su aviso (más grande y legible): el robot ya está en el logo y en el botón del chat. */
@media (max-width: 479px) { .hero-escena { width: 340px; zoom: 1; } .hero-escena .robot-grande, .hero-escena .mu-estado { display: none; } .tel-demo { left: 24px; } .mu-aviso { left: 10px; } }
@media (max-width: 379px) { .hero-escena { zoom: .88; } }
@media (max-width: 339px) { .hero-escena { zoom: .8; } }
/* El robot, al costado del celular y justo arriba de la tarea. */
.robot-grande { position: absolute; right: 4px; top: 186px; width: 210px; color: #fff; filter: drop-shadow(0 30px 60px rgba(255,84,112,.3)); }
.robot-grande svg { width: 100%; height: auto; }
/* El celular */
.tel-demo { position: absolute; left: 20px; top: 8px; width: 292px; height: 524px; padding: 40px 13px 13px; border-radius: 46px; background: #0D0D10; border: 9px solid #2A2930; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 50px 90px -30px rgba(0,0,0,.95); display: flex; flex-direction: column; font-size: 13px; color: #F2F2F7; }
.tel-isla { position: absolute; left: 50%; top: 9px; width: 86px; height: 24px; margin-left: -43px; border-radius: 13px; background: #000; }
.tel-chat { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 10px; }
.tel-escribir { flex: none; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 5px 0 14px; border-radius: 20px; background: #1E1D23; border: 1px solid var(--oscuro-linea); color: #6E6A7A; font-size: 12px; }
.tel-escribir span { flex: 1; }
.tel-escribir i { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); }
/* Las tarjetas que acompañan al celular */
.mu { position: absolute; background: rgba(30,29,35,.92); border: 1px solid var(--oscuro-linea); border-radius: 20px; padding: 14px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; color: #F2F2F7; }
.mu-estado { right: 0; bottom: 44px; width: 214px; z-index: 2; }
/* El aviso: una notificación del celular, sobre la pantalla (justo debajo de la isla). */
.mu-aviso { left: 6px; top: 62px; width: 320px; z-index: 3; display: flex; align-items: flex-start; gap: 10px; background: rgba(245, 245, 247, .96); color: #1D1D1F; border-color: transparent; border-radius: 22px; padding: 11px 14px 11px 11px; }
.mu-app { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.mu-aviso b { display: block; font-family: var(--f-titulo); font-size: 13px; }
.mu-aviso small { display: block; color: #6E6E73; font-size: 11.5px; line-height: 1.35; }
.mu-aviso .mu-app-n { font-size: 10.5px; font-weight: 600; margin-bottom: 1px; }
/* La conversación */
.mu-cab { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--oscuro-linea); }
.mu-cab b { display: block; font-family: var(--f-titulo); font-size: 13.5px; }
.mu-cab small { display: flex; align-items: center; gap: 5px; color: #A1A1A6; font-size: 11.5px; }
.mu-cab small i { width: 7px; height: 7px; border-radius: 50%; background: #34C759; }
.mu-cab .c-escribe { display: none; color: #34C759; }
.mu-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #3A2A1C; color: #FFB86B; font: 700 13px var(--f-titulo); }
.mu-b { width: fit-content; max-width: 88%; padding: 8px 12px; border-radius: 16px 16px 16px 5px; background: var(--oscuro-3); line-height: 1.4; margin-top: 8px; }
.mu-b.yo { margin-left: auto; border-radius: 16px 16px 5px 16px; background: linear-gradient(135deg, #FF5470, #FF7757); color: var(--oscuro); font-weight: 600; }
.mu-voz { display: flex; align-items: center; gap: 8px; min-width: 180px; }
.mu-play { width: 24px; height: 24px; border-radius: 50%; background: var(--rosa); flex-shrink: 0; position: relative; }
.mu-play::after { content: ''; position: absolute; left: 9px; top: 7px; border-left: 8px solid var(--oscuro); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.mu-onda { flex: 1; display: flex; align-items: center; gap: 2px; height: 18px; }
.mu-onda i { flex: 1; height: 60%; border-radius: 2px; background: #D1D1D6; animation: onda 1.1s ease-in-out infinite; }
.mu-onda i:nth-child(3n) { height: 90%; animation-delay: .2s; } .mu-onda i:nth-child(4n) { height: 35%; animation-delay: .4s; } .mu-onda i:nth-child(5n) { height: 100%; animation-delay: .6s; }
@keyframes onda { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }
.mu-t { font-size: 11px; color: #A1A1A6; }
.mu-video { padding: 6px; }
.mu-vid { position: relative; display: block; width: 186px; aspect-ratio: 16 / 9; border-radius: 11px; overflow: hidden; background: linear-gradient(to top, #24222B 0 26%, transparent 26%), linear-gradient(to top, transparent 26%, #2F2C38 26% 62%, transparent 62%) 58% 0 / 22% 100% no-repeat, linear-gradient(to top, transparent 26%, #2A2832 26% 48%, transparent 48%) 30% 0 / 16% 100% no-repeat, radial-gradient(circle at 78% 30%, #FFD08A 0 7%, transparent 8%), linear-gradient(165deg, #FF5470, #FF9A3E); }
.mu-vid-play { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.mu-vid-play::after { content: ""; position: absolute; left: 13px; top: 10px; border-left: 11px solid #141416; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.mu-vid-dur { position: absolute; right: 6px; bottom: 6px; padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 10.5px; font-weight: 600; }
.mu-video small { display: block; padding: 6px 4px 2px; color: #A1A1A6; font-size: 11px; }
/* La tarea: en proceso y, cuando llega la entrega, lista. */
.mu-fila { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mu-fila b { font-family: var(--f-titulo); font-size: 13.5px; }
.mu-pill { display: inline-grid; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: rgba(10,132,255,.16); color: #64B5FF; }
.mu-pill > span { grid-area: 1 / 1; text-align: center; }
.mu-pill .p-lista { opacity: 0; color: #4ADE80; }
.mu-barra { height: 5px; border-radius: 99px; background: var(--oscuro-3); overflow: hidden; margin: 12px 0 8px; }
.mu-barra i { display: block; height: 100%; width: 62%; border-radius: 99px; background: var(--naranja); }
.mu-estado small { color: #A1A1A6; font-size: 11.5px; }
/* La historia, en orden y en 12 s: escribe, llegan los mensajes, el audio y el video, la tarea se completa y llega el aviso. */
@media (prefers-reduced-motion: no-preference) {
  .hero-escena .c-linea { animation: h-linea 12s infinite; }
  .hero-escena .c-escribe { display: inline; position: absolute; opacity: 0; animation: h-escribe 12s infinite; }
  .hero-escena .mu-cab small { position: relative; }
  .hero-escena .mu-b { overflow: hidden; }
  .hero-escena .mu-1 { animation: h-1 12s infinite; }
  .hero-escena .mu-2 { animation: h-2 12s infinite; }
  .hero-escena .mu-3 { animation: h-3 12s infinite; }
  .hero-escena .mu-4 { animation: h-4 12s infinite; }
  .hero-escena .mu-barra i { animation: h-barra 12s infinite; }
  .hero-escena .mu-pill { animation: h-pill 12s infinite; }
  .hero-escena .p-proceso { animation: h-proceso 12s infinite; }
  .hero-escena .p-lista { animation: h-lista 12s infinite; }
  .hero-escena .mu-aviso { animation: h-aviso 12s cubic-bezier(.2, .8, .2, 1) infinite; }
  .hero-escena .mu-estado { animation: flota 7s ease-in-out infinite; }
}
@keyframes flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes h-linea { 0%, 2% { opacity: 1; } 3%, 8% { opacity: 0; } 9%, 100% { opacity: 1; } }
@keyframes h-escribe { 0%, 2% { opacity: 0; } 3%, 8% { opacity: 1; } 9%, 100% { opacity: 0; } }
@keyframes h-1 { 0%, 8% { opacity: 0; max-height: 0; margin-top: 0; transform: translateY(10px) scale(.96); } 11%, 93% { opacity: 1; max-height: 170px; margin-top: 8px; transform: none; } 97%, 100% { opacity: 0; max-height: 170px; margin-top: 8px; } }
@keyframes h-2 { 0%, 18% { opacity: 0; max-height: 0; margin-top: 0; transform: translateY(10px) scale(.96); } 21%, 93% { opacity: 1; max-height: 170px; margin-top: 8px; transform: none; } 97%, 100% { opacity: 0; max-height: 170px; margin-top: 8px; } }
@keyframes h-3 { 0%, 28% { opacity: 0; max-height: 0; margin-top: 0; transform: translateY(10px) scale(.96); } 31%, 93% { opacity: 1; max-height: 170px; margin-top: 8px; transform: none; } 97%, 100% { opacity: 0; max-height: 170px; margin-top: 8px; } }
@keyframes h-4 { 0%, 38% { opacity: 0; max-height: 0; margin-top: 0; transform: translateY(10px) scale(.96); } 41%, 93% { opacity: 1; max-height: 170px; margin-top: 8px; transform: none; } 97%, 100% { opacity: 0; max-height: 170px; margin-top: 8px; } }
@keyframes h-barra { 0%, 46% { width: 40%; background: var(--naranja); } 56%, 94% { width: 100%; background: #34C759; } 98%, 100% { width: 40%; background: var(--naranja); } }
@keyframes h-pill { 0%, 55% { background: rgba(10,132,255,.16); } 57%, 95% { background: rgba(52,199,89,.18); } 97%, 100% { background: rgba(10,132,255,.16); } }
@keyframes h-proceso { 0%, 55% { opacity: 1; } 57%, 95% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes h-lista { 0%, 55% { opacity: 0; } 57%, 95% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes h-aviso { 0%, 59% { opacity: 0; transform: translateY(-34px) scale(.96); } 63%, 89% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; transform: translateY(-22px) scale(.98); } }

/* El robot animado (las mismas reglas que el cargador de la app). */
.robot-anim { overflow: visible; color: #fff; }
.robot-anim .ra-cabeza { transform-box: fill-box; transform-origin: 50% 100%; animation: ra-cabeza 2.4s ease-in-out infinite; }
.robot-anim .ra-ojo { transform-box: fill-box; transform-origin: 50% 50%; animation: ra-parpadea 3.6s ease-in-out infinite; }
.robot-anim .ra-antena { transform-box: fill-box; transform-origin: 50% 50%; animation: ra-antena 1.2s ease-in-out infinite; }
.robot-anim .ra-barra { transform-box: fill-box; transform-origin: 50% 100%; animation: ra-barra 1.2s ease-in-out infinite; }
.robot-anim .ra-b2 { animation-delay: -.6s; }
@keyframes ra-barra { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.62); } }
@keyframes ra-cabeza { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }
@keyframes ra-parpadea { 0%, 88%, 100% { transform: scaleY(1); } 92% { transform: scaleY(.1); } }
@keyframes ra-antena { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .robot-anim, .robot-anim *, .mu, .mu * { animation: none !important; } }

/* ---------- Secciones ---------- */
.sec { padding: 80px 20px; }
/* Formatos y redes: los logos de lo que maneja la app. */
.logos { background: var(--oscuro); color: #fff; padding: 64px 20px 64px; }
.logos-tit { font-size: clamp(24px, 3vw, 32px); font-weight: 300; text-align: center; }
.logos-tit b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logos-grupos { margin-top: 28px; display: grid; gap: 22px; }
@media (min-width: 1000px) { .logos-grupos { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr); gap: 24px; } }
.logos-grupo { padding: 18px 20px 20px; border-radius: var(--r-lg); background: var(--oscuro-2); border: 1px solid var(--oscuro-linea); }
.logos-etq { color: var(--sobre-oscuro-2); font: 700 12px var(--f-titulo); letter-spacing: .1em; text-transform: uppercase; }
.logos-lista { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 16px 4px; }
.logos-lista li { min-width: 0; display: grid; justify-items: center; gap: 7px; text-align: center; font: 600 11.5px var(--f-titulo); letter-spacing: -.01em; color: var(--sobre-oscuro-2); }
.logos-lista svg { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .8); transition: transform .2s; }
.logos-lista li:hover svg { transform: translateY(-3px); }
.logos-nota { margin-top: 18px; text-align: center; color: var(--sobre-oscuro-2); font-size: 14px; }
.logos-nota span { display: block; margin-top: 4px; font-size: 12px; opacity: .7; }
.sec-in { max-width: var(--ancho); margin: 0 auto; }
.sec-in.angosta { max-width: 820px; }
.sec-sub { margin-top: 16px; font-size: 18px; color: var(--tinta-2); max-width: 62ch; }
.sec-oscura { background: var(--oscuro); color: #fff; }
.sec-oscura .sec-sub, .sec-oscura p { color: #C9C5D3; }
.sec-suave { background: var(--papel-2); }
@media (max-width: 599px) { .sec { padding: 60px 16px; } }

.funciones { margin-top: 40px; display: grid; gap: 16px; }
@media (min-width: 640px) { .funciones { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .funciones { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fn { background: var(--tarjeta); border: 1px solid var(--linea); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sombra); min-width: 0; }
.fn h3 { font-size: 18px; font-weight: 700; margin: 16px 0 8px; }
.fn p { color: var(--tinta-2); font-size: 15px; }
.fn-ic { display: block; width: 44px; height: 44px; border-radius: 14px; background: var(--grad); position: relative; }
.fn-ic::after { content: ''; position: absolute; inset: 11px; background: var(--oscuro); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.fn-1 { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='3'/%3E%3Cpath d='M7 9.5l2 2 3.5-3.5M7 15.5h.01M11 15.5h6'/%3E%3C/svg%3E"); }
.fn-2 { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E"); }
.fn-3 { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
.fn-4 { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18c1 0 1.5-.8 1.5-1.5 0-1.5-1.5-1.5-1.5-3 0-1 .8-1.5 1.8-1.5H16a5 5 0 0 0 5-5c0-3.9-4-7-9-7z'/%3E%3Ccircle cx='7.5' cy='11' r='1'/%3E%3Ccircle cx='10' cy='7' r='1'/%3E%3Ccircle cx='15' cy='7.5' r='1'/%3E%3C/svg%3E"); }
.fn-5 { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.fn-6 { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9M13.7 21a2 2 0 0 1-3.4 0'/%3E%3C/svg%3E"); }
.fn-7 { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }
.fn-8 { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18M7 15l4-4 3 3 5-6'/%3E%3C/svg%3E"); }

.pasos { margin: 40px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
@media (min-width: 860px) { .pasos { grid-template-columns: repeat(3, 1fr); } }
.pasos li { background: var(--oscuro-2); border: 1px solid var(--oscuro-linea); border-radius: var(--r-lg); padding: 24px; }
.paso-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: var(--oscuro); font: 800 18px var(--f-titulo); }
.pasos h3 { font-size: 20px; font-weight: 700; margin: 16px 0 8px; }
.pasos p { color: #C9C5D3; }
/* Cómo funciona: el video con la app real (se carga recién cuando llega a la pantalla) */
.como-video { margin: 36px 0 0; }
.como-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-lg); background: var(--oscuro-2); border: 1px solid var(--oscuro-linea); box-shadow: 0 30px 80px -30px rgba(255, 84, 112, .45); cursor: pointer; }
.como-video figcaption { margin-top: 14px; color: var(--sobre-oscuro-2); font-size: 14.5px; display: flex; gap: 10px; align-items: baseline; }
.cv-dur { flex: none; padding: 2px 9px; border-radius: var(--pill); background: var(--grad); color: var(--oscuro); font: 800 12px var(--f-titulo); }
/* La línea de tiempo del video y sus capítulos. */
.cv-barra { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 7px 10px 7px 7px; border-radius: var(--pill); background: var(--oscuro-2); border: 1px solid var(--oscuro-linea); }
.cv-play, .cv-full { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; cursor: pointer; }
.cv-play { background: var(--grad); color: var(--oscuro); }
.cv-full { background: transparent; color: var(--sobre-oscuro-2); }
.cv-full:hover { color: #fff; }
.cv-play svg, .cv-full svg { width: 20px; height: 20px; }
.cv-play .ic-play, .cv-play.pausado .ic-pausa { display: none; }
.cv-play.pausado .ic-play { display: block; }
.cv-linea { --p: 0%; flex: 1; min-width: 0; height: 24px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.cv-linea::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #FF5470, #FF9A3E) 0 0 / var(--p) 100% no-repeat, rgba(255, 255, 255, .16); }
.cv-linea::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #FF5470, #FF9A3E) 0 0 / var(--p) 100% no-repeat, rgba(255, 255, 255, .16); }
.cv-linea::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 0 0 4px rgba(255, 84, 112, .35); }
.cv-linea::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 84, 112, .35); }
.cv-linea:focus-visible { outline: none; }
.cv-linea:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--rosa); }
.cv-tiempo { flex: none; font: 600 13px var(--f-titulo); color: var(--sobre-oscuro-2); font-variant-numeric: tabular-nums; }
.cv-capitulos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cv-capitulos button { border: 1px solid var(--oscuro-linea); background: transparent; color: var(--sobre-oscuro-2); border-radius: var(--pill); padding: 8px 15px; font: 600 13.5px var(--f-titulo); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.cv-capitulos button:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.cv-capitulos button.activo { background: rgba(255, 84, 112, .16); border-color: rgba(255, 84, 112, .65); color: #fff; }
@media (max-width: 519px) { .cv-capitulos { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .cv-capitulos button { flex: none; } .cv-full { display: none; } }
.cv-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 20px 24px; border-radius: var(--r-lg); background: linear-gradient(120deg, rgba(255, 84, 112, .14), rgba(255, 154, 62, .1)); border: 1px solid rgba(255, 84, 112, .3); }
.cv-cta p { color: var(--sobre-oscuro-2); font-size: 16px; }
.cv-cta p b { color: #fff; font-family: var(--f-titulo); }
.como-mas { margin-top: 28px; color: var(--sobre-oscuro-2); }
.como-mas a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.hero-video { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; white-space: nowrap; }
.hero-video i { width: 20px; height: 20px; border-radius: 50%; background: var(--grad); position: relative; flex: none; }
.hero-video i::after { content: ''; position: absolute; left: 7.5px; top: 5.5px; border: 4.5px solid transparent; border-left: 7px solid var(--oscuro); border-right: 0; }

/* Para quién es: un rubro a la vez (con JS); sin JS, todos en grilla */
.rubros-in { margin-top: 36px; display: grid; gap: 18px; }
.rubros-paneles { display: grid; gap: 16px; min-width: 0; }
@media (min-width: 640px) { .rubros-paneles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rubros-js .rubros-paneles { display: block; }
.rubros-js .rubro { display: none; }
.rubros-js .rubro.activo { display: block; animation: rbEntra .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rbEntra { from { opacity: 0; transform: translateY(10px); } }
.rubros-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; min-width: 0; }
.rubros-tabs::-webkit-scrollbar { display: none; }
.rubros-tabs button { flex: none; padding: 9px 16px; border-radius: var(--pill); border: 1px solid var(--linea); background: var(--tarjeta); color: var(--tinta); font: 600 14.5px var(--f-texto); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.rubros-tabs button:hover { border-color: var(--coral); }
.rubros-tabs button[aria-selected="true"] { background: var(--oscuro); border-color: var(--oscuro); color: #fff; }
@media (min-width: 900px) {
  .rubros-js.rubros-in { grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: 28px; align-items: start; }
  .rubros-tabs { flex-direction: column; overflow: visible; padding: 0; }
  .rubros-tabs button { text-align: left; white-space: normal; }
}
.rubro { background: var(--tarjeta); border: 1px solid var(--linea); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sombra); min-width: 0; }
.rubros-js .rubro { padding: clamp(24px, 3.4vw, 40px); }
.rb-cab { display: flex; align-items: center; gap: 14px; }
.rb-cab h3 { margin: 0; font-size: clamp(19px, 2.2vw, 26px); font-weight: 800; }
.rb-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; }
.rb-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--oscuro); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.rb-par { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 20px 0 14px; }
.rb-par span { padding: 6px 14px; border-radius: var(--pill); background: var(--papel-2); border: 1px solid var(--linea); font: 700 14px var(--f-titulo); }
.rb-par i { display: inline-flex; gap: 5px; }
.rb-par b { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); opacity: .25; animation: rbPunto 1.6s infinite; }
.rb-par b:nth-child(2) { animation-delay: .2s; }
.rb-par b:nth-child(3) { animation-delay: .4s; }
@keyframes rbPunto { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: scale(1.35); } }
.rb-txt { color: var(--tinta-2); font-size: clamp(15.5px, 1.4vw, 18px); max-width: 62ch; }
.rubro .esc-chips { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .rb-par b { animation: none; opacity: .7; } .rubros-js .rubro.activo { animation: none; } }

/* ---------- Planes ---------- */
.periodo { margin-top: 28px; display: inline-flex; padding: 4px; gap: 4px; border-radius: var(--pill); background: var(--papel-2); border: 1px solid var(--linea); }
.periodo button { border: 0; background: transparent; color: var(--tinta-2); font: 700 14px var(--f-titulo); padding: 10px 18px; border-radius: var(--pill); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.periodo button.activo { background: var(--tarjeta); color: var(--tinta); box-shadow: var(--sombra); }
.regalo { font-size: 11px; padding: 3px 8px; border-radius: 99px; background: var(--grad); color: var(--oscuro); }
.planes { margin-top: 28px; display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 900px) { .planes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--tarjeta); border: 1px solid var(--linea); border-radius: var(--r-lg); padding: 28px 24px 24px; box-shadow: var(--sombra); min-width: 0; }
.plan.destacado { border: 2px solid transparent; background: linear-gradient(var(--tarjeta), var(--tarjeta)) padding-box, var(--grad) border-box; box-shadow: 0 30px 60px -30px rgba(255,84,112,.55); }
@media (min-width: 900px) { .plan.destacado { transform: translateY(-10px); } }
.plan.elegido { outline: 3px solid var(--naranja); outline-offset: 3px; }
.cinta { position: absolute; top: -13px; left: 24px; padding: 5px 12px; border-radius: 99px; background: var(--grad); color: var(--oscuro); font: 800 12px var(--f-titulo); letter-spacing: .04em; text-transform: uppercase; }
.plan h3 { font-size: 24px; font-weight: 800; }
.plan-para { margin-top: 6px; color: var(--tinta-2); font-size: 14.5px; min-height: 3em; }
.precio { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.precio .moneda { font: 700 14px var(--f-titulo); color: var(--tinta-3); }
.precio .monto { font: 800 46px/1 var(--f-titulo); letter-spacing: -.03em; }
.precio .per { color: var(--tinta-3); font-size: 15px; }
.precio-nota { color: var(--tinta-3); font-size: 13px; margin-top: 4px; }
.precio-ars { color: var(--tinta-2); font-size: 13.5px; font-weight: 600; margin-top: 2px; }
.limites { list-style: none; margin: 18px 0 0; padding: 14px 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 14px; color: var(--tinta-2); }
.limites b { color: var(--tinta); }
.incluye { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--tinta-2); flex: 1; }
.incluye li { position: relative; padding-left: 26px; }
.incluye li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); }
.incluye li::after { content: ''; position: absolute; left: 5px; top: 7px; width: 6px; height: 8px; border: solid var(--oscuro); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.incluye li.todo { padding-left: 0; font-weight: 700; color: var(--tinta); }
.incluye li.todo::before, .incluye li.todo::after { display: none; }
.plan-acc { display: grid; gap: 8px; }
.pagar { display: grid; gap: 8px; }
.pagar:empty { display: none; }
.pagar .btn { min-height: 42px; font-size: 14px; }
.btn-mp { background: #009EE3; color: #fff; }
.btn-pp { background: #FFC439; color: #111; }
.plan-gratis { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding: 20px 24px; border-radius: var(--r-lg); background: var(--oscuro); color: #fff; }
.plan-gratis b { display: block; font: 800 18px var(--f-titulo); }
.plan-gratis span { color: #C9C5D3; font-size: 15px; }
.plan-medida { margin-top: 18px; color: var(--tinta-2); }
.precios-nota { margin-top: 10px; color: var(--tinta-3); font-size: 13.5px; max-width: 80ch; }
.comparar { margin-top: 26px; border: 1px solid var(--linea); border-radius: var(--r-lg); background: var(--tarjeta); }
.comparar summary { cursor: pointer; padding: 16px 20px; font: 700 15px var(--f-titulo); }
.tabla-wrap { overflow-x: auto; padding: 0 12px 12px; }
.comparar table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.comparar th, .comparar td { padding: 10px 12px; border-top: 1px solid var(--linea); text-align: left; }
.comparar thead th { font-family: var(--f-titulo); border-top: 0; }
.comparar td { color: var(--tinta-2); }
.comparar tbody th { font-weight: 600; }

/* ---------- Encuesta ---------- */
.quiz { margin-top: 30px; background: var(--tarjeta); border: 1px solid var(--linea); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sombra); }
@media (max-width: 519px) { .quiz { padding: 20px 16px; } }
.q-prog { display: flex; align-items: center; gap: 12px; font: 700 13px var(--f-titulo); color: var(--tinta-3); }
.q-barra { flex: 1; height: 6px; border-radius: 99px; background: var(--papel-2); overflow: hidden; }
.q-barra i { display: block; height: 100%; background: var(--grad); border-radius: 99px; transition: width .3s ease; }
.q-preg { margin-top: 20px; font: 700 22px/1.25 var(--f-titulo); letter-spacing: -.01em; }
.q-ops { margin-top: 18px; display: grid; gap: 10px; }
.q-op { text-align: left; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); border: 1.5px solid var(--linea); background: var(--papel); color: var(--tinta); font: 600 15.5px/1.35 var(--f-texto); cursor: pointer; transition: border-color .15s, transform .15s; }
.q-op:hover { border-color: var(--rosa); transform: translateY(-1px); }
.q-op .q-l { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--papel-2); font: 800 13px var(--f-titulo); color: var(--tinta-2); }
.q-op.marcada { border-color: var(--rosa); background: color-mix(in srgb, var(--rosa) 8%, var(--tarjeta)); }
.q-op.marcada .q-l { background: var(--grad); color: var(--oscuro); }
.q-pie { margin-top: 18px; display: flex; justify-content: space-between; gap: 10px; }
.q-pie .link { font-weight: 600; }
.q-res { display: grid; gap: 14px; }
.q-res .q-plan { font: 300 clamp(30px, 4vw, 40px)/1.1 var(--f-titulo); letter-spacing: -.02em; }
.q-res .q-plan b { font-weight: 800; }
.q-res ul { margin: 0; padding-left: 20px; color: var(--tinta-2); display: grid; gap: 6px; }
.q-res .q-acc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.q-res .btn-linea { color: var(--tinta); }

/* ---------- Preguntas ---------- */
.buscar-faq { margin-top: 26px; }
.buscar-faq input { width: 100%; min-height: 56px; padding: 0 20px 0 50px; border-radius: var(--pill); border: 1.5px solid var(--linea); background: var(--tarjeta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237B7688' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 18px center / 20px no-repeat; color: var(--tinta); font: 16px var(--f-texto); box-shadow: var(--sombra); }
.buscar-faq input:focus { outline: none; border-color: var(--rosa); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rosa) 22%, transparent); }
.sugerencias { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.sugerencias button { border: 1px solid var(--linea); background: var(--tarjeta); color: var(--tinta-2); border-radius: var(--pill); padding: 6px 14px; font: 600 13.5px var(--f-texto); cursor: pointer; }
.sugerencias button:hover { border-color: var(--rosa); color: var(--tinta); }
.faq-estado { margin-top: 12px; color: var(--tinta-3); font-size: 14px; min-height: 1.4em; }
.faq { margin-top: 10px; display: grid; gap: 12px; }
/* Cada categoría, plegada: al tocar el título se ven sus preguntas (y cada pregunta abre su respuesta). */
.faq-grupo { border: 1px solid var(--linea); border-radius: var(--r-lg); background: var(--papel-2); }
.faq-grupo > .faq-cat { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 54px 18px 20px; position: relative; font: 700 15px var(--f-titulo); letter-spacing: .1em; text-transform: uppercase; color: var(--rosa-tinta); }
.faq-grupo > .faq-cat::-webkit-details-marker { display: none; }
.faq-grupo > .faq-cat::after { content: ''; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border: solid var(--rosa-tinta); border-width: 0 2.5px 2.5px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-grupo[open] > .faq-cat::after { transform: translateY(-30%) rotate(-135deg); }
.faq-n { font: 600 12.5px var(--f-texto); letter-spacing: 0; text-transform: none; color: var(--tinta-3); }
.faq-lista { display: grid; gap: 10px; padding: 0 14px 14px; }
.faq-item { background: var(--tarjeta); border: 1px solid var(--linea); border-radius: var(--r); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; position: relative; font: 700 16px/1.35 var(--f-titulo); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; border: solid var(--tinta-3); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-r { padding: 0 18px 16px; color: var(--tinta-2); display: grid; gap: 10px; }
.faq-item[hidden] { display: none; }
mark { background: color-mix(in srgb, var(--naranja) 38%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.faq-nada { margin-top: 18px; padding: 24px; border-radius: var(--r-lg); border: 1.5px dashed var(--linea); text-align: center; display: grid; gap: 14px; justify-items: center; color: var(--tinta-2); }

/* ---------- Empezar ---------- */
.empezar { display: grid; gap: 36px; align-items: start; }
@media (min-width: 920px) { .empezar { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; } }
.empezar-txt p { margin-top: 16px; font-size: 18px; }
.empezar-puntos { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.empezar-puntos li { position: relative; padding-left: 28px; color: var(--sobre-oscuro); }
.empezar-puntos li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); color: var(--oscuro); font: 800 12px/20px var(--f-titulo); text-align: center; }
.form { display: grid; gap: 14px; background: var(--oscuro-2); border: 1px solid var(--oscuro-linea); border-radius: var(--r-lg); padding: 26px; color: #fff; }
@media (max-width: 519px) { .form { padding: 20px 16px; } }
.campo { display: grid; gap: 6px; min-width: 0; }
.campo label { font: 600 14px var(--f-titulo); color: #E5E3EA; }
.campo small { font-weight: 400; color: var(--sobre-oscuro-2); }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid #3A3940; background: var(--oscuro-3); color: #fff; font: 16px var(--f-texto); }
.campo textarea { resize: vertical; min-height: 84px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--rosa); box-shadow: 0 0 0 3px rgba(255,84,112,.3); }
.campo .mal { border-color: #FF7A8A; }
.dos { display: grid; gap: 14px; }
@media (min-width: 560px) { .dos { grid-template-columns: 1fr 1fr; } }
.recomendado { font-size: 13.5px; color: var(--naranja) !important; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #D1D1D6; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--rosa); flex-shrink: 0; }
.check a { color: #fff; }
.trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 10px 14px; border-radius: 12px; background: rgba(255,84,112,.16); color: #FFB3BD !important; font-size: 14px; }
.form-error[hidden], .form-ok[hidden] { display: none; }
.form-ok { display: grid; gap: 12px; justify-items: start; background: var(--oscuro-2); border: 1px solid var(--oscuro-linea); border-radius: var(--r-lg); padding: 28px; }
.form-ok h3 { font-size: 24px; }
.ok-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #34C759; color: #fff; font: 800 22px var(--f-titulo); }

/* ---------- Diálogo de trámites ---------- */
.dlg { border: 0; padding: 0; background: transparent; width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); }
.dlg::backdrop { background: rgba(10,10,12,.6); backdrop-filter: blur(4px); }
.dlg .form { position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; }
.dlg h3 { font-size: 22px; padding-right: 40px; }
.dlg-x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--oscuro-3); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.tramite-txt { color: #C9C5D3; font-size: 14.5px; }
.tipo-tramite { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.tipo-tramite label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--oscuro-3); cursor: pointer; font-size: 15px; }
.tipo-tramite input { accent-color: var(--rosa); width: 18px; height: 18px; }
.dlg .form-ok { padding: 8px 0 0; border: 0; }

/* ---------- Pie ---------- */
.pie { background: var(--oscuro); color: var(--sobre-oscuro-2); padding: 56px 20px 28px; border-top: 1px solid var(--oscuro-linea); }
.pie-in { max-width: var(--ancho); margin: 0 auto; display: grid; gap: 32px; }
@media (min-width: 860px) { .pie-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } }
.pie-marca img { height: 42px; width: auto; }
.pie-marca p { margin-top: 12px; max-width: 34ch; }
/* Seguridad y confianza: el sello y lo que hace la plataforma para cuidar los datos. */
.pie-seguro { margin-top: 26px; max-width: 470px; }
.sello { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 16px; background: rgba(52, 199, 89, .08); border: 1px solid rgba(52, 199, 89, .35); }
.sello-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #1F3A2A; color: #4ADE80; flex: none; }
.sello-ic svg { width: 22px; height: 22px; }
.sello b { display: block; color: #fff; font: 700 14.5px var(--f-titulo); }
.sello span { font-size: 12.5px; color: var(--sobre-oscuro-2); }
.garantias { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.garantias li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; }
.garantias svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--naranja); }
.pie-mas { display: inline-block; margin-top: 14px; color: #fff; font: 600 13.5px var(--f-titulo); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.pie-mas:hover { border-bottom-color: var(--rosa); }
.pie-links { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.pie-links div { display: grid; gap: 9px; align-content: start; justify-items: start; }
.pie-links b { color: #fff; font: 700 14px var(--f-titulo); }
.pie-links a, .pie-links .link { color: var(--sobre-oscuro-2); text-decoration: none; font-size: 14.5px; text-align: left; }
.pie-links a:hover, .pie-links .link:hover { color: #fff; }
.pie-legal { max-width: var(--ancho); margin: 36px auto 0; padding-top: 20px; border-top: 1px solid var(--oscuro-linea); font-size: 13px; }

/* ---------- Páginas legales ---------- */
.legal { max-width: 860px; margin: 0 auto; padding: 56px 20px 80px; }
.legal h1 { font-size: clamp(32px, 4.5vw, 46px); font-weight: 800; }
.legal .vigencia { margin-top: 10px; color: var(--tinta-3); }
.legal .resumen { margin-top: 26px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--papel-2); border: 1px solid var(--linea); color: var(--tinta-2); display: grid; gap: 8px; }
.legal .indice { margin-top: 26px; padding: 18px 20px 18px 40px; border-radius: var(--r-lg); border: 1px solid var(--linea); background: var(--tarjeta); columns: 2 260px; column-gap: 32px; }
.legal .indice li { margin: 3px 0; break-inside: avoid; }
.legal .indice a { color: var(--tinta-2); text-decoration: none; }
.legal .indice a:hover { color: var(--rosa-tinta); }
.legal h2 { font-size: 22px; font-weight: 800; margin: 40px 0 12px; scroll-margin-top: 80px; }
.legal p, .legal li { color: var(--tinta-2); }
.legal p + p { margin-top: 10px; }
.legal ul, .legal ol.sub { margin: 10px 0; padding-left: 22px; display: grid; gap: 6px; }
.legal strong { color: var(--tinta); }
.legal .mayus { text-transform: uppercase; font-size: 14.5px; }
.legal .completar { background: color-mix(in srgb, var(--naranja) 30%, transparent); color: var(--tinta); padding: 0 4px; border-radius: 4px; font-weight: 700; }
.legal .caja-aaip { margin-top: 18px; padding: 16px 18px; border-left: 4px solid var(--rosa); background: var(--papel-2); border-radius: 0 var(--r) var(--r) 0; font-size: 14.5px; }
.nav-simple .nav-in { justify-content: space-between; }

/* ---------- Cuenta de cada empresa (cuenta.html) ---------- */
.cuenta { max-width: 920px; margin: 0 auto; padding: 40px 20px 70px; display: grid; gap: 18px; }
#cuentaApp { display: grid; gap: 18px; min-width: 0; }
#cuentaApp:empty { display: none; }
.cuenta-cargando { color: var(--tinta-3); padding: 40px 0; text-align: center; }
.cuenta-cab { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; justify-content: space-between; }
.cuenta-cab h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.cuenta-plan { margin-top: 6px; color: var(--tinta-2); font-size: 16px; }
.cuenta-estado { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--tinta-2); font-size: 14.5px; }
.cuenta-estado .btn { min-height: 40px; font-size: 14px; color: var(--tinta); }
.pill { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 99px; font: 700 12.5px var(--f-titulo); background: var(--papel-2); color: var(--tinta-2); }
.pill.ok { background: rgba(52, 199, 89, .14); color: #1D8A45; }
.pill.warn { background: rgba(255, 154, 62, .18); color: #A2520A; }
.pill.bad { background: rgba(255, 84, 112, .14); color: var(--rosa-tinta); }
.cuenta-alerta { padding: 14px 16px; border-radius: var(--r); font-size: 15px; border: 1px solid transparent; }
.cuenta-alerta.ok { background: rgba(52, 199, 89, .1); border-color: rgba(52, 199, 89, .3); }
.cuenta-alerta.warn { background: rgba(255, 154, 62, .12); border-color: rgba(255, 154, 62, .35); }
.cuenta-alerta.bad { background: rgba(255, 84, 112, .1); border-color: rgba(255, 84, 112, .35); }
.cuenta-caja { background: var(--tarjeta); border: 1px solid var(--linea); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sombra); display: grid; gap: 14px; min-width: 0; }
.cuenta-caja h2 { font-size: 20px; font-weight: 800; }
.cuenta-caja h3 { font-size: 16px; font-weight: 700; }
.cuenta-elegir { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.cuenta-elegir .campo { min-width: 220px; }
.cuenta-elegir .periodo { margin-top: 0; }
.cuenta-total { font-size: 17px; }
.cuenta-total span { color: var(--tinta-2); font-size: 15px; }
.cuenta-total small { color: var(--tinta-3); font-size: 13px; }
.cuenta-medios { display: flex; flex-wrap: wrap; gap: 10px; }
.cuenta-medios .btn-linea { color: var(--tinta); }
.cuenta-transf { padding: 14px 16px; border-radius: var(--r); background: var(--papel-2); display: grid; gap: 8px; }
.cuenta-transf dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; }
.cuenta-transf dt { color: var(--tinta-3); }
.cuenta-transf dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.cuenta-comp { border: 1px solid var(--linea); border-radius: var(--r); }
.cuenta-comp summary { cursor: pointer; padding: 14px 16px; font: 700 15px var(--f-titulo); }
.cuenta .cuenta-comp .form { padding: 0 16px 16px; }
.cuenta .form { background: transparent; border: 0; padding: 0; color: var(--tinta); }
.cuenta .campo label { color: var(--tinta); }
.cuenta .campo small { color: var(--tinta-3); }
.cuenta .campo input, .cuenta .campo select, .cuenta .campo textarea { background: var(--papel); border-color: var(--linea); color: var(--tinta); }
.cuenta .form-error { color: var(--rosa-tinta) !important; }
.form-ok-txt { color: #1D8A45; font-size: 14.5px; }
.cuenta-pagos { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.cuenta-pagos th, .cuenta-pagos td { text-align: left; padding: 10px 10px; border-top: 1px solid var(--linea); vertical-align: top; }
.cuenta-pagos thead th { border-top: 0; font: 700 12px var(--f-titulo); letter-spacing: .06em; text-transform: uppercase; color: var(--tinta-3); }
.cuenta-pagos small { display: block; color: var(--tinta-3); font-size: 12.5px; }
.cuenta .tabla-wrap { overflow-x: auto; padding: 0; }
.cuenta-sin { max-width: 520px; margin: 0 auto; display: grid; gap: 16px; text-align: center; }
.cuenta-sin h1 { font-size: 32px; font-weight: 300; }
.cuenta-sin h1 b { font-weight: 800; }
.cuenta-sin .form { text-align: left; background: var(--tarjeta); border: 1px solid var(--linea); padding: 20px; }

/* ============================================================
   Lo que resuelve: seis escenas animadas (se mueven solo mientras
   están en pantalla: home.js les pone .visto, y .fuera las pausa).
   Con «reducir movimiento», se ve el estado final, quieto.
   ============================================================ */
/* Inicio: los ejemplos que van rotando. */
.hero-para { margin-top: 22px; }
.hero-para > span:first-child { display: block; color: var(--sobre-oscuro-2); font: 600 14.5px var(--f-titulo); letter-spacing: .02em; }
.rota { position: relative; display: block; min-height: 2.75em; margin: 4px 0 6px; font: 800 clamp(19px, 2.3vw, 25px)/1.35 var(--f-titulo); letter-spacing: -.01em; }
.rota span { position: absolute; left: 0; top: 0; right: 0; opacity: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: rota 18s infinite; }
.rota span:nth-child(2) { animation-delay: 3s; }
.rota span:nth-child(3) { animation-delay: 6s; }
.rota span:nth-child(4) { animation-delay: 9s; }
.rota span:nth-child(5) { animation-delay: 12s; }
.rota span:nth-child(6) { animation-delay: 15s; }
@keyframes rota { 0% { opacity: 0; transform: translateY(14px); } 3%, 14% { opacity: 1; transform: none; } 17%, 100% { opacity: 0; transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .rota span { animation: none; } .rota span:first-child { opacity: 1; } }

.resuelve { overflow: hidden; }
.escenas { margin-top: 46px; display: grid; gap: 26px; }
.escena { display: grid; gap: 24px; align-items: center; padding: 22px; border-radius: 28px; background: var(--tarjeta); border: 1px solid var(--linea); box-shadow: var(--sombra); min-width: 0; }
@media (min-width: 900px) {
  .escena { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; padding: 38px 42px; }
  .escena:nth-child(even) .esc-txt { order: 2; }
}
.esc-txt { min-width: 0; }
.esc-n { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px/1 var(--f-titulo); letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.esc-n i { font-style: normal; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--grad); color: var(--oscuro); letter-spacing: 0; font-size: 13px; }
.esc-txt h3 { font-size: clamp(25px, 3vw, 35px); font-weight: 300; line-height: 1.12; letter-spacing: -.02em; margin: 16px 0 12px; }
.esc-txt h3 b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.esc-txt p { color: var(--tinta-2); font-size: 16.5px; }
.esc-chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.esc-chips li { padding: 7px 13px; border-radius: var(--pill); background: var(--papel-2); border: 1px solid var(--linea); font: 600 13px var(--f-titulo); color: var(--tinta-2); }
.esc-arte { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 22px 16px; border-radius: 22px; min-height: 300px;
  background: radial-gradient(120% 90% at 88% 0%, rgba(255, 84, 112, .30), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(255, 154, 62, .24), transparent 60%), var(--oscuro); }

/* La tarjeta oscura de cada escena. */
.mk { position: relative; width: min(440px, 100%); background: rgba(30, 29, 35, .94); border: 1px solid var(--oscuro-linea); border-radius: 18px; padding: 16px; color: #F4F1EC; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); font-family: var(--f-texto); }
.mk-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.mk-cab b { font: 700 14px var(--f-titulo); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-pill { flex-shrink: 0; font: 700 11px var(--f-titulo); padding: 4px 9px; border-radius: var(--pill); background: rgba(255, 255, 255, .08); color: #C9C5D3; }

/* 01 · La historia de una solicitud. */
.tz { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 12px; }
.tz::before { content: ''; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: rgba(255, 255, 255, .1); }
.tz li { position: relative; display: flex; gap: 12px; align-items: flex-start; }
.tz li > div { min-width: 0; }
.tz li i { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: #FF7757; border: 2px solid #1E1D23; box-shadow: 0 0 0 2px rgba(255, 119, 87, .35); position: relative; z-index: 1; }
.tz li b { display: block; font-size: 14px; }
.tz li small { color: #A7A2B6; font-size: 12.5px; }
.tz .tz-fin i { background: #34C77B; box-shadow: 0 0 0 2px rgba(52, 199, 123, .4); }
.tz .tz-fin i::after { content: ''; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #141416; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.tz .tz-fin b { color: #6BE3A2; }

/* 02 · La agenda de la semana. */
.ag-dias, .ag-grilla { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.ag-dias span { font: 700 11px var(--f-titulo); color: #A7A2B6; text-align: center; padding-bottom: 6px; }
.ag-grilla { position: relative; grid-auto-rows: 38px; row-gap: 8px; padding: 8px 0; min-height: 140px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .045) 0 19%, transparent 19% 20.25%, rgba(255, 255, 255, .045) 20.25% 39.25%, transparent 39.25% 40.5%, rgba(255, 255, 255, .045) 40.5% 59.5%, transparent 59.5% 60.75%, rgba(255, 255, 255, .045) 60.75% 79.75%, transparent 79.75% 81%, rgba(255, 255, 255, .045) 81% 100%); }
.ag-c { display: flex; align-items: center; font: 700 10.5px/1.12 var(--f-titulo); padding: 0 6px; border-radius: 8px; color: #141416; overflow: hidden; min-width: 0; -webkit-hyphens: auto; hyphens: auto; }
.c-1 { grid-column: 1; grid-row: 1; } .c-2 { grid-column: 2; grid-row: 2; } .c-4 { grid-column: 4; grid-row: 1; } .c-5 { grid-column: 5; grid-row: 3; }
.ag-rosa { background: #FF5470; } .ag-naranja { background: #FF9A3E; } .ag-azul { background: #7CB2FF; } .ag-verde { background: #4ED18E; } .ag-coral { background: #FF7757; }
.ag-mueve { position: absolute; top: calc(8px + 38px + 8px); left: 40.5%; width: 19%; height: 38px; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .6); }
.ag-nota { margin: 12px 0 0; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #C9C5D3; }
.ag-nota i { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: #FF7757; }

/* 03 · El tablero. */
.mk-tablero { padding: 14px; }
.tb-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tb-col { min-width: 0; background: rgba(255, 255, 255, .045); border-radius: 12px; padding: 8px; min-height: 200px; display: flex; flex-direction: column; gap: 6px; }
.tb-col b { font: 700 9.5px/1.2 var(--f-titulo); color: #A7A2B6; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; min-height: 2.4em; }
.tb-t { font-size: 11px; line-height: 1.25; background: var(--oscuro-3); border-radius: 8px; padding: 7px; border-left: 3px solid #FF9A3E; -webkit-hyphens: auto; hyphens: auto; }
.tb-ok { border-left-color: #4ED18E; }
.tb-mueve { position: absolute; left: 22px; top: 150px; width: calc((100% - 52px) / 4 - 16px); display: block; font-size: 11px; line-height: 1.25; background: #3A3941; border-radius: 8px; padding: 7px; border-left: 3px solid #FF5470; box-shadow: 0 10px 22px -6px rgba(0, 0, 0, .7); -webkit-hyphens: auto; hyphens: auto; }
.tb-mueve i { display: block; width: 18px; height: 4px; border-radius: 4px; background: #FF5470; margin-bottom: 5px; }
@media (max-width: 559px) {
  .escena { padding: 18px 16px; }
  .esc-arte { padding: 16px 10px; }
  .tb-cols { grid-template-columns: 1fr; gap: 6px; }
  .tb-col { min-height: 0; height: 52px; flex-direction: row; align-items: center; gap: 8px; padding: 6px 10px; }
  .tb-col b { flex: 0 0 76px; min-height: 0; margin: 0; font-size: 10px; }
  .tb-col .tb-t { display: none; }
  .tb-mueve { left: 112px; width: calc(100% - 112px - 24px); top: 27px; padding: 6px 9px; }
  .tb-mueve i { display: none; }

}
@keyframes tb-baja {
  0% { top: 27px; opacity: 0; } 4%, 18% { top: 27px; opacity: 1; border-left-color: #FF5470; }
  26%, 42% { top: 85px; border-left-color: #FF9A3E; } 50%, 66% { top: 143px; border-left-color: #7CB2FF; }
  74%, 92% { top: 201px; border-left-color: #4ED18E; opacity: 1; } 100% { top: 201px; opacity: 0; }
}

/* 04 · Archivos. */
.ar-lista { display: grid; gap: 10px; }
.ar-f { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .05); }
.ar-f > div { min-width: 0; flex: 1; }
.ar-f b { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-f small { color: #A7A2B6; font-size: 12px; }
.ar-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; font: 800 11px var(--f-titulo); position: relative; overflow: hidden; }
.ar-pdf { background: #FF5470; color: #fff; }
.ar-img { background: linear-gradient(160deg, #FFC27A 0%, #FF7757 55%, #7A4FD6 100%); }
.ar-img::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 0; height: 26px; background: #141416; clip-path: polygon(0 100%, 0 40%, 22% 40%, 22% 10%, 48% 10%, 48% 55%, 70% 55%, 70% 0, 100% 0, 100% 100%); opacity: .85; }
.ar-vid { background: #2B2A31; }
.ar-vid i { width: 0; height: 0; margin-left: 4px; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.ar-barra { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); margin-top: 7px; overflow: hidden; }
.ar-barra i { display: block; height: 100%; width: 35%; background: var(--grad); }

/* 05 · Mensajes de voz. */
.mk-voz { display: grid; gap: 12px; }
.vz-burbuja { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 18px 18px 18px 6px; background: var(--grad); color: #141416; }
.vz-play { position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: #141416; }
.vz-play::after { content: ''; position: absolute; left: 13px; top: 10px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.vz-onda { flex: 1; min-width: 0; display: flex; align-items: center; gap: 3px; height: 30px; }
.vz-onda i { flex: 1; max-width: 5px; height: 100%; border-radius: 3px; background: #141416; transform: scaleY(.5); }
.vz-onda i:nth-child(3n) { transform: scaleY(.8); } .vz-onda i:nth-child(4n) { transform: scaleY(.35); } .vz-onda i:nth-child(5n) { transform: scaleY(.95); }
.vz-t { font: 700 12px var(--f-titulo); }
.vz-txt { margin: 0; font-size: 14.5px; line-height: 1.5; color: #F4F1EC; background: rgba(255, 255, 255, .05); border-radius: 14px; padding: 12px 14px; }
.vz-pie { display: flex; align-items: center; gap: 8px; color: #A7A2B6; font-size: 12px; }
.vz-pie i { width: 8px; height: 8px; border-radius: 50%; background: #4ED18E; }

/* 06 · Grupos de trabajo. */
.tm-av { display: flex; justify-content: center; margin: 4px 0 16px; padding-left: 10px; }
.tm-av span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font: 800 14px var(--f-titulo); color: #141416; border: 3px solid #1E1D23; margin-left: -10px; }
.av-1 { background: #FF5470; } .av-2 { background: #FF9A3E; } .av-3 { background: #7CB2FF; } .av-4 { background: #4ED18E; } .av-5 { background: #3A3941; color: #fff; }
.tm-lados { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tm-lados span { padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: 12px; color: #A7A2B6; min-width: 0; }
.tm-lados b { display: block; color: #F4F1EC; font-size: 13px; margin-bottom: 2px; }
.tm-msj { margin: 12px 0 0; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #C9C5D3; }
.tm-msj i { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: #4ED18E; }

/* Confidencial y transparente. */
.confi-in { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .confi-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; } }
.confi-arte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14px, .5fr) auto minmax(14px, .5fr) minmax(0, 1fr); align-items: center; }
.cf-lado { min-width: 0; padding: 16px 10px; border-radius: 18px; background: var(--oscuro-2); border: 1px solid rgba(255, 84, 112, .45); text-align: center; }
.cf-equipo { border-color: rgba(255, 154, 62, .5); }
.cf-lado b { display: block; font: 800 15px var(--f-titulo); color: #fff; }
.cf-lado small { display: block; margin-top: 4px; color: #A7A2B6; font-size: 12px; }
.cf-linea { position: relative; height: 2px; margin: 0 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 6px, transparent 6px 12px); }
.cf-linea i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #FF5470; box-shadow: 0 0 12px #FF5470; opacity: 0; }
.cf-vuelta i { background: #FF9A3E; box-shadow: 0 0 12px #FF9A3E; }
.cf-escudo { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; background: var(--grad); color: #141416; }
.cf-escudo svg { width: 38px; height: 44px; }
.confi-puntos { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .confi-puntos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .confi-puntos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.confi-puntos li { position: relative; padding: 18px 18px 18px 54px; border-radius: 18px; background: var(--oscuro-2); border: 1px solid var(--oscuro-linea); color: #C9C5D3; font-size: 14.5px; }
.confi-puntos li b { display: block; color: #fff; font: 700 15.5px var(--f-titulo); margin-bottom: 4px; }
.confi-puntos li::before { content: '✓'; position: absolute; left: 16px; top: 18px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #141416; font: 800 13px var(--f-titulo); }

/* Las animaciones (solo si la persona no pidió reducir el movimiento). */
@media (prefers-reduced-motion: no-preference) {
  .js-anima [data-escena]:not(.visto) .tz li, .js-anima [data-escena]:not(.visto) .ag-c, .js-anima [data-escena]:not(.visto) .ar-f,
  .js-anima [data-escena]:not(.visto) .tm-av span, .js-anima [data-escena]:not(.visto) .vz-txt span { opacity: 0; }
  .fuera, .fuera * { animation-play-state: paused !important; }
  /* 01: cada paso aparece en orden, queda y vuelve a empezar. */
  .visto .tz li { animation: tz-paso 9s ease infinite both; }
  .visto .tz li:nth-child(2) { animation-delay: .8s; } .visto .tz li:nth-child(3) { animation-delay: 1.6s; }
  .visto .tz li:nth-child(4) { animation-delay: 2.4s; } .visto .tz li:nth-child(5) { animation-delay: 3.2s; }
  .visto .tz-fin i { animation: tz-ok 9s ease 3.2s infinite both; }
  /* 02: las tareas caen en su día; una se reprograma al jueves; la de hoy late. */
  .visto .ag-c { animation: ag-entra .5s cubic-bezier(.2, .8, .2, 1) both; }
  .visto .c-2 { animation-delay: .15s; } .visto .c-4 { animation-delay: .3s; } .visto .c-5 { animation: ag-entra .5s cubic-bezier(.2, .8, .2, 1) .45s both, ag-late 1.8s ease-out 1s infinite; }
  .visto .ag-mueve { animation: ag-entra .5s cubic-bezier(.2, .8, .2, 1) .6s both, ag-mueve 7s ease-in-out 1.4s infinite; }
  .visto .ag-nota { animation: ag-nota 7s ease 1.4s infinite both; }
  /* 03: una tarea recorre el tablero hasta quedar aprobada. */
  .visto .tb-mueve { animation: tb-mueve 10s ease-in-out infinite both; }
  /* 04: los archivos llegan y el video se reproduce. */
  .visto .ar-f { animation: ar-entra .6s cubic-bezier(.2, .8, .2, 1) both; }
  .visto .ar-f:nth-child(2) { animation-delay: .35s; } .visto .ar-f:nth-child(3) { animation-delay: .7s; }
  .visto .ar-barra i { animation: ar-play 6s linear 1.2s infinite both; }
  /* 05: la onda suena y la transcripción se escribe sola. */
  .visto .vz-onda i { animation: vz-onda 1.1s ease-in-out infinite; }
  .visto .vz-onda i:nth-child(2n) { animation-delay: -.3s; } .visto .vz-onda i:nth-child(3n) { animation-delay: -.6s; } .visto .vz-onda i:nth-child(5n) { animation-delay: -.85s; }
  .visto .vz-txt span { animation: vz-palabra 8s ease infinite both; }
  .visto .vz-txt span:nth-child(2) { animation-delay: .15s; } .visto .vz-txt span:nth-child(3) { animation-delay: .3s; } .visto .vz-txt span:nth-child(4) { animation-delay: .45s; }
  .visto .vz-txt span:nth-child(5) { animation-delay: .6s; } .visto .vz-txt span:nth-child(6) { animation-delay: .75s; } .visto .vz-txt span:nth-child(7) { animation-delay: .9s; }
  .visto .vz-txt span:nth-child(8) { animation-delay: 1.05s; } .visto .vz-txt span:nth-child(9) { animation-delay: 1.2s; } .visto .vz-txt span:nth-child(10) { animation-delay: 1.35s; }
  .visto .vz-txt span:nth-child(11) { animation-delay: 1.5s; } .visto .vz-txt span:nth-child(12) { animation-delay: 1.65s; }
  /* 06: las personas se suman al team. */
  .visto .tm-av span { animation: tm-pop .55s cubic-bezier(.3, 1.6, .5, 1) both; }
  .visto .tm-av .av-2 { animation-delay: .25s; } .visto .tm-av .av-3 { animation-delay: .5s; } .visto .tm-av .av-4 { animation-delay: .75s; } .visto .tm-av .av-5 { animation-delay: 1s; }
  .visto .tm-msj { animation: ar-entra .6s ease 1.3s both; }
  /* Confidencial: la información viaja de un lado al otro, protegida. */
  .visto .cf-linea i { animation: cf-viaja 2.6s linear infinite; }
  .visto .cf-linea i:nth-child(2) { animation-delay: .87s; } .visto .cf-linea i:nth-child(3) { animation-delay: 1.73s; }
  .visto .cf-vuelta i { animation-name: cf-vuelve; }
  .visto .cf-escudo { animation: cf-late 2.6s ease-out infinite; }
}
@keyframes tz-paso { 0% { opacity: 0; transform: translateX(-12px); } 6%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes tz-ok { 0%, 6% { box-shadow: 0 0 0 0 rgba(78, 209, 142, .7); } 20%, 100% { box-shadow: 0 0 0 12px rgba(78, 209, 142, 0); } }
@keyframes ag-entra { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
@keyframes ag-late { 0% { box-shadow: 0 0 0 0 rgba(78, 209, 142, .75); } 70%, 100% { box-shadow: 0 0 0 9px rgba(78, 209, 142, 0); } }
@keyframes ag-mueve { 0%, 25% { left: 40.5%; transform: none; } 32% { transform: translateY(-6px) rotate(-3deg); } 42%, 88% { left: 60.75%; transform: none; } 96%, 100% { left: 40.5%; } }
@keyframes ag-nota { 0%, 38% { opacity: 0; transform: translateY(6px); } 44%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes tb-mueve {
  0% { left: 22px; opacity: 0; } 4%, 18% { left: 22px; opacity: 1; border-left-color: #FF5470; }
  26%, 42% { left: calc(22px + (100% - 52px) / 4 + 8px); border-left-color: #FF9A3E; }
  50%, 66% { left: calc(22px + (100% - 52px) / 2 + 16px); border-left-color: #7CB2FF; }
  74%, 92% { left: calc(22px + (100% - 52px) * .75 + 24px); border-left-color: #4ED18E; opacity: 1; }
  100% { left: calc(22px + (100% - 52px) * .75 + 24px); opacity: 0; }
}
@keyframes ar-entra { from { opacity: 0; transform: translateX(30px) scale(.96); } }
@keyframes ar-play { from { width: 0; } to { width: 100%; } }
@keyframes vz-onda { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@keyframes vz-palabra { 0% { opacity: 0; } 4%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes tm-pop { from { opacity: 0; transform: scale(.4); } }
@keyframes cf-viaja { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes cf-vuelve { 0% { left: calc(100% - 10px); opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: 0; opacity: 0; } }
@keyframes cf-late { 0% { box-shadow: 0 0 0 0 rgba(255, 119, 87, .55); } 70%, 100% { box-shadow: 0 0 0 22px rgba(255, 119, 87, 0); } }
@media (prefers-reduced-motion: reduce) { .cf-linea i:first-child { opacity: 1; left: 40%; } }
/* En el celular, la tarea baja por los estados (va después de la animación de la compu, para ganarle). */
@media (max-width: 559px) and (prefers-reduced-motion: no-preference) { .visto .tb-mueve { animation-name: tb-baja; } }

/* Lo que ganás: dos ideas fuertes, arriba de las escenas */
.ganas { display: grid; gap: 16px; margin: 36px 0 8px; }
@media (min-width: 760px) { .ganas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gana { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--r-lg); background: var(--oscuro); color: #fff; box-shadow: var(--sombra); min-width: 0; }
.gana h3 { margin: 0 0 6px; font: 800 clamp(20px, 2.2vw, 26px)/1.2 var(--f-titulo); color: #fff; }
.gana h3 b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gana p { margin: 0; color: var(--sobre-oscuro-2); font-size: 15.5px; }
.gana-ic { flex: none; width: 54px; height: 54px; border-radius: 16px; background: var(--grad); position: relative; }
.gana-ic::after { content: ''; position: absolute; inset: 13px; background: var(--oscuro); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.gana-nube { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 19a4.5 4.5 0 1 0-1.4-8.8A6 6 0 0 0 4.3 12.3 3.5 3.5 0 0 0 6.5 19z'/%3E%3Cpath d='M12 16v-5m-2.5 2.5L12 11l2.5 2.5'/%3E%3C/svg%3E"); }
.gana-orden { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3Cpath d='m3.5 6 1 1 2-2M3.5 12l1 1 2-2M3.5 18l1 1 2-2'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: no-preference) {
  .js-anima .ganas .gana { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s cubic-bezier(.2, .8, .2, 1); }
  .js-anima .ganas.visto .gana { opacity: 1; transform: none; }
  .js-anima .ganas.visto .gana + .gana { transition-delay: .12s; }
}

/* Chat con el equipo (el globo de abajo a la derecha) */
.chat-boton { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border: 0; border-radius: var(--pill); background: var(--oscuro); color: #fff; font: 600 14.5px var(--f-texto); cursor: pointer; box-shadow: 0 14px 40px -12px rgba(20, 20, 22, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset; transition: transform .2s; }
.chat-boton:hover { transform: translateY(-2px); }
.chat-boton b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* El robot sobre el degradé de la marca: tinta oscura, la antena blanca; la cabeza (un globo de diálogo) «habla» cada tanto y los ojos parpadean. */
.chat-robot, .chat-av { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #141416; box-shadow: 0 6px 18px -6px rgba(255, 84, 112, .7); }
.chat-robot svg, .chat-av svg { width: 32px; height: 32px; overflow: visible; }
.ch-globo { fill: rgba(255, 255, 255, .92); }
.ch-ojo, .ch-barra { fill: #141416; }
.ch-antena { fill: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .ch-cabeza { transform-box: view-box; transform-origin: 511px 330px; animation: ch-habla 4.8s ease-in-out infinite; }
  .ch-ojo { transform-box: fill-box; transform-origin: center; animation: ch-parpadeo 4.8s infinite; }
}
@keyframes ch-habla { 0%, 62%, 100% { transform: none; } 66% { transform: translateY(-34px) rotate(-5deg); } 70% { transform: translateY(0) rotate(4deg); } 74% { transform: translateY(-20px) rotate(-2deg); } 78% { transform: none; } }
@keyframes ch-parpadeo { 0%, 44%, 50%, 100% { transform: none; } 47% { transform: scaleY(.12); } }
.chat-n { position: absolute; top: -4px; left: 34px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--grad); color: var(--oscuro); font: 800 12px/22px var(--f-titulo); text-align: center; }
.chat-boton.con-nuevos .chat-robot { animation: ch-late 1.6s infinite; }
@keyframes ch-late { 0% { box-shadow: 0 0 0 0 rgba(255, 84, 112, .6); } 70%, 100% { box-shadow: 0 0 0 14px rgba(255, 84, 112, 0); } }
@media (prefers-reduced-motion: no-preference) { .ch-antena { animation: ch-antena 2.4s ease-in-out infinite; } }
@keyframes ch-antena { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.chat-abierto .chat-boton { display: none; }
.chat-panel { position: fixed; right: 18px; bottom: 18px; z-index: 61; width: min(380px, calc(100vw - 24px)); height: min(600px, calc(100vh - 36px)); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--tarjeta); border: 1px solid var(--linea); box-shadow: 0 30px 80px -20px rgba(20, 20, 22, .5); }
.chat-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .chat-panel { animation: ch-entra .28s cubic-bezier(.2, .8, .2, 1); } }
@keyframes ch-entra { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.chat-cab { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: radial-gradient(120% 140% at 100% 0, rgba(255, 84, 112, .35), transparent 60%), #141416; color: #fff; }
.chat-cab > div { flex: 1; min-width: 0; display: grid; }
.chat-cab b { font: 700 15.5px var(--f-titulo); }
.chat-cab small { display: flex; align-items: center; gap: 6px; color: #C9C5D3; font-size: 12.5px; }
.chat-cab small i { width: 8px; height: 8px; border-radius: 50%; background: #2ED47A; }
.chat-cerrar { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.chat-cerrar:hover { background: rgba(255, 255, 255, .2); }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--papel); }
.chat-m { display: grid; gap: 3px; max-width: 85%; }
.chat-m.el { align-self: flex-start; }
.chat-m.yo { align-self: flex-end; justify-items: end; }
.chat-b { padding: 10px 14px; border-radius: 16px; background: var(--tarjeta); border: 1px solid var(--linea); color: var(--tinta); font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-m.el .chat-b { border-bottom-left-radius: 4px; }
.chat-m.yo .chat-b { background: var(--grad); color: var(--oscuro); border-color: transparent; border-bottom-right-radius: 4px; }
.chat-m.enviando { opacity: .6; }
.chat-m small { color: var(--tinta-3); font-size: 11.5px; }
.chat-m small:empty { display: none; }
.chat-espera { margin: 4px auto 0; max-width: 90%; text-align: center; color: var(--tinta-2); font-size: 13px; }
/* «Tus datos»: el formulario que aparece cuando el equipo los pide, y la burbuja con lo que dejó. */
.chat-tus-datos { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: var(--tarjeta); border: 1px solid var(--linea); box-shadow: var(--sombra); }
.chat-tus-datos b { font: 700 14px var(--f-titulo); color: var(--tinta); }
.chat-tus-datos input { width: 100%; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--linea); background: var(--papel); color: var(--tinta); font: 16px var(--f-texto); }
.chat-tus-datos input:focus { outline: 2px solid var(--coral); outline-offset: 0; }
.chat-tus-datos small { color: var(--tinta-3); font-size: 11.5px; text-align: center; }
.chat-m.chat-mis-datos .chat-b { background: var(--tarjeta); color: var(--tinta); border: 1px dashed var(--coral); }
.chat-form { padding: 12px; border-top: 1px solid var(--linea); background: var(--tarjeta); display: grid; gap: 8px; }
.chat-datos { display: grid; gap: 6px; }
.chat-datos[hidden] { display: none; }
/* 16 px: con menos, el iPhone agranda la página al tocar el campo y el chat queda corrido. */
.chat-datos input, .chat-escribir textarea { width: 100%; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--linea); background: var(--papel); color: var(--tinta); font: 16px var(--f-texto); }
.chat-datos input:focus, .chat-escribir textarea:focus { outline: 2px solid var(--coral); outline-offset: 0; }
.chat-escribir { display: flex; gap: 8px; align-items: flex-end; }
.chat-escribir textarea { resize: none; max-height: 140px; line-height: 1.4; }
.chat-enviar { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--grad); color: var(--oscuro); display: grid; place-items: center; cursor: pointer; }
.chat-enviar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chat-error { margin: 0; color: #D6294F; font-size: 13px; }
.chat-legal { margin: 0; color: var(--tinta-3); font-size: 11.5px; text-align: center; }
.chat-legal a { color: inherit; }
@media (max-width: 559px) {
  .chat-hola { display: none; }
  .chat-boton { padding: 6px; right: 14px; bottom: 14px; }
  .chat-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; max-height: 100vh; border-radius: 0; border: 0; }
}
