  :root {
    --ink: #2a292e;
    --ink-2: #2f2e34;
    --muted: #5f6267;
    --page: #eef0f1;
    --frame: #f6f7f8;
    --line: rgba(17, 18, 20, .14);
    --shadow: 0 1px 1px rgba(17,18,20,.04), 0 4px 10px -2px rgba(17,18,20,.06), 0 18px 36px -10px rgba(17,18,20,.12);
  }
  /* Grano fino encima de todo: le quita lo plano al gris */
  body::after {
    content: ''; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  * { box-sizing: border-box; margin: 0; }
  html { -webkit-font-smoothing: antialiased; }
  body { font-family: Inter, system-ui, sans-serif; background: var(--page); color: var(--ink); }
  ::selection { background: rgba(232,54,79,.18); }
  a { color: inherit; text-decoration: none; }
  :focus-visible { outline: 2.5px solid #e8364f; outline-offset: 3px; }
  .btn:focus-visible, nav .links a:focus-visible { outline-offset: 4px; }
  @media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
  [id] { scroll-margin-top: 96px; }

  /* Marco del hero: va metido 8 px dentro de la página, como en Bevel */
  .hero {
    position: relative; margin: 8px; min-height: calc(100svh - 16px); padding-bottom: clamp(24px, 5vh, 56px);
    border-radius: 28px; overflow: hidden; isolation: isolate;
    /* Cereza suave arriba que se va disolviendo en el gris claro de la paleta */
    background:
      radial-gradient(420px 140px at 15% 38%, rgba(255,255,255,.6), transparent 72%),
      radial-gradient(280px 100px at 22% 34%, rgba(255,255,255,.55), transparent 72%),
      radial-gradient(380px 130px at 85% 44%, rgba(255,255,255,.55), transparent 72%),
      radial-gradient(260px 90px at 79% 40%, rgba(255,255,255,.5), transparent 72%),
      linear-gradient(#a9c8f5 0%, #cadff9 24%, #e8f0fb 46%, var(--frame) 68%);
    display: flex; flex-direction: column; align-items: center; box-shadow: inset 0 0 0 1px var(--line);
  }
  /* Nubes suaves que le dan cuerpo al cielo, como en Bevel; se disuelven antes de llegar a la Mac */
  .clouds { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .95;
    -webkit-mask-image: linear-gradient(#000 0, #000 30%, rgba(0,0,0,.5) 50%, transparent 72%);
    mask-image: linear-gradient(#000 0, #000 30%, rgba(0,0,0,.5) 50%, transparent 72%); }
  /* Grano propio del hero, más marcado que el de la página */
  .hero::before {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .1; mix-blend-mode: multiply;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  /* El final del hero se disuelve en el fondo, por detrás de la Mac */
  .hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; z-index: 1; pointer-events: none;
    background: linear-gradient(rgba(246,247,248,0), rgba(246,247,248,.85) 55%, var(--frame));
  }
  /* Túnel de luz que se angosta detrás de la MacBook, como en Bevel. Su cuello cae en el centro de la pantalla (37.7 % de la Mac). */
  .beam {
    position: absolute; z-index: 0; left: 50%; top: -42.3%; width: 100vw; height: 160%;
    transform: translateX(-50%); pointer-events: none;
    /* Se desvanece arriba y abajo para que nunca choque con el borde del marco */
    -webkit-mask-image: linear-gradient(transparent 0, #000 16%, #000 66%, transparent 88%);
    mask-image: linear-gradient(transparent 0, #000 16%, #000 66%, transparent 88%);
  }

  /* Nav despegada: una tarjeta flotante con aire arriba y a los lados, así el marco del hero se ve entero con sus esquinas curvas */
  nav {
    --t: 24px; --r0: 22px; --r1: 24px; --p: 0; --g: 0;
    position: absolute; z-index: 200; left: 50%; transform: translate(-50%); height: 80px;
    /* Va con la página (también en el rebote) hasta tocar el techo y ahí se queda fijo; las esquinas cambian al mismo ritmo */
    top: var(--t);
    /* Arriba va recogida para que logo, enlaces y botón se lean juntos sin el vidrio; al bajar se abre hasta el ancho del cuadro de servicios */
    --wa: min(860px, calc(100% - 32px)); --wb: min(1344px, calc(100% - 32px));
    width: calc(var(--wa) + (var(--wb) - var(--wa)) * var(--g));
    border-radius: calc(var(--r0) * (1 - var(--p))) calc(var(--r0) * (1 - var(--p))) calc(var(--r0) + (var(--r1) - var(--r0)) * var(--p)) calc(var(--r0) + (var(--r1) - var(--r0)) * var(--p));
    display: flex; align-items: center; gap: 28px; padding: 0 12px 0 28px;
    /* Arriba del todo se funde con el cielo del hero; el vidrio aparece poco a poco al bajar (--g va de 0 a 1) */
    background: rgba(255,255,255,calc(.78 * var(--g)));
    -webkit-backdrop-filter: blur(calc(24px * var(--g))) saturate(calc(100% + 80% * var(--g))); backdrop-filter: blur(calc(24px * var(--g))) saturate(calc(100% + 80% * var(--g)));
    box-shadow: inset 0 -1px 0 rgba(255,255,255,calc(.5 * var(--g))), 0 1px 0 rgba(17,18,20,calc(.05 * var(--g))), 0 12px 32px -18px rgba(17,18,20,calc(.28 * var(--g)));
  }
  nav.pin { position: fixed; top: 0; background: rgba(255,255,255,calc(.92 * var(--g))); }
  @media (prefers-reduced-transparency: reduce) { nav { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
  @media (prefers-contrast: more) {
    :root { --muted: #3f4247; --line: rgba(17,18,20,.24); }
    nav { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 0 0 1px rgba(17,18,20,.4); }
    .flag { background: #2f2e34; }
  }
  .brand { display: flex; align-items: center; gap: 10px; margin-right: auto; padding: 12px 0; border-radius: 12px; }
  .brand svg { width: 48px; height: 25px; }
  .brand span { font-family: Manrope, sans-serif; font-size: 1.5625rem; letter-spacing: -.02em; white-space: nowrap; }
  .brand b { font-weight: 800; }
  nav .links { display: flex; gap: 6px; }
  nav .links a { white-space: nowrap; padding: 12px 18px; border-radius: 999px; font-size: 1.0625rem; font-weight: 600; color: var(--ink); transition: background .2s, transform .5s cubic-bezier(.2,.8,.2,1), scale .12s ease-out; }
  nav .btn { font-size: 1.0625rem; font-weight: 700; padding: 15px 28px; }
  nav .links a:hover { background: rgba(17,18,20,.05); transform: translateY(-2px); }
  /* Menú de secciones en pantallas angostas: disclosure nativo sobre vidrio, sin JS extra (mismo corte donde .links desaparece) */
  .mnav { display: none; }
  @media (max-width: 760px) {
    .mnav { display: block; position: relative; margin-left: auto; }
    .mnav summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: rgba(17,18,20,.06); cursor: pointer; transition: background .2s; }
    .mnav summary::-webkit-details-marker { display: none; }
    .mnav summary svg { width: 20px; height: 20px; color: var(--ink); transition: transform .3s ease; }
    .mnav[open] summary { background: rgba(17,18,20,.1); }
    .mnav[open] summary svg { transform: rotate(90deg); }
    .mnav-x { position: absolute; top: calc(100% + 12px); right: 0; z-index: 12; display: grid; gap: 4px; min-width: 218px; padding: 10px; border-radius: 18px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: inset 0 0 0 1px rgba(17,18,20,.06), 0 30px 60px -24px rgba(17,18,20,.4); animation: rise .35s cubic-bezier(.2,.8,.2,1) backwards; }
    .mnav-x a { padding: 10px 16px; border-radius: 12px; font-size: 1rem; font-weight: 600; text-decoration: none; color: var(--ink); }
    .mnav-x a:hover { background: rgba(17,18,20,.05); }
  }
  .btn {
    display: inline-flex; align-items: center; gap: 10px; border-radius: 999px;
    background: var(--ink-2); color: #eef1f6; font-weight: 600; font-size: 1rem; padding: 14px 24px;
    transition: background .2s, transform .5s cubic-bezier(.2,.8,.2,1), scale .12s ease-out;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 2px rgba(17,18,20,.2), 0 8px 18px -6px rgba(17,18,20,.35);
  }
  /* Mismo hover que la tarjeta de Ya Viene: sube suave y la flecha avanza */
  .btn:hover { background: #1d1c20; transform: translateY(-3px); }
  .btn svg { width: 16px; height: 16px; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
  .btn:hover svg { transform: translateX(2px); }

  /* Titular */
  .copy { position: relative; z-index: 4; text-align: center; padding: calc(96px + clamp(28px, 6vh, 64px)) 16px 0; }
  h1 {
    font-family: Manrope, sans-serif; font-weight: 800; font-size: clamp(2.375rem, 5.2vw, 4.75rem);
    line-height: .96; letter-spacing: -.035em; color: var(--muted);
  }
  /* Jerarquía del titular: el planteamiento se atenúa y el desenlace queda a plena tinta */
  h1 .soft { color: var(--ink); }
  h1 em { font-style: normal; }
  /* "Tech" lleva los colores del túnel y el brillo se desliza despacio */
  .brand i {
    font-style: normal; font-weight: 700; padding-right: .04em;
    background: linear-gradient(90deg, #ff3b30, #ff8a00 35%, #2f6bff 65%, #ff3b30) 0 0 / 300% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 9s linear infinite;
  }
  @keyframes sheen { to { background-position: 300% 0; } }
  .sub { margin: 18px auto 0; max-width: 560px; color: #5d6066; font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.45; }
  .cta { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .cta .btn { font-size: 1.125rem; padding: 17px 32px; }
  .cta small { color: #5d6066; font-size: 0.8438rem; }

  /* Escenario de la MacBook: completa a la vista, sin pasarse del alto de la pantalla */
  .stage { position: relative; z-index: 2; flex: none; width: min(1320px, 100%, 152svh); margin-top: clamp(8px, 3vh, 32px); }
  .mac { position: relative; width: 100%; aspect-ratio: 2010 / 1180; container-type: inline-size; }
  /* Niebla baja que envuelve la base de la Mac sin taparla */
  .mac::after {
    content: ''; position: absolute; z-index: 3; left: -25%; right: -25%; bottom: -30%; height: 22%; pointer-events: none;
    background: radial-gradient(50% 50% at 50% 50%, rgba(246,247,248,.38), rgba(246,247,248,.22) 40%, rgba(246,247,248,0) 72%);
    filter: blur(14px);
  }
  /* Sombra de contacto: la Mac se apoya en el piso en vez de flotar */
  .mac::before {
    content: ''; position: absolute; z-index: 0; left: 4%; right: 4%; bottom: -8%; height: 14%; pointer-events: none;
    background: radial-gradient(42% 22% at 50% 40%, rgba(17,18,20,.55), rgba(17,18,20,0)),
                radial-gradient(50% 50% at 50% 42%, rgba(17,18,20,.22), rgba(17,18,20,.08) 60%, rgba(17,18,20,0));
    filter: blur(6px);
  }
  /* Luz de borde cherry que la integra con el fondo */
  .mac > img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none;
    filter: drop-shadow(0 -6px 22px rgba(255,110,40,.24)) drop-shadow(0 3cqw 4cqw rgba(17,18,20,.38)) drop-shadow(0 .5cqw .8cqw rgba(17,18,20,.32)); }
  /* Pantalla en HTML detrás de la foto; la foto es transparente donde va la pantalla y conserva bisel y notch */
  .screen {
    position: absolute; z-index: 1; left: 24.3%; top: 9.3%; width: 51.4%; height: 56.9%;
    border-radius: 1.2% / 1.9%; overflow: hidden; container-type: inline-size;
    background: #fff; color: var(--ink);
  }
  /* Brillo muy leve del vidrio arriba */
  .screen::after { content: ''; position: absolute; inset: 0; z-index: 20; pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,.04), transparent 25%); }

  /* La pantalla: un espacio de trabajo oscuro y sereno. A la izquierda el espacio de Ya Viene Tech, al centro
     el proyecto con su actividad y a la derecha la app armándose en un iPhone (todo en cqw) */
  .ws { position: absolute; inset: 0; display: grid; grid-template-columns: 17cqw 1fr; gap: .9cqw;
    padding: 2.6cqw .9cqw .9cqw; background: #FBFBFD; color: #2a2c31; font: 1.05cqw/1.5 Inter, sans-serif; letter-spacing: -.005em; }
  .ws-side svg { flex: none; width: 1.25cqw; height: 1.25cqw; }
  .act svg { flex: none; width: 1.55cqw; height: 1.55cqw; }
  .ws-side { display: flex; flex-direction: column; gap: .2cqw; padding: .4cqw .2cqw 0 .6cqw; color: #6B6F7A; min-width: 0; }
  .ws-side p { display: flex; align-items: center; gap: .85cqw; margin: 0; padding: .55cqw .75cqw; border-radius: .7cqw; white-space: nowrap; }
  .ws-side p.on { background: #ECECF1; color: #17181C; }
  .ws-side p em { margin-left: auto; font-style: normal; font-size: .85cqw; color: #9A9DA6; }
  .ws-side small { margin: 1.4cqw .75cqw .3cqw; font-size: .9cqw; color: #9A9DA6; }
  .ws-side .brand-ws { margin-bottom: .9cqw; color: #17181C; font-weight: 600; font-size: 1.15cqw; }
  .ws-side .brand-ws > svg { width: 1.6cqw; height: 1.6cqw; filter: drop-shadow(0 .1cqw .3cqw rgba(0,0,0,.15)); }
  .ws-side .brand-ws span { margin-left: auto; display: flex; gap: .9cqw; color: #9A9DA6; }
  .ws-side .lg { flex: none; display: grid; place-items: center; width: 1.45cqw; height: 1.45cqw; border-radius: .42cqw;
    background: linear-gradient(150deg, color-mix(in srgb, var(--c) 62%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 78%, #000));
    box-shadow: inset 0 .06cqw 0 rgba(255,255,255,.35), 0 .1cqw .3cqw rgba(0,0,0,.15); color: #fff; }
  .ws-side .lg svg { width: .95cqw; height: .95cqw; }
  .ws-side img, .ws-top img { flex: none; width: 1.3cqw; height: 1.3cqw; }
  .ws-main { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
    border: .08cqw solid #E8E8EE; border-radius: 1.2cqw; background: #fff; }
  .ws-top { display: flex; align-items: center; gap: .9cqw; padding: .9cqw 1.4cqw; border-bottom: .08cqw solid #EEEEF2; color: #17181C; font-weight: 500; white-space: nowrap; }
  .ws-top em { font-style: normal; color: #8A8D96; } .ws-top i { font-style: normal; color: #D99A06; } .ws-top u { text-decoration: none; color: #9A9DA6; }
  .ws-st { margin-left: auto; display: flex; align-items: center; gap: .6cqw; padding: .3cqw .95cqw; border-radius: 99px; background: #F2F2F5; color: #4A4D55; font-size: .95cqw; }
  .ws-st::before { content: ''; width: .65cqw; height: .65cqw; border-radius: 50%; background: var(--d, #9A9DA6); box-shadow: 0 0 .8cqw var(--d, transparent); transition: background .8s, box-shadow .8s; }
  .ws-body { display: grid; grid-template-columns: 1fr 27cqw; min-height: 0; }
  .ws-doc { min-width: 0; overflow: hidden; padding: 2.8cqw 2.6cqw 0; }
  .ws-doc h3 { margin: 0 0 .6cqw; font-size: 2.15cqw; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: #17181C; }
  .ws-doc > p { margin: 0 0 2.4cqw; max-width: 46cqw; color: #6B6F7A; font-size: 1.2cqw; line-height: 1.55; }
  .ws-doc h4 { margin: 0 0 1.3cqw; font-size: 1.3cqw; font-weight: 600; color: #17181C; }
  .act { display: grid; gap: 1.25cqw; transition: opacity .7s cubic-bezier(.4,0,.2,1), filter .7s cubic-bezier(.4,0,.2,1); }
  .act.out { opacity: 0; filter: blur(.4cqw); }
  .act > * { animation: llega .9s cubic-bezier(.16,1,.3,1) both; }
  @keyframes llega { from { opacity: 0; transform: translateY(.7cqw); filter: blur(.3cqw); } }
  .act .ev { display: flex; align-items: center; gap: 1cqw; padding-left: .35cqw; color: #7A7D86; font-size: 1.3cqw; white-space: nowrap; }
  .act .ev b { color: #4A4D55; font-weight: 500; } .act .ev em { font-style: normal; color: #A6A9B1; }
  .act .ev svg { color: var(--c); }
  .act .msg { padding: 1.3cqw 1.5cqw; border: .08cqw solid #ECECF1; border-radius: 1cqw; background: #fff; }
  .act .msg header { display: flex; align-items: center; gap: .8cqw; font-size: 1.3cqw; font-weight: 500; color: #17181C; }
  .act .msg header em { font-style: normal; font-weight: 400; color: #9A9DA6; }
  .act .msg p { margin: .6cqw 0 0; color: #4A4D55; font-size: 1.4cqw; line-height: 1.45; }
  .av { flex: none; display: grid; place-items: center; width: 2.1cqw; height: 2.1cqw; border-radius: 50%; font-size: 1.05cqw; font-weight: 600; font-style: normal; color: #fff; background: var(--c); }
  .av svg { width: 1.35cqw !important; height: .75cqw !important; }
  .av.av-logo { background: #fff; box-shadow: inset 0 0 0 .08cqw rgba(17,18,20,.14); }
  .av.av-logo svg { width: 1.5cqw !important; height: 1.125cqw !important; }
  .ws-prev { display: grid; place-items: center; min-height: 0; border-left: .08cqw solid #EEEEF2;
    background: radial-gradient(55% 45% at 50% 46%, rgba(124,43,255,.13), transparent 75%), radial-gradient(40% 30% at 60% 62%, rgba(255,61,139,.08), transparent 75%), #F6F5FA; }

  /* El iPhone: la foto tiene la pantalla transparente y la app va detrás.
     --u es un punto de la app (402 de ancho), así las medidas salen igual que en un diseño de iPhone */
  .iph { position: relative; height: 45cqw; aspect-ratio: 1470 / 3000; filter: drop-shadow(0 1.5cqw 2.5cqw rgba(40,20,80,.22)); }
  .iph > img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .pscreen { position: absolute; left: 5.17%; top: 2.2%; width: 89.73%; height: 95.6%; border-radius: 12% / 5.8%; overflow: hidden;
    container-type: inline-size; --u: calc(100cqw / 402); background: #F4F2F8; color: #17132A; font-family: 'Plus Jakarta Sans', Inter, sans-serif; }
  .pstat { position: absolute; z-index: 5; left: 0; right: 0; top: 0; height: calc(59 * var(--u)); font-weight: 600; font-size: calc(15 * var(--u)); }
  .pstat b { position: absolute; left: 0; top: calc(19 * var(--u)); width: calc(138 * var(--u)); line-height: calc(22 * var(--u)); text-align: center; font-weight: 600; }
  .pstat span { position: absolute; left: calc(299 * var(--u)); top: calc(24 * var(--u)); display: flex; gap: calc(5 * var(--u)); } .pstat svg { height: calc(12 * var(--u)); width: auto; }
  .phome { position: absolute; z-index: 5; left: calc(132 * var(--u)); bottom: calc(8 * var(--u)); width: calc(139 * var(--u)); height: calc(5 * var(--u)); border-radius: 99px; background: rgba(11,22,40,.42); }
  .papp { position: absolute; z-index: 1; inset: 0; transition: opacity .7s cubic-bezier(.4,0,.2,1), filter .7s cubic-bezier(.4,0,.2,1); }
  .papp.out { opacity: 0; filter: blur(calc(6 * var(--u))); }
  .papp > * { animation: pop .8s cubic-bezier(.16,1,.3,1) both; }
  @keyframes pop { from { opacity: 0; transform: translateY(calc(10 * var(--u))) scale(.98); filter: blur(calc(4 * var(--u))); } }
  /* Cada pieza se arma por dentro: sus partes llegan una tras otra, como si se estuvieran escribiendo */
  .papp > * > *, .papp .nv-list > p { animation: arma .8s cubic-bezier(.16,1,.3,1) backwards; animation-delay: calc(140ms + var(--i, 0) * 90ms); }
  @keyframes arma { from { opacity: 0; transform: translateY(calc(6 * var(--u))); filter: blur(calc(3 * var(--u))); } }
  /* El boceto: la pantalla nunca está vacía. Lo que todavía no se construye espera como esqueleto que respira,
     y cada pieza real se funde encima del suyo; al reiniciar, el esqueleto vuelve igual de suave */
  .sk-layer { position: absolute; z-index: 0; inset: 0; animation: respira 1.8s ease-in-out infinite alternate; }
  @keyframes respira { to { opacity: .62; } }
  .sk-layer > * { transition: opacity .9s cubic-bezier(.4,0,.2,1), filter .9s cubic-bezier(.4,0,.2,1); }
  .sk-layer > .ya { opacity: 0; filter: blur(calc(4 * var(--u))); }
  .sk-layer .br { display: block; border-radius: 99px; background: #E4E1EC; }
  .sk-layer .nv-head > i, .sk-layer .nv-acc i, .sk-layer .nv-list p > i { background: #E4E1EC; }
  .sk-layer .nv-head span { display: flex; flex-direction: column; align-items: center; gap: calc(7 * var(--u)); }
  .sk-layer .nv-acc .br { margin: 0 auto; }
  .sk-layer .nv-list span { display: flex; flex-direction: column; gap: calc(8 * var(--u)); }
  .sk-layer .nv-card { background: linear-gradient(135deg, #E6E1F4, #EEE4F1); box-shadow: none; }
  .sk-layer .nv-card::after { animation: brillo 2.6s cubic-bezier(.4,0,.2,1) infinite; }
  .sk-layer .nv-card .br { background: rgba(255,255,255,.7); }
  .sk-layer .nv-tabs p > i { width: calc(24 * var(--u)); height: calc(24 * var(--u)); margin-bottom: calc(2 * var(--u)); border-radius: 50%; background: #E4E1EC; }
  /* La app que se arma en el iPhone: la tarjeta de Banco Nova, un cliente de finanzas. Clara, con la tarjeta como
     protagonista y cada acción con su propio color; --u es un punto de la app (402 de ancho) */
  .papp > .nv-tabs { animation-name: sube; } @keyframes sube { from { transform: translateY(100%); } }
  .nv-head { position: absolute; left: calc(20 * var(--u)); right: calc(20 * var(--u)); top: calc(64 * var(--u)); height: calc(48 * var(--u));
    display: flex; align-items: center; justify-content: space-between; }
  .nv-head > i { display: grid; place-items: center; width: calc(44 * var(--u)); height: calc(44 * var(--u)); border-radius: calc(14 * var(--u)); background: #E9E6F1; color: #17132A; }
  .nv-head > i svg { width: calc(21 * var(--u)); }
  .nv-head span { text-align: center; }
  .nv-head b { display: block; font-size: calc(18 * var(--u)); line-height: calc(23 * var(--u)); font-weight: 700; letter-spacing: calc(-.3 * var(--u)); color: #17132A; }
  .nv-head small { display: block; font: 500 calc(12.5 * var(--u))/calc(17 * var(--u)) Inter, sans-serif; color: #6B6780; }
  .nv-card { position: absolute; left: calc(20 * var(--u)); right: calc(20 * var(--u)); top: calc(128 * var(--u)); aspect-ratio: 1.586; border-radius: calc(22 * var(--u)); overflow: hidden; color: #fff;
    background: radial-gradient(70% 85% at 100% 0%, #FFB547, transparent 70%), radial-gradient(75% 95% at 92% 100%, #FF3D8B, transparent 70%),
      radial-gradient(70% 95% at 0% 100%, #22D3EE, transparent 72%), linear-gradient(135deg, #4F24FF, #7C2BFF 55%, #B62BE0);
    box-shadow: 0 calc(20 * var(--u)) calc(36 * var(--u)) calc(-16 * var(--u)) rgba(95,40,255,.6), inset 0 1px 0 rgba(255,255,255,.4); }
  /* El panel claro de la izquierda, como el corte de las tarjetas metálicas, y un brillo que cruza una vez al aparecer */
  .nv-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 63%; border-radius: 0 calc(36 * var(--u)) calc(36 * var(--u)) 0;
    background: linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.04)); box-shadow: inset -1px 0 0 rgba(255,255,255,.18); }
  .nv-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.3) 50%, transparent 62%);
    transform: translateX(-120%); animation: brillo 2.4s .7s cubic-bezier(.4,0,.2,1) both; }
  @keyframes brillo { to { transform: translateX(120%); } }
  .nv-card > * { position: absolute; z-index: 1; }
  .nv-card strong { left: calc(22 * var(--u)); top: calc(14 * var(--u)); font: 800 calc(42 * var(--u))/1 Manrope, sans-serif; letter-spacing: calc(-2.2 * var(--u)); }
  .nv-card em { right: calc(22 * var(--u)); top: calc(22 * var(--u)); font: 500 calc(13 * var(--u)) Inter, sans-serif; font-style: normal; letter-spacing: calc(.6 * var(--u)); opacity: .9; }
  .nv-card s { left: calc(24 * var(--u)); top: calc(92 * var(--u)); width: calc(44 * var(--u)); height: calc(33 * var(--u)); border-radius: calc(8 * var(--u));
    background: linear-gradient(90deg, transparent 32%, rgba(120,80,10,.35) 32% 34%, transparent 34% 66%, rgba(120,80,10,.35) 66% 68%, transparent 68%),
      linear-gradient(transparent 46%, rgba(120,80,10,.35) 46% 54%, transparent 54%), linear-gradient(135deg, #FBE7AE, #D9A94E);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
  .nv-card u { left: calc(76 * var(--u)); top: calc(96 * var(--u)); width: calc(24 * var(--u)); opacity: .9; } .nv-card u svg { width: 100%; }
  .nv-card small { left: calc(22 * var(--u)); bottom: calc(44 * var(--u)); font: 600 calc(16 * var(--u)) Inter, sans-serif; letter-spacing: calc(2.4 * var(--u)); font-variant-numeric: tabular-nums; }
  .nv-card span { left: calc(22 * var(--u)); bottom: calc(20 * var(--u)); font: 500 calc(11.5 * var(--u)) Inter, sans-serif; letter-spacing: calc(1.4 * var(--u)); opacity: .85; }
  .nv-card b { right: calc(22 * var(--u)); bottom: calc(18 * var(--u)); display: flex; }
  .nv-card b i { width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: 50%; background: rgba(255,255,255,.9); }
  .nv-card b i + i { margin-left: calc(-12 * var(--u)); background: rgba(255,255,255,.45); backdrop-filter: blur(calc(4 * var(--u))); }
  /* Congelada: la tarjeta se escarcha (blur + velo frío) y el botón se enciende; vuelve igual de suave */
  .nv-hielo { inset: 0; display: grid; place-content: center; justify-items: center; gap: calc(6 * var(--u)); z-index: 2 !important;
    background: rgba(214,228,255,.32); -webkit-backdrop-filter: blur(calc(9 * var(--u))) saturate(130%); backdrop-filter: blur(calc(9 * var(--u))) saturate(130%);
    font: 600 calc(15 * var(--u)) 'Plus Jakarta Sans', sans-serif; opacity: 0; transition: opacity .9s cubic-bezier(.4,0,.2,1); }
  .nv-hielo svg { width: calc(34 * var(--u)); }
  .frio .nv-hielo { opacity: 1; }
  .nv-acc { position: absolute; left: calc(20 * var(--u)); right: calc(20 * var(--u)); top: calc(378 * var(--u)); display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(12 * var(--u)); }
  .nv-acc > div { text-align: center; font-size: calc(13.5 * var(--u)); font-weight: 600; color: #17132A; }
  .nv-acc i { position: relative; overflow: hidden; display: grid; place-items: center; height: calc(80 * var(--u)); margin-bottom: calc(8 * var(--u)); border-radius: calc(20 * var(--u));
    background: var(--b); color: var(--c); transition: background .7s cubic-bezier(.4,0,.2,1), color .7s cubic-bezier(.4,0,.2,1), box-shadow .7s cubic-bezier(.4,0,.2,1); }
  .nv-acc i svg { position: relative; width: calc(26 * var(--u)); }
  .nv-acc i::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, #4F24FF, #9B2BF0); opacity: 0; transition: opacity .7s cubic-bezier(.4,0,.2,1); }
  .frio .nv-acc > div:first-child i { color: #fff; box-shadow: 0 calc(10 * var(--u)) calc(22 * var(--u)) calc(-8 * var(--u)) rgba(95,40,255,.55); }
  .frio .nv-acc > div:first-child i::before { opacity: 1; }
  /* El toque: una onda que nace del centro del botón y se desvanece */
  .nv-acc i::after { content: ''; position: absolute; left: 50%; top: 50%; width: calc(90 * var(--u)); height: calc(90 * var(--u)); margin: calc(-45 * var(--u)) 0 0 calc(-45 * var(--u));
    border-radius: 50%; background: rgba(255,255,255,.55); opacity: 0; transform: scale(.2); }
  .nv-acc .toque i::after { animation: toque .8s cubic-bezier(.16,1,.3,1); }
  @keyframes toque { 0% { opacity: .9; transform: scale(.2); } 100% { opacity: 0; transform: scale(1.4); } }
  .nv-set { position: absolute; left: calc(20 * var(--u)); right: calc(20 * var(--u)); top: calc(508 * var(--u)); }
  .nv-set h5 { margin: 0 0 calc(10 * var(--u)) calc(4 * var(--u)); font-size: calc(17 * var(--u)); font-weight: 700; letter-spacing: calc(-.2 * var(--u)); color: #17132A; }
  .nv-list { padding: 0 calc(16 * var(--u)); border-radius: calc(22 * var(--u)); background: #fff; box-shadow: 0 calc(4 * var(--u)) calc(16 * var(--u)) rgba(23,19,42,.05); }
  .nv-list p { display: flex; align-items: center; gap: calc(14 * var(--u)); min-height: calc(66 * var(--u)); margin: 0; border-bottom: 1px solid #EFEDF5; }
  .nv-list p:last-child { border-bottom: 0; }
  .nv-list p > i { flex: none; display: grid; place-items: center; width: calc(38 * var(--u)); height: calc(38 * var(--u)); border-radius: calc(12 * var(--u)); background: var(--b); color: var(--c); }
  .nv-list p > i svg { width: calc(19 * var(--u)); }
  .nv-list span { flex: 1; min-width: 0; font-size: calc(15 * var(--u)); font-weight: 600; color: #17132A; }
  .nv-list small { display: block; margin-top: calc(1 * var(--u)); font: 400 calc(12.5 * var(--u))/calc(17 * var(--u)) Inter, sans-serif; color: #6B6780; }
  .nv-list p > svg { flex: none; width: calc(17 * var(--u)); color: #ABA7BA; }
  .nv-tabs { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: calc(92 * var(--u)); padding-top: calc(10 * var(--u)); display: grid; grid-template-columns: repeat(4, 1fr);
    background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(calc(16 * var(--u))) saturate(180%); backdrop-filter: blur(calc(16 * var(--u))) saturate(180%); border-top: 1px solid rgba(23,19,42,.06); }
  .nv-tabs p { display: flex; flex-direction: column; align-items: center; gap: calc(4 * var(--u)); margin: 0; font-size: calc(11.5 * var(--u)); font-weight: 600; color: #A6A2B5; }
  .nv-tabs p > i { display: grid; place-items: center; width: calc(28 * var(--u)); height: calc(28 * var(--u)); }
  .nv-tabs svg { width: calc(23 * var(--u)); }
  .nv-tabs .on { color: #17132A; }
  .nv-tabs .on > i { border-radius: 50%; background: linear-gradient(135deg, #4F24FF, #B62BE0); color: #fff; } .nv-tabs .on svg { width: calc(16 * var(--u)); }
  .nv-ico { flex: none; width: 1.3cqw; height: 1.3cqw; border-radius: .38cqw; background: radial-gradient(80% 80% at 100% 0%, #FFB547, transparent 70%), radial-gradient(80% 90% at 90% 100%, #FF3D8B, transparent 70%), linear-gradient(135deg, #4F24FF, #9B2BF0);
    box-shadow: inset 0 .06cqw 0 rgba(255,255,255,.35); }


  /* Píldoras que viajan por los carriles del túnel: entran por la izquierda (problemas, ideas, propuestas)
     y salen por la derecha ya resueltas. Pasan por detrás de la pantalla, así parece que la atraviesan. */
  /* Corriente de tarjetas: se mueven en 3D hacia el punto de fuga, que es el centro de la pantalla */
  .flow { position: absolute; z-index: 1; left: 50%; top: -42.3%; width: 100vw; height: 160%; transform: translateX(-50%);
    pointer-events: none; overflow: hidden; perspective: 900px; perspective-origin: 50% 50%;
    /* Las tarjetas se disuelven antes de llegar a la tarjeta de Ya Viene, sin chocar con ella */
    -webkit-mask-image: linear-gradient(transparent 0, #000 14%, #000 70%, transparent 80%); mask-image: linear-gradient(transparent 0, #000 14%, #000 70%, transparent 80%); }
  .chip {
    position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: 12px; white-space: nowrap;
    padding: 12px 20px 12px 12px; border-radius: 18px; font-size: 0.9375rem; font-weight: 600; line-height: 1.25; letter-spacing: -.01em;
    background: rgba(255,255,255,.94); color: var(--ink);
    box-shadow: var(--shadow), 0 0 0 1px var(--line); will-change: transform, opacity; backface-visibility: hidden;
  }
  .chip .e { flex: none; width: 36px; height: 36px; border-radius: 11px; background: #f1f2f4; display: grid; place-items: center; font-size: 1.0625rem; }
  .chip .e svg, .card .ic svg { width: 56%; height: 56%; }
  .chip .e, .card .ic { color: var(--c); background: color-mix(in srgb, var(--c) 14%, #fff); }
  .chip.sol .e, .out .card .ic { background: color-mix(in srgb, var(--c) 24%, transparent); }
  .chip small { display: block; font-size: 0.6562rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a0a2a7; margin-bottom: 2px; }
  .chip.sol { background: rgba(17,18,20,.94); color: #fff; } .chip.sol .e { background: rgba(255,255,255,.1); } .chip.sol small { color: #5fd39a; }
  /* Luz de portal: un velo blanco suave se enciende en la pared, justo donde una tarjeta entra o sale de la Mac.
     Va detrás de las tarjetas, así solo se iluminan las paredes. */
  .glow { position: absolute; left: 0; top: 0; width: 180px; height: 380px; margin: -190px 0 0 -90px; pointer-events: none; opacity: 0;
    mix-blend-mode: plus-lighter; filter: blur(16px); will-change: transform, opacity;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.75), rgba(255,255,255,.28) 45%, transparent 80%); }

  /* Tarjeta flotante de Ya Viene, abajo a la derecha: vidrio del color del CTA */
  .flag {
    position: absolute; z-index: 6; right: 24px; bottom: 24px; width: 296px;
    display: block; border-radius: 24px; overflow: hidden; isolation: isolate;
    background: linear-gradient(180deg, rgba(64,62,70,.78), rgba(47,46,52,.84) 60%); color: #fff;
    backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.07),
      0 1px 2px rgba(20,18,24,.12), 0 12px 24px -12px rgba(20,18,24,.25), 0 40px 70px -24px rgba(20,25,45,.45);
    transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s cubic-bezier(.2,.8,.2,1);
  }
  /* Brillo suave en la esquina, como luz cayendo sobre el vidrio */
  .flag::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(120% 80% at 0% 0%, rgba(255,255,255,.1), transparent 55%); }
  .flag:hover { transform: translateY(-4px); }
  .flag .row { display: flex; gap: 14px; align-items: center; padding: 14px 16px 14px 14px; }
  .flag small { display: block; font-size: 0.6562rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
  .flag .badge { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
    background: linear-gradient(180deg, #fff, #f2f2f4); box-shadow: inset 0 -1px 0 rgba(0,0,0,.06), 0 0 0 1px rgba(255,255,255,.2), 0 8px 18px -6px rgba(0,0,0,.45); }
  .flag .badge img { width: 40px; height: 40px; }
  .flag .txt { flex: 1; min-width: 0; }
  .flag strong { display: block; margin-top: 4px; color: #2fd27a; font: 700 1.0312rem/1.15 Manrope, sans-serif; letter-spacing: -.015em; }
  .flag .txt span { display: block; margin-top: 3px; font-size: 0.7812rem; line-height: 1.4; color: rgba(255,255,255,.62); }
  .flag .go { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink-2);
    box-shadow: 0 4px 10px -4px rgba(0,0,0,.4); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
  .flag .go svg { width: 13px; height: 13px; }
  .flag:hover .go { transform: translateX(2px); }

  .credit { text-align: center; font-size: 0.75rem; color: var(--muted); padding: 18px 16px 28px; }
  .credit a { text-decoration: underline; text-underline-offset: 2px; }

  /* Bento de servicios */
  .services { max-width: 1376px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) 16px 40px; }
  .services > header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 24px 56px; align-items: end; margin: 0 0 48px; }

  /* Banda de prueba social estilo Mobbin: números grandes con separadores finos, sin cards */
  .proof {
    max-width: 1180px; margin: clamp(56px, 8vw, 100px) auto 0; padding: 0 16px;
    display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line);
  }
  .proof small { display: block; margin-top: 8px; font-size: 0.9375rem; color: var(--muted); }
  .proof b { display: block; font-family: Manrope, sans-serif; font-weight: 800; font-size: clamp(1.75rem, 2.5vw, 2.375rem); letter-spacing: -.04em; color: var(--ink); white-space: nowrap; }
  .proof div { padding: 30px clamp(18px, 2vw, 30px); }
  .proof div + div { border-left: 1px solid var(--line); }
  .services h2 { font-family: Manrope, sans-serif; font-weight: 800; font-size: clamp(2.125rem, 4.4vw, 3.75rem); line-height: 1; letter-spacing: -.05em; }
  .services h2 span { display: block; color: var(--muted); }
  .services h2 { text-wrap: balance; }
  .services > header p { color: var(--muted); font-size: 1.125rem; line-height: 1.5; }
  /* Soluciones: una charola. El cuadro grande guarda el degradado por dentro (el escenario)
     y la hoja blanca descansa adentro, retirada de los bordes, con degradado alrededor.
     A la izquierda los 6 puntos; a la derecha la explicación y su artefacto. */
  /* Cada punto cambia la luz con su propio color; los colores se funden al cambiar */
  @property --g1 { syntax: '<color>'; inherits: true; initial-value: #f59e5b; }
  @property --g2 { syntax: '<color>'; inherits: true; initial-value: #f0607a; }
  @property --g3 { syntax: '<color>'; inherits: true; initial-value: #d77bd0; }
  @property --g4 { syntax: '<color>'; inherits: true; initial-value: #8b5cf6; }
  .svc {
    position: relative; border-radius: 28px; overflow: hidden;
    /* Aire alrededor de la hoja: abajo y lados. Arriba no: la hoja sale cortada desde el borde,
       como el celular del mockup que se corta con el cuadro que lo contiene */
    padding: 0 clamp(18px, 2.4vw, 34px) clamp(26px, 3vw, 44px);
    --g1: #f59e5b; --g2: #f0607a; --g3: #d77bd0; --g4: #8b5cf6;
    /* Escenario: luz de color que sube del piso, cielo grisáceo arriba */
    background:
      radial-gradient(30% 22% at 50% 100%, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 100%),
      radial-gradient(40% 32% at 20% 100%, color-mix(in srgb, var(--g1) 55%, transparent) 0%, transparent 100%),
      radial-gradient(40% 34% at 40% 100%, color-mix(in srgb, var(--g2) 50%, transparent) 0%, transparent 100%),
      radial-gradient(40% 34% at 62% 100%, color-mix(in srgb, var(--g3) 50%, transparent) 0%, transparent 100%),
      radial-gradient(42% 34% at 82% 100%, color-mix(in srgb, var(--g4) 55%, transparent) 0%, transparent 100%),
      linear-gradient(#e6e3e8 0%, #eeebef 55%, #f6f4f5 100%);
    transition: --g1 .9s ease, --g2 .9s ease, --g3 .9s ease, --g4 .9s ease;
  }
  /* El borde del cuadro grande pasa por ENCIMA: la hoja sale deslizando detrás del marco,
     como una foto detrás del passepartout. Así el marco nunca se corta */
  .svc::before { content: ''; position: absolute; inset: 0; border-radius: inherit;
    box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; z-index: 5; }
  .svc[data-s="web"]  { --g1: #a3e635; --g2: #22c55e; --g3: #14b8a6; --g4: #06b6d4; }
  .svc[data-s="dark"] { --g1: #38bdf8; --g2: #2563eb; --g3: #4f46e5; --g4: #1e3a8a; }
  .svc[data-s="sys"]  { --g1: #facc15; --g2: #f59e0b; --g3: #f97316; --g4: #dc2626; }
  .svc[data-s="int"]  { --g1: #34d399; --g2: #22d3ee; --g3: #60a5fa; --g4: #a78bfa; }
  .svc[data-s="data"] { --g1: #0ea5e9; --g2: #14b8a6; --g3: #eab308; --g4: #f97316; }
  .view {
    position: relative; display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); height: 620px;
    border-radius: 0 0 18px 18px; background: #fff; overflow: hidden;
    /* Sombra cortita: la hoja se apoya dentro; el cuadro grande la recorta, nunca flota sobre la página.
       El matiz superior: es la sombra que el marco de adelante proyecta sobre la hoja — ahí se lee que la hoja está detrás */
    box-shadow: 0 0 0 1px rgba(17,18,20,.05),
      inset 0 12px 18px -14px rgba(17,18,20,.30),
      0 2px 5px rgba(17,18,20,.05), 0 16px 30px -16px rgba(17,18,20,.26),
      -40px 14px 56px -30px color-mix(in srgb, var(--g2) 42%, transparent), 40px 14px 56px -30px color-mix(in srgb, var(--g4) 42%, transparent);
  }
  /* Borde inferior encendido: la luz de color rebota en el canto de la hoja */
  .view::after { content: ''; position: absolute; z-index: 9; left: 8%; right: 8%; bottom: 0; height: 1px; pointer-events: none;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--g1) 70%, transparent) 20%, color-mix(in srgb, var(--g2) 70%, transparent) 40%, color-mix(in srgb, var(--g3) 70%, transparent) 60%, color-mix(in srgb, var(--g4) 70%, transparent) 80%, transparent); }
  .rows { list-style: none; padding: 22px; margin: 0; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 4px; }
  .rows .row {
    display: grid; grid-template-columns: 36px minmax(0, 1fr) 20px; column-gap: 8px; align-items: center;
    width: 100%; padding: 26px 16px; text-align: left; border: 0; border-radius: 12px;
    background: transparent; cursor: pointer; font: inherit; color: var(--muted);
    -webkit-tap-highlight-color: transparent;
    transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1), background .35s ease, color .35s ease, scale .2s cubic-bezier(.2,.8,.2,1);
  }
  /* El contenido no muere sin JS: solo se esconde para animar cuando el script corre */
  .js .rows .row:not(.seen) { opacity: 0; transform: translateY(16px); }
  .rows .row .n { font: 600 0.8125rem/1.9 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .12em; color: var(--muted); transition: color .3s ease; }
  .rows .row h3 { font-family: Manrope, sans-serif; font-weight: 700; font-size: 1.3125rem; line-height: 1.2; letter-spacing: -.02em; white-space: nowrap; }
  .rows .row .arr { width: 16px; color: var(--ink); opacity: 0; transform: translateX(-7px); transition: opacity .35s cubic-bezier(.2,.8,.2,1), transform .35s cubic-bezier(.2,.8,.2,1); }
  .rows .row:hover { color: var(--ink); }
  .rows .row:active { scale: .98; }
  .rows .row.on { color: var(--ink); background: #f4f4f6; }
  .rows li { position: relative; }
  .rows li + li::before { content: ''; position: absolute; left: 14px; right: 14px; top: -2.5px; height: 1px; background: var(--line); transition: opacity .3s ease; }
  .rows li:has(.on)::before, .rows li:has(.on) + li::before { opacity: 0; }
  .rows .row.on .n { color: #e8364f; }
  .rows .row.on .arr, .rows .row:hover .arr { opacity: 1; transform: none; }

  /* Escenario: cada fila deja su explicación y su artefacto. Las animaciones corren solo en pantalla. */
  .stageon { position: relative; height: 100%; }
  .pn { position: absolute; inset: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); justify-items: center;
    opacity: 0; transform: translateY(14px) scale(.985); pointer-events: none;
    transition: opacity .5s cubic-bezier(.2,.8,.2,1), transform .5s cubic-bezier(.2,.8,.2,1); }
  .pn.on { opacity: 1; transform: none; }
  /* Una sola hoja: la explicación arriba y su ilustración debajo, sin paneles divididos */
  .pn > :not(figcaption) { grid-column: 2; grid-row: 1; align-self: center; position: relative; }
  .pn .phone { align-self: start; }
  .pn figcaption { grid-column: 1; grid-row: 1; align-self: center; justify-self: stretch; padding: 0 24px 0 56px; }
  .pn h4 { font-family: Manrope, sans-serif; font-weight: 800; font-size: clamp(1.875rem, 2.9vw, 2.625rem); line-height: 1.05; letter-spacing: -.045em; text-wrap: balance; }
  .pn figcaption p { margin-top: 14px; color: var(--muted); font-size: 1.0312rem; line-height: 1.55; max-width: 46ch; }
  /* Apps: el mismo iPhone de Ya Viene, grande, saliendo desde abajo con avisos flotando alrededor */
  .pn .apps { align-self: stretch; justify-self: stretch; container-type: inline-size; }
  /* El iPhone vive en su columna: a escala (cqw de la columna) se acorta en pantallas donde la columna es angosta (961-1300) y deja de pisar el texto */
  .apps .yv { position: absolute; left: 50%; top: 9%; width: min(360px, 96cqw); margin-left: calc(-1 * min(190px, 48cqw) - 10px); }
  /* Los artefactos suben de escala para el marco grande del escenario */
  .pn .phone { margin-top: 0; }
  .pn .bars3 { height: 150px; gap: 13px; }
  .pn .bars3 i { width: 27px; }
  .pn .spark { width: min(78%, 360px); }
  .pn .spark svg { width: 100%; min-width: 0; height: 150px; }
  .pn .pipe { height: 46px; }
  .pn .pipe::before { background: repeating-linear-gradient(90deg, rgba(42,41,46,.25) 0 6px, transparent 6px 12px); }
  .pn .browser { width: min(84%, 380px); }
  .stageon:not(.vis) * { animation-play-state: paused !important; }
  /* Texto arriba y el artefacto debajo a todo el ancho, alineado con el texto en ambos lados */
  .pn--top { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .pn--top figcaption { align-self: end; padding: 44px 56px 0; }
  .pn--top figcaption p { max-width: 60ch; }
  .pn.pn--top > :not(figcaption) { grid-column: 1; grid-row: 2; align-self: center; justify-self: stretch; width: auto; margin: 0 56px; }
  /* Piezas con guion: aparecen cuando el guion les marca la hora */
  .pn [data-at] { transition: opacity .5s cubic-bezier(.2,.8,.2,1), transform .5s cubic-bezier(.2,.8,.2,1); }

  /* Paneles 3 a 6: el artefacto ocupa todo el escenario, como en las páginas de producto de Linear, incident.io y Profound */
  .pn--x { display: block; overflow: hidden; }
  .pn--x > :not(figcaption) { place-self: normal; }
  .pn--x figcaption { position: relative; z-index: 3; padding: 44px 56px 0; }
  .pn--x figcaption p { max-width: 60ch; }

  /* Automatización: tablero de citas y la conversación flotando encima, en claro */
  .pn--dk h4 { color: var(--ink); }
  .pn--dk figcaption { width: calc(100% - min(372px, 44%) - 32px); padding-right: 32px; }
  .pn--dk figcaption p { color: #8a8f98; }
  .ln-i { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .pn--x > .ln-board { position: absolute; left: 56px; top: 210px; display: grid; grid-template-columns: repeat(2, 252px); gap: 12px; font-family: Inter, sans-serif;
    -webkit-mask-image: linear-gradient(#000 50%, transparent 92%); mask-image: linear-gradient(#000 50%, transparent 92%); }
  .ln-col header { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; font-size: 0.8125rem; font-weight: 500; color: #5b5e66; }
  .ln-col header svg { width: 14px; height: 14px; flex: none; }
  .ln-cnt { display: grid; color: #62666d; } .ln-cnt > i { grid-area: 1 / 1; font-style: normal; transition: opacity .4s ease, transform .4s cubic-bezier(.2,.8,.2,1); }
  .ln-cnt > i:last-child { opacity: 0; transform: translateY(5px); }
  .ln-cnt.ya > i:first-child { opacity: 0; transform: translateY(-5px); } .ln-cnt.ya > i:last-child { opacity: 1; transform: none; }
  .ln-card { margin-bottom: 8px; padding: 9px 12px 12px; border-radius: 9px; background: #fff; border: .5px solid rgba(17,18,20,.12); box-shadow: 0 1px 2px rgba(17,18,20,.05); }
  .ln-card p { display: flex; align-items: center; gap: 8px; height: 18px; font-size: 0.6875rem; color: #62666d; }
  .ln-card p small { font-size: 0.6875rem; color: #8a8f98; }
  .ln-card u { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; font-size: 0.5rem; font-weight: 600; color: #fff; background: var(--c); }
  .ln-card b { display: flex; gap: 8px; margin-top: 5px; font-size: 0.8125rem; font-weight: 500; line-height: 1.38; color: var(--ink); }
  .ln-card b svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }
  .ln-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
  .ln-tags em { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; border: .5px solid rgba(17,18,20,.12); font: normal 500 0.7188rem Inter, sans-serif; color: #8a8f98; white-space: nowrap; }
  .ln-tags em::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
  .ln-tags .ln-rem { opacity: 0; transform: translateY(4px); } .ln-tags .ln-rem.ya { opacity: 1; transform: none; }
  .pn .ln-new { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s cubic-bezier(.2,.8,.2,1); }
  .ln-new > div { min-height: 0; overflow: hidden; }
  .pn .ln-new.ya { grid-template-rows: 1fr; }
  .ln-new.ya .ln-card { animation: lnglow 3s ease both; }
  @keyframes lnglow { 0%, 40% { border-color: rgba(113,124,230,.9); box-shadow: 0 0 0 1px rgba(113,124,230,.35), 0 0 28px rgba(113,124,230,.22); } }
  .pn--x > .ln-thread { position: absolute; z-index: 4; right: 32px; top: 40px; bottom: 40px; width: min(372px, 44%); display: flex; flex-direction: column; overflow: hidden;
    border-radius: 16px; background: #fff; border: .5px solid rgba(17,18,20,.1); font-family: Inter, sans-serif;
    box-shadow: 0 0 0 1px rgba(17,18,20,.05), 0 34px 60px -26px rgba(17,18,20,.35); }
  .ln-hd { flex: none; display: flex; align-items: center; gap: 10px; padding: 14px 16px; box-shadow: 0 1px 0 rgba(17,18,20,.08); }
  .ln-hd > i { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: #25d366; }
  .ln-hd > i svg { width: 17px; height: 17px; }
  .ln-hd > div { flex: 1; min-width: 0; display: grid; }
  .ln-hd b { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
  .ln-hd span { font-size: 0.75rem; color: #62666d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ln-hd > small { display: grid; font-size: 0.75rem; text-align: right; }
  .ln-hd > small > * { grid-area: 1 / 1; transition: opacity .3s ease; }
  .ln-hd .ln-on { color: #62666d; } .ln-hd .ln-ty { color: #4cb782; opacity: 0; transform: none; }
  .ln-hd .ln-ty.ya { opacity: 1; } .ln-hd small:has(.ln-ty.ya) .ln-on { opacity: 0; }
  .ln-msgs { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 18px; padding: 18px 16px; overflow: hidden; }
  .ln-msgs > [data-at] { display: none; }
  .ln-msgs > .ya { display: flex; animation: lnin .5s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes lnin { from { opacity: 0; transform: translateY(8px); } }
  .ln-m { gap: 10px; }
  .ln-av { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: normal 600 0.5625rem Inter, sans-serif; color: #fff; background: var(--c); }
  .ln-av.ln-bot { border-radius: 7px; background: linear-gradient(135deg, #14b8a6, #3b82f6); }
  .ln-bot svg { width: 13px; height: 13px; fill: currentColor; }
  .ln-m > div { flex: 1; min-width: 0; }
  .ln-m p { display: flex; align-items: center; gap: 7px; height: 24px; font-size: 0.8125rem; }
  .ln-m p b { font-weight: 600; color: var(--ink); }
  .ln-m p time { font-size: 0.75rem; color: #62666d; }
  .ln-m p em { font: normal 500 0.6875rem Inter, sans-serif; color: #8a8f98; padding: 2px 6px; border-radius: 5px; border: .5px solid rgba(17,18,20,.12); }
  .ln-m > div > span { display: block; margin-top: 1px; font-size: 0.875rem; line-height: 1.5; color: #5b5e66; }
  .ln-m > div > span b { font-weight: 600; color: var(--ink); }
  .ln-opts { display: flex; gap: 6px; margin-top: 10px; }
  .pn .ln-opts u { white-space: nowrap; text-decoration: none; padding: 6px 10px; border-radius: 6px; border: .5px solid rgba(17,18,20,.14); background: #fff; font-size: 0.7812rem; font-weight: 500; color: #5b5e66;
    transition: background .4s ease, color .4s ease, border-color .4s ease; }
  .pn .ln-opts u.ya { background: #5e6ad2; border-color: #717ce6; color: #fff; }
  .ln-dots { display: inline-flex; gap: 4px; margin-left: 2px; }
  .ln-dots i { width: 5px; height: 5px; border-radius: 50%; background: #8a8f98; animation: lndot 1.2s ease-in-out infinite; }
  .ln-dots i:nth-child(2) { animation-delay: .15s; } .ln-dots i:nth-child(3) { animation-delay: .3s; }
  @keyframes lndot { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
  .ln-cmp { flex: none; display: flex; align-items: center; justify-content: space-between; margin: 0 12px 12px; padding: 12px 12px 12px 14px; border-radius: 10px;
    background: #fafafa; border: .5px solid rgba(17,18,20,.08); font-size: 0.8125rem; color: #62666d; }
  .ln-cmp i { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: #f1f1f3; color: #8a8f98; }
  .ln-cmp svg { width: 13px; height: 13px; }

  /* Sistemas: el sistema de pedidos como app de escritorio clara al estilo Linear, sin barra de navegador */
  .erp svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .pn--x > .erp { position: absolute; left: 56px; right: 0; top: 204px; bottom: 0; display: grid; grid-template-columns: 184px minmax(0, 1fr); padding-top: 8px;
    border-top-left-radius: 14px; background: #f4f4f5; font-family: Inter, sans-serif;
    box-shadow: 0 0 0 1px rgba(17,18,20,.08), 0 34px 60px -26px rgba(17,18,20,.3); }
  .erp-side { display: grid; align-content: start; gap: 1px; padding: 6px 10px; position: relative; }
  .erp-ws { display: flex; align-items: center; gap: 8px; padding: 2px 8px 14px; font-size: 0.8125rem; font-weight: 600; }
  .erp-ws b { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 0.6562rem; background: linear-gradient(135deg, #facc15, #f97316); }
  .erp-side a { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 8px; border-radius: 7px; font-size: 0.8125rem; color: #5b5e66; }
  .erp-side a svg { width: 15px; height: 15px; flex: none; }
  .erp-side a.on { background: rgba(17,18,20,.06); color: var(--ink); font-weight: 500; }
  .erp-side em { margin-left: auto; font-style: normal; font-size: 0.7188rem; color: #8a8d93; }
  .erp-me { position: absolute; left: 10px; right: 10px; bottom: 20px; display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 10px;
    background: #fff; box-shadow: 0 0 0 .5px rgba(17,18,20,.10), 0 10px 18px -12px rgba(17,18,20,.25); }
  .erp-me b { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 0.5938rem; font-weight: 600; background: linear-gradient(135deg, #facc15, #f97316); }
  .erp-me i { display: block; font-style: normal; font-size: 0.7812rem; font-weight: 600; line-height: 1.15; }
  .erp-me small { display: block; font-size: 0.6875rem; color: #8a8d93; }
  .erp-main { min-width: 0; padding: 0 32px 0 24px; overflow: hidden; background: #fff; border-top-left-radius: 10px; box-shadow: 0 0 0 .5px rgba(17,18,20,.12); }
  .erp-main header { display: flex; align-items: center; gap: 12px; height: 56px; box-shadow: 0 1px 0 rgba(17,18,20,.07); }
  .erp-main h5 { font-size: 0.875rem; font-weight: 600; }
  .erp-tabs { display: flex; gap: 6px; white-space: nowrap; }
  .erp-tabs span { display: inline-flex; align-items: center; height: 26px; padding: 0 8px; border-radius: 6px; border: .5px solid rgba(17,18,20,.14); font-size: 0.75rem; color: #5b5e66; }
  .erp-tabs .on { background: #f1f1f3; color: var(--ink); font-weight: 600; }
  .erp-search { margin-left: auto; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; border: .5px solid rgba(17,18,20,.14); color: #5b5e66; }
  .erp-search svg { width: 14px; height: 14px; }
  .erp-main header > b { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
  .erp-r, .erp-h { display: grid; grid-template-columns: 52px minmax(0, 1fr) 40px 92px 124px 40px; align-items: center; gap: 12px; padding: 0 8px; font-size: 0.8125rem; }
  .erp-h { height: 36px; font-size: 0.75rem; font-weight: 500; color: #8a8d93; box-shadow: 0 1px 0 rgba(17,18,20,.07); }
  .erp-r { height: 44px; box-shadow: 0 1px 0 rgba(17,18,20,.05); }
  .erp-r > span:first-child { font-size: 0.7812rem; font-variant-numeric: tabular-nums; color: #8a8d93; }
  .erp-r > span:nth-child(2) { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .erp-r > span:nth-child(3) { color: #5b5e66; text-align: center; }
  .erp-r > span:nth-child(4) { font-variant-numeric: tabular-nums; text-align: right; }
  .erp-h > span:nth-child(3) { text-align: center; }
  .erp-h > span:nth-child(4) { text-align: right; }
  .erp-h > span:nth-child(5) { padding-left: 20px; }
  .erp-s { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 999px; white-space: nowrap;
    font-size: 0.7188rem; font-weight: 500; background: color-mix(in srgb, var(--c) 12%, white); color: color-mix(in srgb, var(--c) 72%, #14151a); }
  .erp-s::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
  .erp-sw { display: grid; } .erp-sw > * { grid-area: 1 / 1; transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
  .erp-sw > :last-child { opacity: 0; transform: translateY(6px); }
  .erp-sw.ya > :first-child { opacity: 0; transform: translateY(-6px); } .erp-sw.ya > :last-child { opacity: 1; transform: none; }
  .erp-r u { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; text-decoration: none; font-size: 0.5625rem; font-weight: 600; color: #fff; background: var(--c); }
  .erp-f { height: 36px; display: flex; align-items: center; gap: 5px; padding: 0 9px; font-size: 0.7188rem; color: #8a8d93; box-shadow: 0 -1px 0 rgba(17,18,20,.05); }
  .erp-f b { font-weight: 600; color: #5b5e66; font-variant-numeric: tabular-nums; }
  .pn .erp-new { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s cubic-bezier(.2,.8,.2,1); }
  .erp-new > .erp-r { min-height: 0; height: auto; overflow: hidden; transition: background 1.6s ease; }
  .erp-new > .erp-r > :not(.erp-s) { padding: 11px 0; }
  .pn .erp-new.ya { grid-template-rows: 1fr; } .erp-new.ya > .erp-r { background: rgba(250,204,21,.12); }
  .pn--x > .erp-modal { position: absolute; z-index: 5; inset: 204px 0 0 56px; display: grid; place-items: center; border-radius: 14px 0 0 0;
    background: rgba(17,18,20,.32); opacity: 0; pointer-events: none; transform: none; }
  .pn--x > .erp-modal.ya { opacity: 1; pointer-events: auto; }
  .erp-modal > div { width: min(340px, calc(100% - 24px)); padding: 17px 17px 15px; border-radius: 18px; background: #fff; color: var(--ink); font-family: Inter, sans-serif; text-align: center;
    box-shadow: 0 0 0 .5px rgba(17,18,20,.08), 0 40px 70px -24px rgba(17,18,20,.4);
    opacity: 0; transform: translateY(5px) scale(.96); transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .45s cubic-bezier(.2,.8,.2,1); }
  .pn--x > .erp-modal.ya > div { opacity: 1; transform: none; }
  .erp-modal i { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 800 0.9375rem Inter, sans-serif; font-style: normal; color: #fff; background: #ef4444; box-shadow: 0 4px 10px -4px rgba(239,68,68,.5); margin: 0 auto 10px; }
  .erp-modal b { display: block; font-size: 0.9375rem; font-weight: 700; }
  .erp-modal span { display: block; font-size: 0.7812rem; color: #6b6e75; line-height: 1.45; margin-top: 4px; }
  .erp-pend { opacity: 0; transform: scale(.6); transition: opacity .35s cubic-bezier(.2,.8,.2,1), transform .5s cubic-bezier(.3,1.4,.5,1); }
  .erp-pend.ya { opacity: 1; transform: none; }
  .erp-modal .erp-act > * { cursor: pointer; transition: transform .14s ease, filter .14s ease; }
  .erp-modal .erp-act > :hover { filter: brightness(.94); } .erp-modal .erp-act > :active { transform: scale(.96); }
  .erp-modal .erp-act { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .erp-modal .erp-act b { display: grid; place-items: center; height: 32px; padding: 0 13px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 0.7812rem; font-weight: 600; white-space: nowrap; }
  .erp-modal .erp-act span { margin: 0; display: grid; place-items: center; height: 32px; padding: 0 12px; border-radius: 8px; border: .5px solid rgba(17,18,20,.14); color: #5b5e66; font-size: 0.7812rem; font-weight: 500; }

  /* Integraciones: un pedido entra una vez (chat de WhatsApp en un iPhone real) y Ya Viene Tech lo reparte en tres app windows; sobre blanco */
  .ig svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .pn--x > .ig { position: absolute; left: 24px; right: 32px; top: 206px; bottom: 24px; display: grid; grid-template-columns: minmax(0, 1fr) 48px 124px 48px minmax(0, 1.35fr); grid-template-rows: minmax(0, 1fr); align-items: center; font-family: Inter, sans-serif; }
  /* Ramas: se calculan con JS desde el chat hasta cada app y se dibujan cuando el pedido pasa por Ya Viene Tech */
  .ig .ig-wire { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
  /* Cada rama: primero aparece el riel gris, luego el verde lo recorre hasta la app; al cerrar el ciclo todo se desvanece junto */
  .ig-wire path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: opacity .5s ease, stroke-dashoffset 0s linear .5s; }
  .ig-wire .t { stroke: #e3e5e8; }
  .ig-wire .f { stroke: #16a34a; filter: drop-shadow(0 0 3px rgba(22,163,74,.35)); }
  .ig-wire .t.ya { opacity: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .55s cubic-bezier(.4,0,.2,1), opacity .2s ease; }
  .ig-wire .f.ya { opacity: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .6s cubic-bezier(.55,0,.25,1), opacity .15s ease; }
  /* Pulso: un destello corto que recorre la rama una y otra vez mientras la integración está viva */
  .ig-wire .p { stroke: #86efac; stroke-width: 2.5; stroke-dasharray: .08 1.2; stroke-dashoffset: .08; filter: drop-shadow(0 0 4px rgba(74,222,128,.9)); transition: opacity .4s ease; }
  .ig-wire .p.ya { opacity: 1; animation: ig-pulso 1.8s cubic-bezier(.45,0,.55,1) infinite; transition: opacity .3s ease; }
  @keyframes ig-pulso { from { stroke-dashoffset: .08; } to { stroke-dashoffset: -1.1; } }
  .ig-core { position: relative; z-index: 1; grid-column: 3; grid-row: 1; justify-self: center; display: grid; justify-items: center; gap: 10px; opacity: 0; transform: scale(.9); filter: blur(4px); transition: opacity .45s ease, transform .5s ease, filter .45s ease; }
  .ig-core.ya { opacity: 1; transform: none; filter: none; transition: opacity .5s ease, transform .7s cubic-bezier(.22,1,.36,1), filter .5s ease; }
  .ig-core span { position: relative; width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #2a2c31, #111214); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(17,18,20,.12), 0 20px 40px -20px rgba(17,18,20,.45); transition: box-shadow .6s ease; }
  /* Cuando el verde llega al núcleo: un aro que se expande una vez y un brillo que se queda */
  .ig-core em { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
  .ig-core em::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(22,163,74,.5); opacity: 0; }
  .ig-core em.ya::after { animation: ig-halo 1.2s cubic-bezier(.22,1,.36,1) both; }
  .ig-core span:has(em.ya) { box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 6px rgba(22,163,74,.1), 0 20px 40px -18px rgba(22,163,74,.45); }
  @keyframes ig-halo { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
  .ig-core svg { width: 40px; height: 22px; fill: currentColor; stroke: none; }
  .ig-core b { position: absolute; top: calc(100% + 10px); font: 600 0.8125rem/1 Inter, sans-serif; color: var(--ink); white-space: nowrap; }
  .ig-ph { position: relative; grid-column: 1; grid-row: 1; justify-self: end; align-self: start; width: 276px; margin-top: -8px; margin-bottom: -320px; z-index: 1; aspect-ratio: 720 / 1469; opacity: 0; transform: translateY(12px) scale(.985); transition: opacity .4s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
  .ig-ph.ya { opacity: 1; transform: none; }
  .ig-ph > img { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 26px 30px rgba(17,18,20,.24)); }
  .ig-scr { position: absolute; left: 5.1%; top: 2.2%; width: 89.8%; height: 95.57%; border-radius: 14.4% / 6.62%; overflow: hidden; background: #efeae2; container-type: inline-size; }
  .ig-scr::before { content: ''; position: absolute; z-index: 4; top: 3cqw; left: 50%; width: 30cqw; height: 8.8cqw; border-radius: 5cqw; background: #111214; transform: translateX(-50%); }
  .ig-out { position: relative; z-index: 1; grid-column: 5; grid-row: 1; display: grid; grid-auto-rows: 122px; gap: 12px; align-content: center; max-width: 430px; }
  /* Las tres apps como notificaciones de calidad: icono con brillo, nombre, hora y un check que se dibuja */
  .ig-w { position: relative; display: flex; flex-direction: column; padding: 14px 16px; border-radius: 20px; background: #fff; border: 1px solid rgba(17,18,20,.07);
    box-shadow: 0 1px 2px rgba(17,18,20,.04), 0 14px 32px -14px rgba(17,18,20,.2);
    opacity: 0; transform: translateX(-10px) scale(.97); transform-origin: 0 50%; filter: blur(3px); transition: opacity .5s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.22,1,.36,1), filter .5s ease; }
  .ig-w.ya { opacity: 1; transform: none; filter: none; }
  .ig-w-hd { display: flex; align-items: center; gap: 10px; min-width: 0; }
  .ig-w-hd b { font-size: 0.875rem; font-weight: 600; letter-spacing: -.01em; }
  .ig-w-hd span { font-size: 0.8125rem; color: #9a9da3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ig-w-hd time { margin-left: auto; font-size: 0.75rem; color: #a5a8ad; }
  .ig-ic { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; font: 800 0.875rem/1 Inter, sans-serif; font-style: normal;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 0 0 .5px rgba(0,0,0,.12), 0 2px 6px -2px rgba(17,18,20,.3); }
  .ig-ic svg { width: 16px; height: 16px; stroke-width: 2.1; }
  .ig-ic--nq { background: linear-gradient(150deg, #f0349a, #8a1d8f 55%, #3a0f5e); }
  .ig-ic--crm { background: linear-gradient(150deg, #7aa7ff, #4f46e5); }
  .ig-ic--xl { background: linear-gradient(150deg, #34c27a, #107c41); }
  .ig-w-bd { display: flex; align-items: center; gap: 12px; margin-block: auto 2px; padding-left: 38px; }
  .ig-av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 600 0.875rem/1 Inter, sans-serif; font-style: normal; color: #4338ca; background: linear-gradient(150deg, #e0e7ff, #c7d2fe); box-shadow: inset 0 0 0 1px rgba(67,56,202,.12); }
  .ig-w-bd > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
  .ig-w-bd b { font-size: 1rem; font-weight: 600; letter-spacing: -.015em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ig-w-bd span { font-size: 0.8125rem; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ig-w-bd .ig-amt { font-size: 1.625rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
  .ig .ig-ok { flex: none; width: 26px; height: 26px; stroke: none; transform: scale(.4); opacity: 0; transition: transform .5s cubic-bezier(.3,1.35,.5,1) .35s, opacity .25s ease .35s; }
  .ig-ok circle { fill: #16a34a; }
  .ig-ok path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .4s cubic-bezier(.6,0,.3,1) .6s; }
  .ig-w.ya .ig-ok { transform: none; opacity: 1; }
  .ig-w.ya .ig-ok path { stroke-dashoffset: 0; }
  /* Excel: la fila nueva abre su espacio y se ilumina */
  .ig-t { display: grid; margin-top: auto; padding-left: 38px; font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
  .ig-t > div:not(.new), .ig-t .new > div { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 10px; padding: 3px 8px; border-radius: 7px; color: #8a8d93; }
  .ig-t .hd { padding-block: 0 4px; border-bottom: 1px solid #eef0f2; border-radius: 0; font-size: 0.6562rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #a5a8ad; }
  .ig-t span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ig-t .new { display: grid; }
  .ig-t .new > div { margin-top: 2px; color: var(--ink); font-weight: 500; background: #ecfdf3; box-shadow: inset 2px 0 0 #16a34a; opacity: 0; transform: translateY(6px); transition: opacity .45s ease .45s, transform .6s cubic-bezier(.22,1,.36,1) .45s; }
  .ig-w.ya .ig-t .new > div { opacity: 1; transform: none; }
  /* Banda de portátiles angostos: mismo guion con conectores y tipografía más compactos */
  @media (min-width: 961px) and (max-width: 1300px) {
    .pn--x > .ig { left: 20px; right: 20px; grid-template-columns: minmax(0, .8fr) 40px 104px 40px minmax(0, 1.2fr); }
    .ig-ph { width: 228px; margin-bottom: -260px; }
    .ig-out { grid-auto-rows: 124px; gap: 12px; }
    .ig-w { padding: 14px 15px; }
    .ig-w-bd, .ig-t { padding-left: 0; }
    .ig-w-bd .ig-amt { font-size: 1.375rem; }
    .ig-core span { width: 80px; height: 80px; border-radius: 21px; }
    .ig-core svg { width: 38px; height: 21px; }
    .ig-w-bd b { font-size: 0.875rem; } .ig-w-bd span, .ig-t { font-size: 0.75rem; } .ig-w-hd span { display: none; }
  }
  /* Chat del iPhone: Ya Viene Tech responde, cobra y confirma solo; todo en cqw para escalar con el teléfono */
  .wa { display: flex; flex-direction: column; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160' fill='none' stroke='%23a8977a' stroke-opacity='.32' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(14 14) rotate(-12 12 12)'%3E%3Cpath d='M4 8h16l-1.4 13H5.4z'/%3E%3Cpath d='M8.5 8V6.5a3.5 3.5 0 0 1 7 0V8'/%3E%3C/g%3E%3Cg transform='translate(70 8) rotate(10 10 10)'%3E%3Cpath d='M10 17s-7-4.3-7-9.2A3.9 3.9 0 0 1 10 5.6a3.9 3.9 0 0 1 7 2.2C17 12.7 10 17 10 17z'/%3E%3C/g%3E%3Cg transform='translate(118 22) rotate(8 12 10)'%3E%3Cpath d='M3 4h18v11H11l-5 4v-4H3z'/%3E%3Cpath d='M8 9.5h8'/%3E%3C/g%3E%3Cg transform='translate(40 58) rotate(-8 10 10)'%3E%3Cpath d='M10 2.5l2.3 4.8 5.2.7-3.8 3.6.9 5.2L10 14.3l-4.6 2.5.9-5.2L2.5 8l5.2-.7z'/%3E%3C/g%3E%3Cg transform='translate(92 62) rotate(14 12 12)'%3E%3Cpath d='M4 8l8-4 8 4v9l-8 4-8-4z'/%3E%3Cpath d='M4 8l8 4 8-4M12 12v9'/%3E%3C/g%3E%3Cg transform='translate(138 92)'%3E%3Ccircle cx='9' cy='9' r='8'/%3E%3Cpath d='M11.4 6.2c-.5-.8-1.4-1.2-2.4-1.2-1.4 0-2.4.8-2.4 1.9 0 2.6 5 1.4 5 4.1 0 1.1-1.1 2-2.6 2-1.1 0-2-.5-2.5-1.3M9 3.5v11'/%3E%3C/g%3E%3Cg transform='translate(12 100) rotate(-18 12 12)'%3E%3Cpath d='M3 12V4h8l10 10-8 8z'/%3E%3Ccircle cx='7.5' cy='8.5' r='1.4'/%3E%3C/g%3E%3Cg transform='translate(66 112)'%3E%3Cpath d='M10 2v16M2 10h16M4.5 4.5l11 11M15.5 4.5l-11 11' stroke-opacity='.18'/%3E%3C/g%3E%3Cg transform='translate(112 124) rotate(-10 8 12)'%3E%3Crect x='2' y='1' width='13' height='22' rx='3'/%3E%3Cpath d='M7 19h3'/%3E%3C/g%3E%3Ccircle cx='58' cy='40' r='1.6'/%3E%3Ccircle cx='130' cy='64' r='1.6'/%3E%3Ccircle cx='34' cy='146' r='1.6'/%3E%3Ccircle cx='100' cy='100' r='1.4'/%3E%3C/svg%3E") 0 0 / 62cqw 62cqw, #efe7dc; font-family: -apple-system, "SF Pro Text", system-ui, Inter, sans-serif; -webkit-font-smoothing: antialiased; }
  .wa-top { background: rgba(250,250,250,.86); backdrop-filter: blur(14px) saturate(180%); -webkit-backdrop-filter: blur(14px) saturate(180%); box-shadow: 0 .5px 0 rgba(17,18,20,.1); position: relative; z-index: 2; }
  .wa-hd { display: flex; align-items: center; gap: 3.38cqw; padding: 1.3cqw 5.85cqw 4.16cqw 3.9cqw; }
  .wa-hd svg { width: 7.8cqw; height: 7.8cqw; color: #1d1c20; }
  .wa-hd .wa-bk { width: 7.28cqw; color: #1d1c20; }
  .wa-hd svg:last-child { margin-left: 4.55cqw; }
  .wa-hd i { flex: none; width: 13cqw; height: 13cqw; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #f59e5b, #f0607a); color: #fff; font: 700 4.68cqw Inter, sans-serif; font-style: normal; }
  .wa-hd div { flex: 1; min-width: 0; display: grid; }
  .wa-hd b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 5.72cqw; font-weight: 600; }
  .wa-hd small { font-size: 4.29cqw; color: #6b7280; }
  .wa-chat { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 3.9cqw 4.55cqw 1.3cqw; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12cqw); mask-image: linear-gradient(to bottom, transparent, #000 12cqw); }
  .wa-day { align-self: center; margin: 0 0 3.12cqw; flex: none; padding: 1.04cqw 3.38cqw; border-radius: 2.6cqw; background: #fff; font-size: 4.16cqw; color: #6b7280; box-shadow: 0 .5px 0 rgba(17,18,20,.1); }
  /* Cada mensaje abre su espacio suave y aparece encima, sin saltos */
  .wa .wa-m { --e: cubic-bezier(.25,.9,.3,1); flex: none; display: grid; grid-template-rows: 0fr; margin-bottom: 0; opacity: 0; transform: scale(.86); transition: grid-template-rows .42s var(--e), margin-bottom .42s var(--e), opacity .22s ease, transform .42s var(--e); }
  .wa-m > * { min-height: 0; overflow: hidden; transition: padding .42s var(--e); }
  .wa-m:not(.ya) > * { padding-top: 0; padding-bottom: 0; }
  .wa-m.ya { grid-template-rows: 1fr; margin-bottom: 2.08cqw; opacity: 1; transform: none; }
  .wa .wa-ty:not(.ya) { transition: grid-template-rows .32s var(--e), margin-bottom .32s var(--e), opacity .15s ease, transform .32s var(--e); }
  .wa-m.in { transform-origin: 0 100%; } .wa-m.out { transform-origin: 100% 100%; }
  .wa-m > p, .wa-pay { margin: 0; max-width: 80%; padding: 2.34cqw 3.38cqw 1.82cqw; border-radius: 4.16cqw; font-size: 4.94cqw; line-height: 1.36; letter-spacing: -.01em; color: #111b21; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
  .wa-m.in > p, .wa-m.in .wa-pay { background: #fff; border-top-left-radius: 1.04cqw; }
  .wa-m.out > p, .wa-m.out .wa-pay { margin-left: auto; background: #d9fdd3; border-top-right-radius: 1.04cqw; }
  .wa-m time { float: right; display: inline-flex; align-items: center; gap: 1.04cqw; margin: 2.34cqw 0 -0.78cqw 3.12cqw; font-size: 3.38cqw; color: #667781; letter-spacing: 0; }
  .wa-ck { width: 4.94cqw; height: 3.38cqw; color: #34b7f1; }
  .wa-yv { display: flex; align-items: center; gap: 1.3cqw; margin-bottom: .78cqw; font-size: 3.64cqw; font-weight: 600; color: #2a4478; letter-spacing: 0; }
  .wa-yv i { flex: none; width: 5.2cqw; height: 5.2cqw; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #4a6cab, #1c2c52 75%); outline: .26cqw dashed rgba(244,196,120,.85); outline-offset: -.78cqw; color: #f4d39a; font: 700 2.08cqw/1 Georgia, serif; letter-spacing: -.04em; font-style: normal; }
  .wa-pay { display: flex; align-items: center; gap: 3.12cqw; padding: 3.12cqw 3.64cqw; }
  .wa-pay i { flex: none; width: 9.88cqw; height: 9.88cqw; border-radius: 2.6cqw; display: grid; place-items: center; background: linear-gradient(150deg, #f0349a, #8a1d8f 55%, #3a0f5e); box-shadow: inset 0 1px 0 rgba(255,255,255,.28); color: #fff; font: 800 4.68cqw Inter, sans-serif; font-style: normal; }
  .wa-pay div { flex: 1; min-width: 0; display: grid; }
  .wa-pay b { font-size: 4.94cqw; } .wa-pay span { font-size: 4.29cqw; color: #4b5563; white-space: nowrap; }
  .wa-pay em { flex: none; padding: 1.56cqw 3.38cqw; border-radius: 99px; background: #7c3aed; color: #fff; font-size: 4.16cqw; font-weight: 600; font-style: normal; }
  .wa-pay--ok em { width: 7.02cqw; height: 7.02cqw; padding: 0; display: grid; place-items: center; background: #16a34a; }
  .wa-pay--ok em svg { width: 5cqw; height: 5cqw; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .wa-ty > p { display: flex; gap: 1.56cqw; width: max-content; padding: 3.9cqw 4.42cqw; margin-left: auto; background: #d9fdd3; border-top-right-radius: 1.04cqw; }
  .wa-ty i { width: 2.34cqw; height: 2.34cqw; border-radius: 50%; background: #5f8f62; animation: wa-ty 1.1s ease-in-out infinite; }
  .wa-ty i:nth-child(2) { animation-delay: .15s; } .wa-ty i:nth-child(3) { animation-delay: .3s; }
  @keyframes wa-ty { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-1.04cqw); } }
  /* Barra para escribir, a la altura donde el escenario corta el teléfono */
  .wa-in { display: flex; align-items: center; gap: 2.6cqw; padding: 2.6cqw 3.9cqw 40cqw; background: #f6f5f3; }
  .wa-in span { flex: 1; padding: 2.86cqw 4.68cqw; border-radius: 99px; background: #fff; font-size: 4.94cqw; color: #9ca3af; box-shadow: 0 0 0 .5px rgba(17,18,20,.08); }
  .wa-in i { flex: none; width: 11.18cqw; height: 11.18cqw; border-radius: 50%; display: grid; place-items: center; background: #16a34a; color: #fff; }
  .wa-in svg { width: 5.98cqw; height: 5.98cqw; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

  /* Datos: tablero en vivo — la cifra sube, la curva crece y un KPI pulsa, sin decoración de más */
  .pn--ds { container-type: inline-size; } /* el panel es contenedor: el tablero se reacomoda con la escena */
  .pn--ds svg:not(.ds-ch) { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  /* Un solo tablero grande que se sale por la derecha y por abajo, como el sistema de Sistemas */
  .pn--x > .ds { position: absolute; left: 56px; right: 0; top: 204px; bottom: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr);
    border-top-left-radius: 14px; background: #fff; font-family: Inter, sans-serif; overflow: hidden;
    box-shadow: 0 0 0 1px rgba(17,18,20,.08), 0 34px 60px -26px rgba(17,18,20,.3); }
  /* Entrada: el tablero sube suave y sus piezas llegan una tras otra */
  .pn--ds .ds, .ds-main, .ds-k, .ds-chart, .ds-top p { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
  .pn--ds .ds-main, .pn--ds .ds-k, .pn--ds .ds-chart, .pn--ds .ds-top p { transform: translateY(8px); }
  .pn--ds.on .ds, .pn--ds.on .ds-main, .pn--ds.on .ds-k, .pn--ds.on .ds-chart, .pn--ds.on .ds-top p { opacity: 1; transform: none; }
  .pn--ds.on .ds { transition-delay: .06s; } .pn--ds.on .ds-main { transition-delay: .22s; }
  .pn--ds.on .ds-k:nth-of-type(2) { transition-delay: .3s; } .pn--ds.on .ds-k:nth-of-type(3) { transition-delay: .37s; } .pn--ds.on .ds-k:nth-of-type(4) { transition-delay: .44s; }
  .pn--ds.on .ds-chart { transition-delay: .5s; }
  .pn--ds.on .ds-top p:nth-of-type(1) { transition-delay: .56s; } .pn--ds.on .ds-top p:nth-of-type(2) { transition-delay: .63s; } .pn--ds.on .ds-top p:nth-of-type(3) { transition-delay: .7s; }
  .ds-lb { font: 500 0.6875rem/1.2 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; color: #85888e; }
  .ds-hd { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 28px; box-shadow: 0 1px 0 rgba(17,18,20,.07); }
  .ds-ws { display: flex; align-items: center; gap: 8px; font-size: 0.8438rem; font-weight: 600; }
  .ds-ws i { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-style: normal; color: #fff; font-size: 0.6562rem; background: linear-gradient(135deg, #14b8a6, #0ea5e9); }
  .ds-tabs { display: flex; gap: 2px; padding: 2px; border-radius: 8px; background: #f1f1f3; }
  .ds-tabs span { height: 24px; padding: 0 10px; display: grid; place-items: center; border-radius: 6px; font-size: 0.75rem; color: #6b6e75; }
  .ds-tabs .on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(17,18,20,.1); }
  /* Fila de cifras: la venta del día manda y los tres KPI la acompañan con su tendencia */
  .ds-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); box-shadow: 0 1px 0 rgba(17,18,20,.07); }
  .ds-main { min-width: 0; padding: 22px 28px 20px; }
  .ds-n { display: block; margin-top: 12px; font: 700 2.75rem/1 Manrope, sans-serif; letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .ds-d { margin-top: 10px; font-size: 0.8125rem; color: var(--muted); }
  .ds-d b { font-weight: 600; color: #0d9488; }
  .ds-k { min-width: 0; display: grid; grid-template-columns: auto 1fr; align-content: start; align-items: baseline; column-gap: 8px; row-gap: 12px; padding: 22px 20px 18px; box-shadow: -1px 0 0 rgba(17,18,20,.07); }
  .ds-k .ds-lb { grid-column: 1 / -1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ds-k b { font: 700 1.5rem/1 Manrope, sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
  .ds-k em { font-style: normal; font-size: 0.7812rem; font-weight: 600; color: #0d9488; }
  .ds-sp { grid-column: 1 / -1; width: 100%; height: 22px; color: #14b8a6; }
  .ds-sp path { stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 160; stroke-dashoffset: 160; }
  .pn.on .ds-sp path { animation: dsdraw 1.4s cubic-bezier(.65,0,.35,1) .7s forwards; }
  .pn.on .ds-k:nth-of-type(3) .ds-sp path { animation-delay: .8s; } .pn.on .ds-k:nth-of-type(4) .ds-sp path { animation-delay: .9s; }
  /* Cuando un KPI cambia, la cifra se asienta y su variación destella suave */
  .ds-k b, .ds-k em { display: inline-block; }
  .ds-k em { border-radius: 5px; padding: 1px 4px; margin-left: -4px; transition: background-color 1.2s ease; }
  .ds-k em.bump { background-color: rgba(20,184,166,.14); transition-duration: .25s; }
  /* Gráfica ancha con la curva de hoy contra la de ayer */
  .ds-body { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 272px; }
  .ds-chart { min-width: 0; min-height: 0; display: flex; flex-direction: column; padding: 18px 28px 22px; }
  .ds-cl { display: flex; gap: 18px; }
  .ds-cl span { display: flex; align-items: center; gap: 7px; }
  .ds-cl i { width: 14px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #14b8a6, #0ea5e9); }
  .ds-cl i.ay { background: repeating-linear-gradient(90deg, #c4c6cb 0 4px, transparent 4px 7px); }
  .ds-cw { position: relative; flex: 1; min-height: 0; margin: 14px 0 0 40px; }
  .ds-y { position: absolute; left: -40px; transform: translateY(-50%); font: 500 0.6562rem/1 ui-monospace, 'SF Mono', Menlo, monospace; color: #a3a6ac; }
  .ds-ch { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .ds-g path { fill: none; stroke: rgba(17,18,20,.07); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
  .ds-g .b { stroke: rgba(17,18,20,.12); stroke-dasharray: none; }
  .ds-ay { fill: none; stroke: #c4c6cb; stroke-width: 1.6; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; opacity: 0; }
  .pn.on .ds-ay { animation: dsfade 1s ease .7s forwards; }
  .ds-l { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
  .ds-a { opacity: 0; }
  .pn.on .ds-l { animation: dsdraw 2s cubic-bezier(.65,0,.35,1) .7s forwards; }
  .pn.on .ds-a { animation: dsfade 1.2s ease 1.5s forwards; }
  @keyframes dsdraw { to { stroke-dashoffset: 0; } }
  @keyframes dsfade { to { opacity: 1; } }
  .ds-x { display: flex; justify-content: space-between; margin: 10px 0 0 40px; }
  .ds-x span { width: 0; display: flex; justify-content: center; white-space: nowrap; }
  .ds-x span:first-child { justify-content: flex-start; } .ds-x span:last-child { justify-content: flex-end; }
  .ds-top { display: grid; align-content: start; gap: 6px; padding: 18px 24px; box-shadow: -1px 0 0 rgba(17,18,20,.07); }
  .ds-top .ds-lb { margin-bottom: 8px; }
  .ds-top p { position: relative; display: flex; justify-content: space-between; padding: 9px 12px; font-size: 0.8125rem; border-radius: 6px; overflow: hidden; }
  .ds-top p b { font-weight: 600; font-variant-numeric: tabular-nums; }
  .ds-top p::before { content: ''; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); background: rgba(234,179,8,.16); box-shadow: inset 2px 0 0 #eab308; transform-origin: left; transform: scaleX(0); }
  .pn.on .ds-top p::before { animation: dsbar 1.1s cubic-bezier(.16,1,.3,1) .9s forwards; }
  .pn.on .ds-top p:nth-of-type(2)::before { animation-delay: 1s; } .pn.on .ds-top p:nth-of-type(3)::before { animation-delay: 1.1s; }
  @keyframes dsbar { to { transform: none; } }
  .ds-top p > * { position: relative; }
  /* El reporte llega como notificación que cae sobre la esquina del tablero */
  .pn--x > .ds-rp { position: absolute; z-index: 4; top: 172px; right: 24px; width: 260px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px;
    background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); font-family: Inter, sans-serif;
    box-shadow: 0 0 0 .5px rgba(17,18,20,.12), 0 1px 2px rgba(17,18,20,.05), 0 22px 44px -18px rgba(17,18,20,.38);
    opacity: 0; transform: translateY(-14px) scale(.96); filter: blur(6px); transform-origin: 50% 0; }
  .pn.on > .ds-rp { animation: dsrp 1s cubic-bezier(.16,1,.3,1) 3s forwards; }
  @keyframes dsrp { 0% { opacity: 0; transform: translateY(-14px) scale(.96); filter: blur(6px); } 40% { opacity: 1; filter: none; } 100% { opacity: 1; transform: none; filter: none; } }
  .ds-rp > i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #22c55e; color: #fff; }
  .ds-rp > i svg { width: 18px; height: 18px; }
  .ds-rp > div { flex: 1; min-width: 0; }
  .ds-rp b { display: block; font-size: 0.8125rem; font-weight: 600; }
  .ds-rp span { display: block; margin-top: 2px; font-size: 0.7188rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ds-rp em { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #16a34a; color: #fff; }
  .ds-rp em { transform: scale(.4); opacity: 0; }
  .pn.on > .ds-rp em { animation: dsok .6s cubic-bezier(.16,1,.3,1) 3.5s forwards; }
  @keyframes dsok { to { transform: none; opacity: 1; } }
  .ds-rp em svg { width: 12px; height: 12px; stroke-width: 2.6; }
  .ds-rp em path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .pn.on > .ds-rp em path { animation: dsdraw .45s cubic-bezier(.65,0,.35,1) 3.75s forwards; }
  /* Escenas angostas: la venta del día va sola arriba y los KPI en fila debajo; sin la lista lateral */
  @container (max-width: 760px) {
    .ds-hero { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ds-main { grid-column: 1 / -1; padding: 14px 22px 12px; box-shadow: 0 1px 0 rgba(17,18,20,.07); }
    .ds-n { margin-top: 8px; font-size: 2.125rem; } .ds-d { margin-top: 6px; }
    .ds-k { padding: 10px 22px 12px; row-gap: 6px; } .ds-k:nth-of-type(2) { box-shadow: none; }
    .ds-k b { font-size: 1.125rem; } .ds-sp { display: none; }
    .ds-body { grid-template-columns: minmax(0, 1fr); }
    .ds-top, .ds-cl { display: none; }
    .ds-hd, .ds-chart { padding-inline: 22px; } .ds-hd { height: 46px; }
    .ds-chart { padding-top: 14px; padding-bottom: 16px; } .ds-cw { margin-top: 0; }
    /* La notificación cae sobre la cabecera del tablero, donde no tapa la gráfica */
    .pn--x > .ds-rp { right: 20px; }
  }

  @media (max-width: 960px) {
    .pn--x figcaption, .pn--dk figcaption { width: auto; padding: 28px 24px 0; }
    .pn--x > .ln-board { display: none; }
    .pn--x > .ln-thread { left: 16px; right: 16px; width: auto; top: 224px; bottom: 0; border-radius: 16px 16px 0 0; }
    .ln-msgs { justify-content: flex-end; -webkit-mask-image: linear-gradient(transparent, #000 36px); mask-image: linear-gradient(transparent, #000 36px); }
    .ln-hd > small { display: none; }
    .pn--x > .erp { left: 16px; top: 224px; grid-template-columns: minmax(0, 1fr); padding-top: 0; }
    .erp-side { display: none; } .erp-main { border-top-left-radius: 14px; padding: 0 16px; }
    .pn--x > .erp-modal { inset: 224px 0 0 16px; }
    .pn--x > .ig { left: 16px; right: 16px; top: 224px; bottom: 16px; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 10px; }
    .ig-wire, .ig-core { display: none; }
    /* En móvil el chat ocupa la escena y las tres apps llegan encima, como notificaciones */
    .pn--x > .ig { grid-template-rows: minmax(0, 1fr); }
    .ig-ph { grid-column: 1; grid-row: 1; width: 200px; margin-block: 0; align-self: start; justify-self: center; }
    .ig-out { grid-column: 1; grid-row: 1; align-self: end; position: relative; z-index: 6; grid-template-rows: repeat(3, auto); grid-auto-rows: auto; max-width: none; gap: 8px; }
    .ig-w { padding: 10px 12px 11px; box-shadow: 0 1px 2px rgba(17,18,20,.05), 0 18px 36px -14px rgba(17,18,20,.32); transform: translateY(16px) scale(.97); }
    .ig-w-bd, .ig-t { margin-top: 6px; padding-left: 0; } .ig .ig-t > div:not(.new) { display: none; } .ig-av { width: 32px; height: 32px; font-size: 0.75rem; } .ig-w-bd .ig-amt { font-size: 1.125rem; } .ig .ig-ok { width: 22px; height: 22px; } .ig-ic { width: 24px; height: 24px; } .ig-t .new > div { margin-top: 0; }
    .pn--x > .ds { left: 16px; top: 224px; }
    .pn--x > .ds-rp { right: 10px; top: 176px; width: min(236px, calc(100% - 56px)); }
    .ds-tabs span:not(.on) { display: none; }
  }
  @media (max-width: 640px) {
    .pn--x figcaption, .pn--dk figcaption { padding: 24px 20px 0; }
    .erp-tabs, .erp-main header > b { display: none; }
    .erp-r, .erp-h { grid-template-columns: minmax(0, 1fr) 118px; }
    .erp-r > :not(:nth-child(2), :nth-child(5)), .erp-h > :not(:nth-child(2), :nth-child(5)) { display: none; }
    .ds-n { font-size: 2.125rem; }
    /* En el celular caben dos KPI; la notificación aterriza sobre la cabecera del tablero */
    .ds-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ds-k:nth-of-type(4) { display: none; }
    .ds-k .ds-lb { letter-spacing: .03em; } .ds-x span:nth-child(even) { visibility: hidden; }
  }
  @media (prefers-reduced-motion: reduce) { .pn.on .ds-l, .pn.on .ds-a, .pn.on .ds-ay, .pn.on .ds-sp path, .pn.on .ds-top p::before, .pn.on > .ds-rp, .pn.on > .ds-rp em, .pn.on > .ds-rp em path { animation-duration: .01s; animation-delay: 0s; } .pn--ds .ds, .ds-main, .ds-k, .ds-chart, .ds-top p { transition: none !important; opacity: 1 !important; transform: none !important; } .ig .ig-ph, .ig .ig-w, .ig .ig-core { opacity: 1 !important; transform: none !important; filter: none !important; } .ig-wire .t, .ig-wire .f { opacity: 1 !important; stroke-dashoffset: 0 !important; } .ig-wire .p { display: none; } .ig .ig-ok { opacity: 1 !important; transform: none !important; } .ig-ok path { stroke-dashoffset: 0 !important; } .ig-t .new > div { opacity: 1 !important; transform: none !important; } .wa-m { transition: none !important; } .wa-m:not(.wa-ty) { grid-template-rows: 1fr; margin-bottom: 2.08cqw; opacity: 1; transform: none; filter: none; } }
  .pn .browser.shop { background: #fff; }
  .shop .top { align-items: center; }
  .shop .top span { flex: 1; margin: 0 28px 0 18px; padding: 3px 0; border-radius: 6px; background: #f1f2f4; font: 500 0.6562rem Inter, sans-serif; color: var(--muted); text-align: center; }
  .st-bar { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding: 10px 14px 8px; }
  .st-bar svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .st-bar span { font: 600 0.6875rem Inter, sans-serif; padding: 6px 10px; border-radius: 8px; background: #f1f2f4; }
  .st-wall { position: relative; display: grid; gap: 7px; padding-bottom: 18px; overflow: hidden; }
  .st-row > div { display: flex; gap: 7px; width: max-content; animation: st-run 38s linear infinite; }
  .st-row:nth-child(2) > div { animation-direction: reverse; animation-duration: 46s; }
  .st-row:nth-child(3) > div { animation-duration: 42s; }
  .st-row b { position: relative; flex: 0 0 auto; width: 108px; height: 108px; border-radius: 14px; background: #f3f3f1 center / cover; overflow: hidden; }
  .st-row em { position: absolute; inset: 0; display: grid; place-items: center; font: 800 1.0625rem Manrope, sans-serif; font-style: normal; letter-spacing: -.02em; color: #fff;
    background: rgba(0,0,0,.14); text-shadow: 0 1px 8px rgba(0,0,0,.3); }
  @keyframes st-run { to { transform: translateX(calc(-50% - 3.5px)); } }
  .st-mid { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px;
    background: radial-gradient(46% 50% at 50% 50%, #fff 48%, rgba(255,255,255,.88) 68%, rgba(255,255,255,0) 100%); }
  .st-mid strong { font: 800 3.375rem/1 Manrope, sans-serif; letter-spacing: -.05em; padding-bottom: 4px;
    background: linear-gradient(90deg, #10b981, #059669 50%, #0d9488); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .st-q { display: flex; align-items: center; gap: 8px; width: 290px; padding: 10px 13px; border-radius: 10px; background: #fff; font: 400 0.75rem Inter, sans-serif; color: var(--muted);
    box-shadow: 0 0 0 1px rgba(17,18,20,.1), 0 0 0 5px rgba(17,18,20,.04), 0 10px 24px -12px rgba(17,18,20,.3); }
  .st-q svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
  @media (prefers-reduced-motion: reduce) { .st-row > div { animation: none; } }
  @media (max-width: 640px) { .st-row b { width: 80px; height: 80px; border-radius: 11px; } .st-row em { font-size: 0.875rem; } .st-mid strong { font-size: 2.5rem; } .st-q { width: 230px; } }
  @media (max-width: 960px) {
    .services > header { grid-template-columns: 1fr; }
    .view { grid-template-columns: 1fr; height: auto; }
    .rows { border-right: 0; border-top: 1px solid var(--line); padding: 12px; }
    .stageon { order: -1; height: 600px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .stageon::-webkit-scrollbar { display: none; }
    .pn { position: relative; inset: auto; flex: 0 0 100%; scroll-snap-align: center; opacity: 1; transform: none;
      grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
    .pn > :not(figcaption) { grid-column: 1; grid-row: 2; }
    .pn figcaption { align-self: start; padding: 28px 24px 20px; }
    .apps .yv { width: 230px; margin-left: -115px; top: 8px; }
  }

  /* App: teléfono con notificaciones que van subiendo */
  .phone { position: relative; width: 196px; aspect-ratio: 720 / 1469; margin-top: 40px; filter: drop-shadow(0 30px 34px rgba(17,18,20,.24)); }
  .phone > img { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; pointer-events: none; }
  .phone .scr { position: absolute; left: 5.1%; top: 2.2%; width: 89.8%; height: 95.57%; border-radius: 14.4% / 6.62%; overflow: hidden; background: #fff; }
  .phone .scr::after { content: ''; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 58px; pointer-events: none; background: linear-gradient(#fff 50%, rgba(255,255,255,0)); }
  .phone .scr::before { content: ''; position: absolute; z-index: 2; top: 8px; left: 50%; width: 64px; height: 18px; border-radius: 9px; background: #111214; transform: translateX(-50%); }
  .notes { position: absolute; left: 10px; right: 10px; top: 44px; display: grid; gap: 8px; animation: notes 9s cubic-bezier(.7,0,.2,1) infinite; }
  .notes div { display: flex; gap: 9px; align-items: center; padding: 9px; border-radius: 14px; background: #f3f4f6; font-size: 0.6875rem; font-weight: 600; line-height: 1.25; }
  .notes i { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--c); }
  .notes small { display: block; font-weight: 500; color: var(--muted); font-size: 0.625rem; }
  @keyframes notes { 0%, 22% { transform: translateY(0); } 33%, 55% { transform: translateY(-56px); } 66%, 88% { transform: translateY(-112px); } 100% { transform: translateY(0); } }

  /* Web: ventana con bloques que cargan */
  .browser { width: min(88%, 420px); border-radius: 14px; background: #f6f7f8; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
  .browser .top { display: flex; gap: 5px; padding: 9px 12px; background: #fff; box-shadow: 0 1px 0 var(--line); }
  .browser .top i { width: 8px; height: 8px; border-radius: 50%; background: #dcdde0; }
  .browser .body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
  .browser .body b { height: 46px; border-radius: 8px; background: linear-gradient(90deg, #e9eaed 0, #f6f7f8 40%, #e9eaed 80%) 0 0 / 300% 100%; animation: shimmer 2.4s linear infinite; }
  .browser .body b:first-child { grid-column: span 3; height: 30px; background: linear-gradient(90deg, #e8364f, #7b4fd6); opacity: .85; animation: none; }
  @keyframes shimmer { to { background-position: -300% 0; } }

  /* Automatización: un punto que recorre tres pasos */
  .pipe { position: relative; width: 78%; height: 40px; display: flex; justify-content: space-between; align-items: center; }
  .pipe::before { content: ''; position: absolute; left: 14px; right: 14px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 6px, transparent 6px 12px); }
  .pipe i { position: relative; width: 28px; height: 28px; border-radius: 9px; background: #26272c; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
  .pipe b { position: absolute; left: 14px; width: 10px; height: 10px; border-radius: 50%; background: #5fd39a; box-shadow: 0 0 12px #5fd39a; animation: run 2.6s cubic-bezier(.6,0,.4,1) infinite; }
  @keyframes run { from { left: 14px; } to { left: calc(100% - 24px); } }

  /* Sistemas: barras que crecen */
  .bars3 { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
  .bars3 i { width: 18px; border-radius: 6px 6px 3px 3px; background: #e6e7ea; transform-origin: bottom; animation: grow 3.2s ease-in-out infinite; }
  .bars3 i:nth-child(odd) { background: #111214; }
  .bars3 i:nth-child(1) { height: 40%; } .bars3 i:nth-child(2) { height: 70%; animation-delay: .2s; } .bars3 i:nth-child(3) { height: 55%; animation-delay: .4s; }
  .bars3 i:nth-child(4) { height: 90%; animation-delay: .6s; } .bars3 i:nth-child(5) { height: 65%; animation-delay: .8s; }
  @keyframes grow { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }

  /* Integraciones: herramientas conectadas al centro */
  .hub { display: flex; align-items: center; gap: 14px; }
  .hub .pill { padding: 8px 13px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); font-size: 0.8125rem; font-weight: 600; display: flex; gap: 7px; align-items: center; }
  .hub .pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
  .hub .core { width: 54px; height: 54px; border-radius: 18px; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(17,18,20,.05); animation: pulse 2.4s ease-in-out infinite; }
  .hub .core svg { width: 30px; height: 16px; }
  .hub .line { width: 28px; height: 2px; background: repeating-linear-gradient(90deg, #c9cace 0 4px, transparent 4px 8px); background-size: 16px 2px; animation: dash .8s linear infinite; }
  .hub .col { display: grid; gap: 10px; }
  @keyframes dash { to { background-position: 16px 0; } }
  @keyframes pulse { 50% { box-shadow: 0 0 0 14px rgba(17,18,20,.03); } }

  /* Datos: línea que se dibuja */
  .spark { width: 84%; display: flex; align-items: flex-end; gap: 18px; }
  .spark svg { flex: 1; height: 90px; overflow: visible; }
  .spark path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 4s cubic-bezier(.6,0,.2,1) infinite; }
  .spark strong { font-family: Manrope, sans-serif; font-size: 2.75rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
  .spark strong small { display: block; font-family: Inter, sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0; color: #1fbf6b; margin-top: 4px; }
  @keyframes draw { 0% { stroke-dashoffset: 600; } 60%, 100% { stroke-dashoffset: 0; } }

  @media (max-width: 960px) { .proof { grid-template-columns: repeat(2, 1fr); } .proof div:nth-child(3) { grid-column: 1 / -1; border-left: 0; } .proof div:nth-child(n+3) { border-top: 1px solid var(--line); } }
  @media (max-width: 640px) { .hub .col:last-child { display: none; } .proof { grid-template-columns: 1fr; } .proof div + div { border-left: 0; border-top: 1px solid var(--line); } .svc { padding: 0 10px 16px; border-radius: 22px; } .pn figcaption { padding: 24px 20px 16px; } .pn.pn--top > :not(figcaption) { margin: 0 16px; } }

  @media (max-width: 760px) { .flow { display: none; } }
  @media (max-width: 760px) {
    nav .links { display: none; }
    .brand span { font-size: 1.0625rem; }
    nav .btn { font-size: 0.9375rem; padding: 0 18px; height: 44px; box-shadow: none; }
    /* En móvil la nav también flota despegada dentro del marco */
    nav { --t: 20px; --r0: 18px; --r1: 20px; height: 56px; gap: 12px; padding: 0 8px 0 16px; }
    .brand svg { width: 32px; height: 17px; }
    .copy { padding-top: calc(76px + 28px); }
    .hero { padding-bottom: 130px; }
    .stage { width: 112%; }
    .flag { left: 16px; right: 16px; bottom: 16px; width: auto; }
  }
  /* Secciones de abajo: caso, proceso, principios, stack, preguntas y cierre. Mismo lenguaje que Soluciones */
  .blk { max-width: 1180px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) 16px 40px; }
  .blk > header { text-align: center; max-width: 860px; margin: 0 auto 56px; }
  .blk h2 { font-family: Manrope, sans-serif; font-weight: 800; font-size: clamp(2.125rem, 4.4vw, 3.75rem); line-height: 1; letter-spacing: -.05em; text-wrap: balance; }
  .blk h2 span { display: block; color: var(--muted); }
  .blk > header p { max-width: 560px; margin: 16px auto 0; color: var(--muted); font-size: 1.125rem; line-height: 1.5; }
  /* Aparecen al entrar en pantalla, escalonadas con --d. Es animation y no transition para no retrasar el hover */
  .js .rv:not(.seen) { opacity: 0; }
  /* Entradas cortas y con retardo topeado: el salto de scroll rápido nunca ve texto invisible más de ~700ms */
  .js .rv.seen { animation: rise .55s cubic-bezier(.2,.8,.2,1) calc(min(var(--d, 0), 2) * 90ms) backwards; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }

  /* Caso Ya Viene: módulo de historia de cliente al estilo incident.io. Texto arriba y abajo a la izquierda, medio cuadrado a la derecha */
  .case-band { background: radial-gradient(70% 60% at 50% 0%, #2b1f36, transparent 70%), #1a1420; color: #fff; }
  .case-band .blk { padding-bottom: clamp(56px, 7vw, 96px); }
  .case-band .lockup svg { color: #fff; }
  .case-band .lockup i, .case-band .case-txt p, .case-band .facts dt { color: rgba(255,255,255,.6); }
  .case-band .more, .case-band .facts div { border-color: rgba(255,255,255,.14); }
  /* Halo blanco sutil detrás del cuadro y un filo de luz arriba, para que la pantalla flote sobre el morado */
  .case-band .case-zone { position: relative; isolation: isolate; }
  .case-band .case-zone::before { content: ''; position: absolute; z-index: -1; inset: -6% -12% 2%; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255,255,255,.12), rgba(255,255,255,.04) 55%, transparent); filter: blur(50px); }
  .case-band .case-media { box-shadow: 0 0 0 1px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.5), 0 40px 80px -30px rgba(255,255,255,.14), 0 24px 50px -20px rgba(0,0,0,.6); }
  .case-band .car-dots i { background: rgba(255,255,255,.25); }
  .case-band .car-dots i.on { background: #fff; }
  .case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .case-txt { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-right: clamp(0px, 6vw, 80px); }
  .lockup { display: flex; align-items: center; gap: 10px; height: 24px; font-family: Manrope, sans-serif; font-size: 1.125rem; letter-spacing: -.02em; white-space: nowrap; }
  .lockup img { width: 24px; height: 24px; }
  .lockup svg { width: 30px; height: 16px; color: var(--ink); }
  .lockup b { font-weight: 800; }
  .lockup i { font-style: normal; color: var(--muted); margin: 0 4px; }
  .case h2 { margin-top: 32px; font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -.035em; }
  .case-txt p { margin-top: 20px; color: var(--muted); font-size: 1.1875rem; line-height: 1.45; max-width: 46ch; }
  .facts { display: flex; justify-content: space-between; gap: 16px; margin: 0; }
  .facts dt { font-size: 1rem; color: var(--muted); }
  .facts dd { margin: 4px 0 0; font-family: Manrope, sans-serif; font-weight: 700; font-size: 1.375rem; line-height: 1.4; letter-spacing: -.02em; }
  .more { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 500; font-size: 1.125rem; }
  .more svg { width: 16px; height: 16px; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
  .more:hover svg { transform: translateX(4px); }
  /* Carrusel del cuadro del caso: primera vista el mapa de la app, segunda el video real del panel; el teaser gira en silencio y el botón lo abre grande con sonido */
  .case-zone { display: flex; flex-direction: column; gap: 16px; }
  .cm-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overflow-anchor: none; }
  .cm-track::-webkit-scrollbar { display: none; }
  @media (prefers-reduced-motion: no-preference) { .cm-track { scroll-behavior: smooth; } }
  .cm-s { flex: 0 0 100%; min-width: 100%; position: relative; height: 100%; scroll-snap-align: start; }
  .vid-s { position: relative; border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(42,41,46,.06); }
  .vid-t { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
  .vid-go { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 0.9375rem/1 Manrope, sans-serif; cursor: pointer; box-shadow: 0 16px 34px -14px rgba(17,18,20,.5); transition: scale .12s ease-out; }
  .vid-go:active { scale: .95; }
  .vid-go svg { width: 13px; height: 13px; }
  .vid-go b { font-weight: 500; color: rgba(255,255,255,.6); }
  .ctl-car { display: flex; align-items: center; justify-content: center; gap: 14px; }
  .car-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 4px 14px -6px rgba(17,18,20,.3); cursor: pointer; opacity: 0; transition: opacity .25s ease, scale .12s ease-out; }
  .case-zone:hover .car-btn, .case-zone:focus-within .car-btn { opacity: 1; }
  @media (hover: none) { .car-btn { opacity: 1; } }
  .car-btn:active { scale: .94; }
  .car-btn svg { width: 17px; height: 17px; }
  .car-dots { display: flex; gap: 6px; }
  .car-dots i { width: 8px; height: 8px; border-radius: 9px; background: rgba(17,18,20,.18); cursor: pointer; transition: width .3s cubic-bezier(.2,.8,.2,1), background .3s ease; }
  .car-dots i.on { width: 26px; background: var(--ink); }
  /* Video en grande: además de la X se cierra tocando fuera o con la tecla de escape */
  .vidm { position: fixed; z-index: 400; inset: 0; display: grid; place-items: center; }
  .vidm[hidden] { display: none; }
  .vidm .vd-bd { position: absolute; inset: 0; background: rgba(12,12,14,.82); }
  .vidm video { position: relative; max-width: min(94vw, 1180px); max-height: 86vh; border-radius: 16px; background: #F4F2EE; box-shadow: 0 40px 90px -30px rgba(0,0,0,.65); }
  .vidm .vd-x { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer; transition: scale .12s ease-out; }
  .vidm .vd-x:active { scale: .94; }
  .vidm .vd-x svg { width: 15px; height: 15px; }
  /* El cuadro es la pantalla de Ya Viene: medidas en pt de la app (402 de ancho) escaladas con --u */
  .case-media { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #F4F2EE;
    container-type: inline-size; --u: calc(100cqw / 600); box-shadow: inset 0 0 0 1px rgba(42,41,46,.06);
    font-family: 'Plus Jakarta Sans', sans-serif; color: #1F2430; letter-spacing: -.01em; }
  .ya-map { position: absolute; inset: 0; width: 100%; height: 100%; }
  .ya-st { position: absolute; z-index: 3; top: calc(16 * var(--u)); left: 0; right: 0; height: calc(36 * var(--u));
    font: 600 calc(17 * var(--u)) Inter, sans-serif; letter-spacing: -.02em; color: #111; }
  /* Hora e íconos amarrados hacia adentro: la hora arranca 6u dentro del borde izquierdo del cuadro de Ruta activa (±180u) y los íconos terminan 6u dentro del derecho; cuando la isla se ensancha (compacta/expandida) los íconos y la hora se corren a la orilla que deja libre el marco, con 12u de aire */
  .ya-st b { position: absolute; top: 50%; transform: translateY(-50%); left: calc(50% - 174 * var(--u)); transition: left .6s cubic-bezier(.32,.72,0,1); }
  .ya-st span { position: absolute; top: 50%; transform: translateY(-50%); right: calc(50% - 174 * var(--u)); display: flex; gap: calc(6 * var(--u)); align-items: center; transition: right .6s cubic-bezier(.32,.72,0,1); }
  .ya-exp .ya-st b { left: calc(50% - 248 * var(--u)); }
  .ya-exp .ya-st span { right: calc(50% - 280 * var(--u)); }
  .ya-cmp .ya-st span { right: calc(50% - 197 * var(--u)); }
  .ya-st svg { height: calc(12 * var(--u)); fill: #111; }
  /* Isla dinámica: una sola pieza que se estira de reposo a compacta (logo + km) a expandida (el tamaño de la actividad) */
  .ya-di { position: absolute; z-index: 6; top: calc(14 * var(--u)); left: 50%; width: calc(125 * var(--u)); height: calc(37 * var(--u));
    transform: translateX(-50%); border-radius: calc(19 * var(--u)); background: #000; overflow: hidden;
    transition: width .6s cubic-bezier(.32,.72,0,1), height .6s cubic-bezier(.32,.72,0,1), top .6s cubic-bezier(.32,.72,0,1), border-radius .6s cubic-bezier(.32,.72,0,1); }
  .ya-di.ya-cmp { width: calc(226 * var(--u)); }
  .ya-di.ya-exp { top: calc(11 * var(--u)); width: calc(392 * var(--u)); border-radius: calc(44 * var(--u)); }
  .ya-dl, .ya-dc { position: absolute; top: 50%; opacity: 0; transform: translateY(-50%); transition: opacity .25s ease; }
  .ya-dl { left: calc(8 * var(--u)); width: calc(22 * var(--u)); height: calc(22 * var(--u)); border-radius: 22.5%; }
  .ya-dc { right: calc(13 * var(--u)); display: flex; align-items: baseline; gap: calc(3 * var(--u)); font-family: ui-rounded, 'SF Pro Rounded', -apple-system, sans-serif; letter-spacing: 0; }
  .ya-dc b { color: #00A859; font-size: calc(15 * var(--u)); font-weight: 700; font-variant-numeric: tabular-nums; }
  .ya-dc small { color: #9BA3AF; font-size: calc(11 * var(--u)); font-weight: 600; }
  .ya-cmp .ya-dl, .ya-cmp .ya-dc { opacity: 1; transition-delay: .22s; }
  .ya-late { animation: yaLate 1.3s ease-out 2; }
  @keyframes yaLate { from { box-shadow: 0 0 0 0 rgba(0,168,89,.55); } to { box-shadow: 0 0 0 calc(16 * var(--u)) rgba(0,168,89,0); } }
  .ya-vib { animation: yaVib .45s linear; }
  @keyframes yaVib { 0%, 100% { translate: 0; } 12% { translate: calc(-2.2 * var(--u)) 0; } 25% { translate: calc(2 * var(--u)) 0; } 37% { translate: calc(-1.7 * var(--u)) 0; }
    50% { translate: calc(1.4 * var(--u)) 0; } 62% { translate: calc(-1 * var(--u)) 0; } 75% { translate: calc(.7 * var(--u)) 0; } 87% { translate: calc(-.3 * var(--u)) 0; } }
  .ya-top { position: absolute; z-index: 2; top: calc(75 * var(--u)); left: calc(50% - 180 * var(--u)); right: calc(50% - 180 * var(--u)); height: calc(58 * var(--u));
    display: flex; align-items: center; padding: 0 calc(7 * var(--u)) 0 calc(11 * var(--u)); border-radius: calc(29 * var(--u)); background: #fff;
    box-shadow: 0 calc(6 * var(--u)) calc(18 * var(--u)) rgba(17,24,39,.1); }
  .ya-top img { width: calc(36 * var(--u)); height: calc(36 * var(--u)); }
  .ya-top p { flex: 1; margin: 0; text-align: center; line-height: 1.15; }
  .ya-top small { display: block; color: #065F46; font-size: calc(12 * var(--u)); font-weight: 500; }
  .ya-top b { display: block; font-size: calc(18 * var(--u)); font-weight: 700; letter-spacing: -.02em; color: #111827; }
  .ya-top i { width: calc(46 * var(--u)); height: calc(46 * var(--u)); border-radius: 50%; display: grid; place-items: center; background: #F1F4F7; }
  .ya-top i svg { width: calc(15 * var(--u)); height: calc(15 * var(--u)); stroke: #374151; stroke-width: 2; }
  .ya-sheet { position: absolute; z-index: 2; overflow: hidden; transition: height .55s cubic-bezier(.32,.72,0,1); left: calc(50% - 180 * var(--u)); right: calc(50% - 180 * var(--u)); bottom: calc(16 * var(--u)); padding: calc(12 * var(--u)) calc(23 * var(--u)) calc(20 * var(--u));
    border-radius: calc(36 * var(--u)); background: #fff; box-shadow: 0 calc(-4 * var(--u)) calc(30 * var(--u)) rgba(17,24,39,.1); }
  .ya-sheet::before { content: ''; display: block; width: calc(44 * var(--u)); height: calc(4 * var(--u)); margin: 0 auto calc(16 * var(--u)); border-radius: 9px; background: #E3E5E8; }
  .ya-card { border: 1px solid #ECEEF1; border-radius: calc(24 * var(--u)); box-shadow: 0 calc(4 * var(--u)) calc(14 * var(--u)) rgba(17,24,39,.04); }
  .ya-placa { display: flex; justify-content: center; align-items: center; gap: calc(11 * var(--u)); height: calc(43 * var(--u)); border-bottom: 1px solid #ECEEF1; }
  .ya-placa span { color: #4B5563; font-size: calc(12 * var(--u)); font-weight: 600; letter-spacing: .14em; }
  .ya-placa b { padding: calc(2 * var(--u)) calc(9 * var(--u)); border: calc(1.6 * var(--u)) solid #111827; border-radius: calc(7 * var(--u)); font-size: calc(14 * var(--u)); font-weight: 600; letter-spacing: .1em; }
  .ya-km { padding: calc(8 * var(--u)) 0 calc(6 * var(--u)); text-align: center; line-height: 1; }
  .ya-km strong { display: block; color: #0B7A4E; font-size: calc(50 * var(--u)); font-weight: 300; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
  .ya-km span { display: block; margin-top: calc(3 * var(--u)); color: #4B5563; font-size: calc(14.5 * var(--u)); font-weight: 500; }
  .ya-oc { margin: 0 calc(14 * var(--u)); padding: calc(10 * var(--u)) 0 calc(13 * var(--u)); border-top: 1px solid #ECEEF1; }
  .ya-oc p { display: flex; justify-content: space-between; align-items: center; margin: 0 0 calc(8 * var(--u)); color: #4B5563; font-size: calc(12.5 * var(--u)); font-weight: 500; }
  .ya-oc p span { display: flex; align-items: center; gap: calc(6 * var(--u)); }
  .ya-oc p svg { width: calc(15 * var(--u)); height: calc(15 * var(--u)); fill: #4B5563; }
  .ya-oc p b { color: #111827; font-size: calc(13.5 * var(--u)); font-weight: 500; }
  .ya-oc > i { display: block; height: calc(5 * var(--u)); border-radius: 9px; background: #EEF0F3; overflow: hidden; }
  .ya-oc > i::before { content: ''; display: block; width: var(--oc, 28%); height: 100%; background: #E2BF33; }
  .ya-btn { display: flex; justify-content: center; align-items: center; gap: calc(11 * var(--u)); height: calc(52 * var(--u)); margin-top: calc(12 * var(--u));
    border-radius: calc(26 * var(--u)); background: #047857; color: #fff; font-size: calc(16 * var(--u)); font-weight: 800; letter-spacing: -.01em;
    box-shadow: 0 calc(8 * var(--u)) calc(18 * var(--u)) rgba(4,120,87,.24); }
  .ya-btn.ya-on { background: #065F46; box-shadow: 0 calc(8 * var(--u)) calc(18 * var(--u)) rgba(6,95,70,.24); }
  .ya-btn.ya-on i svg { fill: #fff; stroke: #065F46; }
  .ya-btn i { width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); }
  .ya-btn i svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); stroke: #fff; stroke-width: 2.2; fill: none; }
  /* Actividad en vivo: copia de TarjetaBloqueada en Vistas.swift, mismos pt */
  .ya-la { position: absolute; z-index: 7; top: calc(11 * var(--u)); left: 50%; width: calc(374 * var(--u)); margin-left: calc(-187 * var(--u));
    display: flex; flex-direction: column; gap: calc(22 * var(--u)); padding: calc(30 * var(--u)) calc(18 * var(--u)) calc(16 * var(--u)); border-radius: calc(44 * var(--u));
    background: #000; color: #fff; font-family: -apple-system, 'SF Pro Text', Inter, sans-serif; letter-spacing: 0; --a: 0; --av: .545;
    opacity: 0; visibility: hidden; filter: blur(calc(8 * var(--u))); transform: scale(.94); transform-origin: 50% 0;
    transition: opacity .3s ease, filter .35s ease, transform .5s cubic-bezier(.32,.72,0,1), visibility 0s .5s; }
  .ya-la.ya-ver { opacity: 1; visibility: visible; filter: none; transform: none; transition-delay: .2s, .2s, .12s, 0s; }
  .ya-cab { display: flex; align-items: center; gap: calc(12 * var(--u)); }
  .ya-cab img { width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: 22.5%; }
  .ya-cab p { transition: opacity .2s ease; margin: 0; font-size: calc(25 * var(--u)); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; word-spacing: -.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .ya-cab b { color: #00A859; font-weight: 700; }
  .ya-pz { display: flex; flex-direction: column; gap: calc(8 * var(--u)); margin-right: calc(3 * var(--u)); }
  /* inicio 3, fin = ancho - 7; el bus centra en clamp(inicio + 27, avance, fin - 27) */
  .ya-pista { position: relative; height: calc(34 * var(--u)); --i: calc(3 * var(--u)); --f: calc(100% - 7 * var(--u)); --x: calc(var(--i) + (var(--f) - var(--i)) * var(--a)); }
  .ya-pista > * { position: absolute; top: 50%; }
  .ya-carril, .ya-lleno { left: 0; height: calc(6 * var(--u)); margin-top: calc(-3 * var(--u)); border-radius: 9px; }
  .ya-carril { right: 0; background: rgba(255,255,255,.16); }
  .ya-lleno { width: max(var(--x), var(--i)); background: #00A859; box-shadow: 0 0 calc(6 * var(--u)) rgba(0,168,89,.5); }
  .ya-ini { left: 0; width: calc(6 * var(--u)); height: calc(6 * var(--u)); margin-top: calc(-3 * var(--u)); border-radius: 50%; background: #fff; }
  .ya-cam { left: calc(var(--i) + (var(--f) - var(--i)) * var(--av)); width: calc(16 * var(--u)); height: calc(16 * var(--u)); margin: calc(-8 * var(--u)) 0 0 calc(-8 * var(--u));
    border-radius: 50%; background: #2A2E35; display: grid; place-items: center; transition: background .4s ease; }
  .ya-paso .ya-cam { background: #00A859; }
  .ya-cam svg { width: calc(8 * var(--u)); height: calc(8 * var(--u)); fill: #fff; }
  .ya-fin { left: var(--f); width: calc(14 * var(--u)); height: calc(14 * var(--u)); margin: calc(-7 * var(--u)) 0 0 calc(-7 * var(--u)); border-radius: 50%; background: #00A859;
    box-shadow: inset 0 0 0 calc(.5 * var(--u)) #00A859, inset 0 0 0 calc(3 * var(--u)) #fff, 0 0 0 calc(2 * var(--u)) #000, 0 0 0 calc(3 * var(--u)) rgba(0,168,89,.6); }
  .ya-bus { left: clamp(calc(var(--i) + 27 * var(--u)), var(--x), calc(var(--f) - 27 * var(--u))); width: calc(54 * var(--u)); height: calc(25.4 * var(--u));
    margin: calc(-24.21 * var(--u)) 0 0 calc(-27 * var(--u)); overflow: visible; }
  .ya-rot { display: flex; align-items: center; gap: calc(6 * var(--u)); margin-right: calc(-3 * var(--u)); color: #9BA3AF; font-size: calc(15 * var(--u)); line-height: 1.3; }
  .ya-rot svg { width: calc(12 * var(--u)); height: calc(13 * var(--u)); fill: currentColor; }
  .ya-rot span:last-child { margin-left: auto; }
  /* Hoja: cada pieza dice en qué estados vive (data-on); al cambiar, lo que sale se apaga, la hoja cambia de alto y lo nuevo entra */
  .ya-sheet [hidden] { display: none !important; }
  .ya-sheet [data-on] { transition: opacity .32s ease .12s; }
  .ya-sheet .ya-off { opacity: 0; transition-duration: .16s; transition-delay: 0s; }
  .ya-vacio { display: flex; flex-direction: column; align-items: center; padding: calc(4 * var(--u)) 0 calc(8 * var(--u)); text-align: center; }
  .ya-vacio i { width: calc(56 * var(--u)); height: calc(56 * var(--u)); margin-bottom: calc(14 * var(--u)); border-radius: calc(18 * var(--u)); display: grid; place-items: center;
    background: #fff; box-shadow: 0 0 0 1px rgba(20,39,78,.08), 0 calc(4 * var(--u)) calc(14 * var(--u)) rgba(17,24,39,.08); }
  .ya-vacio i svg { width: calc(44 * var(--u)); height: calc(44 * var(--u)); }
  .ya-vacio b { color: #0F172A; font-size: calc(18 * var(--u)); font-weight: 700; }
  .ya-vacio span { margin-top: calc(4 * var(--u)); color: #5E6B82; font-size: calc(15 * var(--u)); }
  .ya-preg { padding-top: calc(14 * var(--u)); text-align: center; }
  .ya-preg > b { display: block; color: #0F172A; font-size: calc(18 * var(--u)); font-weight: 700; }
  .ya-sel { position: relative; height: calc(96 * var(--u)); margin: calc(8 * var(--u)) calc(9 * var(--u)) calc(4 * var(--u)); overflow: hidden; }
  .ya-sel::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: calc(36 * var(--u)); margin-top: calc(-18 * var(--u)); border-radius: calc(9 * var(--u)); background: rgba(0,168,89,.1); }
  .ya-sel span { position: absolute; left: 0; right: 0; top: 50%; height: calc(30 * var(--u)); margin-top: calc(-15 * var(--u)); line-height: calc(30 * var(--u));
    color: #0F172A; font-size: calc(22 * var(--u)); font-weight: 700; font-variant-numeric: tabular-nums; will-change: transform, opacity; }
  .ya-gu { display: flex; flex-direction: column; margin-top: calc(18 * var(--u)); }
  .ya-gu b { height: calc(60 * var(--u)); border-radius: calc(30 * var(--u)); display: grid; place-items: center; background: #047857; color: #fff; font-size: calc(16 * var(--u)); font-weight: 800; }
  .ya-cmb { display: flex; justify-content: center; align-items: center; gap: calc(6 * var(--u)); min-height: calc(48 * var(--u)); padding: calc(4 * var(--u)) calc(12 * var(--u)) 0;
    color: #5E6B82; font-size: calc(13 * var(--u)); font-weight: 600; }
  .ya-cmb b { padding: calc(7 * var(--u)) calc(12 * var(--u)); border: 1px solid rgba(20,39,78,.08); border-radius: 99px; background: #F1F5F9; color: #C0392B; font-weight: 600; }
  .ya-buses, #yaSel { transition: opacity .5s ease; }
  .ya-halo { opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .4s ease; animation: yaRespira 2.4s ease-in-out infinite; }
  .ya-halo.ya-on { opacity: 1; }
  .ya-ping { opacity: 0; transform-box: fill-box; transform-origin: center; }
  .ya-halo.ya-on ~ .ya-ping { animation: yaPing 1.8s cubic-bezier(.1,.4,.3,1) infinite; }
  @keyframes yaRespira { 50% { transform: scale(1.14); } }
  @keyframes yaPing { from { transform: scale(.6); opacity: .55; } to { transform: scale(1.9); opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .ya-ping, .ya-halo { animation: none; } }
  /* El dedo que actúa la demo */
  .ya-dedo { position: absolute; z-index: 9; left: 0; top: 0; width: calc(38 * var(--u)); height: calc(38 * var(--u)); margin: calc(-19 * var(--u)) 0 0 calc(-19 * var(--u));
    border-radius: 50%; background: rgba(15,23,42,.16); box-shadow: 0 0 0 calc(1.5 * var(--u)) rgba(255,255,255,.9), 0 calc(4 * var(--u)) calc(12 * var(--u)) rgba(15,23,42,.18);
    opacity: 0; pointer-events: none; transition: opacity .22s ease, scale .14s ease, background .14s ease; }
  .ya-dedo.ya-ver { opacity: 1; }
  .ya-dedo.ya-pre { scale: .82; background: rgba(15,23,42,.3); }
  /* Mismo marco de iPhone que YaVieneWeb: la imagen va encima y la pantalla HTML cae en su hueco */
  .yv { position: relative; flex: none; width: 272px; aspect-ratio: 720 / 1469; filter: drop-shadow(0 40px 50px rgba(17,18,20,.28)); }
  .yv > img { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; pointer-events: none; }
  .yv-scr { position: absolute; left: 5.1%; top: 2.2%; width: 89.8%; height: 95.57%; border-radius: 14.4% / 6.62%; overflow: hidden; background: #eceef1; }
  .yv-scr::before { content: ''; position: absolute; z-index: 3; top: 10px; left: 50%; width: 76px; height: 22px; border-radius: 11px; background: #111214; transform: translateX(-50%); }
  .yv-vid { display: block; width: 100%; height: 100%; object-fit: cover; }
  .apps .yv-scr::before { z-index: 4; top: 3cqw; width: 30cqw; height: 8.8cqw; border-radius: 5cqw; }
  /* Pantalla de la app: tablero de un negocio con cabecera de color, todo en cqw para escalar con el teléfono */
  .apps .yv-scr { container-type: inline-size; background: #f4f2ee; }
  .da { position: absolute; inset: 0; color: #1d1c20; font-family: Inter, sans-serif; }
  .da svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .da-top { position: relative; height: 104cqw; padding: 0 6cqw; color: #fff; overflow: hidden;
    background: radial-gradient(60% 50% at 0% 8%, #f0607a 0%, transparent 70%), radial-gradient(65% 55% at 100% 0%, #8b5cf6 0%, transparent 72%),
      radial-gradient(70% 50% at 10% 75%, #f59e5b 0%, transparent 70%), radial-gradient(60% 55% at 90% 70%, #d77bd0 0%, transparent 70%), #c76aa8;
    -webkit-mask: linear-gradient(#000 88%, transparent); mask: linear-gradient(#000 88%, transparent); }
  .da-top::before { content: ''; position: absolute; left: 44%; top: 30%; width: 110cqw; height: 110cqw; border-radius: 50%; background: rgba(255,255,255,.1); }
  .da-top > * { position: relative; }
  .da-st { display: flex; justify-content: space-between; align-items: center; height: 14.8cqw; padding: 0 6cqw 0 7.5cqw; font-size: 4.2cqw; }
  .da-st span { display: flex; align-items: center; gap: 1.6cqw; }
  .da-st svg { height: 3.2cqw; fill: currentColor; stroke: none; }
  .da-st svg:nth-child(1) { width: 4.6cqw; } .da-st svg:nth-child(2) { width: 4.2cqw; } .da-st svg:nth-child(3) { width: 6.8cqw; }
  .da-st .bo { fill: none; stroke: currentColor; stroke-width: 1; opacity: .5; }
  .da-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 1cqw; }
  .da-bar b { font-family: Manrope, sans-serif; font-weight: 800; font-size: 5.6cqw; letter-spacing: -.03em; }
  .da-bar span { display: flex; justify-content: flex-end; gap: 3.5cqw; }
  .da-bar svg { width: 5.6cqw; height: 5.6cqw; }
  .da-ring { position: relative; width: 36cqw; aspect-ratio: 1; margin: 7cqw auto 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
  .da-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
  .da-ring circle { stroke-width: 3; }
  .da-tr { stroke: rgba(255,255,255,.28); }
  .da-arc { stroke: #fff; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s cubic-bezier(.65,0,.35,1) .35s; }
  .pn.on .da-arc { stroke-dashoffset: 24; }
  .da-ring strong, .da-kpi strong { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 200; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
  .da-ring strong { font-size: 13cqw; }
  .da-ring small, .da-kpi small { display: block; margin-top: 1.4cqw; font-size: 2.6cqw; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
  .da-kpi { display: grid; grid-template-columns: 1fr 1fr; margin: 6cqw 6cqw 0; text-align: center; }
  .da-kpi span + span { border-left: 1px solid rgba(255,255,255,.35); }
  .da-kpi strong { font-size: 7cqw; }
  .da-mix { position: relative; display: grid; gap: 3.2cqw; margin: -12cqw 4.5cqw 0; padding: 4.5cqw 5cqw; border-radius: 4cqw; background: #fff; box-shadow: 0 1cqw 4cqw -1cqw rgba(29,28,32,.12); }
  .da-mix span { display: grid; grid-template-columns: 19cqw 1fr 6cqw; align-items: center; gap: 3cqw; }
  .da-mix b { font-size: 3.3cqw; font-weight: 500; }
  .da-mix i { display: block; height: 1.6cqw; border-radius: 1cqw; background: #efede8; overflow: hidden; }
  .da-mix i::after { content: ''; display: block; height: 100%; border-radius: inherit; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.2,.8,.2,1) .7s; }
  .pn.on .da-mix i::after { transform: scaleX(var(--v)); }
  .da-mix small { font-size: 3.3cqw; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
  .da-day { display: flex; justify-content: space-between; align-items: center; margin: 5.5cqw 6cqw 0; color: #55545b; }
  .da-day > svg { width: 4.4cqw; height: 4.4cqw; stroke-width: 2; }
  .da-day span { display: flex; align-items: center; gap: 2cqw; font-size: 3.4cqw; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
  .da-day span svg { width: 4cqw; height: 4cqw; }
  .da-card { margin: 4.5cqw 4.5cqw 0; padding: 4.5cqw 5cqw 4cqw; border-radius: 4cqw; background: #fcfbf9; }
  .da-card > div { display: flex; justify-content: space-between; align-items: baseline; }
  .da-card b { font-family: Manrope, sans-serif; font-weight: 800; font-size: 4.4cqw; letter-spacing: -.03em; }
  .da-card em { font-style: normal; font-size: 3cqw; font-weight: 600; color: #1f9d5c; }
  .da-card svg { display: block; width: 100%; height: 16cqw; margin-top: 3cqw; overflow: visible; }
  .da-card p { display: flex; justify-content: space-between; margin-top: 2cqw; color: #9a989f; font-size: 2.6cqw; }
  .da-tab { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; align-items: center; padding: 3cqw 3cqw 9cqw; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); }
  .da-tab span { display: flex; flex-direction: column; align-items: center; gap: 1cqw; width: 15cqw; color: #b0aeb5; font-size: 2.8cqw; font-weight: 500; }
  .da-tab span.on { color: #e8364f; }
  .da-tab span svg { width: 6.2cqw; height: 6.2cqw; }
  .da-tab span:last-child svg { fill: currentColor; stroke: none; }
  .da-tab i { width: 13cqw; height: 13cqw; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #e8364f, #7b4fd6); color: #fff; box-shadow: 0 2cqw 4cqw -1cqw rgba(123,79,214,.5); }
  .da-tab i svg { width: 6cqw; height: 6cqw; stroke-width: 2.4; }
  .da-tab::after { content: ''; position: absolute; left: 50%; bottom: 2.4cqw; width: 34cqw; height: 1.3cqw; margin-left: -17cqw; border-radius: 1cqw; background: #1d1c20; }

  /* Proceso: tres tarjetas al estilo incident.io. Al subir la siguiente, la de atrás se hunde hacia el fondo sin dejar ver lo que hay detrás */
  .blk.proc { max-width: 1312px; }
  .proc > header { margin-bottom: 48px; }
  .pasos { display: grid; gap: 60px; }
  .paso { position: relative; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 32px 64px; padding: 56px; border-radius: 18px; background: #fff;
    box-shadow: 0 0 0 1px rgba(17,18,20,.05); transform-origin: 50% 0; }
  /* Cada tarjeta se queda arriba y la siguiente sube y la tapa; la de atrás no se mueve */
  .apila .paso { position: sticky; top: var(--top, 120px);
    box-shadow: 0 0 0 1px rgba(17,18,20,.05), 0 -18px 48px -30px rgba(17,18,20,.22); }
  .paso-tx { display: flex; flex-direction: column; justify-content: center; }
  .paso-tx h3 { font-family: Manrope, sans-serif; font-weight: 700; font-size: clamp(1.875rem, 2.6vw, 2.375rem); line-height: 1.1; letter-spacing: -.04em; text-wrap: balance; }
  .paso-tx p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; line-height: 1.5; letter-spacing: -.01em; text-wrap: pretty; }
  .paso-ln { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; color: #e8364f; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
  .paso-ln svg { width: 18px; height: 18px; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
  .paso-ln:hover svg { transform: translateX(4px); }
  .paso-n { order: -1; margin-bottom: 22px; font: 700 0.9375rem/1 Manrope, sans-serif; letter-spacing: .04em; color: #e8364f; user-select: none; }
  /* Cada panel es la pieza completa, de borde a borde: un correo, un cronograma y el celular */
  .how-art { position: relative; height: 540px; border-radius: 12px; overflow: hidden; isolation: isolate; background: #fff; color: #1f1f1f;
    box-shadow: 0 0 0 1px rgba(17,18,20,.07), 0 1px 2px rgba(17,18,20,.04); }

  /* 01: el correo. El cliente cuenta su idea y llega nuestra respuesta */
  .gm { display: flex; flex-direction: column; background: #f6f8fc; }
  .gm svg { fill: none; stroke: #444746; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .gm-top { display: flex; align-items: center; gap: 12px; flex: none; height: 60px; padding: 0 16px 0 22px; }
  .gm-i { width: 20px; height: 20px; }
  .gm svg.gm-logo { width: 25px; height: 19px; margin-left: 10px; stroke: none; }
  .gm-top > b { font-size: 1.125rem; font-weight: 500; letter-spacing: -.01em; color: #5f6368; }
  .gm-q { flex: 1; display: flex; align-items: center; gap: 10px; height: 40px; margin-left: 22px; padding: 0 14px; border-radius: 20px; background: #e9eef6; color: #5f6368; font-size: 0.875rem; }
  .gm-q svg { width: 18px; height: 18px; stroke: #5f6368; }
  .gm-av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #0b8043; color: #fff; font-style: normal; font-size: 0.875rem; font-weight: 600; }
  .gm-top .gm-av { width: 30px; height: 30px; background: #7b4fd6; font-size: 0.8125rem; }
  .gm .gm-yv { background: linear-gradient(135deg, #e8364f, #7b4fd6); }
  .gm .gm-yv svg { width: 18px; height: 10px; stroke: none; fill: #fff; }
  .gm-body { flex: 1; display: flex; min-height: 0; }
  .gm-rail { flex: none; width: 76px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .gm-rail span { width: 48px; height: 32px; border-radius: 16px; display: grid; place-items: center; }
  .gm-rail span svg { width: 19px; height: 19px; }
  .gm-rail .on { background: #d3e3fd; }
  .gm-rail .gm-new { width: 52px; height: 52px; margin-bottom: 12px; border-radius: 16px; background: #c2e7ff; box-shadow: 0 1px 3px rgba(17,18,20,.12); }
  .gm-rail .gm-new svg { width: 22px; height: 22px; stroke: #001d35; }
  .gm-th { flex: 1; min-width: 0; margin: 0 14px 14px 0; padding: 26px 34px; border-radius: 16px; background: #fff; overflow: hidden; }
  .gm-sub b { font-size: 1.5rem; font-weight: 400; letter-spacing: -.01em; }
  .gm-m { display: grid; grid-template-columns: 38px 1fr; gap: 14px; margin-top: 22px; }
  .gm-r { padding-top: 22px; border-top: 1px solid #eceff1; }
  .gm-de { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.9688rem; }
  .gm-de b { font-weight: 600; }
  .gm-de small { font-size: 0.75rem; color: #5f6368; }
  .gm-pa { margin-top: 1px; font-size: 0.8125rem; color: #5f6368; }
  .gm-tx { margin-top: 12px; font-size: 1rem; line-height: 1.55; text-wrap: pretty; }
  .gm-adj { display: flex; align-items: center; gap: 10px; width: 210px; margin-top: 12px; padding: 8px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px #dadce0; }
  .gm-adj i { flex: none; width: 30px; height: 30px; border-radius: 6px; display: grid; place-items: center; background: #fce8e6; }
  .gm-adj i svg { width: 17px; height: 17px; stroke: #d93025; }
  .gm-adj b { display: block; font-size: 0.7812rem; font-weight: 600; }
  .gm-adj small { display: block; font-size: 0.6875rem; color: #5f6368; }

  /* 02: el cronograma. Cada fase tiene su barra y sus fechas de entrega */
  .tl { --lc: 128px; --hd: 60px; overflow: visible; background: none; box-shadow: none; }
  /* Sin panel detrás: el cuadro crece y lo corta el borde derecho de la tarjeta */
  .paso:has(.tl) { overflow: hidden; }
  .tl { --sale: 260px; }
  .tl-g { --tw: calc((100% - var(--lc)) * 5.6 / 8); position: absolute; left: 0; right: calc(var(--sale) * -1); top: 50px; height: 440px; overflow: hidden; isolation: isolate; display: grid; grid-template-rows: var(--hd) repeat(3, 1fr); border-radius: 12px; background: #fbf8f3;
    box-shadow: 0 0 0 1px rgba(17,18,20,.09), 0 24px 48px -26px rgba(17,18,20,.28); }
  .tl-g::before { content: ''; position: absolute; z-index: -1; left: var(--lc); right: 0; top: 0; bottom: 0; background: repeating-linear-gradient(90deg, #eef0f2 0 1px, transparent 1px calc(100% / 8)); }
  .tl-hd { display: grid; grid-template-columns: var(--lc) repeat(8, 1fr); align-items: center; border-bottom: 1px solid #eef0f2; font-size: 0.8125rem; font-weight: 600; color: #2a292e; }
  .tl-hd span { text-align: center; }
  .tl-rw { display: flex; align-items: center; padding-left: 20px; border-bottom: 1px solid #f3f4f6; }
  .tl-rw:last-child { border: 0; }
  .tl-rw small { font-size: 0.6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9a9da3; }
  /* Marcas de fecha: el chip arriba y su línea fina hasta el fondo */
  .tl-ch { position: absolute; top: calc(var(--hd) + 10px); bottom: 0; left: calc(var(--lc) + var(--tw) * var(--x)); width: 1px; background: #d3d6db; }
  .tl-ch b { position: absolute; top: 0; left: 0; transform: translateX(-50%); padding: 3px 8px; border-radius: 6px; background: #eceef1; color: #5f6267; font-size: 0.7188rem; font-weight: 600; white-space: nowrap; }
  .tl-hoy { width: 2px; margin-left: -.5px; background: #e8364f; }
  .tl-hoy b { background: #e8364f; color: #fff; }
  .tl-hoy::before { content: ''; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #e8364f; }
  .tl-bar { --fila: calc((100% - var(--hd)) / 3); position: absolute; z-index: 1; height: 42px; display: flex; align-items: center; padding: 0 13px; border-radius: 10px; font-size: 0.8125rem; font-weight: 600; white-space: nowrap;
    left: calc(var(--lc) + var(--tw) * var(--a)); width: calc(var(--tw) * var(--w)); top: calc(var(--hd) + var(--fila) * var(--r) + var(--fila) / 2 - 12px);
    background: var(--bg); color: var(--tx); box-shadow: inset 0 0 0 1px var(--bd); }
  .tl-bar i { font-style: normal; overflow: hidden; text-overflow: ellipsis; }
  .tl-bar::before { content: ''; flex: none; width: 3px; height: 18px; margin-right: 9px; border-radius: 2px; background: var(--tx); opacity: .55; }
  .b1 { --bg: #fbd3dd; --bd: #f2adbf; --tx: #9b1c3a; }
  .b2 { --bg: #d2e1ff; --bd: #a9c5f7; --tx: #1b4696; }
  .b4 { --bg: #e2d7fa; --bd: #c4b0f0; --tx: #522ca8; }
  /* La barra que se está moviendo: rayada y con borde punteado, como en la referencia */
  .b3 { --tx: #7a5900; box-shadow: none; border: 1.5px dashed #e2b52b; background: repeating-linear-gradient(135deg, #fff6d6 0 6px, #ffecaa 6px 12px); }
  .tl-bar .tl-cur { position: absolute; right: -12px; bottom: -14px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #fff; fill: none; stroke: #1f1f1f; stroke-width: 1.8; stroke-linecap: round;
    box-shadow: 0 2px 6px rgba(17,18,20,.25); }
  /* La nota vive dentro del cronograma, en la fila vacía, y señala las barras de arriba */
  .tl-nota { position: absolute; z-index: 2; left: calc(var(--lc) + (100% + var(--sale) - var(--lc)) * 5.6 / 8 * .17 + 28px); top: 413px; }
  .tl-nota b { display: block; padding: 6px 14px 8px; border-radius: 10px; background: #fff; transform: rotate(-4deg); font: 600 1.4375rem/1 Caveat, cursive; color: #2a292e; white-space: nowrap;
    box-shadow: 0 0 0 1px rgba(17,18,20,.06), 0 10px 24px -10px rgba(17,18,20,.3); }
  /* La flecha sale del borde del cuadrito y sube hasta la barra de Versión de prueba */
  .tl-nota svg { position: absolute; left: calc(50% - 7px); bottom: calc(100% + 8px); width: 34px; height: 48px; fill: none; stroke: #2a292e; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

  /* 03: el celular con la app real en el centro y alrededor lo que pasa mientras la construimos y después */
  .ph { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .wb-w { position: absolute; left: 0; right: 32px; top: 24px; }
  .wb { position: relative; z-index: 1; border-radius: 14px; overflow: hidden; background: #fbf8f3; color: #1d2733;
    box-shadow: 0 0 0 1px rgba(17,18,20,.08), 0 30px 60px -24px rgba(17,18,20,.3); }
  .wb svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .wb-bar { display: flex; align-items: center; height: 40px; padding: 0 14px; background: #f1efec; border-bottom: 1px solid #e4e1dc; }
  .wb-bar span { display: flex; gap: 6px; }
  .wb-bar span i { width: 10px; height: 10px; border-radius: 50%; background: #dcd8d2; }
  .wb-bar p { display: flex; align-items: center; justify-content: center; gap: 6px; width: 260px; height: 24px; margin: 0 auto; padding-right: 40px; border-radius: 6px; background: #fff; font-size: 0.75rem; color: #5d6470; }
  .wb-bar p svg { width: 11px; height: 11px; }
  .wb-nav { display: flex; align-items: center; gap: 22px; height: 60px; padding: 0 28px; border-bottom: 1px solid #ece6dc; font-size: 0.8125rem; color: #5d6470; }
  .wb-nav b { display: flex; align-items: center; gap: 9px; margin-right: auto; font-family: Manrope, sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: -.02em; color: #1d2733; }
  .wb-nav b i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: #1d2733; color: #e2b671; }
  .wb-nav b svg { width: 16px; height: 16px; }
  .wb-nav em { padding: 7px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px #d8d0c3; font-style: normal; font-weight: 600; color: #1d2733; }
  .wb-in { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 22px 28px 61px; }
  .wb h5 { font-family: Manrope, sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; }
  .wb-lb { margin: 14px 0 9px; font-size: 0.75rem; font-weight: 600; color: #8a7f70; }
  .wb-ag .wb-lb:first-child { margin-top: 6px; }
  .wb-o { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 11px 14px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #ece6dc; }
  .wb-o span { flex: 1; }
  .wb-o b { display: block; font-size: 0.875rem; font-weight: 600; }
  .wb-o small { display: block; margin-top: 2px; font-size: 0.75rem; color: #8a7f70; }
  .wb-o em { font-style: normal; font-size: 0.8438rem; font-weight: 600; }
  .wb-o.on { box-shadow: inset 0 0 0 2px #1d2733; }
  .wb-o > i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #1d2733; color: #fff; }
  .wb-o > i svg { width: 12px; height: 12px; stroke-width: 3; }
  .wb-d { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .wb-d i { display: grid; gap: 2px; padding: 8px 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #ece6dc; text-align: center; font-style: normal; font-size: 0.6875rem; color: #8a7f70; }
  .wb-d b { font-size: 1.0625rem; color: #1d2733; }
  .wb-d .on { background: #1d2733; box-shadow: none; color: #c9cdd3; }
  .wb-d .on b { color: #fff; }
  .wb-l { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .wb-l span { padding: 9px 0; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px #ece6dc; text-align: center; font-size: 0.8125rem; font-weight: 600; }
  .wb-l .no { color: #c4bcb0; text-decoration: line-through; }
  .wb-l .on { background: #f6e7cd; box-shadow: inset 0 0 0 1.5px #c99545; color: #7a5114; }
  .wb-b { display: grid; place-items: center; height: 40px; margin-top: 14px; border-radius: 10px; background: #1d2733; color: #fff; font-size: 0.875rem; font-weight: 600; }
  /* Tarjetas alrededor del celular */
  .ph-c { position: absolute; z-index: 2; padding: 16px 18px; border-radius: 16px; background: #fff; color: #2a292e;
    box-shadow: 0 0 0 1px rgba(17,18,20,.05), 0 18px 40px -16px rgba(17,18,20,.28); }
  .ph-c > small { display: block; font-size: 0.7812rem; font-weight: 600; color: var(--muted); }
  .wb-nt { display: flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 0.7812rem; color: #5d6470; }
  .wb-nt svg { width: 16px; height: 16px; padding: 3px; border-radius: 50%; background: #25d366; color: #fff; stroke-width: 3.4; }
  .ph-pub { right: -32px; bottom: 0; translate: 0 50%; width: 292px; padding: 18px 20px; }
  .ph-pub p + p { margin-top: 10px; }
  .ph-pub p { display: flex; align-items: center; gap: 11px; margin-top: 14px; font-size: 0.9375rem; font-weight: 600; }
  .ph-pub svg { width: 20px; height: 20px; flex: none; }
  .ph-pub p:first-of-type svg { fill: none; stroke: #1d2733; stroke-width: 1.8; }
  .ph-pub em { margin-left: auto; font-style: normal; font-size: 0.8125rem; font-weight: 700; color: #13824b; }

  /* Cada pieza cuenta su paso una sola vez, cuando la tarjeta entra a la vista */
  @media (prefers-reduced-motion: no-preference) {
    .gm-m, .tl-bar, .tl-ch, .tl-nota, .wb, .ph-c, .ph-pub em { transition: opacity .6s ease, transform 1s cubic-bezier(.2,.8,.2,1), clip-path 1s cubic-bezier(.2,.8,.2,1); }
    .js .paso:not(.vio) .gm-m { opacity: 0; transform: translateY(12px); }
    .gm-m { transition-delay: .2s; } .gm-r { transition-delay: 1.1s; }
    .js .paso:not(.vio) .tl-bar:not(.b3) { clip-path: inset(0 100% 0 0 round 10px); }
    .tl-bar { clip-path: inset(0 0 0 0 round 10px); }
    .b1 { transition-delay: .2s; } .b2 { transition-delay: .45s; } .b4 { transition-delay: .7s; }
    .b3 { clip-path: none; transition-delay: .9s; transition-duration: .6s, 1.4s; }
    .js .paso:not(.vio) .b3 { opacity: 0; transform: translate(-46px, 26px) rotate(-2.5deg); }
    .js .paso:not(.vio) :is(.tl-ch, .tl-nota) { opacity: 0; }
    .js .paso:not(.vio) .tl-nota { transform: translateY(10px); }
    .tl-ch { transition-delay: .3s; } .tl-nota { transition-delay: 1.6s; }
    .js .paso:not(.vio) .wb { transform: translateY(48px); }
    .wb { transition-duration: .6s, 1.2s; }
    .js .paso:not(.vio) .ph-c { opacity: 0; transform: translateY(16px); }
      .js .paso:not(.vio) .ph-pub em { opacity: 0; transform: translateX(-6px); }
    .ph-pub p:first-of-type em { transition-delay: 1.4s; } .ph-pub p:last-of-type em { transition-delay: 1.7s; }
  }

  /* Promesas: panel oscuro casi de borde a borde, título centrado arriba y tres columnas con divisores punteados, cada una con su dibujo */
  .ppl { padding: 8px clamp(16px, 4vw, 64px) 40px; }
  .pnl { max-width: 1560px; margin: 0 auto; border-radius: 28px; overflow: hidden; color: #fff;
    background: radial-gradient(70% 50% at 50% 0%, #2b1f36, transparent 70%), #1a1420; }
  .pnl > header { text-align: center; padding: clamp(56px, 6vw, 96px) 24px clamp(40px, 4vw, 64px); }
  .pnl h2 { font: 800 clamp(2.125rem, 4.4vw, 3.75rem)/1 Manrope, sans-serif; letter-spacing: -.05em; text-wrap: balance; }
  .pnl h2 span { display: block; color: rgba(255,255,255,.5); }
  /* Divisores finos y sólidos como los de la banda bajo el hero, sin tocar los bordes del panel */
  .pcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 clamp(24px, 3vw, 48px); border-top: 1px solid rgba(255,255,255,.14); }
  .pc { position: relative; padding: 0 clamp(16px, 2.4vw, 40px) clamp(56px, 5vw, 80px); text-align: center; }
  .pc + .pc::before { content: ''; position: absolute; left: 0; top: 0; bottom: clamp(40px, 4vw, 64px); width: 1px; background: rgba(255,255,255,.14); }
  .pc h3 { font: 700 1.5rem/1.2 Manrope, sans-serif; letter-spacing: -.025em; }
  .pc h3 i { font-style: normal; color: #e8364f; }
  .pc > p { max-width: 36ch; margin: 12px auto 0; color: rgba(255,255,255,.6); font-size: 1.0625rem; line-height: 1.55; }
  /* Escenario de cada columna: rejilla de puntos que se desvanece hacia los bordes */
  .pc-art { position: relative; height: 340px; display: grid; place-items: center; margin: 0 calc(-1 * clamp(16px, 2.4vw, 40px)) 36px; }
  .pc-art::before { content: ''; position: absolute; inset: 0; background: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1.3px) 0 0 / 16px 16px;
    mask: radial-gradient(closest-side, #000 30%, transparent); -webkit-mask: radial-gradient(closest-side, #000 30%, transparent); }
  .pc-art > * { position: relative; }
  .pc-art, .pc-art * { transition-timing-function: cubic-bezier(.65,0,.35,1); }
  /* 1. Anillo de avance que se llena al entrar */
  .rg { width: 200px; height: 200px; display: grid; place-items: center; }
  .rg svg { position: absolute; inset: 0; fill: none; stroke-width: 14; stroke-linecap: round; }
  .rg-t { stroke: rgba(255,255,255,.12); stroke-dasharray: 100.66 25; }
  .rg-p { stroke: #34c759; stroke-dasharray: 0 503; transition: stroke-dasharray 1.6s .35s; }
  .pc.seen .rg-p { stroke-dasharray: 362 503; }
  .rg p { color: rgba(255,255,255,.6); font-size: 0.875rem; }
  .rg b { display: block; margin-bottom: 4px; color: #fff; font: 800 2.75rem/1 Manrope, sans-serif; letter-spacing: -.04em; }
  .rg small { margin-left: 2px; font-size: 1rem; color: rgba(255,255,255,.6); }
  /* 2. Ficha del diseño, colgada de un hilo como en la referencia */
  .hc { width: min(320px, 100%); padding: 6px 16px; border-radius: 14px; background: #221b29; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 50px -20px rgba(0,0,0,.6); text-align: left; font-size: 0.9375rem; }
  .hc p { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; color: rgba(255,255,255,.5); }
  .hc p + p { border-top: 1px solid rgba(255,255,255,.07); }
  .hc .hc-t { justify-content: flex-start; gap: 10px; color: #fff; font-weight: 600; }
  .hc-t i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #0b8043; font: normal 600 0.75rem Inter, sans-serif; }
  .hc b { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
  .hc em { width: 12px; height: 12px; border-radius: 4px; background: linear-gradient(135deg, #0b8043 50%, #e8364f 50%); }
  .hc p:not(.hc-t) { opacity: 0; transform: translateY(6px); transition: opacity .6s, transform .6s; }
  .pc.seen .hc p:not(.hc-t) { opacity: 1; transform: none; }
  .pc.seen .hc p:nth-child(2) { transition-delay: .4s; } .pc.seen .hc p:nth-child(3) { transition-delay: .55s; } .pc.seen .hc p:nth-child(4) { transition-delay: .7s; }
  /* 3. Órbita: el cliente en el centro y lo que es suyo alrededor */
  .orb { width: 260px; height: 260px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); }
  .orb::before { content: ''; position: absolute; inset: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
  .orb-c { width: 96px; height: 96px; border-radius: 26px; display: grid; place-items: center; background: #0f0b13; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 0 0 8px rgba(255,255,255,.03); }
  .orb-c i { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #0b8043; font: normal 700 1.375rem Manrope, sans-serif; }
  .orb > i { position: absolute; left: calc(50% - 22px); top: calc(50% - 22px); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #2a2231; box-shadow: 0 0 0 1px rgba(255,255,255,.08);
    transform: rotate(calc(var(--a) + var(--spin, 0deg))) translateX(130px) rotate(calc(-1 * (var(--a) + var(--spin, 0deg)))); opacity: 0; transition: opacity .7s calc(.4s + var(--k) * .12s); }
  .pc.seen .orb > i { opacity: 1; }
  .orb svg { width: 20px; height: 20px; fill: none; stroke: rgba(255,255,255,.75); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  @media (prefers-reduced-motion: reduce) { .rg-p, .hc p, .orb > i { transition: none !important; } }

  /* Con qué construimos: retícula de líneas finas al estilo Profound, etiquetas en mono y cruces en las esquinas */
  .stk { padding-bottom: 8px; }
  .stk-hd { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; }
  .mono { font: 600 0.75rem/1.6 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .tools { position: relative; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .tools li { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 16px 18px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s ease; }
  .tools li:hover { background: rgba(255,255,255,.7); }
  .tools small { font: 600 0.6875rem/1.6 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .tools b { font-family: Manrope, sans-serif; font-weight: 700; font-size: 1.25rem; letter-spacing: -.03em; white-space: nowrap; }
  .tools::before, .tools::after { content: '+'; position: absolute; top: -12px; left: -6px; font: 300 1rem/1 ui-monospace, Menlo, monospace; color: var(--muted); }
  .tools::after { top: auto; left: auto; bottom: -11px; right: -5px; }

  /* Preguntas (Pangram): columna fija a la izquierda y tarjetas que abren suave a la derecha */
  .faq-grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
  .faq-grid > header { position: sticky; top: 112px; }
  .faq-grid > header p { margin-top: 16px; color: var(--muted); font-size: 1.0625rem; line-height: 1.5; max-width: 34ch; }
  .faq-grid > header .btn { margin-top: 26px; }
  .qs { display: grid; gap: 16px; interpolate-size: allow-keywords; }
  .qs details { border-radius: 16px; background: rgba(17,18,20,.045); transition: background .4s ease; }
  .qs details:hover { background: rgba(17,18,20,.065); }
  .qs summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 20px; column-gap: 24px; align-items: start; padding: 26px 30px; cursor: pointer; transition: padding-bottom .55s cubic-bezier(.2,.8,.2,1); }
  .qs details[open] summary { padding-bottom: 12px; }
  .qs summary::-webkit-details-marker { display: none; }
  .qs .q { font-weight: 600; font-size: 1.1875rem; line-height: 28px; letter-spacing: -.01em; color: var(--ink); }
  /* Chevron que gira suave al abrir */
  .qs .pm { position: relative; width: 20px; height: 28px; }
  .qs .pm::before { content: ''; position: absolute; left: 5px; top: 8px; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); border-radius: 0 0 2px 0; transform: rotate(45deg); transition: transform .5s cubic-bezier(.2,.8,.2,1), top .5s cubic-bezier(.2,.8,.2,1); }
  .qs details[open] .pm::before { top: 12px; transform: rotate(-135deg); }
  .qs details p { padding: 0 74px 26px 30px; font-size: 1.0625rem; line-height: 28px; color: #6b6e72; }
  .qs details::details-content { block-size: 0; overflow: clip; opacity: 0;
    transition: block-size .55s cubic-bezier(.2,.8,.2,1), opacity .45s ease, content-visibility .55s allow-discrete; }
  .qs details[open]::details-content { block-size: auto; opacity: 1; }

  /* Cierre y pie: el mismo cielo del hero, azul arriba detrás del titular y aclarándose hacia el pie; el borde de arriba se funde con la página */
  .fin { position: relative; overflow: hidden; isolation: isolate; color: var(--ink);
    background: linear-gradient(var(--page) 0%, #dce8f8 9%, #b4cff6 22%, #c4dbf8 36%, #e3edfa 56%, var(--page) 82%); }
  .fin .clouds { z-index: -1; -webkit-mask-image: linear-gradient(transparent 4%, #000 18%, #000 32%, rgba(0,0,0,.4) 48%, transparent 66%); mask-image: linear-gradient(transparent 4%, #000 18%, #000 32%, rgba(0,0,0,.4) 48%, transparent 66%); }
  .cierre { max-width: 1180px; margin: 0 auto; padding: 280px 16px 0; text-align: center; }
  .cierre h2 { font-family: Manrope, sans-serif; font-weight: 700; font-size: clamp(2.75rem, 5.4vw, 5rem); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
  .cierre > p { margin: 14px auto 0; max-width: 34ch; font-size: 1.1875rem; font-weight: 600; line-height: 1.45; color: #5d6066; }
  .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
  .fin .btn.ghost { background: rgba(255,255,255,.7); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
  .fin .btn.ghost:hover { background: #fff; }
  .fin form { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px; max-width: 760px; margin: 72px auto 0; padding: 12px; text-align: left;
    border-radius: 16px; background: rgba(255,255,255,.5); box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px -30px rgba(17,18,20,.25); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); }
  .fin label { display: grid; gap: 6px; padding: 12px 14px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px rgba(17,18,20,.08); font-size: 0.8125rem; font-weight: 600; color: #5d6066; transition: box-shadow .2s; }
  .fin label:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .fin input, .fin textarea { width: 100%; padding: 0; border: 0; background: none; color: var(--ink); font: 1rem/1.45 Inter, system-ui, sans-serif; resize: none; outline: none; }
  .fin textarea { max-height: 9em; overflow-y: auto; }
  .fin .btn:disabled { opacity: .6; cursor: default; }
  .fin input::placeholder, .fin textarea::placeholder { color: #8a8d93; }
  .fin form .row { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 4px 4px 14px; }
  .fin form small { font-size: 0.875rem; color: #5d6066; }
  footer { max-width: 1180px; margin: 140px auto 0; padding: 72px 16px 48px; background: linear-gradient(var(--line), var(--line)) 16px 0 / calc(100% - 32px) 1px no-repeat; display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 200px); gap: 32px; font-size: 1rem; }
  footer .brand { align-self: start; margin: 0; padding: 0; }
  footer .brand svg { width: 36px; height: 19px; } footer .brand span { font-size: 1.125rem; }
  footer .legal { grid-column: 1; align-self: end; font-size: 0.8125rem; line-height: 1.6; color: rgba(17,18,20,.6); }
  footer .legal a { text-decoration: underline; text-underline-offset: 3px; }
  footer h3 { justify-self: start; font-size: 0.875rem; font-weight: 600; margin-bottom: 12px;
    background: linear-gradient(90deg, #ff3b30, #ff8a00 35%, #2f6bff 65%, #ff3b30) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 9s linear infinite; }
  footer div { display: grid; align-content: start; }
  footer ul { display: grid; gap: 6px; list-style: none; padding: 0; margin: 0; }
  footer ul a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; transition: opacity .2s, transform .5s cubic-bezier(.2,.8,.2,1); }
  footer ul a:hover { opacity: .75; transform: translateX(2px); }

  @media (max-width: 960px) {
    .case-grid { grid-template-columns: 1fr; gap: 40px; }
    .case-txt { padding-right: 0; }
    .pasos { gap: 24px; }
    .paso { grid-template-columns: 1fr; padding: 10px; gap: 20px; }
    .paso-tx { padding: 22px 12px 0; }
    .tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .faq-grid { grid-template-columns: 1fr; }
    .faq-grid > header { position: static; }
  }
  @media (max-width: 760px) {
    .qs summary { padding: 22px 22px; column-gap: 16px; }
    .qs details[open] summary { padding-bottom: 10px; }
    .qs .q { font-size: 1.0625rem; line-height: 26px; }
    .qs .pm { height: 26px; }
    .qs details p { padding: 0 22px 22px; font-size: 1rem; line-height: 26px; }
    .cierre { padding-top: 190px; }
    .fin form { grid-template-columns: 1fr; margin-top: 56px; }
    .fin form .row { flex-direction: column; align-items: stretch; padding: 4px; }
    .fin form .btn { justify-content: center; }
    footer { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 88px; padding-top: 56px; }
    footer .brand { grid-column: 1 / -1; }
    footer .legal { grid-column: 1 / -1; order: 9; }
  }
  @media (max-width: 600px) {
    .facts { flex-direction: column; gap: 0; }
    .facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
    .facts dd { margin: 0; font-size: 1.125rem; text-align: right; }
    .case-media { aspect-ratio: 600 / 720; }
    .how-art { aspect-ratio: auto; height: 400px; }
    .gm { height: 420px; }
    .gm-rail, .gm-q, .gm-top > b { display: none; }
    .gm-top { justify-content: space-between; padding: 0 16px; }
    .gm-th { margin: 0 10px 10px; padding: 18px; }
    .gm-sub b { font-size: 1.125rem; }
    .gm-tx { font-size: 0.8438rem; }
    .tl { --lc: 0px; --hd: 44px; }
    .tl { height: 360px; --sale: 140px; }
    .tl-g { top: 0; height: 360px; }
    .tl-ult b { transform: translateX(calc(-100% + 1px)); }
    .tl-rw small { display: none; }
    .tl-hd { grid-template-columns: 0 repeat(8, 1fr); font-size: 0.7188rem; }
    .tl-bar { height: 36px; padding: 0 9px; font-size: 0.7188rem; }
    .tl-bar::before { display: none; }
    .tl-nota { left: calc((100% + var(--sale)) * 5.6 / 8 * .17 + 12px); top: 300px; }
    .tl-nota svg { left: calc(50% - 6px); bottom: calc(100% + 6px); width: 28px; height: 40px; }
    .tl-nota b { font-size: 1.125rem; }
    .ph { height: auto; overflow: visible; }
    .wb-w { position: relative; right: auto; top: auto; margin-bottom: 64px; }
    .wb-bar p { width: auto; padding: 0 10px; margin-right: 0; }
    .wb-nav { height: 52px; padding: 0 16px; }
    .wb-nav span, .wb-nav em, .wb-sv, .wb-b { display: none; }
    .wb-in { display: block; padding: 16px 16px 66px; }
    .ph-pub { right: 10px; width: 250px; padding: 14px 16px; }
    .ph-pub p { white-space: nowrap; font-size: 0.875rem; }
    .paso-tx p { font-size: 1.0625rem; }
    .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ppl { padding-inline: 12px; }
    .pnl { border-radius: 24px; }
    .pcs { grid-template-columns: 1fr; }
    .pc + .pc::before { inset: 0 0 auto; width: auto; height: 1px; }
    .pc-art { height: 290px; margin-bottom: 24px; }
  }
  /* Press instantáneo en pointer-down, no al soltar (§1): escala sola, sin pisar el transform inline de los botones magnéticos */
  .btn:active, nav .links a:active, .flag:active { scale: .96; }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }
