/* Quantum Ventures · visual de la sección «Declaración» (decl-vis.js). Pisa las reglas viejas de qv2.css. */
.declaracion .decl-vis{max-width:600px;max-height:none;height:auto;width:100%;justify-self:center;overflow:visible}
.dv2{--az:#0041F5;--azc:#5984f8;--ez:cubic-bezier(.2,.7,.2,1);position:relative;display:grid;justify-items:center;gap:clamp(84px,14vh,136px);padding:8px 0;font-family:inherit;color:#fff}
.dv2.pre{opacity:0}
.dv2-red{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.dv2-red .l{fill:none;stroke-width:1.5;stroke-linecap:round;opacity:.85}
.dv2-red .p{fill:none;stroke:#cfdcff;stroke-width:2.5;stroke-linecap:round;stroke-dasharray:.1 2;stroke-dashoffset:.1;opacity:0;filter:drop-shadow(0 0 4px #5984f8) drop-shadow(0 0 10px rgba(0,65,245,.9))}
.dv2-red .n .c{fill:#05060a;stroke:var(--azc);stroke-width:1.5}
.dv2-red .n .h{fill:rgba(89,132,248,.35);opacity:0;transform-box:fill-box;transform-origin:center}

/* núcleo */
.dv2-nuc{position:relative;z-index:1;display:grid;justify-items:center;gap:4px;text-align:center}
.dv2-anillo{position:relative;display:grid;place-items:center;width:104px;height:104px;margin-bottom:16px;border-radius:50%;color:#d6e1ff;
  background:radial-gradient(circle at 50% 30%,rgba(89,132,248,.28),rgba(0,65,245,.12) 45%,rgba(8,10,20,.95) 78%);
  border:1px solid rgba(89,132,248,.45);
  box-shadow:inset 0 0 22px rgba(0,65,245,.45),inset 0 1px 0 rgba(255,255,255,.14),0 0 0 9px rgba(255,255,255,.025),0 0 0 10px rgba(255,255,255,.06),0 18px 50px -12px rgba(0,65,245,.6)}
.dv2-anillo::before{content:"";position:absolute;inset:-46px;z-index:-1;border-radius:50%;background:radial-gradient(circle,rgba(0,65,245,.42),rgba(0,65,245,.12) 42%,transparent 68%);pointer-events:none}
.dv2-anillo svg{width:40px;height:40px}
.dv2-nuc b{font-size:17px;font-weight:600;letter-spacing:-.01em}
.dv2-nuc small{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--azc)}

/* tarjetas */
.dv2-fila{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:100%}
.dv2-card{display:grid;grid-template-rows:auto 1fr auto;gap:12px;min-width:0;padding:14px 14px 13px;border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 24px 48px -28px rgba(0,0,0,.9)}
.dv2-card header{display:flex;align-items:center;gap:8px;min-width:0;font-size:13px;font-weight:600;letter-spacing:-.005em}
.dv2-card header span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dv2-card header i{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:8px;color:#a9bfff;background:rgba(0,65,245,.18);border:1px solid rgba(89,132,248,.28)}
.dv2-card header svg{width:16px;height:16px}
.dv2-mini{height:104px;min-width:0;display:flex;flex-direction:column;justify-content:flex-end}
.dv2-card > p{margin:0;padding-top:10px;border-top:1px solid rgba(255,255,255,.08);font-size:12px;line-height:1.35;font-weight:500;color:#9a9daa}

/* atención: chat */
.dv2-chat{display:flex;flex-direction:column;gap:6px;font-size:11.5px;line-height:1.3}
.dv2-b{max-width:92%;padding:6px 9px;border-radius:11px}
.dv2-b.ella{align-self:flex-end;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);color:#d9dcea;border-bottom-right-radius:4px}
.dv2-b.bot{align-self:flex-start;min-height:28px;display:flex;align-items:center;background:var(--az);color:#fff;border-bottom-left-radius:4px;box-shadow:0 8px 20px -10px rgba(0,65,245,.9);font-weight:600}
.dv2-b.bot em{font-style:normal}
.dv2-pts{display:inline-flex;gap:3px;padding:2px 1px}
.dv2-pts i{width:4px;height:4px;border-radius:50%;background:#fff;opacity:.4;animation:dv2-pt 1s infinite ease-in-out}
.dv2-pts i:nth-child(2){animation-delay:.15s}.dv2-pts i:nth-child(3){animation-delay:.3s}
@keyframes dv2-pt{0%,60%,100%{opacity:.35;transform:none}30%{opacity:1;transform:translateY(-2px)}}
.dv2.fin .dv2-pts{display:none}

/* operación: checklist */
.dv2-lista{list-style:none;margin:0;padding:0;display:grid;gap:7px;font-size:11.5px}
.dv2-lista li{display:flex;align-items:center;gap:8px;min-width:0;padding:5px 7px;border-radius:9px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);color:#8b8fa0;transition:color .5s var(--ez),background .5s var(--ez),border-color .5s var(--ez)}
.dv2-lista span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dv2-lista b{flex:none;display:grid;place-items:center;width:15px;height:15px;border-radius:50%;border:1px solid rgba(255,255,255,.22);transition:background .45s var(--ez),border-color .45s var(--ez),box-shadow .45s var(--ez)}
.dv2-lista b svg{width:13px;height:13px}
.dv2-lista b path{fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .4s var(--ez) .12s}
.dv2-lista li.ok,.dv2.fin .dv2-lista li{color:#e6e9f3;background:rgba(0,65,245,.1);border-color:rgba(89,132,248,.22)}
.dv2-lista li.ok b,.dv2.fin .dv2-lista b{background:var(--az);border-color:var(--azc);box-shadow:0 0 10px rgba(0,65,245,.7)}
.dv2-lista li.ok path,.dv2.fin .dv2-lista path{stroke-dashoffset:0}

/* dirección: KPI */
.dv2-kpi{display:grid;gap:2px}
.dv2-kpi small{font-size:10.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#8b8fa0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dv2-kpi p{margin:0;display:flex;align-items:baseline;gap:7px}
.dv2-kpi strong{font-size:30px;line-height:1.05;font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.dv2-kpi p span{font-size:11px;font-weight:600;color:var(--azc)}
.dv2-kpi svg{width:100%;height:34px;margin-top:4px;overflow:visible}
.dv2-kpi .sp{fill:none;stroke:var(--azc);stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.dv2-kpi .ar{fill:url(#dv2Area)}

/* vivo: solo tras la entrada, y nunca con movimiento reducido */
@media (prefers-reduced-motion:no-preference){
  .dv2.vivo .dv2-anillo::before{animation:dv2-respira 5.5s var(--ez) infinite alternate}
  .dv2.vivo .p{animation:dv2-pulso 6.6s cubic-bezier(.45,0,.25,1) infinite}
  .dv2.vivo .n .h{animation:dv2-llega 6.6s ease-out infinite}
  .dv2.vivo .p1,.dv2.vivo .n1 .h{animation-delay:2.2s}
  .dv2.vivo .p2,.dv2.vivo .n2 .h{animation-delay:4.4s}
}
@keyframes dv2-respira{from{transform:scale(.94);opacity:.65}to{transform:scale(1.08);opacity:1}}
@keyframes dv2-pulso{0%{stroke-dashoffset:.1;opacity:0}4%{opacity:1}26%{stroke-dashoffset:-.92;opacity:1}30%,100%{stroke-dashoffset:-1;opacity:0}}
@keyframes dv2-llega{0%,25%{opacity:0;transform:scale(.4)}30%{opacity:1;transform:scale(1)}50%,100%{opacity:0;transform:scale(1.6)}}

/* tableta: una columna, el visual centrado debajo del texto */
@media (max-width:900px){.declaracion .decl-vis{max-width:600px;margin:clamp(40px,6vw,64px) auto 0}}
/* móvil: núcleo arriba y tarjetas apiladas; las líneas bajan en vertical */
@media (max-width:760px){
  .declaracion .decl-vis{max-width:380px}
  .dv2{gap:44px}
  .dv2-fila{grid-template-columns:1fr;gap:40px}
  .dv2-card{padding:16px}
  .dv2-mini{height:auto;min-height:84px}
  .dv2-card header{font-size:14px}
  .dv2-chat,.dv2-lista{font-size:12.5px}
}

/* 12 px como mínimo */
.dv2-kpi small,.dv2-kpi p span,.dv2-b,.dv2-lista li{font-size:12px}
