/* 01 - Hero section */
/*------------------------------------------------------------------*/
.hero-section {
    width: 100%;
    padding: 80px 10vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    /* animation: subir 1s ease-out forwards; */
}

.hero-section .nombreEmpresa {
    color: var(--text-color-hoover);
    font-weight: 800;
}

.hero-section p {
    color: var(--text-color-default);
    font-size: 18px;
    max-width: 700px;
    line-height: 1.6;
}

.hero-section .btn-hero {
    background-color: var(--text-color-hoover);
    color: #fff;
    border: 1px solid var(--text-color-hoover);
    padding: 16px 48px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all .5s;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;

    position: relative;
    overflow: hidden;

    transition: all 0.3s ease;
    animation: pulse-subtle 3s ease-in-out infinite;
}

.hero-section .btn-hero:hover {
    background-color: #fff;
    color: var(--text-color-hoover);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(210, 16, 64, 0.4);

    /* Detiene el pulso al hacer hover */
    animation: none;
}

.hero-section .btn-hero:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(210, 16, 64, 0.3);
}

.hero-section .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: skewX(-20deg);
    pointer-events: none;

    /* Animación infinita del brillo */
    animation: shine-animation 3s ease-in-out infinite;
}

/* Animación del brillo que se repite infinitamente */
@keyframes shine-animation {
    0% {
        left: -100%;
    }

    50% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}


@keyframes pulse-subtle {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(210, 16, 64, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(210, 16, 64, 0);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 5vw;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .hero-section .btn-hero {
        padding: 14px 36px;
        font-size: 16px;
    }
}
/*------------------------------------------------------------------*/

/* 02 - Secciones de contenido */
/*------------------------------------------------------------------*/
section {
    width: 100%;
    /* background-color: #54595F; */
    margin: 6rem 0;
}

section.info_campus {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
}

section.info_campus.two {
    padding: 0 10vw 0 10vw;

}

section .contenedorInformacion {
    /* gap: 1rem; */
    justify-content: space-between;
}

section .contenedorInformacion .izq {
    width: 48%;
}

section.info_campus.two .contenedorTexto .contenedorInformacion .der {
    width: 48%;
    align-items: center;
}

section.info_campus.two .contenedorTexto .contenedorInformacion .der iframe {
    width: 100%;
    height: 400px;
}

section.info_campus.two .contenedorTexto .contenedorInformacion ul {
    padding-left: 30px;
}

section.info_campus.three h3 {
    margin-bottom: 30px;
}




/*--------------------*/

section.about_us,
section.casosExito {
    padding: 0 10vw 0 10vw;
}


section.about_us:hover h2.divisor::before {
    content: "";
}



section .contenedorTexto {
    /* padding: 40px 0 0 7vw; */
    margin-top: 40px;
    width: 90%;
}


section.casosExito {
    justify-content: center;
    align-items: center;
}


section.casosExito .container {
    width: 80%;
    padding: 40px;
    flex-direction: column;
    display: grid;
    margin: 0 auto;

}

section.casosExito .container .contenedor:nth-child(odd) {
    justify-self: left;
}


section.casosExito .container .contenedor:nth-child(even) {
    margin: 30px 0;
    justify-self: right;
}




section.contactInformacino .contenedorInformacion {
    margin: 20px 0;
}
/*------------------------------------------------------------------*/