@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("fuentes/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("fuentes/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("fuentes/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("fuentes/poppins-700.woff2") format("woff2"); }

:root {
  --tinta: #141414;
  --tinta-2: #1C1C1E;
  --tinta-3: #2C2C2E;
  --coral: #FF6433;
  --coral-hover: #F0521F;
  --coral-claro: #FF8A5C;
  --coral-texto: #C43C13;
  --coral-noche: #FF7A50;
  --melocoton: #FFECE4;
  --melocoton-2: #FFD9C9;
  --crema: #F7F5F2;
  --blanco: #FFFFFF;
  --hundido: #F1EEEA;
  --texto-suave: #57534E;
  --texto-tenue: #6E6A64;
  --texto-noche: #A8A5A0;
  --linea: #E8E4DF;
  --ok: #157A42;
  --ok-fondo: #E9F7EF;

  --ig: #D62976;
  --fb: #1877F2;
  --tt: #141414;
  --yt: #E62117;
  --li: #0A66C2;

  --fuente: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-lg: 20px;
  --r-xl: 28px;
  --sombra: 0 1px 2px rgba(20, 20, 20, .05), 0 8px 24px rgba(20, 20, 20, .06);
  --sombra-alta: 0 2px 6px rgba(20, 20, 20, .06), 0 30px 70px -10px rgba(20, 20, 20, .2);
  --foco: 0 0 0 3px rgba(255, 100, 51, .4);
  --ancho: 1240px;
  --suave: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--fuente); font-size: 17px; line-height: 1.6; color: var(--tinta); background: var(--blanco); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--foco); border-radius: 8px; }
::selection { background: var(--coral); color: var(--tinta); }

.saltar { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--tinta); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.saltar:focus { top: 16px; }
.sr-solo { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.contenedor { width: min(100% - 40px, var(--ancho)); margin-inline: auto; }
.seccion { padding-block: clamp(88px, 11vw, 150px); position: relative; }
.seccion--crema { background: var(--crema); }
.seccion--tinta { background: var(--tinta); color: #EDEDED; }
.seccion--coral { background: var(--coral); }

.etiqueta { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-texto); }
.seccion--tinta .etiqueta { color: var(--coral-noche); }
.seccion--coral .etiqueta { color: var(--tinta); }
.titulo-grande { font-size: clamp(42px, 6.6vw, 92px); letter-spacing: -0.045em; line-height: .98; }
.titulo-seccion { text-wrap: balance; font-size: clamp(38px, 5.4vw, 72px); letter-spacing: -0.045em; line-height: 1; margin-top: 16px; }
.entradilla { font-size: clamp(17px, 1.6vw, 20px); color: var(--texto-suave); margin-top: 22px; max-width: 52ch; }
.seccion--tinta .entradilla { color: var(--texto-noche); }
.centro { text-align: center; }
.centro .titulo-seccion, .centro .entradilla { margin-inline: auto; }
.cabecera-seccion { margin-bottom: clamp(48px, 6vw, 80px); }

.subrayado-mano { position: relative; display: inline-block; white-space: nowrap; }
.subrayado-mano svg { position: absolute; left: -3%; bottom: -.16em; width: 106%; height: .36em; overflow: visible; pointer-events: none; }
.subrayado-mano path { fill: none; stroke: var(--coral); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; }
.subrayado-mano.visible path, .visible .subrayado-mano path { animation: trazo 1.3s .2s var(--suave) forwards; }
.subrayado-mano--tinta path { stroke: var(--tinta); }
@keyframes trazo { to { stroke-dashoffset: 0; } }

/* Botones */
.boton {
  position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer; font-size: 14px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--suave), background-color .2s ease, box-shadow .3s ease, color .2s;
}
.boton:hover { transform: translateY(-2px); }
.boton:active { transform: scale(.97); }
.boton--tinta { background: var(--tinta); color: #fff; }
.boton--tinta:hover { background: #2E2E30; }
.boton--coral { background: var(--coral); color: var(--tinta); }
.boton--coral:hover { background: var(--coral-hover); }
.boton--blanco { background: #fff; color: var(--tinta); }
.boton--borde { background: transparent; color: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.boton--pequeno { min-height: 40px; padding: 0 18px; font-size: 12.5px; }
.boton::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-130%); }
.boton:hover::after { transition: transform .8s var(--suave); transform: translateX(130%); }
.boton .flecha { width: 16px; height: 16px; transition: transform .3s var(--suave); }
.boton:hover .flecha { transform: translateX(4px); }
.barra-cta { display: flex; width: 100%; min-height: 60px; font-size: 14px; }

/* Barra */
.barra { position: fixed; left: 0; right: 0; top: 0; z-index: 60; padding: 12px 16px; transition: transform .45s var(--suave); }
.barra.oculta { transform: translateY(-110%); }
.barra__dentro {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 60px; padding: 0 8px 0 20px; border-radius: 16px;
  background: rgba(255, 255, 255, .78); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: inset 0 0 0 1px rgba(20, 20, 20, .06), 0 10px 40px -16px rgba(20, 20, 20, .25);
}
.barra--sobre .barra__dentro { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: #fff; }
.barra--sobre .barra__logo .logo-claro { display: none; }
.barra .barra__logo .logo-oscuro { display: none; }
.barra--sobre .barra__logo .logo-oscuro { display: block; }
.barra__logo img { height: 22px; width: auto; }
.barra__menu { display: flex; align-items: center; gap: 4px; }
.barra__menu a { padding: 8px 14px; border-radius: 10px; text-decoration: none; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .8; transition: opacity .2s, background-color .2s; }
.barra__menu a:hover, .barra__menu a[aria-current="page"] { opacity: 1; background: rgba(20, 20, 20, .06); }
.barra--sobre .barra__menu a:hover { background: rgba(255, 255, 255, .14); }
.barra__acciones { display: flex; align-items: center; gap: 8px; }
.barra--sobre .boton--tinta { background: #fff; color: var(--tinta); }
.barra__abrir { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.barra__abrir span, .barra__abrir span::before, .barra__abrir span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ""; transition: transform .25s ease, background-color .2s; }
.barra__abrir span::before { position: absolute; top: -6px; }
.barra__abrir span::after { position: absolute; top: 6px; }
.barra[data-abierta="true"] .barra__abrir span { background: transparent; }
.barra[data-abierta="true"] .barra__abrir span::before { transform: translateY(6px) rotate(45deg); }
.barra[data-abierta="true"] .barra__abrir span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: radial-gradient(46% 60% at 84% 34%, #FFD3BF 0%, rgba(255, 211, 191, 0) 100%), radial-gradient(40% 50% at 4% 96%, #FFE3D6 0%, rgba(255, 227, 214, 0) 100%), #FFF8F4; isolation: isolate; }
.hero__dentro { flex: 1; width: min(100% - 40px, var(--ancho)); margin-inline: auto; padding: 108px 0 44px; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; grid-template-areas: ". escena" "titulo escena" "texto escena" ". escena"; column-gap: clamp(32px, 5vw, 80px); }
.hero__titulo { grid-area: titulo; margin-left: -.012em; font-size: clamp(40px, min(5.5vw, 10.4svh), 80px); letter-spacing: -0.05em; line-height: 1; }
.hero__titulo .linea { display: block; white-space: nowrap; position: relative; }
.hero__titulo .linea:first-child { z-index: 1; }
.hero__texto { grid-area: texto; }
.palabra-clave { display: inline-block; padding: .02em .16em .05em; margin-block: .13em .06em; border-radius: .18em; background: var(--coral); color: var(--tinta); rotate: -2deg; transform-origin: left center; }
.palabra-clave__texto::after { content: ""; display: inline-block; width: .06em; height: .78em; margin-left: .04em; background: var(--tinta); vertical-align: -.05em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero__sub { font-size: clamp(16.5px, 1.45vw, 19px); color: var(--texto-suave); margin-top: 24px; max-width: 31em; }
.hero__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.escena { grid-area: escena; position: relative; align-self: end; width: 100%; max-width: 600px; justify-self: end; height: min(680px, calc(100svh - 216px)); min-height: 460px; --mx: 0; --my: 0; }
.escena__forma { position: absolute; inset: 9% 0 0; }
.escena__forma svg { width: 100%; height: 100%; overflow: visible; }
.escena__forma path { fill: var(--coral); }
.escena__recorte { position: absolute; inset: -4% 0 5.7%; overflow: hidden; border-radius: 0 0 54px 54px; }
.escena__palabra { position: absolute; left: 0; right: 0; top: 19%; height: 34%; overflow: hidden; container-type: inline-size; }
.escena__palabra span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; letter-spacing: -.06em; line-height: 1; color: #FF8357; font-size: min(calc(150cqw / var(--letras, 4)), 42cqw); transition: transform .8s var(--suave), opacity .5s; }
.escena__palabra span.entra { transform: translateY(70%); opacity: 0; }
.escena__palabra span.sale { transform: translateY(-70%); opacity: 0; }
.escena__personas { position: absolute; inset: 0; }
.persona { position: absolute; left: 50%; bottom: -4%; height: 100%; width: auto; max-width: none; translate: -50% 0; opacity: 0; transform: translateY(16%) scale(.94); transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.5, 0, .75, 0), opacity .3s .1s; }
.persona.activa { opacity: 1; transform: none; transition: transform .95s cubic-bezier(.2, 1.25, .4, 1), opacity .35s; }
.persona--precio { left: 52%; }
.persona--quiero { left: 53%; }
.capa { transform: translate3d(calc(var(--mx) * var(--z) * 1px), calc(var(--my) * var(--z) * 1px), 0); transition: transform .5s cubic-bezier(.2, .8, .3, 1); }
.flota { position: absolute; width: 92px; height: auto; filter: drop-shadow(0 18px 20px rgba(120, 40, 10, .24)); animation: flotar-obj 7s ease-in-out infinite; transition: opacity .6s .35s, transform .5s cubic-bezier(.2, .8, .3, 1); }
.flota--1 { left: 2%; top: 14%; width: 84px; rotate: -14deg; }
.flota--2 { right: 2%; top: 13%; width: 82px; rotate: 12deg; animation-duration: 8.5s; animation-delay: -2s; }
.flota--3 { left: -56px; bottom: 27%; width: 104px; rotate: -8deg; animation-duration: 9s; animation-delay: -4s; }
.flota--4 { right: -22px; bottom: 3%; width: 112px; rotate: 10deg; animation-duration: 7.8s; animation-delay: -1s; }
@keyframes flotar-obj { 50% { translate: 0 -16px; } }
.escena__charlas { position: absolute; inset: 0; pointer-events: none; }
.globo { position: absolute; border-radius: 20px; font-size: 14.5px; line-height: 1.4; box-shadow: 0 22px 44px -18px rgba(60, 18, 4, .5); opacity: 0; transform: translateY(22px) scale(.86); transition: opacity .3s, transform .4s var(--suave); }
.globo small { display: block; font-size: 11.5px; font-weight: 600; opacity: .68; }
.globo--suyo { left: -34px; top: 36%; display: flex; gap: 10px; align-items: center; padding: 10px 18px 10px 10px; background: #fff; border-bottom-left-radius: 6px; font-weight: 600; transform-origin: 0 100%; }
.globo--mio { right: -24px; top: 53%; width: 262px; padding: 14px 16px; background: var(--tinta); color: #fff; border-bottom-right-radius: 6px; transform-origin: 100% 100%; }
.globo--mio small { opacity: .72; margin-bottom: 3px; }
.globo--mio b { display: block; margin-top: 10px; padding: 9px; border-radius: 12px; background: var(--coral); color: var(--tinta); text-align: center; font-size: 13.5px; }
.globo--fin { left: 18px; bottom: 11%; display: flex; align-items: center; gap: 9px; padding: 10px 18px 10px 10px; border-radius: 999px; background: #fff; font-weight: 600; font-size: 14px; transform-origin: 0 100%; }
.globo--fin svg { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--ok); color: #fff; }
.charla.activa .globo { opacity: 1; transform: none; transition: opacity .35s, transform .7s cubic-bezier(.2, 1.4, .4, 1); }
.charla.activa .globo--suyo { transition-delay: .3s; }
.charla.activa .globo--mio { transition-delay: 1.1s; }
.charla.activa .globo--fin { transition-delay: 2.1s; }
.js .hero:not(.lista) .persona, .js .hero:not(.lista) .globo, .js .hero:not(.lista) .flota { opacity: 0; }
.js .hero:not(.lista) .persona.activa { transform: translateY(16%) scale(.94); }
.js .hero:not(.lista) .globo { transform: translateY(22px) scale(.86); }
.js .escena__forma { animation: forma-entra .8s var(--suave) both; transform-origin: 10% 100%; }
@keyframes forma-entra { from { transform: scale(.86) rotate(-3deg); opacity: 0; } }
.escena__marcas { position: absolute; left: 50%; bottom: -22px; translate: -50% 0; display: flex; gap: 6px; }
.escena__marcas i { width: 8px; height: 8px; border-radius: 8px; background: rgba(20, 20, 20, .18); transition: width .5s var(--suave), background-color .3s; }
.escena__marcas i.activa { width: 26px; background: var(--tinta); }
.hero__base { padding-bottom: 24px; }
.hero__pie { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid rgba(20, 20, 20, .12); font-size: 13.5px; font-weight: 500; color: var(--texto-suave); }
.hero__redes { display: flex; gap: 8px; }

.avatar { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 14px; font-weight: 600; color: var(--tinta); background: var(--melocoton); }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar--b { background: #E5EEFF; } .avatar--c { background: #E9F7EF; } .avatar--d { background: #F3E8FF; } .avatar--e { background: #FFF4E0; }
.avatar--tinta { background: var(--tinta); color: #fff; }

.red__ico { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #fff; font-size: 11px; font-weight: 700; flex: none; }
.red__ico svg { width: 56%; height: 56%; }
.red__ico--ig { background: linear-gradient(135deg, #FEDA75, #FA7E1E 25%, #D62976 55%, #962FBF 80%, #4F5BD5); }
.red__ico--fb { background: var(--fb); }
.red__ico--tt { background: var(--tt); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.red__ico--yt { background: var(--yt); }
.red__ico--li { background: var(--li); }

/* Cinta en bucle */
.cinta { background: var(--tinta); color: #EDEDED; padding-block: 20px; overflow: hidden; display: grid; gap: 12px; border-top: 1px solid var(--tinta-3); }
.cinta__pista { display: flex; gap: 12px; width: max-content; animation: desfile 40s linear infinite; }
.cinta__pista--inversa { animation-direction: reverse; animation-duration: 48s; }
@keyframes desfile { to { transform: translateX(-50%); } }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--tinta-2); box-shadow: inset 0 0 0 1px var(--tinta-3); font-size: 15px; font-weight: 600; white-space: nowrap; }
.chip--clave { padding: 8px 18px; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 122, 80, .55); color: var(--coral-noche); }
.chip--resultado { padding: 8px 18px; background: rgba(255, 255, 255, .05); box-shadow: none; font-weight: 500; color: #D6D3CF; }
.chip--resultado b { color: #fff; }

/* Historia fija: cada paso con su color y su foto */
.historia { position: relative; }
.historia__fija { --texto: var(--tinta); --suave-t: rgba(20, 20, 20, .8); position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 84px 0 28px; overflow: hidden; background: #FFDCCB; color: var(--texto); transition: background-color .8s var(--suave), color .5s; }
.historia__fija[data-paso="1"] { --texto: #fff; --suave-t: rgba(255, 255, 255, .84); background: #23110B; }
.historia__fija[data-paso="2"] { background: #F3E9DC; }
.historia__fija[data-paso="3"] { background: var(--coral); }
.historia__fotos { position: absolute; inset: 0 0 0 53%; border-radius: 56px 0 0 56px; overflow: hidden; }
.historia__fotos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 86% 40%; clip-path: inset(100% 0 0 0); scale: 1.14; transition: clip-path .9s var(--suave), scale 1.4s var(--suave); }
.historia__fotos img.pasada, .historia__fotos img.activa { clip-path: inset(0); scale: 1; }
.historia__palabras span { position: absolute; left: 2vw; bottom: -.16em; font-size: clamp(120px, 19vw, 330px); font-weight: 700; letter-spacing: -.06em; line-height: 1; white-space: nowrap; opacity: 0; transform: translateY(40%); transition: opacity .6s, transform .9s var(--suave); }
.historia__palabras span.activa { opacity: .07; transform: none; }
.historia__rejilla { position: relative; width: min(100% - 40px, var(--ancho)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) 300px minmax(0, .74fr); gap: 48px; align-items: center; flex: 1; min-height: 0; }
.historia__textos { position: relative; height: min(540px, 66svh); }
.historia__texto { position: absolute; inset: 12px 0 64px; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(30px); transition: opacity .55s var(--suave), transform .55s var(--suave); pointer-events: none; }
.historia__texto.activo { opacity: 1; transform: none; pointer-events: auto; }
.historia__texto h2 { font-size: clamp(36px, 4.1vw, 62px); letter-spacing: -0.045em; line-height: 1; max-width: 12ch; }
.historia__texto .etiqueta { color: inherit; }
.historia__texto p:not(.etiqueta) { font-size: 18px; margin-top: 20px; max-width: min(25em, calc(100% - 46px)); color: var(--suave-t); }
.historia__marcas { position: absolute; top: 0; left: 0; display: flex; gap: 8px; z-index: 2; }
.historia__marcas i { width: 36px; height: 5px; border-radius: 4px; background: color-mix(in srgb, currentColor 22%, transparent); overflow: hidden; position: relative; }
.historia__marcas i::after { content: ""; position: absolute; inset: 0; background: currentColor; transform: scaleX(var(--llenado, 0)); transform-origin: left; }
.historia__boton { position: absolute; left: 0; bottom: 0; z-index: 2; }
.historia__fija[data-paso="1"] .historia__boton { background: var(--coral); color: var(--tinta); }
.historia__movil { position: relative; display: flex; flex-direction: column; align-items: center; color: var(--tinta); }
.historia__objetos img { position: absolute; z-index: 2; width: 112px; height: auto; filter: drop-shadow(0 20px 22px rgba(60, 18, 4, .36)); opacity: 0; transform: translateY(60px) scale(.5); transition: opacity .4s, transform .8s cubic-bezier(.2, 1.4, .4, 1); animation: flotar-obj 8s ease-in-out infinite; }
.historia__objetos img:first-child { right: -66px; top: 7%; rotate: 12deg; }
.historia__objetos img:last-child { left: -88px; bottom: 15%; rotate: -10deg; animation-delay: -4s; }
.historia__objetos.activa img { opacity: 1; transform: none; transition-delay: .25s; }
.historia__objetos.activa img:last-child { transition-delay: .4s; }
.historia__pasos { height: 300svh; }

.movil { position: relative; width: 300px; height: min(600px, 62svh); border-radius: 44px; background: var(--tinta); padding: 10px; box-shadow: 0 40px 80px -24px rgba(20, 20, 20, .55); }
.movil::before { content: ""; position: absolute; top: 18px; left: 50%; width: 84px; height: 22px; border-radius: 999px; background: var(--tinta); transform: translateX(-50%); z-index: 3; }
.movil__pantalla { position: relative; height: 100%; border-radius: 35px; background: #000; overflow: hidden; }
.pantalla { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--suave); display: flex; flex-direction: column; }
.pantalla.activa { opacity: 1; }
.reel { position: relative; flex: 1; background: var(--fondo, linear-gradient(160deg, #FF9A6B, #FF6433 50%, #8A2A0C)); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .3), transparent 25%, transparent 60%, rgba(0, 0, 0, .55)); }
.reel__cuenta { position: absolute; z-index: 2; top: 46px; left: 14px; display: flex; gap: 8px; align-items: center; color: #fff; font-size: 13px; font-weight: 600; }
.reel__cuenta .avatar { width: 28px; height: 28px; font-size: 11px; }
.reel__texto { position: absolute; z-index: 2; left: 14px; right: 14px; top: 40%; text-align: center; color: #fff; font-weight: 700; font-size: 20px; line-height: 1.15; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.historia .reel::after { background: linear-gradient(180deg, rgba(0, 0, 0, .42), transparent 26%, transparent 50%, rgba(0, 0, 0, .72)); }
.historia .reel__texto { top: auto; bottom: 16px; }
.reel__burbuja { position: absolute; z-index: 2; left: 20px; right: 20px; top: 54%; background: #fff; color: var(--tinta); border-radius: 16px; padding: 10px 12px; font-size: 13px; text-align: center; box-shadow: var(--sombra-alta); }
.comentarios { background: #fff; padding: 12px 14px 14px; display: grid; gap: 10px; }
.com { display: flex; gap: 8px; font-size: 12.5px; line-height: 1.35; opacity: 0; transform: translateY(10px); }
.pantalla.activa .com { animation: entra .5s var(--suave) forwards; }
.pantalla.activa .com:nth-child(2) { animation-delay: .5s; } .pantalla.activa .com:nth-child(3) { animation-delay: 1s; }
.com .avatar { width: 26px; height: 26px; font-size: 11px; }
.com b { font-weight: 600; }
.com small { display: block; color: var(--coral-texto); font-weight: 600; font-size: 11px; }
@keyframes entra { to { opacity: 1; transform: none; } }
.pantalla__etiqueta { display: flex; justify-content: space-between; align-items: center; width: 300px; margin-top: 12px; padding: 12px 18px; border-radius: 12px; background: var(--tinta); color: #fff; font-size: 13.5px; font-weight: 600; }
.pantalla__etiqueta span:last-child { color: var(--coral-noche); }
.dm { background: #fff; flex: 1; display: flex; flex-direction: column; }
.dm__cabeza { display: flex; gap: 10px; align-items: center; padding: 46px 14px 12px; border-bottom: 1px solid var(--linea); font-size: 13px; }
.dm__cabeza .avatar { width: 30px; height: 30px; font-size: 12px; }
.dm__cabeza small { display: block; color: var(--texto-tenue); font-size: 11px; }
.dm__cuerpo { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; }
.dm .burbuja { opacity: 0; transform: translateY(10px) scale(.96); }
.pantalla.activa .dm .burbuja { animation: entra .5s var(--suave) forwards; }
.pantalla.activa .dm .burbuja:nth-child(2) { animation-delay: .7s; } .pantalla.activa .dm .burbuja:nth-child(3) { animation-delay: 1.4s; } .pantalla.activa .dm .burbuja:nth-child(4) { animation-delay: 2.1s; }
.venta-pantalla { background: #fff; flex: 1; padding: 52px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.venta-pantalla h4 { font-size: 15px; letter-spacing: -0.01em; }
.venta-total { padding: 22px 14px; border-radius: 18px; background: var(--ok-fondo); text-align: center; }
.venta-total strong { display: block; font-size: 40px; letter-spacing: -0.04em; color: var(--ok); line-height: 1.1; }
.venta-total small { color: var(--texto-suave); font-size: 12px; }
.venta-reel { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--melocoton); font-size: 12.5px; line-height: 1.35; }
.venta-reel img { width: 54px; height: 76px; object-fit: cover; object-position: 50% 30%; border-radius: 10px; flex: none; }
.venta-reel b { display: block; }
.venta-reel small { color: var(--texto-suave); font-size: 11.5px; }
.origen-fila { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; padding: 9px 11px; border-radius: 10px; background: var(--hundido); opacity: 0; }
.pantalla.activa .origen-fila { animation: entra .5s var(--suave) forwards; }
.pantalla.activa .origen-fila:nth-of-type(3) { animation-delay: .3s; } .pantalla.activa .origen-fila:nth-of-type(4) { animation-delay: .6s; } .pantalla.activa .origen-fila:nth-of-type(5) { animation-delay: .9s; }
.origen-fila b { font-weight: 600; }

.burbuja { max-width: 84%; padding: 9px 13px; border-radius: 18px; font-size: 13px; line-height: 1.45; }
.burbuja--suya { background: var(--hundido); align-self: flex-start; border-bottom-left-radius: 6px; }
.burbuja--mia { background: var(--tinta); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.burbuja__boton { display: block; margin-top: 8px; background: #fff; color: var(--tinta); text-align: center; border-radius: 10px; padding: 7px 10px; font-weight: 600; font-size: 12.5px; }

/* Máscara con la «t» */
.mascara { position: relative; height: 330svh; background: radial-gradient(60% 34% at 50% 18%, #FFD3BF, transparent), #FFF3EC; }
.mascara__fija { position: sticky; top: 0; height: 100svh; overflow: hidden; background: radial-gradient(46% 60% at 50% 50%, #FFCDB6, transparent), #FFF3EC; }
.llegan { position: absolute; inset: 0; }
.llegan::before { content: ""; position: absolute; left: 50%; top: 50%; width: 150vmax; height: 150vmax; translate: -50% -50%; background: repeating-radial-gradient(circle, transparent 0 calc(11vmax - 2px), rgba(255, 100, 51, .17) calc(11vmax - 2px) 11vmax); mask-image: radial-gradient(closest-side, #000 20%, transparent 78%); -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 78%); }
.llega { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: max-content; translate: -50% -50%; will-change: transform; }
.llega--com { display: flex; align-items: center; gap: .7em; padding: .6em 1.3em .6em .6em; border-radius: 999px; background: #fff; box-shadow: 0 20px 44px -20px rgba(120, 40, 16, .42); font-size: clamp(15px, 1.2vw, 23px); font-weight: 600; white-space: nowrap; }
.llega--com img { width: 2.5em; height: 2.5em; border-radius: 50%; }
.llega--obj img { display: block; width: clamp(84px, 7.4vw, 132px); height: auto; filter: drop-shadow(0 20px 22px rgba(120, 40, 16, .28)); }
.mascara__fondo { position: absolute; inset: 0; background: var(--tinta); }
.mascara__fondo::before { content: ""; position: absolute; inset: 0; opacity: var(--noche, 1); background: radial-gradient(3px 3px at 12% 18%, #FFECE4, transparent), radial-gradient(3px 3px at 27% 9%, #FFD9C9, transparent), radial-gradient(3px 3px at 41% 5%, #FFECE4, transparent), radial-gradient(3px 3px at 63% 11%, #FFD9C9, transparent), radial-gradient(3px 3px at 91% 34%, #FFECE4, transparent), radial-gradient(3px 3px at 6% 44%, #FFD9C9, transparent), radial-gradient(70% 58% at 62% 78%, #8A3212, transparent 74%); }
.mascara__luna { position: absolute; right: 5%; top: 7%; width: clamp(60px, 7.6vw, 130px); height: auto; }
.mascara__contenido { position: absolute; z-index: 2; inset: 0 0 max(34svh, min(26.9vw, 47svh) - 6svh); display: flex; flex-direction: column; justify-content: center; text-align: center; color: #fff; padding: 64px 20px 0; opacity: 0; transform: translateY(30px); }
.mascara__contenido h2 { font-size: clamp(40px, min(6.6vw, 11.4svh), 104px); letter-spacing: -0.05em; line-height: .98; }
.mascara__contenido p { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .85); margin: 22px auto 0; max-width: 34em; }
.siesta { position: absolute; left: 0; bottom: min(0px, 47svh - 26.9vw); width: max(100%, 128svh); }
.siesta > img { display: block; width: 100%; height: auto; }
.siesta::after { content: ""; position: absolute; inset: calc(100% - 1px) 0 auto; height: 60svh; background: #E9E2D4; }
.siesta .globo { box-shadow: 0 18px 40px -14px rgba(20, 8, 2, .6); }
.siesta .globo--mio { background: var(--coral); color: var(--tinta); }
.siesta .globo--mio small { opacity: 1; }
.siesta .globo--suyo { left: 47%; top: auto; bottom: 84%; }
.siesta .globo--mio { right: auto; left: 62%; top: auto; bottom: 62%; width: max-content; }
.siesta .globo--fin { left: 76%; bottom: 80%; width: max-content; }
@keyframes subir { to { transform: translateY(-50%); } }

/* Canales */
.canales__cabeza { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.flechas { display: flex; gap: 8px; }
.flechas button { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--tinta); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--suave), background-color .2s; }
.flechas button:hover { transform: scale(1.06); background: var(--coral); color: var(--tinta); }
.flechas button:disabled { opacity: .3; cursor: default; transform: none; background: var(--tinta); color: #fff; }
.flechas svg { width: 20px; height: 20px; }
.canales__pista { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 26px; margin-top: 44px; scrollbar-width: none; }
.canales__pista::-webkit-scrollbar { display: none; }
.canal { flex: none; width: min(340px, 82vw); scroll-snap-align: start; border-radius: var(--r-xl); background: var(--blanco); padding: 26px; display: flex; flex-direction: column; gap: 14px; min-height: 340px; box-shadow: inset 0 0 0 1px var(--linea); transition: transform .4s var(--suave), box-shadow .4s; }
.canal:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--linea), var(--sombra-alta); }
.canal__foto { margin: -26px -26px 4px; height: 190px; overflow: hidden; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.canal__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; transition: transform .8s var(--suave); }
.canal:hover .canal__foto img { transform: scale(1.06); }
.canal__cabeza { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.canal__cabeza .red__ico { width: 40px; height: 40px; border-radius: 12px; font-size: 14px; }
.canal p { color: var(--texto-suave); font-size: 15.5px; }
.canal ul { display: grid; gap: 8px; margin-top: auto; }
.canal li { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 500; }
.canal li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex: none; }
.canal li.no::before { background: var(--linea); }
.canal li.no { color: var(--texto-tenue); }

/* Demo con pestañas */
.pestanas { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.pestana { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 0; border-radius: 999px; cursor: pointer; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--tinta-3); font-size: 14.5px; font-weight: 600; color: var(--texto-noche); transition: color .2s, background-color .2s; }
.pestana svg { width: 17px; height: 17px; }
.pestana:hover { color: #fff; }
.pestana[aria-selected="true"] { background: #fff; color: var(--tinta); box-shadow: none; }
.pestana__barra { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--coral); }
.pestana[aria-selected="true"] .pestana__barra { animation: avance 7s linear forwards; }
.demo.pausada .pestana[aria-selected="true"] .pestana__barra { animation-play-state: paused; }
@keyframes avance { to { width: 100%; } }
.navegador { border-radius: 22px; background: #fff; color: var(--tinta); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7); overflow: hidden; }
.navegador__barra { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--linea); background: #FCFBFA; }
.navegador__barra i { width: 11px; height: 11px; border-radius: 50%; }
.navegador__barra i:nth-child(1) { background: #FF8A7A; } .navegador__barra i:nth-child(2) { background: #FFCB5C; } .navegador__barra i:nth-child(3) { background: #6FD08C; }
.navegador__url { margin-left: 14px; flex: 1; max-width: 360px; padding: 5px 14px; border-radius: 999px; background: var(--hundido); font-size: 12.5px; color: var(--texto-tenue); }
.app { display: grid; grid-template-columns: 210px 1fr; height: 520px; }
.app__lado { border-right: 1px solid var(--linea); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; background: #FCFBFA; }
.app__lado img { height: 20px; width: auto; margin: 0 8px 18px; align-self: flex-start; }
.app__lado span { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--texto-suave); transition: background-color .3s, color .3s; }
.app__lado span svg { width: 17px; height: 17px; }
.app__lado span.activo { background: var(--melocoton); color: var(--coral-texto); font-weight: 600; }
.app__zona { position: relative; overflow: hidden; }
.panel { position: absolute; inset: 0; padding: 22px; opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity .45s var(--suave), transform .45s var(--suave), visibility 0s .45s; }
.panel.activo { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--suave), transform .45s var(--suave), visibility 0s; }
.panel__titulo { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.panel__titulo strong { font-size: 18px; letter-spacing: -0.01em; }
.panel__titulo span { font-size: 12.5px; color: var(--texto-tenue); }
.panel.activo [data-a] { animation: entra-seq .55s var(--suave) both; animation-delay: calc(var(--d, 0) * 1s); }
@keyframes entra-seq { from { opacity: 0; transform: translateY(14px) scale(.96); } }

.p-bandeja { display: grid; grid-template-columns: 230px 1fr; height: calc(100% - 42px); border-radius: 14px; box-shadow: 0 0 0 1px var(--linea); overflow: hidden; }
.p-bandeja__lista { border-right: 1px solid var(--linea); }
.p-fila { display: flex; gap: 10px; padding: 11px 12px; border-bottom: 1px solid var(--linea); align-items: center; font-size: 12.5px; }
.p-fila.activa { background: var(--melocoton); }
.p-fila .avatar { width: 30px; height: 30px; font-size: 12px; }
.p-fila div { min-width: 0; flex: 1; }
.p-fila strong { display: flex; justify-content: space-between; gap: 6px; font-size: 12.5px; }
.p-fila small { display: block; color: var(--texto-tenue); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.etiqueta-red { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 5px; color: #fff; }
.etiqueta-red--ig { background: var(--ig); } .etiqueta-red--fb { background: var(--fb); }
.p-bandeja__chat { display: flex; flex-direction: column; padding: 14px; gap: 9px; }
.separador-chat { align-self: center; font-size: 11px; font-weight: 600; color: var(--texto-tenue); background: var(--hundido); padding: 3px 10px; border-radius: 999px; }
.p-responder { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linea); color: var(--texto-tenue); font-size: 12.5px; }
.p-responder span { flex: 1; }
.p-responder b { background: var(--tinta); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: 12px; }
.p-flujo { height: calc(100% - 42px); border-radius: 14px; box-shadow: 0 0 0 1px var(--linea); background-color: #FCFBFA; background-image: radial-gradient(#DDD7D0 1px, transparent 1px); background-size: 18px 18px; display: grid; justify-items: center; align-content: center; padding: 18px; position: relative; }
.bloque { width: 280px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px var(--linea), var(--sombra); padding: 10px 12px; display: flex; gap: 10px; align-items: flex-start; }
.bloque .icono-redondo { width: 30px; height: 30px; border-radius: 9px; }
.bloque .icono-redondo svg { width: 15px; height: 15px; }
.bloque small { display: block; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--texto-tenue); }
.bloque p { font-size: 12.5px; margin-top: 1px; }
.bloque--disparador { box-shadow: 0 0 0 2px var(--coral), 0 12px 30px -10px rgba(255, 100, 51, .5); }
.conector { width: 2px; height: 20px; background: #D6CFC7; position: relative; overflow: hidden; }
.conector::after { content: ""; position: absolute; inset: 0; background: var(--coral); transform: scaleY(0); transform-origin: top; }
.panel.activo .conector::after { animation: dibujar .5s var(--suave) forwards; animation-delay: calc(var(--d, 0) * 1s); }
@keyframes dibujar { to { transform: scaleY(1); } }
.ramas { display: grid; grid-template-columns: repeat(3, 150px); gap: 10px; position: relative; padding-top: 20px; }
.ramas::before { content: ""; position: absolute; top: 0; left: 75px; right: 75px; height: 20px; border: 2px solid #D6CFC7; border-bottom: 0; border-radius: 10px 10px 0 0; }
.rama { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--linea); padding: 9px; font-size: 11.5px; text-align: center; }
.rama b { display: block; font-size: 12px; margin-bottom: 1px; }
.rama span { color: var(--texto-tenue); }
.cursor-falso { position: absolute; width: 22px; height: 22px; pointer-events: none; z-index: 3; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); opacity: 0; }
.panel.activo .cursor-falso { animation: arrastrar 3.4s 1.4s var(--suave) both; }
@keyframes arrastrar { 0% { left: 88%; top: 88%; opacity: 0; } 15% { opacity: 1; } 55% { left: 63%; top: 74%; } 70% { left: 63%; top: 74%; transform: scale(.85); } 100% { left: 63%; top: 74%; opacity: 0; transform: scale(1); } }
.p-calendario { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; height: calc(100% - 42px); }
.dia { border-radius: 12px; background: var(--crema); padding: 9px 7px; display: flex; flex-direction: column; gap: 6px; }
.dia > small { font-size: 11.5px; font-weight: 600; color: var(--texto-tenue); }
.dia.hoy { background: var(--melocoton); box-shadow: inset 0 0 0 1.5px var(--coral); }
.dia.hoy > small { color: var(--coral-texto); }
.chip-post { border-radius: 9px; padding: 7px; font-size: 10.5px; line-height: 1.3; background: #fff; box-shadow: 0 0 0 1px var(--linea); border-left: 3px solid var(--ig); }
.chip-post b { display: flex; justify-content: space-between; font-size: 11px; }
.chip-post--fb { border-left-color: var(--fb); } .chip-post--tt { border-left-color: var(--tt); } .chip-post--yt { border-left-color: var(--yt); } .chip-post--li { border-left-color: var(--li); }
.chip-post em { font-style: normal; font-weight: 700; color: var(--ok); }
.miniatura { display: block; height: 46px; border-radius: 6px; margin-top: 5px; background: var(--melocoton) center 40% / cover no-repeat; }
.panel.activo .chip-post[data-a] { animation-name: caer-chip; }
@keyframes caer-chip { from { opacity: 0; transform: translateY(-40px) rotate(-6deg); } }
.p-metricas { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; height: calc(100% - 42px); }
.tarjeta-panel { border-radius: 14px; box-shadow: 0 0 0 1px var(--linea); padding: 16px; }
.tarjeta-panel > small { font-size: 12px; font-weight: 600; color: var(--texto-tenue); }
@property --p { syntax: "<number>"; inherits: false; initial-value: 72; }
.anillo { flex: none; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--coral) calc(var(--p) * 1%), var(--hundido) 0); }
.panel.activo .anillo { animation: llenar-anillo 1.6s .3s var(--suave) both; }
@keyframes llenar-anillo { from { --p: 0; } to { --p: 72; } }
.anillo span { width: 74px; height: 74px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 700; font-size: 24px; }
.diagnostico { display: grid; gap: 8px; margin-top: 14px; }
.diagnostico li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 11px; border-radius: 10px; background: var(--crema); font-size: 12.5px; }
.diagnostico li b { display: block; }
.punto { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; background: var(--ok); }
.punto--aviso { background: #E39B1C; } .punto--mal { background: #D9452B; }
.mapa-calor { display: grid; grid-template-columns: 28px repeat(8, 1fr); gap: 4px; margin-top: 12px; font-size: 10px; color: var(--texto-tenue); }
.mapa-calor i { aspect-ratio: 1.6; border-radius: 4px; background: var(--coral); opacity: var(--o, .1); }
.mapa-calor i.mejor { box-shadow: 0 0 0 2px var(--tinta); animation: pulso 1.8s infinite; }
@keyframes pulso { 50% { box-shadow: 0 0 0 4px rgba(20, 20, 20, .25); } }
.linea-grafica { margin-top: 12px; }
.linea-grafica .trazo { fill: none; stroke: var(--coral); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 500; stroke-dashoffset: 500; }
.linea-grafica .area { opacity: 0; }
.panel.activo .linea-grafica .trazo { animation: trazo 1.8s .4s var(--suave) forwards; }
.panel.activo .linea-grafica .area { animation: aparecer .8s 1.4s forwards; }
@keyframes aparecer { to { opacity: 1; } }
.p-agente { display: grid; grid-template-columns: 1fr 220px; gap: 14px; height: calc(100% - 42px); }
.p-agente__chat { border-radius: 14px; box-shadow: 0 0 0 1px var(--linea); padding: 14px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.marca-ia { align-self: flex-end; font-size: 10.5px; font-weight: 600; color: var(--coral-texto); margin-top: -4px; }
.p-agente__lado { display: flex; flex-direction: column; gap: 8px; }
.p-agente__lado > small { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--texto-tenue); }
.accion { display: flex; gap: 10px; align-items: center; border-radius: 12px; padding: 10px; background: #fff; box-shadow: 0 0 0 1px var(--linea); font-size: 12px; }
.accion b { display: block; font-size: 12.5px; }
.accion .icono-redondo { width: 28px; height: 28px; }
.accion .icono-redondo svg { width: 14px; height: 14px; }
.accion--ok { box-shadow: 0 0 0 1px #BFE5CF; background: var(--ok-fondo); }
.modo { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--hundido); font-size: 11.5px; font-weight: 600; margin-top: auto; }
.modo span { flex: 1; text-align: center; padding: 6px; border-radius: 999px; color: var(--texto-tenue); }
.modo span.activo { background: #fff; color: var(--tinta); box-shadow: var(--sombra); }
.icono-redondo { flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--melocoton); color: var(--coral-texto); }
.icono-redondo svg { width: 18px; height: 18px; }
.icono-redondo--ok { background: var(--ok-fondo); color: var(--ok); }
.icono-redondo--tinta { background: var(--tinta); color: #fff; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(270px, auto); gap: 16px; }
.caja { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--blanco); padding: 26px; display: flex; flex-direction: column; transition: transform .45s var(--suave), box-shadow .45s ease; box-shadow: inset 0 0 0 1px var(--linea); }
.caja:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--sombra-alta); }
.caja--2 { grid-column: span 2; } .caja--3 { grid-column: span 3; } .caja--4 { grid-column: span 4; }
.caja--tinta { background: var(--tinta); color: #EDEDED; box-shadow: none; }
.caja--coral { background: var(--coral); box-shadow: none; }
.caja--melocoton { background: var(--melocoton); box-shadow: none; }
.caja h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.1; }
.caja p { font-size: 15px; color: var(--texto-suave); margin-top: 6px; }
.caja--tinta p { color: var(--texto-noche); }
.caja--coral p { color: rgba(20, 20, 20, .78); }
.caja__objeto { position: absolute; right: 26px; bottom: 24px; width: 92px; height: auto; rotate: 8deg; filter: drop-shadow(0 16px 18px rgba(60, 18, 4, .28)); animation: flotar-obj 7s ease-in-out infinite; pointer-events: none; }
.caja:has(.caja__objeto) > p { max-width: calc(100% - 120px); }
.caja__visual { flex: 1; display: grid; place-items: center; margin-bottom: 20px; min-height: 140px; position: relative; }
.avisos-pila { position: relative; width: 100%; max-width: 310px; height: 160px; }
.aviso-noti { position: absolute; left: 0; right: 0; top: 0; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .96); box-shadow: var(--sombra-alta); font-size: 12.5px; color: var(--tinta); animation: pila 9s var(--suave) infinite; opacity: 0; }
.aviso-noti img { width: 30px; height: 30px; border-radius: 8px; }
.aviso-noti b { display: block; font-size: 12.5px; }
.aviso-noti small { color: var(--texto-tenue); font-size: 11.5px; }
.aviso-noti:nth-child(2) { animation-delay: 3s; } .aviso-noti:nth-child(3) { animation-delay: 6s; }
@keyframes pila { 0% { opacity: 0; transform: translateY(-30px) scale(.95); } 6%, 33% { opacity: 1; transform: none; } 40%, 66% { opacity: .85; transform: translateY(56px) scale(.94); } 73%, 92% { opacity: .5; transform: translateY(104px) scale(.88); } 100% { opacity: 0; transform: translateY(104px) scale(.88); } }
.paleta { width: 100%; max-width: 320px; border-radius: 16px; background: #fff; box-shadow: var(--sombra-alta); overflow: hidden; color: var(--tinta); }
.paleta__buscar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--linea); font-size: 13.5px; }
.paleta__buscar kbd { margin-left: auto; font-family: inherit; font-size: 11px; padding: 2px 7px; border-radius: 6px; background: var(--hundido); color: var(--texto-tenue); }
.escrito { overflow: hidden; white-space: nowrap; border-right: 2px solid var(--coral); width: 0; animation: escribir 6s steps(10) infinite; }
@keyframes escribir { 0%, 8% { width: 0; } 40%, 85% { width: 10ch; } 100% { width: 0; } }
.paleta li { display: flex; gap: 10px; align-items: center; padding: 9px 14px; font-size: 13px; }
.paleta li svg { width: 16px; height: 16px; color: var(--texto-tenue); }
.paleta li.sel { animation: seleccion 6s infinite; }
@keyframes seleccion { 0%, 40% { background: transparent; } 45%, 85% { background: var(--melocoton); } 100% { background: transparent; } }
.tema-caja { width: 100%; max-width: 280px; height: 140px; border-radius: 18px; position: relative; overflow: hidden; animation: tema 6s ease-in-out infinite; box-shadow: var(--sombra-alta); }
@keyframes tema { 0%, 40% { background: #fff; } 50%, 90% { background: var(--tinta-2); } 100% { background: #fff; } }
.tema-caja i { position: absolute; left: 16px; right: 60px; height: 10px; border-radius: 6px; animation: tema-l 6s ease-in-out infinite; }
.tema-caja i:nth-child(1) { top: 22px; right: 120px; height: 14px; } .tema-caja i:nth-child(2) { top: 50px; } .tema-caja i:nth-child(3) { top: 70px; right: 90px; }
@keyframes tema-l { 0%, 40% { background: var(--hundido); } 50%, 90% { background: var(--tinta-3); } 100% { background: var(--hundido); } }
.interruptor { width: 48px; height: 28px; border-radius: 999px; position: absolute; right: 16px; bottom: 16px; animation: tema-int 6s ease-in-out infinite; }
.interruptor::after { content: ""; position: absolute; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--sombra); animation: tema-bola 6s ease-in-out infinite; }
@keyframes tema-int { 0%, 40% { background: var(--linea); } 50%, 90% { background: var(--coral); } 100% { background: var(--linea); } }
@keyframes tema-bola { 0%, 40% { left: 3px; } 50%, 90% { left: 23px; } 100% { left: 3px; } }
.seguidor { display: grid; gap: 10px; width: 100%; max-width: 300px; }
.seguidor div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .95); font-size: 13px; color: var(--tinta); box-shadow: var(--sombra); }
.seguidor div span:nth-child(2) { flex: 1; }
.marca-check { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; animation: marcar 4s infinite; }
.marca-check svg { width: 13px; height: 13px; }
.marca-check--si { background: var(--ok); }
.marca-check--no { background: #D9452B; animation-delay: .4s; }
@keyframes marcar { 0%, 15% { transform: scale(0); } 25%, 90% { transform: scale(1); } 100% { transform: scale(0); } }
.prueba-reel { display: flex; gap: 16px; align-items: flex-end; }
.prueba-reel__movil { width: 92px; height: 150px; border-radius: 18px; background: url("img/ia/r-clinica.webp") center 30% / cover; box-shadow: var(--sombra-alta); position: relative; }
.prueba-reel__movil::after { content: "Prueba"; position: absolute; top: 8px; left: 8px; font-size: 10px; font-weight: 700; background: var(--tinta); color: #fff; border-radius: 999px; padding: 2px 8px; }
.prueba-reel__datos { display: grid; gap: 8px; font-size: 12px; color: #EDEDED; }
.prueba-reel__datos span { display: grid; gap: 4px; }
.prueba-reel__datos i { display: block; height: 8px; border-radius: 4px; background: var(--coral-noche); animation: llenar-barra 3.5s var(--suave) infinite; }
.prueba-reel__datos span:nth-child(2) i { background: #6E6A64; animation-delay: .3s; }
@keyframes llenar-barra { 0% { width: 0; } 40%, 85% { width: var(--w); } 100% { width: 0; } }
.primer-com { width: 100%; max-width: 300px; border-radius: 16px; background: #fff; box-shadow: var(--sombra-alta); padding: 12px; font-size: 12.5px; }
.primer-com__img { height: 96px; border-radius: 12px; margin-bottom: 10px; background: url("img/ia/s-clinica.webp") center 34% / cover; }
.primer-com__com { padding: 8px 10px; border-radius: 10px; background: var(--melocoton); animation: fijar 5s infinite; }
.primer-com__com b { font-size: 10.5px; color: var(--coral-texto); display: block; }
@keyframes fijar { 0%, 15% { opacity: 0; transform: translateY(10px); } 25%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.informe-mini { width: 100%; max-width: 330px; display: grid; gap: 8px; }
.informe-mini p { font-size: 13px; padding: 10px 12px 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .75); border-left: 3px solid var(--tinta); color: var(--tinta); animation: frase 7.5s infinite both; margin: 0; }
.informe-mini p:nth-child(2) { animation-delay: .5s; } .informe-mini p:nth-child(3) { animation-delay: 1s; }
@keyframes frase { 0%, 5% { opacity: 0; transform: translateX(-14px); } 15%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.horas { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; width: 100%; max-width: 300px; }
.horas i { aspect-ratio: 1; border-radius: 6px; background: var(--coral); opacity: var(--o, .12); animation: latir-celda 3s ease-in-out infinite; animation-delay: var(--r, 0s); }
.horas i.mejor { opacity: 1; box-shadow: 0 0 0 2px var(--tinta); }
@keyframes latir-celda { 50% { transform: scale(.82); } }

/* Tarjeta lista y pasos */
.lista-escena { position: relative; overflow: hidden; border-radius: 44px; background: radial-gradient(60% 80% at 50% 0%, #FFE0D2, var(--melocoton)); padding: clamp(28px, 5vw, 72px) 20px; isolation: isolate; }
.lista-escena .tarjeta-lista { max-width: 560px; }
.lista-escena__persona { position: absolute; z-index: -1; bottom: -6%; height: 84%; width: auto; max-width: none; }
.lista-escena__persona--izq { left: -2.5%; transform: scaleX(-1); }
.lista-escena__persona--der { right: 3.5%; }
.tarjeta-lista { max-width: 620px; margin-inline: auto; border-radius: 36px; background: var(--tinta); color: #fff; padding: clamp(36px, 5vw, 56px); text-align: center; position: relative; overflow: hidden; }
.tarjeta-lista::before { content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 60px; background: var(--coral); transform: rotate(18deg); opacity: .9; }
.tarjeta-lista > * { position: relative; }
.tarjeta-lista .etiqueta { color: var(--coral-noche); }
.tarjeta-lista h2 { font-size: clamp(40px, 5.4vw, 66px); letter-spacing: -0.045em; line-height: .98; margin-top: 12px; }
.checks { margin-top: 36px; text-align: left; display: grid; }
.checks li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--tinta-3); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.checks li i { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--tinta-3); display: grid; place-items: center; transition: background-color .3s; }
.checks li i svg { width: 15px; height: 15px; color: var(--tinta); transform: scale(0); transition: transform .4s var(--suave); }
.checks li.marcado i { background: var(--coral); }
.checks li.marcado i svg { transform: scale(1); }
.tarjeta-lista .boton { margin-top: 32px; width: 100%; }

.tres-pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.paso-g { position: relative; border-radius: var(--r-xl); background: var(--crema); padding: 28px; min-height: 320px; display: flex; flex-direction: column; overflow: hidden; }
.paso-g__num { font-size: 120px; font-weight: 700; letter-spacing: -0.06em; line-height: .8; color: var(--coral); }
.paso-g h3 { font-size: 22px; margin-top: auto; letter-spacing: -0.02em; }
.paso-g p { color: var(--texto-suave); font-size: 15.5px; margin-top: 8px; }
.paso-g__visual { position: absolute; right: 30px; top: 28px; height: 150px; width: auto; rotate: 8deg; filter: drop-shadow(0 18px 20px rgba(60, 18, 4, .2)); animation: flotar-obj 7s ease-in-out infinite; }
.paso-g:nth-child(2) .paso-g__visual { animation-delay: -2s; rotate: -8deg; }
.paso-g:nth-child(3) .paso-g__visual { animation-delay: -4s; }

/* Plantillas */
.carrusel { overflow: hidden; display: grid; gap: 16px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.carrusel__pista { display: flex; gap: 16px; width: max-content; animation: desfile 70s linear infinite; }
.carrusel__pista--inversa { animation-direction: reverse; animation-duration: 80s; }
.carrusel:hover .carrusel__pista { animation-play-state: paused; }
.plantilla { width: 300px; flex: none; padding: 22px; border-radius: var(--r-lg); background: var(--blanco); display: flex; flex-direction: column; gap: 10px; transition: transform .35s var(--suave), box-shadow .35s; }
.plantilla:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--sombra-alta); }
.plantilla__foto { height: 150px; margin: -10px -10px 6px; border-radius: 14px; overflow: hidden; background: var(--melocoton); }
.plantilla__foto img { width: 100%; height: 100%; object-fit: cover; }
.plantilla__foto--objeto { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #fff, var(--melocoton-2)); }
.plantilla__foto--objeto img { width: auto; height: 104px; filter: drop-shadow(0 12px 14px rgba(60, 18, 4, .22)); transition: transform .5s var(--suave); }
.plantilla:hover .plantilla__foto--objeto img { transform: scale(1.1) rotate(-6deg); }
.plantilla__sector { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-texto); }
.plantilla h3 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.15; }
.plantilla p { color: var(--texto-suave); font-size: 14.5px; }
.plantilla__palabra { margin-top: auto; align-self: flex-start; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--crema); }
.plantilla__palabra b { color: var(--coral-texto); }

/* Muro de conversaciones */
.muro { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; height: 660px; overflow: hidden; mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.muro__col { display: flex; flex-direction: column; gap: 16px; animation: subir 44s linear infinite; }
.muro__col:nth-child(2) { animation-duration: 56s; animation-direction: reverse; }
.muro__col:nth-child(3) { animation-duration: 50s; }
.muro:hover .muro__col { animation-play-state: paused; }
.conv { border-radius: var(--r-lg); background: var(--tinta-2); box-shadow: inset 0 0 0 1px var(--tinta-3); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.conv__cabeza { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 4px; }
.conv__cabeza .avatar { width: 30px; height: 30px; font-size: 12px; }
.conv__cabeza small { display: block; color: var(--texto-noche); font-size: 11.5px; }
.conv .burbuja--suya { background: var(--tinta-3); color: #EDEDED; }
.conv .burbuja--mia { background: var(--coral); color: var(--tinta); }
.conv .burbuja__boton { background: var(--tinta); color: #fff; }
.conv__resultado { align-self: flex-start; margin-top: 4px; font-size: 11.5px; font-weight: 600; color: #6FD08C; }

/* Precios */
.planes { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); gap: 22px; justify-content: center; }
.plan { position: relative; padding: 36px 34px; border-radius: var(--r-xl); background: var(--blanco); box-shadow: inset 0 0 0 1px var(--linea); display: flex; flex-direction: column; transition: transform .45s var(--suave), box-shadow .45s; }
.plan:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px var(--linea), var(--sombra-alta); }
.plan--destacado { background: var(--tinta); color: #EDEDED; box-shadow: var(--sombra-alta); isolation: isolate; }
@property --giro { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.plan--destacado::before { content: ""; position: absolute; inset: -2px; z-index: -2; border-radius: calc(var(--r-xl) + 2px); background: conic-gradient(from var(--giro), var(--coral), #FFD0BC, var(--coral-texto), var(--coral)); animation: borde-giro 5s linear infinite; }
.plan--destacado::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--r-xl); background: var(--tinta); }
@keyframes borde-giro { to { --giro: 360deg; } }
.plan__marca { position: absolute; top: 26px; right: 26px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--coral); color: var(--tinta); }
.plan h3, .plan h2 { font-size: 24px; letter-spacing: -0.02em; }
.plan__para { color: var(--texto-suave); font-size: 15px; margin-top: 6px; }
.plan--destacado .plan__para { color: var(--texto-noche); }
.plan__precio { display: flex; align-items: baseline; gap: 6px; margin-top: 26px; }
.plan__precio strong { font-size: 68px; letter-spacing: -0.05em; line-height: 1; }
.plan__precio span { color: var(--texto-tenue); font-size: 16px; }
.plan--destacado .plan__precio span { color: var(--texto-noche); }
.plan .boton { margin-top: 28px; width: 100%; }
.plan__incluye { font-size: 14px; font-weight: 600; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--linea); }
.plan--destacado .plan__incluye { border-top-color: var(--tinta-3); }
.lista-check { display: grid; gap: 12px; margin-top: 16px; }
.lista-check li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.lista-check li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--melocoton) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C43C13' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.plan--destacado .lista-check li::before { background-color: rgba(255, 100, 51, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF7A50' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.tabla-envoltura { overflow-x: auto; border-radius: var(--r-lg); background: var(--blanco); box-shadow: inset 0 0 0 1px var(--linea); }
.tabla { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15.5px; }
.tabla th, .tabla td { padding: 15px 24px; border-bottom: 1px solid var(--linea); text-align: left; vertical-align: top; }
.tabla thead th { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-tenue); font-weight: 600; }
.tabla tbody th { font-weight: 500; }
.tabla tbody th small { display: block; color: var(--texto-tenue); font-size: 13px; font-weight: 400; }
.tabla td { width: 22%; font-weight: 600; }
.tabla tbody tr:not(.grupo):hover { background: #FFF8F5; }
.tabla tr.grupo th { background: var(--crema); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--texto-suave); padding-block: 10px; }
.tabla tr:last-child th, .tabla tr:last-child td { border-bottom: 0; }
.si { color: var(--ok); }
.no { color: var(--texto-tenue); font-weight: 400; }

/* Preguntas, en oscuro */
.preguntas { max-width: 860px; margin-inline: auto; display: grid; }
.pregunta { border-bottom: 1px solid var(--tinta-3); }
.pregunta h3 { font-size: inherit; letter-spacing: 0; line-height: 1.4; }
.pregunta button { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 24px 56px 24px 0; font-weight: 600; font-size: 18px; position: relative; color: #fff; }
.pregunta button::after { content: ""; position: absolute; right: 4px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--tinta-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .4s var(--suave), background-color .3s; }
.pregunta.abierta button::after { transform: rotate(135deg); background-color: var(--coral); }
.pregunta__cuerpo { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--suave); }
.pregunta.abierta .pregunta__cuerpo { grid-template-rows: 1fr; }
.pregunta__cuerpo > div { overflow: hidden; }
.pregunta__cuerpo p { padding: 0 56px 26px 0; color: var(--texto-noche); }
.preguntas--claras .pregunta { border-bottom-color: var(--linea); }
.preguntas--claras .pregunta button { color: var(--tinta); }
.preguntas--claras .pregunta button::after { background-color: var(--tinta); }
.preguntas--claras .pregunta.abierta button::after { background-color: var(--coral); }
.preguntas--claras .pregunta__cuerpo p { color: var(--texto-suave); }

/* Acceso */
.acceso { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.acceso h2 { font-size: clamp(44px, 6vw, 84px); letter-spacing: -0.05em; line-height: .95; }
.acceso__texto > p { color: rgba(20, 20, 20, .8); margin-top: 20px; font-size: 18px; max-width: 30em; }
.formulario { background: #fff; color: var(--tinta); border-radius: 28px; padding: 30px; display: grid; gap: 14px; box-shadow: 0 30px 70px -20px rgba(20, 20, 20, .35); }
.campo { display: grid; gap: 6px; }
.campo label { font-size: 14px; font-weight: 600; }
.campo input, .campo select { min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid #8F8A84; background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.campo input:focus, .campo select:focus { outline: none; border-color: var(--coral); box-shadow: var(--foco); }
.formulario .boton { width: 100%; }
.formulario__nota { font-size: 12.5px; color: var(--texto-tenue); }
.formulario__estado { font-size: 14px; font-weight: 600; }
.formulario__estado:empty { display: none; }
.formulario__estado[data-tipo="ok"] { color: var(--ok); }
.formulario__estado[data-tipo="error"] { color: #B42318; }
.seccion--acceso { overflow: hidden; }
.acceso__persona { display: block; height: clamp(380px, 34vw, 480px); width: auto; max-width: none; margin: 18px 0 calc(clamp(88px, 11vw, 150px) * -1) clamp(0px, 4vw, 60px); }
.burbujas-fondo { position: absolute; inset: 0 0 0 40%; z-index: 0; pointer-events: none; overflow: hidden; opacity: .55; }
.burbujas-fondo span { position: absolute; bottom: -60px; padding: 8px 14px; border-radius: 18px 18px 18px 6px; background: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 600; white-space: nowrap; animation: burbujear var(--t, 12s) linear infinite; animation-delay: var(--r, 0s); opacity: 0; }
.burbujas-fondo span:nth-child(even) { background: var(--tinta); color: #fff; border-radius: 18px 18px 6px 18px; }
@keyframes burbujear { 0% { transform: translateY(0) scale(.8); opacity: 0; } 10% { opacity: .9; transform: translateY(-80px) scale(1); } 85% { opacity: .8; } 100% { transform: translateY(-900px); opacity: 0; } }
.seccion--coral > .contenedor { position: relative; z-index: 2; }

/* Páginas interiores */
.cabecera-pagina { position: relative; overflow: hidden; background: var(--coral); padding: 170px 0 clamp(64px, 8vw, 100px); }
.cabecera-pagina__persona { position: absolute; z-index: 1; right: max(4vw, calc((100vw - var(--ancho)) / 2 + 20px)); bottom: -34%; height: 118%; max-height: 780px; width: auto; max-width: none; }
.cabecera-pagina .contenedor { position: relative; z-index: 1; }
.cabecera-pagina h1 { font-size: clamp(44px, 6.4vw, 100px); letter-spacing: -0.055em; line-height: .92; max-width: 12ch; margin-top: 18px; }
.cabecera-pagina p:not(.etiqueta) { font-size: clamp(18px, 1.7vw, 21px); color: rgba(20, 20, 20, .8); max-width: min(36em, 48vw); margin-top: 24px; }
.cabecera-pagina .etiqueta { color: var(--tinta); }
.cabecera-pagina::after { content: ""; position: absolute; right: -4%; bottom: -18%; width: 40vw; max-width: 560px; aspect-ratio: 531 / 694; background: url("img/tramalia-simbolo.svg") center / contain no-repeat; opacity: .1; transform: rotate(-10deg); animation: flotar 9s ease-in-out infinite; }
@keyframes flotar { 50% { translate: 0 -18px; } }
.indice { max-width: min(720px, 50vw); display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.indice a { padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .55); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: background-color .2s, color .2s, transform .3s var(--suave); }
.indice a:hover { background: var(--tinta); color: #fff; transform: translateY(-2px); }
.bloque-funcion { padding-block: clamp(72px, 9vw, 120px); }
.bloque-funcion:nth-of-type(odd) { background: var(--crema); }
.funcion { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.funcion__texto { position: sticky; top: 120px; }
.funcion__texto h2 { font-size: clamp(36px, 4.6vw, 60px); margin-top: 16px; letter-spacing: -0.045em; }
.funcion__texto > p:not(.etiqueta) { color: var(--texto-suave); margin-top: 18px; font-size: 18px; }
.funcion__num { font-size: 15px; font-weight: 700; color: var(--coral-texto); }
.detalles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.detalle { padding: 24px; border-radius: var(--r-lg); background: var(--blanco); box-shadow: inset 0 0 0 1px var(--linea); transition: transform .4s var(--suave), box-shadow .4s, background-color .3s; }
.detalle:hover { transform: translateY(-5px); background: var(--tinta); color: #fff; box-shadow: var(--sombra-alta); }
.detalle:hover p { color: var(--texto-noche); }
.detalle h3 { font-size: 17px; letter-spacing: -0.01em; line-height: 1.25; }
.detalle p { font-size: 15px; color: var(--texto-suave); margin-top: 8px; transition: color .3s; }
.detalle__num { display: block; font-size: 12px; font-weight: 700; color: var(--coral-texto); margin-bottom: 14px; letter-spacing: .1em; }
.detalle:hover .detalle__num { color: var(--coral-noche); }

/* Pie */
.pie { background: var(--tinta); color: #EDEDED; padding-top: clamp(64px, 8vw, 100px); }
.pie__rejilla { display: grid; grid-template-columns: 1fr 1fr 1fr 1.6fr; gap: 32px; }
.pie__marca img { height: 30px; width: auto; }
.pie h2 { font-size: 12px; font-weight: 600; color: var(--texto-noche); letter-spacing: .14em; text-transform: uppercase; }
.pie ul { display: grid; gap: 10px; margin-top: 16px; }
.pie ul a { text-decoration: none; font-size: 15px; transition: color .2s; }
.pie ul a:hover { color: var(--coral-noche); }
.pie__arte { border-radius: 24px; background: var(--coral); color: var(--tinta); padding: 26px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.pie__arte small { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.pie__arte strong { font-size: clamp(34px, 3.2vw, 46px); letter-spacing: -0.05em; line-height: .95; display: block; }
.pie__arte .rotativo { display: block; height: .95em; overflow: hidden; }
.pie__arte .rotativo span { display: block; animation: rotar 12s var(--suave) infinite; }
@keyframes rotar { 0%, 16% { transform: translateY(0); } 20%, 36% { transform: translateY(-100%); } 40%, 56% { transform: translateY(-200%); } 60%, 76% { transform: translateY(-300%); } 80%, 96% { transform: translateY(-400%); } 100% { transform: translateY(-500%); } }
.pie__cta { display: flex; margin-top: clamp(48px, 6vw, 72px); min-height: clamp(76px, 9vw, 120px); font-size: clamp(16px, 2vw, 24px); letter-spacing: .14em; }
.pie__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px 32px; font-size: 13px; color: var(--texto-noche); }

/* Aparición */
.js .aparece { opacity: 0; transform: translateY(40px); }
.js .aparece.visible { opacity: 1; transform: none; transition: opacity 1s var(--suave), transform 1s var(--suave); transition-delay: calc(var(--i, 0) * 90ms); }
.js .palabra-hero { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(3deg); filter: blur(8px); animation: palabra .8s var(--suave) forwards; animation-delay: calc(var(--i) * 55ms); }
@keyframes palabra { to { opacity: 1; transform: none; filter: blur(0); } }
.pausado, .pausado * { animation-play-state: paused !important; }

.cambios { display: grid; gap: 14px; margin-top: 56px; }
.cambio { display: grid; grid-template-columns: 84px minmax(0, .55fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: center; padding: 14px 14px 14px 26px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--linea); }
.cambio > img { width: 64px; height: 64px; object-fit: contain; transition: transform .5s var(--suave); }
.cambio:hover > img { transform: scale(1.14) rotate(-8deg); }
.cambio h3 { font-size: 22px; letter-spacing: -.03em; }
.cambio p { font-size: 16px; line-height: 1.45; }
.cambio b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 5px; }
.cambio__hoy { color: var(--texto-suave); }
.cambio__con { padding: 20px 24px; border-radius: 18px; background: var(--coral); color: var(--tinta); font-weight: 600; }
.para { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 52px; }
.para__caja { padding: 40px; border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--linea); }
.para__caja--si { background: var(--tinta); color: #fff; }
.para__caja h3 { font-size: 28px; letter-spacing: -.035em; margin-bottom: 24px; }
.para__caja ul { display: grid; gap: 16px; }
.para__caja li { position: relative; padding-left: 40px; font-size: 17px; line-height: 1.45; }
.para__caja li::before { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--hundido) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 13px no-repeat; }
.para__caja--si li::before { background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.condiciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.condiciones li { padding: 10px 18px; border-radius: 999px; background: var(--melocoton); font-size: 14.5px; font-weight: 600; }
.calculo { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.calculo__caja { padding: 40px; border-radius: var(--r-xl); background: #fff; color: var(--tinta); }
.calculo__caja label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 18px; font-weight: 600; }
.calculo__caja output { font-size: 38px; font-weight: 700; letter-spacing: -.045em; color: var(--coral-texto); white-space: nowrap; }
.calculo__caja input { width: 100%; height: 44px; margin: 10px 0 18px; accent-color: var(--coral); cursor: pointer; }
.calculo__planes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calculo__planes p { padding: 20px; border-radius: 20px; background: var(--melocoton); }
.calculo__planes span { display: block; font-size: 14px; font-weight: 600; color: var(--texto-suave); }
.calculo__planes strong { display: block; font-size: 32px; letter-spacing: -.045em; line-height: 1.15; }
.calculo__caja small { display: block; margin-top: 16px; font-size: 13px; color: var(--texto-tenue); }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.texto-legal { max-width: 800px; }
.texto-legal h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.035em; line-height: 1.1; margin: 56px 0 14px; }
.texto-legal h2:first-child { margin-top: 0; }
.texto-legal h3 { font-size: 19px; margin: 26px 0 8px; }
.texto-legal p, .texto-legal li { font-size: 17px; line-height: 1.65; color: var(--texto-suave); }
.texto-legal p + p { margin-top: 14px; }
.texto-legal ul { display: grid; gap: 10px; padding-left: 20px; margin-bottom: 16px; list-style: disc; }
.texto-legal a { color: var(--coral-texto); text-decoration: underline; text-underline-offset: 3px; }
.texto-legal dl { display: grid; gap: 1px; margin-bottom: 20px; border-radius: 20px; overflow: hidden; background: var(--linea); border: 1px solid var(--linea); }
.texto-legal dl div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 20px; background: #fff; }
.texto-legal dt { font-weight: 600; }
.texto-legal dd { margin: 0; color: var(--texto-suave); overflow-wrap: anywhere; }
.formulario__nota a, .pie__base a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) {
  .app { grid-template-columns: 1fr; }
  .app__lado { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .caja--2, .caja--3, .caja--4 { grid-column: span 1; }
  .caja--ancha { grid-column: span 2; }
  .pie__rejilla { grid-template-columns: 1fr 1fr 1fr; }
  .lista-escena__persona { height: 62%; }
 
  .historia__rejilla { grid-template-columns: minmax(0, 1.2fr) 280px minmax(0, .5fr); gap: 32px; }
  .historia__texto p:not(.etiqueta) { font-size: 16.5px; }
  .historia__objetos img:last-child { left: auto; right: -94px; }
  .historia__fotos img { object-position: 43% 40%; }
  .historia__fotos img:nth-child(2) { object-position: 60% 40%; }
  .historia__fotos img:nth-child(3) { object-position: 70% 40%; }
  .flota--3 { left: -24px; }
  .globo--mio { right: -10px; }
  .globo--suyo { left: -16px; }
  .pie__arte { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .barra__abrir { display: inline-flex; }
  .barra__dentro { flex-wrap: wrap; height: auto; min-height: 58px; padding: 7px 7px 7px 18px; }
  .barra__menu { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; padding: 4px 0 10px; }
  .barra[data-abierta="true"] .barra__menu { display: flex; }
  .barra[data-abierta="true"] .barra__dentro { background: #fff; color: var(--tinta); }
  .barra[data-abierta="true"] .logo-claro { display: block !important; }
  .barra[data-abierta="true"] .logo-oscuro { display: none !important; }
  .barra__menu a { padding: 14px 10px; font-size: 15px; }
  .hero__dentro { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "titulo" "escena" "texto"; padding: 100px 0 32px; }
  .hero__titulo { font-size: clamp(38px, 10.6vw, 72px); }
  .escena { justify-self: center; height: clamp(320px, 42svh, 520px); min-height: 0; width: min(100%, 520px); margin-top: 14px; }
  .escena__forma { inset: 14% 4% 0; }
  .escena__recorte { inset: -2% 4% 5.4%; border-radius: 0 0 44px 44px; }
  .escena__palabra { top: 18%; }
  .escena__marcas { display: none; }
  .globo { font-size: 13px; border-radius: 16px; }
  .globo--suyo { left: 0; top: 24%; padding: 7px 13px 7px 7px; }
  .globo--suyo .avatar { width: 30px; height: 30px; }
  .globo--mio { right: 0; top: 48%; width: 220px; padding: 10px 12px; }
  .globo--mio b { padding: 7px; margin-top: 7px; font-size: 12.5px; }
  .globo--fin { left: 2%; bottom: 10%; font-size: 12.5px; padding: 7px 14px 7px 7px; }
  .globo--fin svg { width: 22px; height: 22px; padding: 5px; }
  .flota--1 { width: 56px; left: 7%; top: 4%; } .flota--2 { width: 56px; right: 8%; top: 10%; }
  .flota--3 { display: none; } .flota--4 { width: 70px; right: 0; bottom: 0; }
  .hero__texto { display: flex; flex-direction: column-reverse; }
  .hero__sub { margin-top: 20px; }
  .hero__acciones { margin-top: 28px; }
  .cabecera-pagina p:not(.etiqueta), .indice { max-width: 100%; }
  .cabecera-pagina { padding-bottom: 0; display: flex; flex-direction: column; }
  .cambio { grid-template-columns: 56px 1fr; gap: 12px 16px; padding: 18px; }
  .cambio > img { width: 52px; height: 52px; }
  .cambio p { grid-column: 1 / -1; }
  .para, .calculo { grid-template-columns: minmax(0, 1fr); }
  .calculo { gap: 36px; }
  .para__caja, .calculo__caja { padding: 28px 22px; }
  .calculo__planes p { padding: 16px; }
  .calculo__planes strong { font-size: 26px; }
  .cabecera-pagina--texto { padding-bottom: 44px; }
  .texto-legal dl div { grid-template-columns: 84px 1fr; gap: 10px; padding: 12px 16px; }
  .cabecera-pagina__persona { position: relative; right: auto; bottom: auto; height: 340px; margin: 12px auto -60px; order: 2; }
  .lista-escena { padding: 0; background: none; overflow: visible; border-radius: 0; }
  .lista-escena__persona { display: none; }
  .acceso__persona { display: none; }
  .reel__cuenta { display: none; }
 
  .historia .reel__texto { font-size: 14px; bottom: 10px; }
  .paso-g__visual { height: 100px; right: 24px; top: 22px; }
  .caja__objeto { width: 70px; right: 20px; bottom: 20px; }
  .caja:has(.caja__objeto) > p { max-width: calc(100% - 84px); }
  .caja__objeto[src*="rayo"] { width: 48px; }
  .historia__fija { padding: 84px 0 0; }
  .historia__fotos { inset: 45svh 0 0; border-radius: 36px 36px 0 0; }
  .historia__fotos img { object-position: 0 30%; }
  .historia__fotos img:nth-child(1) { object-position: 12% 30%; }
  .historia__fotos img:nth-child(2), .historia__fotos img:nth-child(3) { object-position: 45% 30%; }
  .historia__palabras { display: none; }
  .historia__rejilla { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0; align-items: start; }
  .historia__textos { min-height: 0; height: calc(45svh - 84px); }
  .historia__texto { inset: 0; justify-content: flex-start; padding-top: 24px; }
  .historia__texto h2 { font-size: clamp(26px, 7.2vw, 58px); max-width: 14ch; margin-top: 8px !important; }
  .historia__texto p:not(.etiqueta) { font-size: clamp(15px, 2.2vw, 18px); margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .historia__marcas { top: 0; }
  .historia__boton { display: none; }
  .historia__movil { align-self: end; justify-self: start; padding-bottom: 16px; }
  .historia__objetos img { width: 66px; }
  .historia__objetos img:first-child { right: -40px; top: 4%; }
  .historia__objetos img:last-child { left: auto; right: -58px; bottom: 16%; }
  .llega { left: calc(var(--mx) * 1%); top: calc(var(--my) * 1%); }
  .llega--com { font-size: clamp(13px, 2.4vw, 19px); }
  .llega--obj img { width: 62px; }
  .llega--pc { display: none; }
  .mascara__contenido { bottom: 42svh; }
  .siesta { left: -6vw; bottom: 0; }
  .siesta .globo--suyo { left: 11vw; bottom: 119%; }
  .siesta .globo--mio { left: 46vw; bottom: 101%; }
  .siesta .globo--fin { left: 12vw; bottom: 14%; }
  .movil { height: min(400px, 42svh); width: 220px; border-radius: 34px; }
  .movil__pantalla { border-radius: 28px; }
  .pantalla__etiqueta { width: 220px; font-size: 12px; padding: 9px 14px; margin-top: 8px; }
  .reel__texto { font-size: 16px; }
  .p-bandeja { grid-template-columns: 1fr; }
  .p-bandeja__lista { display: none; }
  .p-metricas, .p-agente { grid-template-columns: 1fr; }
  .p-metricas .tarjeta-panel:last-child, .p-agente__lado { display: none; }
  .p-calendario { grid-template-columns: repeat(4, 1fr); }
  .p-calendario .dia:nth-child(n+5) { display: none; }
  .bloque { width: 100%; }
  .ramas { grid-template-columns: repeat(3, 1fr); width: 100%; }
  .muro { grid-template-columns: 1fr 1fr; }
  .muro__col:nth-child(3) { display: none; }
  .acceso { grid-template-columns: minmax(0, 1fr); }
  .planes { grid-template-columns: minmax(0, 480px); }
  .tres-pasos { grid-template-columns: 1fr; }
  .paso-g { min-height: 240px; }
  .funcion { grid-template-columns: minmax(0, 1fr); }
  .funcion__texto { position: static; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .titulo-seccion { font-size: min(38px, 9vw); }
  .barra__acciones .boton { display: none; }
  .hero__acciones .boton { width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .caja--ancha { grid-column: span 1; }
  .detalles { grid-template-columns: 1fr; }
  .muro { grid-template-columns: 1fr; height: 560px; }
  .muro__col:nth-child(2) { display: none; }
  .ramas { grid-template-columns: 1fr; }
  .ramas::before { display: none; }
  .navegador__url { display: none; }
  .app { height: 560px; }
  .pie__rejilla { grid-template-columns: 1fr 1fr; }
  .pie__marca { grid-column: 1 / -1; }
}

@media (max-height: 820px) and (min-width: 901px) {
  .mascara__contenido { bottom: 42svh; padding-top: 24px; }
  .mascara__contenido h2 { font-size: min(6.2vw, 11svh); }
  .mascara__contenido p { margin-top: 14px; font-size: 17px; }
  .siesta .globo--suyo { bottom: 72%; }
  .siesta .globo--mio { bottom: 50%; }
}
@media (max-height: 720px) and (max-width: 900px) {
  .historia__fija { padding-top: 68px; }
  .historia__fotos { top: 49svh; }
  .historia__textos { height: calc(49svh - 68px); }
  .historia__texto p:not(.etiqueta) { font-size: 14px; line-height: 1.4; margin-top: 8px; -webkit-line-clamp: 2; }
  .movil { height: 38svh; width: 176px; }
  .pantalla__etiqueta { width: 176px; }
  .historia .reel__texto { display: none; }
  .mascara__contenido { padding-top: 40px; }
  .mascara__contenido h2 { font-size: 34px; }
  .mascara__contenido p { font-size: 15px; margin-top: 14px; }
  .mascara__luna { width: 46px; top: 3%; }
  .siesta .globo--suyo, .llega:nth-child(3), .llega:nth-child(4), .llega:nth-child(9) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .aparece, .js .palabra-hero { opacity: 1; transform: none; filter: none; }
  .flota, .caja__objeto, .paso-g__visual { animation: none !important; }
  .cinta__pista, .carrusel__pista, .muro__col { animation: none !important; }
  .historia__pasos, .mascara { height: auto; }
  .historia__fija, .mascara__fija { position: relative; }
  .llegan { display: none; }
  .siesta .charla .globo { opacity: 1; transform: none; }
  .mascara__fija { min-height: 100svh; }
  .mascara__contenido { opacity: 1; transform: none; }
}
