/* ============================================================
   MEADOWBROOK LAWN & LANDSCAPE — Bright, friendly, premium.
   Fresh green · Sky blue · Sunny yellow · White. Mowing stripes.
   ============================================================ */

:root {
  --white: #FBFEFB;
  --mist: #EDF4EE;
  --green: #2F8F4E;
  --green-dk: #206B39;
  --green-2: #164F2A;
  --green-lt: #4FB06E;
  --sky: #2F8FCB;
  --sun: #F4C531;
  --ink: #1C2A20;
  --muted: #566659;
  --disp: 'Fraunces', Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-s: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 22px;
  --shadow: 0 22px 50px -24px rgba(22,79,42,.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.kicker { display: inline-block; font-family: var(--body); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); margin-bottom: .9rem; }
.kicker--light { color: var(--sun); }
.title { font-family: var(--disp); font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; color: var(--green-2); letter-spacing: -0.01em; }
.sub { color: var(--muted); max-width: 52ch; margin: 1rem auto 0; }
.head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 3.8rem); text-align: center; }
.section { padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 6vw, 5.5rem); }
.stars { color: var(--sun); letter-spacing: .1em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; font-family: var(--body); font-weight: 700; font-size: .95rem; padding: .95rem 1.6rem; border-radius: 100px; cursor: pointer; border: 2px solid transparent; transition: transform .4s var(--ease), box-shadow .4s var(--ease-s), background .3s, color .3s; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 12px 28px -12px rgba(47,143,78,.7); }
.btn--green:hover { background: var(--green-dk); transform: translateY(-4px) scale(1.03); box-shadow: 0 18px 40px -12px rgba(47,143,78,.8); }
.btn--soft { background: #fff; color: var(--green-dk); border-color: var(--mist); box-shadow: var(--shadow); }
.btn--soft:hover { transform: translateY(-4px) scale(1.03); border-color: var(--green-lt); color: var(--green-dk); }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all .4s var(--ease-s); }
.nav.is-stuck { background: rgba(251,254,251,.9); backdrop-filter: blur(12px); box-shadow: 0 4px 24px -16px rgba(22,79,42,.5); }
.nav__inner { max-width: 1320px; margin: 0 auto; padding: 1.1rem clamp(1.25rem, 6vw, 5.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--disp); font-weight: 700; font-size: 1.4rem; color: var(--green-2); }
.brand em { font-style: italic; color: var(--green); }
.brand--light { color: #fff; } .brand--light em { color: var(--sun); }
.brand__leaf { width: 30px; height: 30px; color: var(--green); }
.nav__links { display: flex; gap: 1.8rem; }
.nav__links a { font-weight: 500; font-size: .92rem; color: var(--ink); position: relative; padding: .2rem 0; }
.nav__links a::after { content:''; position:absolute; left:0; bottom:-3px; width:100%; height:2px; border-radius:2px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-s); }
.nav__links a:hover { color: var(--green); } .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.nav__burger span { width: 24px; height: 2px; border-radius: 2px; background: var(--green-2); }

/* HERO */
.hero { position: relative; padding: 9rem clamp(1.25rem, 6vw, 5.5rem) 5rem; overflow: hidden; background: linear-gradient(180deg, #EAF6EC 0%, var(--white) 100%); }
.hero__stripes { position: absolute; inset: 0; z-index: 0; background: repeating-linear-gradient(115deg, rgba(47,143,78,.07) 0 46px, rgba(47,143,78,.13) 46px 92px); mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 75%); }
.hero__inner { position: relative; z-index: 2; max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--mist); color: var(--green-dk); font-weight: 600; font-size: .85rem; padding: .5rem 1rem; border-radius: 100px; box-shadow: var(--shadow); margin-bottom: 1.6rem; }
.hero__title { font-family: var(--disp); font-weight: 600; font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.02em; color: var(--green-2); margin-bottom: 1.4rem; }
.hero__title .hl { color: var(--green); position: relative; white-space: nowrap; }
.hero__title .hl::after { content:''; position:absolute; left:0; right:0; bottom:.06em; height:.28em; background: var(--sun); opacity:.55; border-radius:6px; z-index:-1; }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 44ch; margin-bottom: 2rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero__trust { display: flex; align-items: center; gap: .8rem; font-size: .95rem; color: var(--muted); }
.hero__trust strong { color: var(--green-2); }
.hero__trust .stars { font-size: 1.1rem; }
.hero__card { position: relative; }
.hero__photo { width: 100%; aspect-ratio: 4/5; border-radius: 28px; background: center/cover no-repeat url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&q=80&w=1000'); box-shadow: 0 40px 80px -30px rgba(22,79,42,.55); }
.floaty { position: absolute; display: inline-flex; align-items: center; gap: .45em; background: #fff; border-radius: 100px; padding: .7rem 1.1rem; font-weight: 600; font-size: .88rem; color: var(--green-dk); box-shadow: var(--shadow); animation: bob 4s ease-in-out infinite; }
.floaty .ico { color: var(--green); }
.ico { width: 1.05em; height: 1.05em; vertical-align: -0.16em; flex: none; }
.btn .ico { width: 1.1em; height: 1.1em; }
.footer__made { display: inline-flex; align-items: center; gap: .35em; }
.footer__made .ico { color: var(--green-lt); }
.floaty--1 { top: 8%; left: -8%; animation-delay: 0s; }
.floaty--2 { bottom: 16%; right: -6%; animation-delay: 1.3s; }
.floaty--3 { bottom: -3%; left: 6%; animation-delay: 2.4s; }
@keyframes bob { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }

/* SERVICES */
.services { background: var(--white); }
.services__grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.card { background: #fff; border-radius: var(--r); padding: 2rem 1.8rem; border: 1px solid var(--mist); box-shadow: 0 14px 40px -30px rgba(22,79,42,.5); transition: transform .5s var(--ease), box-shadow .5s var(--ease-s); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card__ico { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; background: var(--mist); color: var(--green); margin-bottom: 1.2rem; transition: transform .5s var(--ease), background .4s; }
.card__ico svg { width: 30px; height: 30px; }
.card:hover .card__ico { transform: rotate(-8deg) scale(1.08); background: #DDEEE1; }
.card h3 { font-family: var(--disp); font-weight: 600; font-size: 1.4rem; color: var(--green-2); margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .95rem; }

/* PROCESS */
.process { background: var(--green-2); color: #fff; border-radius: 40px; margin: 0 clamp(.6rem, 2vw, 1.5rem); }
.process .title { color: #fff; } .process .kicker { color: var(--sun); }
.process__track { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.pcard { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 2rem 1.6rem; transition: transform .5s var(--ease), background .4s; }
.pcard:hover { transform: translateY(-8px); background: rgba(255,255,255,.11); }
.pcard__badge { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--disp); font-weight: 700; font-size: 1.3rem; color: var(--green-2); background: var(--sun); margin-bottom: 1.2rem; box-shadow: 0 8px 20px -8px rgba(244,197,49,.7); }
.pcard h3 { font-family: var(--disp); font-weight: 600; font-size: 1.4rem; margin-bottom: .5rem; }
.pcard p { color: rgba(255,255,255,.78); font-size: .93rem; }

/* GALLERY */
.gallery { background: var(--white); }
.gallery__grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1.1rem; }
.glow { position: relative; border-radius: var(--r); overflow: hidden; background: var(--img) center/cover no-repeat, var(--mist); box-shadow: 0 14px 40px -30px rgba(22,79,42,.5); }
.glow::before { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 45%, rgba(16,58,37,.85)); opacity:.75; transition: opacity .5s; }
.glow:hover::before { opacity: .95; }
.glow--tall { grid-row: span 2; } .glow--wide { grid-column: span 2; }
.glow figcaption { position: absolute; left: 1.2rem; bottom: 1.1rem; z-index: 2; color: #fff; font-family: var(--disp); font-weight: 600; font-size: 1.15rem; transform: translateY(8px); opacity: 0; transition: all .5s var(--ease-s); }
.glow:hover figcaption { transform: translateY(0); opacity: 1; }

/* BANNER */
.banner { background: linear-gradient(120deg, var(--sky), #1f6f9e); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 6vw, 5.5rem); }
.banner__inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat strong { display: block; font-family: var(--disp); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; }
.stat span { font-size: .88rem; opacity: .9; margin-top: .4rem; display: block; }

/* SERVICE AREA */
.area { background: var(--white); }
.area__grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.area .title, .area .head { text-align: left; }
.area__copy .sub { margin-left: 0; }
.area__towns { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0 2rem; }
.area__towns span { font-weight: 500; font-size: .88rem; color: var(--green-dk); background: #fff; border: 1px solid var(--mist); padding: .5rem .95rem; border-radius: 100px; transition: all .3s var(--ease-s); }
.area__towns span:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.area__mapwrap { border-radius: 28px; padding: 10px; background: #fff; box-shadow: var(--shadow); }
.area__map { position: relative; aspect-ratio: 1/0.82; border-radius: 20px; overflow: hidden; background: radial-gradient(circle at 50% 44%, #E6F3E9, #D6E9DB); }
.area__roads { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(47,143,78,.14) 1px, transparent 1px), linear-gradient(rgba(47,143,78,.14) 1px, transparent 1px); background-size: 44px 44px; }
.mappin { position: absolute; left: var(--x); top: var(--y); width: 12px; height: 12px; border-radius: 50% 50% 50% 0; background: var(--sky); transform: translate(-50%,-100%) rotate(-45deg); box-shadow: 0 4px 10px -3px rgba(47,143,203,.6); animation: drop .6s var(--ease) both; }
.mappin--home { width: auto; height: auto; background: none; box-shadow: none; color: var(--sky); transform: translate(-50%,-90%); animation: bob 3s ease-in-out infinite; }
.mappin--home svg { width: 30px; height: 30px; filter: drop-shadow(0 3px 5px rgba(47,143,203,.45)); }
@keyframes drop { from { opacity: 0; transform: translate(-50%,-180%) rotate(-45deg); } }

/* REVIEWS */
.reviews { background: var(--mist); }
.reviews__grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.review { background: #fff; border-radius: var(--r); padding: 2rem 1.9rem; box-shadow: 0 14px 40px -30px rgba(22,79,42,.5); transition: transform .5s var(--ease), box-shadow .5s var(--ease-s); }
.review:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.review .stars { font-size: 1.1rem; margin-bottom: 1rem; }
.review p { font-family: var(--disp); font-size: 1.18rem; line-height: 1.5; color: var(--green-2); margin-bottom: 1.4rem; }
.review footer { display: flex; align-items: center; gap: .8rem; }
.review footer img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.review footer strong { display: block; color: var(--ink); }
.review footer span { font-size: .84rem; color: var(--muted); }

/* FAQ */
.faq { background: var(--white); }
.faq__list { max-width: 800px; margin: 0 auto; }
.q { background: #fff; border: 1px solid var(--mist); border-radius: 18px; margin-bottom: .9rem; overflow: hidden; transition: box-shadow .4s, border-color .4s; }
.q[open] { box-shadow: var(--shadow); border-color: #DBE9DE; }
.q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem 1.6rem; font-family: var(--disp); font-weight: 600; font-size: 1.18rem; color: var(--green-2); }
.q summary::-webkit-details-marker { display: none; }
.q__mk { position: relative; width: 18px; height: 18px; flex: none; }
.q__mk::before, .q__mk::after { content:''; position:absolute; background: var(--green); border-radius: 2px; transition: transform .4s var(--ease-s); }
.q__mk::before { top: 8px; left: 0; width: 18px; height: 2px; }
.q__mk::after { top: 0; left: 8px; width: 2px; height: 18px; }
.q[open] .q__mk::after { transform: rotate(90deg); opacity: 0; }
.q__body { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-s); }
.q[open] .q__body { max-height: 260px; }
.q__body p { padding: 0 1.6rem 1.4rem; color: var(--muted); }

/* QUOTE */
.quote { padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 6vw, 5.5rem); background: var(--mist); }
.quote__card { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,4vw,3.5rem); background: var(--green-2); color: #fff; border-radius: 36px; padding: clamp(2.2rem, 5vw, 4rem); align-items: center; box-shadow: 0 40px 80px -40px rgba(16,58,37,.7); }
.quote__copy h2 { font-family: var(--disp); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.06; margin-bottom: 1rem; }
.quote__copy p { color: rgba(255,255,255,.82); margin-bottom: 1.4rem; }
.quote__perks { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.quote__perks li { color: var(--sun); font-weight: 600; }
.quote__form { display: grid; gap: .8rem; background: #fff; border-radius: 22px; padding: 1.6rem; }
.quote__form input { padding: .95rem 1.1rem; border-radius: 12px; border: 1px solid var(--mist); font-family: var(--body); font-size: .95rem; color: var(--ink); background: var(--white); }
.quote__form input:focus { outline: none; border-color: var(--green-lt); background: #fff; }
.quote__form .btn { justify-content: center; margin-top: .2rem; }
.quote__form small { text-align: center; color: var(--muted); font-size: .78rem; }

/* FOOTER */
.footer { background: var(--green-2); color: rgba(255,255,255,.75); padding: clamp(3rem,6vw,4.5rem) clamp(1.25rem, 6vw, 5.5rem) 2rem; }
.footer__inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 2fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand p { margin: .8rem 0 1.2rem; max-width: 32ch; font-size: .92rem; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; transition: all .3s; }
.footer__social svg { width: 18px; height: 18px; }
.footer__social a:hover { background: var(--sun); color: var(--green-2); transform: translateY(-3px); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__cols h4 { color: var(--sun); font-family: var(--body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__cols a { display: block; font-size: .92rem; padding: .3rem 0; transition: color .3s; }
.footer__cols a:hover { color: #fff; }
.footer__base { max-width: 1320px; margin: 1.6rem auto 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.5); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-s), transform .8s var(--ease-s); }
.reveal.in { opacity: 1; transform: none; }
.services__grid .card:nth-child(2), .process__track .pcard:nth-child(2), .reviews__grid .review:nth-child(2), .banner__inner .stat:nth-child(2), .gallery__grid .glow:nth-child(2) { transition-delay: .07s; }
.services__grid .card:nth-child(3), .process__track .pcard:nth-child(3), .reviews__grid .review:nth-child(3), .banner__inner .stat:nth-child(3), .gallery__grid .glow:nth-child(3) { transition-delay: .14s; }
.services__grid .card:nth-child(4), .process__track .pcard:nth-child(4), .banner__inner .stat:nth-child(4), .gallery__grid .glow:nth-child(4) { transition-delay: .21s; }
.services__grid .card:nth-child(5) { transition-delay: .28s; } .services__grid .card:nth-child(6) { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { animation: none !important; } }

/* RESPONSIVE */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { width: 100%; max-width: 460px; margin: 1rem auto 0; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__track { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .banner__inner { grid-template-columns: repeat(2, 1fr); }
  .area__grid, .quote__card { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; max-width: 600px; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .nav__links, .nav__cta { display: none; }
  .nav__links.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(251,254,251,.97); backdrop-filter: blur(12px); padding: 1.4rem clamp(1.25rem,6vw,5.5rem); gap: 1rem; box-shadow: var(--shadow); }
  .nav__burger { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; }
  .services__grid, .process__track, .gallery__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-auto-rows: 210px; } .glow--wide, .glow--tall { grid-column: auto; grid-row: auto; }
  .banner__inner { grid-template-columns: 1fr 1fr; }
  .floaty { display: none; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; gap: .4rem; }
}

/* Mobile: prevent iOS auto-zoom on input focus */
@media (max-width: 640px) { input, select, textarea { font-size: 16px !important; } }
