
/* Ward Lawn Care — polished motion effects */
:root { --wlc-motion-ease: cubic-bezier(.22,.61,.36,1); }

.wlc-hero-reveal {
  animation: wlcHeroReveal 1.35s var(--wlc-motion-ease) both;
}
@keyframes wlcHeroReveal {
  from { opacity: 0; transform: scale(1.035); filter: saturate(.75) brightness(.72) blur(2px); }
  to   { opacity: 1; transform: scale(1); filter: none; }
}

.wlc-grass-sweep {
  position: relative;
  overflow: hidden;
}
.wlc-grass-sweep::after {
  content: "";
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: -2px;
  height: 42px;
  pointer-events: none;
  opacity: .75;
  background:
    repeating-linear-gradient(78deg, transparent 0 13px, rgba(255,255,255,.14) 14px 16px, transparent 17px 28px);
  transform: translateX(-30%);
  animation: wlcGrassSweep 2.2s .25s var(--wlc-motion-ease) both;
}
@keyframes wlcGrassSweep {
  from { transform: translateX(-35%); opacity: 0; }
  to   { transform: translateX(0); opacity: .75; }
}

.wlc-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s var(--wlc-motion-ease), transform .75s var(--wlc-motion-ease);
  transition-delay: var(--wlc-delay, 0ms);
}
.wlc-reveal.wlc-visible {
  opacity: 1;
  transform: translateY(0);
}

.wlc-quote-btn {
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.wlc-quote-btn:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  filter: brightness(1.06);
}
.wlc-quote-btn:active { transform: translateY(-1px) scale(1.01); }

@media (prefers-reduced-motion: reduce) {
  .wlc-hero-reveal, .wlc-grass-sweep::after { animation: none !important; }
  .wlc-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .wlc-quote-btn { transition: none !important; }
}

/* Mower background cinematic reveal */
.wlc-mower-reveal {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.wlc-mower-reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(0,0,0,.96) 0%,
    rgba(0,0,0,.72) 18%,
    rgba(0,0,0,.18) 42%,
    rgba(0,0,0,0) 65%);
  transform: translateX(-105%);
  animation: wlcMowerCurtain 1.45s cubic-bezier(.77,0,.18,1) .12s both;
}
.wlc-mower-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: inherit;
  transform: scale(1.08);
  filter: blur(7px) brightness(.68);
  animation: wlcMowerFocus 1.65s cubic-bezier(.22,.61,.36,1) both;
}
.wlc-mower-reveal > * {
  position: relative;
  z-index: 2;
  animation: wlcMowerContent 1s cubic-bezier(.22,.61,.36,1) .38s both;
}
@keyframes wlcMowerCurtain {
  0% { transform: translateX(-105%); opacity: 1; }
  100% { transform: translateX(105%); opacity: 0; }
}
@keyframes wlcMowerFocus {
  0% { transform: scale(1.08); filter: blur(7px) brightness(.68); }
  100% { transform: scale(1); filter: none; }
}
@keyframes wlcMowerContent {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .wlc-mower-reveal::before,
  .wlc-mower-reveal::after,
  .wlc-mower-reveal > * {
    animation: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

/* Winter service additions */
.wlc-winter-services {
  padding: 64px 20px;
}
.wlc-winter-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.wlc-winter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.wlc-winter-service {
  min-height: 150px;
}
@media (max-width: 800px) {
  .wlc-winter-grid { grid-template-columns: 1fr; }
}

/* Services card layout */
.services-section .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) {
  .services-section .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .services-section .services { grid-template-columns: 1fr; }
}
