:root {
  --bg: #f4f7f2;
  --paper: #fffefa;
  --ink: #1d2521;
  --muted: #657169;
  --line: rgba(29, 37, 33, 0.13);
  --green: #1f8f54;
  --green-dark: #0d5f37;
  --gold: #d5a629;
  --shadow: 0 18px 52px rgba(34, 43, 39, 0.13);
  --header-bg: rgba(244, 247, 242, 0.88);
  --nav-text: #33413a;
  --surface-soft: rgba(255, 254, 250, 0.72);
  --surface-glass: rgba(255, 254, 250, 0.68);
  --hero-glow: rgba(31, 143, 84, 0.13);
  --audit-bg: #e9f3e2;
  --input-bg: #fbfaf5;
  --strong-text: #3b473f;
  --icon-bg: #f3df94;
  --icon-text: #503d08;
  --max: 1120px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #101713;
  --paper: #18211c;
  --ink: #eef5ec;
  --muted: #a7b7ad;
  --line: rgba(238, 245, 236, 0.15);
  --green: #42b874;
  --green-dark: #8ed9aa;
  --gold: #e2bd55;
  --shadow: 0 20px 56px rgba(0, 0, 0, 0.42);
  --header-bg: rgba(16, 23, 19, 0.88);
  --nav-text: #d6e3d9;
  --surface-soft: rgba(24, 33, 28, 0.78);
  --surface-glass: rgba(24, 33, 28, 0.7);
  --hero-glow: rgba(66, 184, 116, 0.18);
  --audit-bg: #172d21;
  --input-bg: #111a15;
  --strong-text: #dbe8df;
  --icon-bg: #2e3826;
  --icon-text: #f0d073;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  transition: background 180ms ease, color 180ms ease;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max));
  min-height: 68px;
  margin: 0 auto;
  padding: 12px 0;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  width: 100%;
  max-width: none;
  padding: 12px max(16px, calc((100vw - var(--max)) / 2));
  background: var(--header-bg);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.site-nav,
.hero-actions,
.hero-metrics,
.audit-strip,
.site-footer,
.site-footer div {
  display: flex;
  align-items: center;
}

.brand {
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav {
  gap: 8px;
  color: var(--nav-text);
  font-size: 0.95rem;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 8px;
}

.site-nav a:hover {
  background: rgba(31, 143, 84, 0.08);
}

.nav-cta {
  background: var(--ink);
  color: var(--paper);
}

.header-actions {
  position: relative;
  flex-direction: row-reverse;
  gap: 10px;
}

.theme-toggle {
  display: grid;
  width: 46px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

.theme-toggle-track {
  position: relative;
  width: 28px;
  height: 16px;
  border-radius: 99px;
  background: var(--line);
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 180ms ease, background 180ms ease;
}

:root[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(12px);
  background: var(--gold);
}

.theme-tip {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 25;
  width: min(260px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.theme-tip::before {
  position: absolute;
  top: -7px;
  right: 18px;
  width: 12px;
  height: 12px;
  content: "";
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--paper);
  transform: rotate(45deg);
}

.theme-tip p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.theme-tip button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-glass);
  color: var(--ink);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 38px;
  align-items: center;
  width: min(calc(100% - 32px), var(--max));
  min-height: 680px;
  margin: 0 auto;
  padding: 34px 0 52px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 5.7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 3.6vw, 3.75rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.primary {
  background: var(--green);
  color: white;
}

.secondary {
  border-color: var(--line);
  background: var(--surface-glass);
}

.dark {
  background: var(--ink);
  color: var(--paper);
}

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

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.hero-metrics {
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.hero-metrics div {
  min-width: 138px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.hero-metrics dt {
  font-size: 1.16rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  position: absolute;
  inset: 10% -5% -6% 20%;
  content: "";
  border-radius: 50%;
  background: var(--hero-glow);
  filter: blur(36px);
}

.hero-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 1.24 / 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.audit-strip,
.section,
.split-section,
.contact {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.audit-strip {
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  border-radius: 8px;
  background: var(--audit-bg);
  box-shadow: inset 0 0 0 1px rgba(31, 143, 84, 0.12);
}

.audit-strip h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.section,
.split-section,
.contact {
  padding: 72px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.02rem;
}

.compact {
  max-width: 560px;
}

.service-grid,
.result-grid,
.testimonials,
.coverage-grid {
  display: grid;
  gap: 16px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.result-grid article,
.quote,
.faq-list details,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-card {
  min-height: 238px;
  padding: 20px;
}

.icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 8px;
  background: var(--icon-bg);
  color: var(--icon-text);
  font-weight: 900;
}

.service-card p,
.timeline p,
.quote span,
.faq-list p,
.contact-copy p,
.contact-copy li {
  color: var(--muted);
}

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

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.timeline span {
  grid-row: span 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
}

.timeline p {
  margin-bottom: 0;
}

.results {
  padding-top: 38px;
}

.result-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.result-grid article {
  min-height: 176px;
  padding: 22px;
}

.result-grid strong {
  display: block;
  margin-bottom: 24px;
  color: var(--green-dark);
  font-size: clamp(2.65rem, 5.4vw, 4.7rem);
  line-height: 0.9;
}

.result-grid span {
  color: var(--strong-text);
  font-weight: 700;
}

.coverage {
  padding-top: 38px;
}

.coverage-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.coverage-grid span {
  display: grid;
  min-height: 62px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--strong-text);
  font-weight: 900;
  text-align: center;
}

.coverage-grid a {
  display: grid;
  min-height: 62px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--strong-text);
  font-weight: 900;
  text-align: center;
}

.coverage-grid a:hover,
.service-card[href]:hover {
  border-color: rgba(31, 143, 84, 0.42);
  transform: translateY(-2px);
}

.service-card[href] {
  display: block;
  transition: border-color 180ms ease, transform 180ms ease;
}

.landing-hero {
  width: min(calc(100% - 32px), 920px);
  margin: 0 auto;
  padding: 82px 0 58px;
}

.landing-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.landing-breadcrumb a {
  color: var(--green-dark);
}

.landing-hero h1 {
  max-width: 900px;
}

.landing-grid-section {
  padding-top: 32px;
}

.landing-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.landing-split {
  padding-top: 36px;
}

.landing-nearby {
  padding-top: 28px;
  padding-bottom: 38px;
}

.landing-faq {
  padding-top: 36px;
}

.landing-contact {
  padding-top: 44px;
}

.testimonials {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 22px;
}

.quote {
  padding: 24px;
}

.quote p {
  font-size: clamp(1.16rem, 2vw, 1.62rem);
  line-height: 1.2;
}

.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 14px 0 0;
}

.contact {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 38px;
  align-items: start;
}

.contact-copy ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--nav-text);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
  font: inherit;
}

input,
select {
  height: 48px;
  padding: 0 13px;
}

textarea {
  resize: vertical;
  padding: 13px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(31, 143, 84, 0.14);
}

.form-note {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.form-note a {
  color: var(--green-dark);
  font-weight: 800;
}

.bot-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.thanks-page {
  display: grid;
  width: min(calc(100% - 32px), 760px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 0;
  align-content: center;
  gap: 28px;
}

.thanks-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.thanks-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.thanks-panel h1 {
  font-size: clamp(2.3rem, 7vw, 4.2rem);
}

.thanks-panel p {
  max-width: 560px;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: grid;
  width: min(520px, calc(100% - 32px));
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.cookie-copy h2 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  line-height: 1.15;
}

.cookie-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-settings {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.cookie-settings label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nav-text);
  font-size: 0.9rem;
  font-weight: 800;
}

.cookie-settings input {
  width: 18px;
  height: 18px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-actions .button {
  min-height: 42px;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .faq,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    min-height: auto;
    padding-top: 24px;
  }

  .service-grid,
  .result-grid,
  .coverage-grid,
  .landing-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    max-height: 390px;
  }
}

@media (max-width: 720px) {
  .hero {
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 24px;
  }

  .hero-media {
    margin-top: -4px;
  }

  .hero-media img {
    max-height: 170px;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions {
    margin: 18px 0;
  }

  .hero-actions .secondary,
  .hero-metrics {
    display: none;
  }

  .hero-metrics {
    margin-top: 18px;
  }

  .hero-metrics dd {
    font-size: 0.78rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 68px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  h1 {
    font-size: clamp(1.95rem, 8.5vw, 2.58rem);
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.65rem);
  }

  .hero-actions .button,
  .audit-strip .button {
    width: 100%;
  }

  .audit-strip,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .section,
  .split-section,
  .contact {
    padding: 54px 0;
  }

  .service-grid,
  .result-grid,
  .coverage-grid,
  .landing-card-grid,
  .testimonials,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form .full {
    grid-column: auto;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
