/* =========================================
   RESET
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Montserrat', sans-serif;
    background:#f5f7fa;
    color:#111;
    overflow-x:hidden;
}

/* =========================================
   NAVBAR ORIGINAL
========================================= */

.navbar{
    width:100%;
    height:90px;
    padding:0 8%;
    background:#002060;

    display:flex;
    justify-content:space-between;
    align-items:center;

    position:sticky;
    top:0;
    z-index:1000;

    box-shadow:0 4px 12px rgba(0,0,0,0.15);
}

/* LOGO */

.logo{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.logo img{
    height:70px;
    width:auto;
    object-fit:contain;
    transition:0.3s;
}

.logo img:hover{
    transform:scale(1.05);
}

/* NAV LINKS */

.nav-links{
    display:flex;
    align-items:center;
    gap:30px;
}

.nav-links a{
    position:relative;

    text-decoration:none;

    color:white;

    font-size:1rem;
    font-weight:600;

    transition:0.3s;
}

/* LINEA ANIMADA */

.nav-links a::after{
    content:"";

    position:absolute;

    left:0;
    bottom:-6px;

    width:0%;
    height:2px;

    background:#ff8c00;

    transition:0.3s;
}

.nav-links a:hover{
    color:#ff8c00;
}

.nav-links a:hover::after{
    width:100%;
}

/* ACTIVO */

.nav-links a.active{
    color:#ff8c00;
}

.nav-links a.active::after{
    width:100%;
}
/* =========================================
   PRODUCTOS / TARJETAS
========================================= */

.productos{
    padding: 90px 8%;
    background: #f5f7fa;
}

.productos-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.producto-card{
    position: relative;
    height: 430px;
    border-radius: 8px;
    overflow: hidden;
    background: #002060;
    box-shadow: 0 14px 35px rgba(0,0,0,0.18);
}

.producto-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.5s ease;
}

.producto-card:hover img{
    transform: scale(1.08);
}

.productos{
    padding: 90px 8%;
    background: #ffffff;
}

.productos-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.producto-card{
    position: relative;
    height: 430px;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}

.producto-card img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 28px;
    background: #ffffff;
    transition: 0.5s ease;
}

.producto-card:hover img{
    transform: scale(1.04);
}

/* TEXTO OCULTO AL INICIO */
.producto-overlay{
    position: absolute;
    inset: 0;
    padding: 34px;
    background: rgba(0, 32, 96, 0.88);

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    opacity: 0;
    visibility: hidden;
    transition: 0.35s ease;
}

/* TEXTO VISIBLE AL PASAR EL MOUSE */
.producto-card:hover .producto-overlay{
    opacity: 1;
    visibility: visible;
}

.producto-overlay h3{
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.producto-overlay p{
    color: #f1f1f1;
    line-height: 1.6;
    margin-bottom: 15px;
}

.producto-aplicacion{
    color: #ffb347;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.btn-producto{
    width: max-content;
    padding: 12px 22px;
    border-radius: 50px;
    background: #ff8c00;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-producto:hover{
    background: white;
    color: #002060;
}

@media(max-width: 1000px){
    .productos-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 650px){
    .productos{
        padding: 60px 6%;
    }

    .productos-grid{
        grid-template-columns: 1fr;
    }

    .producto-card{
        height: 380px;
    }

    .producto-overlay{
        padding: 26px;
    }
}
/* APLICACION */

.producto-aplicacion{
    color:#ffb347;

    font-weight:600;

    display:block;

    margin-bottom:15px;
}

/* PRECIO */

.precio{
    color:#ff8c00;

    font-size:1.3rem;

    font-weight:700;

    margin-bottom:20px;

    display:block;
}

/* BOTON */

.btn-producto{
    width:max-content;

    padding:12px 22px;

    border-radius:50px;

    background:#ff8c00;

    color:white;

    text-decoration:none;

    font-weight:600;

    transition:0.3s;
}

.btn-producto:hover{
    background:white;
    color:#002060;
}

/* =========================================
   WHATSAPP
========================================= */

.whatsapp{
    position:fixed;

    right:25px;
    bottom:25px;

    width:65px;
    height:65px;

    border-radius:50%;

    background:#25d366;

    display:flex;
    justify-content:center;
    align-items:center;

    color:white;

    font-size:2rem;

    text-decoration:none;

    box-shadow:0 5px 15px rgba(0,0,0,0.25);

    z-index:999;
}

/* =========================================
   FOOTER
========================================= */

.footer{
    background:#002060;

    color:white;

    text-align:center;

    padding:70px 20px 40px;
}

.footer h3{
    font-size:2.2rem;
    margin-bottom:15px;
}

.footer p{
    max-width:700px;
    margin:auto;

    line-height:1.7;
}

/* REDES */

.redes{
    display:flex;
    justify-content:center;
    align-items:center;

    gap:20px;

    margin:35px 0;
}

.redes a{
    width:50px;
    height:50px;

    border-radius:50%;

    background:white;
    color:#002060;

    display:flex;
    justify-content:center;
    align-items:center;

    text-decoration:none;

    transition:0.3s;
}

.redes a:hover{
    background:#ff8c00;
    color:white;
}

/* COPY */

.copy{
    margin-top:20px;
    opacity:0.7;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:900px){

    .navbar{
        height:auto;

        flex-direction:column;

        padding:20px;

        gap:20px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;

        gap:18px;
    }

    .hero-content h1{
        font-size:2.5rem;
    }

    .producto-card{
        height:360px;
    }

} 
/* HERO PREFABRICADOS */

.hero-prefabricados{
    position: relative;
    min-height: 78vh;
    padding: 140px 8% 90px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #071521;
}

.hero-bg-video,
.hero-bg-image{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg-video{
    z-index: 0;
}

.hero-bg-image{
    z-index: 0;
    background-image: url("../img/prefabricados-hero.jpg");
    background-size: cover;
    background-position: center;
}

.hero-overlay{
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0,32,96,0.88), rgba(0,32,96,0.48), rgba(0,0,0,0.2));
}

.hero-prefabricados .hero-content{
    position: relative;
    z-index: 2;
    max-width: 760px;
    color: white;
}

.hero-label{
    display: inline-block;
    margin-bottom: 18px;
    color: #ff5a00;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-prefabricados h1{
    font-size: clamp(2.6rem, 6vw, 5.8rem);
    line-height: 1;
    margin-bottom: 24px;
}

.hero-prefabricados p{
    max-width: 620px;
    line-height: 1.8;
    font-size: 1.08rem;
    color: rgba(255,255,255,0.9);
}

.hero-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}

.hero-btn{
    padding: 15px 28px;
    border-radius: 6px;
    background: #ff5a00;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s ease;
}

.hero-btn:hover{
    background: #e65000;
    transform: translateY(-3px);
}

.hero-btn-outline{
    background: transparent;
    border: 2px solid white;
}

.hero-btn-outline:hover{
    background: white;
    color: #002060;
}


/* FOOTER CAPI + PASA */

.footer-capi-pasa{
    background:
        linear-gradient(135deg, #002060 0%, #071521 100%);
    color: white;
    text-align: left;
    padding: 0;
    overflow: hidden;
}

.footer-capi-container{
    padding: 70px 8%;
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 70px;
    align-items: center;
}

.footer-capi-brand h2{
    color: white;
    font-size: 3rem;
    margin-bottom: 22px;
    letter-spacing: 1px;
}

.footer-capi-brand p{
    max-width: 760px;
    margin: 0 0 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.82);
}

.footer-capi-lead{
    font-weight: 800;
    color: white !important;
}

.footer-capi-links{
    display: grid;
    gap: 18px;
}

.footer-capi-links a{
    color: white;
    text-decoration: none;
    font-size: 1.45rem;
    font-weight: 800;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.16);
    transition: 0.3s ease;
}

.footer-capi-links a:hover{
    color: #ff7a00;
    padding-left: 8px;
}

.footer-capi-bottom{
    background: #002060;
    color: white;
    text-align: center;
    padding: 20px 8%;
    font-weight: 600;
    border-top: 1px solid rgba(255,255,255,0.12);
}

@media(max-width: 900px){
    .footer-capi-container{
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 55px 6%;
    }

    .footer-capi-brand h2{
        font-size: 2.4rem;
    }

    .footer-capi-links a{
        font-size: 1.25rem;
    }
}

/* =========================================
   NAVBAR PRODUCTOS - MISMO TAMAÑO Y SCROLL
========================================= */

.navbar{
    width: 100%;
    min-height: 128px;
    padding: 14px 40px;
    background: #002060;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: min-height 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.logo img{
    height: 100px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: height 0.3s ease, transform 0.3s ease;
}

.logo img:hover{
    transform: scale(1.05);
}

.nav-links{
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a{
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #ff7a00;
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active{
    color: #ff7a00;
}

.nav-links a:hover::after,
.nav-links a.active::after{
    width: 100%;
}

.navbar.scrolled{
    min-height: 96px;
    padding: 10px 40px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.22);
}

.navbar.scrolled .logo img{
    height: 76px;
}

@media(max-width: 900px){
    .navbar{
        min-height: auto;
        padding: 18px 6%;
        flex-direction: column;
        gap: 18px;
    }

    .logo img{
        height: 82px;
    }

    .nav-links{
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 22px;
    }

    .navbar.scrolled{
        min-height: auto;
        padding: 14px 6%;
    }

    .navbar.scrolled .logo img{
        height: 70px;
    }
}
.productos-intro{
    padding: 90px 8% 30px;
    background: #f5f7fa;
    text-align: center;
}

.productos-intro span{
    display: inline-block;
    margin-bottom: 14px;
    color: #ff7a00;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.productos-intro h1{
    max-width: 900px;
    margin: 0 auto 22px;
    color: #002060;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.05;
}

.productos-intro p{
    max-width: 820px;
    margin: 0 auto;
    color: #4b5563;
    font-size: 1.08rem;
    line-height: 1.8;
}

.productos-intro-actions{
    margin-top: 34px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.productos-intro-actions a{
    padding: 14px 26px;
    border-radius: 6px;
    background: #002060;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s ease;
}

.productos-intro-actions a:nth-child(2){
    background: transparent;
    color: #002060;
    border: 2px solid #002060;
}

.productos-intro-actions a:hover{
    transform: translateY(-3px);
    background: #ff7a00;
    color: white;
    border-color: #ff7a00;
}

.productos-confianza{
    padding: 20px 8% 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    background: #f5f7fa;
}

.productos-confianza div{
    background: white;
    border: 1px solid rgba(0,32,96,0.08);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.04);
}

.productos-confianza strong{
    display: block;
    color: #002060;
    font-size: 2rem;
    margin-bottom: 6px;
}

.productos-confianza span{
    color: #5b6470;
    font-weight: 600;
}

@media(max-width: 768px){
    .productos-confianza{
        grid-template-columns: 1fr;
    }
}

/* =========================================
   FOOTER PRODUCTOS LLAMATIVO
========================================= */

.footer-productos{
    background: #071521;
    color: white;
    overflow: hidden;
}

.footer-productos-top{
    padding: 70px 8%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    background: #001845;
    border-top: 3px solid #e8a050;
}

.footer-productos-brand h2{
    font-size: 4rem;
    margin-bottom: 18px;
    letter-spacing: 1px;
    color: white;
}

.footer-productos-brand p{
    max-width: 560px;
    line-height: 1.75;
    color: rgba(255,255,255,0.72);
}

.footer-productos-cta{
    padding: 34px;
    border-left: 3px solid #e8a050;
    background: rgba(255,255,255,0.04);
    border-radius: 0 6px 6px 0;
}

.footer-productos-cta span{
    display: block;
    margin-bottom: 14px;
    color: #e8a050;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
}

.footer-productos-cta h3{
    max-width: 650px;
    font-size: clamp(1.6rem, 2.5vw, 2.6rem);
    line-height: 1.1;
    margin-bottom: 28px;
    color: white;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.footer-productos-actions{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-productos-actions a{
    padding: 13px 22px;
    border-radius: 3px;
    background: white;
    color: #001845;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.25s ease;
}

.footer-productos-actions a:nth-child(2){
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.8);
}

.footer-productos-actions a:hover{
    transform: translateY(-2px);
    background: #e8a050;
    color: white;
    border-color: #e8a050;
}

.footer-productos-main{
    padding: 60px 8%;
    background: #071521;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 50px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4{
    color: white;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.footer-col a,
.footer-col p{
    display: block;
    color: rgba(255,255,255,0.52);
    text-decoration: none;
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.88rem;
    transition: 0.25s ease;
}

.footer-col a:hover{
    color: #e8a050;
    padding-left: 5px;
}

.footer-social{
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.footer-social a{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    padding-left: 0 !important;
    transition: 0.25s ease;
}

.footer-social a:hover{
    background: #e8a050;
    border-color: #e8a050;
    color: white;
    transform: translateY(-3px);
}

.footer-productos-bottom{
    padding: 20px 8%;
    background: #001845;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

@media(max-width: 900px){
    .footer-productos-top{
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 50px 6%;
    }

    .footer-productos-main{
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 44px 6%;
    }

    .footer-productos-brand h2{
        font-size: 2.8rem;
    }

    .footer-productos-cta{
        padding: 24px;
    }
}
/* =========================================
   HERO CON IMAGEN
========================================= */

.hero-productos-nuevo {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-productos-nuevo .hero-bg {
    position: absolute;
    inset: 0;
    background: #0a1628;
    z-index: 0;
}

.hero-productos-nuevo .hero-img-overlay {
    position: absolute;
    inset: 0;
    background-image: url("../img/banner-productos.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    z-index: 1;
}

.hero-productos-nuevo .hero-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(5, 15, 40, 0.97) 0%,
        rgba(5, 15, 40, 0.78) 55%,
        rgba(5, 15, 40, 0.32) 100%
    );
    z-index: 2;
}

.hero-productos-nuevo .hero-content {
    position: relative;
    z-index: 3;
    padding: 70px 8% 60px;
    width: 100%;
}

.hero-productos-nuevo .hero-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.hero-productos-nuevo .hero-left {
    flex: 1;
    max-width: 580px;
}

/* TAG */

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e8a050;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-tag::before {
    content: "";
    display: block;
    width: 22px;
    height: 1.5px;
    background: #e8a050;
}

/* TITULO */

.hero-productos-nuevo h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: 10px;
}

.hero-productos-nuevo h1 em {
    font-style: italic;
    color: #e8a050;
}

.hero-subtitulo {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-productos-nuevo p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.82;
    margin-bottom: 30px;
    max-width: 520px;
}

/* BOTONES */

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-btns a {
    text-decoration: none;
    padding: 13px 24px;
    border-radius: 3px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.25s ease;
}

.hero-btns a:first-child {
    background: #ffffff;
    color: #001845;
}

.hero-btns a:first-child:hover {
    background: #e8a050;
    color: #fff;
    transform: translateY(-2px);
}

.hero-btns a:last-child {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.8);
}

.hero-btns a:last-child:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* STATS HERO */

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-self: flex-end;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.07);
    padding: 16px 22px;
    border-left: 2px solid rgba(232, 160, 80, 0.4);
    min-width: 120px;
}

.hero-stat-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1;
}

.hero-stat-lbl {
    display: block;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.38);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
}

/* =========================================
   TICKER
========================================= */

.ticker-productos {
    background: #001845;
    padding: 11px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(232, 160, 80, 0.2);
}

.ticker-inner {
    display: inline-flex;
    animation: ticker-move 22s linear infinite;
}

.ticker-inner:hover {
    animation-play-state: paused;
}

.tick-item {
    font-size: 0.72rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.38);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 24px;
}

.tick-sep {
    color: rgba(232, 160, 80, 0.5);
    font-size: 0.72rem;
    padding: 0 4px;
}

@keyframes ticker-move {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================
   SECTION HEADER CATEGORÍAS
========================================= */

.categorias-header {
    padding: 50px 8% 22px;
    background: #f0f2f5;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.categorias-header-left span {
    display: block;
    font-size: 0.68rem;
    color: #e8a050;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.categorias-header-left h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 900;
    color: #001845;
    letter-spacing: -0.5px;
    margin: 0;
}

.categorias-header-right {
    font-size: 0.7rem;
    color: #9aa0b0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   BENTO GRID
========================================= */

.bento-grid {
    padding: 0 8% 80px;
    background: #f0f2f5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 14px;
}

/* CARD BASE */

.bento-card {
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(0, 24, 69, 0.07);
    box-shadow: 0 2px 14px rgba(0, 24, 69, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 24, 69, 0.13);
}

/* CARD FEATURED — 2 columnas */

.bento-card.featured {
    grid-column: span 2;
    flex-direction: row;
}

.bento-card.featured .card-img {
    width: 48%;
    flex-shrink: 0;
    min-height: 220px;
    height: auto;
}

.bento-card.featured .card-body {
    flex: 1;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* CARD DARK */

.bento-card.dark {
    background: #001845;
    border-color: #001845;
}

.bento-card.dark .card-tag   { color: #e8a050; }
.bento-card.dark .card-title { color: #ffffff; }
.bento-card.dark .card-when  { color: rgba(255, 255, 255, 0.78); }
.bento-card.dark .card-desc  { color: rgba(255, 255, 255, 0.45); }

.bento-card.dark .card-cta {
    color: rgba(255, 255, 255, 0.65);
    border-color: rgba(255, 255, 255, 0.18);
}

/* IMAGEN */

.card-img {
    height: 160px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.card-img-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.45s ease;
}

.bento-card:hover .card-img-inner {
    transform: scale(1.05);
}

.card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 10, 30, 0.55),
        rgba(0, 10, 30, 0.08)
    );
}

/* NUMERO DECORATIVO */

.card-num {
    position: absolute;
    bottom: 8px;
    right: 14px;
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
    letter-spacing: -2px;
    font-family: 'Montserrat', sans-serif;
}

/* BADGE */

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffffff;
    color: #001845;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
}

/* BODY */

.card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-tag {
    font-size: 0.65rem;
    color: #e8a050;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 7px;
}

.card-title {
    font-size: 1rem;
    font-weight: 800;
    color: #001845;
    line-height: 1.25;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.bento-card:hover .card-title {
    color: #001845;
}

/* ÚSALO CUANDO */

.card-when {
    font-size: 0.78rem;
    font-weight: 700;
    color: #001845;
    margin-bottom: 7px;
    line-height: 1.4;
}

.card-when::before {
    content: "Úsalo cuando: ";
    color: #e8a050;
    font-weight: 800;
}

.card-desc {
    font-size: 0.78rem;
    color: #7b8499;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

/* CTA */

.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 800;
    color: #001845;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1.5px solid rgba(0, 24, 69, 0.18);
    padding-bottom: 2px;
    width: fit-content;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.bento-card:hover .card-cta {
    color: #e8a050;
    border-color: rgba(232, 160, 80, 0.4);
}

/* IMAGENES POR CATEGORIA */
/* Reemplaza con tus imágenes reales en el HTML */

.img-pref { background-image: url("/img/prefabricados.jpg");  background-color: #1a2d5a; }
.img-asf  { background-image: url("/img/asfaltico.jpg");      background-color: #1a1a1a; }
.img-acr  { background-image: url("/img/acrilico.jpg");       background-color: #0a3d2e; }
.img-cem  { background-image: url("/img/cementosos.png");      background-color: #2a1a08; }
.img-pol  { background-image: url("/img/poliuretano.png");    background-color: #1a0a3d; }


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .hero-productos-nuevo .hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .hero-stats {
        flex-direction: row;
        align-self: stretch;
        width: 100%;
        gap: 2px;
    }

    .hero-stat {
        flex: 1;
        border-left: none;
        border-top: 2px solid rgba(232, 160, 80, 0.4);
        text-align: center;
        min-width: unset;
    }

    .hero-productos-nuevo .hero-content {
        padding: 50px 6% 44px;
    }

    .categorias-header {
        padding: 40px 6% 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        padding: 0 6% 60px;
    }

    .bento-card.featured {
        grid-column: span 1;
        flex-direction: column;
    }

    .bento-card.featured .card-img {
        width: 100%;
        height: 200px;
        min-height: unset;
    }

    .bento-card.featured .card-body {
        padding: 18px 20px 20px;
    }

}
* 
/* ===== RESPONSIVE: TÍTULOS GRANDES ===== */
.hero-content h1{
    font-size: clamp(2.4rem, 9vw, 6rem);
}

.experiencia-left h2{
    font-size: clamp(2rem, 6vw, 4rem);
}

.mapa-header h2,
.contacto-global h2{
    font-size: clamp(1.8rem, 6vw, 3.5rem);
}

/* Red de seguridad: si algo se desborda igual, no rompe el layout */
html, body{
    overflow-x: hidden;
}

*{
    overflow-wrap: break-word;
}
