/* MEB Lawn and Landscape — site stylesheet */
:root {
  --green: #395E1B;       /* dark brand green (italic accents, FAQ bar) */
  --lime: #AFBC34;        /* buttons */
  --lime-dark: #97a32a;
  --ink: #111;
  --text: #333;
  --muted: #595959;
  --light: #FAFAFA;
  --line: #e6e6e6;
  --night: #0d1b2a;       /* holiday lights page */
  --gold: #ffcf5c;
  --head: "Fira Sans", system-ui, sans-serif;
  --body: "Roboto", system-ui, sans-serif;
  --alt: "Montserrat", system-ui, sans-serif;
  --wrap: 1140px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 15px/1.6 var(--body); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; }
h3 { font-size: 22px; font-weight: 600; }
h2 em, h1 em { color: var(--green); font-style: italic; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.green { color: var(--green); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sec { padding: 80px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.align-center { align-items: center; }
.eyebrow { font: 500 13px/1 var(--alt); letter-spacing: .3em; text-transform: uppercase; color: var(--lime); margin-bottom: 12px; }
.eyebrow.dark { color: var(--ink); letter-spacing: .05em; font-weight: 700; }
.eyebrow.light { color: var(--gold); }
.sans { font-family: var(--alt); font-weight: 700; }

/* Buttons */
.btn { display: inline-block; background: var(--lime); color: #fff; font: 600 14px/1 var(--head); padding: 13px 22px; text-decoration: none; border: 2px solid var(--lime); transition: background .2s, border-color .2s; }
.btn:hover { background: var(--lime-dark); border-color: var(--lime-dark); }
.btn.ghost { background: transparent; border-color: #fff; color: #fff; font-weight: 500; }
.hero .btn.ghost { font-size: 16px; padding: 13px 30px; }
.btn.ghost:hover { background: rgba(255,255,255,.15); }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 144px; max-width: none; padding: 0 36px 0 52px; transition: height .2s; }
.site-header.scrolled .header-inner { height: 88px; }
.brand img { width: 108px; height: auto; transition: width .2s; }
.site-header.scrolled .brand img { width: 74px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.main-nav a { font: 500 15px/1 var(--alt); text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 10px 0; display: inline-block; }
.main-nav a:hover, .main-nav a.active { color: var(--green); }
.main-nav li { position: relative; }
.main-nav .sub { display: none; position: absolute; top: 100%; left: -16px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 8px 0; min-width: 200px; flex-direction: column; gap: 0; }
.main-nav .sub a { padding: 10px 16px; font-size: 13px; display: block; }
.main-nav .has-sub:hover .sub, .main-nav .has-sub:focus-within .sub { display: flex; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s, opacity .2s; }

/* Photo backgrounds */
.bg-photo { position: relative; background: var(--bg) center/cover no-repeat; color: #fff; }
.bg-photo::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.bg-photo > * { position: relative; }
.bg-photo h1, .bg-photo h2, .bg-photo h3 { color: #fff; }

/* Home hero */
.hero { min-height: 780px; display: flex; align-items: center; }
.hero::before { background: rgba(0,0,0,.42); }
.hero .wrap { max-width: none; width: 100%; padding: 0 9.7vw; }
.hero-copy { max-width: 780px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 62px); font-weight: 600; margin-bottom: 36px; }
.hero p { font-size: 17px; max-width: 760px; }

/* Lawn care intro + carousel */
.lawn-intro .two-col { align-items: center; gap: 24px; grid-template-columns: 1fr 1fr; }
.lawn-intro h2 { font-size: clamp(30px, 3.3vw, 42px); font-weight: 500; }
.lawn-intro h2 em { font-weight: 600; }
.lawn-copy { padding-left: 4px; }
.plain-list { list-style: none; padding: 0; margin: 28px 0; font: 400 19px/1 var(--head); color: #444; }
.plain-list li { margin-bottom: 20px; }
.carousel { position: relative; aspect-ratio: 556/600; overflow: hidden; background: #e9efe3; }
.carousel .slides { display: flex; height: 100%; transition: transform .5s ease; }
.carousel .slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 44px; line-height: 1; cursor: pointer; padding: 6px 12px; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.car-btn.prev { left: 6px; } .car-btn.next { right: 6px; }
.dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(0,0,0,.65); cursor: pointer; }
.dots button.on { background: #fff; }

/* Why choose */
.why-choose { padding: 112px 0 132px; }
.why-choose h2 { font-size: clamp(30px, 3.2vw, 40px); margin-bottom: 14px; }
.why-choose .lead { max-width: 760px; margin: 0 auto 64px; font-size: 15px; }
.reasons { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 900px; font: 400 17px/1.35 var(--alt); }
.reasons span { display: block; font: 700 46px/1 var(--alt); margin-bottom: 18px; }

/* Transforms + services */
.transforms { padding-bottom: 32px; }
.transforms h2 { font-size: clamp(30px, 3.2vw, 40px); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: #fff; padding: 20px; box-shadow: 0 1px 6px rgba(0,0,0,.08); }
.card img { width: 100%; aspect-ratio: 16/10.6; object-fit: cover; margin-bottom: 22px; }
.card h3 { margin: 0 10px 12px; font-size: 24px; }
.card p { margin: 0 10px 12px; font-size: 14.5px; }
.services { padding-top: 32px; }

/* Mowing panel */
.mowing { padding: 64px 0 220px; }
.mowing::before { background: rgba(0,0,0,.18); }
.panel { background: #fff; color: var(--text); max-width: 770px; margin: 140px 0 0 140px; padding: 48px 40px 40px; }
.panel h2 { color: var(--ink) !important; font-size: clamp(28px, 3vw, 40px); }

/* Best choice */
.best-choice h2 { font-size: clamp(30px, 3.2vw, 40px); }
.best-choice h3 { margin-top: 28px; font-size: 24px; }
.best-choice .two-col { grid-template-columns: 1.35fr 1fr; align-items: center; gap: 48px; }
.tall-photo { width: 100%; aspect-ratio: 476/590; object-fit: cover; }

/* Comprehensive */
.comprehensive { padding: 150px 0; }
.comprehensive::before { background: linear-gradient(90deg, rgba(0,0,0,.05), rgba(0,0,0,.6)); }
.comprehensive h2 { font-size: clamp(30px, 3.2vw, 40px); }
.comprehensive p { line-height: 1.9; }

/* FAQ */
.faq .two-col { grid-template-columns: 1.25fr 1fr; gap: 56px; }
.accordion details { border-bottom: 1px solid transparent; }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 48px 18px 16px; font: 600 18px/1.3 var(--head); color: var(--green); position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.accordion details[open] summary { background: var(--lime); color: #fff; }
.accordion details[open] summary::after { transform: none; border: 0; width: 13px; height: 2px; background: #fff; }
.accordion details p { background: #f5f5f5; margin: 0; padding: 16px; font-size: 14.5px; }
.faq-side h2 { font-size: clamp(30px, 3.2vw, 40px); }
.faq-side img { width: 100%; max-width: 400px; margin-top: 12px; }

/* Testimonials */
.testimonials h2 { font-size: clamp(28px, 2.8vw, 36px); margin-bottom: 56px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 24px; align-items: center; }
.quotes figure { margin: 0; text-align: center; }
.quotes blockquote { margin: 0 0 14px; font: italic 400 17px/1.45 Georgia, "Times New Roman", serif; color: #222; }
.quotes figcaption { font: 500 14px/1.4 var(--alt); color: #222; }
.quotes figcaption strong { display: block; font-size: 22px; font-weight: 600; margin-bottom: 6px; }

/* Footer */
.site-footer { background: #000; color: #fff; padding: 72px 0 24px; font: 400 14px/1.6 var(--alt); }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.2fr; gap: 32px; max-width: 1340px; }
.f-brand img { width: 160px; margin: 0 0 22px 70px; }
.f-brand p { margin: 0; }
.site-footer h4 { font: 500 22px/1.2 var(--alt); margin: 0 0 28px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.f-bottom { border-top: 1px solid #555; margin-top: 40px; padding-top: 24px; text-align: center; font-size: 13px; max-width: 1340px; }
.f-bottom p { margin: 0; }

/* Past projects */
.gallery { padding: 40px 0 96px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1100px; margin: 0 auto; }
.gallery-grid a { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 263/290; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-grid a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox img { max-height: 90vh; max-width: 92vw; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 44px; cursor: pointer; padding: 10px 16px; }
.lightbox .lb-close { top: 8px; right: 12px; font-size: 36px; }
.lightbox .lb-prev { left: 8px; } .lightbox .lb-next { right: 8px; }

/* Contact + sign-up */
.contact { padding: 48px 0 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 1340px; align-items: stretch; }
.contact-photo { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 640px; padding: 32px; }
.contact-photo::before { background: rgba(0,0,0,.2); }
.contact-photo h1 { font: 700 30px/1.1 var(--alt); margin-bottom: 18px; }
.contact-photo p { font-size: 14px; }
.contact-form { background: #fff; }
.ghl-form iframe { min-height: 760px; display: block; }
.signup { position: relative; padding: 36px 0 80px; }
.signup-bg { position: absolute; left: 0; right: 0; top: 0; height: 520px; }
.signup-bg::before { background: rgba(255,255,255,.6); }
.signup-card { position: relative; max-width: 650px; margin: 0 auto; background: #fff; }

/* Holiday Lights */
.hl-hero { position: relative; background: radial-gradient(ellipse at 50% 120%, #1f3b2a 0%, var(--night) 60%); color: #fff; padding: 150px 0 120px; overflow: hidden; }
.hl-hero h1 { color: #fff; font-size: clamp(38px, 5vw, 64px); font-weight: 700; }
.hl-hero h1 em { color: var(--gold); }
.hl-hero .lead { font-size: 18px; max-width: 680px; color: #e6ecf2; }
.hl-hero-inner { max-width: 900px; }
.bulbs { position: absolute; top: 0; left: -2%; right: -2%; height: 90px; }
.bulbs::before { content: ""; position: absolute; left: 0; right: 0; top: -40px; height: 80px; border-bottom: 2px solid #2e3b2e; border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.bulbs i { position: absolute; width: 14px; height: 22px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; animation: twinkle 2.4s ease-in-out infinite; }
.bulbs i::before { content: ""; position: absolute; top: -6px; left: 4px; width: 6px; height: 7px; background: #3a3a3a; border-radius: 1px; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .bulbs i { animation: none; } }
.hl-services { background: var(--light); }
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.hl-grid article { background: #fff; padding: 28px 24px; border-top: 4px solid var(--lime); box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.hl-grid p { font-size: 14.5px; margin: 0; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.steps span { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; font: 700 22px/1 var(--alt); margin-bottom: 16px; }
.steps p { font-size: 14.5px; }
.hl-quote { background: var(--light); }
.hl-quote .two-col { align-items: start; }

/* Holiday lights strip (hangs under the nav on every page; toggle in build.py SITE["holiday_banner"]) */
.hl-strip { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; background: #FFD23F; color: #1f3310; text-decoration: none; padding: 10px 20px; border-top: 1px solid rgba(0,0,0,.06); box-shadow: 0 3px 8px rgba(0,0,0,.12); }
.hl-strip-text { font-size: 16px; line-height: 1.3; }
.hl-strip-text strong { font: 700 17px/1.3 var(--head); color: #1f3310; margin-right: 4px; }
.hl-strip-cta { flex: none; background: var(--green); color: #fff; font: 600 14px/1 var(--head); padding: 9px 16px; border-radius: 4px; transition: background .2s; }
.hl-strip:hover .hl-strip-cta { background: #2c4a14; }

/* Responsive */
@media (max-width: 980px) {
  .header-inner { height: 88px; padding: 0 20px; }
  .brand img { width: 74px; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; top: 88px; left: 0; right: 0; bottom: 0; background: #fff; transform: translateX(100%); transition: transform .25s; overflow-y: auto; }
  .main-nav.open { transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 12px 24px; }
  .main-nav a { padding: 16px 0; font-size: 17px; width: 100%; }
  .main-nav .sub { display: flex; position: static; box-shadow: none; padding: 0 0 8px 16px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .two-col, .lawn-intro .two-col, .best-choice .two-col, .faq .two-col, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .card-grid, .quotes, .hl-grid, .steps { grid-template-columns: 1fr 1fr; }
  .reasons { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand img { margin-left: 0; }
  .panel { margin: 80px 0 0; }
  .comprehensive .two-col > div:first-child { display: none; }
  .comprehensive::before { background: rgba(0,0,0,.55); }
  .contact-photo { min-height: 360px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .sec { padding: 56px 0; }
  .hero { min-height: 600px; padding: 36px 0 48px; }
  .btn-row { gap: 12px; }
  .card-grid, .quotes, .hl-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .panel { padding: 32px 22px; }
  .mowing { padding-bottom: 140px; }
  .comprehensive { padding: 96px 0; }
  .hl-hero { padding: 120px 0 80px; }
  .why-choose { padding: 80px 0; }
  .hl-strip { gap: 12px; padding: 8px 14px; }
  .hl-strip-more { display: none; }
  .hl-strip-text strong { font-size: 16px; }
  .hl-strip-cta { padding: 8px 12px; font-size: 13px; }
}
