.logo-navbar{
    height: 42px;
    width: auto;
}

.brand-text{
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-left: 10px;
}

.services-section{
    background:#ffffff;
}

.section-label{
    color:#1b9c85;
    text-transform:uppercase;
    letter-spacing:2px;
    font-weight:700;
    font-size:.85rem;
}

.section-title{
    color:#101820;
    font-weight:800;
    margin-top:10px;
}

.section-subtitle{
    max-width:700px;
    margin:15px auto 0;
    color:#6c757d;
}

.service-card{
    background:#ffffff;
    border:1px solid #eef1f4;
    border-radius:18px;
    padding:35px 25px;
    height:100%;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    transition:.3s ease;
}

.service-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,.10);
}

.service-icon{
    font-size:40px;
    margin-bottom:18px;
}

.service-card h4{
    font-weight:700;
    color:#101820;
}

.service-card p{
    color:#6c757d;
}

.about-section img{
    border-radius: 20px;
    width: 100%;
    height: auto;
}

.page-header{
    background:#f8fafc;
    padding:70px 0 40px;
}

.search-box{
    background:#ffffff;
    border:1px solid #eef1f4;
    border-radius:20px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.analysis-card{
    height:100%;
    background:#ffffff;
    border:1px solid #eef1f4;
    border-radius:18px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    transition:.3s ease;
}

.analysis-card:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 40px rgba(0,0,0,.10);
}

.analysis-matrix{
    display:inline-block;
    background:#e8f8f3;
    color:#1b9c85;
    font-size:.8rem;
    font-weight:700;
    padding:6px 12px;
    border-radius:50px;
    margin-bottom:15px;
}

.analysis-card h4{
    color:#101820;
    font-weight:800;
}

.analysis-group{
    color:#6c757d;
    min-height:48px;
}

.analysis-info{
    margin-top:15px;
    border-top:1px solid #eef1f4;
    padding-top:15px;
    color:#495057;
    font-size:.95rem;
}

.stat-card{
    background:#ffffff;
    border:1px solid #eef1f4;
    border-radius:18px;
    padding:25px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.stat-card h3{
    color:#1b9c85;
    font-size:2.2rem;
    font-weight:800;
    margin-bottom:5px;
}

.stat-card p{
    color:#6c757d;
    margin:0;
    font-weight:600;
}

.analysis-mini-info{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:20px;
}

.analysis-mini-info span{
    background:#f1f5f9;
    color:#101820;
    font-weight:700;
    font-size:.85rem;
    padding:7px 12px;
    border-radius:50px;
}

.modal-content{
    border:none;
    border-radius:20px;
    overflow:hidden;
}

.modal-header{
    background:#101820;
    color:#ffffff;
    border:none;
}

.modal-header .btn-close{
    filter:invert(1);
}

.detail-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.detail-item{
    background:#f8fafc;
    border:1px solid #eef1f4;
    border-radius:14px;
    padding:14px;
}

.detail-item span{
    display:block;
    color:#1b9c85;
    font-size:.78rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:5px;
}

.detail-item strong{
    color:#101820;
    font-size:.98rem;
}

.advice-section{
    padding:60px 0;
    background:#ffffff;
}

.advice-box{
    background:#101820;
    color:#ffffff;
    border-radius:24px;
    padding:40px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.advice-box h2{
    font-weight:800;
    margin-top:10px;
}

.advice-box p{
    color:#ffffffcc;
    max-width:700px;
    margin:15px 0 0;
}

@media(max-width:768px){
    .detail-grid{
        grid-template-columns:1fr;
    }

    .advice-box{
        flex-direction:column;
        align-items:flex-start;
    }
}

.analysis-mini-info{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:25px;
}

.analysis-mini-info span{
    background:#f4f6f8;
    color:#101820;
    padding:8px 14px;
    border-radius:50px;
    font-size:13px;
    font-weight:600;
    transition:.3s;
}

.analysis-mini-info span:hover{
    background:#16a085;
    color:#fff;
}

.badge-tecnica{
    background:#eaf7f4 !important;
    color:#0f766e !important;
}

.badge-metodo{
    background:#eef2ff !important;
    color:#4338ca !important;
}

.pagination-container{
    margin-top:40px;
}

.pagination-btn{
    border:none;
    background:#fff;
    border:1px solid #dfe4ea;
    padding:10px 16px;
    margin:4px;
    border-radius:8px;
    font-weight:600;
    transition:.3s;
}

.pagination-btn:hover{
    background:#16a085;
    color:#fff;
}

.pagination-btn.active{
    background:#16a085;
    color:#fff;
    border-color:#16a085;
}

.resaltado-busqueda{
    background:#fff3cd;
    color:#101820;
    padding:2px 4px;
    border-radius:5px;
}

@media print{
    body *{
        visibility:hidden;
    }

    .modal.show,
    .modal.show *{
        visibility:visible;
    }

    .modal.show{
        position:absolute;
        left:0;
        top:0;
        width:100%;
    }

    .modal-footer,
    .btn-close{
        display:none !important;
    }
}

.about-highlight{
    background:#101820;
    color:#ffffff;
    padding:40px;
    border-radius:24px;
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.about-highlight p{
    color:#ffffffcc;
}

.mini-card{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    border-radius:16px;
    padding:18px;
    height:100%;
}

.mini-card strong{
    display:block;
    color:#6BE675;
    font-size:2rem;
    font-weight:800;
}

.mini-card span{
    color:#ffffffcc;
    font-size:.9rem;
}

.contact-info-card{
    background:#ffffff;
    border:1px solid #eef1f4;
    border-radius:20px;
    padding:30px;
    height:100%;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.contact-icon{
    font-size:36px;
    margin-bottom:15px;
}

.contact-info-card h4{
    color:#101820;
    font-weight:800;
}

.contact-info-card a{
    color:#1b9c85;
    text-decoration:none;
    font-weight:600;
}

.contact-form-box{
    background:#ffffff;
    padding:35px;
    border-radius:24px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.contact-side-box{
    background:#101820;
    color:#ffffff;
    padding:35px;
    border-radius:24px;
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.contact-line{
    border-bottom:1px solid rgba(255,255,255,.12);
    padding:18px 0;
}

.contact-line strong{
    display:block;
    color:#6BE675;
    margin-bottom:5px;
}

.contact-line span{
    color:#ffffffcc;
}

.map-section{
    padding:60px 0;
    background:#ffffff;
}

.map-box{
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.hero-home{
    position:relative;
    min-height:75vh;

    background:
        url('../img/hero-lab.jpg')
        center center / cover no-repeat;

    display:flex;
    align-items:center;
}

.hero-overlay{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            rgba(0,0,0,.72),
            rgba(0,0,0,.55)
        );
}

.hero-content{
    position:relative;
    z-index:2;

    max-width:800px;

    color:#fff;
}

.hero-label{
    display:inline-block;

    margin-bottom:20px;

    color:#6BE675;

    text-transform:uppercase;

    letter-spacing:2px;

    font-weight:700;
}

.hero-content h1{

    font-size:4rem;

    line-height:1.1;

    font-weight:800;

    margin-bottom:25px;
}

.hero-content p{

    font-size:1.3rem;

    color:rgba(255,255,255,.9);

    margin-bottom:35px;

    max-width:650px;
}

.hero-buttons{

    display:flex;

    gap:15px;

    flex-wrap:wrap;
}

@media(max-width:768px){

    .hero-content h1{

        font-size:2.5rem;
    }

    .hero-content p{

        font-size:1.1rem;
    }

}

.hero-home{
    position:relative;
    min-height:90vh;
    background:url('../img/hero-lab.jpg') center center / cover no-repeat;
    display:flex;
    align-items:center;
}

.hero-home .container{
    position:relative;
    z-index:2;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(16,24,32,.88) 0%,
        rgba(16,24,32,.70) 45%,
        rgba(16,24,32,.35) 100%
    );
    z-index:1;
}

.hero-content{
    max-width:760px;
    color:#ffffff;
}

.hero-label{
    display:inline-block;
    color:#6BE675;
    text-transform:uppercase;
    letter-spacing:2px;
    font-weight:800;
    margin-bottom:20px;
}

.hero-content h1{
    font-size:4.2rem;
    line-height:1.05;
    font-weight:900;
    margin-bottom:25px;
}

.hero-content p{
    font-size:1.25rem;
    color:rgba(255,255,255,.88);
    max-width:650px;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

@media(max-width:768px){
    .hero-home{
        min-height:75vh;
    }

    .hero-content h1{
        font-size:2.6rem;
    }

    .hero-content p{
        font-size:1.05rem;
    }
}

.stats-home{
    margin-top:-70px;
    position:relative;
    z-index:10;
}

.stat-card{
    background:#ffffff;
    border-radius:24px;
    padding:35px;
    text-align:center;

    box-shadow:
    0 15px 40px rgba(0,0,0,.08);

    transition:.3s;
}

.stat-card:hover{
    transform:translateY(-5px);
}

.stat-card h2{
    font-size:3rem;
    font-weight:900;
    color:#1b9c85;
    margin-bottom:10px;
}

.stat-card p{
    margin:0;
    color:#6b7280;
    font-weight:600;
}

.home-search-section{
    padding:40px 0 60px;
    background:#ffffff;
}

.home-search-form{
    display:flex;
    gap:15px;
    justify-content:center;
    align-items:center;
    max-width:1000px;
    margin:0 auto;
}

.home-search-form input{
    flex:1;
}

.home-search-form button{
    min-width:140px;
}

@media(max-width:768px){

    .home-search-form{
        flex-direction:column;
    }

    .home-search-form button{
        width:100%;
    }
}

.section-subtitle{
    max-width:700px;
    margin:0 auto;
}

.services-section .container{
    max-width:1140px;
    margin:0 auto;
}

.services-section .text-center{
    text-align:center !important;
}

.services-section .section-subtitle{
    max-width:700px;
    margin:15px auto 0;
}

.home-search-section{
    padding:40px 0;
}

.services-section{
    padding-top:40px !important;
}

.why-section{
    padding:90px 0;
    background:#101820;
}

.why-section .section-title{
    color:#fff;
}

.why-card{
    background:#162330;
    border-radius:20px;
    padding:30px;
    height:100%;
}

.why-card h4{
    color:#6BE675;
    margin-bottom:15px;
    font-weight:700;
}

.why-card p{
    color:rgba(255,255,255,.8);
    margin:0;
}

.final-cta-section{
    padding:90px 0;
    background:#ffffff;
}

.final-cta-box{
    background:linear-gradient(135deg, #101820, #162330);
    color:#ffffff;
    border-radius:30px;
    padding:60px 40px;
    box-shadow:0 18px 45px rgba(0,0,0,.15);
}

.final-cta-box h2{
    font-size:2.5rem;
    font-weight:900;
    margin:15px 0;
}

.final-cta-box p{
    max-width:760px;
    margin:0 auto 30px;
    color:rgba(255,255,255,.82);
    font-size:1.15rem;
}

.final-cta-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.laboratorio-section{
    padding:100px 0;
    background:#f8fafc;
}

.laboratorio-main{
    width:100%;
    height:100%;
    object-fit:cover;

    border-radius:24px;

    box-shadow:
    0 20px 50px rgba(0,0,0,.12);
}

.laboratorio-thumb{

    width:100%;
    height:260px;

    object-fit:cover;

    border-radius:20px;

    transition:.3s;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);
}

.laboratorio-thumb:hover{

    transform:translateY(-6px);

}

.quality-item{
    background:#ffffff;
    border:1px solid #eef1f4;
    border-radius:20px;
    padding:28px;
    height:100%;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.quality-item strong{
    display:block;
    color:#101820;
    font-size:1.2rem;
    margin-bottom:10px;
}

.quality-item p{
    color:#6c757d;
    margin:0;
}

.site-footer{
    background:#101820;
    color:#ffffff;
    padding:70px 0 25px;
}

.footer-logo{
    height:80px;
    width:auto;
    margin-bottom:15px;
}

.footer-brand h4,
.site-footer h5{
    color:#ffffff;
    font-weight:800;
    margin-bottom:18px;
}

.footer-brand p{
    color:rgba(255,255,255,.75);
    max-width:360px;
}

.footer-list{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-list li{
    margin-bottom:10px;
    color:rgba(255,255,255,.75);
}

.footer-list a{
    color:rgba(255,255,255,.75);
    text-decoration:none;
}

.footer-list a:hover{
    color:#6BE675;
}

.site-footer hr{
    border-color:rgba(255,255,255,.12);
    margin:40px 0 20px;
}

.footer-bottom{
    display:flex;
    justify-content:space-between;
    gap:15px;
    flex-wrap:wrap;
    color:rgba(255,255,255,.6);
    font-size:.9rem;
}

.hero-content{
    padding:120px 0;
}

.hero-trust{
    margin-top:20px;
    margin-bottom:30px;
    color:#ffffff;
    font-size:1rem;
    font-weight:600;
    opacity:.95;
}

.custom-lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.88);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
    padding:30px;
}

.custom-lightbox.active{
    display:flex;
}

.custom-lightbox img{
    max-width:90%;
    max-height:85vh;
    border-radius:20px;
    box-shadow:0 20px 60px rgba(0,0,0,.4);
}

.lightbox-close{
    position:absolute;
    top:25px;
    right:35px;
    color:#fff;
    font-size:42px;
    cursor:pointer;
}

.gallery-item{
    overflow:hidden;
    border-radius:20px;
}

.gallery-item img{
    transition:all .4s ease;
}

.gallery-item:hover img{
    transform:scale(1.05);
}

.technology-section{
    background:#f8fafb;
}

.tech-card{
    background:#ffffff;
    border-radius:20px;
    padding:35px 25px;
    text-align:center;
    height:100%;
    transition:.3s ease;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    border:1px solid #eef1f4;
}

.tech-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.10);
}

.tech-icon{
    font-size:2.5rem;
    margin-bottom:20px;
}

.tech-card h4{
    color:#101820;
    font-weight:700;
    margin-bottom:15px;
}

.tech-card p{
    color:#6c757d;
    margin:0;
    line-height:1.7;
}


@media print {

    body * {
        visibility: hidden;
    }

    .modal.show,
    .modal.show * {
        visibility: visible;
    }

    .modal.show {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        background: white;
    }

    .modal-header .btn-close,
    .modal-footer,
    .btn,
    nav,
    footer,
    header {
        display: none !important;
    }

    .modal-content {
        border: none !important;
        box-shadow: none !important;
    }

    @page {
        margin: 10mm;
        size: A4;
    }
}