/* Targeted Oct 17 façade card photo framing, tested at desktop and phone widths.
   A single preframed image (never a tiled/duplicated background) fills each card.
   The source drone, water stream and wall impact are unmodified in the upper photo. */
.home-page .service-panel[data-selected-service="0"] {
  background: #06151c !important;
  background-image: none !important;
}
.home-page .service-panel[data-selected-service="0"]::before {
  content: none !important;
  display: none !important;
}
.home-page .service-panel[data-selected-service="0"] > img#service-image {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center top !important;
  transform: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}
.home-page .service-panel[data-selected-service="0"]::after {
  background: linear-gradient(to bottom,
    transparent 0%, transparent 30%,
    rgba(5,19,25,.08) 43%, rgba(5,19,25,.32) 61%,
    rgba(5,19,25,.62) 80%, rgba(5,19,25,.78) 100%) !important;
}
@media (max-width:800px) {
  .home-page .mobile-service-card[data-mobile-service-index="0"] {
    background: #06151c !important;
    background-image: none !important;
  }
  .home-page .mobile-service-card[data-mobile-service-index="0"] .mobile-service-facade {
    background: transparent !important;
    background-image: none !important;
  }
  .home-page .mobile-service-card[data-mobile-service-index="0"] .mobile-service-facade > img {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center top !important;
    transform: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
  .home-page .mobile-service-card[data-mobile-service-index="0"] .mobile-service-disclosure {
    display: none !important;
  }
  .home-page .mobile-service-card[data-mobile-service-index="0"] .mobile-service-photo::after {
    background: linear-gradient(to bottom,
      rgba(4,18,23,.10) 0%, rgba(4,18,23,0) 28%,
      rgba(4,18,23,.18) 48%, rgba(4,18,23,.55) 76%,
      rgba(4,18,23,.82) 100%) !important;
  }
}

/* Extra-narrow phones: avoid trimming the left drone rotor. */
@media (max-width:359px) {
  .home-page .mobile-service-card[data-mobile-service-index="0"] .mobile-service-facade > img {
    object-fit: fill !important;
  }
}
