* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --azul-metalico: #005f99;
    --azul-brillante: #00c6ff;
    --oscuro: #0f172a;
    --gris-fondo: #f1f5f9;
    --whatsapp: #25d366;
}

body { font-family: 'Inter', sans-serif; background-color: var(--gris-fondo); color: #333; line-height: 1.6; }

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%; background: var(--oscuro); border-bottom: 3px solid var(--azul-metalico);
    position: sticky; top: 0; z-index: 1000;
}
.logo { font-size: 1.8rem; font-weight: bold; color: var(--azul-brillante); }
.nav-buttons { display: flex; gap: 15px; }
.btn-nav { text-decoration: none; color: white; padding: 10px 18px; border: 1px solid var(--azul-brillante); border-radius: 6px; font-weight: bold; transition: 0.3s; font-size: 0.9rem; }
.btn-nav:hover { background: var(--azul-metalico); }

.hero { background: linear-gradient(135deg, var(--oscuro) 0%, #1e293b 100%); color: white; padding: 80px 20px; text-align: center; }
.hero h1 { font-size: 2.5rem; }
.hero h1 span { color: var(--azul-brillante); }

.main-container { padding: 50px 5%; }
.underline { width: 60px; height: 4px; background: var(--azul-metalico); margin: 10px auto; }
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.producto-card { background: white; border-radius: 15px; padding: 25px; border-top: 6px solid var(--azul-metalico); transition: 0.3s; cursor: pointer; }
.producto-card:hover { transform: translateY(-8px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.img-container { width: 100%; height: 220px; display: flex; align-items: center; justify-content: center; background: white; margin-bottom: 15px; border-radius: 10px; overflow: hidden; }
.img-container img { max-width: 95%; max-height: 95%; object-fit: contain; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); overflow-y: auto; }
.modal-content { background: white; margin: 40px auto; padding: 30px; width: 90%; max-width: 950px; border-radius: 20px; position: relative; animation: fadeIn 0.4s ease-out; }
.modal-body-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.carousel-container { position: relative; background: white; border-radius: 15px; height: 400px; display: flex; align-items: center; overflow: hidden; border: 1px solid #eee; }
.modal-image-box img { width: 100%; height: 100%; object-fit: contain; }
.modal-arrow { background: rgba(15, 23, 42, 0.8); color: white; border: none; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; position: absolute; z-index: 100; }
.prev { left: 15px; } .next { right: 15px; }
.whatsapp-btn { display: block; text-align: center; background: var(--whatsapp); color: white; text-decoration: none; padding: 18px; border-radius: 10px; font-weight: bold; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background: var(--whatsapp); color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 1000; text-decoration: none; animation: pulse 2s infinite; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

.contact-section { padding: 80px 5%; text-align: center; background: var(--oscuro); color: white; }
.contact-email { margin: 20px 0; font-size: 1.4rem; color: var(--azul-brillante); font-weight: bold; }
.contact-social-buttons { display: flex; justify-content: center; gap: 20px; margin-top: 30px; }
.discrete-social-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; font-size: 1.2rem; transition: 0.3s; }
.discrete-social-btn:hover { background: var(--azul-brillante); border-color: var(--azul-brillante); transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 198, 255, 0.3); }

.main-footer { background: #0b1121; color: white; padding: 60px 5% 20px; border-top: 4px solid var(--azul-metalico); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.footer-section h3, .footer-section h4 { color: var(--azul-brillante); margin-bottom: 20px; }
.footer-section a { color: #cbd5e1; text-decoration: none; display: block; margin-bottom: 12px; transition: 0.3s; }
.footer-section a:hover { color: var(--azul-brillante); padding-left: 5px; }
.social-icons { display: flex; gap: 20px; font-size: 1.5rem; }
.social-icons a { color: white; transition: 0.3s; }
.social-icons a:hover { transform: scale(1.1); color: var(--azul-brillante); }
.footer-bottom { text-align: center; margin-top: 50px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.05); color: #64748b; font-size: 0.85rem; }

@media (max-width: 768px) { .navbar { flex-direction: column; gap: 20px; } .modal-body-grid { grid-template-columns: 1fr; } .carousel-container { height: 300px; } .hero h1 { font-size: 1.8rem; } }