
/* ======== 联系我们独立样式 不会污染全局 ======== */
.wa-contact-section {
  width: 100%;
  padding: 40px 20px; /* 板块上下留白，避免贴边 */
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.wa-contact-container {
  max-width: 1200px; /* 最大宽度，自适应屏幕 */
  margin: 0 auto;
  display: flex;
  gap: 24px; /* 卡片间距，更美观 */
  flex-wrap: wrap; /* 自动换行 */
  justify-content: center;
}

.wa-contact-item {
  flex: 1;
  min-width: 280px; /* 最小宽度，防止挤扁 */
  padding: 30px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.wa-contact-item:hover {
  transform: translateY(-4px);
  background-color: #f8f9fa;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.wa-contact-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 16px;
}

.wa-contact-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #333;
}

.wa-contact-text p,
.wa-contact-text a {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0;
  word-break: break-word; /* 长文本自动换行 */
}

.wa-contact-text a {
  text-decoration: none;
  color: #0066cc;
}

.wa-contact-text a:hover {
  text-decoration: underline;
}

/* 响应式：小屏幕自动单列 */
@media (max-width: 768px) {
  .wa-contact-container {
    flex-direction: column;
    align-items: center;
  }
  .wa-contact-item {
    width: 100%;
    max-width: 400px;
  }
}
