/* ===== 文件：contact.css ===== */
.contact-page {
  padding-top: 64px;
}

.contact-banner {
  background: linear-gradient(135deg, #f7f8fa 0%, #e8f3ff 100%);
  padding: 70px 20px;
  text-align: center;
}

.contact-banner h1 {
  font-size: 36px;
  font-weight: 700;
  color: #1d2129;
  margin-bottom: 14px;
}

.contact-banner .subtitle {
  font-size: 17px;
  color: #165DFF;
  font-weight: 500;
  margin-bottom: 10px;
}

.contact-banner .work-time {
  font-size: 14px;
  color: #86909c;
}

.company-info-section {
  padding: 30px 20px;
  background: #fff;
}

.company-info-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.company-info-item {
  text-align: center;
  padding: 20px;
}

.company-info-item h4 {
  font-size: 14px;
  color: #86909c;
  margin-bottom: 8px;
}

.company-info-item p {
  font-size: 15px;
  color: #1d2129;
  font-weight: 500;
}

.contact-cards-section {
  padding: 60px 20px 40px;
}

.contact-cards-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-card.featured {
  border: 2px solid #165DFF;
  position: relative;
}

.contact-card.featured::before {
  content: '推荐';
  position: absolute;
  top: -12px;
  left: 28px;
  background: linear-gradient(135deg, #165DFF, #4080ff);
  color: #fff;
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f3ff 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon svg {
  width: 28px;
  height: 28px;
  fill: #165DFF;
}

.contact-card h3 {
  font-size: 19px;
  font-weight: 600;
  color: #1d2129;
  margin-bottom: 10px;
}

.contact-card .card-description {
  font-size: 14px;
  color: #86909c;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.contact-card-content {
  margin-bottom: 16px;
}

.qr-code-wrapper {
  text-align: center;
  margin-bottom: 12px;
}

.qr-code-placeholder {
  width: 160px;
  height: 160px;
  margin: 0 auto 12px;
  background: #f7f8fa;
  border: 2px dashed #c9cdd4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9cdd4;
  font-size: 13px;
}

.qr-code-hint {
  font-size: 13px;
  color: #165DFF;
  font-weight: 500;
  margin-bottom: 6px;
}

.email-link {
  font-size: 18px;
  color: #165DFF;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
  transition: all 0.3s ease;
}

.email-link:hover {
  color: #4080ff;
  text-decoration: underline;
}

.card-hint-text {
  font-size: 13px;
  color: #86909c;
  line-height: 1.6;
}

.contact-card .btn {
  width: 100%;
  margin-top: auto;
}

.faq-guide-section {
  padding: 50px 20px 60px;
  background: #f7f8fa;
  text-align: center;
}

.faq-guide-section .section-title {
  margin-bottom: 20px;
}

.faq-guide-text {
  font-size: 15px;
  color: #86909c;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  
  .contact-card.featured::before {
    left: 28px;
  }
}

@media (max-width: 768px) {
  .contact-banner {
    padding: 45px 20px;
  }
  
  .contact-banner h1 {
    font-size: 26px;
  }
  
  .contact-banner .subtitle {
    font-size: 15px;
  }

  .company-info-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .company-info-item {
    padding: 12px;
  }
  
  .contact-cards-section {
    padding: 40px 16px 30px;
  }
  
  .contact-card {
    padding: 28px 20px;
  }
  
  .qr-code-placeholder {
    width: 140px;
    height: 140px;
  }
}