
/* ========== 联系表单板块优化样式 ========== */
.contact-section {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: var(--section-py) 0;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(180deg, #f1f5f9 0%, transparent 100%);
  pointer-events: none;
}

.contact-grid {
  position: relative;
}

/* 新的两列布局 */
.contact-body {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.contact-left {
  flex: 1;
  padding-top: 20px;
}

.contact-title {
  font-family: var(--font-zh);
  font-size: 32px;
  font-weight: 800;
  color: #0a1628;
  line-height: 1.3;
  margin: 16px 0 12px;
}

.contact-subtitle {
  color: #0052dc;
}

.contact-desc {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* 微信客服卡片 - 继续放大版本 */
.wechat-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 48px 60px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 82, 220, 0.18);
  border: 1px solid rgba(0, 82, 220, 0.08);
}

.wc-qr-box {
  position: relative;
  width: 240px;
  height: 240px;
}

.wc-qr {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
}

.wc-scan-hint {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0052dc 0%, #3b82f6 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 28px;
  white-space: nowrap;
  letter-spacing: 2px;
}

.wc-info {
  text-align: center;
}

.wc-tag {
  font-size: 18px;
  color: #0052dc;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.wc-title {
  font-size: 20px;
  font-weight: 600;
  color: #0a1628;
}

/* 右侧表单 - 放大4倍版本 */
.contact-right {
  flex: 0 0 740px;
  max-width: 740px;
  margin-left: 100px;
}

.contact-form-card {
  background: #fff;
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 30px 100px rgba(0, 82, 220, 0.15), 0 10px 40px rgba(0, 82, 220, 0.08);
  border: 1px solid rgba(0, 82, 220, 0.08);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0052dc 0%, #3b82f6 50%, #60a5fa 100%);
}

.form-header {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f1f5f9;
}

.form-header h3 {
  font-family: var(--font-zh);
  font-size: 30px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 10px;
  letter-spacing: 3px;
}

.form-header p {
  font-size: 16px;
  color: #64748b;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  gap: 28px;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-size: 16px;
  font-weight: 600;
  color: #0a1628;
  letter-spacing: 1px;
}

.form-group .required {
  color: #ef4444;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 20px 22px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  font-size: 17px;
  font-family: var(--font-zh);
  color: #0a1628;
  background: #f8fafc;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #0052dc;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(0, 82, 220, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
  font-size: 16px;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 50px;
  cursor: pointer;
}

.form-group select option {
  padding: 12px;
  font-size: 15px;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit-btn {
  width: 100%;
  padding: 22px 36px;
  background: linear-gradient(135deg, #0052dc 0%, #3b82f6 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-zh);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 14px;
  letter-spacing: 3px;
  position: relative;
  overflow: hidden;
}

.form-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s ease;
}

.form-submit-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 82, 220, 0.4);
}

.form-submit-btn:hover::before {
  left: 100%;
}

/* 表单提示消息 */
.form-message {
  text-align: center;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
  min-height: 24px;
}

.form-message.success {
  color: #10b981;
}

.form-message.error {
  color: #ef4444;
}

/* 响应式 */
@media (max-width: 1300px) {
  .contact-body {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }
  .contact-left {
    text-align: center;
    padding-top: 0;
  }
  .contact-right {
    flex: none;
    width: 100%;
    max-width: 680px;
  }
}

@media (max-width: 768px) {
  .contact-title {
    font-size: 32px;
  }
  .contact-form-card {
    padding: 36px;
  }
  .form-row {
    flex-direction: column;
    gap: 20px;
  }
  .form-header h3 {
    font-size: 26px;
  }
  .form-submit-btn {
    padding: 18px 28px;
    font-size: 17px;
  }
  .wc-qr-box {
    width: 180px;
    height: 180px;
  }
  .wechat-card {
    padding: 36px 44px;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 50px 0;
  }
  
  .contact-body {
    gap: 30px;
  }
  
  .contact-title {
    font-size: 24px !important;
  }
  
  .contact-desc {
    font-size: 14px;
  }
  
  .wechat-card {
    padding: 24px 20px;
    border-radius: 20px;
  }
  
  .wc-qr-box {
    width: 140px;
    height: 140px;
  }
  
  .wc-qr {
    border-radius: 14px;
  }
  
  .wc-scan-hint {
    font-size: 12px;
    padding: 6px 16px;
  }
  
  .wc-tag {
    font-size: 16px;
  }
  
  .wc-title {
    font-size: 17px;
  }
  
  .contact-right {
    max-width: 100%;
    margin-left: 0;
  }
  
  .contact-form-card {
    padding: 20px 16px;
    border-radius: 20px;
  }
  
  .form-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
  }
  
  .form-header h3 {
    font-size: 20px;
    letter-spacing: 1px;
  }
  
  .form-header p {
    font-size: 13px;
  }
  
  .contact-form {
    gap: 16px;
  }
  
  .form-group label {
    font-size: 14px;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 10px;
  }
  
  .form-group textarea {
    min-height: 100px;
  }
  
  .form-submit-btn {
    padding: 16px 24px;
    font-size: 16px;
    border-radius: 10px;
  }
}
