/* ========== Page Banner ========== */
.contact-banner {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.contact-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.contact-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
}

.contact-banner-content {
  position: relative;
  z-index: 2;
  width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.contact-banner-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 4px;
}

.contact-banner-subtitle {
  font-size: 18px;
  font-weight: 300;
  opacity: 0.9;
  letter-spacing: 2px;
}

.contact-banner-line {
  width: 60px;
  height: 3px;
  background: #fff;
  margin-top: 24px;
}

/* ========== 联系方式区域 ========== */
.contact-section {
  padding: 80px 0;
  background: #fff;
}

.contact-container {
  width: 1400px;
  margin: 0 auto;
}

.contact-section-header {
  margin-bottom: 50px;
}

.contact-section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 14px;
  display: inline-block;
}

.contact-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1e5aa8 0%, #4a9eff 100%);
  border-radius: 2px;
}

.contact-section-desc {
  font-size: 14px;
  color: #888;
}

.contact-container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.contact-left {
  flex: 0 0 520px;
}

.contact-right {
  flex: 1;
}

.contact-info {
  margin-top: 40px;
}

.contact-info-item {
  margin-bottom: 36px;
}

.contact-info-label {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-info-label i {
  color: #1e5aa8;
  font-size: 18px;
}

.contact-info-value {
  font-size: 15px;
  color: #555;
  padding-left: 26px;
}

.contact-info-value.phone {
  font-size: 22px;
  font-weight: 700;
  color: #1e5aa8;
  letter-spacing: 1px;
}

/* 二维码区域 */
.contact-qrcodes {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  padding-left: 26px;
}

.qrcode-item {
  text-align: center;
}

.qrcode-img {
  width: 110px;
  height: 110px;
  /*border: 1px solid #e0e0e0;*/
  border-radius: 6px;
  padding: 6px;
  background: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 渐变背景：左上角 → 右下角 45deg */
  background: linear-gradient(135deg, #0000FF, #00FFFF);
  padding:2px; /* 这个值 = 边框粗细 */
  border-radius:0;
}

.qrcode-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qrcode-label {
  font-size: 13px;
  color: #666;
}

/* 地图区域 */
.contact-map {
  width: 100%;
  height: 580px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-map-placeholder {
  width: 100%;
  height: 100%;
}

.contact-map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ========== 留言咨询区域 ========== */
.message-section {
  padding: 80px 0;
  background: #f8f9fb;
}

.message-container {
  width: 1400px;
  margin: 0 auto;
}

.message-section-header {
  margin-bottom: 50px;
}

.message-section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 14px;
  display: inline-block;
}

.message-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1e5aa8 0%, #4a9eff 100%);
  border-radius: 2px;
}

.message-section-desc {
  font-size: 14px;
  color: #888;
}

.message-form {
  background: #fff;
  padding: 50px 60px;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.form-row {
  display: flex;
  gap: 40px;
  margin-bottom: 28px;
}

.form-group {
  flex: 1;
}

.form-label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  margin-bottom: 10px;
}

.form-label .required {
  color: #e74c3c;
  margin-left: 4px;
}

.form-input {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  background: #fafafa;
  transition: all 0.3s;
  outline: none;
}

.form-input:focus {
  border-color: #1e5aa8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 90, 168, 0.1);
}

.form-textarea {
  width: 100%;
  min-height: 140px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  background: #fafafa;
  transition: all 0.3s;
  outline: none;
  resize: vertical;
  font-family: inherit;
}

.form-textarea:focus {
  border-color: #1e5aa8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 90, 168, 0.1);
}

/* 验证码 */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.captcha-row .form-group {
  flex: 0 0 280px;
}

.captcha-img {
  height: 46px;
  width: 140px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #1e5aa8;
  font-style: italic;
  user-select: none;
  margin-top: 34px;
}

.captcha-refresh {
  font-size: 13px;
  color: #1e5aa8;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 30px;
}

.captcha-refresh:hover {
  text-decoration: underline;
}

/* 提交按钮 */
.form-submit-row {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 50px;
  background: linear-gradient(135deg, #1e5aa8 0%, #2a74d4 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 2px;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 90, 168, 0.35);
}

.form-submit-btn i {
  font-size: 18px;
}

/* ========== Vision ========== */
.vision {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
}

.vision-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.vision-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vision-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.vision-content {
  position: relative;
  z-index: 2;
  width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.vision-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 4px;
}

/* 响应式 */
@media (max-width: 1440px) {
  .contact-container,
  .message-container,
  .contact-banner-content,
  .vision-content {
    width: 92%;
  }
}

@media (max-width: 1024px) {
  .contact-container {
    flex-direction: column;
  }
  .contact-left {
    flex: none;
    width: 100%;
  }
  .contact-right {
    width: 100%;
  }
  .contact-map {
    width: 100%;
  }
  .form-row {
    flex-direction: column;
    gap: 28px;
  }
}