/* 页面标题区域 */
.contact-header {
  margin-top: 80px;
  background: linear-gradient(135deg, #165dff 0%, #0a3ca0 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.contact-header h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-header p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* 联系方式和表单 */
.contact-main {
  padding: 100px 0;
}

.contact-wrapper {
  display: flex;
  gap: 60px;
}

/* 联系方式 */
.contact-info {
  flex: 0 0 400px;
}

.contact-info h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 12px;
}

.contact-info h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: #165dff;
}

.info-list {
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #EEF2FF;
  color: #165dff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 5px;
}

.info-content p {
  font-size: 15px;
  color: #1e293b;
  margin-bottom: 2px;
}

.text-gray {
  color: #64748b;
  font-size: 14px;
}

.wechat-qrcode {
  margin: 10px 0;
}

.wechat-qrcode img {
  width: 120px;
  height: 120px;
  border: 1px solid #e2e8f0;
  padding: 5px;
}

/* 工作时间 */
.work-time {
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 20px;
}

.work-time h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 15px;
}

.work-time ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.work-time li {
  font-size: 14px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.work-time li::before {
  content: "•";
  color: #165dff;
}

/* 联系表单 */
.contact-form {
  flex: 1;
  background-color: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}

.contact-form p {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 30px;
}

.consult-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
}

.required {
  color: #ff4d4f;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 15px;
  color: #1e293b;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #165dff;
}

.form-group textarea {
  resize: vertical;
}

.checkbox-label {
  flex-direction: row;
  align-items: center;
  cursor: pointer;
}

.checkbox-label input {
  width: auto;
  margin-right: 8px;
}

.submit-btn {
  width: 100%;
  padding: 14px 0;
  font-size: 16px;
}

/* 常见问题 */
.faq-section {
  padding: 100px 0;
  background-color: #f9fafb;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #1e293b;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #165dff;
}

.faq-question i {
  color: #165dff;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 0 20px;
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  display: none;
}

/* 展开状态 */
.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* 售后服务 */
.after-sales {
  padding: 100px 0;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.service-item {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(22, 93, 255, 0.12);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #EEF2FF;
  color: #165dff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}

.service-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 12px;
}

.service-item p {
  font-size: 14px;
  color: #64748b;
}

/* 响应式适配 */
@media (max-width: 992px) {
  .contact-wrapper {
    flex-direction: column;
  }
  
  .contact-info {
    flex: none;
    max-width: 100%;
  }
  
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-header h1 {
    font-size: 32px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  .service-list {
    grid-template-columns: 1fr;
  }
}