/* 联系我们banner */
.contact-banner {
  height: 300px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
}
.contact-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/contact-banner-bg.png") center center no-repeat;
  background-size: cover;
  opacity: 0.1;
}
.contact-banner .container {
  text-align: center;
  z-index: 1;
  position: relative;
}
.contact-banner h1 {
  font-size: 42px;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.contact-banner p {
  font-size: 18px;
  opacity: 0.9;
}

/* 联系信息 */
.contact-info {
  padding: 80px 0;
  background-color: #fff;
}
.info-content {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}
.info-list {
  width: 45%;
}
.info-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px dashed #eee;
  align-items: flex-start;
}
.info-item:last-child {
  border-bottom: none;
}
.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 5px;
}
.info-text h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #222;
}
.info-text p {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
  line-height: 1.6;
}
.tips {
  color: #999;
  font-size: 12px;
}
.wechat-code {
  margin-top: 10px;
  width: 120px;
  height: 120px;
  border: 1px solid #eee;
  padding: 5px;
  border-radius: 4px;
}
.wechat-code img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-container {
  width: 55%;
}
.map-container h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #222;
}
.map {
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
}
.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map::after {
  content: "点击查看高清地图";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background-color: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
}

/* 联系表单 */
.contact-form-section {
  padding: 80px 0;
  background-color: #f9fcff;
}
.form-desc {
  text-align: center;
  font-size: 16px;
  color: #666;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}
.required {
  color: #ff4d4f;
}
.verify-label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #666;
  cursor: pointer;
}
.verify-label input {
  margin-right: 10px;
}
.privacy-link {
  color: #2575fc;
  text-decoration: underline;
}
.submit-btn {
  width: 100%;
  padding: 14px 0;
  font-size: 16px;
  margin-top: 10px;
}

/* 常见问题 */
.faq-section {
  padding: 80px 0;
  background-color: #fff;
}
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 40px;
}
.faq-item {
  border-bottom: 1px solid #eee;
}
.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;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}
.faq-question:hover {
  color: #2575fc;
}
.icon-toggle {
  display: inline-block;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s;
}
.icon-toggle::before, .icon-toggle::after {
  content: "";
  position: absolute;
  background-color: #666;
  border-radius: 2px;
}
.icon-toggle::before {
  width: 2px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}
.icon-toggle::after {
  width: 100%;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}
.faq-item.active .icon-toggle {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 0 20px;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
}
.faq-item.active .faq-answer {
  padding: 0 0 20px;
  max-height: 200px;
}

/* 弹窗样式 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal.show {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  transform: scale(0.9);
  transition: transform 0.3s;
}
.modal.show .modal-content {
  transform: scale(1);
}
.modal-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #52c41a;
  color: #fff;
  border-radius: 50%;
  font-size: 30px;
  margin: 0 auto 20px;
}
.modal h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #222;
}
.modal p {
  color: #666;
  margin-bottom: 30px;
}
.modal-close {
  width: 100%;
}

/* 响应式适配 */
@media (max-width: 992px) {
  .info-content {
    flex-direction: column;
  }
  .info-list, .map-container {
    width: 100%;
  }
  .map {
    height: 300px;
  }
}
@media (max-width: 768px) {
  .contact-banner h1 {
    font-size: 32px;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .contact-form {
    padding: 20px;
  }
  .faq-question {
    font-size: 15px;
  }
}