/* Acorn visual corrections — unified hero rules below. */
:root { --acorn-primary:#087a3b; --acorn-deep:#10582c; }
.hero .hero-title,.hero-home .hero-title {color:#fff!important;text-shadow:0 2px 10px rgba(0,0,0,.16);}
.hero .hero-subtitle,.hero-home .hero-subtitle,.hero .hero-content>p,.hero-home .hero-content>p {color:#f5fff7!important;opacity:1!important;text-shadow:0 1px 6px rgba(0,0,0,.22);}
.hero .hero-overlay,.hero-home .hero-overlay {background:linear-gradient(90deg,rgba(8,65,34,.96) 0%,rgba(8,65,34,.82) 48%,rgba(8,65,34,.35) 100%)!important;}
.pc-faq .accordion-button,.pc-faq .accordion-button.collapsed,.pc-faq .accordion-button:not(.collapsed),.pc-faq-item .accordion-button,.accordion-item .accordion-button { color:#10582c!important; background:#fff!important; opacity:1!important; font-size:1.06rem!important; font-weight:750!important; text-shadow:none!important; }
.pc-faq .accordion-button:not(.collapsed),.pc-faq-item .accordion-button:not(.collapsed) { background:#eaf6ee!important; }
.pc-faq .accordion-body,.pc-faq-item .accordion-body { color:#264c36!important; background:#fff!important; }
.pc-faq .accordion-item,.pc-faq-item { border:1px solid #c5d6cb!important; border-radius:12px!important; overflow:hidden; }
.btn-warning,.btn-pop,.btn-acorn-login { color:#fff!important; background:#087a3b!important; border-color:#087a3b!important; }
.btn-warning:hover,.btn-pop:hover,.btn-acorn-login:hover { color:#fff!important; background:#066331!important; }
.badge-category,.pc-chip:not(.hero .pc-chip):not(.hero-home .pc-chip) { border-color:#c5d6cb!important; }
.site-footer .footer-logo { width:min(245px,100%)!important; max-width:245px!important; height:auto!important; max-height:none!important; object-fit:contain!important; background:#fff; border-radius:10px; padding:8px; }
.site-footer .footer-brand-row { flex-wrap:wrap; }
.site-footer .footer-desc,.site-footer .footer-contact,.site-footer .footer-links a { color:#effaf1!important; }
.site-footer a:hover { color:#fff!important; text-decoration:underline; }
@media(max-width:767px){.site-footer .footer-logo {max-width:210px!important;}}

/* Ensure FAQ headings never inherit invisible white text */
.pc-faq .accordion-header,.pc-faq .accordion-header *,.pc-faq-item .accordion-header,.pc-faq-item .accordion-header * { color:#10582c!important; }

/* Unified four-page hero: single authoritative desktop height and vertical alignment. */
:root { --acorn-hero-height:520px; }
.hero, .hero-home, .hero:not(.hero-home) {
  box-sizing:border-box!important;
  height:var(--acorn-hero-height)!important;
  min-height:var(--acorn-hero-height)!important;
  max-height:var(--acorn-hero-height)!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  overflow:hidden!important;
}
.hero .hero-content, .hero-home .hero-content {
  box-sizing:border-box!important;
  width:100%;
  padding-top:20px!important;
  padding-bottom:20px!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
.hero .hero-title, .hero-home .hero-title {
  font-size:clamp(2.3rem,3.65vw,3.75rem)!important;
  line-height:1.10!important;
  margin-bottom:.7rem!important;
}
.hero .hero-subtitle, .hero-home .hero-subtitle {line-height:1.55!important;}
.hero .pc-chip, .hero-home .pc-chip,
.hero .hero-eyebrow, .hero-home .hero-eyebrow,
.hero .badge, .hero-home .badge {
  color:#fff!important;
  border-color:rgba(255,255,255,.65)!important;
  background:rgba(7,63,31,.62)!important;
  text-shadow:none!important;
}
.hero .hero-coverage, .hero-home .hero-coverage,
.hero .hero-coverage *, .hero-home .hero-coverage * {color:#fff!important;}
@media(max-width:991.98px) {
  .hero, .hero-home, .hero:not(.hero-home) {
    height:auto!important;min-height:440px!important;max-height:none!important;
    overflow:visible!important;
  }
  .hero .hero-content,.hero-home .hero-content {padding-top:42px!important;padding-bottom:42px!important;}
}
@media(max-width:575px) {
  .hero .hero-title,.hero-home .hero-title {font-size:clamp(2rem,8vw,2.8rem)!important;}
  .hero .hero-content,.hero-home .hero-content {padding-top:35px!important;padding-bottom:35px!important;}
}
/* Accessible brand-green notices: replaces the old blue Bootstrap info alert. */
.alert.alert-info, .acorn-form-notice {
  background: #eaf6ee !important;
  color: #10582c !important;
  border: 1px solid #9bc8ab !important;
  border-left: 4px solid #087a3b !important;
}
.alert.alert-info a, .acorn-form-notice a { color: #066331 !important; }


/* 2026-11-19: SEO service landing pages: readable related service links and FAQ */
.pc-related-list .pc-related-link,
.pc-related-grid a {
  display:block!important;
  color:#10582c!important;
  background:#f5fbf7!important;
  border:1px solid #c5d6cb!important;
  border-radius:12px!important;
  padding:13px 16px!important;
  font-weight:700!important;
  line-height:1.5!important;
  text-decoration:none!important;
  opacity:1!important;
  visibility:visible!important;
  text-shadow:none!important;
}
.pc-related-list .pc-related-link:hover,
.pc-related-list .pc-related-link:focus-visible,
.pc-related-grid a:hover,
.pc-related-grid a:focus-visible {
  color:#fff!important;
  background:#087a3b!important;
  border-color:#087a3b!important;
  outline-offset:2px;
}
.pc-faq .accordion-button,
.pc-faq .accordion-button.collapsed,
.pc-faq .accordion-button:not(.collapsed) {
  color:#10582c!important;
  background:#fff!important;
  font-weight:700!important;
  text-shadow:none!important;
}
.pc-faq .accordion-button:not(.collapsed) {background:#eaf6ee!important;}
.pc-faq .accordion-body {color:#263d30!important;background:#fff!important;}

/* 2026-11-19: SEO landing page FAQ/sidebar layout polish */
.pc-service-sidebar { align-self:start; }
.pc-service-sidebar .pc-related-card { height:auto!important; border:1px solid #d8e8dc; border-radius:16px; box-shadow:0 10px 28px rgba(16,88,44,.045); }
.pc-service-sidebar .pc-related-card .card-body { padding:1.5rem!important; }
.pc-service-sidebar .pc-related-card h3 { color:#10582c!important; font-size:1.2rem; line-height:1.3; margin:1rem 0 .85rem; }
.pc-service-sidebar .pc-related-list { gap:.6rem; margin-top:.65rem!important; }
.pc-service-sidebar .pc-related-list .pc-related-link { padding:11px 14px!important; border-radius:10px!important; font-size:.96rem; line-height:1.4!important; }
.pc-faq .accordion-item { margin-bottom:.7rem; }
.pc-faq .accordion-button { padding:1rem 1.15rem!important; line-height:1.4!important; }
@media(max-width:991.98px){.pc-service-sidebar {margin-top:.5rem;} .pc-service-sidebar .pc-related-card .card-body {padding:1.25rem!important;}}

/* Performance V2: preserve map dimensions before user-initiated Google Maps loading. */
.acorn-map-on-demand{width:100%;height:100%;min-height:210px;background:linear-gradient(135deg,#eaf6ee,#f8fafc);color:#10582c}

/* Active page navigation: shared across desktop and mobile. */
.site-nav .nav-main .nav-link.is-current,
.site-nav .nav-main .nav-link[aria-current="page"] {
  color:#087a3b!important;
  background:transparent!important;
  font-weight:800!important;
  position:relative;
}
@media (min-width:992px) {
  .site-nav .nav-main .nav-link.is-current::after {
    content:"";position:absolute;left:.7rem;right:.7rem;bottom:.2rem;
    height:3px;border-radius:3px;background:#20a64e;
  }
}
@media (max-width:991.98px) {
  .site-nav .nav-main .nav-link.is-current,
  .site-nav .nav-main .nav-link[aria-current="page"] {
    background:#e8f5eb!important;
    border-left:4px solid #20a64e;
    padding-left:calc(1rem - 4px)!important;
  }
}

/* 2026-11-21: Homepage-only spacing refinements.
   The four-page hero dimensions above remain unchanged.
   These rules are scoped to pages containing .hero-home. */
@media (min-width: 992px) {
  body:has(.hero-home) .hero-home .hero-content {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
  body:has(.hero-home) .hero-home .hero-title { margin-bottom: .45rem !important; }
  body:has(.hero-home) .hero-home .hero-subtitle { margin-bottom: .65rem !important; line-height: 1.42 !important; }
  body:has(.hero-home) .hero-home .hero-coverage { margin-top: .35rem !important; margin-bottom: 0 !important; }
}

/* Home section layout: single-column introduction and reduced section gaps.
   Selectors include common Acorn naming variants; unmatched selectors do nothing. */
@media (min-width: 992px) {
  body:has(.hero-home) :is(.what-we-deliver, .home-deliver, .home-services-intro, .pc-home-deliver) :is(.section-heading, .section-intro, .intro-grid, .section-header) {
    display: block !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body:has(.hero-home) :is(.what-we-deliver, .home-deliver, .home-services-intro, .pc-home-deliver) :is(h2, .section-title) {
    max-width: none !important;
    width: 100% !important;
    white-space: nowrap;
  }
  body:has(.hero-home) :is(.what-we-deliver, .home-deliver, .home-services-intro, .pc-home-deliver) :is(.section-description, .section-lead, .intro-copy, .section-subtitle) {
    max-width: 780px !important;
    margin: .55rem 0 1.5rem !important;
  }
  body:has(.hero-home) :is(.texas-coverage, .home-coverage, .pc-texas-coverage) > :is(h2, .section-title),
  body:has(.hero-home) :is(.texas-coverage, .home-coverage, .pc-texas-coverage) > :is(.container, .container-fluid) > :is(h2, .section-title) {
    color: #10582c !important;
    font-size: clamp(1.8rem, 2.1vw, 2.35rem) !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    text-transform: none !important;
  }
  body:has(.hero-home) :is(.why-acorn, .home-why, .pc-why-acorn, .explore-services, .home-explore, .pc-home-explore) {
    padding-top: clamp(24px, 3vw, 48px) !important;
    margin-top: 0 !important;
  }
}
@media (max-width: 991.98px) {
  body:has(.hero-home) :is(.what-we-deliver, .home-deliver, .home-services-intro, .pc-home-deliver) :is(h2, .section-title) {
    white-space: normal !important;
  }
}
