.s-info-nosotros {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 20px;
}

.content-title-nosotros {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background-color: var(--verde);
    gap: 20px;
}

.content-title-nosotros img {
    width: 60px;
}

.content-title-nosotros h4 {
    max-width: calc(100% - 60px);
    color: #fff;
    font-weight: bold;
    font-size: 50px;
    border-left: 2px solid #fff;
    padding-left: 10px;
}

.content-text-nosotros {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 60px 80px;
    background-color: #E8E8E8;
    gap: 10px;
}

.content-text-nosotros p {
    text-align: justify;
    font-size: 20px;
}

.s-info-nosotros.vision .content-title-nosotros h4 {
    border-left: none;
    border-right: 2px solid #fff;
    
}
.s-info-nosotros.vision .content-title-nosotros {
    background-color: var(--rojo);
    padding-left: 0px;
    padding-right: 10px;
}

#s-valores {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 80px 0px;
}

#content-valores {
    width: 70%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    align-items: center;
    position: relative;
}

#content-valores::before {
    content: "";
    position: absolute;
    top: 75px;
    left: 15%;
    width: 70%;
    height: 4px;
    background-color: var(--verde);
    z-index: -1;

}

.card-valores {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.content-img-card-valores {
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 3px solid var(--verde);
    padding: 6px;
    background-color: #fff;
}

.content-img-card-valores img {
    width: 70%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.card-valores h5 {
    font-size: 22px;
    font-weight: bold;
    color: var(--verde);
}

.card-valores p {
    font-size: 18px;
    color: var(--grid-oscuro);
    text-align: center;
}


@media screen and (max-width: 1024px) {
    .s-info-nosotros {
        flex-direction: column;
    }
    .s-info-nosotros.vision {
        flex-direction: column-reverse;
    }

    .content-title-nosotros {
        width: 100%;
        padding: 10px 20px;
    }

    .content-text-nosotros {
        width: 100%;
        padding: 20px;
    }

    .content-title-nosotros h4 {
        max-width: calc(100% - 45px);
        font-size: 25px;
    }

    .content-title-nosotros img {
        width: 45px;
    }

    .content-text-nosotros p {
        font-size: 18px;
    }

    #content-valores {
        width: 100%;
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 30px;
    }

    #s-valores {
        padding: 20px;
    }

    #content-valores::before {
        display: none;
    }

    .content-img-card-valores {
        width: 90px;
        height: 90px;
    }
}