/* Instructivos de activación (cuenta primaria y secundaria).
   Estilos del manual del cliente, aislados bajo .bzm y conectados a los tokens del sitio.
   Las páginas se generan con 04_Contenido/instructivos/generar_instructivos.py */

.instructivo { padding-top: var(--e-4); }
.instructivo .migas { margin-bottom: 0; }

.bzm {
  --void: var(--bz-void); --ink: var(--bz-ink); --graphite: var(--bz-graphite); --line: var(--bz-line);
  --neon: var(--bz-neon); --circuit: var(--bz-circuit); --glitch: var(--bz-glitch);
  --bone: var(--bz-bone); --fog: var(--bz-fog); --mute: var(--bz-mute);
  --display: var(--fuente-titulos); --mono: var(--fuente-mono); --body: var(--fuente-texto);
  background: var(--void); color: var(--bone); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
}
.bzm-wrap { max-width: 55rem; margin: 0 auto; padding: var(--e-6) var(--margen-lateral) var(--e-16); }
.bzm h1, .bzm h2, .bzm h3, .bzm p, .bzm ol, .bzm ul { margin: 0; }
.bzm p { max-width: none; }
.bzm a { color: inherit; }
.bzm-mono { font-family: var(--mono); font-weight: 700; font-size: 0.8125rem; letter-spacing: .2em; text-transform: uppercase; }
.bzm-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.bzm a.bzm-chip { display: inline-flex; align-items: center; min-height: 44px; border: 2px solid var(--neon); color: var(--neon); padding: 7px 14px; text-decoration: none; }
.bzm a.bzm-chip:hover { background: var(--neon); color: var(--void); }
.bzm-tag { display: inline-block; background: var(--glitch); color: var(--void); padding: 7px 12px; }

.bzm-hero { margin-top: var(--e-8); }
.bzm-cmd { font-family: var(--mono); font-size: 0.9375rem; color: var(--neon); display: flex; align-items: center; gap: 6px; }
.bzm-cmd::after { content: ""; width: 10px; height: 19px; background: var(--neon); }
@media (prefers-reduced-motion: no-preference) {
  .bzm-cmd::after { animation: bzm-caret 1.06s steps(1) infinite; }
}
@keyframes bzm-caret { 50% { opacity: 0; } }
.bzm-h1 { margin-top: 22px !important; font-family: var(--display); font-weight: 900; font-size: clamp(40px, 8vw, 76px); line-height: .95; letter-spacing: -.03em; text-transform: uppercase; }
.bzm-h1 span { display: block; color: var(--neon); text-shadow: -5px 0 0 var(--glitch); }
.bzm-lead { margin-top: 22px !important; font-size: 1.1875rem; color: var(--fog); max-width: 620px !important; }
.bzm-nav { margin-top: 40px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.bzm-nav span { color: var(--mute); }
.bzm-extra { margin-top: 14px !important; display: flex; gap: 10px 20px; flex-wrap: wrap; align-items: center; }
.bzm-enlace { color: var(--neon) !important; font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.bzm-nota { margin-top: 10px !important; color: var(--mute); font-size: 0.9375rem; }

.bzm-box { margin-top: 40px; background: var(--graphite); padding: 26px 28px 28px 34px; position: relative; }
.bzm-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--neon); }
.bzm-box h2 { font-family: var(--display); font-weight: 900; font-size: 1.375rem; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; margin-top: 10px; }
.bzm-box ul { margin-top: 12px; padding-left: 20px; color: var(--fog); }
.bzm-box li + li { margin-top: 6px; }
.bzm-box strong { color: var(--bone); }
.bzm-alert { background: var(--glitch); color: var(--void); }
.bzm-alert::before { background: var(--void); }
.bzm-alert .bzm-mono { color: var(--void); }
.bzm-alert h2 { font-size: clamp(24px, 4.4vw, 34px); }
.bzm-alert p { margin-top: 10px; font-weight: 700; font-size: 1.125rem; }
.bzm-alert strong { color: var(--void); text-decoration: underline; text-underline-offset: 3px; }

.bzm-sec { margin-top: 72px; scroll-margin-top: 6rem; }
.bzm-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--line); padding-bottom: 16px; }
.bzm-h2 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 5.6vw, 46px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.bzm-step { margin-top: 44px; display: grid; grid-template-columns: auto 1fr; column-gap: 22px; }
.bzm-num { font-family: var(--display); font-weight: 900; font-size: 46px; line-height: .9; color: var(--neon); text-shadow: -4px 0 0 var(--glitch); min-width: 66px; }
.bzm-step h3 { font-family: var(--display); font-weight: 900; font-size: clamp(20px, 3.4vw, 26px); line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; padding-top: 4px; }
.bzm-step p { margin-top: 10px; color: var(--fog); max-width: 640px; }
.bzm-step p strong { color: var(--bone); }
.bzm-k { color: var(--neon); font-weight: 700; }
.bzm-x { color: var(--glitch); font-weight: 700; }
.bzm-shot { grid-column: 1 / -1; position: relative; margin: 22px 0 0; border: 2px solid var(--line); background: var(--ink); }
.bzm-shot img { display: block; width: 100%; height: auto; }
.bzm-hl { position: absolute; border: 4px solid var(--neon); box-shadow: -5px 0 0 var(--glitch); }
.bzm-hl b { position: absolute; left: -4px; bottom: 100%; margin-bottom: 6px; background: var(--neon); color: var(--void); font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .14em; padding: 4px 8px; white-space: nowrap; }
.bzm-hl.bzm-no { border: 4px dashed var(--glitch); box-shadow: none; background: rgba(255, 61, 139, .18); }
.bzm-hl.bzm-no b { background: var(--glitch); bottom: auto; top: 100%; margin: 6px 0 0; }
.bzm-mini { grid-column: 1 / -1; margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; align-items: center; background: var(--graphite); padding: 18px; }
.bzm-mini .bzm-shot { margin-top: 0; }
.bzm-mini p { margin: 0; font-size: 0.9375rem; color: var(--fog); }
.bzm-mini p strong { color: var(--bone); }

.bzm-cta { margin-top: 72px; background: var(--neon); color: var(--void); padding: 36px 34px; }
.bzm-cta h2 { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 4.6vw, 40px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; margin-top: 10px; }
.bzm-cta p { margin-top: 12px; font-weight: 700; max-width: 560px; }
.bzm a.bzm-btn { display: inline-block; margin-top: 22px; background: var(--void); color: var(--neon); font-family: var(--display); font-weight: 900; font-size: 1.125rem; letter-spacing: -.01em; text-transform: uppercase; padding: 18px 24px; text-decoration: none; box-shadow: var(--glitch-reposo); }
.bzm a.bzm-btn:hover { box-shadow: var(--glitch-hover); }
.bzm a.bzm-btn:active { box-shadow: none; }
.bzm-cta :focus-visible { outline-color: var(--void); }

@media (max-width: 600px) {
  .bzm-step { column-gap: 14px; }
  .bzm-num { font-size: 34px; min-width: 46px; }
  .bzm-mini { grid-template-columns: 1fr; }
  .bzm-hl b { font-size: 10px; padding: 3px 6px; }
  .bzm-box { padding: 22px 20px 22px 28px; }
  .bzm-cta { padding: 28px 22px; }
  .bzm a.bzm-btn { font-size: 1rem; padding: 16px 18px; }
}

@media print {
  .cabecera, .pie, .migas, .bzm-nav, .bzm-extra, .boton-flotante { display: none !important; }
  .bzm-step, .bzm-cta, .bzm-box { break-inside: avoid; }
}

