html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
:where(a, button, input, textarea, select, summary):focus-visible { outline: 3px solid #08FF13; outline-offset: 3px; }
.wp-site-blocks { overflow-wrap:anywhere; }
.site-header { position: relative; z-index: 20; box-shadow: 0 1px 0 rgba(17,28,24,.09); }
.site-header .wp-block-navigation-item__content { text-decoration: none; }
.site-header .wp-block-site-logo img { max-height: 68px; width: auto; object-fit: contain; }
.eyebrow { color: #0F3D2E; font-size: .78rem!important; line-height:1.5; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hero-title { max-width: 920px; }
.service-card { height: 100%; border: 1px solid #E5E7EB; border-top: 4px solid #08FF13; border-radius: .65rem; box-shadow: 0 12px 32px rgba(17,28,24,.07); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(17,28,24,.12); }
.service-card a:not(.wp-block-button__link) { color: inherit; text-decoration: none; }
.primary-card { min-height: 310px; }
.cta-red .wp-block-button__link, .wp-block-button.is-style-rescue .wp-block-button__link { background: #D71920; border-color: #fff; color: #fff; }
.cta-red .wp-block-button__link:hover, .wp-block-button.is-style-rescue .wp-block-button__link:hover { background: #af1117; }
.placeholder-frame { min-height: 260px; border: 2px dashed #9ca3af; border-radius: .5rem; display: flex; align-items: center; justify-content: center; background: #F8FAF9; color: #4B5563; text-align: center; }
.contact-strip a { color: #fff; }
.footer-nav a { color: #fff; }
.wp-block-details { border-bottom: 1px solid #E5E7EB; padding: 1rem 0; }
.wp-block-details summary { color: #111C18; cursor: pointer; font-weight: 800; }
.wp-block-post-content { margin-block-start:0; }
.hero-section { padding-block:clamp(2.5rem,6vw,5rem)!important; }
.hero-section .has-large-font-size { font-size:clamp(1.15rem,2vw,1.45rem)!important; line-height:1.6; }
.hero-section .eyebrow { font-size:.78rem!important; }
.home .hero-section { background:linear-gradient(110deg,rgba(17,28,24,.82),rgba(15,61,46,.68)),url('../images/exterior911-approved-homepage-hero.webp') center/cover!important;color:#fff;text-align:center; }
.home .hero-section h1,.home .hero-section .eyebrow { color:#fff; }
.home .hero-section .wp-block-buttons { justify-content:center; }
.home .hero-section .is-style-outline .wp-block-button__link { color:#fff;border-color:#fff; }
.hero-title { font-size:clamp(2.3rem,5.5vw,4.6rem)!important;line-height:1.08;text-wrap:balance; }
.wp-element-button,.wp-block-navigation-item__content { min-height:44px;display:inline-flex;align-items:center; }
.footer-legal a { color:#fff;display:inline-block;min-height:44px;padding:.4rem; }
.site-header .mobile-rescue { display:none; }
:where(a,button,input,textarea,select,summary):focus-visible { outline:3px solid #0F3D2E;box-shadow:0 0 0 6px #08FF13;outline-offset:3px; }
.e911-portal { width:min(100% - 2rem,1200px);max-width:1200px!important;margin-inline:auto; }
.wp-block-post-content>.e911-portal { max-width:1200px!important; }
@media(max-width:900px){.site-header .desktop-cta{display:none!important}.site-header .mobile-rescue{display:block}.site-header .wp-block-navigation__responsive-container-open{display:flex!important}.site-header .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}.site-header .wp-block-navigation__responsive-container.is-menu-open{padding:2rem}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{padding:.4rem}}
@media(max-width:600px){.wp-block-post-content>section:not(.alignfull){padding-inline:1rem}.hero-section .wp-block-buttons{gap:.75rem}.hero-section .wp-block-button{width:100%}.hero-section .wp-block-button__link{justify-content:center;width:100%}.e911-portal{width:calc(100% - 1rem)}}
@media (max-width: 781px) {
  .site-header .wp-block-group { gap: .75rem; }
  .site-header .wp-block-site-logo img { max-height: 54px; }
  .desktop-cta { display: none !important; }
  .hero-section { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  .primary-card { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
.home .hero-section .wp-block-button{width:auto!important}
.home .hero-section .wp-block-button:first-child .wp-block-button__link{background:#D71920;color:#fff;border-color:#fff}
.home .hero-section .wp-block-button__link{justify-content:center;min-width:180px}
@media(max-width:600px){.hero-section .wp-block-buttons{flex-wrap:wrap!important;width:100%}.home .hero-section .wp-block-button{flex:1 1 100%;width:100%!important}}
@media(max-width:900px){.wp-block-post-content>section:not(.alignfull){padding-inline:1rem}}
footer.wp-block-template-part a{color:#fff;text-decoration-color:currentColor}footer.wp-block-template-part a:hover{color:#08FF13}
/* Keep service rows readable and footer navigation compact at every breakpoint. */
.wp-block-post-content .wp-block-columns:has(.service-card) { max-width:1200px; width:calc(100% - 2rem); }
.service-card { box-sizing:border-box; }
.primary-card { min-height:230px; }
.footer-nav .wp-block-navigation__container { gap:0; }
.e911-weather { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:.5rem 1.25rem; padding:1rem; background:#F3F5F2; color:#0F3D2E; font-size:.875rem; text-align:center; }
.e911-weather a { min-height:44px; display:inline-flex; align-items:center; }
footer.wp-block-template-part .wp-block-column > p { margin-block-start:1rem; }
@media(max-width:781px) {
  .primary-card { min-height:0; }
  .wp-block-post-content > .wp-block-group.alignfull { padding-inline:1rem; box-sizing:border-box; }
  .wp-block-post-content .wp-block-columns:has(.service-card) { width:100%; }
  .hero-section .hero-title { max-width:100%; }
}

/* Website 2.0: public presentation only; approved imagery and content retained. */
.site-header > .wp-block-group { max-width:1280px; margin-inline:auto; gap:1.25rem; }
.site-header .wp-block-site-logo { flex-shrink:0; }
.home .hero-section .wp-block-buttons { gap:1rem; }
.home .hero-section > .has-large-font-size:not(.eyebrow) { max-width:800px; margin-inline:auto; }
.service-card { display:flex; flex-direction:column; gap:1rem; }
.service-card > * { width:100%; margin-block:0; }
.service-card > p:last-child { margin-top:auto; padding-top:.5rem; }
footer.wp-block-template-part .wp-block-site-logo { display:inline-block; padding:.75rem 1rem; background:#fff; border-radius:.5rem; }
footer.wp-block-template-part .wp-block-site-logo img { display:block; height:auto; }
@media (max-width:1100px) {
  .site-header .desktop-cta { display:none!important; }
  .site-header .mobile-rescue { display:block; }
  .site-header .wp-block-navigation__responsive-container-open { display:flex!important; min-width:44px; min-height:44px; align-items:center; justify-content:center; }
  .site-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display:none!important; }
  .site-header .wp-block-navigation__responsive-container.is-menu-open { padding:2rem; }
  .site-header .is-menu-open .wp-block-navigation-item__content { padding:.4rem; }
}
@media (max-width:600px) {
  .home .hero-section .hero-title { font-size:clamp(2.1rem,9vw,3rem)!important; }
  .e911-weather { gap:.35rem; }
  .e911-weather > strong,.e911-weather > span { flex-basis:100%; }
  footer.wp-block-template-part .wp-block-columns { gap:2rem; }
}
