:root {
  --blue: #1a3a5c;
  --blue-dark: #0f2440;
  --gold: #d4af37;
  --gold-light: #f1e5ac;
  --gold-dark: #9a7d0a;
  --green: #25D366;
  --green-hover: #1da851;
  --red: #dc2626;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── HEADER ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(15, 36, 64, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: all var(--transition);
}

.header.scrolled .logo-img {
  height: 40px;
}

.logo:hover .logo-img, .footer-logo:hover .logo-img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-left: 14px;
}

.logo-main {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.05em;
}

.logo-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
  margin-top: 2px;
}

.header.scrolled .logo-main { font-size: 1.2rem; }
.header.scrolled .logo-tagline { font-size: 0.6rem; }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav-link:hover { color: var(--gold); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--blue-dark);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(15, 36, 64, 0.8), rgba(15, 36, 64, 0.7)), url('hero-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--white);
  padding-top: 100px;
  position: relative;
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.hero-badge .dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--gold);
}

.hero .subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 48px;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 60px;
  margin-top: 80px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-top: 8px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--white);
  padding: 30px 0;
  border-bottom: 1px solid var(--gray-200);
}

.trust-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--blue-dark);
}

.trust-item svg { width: 24px; height: 24px; fill: var(--gold); }

/* ─── SECTIONS ─── */
.section { padding: 120px 0; }
.section-muted { background: var(--gray-50); }
.section-dark { background: var(--blue-dark); color: var(--white); }

.section-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 700px;
  margin-bottom: 60px;
}

.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* ─── CARDS ─── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.card {
  background: var(--white);
  padding: 48px 40px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: height 0.3s ease;
}

.card:hover::after { height: 100%; }

.card-icon {
  width: 70px;
  height: 70px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.card-icon svg { width: 35px; height: 35px; fill: var(--gold-dark); }

.card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; }
.card p { color: var(--gray-600); font-size: 1.05rem; }

/* ─── CRIME DASHBOARD ─── */
.crime-box {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 2px solid #fecaca;
  border-radius: var(--radius);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

.crime-visual {
  text-align: center;
}

.crime-num {
  font-size: 5rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}

.crime-label {
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  margin-top: 10px;
}

.crime-text h3 { font-size: 2rem; font-weight: 800; color: var(--gray-900); margin-bottom: 20px; }
.crime-text p { font-size: 1.15rem; color: var(--gray-700); }

/* ─── TESTIMONIALS ─── */
.testimonial {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 20px; }
.quote { font-size: 1.1rem; font-style: italic; color: var(--gray-700); margin-bottom: 24px; }
.author { font-weight: 800; font-size: 1rem; color: var(--blue-dark); }
.role { font-size: 0.9rem; color: var(--gray-500); }

/* ─── ACCORDION (FAQ) ─── */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-header {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-header h4 { font-size: 1.2rem; font-weight: 700; }
.faq-header .icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}
.faq-item.active .icon { transform: rotate(180deg); }
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.faq-content p { padding-bottom: 24px; color: var(--gray-600); }

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 36, 64, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal {
  background: var(--white);
  border-radius: 24px;
  padding: 60px 48px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--gray-100);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gray-500);
}

.modal-header { text-align: center; margin-bottom: 40px; }
.modal-header h3 { font-size: 2rem; font-weight: 900; margin-bottom: 12px; }
.modal-header p { color: var(--gray-500); }

.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; color: var(--gray-700); }
.form-group input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-error { color: var(--red); font-size: 0.8rem; margin-top: 6px; display: none; }
.form-group.error input { border-color: var(--red); }
.form-group.error .form-error { display: block; }

/* ─── FOOTER ─── */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.6);
  padding: 100px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-logo { 
  display: inline-block; 
  text-decoration: none; 
  margin-bottom: 24px; 
}
.footer-logo .logo-img {
  height: 54px;
}

.footer-title { color: var(--white); font-weight: 800; margin-bottom: 24px; font-size: 1.1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all var(--transition);
}

.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }


/* ─── RESPONSIVE ─── */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .crime-box { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 3rem; }
  .section { padding: 80px 0; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; }
}

/* ─── ANIMATIONS ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

[data-reveal].active {
  opacity: 1;
  transform: translateY(0);
}
