*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f5f5f5;
    color:#222;
}

.top-bar{
    background:#003b73;
    color:white;
    text-align:center;
    padding:10px;
    font-size:14px;
}

header{
    background:white;
    padding:20px;
    text-align:center;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
}

.logo{
    max-width:350px;
    width:100%;
    margin-bottom:20px;
}

.search-box{
    max-width:700px;
    margin:auto;
}

.search-box input{
    width:100%;
    padding:15px;
    border:2px solid #ff7b00;
    border-radius:10px;
    font-size:16px;
}

.hero{
    height:450px;
    background:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)),
    url('../img/banner.jpeg');
    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero-content{
    color:white;
}

.hero h1{
    font-size:48px;
    margin-bottom:15px;
}

.hero p{
    font-size:22px;
    margin-bottom:25px;
}

.btn-whatsapp{
    background:#25d366;
    color:white;
    text-decoration:none;
    padding:15px 25px;
    border-radius:10px;
    font-weight:bold;
}

.categorias{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:15px;
    padding:30px;
    background:white;
}

.servicios-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:15px;
}

.servicio{
    background:#eaf3ff;
    color:#003b73;
    padding:18px 20px;
    border-radius:12px;
    border-left:4px solid #ff7b00;
    box-shadow:0 2px 8px rgba(0,0,0,.08);

    display:flex;
    align-items:center;

    font-size:16px;
    font-weight:600;
    text-align:left;

    transition:.3s;
}

.servicio:hover{
    transform:translateY(-3px);
    box-shadow:0 6px 15px rgba(0,0,0,.12);
}

.servicio i{
    color:#ff7b00;
    font-size:22px;
    width:35px;
    min-width:35px;
    text-align:center;
    margin-right:10px;
}
.productos{
    padding:50px 20px;
}

.productos h2{
    text-align:center;
    margin-bottom:30px;
}

.products{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,280px));
    justify-content:center;
    gap:25px;
}

.card{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 3px 10px rgba(0,0,0,.1);
    display:flex;
    flex-direction:column;
    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.card img{
    width:100%;
    height:180px;
    object-fit:contain;
    background:white;
    padding:15px;
}

.card-content{
    padding:20px;
    flex:1;
    display:flex;
    flex-direction:column;
}

.card-content h3{
    font-size:15px;
    font-weight:500;
    min-height:40px;
    text-align:center;
    line-height:1.3;
}

.price{
    color:#ff7b00;
    font-size:22px;
    font-weight:600;
    margin:10px 0;
    text-align:center;
}

.card button{
    display:flex;
    justify-content:center;
    align-items:center;
    width:180px;
    height:45px;
    margin:15px auto;
    border:none;
    border-radius:25px;
    background:#003b73;
    color:#fff;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.card button:hover{
    background:#ff7b00;
}

.cart{
    background:white;
    margin:40px 20px;
    padding:30px;
    border-radius:15px;
}
.total{
    margin-top:20px;
    font-size:28px;
    font-weight:bold;
    color:#ff7b00;
}

.btn-comprar{
    display:block;
    margin-top:20px;
    background:#25d366;
    color:white;
    text-align:center;
    padding:15px;
    border-radius:10px;
    text-decoration:none;
    font-weight:bold;
}

footer{
    background:#222;
    color:white;
    text-align:center;
    padding:25px;
    margin-top:40px;
}

@media(max-width:768px){

    .hero h1{
        font-size:32px;
    }

    .hero p{
        font-size:18px;
    }

}

.cart-item{
    padding:15px;
    border-bottom:1px solid #ddd;
    margin-bottom:10px;
}

.cart-item button{
    margin:3px;
    padding:6px 10px;
    border:none;
    border-radius:6px;
    cursor:pointer;
}

.clientes{
    text-align:center;
    padding:50px 20px;
    background:white;
}

.logos-clientes{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
    margin-top:30px;
}

.logos-clientes img{
    height:70px;
}

.trabajos-hidrojet{
    padding:60px 20px;
    background:#ffffff;
    text-align:center;
}

.trabajos-hidrojet h2{
    margin-bottom:35px;
    color:#003b73;
}

.trabajos-grid{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:nowrap;
}

.trabajo-card{
    width:220px;
}

.trabajo-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 3px 10px rgba(0,0,0,.10);
}

.trabajo-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}

.trabajo-card h3{
    padding:15px 15px 5px;
    color:#003b73;
}

.trabajo-card p{
    padding:0 15px 20px;
    font-size:14px;
    line-height:1.5;
}

@media(max-width:768px){

    .trabajos-grid{
        grid-template-columns:1fr;
    }

    .trabajo-card img{
        height:220px;
    }

}

.header-logos{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:25px;
    flex-wrap:wrap;
}

.header-logos a{
    display:block;
    transition:.3s;
}

.header-logos a:hover{
    transform:scale(1.03);
}

.header-logos img{
    width:320px;
    max-width:100%;
    height:auto;
    border-radius:12px;
}

@media(max-width:768px){

    .header-logos{
        flex-direction:column;
    }

    .header-logos img{
        width:280px;
    }

}
.selector-servicio{
    text-align:center;
    color:#003b73;
    font-size:28px;
    font-weight:700;
    margin-bottom:25px;
}

.estadisticas{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    padding:40px 20px;
    background:#003b73;
    color:white;
    text-align:center;
}

.stat span{
    display:block;
    font-size:42px;
    font-weight:700;
    color:#ff7b00;
}

.stat p{
    margin-top:10px;
    font-size:16px;
}

@media(max-width:768px){

    .estadisticas{
        grid-template-columns:repeat(2,1fr);
    }

}

.galeria-hidrojet{
    padding:60px 20px;
    background:#f5f5f5;
    text-align:center;
}

.galeria-hidrojet h2{
    color:#003b73;
    margin-bottom:35px;
    font-size:32px;
}

.galeria-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    max-width:1200px;
    margin:auto;
}

.galeria-item{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 3px 10px rgba(0,0,0,.10);
    transition:.3s;
}

.galeria-item:hover{
    transform:translateY(-5px);
}

.galeria-item img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.galeria-item h3{
    padding:15px;
    color:#003b73;
    font-size:18px;
}

@media(max-width:768px){
    .galeria-grid{
        grid-template-columns:1fr;
    }
}

.video-hidrojet{
    padding:60px 20px;
    background:#003b73;
    text-align:center;
}

.video-hidrojet h2{
    color:white;
    margin-bottom:30px;
    font-size:32px;
}

.video-container{
    max-width:800px;
    margin:auto;
    text-align:center;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.3);
    overflow:hidden;
    padding:20px;
}

.video-container iframe{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.whatsapp-float{
    position:fixed;
    bottom:20px;
    right:20px;
    z-index:9999;
}

.wa-main{
    width:65px;
    height:65px;
    background:#003b73;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    box-shadow:0 5px 15px rgba(0,0,0,.3);
    transition:.3s;
}

.wa-main img{
    width:85px;
    height:85px;
    object-fit:contain;
}

.wa-main:hover{
    transform:scale(1.05);
}

.wa-menu{
    display:none;
    position:absolute;
    bottom:80px;
    right:0;
    background:white;
    border-radius:10px;
    box-shadow:0 5px 20px rgba(0,0,0,.2);
    overflow:hidden;
    min-width:180px;
}

.wa-menu a{
    display:block;
    padding:12px;
    text-decoration:none;
    color:#003b73;
    font-weight:600;
    border-bottom:1px solid #eee;
}

.wa-menu a:hover{
    background:#f5f5f5;
}

.hero-carousel{
    position:relative;
    height:450px;
    overflow:hidden;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    transition:1s ease;
}

.slide.active{
    opacity:1;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    filter:brightness(60%);
}

.hero-content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    text-align:center;
    color:white;
}

.hero-carousel{
    position:relative;
    height:450px;
    overflow:hidden;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    transition:1s ease;
}

.slide.active{
    opacity:1;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    filter:brightness(60%);
}

.hero-content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    text-align:center;
    color:white;
}

.redes-sociales{
    text-align:center;
    padding:50px 20px;
    background:#f5f5f5;
}

.redes-sociales h2{
    margin-bottom:25px;
    color:#003b73;
}

.redes-grid{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
}

.redes-grid a{
    width:60px;
    height:60px;
    background:#003b73;
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    font-size:22px;
    transition:.3s;
    text-decoration:none;
}

.redes-grid a:hover{
    background:#ff7b00;
    transform:translateY(-5px);
}

.redes-grid{
    margin-top:60px;
}

.info-servicio{
    padding:50px 20px;
    text-align:center;
}

.info-servicio p{
    max-width:800px;
    margin:auto;
    line-height:1.6;
}

.volver{
    text-align:center;
    padding:60px 20px;
}

.btn-volver{
    background:#003b73;
    color:white;
    padding:15px 25px;
    text-decoration:none;
    border-radius:10px;
    font-weight:bold;
}

.btn-volver:hover{
    background:#ff7b00;
}

.bloque-servicio{
    max-width:1100px;
    margin:auto;
    padding:50px 20px;
}

/* 🔥 RESET TOTAL CONTROLADO */
.servicio-main{
    display:flex !important;
    flex-direction:row !important;
    gap:30px;
    align-items:flex-start;
}

/* imagen */
.servicio-main img{
    width:25% !important;
    height:auto;
    display:block;
    border-radius:15px;
    object-fit:cover;
}

/* texto */
.servicio-texto{
    width:55% !important;
}

/* galería abajo sí o sí */
.mini-galeria-servicio{
    width:100%;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:10px;
    margin-top:25px;
}

/* imágenes galería */
.mini-galeria-servicio img{
    width:100%;
    height:90px;
    object-fit:cover;
    border-radius:10px;
}

.acciones-servicio{
    text-align:center;
    margin-top:40px;
}

.btn-contratar{
    display:inline-block;
    background:#25d366;
    color:white;
    padding:16px 35px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    font-size:18px;
    margin-right:15px;
}

.btn-contratar:hover{
    opacity:.9;
}

.btn-volver-mini{
    display:inline-block;
    color:#666;
    text-decoration:none;
    font-size:14px;
}

.btn-volver-mini:hover{
    color:#003b73;
}

.servicios-horizontal{
    display:flex;
    flex-wrap:nowrap; /* Impide que bajen */
    gap:15px;
    justify-content:center;
    padding:40px 20px;
    overflow-x:auto; /* Permite desplazamiento horizontal si falta espacio */
}

.servicio-box{
    width:220px;
    flex-shrink:0;
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 4px 15px rgba(0,0,0,0.1);
    text-align:center;
}

.servicio-box h3{
    color:#0a5aa8;
    margin-bottom:10px;
}

.servicio-box h4{
    font-size:16px;
    margin-bottom:15px;
}

.servicio-box p{
    color:#555;
    line-height:1.6;
    margin-bottom:20px;
}

.btn-servicio{
    display:inline-block;
    background:#25D366;
    color:#fff;
    text-decoration:none;
    padding:12px 20px;
    border-radius:8px;
    font-weight:bold;
    transition:0.3s;
}

.btn-servicio:hover{
    background:#1da851;
}

@media(max-width:768px){
    .servicio-box{
        max-width:100%;
    }
}

.titulo-trabajos{
    text-align:center;
    font-size:36px;
    font-weight:bold;
    color:#0a5aa8;
    margin:50px 0 30px 0;
}

.porque-elegirnos{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
    padding:60px 20px;
    max-width:1200px;
    margin:auto;
}

.porque-texto{
    flex:1;
}

.porque-texto h2{
    color:#0a5aa8;
    margin-bottom:20px;
    font-size:36px;
}

.porque-texto ul{
    list-style:none;
    padding:0;
}

.porque-texto li{
    margin:15px 0;
    font-size:18px;
}

.porque-imagen{
    flex:1;
}

.porque-imagen img{
    width:100%;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.15);
}

.btn-whatsapp{
    display:inline-block;
    margin-top:20px;
    background:#25D366;
    color:white;
    padding:14px 25px;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;
}

@media(max-width:768px){
    .porque-elegirnos{
        flex-direction:column;
        text-align:center;
    }
}

.clientes-grid{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:30px;
    max-width:900px;
    margin:auto;
}

.clientes-grid img{
    width:140px;
    height:140px;
    border-radius:50%;
    object-fit:cover;
}

@media (max-width: 768px) {
    .servicios-horizontal {
        flex-direction: column;
        align-items: center; /* centra todo */
    }

    .servicio-box {
        width: 90%;
    }
}

.video-container{
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.imagen-inspeccion{
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.reseña-inspeccion{
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.reseña-inspeccion{
    display: block;
    color: #fff !important;
    font-size: 16px;
    line-height: 1.6;
    margin-top: 15px;
    padding: 0 15px;
}

@media(max-width:768px){

    .imagen-inspeccion{
        height:250px;
    }

    .reseña-inspeccion{
        display:block !important;
        color:#fff !important;
        font-size:15px;
        line-height:1.6;
        padding:15px;
    }

}

@media (max-width:768px){

.trabajos-grid{
    flex-direction:column;
    align-items:center;
}

.trabajo-card{
    width:100%;
    max-width:350px;
}

}