.template-1 section:last-child{
    margin-bottom: 80px;
}

.template-1 .section-home{
    width:100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    padding: var(--vertical-separator) var(--side-separator);
    position: relative;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.80) 0%, rgba(255, 255, 255, 0.80) 100%), var(--bg-mobile) lightgray 0% 0% / 100px 100px repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 60px;
}

.template-1 .section-home .video-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

/* El contenido siempre por encima del video */
.template-1 .section-home > *:not(.video-bg){
    position: relative;
    z-index: 1;
}

/* .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #65050959;
    pointer-events: none;
} */


.template-1 .section-home .home-info{
    width: 100%;
    min-height: 660px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    gap: 32px;
    flex: 1 0 0;
    z-index: 2;
}

.template-1 .section-home .home-info > div{
    width: 100%;
}

.template-1 .section-home .home-info .text-info-event{
    text-align: left;
}
.template-1 .section-home .home-info .text-info-event span{
    color: var(--color_1);
    font-family: var(--font-primary);
    font-size: var(--font-base);
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

@media (min-width: 500px) {

    .template-1 .section-home{
        background: linear-gradient(0deg, rgba(255, 255, 255, 0.80) 0%, rgba(255, 255, 255, 0.80) 100%), var(--bg-tablet) lightgray 0% 0% / 100px 100px repeat;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    .template-1 .section-home .home-info{
        width: 420px;
        max-width: 420px;
    }

    .template-1 .section-home .home-info .text-info-event span{
        line-height: 24px;
    }

}

@media (min-width: 768px) {

    .template-1 .section-home{
        padding: var(--vertical-separator) 207px 0 207px;
        align-items: flex-start;
    }

}

@media (min-width: 992px) {

    .template-1 .section-home{
        padding: var(--vertical-separator) var(--side-separator) 0 var(--side-separator);
        align-items: flex-start;
        background: var(--bg-desktop) lightgray 0% 0% / 100px 100px repeat;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    .template-1 .section-home .home-info{
        height: auto;
    }

}

@media (min-width: 1240px) {

    .template-1 .section-home .home-info .info-event{
        display: none;
    }
    
    .video-bg {
        object-position: center;
    }

}

WWWW
/* "Proximamente" bajo la caja de inicio (Figma: x2 = 44px, alineado a la derecha).
   El color, la familia (Gilroy-Light) y el peso ya los da la clase .proximamente. */
.template-1 .section-home .home-info .proximamente{
    font-size: 44px;
    text-align: right;
}

/* Difuminado blanco SOBRE el video en movil y tablet, para que se lea la caja de
   inicio. Va en ::after y no en el background de la seccion, porque ese fondo se
   pinta POR DEBAJO del video. z-index 0 = mismo nivel que el video, pero al ir
   despues en el orden de pintado queda encima; el contenido va en z-index 1. */
@media (max-width: 991px) {
    .template-1 .section-home::after{
        content: '';
        position: absolute;
        top: 0; right: 0; bottom: 0; left: 0;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.70) 100%);
        z-index: 0;
        pointer-events: none;
    }
}

/* El video es 16:9 (1920x1080). En movil vertical, con object-fit: cover, solo se ve
   una franja central estrecha (~26% del ancho original). Con este porcentaje se elige
   QUE franja se ve:
       50%  = el centro del plano
       <50% = se ve mas de la IZQUIERDA del plano
       >50% = se ve mas de la DERECHA del plano
   Es el unico numero que hay que tocar para encuadrarlo. */
@media (max-width: 499px) {
    .template-1 .section-home .video-bg{
        object-position: 65% center;
    }
}
