/* 浮动联系方式 */
.contact-float {
  position: fixed;
  right: 24px;
  bottom: 80px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.contact-float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(255,107,91,.35);
  transition: all .2s;
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.contact-float-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,107,91,.45);
}
.contact-float-btn.phone {
  background: var(--accent);
}
.contact-float-btn.phone:hover {
  background: #1E2238;
}
/* 二维码跟随悬浮按钮（悬停显示） */
.float-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.float-item .qr-img,
.float-item .qr-cap {
  display: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .25s, transform .25s;
}
.float-item:hover .qr-img,
.float-item:hover .qr-cap {
  display: block;
  opacity: 1;
  transform: translateX(0);
}
.float-item .qr-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
}
.float-item .qr-cap {
  font-size: 11px;
  color: #6E7181;
  background: rgba(255,255,255,.9);
  padding: 2px 10px;
  border-radius: 999px;
}
@media(max-width:900px){
  .contact-float{right:12px;bottom:70px}
  .contact-float-btn{padding:10px 16px;font-size:12px}
  .float-item .qr-img{width:110px;height:110px}
}
