/* 头部样式 */
.contact-header {
  height: 654px;
  background: url('https://qixiuu.oss-cn-hangzhou.aliyuncs.com/wayline3/images/contact.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 70px;
}

.contact-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.contact-bg {
  background: transparent;
}

.header-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.header-inner h1 {
  font-size: 36px;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.header-inner p {
  font-size: 14px;
  opacity: 0.9;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* 联系热线区域 */
.contact-hotline {
  padding: 35px 0;
  text-align: center;
  background-color: #f9f9f9;
}

.hotline-number {
  font-size: 30px;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 10px;
}

.hotline-title {
  font-size: 16px;
  color: #333333;
  margin-bottom: 15px;
}

.hotline-desc {
  font-size: 16px;
  color: #333333;
  margin-bottom: 15px;
}

.hotline-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.hotline-btn {
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.btn-online {
  border: 2px solid #ACACAC;
  color: #999999;
}

.btn-map {
  border: 2px solid #ACACAC;
  color: #999999;
}

/* 联系信息卡片区域 */
.contact-cards {
  padding: 0 0 40px;
  background-color: #F9F9F9;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.qrcode-card {
  background-color: white;
  border-radius: 5px;
  padding: 25px 20px;
  text-align: center;
  background: white;
}

.qrcode-card img {
  width: 195px;
  height: 195px;
  margin-bottom: 10px;
  border: 1px solid #f0f0f0;
  padding: 5px;
}

.qrcode-card h3 {
  font-weight: 500;
  font-size: 16px;
  color: #333333;
}

.qrcode-card p {
  font-size: 14px;
  color: #999999;
}

.info-card {
  background-color: white;
  border-radius: 5px;

}

.info-card-header {
  padding: 25px 20px;
  box-sizing: border-box;
}

.info-card-info h3,
.info-card h3 {
  font-size: 16px;
  color: #333333;
  ;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card-list .info-card-list-item {
  margin-bottom: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  background: white;
  padding: 30px;
  box-sizing: border-box;
}

.info-card-list-item img {
  width: 45px;
  height: 45px;
  margin-right: 40px;
}

.info-card-list .info-card-list-item:nth-child(2) {
  margin-bottom: 0px !important;
}

.info-card p {
  font-weight: bold;
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.info-card .business-icon {
  display: block;
  margin-top: auto;
  width: 100%;
  height: 214px;
}

.info-card-info ul,
.info-card ul {
  font-size: 14px;
  color: #999999;
}

.info-card-info ul li,
.info-card ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card-info ul li span:first-child,
.info-card ul li span:first-child {
  min-width: 70px;
}

.map-wrap {
  margin-top: 40px;
  width: 100%;
  position: relative;
  height: 360px;
}

.map-container {

  height: 360px;

  border-radius: 5px;
  overflow: hidden;
  background: transparent !important;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.container-wrap {
  position: relative;
}

.map-wrap .map-controls {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  width: 800px;
  height: 57px;
  padding: 0 7px;
  box-sizing: border-box;
  background: white;
  border-radius: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.map-control-btn {
  height: 43px;
  padding: 0 20px;
  line-height: 43px;
  font-size: 14px;
  background-color: var(--white);
  color: var(--primary-color);
  border-radius: 3px;
  cursor: pointer;
}

.map-active {
  background-color: var(--primary-color);
  color: var(--white);
}

/* 表单区域 */
.contact-form {
  padding: 0px 0 60px;
  background: url('https://qixiuu.oss-cn-hangzhou.aliyuncs.com/wayline3/images/form-bg.png') no-repeat;
  background-size: 100% 30%;

}

.form-title {
  padding-top: 40px;
  text-align: center;
  margin-bottom: 30px;
}

.form-title h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
  position: relative;
}
.form-title h2::after{
  position: absolute;
  left:50%;
  content:'';
  bottom: -10px;
  transform: translateX(-50%);
  width: 74px;
  height: 4px;
  background: var(--primary-color);
}
.form-title p {
  margin-top: 20px;
  font-size: 14px;
  color:  var(--primary-color);
  margin-bottom: 20px;
}

.form-container {
  background-color: white;
  border-radius: 5px;
  padding: 30px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.form-required {
  color: #ff4d4f;
  margin-right: 3px;
}

.form-control {
  width: 100%;
  padding: 10px 15px;
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

.textarea-control {
  height: 315px;
  resize: vertical;
  resize: none;
}

.submit-btn {
  display: block;
  margin-left: auto;
  width: 136px;
  padding: 12px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

/* CTA区域 */
.contact-cta {
  padding: 60px 0;
  background: linear-gradient(to bottom right, #165dff, #0f2137);
  color: white;
  text-align: center;
  position: relative;
}

.contact-cta::after {
  content: '';
  position: absolute;
  right: 15%;
  bottom: 0;
  width: 180px;
  height: 180px;
  background: url('https://qixiuu.oss-cn-hangzhou.aliyuncs.com/wayline3/images/drone.png') no-repeat;
  background-size: contain;
  opacity: 0.2;
}

.cta-title {
  font-size: 24px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 25px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  position: relative;
  z-index: 1;
}

.cta-btn {
  padding: 10px 30px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
}

.cta-primary {
  background-color: white;
  color: var(--primary-color);
}

.cta-secondary {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.info-wrap {
  width: 450px;
  background: #FFFFFF;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

.info-wrap::after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -20px;
  content: '';
  z-index: -1;
  width: 0;
  height: 0;
  /* 上边框有颜色，其他三边透明 */
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 40px solid #fff;
    opacity: 0.85;


}

.info-wrap img {
  width: 54px;
  height: 54px;
  margin-right: 20px;
}

.info-wrap .right .name {
  font-weight: bold;
  font-size: 20px;
  color: #0057C2;
  line-height: 35px;
}

.info-wrap .right .add {
  font-weight: 400;
  font-size: 16px;
  color: #333333;
}

/* 响应式适配 */
@media (max-width: 992px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-left,
  .footer-right {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .contact-hotline {
    padding: 25px 0;
  }

  .hotline-number {
    font-size: 24px;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

  .contact-cta::after {
    display: none;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .header-inner h1 {
    font-size: 28px;
  }

  .hotline-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hotline-btn {
    width: 100%;
  }

  .map-container {
    height: 250px;
  }

  .form-container {
    padding: 20px;
  }

  .contact-cta {
    padding: 40px 0;
  }

  .footer-top {
    flex-direction: column;
  }
}