/* Shared contact details for the ten presentation pages. */
.footer-contact-layout,
.contact-panel .contact-channels {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
}
.footer-contact-info {
  flex: 1 1 200px;
  min-width: 0;
}
.site-footer .footer-contact-info .footer-phone {
  margin-bottom: 6px;
}
.site-footer .footer-phone-label {
  display: block;
  margin-bottom: 3px;
  color: #aec3d3;
  font: 12px/1.6 "Segoe UI", "Microsoft YaHei", sans-serif;
}
.contact-qr {
  margin: 0;
  flex: 0 0 140px;
  max-width: 100%;
}
.contact-qr-open {
  display: block;
  width: 100%;
  padding: 8px;
  background: #fff;
  border: 1px solid #d9e4ed;
  border-radius: 4px;
  cursor: zoom-in;
}
.contact-qr img {
  display: block;
  width: 100%;
  height: auto;
}
.contact-qr figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  color: #aec3d3;
}
.contact-panel .contact-channels {
  margin-top: 20px;
}
.contact-panel .contact-phone-list {
  flex: 1 1 220px;
  min-width: 0;
}
.contact-panel .contact-number {
  display: block;
  font-size: clamp(22px, 2.3vw, 30px);
  margin: 4px 0 10px;
  letter-spacing: -1px;
}
.contact-panel .contact-qr {
  flex-basis: 164px;
}
@media (min-width: 851px) {
  .site-footer .footer-top {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .75fr) minmax(0, 1.7fr);
    gap: 32px;
  }
}
@media (max-width: 560px) {
  .site-footer .footer-contact {
    grid-column: 1 / -1;
  }
  .footer-contact-layout {
    gap: 18px;
  }
  .site-footer .footer-contact-info .footer-phone {
    font-size: 20px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

.mechanical-site .contact-qr-dialog {
  width: min(440px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100svh - 32px);
  padding: 20px;
  overflow: auto;
  border: 1px solid #c6d8e7;
  border-radius: 10px;
  background: #fff;
  color: #183e59;
  box-shadow: 0 18px 60px #163d5933;
}
.mechanical-site .contact-qr-dialog::backdrop {
  background: #132f4366;
  backdrop-filter: blur(3px);
}
.contact-qr-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.contact-qr-dialog-head h2 {
  margin: 0;
  font-size: 20px;
  color: #183e59;
}
.contact-qr-dialog-head button {
  padding: 7px 12px;
  background: #eff6fb;
  border: 1px solid #bfd4e4;
  border-radius: 4px;
  color: #28536f;
  cursor: pointer;
}
.contact-qr-dialog > img {
  display: block;
  width: 100%;
  max-width: 369px;
  height: auto;
  margin: 18px auto 12px;
}
.contact-qr-dialog > p {
  margin: 0;
  color: #45657b;
  text-align: center;
  font-size: 13px;
}
.mechanical-site:has(#contact-qr-dialog[open]) {
  overflow: hidden;
}

.mechanical-site .dh-ai-heading:has(.dh-ai-contact-group) {
  flex-wrap: wrap;
}
.mechanical-site .dh-ai-contact-group {
  flex: 0 1 320px;
  max-width: 100%;
  min-width: 0;
  margin-top: 10px;
}
.mechanical-site .dh-ai-contact-group .dh-ai-contact-title {
  margin: 0 0 6px;
  color: #45657b;
  font-size: 11px;
  line-height: 1.6;
}
.mechanical-site .dh-ai-contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
body.mechanical-site .dh-ai-contact-group .dh-ai-contact {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 11px;
  line-height: 1.6;
  white-space: nowrap;
}
body.mechanical-site .dh-ai-contact-group .dh-ai-contact span {
  display: inline;
  margin: 0;
  font-size: inherit;
}
.mechanical-site .dh-ai-contact-wechat {
  padding: 4px 8px;
  border: 1px solid #bfd4e4;
  border-radius: 4px;
  background: #eff6fb;
  color: #28536f;
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
}
.mechanical-site .dh-ai-contact-wechat:hover {
  background: #e2eff8;
}
