:root {
  --bg: #f3f4f3;
  --card: #ffffff;
  --text: #222b29;
  --muted: #67726e;
  --line: #e4e8e5;
  --green: #11814e;
  --green-dark: #0a6a3d;
  --green-soft: #ddf2e5;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 64px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 244, 243, 0.95);
  backdrop-filter: blur(8px);
}

.nav-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.main-nav { margin-left: auto; display: flex; gap: 20px; }
.main-nav a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.main-nav a[aria-current="page"] { color: var(--green); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 10px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-small { height: 36px; padding: 0 14px; font-size: 12px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { border-color: #bdd5c9; color: #194c35; background: #f8fbf9; }

.hero { padding-top: 40px; }
.hero-card {
  position: relative;
  min-height: 290px;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #2f3f3c, #22302e);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.18), rgba(0,0,0,0.45));
}

.hero-person {
  position: absolute;
  right: 16px;
  bottom: 0;
  height: 100%;
  width: auto;
  opacity: 0.5;
}

.hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #eef3f1;
}

.hero-copy h1 { margin: 0; font-size: clamp(36px, 5vw, 58px); letter-spacing: -0.02em; }
.hero-copy p { margin: 8px 0 0; color: #d1ddd8; }

.card-grid { display: grid; gap: 18px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}

.service-card i { color: var(--green); font-size: 18px; }
.service-card h3 { margin: 10px 0 8px; font-size: 22px; line-height: 1.2; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }
.service-card a { display: inline-block; margin-top: 12px; color: var(--green); text-decoration: none; font-weight: 700; font-size: 14px; }

.emergency {
  background: #bee9cd;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #2f6a4f;
  font-size: 12px;
  font-weight: 700;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e33;
}

h2 { margin: 8px 0 0; font-size: clamp(34px, 4vw, 48px); line-height: 1.08; }
.emergency p { margin: 8px 0 0; color: #35624e; max-width: 62ch; }

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
}

.methodology h2 { margin-top: 8px; }
.process-cards article {
  border: 1px dashed #d8ddd9;
  border-radius: 14px;
  padding: 20px;
  background: #f9faf9;
}

.process-cards span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--green);
}

.process-cards h3 { margin: 10px 0 6px; }
.process-cards p { margin: 0; color: var(--muted); }

.center { text-align: center; }
.center p { margin: 10px auto 0; max-width: 64ch; color: var(--muted); }
.actions { margin-top: 20px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.cta-wrap { padding-top: 30px; }

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 70px;
  padding: 40px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 20px;
}

.footer-brand { margin: 0; font-size: 18px; }
.site-footer h4 { margin: 0 0 8px; font-size: 14px; }
.site-footer p { margin: 4px 0; font-size: 13px; }
.muted { color: var(--muted); }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .card-grid.two,
  .card-grid.three,
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 42px 0; }
  .emergency { flex-direction: column; align-items: start; }
}

/* Reveal animation hooks */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.site-credit {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: #8f9994;
  opacity: 0.85;
}
