/* Sección imagen principal y texto descriptivo */
.main-image-container {
    text-align: center;
    margin-bottom: 86px;
}

.quienes-somos-page {
    font-family: 'Inria Sans', sans-serif;
    color: black;
}

.quienes-somos-main-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.company-description {
    text-align: center;
    max-width: 1050px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.company-description p {
    font-family: 'Inria Sans', sans-serif;
    font-size: 24px;
    line-height: 36px;
    margin: 0;
    font-weight: 400;
    padding: 0;
    letter-spacing: -0.5px;
    word-spacing: -1px;
    margin-bottom: 86px;
}

.mision-historia {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.mision-historia {
    position: relative;
}

.mision-historia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    background-color: #F4F2F2;
    transform: translateX(-50%);
    z-index: -1;
}

.section-content {
    display: grid;
    grid-template-columns: repeat(2, 50%);
}

.section-image {
    max-width: 630px;
}

.section-image img {
    height: 100%;
}

.historia-section .section-text {
    padding-right: 97px;
    max-height: 310px;
}

.section-text h2 {
    font-weight: 700;
    font-size: clamp(25px, 35px, 40px);
    height: 40px;
    margin: 30px 0px;
}

.historia-section .section-text h2 {
    margin: 35px 0px;
}

.mision-vision-section .section-text p:last-child {
    margin-bottom: 97px;
}

.mision-vision-section .section-text {
    margin-right: 65px;
    margin-left: 23px;
}

.section-text p:last-child {
    margin-bottom: 74px;
}

.cifras-title {
    font-weight: 700;
    font-size: 40px;
    height: 40px;
    margin: 80px 0px 50px 0;
    text-align: center;
}

.cifras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0px 103px;
    row-gap: 48px;
    column-gap: 54px;
}

.cifra-item {
    display: flex;
    max-width: 315px;
    width: 100%;
    flex-direction: column;
    text-align: center;
}

.cifra-item img {
    height: 127px;
    width: auto;
    object-fit: cover;
}

.cifra-content {
    height: 103px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--color-brand-primary);
    color: var(--color-text-on-brand);
}

.cifra-number {
    color: var(--color-text-on-brand);
    font-weight: 700;
    font-size: 36px;
}

.cifra-text {
    color: var(--color-text-on-brand);
    font-size: 16px;
}

.testimonios-section {
    position: relative;
}

.testimonios-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    background-color: #F4F2F2;
    transform: translateX(-50%);
    z-index: -1;
}

.testimonios-grid {
    display: flex;
    gap: 112px;
}

.testimonio-quote {
    text-align: center;
}

.testimonios-header {
    text-align: center;
    margin: 42px 0px;
}

.testimonios-header h2 {
    font-weight: 400;
    font-size: 32px;
}

.testimonios-header h3 {
    font-weight: 700;
    font-size: 36px;
}

.testimonio-info h4 {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 0px;
}

.testimonio-info p {
    font-weight: 400;
    font-size: 16px;
}

.testimonio-video {
    margin: 23px 0px;
}

.testimonio-quote p {
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    margin: 0px 10px 50px 10px;
}

.cta-section {
    display: flex;
    flex-direction: column;
    margin: 0px 200px;
    align-items: center;
}

.cta-section h2 {
    text-align: center;
    font-weight: 700;
    font-size: 36px;
    margin: 55px 0px 28px 0px;
}

.cta-section p {
    text-align: center;
    font-weight: 400;
    font-size: 24px;
    margin: 0px 20px 38px 0px;
}

.cta-button {
    font-size: 24px;
    font-family: 'Inria Sans', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    color: var(--color-text-on-brand);
    background-color: var(--color-brand-primary);
    padding: 10.5px 10.5px;
}

.cta-button-container {
    margin-bottom: 34px;
}

.cta-button:hover {
    text-decoration: none;
    color: var(--color-text-on-brand);
    opacity: 0.9;
}

.cta-button-container a:visited {
    color: var(--color-text-on-brand);
}

@media (max-width: 1024px) {
    .section-content {
        display: block;
    }

    .section-image {
        margin: auto;
    }

    .section-content .section-text {
        text-align: center;
        padding-right: 0px;
        margin: 0px 60px;
    }

    .historia-section .section-content {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media (min-width: 1100px) {
    .testimonio-video {
        width: 560px;
    }
}

@media (max-width: 1099px) {
    .cifras-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cifra-item {
        max-width: 100%;

    }

    .testimonios-grid {
        flex-direction: column;
        gap: 56px;
        margin: 0px 60px;
    }

    .testimonio-quote p {
        margin: 0px 0px 50px;
    }
}

@media (max-width: 865px) {
    .cifras-grid {
        margin: 0px 10px;
    }

    .cta-section {
        margin: 0px 0px;
    }
}

@media (max-width: 600px) {
    .cifras-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .testimonios-grid {
        flex-direction: column;
        gap: 56px;
        margin: 0px 20px;
    }

    .section-content .section-text {
        margin: 0px;
    }
}

@media (max-width: 405px) {
    .mision-vision-section .section-content h2 {
        margin: 30px 0px 60px;
    }
}