/* Unified secondary-page contact card, 2026-08-20 */
.floating-contact {
  position: fixed;
  right: 28px;
  top: 50%;
  z-index: 960;
  width: 176px;
  padding: 8px;
  border: 1px solid rgba(16, 55, 160, 0.12);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(0, 20, 46, 0.14);
  transform: translateY(-50%);
  box-sizing: border-box;
}
.floating-contact, .floating-contact * { box-sizing: border-box; }
.floating-contact-inner { position: relative; z-index: 1; }
.floating-contact-code {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 14px auto 0;
  padding: 7px;
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(16, 55, 160, 0.08);
}
.floating-contact-code > img:not(.contact-pop-badge) {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: contain;
}
.floating-contact .contact-pop-badge {
  position: absolute;
  top: 54px;
  left: 50%;
  z-index: 2;
  width: 29px !important;
  height: 29px !important;
  transform: translateX(-50%);
  border-radius: 0 !important;
}
.floating-contact-phone {
  margin: 12px 0;
  color: #1b2950;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}
.floating-contact-phone p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 8px 0 0;
}
.floating-contact-phone img { width: 14px; height: 14px; object-fit: contain; }
.floating-contact-phone a { color: inherit; text-decoration: none; }
.floating-contact.floating-contact--sidebar {
  position: static;
  right: auto;
  top: auto;
  z-index: auto;
  width: 100%;
  margin: 18px 0 0;
  padding: 8px;
  border-color: rgba(16, 55, 160, 0.1);
  box-shadow: none;
  transform: none;
}
.floating-contact--sidebar .floating-contact-code {
  width: 138px;
  height: 138px;
  margin-top: 8px;
}
.floating-contact--sidebar .floating-contact-phone {
  margin-bottom: 8px;
  font-size: 13px;
}
@media (max-width: 820px) {
  .floating-contact { display: none !important; }
}
