/* ============================================================
   LAB PERÚ MINERALS
   Update 2026
   File: new-update-26-lab-peru-minerals.css
   ============================================================ */


/* ============================================================
   NUESTRAS ACREDITACIONES
   ============================================================ */

.lab-accreditations {
    position: relative;

    width: 100%;

    padding: 90px 0 85px;

    background-color: #ffffff;

    overflow: hidden;
}


/* ============================================================
   HEADER
   ============================================================ */

.lab-accreditations__header {
    width: 100%;
    max-width: 940px;

    margin: 0 auto 55px;
}


/* ============================================================
   TITLE
   ============================================================ */

.lab-accreditations__title {
    margin: 0 0 22px;

    color: #253c50;

    font-size: 38px;
    font-weight: 600;

    line-height: 1.2;

    text-align: center;
}


/* ============================================================
   DESCRIPTION
   ============================================================ */

.lab-accreditations__description {
    max-width: 900px;

    margin: 0 auto;

    color: #5f6b74;

    font-size: 17px;
    font-weight: 400;

    line-height: 1.75;

    text-align: center;
}


.lab-accreditations__description strong {
    color: #253c50;

    font-weight: 700;
}


/* ============================================================
   LOGOS
   ============================================================ */

.lab-accreditations__logos {
    display: flex;

    align-items: center;
    justify-content: center;

    margin-top: 10px;
    margin-bottom: 45px;
}


.lab-accreditations__logo-item {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 260px;

    padding: 30px;
}


.lab-accreditations__logo {
    display: block;

    width: auto;
    max-width: 250px;

    height: auto;
    max-height: 220px;

    margin: 0 auto;

    object-fit: contain;
}


/* ============================================================
   CTA
   ============================================================ */

.lab-accreditations__cta {
    margin-top: 5px;

    text-align: center;
}


/*
 * Conservamos btn-warning y btn-arrow
 * para mantener el estilo original del sitio.
 */

.lab-accreditations__cta .btn {
    min-width: 170px;

    padding-left: 28px;
    padding-right: 28px;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 991px) {

    .lab-accreditations {
        padding:
            75px
            0
            70px;
    }


    .lab-accreditations__header {
        max-width: 760px;

        margin-bottom: 45px;
    }


    .lab-accreditations__title {
        font-size: 34px;
    }


    .lab-accreditations__description {
        font-size: 16px;

        line-height: 1.7;
    }


    .lab-accreditations__logo-item {
        min-height: 230px;

        padding: 25px;
    }


    .lab-accreditations__logo {
        max-width: 230px;
        max-height: 200px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .lab-accreditations {
        padding:
            60px
            0
            60px;
    }


    .lab-accreditations__header {
        margin-bottom: 30px;

        padding:
            0
            10px;
    }


    .lab-accreditations__title {
        margin-bottom: 18px;

        font-size: 30px;
    }


    .lab-accreditations__description {
        font-size: 15px;

        line-height: 1.65;
    }


    .lab-accreditations__logos {
        display: block;

        margin-bottom: 30px;
    }


    .lab-accreditations__logo-item {
        min-height: auto;

        padding:
            25px
            20px;
    }


    .lab-accreditations__logo {
        width: auto;
        max-width: 220px;

        max-height: 190px;
    }


    .lab-accreditations__cta {
        margin-top: 10px;
    }


    .lab-accreditations__cta .btn {
        min-width: 165px;
    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 420px) {

    .lab-accreditations {
        padding:
            50px
            0
            52px;
    }


    .lab-accreditations__title {
        font-size: 27px;
    }


    .lab-accreditations__description {
        font-size: 14.5px;
    }


    .lab-accreditations__logo {
        max-width: 200px;
    }

}

/* ============================================================
   POPUP HOME
   ============================================================ */

.popup-home-modal {
    padding-right: 0 !important;
}


/* Fondo del modal */

.popup-home-modal .modal-dialog {
    width: calc(100% - 30px);

    max-width: 760px;

    height: calc(100vh - 30px);

    max-height: calc(100vh - 30px);

    margin: 15px auto;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* Contenedor principal */

.popup-home-content {
    position: relative;

    width: 100%;

    max-height: calc(100vh - 30px);

    display: flex;

    flex-direction: column;

    overflow: hidden;

    border: 0;

    border-radius: 8px;

    background: #ffffff;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.30);
}


/* ============================================================
   BOTÓN CERRAR
   ============================================================ */

.popup-home-close {
    position: absolute;

    top: 10px;

    right: 10px;

    z-index: 20;

    width: 38px;

    height: 38px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.60);

    color: #ffffff;

    font-size: 28px;

    font-weight: 300;

    line-height: 35px;

    text-align: center;

    opacity: 1;

    text-shadow: none;

    cursor: pointer;
}


.popup-home-close:hover,
.popup-home-close:focus {
    background: rgba(0, 0, 0, 0.80);

    color: #ffffff;

    opacity: 1;

    outline: none;
}


/* ============================================================
   IMAGEN
   ============================================================ */

.popup-home-image-wrap {
    width: 100%;

    flex-shrink: 1;

    overflow: hidden;

    text-align: center;

    background: #f5f5f5;
}


.popup-home-image-link {
    display: block;

    width: 100%;

    height: 100%;
}


.popup-home-image {
    display: block;

    width: 100%;

    height: auto;

    max-height: 55vh;

    margin: 0 auto;

    object-fit: contain;
}


/* ============================================================
   CONTENIDO
   ============================================================ */

.popup-home-body {
    flex-shrink: 0;

    padding: 24px 30px 28px;

    overflow-y: auto;

    text-align: center;
}


.popup-home-title {
    margin: 0 0 12px;

    color: #253c50;

    font-size: 20px;

    font-weight: 600;

    line-height: 1.2;
}


.popup-home-description {
    max-width: 650px;

    margin: 0 auto;

    color: #5f6b74;

    font-size: 14px;

    line-height: 1.55;
}


.popup-home-actions {
    margin-top: 18px;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 991px) {

    .popup-home-modal .modal-dialog {
        width: calc(100% - 24px);

        max-width: 680px;

        height: calc(100vh - 24px);

        max-height: calc(100vh - 24px);

        margin: 12px auto;
    }


    .popup-home-content {
        max-height: calc(100vh - 24px);
    }


    .popup-home-image {
        max-height: 52vh;
    }


    .popup-home-body {
        padding: 22px 24px 26px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .popup-home-modal .modal-dialog {
        width: calc(100% - 20px);

        height: calc(100vh - 20px);

        max-height: calc(100vh - 20px);

        margin: 10px auto;
    }


    .popup-home-content {
        max-height: calc(100vh - 20px);

        border-radius: 6px;
    }


    .popup-home-image {
        max-height: 48vh;
    }


    .popup-home-body {
        padding: 20px 18px 22px;
    }


    .popup-home-title {
        font-size: 23px;
    }


    .popup-home-description {
        font-size: 14px;

        line-height: 1.5;
    }


    .popup-home-close {
        top: 8px;

        right: 8px;

        width: 36px;

        height: 36px;

        font-size: 25px;

        line-height: 33px;
    }

}


/* ============================================================
   MOBILE PEQUEÑO
   ============================================================ */

@media (max-width: 420px) {

    .popup-home-modal .modal-dialog {
        width: calc(100% - 16px);

        height: calc(100vh - 16px);

        max-height: calc(100vh - 16px);

        margin: 8px auto;
    }


    .popup-home-content {
        max-height: calc(100vh - 16px);
    }


    .popup-home-image {
        max-height: 44vh;
    }


    .popup-home-body {
        padding: 18px 14px 20px;
    }


    .popup-home-title {
        font-size: 20px;
    }


    .popup-home-description {
        font-size: 13px;
    }

}