:root {
  --bg: #ffffff;
  --section: #f7f8f5;
  --section-sage: #eef3ec;
  --text: #1c2a1d;
  --muted: #506151;
  --green: #3ea64a;
  --green-dark: #2f8f3a;
  --line: #d9e3d9;
  --radius-lg: 16px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero {
  min-height: 90vh;
  position: relative;
  display: grid;
  align-items: center;
  background: #dcebd9 url("images/hero-lawncare.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #e6f8e8;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
  font-weight: 800;
}

h1 {
  margin: 0.7rem 0 0.85rem;
  font-size: clamp(2.25rem, 5.2vw, 4rem);
  max-width: 16ch;
  letter-spacing: -0.025em;
}

.hero h1 {
  color: #ffffff;
}

.subhead {
  margin: 0;
  color: #edf7ef;
  font-size: 1.08rem;
  max-width: 58ch;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
}

.trust-row {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  color: #edf7ef;
  font-weight: 600;
}

.section {
  padding: 7.2rem 0;
}

.section-alt {
  background: var(--section);
}

.section-surface {
  background: #ffffff;
}

.section-sage {
  background: var(--section-sage);
}

.section-divider,
.section-divider-soft {
  position: relative;
}

.section-divider::before,
.section-divider-soft::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -48px;
  height: 48px;
  pointer-events: none;
}

.section-divider::before {
  background: var(--section);
  clip-path: ellipse(74% 100% at 50% 100%);
}

.section-divider-soft::before {
  background: var(--section);
  clip-path: ellipse(88% 100% at 50% 100%);
}

.section h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  letter-spacing: -0.02em;
  max-width: 22ch;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.section-lead {
  margin: -0.35rem 0 1.8rem;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 62ch;
}

.service-grid,
.why-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  background: #fff;
  transition: transform 240ms ease, box-shadow 240ms ease;
  box-shadow: 0 8px 20px rgba(20, 34, 20, 0.05);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(28, 42, 29, 0.1);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eef8ef;
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
}

.service-card h3 {
  margin-bottom: 0.45rem;
}

.service-card p,
.why-grid p,
.form-wrap p {
  margin: 0;
  color: var(--muted);
}

.comparison-slider {
  --position: 54%;
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid #d7e2d5;
  box-shadow: 0 10px 28px rgba(18, 33, 18, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  touch-action: none;
}

.comparison-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}

.comparison-after {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--position);
  overflow: hidden;
}

.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 1px rgba(20, 29, 20, 0.22);
  pointer-events: none;
  will-change: left;
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: var(--position);
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 1px solid rgba(24, 38, 24, 0.28);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 7px 18px rgba(18, 31, 18, 0.2);
  cursor: ew-resize;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  touch-action: none;
  will-change: left, transform;
}

.comparison-handle:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 11px 22px rgba(18, 31, 18, 0.26);
}

.comparison-handle.is-dragging {
  transform: translate(-50%, -50%) scale(1.05);
}

.comparison-arrows {
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #17331b;
  user-select: none;
}

.comparison-label {
  position: absolute;
  bottom: 0.85rem;
  z-index: 2;
  padding: 0.32rem 0.52rem;
  border-radius: 8px;
  background: rgba(18, 24, 19, 0.56);
  color: #f7f9f7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 700;
}

.comparison-label-before {
  left: 0.85rem;
}

.comparison-label-after {
  right: 0.85rem;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.feature-item {
  padding: 1.1rem 1.2rem;
}

.feature-item + .feature-item {
  border-left: 1px solid #d7e3d5;
}

.feature-item h3 {
  margin: 0.75rem 0 0.35rem;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  background: rgba(62, 166, 74, 0.12);
  color: #256732;
}

.section-serving {
  position: relative;
  background:
    radial-gradient(circle at 18% 35%, rgba(62, 166, 74, 0.08), rgba(62, 166, 74, 0) 36%),
    radial-gradient(circle at 78% 60%, rgba(36, 94, 47, 0.07), rgba(36, 94, 47, 0) 40%),
    #ffffff;
}

.seasonal-callout {
  padding: 4rem 0;
  background: linear-gradient(135deg, #dff2de, #cde9cc);
}

.seasonal-inner {
  text-align: center;
  max-width: 860px;
}

.seasonal-eyebrow {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #2d6e36;
}

.seasonal-callout h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #17361b;
}

.seasonal-callout p {
  margin: 0.85rem auto 1.2rem;
  max-width: 62ch;
  color: #2c4f31;
}

.seasonal-btn {
  padding-inline: 1.5rem;
}

.serving-wrap h2 {
  margin-bottom: 0.8rem;
}

.serving-grid {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem 1.2rem;
}

.serving-grid li {
  position: relative;
  padding-left: 1rem;
  color: #1e2f1f;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.serving-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.63em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #3ea64a;
}

.form-wrap {
  max-width: 700px;
  text-align: center;
}

.quote-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid #c6d5c7;
  border-radius: var(--radius-md);
  padding: 0.8rem 0.82rem;
  font: inherit;
}

.quote-form button {
  border: 0;
  border-radius: 999px;
  padding: 0.86rem 1.3rem;
  font-weight: 700;
  font: inherit;
  color: #fff;
  background: var(--green);
  cursor: pointer;
}

.quote-form button:hover {
  background: var(--green-dark);
}

.site-footer {
  background: #1f2d22;
  color: #dce9de;
}

.footer-grid {
  padding: 3.2rem 0 2.2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.2fr 1fr 1fr 0.9fr;
}

.footer-col h3 {
  margin: 0 0 0.75rem;
  font-size: 1.02rem;
  color: #ffffff;
}

.footer-col p {
  margin: 0 0 0.5rem;
  color: #c4d6c7;
  line-height: 1.55;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin: 0 0 0.42rem;
  color: #c4d6c7;
}

.footer-col a {
  color: #dce9de;
  text-decoration: none;
}

.footer-col a:hover {
  color: #a8ddb0;
}

.social-links {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(220, 233, 222, 0.35);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  text-transform: lowercase;
}

.social-links a:hover {
  border-color: #8ccc96;
  background: rgba(140, 204, 150, 0.16);
  color: #eaffec;
}

.footer-bottom {
  border-top: 1px solid rgba(220, 233, 222, 0.18);
}

.footer-bottom p {
  margin: 0;
  padding: 0.9rem 0 1rem;
  color: #b7cbb9;
  font-size: 0.92rem;
}

@media (max-width: 1024px) {
  .service-grid,
  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-item:nth-child(3),
  .feature-item:nth-child(4) {
    border-top: 1px solid #d7e3d5;
  }

  .feature-item:nth-child(3) {
    border-left: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .service-grid,
  .feature-strip,
  .serving-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 5.2rem 0;
  }

  .hero {
    min-height: 90vh;
  }

  .section-divider::before,
  .section-divider-soft::before {
    top: -30px;
    height: 30px;
  }

  .feature-item + .feature-item {
    border-left: 0;
    border-top: 1px solid #d7e3d5;
  }

  .comparison-slider {
    aspect-ratio: 4 / 3;
  }

  .comparison-handle {
    width: 64px;
    height: 64px;
  }

  .comparison-label {
    font-size: 0.64rem;
    padding: 0.32rem 0.48rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
    gap: 1.15rem;
  }
}

.work-gallery {
  background: #ffffff;
  padding-top: 5.6rem;
}

.section-reviews {
  background: #f3f7f2;
}

.reviews-summary {
  margin-bottom: 1.4rem;
}

.reviews-rating {
  margin: 0 0 0.6rem;
  font-size: clamp(1.7rem, 3.8vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.stars {
  color: #f2b632;
  letter-spacing: 0.08em;
  font-size: 0.8em;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.review-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.1rem;
  box-shadow: 0 8px 20px rgba(22, 39, 23, 0.05);
}

.review-stars {
  margin: 0 0 0.5rem;
  color: #f2b632;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
}

.review-card blockquote {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.55;
}

.review-name {
  margin: 0.75rem 0 0;
  font-weight: 700;
  color: #1b3b1f;
}

.gallery-header {
  margin-bottom: 1.25rem;
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  grid-auto-rows: 190px;
}

.work-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  text-decoration: none;
  background: #dde9dc;
}

.work-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.35s ease;
}

.work-tile.tall {
  grid-row: span 2;
}

.work-tile.wide {
  grid-column: span 2;
}

.tile-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  padding: 0.9rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.05) 56%, rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.tile-overlay span {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.work-tile:hover img {
  transform: scale(1.05);
}

.work-tile:hover .tile-overlay {
  opacity: 1;
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .masonry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }

  .work-tile.wide {
    grid-column: span 1;
  }
}

@media (max-width: 700px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .masonry-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .work-tile.tall,
  .work-tile.wide {
    grid-row: span 1;
    grid-column: span 1;
  }

  .tile-overlay {
    opacity: 1;
  }
}
