@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Spacing scale (multiples of 4px) ── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* ── Colors ── */
  --red: #C8102E;
  --red-dark: #a00d24;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-300: #d0d0d0;
  --nav-height: 56px;
}

html, body {
  font-family: 'Inter', sans-serif;
  height: 100vh;
  overflow-x: hidden;
}

/* ── GLOBAL NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url(../img/ruido.png);
  background-size: 350px 350px;
  background-repeat: repeat;
  opacity: 0.2;
  pointer-events: none;
  z-index: 9999;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-8);
  z-index: 10;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}

.nav-logo .shield { width: 36px; height: 36px; }
.nav-logo img { height: 32px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: var(--space-8);
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #1E1E1E;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--red); }

.nav-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #1E1E1E;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.nav-search-btn:hover { color: var(--red); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: #1E1E1E;
  padding: var(--space-12) var(--space-8) var(--space-6);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-6);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}

.footer-logo img { height: 36px; width: auto; display: block; }

.footer-logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.footer-tagline {
  font-size: 0.78rem;
  color: #666;
  line-height: 1.55;
  max-width: 220px;
}

.footer-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: var(--space-2) var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-badge span {
  font-size: 0.68rem;
  color: #888;
  line-height: 1.3;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-4);
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col ul li a {
  font-size: 0.78rem;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: #fff; }

.footer-col .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 0.78rem;
  color: #666;
  line-height: 1.4;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-whatsapp-footer {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--red);
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: var(--space-2);
  text-decoration: none;
}

.btn-whatsapp-footer:hover { background: var(--red-dark); }

.footer-bottom {
  text-align: center;
  font-size: 0.72rem;
  color: #444;
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}
