/* ============================================================
   PASO HORIZONTAL DEL BANNER — AKDMY (aprobado por Jesús, 2026-11-16)
   El banner de arriba (hero o cabecera de página) ocupa la pantalla y queda fijo mientras se desliza
   hacia la izquierda; por la derecha entra el resto de la web, y después la página es vertical normal.
   Con ratón o tacto, pantalla ≥ 740 × 620. Con zoom alto o «reducir movimiento» no existe.
   La condición se decide en el <head> (html.hb-pre) y banner.js lo construye.
   ============================================================ */

/* Escenario: el banner ocupa la pantalla y queda fijo durante --D px de scroll */
.hb-stage{position:relative;height:calc(100vh + var(--D))}
.hb-stage>:first-child{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;justify-content:center;overflow:hidden;margin:0!important;padding-top:calc(var(--navh) + 24px)!important;padding-bottom:64px!important;will-change:transform;z-index:1}
html.hb{overflow-x:clip}

/* Zona fija: cubre el escenario y sujeta el resto de la web arriba durante el deslizamiento */
.hb-zone{position:relative;height:var(--D);margin-top:calc(-100vh - var(--D));z-index:2;pointer-events:none}
.hb-pin{position:sticky;top:0;height:0;overflow:visible}
.hb-rest{background:#fff;padding-top:var(--navh);width:100%;will-change:transform;pointer-events:auto}
.hb-spacer{height:var(--R,0px)}

/* Señal para saber que hay que bajar */
#hbCue{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);z-index:90;display:flex;flex-direction:column;align-items:center;gap:8px;color:#121A2A;font:700 12.5px 'Instrument Sans',system-ui,sans-serif;letter-spacing:.24em;text-transform:uppercase;pointer-events:none;opacity:0;transition:opacity .45s ease}
html.hb-top #hbCue{opacity:.85}
#hbCue i{display:block;width:1.5px;height:34px;background:linear-gradient(#121A2A,#121A2A) top/100% 0 no-repeat;background-color:rgba(18,26,42,.18);animation:hbline 1.6s cubic-bezier(.5,0,.2,1) infinite}
@keyframes hbline{0%{background-size:100% 0}60%{background-size:100% 100%}100%{background-size:100% 100%;opacity:.15}}
html.cort-on #hbCue{display:none}

@media print{.hb-stage,.hb-zone,.hb-pin,.hb-rest{all:unset!important;display:block!important}#hbCue{display:none!important}}
