/* =====================================================================
   HOME BANNER ESPECIAL — "17 para el 27" en home publico
   Teaser mode + fondo editorial via imagen estatica.
   Atmosfera completa (mapa, halos, Palacio, grid, glow) en el JPG;
   CSS solo agrega contenido encima + identidad tipografica + CTAs + avatares.
   ===================================================================== */

:root {
    --hbs-red: #E50914;
    --hbs-red-dark: #B60710;
    --hbs-blue: #1E5BD8;
    --hbs-dark: #0A0A0E;
    --hbs-darker: #050507;
    --hbs-rule: rgba(255, 255, 255, 0.1);
}

/* =========================================
   SECTION SHELL — fondo via imagen + scrim dark inferior
   ========================================= */
.home-banner-special {
    position: relative;
    background:
        /* Scrim oscuro inferior para garantizar legibilidad del lineup */
        linear-gradient(180deg, rgba(5, 5, 7, 0) 50%, rgba(5, 5, 7, 0.55) 100%),
        /* Asset editorial: contiene mapa + halos + Palacio + grid + glow */
        url('/images/home-banner-bg.png') center center / cover no-repeat,
        /* Fallback dark si el asset no carga */
        var(--hbs-dark);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

/* Hairline rojo superior (firma editorial, continuidad con micrositio) */
.home-banner-special::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(229, 9, 20, 0.6) 50%, transparent 100%);
    z-index: 4;
}
/* Vertical hairline rojo izquierdo (anchor editorial, gradient fade) */
.home-banner-special::before {
    content: "";
    position: absolute;
    top: 18%;
    bottom: 18%;
    left: 0;
    width: 2px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(229, 9, 20, 0.45) 30%,
        rgba(229, 9, 20, 0.6) 50%,
        rgba(229, 9, 20, 0.45) 70%,
        transparent 100%);
    z-index: 4;
}

/* Inner container encima de la imagen */
.home-banner-special > .container {
    position: relative;
    z-index: 3;
}
/* Flagship breathing en lg+ */
@media (min-width: 992px) {
    .home-banner-special > .container {
        padding-top: 5rem;
        padding-bottom: 4.5rem;
    }
}
@media (min-width: 1400px) {
    .home-banner-special > .container {
        padding-top: 6rem;
        padding-bottom: 5rem;
    }
}

/* =========================================
   TIPOGRAFIA EDITORIAL (left column)
   ========================================= */
/* Kicker pill "COBERTURA ESPECIAL" + live dot con pulse animado (broadcast live feel) */
.home-banner-special__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.95rem 0.45rem 0.75rem;
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.32);
    border-radius: 999px;
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.home-banner-special__live-dot {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hbs-red);
    box-shadow: 0 0 8px var(--hbs-red), 0 0 14px rgba(229, 9, 20, 0.5);
    flex-shrink: 0;
}
.home-banner-special__live-dot::before,
.home-banner-special__live-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid var(--hbs-red);
    animation: hbs-live-pulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.home-banner-special__live-dot::after {
    animation-delay: 1.1s;
}
@keyframes hbs-live-pulse {
    0%   { transform: scale(1);   opacity: 0.65; }
    100% { transform: scale(3.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .home-banner-special__live-dot::before,
    .home-banner-special__live-dot::after { animation: none; }
}

/* Title con flourish "PARA EL" apilado */
.home-banner-special__title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    line-height: 1;
}
.home-banner-special__title-number {
    font-size: clamp(3.2rem, 7vw, 6.2rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: #fff;
    text-shadow:
        -3px 0 0 rgba(229, 9, 20, 0.22),
        0 0 38px rgba(229, 9, 20, 0.12),
        0 6px 28px rgba(0, 0, 0, 0.55);
}
/* Variant "17" — accent rojo + subrayado editorial (prototipo) */
.home-banner-special__title-number--accent {
    color: var(--hbs-red);
    text-shadow:
        0 0 28px rgba(229, 9, 20, 0.35),
        0 6px 28px rgba(0, 0, 0, 0.55);
    text-decoration: underline;
    text-decoration-color: var(--hbs-red);
    text-decoration-thickness: 0.075em;
    text-underline-offset: 0.06em;
    text-decoration-skip-ink: none;
}
.home-banner-special__title-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    font-size: clamp(0.85rem, 1.4vw, 1.2rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    text-transform: uppercase;
}

.home-banner-special__subtitle {
    font-size: clamp(0.98rem, 1.7vw, 1.35rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.94);
}
.home-banner-special__subtitle-accent {
    color: var(--hbs-red);
}

.home-banner-special__lead {
    position: relative;
    font-size: 0.94rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.7);
    max-width: 32rem;
    padding-left: 0.9rem;
}
/* Acento vertical sutil a la izquierda del lead — editorial pullquote feel */
.home-banner-special__lead::before {
    content: "";
    position: absolute;
    top: 0.2em;
    bottom: 0.2em;
    left: 0;
    width: 2px;
    background: linear-gradient(180deg,
        rgba(229, 9, 20, 0.7) 0%,
        rgba(229, 9, 20, 0.2) 100%);
}

/* =========================================
   CTA — flat editorial (sin shadow, solo solid red)
   ========================================= */
.home-banner-special .home-banner-special__cta-primary {
    background: var(--hbs-red);
    border-color: var(--hbs-red);
    padding: 1.2rem 2.4rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.92rem;
    border-radius: 2px;
    box-shadow: none;
    transition: background 0.25s ease, transform 0.25s ease;
}
.home-banner-special .home-banner-special__cta-primary:hover {
    background: var(--hbs-red-dark);
    border-color: var(--hbs-red-dark);
    box-shadow: none;
    transform: translateY(-1px);
}

/* =========================================
   RIGHT COL — group labels + figure lineup
   En desktop: scale 0.8 uniforme (lineup compactado, mas teaser, menos producto)
   En mobile/tablet: sin scale (stack natural ya da el rate correcto)
   ========================================= */
/* Lineup: scale 0.8 desktop con transform-origin center derecha.
   Centrado vertical garantizado por d-flex align-items-center en el col padre
   (utility Bootstrap en el markup) + w-100 que estira el wrapper a la altura del col. */
.home-banner-special__lineup {
    transform-origin: center right;
}
@media (min-width: 992px) {
    .home-banner-special__lineup {
        transform: scale(0.8);
    }
}
.home-banner-special__group-label {
    display: inline-block;
    padding: 0.5rem 1.7rem 0.5rem 1rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    background: var(--hbs-red);
    clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(229, 9, 20, 0.22);
}
.home-banner-special__group-label[data-accent="blue"] {
    background: var(--hbs-blue);
    box-shadow: 0 4px 14px rgba(30, 91, 216, 0.22);
}
.home-banner-special__group-rule {
    height: 1px;
    border: 0;
    background: var(--hbs-rule);
    opacity: 1;
}

/* Figure cards — wall of faces (sin roles, solo nombre + avatar) */
.home-banner-special__figure {
    color: rgba(255, 255, 255, 0.92);
    transition: transform 0.3s ease;
}
.home-banner-special__figure:hover {
    color: #fff;
    transform: translateY(-2px);
}
.home-banner-special__figure-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 124px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(8, 8, 12, 0.62);
    margin: 0 auto;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.55),
        inset 0 0 0 4px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(229, 9, 20, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.home-banner-special__figure-photo--empty {
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(180deg, rgba(28, 28, 38, 0.95) 0%, rgba(10, 10, 14, 0.95) 100%);
    position: relative;
}
.home-banner-special__figure-photo--empty::before {
    content: attr(data-initials);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.35rem, 2.1vw, 1.8rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.06em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.home-banner-special__figure:hover .home-banner-special__figure-photo {
    border-color: rgba(229, 9, 20, 0.6);
    box-shadow:
        0 8px 26px rgba(0, 0, 0, 0.6),
        inset 0 0 0 4px rgba(0, 0, 0, 0.35),
        0 0 0 3px rgba(229, 9, 20, 0.14);
}
img.home-banner-special__figure-photo {
    filter: contrast(1.05) brightness(1.04) saturate(1.03);
}
.home-banner-special__figure-name {
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.015em;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
}

/* =========================================
   BOTTOM BAR — editorial metadata strip
   (border-top resuelto via `border-top border-light border-opacity-10`
   utilities Bootstrap en el markup — no requiere CSS custom)
   ========================================= */
.home-banner-special__bottom-item {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
}
.home-banner-special__bottom-item i {
    font-size: 0.95rem;
    opacity: 0.9;
}
.home-banner-special__bottom-item strong {
    color: #fff;
    font-weight: 800;
    margin-right: 0.15em;
    font-variant-numeric: tabular-nums;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 991.98px) {
    /* En tablet/mobile, el image asset se vuelve mas grande proporcionalmente
       → reforzamos scrim dark para legibilidad del contenido */
    .home-banner-special {
        background:
            linear-gradient(180deg, rgba(5, 5, 7, 0.4) 0%, rgba(5, 5, 7, 0.75) 100%),
            url('/images/home-banner-bg.png') center center / cover no-repeat,
            var(--hbs-dark);
    }
}
@media (max-width: 575.98px) {
    .home-banner-special__figure-photo {
        max-width: 86px;
    }
    .home-banner-special__title-number {
        font-size: clamp(2.8rem, 13vw, 4.2rem);
    }
    .home-banner-special__title-stack {
        font-size: clamp(0.75rem, 2.4vw, 0.95rem);
    }
}

/* =========================================
   prefers-reduced-motion
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    .home-banner-special__cta-primary,
    .home-banner-special__figure,
    .home-banner-special__figure-photo {
        transition: none;
    }
    .home-banner-special__cta-primary:hover,
    .home-banner-special__figure:hover {
        transform: none;
    }
}

/* =====================================================================
   MOTION GATING (anti-FOUC)
   GSAP gestiona reveals; CSS oculta targets antes de animar.
   ===================================================================== */
.js-motion .home-banner-special__kicker,
.js-motion .home-banner-special__title,
.js-motion .home-banner-special__subtitle,
.js-motion .home-banner-special__lead,
.js-motion .home-banner-special .btn,
.js-motion .home-banner-special__group-label,
.js-motion .home-banner-special__group-rule,
.js-motion .home-banner-special__figure,
.js-motion .home-banner-special__bottom-item {
    opacity: 0;
    will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
    .js-motion .home-banner-special__kicker,
    .js-motion .home-banner-special__title,
    .js-motion .home-banner-special__subtitle,
    .js-motion .home-banner-special__lead,
    .js-motion .home-banner-special .btn,
    .js-motion .home-banner-special__group-label,
    .js-motion .home-banner-special__group-rule,
    .js-motion .home-banner-special__figure,
    .js-motion .home-banner-special__bottom-item {
        opacity: 1 !important;
        transform: none !important;
        will-change: auto;
    }
}
