/* ==================== 右侧悬浮联系方式 ==================== */
.contact-float-sidebar {
  position: fixed;
  right: 20px;
  top: 35%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cfs-item {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.cfs-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,102,204,0.3);
  transition: all 0.3s;
  position: relative;
  z-index: 2;
}

.cfs-icon svg {
  width: 24px;
  height: 24px;
}

.cfs-item:hover .cfs-icon {
  background: linear-gradient(135deg, #0052a3, #009d82);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(0,102,204,0.4);
}

.cfs-content {
  position: absolute;
  right: 60px;
  background: var(--bg-white);
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  border-left: 3px solid var(--accent);
}

.cfs-item:hover .cfs-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.cfs-label {
  font-size: 12px;
  color: var(--text-gray);
  margin-bottom: 5px;
  font-weight: 600;
  letter-spacing: 1px;
}

.cfs-value {
  font-size: 16px;
  color: var(--primary);
  font-weight: 700;
}

/* 小三角箭头 */
.cfs-content::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: var(--accent);
}

/* 响应式 */
@media (max-width: 992px) {
  .contact-float-sidebar {
    right: 10px;
    top: auto;
    bottom: 120px;
    transform: none;
    gap: 10px;
  }

  .cfs-icon {
    width: 45px;
    height: 45px;
  }

  .cfs-icon svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 576px) {
  .contact-float-sidebar {
    right: 10px;
    bottom: 100px;
  }

  .cfs-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .cfs-content {
    right: 50px;
    padding: 12px 15px;
  }

  .cfs-value {
    font-size: 14px;
  }
}
