/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(0, 164, 228, .25),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #1D2D5C,
            #000000
        );

    z-index: 1;
}


/* =========================================================
   CONTENEDOR PRINCIPAL
   IMPORTANTE:
   NO debe crear el contexto para la imagen absoluta.
========================================================= */

.hero-container {
    position: relative;
    z-index: 5;

    width: 100%;
    
    min-height: 100vh;

    display: grid;
    grid-template-columns: 55% 45%;

    align-items: center;

    padding-top: 120px;
    padding-bottom: 70px;

    padding-left: 0;
    padding-right: 0;

    margin-left: 0;
    margin-right: 0;
    margin: 0;
    box-sizing: border-box;
}


/* =========================================================
   COLUMNA IZQUIERDA
========================================================= */

.hero-showcase {
    width: 100%;
    height: 100%;
    min-height: 100vh;

    position: static;

    grid-column: 1;
}


/* =========================================================
   IMAGEN PRINCIPAL - ESCRITORIO
   Ahora se posiciona respecto a .hero,
   NO respecto a .container.
========================================================= */

.hero-image {
    position: absolute;

    left: 0;
    top: 0;

    width: 48%;
    height: 100%;

    overflow: hidden;

    z-index: 0;
}



/* =========================================================
   IMAGEN
========================================================= */

.hero-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    /*
     * Mantiene el sujeto hacia la izquierda.
     */
    object-position: 10% center;

    opacity: .35;

    /*
     * IMPORTANTE:
     * No hacemos zoom porque eso recorta
     * innecesariamente la fotografía.
     */
    animation: none;
}


/* =========================================================
   DEGRADADO SOBRE LA IMAGEN
========================================================= */

.hero-image::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            #101936 0%,
            rgba(16, 25, 54, .75) 40%,
            rgba(16, 25, 54, .35) 75%,
            transparent 100%
        );

    pointer-events: none;
}


/* =========================================================
   GLOW
========================================================= */

.hero-glow {
    position: absolute;

    width: 400px;
    height: 400px;

    background: #00A4E4;

    filter: blur(140px);

    opacity: .35;

    right: 0;
    top: 30%;

    z-index: 0;

    pointer-events: none;
}


/* =========================================================
   COLUMNA DERECHA
========================================================= */

.hero-info {
    position: relative;

    z-index: 10;

    grid-column: 2;

    padding-left: 30px;
    padding-right: 20px;

    box-sizing: border-box;
}


/* =========================================================
   XV AÑOS
========================================================= */

.hero-year {
    display: inline-block;

    padding: 6px 28px;

    border-radius: 50px;

    border:
        2px solid rgba(0, 164, 228, .6);

    color: #00A4E4;

    font-weight: 700;

    letter-spacing: 4px;

    font-size: .9rem;
}


/* =========================================================
   TÍTULO
========================================================= */

.hero h1 {
    position: relative;

    z-index: 5;

    font-family: var(--font-title);

    font-size:
        clamp(4rem, 6vw, 6rem);

    font-weight: 800;

    line-height: .9;

    color: white;

    margin: 25px 0 0;
}

.hero h1 span {
    display: block;

    color: #00A4E4;
}


/* =========================================================
   SUBTÍTULO
========================================================= */

.hero h2 {
    font-size:
        clamp(1.1rem, 1.6vw, 1.5rem);

    font-weight: 500;

    line-height: 1.4;

    color: white;

    max-width: 600px;

    margin: 30px 0;
}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.hero p {
    color: rgba(255, 255, 255, .75);

    line-height: 1.8;

    max-width: 560px;

    margin: 0;
}


/* =========================================================
   BOTONES
========================================================= */

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 40px;
}

.btn-primary,
.btn-outline {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 30px;

    border-radius: 50px;

    text-decoration: none;

    font-weight: 700;

    box-sizing: border-box;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}

.btn-primary {
    background: #00A4E4;

    color: white;
}

.btn-primary:hover {
    background: #008fc7;

    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid white;

    color: white;

    background: transparent;
}

.btn-outline:hover {
    background: white;

    color: #1D2D5C;

    transform: translateY(-3px);
}


/* =========================================================
   DATOS DEL EVENTO
========================================================= */

.hero-data {
    display: grid;

    grid-template-columns:
        repeat(4, auto);

    gap: 30px;

    margin-top: 55px;
}

.hero-data div {
    display: flex;

    flex-direction: column;

    min-width: 0;
}

.hero-data strong {
    font-size:
        clamp(1.5rem, 2.2vw, 2rem);

    line-height: 1;

    color: white;

    white-space: nowrap;
}

.hero-data span {
    margin-top: 8px;

    color: rgba(255, 255, 255, .6);

    font-size: .85rem;

    line-height: 1.3;
}
/*
 =========================================================
   MÓVIL
   NO MODIFICAR — ESTE ES EL DISEÑO APROBADO
========================================================= */

@media (max-width: 991px) {

    .hero {
        min-height: 100svh;
    }

    .hero-container {
        position: relative;

        min-height: 100svh;

        grid-template-columns: 1fr;

        padding:
            110px 20px 50px;
    }


    /* -----------------------------------------------------
       SHOWCASE COMO FONDO
    ----------------------------------------------------- */

    .hero-showcase {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        min-height: 0;

        z-index: 0;

        grid-column: 1 / -1;
    }


    /* -----------------------------------------------------
       IMAGEN COMPLETA
    ----------------------------------------------------- */

    .hero-image {
        position: absolute;

        left: 0;
        top: 0;

        width: 100%;
        height: 100%;

        z-index: 0;
    }

    .hero-image img {
        width: 100%;
        height: 100%;

        object-fit: cover;

        object-position: center center;

        animation: none;
    }


    /* -----------------------------------------------------
       DEGRADADO MÓVIL
    ----------------------------------------------------- */

    .hero-image::before {
        background:
            linear-gradient(
                180deg,
                rgba(16, 25, 54, .65) 0%,
                rgba(16, 25, 54, .55) 45%,
                #101936 100%
            );
    }


    /* -----------------------------------------------------
       INFORMACIÓN
    ----------------------------------------------------- */

    .hero-info {
        position: relative;

        z-index: 10;

        width: 100%;
        min-width: 0;

        padding: 20px 0;

        grid-column: 1 / -1;
    }


    /* -----------------------------------------------------
       XV AÑOS
    ----------------------------------------------------- */

    .hero-year {
        padding:
            5px 20px;

        font-size: .75rem;

        letter-spacing: 3px;
    }


    /* -----------------------------------------------------
       TÍTULO
    ----------------------------------------------------- */

    .hero h1 {
        font-size:
            clamp(2.8rem, 13vw, 4rem);

        line-height: .92;

        margin-top: 22px;

        word-break: normal;
    }


    /* -----------------------------------------------------
       SUBTÍTULO
    ----------------------------------------------------- */

    .hero h2 {
        font-size: 1.05rem;

        line-height: 1.45;

        margin:
            22px 0 18px;
    }


    /* -----------------------------------------------------
       PÁRRAFO
    ----------------------------------------------------- */

    .hero p {
        font-size: .95rem;

        line-height: 1.6;
    }


    /* -----------------------------------------------------
       BOTONES
    ----------------------------------------------------- */

    .hero-buttons {
        flex-direction: column;

        width: 100%;

        margin-top: 30px;

        gap: 12px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;

        min-height: 50px;

        padding: 0 20px;
    }


    /* -----------------------------------------------------
       DATOS
    ----------------------------------------------------- */

    .hero-data {
        grid-template-columns:
            repeat(2, 1fr);

        gap:
            22px 15px;

        margin-top: 40px;
    }

    .hero-data strong {
        font-size: 1.45rem;
    }

    .hero-data span {
        font-size: .75rem;
    }


    /* -----------------------------------------------------
       OCULTAR DECORACIÓN
    ----------------------------------------------------- */

    .floating-card,
    .hero-speaker-card,
    .security-card {
        display: none;
    }

    .hero-glow {
        width: 280px;
        height: 280px;

        filter: blur(100px);
    }
}


/* =========================================================
   MÓVIL MUY PEQUEÑO
========================================================= */

@media (max-width: 380px) {

    .hero-container {
        padding:
            100px 16px 40px;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero h2 {
        font-size: .95rem;
    }

    .hero p {
        font-size: .88rem;
    }

    .hero-data {
        gap:
            18px 10px;
    }

    .hero-data strong {
        font-size: 1.25rem;
    }

    .hero-data span {
        font-size: .7rem;
    }
}
/* =========================================================
   HERO DESKTOP — IMAGEN PEGADA AL BORDE IZQUIERDO
   ========================================================= */

@media (min-width: 992px) {

    .hero-container {
        position: relative;

        min-height: 100vh;

        display: grid;
        grid-template-columns: 55% 45%;
        align-items: center;

        padding-top: 120px;
        padding-bottom: 70px;

        box-sizing: border-box;
    }

    .hero-showcase {
        position: static;

        width: 100%;
        height: 100%;
        min-height: 650px;
    }

    .hero-image {
    position: absolute !important;

    left: calc((100% - 100vw) / 2);
    top: 0;

    width: calc(55% + (100vw - 100%) / 2);
    height: 100%;

    overflow: hidden;
    z-index: 0;
}

    .hero-image img {
        display: block;

        width: 100%;
        height: 100%;

        object-fit: fill;
        object-position: left center;

        opacity: .35;

        animation: slowZoom 15s ease-in-out infinite alternate;
    }

    .hero-info {
        position: relative;
        z-index: 10;

        padding-left: 30px;
        padding-right: 20px;
    }
}