/* ===== BASE ===== */
html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0d1117; }
::-webkit-scrollbar-thumb { background: #30363d; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #E60012; }

/* ===== NAVBAR ===== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 1px 24px rgba(0,0,0,0.07);
}

.nav-link {
    color: rgba(255,255,255,0.72);
    transition: color 0.25s;
}
.nav-link:hover { color: #fff; }

#navbar.scrolled .nav-link { color: #475569; }
#navbar.scrolled .nav-link:hover { color: #E60012; }

.nav-logo { filter: brightness(0) invert(1); transition: filter 0.4s; }
#navbar.scrolled .nav-logo { filter: none; }

/* ===== HERO ===== */
.hero-bg-dots {
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.045) 1px, transparent 0);
    background-size: 28px 28px;
}

/* Brand mosaic cards */
.brand-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.brand-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

/* ===== CATALOG CARDS ===== */
.cat-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cat-card:hover { transform: translateY(-4px); }

/* ===== SCROLL DOWN INDICATOR ===== */
@keyframes bounce-down {
    0%, 100% { transform: translateY(0) translateX(-50%); opacity: 0.4; }
    50% { transform: translateY(6px) translateX(-50%); opacity: 1; }
}
.scroll-indicator { animation: bounce-down 2s ease infinite; }

/* ===== FLOATING WHATSAPP ===== */
.wa-float {
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.35);
    transition: all 0.25s;
}
.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(34, 197, 94, 0.45);
}

/* ===== FORM INPUTS ===== */
.form-input {
    width: 100%;
    background: #f8fafc;
    color: #1e293b;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    padding: 0.65rem 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: Inter, sans-serif;
}
.form-input:focus {
    border-color: #E60012;
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.08);
}

/* ===== SECTION FADE-IN ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
    background: #0d1117;
    border-top: 1px solid rgba(255,255,255,0.08);
}
