/* Photo-led presentation for the home and contact pages. */
:root {
  --lux-radius: 6px;
  --lux-shadow: 0 8px 24px rgba(24, 31, 38, .08);
  --lux-shadow-soft: 0 3px 12px rgba(24, 31, 38, .04);
}

body { background: #fff !important; }
.section, .facebook-proof-section, .service-assurance,
.recent-work-section, .lead-conversion-section,
.estimate-box-section { background: #fff !important; }
.section::before, .wrap::before { content: none !important; }

.topbar {
  background: #24292d !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  min-height: 38px !important;
  padding: 8px 24px !important;
}
.topbar-left { gap: 20px !important; }
.global-nav {
  background: #fff !important;
  min-height: 88px !important;
  padding: 15px 28px !important;
  box-shadow: none !important;
  gap: 24px !important;
}
.brand { min-width: 0 !important; }
.brand strong { font-size: 21px !important; }
.brand small { font-size: 12px !important; }
.logo-mark {
  width: 46px !important;
  height: 46px !important;
  border-radius: 4px !important;
  background: #153d6d !important;
  box-shadow: none !important;
}
.nav-links { gap: 22px !important; flex-wrap: wrap !important; }
.nav-links a { font-weight: 700 !important; }
.nav-phone, .btn, .report-btn, .estimate-btn,
.credentials-btn, .proof-contact-actions a {
  border-radius: 4px !important;
  box-shadow: none !important;
}
.nav-phone, .btn.gold, .btn.quote { background: #f3bf48 !important; }
.btn.green, .btn.line { background: #087a3b !important; }
.dropdown-menu { border-radius: 6px !important; }

.reference-home .reference-hero {
  min-height: 520px !important;
  padding: 60px 32px !important;
  display: flex !important;
  align-items: center !important;
  background: #272e31 !important;
}
.reference-home .reference-hero > .reference-hero-photo {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  object-fit: cover;
  object-position: center center;
  z-index: 0 !important;
  filter: none !important;
}
.reference-home .reference-hero::before {
  content: "" !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(90deg, rgba(16, 24, 28, .84), rgba(16, 24, 28, .66) 35%, rgba(16, 24, 28, .08) 65%, transparent 82%) !important;
  opacity: 1 !important;
  z-index: 1 !important;
  pointer-events: none;
}
.reference-home .reference-hero::after { content: none !important; }
.reference-home .reference-hero > .hero-image-note {
  position: absolute !important;
  right: 20px !important;
  bottom: 10px !important;
  z-index: 2 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #fff !important;
  text-shadow: 0 1px 3px #10181c;
}
.reference-home .hero-inner {
  position: relative !important;
  z-index: 2 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 1200px !important;
  display: block !important;
  margin: auto !important;
  text-align: left !important;
}
.reference-home .hero-inner > div { max-width: 600px !important; }
.reference-home .hero .eyebrow {
  display: block !important;
  padding: 0 0 0 14px !important;
  margin: 0 0 20px !important;
  border: 0 !important;
  border-left: 3px solid #f3bf48 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 16px !important;
}
.reference-home .hero h1 {
  font-size: 58px !important;
  line-height: 1.06 !important;
  margin: 0 0 22px !important;
  text-shadow: none !important;
  text-align: left !important;
}
.reference-home .hero h1 span { color: #fff !important; }
.reference-home .hero p {
  max-width: 500px !important;
  color: #fff !important;
  font-size: 19px !important;
  line-height: 1.7 !important;
  margin: 0 0 24px !important;
}
.reference-home .hero .btns {
  justify-content: flex-start !important;
  gap: 12px !important;
  margin: 0 !important;
}
.reference-home .hero .btn { padding: 12px 18px !important; }
.reference-services-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  min-height: 48px;
  font-size: 15px;
  padding: 8px 4px;
  font-weight: 700;
}
.reference-services-link:hover { text-decoration: underline !important; }
.reference-home .quick-proof { gap: 8px 18px !important; margin-top: 24px !important; }
.reference-home .quick-proof span {
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  padding: 0 !important;
  width: auto !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.trust-band { background: #f5f6f7 !important; }
.trust-grid { padding: 24px 20px !important; }
.trust-item {
  border: 0 !important;
  border-right: 1px solid #dadddf !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 8px 16px !important;
}
.trust-item:last-child { border-right: 0 !important; }
.trust-item:hover { transform: none !important; }
.trust-item span { font-size: 14px !important; }
.section-head h2 { font-size: 34px !important; }
.section-head h2::after { background: #f3bf48 !important; width: 48px !important; height: 3px !important; }
.service-card, .report-card { border-radius: 6px !important; }
.service-card:hover { transform: translateY(-3px) !important; }
.service-card .image-wrap { height: auto !important; aspect-ratio: 4 / 3; }
.service-card .body { padding: 24px 20px !important; }
.service-card h3 { font-size: 22px !important; }
.service-card p { font-size: 16px !important; }
.service-card .service-icon { display: none !important; }
.reference-home #services { scroll-margin-top: 150px; }

.facebook-proof, .recent-work-card, .contactbox,
.credentials-band, .estimate-box, .why-text {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.facebook-proof-copy { padding: 24px 28px 24px 0 !important; }
.proof-contact-card { background: #f2f4f5 !important; border-left: 3px solid #f3bf48 !important; }
.proof-contact-card strong { color: #20292e !important; }
.proof-contact-card span { color: #414d54 !important; }
.proof-kicker, .tag, .recent-work-tags span {
  background: #edf2f5 !important;
  border: 0 !important;
  border-radius: 3px !important;
  color: #244c72 !important;
}
.proof-list li { border: 0 !important; border-radius: 0 !important; background: transparent !important; padding: 8px 0 !important; }
.assurance-card { border: 0 !important; border-top: 2px solid #dce0e2 !important; border-radius: 0 !important; box-shadow: none !important; }
.credentials-band { background: #f5f6f7 !important; }
.reports-wrap, footer { background: #252d32 !important; }
.reports-wrap .section { background: transparent !important; }
.recent-work-visual img { border-radius: 4px !important; box-shadow: none !important; }
.recent-work-card { padding: 20px !important; }
.nationwide-section { background: #f5f6f7 !important; }
.detail-hero { background: linear-gradient(90deg, rgba(25, 33, 37, .84), rgba(25, 33, 37, .12)), url("assets/premium/hero-electrical-room-v5.webp") center center / cover !important; }
.detail-hero::before, .detail-hero::after { content: none !important; }
a:focus-visible, button:focus-visible { outline: 3px solid #cf8a00 !important; outline-offset: 4px; }

/* The contact summary sits on white, unlike the legacy dark contact panel. */
.reference-contact #request-quote { scroll-margin-top: 110px; }
.reference-contact .contactbox > .contact-summary {
  color: #243e52 !important;
  min-width: 0 !important;
  text-align: left !important;
}
.reference-contact .contact-summary h2 {
  color: #0b315e !important;
  font-size: 32px !important;
  line-height: 1.5 !important;
  margin: 0 0 20px !important;
}
.reference-contact .contact-summary p {
  color: #243e52 !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.9 !important;
  overflow-wrap: anywhere !important;
}
.reference-contact .contact-summary b {
  color: #0b315e !important;
  font-weight: 700 !important;
}
.reference-contact .contact-summary .btn.line { color: #ffffff !important; }
.reference-contact .contact-summary .btn.white { color: #0b315e !important; }
.reference-contact .contact-item .contact-icon {
  color: #ffffff !important;
  opacity: 1 !important;
  flex-shrink: 0 !important;
}
.reference-contact #contact-information { scroll-margin-top: 110px; }

@media (min-width: 1180px) {
  .reference-home .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 1180px) {
  .global-nav { flex-wrap: wrap !important; justify-content: center !important; gap: 12px !important; }
  .nav-links { justify-content: center !important; gap: 18px !important; }
  .reference-home .hero h1 { font-size: 48px !important; }
}
@media (max-width: 760px) {
  .reference-contact #request-quote { scroll-margin-top: 12px; }
  .reference-contact #contact-information { scroll-margin-top: 12px; }
  .reference-contact .contact-summary h2 { font-size: 28px !important; }
  .topbar { display: none !important; }
  .global-nav { position: relative !important; padding: 14px 16px !important; }
  .brand { gap: 10px !important; white-space: normal !important; }
  .brand strong { font-size: 18px !important; }
  .brand small { font-size: 12px !important; }
  .nav-links { gap: 4px 16px !important; width: 100% !important; }
  .nav-links .nav-link { font-size: 14px !important; padding: 12px 0 !important; }
  .nav-phone { padding: 9px 12px !important; }
  .reference-home .reference-hero { min-height: 500px !important; padding: 42px 22px !important; }
  .reference-home .hero h1 { font-size: 38px !important; }
  .reference-home .hero p { font-size: 17px !important; max-width: 440px !important; }
  .reference-home .hero .eyebrow { font-size: 14px !important; }
  .reference-home .hero .btn { width: auto !important; max-width: 100% !important; font-size: 14px !important; padding: 11px 14px !important; }
  .reference-home .hero-inner > div { max-width: 100% !important; }
  .reference-home .reference-hero > .reference-hero-photo { object-position: 85% center; }
  .reference-home .reference-hero::before { background: rgba(16, 24, 28, .68) !important; }
  .reference-home .quick-proof { gap: 6px 12px !important; }
  .reference-home .quick-proof span { font-size: 13px !important; text-align: left !important; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px !important; }
  .trust-item { border: 0 !important; padding: 0 !important; }
  .trust-icon { display: none !important; }
  .facebook-proof-copy { padding: 10px 0 24px !important; }
  .facebook-proof h2, .recent-work-card h2, .section-head h2 { font-size: 28px !important; }
  .proof-contact-card { padding: 24px !important; }
  .reference-home #services { scroll-margin-top: 20px; }
}
@media (max-width: 380px) {
  .reference-home .hero h1 { font-size: 32px !important; }
  .brand strong { font-size: 16px !important; }
  .brand small { font-size: 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { transition: none !important; }
}
