:root {
    --primary-red: #E31E24;
    --electric-blue: #0066CC;
    --dark-blue: #003D82;
    --light-gray: #F5F7FA;
    --medium-gray: #E0E4E9;
    --text-dark: #1A1A1A;
    --text-light: #5B6472;
    --white: #FFFFFF;
    --wa: #1FAF54;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); line-height: 1.6; background: var(--light-gray); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.2; }
img { max-width: 100%; }
a { color: var(--electric-blue); }

/* NAV */
nav#navbar { position: fixed; top: 0; left: 0; right: 0; background: white; box-shadow: 0 2px 20px rgba(0,0,0,0.08); z-index: 1000; }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 1.2rem 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.logo-nav { height: 50px; width: auto; display: block; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; }
.nav-links a:hover { color: var(--primary-red); }
.nav-cta { background: linear-gradient(135deg, var(--primary-red), #C41E24); color: white; padding: 0.75rem 1.5rem; border-radius: 8px; text-decoration: none; font-weight: 600; white-space: nowrap; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.mobile-menu-btn span { width: 25px; height: 3px; background: var(--text-dark); border-radius: 3px; }
@media (max-width: 968px) {
    .mobile-menu-btn { display: flex; }
    .nav-cta { display: none; }
    .nav-links { display: none; position: fixed; top: 84px; left: 0; right: 0; background: white; flex-direction: column; padding: 2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.15); gap: 1rem; }
    .nav-links.open { display: flex !important; }
}
@media (max-width: 640px) { .nav-container { padding: 1rem 1.25rem; } .logo-nav { height: 42px; } .nav-links { top: 74px; } }

/* PAGE HEADER */
.page-header { margin-top: 84px; background: linear-gradient(135deg, var(--dark-blue), var(--electric-blue)); color: white; padding: 3.5rem 2rem; }
.page-header-inner { max-width: 1400px; margin: 0 auto; }
.page-header h1 { font-size: 3rem; margin: 0.5rem 0 0.75rem; max-width: 900px; }
.page-header .lead { font-size: 1.15rem; opacity: 0.92; max-width: 800px; }
.crumbs { font-size: 0.9rem; opacity: 0.85; }
.crumbs a { color: white; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (max-width: 768px) { .page-header { padding: 2.5rem 1.25rem; margin-top: 74px; } .page-header h1 { font-size: 2rem; } .page-header .lead { font-size: 1rem; } }

/* FILTERS */
.filters { background: white; padding: 1.25rem 2rem; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 84px; z-index: 100; }
.filters-wrap { max-width: 1400px; margin: 0 auto; display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.filter-btn { padding: 0.6rem 1.3rem; border: 2px solid var(--medium-gray); background: white; color: var(--text-dark); border-radius: 50px; font-weight: 600; font-size: 0.95rem; cursor: pointer; font-family: inherit; }
.filter-btn:hover { border-color: var(--electric-blue); }
.filter-btn.active { background: var(--electric-blue); color: white; border-color: var(--electric-blue); }
@media (max-width: 968px) {
    .filters { position: relative; top: 0; padding: 1rem; }
    .filters-wrap { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; }
    .filter-btn { white-space: nowrap; flex-shrink: 0; font-size: 0.85rem; padding: 0.55rem 1.1rem; }
}

/* LAYOUT */
.container { max-width: 1400px; margin: 0 auto; padding: 3rem 2rem; }
@media (max-width: 640px) { .container { padding: 2rem 1rem; } }
.intro { max-width: 900px; margin-bottom: 2.5rem; }
.intro p { font-size: 1.08rem; color: var(--text-light); margin-bottom: 1rem; line-height: 1.75; }
.cat-section { margin-bottom: 4rem; scroll-margin-top: 180px; }
.cat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.75rem; padding-bottom: 0.9rem; border-bottom: 3px solid var(--primary-red); flex-wrap: wrap; }
.cat-head h2 { font-size: 2rem; }
.cat-head h2 a { color: var(--electric-blue); text-decoration: none; }
.see-all { font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 640px) { .cat-head h2 { font-size: 1.5rem; } }

/* GRID + CARD */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.75rem; }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr 1fr; gap: 0.9rem; } }
.card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.07); display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
.card-img { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(135deg, #f8f9fa, #eef1f5); overflow: hidden; }
.card-img img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.badges { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.6rem; min-height: 1.6rem; }
.code { background: var(--primary-red); color: white; padding: 0.2rem 0.7rem; border-radius: 50px; font-weight: 700; font-size: 0.78rem; }
.brand { background: #E8F1FB; color: var(--dark-blue); padding: 0.2rem 0.7rem; border-radius: 50px; font-weight: 600; font-size: 0.78rem; }
.card h3 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.card p { color: var(--text-light); font-size: 0.93rem; line-height: 1.55; margin-bottom: 1rem; }
.specs { display: flex; flex-direction: column; gap: 0.45rem; padding-top: 0.85rem; border-top: 2px solid var(--light-gray); margin-top: auto; }
.spec { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.88rem; }
.spec span:first-child { color: var(--text-light); }
.spec span:last-child { font-weight: 700; color: var(--electric-blue); text-align: right; }
.card-cta { margin-top: 1rem; display: block; text-align: center; background: var(--wa); color: white; text-decoration: none; font-weight: 600; padding: 0.7rem; border-radius: 10px; font-size: 0.95rem; }
.card-cta:hover { filter: brightness(1.07); }
@media (max-width: 560px) {
    .card-body { padding: 0.85rem; }
    .card h3 { font-size: 0.95rem; }
    .card p { font-size: 0.82rem; }
    .spec { font-size: 0.78rem; }
    .code, .brand { font-size: 0.7rem; padding: 0.15rem 0.55rem; }
    .card-cta { font-size: 0.85rem; padding: 0.6rem; }
}

/* CTA BAND */
.cta-band { background: linear-gradient(135deg, var(--dark-blue), var(--electric-blue)); color: white; padding: 4rem 2rem; text-align: center; }
.cta-inner { max-width: 800px; margin: 0 auto; }
.cta-band h2 { font-size: 2.2rem; margin-bottom: 0.75rem; }
.cta-band p { opacity: 0.92; font-size: 1.1rem; margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 0.95rem 1.8rem; border-radius: 10px; font-weight: 600; text-decoration: none; }
.btn-wa { background: var(--wa); color: white; }
.btn-light { background: white; color: var(--dark-blue); }
@media (max-width: 640px) { .cta-band h2 { font-size: 1.6rem; } .btn { width: 100%; } }

/* OTHER CATS */
.other-cats { max-width: 1400px; margin: 0 auto; padding: 3rem 2rem 1rem; text-align: center; }
.other-cats h2 { font-size: 1.6rem; margin-bottom: 1.25rem; }
.chips { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.cat-chip { background: white; border: 2px solid var(--medium-gray); padding: 0.65rem 1.25rem; border-radius: 50px; text-decoration: none; color: var(--text-dark); font-weight: 600; }
.cat-chip:hover { border-color: var(--electric-blue); color: var(--electric-blue); }

/* LEGAL */
.legal { max-width: 900px; }
.legal h2 { font-size: 1.35rem; color: var(--electric-blue); margin: 2rem 0 0.75rem; }
.legal p, .legal li { color: var(--text-light); line-height: 1.75; margin-bottom: 0.75rem; }
.legal ul { padding-left: 1.4rem; }
.legal .updated { margin-top: 2.5rem; font-size: 0.9rem; }

/* FOOTER */
footer { background: var(--text-dark); color: white; padding: 3rem 2rem 2rem; margin-top: 4rem; }
.footer-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-logo { height: 60px; width: auto; margin-bottom: 1rem; }
.footer-about p { color: rgba(255,255,255,0.72); line-height: 1.8; }
.footer-links h4 { margin-bottom: 1rem; }
.footer-links ul { list-style: none; }
.footer-links li { color: rgba(255,255,255,0.72); padding: 0.35rem 0; }
.footer-links a { color: rgba(255,255,255,0.72); text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 2rem; text-align: center; color: rgba(255,255,255,0.55); font-size: 0.92rem; }
.footer-bottom a { color: rgba(255,255,255,0.75); }
@media (max-width: 968px) { .footer-container { grid-template-columns: 1fr; gap: 2rem; } }

/* WHATSAPP FLOAT */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,0.25); z-index: 1100; }
.wa-float:hover { transform: scale(1.06); }
