:root {
    --accent: #00A1DE;
    --dark: #0f172a;
    --white: #ffffff;
    --light: #f1f5f9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--dark); line-height: 1.6; overflow-x: hidden; background: #fff; }

/* --- NAVBAR BASE --- */
.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 8%; 
    background: #ffffff; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    height: 140px; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

/* Efecto Blur Overlay para el menú móvil */
.navbar::after {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
    pointer-events: none;
}

#menu-check:checked ~ .navbar::after {
    opacity: 1;
    visibility: visible;
}

.logo-container { height: 120px; display: flex; align-items: center; }
.main-logo { height: 100%; width: auto; object-fit: contain; }

.nav-links { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 700; font-size: 1rem; }
.btn-nav { background: var(--dark); color: white !important; padding: 10px 20px; border-radius: 6px; font-size: 0.9rem !important; }

/* Menú Hamburguesa (Oculto en PC) */
#menu-check { display: none; }
.menu-btn { display: none; cursor: pointer; flex-direction: column; gap: 6px; z-index: 2001; }
.menu-btn span { width: 30px; height: 3px; background: var(--dark); border-radius: 10px; transition: 0.3s; }

/* --- HERO BASE --- */
.hero { 
    padding-top: 140px; 
    background: linear-gradient(135deg, #ffffff 0%, var(--light) 100%); 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    padding: 0 8%;
}
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; align-items: center; }
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.1; margin: 20px 0; font-weight: 800; }
.badge { background: var(--accent); color: white; padding: 6px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 800; display: inline-block; }
.btn-main { background: var(--accent); color: white; padding: 16px 32px; text-decoration: none; border-radius: 8px; font-weight: bold; display: inline-block; }
.btn-whatsapp { background: #25d366 !important; color: white !important; padding: 16px 32px; text-decoration: none; border-radius: 8px; font-weight: bold; display: inline-block; margin-left: 10px; border: none; }

.hero-image img { width: 100%; border-radius: 25px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* --- SECCIONES --- */
.products { padding: 80px 8%; text-align: center; }
.section-subtitle { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 10px; display: block; }
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 50px; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.product-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #eee; }
.product-img img { width: 100%; height: 250px; object-fit: cover; }
.product-info { padding: 25px; }

/* --- BANNER (CENTRADO) --- */
.promo-wrapper { padding: 40px 0; width: 100%; text-align: center; display: flex; justify-content: center; }
.promo-banner { max-width: 90%; height: auto; border-radius: 15px; display: block; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* --- MARCAS --- */
.brands-section { padding: 60px 8%; background: var(--light); text-align: center; }
.brands-display { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 30px; }
.brand-item { font-weight: 800; font-size: 1.4rem; color: #cbd5e1; }

/* --- SERVICIOS --- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; padding: 80px 8%; background: var(--dark); color: white; text-align: center; }
.feature-card .icon { font-size: 3rem; margin-bottom: 20px; display: block; }

/* --- FOOTER --- */
.footer { background: #070b14; color: #cbd5e1; padding: 80px 8% 30px; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.logo-footer { font-size: 1.8rem; font-weight: 800; color: white; margin-bottom: 15px; }
.footer-bottom { margin-top: 60px; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; }

/* --- WHATSAPP FLOTANTE --- */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background-color: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 10000; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.wa-logo-img { width: 35px; }

/* ======================================================
   AJUSTE ESPECÍFICO PARA LAPTOP / CHROME (Laptop Fix)
   ====================================================== */
@media (min-width: 769px) {
    .navbar { height: 120px; }
    .logo-container { height: 90px; }
    .hero { padding-top: 170px; } /* Evita que se empalme en Chrome laptop */
}

/* ======================================================
   AJUSTE ESPECÍFICO PARA MÓVIL / IPHONE (Menú Hamburguesa)
   ====================================================== */
@media (max-width: 768px) {
    .navbar { height: 85px; padding: 0 20px; }
    .logo-container { height: 55px; }
    
    .menu-btn { display: flex; }
    .menu-btn span { background-color: var(--dark) !important; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 50px;
        transition: 0.4s cubic-bezier(1, 0, 0, 1);
        z-index: 2000;
        gap: 20px;
    }

    #menu-check:checked ~ .nav-links { right: 0; }

    /* Animación X Menú */
    #menu-check:checked ~ .menu-btn span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    #menu-check:checked ~ .menu-btn span:nth-child(2) { opacity: 0; }
    #menu-check:checked ~ .menu-btn span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .hero { padding-top: 120px; text-align: center; }
    .hero-container { grid-template-columns: 1fr; }
    .hero-btns { display: flex; flex-direction: column; gap: 10px; width: 100%; }
    .btn-main, .btn-whatsapp { margin: 0; width: 100%; text-align: center; }
}