:root {
  --forest: #080d2c;
  --forest-2: #0e143a;
  --green: #2f9b2d;
  --leaf: #ffb326;
  --mint: #f1fae8;
  --mist: #f8fbf4;
  --line: #dde8d2;
  --ink: #121b16;
  --muted: #526052;
  --white: #ffffff;
  --shadow: 0 22px 50px rgba(8, 13, 44, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--mist);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--white);
  color: var(--forest);
  padding: 0.65rem 0.9rem;
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem clamp(1rem, 4vw, 3.5rem);
  color: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  color: var(--forest);
  box-shadow: 0 12px 30px rgba(15, 61, 46, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: var(--forest);
}

.site-header.is-scrolled .brand-mark {
  border-color: var(--line);
}

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

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
}

.site-header.is-scrolled .brand small {
  color: var(--muted);
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-header.is-scrolled .site-nav {
  color: var(--forest);
}

.site-nav a,
.header-call,
.header-email {
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible {
  background: var(--mint);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.header-call,
.header-email {
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: var(--white);
  font-weight: 800;
}

.header-email {
  background: rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled .header-call,
.site-header.is-scrolled .header-email {
  border-color: var(--forest);
  color: var(--forest);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 7rem clamp(1rem, 4vw, 3.5rem) 3rem;
  overflow: hidden;
  color: var(--white);
}

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

.hero-media {
  z-index: -3;
  background-image: url("assets/hero-lawn-recovery.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 13, 44, 0.88) 0%, rgba(8, 13, 44, 0.66) 42%, rgba(8, 13, 44, 0.14) 76%),
    linear-gradient(0deg, rgba(8, 13, 44, 0.68) 0%, rgba(8, 13, 44, 0) 35%);
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 10ch;
  margin-bottom: 1rem;
  font-size: clamp(4.1rem, 10vw, 7.9rem);
  line-height: 0.88;
}

h2 {
  margin-bottom: 1rem;
  color: var(--forest);
  font-size: clamp(2rem, 4.2vw, 4.4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 0.65rem;
  color: var(--forest);
  font-size: 1.25rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0.85rem 1.15rem;
  cursor: pointer;
  font-weight: 850;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  background: var(--leaf);
  color: #092015;
  box-shadow: 0 16px 34px rgba(255, 179, 38, 0.24);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.button.secondary.dark {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}

.button.full {
  width: 100%;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stats span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.7rem 0.85rem;
  color: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px);
}

.hero-stats strong {
  color: var(--white);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3.5rem);
}

.section-grid,
.section-heading,
.service-grid,
.area-panel,
.process-grid,
.values-content,
.contact,
.site-footer {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(18rem, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}

.section-grid p:last-child,
.values-content p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.1rem;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 760px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.service-card {
  min-height: 19rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 1.35rem;
  box-shadow: 0 10px 30px rgba(15, 61, 46, 0.06);
}

.service-number {
  display: inline-flex;
  margin-bottom: 3.8rem;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.service-card p,
.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-area {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 179, 38, 0.18), transparent 24rem),
    var(--forest);
  color: var(--white);
}

.area-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.area-panel h2 {
  color: var(--white);
}

.area-panel p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.area-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-list li {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem;
  font-weight: 800;
}

.process {
  background: var(--white);
}

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

.process-grid article {
  border-top: 3px solid var(--leaf);
  padding: 1.2rem 1rem 0;
}

.process-grid span {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 8px;
  background: var(--mint);
  color: var(--forest);
  font-weight: 900;
}

.values {
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 179, 38, 0.16), transparent 26rem),
    var(--mint);
}

.values-content {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 0.8fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}

.phone-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--forest);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

.contact-methods {
  display: grid;
  gap: 0.65rem;
}

.email-link {
  color: var(--green);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.quote-form {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: var(--shadow);
}

.bot-field {
  display: none;
}

.quote-form label {
  display: grid;
  gap: 0.42rem;
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 800;
}

.service-fieldset {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.service-fieldset legend {
  padding: 0;
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 800;
}

.required-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eef1f2;
  color: var(--forest);
  margin-left: 0.45rem;
  padding: 0.18rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 800;
}

.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
  color: var(--ink);
  padding: 0.85rem 0.9rem;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(47, 138, 73, 0.18);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.checkbox-card {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 0.65rem !important;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
  padding: 0.72rem 0.8rem;
  color: var(--ink) !important;
  cursor: pointer;
  font-weight: 800 !important;
}

.checkbox-card input {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  border-radius: 4px;
  padding: 0;
  accent-color: var(--green);
}

.checkbox-card:has(input:checked) {
  border-color: var(--green);
  background: var(--mint);
  box-shadow: inset 0 0 0 1px rgba(47, 155, 45, 0.22);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-note.is-ready {
  border-radius: 8px;
  background: var(--mint);
  color: var(--forest);
  padding: 0.9rem;
  font-weight: 750;
}

.request-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.5rem clamp(1rem, 4vw, 3.5rem);
  color: var(--muted);
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--forest);
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.thank-you-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 179, 38, 0.2), transparent 24rem),
    var(--mist);
}

.thank-you-panel {
  width: min(720px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(1.5rem, 5vw, 3rem);
  box-shadow: var(--shadow);
}

.thank-you-panel img {
  width: 5rem;
  height: 5rem;
  margin-bottom: 1.5rem;
}

.thank-you-panel h1 {
  color: var(--forest);
  font-size: clamp(3rem, 8vw, 5.5rem);
}

.thank-you-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
}

@media (max-width: 980px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

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

@media (max-width: 760px) {
  .site-header {
    padding-inline: 1rem;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding-inline: 1rem;
  }

  .hero-content {
    width: min(100%, 22rem);
    min-width: 0;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 13, 44, 0.9) 0%, rgba(8, 13, 44, 0.74) 54%, rgba(8, 13, 44, 0.32) 100%),
      linear-gradient(0deg, rgba(8, 13, 44, 0.68) 0%, rgba(8, 13, 44, 0) 42%);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.9rem, 12.8vw, 3.55rem);
    line-height: 0.95;
  }

  .hero .eyebrow {
    max-width: 18rem;
    font-size: 0.7rem;
    letter-spacing: 0.07em;
  }

  .hero-copy {
    max-width: 22rem;
    font-size: 1.05rem;
  }

  .hero-actions {
    display: grid;
    width: min(100%, 22rem);
  }

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

  .hero-stats {
    display: grid;
    width: min(100%, 20rem);
  }

  .hero-stats span {
    width: 100%;
  }

  .section-grid,
  .area-panel,
  .process-grid,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .service-card {
    min-height: auto;
  }

  .service-number {
    margin-bottom: 2rem;
  }

  .site-footer {
    display: grid;
  }

  .checkbox-grid,
  .request-actions {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
