/* Componente "IA que entiende + Reglas que verifican" (Regla 9) y bloque "Para tu equipo de TI".
   Solo transform/opacity; animación única < 4 s; sin animación con prefers-reduced-motion. */
.ab-dual{--abd-ia:#38bdf8;--abd-rule:#5eead4;--abd-team:#fbbf24;--abd-ink:#f8fafc;--abd-body:#cbd5e1;--abd-muted:#94a3b8;--abd-ease:cubic-bezier(.2,.7,.2,1);
  margin:3rem 0;padding:2rem 1.5rem;border:1px solid rgba(94,234,212,.35);border-radius:16px;
  background:linear-gradient(135deg,rgba(8,26,47,.96),rgba(4,15,29,.98));color:var(--abd-body)}
.ab-dual__kicker{margin:0 0 .5rem;font:700 .78rem/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.06em;text-transform:uppercase;color:var(--abd-rule)}
.ab-dual h2{margin:0 0 .75rem;font-size:clamp(1.4rem,3vw,2rem);line-height:1.25;color:var(--abd-ink)}
.ab-dual__lede{max-width:72ch;margin:0 0 1.5rem;font-size:1rem;line-height:1.6}
.ab-dual__lede strong{color:var(--abd-ink)}
.ab-dual__flow{list-style:none;margin:0;padding:0;display:grid;gap:1rem;grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:900px){.ab-dual__flow{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.ab-dual__flow{grid-template-columns:1fr}}
.ab-dual__step{position:relative;display:flex;flex-direction:column;gap:.5rem;padding:1rem;border-radius:12px;background:rgba(15,23,42,.88);border:1px solid rgba(148,163,184,.35)}
.ab-dual__step--ia{border:2px dashed var(--abd-ia)}
.ab-dual__step--rule{border:2px solid var(--abd-rule)}
.ab-dual__step--team{border:3px double var(--abd-team)}
.ab-dual__head{display:flex;align-items:center;gap:.6rem}
.ab-dual__icon{flex:0 0 32px;width:32px;height:32px}
.ab-dual__num{font:700 .75rem/1 ui-monospace,Menlo,monospace;color:var(--abd-muted)}
.ab-dual__step h3{margin:0;font-size:1.02rem;line-height:1.3;color:var(--abd-ink)}
.ab-dual__tech{font-size:.8rem;color:var(--abd-muted)}
.ab-dual__step p{margin:0;font-size:.92rem;line-height:1.5}
.ab-dual__chip{align-self:flex-start;margin-top:auto;padding:.25rem .6rem;border-radius:999px;font-size:.78rem;font-weight:700;background:rgba(2,6,23,.7);border:1px solid rgba(148,163,184,.4);color:var(--abd-ink)}
.ab-dual__guide{margin:1.25rem 0 0;font-weight:700;color:var(--abd-ink)}
.ab-dual__note{margin:.35rem 0 0;font-size:.82rem;color:var(--abd-muted)}
.ab-dual__controls{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}
.ab-dual__btn{min-height:44px;padding:.55rem 1rem;border-radius:8px;border:1px solid rgba(94,234,212,.6);background:transparent;color:var(--abd-ink);font:inherit;font-size:.9rem;font-weight:700;cursor:pointer}
.ab-dual__btn:hover{background:rgba(94,234,212,.12)}
.ab-dual__btn:focus-visible,.ab-para-ti summary:focus-visible{outline:3px solid var(--abd-team,#fbbf24);outline-offset:2px}
.ab-dual__tablewrap{margin-top:1rem;overflow-x:auto}
.ab-dual table{width:100%;border-collapse:collapse;font-size:.9rem}
.ab-dual caption{text-align:left;font-weight:700;color:var(--abd-ink);padding-bottom:.4rem}
.ab-dual th,.ab-dual td{border:1px solid rgba(148,163,184,.35);padding:.5rem .6rem;text-align:left;vertical-align:top}
.ab-dual th{color:var(--abd-ink);background:rgba(2,6,23,.6)}
.ab-dual__sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* Animación: solo cuando el JS la habilita (sin JS se ve el estado final) */
.ab-dual--anim .ab-dual__step{opacity:0;transform:translateY(12px)}
.ab-dual--anim.is-playing .ab-dual__step{animation:abDualIn .5s var(--abd-ease) forwards}
.ab-dual--anim.is-playing .ab-dual__step:nth-child(2){animation-delay:.8s}
.ab-dual--anim.is-playing .ab-dual__step:nth-child(3){animation-delay:1.6s}
.ab-dual--anim.is-playing .ab-dual__step:nth-child(4){animation-delay:2.4s}
@keyframes abDualIn{to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.ab-dual--anim .ab-dual__step{opacity:1;transform:none;animation:none!important}}
/* Bloque "Para tu equipo de TI" */
.ab-para-ti{margin-top:1.5rem;padding:0 1rem;border:1px dashed rgba(148,163,184,.45);border-radius:12px;background:rgba(2,6,23,.5);color:#cbd5e1;text-align:left}
.ab-para-ti summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:700;color:#f8fafc}
.ab-para-ti ul{margin:0 0 1rem;padding-left:1.2rem;line-height:1.6;font-size:.92rem}
.ab-para-ti li{margin-bottom:.35rem}
.ab-calc-note{margin:.5rem 0 0;font-size:.8rem;line-height:1.45;color:#94a3b8}
.ab-calc-note a{color:#5eead4}
.hero-facts{margin:.75rem 0 0;font-size:.9rem;color:#cbd5e1}
