/*
Theme Name: Cool Out Lawn Care
Theme URI: https://example.com/
Author: Cool Out Lawn Care
Description: A complete, mobile-friendly WordPress website for Cool Out Lawn Care serving Wilmington, North Carolina. The homepage opens with a wide lawn photograph, while the Cool Out Lawn Care logo sits beside all main page links in the top navigation.
Version: 3.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: coolout-lawn-care
Tags: custom-logo, custom-menu, featured-images, accessibility-ready, one-column
*/

:root {
  --navy: #102a43;
  --navy-deep: #071a2b;
  --navy-soft: #123c59;
  --carolina: #7fbcdf;
  --seafoam: #79d3b0;
  --seafoam-deep: #24846a;
  --cream: #f5fbf8;
  --white: #ffffff;
  --ink: #18323f;
  --muted: #61727d;
  --line: #d9e8e3;
  --shadow: 0 18px 50px rgba(7, 26, 43, 0.12);
  --shadow-heavy: 0 26px 80px rgba(7, 26, 43, 0.22);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

/* Prevent long copy, phone numbers and email addresses from escaping cards or grid columns. */
main, section, article, aside, figure, form, .container, .home-hero-copy, .home-hero-feature, .discount-heading > div, .split-grid > *, .contact-grid > *, .service-area-grid > *, .page-hero-grid > *, .offer-grid > * { min-width: 0; }
h1, h2, h3, p, li, strong, small, figcaption, label, cite { overflow-wrap: break-word; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  clip: auto !important; width: auto; height: auto; margin: 8px;
  padding: 12px 16px; background: var(--white); color: var(--navy);
  z-index: 100000; top: 0; left: 0;
}

.site-shell { overflow: hidden; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-soft { background: var(--cream); }
.section-dark { background: var(--navy-deep); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.muted { color: var(--muted); }
.center-action { display: flex; justify-content: center; margin-top: 34px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px; color: #1c6b55; font-size: .78rem;
  font-weight: 850; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 99px; background: var(--seafoam); }
.light-eyebrow { color: var(--seafoam); }
h1, h2, h3 { margin: 0 0 18px; color: var(--navy-deep); line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.55rem, 5.4vw, 4.85rem); }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
h3 { font-size: 1.34rem; letter-spacing: -.02em; }
p { margin: 0 0 18px; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.24rem); color: var(--muted); max-width: 720px; }
.section-heading { max-width: 760px; margin-bottom: 40px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; max-width: 100%; padding: 12px 20px; border: 1px solid transparent;
  border-radius: 12px; font-weight: 850; line-height: 1.22; text-align: center; white-space: normal; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--seafoam); color: var(--navy-deep); box-shadow: 0 10px 24px rgba(38,132,106,.22); }
.button-primary:hover { background: #8ce0bf; }
.button-secondary-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.button-secondary-dark:hover { background: var(--navy); color: var(--white); }
.button-outline-light { border-color: rgba(255,255,255,.58); color: var(--white); background: rgba(255,255,255,.04); }
.button-outline-light:hover { background: var(--white); color: var(--navy-deep); }
.button-light { background: var(--white); color: var(--navy-deep); }
.button-block { width: 100%; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7,26,43,.98); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(121,211,176,.24); box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; flex-shrink: 0; }
.header-logo-mark { width: 68px; height: 68px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 22px rgba(45,222,231,.34); }
.brand-wordmark { display: grid; line-height: 1; }
.brand-wordmark strong { color: #b7ff35; font-size: 1.22rem; font-weight: 950; letter-spacing: -.02em; }
.brand-wordmark span { margin-top: 5px; color: #31ddea; font-size: .76rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-width: 250px; max-height: 76px; width: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { display: block; padding: 10px 10px; color: rgba(255,255,255,.86); font-size: .94rem; font-weight: 780; text-decoration: none; border-radius: 10px; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { background: rgba(121,211,176,.14); color: #b7ff35; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { color: #31ddea; font-size: .92rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.header-estimate { white-space: nowrap; background:#b7ff35; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--white); padding: 8px; }
.menu-toggle span:not(.screen-reader-text) { display: block; width: 26px; height: 3px; margin: 5px 0; border-radius: 99px; background: currentColor; }

.home-hero {
  position: relative; overflow: hidden; padding: 76px 0 104px; color: var(--white);
  background:
    radial-gradient(circle at 12% 10%, rgba(127,188,223,.22), transparent 28%),
    radial-gradient(circle at 85% 86%, rgba(121,211,176,.18), transparent 30%),
    linear-gradient(135deg, #071a2b 0%, #103553 58%, #0d3c46 100%);
}
.home-hero::after { content: ""; position: absolute; right: -130px; top: 80px; width: 400px; height: 400px; border: 56px solid rgba(255,255,255,.045); border-radius: 50%; }
.home-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: 48px; align-items: center; }
.hero-logo-panel { width: min(215px, 55%); margin: 0 0 22px; padding: 8px; border-radius: 22px; background: rgba(0,0,0,.24); border: 1px solid rgba(49,221,234,.28); box-shadow: 0 18px 44px rgba(0,0,0,.22); }
.hero-logo-panel img { width: 100%; border-radius: 16px; }
.home-hero h1 { color: var(--white); }
.home-hero .lead { color: rgba(255,255,255,.78); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 13px; margin: 28px 0 28px; }
.hero-actions .button { flex: 0 1 auto; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: .94rem; font-weight: 800; color: rgba(255,255,255,.82); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: "✓"; color: var(--seafoam); }
.home-hero-feature { position: relative; display: grid; gap: 18px; }
.hero-photo, .page-hero-photo, .about-photo, .featured-work-main, .offer-photo { margin: 0; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-heavy); background: #dfece6; }
.hero-photo img { width: 100%; height: 320px; object-fit: cover; }
.hero-photo figcaption, .featured-work-main figcaption, .offer-photo figcaption { padding: 9px 13px; background: rgba(7,26,43,.94); color: rgba(255,255,255,.72); font-size: .76rem; }

.discount-card { padding: 26px; border-radius: 24px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-heavy); }
.discount-card h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
.discount-heading { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 16px; align-items: start; }
.discount-badge { display: grid; place-items: center; width: 78px; min-height: 78px; padding: 8px; border-radius: 18px; background: var(--navy-deep); color: var(--seafoam); font-size: 1.1rem; font-weight: 950; text-align: center; line-height: 1.05; }
.discount-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.discount-fields .full { grid-column: 1 / -1; }
.offer-terms { margin: 12px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }

.stats { margin-top: -42px; position: relative; z-index: 5; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 27px 30px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--navy-deep); font-size: 1.4rem; }
.stat span { color: var(--muted); font-size: .9rem; }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.card { height: 100%; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 30px rgba(16,42,67,.06); }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 16px; background: linear-gradient(145deg, rgba(127,188,223,.34), rgba(121,211,176,.34)); color: var(--navy-deep); font-size: 1.2rem; font-weight: 950; }
.card p { margin-bottom: 0; color: var(--muted); }

.split-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 58px; align-items: center; }
.check-list { display: grid; gap: 12px; padding: 0; margin: 25px 0; list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: "✓"; flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(121,211,176,.24); color: #15674f; font-weight: 950; }
.process-stack { display: grid; gap: 14px; }
.process-row { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.process-row > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-deep); color: var(--white); font-weight: 950; }
.process-row h3 { margin-bottom: 8px; }
.process-row p { margin: 0; color: var(--muted); }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.process-step { position: relative; padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step-number { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 50%; background: var(--navy-deep); color: var(--white); font-weight: 950; }
.process-step p { color: var(--muted); margin-bottom: 0; }

.featured-work-grid { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(2,minmax(0,.8fr)); gap: 18px; }
.featured-work-main img { width: 100%; height: 320px; object-fit: cover; }
.work-placeholder, .gallery-placeholder { min-height: 280px; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 24px; border: 2px dashed #b9d4ca; border-radius: var(--radius); background: var(--cream); text-align: center; }
.work-placeholder span, .gallery-placeholder span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--seafoam-deep); font-size: 2rem; box-shadow: 0 8px 22px rgba(7,26,43,.08); }
.work-placeholder small, .gallery-placeholder small { color: var(--muted); }

.service-area-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 46px; align-items: center; }
.section-dark .lead { color: rgba(255,255,255,.72); }
.area-box, .info-card { padding: 34px; border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: var(--shadow); }

.contact-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 46px; align-items: start; }
.contact-card { position: sticky; top: 110px; padding: 34px; border-radius: var(--radius); background: var(--navy-deep); color: var(--white); }
.contact-card h2 { color: var(--white); }
.contact-card p { color: rgba(255,255,255,.73); }
.contact-phone { display: block; margin: 8px 0 6px; color: var(--seafoam); font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 950; text-decoration: none; }
.contact-email { display: inline-block; color: var(--white); font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.contact-meta { display: grid; gap: 12px; margin-top: 24px; }
.contact-meta div { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); }
.contact-form { padding: 34px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.form-field { display: grid; gap: 7px; margin-bottom: 14px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: var(--navy-deep); font-weight: 850; font-size: .91rem; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 13px 14px; border: 1px solid #c9dcd6; border-radius: 12px; background: #fbfefd; color: var(--ink); outline: none; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #419877; box-shadow: 0 0 0 4px rgba(121,211,176,.20); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field small { color: var(--muted); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 18px; color: var(--muted); font-size: .86rem; }
.consent input { margin-top: 5px; }
.consent-compact { font-size: .78rem; }
.honeypot { position: absolute; left: -9999px; }
.form-notice { padding: 14px 16px; margin-bottom: 18px; border-radius: 12px; font-weight: 750; }
.form-notice.success { background: #e7f8ef; color: #176b4f; }
.form-notice.error { background: #fff0ee; color: #9d372e; }

.cta-band { padding: 44px 0; background: linear-gradient(110deg, var(--carolina), var(--seafoam)); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.cta-inner h2 { margin-bottom: 8px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.cta-inner p { margin: 0; color: #244659; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.page-hero { padding: 74px 0; background: linear-gradient(135deg, var(--cream), #eaf7f1); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 40px; align-items: center; }
.page-hero.has-image .page-hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,.8fr); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.35rem, 4.6vw, 4.25rem); }
.page-hero-photo img { width: 100%; height: 300px; object-fit: cover; }

.service-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.service-detail { position: relative; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 30px rgba(16,42,67,.06); }
.service-number { display: block; margin-bottom: 18px; color: var(--seafoam-deep); font-size: .84rem; font-weight: 950; letter-spacing: .12em; }
.service-detail h2 { font-size: 2rem; }
.service-detail p { color: var(--muted); }
.service-detail ul { margin: 0; padding-left: 20px; }

.about-story { align-items: start; }
.values-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.value-card { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--cream); }
.value-card strong { color: var(--seafoam-deep); font-size: .8rem; letter-spacing: .1em; }
.value-card h3 { margin-top: 12px; margin-bottom: 10px; }
.value-card p { margin: 0; color: var(--muted); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy-deep); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 270px; object-fit: cover; }
.gallery-item figcaption { padding: 12px 14px; color: rgba(255,255,255,.8); font-size: .85rem; }
.gallery-placeholder { min-height: 320px; }

.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.review-card { margin: 0; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.review-stars { margin-bottom: 16px; color: #d99000; letter-spacing: .12em; }
.review-card p { font-size: 1.08rem; }
.review-card cite { color: var(--seafoam-deep); font-style: normal; font-weight: 900; }
.empty-reviews { max-width: 800px; padding: 46px; margin: 0 auto; border: 2px dashed #b9d4ca; border-radius: var(--radius); background: var(--cream); text-align: center; }
.empty-reviews .eyebrow { justify-content: center; }

.contact-options-section { padding-bottom: 0; }
.contact-options { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.contact-option { display: grid; gap: 6px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 30px rgba(16,42,67,.06); text-decoration: none; }
.contact-option span { color: var(--seafoam-deep); font-size: .78rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.contact-option strong { color: var(--navy-deep); font-size: 1.25rem; overflow-wrap: anywhere; }
.contact-option small { color: var(--muted); }

.legal-content { max-width: 850px; }
.legal-content h2 { margin-top: 36px; font-size: 1.75rem; }
.legal-content a { color: var(--seafoam-deep); font-weight: 800; }
.legal-note { margin-top: 40px; padding: 18px; border-left: 4px solid var(--seafoam); background: var(--cream); }

.site-footer { padding: 58px 0 24px; background: var(--navy-deep); color: rgba(255,255,255,.7); }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr) minmax(0,1fr) minmax(0,.75fr); gap: 36px; padding-bottom: 38px; }
.footer-brand .brand-copy strong { color: var(--white); }
.footer-brand .brand-copy span { color: rgba(255,255,255,.58); }
.footer-full-logo { width: 210px; max-width: 100%; border-radius: 18px; box-shadow: 0 0 24px rgba(49,221,234,.16); }
.footer-summary { margin-top: 18px; max-width: 420px; }
.footer-title { margin-bottom: 14px; color: var(--white); font-weight: 900; }
.footer-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--seafoam); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; }

.entry-content { padding: 72px 0; }
.entry-content > * { max-width: 800px; margin-inline: auto; }
.not-found { min-height: 62vh; display: grid; place-items: center; text-align: center; }

/* Focused 10% landing page */
.offer-landing-body { background: var(--cream); }
.offer-header { background: var(--navy-deep); border-bottom: 1px solid rgba(121,211,176,.24); }
.offer-header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.offer-phone { color: #31ddea; font-weight: 950; text-decoration: none; }
.offer-logo-panel { width: min(230px, 62%); margin-bottom: 22px; padding: 8px; border-radius: 22px; background: rgba(0,0,0,.22); border: 1px solid rgba(49,221,234,.28); }
.offer-logo-panel img { width: 100%; border-radius: 16px; }
.offer-hero { padding: 62px 0 76px; color: var(--white); background: linear-gradient(135deg, #071a2b, #103c55 60%, #0d4a4f); }
.offer-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.92fr); gap: 48px; align-items: center; }
.offer-copy h1 { color: var(--white); }
.offer-copy .lead { color: rgba(255,255,255,.78); }
.offer-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 28px; padding: 0; list-style: none; }
.offer-benefits li { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.offer-benefits li::before { content: "✓"; color: var(--seafoam); }
.offer-photo img { width: 100%; height: 260px; object-fit: cover; }
.offer-proof { position: relative; margin-top: -1px; background: var(--white); box-shadow: var(--shadow); }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.proof-grid > div { padding: 26px; text-align: center; border-right: 1px solid var(--line); }
.proof-grid > div:last-child { border-right: 0; }
.proof-grid strong { display: block; color: var(--navy-deep); font-size: 1.2rem; }
.proof-grid span { color: var(--muted); font-size: .88rem; }
.offer-contact { padding: 48px 0; background: var(--navy-deep); color: var(--white); text-align: center; }
.offer-contact h2 { color: var(--white); }
.offer-contact p { font-size: 1.3rem; }
.offer-contact a { color: var(--seafoam); font-weight: 850; }

@media (max-width: 1240px) {
  .primary-nav a { padding-inline: 7px; font-size: .88rem; }
  .header-phone { display: none; }
}


@media (max-width: 1100px) {
  .home-hero-grid { gap: 34px; }
  .home-hero h1 { font-size: clamp(2.65rem, 5.2vw, 4.15rem); }
  .hero-actions .button { flex: 1 1 210px; }
  .discount-card { padding: 22px; }
  .discount-card h2 { font-size: clamp(1.55rem, 2.5vw, 2rem); }
  .footer-grid { gap: 26px; }
}

@media (max-width: 940px) {
  .primary-nav { display: none; position: absolute; inset: 90px 18px auto; padding: 16px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
  .primary-nav a { color: var(--navy); }
  .primary-nav a:hover, .primary-nav .current-menu-item > a { background: var(--cream); color: var(--seafoam-deep); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; gap: 3px; }
  .primary-nav a { padding: 11px 12px; }
  .menu-toggle { display: block; }
  .header-estimate { display: none; }
  .home-hero-grid, .split-grid, .service-area-grid, .contact-grid, .offer-grid { grid-template-columns: 1fr; }
  .home-hero-copy { max-width: 760px; }
  .home-hero-feature { max-width: 720px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .featured-work-grid { grid-template-columns: 1fr 1fr; }
  .featured-work-main { grid-column: 1 / -1; }
  .contact-card { position: static; }
  .page-hero.has-image .page-hero-grid { grid-template-columns: 1fr; }
  .gallery-grid, .review-grid, .contact-options { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 66px 0; }
  .header-inner { min-height: 78px; }
  .header-logo-mark { width: 54px; height: 54px; }
  .brand-wordmark strong { font-size: 1.02rem; }
  .brand-wordmark span { font-size: .64rem; }
  .hero-logo-panel { width: 170px; }
  .home-hero { padding: 58px 0 84px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; flex-basis: 100%; }
  .hero-photo img { height: 240px; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.45rem); }
  h2 { font-size: clamp(1.85rem, 9vw, 2.65rem); }
  .discount-heading { grid-template-columns: 1fr; }
  .discount-badge { width: 100%; min-height: 50px; }
  .stats-grid, .cards, .process-grid, .service-detail-grid, .gallery-grid, .review-grid, .contact-options, .form-grid, .proof-grid, .footer-grid, .values-grid { grid-template-columns: 1fr; }
  .stat, .proof-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child, .proof-grid > div:last-child { border-bottom: 0; }
  .featured-work-grid { grid-template-columns: 1fr; }
  .featured-work-main { grid-column: auto; }
  .work-placeholder, .gallery-placeholder { min-height: 230px; }
  .discount-fields { grid-template-columns: 1fr; }
  .discount-fields .full { grid-column: auto; }
  .contact-form, .contact-card, .area-box, .info-card, .service-detail, .empty-reviews { padding: 24px; }
  .cta-inner, .footer-bottom, .offer-header-inner { align-items: flex-start; flex-direction: column; }
  .cta-actions, .cta-actions .button { width: 100%; }
  .offer-benefits { grid-template-columns: 1fr; }
  .offer-phone { font-size: .94rem; }
}


.default-logo, .custom-logo { border-radius: 14px; }
.brand .custom-logo, .brand .default-logo { max-width: 58px; max-height: 58px; width: 58px; height: 58px; object-fit: contain; }
.footer-brand .custom-logo, .footer-brand .default-logo { max-width: 54px; max-height: 54px; width: 54px; height: 54px; }
.brand-copy strong { font-size: 1.12rem; }


/* Version 3.1 homepage: lawn photograph first, navigation links across the top. */
.home-header-lawn {
  width: 76px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(183,255,53,.72);
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
}
.home-lawn-brand { gap: 10px; }
.home-lawn-hero {
  position: relative;
  min-height: clamp(590px, 76vh, 790px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background-image: var(--home-lawn-image);
  background-size: cover;
  background-position: center center;
}
.home-lawn-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,16,27,.94) 0%, rgba(3,20,31,.79) 42%, rgba(3,20,31,.35) 72%, rgba(3,20,31,.15) 100%),
    linear-gradient(0deg, rgba(3,16,27,.56), transparent 42%);
}
.home-lawn-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-block: 92px 118px;
}
.home-lawn-content h1 {
  max-width: 720px;
  color: var(--white);
  text-shadow: 0 4px 22px rgba(0,0,0,.38);
}
.home-lawn-content .lead {
  max-width: 650px;
  color: rgba(255,255,255,.9);
  text-shadow: 0 2px 12px rgba(0,0,0,.28);
}
.hero-image-note {
  max-width: 610px;
  margin-top: 22px;
  color: rgba(255,255,255,.66);
  font-size: .78rem;
}
.home-discount-section {
  position: relative;
  z-index: 8;
  margin-top: -68px;
  padding-bottom: 34px;
}
.home-discount-wrap { max-width: 980px; }
.home-discount-wrap .discount-card {
  border: 1px solid rgba(121,211,176,.38);
  box-shadow: 0 28px 80px rgba(7,26,43,.25);
}
.home-stats { margin-top: 0; }

@media (max-width: 1120px) {
  .home-header-lawn { width: 66px; height: 52px; }
  .home-lawn-content { padding-block: 76px 108px; }
}

@media (max-width: 940px) {
  .home-lawn-hero { min-height: 640px; background-position: 62% center; }
  .home-lawn-overlay {
    background: linear-gradient(90deg, rgba(3,16,27,.92), rgba(3,20,31,.68) 75%, rgba(3,20,31,.4));
  }
  .home-lawn-content { max-width: 680px; }
}

@media (max-width: 680px) {
  .home-header-lawn { width: 58px; height: 46px; }
  .home-lawn-brand .brand-wordmark span { display: block; }
  .home-lawn-hero {
    min-height: 620px;
    background-position: 68% center;
  }
  .home-lawn-overlay {
    background: linear-gradient(90deg, rgba(3,16,27,.94), rgba(3,20,31,.74));
  }
  .home-lawn-content { padding-block: 66px 112px; }
  .home-discount-section { margin-top: -76px; }
  .hero-image-note { font-size: .72rem; }
}


/* Version 3.2: logo beside the page navigation on every page. */
.site-header .brand { min-width: 164px; }
.site-header .header-logo-mark { flex: 0 0 auto; }
.site-header .brand-wordmark { min-width: 82px; }
@media (max-width: 1240px) {
  .site-header .brand { min-width: 148px; }
  .site-header .header-logo-mark { width: 58px; height: 58px; }
  .site-header .brand-wordmark strong { font-size: 1.08rem; }
  .site-header .brand-wordmark span { font-size: .68rem; }
}
@media (max-width: 940px) {
  .site-header .brand { min-width: 0; }
}
