/* ConstrXerp site overrides — loaded after the Sitejet theme CSS on every page.
   Keep hand-made style fixes here rather than editing custom.*.css. */

/* Readable headings: the theme set all headings to light grey (#cdcfd0) on white. */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { color: #2f3437 !important; }
/* Headings that sit on dark backgrounds stay white. */
.cx-demo-strip h2 { color: #fff !important; }

/* "Ready to Elevate…" banner on the home page: white text needs a dark background. */
#ed-1624835957.bg-primary { background: #575757 !important; }
#ed-1624835957 .button { background: #fff; color: #2c2c2c; }
#ed-1624835957 .button:hover { background: #e6e7e8; color: #2c2c2c; }

/* Keep anchored sections clear of the fixed header. */
#home-2, #services-2, #cta-1, #contact-us-1, #about { scroll-margin-top: 110px; }

/* About Us section (home page) */
.cx-about { padding: 64px 16px; background: #fff; }
.cx-about-inner { max-width: 1000px; margin: 0 auto; }
.cx-about h2 { text-align: center; margin: 0 0 24px; }
.cx-about p { font-size: 17px; line-height: 1.7; margin: 0 0 16px; }
.cx-about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0; }
.cx-about-fact { background: #f1f2f2; border-radius: 6px; padding: 24px 20px; text-align: center; }
.cx-about-fact h3 { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.cx-about-fact p { font-size: 15px; line-height: 1.5; margin: 0; }
.cx-about-cta { text-align: center; margin-top: 8px; }
.cx-about-cta .button { display: inline-block; background: #575757; color: #fff; padding: 14px 32px; font-weight: 700; }
.cx-about-cta .button:hover { background: #2f3437; color: #fff; }
@media (max-width: 767px) {
  .cx-about { padding: 48px 16px; }
  .cx-about-facts { grid-template-columns: 1fr; }
}

/* Legal pages (Privacy Policy, Terms of Use) */
.cx-legal { max-width: 860px; margin: 0 auto; padding: 32px 16px 48px; }
.cx-legal h1 { font-size: 32px; font-weight: 700; margin: 0 0 8px; }
.cx-legal h2 { font-size: 22px; font-weight: 700; margin: 32px 0 10px; }
.cx-legal p, .cx-legal li { font-size: 16px; line-height: 1.7; }
.cx-legal p { margin: 0 0 12px; }
.cx-legal ul { margin: 0 0 12px; padding-left: 22px; }
.cx-legal ul > li::before { content: none; }
.cx-legal ul > li { list-style: disc; margin-bottom: 6px; }
.cx-legal .cx-updated { color: #5f6368; font-size: 14px; margin-bottom: 24px; }
.cx-legal address { font-style: normal; font-size: 16px; line-height: 1.7; margin: 0 0 12px; }

/* Hero photo: phones and tablets get a 1280px version instead of the 1920px one.
   (!important beats the inline style Sitejet's script sets from data-background.) */
@media (max-width: 1024px) {
  [data-background*="22657811"] {
    background-image: url("/images/1280/22657811/aerial-glance-at-a-cable-stayed-bridge-under-construction-showcasing-yellow-crane-work-over-a-river-Ke5xg5QMf70dxl-ot_t5mw.webp") !important;
  }
}

/* Product photos: keep proportions now that the img tags carry width/height. */
.ed-image picture img { height: auto; }
