* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; background: #f8f9fa; color: #1a1a1a; }

/* Header */
.header { background: #dc2626; color: white; padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.header-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: white; }
.logo h1 { font-size: 26px; font-weight: 900; letter-spacing: -0.5px; }
.logo small { font-size: 11px; color: #fca5a5; display: block; letter-spacing: 0.5px; }
.nav { display: flex; gap: 20px; align-items: center; }
.nav a:not(.btn-reportar) { color: white; text-decoration: none; font-size: 14px; font-weight: 500; }
.nav a:not(.btn-reportar):hover { color: #fca5a5; }
.btn-reportar { background: white; color: #dc2626 !important; padding: 8px 20px; border-radius: 50px; font-weight: 700; text-decoration: none; font-size: 14px; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.btn-reportar:hover { background: #fff7f7; color: #dc2626 !important; }

/* Hero */
.hero { background: linear-gradient(135deg, #dc2626, #991b1b); color: white; padding: 60px 20px; text-align: center; }
.hero h2 { font-size: 42px; font-weight: 800; margin-bottom: 16px; }
.hero p { font-size: 18px; color: #fca5a5; max-width: 600px; margin: 0 auto 30px; }
.search-box { background: white; border-radius: 16px; padding: 8px; display: flex; gap: 8px; max-width: 600px; margin: 0 auto; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.search-box input { flex: 1; padding: 12px 16px; border: none; outline: none; font-size: 15px; color: #333; border-radius: 12px; }
.search-box button { background: #dc2626; color: white; padding: 12px 24px; border: none; border-radius: 12px; font-weight: 700; cursor: pointer; font-size: 15px; }
.search-box button:hover { background: #b91c1c; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 400px; margin: 40px auto 0; }
.stat { text-align: center; }
.stat strong { font-size: 28px; font-weight: 800; display: block; }
.stat span { font-size: 13px; color: #fca5a5; }

/* Container */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 50px 20px; }
.section-title { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.section-sub { color: #6b7280; margin-bottom: 28px; font-size: 15px; }

/* Categorías */
.categorias { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.categoria-card { background: white; border-radius: 16px; padding: 20px; text-align: center; border: 2px solid #f3f4f6; text-decoration: none; color: #1a1a1a; transition: all 0.2s; display: block; }
.categoria-card:hover { border-color: #dc2626; box-shadow: 0 4px 12px rgba(220,38,38,0.1); }
.categoria-card .emoji { font-size: 36px; margin-bottom: 10px; display: block; }
.categoria-card strong { font-size: 13px; font-weight: 700; display: block; }
.categoria-card small { font-size: 11px; color: #9ca3af; margin-top: 4px; display: block; }

/* Reportes */
.reportes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.reporte-card { background: white; border-radius: 16px; padding: 20px; border: 2px solid #f3f4f6; transition: all 0.2s; }
.reporte-card:hover { border-color: #fca5a5; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.badges { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.badge { padding: 4px 10px; border-radius: 50px; font-size: 11px; font-weight: 700; }
.badge-estafa { background: #fee2e2; color: #b91c1c; }
.badge-abuso { background: #fff7ed; color: #c2410c; }
.badge-alerta { background: #fefce8; color: #a16207; }
.badge-verificado { background: #dcfce7; color: #166534; }
.badge-fecha { background: #f3f4f6; color: #6b7280; margin-left: auto; }
.reporte-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.reporte-card p { font-size: 14px; color: #6b7280; margin-bottom: 12px; line-height: 1.5; }
.reporte-footer { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.reporte-footer .lugar { color: #9ca3af; }
.reporte-footer .alertas { color: #dc2626; font-weight: 700; }

/* Cómo funciona */
.como-funciona { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.paso { background: white; border-radius: 16px; padding: 28px; text-align: center; border: 2px solid #f3f4f6; }
.paso-num { width: 40px; height: 40px; background: #dc2626; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 16px; font-size: 18px; }
.paso .emoji { font-size: 40px; margin-bottom: 14px; display: block; }
.paso h4 { font-weight: 700; margin-bottom: 8px; }
.paso p { font-size: 13px; color: #6b7280; line-height: 1.6; }

/* CTA */
.cta { background: #dc2626; color: white; padding: 60px 20px; text-align: center; }
.cta h3 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.cta p { color: #fca5a5; margin-bottom: 28px; font-size: 16px; }
.btn-white { background: white; color: #dc2626; padding: 14px 36px; border-radius: 50px; font-weight: 800; text-decoration: none; font-size: 17px; display: inline-block; transition: all 0.2s; }
.btn-white:hover { background: #fff7f7; }

/* Donación */
.donacion { background: #fff7ed; border: 2px solid #fed7aa; border-radius: 20px; padding: 30px; text-align: center; margin: 40px 0; }
.donacion h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; color: #c2410c; }
.donacion p { color: #9a3412; margin-bottom: 20px; font-size: 14px; }
.donar-opciones { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.donar-btn { background: #ea580c; color: white; padding: 12px 24px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 15px; transition: all 0.2s; }
.donar-btn:hover { background: #c2410c; }
.donar-btn.activo { background: #c2410c; }

/* Publicidad AdSense */
.ad-banner { background: #f3f4f6; border: 1px dashed #d1d5db; border-radius: 12px; padding: 20px; text-align: center; color: #9ca3af; font-size: 13px; margin: 20px 0; min-height: 90px; display: flex; align-items: center; justify-content: center; }

/* Footer */
footer { background: #1f2937; color: #9ca3af; padding: 40px 20px; text-align: center; }
footer .logo-footer { font-size: 22px; margin-bottom: 8px; }
footer p { font-size: 13px; margin-bottom: 16px; }
footer .footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }
footer .footer-links a { color: #9ca3af; text-decoration: none; font-size: 13px; }
footer .footer-links a:hover { color: white; }
footer small { font-size: 11px; color: #4b5563; }

/* Forms */
.form-card { background: white; border-radius: 20px; padding: 30px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; color: #6b7280; margin-bottom: 6px; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid #e5e7eb; border-radius: 12px; font-size: 15px; outline: none; font-family: inherit; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #dc2626; }
.form-group textarea { resize: none; }
.btn-rojo { background: #dc2626; color: white; padding: 14px 28px; border: none; border-radius: 50px; font-weight: 700; font-size: 16px; cursor: pointer; width: 100%; transition: all 0.2s; }
.btn-rojo:hover { background: #b91c1c; }
.btn-gris { background: white; color: #6b7280; padding: 14px 28px; border: 2px solid #e5e7eb; border-radius: 50px; font-weight: 600; font-size: 15px; cursor: pointer; transition: all 0.2s; }
.btn-gris:hover { background: #f9fafb; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.progreso { display: flex; gap: 8px; margin-bottom: 28px; }
.progreso-barra { flex: 1; height: 6px; border-radius: 50px; background: #e5e7eb; }
.progreso-barra.activo { background: #dc2626; }

/* Alertas success / warning */
.alerta-verde { background: #dcfce7; border: 2px solid #86efac; border-radius: 16px; padding: 24px; text-align: center; }
.alerta-verde h3 { color: #166534; font-size: 20px; margin-bottom: 8px; }
.alerta-verde p { color: #15803d; font-size: 14px; }
.alerta-roja { background: #fee2e2; border: 2px solid #fca5a5; border-radius: 16px; padding: 20px; display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.alerta-roja p { color: #991b1b; font-size: 14px; }
.aviso-amarillo { background: #fefce8; border: 2px solid #fde047; border-radius: 12px; padding: 14px 18px; font-size: 13px; color: #854d0e; margin-bottom: 16px; }

/* Búsqueda */
.busqueda-grande { background: white; border-radius: 16px; padding: 10px; display: flex; gap: 10px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); margin-bottom: 30px; }
.busqueda-grande input { flex: 1; padding: 14px 18px; border: none; outline: none; font-size: 16px; color: #333; }
.busqueda-grande button { background: #dc2626; color: white; padding: 14px 28px; border: none; border-radius: 12px; font-weight: 700; cursor: pointer; font-size: 15px; }

/* Filtros */
.filtros { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 24px; }
.filtro-btn { padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; border: 2px solid #e5e7eb; background: white; color: #6b7280; text-decoration: none; }
.filtro-btn.activo { background: #dc2626; color: white; border-color: #dc2626; }

/* Hamburger Menu */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 3px; background: white; border-radius: 3px; transition: all 0.3s; }
.hamburger.activo span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.activo span:nth-child(2) { opacity: 0; }
.hamburger.activo span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-mobile { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #991b1b; z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
.nav-mobile.activo { display: flex; }
.nav-mobile a { color: white; text-decoration: none; font-size: 24px; font-weight: 700; }
.nav-mobile a:hover { color: #fca5a5; }
.nav-mobile .btn-reportar-mobile { background: white; color: #dc2626; padding: 16px 40px; border-radius: 50px; font-size: 22px; }
.nav-mobile .cerrar { position: absolute; top: 20px; right: 20px; color: white; font-size: 32px; cursor: pointer; background: none; border: none; }

/* Responsive */
@media (max-width: 768px) {
  .hero h2 { font-size: 28px; }
  .categorias { grid-template-columns: repeat(2, 1fr); }
  .reportes { grid-template-columns: 1fr; }
  .como-funciona { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hamburger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
