/* ============================================================
   LOEX — Página: Nosotros
   ============================================================ */

.section-aboutus {
    width: 100%;
    background-color: var(--color-white);
}

body[data-page="nosotros"] .site-header__inner {
    margin-top: 58px;
}

/* ── Hero de sección ──────────────────────────────────────── */
.img-aboutus {
    width: 100%;
    height: 373px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(90deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.58) 24%, rgba(0,0,0,0.08) 58%),
                image-set(
                    url('../../img/aboutus/aboutus1.webp') type('image/webp'),
                    url('../../img/aboutus/aboutus1.jpg') type('image/jpeg')
                ) center / cover no-repeat;
    border-radius: 0 0 18px 18px;
    padding: 0 9.2% 82px;
    overflow: hidden;
}

.img-aboutus h1 {
    color: var(--color-white);
    font-size: clamp(3rem, 4.2vw, 3.55rem);
    font-weight: 500;
    line-height: 1.08;
    margin: 0;
}

/* ── Descripción ──────────────────────────────────────────── */
.desc-about {
    padding: 70px 0 75px;
}

.desc-about-p {
    width: min(68%, 900px);
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.72;
    font-weight: 500;
    color: var(--color-blue-dark);
}

.align-info-about {
    width: min(54%, 720px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin: 112px auto 0;
}

.align-ainfo {
    flex: 1 1 300px;
    min-width: 0;
}

.align-ainfo h2 {
    color: var(--color-blue);
    font-size: clamp(2.25rem, 3vw, 2.55rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 26px;
}

.align-ainfo p {
    font-size: 1rem;
    line-height: 1.73;
    font-weight: 500;
    color: var(--color-blue-dark);
}

.align-aimg {
    width: 345px;
    height: 382px;
    border-radius: 10px;
    overflow: hidden;
    flex: 0 0 345px;
}

.align-aimg picture,
.align-aimg img {
    width: 100%;
    height: 100%;
    display: block;
}

.align-aimg img {
    object-fit: cover;
}

/* ── Bloque azul con instalaciones ───────────────────────── */
.about-blue {
    background: linear-gradient(90deg, #08527d 0%, #2d9add 100%);
    border-radius: 0 0 18px 18px;
    padding: 55px 0 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 55px;
}

.align-instal {
    width: min(82%, 1082px);
    display: flex;
    justify-content: space-between;
    gap: 36px;
}

.instal {
    width: 175px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 17px;
    transition: transform var(--transition-med);
}

.instal:hover { transform: scale(1.08); }

.instal-img {
    width: 172px;
    height: 172px;
    border-radius: 50%;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    flex-shrink: 0;
}

.instal h6 {
    color: var(--color-white);
    font-size: 1.45rem;
    text-align: center;
    font-weight: 700;
    line-height: 1.18;
}

.about-blue a.btn {
    width: min(100%, 392px);
    height: 49px;
    padding: 0 28px;
    font-size: 1rem;
    font-weight: 700;
}

/* ── Clientes ─────────────────────────────────────────────── */
.about-clients {
    padding: 62px 0 38px;
    background-color: var(--color-white);
}

.about-clients h2 {
    color: var(--color-blue);
    font-size: clamp(2.25rem, 3vw, 2.55rem);
    font-weight: 700;
    line-height: 1.12;
    text-align: center;
    margin-bottom: 35px;
}

.about-clients__logos {
    width: min(68%, 895px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.about-clients__logo {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    display: block;
    flex: 0 0 104px;
    background-color: var(--color-white);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 12px 24px rgba(7, 37, 56, 0.10);
}

.about-clients__logo--text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-dark);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    padding: 12px;
}

.about-clients__logos .api-state {
    width: 100%;
    min-height: 104px;
}

.api-state {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-dark);
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    border: 1px solid rgba(7, 37, 56, 0.14);
    border-radius: 15px;
    padding: 24px;
}

.about-clients p {
    width: min(68%, 895px);
    margin: 37px auto 0;
    color: var(--color-blue-dark);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 500;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    body[data-page="nosotros"] .site-header__inner {
        margin-top: 34px;
    }

    .img-aboutus {
        padding: 0 7% 70px;
    }

    .desc-about-p { width: 78%; }
    .align-info-about {
        width: 80%;
        flex-direction: column;
        align-items: flex-start;
        gap: 36px;
        margin-top: 80px;
    }

    .align-ainfo {
        width: 100%;
    }

    .align-aimg {
        width: 100%;
        height: auto;
        aspect-ratio: 345 / 382;
        flex-basis: auto;
    }

    .about-blue {
        padding: 48px 0 52px;
    }

    .align-instal {
        width: 90%;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .instal {
        flex: 0 0 168px;
    }

    .instal-img {
        width: 156px;
        height: 156px;
    }

    .instal h6 {
        font-size: 1.25rem;
    }

    .about-clients__logos,
    .about-clients p {
        width: 82%;
    }

    .about-clients__logos {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
}

@media (max-width: 600px) {
    .img-aboutus {
        height: 330px;
        padding: 0 6% 54px;
        border-radius: 0 0 14px 14px;
    }

    .img-aboutus h1 {
        font-size: 2.8rem;
    }

    .desc-about {
        padding: 44px 0 60px;
    }

    .desc-about-p { width: 90%; }
    .align-info-about { width: 90%; margin-top: 40px; }
    .about-blue {
        padding: 40px 0;
        border-radius: 0 0 14px 14px;
        gap: 36px;
    }

    .align-instal {
        width: 90%;
        gap: 22px;
    }

    .instal {
        flex: 0 0 150px;
        width: 150px;
    }

    .instal-img {
        width: 132px;
        height: 132px;
    }

    .instal h6 {
        font-size: 1.08rem;
    }

    .about-blue a.btn {
        width: 88%;
        height: auto;
        min-height: 49px;
        text-align: center;
    }

    .about-clients {
        padding: 46px 0 34px;
    }

    .about-clients__logos,
    .about-clients p {
        width: 90%;
    }

    .about-clients__logo {
        width: 92px;
        height: 92px;
        flex-basis: 92px;
    }
}
