/* Shared HOUSESWAT contact treatments; intentionally scoped to contact components. */
.header-contact-group {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  min-width: 0;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #4cff24;
  color: #d9ffd0;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .35px;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.contact-phone:hover {
  color: #080b0a;
  background: #4cff24;
  transform: translateY(-1px);
}

.contact-inline-phone,
.contact-footer-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #a5ff91;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #4cff24;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.contact-inline-phone:hover,
.contact-footer-phone:hover {
  color: #4cff24;
}

.contact-footer-phone {
  margin-top: 9px;
  font-size: 15px;
  letter-spacing: .3px;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 190px;
  }

  header nav.wrap {
    min-height: 0;
    flex-wrap: wrap;
    row-gap: 10px;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  header nav.wrap > .header-contact-group {
    flex: 1 1 100%;
    justify-content: space-between;
  }

  header nav.wrap > .links {
    flex: 1 1 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 700px) {
  header .nav {
    height: auto;
    min-height: 0;
    flex-wrap: wrap;
    row-gap: 10px;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  header .nav > .header-contact-group {
    flex: 1 1 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  header .nav > .btn {
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  header nav.wrap > .header-contact-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  header nav.wrap > .links {
    gap: 0;
  }

  .contact-phone {
    min-height: 44px;
    padding: 7px 11px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-phone {
    transition-duration: .01ms;
  }
}
