
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Para que el menú navegue fluido */
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.btn-contacto-nav {
    background-color: #ff9800;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
}

/* =======================================================
   2. SECCIÓN NOSOTROS (HISTORIA FAMILIAR)
   ======================================================= */
#nosotros {
    padding: 80px 10%;
    background-color: #fff;
}

.nosotros-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

#nosotros h2 span {
    color: #ff9800;
}

.beneficio-item {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* El cuadro azul de +10 años */
.caja-experiencia {
    background-color: #2c3e50;
    color: white;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* =======================================================
   3. SECCIÓN SERVICIOS (CON BOTONES)
   ======================================================= */
#servicios {
    padding: 80px 20px;
    background-color: #fcfcfc;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #ff9800; /* Línea naranja bajo el título */
    margin: 12px auto 0;
}

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    flex: 1 1 300px;
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.btn-servicio-ws {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn-servicio-ws:hover {
    background-color: #ff9800;
}

/* =======================================================
   4. CATÁLOGOS Y ZINGUERÍA (IMÁGENES)
   ======================================================= */
.producto-card img, .producto img {
    width: 100%;
    height: 220px;
    object-fit: contain; /* AJUSTE CLAVE: Para que no se corten las babetas/eólicos */
    background: #fdfdfd;
    margin-bottom: 15px;
}

.buscador {
    border: 2px solid #ff9800;
    border-radius: 50px;
    padding: 12px 25px;
    width: 100%;
    max-width: 450px;
    margin-bottom: 40px;
    outline: none;
}

/* =======================================================
   5. RESPONSIVE (CELULARES)
   ======================================================= */
@media (max-width: 768px) {
    .nosotros-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-item {
        max-width: 100%;
    }
}