:root {
  --ink: #10241c;
  --green: #1b6b45;
  --green-dark: #0d3d28;
  --leaf: #2ea56a;
  --gold: #f0b429;
  --gold-dark: #c48a12;
  --cream: #f4f0e6;
  --paper: #fffdf8;
  --muted: #5d6f66;
  --line: #d9e0db;
  --danger: #b42318;
  --shadow: 0 18px 50px rgba(13, 61, 40, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  padding-bottom: 76px;
}

img { max-width: 100%; }

a { color: var(--green); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.wrap.narrow { width: min(760px, calc(100% - 32px)); }

h1, h2, h3, .brand-text {
  font-family: Fraunces, Georgia, serif;
}

h1 { font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.12; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1.2; }
h3 { font-size: 1.2rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 61, 40, 0.96);
  color: #fff;
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  margin-right: auto;
}

.brand-text { font-size: 1.15rem; }
.brand-text strong { font-weight: 700; }

.header-nav {
  display: flex;
  gap: 18px;
}
.header-nav a {
  color: #e7f3ec;
  text-decoration: none;
  font-size: 0.95rem;
}
.header-nav a:hover { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font: 650 0.98rem Outfit, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-block { width: 100%; }

.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
  box-shadow: 0 8px 20px rgba(240, 180, 41, 0.35);
}
.btn-gold:hover { background: #ffc44a; }

.btn-green {
  background: var(--leaf);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
}

.btn-call {
  background: var(--gold);
  color: var(--green-dark);
  padding: 8px 14px 8px 12px;
  text-align: left;
  line-height: 1.15;
}
.btn-call small {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
}
.btn-call strong { font-size: 0.95rem; }

.hero {
  position: relative;
  color: #fff;
  padding: 48px 0 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(10, 36, 26, 0.92) 0%, rgba(13, 61, 40, 0.78) 48%, rgba(13, 61, 40, 0.55) 100%),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=70") center/cover no-repeat,
    var(--green-dark);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.lede { font-size: 1.12rem; color: #e6f0ea; margin: 14px 0 18px; max-width: 36rem; }

.hero-points {
  list-style: none;
  margin-bottom: 22px;
}
.hero-points li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
  color: #f3f7f4;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.hero-note { font-size: 0.85rem; color: #c9ddd2; max-width: 34rem; }

.form-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
}

.form-card-head h2 { font-size: 1.45rem; }
.form-card-head p { color: var(--muted); margin: 6px 0 14px; font-size: 0.95rem; }

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.step {
  font-size: 0.78rem;
  font-weight: 650;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--muted);
}
.step.is-active {
  background: #e8f6ee;
  color: var(--green-dark);
}

.form-step { display: none; }
.form-step.is-active { display: block; }

fieldset { border: 0; margin-bottom: 14px; }
legend { font-weight: 650; margin-bottom: 10px; }

.pest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.pest-option span {
  display: block;
  text-align: center;
  padding: 10px 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
}
.pest-option input { position: absolute; opacity: 0; pointer-events: none; }
.pest-option input:focus-visible + span { outline: 2px solid var(--leaf); }
.pest-option input:checked + span {
  border-color: var(--green);
  background: #e8f6ee;
  color: var(--green-dark);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 0.86rem; font-weight: 650; margin-bottom: 6px; }
.field em, legend em { color: var(--danger); font-style: normal; }

.field input,
.field select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  font: 500 1rem Outfit, sans-serif;
  background: #fff;
}
.field input:focus,
.field select:focus {
  outline: 2px solid rgba(46, 165, 106, 0.35);
  border-color: var(--leaf);
}

.inline-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 4px 0 14px;
}
.inline-choice legend { width: 100%; }
.inline-choice label { font-weight: 600; }

.tcpa-box {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  background: #f7f4ec;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin: 8px 0 14px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #33443c;
}
.tcpa-box input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--green); }

.form-alt {
  text-align: center;
  margin-top: 12px;
  font-size: 0.9rem;
}
.back-link {
  background: none;
  border: 0;
  color: var(--green);
  font: 650 0.9rem Outfit, sans-serif;
  cursor: pointer;
  margin-bottom: 10px;
}
.field-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin: 0 0 10px;
}
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }

.trust-bar {
  background: var(--green-dark);
  color: #fff;
  padding: 22px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-grid strong { display: block; font-size: 1.05rem; }
.trust-grid span { font-size: 0.85rem; color: #c9ddd2; }

.section { padding: 64px 0; }
.section-alt { background: var(--cream); }
.section-head { margin-bottom: 28px; max-width: 640px; }
.section-head p:last-child { color: var(--muted); margin-top: 8px; }

.service-grid, .how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card, .how-grid article {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--line);
}
.service-card p, .how-grid p { color: var(--muted); margin-top: 8px; }

.num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.check-list { list-style: none; margin-top: 16px; }
.check-list li {
  padding: 8px 0 8px 28px;
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.callout {
  background: var(--green-dark);
  color: #fff;
  border-radius: 18px;
  padding: 24px;
}
.callout p { color: #d7e8de; margin: 8px 0 16px; }
.callout .tiny { color: #b7cec2; margin-top: 12px; }

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
summary { cursor: pointer; font-weight: 650; }
details p { margin-top: 8px; color: var(--muted); }

.site-footer {
  background: #081910;
  color: #d5e4db;
  padding: 40px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.site-footer a { color: #fff; display: block; margin: 6px 0; text-decoration: none; }
.site-footer h4 { color: var(--gold); margin-bottom: 8px; font-family: Outfit, sans-serif; }
.copyright { text-align: center; font-size: 0.82rem; color: #8aa394; }
.tiny { font-size: 0.8rem; color: var(--muted); }

.legal-page { padding: 48px 0 80px; }
.legal-page h1 { margin-bottom: 12px; }
.legal-page h2 { margin: 28px 0 10px; font-size: 1.3rem; }
.legal-page p, .legal-page li { color: var(--muted); margin-bottom: 10px; }
.legal-page ul { padding-left: 18px; }

.thanks {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 48px 16px 100px;
  background:
    linear-gradient(180deg, #0d3d28 0%, #10241c 100%);
  color: #fff;
  text-align: center;
}
.thanks-card {
  width: min(560px, 100%);
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
}
.thanks-card p { color: var(--muted); margin: 10px 0 18px; }

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96);
  border-top: 1px solid var(--line);
  z-index: 50;
}
.mobile-cta .btn { flex: 1; border-radius: 14px; justify-content: center; }
.mobile-cta .btn-call { text-align: center; padding: 12px; }

.toast {
  position: fixed;
  right: 16px;
  bottom: 90px;
  background: #fff;
  color: var(--danger);
  border: 1px solid #f0c7c2;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 60;
  max-width: 320px;
}

@media (max-width: 900px) {
  .header-nav { display: none; }
  .hero-grid, .trust-grid, .service-grid, .how-grid, .split, .footer-grid, .field-row {
    grid-template-columns: 1fr;
  }
  .pest-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 28px 0 40px; }
  .mobile-cta { display: flex; }
  .header-call span small { display: none; }
}

@media (max-width: 520px) {
  .hero-actions .btn-ghost { width: 100%; }
}
