:root {
  --bg: #f7f5ef;
  --bg-alt: #eef6ef;
  --card: #ffffff;
  --text: #253127;
  --muted: #617164;
  --line: #dbe5da;
  --accent: #2f6f49;
  --accent-dark: #225338;
  --red: #a33a32;
  --green: #2c7a50;
  --amber: #9b6a12;
  --shadow: 0 12px 28px rgba(28, 40, 31, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(860px, 100%); }
.section { padding: 72px 0; }
#about.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(247,245,239,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px;
  align-items: center; padding: 14px 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); }
.brand-icon { font-size: 1.35rem; }
.main-nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.main-nav a { color: var(--text); font-weight: 600; }
.lang-switcher { display: flex; gap: 8px; }
.lang-btn {
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  border-radius: 999px; padding: 8px 12px; cursor: pointer; font-weight: 700;
}
.lang-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 28px; align-items: start; }
.eyebrow { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.hero h1 { margin: 10px 0 18px; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.05; }
.hero-text { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 14px; font-weight: 700; border: 0; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; }
.btn-secondary { background: var(--card); color: var(--text); border: 1px solid var(--line); }
.btn-secondary:hover { text-decoration: none; }
.hero-panel, .note-box, .incident-card, .city-card, .report-form {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
}
.hero-panel { padding: 24px; }
.hero-panel h2 { margin-top: 0; }
.hero-panel ul { padding-left: 20px; margin: 0; }
.hero-panel li + li { margin-top: 10px; }
.contact-card { display: flex; flex-direction: column; }
.contact-card h2 { margin: 0 0 16px; font-size: 1.35rem; }
.contact-info { display: grid; gap: 8px; }
.contact-name { margin: 0; font-weight: 800; font-size: 1.1rem; color: var(--text); }
.contact-label { margin: 0; font-size: 0.9rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-value { margin: 0; font-size: 1rem; }
.contact-value a { display: inline-block; color: var(--accent); font-weight: 700; transition: all 0.2s; }
.contact-value a:hover { text-decoration: underline; }
.section h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-head {
  display: flex; justify-content: space-between; gap: 18px; align-items: end; flex-wrap: wrap; margin-bottom: 24px;
}
.map-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.95rem; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 999px; margin-right: 6px; vertical-align: middle; }
.dot-red { background: var(--red); }
.dot-green { background: var(--green); }
.dot-amber { background: var(--amber); }
.main-map {
  height: 520px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.filters { display: flex; gap: 12px; flex-wrap: wrap; }
.filters label, .report-form label { display: grid; gap: 7px; font-weight: 600; }
.filters select, .report-form input, .report-form select, .report-form textarea {
  border: 1px solid #cfdace; border-radius: 12px; background: #fff; padding: 11px 12px; font: inherit; color: var(--text);
}
.incident-list { display: grid; gap: 22px; }
.incident-card { padding: 22px; }
.incident-card-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.incident-meta-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.incident-badge {
  display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 10px; font-size: 0.85rem; font-weight: 800;
}
.badge-shooting { background: rgba(163,58,50,0.12); color: var(--red); }
.badge-poisoning { background: rgba(44,122,80,0.14); color: var(--green); }
.badge-other { background: rgba(155,106,18,0.14); color: var(--amber); }
.badge-reported, .badge-pending { background: rgba(86,108,255,0.1); color: #3d4f9e; }
.badge-confirmed { background: rgba(44,122,80,0.14); color: var(--green); }
.badge-dead { background: rgba(90,90,90,0.12); color: #4a4a4a; }
.badge-injured { background: rgba(255,180,0,0.12); color: #cc8800; }
.incident-title { margin: 0; font-size: 1.5rem; }
.incident-subtitle { margin: 6px 0 0; color: var(--muted); }
.incident-summary { margin: 14px 0 0; }
.incident-details { margin-top: 16px; }
.incident-details summary { cursor: pointer; font-weight: 800; color: var(--accent); }
.incident-details-content { margin-top: 18px; display: grid; gap: 18px; }
.incident-description p { margin: 0 0 12px; }
.incident-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.incident-gallery img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); background: #f2f2f2;
}
.incident-map {
  height: 280px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
}
.city-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.city-card { padding: 18px; }
.city-card h3 { margin: 0 0 8px; }
.report-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; }
.note-box { padding: 16px 18px; }
.report-form { padding: 22px; display: grid; gap: 14px; }
.consent-row { grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-weight: 500; }
.hidden-botcheck { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-status { min-height: 1.5em; margin: 0; font-weight: 700; }
.site-footer { border-top: 1px solid var(--line); padding: 18px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); }
.leaflet-popup-content { min-width: 220px; }
.popup-title { font-weight: 800; margin-bottom: 4px; }
.popup-meta { font-size: 0.93rem; color: var(--muted); margin-bottom: 8px; }
@media (max-width: 900px) {
  .header-inner, .hero-grid, .report-grid { grid-template-columns: 1fr; }
  .main-nav { justify-content: start; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  #about.section { padding: 40px 0; }
  .container { width: min(100% - 20px, 1180px); }
  .main-map { height: 380px; }
}
