/* Estilos para la sección de productos destacados */
.productos-hero {
    height: 70vh;
    min-height: 500px;
    max-height: 600px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e9ecef;
}

.productos-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23333" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23333" opacity="0.02"/><circle cx="50" cy="10" r="0.5" fill="%23333" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    height: 100%;
}

.hero-text {
    color: #2c3e50;
    z-index: 2;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: none;
    color: #1a252f;
}

.hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 0;
    font-weight: 400;
    color: #34495e;
}

.productos-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    height: 400px;
}

.producto-hero {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    background-size: cover;
    background-position: center;
}

.producto-hero:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.wallpanel {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), 
                      url('https://www.sialumconcepcion.cl/imagebank/imgref/imgref-5018724c1c4c69be4051373ef533b087.webp');
    border: 2px solid #e9ecef;
}

.metalsiding {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), 
                      url('https://www.sialumconcepcion.cl/imagebank/imgref/imgref-1deaec759fee8df9f6348a0b50c21b85.webp');
    border: 2px solid #e9ecef;
}

.producto-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.1) 40%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: all 0.3s ease;
}

.producto-hero:hover .producto-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 20%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.15) 100%);
}

.producto-info {
    color: white;
    width: 100%;
}

.producto-badge {
    display: inline-block;
    background: #e74c3c;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.producto-badge.resistente {
    background: #f39c12;
}

.producto-nombre {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
     color: white;  /* ← Agregar esta línea */
}

.producto-desc {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 20px;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.producto-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.producto-features li {
    font-size: 1.1rem;
    margin-bottom: 6px;
    opacity: 0.9;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.btn-hero {
    display: inline-block;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-shadow: none;
}

.btn-hero {
    display: inline-block;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-hero:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
    border-color: rgba(255,255,255,0.2);
}

/* Animaciones de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text {
    animation: fadeInUp 0.8s ease forwards;
}

.productos-showcase {
    animation: fadeInRight 0.8s ease 0.3s forwards;
    opacity: 0;
}

/* Responsive - Solo mostrar en desktop */
@media (max-width: 1024px) {
    .productos-hero {
        display: none;
    }
}

/* Para tablets grandes */
@media (min-width: 1025px) and (max-width: 1200px) {
    .hero-content {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .productos-showcase {
        height: 350px;
    }
    
    .producto-nombre {
        font-size: 2rem;
    }
    
    .producto-desc {
        font-size: 1.1rem;
    }
    
    .producto-features li {
        font-size: 1rem;
    }
}

/* Para pantallas muy grandes */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 4.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .productos-showcase {
        height: 450px;
    }
    
    .productos-hero {
        height: 80vh;
        max-height: 700px;
    }
    
    .producto-nombre {
        font-size: 2.8rem;
    }
    
    .producto-desc {
        font-size: 1.4rem;
    }
    
    .producto-features li {
        font-size: 1.2rem;
    }
    
    .btn-hero {
        font-size: 1.2rem;
        padding: 18px 40px;
    }
}