.et_pb_section_4_1 .heading-wrapper,
.et_pb_section_4_3,
.et_pb_section_4_4 {
    background-repeat: no-repeat;
}

.et_pb_section_4_1 .row,
.et_pb_section_4_2 .row,
.et_pb_section_4_3 .row,
.et_pb_section_4_4 .row {
    display: flex;
    margin: auto;
    max-width: 1080px;
    padding: 24px 0;
}

.et_pb_section_4_1 .heading,
.et_pb_section_4_3 .heading,
.et_pb_section_4_1 h2,
.et_pb_section_4_2 h3,
.et_pb_section_4_3 h3,
.et_pb_section_4_4 h3 {
    font-family: 'Libre Franklin',Helvetica,Arial,Lucida,sans-serif;
}

.et_pb_section_4_1 .row:nth-of-type(2) {
    align-items: center;
}

.et_pb_section_4_1 .row:nth-of-type(2) .col:nth-of-type(1),
.et_pb_section_4_1 .row:nth-of-type(2) .col:nth-of-type(2) {
    padding: 0px 64px 0 0;
}

.et_pb_section_4_1 .row:nth-of-type(2) .col:nth-of-type(1) {
    flex: 6;
}

.et_pb_section_4_1 .row:nth-of-type(2) .col:nth-of-type(2) {
    flex: 4;
}

.et_pb_section_4_1 h2 {
    font-size: 2rem;
}

.et_pb_section_4_1 .heading-wrapper {
    aspect-ratio: 152 / 39;
    background-image: url(../../assets/images/fondo-historia.png);
    min-height: 96px;
    position: relative;
}

.et_pb_section_4_1 .heading {
    color: #000;
    font-size: 2rem;
    font-weight: 700;
    left: 39%;
    position: absolute;
    top: 55%;
}

.et_pb_section_4_2 {
    background-color: #EDEDED;
}

.et_pb_section_4_2 .row {
    gap: 2rem;
}

.et_pb_section_4_2 h3 {
    color: #000;
    font-size: 2rem;
    font-weight: 700;
    padding-bottom: 1rem;
    text-align: right;
}

.et_pb_section_4_2 p {
    background-color: #fff;
    padding: 1.4rem 1.4rem 2rem 1.4rem !important;
}

.et_pb_section_4_3 {
    background-image: url(../../assets/images/fondo-nuestros-valores.webp);
    background-position: top right;
    background-size: 40% 60%;
}

.et_pb_section_4_3 h3:before {
    background-color: #ffb400;
    content: '';
    height: 2px;
    left: 0;
    position: absolute;
    top: -1rem;
    width: 200%;
}

.et_pb_section_4_3 h3 {
    font-size: 2rem;
    line-height: 1.1;
    position: relative;
}

.et_pb_section_4_3 ul {
    display: grid;
    grid-template-columns: auto auto;
    list-style-type: none;
}

.et_pb_section_4_3 li:before {
    background-color: #ffb400;
    border-radius: 2rem;
    content: '';
    height: 1.6rem;
    left: -2.3rem;
    position: absolute;
    top: 0;
    width: 1.6rem;
}

.et_pb_section_4_3 li {
    margin-bottom: 1.2rem;
    padding-right: 4rem;
    position: relative;
}

.et_pb_section_4_3 .heading {
    color: #000;
    font-size: 1.6rem;
    padding-bottom: 0.4rem;
}

.et_pb_section_4_3 p:not(.heading) {
    line-height: 1.4;
}

.et_pb_section_4_4 {
    background-image: url(../../assets/images/fondo-alianzas.jpg);
    background-size: cover;
}

.et_pb_section_4_4 .col {
    text-align: center;
    width: 100%;
}

.et_pb_section_4_4 h3,
.et_pb_section_4_4 p {
    color: #fff;
}

.et_pb_section_4_4 h3 {
    font-size: 2rem;
    font-weight: 600;
    padding: 4rem 0 0;
}

.et_pb_section_4_4 p {
    font-weight: 600;
    line-height: 1.4;
    padding: 0 17rem;
    text-align: left;
}

.et_pb_section_4_4 .logos {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: center;
    padding: 0 14rem;
}

.et_pb_section_4_4 .logos .logo-canaco {
    max-width: calc(40% - 4rem);
}

.et_pb_section_4_4 .logos .logo-canacintra {
    max-width: calc(20% - 4rem);
}

.et_pb_section_4_4 .logos .logo-bni {
    max-width: calc(20% - 4rem);
}

.et_pb_section_4_4 .logos .logo-anes {
    max-width: calc(20% - 4rem);
}

.et_pb_section_4_4 .logos .logo-banamex {
    max-width: calc(40% - 4rem);
}

.et_pb_section_4_4 .logos .logo-cibanco {
    max-width: calc(40% - 4rem);
}

.et_pb_section_4_4 img {
    flex: 1 1 auto;
    height: auto;
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .et_pb_section_4_1 .row,
    .et_pb_section_4_2 .row,
    .et_pb_section_4_3 .row,
    .et_pb_section_4_4 .row {
        max-width: 720px;
    }

    .et_pb_section_4_1 .row:nth-of-type(2) .col:nth-of-type(1),
    .et_pb_section_4_1 .row:nth-of-type(2) .col:nth-of-type(2) {
        padding: 0;
    }

    .et_pb_section_4_1 .row:nth-of-type(2) .col:nth-of-type(1) p {
        padding-right: 4rem;
    }

    .et_pb_section_4_1 .heading-wrapper {
        min-height: 56px;
    }

    .et_pb_section_4_1 .heading {
        left: 35%;
    }

    .et_pb_section_4_3 {
        background-size: 40% 40%;
    }

    .et_pb_section_4_3 .row:nth-of-type(2) {
        padding-left: 1rem;
    }

    .et_pb_section_4_4 p {
        padding: 0 6rem;
    }

    .et_pb_section_4_4 .logos {
        padding: 0;
    }
}

@media only screen and (max-width: 767px) {
    .et_pb_section_4_1 .row,
    .et_pb_section_4_2 .row,
    .et_pb_section_4_3 .row,
    .et_pb_section_4_4 .row {
        flex-direction: column;
        max-width: 360px;
    }

    .et_pb_section_4_1 .row:nth-of-type(2) {
        flex-direction: column-reverse;
    }

    .et_pb_section_4_1 .row:nth-of-type(2) .col:nth-of-type(1),
    .et_pb_section_4_1 .row:nth-of-type(2) .col:nth-of-type(2) {
        padding: 0;
    }

    .et_pb_section_4_1 .row:nth-of-type(2) .col:nth-of-type(1) {
        padding: 0 2rem;
    }

    .et_pb_section_4_1 .row:nth-of-type(2) .col:nth-of-type(2) {
        margin-bottom: 2rem;
    }

    .et_pb_section_4_1 h2 {
        text-align: center;
    }

    .et_pb_section_4_1 .heading-wrapper {
        min-height: 66px;
    }

    .et_pb_section_4_2 h3 {
        padding-right: 1rem;
    }

    .et_pb_section_4_2 p {
        margin: 0 1rem;
    }

    .et_pb_section_4_3 {
        background-size: 40% 16%;
    }

    .et_pb_section_4_3 .row {
        padding-left: 1rem;
    }

    .et_pb_section_4_3 .row:nth-of-type(2) {
        padding-left: 2.4rem;
    }

    .et_pb_section_4_3 h3:before {
        width: 56%;
    }

    .et_pb_section_4_3 ul {
        grid-template-columns: auto;
    }

    .et_pb_section_4_4 p {
        padding: 0 3rem;
    }

    .et_pb_section_4_4 .logos {
        padding: 0 0.6rem;
    }

    .et_pb_section_4_4 .logos .logo-canacintra {
        max-width: calc(30% - 4rem);
    }

    .et_pb_section_4_4 .logos .logo-bni {
        max-width: calc(30% - 4rem);
    }

    .et_pb_section_4_4 .logos .logo-anes {
        max-width: calc(30% - 4rem);
    }

    .et_pb_section_4_4 .logos .logo-banamex {
        max-width: calc(50% - 4rem);
    }

    .et_pb_section_4_4 .logos .logo-cibanco {
        max-width: calc(50% - 4rem);
    }
}