:root {
  --green-900: #143328;
  --green-800: #1d4636;
  --green-600: #517a63;
  --sage: #9daf92;
  --sage-light: #dfe6d8;
  --earth: #9a704d;
  --clay: #c29b73;
  --charcoal: #252a27;
  --muted: #6e766f;
  --white: #ffffff;
  --off-white: #f7f3ea;
  --stone: #ebe2d2;
  --line: rgba(20, 51, 40, 0.14);
  --shadow: 0 24px 70px rgba(20, 51, 40, 0.14);
  --radius: 8px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--off-white);
  color: var(--charcoal);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 234, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-900);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(20, 51, 40, 0.22);
  border-radius: 50%;
  background: var(--white);
  color: var(--earth);
  font-size: 0.78rem;
  font-weight: 900;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 24px;
  color: rgba(37, 42, 39, 0.78);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--green-800);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--green-800);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(20, 51, 40, 0.18);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--green-900);
  box-shadow: 0 18px 34px rgba(20, 51, 40, 0.24);
  transform: translateY(-2px);
}

.btn-small {
  display: none;
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 52px;
  background:
    linear-gradient(135deg, rgba(247, 243, 234, 0.96), rgba(223, 230, 216, 0.7)),
    var(--off-white);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  height: 42%;
  background: rgba(154, 112, 77, 0.1);
  content: "";
  clip-path: polygon(30% 0, 100% 18%, 100% 100%, 0 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
}

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

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

h1,
h2,
h3 {
  color: var(--green-900);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 12vw, 5.8rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 8vw, 3.4rem);
  font-weight: 700;
}

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

.hero-subhead {
  max-width: 620px;
  color: rgba(37, 42, 39, 0.76);
  font-size: clamp(1.1rem, 4vw, 1.32rem);
}

.hero-actions {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.hero-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-image-wrap {
  position: relative;
}

.hero-image {
  aspect-ratio: 4 / 5;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-note {
  position: absolute;
  right: 14px;
  bottom: 14px;
  max-width: min(280px, calc(100% - 28px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(20, 51, 40, 0.18);
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note strong {
  color: var(--green-900);
  line-height: 1.2;
}

.hero-note span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.trust-bar {
  background: var(--green-900);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.trust-grid span {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 900;
  text-align: center;
}

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

.lead-grid {
  display: grid;
  gap: 34px;
}

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

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--green-800);
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--green-900);
  content: "✓";
  display: grid;
  place-items: center;
  font-size: 0.72rem;
}

.lead-form {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--off-white);
  box-shadow: var(--shadow);
}

.demo-form-notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(20, 51, 40, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--green-900);
  font-size: 0.92rem;
  font-weight: 850;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--green-900);
  font-size: 0.9rem;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(20, 51, 40, 0.18);
  border-radius: 6px;
  background: var(--white);
  color: var(--charcoal);
  outline: none;
  transition: border 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input,
.field select {
  height: 50px;
  padding: 0 14px;
}

.field textarea {
  min-height: 132px;
  padding: 13px 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(81, 122, 99, 0.18);
}

.field input:disabled,
.field select:disabled,
.field textarea:disabled {
  border-color: rgba(20, 51, 40, 0.12);
  background: #f3f5f0;
  color: #66746d;
  cursor: not-allowed;
  opacity: 1;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #b54837;
  background: #fff9f6;
}

.form-submit {
  width: 100%;
  margin-top: 18px;
}

.form-submit[disabled] {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--green-800);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-status.error {
  color: #9c3326;
}

.services {
  background: var(--off-white);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.service-card {
  min-height: 218px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  border-color: rgba(81, 122, 99, 0.3);
  box-shadow: 0 18px 45px rgba(20, 51, 40, 0.12);
  transform: translateY(-4px);
}

.card-number {
  color: var(--clay);
  font-size: 0.84rem;
  font-weight: 900;
}

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

.process {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.78);
}

.process h2,
.process h3 {
  color: var(--white);
}

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

.process-grid {
  display: grid;
  gap: 22px;
}

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

.step {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.step span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.step p {
  margin-bottom: 0;
}

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

.about-grid {
  display: grid;
  gap: 30px;
  align-items: center;
}

.about-image img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.about-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.gallery {
  background: var(--off-white);
}

.gallery-grid {
  display: grid;
  gap: 18px;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(20, 51, 40, 0.08);
}

.gallery-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card div {
  padding: 18px;
}

.gallery-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.local {
  background:
    linear-gradient(rgba(20, 51, 40, 0.78), rgba(20, 51, 40, 0.82)),
    url("assets/curb-appeal-yard.jpg") center / cover;
  color: rgba(255, 255, 255, 0.82);
}

.local-panel {
  max-width: 780px;
  margin-left: max(16px, calc((100vw - var(--max-width)) / 2));
}

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

.local p:last-child {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.final-cta {
  background: var(--stone);
}

.final-cta-inner {
  display: grid;
  gap: 22px;
  align-items: center;
  justify-items: start;
}

.final-cta h2 {
  margin-bottom: 0;
}

.site-footer {
  padding: 48px 0 28px;
  background: #19251f;
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
  display: grid;
  gap: 22px;
}

.site-footer h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

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

address {
  display: grid;
  gap: 8px;
  font-style: normal;
}

address a {
  text-decoration: none;
}

address a:hover,
address a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.disclaimer {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.85rem;
}

.footer-attribution {
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.footer-attribution a {
  color: inherit;
  text-decoration: none;
}

.footer-attribution a:hover,
.footer-attribution a:focus-visible {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 640px) {
  .container {
    width: min(100% - 48px, var(--max-width));
  }

  .btn-small,
  .main-nav {
    display: inline-flex;
  }

  .hero-actions {
    display: flex;
    align-items: center;
  }

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

  .form-grid,
  .card-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .field-full {
    grid-column: 1 / -1;
  }

  .footer-grid,
  .final-cta-inner {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 900px) {
  .section-pad {
    padding: 104px 0;
  }

  .hero {
    padding-top: 78px;
  }

  .hero-grid,
  .lead-grid,
  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    align-items: center;
  }

  .hero-image {
    aspect-ratio: 0.86;
  }

  .lead-grid {
    grid-template-columns: minmax(280px, 0.78fr) minmax(520px, 1fr);
  }

  .process-grid {
    grid-template-columns: 0.75fr 1fr;
    align-items: start;
  }

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

  .steps {
    gap: 18px;
  }

  .about-grid {
    grid-template-columns: 0.82fr 1fr;
  }

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

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

  .brand {
    max-width: 220px;
  }

  .main-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -14px 34px rgba(20, 51, 40, 0.12);
  }

  .main-nav a {
    min-height: 58px;
    display: grid;
    place-items: center;
    color: var(--green-900);
    font-size: 0.78rem;
  }

  body {
    padding-bottom: 58px;
  }
}
