/* ============================================================
   Banner del hero «Próximas formaciones» con 3 formaciones que se pasan (19-10)
   Compartido por la Home y la página Formaciones. Se carga después de styles.css.
   ============================================================ */
.hb { gap: 14px; overflow: hidden; }
.hb__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hb__nav { display: flex; align-items: center; gap: 6px; }
.hb__btn { width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid var(--glass-border); background: transparent; color: var(--crema); display: grid; place-items: center; cursor: pointer; transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), color 200ms var(--ease-out), transform 160ms ease-out; }
.hb__btn svg { width: 15px; height: 15px; }
.hb__btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .hb__btn:hover { background: var(--oro); border-color: var(--oro); color: var(--tinta); } }
.hb__count { min-width: 34px; text-align: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--crema-70); font-variant-numeric: tabular-nums; }
.hb__viewport { overflow: hidden; margin: 0 -2px; padding: 0 2px; touch-action: pan-y; }
.hb__track { display: flex; transition: transform 550ms var(--ease-out); will-change: transform; }
.hb__slide { flex: 0 0 100%; min-width: 0; display: grid; gap: 16px; }
.hb__slide[aria-hidden="true"] { visibility: hidden; transition: visibility 0s 550ms; }
.hb__slide[aria-hidden="false"] { visibility: visible; }
.hb .hero__banner-top .k { display: none; }
.hb .hero__banner-top .city { margin-top: 0; }
.hb__dots { display: flex; justify-content: center; gap: 4px; margin-top: -4px; }
.hb__dot { width: 22px; height: 18px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.hb__dot::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--crema-40); transition: width 300ms var(--ease-out), background-color 300ms var(--ease-out); }
.hb__dot[aria-current="true"]::before { width: 18px; background: var(--oro); }
@media (prefers-reduced-motion: reduce) { .hb__track, .hb__dot::before { transition: none; } .hb__slide[aria-hidden="true"] { transition: none; } }
@media (max-width: 520px) { .hb__head .k { white-space: nowrap; font-size: 12px; } }
