/* =============================================
   SODDING COMPANY — HEADER OVERHAUL v2
   ============================================= */

/* 1. HIDE THEME DEFAULT HEADER */
.home-page-header {
  display: none !important;
}

/* 2. HIDE THEME PAGE TITLE
   (edited 2026-08-03: was a global hide, which left pages whose
   content has no H1 of its own — e.g. About — with zero visible H1.
   Now hides the theme's title bar ONLY when the page content supplies
   its own H1, via :has(). Supported in all modern browsers since 2023;
   older browsers simply keep showing the theme title — harmless.) */
.content-vw:has(.entry-content h1) > .vw-page-title {
  display: none !important;
}

/* 3. PHONE BARS — both homepage (.hyer-phone) and inner pages (.sc-topbar) */
.sc-topbar,
.hyer-phone {
  background: #111 !important;
  text-align: center !important;
  padding: 10px 24px !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
.sc-topbar a,
.hyer-phone a {
  color: #4CAF50 !important;
  text-decoration: none !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
}
.sc-topbar a:hover,
.hyer-phone a:hover {
  color: #66BB6A !important;
}
.sc-topbar span,
.hyer-phone span {
  color: #aaa !important;
  font-size: 12px !important;
  display: block !important;
  margin-top: 2px !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
}

/* 4. NAV BARS — inner pages (.sc-nav2) + homepage (.sc-main-menu) */
.sc-nav2,
.sc-main-menu {
  background: rgba(255,255,255,0.97) !important;
  padding: 0 32px !important;
  border-bottom: 1px solid #e5e7eb !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  backdrop-filter: blur(12px) !important;
}
.sc-nav2-inner,
.sc-menu-inner {
  max-width: 1240px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 64px !important;
}

/* 5. LOGO */
.sc-nav2-logo,
.sc-main-menu a:first-child {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}
.sc-nav2-logo img,
.sc-main-menu img {
  height: 40px !important;
  width: auto !important;
  border-radius: 6px !important;
  transition: opacity 0.2s ease !important;
}
.sc-nav2-logo:hover img,
.sc-main-menu a:first-child:hover img {
  opacity: 0.85 !important;
}

/* 6. NAV LINKS */
.sc-nav2-links,
.sc-menu-links {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  flex-wrap: nowrap !important;
}
.sc-nav2-links a:not(.sc-nav2-cta),
.sc-menu-links a:not(.sc-menu-cta) {
  color: #374151 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}
.sc-nav2-links a:not(.sc-nav2-cta):hover,
.sc-menu-links a:not(.sc-menu-cta):hover {
  color: #1B5E20 !important;
  background: #f0fdf4 !important;
}

/* Dropdown trigger */
.sc-dropdown a {
  color: #374151 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}
.sc-dropdown a:hover {
  color: #1B5E20 !important;
}

/* 7. CTA BUTTONS */
.sc-nav2-cta,
.sc-menu-cta {
  background: #1B5E20 !important;
  color: #fff !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 8px rgba(27,94,32,0.25) !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}
.sc-nav2-cta:hover,
.sc-menu-cta:hover {
  background: #2E7D32 !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(27,94,32,0.35) !important;
  transform: translateY(-1px) !important;
}

/* 8. Hide entry-header */
.page .entry-header {
  display: none !important;
}

/* 9. MOBILE */
@media screen and (max-width: 768px) {
  .sc-nav2,
  .sc-main-menu {
    padding: 0 16px !important;
  }
  .sc-nav2-inner,
  .sc-menu-inner {
    min-height: 56px !important;
  }
  .sc-nav2-hamburger,
  .sc-menu-hamburger {
    display: block !important;
    background: none !important;
    border: 1px solid #e5e7eb !important;
    font-size: 22px !important;
    cursor: pointer !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    color: #374151 !important;
  }
  .sc-nav2-links,
  .sc-menu-links {
    display: none !important;
    position: absolute !important;
    top: 56px !important;
    left: 0 !important;
    right: 0 !important;
    background: #fff !important;
    flex-direction: column !important;
    padding: 16px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
    border-top: 1px solid #e5e7eb !important;
    gap: 2px !important;
    z-index: 9999 !important;
  }
  .sc-nav2-links.open,
  .sc-menu-links.open {
    display: flex !important;
  }
  .sc-nav2-links a:not(.sc-nav2-cta),
  .sc-menu-links a:not(.sc-menu-cta) {
    padding: 12px 16px !important;
    font-size: 15px !important;
    width: 100% !important;
  }
  .sc-topbar,
  .hyer-phone {
    padding: 8px 16px !important;
  }
  .sc-topbar a,
  .hyer-phone a {
    font-size: 15px !important;
  }
  .sc-nav2-logo img,
  .sc-main-menu img {
    height: 34px !important;
  }
}

/* 10. ADMIN BAR OFFSET */
.admin-bar .sc-nav2,
.admin-bar .sc-main-menu {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  .admin-bar .sc-nav2,
  .admin-bar .sc-main-menu {
    top: 46px !important;
  }
}

/* Fix: un-hide required Name field on homepage quote form (was display:none, breaking every submission) */
#quote-form + .wpcf7 > .wpcf7-form > p:first-of-type { display: block !important; }

/* SC header cleanup 2026-06-14 */
#topbar{display:none !important}
body.page .main-header{display:none !important}
footer[role="contentinfo"] #text-3{display:none !important}
a.scrollup,.scrollup i{display:none !important}

/* === visual-audit fixes 2026-07-05 === */
.city-hero h1{color:#fff!important;text-shadow:0 2px 18px rgba(0,0,0,.75),0 1px 3px rgba(0,0,0,.9)}
body.page-id-127 .sc-content>h1{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;margin:-1px!important;padding:0!important;border:0!important}
.call-cta-bar{background:linear-gradient(135deg,#1B5E20,#2E7D32)!important}
.call-cta-bar *{color:#fff!important}
.sc-float{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:10px!important}
.sc-float .sc-float-quote{line-height:1.15!important;text-align:center!important;font-size:13px!important}
.sc-float .sc-float-quote{display:flex!important;align-items:center!important;justify-content:center!important;background:#1B5E20!important;color:#fff!important;border-radius:50px!important;padding:12px 20px!important;width:auto!important;height:auto!important;font-weight:800!important;letter-spacing:1px!important;box-shadow:0 10px 26px rgba(27,94,32,.4)!important;text-decoration:none!important}
.sc-float .sc-float-phone{display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;border:2px solid #1B5E20!important;border-radius:50%!important;width:52px!important;height:52px!important;box-shadow:0 10px 26px rgba(0,0,0,.2)!important}
body.page-id-128 .entry-content{max-width:860px;margin:0 auto;padding:36px 24px 70px}
body.page-id-128 .entry-content p,body.page-id-128 .entry-content li{color:#444!important;font-size:17px;line-height:1.7}

.cine-hero .btn-ghost{background:rgba(8,18,9,.38)!important;backdrop-filter:blur(3px)}

footer div.footer.close-sticky{display:none!important}

body.page-id-703 .sc-gallery>h1{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;margin:-1px!important;padding:0!important;border:0!important}

.custom-social-icons{display:none!important}