/* =========================
   KPI GLOBE - STYLES
========================= */

:root{
    --dark:#06141B;
    --blue-dark:#0B1F3A;
    --petrol:#123843;
    --green:#2F6363;
    --sage:#6B8977;
    --white:#FFFFFF;
    --text-light:#E8EEF0;
    --accent:#92D3D8;
}

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:var(--dark);
    color:var(--white);
    overflow-x:hidden;
}

img, video{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

/* CONTAINER */

.container{
    width:90%;
    max-width:1200px;
    margin:0 auto;
}

/* HEADER */

.site-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:32px 0;
    z-index:1000;
    background:transparent;
    transition:.4s ease;
}

.site-header.scrolled{
    background:rgba(6,20,27,.86);
    backdrop-filter:blur(14px);
    padding:18px 0;
}

.header-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo img{
    height:100px;
    width:auto;
}

.nav-menu{
    display:flex;
    align-items:center;
    gap:36px;
}

.nav-menu a{
    color:var(--white);
    font-size:15px;
    font-weight:500;
    transition:.3s ease;
}

.nav-menu a:hover{
    color:var(--accent);
}

/* HERO */

.hero{
    position:relative;
    width:100%;
    min-height:100vh;
    overflow:hidden;
}

.hero-video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:1;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(6,20,27,.88) 0%,
        rgba(6,20,27,.55) 45%,
        rgba(6,20,27,.25) 100%
    );
    z-index:2;
}

.hero-content{
    position:relative;
    z-index:3;
    min-height:100vh;
    display:flex;
    align-items:center;
}

.hero-text{
    max-width:720px;
    padding-top:60px;
}

.eyebrow{
    font-size:14px;
    letter-spacing:6px;
    text-transform:uppercase;
    margin-bottom:28px;
    color:var(--text-light);
}

.hero h1{
    font-size:clamp(48px, 6vw, 86px);
    line-height:1.05;
    font-weight:500;
    margin-bottom:30px;
}

.hero p{
    max-width:660px;
    font-size:20px;
    line-height:1.75;
    color:var(--text-light);
    margin-bottom:42px;
}

.btn-primary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:178px;
    padding:16px 34px;
    border-radius:999px;
    background:var(--white);
    color:#0A1B2F;
    font-size:16px;
    font-weight:700;
    transition:.35s ease;
}

.btn-primary:hover{
    background:var(--accent);
    color:var(--dark);
    transform:translateY(-3px);
}
/* =========================
   ABOUT
========================= */

.about-section{
    padding:140px 0;
    background:linear-gradient(
        90deg,
        #04151c 0%,
        #123843 45%,
        #3b6d69 100%
    );
}

.about-title{
    margin-bottom:70px;
}

.about-title h2{
    font-size:72px;
    font-weight:600;
    color:#fff;
    line-height:1.05;
}

.about-content{
    display:grid;
    grid-template-columns:2fr 0.8fr;
    gap:90px;
    align-items:start;
}

.about-text p{
    color:#ffffff;
    font-size:22px;
    line-height:1.6;
    margin-bottom:42px;
    max-width:850px;
}

.about-badges{
    display:flex;
    flex-direction:column;
    gap:22px;
}

/* Caja +10 */

.experience-box{
    background:#000;
    border-radius:34px;
    padding:40px 20px;
    text-align:center;
}

.experience-box span{
    display:block;
    font-size:64px;
    font-weight:600;
    color:#fff;
    margin-bottom:10px;
}

.experience-box p{
    color:#fff;
    font-size:24px;
    line-height:1.2;
}

/* Botones */

.badge-pill{
    background:#000;
    color:#fff;
    border-radius:999px;
    padding:24px;
    text-align:center;
    font-size:22px;
    font-weight:500;
    transition:.35s;
    cursor:default;
}

.badge-pill:hover{
    background:#123843;
    transform:translateX(8px);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){

    .about-content{
        grid-template-columns:1fr;
        gap:60px;
    }

    .about-title h2{
        font-size:54px;
    }

    .about-text p{
        font-size:18px;
    }

}

@media(max-width:768px){

    .about-section{
        padding:90px 0;
    }

    .about-title{
        margin-bottom:40px;
    }

    .about-title h2{
        font-size:42px;
    }

    .experience-box span{
        font-size:50px;
    }

    .experience-box p{
        font-size:20px;
    }

    .badge-pill{
        font-size:18px;
        padding:18px;
    }

}
/* =========================
   SERVICES
========================= */

.services-section{
    background:#02090d;
    color:var(--white);
    padding:140px 0 120px;
}

.services-header{
    text-align:center;
    margin-bottom:100px;
}

.services-header h2{
    font-size:clamp(52px, 8vw, px);
    line-height:1;
    font-weight:600;
}

.services-list{
    border-top:1px solid rgba(255,255,255,.25);
}

.service-row{
    display:grid;
    grid-template-columns:1fr 1.4fr .35fr;
    gap:60px;
    align-items:center;
    padding:42px 0;
    border-bottom:1px solid rgba(255,255,255,.25);
}

.service-row h3{
    font-size:clamp(28px, 3vw, 42px);
    line-height:1.25;
    font-weight:700;
    color:#fff;
}

.service-row p{
    max-width:560px;
    justify-self:center;
    text-align:center;
    font-size:20px;
    line-height:1.45;
    color:#f1f5f6;
}

.service-row span{
    justify-self:end;
    font-size:clamp(64px, 8vw, 94px);
    line-height:1;
    font-weight:700;
    color:#fff;
}

/* Hover */

.service-row{
    transition:.35s ease;
}

.service-row:hover{
    padding-left:24px;
    background:linear-gradient(
        90deg,
        rgba(146,211,216,.10),
        transparent
    );
}

.service-row:hover span{
    color:var(--accent);
}

/* Responsive */

@media(max-width:900px){

    .service-row{
        grid-template-columns:1fr;
        gap:24px;
        text-align:left;
    }

    .service-row p{
        justify-self:start;
        text-align:left;
        font-size:18px;
    }

    .service-row span{
        justify-self:start;
        font-size:58px;
    }

}
#services .services-header h2{
    font-size:120px !important;
    line-height:1 !important;
    color:white !important;
}
/* =========================
   WHY CHOOSE US
========================= */

.why-services{
    margin-top:120px;
    padding-top:90px;
    border-top:1px solid rgba(255,255,255,.25);
}

.why-services h3{
    font-size:clamp(52px, 6vw, 90px);
    line-height:1;
    font-weight:700;
    text-align:center;
    margin-bottom:70px;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
}

.why-card{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.12);
    border-radius:30px;
    padding:42px 34px;
    min-height:260px;
    transition:.35s ease;
}

.why-card:hover{
    transform:translateY(-8px);
    background:rgba(255,255,255,.10);
}

.why-card span{
    display:block;
    color:var(--accent);
    font-size:18px;
    font-weight:700;
    margin-bottom:30px;
}

.why-card h4{
    font-size:28px;
    line-height:1.2;
    margin-bottom:18px;
}

.why-card p{
    color:var(--text-light);
    font-size:17px;
    line-height:1.7;
    margin:0;
}

/* Responsive */

@media(max-width:900px){
    .why-grid{
        grid-template-columns:1fr;
    }

    .why-services h3{
        font-size:44px;
    }
}
/* =========================
   INSPECTIONS
========================= */

.inspections-block{
    margin-top:130px;
    padding-top:90px;
    border-top:1px solid rgba(255,255,255,.25);
}

.inspections-block h3{
    text-align:center;
    font-size:clamp(52px, 6vw, 86px);
    line-height:1;
    font-weight:700;
    margin-bottom:70px;
}

.inspections-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
}

.inspection-card{
    background:rgba(255,255,255,.09);
    border:1px solid rgba(255,255,255,.12);
    border-radius:32px;
    padding:48px 34px;
    min-height:300px;
    transition:.35s ease;
}

.inspection-card:hover{
    transform:translateY(-8px);
    background:rgba(255,255,255,.13);
}

.inspection-card h4{
    font-size:28px;
    line-height:1.25;
    margin-bottom:18px;
}

.inspection-card p{
    color:var(--text-light);
    font-size:18px;
    line-height:1.65;
    margin-bottom:28px;
}

.inspection-card.tall{
    grid-row:span 2;
}

@media(max-width:900px){
    .inspections-grid{
        grid-template-columns:1fr;
    }

    .inspection-card.tall{
        grid-row:auto;
    }
}
/* =========================
   SUPPLIER QUALIFICATION
========================= */

.supplier-block{

    margin-top:140px;

    padding-top:90px;

    border-top:1px solid rgba(255,255,255,.2);

}

.supplier-block h3{

    text-align:center;

    font-size:clamp(56px,6vw,90px);

    margin-bottom:70px;

}

.supplier-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:28px;

}

.supplier-card{

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.12);

    border-radius:32px;

    padding:42px;

    transition:.35s;

}

.supplier-card:hover{

    transform:translateY(-8px);

    background:rgba(255,255,255,.12);

}

.supplier-card h4{

    font-size:28px;

    line-height:1.25;

    margin-bottom:18px;

}

.supplier-card p{

    color:var(--text-light);

    font-size:18px;

    line-height:1.65;

    margin-bottom:28px;

}

.supplier-card.tall{

    grid-row:span 2;

}

@media(max-width:900px){

    .supplier-grid{

        grid-template-columns:1fr;

    }

    .supplier-card.tall{

        grid-row:auto;

    }

}
/* =========================
   PRODUCTS
========================= */

.products-section{

    background:linear-gradient(
        135deg,
        #06141B 0%,
        #123843 45%,
        #2F6363 100%
    );

    color:white;

    padding:140px 0;

}

.products-header{
    text-align:center;
    margin-bottom:90px;
}

.products-header h2{
    font-size:clamp(72px,8vw,130px);
    line-height:1;
    font-weight:700;
    color:white;
    letter-spacing:-2px;
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:28px;
}

.product-card{
    position:relative;
    min-height:420px;
    border-radius:34px;
    overflow:hidden;
    display:flex;
    align-items:flex-end;
    color:white;
    isolation:isolate;
}

.product-card.large{
    grid-column:span 2;
    min-height:520px;
}

.product-card img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:-2;
    transition:transform .6s ease;
}

.product-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        180deg,
        rgba(0,0,0,.05) 0%,
        rgba(0,0,0,.72) 100%
    );
    z-index:-1;
    transition:.4s ease;
}

.product-content{
    padding:42px;
    transform:translateY(28px);
    transition:.4s ease;
}

.product-content h3{
    font-size:clamp(30px, 4vw, 54px);
    line-height:1.1;
    margin-bottom:18px;
}

.product-content span{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:18px;
    font-weight:600;
    opacity:0;
    transform:translateY(15px);
    transition:.35s ease;
}

.product-card:hover img{
    transform:scale(1.08);
}

.product-card:hover .product-overlay{
    background:linear-gradient(
        180deg,
        rgba(0,0,0,.10) 0%,
        rgba(0,0,0,.85) 100%
    );
}

.product-card:hover .product-content{
    transform:translateY(0);
}

.product-card:hover .product-content span{
    opacity:1;
    transform:translateY(0);
}

@media(max-width:768px){
    .products-section{
        padding:90px 0;
    }

    .products-grid{
        grid-template-columns:1fr;
    }

    .product-card.large{
        grid-column:span 1;
    }

    .product-card,
    .product-card.large{
        min-height:360px;
    }
}
/* =========================
   PRODUCT DETAILS
========================= */

.product-details-section{

    background:#06141B;

    color:white;

    padding:140px 0;

}
.product-detail{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:70px;
    align-items:center;
    padding:90px 0;
    border-bottom:none;
}

.product-detail{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.10);

    border-radius:36px;

    padding:60px;

    margin-bottom:70px;

}
.product-detail.reverse{
    grid-template-columns:1.1fr .9fr;
}

.product-detail.reverse .product-detail-image{
    order:2;
}

.product-detail-image{

    border-radius:30px;

    overflow:hidden;

    box-shadow:0 25px 70px rgba(0,0,0,.35);

}

.product-detail-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.product-detail-content h2{
    font-size:clamp(44px, 5vw, 76px);
    line-height:1;
    margin-bottom:35px;
}

.product-detail-content h4{
    font-size:24px;
    margin:28px 0 12px;
    color:var(--accent);
}

.product-detail-content p,
.product-detail-content li{
    font-size:18px;
    line-height:1.7;
     color:var(--text-light);
}

.product-detail-content ul{
    padding-left:20px;
}

@media(max-width:900px){
    .product-detail,
    .product-detail.reverse{
        grid-template-columns:1fr;
    }

    .product-detail.reverse .product-detail-image{
        order:0;
    }

    .product-detail-image{
        min-height:320px;
    }
}
/* =========================
   CONTACT
========================= */

.contact-section{
    background:#000;
    color:#fff;
    padding:120px 0;
}

.contact-container{
    display:grid;
    grid-template-columns:1fr;
    gap:90px;
}

.contact-info-block{
    max-width:420px;
}

.contact-logo{
    width:140px;
    margin-bottom:28px;
}

.contact-message{
    font-size:24px;
    line-height:1.2;
    margin-bottom:110px;
}

.contact-people p{
    font-size:22px;
    line-height:1.25;
    margin-bottom:45px;
}

.contact-people a{
    color:#fff;
    text-decoration:underline;
}

.contact-addresses{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:50px;
    padding:35px 0;
    border-top:1px solid rgba(255,255,255,.18);
    border-bottom:1px solid rgba(255,255,255,.18);
}

.contact-addresses p{
    font-size:16px;
    line-height:1.35;
    margin:0;
}

.contact-form{
    width:min(100%, 760px);
    background:rgba(255,255,255,.96);
    color:#000;
    padding:48px;
    border-radius:0;
    margin:0 auto;
}

.contact-form h2{
    font-size:30px;
    margin-bottom:30px;
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}

.form-group{
    margin-bottom:22px;
}

.form-group label{
    display:block;
    font-size:13px;
    margin-bottom:8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select{

    width:100%;

    padding:15px 18px;

    border:1px solid #bdbdbd;

    background:#fff;

    font-size:15px;

    outline:none;

    transition:.3s;

}

.contact-form textarea{
    min-height:110px;
    resize:vertical;
}

.contact-form button{

    width:100%;

    background:#0B1F3A;

    color:white;

    border:none;

    padding:18px;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.contact-form button:hover{

    background:#2F6363;

}
@media(max-width:900px){
    .contact-addresses{
        grid-template-columns:1fr;
    }

    .form-row{
        grid-template-columns:1fr;
    }

    .contact-form{
        padding:32px 24px;
    }

    .contact-form button{
        width:100%;
    }
}
/* =========================
   FOOTER
========================= */

.site-footer{
    background:#02090d;
    color:#fff;
    padding:90px 0 35px;
}

.footer-content{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr;
    gap:60px;
}

.footer-brand img{
    width:130px;
    margin-bottom:24px;
}

.footer-brand p{
    color:var(--text-light);
    font-size:16px;
    line-height:1.7;
    max-width:320px;
}

.footer-links,
.footer-contact{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.footer-links h4,
.footer-contact h4{
    color:var(--accent);
    font-size:16px;
    text-transform:uppercase;
    letter-spacing:2px;
    margin-bottom:12px;
}

.footer-links a,
.footer-contact a,
.footer-contact p{
    color:#fff;
    font-size:15px;
    margin:0;
    text-decoration:none;
}

.footer-links a:hover,
.footer-contact a:hover{
    color:var(--accent);
}

.footer-bottom{
    margin-top:70px;
    padding-top:28px;
    border-top:1px solid rgba(255,255,255,.12);
}

.footer-bottom p{
    color:rgba(255,255,255,.65);
    font-size:14px;
    margin:0;
}

@media(max-width:900px){
    .footer-content{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:600px){
    .footer-content{
        grid-template-columns:1fr;
    }
}
/* =========================
   SCROLL ANIMATIONS
========================= */

.reveal{
    opacity:0;
    transform:translateY(45px);
    transition:opacity .8s ease, transform .8s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}
/* =========================
   RESPONSIVE FINAL
========================= */

@media(max-width:1024px){

    .container{
        width:88%;
    }

    .hero h1,
    .about-title h2,
    .services-header h2,
    .products-header h2{
        font-size:clamp(46px, 8vw, 76px);
    }

    .about-content,
    .contact-container{
        grid-template-columns:1fr;
    }

    .about-badges{
        max-width:420px;
    }

}

@media(max-width:768px){

    .site-header{
        padding:18px 0;
        background:rgba(6,20,27,.9);
        backdrop-filter:blur(12px);
    }

    .header-content{
        flex-direction:column;
        gap:18px;
    }

    .logo img{
        height:46px;
    }

    .nav-menu{
        flex-wrap:wrap;
        justify-content:center;
        gap:14px 18px;
    }

    .nav-menu a{
        font-size:13px;
    }

    .hero-text{
        padding-top:140px;
        text-align:center;
        margin:auto;
    }

    .hero p{
        font-size:17px;
    }

    .about-section,
    .services-section,
    .products-section,
    .product-details-section,
    .contact-section{
        padding:90px 0;
    }

    .about-text p{
        font-size:17px;
    }

    .service-row{
        grid-template-columns:1fr;
        gap:22px;
        text-align:left;
    }

    .service-row p{
        text-align:left;
        justify-self:start;
        font-size:17px;
    }

    .service-row span{
        justify-self:start;
        font-size:54px;
    }

    .why-grid,
    .inspections-grid,
    .supplier-grid,
    .products-grid,
    .contact-addresses{
        grid-template-columns:1fr;
    }

    .product-card.large{
        grid-column:span 1;
    }

    .product-card,
    .product-card.large{
        min-height:360px;
    }

    .product-detail,
    .product-detail.reverse{
        grid-template-columns:1fr;
        padding:36px 24px;
    }

    .product-detail.reverse .product-detail-image{
        order:0;
    }

    .product-detail-image{
        min-height:300px;
    }

    .form-row{
        grid-template-columns:1fr;
        gap:0;
    }

    .contact-form{
        padding:34px 24px;
    }

    .footer-content{
        grid-template-columns:1fr;
        gap:40px;
    }

}

@media(max-width:480px){

    .hero h1{
        font-size:42px;
    }

    .hero p{
        font-size:16px;
    }

    .btn-primary{
        width:100%;
    }

    .about-title h2,
    .services-header h2,
    .products-header h2,
    .contact-header h2{
        font-size:40px;
    }

    .contact-message,
    .contact-people p{
        font-size:18px;
    }

    .product-content{
        padding:28px;
    }

    .product-content h3{
        font-size:30px;
    }

}
@media(max-width:768px){

    .site-header{
        position:absolute;
    }

    .header-content{
        align-items:center;
    }

    .nav-menu{
        display:none;
    }

    .hero{
        min-height:100vh;
    }

    .hero-text{
        padding-top:120px;
    }

    .hero h1{
        font-size:38px;
    }

    .hero p{
        font-size:16px;
        line-height:1.5;
    }

    .about-title h2,
    .services-header h2,
    .products-header h2,
    .contact-form h2{
        font-size:38px !important;
        line-height:1.05;
    }

    .about-content,
    .contact-container,
    .product-detail,
    .product-detail.reverse{
        display:block;
    }

    .about-badges,
    .contact-form{
        width:100%;
        max-width:100%;
    }

    .service-row{
        padding:30px 0;
    }

    .product-card,
    .product-card.large{
        min-height:280px;
    }

    .product-detail-image{
        min-height:240px;
        margin-bottom:30px;
    }

    .product-detail{
        margin-bottom:40px;
    }
}
@media (max-width: 768px){

    .services-header h2{
        font-size: 20px !important;
        line-height: 1;
        text-align: center;
        word-break: break-word;
        padding: 0 20px;
    }

}
html,
body{
    overflow-x: hidden;
}
/* =========================
   MOBILE MENU + BACK TO TOP
========================= */

.menu-toggle{
    display:none;
    background:none;
    border:none;
    color:#fff;
    font-size:34px;
    cursor:pointer;
    z-index:1001;
}

.back-to-top{
    position:fixed;
    right:24px;
    bottom:24px;
    width:52px;
    height:52px;
    border-radius:50%;
    background:linear-gradient(135deg, var(--accent), #6B8977);
    color:#06141B;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    font-weight:700;
    text-decoration:none;
    opacity:0;
    pointer-events:none;
    transform:translateY(20px);
    transition:.35s ease;
    z-index:999;
}

.back-to-top.show{
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
}

@media(max-width:768px){

    .header-content{
        flex-direction:row;
        justify-content:space-between;
    }

    .menu-toggle{
        display:block;
    }

    .nav-menu{
        position:fixed;
        top:0;
        right:-100%;
        width:78%;
        height:100vh;
        background:rgba(6,20,27,.96);
        backdrop-filter:blur(16px);
        flex-direction:column;
        justify-content:center;
        align-items:center;
        gap:28px;
        transition:.4s ease;
        z-index:1000;
    }

    .nav-menu.active{
        right:0;
    }

    .nav-menu a{
        font-size:20px;
    }
}
/* =========================
   CATALOGS
========================= */

.catalogs-section{
    background:linear-gradient(
        90deg,
        #123843 0%,
        #1f4547 45%,
        #0a0f0f 100%
    );
    color:#fff;
    padding:120px 0;
}

.catalogs-content{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:80px;
    align-items:center;
}

.catalogs-title h2{
    font-size:clamp(64px, 8vw, 120px);
    line-height:1.15;
    font-weight:300;
}

.catalogs-title em{
    font-style:italic;
    font-weight:600;
}

.catalogs-list h3{
    font-size:42px;
    margin-bottom:45px;
}

.catalog-btn{
    display:block;
    width:100%;
    background:rgba(255,255,255,.35);
    border:1px solid rgba(255,255,255,.9);
    color:#fff;
    padding:28px 24px;
    border-radius:14px;
    text-align:center;
    font-size:22px;
    font-style:italic;
    margin-bottom:30px;
    transition:.35s;
}

.catalog-btn:hover{
    background:rgba(255,255,255,.55);
    color:#06141B;
}

@media(max-width:900px){
    .catalogs-content{
        grid-template-columns:1fr;
    }

    .catalogs-title h2{
        font-size:56px;
    }

    .catalog-btn{
        font-size:16px;
    }
}