/* Restore the original red/blue roof lights. The overlay follows the photo crop. */
.hero .light-pulse.sm-car-lights {
  display: block;
  position: absolute;
  inset: auto;
  z-index: 0;
  margin: 0;
  padding: 0;
  gap: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  transform: none;
  visibility: hidden;
}

.hero .light-pulse.sm-car-lights.is-positioned { visibility: visible; }

/* The existing photo shade also dims the glow behind the white hero copy. */
.hero.has-car-lights .hero-shade { z-index: 1; }

.hero .sm-car-lights > span {
  position: absolute;
  display: block;
  flex: none;
  border-radius: 50%;
  height: .95%;
  filter: blur(var(--sm-lamp-blur, 5px));
  opacity: .08;
  transform: rotate(-1deg);
  animation-duration: 3.2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-delay: 0s;
}

.hero .sm-car-lights > .pulse-blue {
  left: 57.05%;
  top: 43.4%;
  width: 4.15%;
  background: #76c9ff;
  box-shadow: 0 0 18px 5px #1685ff;
  animation-name: smCarBlue;
}

.hero .sm-car-lights > .pulse-red {
  left: 64.35%;
  top: 43.0%;
  width: 5.9%;
  background: #ff7c76;
  box-shadow: 0 0 18px 5px #ff302c;
  animation-name: smCarRed;
}

/* Two small, gently alternating light sources; no full-image flash. */
@keyframes smCarBlue {
  0%, 38%, 100% { opacity: .06; }
  15% { opacity: .92; }
}

@keyframes smCarRed {
  0%, 48%, 88%, 100% { opacity: .06; }
  65% { opacity: .9; }
}

.hero .sm-car-lights.is-paused > span { animation-play-state: paused; }

.hero .hero-disclosure.sm-hero-image-tools {
  display: flex;
  align-items: center;
  gap: .7rem;
  max-width: calc(100% - 1rem);
  padding: 0;
  border: 0;
  box-shadow: none;
  color: #f0e5d1;
  background: transparent;
  font-size: .75rem;
  line-height: 1.4;
}

.sm-light-control {
  min-height: 44px;
  padding: .4rem .6rem;
  border: 1px solid #f0e5d140;
  background: #070d11e6;
  color: #f0e5d1;
  font: 600 .72rem/1.3 Arial, sans-serif;
  cursor: pointer;
}

.sm-light-control:hover { color: #a4d6ff; }

.hero .sm-image-disclosure-label {
  display: inline-block;
  max-width: 100%;
  padding: 3px 7px;
  border: 1px solid #f0e5d140;
  border-radius: 3px;
  color: #f0e5d1;
  background: #070d11f2;
  font: 400 .75rem/1.4 Arial, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}

/* Compact, legible image notices on phone, tablet and desktop. */
.ai-disclosure:not(.hero-disclosure), .service-ai-badge {
  max-width: calc(100% - 1rem);
  padding: 3px 7px;
  border-radius: 3px;
  color: #f0e5d1;
  background: #070d11f2;
  font: 400 .75rem/1.4 Arial, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}

@media (max-width: 767px) {
  .hero .sm-light-control,
  .hero .light-pulse.sm-car-lights { display: none !important; }
  .hero .sm-car-lights > span { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .light-pulse.sm-car-lights { display: none !important; }
  .hero .sm-car-lights > span { animation: none !important; }
  .sm-light-control { display: none; }
  .hero .hero-disclosure.sm-hero-image-tools { padding: 0; }
}
