.udg-service-switch {
  padding: 0.6rem clamp(1rem, 5vw, 4rem);
  background: #101c2a;
  color: white;
  font-size: 0.875rem;
}

.udg-service-switch a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.udg-appliance-section p {
  margin-block: 0.75rem 1rem;
}

.section_both-locations > .section_gmap:only-child {
  grid-column: 1 / -1;
  min-width: 0;
}

.section_both-locations .section_gmap iframe {
  display: block;
  width: 100%;
}

.udg-work-photos {
  padding: 64px 24px;
  background: #f4f1eb;
  color: #171717;
}

.udg-work-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.udg-work-photos h2 {
  margin: 0 0 32px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.udg-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.udg-work-grid figure {
  margin: 0;
  overflow: hidden;
  background: white;
  border-radius: 12px;
}

.udg-work-grid a {
  display: block;
}

.udg-work-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #e5e1d9;
}

.udg-work-grid figcaption {
  padding: 14px 18px;
  font-size: 16px;
}

.uwi-hero-bg[src="/photos/google-rooftop-hvac-service.webp"] {
  object-position: 50% 58%;
}

.udg-hero-video {
  opacity: 1;
  pointer-events: none;
}

.uwi-hdr .uwi-nav {
  overflow: visible;
  gap: 16px;
}

.udg-full-video-player {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #111;
}

.udg-full-video-player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.udg-full-video-play,
.udg-full-video-fullscreen {
  position: absolute;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.udg-full-video-play {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 14px 24px;
  color: #171717;
  background: #ff9b68;
}

.udg-full-video-fullscreen {
  top: 12px;
  right: 12px;
  padding: 9px 14px;
  color: white;
  background: #111c;
  font-size: 13px;
}

.udg-full-video-play:focus-visible,
.udg-full-video-fullscreen:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

.udg-full-video-play[hidden],
.udg-full-video-status[hidden] {
  display: none;
}

.udg-full-video-status {
  position: absolute;
  bottom: 40px;
  left: 12px;
  right: 12px;
  padding: 10px;
  color: white;
  background: #111e;
}

.udg-full-video-player:fullscreen {
  display: flex;
  align-items: center;
  border-radius: 0;
}

.udg-full-video-player:fullscreen video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.uwi-review-panel .udg-hero-services {
  display: grid;
  gap: 16px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.udg-hero-services li {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.4;
}

.udg-hero-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid #ff9b6840;
  border-radius: 12px;
  background: #ff9b6814;
  color: #ff9b68;
}

.udg-hero-service-icon svg { width: 23px; height: 23px; }

.uwi-review-panel .udg-hero-service-note {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid #ffffff26;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffffc7;
}

.udg-hero-video-toggle {
  position: absolute;
  bottom: 22px;
  right: 28px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #ffffff70;
  border-radius: 999px;
  color: white;
  background: #111c;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.udg-hero-video-toggle:focus-visible {
  outline: 2px solid #ff9b68;
  outline-offset: 3px;
}

.udg-hero-video-toggle svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.udg-hero-video-toggle[data-paused="false"] .udg-video-play-icon,
.udg-hero-video-toggle[data-paused="true"] .udg-video-pause-icon {
  display: none;
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .uwi-hdr .uwi-nav,
  .uwi-hdr .uwi-nav-phone {
    display: none !important;
  }

  .uwi-hdr .uwi-btn {
    margin-left: auto;
  }

  .uwi-hdr .us-mobile-menu {
    display: block;
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .udg-background-video ~ .uwi-hero-shade {
    background-image: linear-gradient(90deg, rgba(8, 8, 10, 0.88), rgba(8, 8, 10, 0.65));
  }

  .udg-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .udg-work-grid figcaption {
    padding: 12px;
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .udg-work-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
