/* Scoped presentation refinements; existing grid and device positions are retained. */
:is(.page-real-estate, .page-industry-template) #services.home-service-hub {
  padding-bottom: clamp(24px, 3vw, 40px);
}

/* Keep the card shadows close to the cards, above the section boundary. */
:is(.page-real-estate, .page-industry-template) #services .service-switcher__stat {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -32px 74px rgba(3, 12, 5, 0.16),
    0 8px 18px -6px rgba(3, 12, 5, 0.18);
}

:is(.page-real-estate, .page-industry-template) #services .service-switcher__stat--cta-card {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -20px 46px rgba(126, 81, 14, 0.16),
    0 0 0 1px rgba(196, 141, 38, 0.18),
    0 0 14px rgba(196, 141, 38, 0.16),
    0 8px 18px -6px rgba(113, 73, 14, 0.22);
}

:is(.page-real-estate, .page-industry-template) #services .service-switcher__stat--cta-card:is(:hover, :focus-visible) {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -24px 56px rgba(126, 81, 14, 0.22),
    0 0 0 1px rgba(196, 141, 38, 0.24),
    0 0 18px rgba(196, 141, 38, 0.2),
    0 10px 20px -6px rgba(113, 73, 14, 0.24);
}

:is(.page-real-estate, .page-industry-template) #packages.residential-intro-refresh {
  padding-top: clamp(24px, 2.5vw, 32px);
}

:is(.page-real-estate, .page-industry-template) #packages.residential-intro-refresh .package-deck__intro-copy p {
  color: #000;
  font-size: clamp(1.14rem, 1.1vw, 1.24rem);
  line-height: 1.72;
}

.residential-intro-refresh .res-listing-device-showcase > div {
  filter: none;
  box-shadow: 0 18px 24px rgba(5, 14, 6, 0.16);
}

.residential-intro-refresh .res-listing-device-showcase__screen img {
  image-rendering: auto;
  transform: none;
  filter: none;
  transition: none;
  backface-visibility: visible;
}
