/* ==========================================================================
   HuellaSafe — Pictogramas v0.2
   Fuente de verdad: especificación de diseño «pictogramas»
   --------------------------------------------------------------------------
   Para cambiar la marca, edita SOLO los 3 tokens de :root.
   Todos los demás tonos se calculan a partir de ellos.
   ========================================================================== */

:root {
  --hs-accent: var(--hs-naranja); /* acento: naranja en los dos modos */
  --hs-ink: var(--text);        /* tinta: color del texto (marino / crema) */
  --hs-paper: var(--bg);        /* fondo */
  --hs-ease: cubic-bezier(.65, 0, .35, 1);
}

.picto {
  --hs-deep: color-mix(in oklab, var(--hs-accent) 58%, var(--hs-ink));
  --hs-tile: color-mix(in oklab, var(--hs-accent) 7%, var(--hs-paper));
  display: block;
  flex-shrink: 0;
}

/* ---------- Piezas (no usar colores sueltos dentro de los SVG) ---------- */
.picto .p-tile        { fill: var(--hs-tile); }
.picto .p-solid       { fill: var(--hs-accent); }
.picto .p-deep        { fill: var(--hs-deep); }
.picto .p-glass       { fill: var(--hs-accent); fill-opacity: .32; }
.picto .p-glass2      { fill: var(--hs-accent); fill-opacity: .58; }
.picto .p-line        { fill: none; stroke: var(--hs-deep); stroke-width: 1.4; }
.picto .p-line-soft   { fill: none; stroke: var(--hs-deep); stroke-width: 1.2; stroke-opacity: .38; }
.picto .p-line-tile   { fill: none; stroke: var(--hs-tile); stroke-width: 1.6; }
.picto .p-line-tile-b { fill: none; stroke: var(--hs-tile); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.picto .p-ring        { fill: none; stroke: var(--hs-accent); stroke-width: 1.4; }
.picto .p-check       { fill: none; stroke: var(--hs-tile); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.picto .p-point       { fill: var(--hs-deep); stroke: var(--hs-tile); stroke-width: 1.6; }
.picto .p-dash        { stroke-dasharray: 3 3; }
.picto .p-dash-fine   { stroke-dasharray: 2.5 3; }
.picto .p-stroke      { fill: none; stroke: var(--hs-accent); stroke-width: 3; stroke-linecap: round; } /* minis de Alias */

/* ---------- Geometría de movimiento (siempre presente, inofensiva) ---------- */
.picto .m-sway   { transform-box: view-box; transform-origin: 70px 80px; }
.picto .m-sweep  { transform-box: view-box; transform-origin: 60px 96px; }
.picto .m-ripple { transform-box: view-box; opacity: 0; } /* origen inline en cada elemento */
.picto .m-pop, .picto .m-pulse, .picto .m-spin, .picto .m-seal, .picto .m-dot
                 { transform-box: fill-box; transform-origin: 50% 50%; }
.picto .m-grow   { transform-box: fill-box; transform-origin: 0% 50%; }
.picto .m-growY  { transform-box: fill-box; transform-origin: 50% 100%; }
.picto .m-draw   { stroke-dasharray: 40; }
.picto .m-pendulum { transform-box: view-box; transform-origin: 84px -4px; } /* En la mira */
.picto .m-badge  { transform-box: view-box; transform-origin: 60px -4px; } /* Beneficio */
.picto .m-tick   { transform-box: view-box; transform-origin: 24px 27px; } /* Mini tiempo */
.picto .m-erase  { transform-box: fill-box; transform-origin: 100% 50%; } /* Solicitud de eliminación */
.picto .m-stamp  { transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; } /* en reposo: solicitud pendiente, sin sello */
.picto .m-shield { stroke-dasharray: 1; stroke-dashoffset: 1; } /* Protégete · en reposo: sin escudo */
.picto .m-code   { transform-box: fill-box; transform-origin: 50% 50%; } /* Dos pasos y Gestor (Guías, 20-nov-2026) */

/* ==========================================================================
   MODO 1 · data-motion="loop"  → en producto, durante esperas y estados
   ========================================================================== */
.picto[data-motion="loop"] .m-sway   { animation: hs-sway 6s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-pop    { animation: hs-pop 6s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-pulse  { animation: hs-pulse 3s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-float  { animation: hs-float 6s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-grow   { animation: hs-grow 6s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-leak   { animation: hs-leak 6s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-draw   { animation: hs-draw 6s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-sweep  { animation: hs-sweep 6s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-spin   { animation: hs-spin 16s linear infinite; }
.picto[data-motion="loop"] .m-seal   { animation: hs-seal 6s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-ripple { animation: hs-ripple 6s ease-out var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-drift1 { animation: hs-drift1 6s var(--hs-ease) infinite; }
.picto[data-motion="loop"] .m-drift2 { animation: hs-drift2 6s var(--hs-ease) infinite; }
.picto[data-motion="loop"] .m-drift3 { animation: hs-drift3 6s var(--hs-ease) infinite; }
.picto[data-motion="loop"] .m-wave   { animation: hs-wave 4s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-wave2  { animation: hs-wave2 4s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-mark   { animation: hs-mark 6s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-rise   { animation: hs-rise 6s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-drop   { animation: hs-drop 6s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-mimic  { animation: hs-mimic 6s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-march  { animation: hs-march 1.2s linear infinite; }
.picto[data-motion="loop"] .m-growY  { animation: hs-growY 6s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-fade   { animation: hs-fade 6s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-dot    { animation: hs-dot 6s var(--hs-ease) var(--d, 0s) infinite; }
/* En la mira · péndulo que rompe */
.picto[data-motion="loop"] .m-pendulum { animation: hs-pendulum-play 4s linear infinite; }
.picto[data-motion="loop"] .m-shardA   { animation: hs-shardA-play 4s var(--hs-ease) infinite; }
.picto[data-motion="loop"] .m-shardB   { animation: hs-shardB-play 4s var(--hs-ease) infinite; }
.picto[data-motion="loop"] .m-shardC   { animation: hs-shardC-play 4s var(--hs-ease) infinite; }
/* Empresas y minis de Alias */
.picto[data-motion="loop"] .m-badge  { animation: hs-badge-play 4s var(--hs-ease) infinite; }
.picto[data-motion="loop"] .m-push   { animation: hs-push-play 4s var(--hs-ease) infinite; }
.picto[data-motion="loop"] .m-toggle { animation: hs-toggle-play 4s var(--hs-ease) infinite; }
.picto[data-motion="loop"] .m-dim    { animation: hs-dim-play 4s var(--hs-ease) infinite; }
/* Minis del hero */
.picto[data-motion="loop"] .m-tick   { animation: hs-tick-play 4s var(--hs-ease) infinite; }
.picto[data-motion="loop"] .m-blink  { animation: hs-blink-play 4s linear infinite; }
/* Área privada: solicitud de eliminación y data brokers */
.picto[data-motion="loop"] .m-erase  { animation: hs-erase-play 4s var(--hs-ease) infinite; }
.picto[data-motion="loop"] .m-stamp  { animation: hs-stamp-play 4s var(--hs-ease) infinite; }
.picto[data-motion="loop"] .m-pack   { animation: hs-pack-play 4s var(--hs-ease) var(--d, 0s) infinite; }
/* Protégete */
.picto[data-motion="loop"] .m-shield { animation: hs-shield-play 4s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-repel  { animation: hs-repel-play 4s var(--hs-ease) infinite; }
/* Guías: Dos pasos y Gestor (casillas / puntos de la clave) y VPN (cápsula) */
.picto[data-motion="loop"] .m-code   { animation: hs-code-play 2.4s var(--hs-ease) var(--d, 0s) infinite; }
.picto[data-motion="loop"] .m-run    { animation: hs-run-play 2.4s var(--hs-ease) infinite; }

@keyframes hs-sway   { 0%,100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
@keyframes hs-pop    { 0%,60%,100% { transform: scale(1); } 68% { transform: scale(1.6); } 78% { transform: scale(1); } }
@keyframes hs-pulse  { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }
@keyframes hs-float  { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-4px,-5px); } }
@keyframes hs-grow   { 0%,8% { transform: scaleX(0); } 35%,85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes hs-leak   { 0%,12% { transform: translateX(-30px); } 42%,78% { transform: translateX(0); } 96%,100% { transform: translateX(-30px); } }
@keyframes hs-draw   { 0%,15% { stroke-dashoffset: 40; } 45%,85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 40; } }
@keyframes hs-sweep  { 0%,100% { transform: rotate(-55deg); } 50% { transform: rotate(55deg); } }
@keyframes hs-spin   { to { transform: rotate(360deg); } }
@keyframes hs-seal   { 0%,12% { transform: scale(.4); opacity: 0; } 32%,85% { transform: scale(1); opacity: 1; } 100% { transform: scale(.4); opacity: 0; } }
@keyframes hs-ripple { 0% { transform: scale(.82); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.18); opacity: 0; } }
@keyframes hs-drift1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(5px,3px); } }
@keyframes hs-drift2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-5px,4px); } }
@keyframes hs-drift3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-2px,-6px); } }
@keyframes hs-wave   { 0%,100% { fill-opacity: .32; } 18% { fill-opacity: .85; } 40% { fill-opacity: .32; } }
@keyframes hs-wave2  { 0%,100% { fill-opacity: .58; } 18% { fill-opacity: 1; } 40% { fill-opacity: .58; } }
@keyframes hs-mark   { 0%,12% { transform: translateY(-32px); } 38%,85% { transform: translateY(0); } 100% { transform: translateY(-32px); } }
@keyframes hs-rise   { 0%,8% { transform: translateY(44px); } 36%,88% { transform: translateY(0); } 100% { transform: translateY(44px); } }
@keyframes hs-drop   { 0%,36% { transform: translateY(-24px); opacity: 0; } 52%,86% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes hs-mimic  { 0%,12% { transform: translate(0,0); } 42%,78% { transform: translate(-18px,16px); } 96%,100% { transform: translate(0,0); } }
@keyframes hs-march  { to { stroke-dashoffset: -12; } }
@keyframes hs-growY  { 0%,8% { transform: scaleY(.15); } 38%,85% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
@keyframes hs-fade   { 0%,10% { opacity: 1; transform: translateY(0); } 40%,82% { opacity: 0; transform: translateY(-10px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes hs-dot    { 0%,22% { transform: scale(0); } 42%,85% { transform: scale(1); } 100% { transform: scale(0); } }

/* ==========================================================================
   MODO 2 · data-motion="once"  → en la landing: se anima una vez al
   entrar en pantalla (js/pictos.js agrega .is-visible) y queda quieto.
   Las piezas sin versión "once" simplemente no se mueven en este modo.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Estado inicial, solo si el JS está activo (html.pictos-ready) */
  .pictos-ready .picto[data-motion="once"]:not(.is-visible) .m-sway  { transform: rotate(-9deg); }
  .pictos-ready .picto[data-motion="once"]:not(.is-visible) .m-pop   { transform: scale(0); }
  .pictos-ready .picto[data-motion="once"]:not(.is-visible) .m-float { transform: translate(6px,8px); }
  .pictos-ready .picto[data-motion="once"]:not(.is-visible) .m-grow  { transform: scaleX(0); }
  .pictos-ready .picto[data-motion="once"]:not(.is-visible) .m-leak  { transform: translateX(-30px); }
  .pictos-ready .picto[data-motion="once"]:not(.is-visible) .m-draw  { stroke-dashoffset: 40; }
  .pictos-ready .picto[data-motion="once"]:not(.is-visible) .m-sweep { transform: rotate(-55deg); }
  .pictos-ready .picto[data-motion="once"]:not(.is-visible) .m-seal  { transform: scale(.4); opacity: 0; }
  .pictos-ready .picto[data-motion="once"]:not(.is-visible) .m-mark  { transform: translateY(-32px); }
  .pictos-ready .picto[data-motion="once"]:not(.is-visible) .m-rise  { transform: translateY(44px); }
  .pictos-ready .picto[data-motion="once"]:not(.is-visible) .m-drop  { transform: translateY(-24px); opacity: 0; }
  .pictos-ready .picto[data-motion="once"]:not(.is-visible) .m-growY { transform: scaleY(.15); }
  .pictos-ready .picto[data-motion="once"]:not(.is-visible) .m-dot   { transform: scale(0); }

  .picto[data-motion="once"].is-visible:not(.is-done) .m-sway  { animation: hs-sway-in  1.1s var(--hs-ease) var(--d, 0s) both; }
  .picto[data-motion="once"].is-visible:not(.is-done) .m-pop   { animation: hs-pop-in   .6s  var(--hs-ease) var(--d, 0s) both; }
  .picto[data-motion="once"].is-visible:not(.is-done) .m-float { animation: hs-float-in .9s  var(--hs-ease) var(--d, 0s) both; }
  .picto[data-motion="once"].is-visible:not(.is-done) .m-grow  { animation: hs-grow-in  .8s  var(--hs-ease) var(--d, 0s) both; }
  .picto[data-motion="once"].is-visible:not(.is-done) .m-leak  { animation: hs-leak-in  1s   var(--hs-ease) var(--d, 0s) both; }
  .picto[data-motion="once"].is-visible:not(.is-done) .m-draw  { animation: hs-draw-in  .8s  var(--hs-ease) var(--d, 0s) both; }
  .picto[data-motion="once"].is-visible:not(.is-done) .m-sweep { animation: hs-sweep-in 1.2s var(--hs-ease) var(--d, 0s) both; }
  .picto[data-motion="once"].is-visible:not(.is-done) .m-seal  { animation: hs-seal-in  .7s  var(--hs-ease) var(--d, 0s) both; }
  .picto[data-motion="once"].is-visible:not(.is-done) .m-mark  { animation: hs-mark-in  .8s  var(--hs-ease) var(--d, 0s) both; }
  .picto[data-motion="once"].is-visible:not(.is-done) .m-rise  { animation: hs-rise-in  1s   var(--hs-ease) var(--d, 0s) both; }
  .picto[data-motion="once"].is-visible:not(.is-done) .m-drop  { animation: hs-drop-in  .7s  var(--hs-ease) var(--d, 0s) both; }
  .picto[data-motion="once"].is-visible:not(.is-done) .m-mimic { animation: hs-mimic-in 1.6s var(--hs-ease) var(--d, 0s) both; }
  .picto[data-motion="once"].is-visible:not(.is-done) .m-growY { animation: hs-growY-in .9s  var(--hs-ease) var(--d, 0s) both; }
  .picto[data-motion="once"].is-visible:not(.is-done) .m-dot   { animation: hs-dot-in   .4s  var(--hs-ease) var(--d, 0s) both; }
  /* Solicitud de eliminación */
  .picto[data-motion="once"].is-visible:not(.is-done) .m-erase { animation: hs-erase-play 2.4s var(--hs-ease) both; }
  .picto[data-motion="once"].is-visible:not(.is-done) .m-stamp { animation: hs-stamp-play 2.4s var(--hs-ease) both; }
  .picto[data-motion="once"].is-visible:not(.is-done) .m-spin  { animation: hs-spin 2.4s linear both; }
  /* Protégete */
  .picto[data-motion="once"].is-visible:not(.is-done) .m-shield { animation: hs-shield-play 2.4s var(--hs-ease) var(--d, 0s) both; }
  .picto[data-motion="once"].is-visible:not(.is-done) .m-repel  { animation: hs-repel-play 2.4s var(--hs-ease) both; }
  .picto[data-motion="once"].is-visible:not(.is-done) .m-code   { animation: hs-code-play 2.4s var(--hs-ease) var(--d, 0s) both; }
  .picto[data-motion="once"].is-visible:not(.is-done) .m-run    { animation: hs-run-play 2.4s var(--hs-ease) both; }
}

@keyframes hs-sway-in  { from { transform: rotate(-9deg); } to { transform: rotate(0); } }
@keyframes hs-pop-in   { 0% { transform: scale(0); } 70% { transform: scale(1.4); } 100% { transform: scale(1); } }
@keyframes hs-float-in { from { transform: translate(6px,8px); } to { transform: translate(0,0); } }
@keyframes hs-grow-in  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hs-leak-in  { from { transform: translateX(-30px); } to { transform: translateX(0); } }
@keyframes hs-draw-in  { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
@keyframes hs-sweep-in { from { transform: rotate(-55deg); } to { transform: rotate(0); } }
@keyframes hs-seal-in  { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes hs-mark-in  { from { transform: translateY(-32px); } to { transform: translateY(0); } }
@keyframes hs-rise-in  { from { transform: translateY(44px); } to { transform: translateY(0); } }
@keyframes hs-drop-in  { from { transform: translateY(-24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes hs-mimic-in { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-18px,16px); } }
@keyframes hs-growY-in { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
@keyframes hs-dot-in   { from { transform: scale(0); } to { transform: scale(1); } }

/* ---------- Interruptor de estado del alias (especificación de diseño «alias-tarjetas») ----------
   Derivado de mini-apagar.svg. El estado lo da la clase .is-off del botón que
   lo contiene, nunca atributos del SVG. */
.picto-switch .k-pill { transition: fill-opacity .45s var(--hs-ease); }
.picto-switch .k-knob { transition: transform .45s var(--hs-ease); }
.is-off .picto-switch .k-pill { fill-opacity: .16; }
.is-off .picto-switch .k-knob { transform: translateX(-16px); }

/* ---------- Modo oscuro: html.dark (js/theme-init.js / js/theme.js) ----------
   El pictograma se ve igual que en claro (pedido del usuario, 10-nov): loseta
   crema, tinta marino y acento naranja. Sobre una loseta oscura el naranja se
   apagaba; la página sigue oscura alrededor. */
html.dark .picto {
  --hs-ink: var(--hs-marino);
  --hs-paper: var(--hs-crema);
  --hs-tile: color-mix(in oklab, var(--hs-accent) 7%, var(--hs-paper));
}

/* ==========================================================================
   MODO 3 · paso del cursor  → js/pictos.js agrega .is-playing al pictograma
   cuando el cursor (o un toque) entra a un contenedor [data-picto-hover].
   Se reproduce UNA vez completa (2,4 s) aunque el cursor ya haya salido,
   y termina en su estado quieto. Reemplaza al antiguo modo :hover.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .picto.is-playing .m-sway   { animation: hs-sway-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-pop    { animation: hs-pop-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-pulse  { animation: hs-pulse-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-float  { animation: hs-float-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-grow   { animation: hs-grow-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-leak   { animation: hs-leak-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-draw   { animation: hs-draw-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-sweep  { animation: hs-sweep-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-spin   { animation: hs-spin-play 2.4s linear max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-seal   { animation: hs-seal-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-ripple { animation: hs-ripple-play 2.4s ease-out max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-drift1 { animation: hs-drift1-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-drift2 { animation: hs-drift2-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-drift3 { animation: hs-drift3-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-wave   { animation: hs-wave-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-wave2  { animation: hs-wave2-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-mark   { animation: hs-mark-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-rise   { animation: hs-rise-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-drop   { animation: hs-drop-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-mimic  { animation: hs-mimic-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-march  { animation: hs-march-play 2.4s linear max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-growY  { animation: hs-growY-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-fade   { animation: hs-fade-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-dot    { animation: hs-dot-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  /* En la mira · péndulo que rompe */
  .picto.is-playing .m-pendulum { animation: hs-pendulum-play 2.4s linear 1 both; }
  .picto.is-playing .m-shardA   { animation: hs-shardA-play 2.4s var(--hs-ease) 1 both; }
  .picto.is-playing .m-shardB   { animation: hs-shardB-play 2.4s var(--hs-ease) 1 both; }
  .picto.is-playing .m-shardC   { animation: hs-shardC-play 2.4s var(--hs-ease) 1 both; }
  /* Empresas y minis de Alias */
  .picto.is-playing .m-badge  { animation: hs-badge-play 2.4s var(--hs-ease) 1 both; }
  .picto.is-playing .m-push   { animation: hs-push-play 2.4s var(--hs-ease) 1 both; }
  .picto.is-playing .m-toggle { animation: hs-toggle-play 2.4s var(--hs-ease) 1 both; }
  .picto.is-playing .m-dim    { animation: hs-dim-play 2.4s var(--hs-ease) 1 both; }
  /* Minis del hero */
  .picto.is-playing .m-tick   { animation: hs-tick-play 2.4s var(--hs-ease) 1 both; }
  .picto.is-playing .m-blink  { animation: hs-blink-play 2.4s linear 1 both; }
  /* Área privada: solicitud de eliminación y data brokers */
  .picto.is-playing .m-erase  { animation: hs-erase-play 2.4s var(--hs-ease) 1 both; }
  .picto.is-playing .m-stamp  { animation: hs-stamp-play 2.4s var(--hs-ease) 1 both; }
  .picto.is-playing .m-pack   { animation: hs-pack-play 2.4s var(--hs-ease) var(--d, 0s) 1 both; }
  /* Protégete. El m-march va acotado con :has(.m-shield): el paquete lo traía
     como `.picto.is-playing .m-march`, que reemplazaba el gesto de todos los
     pictogramas con m-march (mini-amenaza, mini-envio). */
  .picto.is-playing .m-shield { animation: hs-shield-play 2.4s var(--hs-ease) var(--d, 0s) 1 both; }
  .picto.is-playing .m-repel  { animation: hs-repel-play 2.4s var(--hs-ease) 1 both; }
  .picto.is-playing:has(.m-shield) .m-march { animation: hs-march 1.2s linear 2; }
  /* Guías (20-nov-2026): Dos pasos y Gestor · las casillas del código (o los
     puntos de la clave activa) desaparecen y vuelven una tras otra. VPN · la
     línea del canal avanza (m-march) y la cápsula se desplaza por él. */
  .picto.is-playing .m-code   { animation: hs-code-play 2.4s var(--hs-ease) max(0s, var(--d, 0s)) 1 both; }
  .picto.is-playing .m-run    { animation: hs-run-play 2.4s var(--hs-ease) 1 both; }
}

@keyframes hs-sway-play   { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-9deg); } 70% { transform: rotate(9deg); } }
@keyframes hs-pop-play    { 0%,40%,100% { transform: scale(1); } 60% { transform: scale(1.6); } 75% { transform: scale(1); } }
@keyframes hs-pulse-play  { 0%,100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes hs-float-play  { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-4px,-5px); } }
@keyframes hs-grow-play   { 0% { transform: scaleX(1); } 20% { transform: scaleX(0); } 65%,100% { transform: scaleX(1); } }
@keyframes hs-leak-play   { 0% { transform: translateX(0); } 30% { transform: translateX(-30px); } 75%,100% { transform: translateX(0); } }
@keyframes hs-draw-play   { 0% { stroke-dashoffset: 0; } 25% { stroke-dashoffset: 40; } 70%,100% { stroke-dashoffset: 0; } }
@keyframes hs-sweep-play  { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-55deg); } 70% { transform: rotate(55deg); } }
@keyframes hs-spin-play   { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes hs-seal-play   { 0% { transform: scale(1); opacity: 1; } 20% { transform: scale(.4); opacity: 0; } 60%,100% { transform: scale(1); opacity: 1; } }
@keyframes hs-ripple-play { 0% { transform: scale(.82); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.18); opacity: 0; } }
@keyframes hs-drift1-play { 0%,100% { transform: translate(0,0); } 50% { transform: translate(5px,3px); } }
@keyframes hs-drift2-play { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-5px,4px); } }
@keyframes hs-drift3-play { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-2px,-6px); } }
@keyframes hs-wave-play   { 0%,100% { fill-opacity: .32; } 30% { fill-opacity: .85; } }
@keyframes hs-wave2-play  { 0%,100% { fill-opacity: .58; } 30% { fill-opacity: 1; } }
@keyframes hs-mark-play   { 0% { transform: translateY(0); } 25% { transform: translateY(-32px); } 65%,100% { transform: translateY(0); } }
@keyframes hs-rise-play   { 0% { transform: translateY(0); } 25% { transform: translateY(44px); } 70%,100% { transform: translateY(0); } }
@keyframes hs-drop-play   { 0% { transform: translateY(0); opacity: 1; } 20% { transform: translateY(-24px); opacity: 0; } 60%,100% { transform: translateY(0); opacity: 1; } }
@keyframes hs-mimic-play  { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-18px,16px); } }
@keyframes hs-march-play  { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -24; } }
@keyframes hs-growY-play  { 0% { transform: scaleY(1); } 20% { transform: scaleY(.15); } 65%,100% { transform: scaleY(1); } }
@keyframes hs-fade-play   { 0%,100% { opacity: 1; transform: translateY(0); } 50% { opacity: 0; transform: translateY(-10px); } }
@keyframes hs-dot-play    { 0% { transform: scale(1); } 20% { transform: scale(0); } 60%,100% { transform: scale(1); } }
/* En la mira · se echa atrás, acelera, golpea (~15°), rebota y se asienta */
@keyframes hs-pendulum-play {
  0%   { transform: rotate(0);      animation-timing-function: cubic-bezier(.33, 0, .67, 1); }
  25%  { transform: rotate(-24deg); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  42%  { transform: rotate(15deg);  animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  58%  { transform: rotate(2deg);   animation-timing-function: cubic-bezier(.33, 0, .67, 1); }
  78%  { transform: rotate(-3deg);  animation-timing-function: cubic-bezier(.33, 0, .67, 1); }
  100% { transform: rotate(0); }
}
/* En la mira · al impacto, los tres fragmentos se separan y luego vuelven a unirse */
@keyframes hs-shardA-play { 0%,42% { transform: translate(0,0); } 50%,76% { transform: translate(5px,0); }    100% { transform: translate(0,0); } }
@keyframes hs-shardB-play { 0%,42% { transform: translate(0,0); } 52%,76% { transform: translate(-4px,5px); } 100% { transform: translate(0,0); } }
@keyframes hs-shardC-play { 0%,42% { transform: translate(0,0); } 51%,76% { transform: translate(-3px,-6px); } 100% { transform: translate(0,0); } }
/* Beneficio · la credencial se balancea colgada de su cinta */
@keyframes hs-badge-play  { 0%,100% { transform: rotate(0); } 25% { transform: rotate(9deg); } 50% { transform: rotate(-6deg); } 75% { transform: rotate(3deg); } }
/* Privacidad · la empresa empuja dos veces contra el límite y retrocede */
@keyframes hs-push-play   { 0% { transform: translateX(0); } 30% { transform: translateX(10px); } 42% { transform: translateX(5px); } 54% { transform: translateX(10px); } 85%,100% { transform: translateX(0); } }
/* Mini apagar · el interruptor se apaga, espera y vuelve a encenderse */
@keyframes hs-toggle-play { 0%,100% { transform: translateX(0); } 25%,70% { transform: translateX(-16px); } }
@keyframes hs-dim-play    { 0%,100% { fill-opacity: .58; } 25%,70% { fill-opacity: .16; } }
/* Mini tiempo · la porción marcada da una vuelta · Mini encriptado · el cursor parpadea */
@keyframes hs-tick-play   { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes hs-blink-play  { 0%,15%,35%,55%,75%,100% { opacity: 1; } 20%,30%,60%,70% { opacity: 0; } }
/* Solicitud de eliminación · tu dato se retira del sitio, queda el hueco punteado, y vuelve al reposo */
@keyframes hs-erase-play {
  0%, 12%  { transform: scaleX(1); opacity: 1; }
  34%, 78% { transform: scaleX(0); opacity: 0; }
  100%     { transform: scaleX(1); opacity: 1; }
}
/* Solicitud de eliminación · el sello de la evidencia cae con un pequeño rebote y se retira al final */
/* Dos pasos y Gestor · cada casilla (o punto) se va y vuelve · VPN · la cápsula recorre el canal */
@keyframes hs-code-play { 0%,100% { transform: scale(1); } 35% { transform: scale(0); } 70% { transform: scale(1); } }
@keyframes hs-run-play  { 0%,100% { transform: translateX(0px); } 50% { transform: translateX(22px); } }
@keyframes hs-stamp-play {
  0%, 36%  { transform: scale(.4); opacity: 0; }
  48%      { transform: scale(1.12); opacity: 1; }
  56%, 80% { transform: scale(1); opacity: 1; }
  100%     { transform: scale(.4); opacity: 0; }
}
/* Data brokers · los datos entran al paquete del broker y vuelven */
@keyframes hs-pack-play   { 0%,10% { transform: translateX(0); } 40%,72% { transform: translateX(30px); } 100% { transform: translateX(0); } }
/* Protégete · tus crestas se levantan como escudo y las amenazas rebotan */
@keyframes hs-shield-play { 0%,10% { stroke-dashoffset: 1; } 35%,80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes hs-repel-play  { 0%,28% { transform: translate(0,0); } 42%,80% { transform: translate(8px,-8px); } 100% { transform: translate(0,0); } }

/* ---------- Accesibilidad: "reducir movimiento" = todo quieto ---------- */
@media (prefers-reduced-motion: reduce) {
  .picto * { animation: none !important; }
  .picto-switch * { transition: none !important; }
}
