:root {
  --green-dark: #1f4d2c;
  --green: #2e7d42;
  --green-light: #e8f3e9;
  --earth: #7a5c3e;
  --cream: #f8f6f0;
  --text: #23291f;
  --text-muted: #5a6455;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(0,0,0,0.08);

  /* Cinematic dark palette */
  --bg-dark: #0d1610;
  --bg-dark-panel: rgba(10, 18, 12, 0.72);
  --gold: #c69a4e;
  --gold-soft: #e3c485;
  --text-light: #f2eee2;
  --text-light-muted: rgba(242, 238, 226, 0.74);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Generic scroll-reveal (overridden by more specific rules below where noted) */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

.eyebrow.eyebrow-light {
  color: var(--gold-soft);
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green-dark);
  margin-top: 0;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 32px;
}

a { color: var(--green); text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 92px;
  width: auto;
}

.nav {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: center;
}

.nav a {
  color: var(--text);
  font-weight: 500;
}

.nav a:hover { color: var(--green); }

.header-call {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  display: block;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.btn-icon-trail { transition: transform 0.25s ease; }

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(15, 40, 20, 0.35);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--green-dark);
  transform: translateY(100%);
  transition: transform 0.28s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(15, 40, 20, 0.45);
}

.btn-primary:hover::before { transform: translateY(0); }

.btn-primary:hover .btn-icon { transform: rotate(-8deg) scale(1.1); }

.btn-primary:active { transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.8);
}

.btn-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.btn-secondary:hover {
  color: var(--green-dark);
  border-color: var(--white);
  transform: translateY(-3px);
}

.btn-secondary:hover::before { transform: scaleX(1); }

.btn-secondary:hover .btn-icon-trail { transform: translateX(4px); }

.btn-call {
  background: var(--green-dark);
  color: var(--white);
  padding: 10px 20px;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(15, 40, 20, 0.3);
}

.btn-call .btn-icon { width: 15px; height: 15px; }

.btn-call:hover {
  background: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(15, 40, 20, 0.4);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(600px, 88vh, 780px);
  color: var(--white);
  text-align: center;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("hero-lawn.jpg");
  background-size: cover;
  background-position: center 65%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 68% 52% at 50% 32%, rgba(6,18,10,0.65), transparent 70%),
    linear-gradient(180deg, rgba(10,26,14,0.55) 0%, rgba(10,26,14,0.35) 45%, rgba(10,26,14,0.7) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-logo-small {
  display: block;
  height: clamp(56px, 7vw, 84px);
  width: auto;
  margin: 0 auto 28px;
  opacity: 0;
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,0.9))
    drop-shadow(0 -1px 0 rgba(255,255,255,0.9))
    drop-shadow(1px 0 0 rgba(255,255,255,0.9))
    drop-shadow(-1px 0 0 rgba(255,255,255,0.9))
    drop-shadow(0 8px 16px rgba(0,0,0,0.5));
  animation: heroFadeUp 0.8s ease-out 0.1s forwards;
}

.hero-headline {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 11vw, 8.5rem);
  line-height: 0.94;
  letter-spacing: -0.01em;
  color: var(--text-light);
  margin: 0 0 20px;
  text-wrap: balance;
  text-shadow: 0 6px 30px rgba(0,0,0,0.45);
  opacity: 0;
  animation: heroFadeUp 0.9s ease-out 0.2s forwards;
}

.hero-tagline {
  font-size: 1.2rem;
  max-width: 520px;
  margin: 0 auto 32px;
  color: var(--gold-soft);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  opacity: 0;
  animation: heroFadeUp 0.8s ease-out 0.35s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.8s ease-out 0.4s forwards;
}

.hero-stats {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 40px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,0.28);
  opacity: 0;
  animation: heroFadeUp 0.8s ease-out 0.55s forwards;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stats strong {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-stats span {
  font-size: 0.82rem;
  color: var(--white);
  letter-spacing: 0.03em;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title, .hero-tagline, .hero-buttons, .hero-stats {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

/* About */
.about {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
  color: var(--text-light);
}

.about-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("services/full-06-maintenance.jpg");
  background-size: cover;
  background-position: center;
}

.about-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(100deg,
    rgba(8,14,9,0.92) 0%,
    rgba(8,14,9,0.78) 38%,
    rgba(8,14,9,0.32) 68%,
    rgba(8,14,9,0.15) 100%);
}

.about-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0;
  text-align: left;
}

.about-inner .eyebrow-light {
  transition-delay: 0.05s;
}

.about-headline {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--text-light);
  margin: 0 0 28px;
  text-wrap: balance;
  transition-delay: 0.15s;
}

.about-copy {
  transition-delay: 0.28s;
}

.about-copy p {
  color: var(--text-light-muted);
  font-size: 1.1rem;
  max-width: 52ch;
}

/* Services */
.services {
  background: var(--bg-dark);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green);
  font-weight: 700;
  font-size: 0.78rem;
  margin: 0 0 12px;
}

/* --- Intro band --- */
.services-intro {
  position: relative;
  overflow: hidden;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dark);
}

.services-intro-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 90px 24px;
  text-align: center;
}

.services-intro-inner .eyebrow-light { transition-delay: 0.05s; }

.services-headline {
  color: var(--text-light);
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  text-align: center;
  line-height: 1.2;
  margin: 0;
  transition-delay: 0.12s;
}

.badge-stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(128deg,
    rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 3px,
    transparent 3px, transparent 34px),
    repeating-linear-gradient(128deg,
    #1f4d2c 0px, #1f4d2c 78px,
    #234f2b 78px, #234f2b 156px);
  animation: stripesDrift 9s linear infinite;
}

@keyframes stripesDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 27px 21px, 123px 96px; }
}

.services-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 30% at 50% 0%, rgba(255,255,255,0.14), transparent 70%);
  animation: sheenSweep 7s ease-in-out infinite;
}

@keyframes sheenSweep {
  0%, 100% { transform: translateY(-20%); opacity: 0.5; }
  50%      { transform: translateY(120%); opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  .badge-stripes, .services-intro::after { animation: none; }
}

.services-badge {
  position: relative;
  width: min(220px, 46vw);
  height: min(220px, 46vw);
  z-index: 1;
  perspective: 1000px;
  transition-delay: 0.2s;
}

.spin3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: spin3d 5s linear infinite;
}

@keyframes spin3d {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}

.spin-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  backface-visibility: hidden;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,0.45));
}

.spin-face-back {
  transform: rotateY(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .spin3d { animation: none; }
}

.badge-caption {
  position: relative;
  z-index: 1;
  color: var(--gold-soft);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  margin: 0;
  text-align: center;
  transition-delay: 0.28s;
}

/* --- Full-bleed service slides --- */
.service-slide {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.service-slide-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(8,14,9,0.90) 0%,
    rgba(8,14,9,0.62) 42%,
    rgba(8,14,9,0.18) 72%);
}

.service-slide.align-right .service-slide-scrim {
  background: linear-gradient(260deg,
    rgba(8,14,9,0.90) 0%,
    rgba(8,14,9,0.62) 42%,
    rgba(8,14,9,0.18) 72%);
}

.service-slide-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.service-slide.align-right .service-slide-inner {
  margin-left: auto;
  text-align: right;
}

.service-slide-num {
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  color: var(--gold-soft);
  opacity: 0.85;
  line-height: 1;
  margin: 0 0 8px;
}

.service-slide-title {
  color: var(--text-light);
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 20px;
  text-wrap: balance;
}

.service-slide-desc {
  color: var(--text-light-muted);
  font-size: 1.15rem;
  max-width: 44ch;
  margin: 0;
}

.service-slide.align-right .service-slide-desc {
  margin-left: auto;
}

@media (max-width: 640px) {
  .service-slide { min-height: 74vh; }
  .service-slide.align-right .service-slide-inner,
  .service-slide.align-right .service-slide-desc {
    margin-left: 0;
    text-align: left;
  }
  .service-slide .service-slide-scrim {
    background: linear-gradient(180deg,
      rgba(8,14,9,0.35) 0%,
      rgba(8,14,9,0.55) 55%,
      rgba(8,14,9,0.92) 100%) !important;
  }
  .service-slide-inner { align-self: flex-end; padding-bottom: 12px; }
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  color: var(--text-light);
  padding: 110px 0;
}

.contact-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("hero-lawn.jpg");
  background-size: cover;
  background-position: center 30%;
}

.contact-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg,
    rgba(8,14,9,0.88) 0%,
    rgba(8,14,9,0.78) 55%,
    rgba(8,14,9,0.92) 100%);
}

.contact-headline {
  color: var(--text-light);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1;
  margin: 0 0 24px;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info p { color: var(--text-light-muted); }

.contact-line { margin: 10px 0; }

.contact-info a { color: var(--text-light); text-decoration: underline; }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  transition-delay: 0.15s;
}

/* Footer */
.site-footer {
  background: #16321f;
  color: var(--green-light);
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-inner p { margin: 4px 0; }

.site-footer a { color: var(--white); }

/* Responsive */
@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-call { display: none; }
}
