/* ----------------- HEADER----------------- */
.header-general {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.header-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/Imagenes/ImagenServiciosHeader.jpg') no-repeat center center/cover;
    filter: blur(3px); 
    z-index: 0;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 62, 128, 0.6);
    z-index: 1;
}

.header-content {
    position: absolute;
    top: 40%;
    left: 15%;
    transform: translateY(-50%);
    color: white;
    text-align: left;
    z-index: 2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(35px); 
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-content h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: 'VTF Justina', sans-serif;
    opacity: 0; 
    animation: fadeInUp 1s ease-out forwards; 
}
    
.underline {
    width: 100px;
    height: 3px;
    background-color: #48b2e8;
    margin-bottom: 20px;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(650px); 
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.breadcrumb {
    font-size: 15px;
    color: #ffffff;
    opacity: 0.8;
    display: flex;
    align-items: center;
    margin-top: 5px;
    font-family: 'Slate', sans-serif;
    opacity: 0; 
    animation: fadeInRight 1s ease-out 0.5s forwards;
}

.breadcrumb i{
    font-size: 15px; 
    margin: 0 8px; 
    color: #48b2e8; 
}

.breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.breadcrumb a:hover {
    color: #F8A22F;
}

.breadcrumb span {
    margin-left: 5px;
}


/* ----------------- NUESTROS BENEFICIOS----------------- */
.nuestros-beneficios {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    background-color: #fff;
}

.beneficios-container {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.beneficios-texto {
    max-width: 460px;
    margin: 0 auto 40px;
}

.beneficios-subtitulo {
    font-family: 'VTF Justina', sans-serif;
    font-size: 14px;
    color: #48b2e8;
    text-transform: uppercase;
}

.beneficios-texto h2 {
    font-family: 'VTF Justina', sans-serif;
    font-size: 36px;
    color: #146ab5;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.beneficios-texto h2.visible{
    opacity: 1;
    transform: translateY(0);
}

.beneficios-underline {
    width: 80px;
    height: 3px;
    background-color: #48b2e8;
    margin: 10px auto 20px;
}

.beneficios-texto p {
    font-family: 'SlateLight', sans-serif;
    font-size: 14px;
    color: #626262;
    line-height: 1.5;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.beneficio-item {
    display: flex;
    align-items: center;
    background-color: #48b2e8;
    padding: 20px;
    text-align: left;
    color: white;
    gap: 15px;
    transition: background-color 0.5s ease-in-out, transform 0.3s ease-in-out;
}

.beneficio-item:hover {
    background-color: #146ab5;
}

.beneficio-item img {
    width: 50px;
    height: 50px;
}

.beneficio-item p {
    font-family: 'SlateLight', sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.beneficio-item-full {
    grid-column: span 2;
}

.beneficio-item img {
    filter: invert(100%) brightness(100%);
}

/* ----------------- NUESTROS BENEFICIOS - RESPONSIVE ----------------- */
@media screen and (max-width: 768px) {
    .nuestros-beneficios {
        padding: 40px 15px;
    }

    .beneficios-container {
        max-width: 100%;
        width: 100%;
        padding: 0 15px;
    }

    .beneficios-texto {
        max-width: 100%;
        text-align: center;
    }

    .beneficios-texto h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .beneficios-underline {
        width: 60px;
        height: 3px;
        margin: 10px auto 20px;
    }

    .beneficios-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }

    .beneficio-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background-color: #48b2e8;
        padding: 20px;
        color: white;
        gap: 10px;
        border-radius: 8px;
    }

    .beneficio-item img {
        width: 40px;
        height: 40px;
    }

    .beneficio-item p {
        font-size: 14px;
        line-height: 1.4;
    }
}



/* ---------------- UNIRTE A NOSOTROS ---------------- */
.unirte-nosotros {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.unirte-container {
    max-width: 1100px;
    width: 100%;
}

.unirte-texto {
    max-width: 800px;
    margin: 0 auto 40px;
}

.unirte-subtitulo {
    font-family: 'VTF Justina', sans-serif;
    font-size: 14px;
    color: #48b2e8;
    text-transform: uppercase;
}

.unirte-texto h2 {
    font-family: 'VTF Justina', sans-serif;
    font-size: 36px;
    color: #146ab5;
    margin-bottom: 10px;
    margin-top: 0;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.unirte-texto h2.visible{
    opacity: 1;
    transform: translateY(0);
}

.unirte-underline {
    width: 80px;
    height: 3px;
    background-color: #48b2e8;
    margin: 10px auto 20px;
}

.unirte-texto p {
    font-family: 'SlateLight', sans-serif;
    font-size: 14px;
    color: #626262;
    line-height: 1.5;
}

.testimonios-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    overflow: hidden;
}

.testimonios {
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    position: relative;
}

.testimonios-wrapper {
    display: flex;
    width: 200%; 
    transition: transform 0.5s ease-in-out;
    gap: 15px;
}

.testimonio {
    flex: 0 0 19%; 
    background-color: #f7f7f7;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin: 0 10px;
}

.testimonio p{
    font-family: 'SlateLight', sans-serif;
    font-size: 14px;
    color: #717171;
}

.testimonio span{
    font-family: 'SlateLight', sans-serif;
    font-size: 14px;
    color: #474747;
}

.testimonio-autor {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    gap: 10px;
}

.testimonio-autor img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.prev-btn, .next-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #F8A22F;
    transition: color 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    color: #146ab5;
}

@media screen and (max-width: 768px) {
    .testimonios-carousel {
        display: flex;
        align-items: center;
        justify-content: space-between; 
        position: relative;
        width: 100%;
        padding: 0 15px; 
    }

    .testimonios {
        width: 100%;
        max-width: 300px; 
        overflow: hidden;
        position: relative;
        margin: auto;
    }

    .testimonios-wrapper {
        display: flex;
        width: 100%; 
        transition: transform 0.5s ease-in-out;
    }

    .testimonio {
        flex: 0 0 100%;
        background-color: #f7f7f7;
        padding: 15px;
        border-radius: 10px;
        text-align: center;
        margin: auto;
        width: 90%; 
    }

    .testimonio p {
        font-family: 'SlateLight', sans-serif;
        font-size: 13px;
        color: #717171;
    }

    .testimonio-autor {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 10px;
        gap: 10px;
    }

    .testimonio-autor img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }

    .prev-btn, .next-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        font-size: 22px;
        cursor: pointer;
        color: #F8A22F;
        transition: color 0.3s ease;
        z-index: 10;
    }

    .prev-btn {
        left: 5px; 
    }

    .next-btn {
        right: 5px; 
    }

    .prev-btn:hover, .next-btn:hover {
        color: #146ab5;
    }
}


/* ---------- SECCIÓN LLAMADO A LA ACCIÓN ALIADOS ---------- */
.llamado-accion-aliados {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    background-color: #fff;
    max-width: 1500px;
    margin: auto;
}

.contenedor-llamado-aliados {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.imagen-izquierda-aliados {
    max-width: 350px;
    height: auto;
    position: relative;
    margin-top: 60px;
    z-index: 2;
}

.texto-llamado-aliados {
    flex: 1;
    text-align: left;
    max-width: 500px;
    padding: 0 40px;
}

.subtitulo-llamado-aliados {
    font-family: 'VTF Justina', sans-serif;
    font-size: 14px;
    color: #57B5E3;
    font-weight: bold;
    letter-spacing: 1px;
}

.texto-llamado-aliados H2{
    font-family: 'VTF Justina', sans-serif;
    font-size: 36px;
    color: #146ab5;
    margin-bottom: 10px;
    margin-top: 0;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.texto-llamado-aliados H2.visible{
    opacity: 1;
    transform: translateY(0);
}

.texto-llamado-aliados p{
    font-family: 'SlateLight', sans-serif;
    font-size: 14px;
    color: #626262;
    margin-bottom: 10px;
    margin-top: 0;
    line-height: 1.2;
}

.resaltado-llamado-aliados {
    color: #F5B400;
    font-weight: bold;
    display: inline-block;
    position: relative;
}

.resaltado-llamado-aliados::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background-color: #F5B400;
}

.subrayado-llamado-aliados {
    width: 50px;
    height: 3px;
    background-color: #57B5E3;
    margin: 15px auto;
}

.boton-llamado-aliados {
    display: inline-block;
    background: linear-gradient(90deg, #FFA600, #FF6F00);
    color: white;
    font-family: 'VTF Justina', sans-serif;
    font-size: 13px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 25px;
    margin-top: 20px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(-80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.boton-llamado-aliados.visible{
    opacity: 1;
    transform: translateY(0);
}

.boton-llamado-aliados i {
    margin-left: 10px;
}

.boton-llamado-aliados:hover {
    background: linear-gradient(90deg, #FF6F00, #FFA600);
    transform: translateY(-5px);
}

.imagen-derecha-aliados {
    max-width: 500px;
    height: auto;
    position: relative;
    z-index: 1;
}


@media screen and (max-width: 768px) {
    .llamado-accion-aliados {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 20px;
    }

    .contenedor-llamado-aliados {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .imagen-izquierda-aliados {
        max-width: 250px; 
        height: auto;
        margin: 0 auto 20px auto;
    }

    .texto-llamado-aliados {
        max-width: 100%;
        padding: 0 20px;
    }

    .texto-llamado-aliados h2 {
        font-size: 28px;
        text-align: center;
        line-height: 1.3;
    }

    .texto-llamado-aliados p {
        font-size: 14px;
        text-align: center;
    }

    .resaltado-llamado-aliados {
        font-size: 16px;
    }

    .boton-llamado-aliados {
        width: 80%;
        font-size: 14px;
        padding: 12px;
        text-align: center;
        margin: 20px auto 0 auto;
    }

    .imagen-derecha-aliados {
        max-width: 90%;
        height: auto;
        margin-top: 20px;
    }
}



