/* Phone navigation uses the fixed call bar and a single primary action. */
.mobile-menu-contact { display: none; }
@media (max-width: 720px) {
  body:has(.mobile-call-bar) { --nav-h: 64px; padding-top: var(--nav-h); }
  body:has(.mobile-call-bar) .navbar { top: 0; height: var(--nav-h); }
  body:has(.mobile-call-bar) :is(.topbar, .navbar .btn-phone, .navbar .nav-phone-label, .sf-details .hero-ctas a[href^="tel:"]) { display: none; }
  body:has(.sf-details .hero-ctas a.btn:not([href^="tel:"])) .water-test-float { display: none; }
  .sf-header .sf-details .hero-ctas a.btn:not([href^="tel:"]) {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
    padding: 12px 18px; border: 1px solid #e5b35a; border-radius: 999px;
    background: #f2be66; color: #071b2e; box-shadow: none;
  }
  .nav-links .mobile-menu-contact {
    display: grid; gap: 4px; margin-block: 14px; padding-block: 14px;
    border-top: 1px solid #d9d3c6; color: #173447; font-size: .9rem;
    line-height: 1.55;
  }
  .nav-links .mobile-menu-contact a { display: block; padding: 8px 0; color: inherit; border: 0; font: inherit; }
}
.existing-system-band .gallery-caption { display: none; }
.existing-system-band:has(> .existing-system-photo:first-child.is-current) .gallery-caption {
  display: block; position: absolute; right: 22px; bottom: 22px;
  max-width: 43%; padding: 9px 15px; background: #06192ae3;
  border-left: 3px solid #efc26d; border-radius: 2px; color: white;
  font: 600 1rem/1.35 var(--font-body);
}
@media (max-width: 700px) {
  .existing-system-band:has(> .existing-system-photo:first-child.is-current) .gallery-caption {
    right: auto; left: 24px; top: 238px; bottom: auto; max-width: calc(100% - 48px); font-size: .85rem;
  }
}
@media (max-width: 720px) {
  .back-to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

.nav-links .dropdown-menu a.mobile-services-overview { display: none; }
@media (max-width: 1040px) {
  .nav-links .dropdown-menu a.mobile-services-overview { display: flex; }
}
