/* ==========================================================================
   #porque · «de genérico a tuyo», versión dinámica (de-generico-dinamico/portada.css).
   Todo cuelga de #porque: nada de aquí toca al resto de la página. La escena se anima por
   TIEMPO (8 s, js/porque.js), no por scroll. Estado base = el final «tuyo».
   ========================================================================== */
@property --u { syntax: "<length>"; inherits: true; initial-value: 10px; }
@property --w { syntax: "<number>"; inherits: true; initial-value: 400; }

#porque {
  --f-display: var(--font-display); --f-body: var(--font-body); --f-mono: var(--font-mono);
  --e-out: var(--ease-cinema); --e-snap: var(--ease-snap);
    --c: 72px; --gut: 16px;
}
@media (min-width: 720px) { #porque { --gut: 36px; } }
@media (min-width: 1100px) { #porque { --gut: 72px; } }
#porque .ancho { --an: min(1296px, 100% - 2 * var(--gut)); position: relative; width: var(--an); margin-inline: auto; }
#porque .ancho { margin-left: clamp(var(--gut), round(nearest, (100% - var(--an)) / 2, var(--c)), 100% - var(--an) - var(--gut)); }
#porque .sec-title {
  margin: 0; font-family: var(--f-display); font-weight: 800;
  font-size: clamp(32px, 4.3vw, 62px); line-height: 1; letter-spacing: -.034em; text-wrap: balance; color: var(--ink);
}
#porque .sec-title .serif { font-weight: 500; color: var(--ink-3); letter-spacing: inherit; }
#porque .sec-sub { margin: 18px 0 0; font-size: 16px; line-height: 1.62; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
#porque .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#porque s { text-decoration: none; }

/* ===================== LA ESCENA: la pieza de serie que se rehace =====================
   Estado BASE = el final, «tuyo». Sin JS, sin soporte o con movimiento reducido es lo que
   se ve, quieto y entero. Los fotogramas de cada animación arrancan en «de serie». */
#porque { position: relative; z-index: 2; padding: 56px 0 96px; }
#porque .escena-dentro { display: grid; row-gap: 40px; }
#porque .sec-title { font-size: clamp(28px, 3.5vw, 48px); }
#porque .sec-sub { font-size: 15.5px; }
#porque .rehace { margin-top: 30px; }
#porque .rehace-cab { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 12px; font: 12px/1.4 var(--f-body); letter-spacing: 0; }
#porque .rc-antes { color: var(--ink-3); background: linear-gradient(var(--cobalt), var(--cobalt)) no-repeat 0 55% / 100% 1.5px; }
#porque .rc-luego { color: var(--cobalt); }
#porque .rehace-lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
#porque .rl { position: relative; padding: 12px 0 12px 16px; border-bottom: 1px solid var(--line); }
#porque .rl::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; background: var(--cobalt); transform-origin: 50% 0; transform: scaleY(0); }
#porque .rl-antes {
  display: inline; font-size: 14px; line-height: 1.45; color: var(--ink-3); text-decoration: none;
  background: linear-gradient(var(--cobalt), var(--cobalt)) no-repeat 0 58% / 100% 1.5px;
}
#porque .rl-luego { display: block; margin-top: 3px; font: 600 17px/1.35 var(--f-body); color: var(--ink); }

#porque .pieza-caja { position: relative; width: 100%; max-width: 792px; aspect-ratio: 79.2 / 57.6; container-type: inline-size; }
#porque .pieza { --u: calc(100cqw / 79.2); position: absolute; left: 0; top: 0; width: 79.2em; height: 57.6em; font-size: var(--u); }
#porque .p-formas > * { position: absolute; display: block; }
#porque .p-copia {
  left: 0; top: 0; width: 79.2em; height: 57.6em; border-radius: 2.8em; opacity: 0;
  background:
    radial-gradient(circle at 74em 3.7em, var(--g-b4b9c1) 1.8em, transparent 1.85em),
    radial-gradient(circle at 62.2em 3.7em, var(--g-pieza) 1.6em, transparent 1.65em),
    radial-gradient(circle at 66.6em 3.7em, var(--g-pieza) 1.6em, transparent 1.65em),
    radial-gradient(circle at 57.8em 3.7em, var(--g-pieza) 1.6em, transparent 1.65em),
    linear-gradient(var(--g-d2d5da), var(--g-d2d5da)) 22em 2em / 21em 3.4em no-repeat,
    linear-gradient(var(--g-tarjeta), var(--g-tarjeta)) 21.6em 24.2em / 49.2em 9.4em no-repeat,
    linear-gradient(90deg, var(--g-panel) 18.4em, transparent 0), var(--g-fondo);
  box-shadow: 0 3em 6em -3em var(--tinta-fria-40), inset 0 0 0 1px var(--tinta-fria-6);
}
#porque .p-sombra-dura { left: 1.4em; top: 1.4em; width: 79.2em; height: 57.6em; background: var(--tinta-18); }
#porque .p-bloque { left: 1.4em; top: 1.4em; width: 79.2em; height: 57.6em; background: var(--cobalt); }
#porque .p-sombra-suave { left: 0; top: 0; width: 79.2em; height: 57.6em; border-radius: 2.8em; opacity: 0; box-shadow: 0 4.6em 9em -3.4em var(--tinta-fria-46), 0 1.4em 2.8em -1.2em var(--tinta-fria-22); }
#porque .p-marco { left: 0; top: 0; width: 79.2em; height: 57.6em; background: var(--sheet); border: 1px solid var(--ink); }
#porque .p-reticula {
  left: 0; top: 0; width: 79.2em; height: 57.6em; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 7.2em 7.2em;
}
#porque .p-lateral { left: 0; top: 0; width: 14.4em; height: 57.6em; transform-origin: 0 50%; background-color: var(--g-d5d8dd-0); }
#porque .p-divisor { left: 14.4em; top: 0; width: 1px; height: 57.6em; background: var(--ink); }
/* la pieza ocupa la caja que une su forma de serie y la suya, y se recorta con clip-path:
   la transformación es solo pintura, ni un desplazamiento de maquetación (CLS 0) */
#porque .p-f {
  --X: min(var(--x0), var(--x1)); --Y: min(var(--y0), var(--y1));
  --X2: max(var(--x0) + var(--w0), var(--x1) + var(--w1)); --Y2: max(var(--y0) + var(--h0), var(--y1) + var(--h1));
  left: var(--X); top: var(--Y); width: calc(var(--X2) - var(--X)); height: calc(var(--Y2) - var(--Y));
  background-color: var(--c1);
  clip-path: inset(calc(var(--y1) - var(--Y)) calc(var(--X2) - var(--x1) - var(--w1)) calc(var(--Y2) - var(--y1) - var(--h1)) calc(var(--x1) - var(--X)) round var(--r1, 0em));
}
#porque .p-x { left: var(--x0); top: var(--y0); width: var(--w0); height: var(--h0); border-radius: var(--r0); background-color: var(--c0); opacity: 0; pointer-events: none; }
#porque .p-menu { --x0: 2.4em; --w0: 13.6em; --h0: 2.4em; --r0: 1.2em; --c0: var(--g-pieza); --x1: 3.6em; --w1: 7.2em; --h1: .6em; --c1: var(--ink); }
#porque .p-menu--b { --w1: 5em; }
#porque .p-menu--c { --w1: 6.2em; }
#porque .p-nueva { left: 3.6em; top: 20.2em; width: 7.2em; height: .6em; background: var(--cobalt); transform-origin: 0 50%; }
#porque .p-guias {
  left: 0; top: 0; width: 79.2em; height: 57.6em; opacity: 0;
  background: linear-gradient(var(--cobalt), var(--cobalt)) 14.4em 0 / 1px 100% no-repeat, linear-gradient(var(--cobalt), var(--cobalt)) 21.6em 0 / 1px 100% no-repeat,
    linear-gradient(var(--cobalt), var(--cobalt)) 0 43.2em / 100% 1px no-repeat, linear-gradient(var(--cobalt), var(--cobalt)) 0 7.2em / 100% 1px no-repeat;
}
#porque .p-asiento { --y0: 51.4em; --w0: 3em; --h0: 3em; --r0: 1.5em; --x1: 3.6em; --y1: 43.2em; --w1: 7.2em; --h1: 7.2em; --c1: var(--ink); }
#porque .p-buscar { --x0: 20.8em; --y0: 2em; --w0: 23.6em; --h0: 3.4em; --r0: 1.7em; --c0: var(--g-d2d5da); }
#porque .p-icono { --y0: 2.1em; --w0: 3.2em; --h0: 3.2em; --r0: 1.6em; --c0: var(--g-pieza); }
#porque .p-insignia { --x0: 58.4em; --y0: 1.4em; --w0: 1.4em; --h0: 1.4em; --r0: .7em; --c0: transparent; }
#porque .p-insignia b,
#porque .p-tooltip b,
#porque .p-burbuja b { position: absolute; inset: 0; border-radius: inherit; display: block; }
#porque .p-insignia b { background: var(--g-rojo); box-shadow: 0 0 0 .25em var(--g-fondo); }
#porque .p-avatar { --x0: 74em; --y0: 1.9em; --w0: 3.6em; --h0: 3.6em; --r0: 1.8em; --c0: var(--g-b4b9c1); }
#porque .p-tooltip { --x0: 49.6em; --y0: 6.6em; --w0: 14em; --h0: 2.8em; --r0: 1.4em; --c0: transparent; }
#porque .p-tooltip b { background: linear-gradient(var(--g-9aa0a9), var(--g-9aa0a9)) 1.4em 50% / 8em .7em no-repeat, var(--g-oscuro); }
#porque .p-tooltip b::before { content: ""; position: absolute; left: 7.2em; top: -.5em; width: 1em; height: 1em; background: var(--g-oscuro); transform: rotate(45deg); border-radius: .15em; }
#porque .p-chip { --y0: 19.8em; --h0: 2.8em; --r0: 1.4em; --c0: var(--g-d3d6db); }
#porque .p-widget { --y0: 24.2em; --w0: 15.6em; --h0: 9.4em; --r0: 1.6em; --c0: var(--g-tarjeta); box-shadow: 0 1.2em 2.4em -1.4em var(--tinta-fria-32); }
#porque .p-widget--barras { background-image: linear-gradient(var(--g-d0d3d8), var(--g-d0d3d8)), repeating-linear-gradient(90deg, var(--g-bfc3ca) 0 1.3em, transparent 1.3em 2.2em); background-size: 6em .8em, 11.8em 3.6em; background-position: 1.6em 1.6em, 1.6em 4.4em; background-repeat: no-repeat; }
#porque .p-widget--aro { background-image: linear-gradient(var(--g-d0d3d8), var(--g-d0d3d8)), radial-gradient(circle at 11.4em 5.4em, var(--g-tarjeta) 1.6em, transparent 1.65em), radial-gradient(circle at 11.4em 5.4em, transparent 2.7em, var(--g-tarjeta) 2.75em), conic-gradient(from 20deg at 11.4em 5.4em, var(--g-a9afb8) 0 64%, var(--g-d5d8dd) 0); background-size: 5em .8em, auto, auto, auto; background-position: 1.6em 1.6em, 0 0, 0 0, 0 0; background-repeat: no-repeat; }
#porque .p-widget--linea { background-image: linear-gradient(var(--g-d0d3d8), var(--g-d0d3d8)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40'%3E%3Cpolyline points='0,32 18,26 34,30 52,14 70,20 88,8 104,16 120,6' fill='none' stroke='%23A3A9B2' stroke-width='3' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E"); background-size: 7em .8em, 12.4em 4.2em; background-position: 1.6em 1.6em, 1.6em 4.2em; background-repeat: no-repeat; }
#porque .p-tabla { left: 21.6em; top: 35.8em; width: 52.8em; height: 18.2em; border-radius: 1.8em; background: var(--g-ebedf0); box-shadow: inset 0 0 0 1px var(--tinta-fria-7), 0 1.6em 3.2em -2.4em var(--tinta-fria-34); opacity: 0; }
#porque .p-fila { --x0: 23.6em; --w0: 48.8em; --h0: 1.4em; --r0: .7em; --c0: var(--g-d1d5db); --x1: 21.6em; --w1: 50.4em; --h1: max(1px, .1em); --c1: var(--ink); }
#porque .p-fila--cobalto { --h1: max(2px, .2em); --c1: var(--cobalt); }
#porque .p-burbuja { --x0: 70.4em; --y0: 42.6em; --w0: 6.2em; --h0: 4.8em; --r0: 2.4em 2.4em .6em 2.4em; --c0: transparent; }
#porque .p-burbuja b { background: radial-gradient(circle, var(--sobre-cobalto) .45em, transparent .5em) 1.5em 50% / 1.6em 1.6em repeat-x, var(--g-9da3ac); background-clip: padding-box; transform-origin: 80% 100%; }
#porque .p-fab { --x0: 71.4em; --y0: 49.8em; --w0: 5.4em; --h0: 5.4em; --r0: 2.7em; --c0: var(--g-686d76); background-image: linear-gradient(var(--sobre-cobalto), var(--sobre-cobalto)), linear-gradient(var(--sobre-cobalto), var(--sobre-cobalto)); background-size: 1.9em .32em, .32em 1.9em; background-position: center; background-repeat: no-repeat; box-shadow: 0 1em 2em -.8em var(--tinta-fria-50); }

/* los dos textos de la pieza: en el DOM y legibles, no dentro de un dibujo */
#porque .p-hoy {
  --hf0: 2.1; --hf1: 1.4;
  position: absolute; left: calc(var(--u) * 21.6); top: calc(var(--u) * 6.4); width: calc(var(--u) * 50.4);
  margin: 0; font-family: var(--f-display); color: var(--ink-3); --w: 400; font-variation-settings: "wght" var(--w);
}
#porque .p-hoy-tit { display: block; margin-bottom: .55em; font: 1.05em/1 var(--f-body); letter-spacing: 0; color: var(--ink-3); }
#porque .p-hoy s {
  font-size: calc(var(--u) * var(--hf1)); line-height: 1.5; text-decoration: none; font-variation-settings: "wght" var(--w);
  background: linear-gradient(var(--cobalt), var(--cobalt)) no-repeat 0 60% / 100% max(1.5px, .14em);
}
#porque .p-hoy-tit { font-size: calc(var(--u) * 1.15); }
#porque .p-tuya {
  --ty: 15; --tf: 6.8;
  position: absolute; left: calc(var(--u) * 21.6); top: calc(var(--u) * var(--ty)); width: calc(var(--u) * 42);
  margin: 0; font-family: var(--f-display); font-size: calc(var(--u) * var(--tf)); line-height: .95; letter-spacing: -.04em;
  --w: 800; font-variation-settings: "wght" var(--w); color: var(--ink);
}
#porque .p-tuya span { display: block; color: var(--cobalt); }

@media (min-width: 1100px) {
  #porque .escena-dentro { grid-template-columns: minmax(0, 432px) minmax(0, 1fr); column-gap: 72px; align-items: start; }
}
@media (max-width: 1099px) {
  #porque .p-hoy { --hf0: 3; --hf1: 2.5; }
  #porque .p-tuya { --ty: 21; --tf: 6; }
}

/* reducido: el final, quieto, con lo de serie insinuado detrás */
@media (prefers-reduced-motion: reduce) {
  #porque .p-copia--1 { transform: translate(-2.6em, -2.6em) rotate(-1.5deg); opacity: .6; }
  #porque .p-copia--2 { transform: translate(-5.2em, -5.2em) rotate(-3deg); opacity: .32; }
}

/* ---------- fotogramas ---------- */
@keyframes p-forma { from { background-color: var(--c0); clip-path: inset(calc(var(--y0) - var(--Y)) calc(var(--X2) - var(--x0) - var(--w0)) calc(var(--Y2) - var(--y0) - var(--h0)) calc(var(--x0) - var(--X)) round var(--r0)); } }
@keyframes p-cae {
  0%, 97% { opacity: 1; }
  0% { transform: none; }
  100% { opacity: 0; transform: translate(var(--dx, 0em), var(--caida, 110vh)) rotate(var(--rot, 20deg)); }
}
@keyframes p-copia-1 { from { transform: translate(2.8em, 2.8em); opacity: .95; } to { transform: translate(34em, 5em) rotate(5deg); opacity: 0; } }
@keyframes p-copia-2 { from { transform: translate(5.6em, 5.6em); opacity: .82; } to { transform: translate(48em, 16em) rotate(10deg); opacity: 0; } }
@keyframes p-marco { from { border-radius: 2.8em; background-color: var(--g-fondo); border-color: var(--tinta-fria-7); } }
@keyframes p-sale { from { opacity: 1; } to { opacity: 0; } }
@keyframes p-entra { from { opacity: 0; } }
@keyframes p-bloque { 0% { transform: translate(-1.4em, -1.4em); opacity: 0; } 6% { opacity: 1; } 80% { transform: translate(.4em, .4em); } 100% { transform: none; } }
@keyframes p-guias { 0%, 100% { opacity: 0; } 45% { opacity: .9; } }
@keyframes p-reticula { from { opacity: 0; transform: rotate(-4deg) scale(1.1); } }
@keyframes p-lateral { from { transform: scaleX(1.278); border-radius: 2.8em 0 0 2.8em; background-color: var(--g-panel); } }
@keyframes p-tabla { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.95); } }
@keyframes p-nueva { from { transform: scaleX(0); } }
@keyframes p-tachar { from { background-size: 0% max(1.5px, .14em); } }
@keyframes p-encoge { from { font-size: calc(var(--u) * var(--hf0)); color: var(--g-texto); --w: 300; letter-spacing: .01em; } }
@keyframes p-hoy-caja { from { transform: translateY(calc(var(--u) * 2.8)); } }
@keyframes p-tuya { 0% { opacity: 0; --w: 230; letter-spacing: .08em; transform: translateY(.3em); } 28% { opacity: 1; } }
@keyframes rl-tacha { from { background-size: 0% 1.5px; color: var(--ink); } }
@keyframes rl-escribe { from { opacity: 0; transform: translateY(.5em); } }
@keyframes rl-marca { 0% { transform: scaleY(0); } 18%, 82% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes rc-tacha { from { background-size: 0% 1.5px; } }
@keyframes esc-aparece { from { opacity: 0; transform: translateY(48px); } }
@keyframes rl-ventana { 0% { opacity: 0; transform: translateY(.6em); } 12%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-.6em); } }
@keyframes rl-ventana-fin { 0% { opacity: 0; transform: translateY(.6em); } 14%, 100% { opacity: 1; transform: none; } }
@keyframes rl-ventana-ini { 0%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-.6em); } }

/* ---------- qué hace cada pieza y cuándo (fracciones del recorrido) ---------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  /* solo propiedades sueltas: el atajo «animation» devolvería animation-timeline a auto */
  #porque .p-formas > *,
#porque .p-hoy,
#porque .p-hoy s,
#porque .p-hoy-tit,
#porque .p-tuya,
#porque .rc-antes,
#porque .rc-luego,
#porque .rl-antes,
#porque .rl-luego,
#porque .rl::before {
    animation-fill-mode: both; animation-timing-function: linear;
  }
  #porque .p-copia--1 { animation-name: p-copia-1; --a: 0; --b: .1; }
  #porque .p-copia--2 { animation-name: p-copia-2; --a: 0; --b: .12; }
  #porque .p-x { animation-name: p-cae; animation-timing-function: cubic-bezier(.5, 0, .9, .45); --a: calc(.12 + var(--i, 0) * .014); --b: calc(var(--a) + .085); }
  #porque .p-nueva { animation-name: p-nueva; --a: .31; --b: .37; }
  #porque .p-marco { animation-name: p-marco; --a: .37; --b: .52; }
  #porque .p-sombra-suave { animation-name: p-sale; --a: .37; --b: .5; }
  #porque .p-lateral { animation-name: p-lateral; --a: .37; --b: .52; }
  #porque .p-divisor { animation-name: p-entra; --a: .44; --b: .52; }
  #porque .p-reticula { animation-name: p-reticula; --a: .42; --b: .55; }
  #porque .p-guias { animation-name: p-guias; --a: .45; --b: .6; }
  #porque .p-menu.p-f { animation-name: p-forma; --a: .38; --b: .53; }
  #porque .p-tabla { animation-name: p-tabla; --a: .55; --b: .63; }
  #porque .p-fila { animation-name: p-forma; --a: .57; --b: .69; }
  #porque .p-asiento { animation-name: p-forma; --a: .7; --b: .83; }
  #porque .p-sombra-dura { animation-name: p-entra; --a: .42; --b: .52; }
  #porque .p-bloque { animation-name: p-bloque; --a: .85; --b: .95; }
  #porque .p-hoy { animation-name: p-hoy-caja; --a: .86; --b: .92; }
  #porque .p-hoy s { animation-name: p-tachar, p-encoge; }
  #porque .p-tuya { animation-name: p-tuya; --a: .86; --b: .97; }
  #porque .rc-antes { animation-name: rc-tacha; --a: .86; --b: .91; }
  #porque .rc-luego { animation-name: p-entra; --a: .89; --b: .94; }
  #porque .rl-antes { animation-name: rl-tacha; }
  #porque .rl-luego { animation-name: rl-escribe; }
  #porque .rl::before { animation-name: rl-marca; }

  @supports (display: block) {
    #porque { --T: 8s; }
    #porque .p-formas > *,
#porque .p-hoy,
#porque .p-hoy s,
#porque .p-tuya,
#porque .rc-antes,
#porque .rc-luego,
#porque .rl-antes,
#porque .rl-luego,
#porque .rl::before { animation-duration: 0s; }
    html.js #porque .p-formas > *,
html.js #porque .p-hoy,
html.js #porque .p-hoy s,
html.js #porque .p-tuya,
html.js #porque .rc-antes,
html.js #porque .rc-luego,
html.js #porque .rl-antes,
html.js #porque .rl-luego,
html.js #porque .rl::before {
      animation-duration: calc((var(--b) - var(--a)) * var(--T)); animation-delay: calc(var(--a) * var(--T)); animation-play-state: paused;
    }
    html.js #porque .p-hoy s { animation-duration: calc(.05 * var(--T)), calc(.06 * var(--T)); animation-delay: calc(.82 * var(--T)), calc(.86 * var(--T)); animation-play-state: paused, paused; }
    html.js #porque .rl-antes { animation-duration: calc((var(--b) - var(--a)) * .55 * var(--T)); }
    html.js #porque .rl-luego { animation-delay: calc((var(--a) + (var(--b) - var(--a)) * .45) * var(--T)); animation-duration: calc((var(--b) - var(--a)) * .55 * var(--T)); }
    html.js #porque.rehaciendo *,
html.js #porque.rehaciendo .rl::before,
html.js #porque.rehaciendo .p-hoy s { animation-play-state: running; }
  }
}

/* el puntero: lo de serie que tocas se vuelve tuyo (portada.js pone .cerca; solo ratón) */
#porque .p-x,
#porque .p-x b { transition: border-radius .25s var(--e-snap), background-color .25s, box-shadow .25s; }
#porque .p-x.cerca { border-radius: 0; background-color: var(--cobalt); background-image: none; box-shadow: none; }
#porque .p-x.cerca b { border-radius: 0; background: var(--cobalt); box-shadow: none; }
#porque .p-x.cerca b::before { background: var(--cobalt); }
/* ===== versión dinámica: la escena se reproduce sola al llegar (no va con el scroll) ===== */
#porque { padding: 72px 0; }
#porque .rl { cursor: pointer; transition: background-color .2s; }
#porque .rl:hover { background-color: var(--cobalto-5); }
#porque .rl.activa .rl-luego { color: var(--cobalt); }
#porque .pieza-mando { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-family: var(--font-body); font-size: 12px; letter-spacing: 0; color: var(--ink-3); }
#porque .pieza-barra { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
#porque .pieza-barra i { position: absolute; inset: 0; background: var(--cobalt); transform-origin: left; transform: scaleX(0); }
#porque .pieza-otra { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--ink); background: none; border: 1px solid var(--ink); padding: 8px 12px; cursor: pointer; }
#porque .pieza-otra:hover { background: var(--ink); color: var(--paper); }

/* ===== pantalla final: la herramienta ya hecha, con sus agentes trabajando ===== */
#porque .p-final {
  position: absolute; left: 0; top: 0; width: 79.2em; height: 57.6em; z-index: 5;
  background: var(--sheet); border: 1px solid var(--ink);
  display: grid; grid-template-columns: 16em 1fr; grid-template-rows: 6.4em 1fr 5.2em;
  font-family: var(--f-body); color: var(--ink);
  clip-path: inset(0 0 100% 0); pointer-events: none;
  transition: clip-path .55s cubic-bezier(.7, 0, .2, 1);
}
#porque.final .p-final { clip-path: inset(0 0 0 0); }
#porque.final .p-tuya,
#porque.final .p-hoy { opacity: 0; transition: opacity .2s; }
.js #porque .pf-e { opacity: 0; transform: translateY(1.2em); transition: opacity .4s, transform .5s cubic-bezier(.16, 1, .3, 1); transition-delay: 0s; }
#porque.final .pf-e { opacity: 1; transform: none; transition-delay: calc(.35s + var(--d) * .09s); }
#porque .pf-barra { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 0 2.4em; border-bottom: 1px solid var(--ink); }
#porque .pf-marca { display: flex; align-items: center; gap: 1.1em; font-family: var(--f-display); font-weight: 800; font-size: 2em; letter-spacing: -.01em; }
#porque .pf-marca i { width: .7em; height: .7em; background: var(--cobalt); transform: rotate(45deg); }
#porque .pf-sello { font-family: var(--f-body); font-size: 1.15em; letter-spacing: 0; color: var(--sobre-cobalto); background: var(--cobalt); padding: .7em 1.1em; }
#porque .pf-menu { display: flex; flex-direction: column; gap: .2em; padding: 2.4em 0; border-right: 1px solid var(--line-2); }
#porque .pf-menu span { font-size: 1.45em; padding: .55em 1.65em; color: var(--ink-3); border-left: .2em solid transparent; }
#porque .pf-menu span.on { color: var(--ink); font-weight: 600; border-left-color: var(--cobalt); background: var(--cobalto-6); }
#porque .pf-cuerpo { padding: 3em 3.2em 0; }
#porque .pf-tit { margin: 0 0 1.1em; font-family: var(--f-display); font-weight: 800; font-size: 4.4em; line-height: .98; letter-spacing: -.035em; }
#porque .pf-tit span { display: block; color: var(--cobalt); }
#porque .pf-agentes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
#porque .pf-agentes li { display: grid; grid-template-columns: 1fr auto; column-gap: 2em; row-gap: .3em; padding: 1.35em 0; border-bottom: 1px solid var(--line-2); }
#porque .pf-agentes b { font-size: 1.55em; font-weight: 600; }
#porque .pf-agentes em { grid-column: 1; font-style: normal; font-size: 1.3em; color: var(--ink-3); }
#porque .pf-est { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--f-body); font-size: 1.05em; letter-spacing: 0; padding: .6em 1em; display: flex; align-items: center; gap: .8em; }
#porque .pf-est.hecho { border: 1px solid var(--ink); }
#porque .pf-est.hecho::before { content: ""; width: .9em; height: .5em; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translateY(-.15em); }
#porque .pf-est.vivo { background: var(--cobalt); color: var(--sobre-cobalto); }
#porque .pf-est.vivo::before { content: ""; width: .7em; height: .7em; border-radius: 50%; background: var(--sobre-cobalto); animation: pf-late 1.1s ease-in-out infinite; }
@keyframes pf-late { 50% { opacity: .25; transform: scale(.7); } }#porque { padding: 72px 0; }

#porque .pf-pie { grid-column: 1 / -1; margin: 0; display: flex; align-items: center; gap: 1em; padding: 0 2.4em; border-top: 1px solid var(--ink); font-family: var(--f-body); font-size: 1.15em; letter-spacing: 0; color: var(--ink-2); }
#porque .pf-pie i { width: .8em; height: .8em; background: var(--cobalt); }
