/* ============================================================
   Systems & Services (page 1011) — managed CSS
   ------------------------------------------------------------
   Only what Elementor has no control for. No html widget on this page.
   ============================================================ */

/* 1. Hello Elementor's reset.css sets p{margin-block-end:.9rem} and nothing in
      Elementor resets it for the text-editor widget. fig-body is on the
      text-editor WIDGETS, and _css_classes does emit on widgets here (it does
      NOT emit on containers - see item 2). */
.elementor-1011 .fig-body p {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* 2. Anchor offset. The site header is sticky and 82px tall, so a jump link
      lands with the section heading tucked underneath it.

      Targeted by ID, not by the .svc-anchor class also set on each section:
      Elementor does NOT emit _css_classes on CONTAINERS on this site, so
      .svc-anchor never reaches the DOM. The _element_id IS emitted. */
#ss-selector,
#building-automation-systems,
#lighting-control-systems,
#critical-environments,
#systems-integration,
#gas-detection,
#utility-monitoring,
#secure-cloud-bms-hosting,
#hvac-control-systems,
#energy-management {
  scroll-margin-top: 100px;
}

/* 3. The CTA eyebrow icon is a stroke-only Figma export with fill="none".
      Elementor's icon colour control emits a `fill`, and a CSS fill BEATS the
      SVG's own presentation attribute, flooding the outlined circle into a
      solid disc. :not(.e-font-icon-svg) keeps this off Font Awesome glyphs,
      which are fill-only and would be erased. HANDOVER gotchas 44-45. */
.elementor-1011 .elementor-icon svg:not(.e-font-icon-svg),
.elementor-1011 .elementor-icon svg:not(.e-font-icon-svg) path {
  fill: none !important;
}

/* 4. Uniform service-row image height. The interim photos have very different
      aspect ratios and the panoramic ones collapse to a thin strip next to a
      much taller copy column. The Image widget has NO height control, so a
      fixed height plus object-fit is genuinely outside Elementor.

      Height stays well short of the copy column because these images are
      sticky (sticky_parent, offset 120) and travel is only
      (row height - image height). */
.elementor-1011 .elementor-widget-image img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1024px) {
  .elementor-1011 .elementor-widget-image img { height: 320px; }
}

@media (max-width: 767px) {
  .elementor-1011 .elementor-widget-image img { height: 240px; }
}

/* 5. Handoff section 4: the whole card should read as interactive rather than
      changing its title colour. The nine selector buttons each carry a link,
      so they get the same lift/shadow/border cue used on the homepage service
      cards and the Industries jump grid. */
.elementor-1011 .elementor-element-2d9299e > .e-con {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.elementor-1011 .elementor-element-2d9299e > .e-con:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(16, 43, 65, 0.12);
  border-color: #BCE3BC !important;
}

@media (prefers-reduced-motion: reduce) {
  .elementor-1011 .elementor-element-2d9299e > .e-con,
  .elementor-1011 .elementor-element-2d9299e > .e-con:hover {
    transition: box-shadow 0.22s ease, border-color 0.22s ease;
    transform: none;
  }
}
