:root {
  color-scheme: light;
  --ink: #172116;
  --muted: #5d6758;
  --field: #f6f3ec;
  --paper: #fffdf7;
  --green: #246b34;
  --deep-green: #123a24;
  --lime: #c7e35a;
  --clay: #b65f35;
  --sky: #d9edf4;
  --line: rgba(23, 33, 22, 0.14);
  --shadow: 0 22px 70px rgba(22, 43, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  display: grid;
  width: min(1120px, calc(100% - 28px));
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(18, 43, 25, 0.76);
  color: white;
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.brand,
.nav-links,
.hero-actions,
.trust-row,
.toggle-row,
.season-tabs,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--lime);
  color: var(--deep-green);
  font-size: 0.76rem;
  letter-spacing: 0;
}

.nav-links {
  gap: 22px;
  font-size: 0.94rem;
}

.header-cta {
  justify-self: end;
  padding: 11px 16px;
  border-radius: 8px;
  background: white;
  color: var(--deep-green);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: end;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 18, 10, 0.78), rgba(6, 18, 10, 0.38) 45%, rgba(6, 18, 10, 0.08)),
    linear-gradient(0deg, rgba(6, 18, 10, 0.34), rgba(6, 18, 10, 0.02) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 132px 0 64px;
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--clay);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(4rem, 11vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 14px 20px;
  cursor: pointer;
  font-weight: 900;
}

.button.primary {
  background: var(--lime);
  color: var(--deep-green);
  box-shadow: 0 18px 46px rgba(20, 70, 28, 0.24);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.button.full {
  width: 100%;
}

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

.trust-row {
  gap: 14px;
  flex-wrap: wrap;
  margin: 42px 0 0;
}

.trust-row div {
  min-width: 142px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
}

.trust-row dt {
  font-size: 1.25rem;
  font-weight: 900;
}

.trust-row dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.section-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.quick-estimate {
  background: var(--field);
}

.estimate-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 36px;
  align-items: center;
  padding: 52px 0;
}

.estimate-tool,
.quote-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.estimate-tool {
  grid-template-columns: 1fr auto auto;
  align-items: center;
  padding: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
}

input[type="range"] {
  accent-color: var(--green);
  padding: 0;
}

output {
  min-width: 100px;
  font-weight: 900;
  text-align: right;
}

.toggle-row,
.season-tabs {
  gap: 8px;
}

.toggle,
.season-tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.toggle {
  padding: 9px 13px;
}

.toggle.active,
.season-tab.active {
  border-color: var(--green);
  background: var(--green);
  color: white;
}

.estimate-result {
  min-width: 132px;
  border-radius: 8px;
  padding: 13px 16px;
  background: var(--deep-green);
  color: white;
  text-align: right;
}

.estimate-result span,
.estimate-result small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
}

.estimate-result strong {
  display: block;
  font-size: 2rem;
}

.services,
.proof {
  padding: 84px 0;
}

.section-heading {
  display: grid;
  max-width: 780px;
  gap: 10px;
  margin-bottom: 32px;
}

.service-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: white;
}

.service-card p,
.quote-section p,
.proof-grid span,
.season-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--sky);
  color: var(--deep-green);
  font-weight: 900;
}

.interactive-band {
  background:
    linear-gradient(180deg, rgba(199, 227, 90, 0.14), rgba(217, 237, 244, 0.42)),
    var(--field);
}

.planner-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
  padding: 84px 0;
}

.before-after {
  display: grid;
  gap: 14px;
}

.comparison {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--green);
}

.after-panel,
.before-panel {
  position: absolute;
  inset: 0;
}

.after-panel {
  background:
    linear-gradient(135deg, rgba(36, 107, 52, 0.2), rgba(199, 227, 90, 0.2)),
    url("assets/etx-lawn-hero.png") center / cover;
}

.before-panel {
  width: 48%;
  background:
    linear-gradient(rgba(84, 72, 47, 0.36), rgba(84, 72, 47, 0.36)),
    url("assets/etx-lawn-hero.png") center / cover;
  filter: saturate(0.45) brightness(0.8) contrast(0.94);
}

.comparison-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 48%;
  width: 3px;
  background: white;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0);
}

.comparison-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--green);
  transform: translate(-50%, -50%);
}

.label {
  position: absolute;
  top: 18px;
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(18, 58, 36, 0.82);
  color: white;
  font-weight: 900;
}

.label.before {
  left: 18px;
}

.label.after {
  right: 18px;
}

.slider-label {
  color: var(--ink);
}

.season-panel {
  display: grid;
  gap: 20px;
}

.season-tab {
  padding: 10px 16px;
}

.season-copy {
  min-height: 160px;
  border-left: 5px solid var(--clay);
  padding: 8px 0 8px 22px;
}

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

.proof-grid article {
  display: grid;
  gap: 9px;
  min-height: 148px;
  border-top: 4px solid var(--green);
  padding: 20px 0 0;
}

.proof-grid strong {
  font-size: 1.15rem;
}

.quote-section {
  padding: 84px 0;
  background: var(--deep-green);
  color: white;
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 54px;
  align-items: start;
}

.quote-section .eyebrow.dark {
  color: var(--lime);
}

.quote-section p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
}

.quote-form {
  padding: 22px;
  color: var(--ink);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

footer {
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .estimate-grid,
  .planner-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .estimate-tool {
    grid-template-columns: 1fr;
  }

  output,
  .estimate-result {
    text-align: left;
  }

  .service-grid,
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison {
    min-height: 390px;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    gap: 8px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 91vh;
  }

  .hero-content {
    width: calc(100% - 24px);
    padding-bottom: 40px;
  }

  .hero-copy {
    max-width: 96%;
  }

  .service-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .services,
  .proof,
  .quote-section,
  .planner-grid {
    padding: 62px 0;
  }

  .comparison {
    min-height: 330px;
  }

  .season-tabs,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
