/* ═══════════════════════════════════════════════════════════════
   SAFE PARKS AUSTRALIA — Complete Brand & Component Stylesheet
   Designed for Australia's Public Health Green Space Movement
   ═══════════════════════════════════════════════════════════════ */

:root {
  --green-950: #0f2615;
  --green-900: #1a3c24;
  --green-800: #235431;
  --green-700: #2d6b3f;
  --green-600: #38824d;
  --green-500: #3f8e4f;
  --green-300: #88c279;
  --green-200: #b8d9b3;
  --green-100: #dcefd6;
  --green-50:  #f0f7ee;

  --amber-600: #c27d00;
  --amber-500: #e59800;
  --amber-100: #fef4db;
  --red-700:   #b82d28;
  --red-100:   #fde8e7;

  --white:     #ffffff;
  --off-white: #fbfaf7;
  --gray-50:   #faf9f5;
  --gray-100:  #f3f2ed;
  --gray-200:  #e5e3dc;
  --gray-300:  #c8c6be;
  --gray-600:  #6c6a62;
  --gray-800:  #36342e;
  --text:      #23211c;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 36px rgba(0,0,0,0.12);

  --max-w: 1200px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography & Utilities ─── */
h1, h2, h3, h4 {
  color: var(--green-950);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--gray-800);
}

a {
  color: var(--green-700);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--green-900);
}

.text-center { text-align: center; }
.text-muted { color: var(--gray-600); }

/* ─── Navigation ─── */
#nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--green-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nav-brand-subtitle {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gray-600);
  letter-spacing: 0.08em;
}

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

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray-800);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--green-800);
  background: var(--green-50);
}

.btn-donate-nav {
  background: var(--green-700) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-full) !important;
  padding: 8px 18px !important;
  margin-left: 6px;
}

.btn-donate-nav:hover {
  background: var(--green-900) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gray-200);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 20px;
  cursor: pointer;
  color: var(--gray-800);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.18s ease;
  line-height: 1.2;
}

.btn-primary {
  background: var(--green-700);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(45, 107, 63, 0.25);
}

.btn-primary:hover {
  background: var(--green-900);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 107, 63, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--green-800);
  border: 2px solid var(--green-700);
}

.btn-outline:hover {
  background: var(--green-50);
  color: var(--green-900);
  border-color: var(--green-900);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-800);
  border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

/* ─── Hero Section ─── */
.hero-section {
  position: relative;
  background: linear-gradient(175deg, #eef6ec 0%, #ffffff 85%);
  padding: 80px 24px 70px;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
}

.hero-pattern-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/dandelion-seeds.svg');
  background-size: 220px;
  opacity: 0.25;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--green-200);
  color: var(--green-800);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-badge-pill::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
}

.hero-title {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  color: var(--green-950);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 18.5px;
  color: var(--gray-800);
  line-height: 1.55;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
}

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

.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--green-700);
}

.stat-label {
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 500;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  background: var(--white);
}

.hero-visual-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.hero-card-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-badge-icon {
  font-size: 28px;
}

.floating-badge-text h4 {
  font-size: 15px;
  color: var(--green-900);
  margin-bottom: 2px;
}

.floating-badge-text p {
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.3;
}

/* ─── The Three Pillars ─── */
.section-pillars {
  padding: 90px 24px;
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-kicker {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green-600);
  letter-spacing: 0.09em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 17.5px;
  color: var(--gray-600);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.pillar-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-300);
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--green-600);
}

.pillar-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 24px;
}

.pillar-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--green-900);
}

.pillar-card p {
  font-size: 15.5px;
  color: var(--gray-800);
  margin-bottom: 20px;
  line-height: 1.6;
}

.pillar-points {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--gray-200);
  padding-top: 18px;
}

.pillar-points li {
  font-size: 14px;
  color: var(--gray-800);
  padding: 6px 0 6px 22px;
  position: relative;
}

.pillar-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 800;
}

/* ─── Interactive Map & Explorer Section ─── */
.section-map-explorer {
  padding: 80px 24px 90px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.map-control-bar {
  max-width: var(--max-w);
  margin: 0 auto 20px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.search-box-wrap {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 18px 12px 42px;
  font-size: 15px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-full);
  outline: none;
  transition: border-color 0.15s ease;
}

.search-input:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px var(--green-100);
}

.search-icon-decor {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--gray-600);
  pointer-events: none;
}

.filter-pills-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-800);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.filter-pill:hover {
  background: var(--gray-200);
}

.filter-pill.active {
  background: var(--green-800);
  color: var(--white);
}

.quick-city-jumpers {
  max-width: var(--max-w);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-city-jumpers span {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-right: 4px;
}

.city-jump-btn {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--green-800);
  transition: all 0.15s ease;
}

.city-jump-btn:hover {
  background: var(--green-50);
  border-color: var(--green-600);
}

.map-layout-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 24px;
  height: 640px;
}

.map-viewport-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  position: relative;
}

#safeparks-map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.map-legend-box {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  z-index: 10;
  border: 1px solid var(--gray-200);
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.legend-row:last-child { margin-bottom: 0; }

.legend-dot-safe {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3f8e4f;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #2d6b3f;
}

.legend-dot-alert {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d9534f;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #1a1a1a;
}

.map-sidebar-list {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sidebar-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-header h3 {
  font-size: 16px;
  color: var(--green-950);
}

#results-count {
  font-size: 13px;
  color: var(--gray-600);
}

.parks-scroll-pane {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ─── Park Cards ─── */
.park-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--off-white);
  transition: all 0.15s ease;
  cursor: pointer;
}

.park-card:hover, .park-card.active {
  border-color: var(--green-600);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.park-card.card-safe {
  border-left: 5px solid var(--green-600);
}

.park-card.card-alert {
  border-left: 5px solid #d9534f;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.card-status-badge {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.badge-safe {
  background: var(--green-100);
  color: var(--green-800);
}

.badge-alert {
  background: var(--red-100);
  color: var(--red-700);
}

.card-council {
  font-size: 11px;
  color: var(--gray-600);
  font-weight: 600;
}

.card-title {
  font-size: 16.5px;
  color: var(--green-950);
  margin-bottom: 4px;
}

.card-meta {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 10px;
}

.card-amenities {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.amenity-tag {
  font-size: 11px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  color: var(--gray-800);
}

.card-summary {
  font-size: 12.5px;
  color: var(--gray-800);
  margin-bottom: 12px;
  line-height: 1.4;
}

.card-actions {
  display: flex;
  gap: 8px;
}

/* ─── Leaflet Custom Pin & Popup Styles ─── */
.custom-pin-marker {
  transition: transform 0.15s ease;
}

.custom-pin-marker:hover {
  transform: scale(1.15) translateY(-4px);
}

.park-map-popup {
  padding: 6px 2px;
  min-width: 200px;
}

.popup-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.park-map-popup h4 {
  font-size: 15px;
  color: var(--green-900);
  margin-bottom: 3px;
}

.popup-suburb {
  font-size: 12.5px;
  color: var(--gray-600);
  margin-bottom: 2px;
}

.popup-council {
  font-size: 11.5px;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.popup-footer {
  margin-top: 8px;
}

/* ─── Post-Walk Reset Section ─── */
.section-reset-spotlight {
  padding: 90px 24px;
  background: var(--white);
}

.reset-spotlight-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.reset-lead-box h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  margin-bottom: 20px;
  line-height: 1.2;
}

.reset-lead-box p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.reset-steps-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.reset-step-card {
  display: flex;
  gap: 16px;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  align-items: flex-start;
}

.step-num-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.step-details h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--green-900);
}

.step-details p {
  font-size: 14px;
  color: var(--gray-800);
  margin: 0;
}

.reset-graphic-frame {
  position: relative;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.reset-graphic-frame img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  display: block;
}

.reset-callout-pill {
  position: absolute;
  top: -15px;
  right: 24px;
  background: var(--green-800);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

/* ─── Council Partnership & Dashboard Callout ─── */
.section-council-cta {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--green-950) 0%, var(--green-900) 100%);
  color: var(--white);
}

.council-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.council-cta-inner h2 {
  color: var(--white);
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 18px;
}

.council-cta-inner p {
  color: var(--green-100);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.council-feature-list {
  list-style: none;
  margin-bottom: 32px;
}

.council-feature-list li {
  color: var(--white);
  font-size: 15px;
  padding: 6px 0 6px 26px;
  position: relative;
}

.council-feature-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--green-300);
}

.council-cta-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(12px);
  text-align: center;
}

.council-cta-card h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 12px;
}

.council-cta-card p {
  font-size: 14.5px;
  color: var(--green-100);
  margin-bottom: 24px;
}

/* ─── Sponsorship Tiers ─── */
.section-sponsorship {
  padding: 90px 24px;
  background: var(--white);
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max-w);
  margin: 0 auto 48px;
}

.tier-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tier-card.featured {
  border: 2px solid var(--green-600);
  background: var(--white);
  box-shadow: 0 8px 30px rgba(63, 142, 79, 0.15);
}

.tier-badge-pop {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--green-700);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.tier-card h3 {
  font-size: 21px;
  margin-bottom: 8px;
  color: var(--green-950);
}

.tier-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--green-700);
  margin-bottom: 16px;
}

.tier-desc {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.tier-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.tier-features li {
  font-size: 14px;
  color: var(--gray-800);
  padding: 7px 0 7px 22px;
  position: relative;
}

.tier-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 800;
}

/* ─── Modal Styles ─── */
.safeparks-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.safeparks-modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 38, 21, 0.65);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  z-index: 10;
  padding: 36px 32px;
}

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

.close-modal-btn:hover {
  background: var(--gray-200);
  color: var(--text);
}

/* Park Modal Details */
.modal-badge-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.status-pill {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.pill-safe { background: var(--green-100); color: var(--green-800); }
.pill-alert { background: var(--red-100); color: var(--red-700); }
.council-pill { background: var(--gray-100); color: var(--gray-800); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-full); }

.modal-address {
  font-size: 14.5px;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.modal-callout {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.callout-safe {
  background: var(--green-50);
  border: 1px solid var(--green-200);
}

.callout-alert {
  background: var(--red-100);
  border: 1px solid #f5c6cb;
}

.callout-safe h4 { color: var(--green-800); margin-bottom: 6px; }
.callout-alert h4 { color: var(--red-700); margin-bottom: 6px; }

.treatment-table-wrap {
  overflow-x: auto;
  margin: 14px 0 24px;
}

.treatment-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.treatment-table th {
  background: var(--gray-100);
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  color: var(--gray-800);
  border-bottom: 2px solid var(--gray-200);
}

.treatment-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-800);
}

.withholding-tag {
  display: inline-block;
  background: var(--gray-100);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 12px;
}

.amenity-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0 24px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
}

.amenity-item.active { background: var(--green-50); color: var(--green-900); }
.amenity-item.inactive { background: var(--gray-100); color: var(--gray-600); }

.amenity-item .icon {
  font-weight: 800;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.modal-sidebar-action {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
}

.post-walk-reminder {
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.post-walk-reminder h4 {
  font-size: 15px;
  color: var(--green-900);
  margin-bottom: 6px;
}

.post-walk-reminder p {
  font-size: 13.5px;
  color: var(--gray-800);
  margin-bottom: 12px;
}

.community-report-box h4 {
  font-size: 15px;
  color: var(--green-900);
  margin-bottom: 6px;
}

.community-report-box p {
  font-size: 13.5px;
  color: var(--gray-800);
  margin-bottom: 12px;
}

/* ─── Form Inputs ─── */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 14.5px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease;
}

.form-control:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px var(--green-100);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

/* ─── Council Dashboard Styles ─── */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  margin: 32px 0 60px;
}

.dashboard-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.dashboard-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.dashboard-card p.subtitle {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 24px;
}

/* ─── Newsletter / CTA ─── */
.section-cta {
  background: var(--green-950);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
}

.section-cta h2 {
  color: var(--white);
  font-size: clamp(26px, 3.2vw, 38px);
  margin-bottom: 16px;
}

.section-cta p {
  color: var(--green-200);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 32px;
}

.newsletter-form-row {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  border: none;
  font-size: 15px;
  outline: none;
}

/* ─── Footer ─── */
footer {
  background: var(--green-950);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.footer-brand strong {
  display: block;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand p {
  color: var(--green-200);
  font-size: 13.5px;
  line-height: 1.5;
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--green-100);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--green-200);
}

.footer-bottom a {
  color: var(--green-200);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ─── Page Content Utilities ─── */
.page-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.page-header {
  margin-bottom: 40px;
  text-align: center;
}

.page-title {
  font-size: clamp(32px, 4vw, 46px);
  margin-bottom: 16px;
  color: var(--green-950);
}

.page-lead {
  font-size: 19px;
  color: var(--gray-600);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.55;
}

.content-block {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}

.content-block h2 {
  font-size: 25px;
  margin-bottom: 16px;
  color: var(--green-900);
}

.content-block h3 {
  font-size: 19px;
  margin: 24px 0 12px;
  color: var(--green-800);
}

.content-block p, .content-block li {
  font-size: 16px;
  color: var(--gray-800);
  line-height: 1.7;
}

.content-block ul {
  padding-left: 24px;
  margin-bottom: 18px;
}

/* ─── What is Safe Parks Infographic & Comparison ─── */
.section-what-is {
  padding: 80px 24px 90px;
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-200);
}

.infographic-banner {
  max-width: var(--max-w);
  margin: 0 auto 50px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.infographic-side {
  padding: 40px;
}

.infographic-side.left {
  background: #fff8f8;
  border-right: 1px solid #fed7d7;
}

.infographic-side.right {
  background: #f4faf4;
}

.infographic-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.badge-risk {
  background: var(--red-100);
  color: var(--red-700);
}

.badge-solution {
  background: var(--green-100);
  color: var(--green-800);
}

.infographic-side h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.infographic-side.left h3 { color: #9b2c2c; }
.infographic-side.right h3 { color: #235431; }

.infographic-side p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.exposure-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.exposure-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.exposure-step .exp-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.exposure-step h5 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.exposure-step p {
  font-size: 13px;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.4;
}

/* 4-Pillar Infographic Grid */
.sanctuary-framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.framework-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.framework-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-500);
}

.framework-card .fw-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
  color: var(--green-700);
}

.framework-card h4 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--green-900);
}

.framework-card p {
  font-size: 13.5px;
  color: var(--gray-800);
  line-height: 1.5;
}

/* ─── Leadership & Founders Grid ─── */
.section-leadership {
  padding: 80px 24px;
  background: var(--white);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: var(--max-w);
  margin: 0 auto 40px;
}

.director-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.director-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-300);
}

.director-photo-wrap {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--white);
  background: var(--gray-200);
}

.director-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director-info h3 {
  font-size: 20px;
  color: var(--green-950);
  margin-bottom: 4px;
}

.director-role {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green-700);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.director-bio {
  font-size: 14px;
  color: var(--gray-800);
  line-height: 1.6;
}

.governance-team-row {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gov-member-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

.gov-member-card h4 {
  font-size: 17px;
  color: var(--green-900);
  margin-bottom: 4px;
}

.gov-member-card .gov-role {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.gov-member-card p {
  font-size: 13.5px;
  color: var(--gray-800);
  line-height: 1.5;
}

/* ─── Media & Photo Mosaic ─── */
.photo-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  max-width: var(--max-w);
  margin: 40px auto 0;
}

.mosaic-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}

.mosaic-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.mosaic-item:hover img {
  transform: scale(1.04);
}

.mosaic-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(15, 38, 21, 0.85));
  color: var(--white);
  padding: 16px 14px 10px;
  font-size: 13px;
  font-weight: 600;
}

/* ─── Responsive Adjustments ─── */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .pillars-grid { grid-template-columns: 1fr; }
  .tiers-grid { grid-template-columns: 1fr; }
  .map-layout-container { grid-template-columns: 1fr; height: auto; }
  .map-viewport-wrapper { height: 480px; }
  .map-sidebar-list { height: 400px; }
  .reset-spotlight-inner { grid-template-columns: 1fr; }
  .council-cta-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 24px;
    box-shadow: var(--shadow-md);
  }
  .nav-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; }
  .amenity-feature-grid { grid-template-columns: 1fr; }
  .newsletter-form-row { flex-direction: column; }
}
