/* VISIBILIA v16.82 — Casos internos: dark mode y componentes compartidos.
   Se aplica SOLO a las paginas de casos de exito, sin alterar la home. */
html[data-theme="dark"] .case-hero {
 background:linear-gradient(120deg,#221a36 0%,#161d2d 100%);
 border-bottom-color:#494056;
 color:#f7f4fd;
}
html[data-theme="dark"] .case-hero h1,
html[data-theme="dark"] .case-section h2,
html[data-theme="dark"] .case-card h2,
html[data-theme="dark"] .case-card h3,
html[data-theme="dark"] .case-step strong {color:#f8f5ff;}
html[data-theme="dark"] .case-eyebrow{color:#cfb8ff;}
html[data-theme="dark"] .case-lead,
html[data-theme="dark"] .case-intro,
html[data-theme="dark"] .case-card p,
html[data-theme="dark"] .case-step p,
html[data-theme="dark"] .case-proof p,
html[data-theme="dark"] .case-small {color:#dfd9ea;}
html[data-theme="dark"] .case-section {background:#171321;color:#f8f5ff;}
html[data-theme="dark"] .case-section.case-related {background:#211a30;}
html[data-theme="dark"] .case-card,
html[data-theme="dark"] .case-pill {background:#2a2338;border-color:#554968;color:#f6f1ff;}
html[data-theme="dark"] .case-step {background:#292239;border-top-color:#bfa4ff;}
html[data-theme="dark"] .case-proof {background:#312540;border-left-color:#bfa4ff;color:#f8f5ff;}
html[data-theme="dark"] .case-card a.case-link {color:#dbcaff;}
html[data-theme="dark"] .case-actions a.secondary{background:#302840;border-color:#625575;color:#f5f0ff!important;}
html[data-theme="dark"] .case-actions a:not(.secondary){background:#754cdb;color:#fff!important;}
html[data-theme="dark"] .case-visual {background:#4d3945;}
html[data-theme="dark"] .case-visual.mia {background:#533745;}
/* Maqueta visual interna: mantener tarjeta clara incluso en modo oscuro. */
html[data-theme="dark"] .case-shop-window {background:#fff;color:#241d2c;}
html[data-theme="dark"] .case-shop-window span,
html[data-theme="dark"] .case-shop-window strong {color:#241d2c;}
/* Los enlaces reciben foco visible en ambos modos. */
.case-section a:focus-visible,.case-hero a:focus-visible{outline:3px solid #916ef4;outline-offset:3px;}
html[data-theme="dark"] .case-section a:focus-visible,
html[data-theme="dark"] .case-hero a:focus-visible{outline-color:#d5bdff;}
