:root {
  --bg: #f5f7f2;
  --surface: #ffffff;
  --surface-soft: #eef3e7;
  --ink: #12231d;
  --text: #233b32;
  --muted: #66766f;
  --primary: #0f513c;
  --primary-dark: #0a3529;
  --accent: #b8d94f;
  --accent-warm: #d88942;
  --border: #dce5d8;
  --shadow: 0 22px 60px rgba(18, 35, 29, .12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 242, .88);
  border-bottom: 1px solid rgba(18, 35, 29, .08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-title {
  color: var(--ink);
  font-weight: 800;
}

.brand-subtitle {
  color: var(--muted);
  font-size: .82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 700;
  padding: 10px 14px;
  transition: background .2s ease, color .2s ease;
}

.site-nav a:hover {
  background: rgba(15, 81, 60, .08);
  color: var(--primary);
}

.site-nav .nav-cta {
  background: var(--primary);
  color: #fff;
}

.site-nav .nav-cta:hover {
  background: var(--primary-dark);
  color: #fff;
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 11px 16px;
}

.hero {
  overflow: hidden;
  padding: 88px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero h1,
.section-header h2,
.impact-card h2,
.contact-copy h2 {
  color: var(--ink);
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: .96;
  margin: 0;
  max-width: 850px;
}

.hero-lead {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
  line-height: 1.75;
  margin: 24px 0 0;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  transition: box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  box-shadow: 0 16px 34px rgba(15, 81, 60, .24);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary);
}

.hero-panel {
  background:
    linear-gradient(145deg, rgba(15, 81, 60, .94), rgba(10, 53, 41, .98)),
    radial-gradient(circle at top right, rgba(184, 217, 79, .48), transparent 35%);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #fff;
  overflow: hidden;
  padding: 26px;
  position: relative;
}

.hero-panel::after {
  background: var(--accent);
  content: "";
  height: 92px;
  position: absolute;
  right: -28px;
  top: -28px;
  transform: rotate(18deg);
  width: 140px;
}

.panel-header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 46px;
  position: relative;
  z-index: 1;
}

.panel-header p {
  color: rgba(255, 255, 255, .72);
  font-weight: 700;
  margin: 0;
}

.panel-header strong {
  color: var(--accent);
  font-size: 2.1rem;
  line-height: 1;
}

.panel-body {
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.panel-body div {
  align-items: center;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: 48px 1fr;
  padding: 16px;
}

.panel-body p {
  line-height: 1.55;
  margin: 0;
}

.panel-icon {
  background: rgba(184, 217, 79, .16);
  border-radius: 8px;
  color: var(--accent);
  display: grid;
  font-weight: 800;
  height: 48px;
  place-items: center;
}

.trust-band {
  padding: 0 0 34px;
}

.metrics-grid {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(18, 35, 29, .08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.metrics-grid article {
  padding: 28px;
}

.metrics-grid article + article {
  border-left: 1px solid var(--border);
}

.metrics-grid strong {
  color: var(--primary);
  display: block;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
  margin-bottom: 8px;
}

.metrics-grid span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 76px 0;
}

.section-muted {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.services-section {
  background:
    linear-gradient(90deg, rgba(15, 81, 60, .07) 0, rgba(15, 81, 60, .03) 38%, transparent 38%),
    linear-gradient(180deg, #f8faf5 0, var(--bg) 100%);
  padding: 92px 0;
}

.split-section {
  display: grid;
  gap: 42px;
  grid-template-columns: .72fr 1.28fr;
  align-items: start;
}

.services-layout {
  gap: 56px;
}

.services-intro {
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(15, 81, 60, .12);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(18, 35, 29, .08);
  padding: 34px;
  position: sticky;
  top: 112px;
}

.services-intro h2 {
  max-width: 470px;
}

.services-proof {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.services-proof span {
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--primary);
  display: flex;
  font-size: .92rem;
  font-weight: 800;
  gap: 10px;
  padding: 12px 14px;
}

.services-proof span::before {
  background: var(--accent);
  border-radius: 999px;
  content: "";
  flex: 0 0 auto;
  height: 9px;
  width: 9px;
}

.section-header {
  max-width: 620px;
}

.section-header.centered {
  margin: 0 auto 36px;
  text-align: center;
}

.section-header h2,
.impact-card h2,
.contact-copy h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.04;
  margin: 0;
}

.section-header p,
.impact-card p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.75;
  margin: 18px 0 0;
}

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

.service-cards {
  align-items: stretch;
}

.card {
  background:
    linear-gradient(180deg, rgba(184, 217, 79, .1), transparent 38%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(18, 35, 29, .07);
  min-height: 270px;
  padding: 26px;
  position: relative;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.card::before {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.card:hover {
  border-color: rgba(15, 81, 60, .28);
  box-shadow: 0 24px 58px rgba(18, 35, 29, .13);
  transform: translateY(-4px);
}

.card-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 38px;
}

.card-number {
  align-items: center;
  background: rgba(216, 137, 66, .12);
  border-radius: 8px;
  color: var(--accent-warm);
  display: inline-flex;
  font-size: .84rem;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  margin-bottom: 0;
  width: 42px;
}

.card-tag {
  background: rgba(15, 81, 60, .08);
  border-radius: 999px;
  color: var(--primary);
  font-size: .76rem;
  font-weight: 800;
  padding: 7px 10px;
}

.card h3,
.process-grid h3,
.impact-list h3 {
  color: var(--ink);
  font-size: 1.24rem;
  line-height: 1.25;
  margin: 0 0 12px;
}

.card p,
.process-grid p,
.impact-list p {
  color: var(--muted);
  line-height: 1.72;
  margin: 0;
}

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

.process-grid article {
  background: rgba(255, 255, 255, .64);
  border: 1px solid rgba(15, 81, 60, .12);
  border-radius: 8px;
  padding: 26px;
}

.process-grid span {
  color: var(--primary);
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.impact-layout {
  align-items: stretch;
  display: grid;
  gap: 22px;
  grid-template-columns: .9fr 1.1fr;
}

.impact-card {
  background: var(--primary);
  border-radius: 8px;
  color: #fff;
  padding: 34px;
}

.impact-card .eyebrow,
.impact-card h2 {
  color: #fff;
}

.impact-card p {
  color: rgba(255, 255, 255, .78);
}

.impact-list {
  display: grid;
  gap: 14px;
}

.impact-list div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.section-contact {
  background:
    linear-gradient(135deg, rgba(15, 81, 60, .08), transparent 42%),
    var(--surface-soft);
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: .9fr 1.1fr;
}

.contact-note {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent-warm);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding: 18px;
}

.contact-note strong {
  color: var(--ink);
}

.contact-note span {
  color: var(--muted);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  padding: 28px;
}

.contact-form label {
  color: var(--ink);
  display: grid;
  font-weight: 800;
  gap: 8px;
}

.contact-form input,
.contact-form textarea {
  background: #fbfcf8;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  min-height: 52px;
  outline: none;
  padding: 14px 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form textarea {
  min-height: 148px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 81, 60, .1);
}

.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, .78);
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  min-height: 82px;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 74px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    min-width: 240px;
    padding: 10px;
    position: absolute;
    right: 24px;
    top: 82px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .hero-grid,
  .split-section,
  .impact-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .services-section {
    padding: 72px 0;
  }

  .services-intro {
    position: static;
  }

  .card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 18px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero {
    padding: 56px 0 42px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 14vw, 3.2rem);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid article + article {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .panel-header,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding: 58px 0;
  }

  .services-section {
    padding: 58px 0;
  }

  .services-intro {
    padding: 24px;
  }

  .card-top {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .contact-form,
  .impact-card,
  .hero-panel {
    padding: 22px;
  }
}
