/* Fixes: header contrast, footer, services, cookie, Projects nav */

/* Header: always dark + light text (fixes white-on-white) */
body .site .header#header,
body header.header#header,
html body .header {
  background: #0f172a !important;
  background-color: #0f172a !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18) !important;
}

body .header#header.scrolled,
body header.header.scrolled {
  background: #0f172a !important;
  background-color: #0f172a !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

body .header#header .brand-logo .logo-text,
body .header#header .logo-text,
body .header .brand-logo .logo-text {
  color: #ffffff !important;
}

body .header#header .brand-logo .logo-tagline,
body .header#header .logo-tagline,
body .header .brand-logo .logo-tagline {
  color: rgba(241, 245, 249, 0.78) !important;
}

body .header#header .nav-menu a,
body .header#header .nav-link,
body .header .nav-menu a,
body .header .nav-link,
body .header.scrolled .nav-menu a,
body .header.scrolled .nav-link,
body .header.scrolled .header-phone {
  color: #f1f5f9 !important;
}

body .header#header .nav-menu a:hover,
body .header#header .nav-link:hover,
body .header .nav-menu a:hover,
body .header.scrolled .nav-menu a:hover {
  color: #fca5a5 !important;
}

body .header#header .header-phone,
body .header .header-phone {
  color: #f1f5f9 !important;
}

body .header#header .mobile-toggle .line,
body .header .mobile-toggle .line,
body .header.scrolled .mobile-toggle .line {
  background: #f8fafc !important;
}

body .header#header .brand-logo:hover .logo-text,
body .header .brand-logo:hover .logo-text {
  color: #fecaca !important;
}

/* No hamburger: Call Now sits on the right instead */
.mobile-toggle,
#mobile-toggle,
.mobile-menu,
#mobile-menu {
  display: none !important;
}

.header-mobile-call {
  display: none !important;
}

.header-desktop-cta {
  display: inline-flex !important;
}

/* Hero CTA: bright red, not washed-out dark */
.hero .hero-phone-btn,
a.hero-phone-btn.btn,
a.hero-phone-btn.btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.65rem !important;
  background: #c41e1e !important;
  background-color: #c41e1e !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 0.65rem !important;
  box-shadow: 0 12px 30px rgba(196, 30, 30, 0.45) !important;
  font-weight: 800 !important;
  font-size: 1.15rem !important;
  letter-spacing: 0.03em !important;
  padding: 1rem 1.6rem !important;
  min-height: 56px !important;
  text-decoration: none !important;
}

.hero .hero-phone-btn:hover,
a.hero-phone-btn.btn:hover {
  background: #a81919 !important;
  background-color: #a81919 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.hero .hero-phone-btn i {
  color: #fff !important;
}

/* Hide broken / unused UI */
.scroll-to-top,
#scroll-to-top,
.easter-egg,
.home .section.portfolio,
#menu-item-846,
.menu-item a[href="#work"] {
  display: none !important;
}

/* Centered, clean footer */
.site-footer,
footer#colophon,
footer.site-footer {
  background: #0f172a !important;
  color: #fff !important;
  margin: 0 !important;
  padding: 0 0 5.5rem !important;
  border-top: 0 !important;
}

.site-footer .footer-container {
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 3.25rem 1.25rem 1.75rem !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.65rem !important;
}

.site-footer .footer-top,
.site-footer .footer-bottom,
.site-footer .footer-grid,
.site-footer .footer-brand-block {
  display: contents !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.site-footer .brand-logo--footer {
  align-items: center !important;
  margin-bottom: 0.15rem;
}

.site-footer .brand-logo--footer .logo-text {
  color: #fff !important;
  font-size: 2.75rem !important;
}

.site-footer .brand-logo--footer .logo-tagline {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.62rem !important;
}

.site-footer .footer-years {
  margin: 0.35rem 0 0 !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 1rem !important;
}

.site-footer .footer-phone-line {
  margin: 0.15rem 0 0.35rem !important;
}

.site-footer .footer-phone-line a {
  color: #fff !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.site-footer .footer-nav {
  margin: 0.25rem 0 !important;
}

.site-footer .footer-menu,
.site-footer .footer-nav .menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  gap: 1rem !important;
}

.site-footer .footer-nav a {
  color: rgba(255, 255, 255, 0.8) !important;
}

.site-footer .footer-copyright {
  margin: 0.5rem 0 0 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.9rem !important;
}

.site-footer .shovel-link {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.8rem !important;
}

/* Dense, filled service cards */
.services-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.35rem !important;
}

.service-card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 1.4rem 1.4rem 1.25rem !important;
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-top: 4px solid #c41e1e !important;
  border-radius: 1rem !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05) !important;
}

.service-header {
  display: flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
  margin-bottom: 0.7rem !important;
}

.service-icon {
  width: 46px !important;
  height: 46px !important;
  border-radius: 0.7rem !important;
  background: rgba(196, 30, 30, 0.1) !important;
  color: #c41e1e !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.service-header h3 {
  margin: 0 !important;
  font-size: 1.4rem !important;
  line-height: 1.15 !important;
  color: #0f172a !important;
}

.service-content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  gap: 0.85rem !important;
}

.service-content > p {
  margin: 0 !important;
  color: #475569 !important;
  line-height: 1.55 !important;
}

.service-features {
  display: grid !important;
  gap: 0.4rem !important;
  margin: 0 !important;
}

.service-feature {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.5rem !important;
  color: #334155 !important;
  font-size: 0.95rem !important;
}

.service-feature i {
  color: #c41e1e !important;
  margin-top: 0.2rem !important;
}

.service-action {
  margin-top: auto !important;
  padding-top: 0.25rem !important;
}

.service-action .btn {
  width: auto !important;
}

.section.services .section-subtitle {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* Cookie notice: brand button, no ugly plugin defaults */
#cookie-notice {
  background: #0f172a !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.28) !important;
  z-index: 100000 !important;
}

#cookie-notice .cookie-notice-container {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.85rem 1.25rem !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 0.95rem 1.15rem !important;
}

#cookie-notice .cn-text-container,
#cn-notice-text {
  flex: 1 1 260px !important;
  color: rgba(241, 245, 249, 0.92) !important;
  font-family: "Outfit", sans-serif !important;
  font-size: 0.92rem !important;
  line-height: 1.45 !important;
}

#cn-notice-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
}

#cookie-notice #cn-accept-cookie,
#cookie-notice .cn-set-cookie,
#cookie-notice .cn-button,
#cookie-notice button.cn-button {
  all: unset !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 0.65rem 1.4rem !important;
  background: #c41e1e !important;
  color: #fff !important;
  font-family: "Outfit", sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  border-radius: 0.5rem !important;
  cursor: pointer !important;
}

#cookie-notice #cn-accept-cookie:hover,
#cookie-notice .cn-button:hover {
  background: #a81919 !important;
}

#cookie-notice #cn-close-notice {
  width: 36px !important;
  height: 36px !important;
  opacity: 0.8 !important;
}

#cookie-notice #cn-close-notice:before,
#cookie-notice #cn-close-notice:after {
  background: #fff !important;
}

/* Keep reCAPTCHA clear of the cookie bar */
.grecaptcha-badge {
  bottom: 84px !important;
  z-index: 99990 !important;
}

@media (max-width: 992px) {
  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  .header-actions .header-phone,
  .header-desktop-cta {
    display: none !important;
  }

  .header-mobile-call {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    background: #c41e1e !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 0.55rem !important;
    padding: 0.7rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    min-height: 44px !important;
    box-shadow: 0 8px 20px rgba(196, 30, 30, 0.35) !important;
  }

  .hero .hero-phone-btn,
  a.hero-phone-btn.btn {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1.2rem !important;
    min-height: 58px !important;
    padding: 1.05rem 1.25rem !important;
    margin-top: 0.35rem !important;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr !important;
  }

  .hero .hero-phone-btn,
  a.hero-phone-btn.btn {
    font-size: 1.28rem !important;
    min-height: 60px !important;
    letter-spacing: 0.02em !important;
  }

  #cookie-notice #cn-accept-cookie,
  #cookie-notice .cn-button {
    width: 100% !important;
  }

  #cn-notice-buttons {
    width: 100% !important;
  }

  .grecaptcha-badge {
    bottom: 120px !important;
  }
}
