:root {
  --ink: #17202a;
  --muted: #65717e;
  --orange: #f85a16;
  --orange-dark: #c9440d;
  --cream: #fff8f3;
  --line: #e8e2dd;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 16px/1.65 Arial, Helvetica, sans-serif;
}
a { color: var(--orange-dark); }
a:hover { color: var(--orange); }
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav {
  max-width: 1120px;
  margin: auto;
  min-height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.04em;
}
.brand span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  color: var(--ink);
  padding: 9px 12px;
  text-decoration: none;
  border-radius: 6px;
}
.nav-links a:hover, .nav-links a.active { background: var(--cream); color: var(--orange-dark); }
.button, button {
  border: 0;
  border-radius: 6px;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font: inherit;
  font-weight: 700;
  padding: 11px 18px;
  text-decoration: none;
}
.button:hover, button:hover { background: var(--orange-dark); color: #fff; }
.hero {
  background: linear-gradient(115deg, rgba(23,32,42,.92), rgba(23,32,42,.66)), url("images/img_bg_1.jpg") center/cover;
  color: #fff;
  padding: 92px 24px;
}
.hero-inner, .container { max-width: 1120px; margin: auto; }
.hero h1 { max-width: 790px; margin: 0 0 20px; font-size: clamp(2.2rem, 5vw, 4.1rem); line-height: 1.08; }
.hero p { max-width: 720px; font-size: 1.15rem; }
.eyebrow { color: var(--orange); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.section { padding: 68px 24px; }
.section.cream { background: var(--cream); }
.section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; margin: 0 0 16px; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 760px; }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); margin-top: 30px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.card h3 { margin-top: 0; }
.stats { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); margin-top: 28px; }
.stat { background: var(--ink); border-radius: 10px; color: #fff; padding: 24px; }
.stat strong { display: block; color: var(--orange); font-size: 2rem; }
.page-title { background: var(--cream); padding: 54px 24px; }
.page-title h1 { margin: 0; font-size: 2.7rem; }
.map-toolbar { display: flex; gap: 10px; margin: 20px 0; max-width: 680px; }
.map-toolbar input { border: 1px solid #cfd5da; border-radius: 6px; flex: 1; font: inherit; padding: 11px 13px; }
.map-wrap { background: #dcebf0; border-radius: 10px; height: min(64vh, 610px); min-height: 390px; overflow: hidden; position: relative; }
#map { height: 100%; width: 100%; }
#map svg { display: block; height: 100%; width: 100%; }
.map-note { background: rgba(255,255,255,.94); border-radius: 7px; bottom: 15px; left: 15px; padding: 10px 13px; position: absolute; }
.map-error { align-items: center; background: #eef4f5; display: flex; justify-content: center; padding: 30px; text-align: center; }
.pdf-preview { background: #f1f3f4; border: 1px solid var(--line); border-radius: 10px; height: min(75vh, 760px); margin-top: 24px; overflow: hidden; }
.pdf-preview object { border: 0; height: 100%; width: 100%; }
.petition-text { color: var(--muted); }
.petition-text h3 { color: var(--ink); }
.petition-text li { margin-bottom: 8px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 16px; margin: 22px 0 8px; color: var(--muted); font-size: .9rem; }
.legend-dot { border-radius: 50%; display: inline-block; height: 11px; margin-right: 6px; width: 11px; }
.legend-dot.incident { background: #e45b25; }
.legend-dot.help { background: #287c9b; }
.leaflet-container { font: inherit; }
.leaflet-popup-content-wrapper { border-radius: 7px; }
.map-dot { fill: var(--orange); fill-opacity: .45; }
.map-dot.highlight { fill: #ad2200; fill-opacity: .9; }
.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.help-explanation { background: #f7f3ed; border: 1px solid var(--line); border-radius: 10px; padding: 24px; margin: 24px 0 18px; }
.help-explanation h2 { margin-top: 0; }
.help-explanation h3 { margin-bottom: 8px; }
.report-card { border-left: 4px solid var(--accent); }
.form { max-width: 680px; }
.form label { display: block; font-weight: 700; margin: 16px 0 6px; }
.form input, .form textarea { border: 1px solid #cfd5da; border-radius: 6px; font: inherit; padding: 11px; width: 100%; }
.form textarea { min-height: 150px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.button.secondary { background: transparent; border: 1px solid var(--orange); color: var(--orange-dark); }
.contact-story { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 32px; align-items: start; margin-bottom: 32px; }
.contact-story figure { margin: 0; }
.contact-story img { display: block; width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.contact-story figcaption { color: var(--muted); font-size: .85rem; margin-top: 8px; }
.contact-details { max-width: 620px; }
@media (max-width: 720px) { .contact-story { grid-template-columns: 1fr; } }
footer { background: var(--ink); color: #d7dee4; padding: 35px 24px; }
footer a { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; max-width: 1120px; margin: auto; }
@media (max-width: 760px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 15px 18px; }
  .nav-links { width: 100%; }
  .nav-links a { padding: 6px 8px; }
  .grid, .stats { grid-template-columns: 1fr; }
  .hero { padding: 65px 20px; }
  .section { padding: 48px 20px; }
  .map-toolbar { flex-direction: column; }
  .footer-inner { flex-direction: column; }
}
