.swiper-container {
  width: 100%;
  height: 100%;
}
.swiper-slide img {
  width: 100%;
  height: auto;
  min-height: 100%;
} /* 顶部Banner */
.banner {
  background-color: #000;
  color: #fff;
  /* padding: 80px 0; */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: url("./image/jpsm.jpg") no-repeat center/cover; */
  /* opacity: 0.2; */
  z-index: 0;
}

.banner-content {
  position: relative;
  z-index: 1;
  height: 500px;
}
.banner-txt {
  position: absolute;
  top: 40%;
  width: 100%;
  text-align: center;
  z-index: 99;
}

.banner h1 {
  font-size: 32px;
  margin-bottom: 15px;
}

.banner p {
  color: #ccc;
  font-size: 14px;
  /* max-width: 600px; */
  /* margin: 0 auto 30px; */
}
/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "微软雅黑", "Microsoft YaHei", Arial, sans-serif;
}
/* 主容器：关键！设置align-items: stretch让子元素等高 */
.container {
  max-width: 1200px;
  margin: 0px auto;
  display: flex;
  gap: 50px;
  align-items: stretch; /* 核心：左右区域高度强制一致 */
  padding: 58px 0;
}

/* 左侧核心区域（高度自适应，右侧跟随） */
.left-section {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.left-section h1 {
  font-size: 32px;
  color: #333;
  line-height: 1.6;
  font-weight: 700;
}
.company-info-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex: 1; /* 占满剩余高度，保证布局稳定 */
}
.company-item {
  flex: 1;
}
.company-item h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 12px;
  font-weight: 700;
}
.company-item .label {
  font-size: 14px;
  color: #999;
  margin-bottom: 8px;
}
.company-item .phone {
  font-size: 20px;
  color: #e53935;
  font-weight: 700;
  margin-bottom: 12px;
}
.company-item .address-label {
  font-size: 14px;
  color: #999;
  margin-bottom: 8px;
}
.company-item .address {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}
.qrcode-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.qrcode-container img {
  width: 100px;
  height: 100px;
  border: 1px solid #fff;
  /* margin-bottom: 6px; */
}
.qrcode-container p {
  font-size: 14px;
  color: #666;
  margin-left: 22px;
}

/* 右侧表单区域：强制占满高度，匹配左侧 */
.right-section {
  flex: 1;
  display: flex; /* 让表单卡片拉伸至父元素高度 */
}
.form-card {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  width: 100%; /* 占满右侧宽度 */
  display: flex;
  flex-direction: column; /* 表单内容垂直分布 */
  justify-content: space-between; /* 内容均匀分布，避免挤压 */
}
.form-card h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 45px;
  font-weight: 500;
}
/* 表单内容容器：占满中间高度 */
.form-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 内容垂直居中，视觉更协调 */
}
.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}
.form-group {
  width: 100%;
}
.form-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: border-color 0.3s;
}
.form-input:focus {
  border-color: #165dff;
}
.verify-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto; /* 提交区域靠下，布局更合理 */
}
.verify-code {
  width: 120px;
  height: 38px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
}
.submit-btn {
  padding: 8px 15px;
  background-color: #e53935;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s;
}
.submit-btn:hover {
  background-color: #c62828;
}

/* 小屏响应式：仍保持等高 */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 20px; /* 小屏上下布局，间距缩小 */
  }
  .left-section,
  .right-section {
    flex: none;
    width: 100%;
  }
  .company-info-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .form-row {
    flex-direction: column;
    gap: 15px;
  }
  .verify-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .verify-code {
    width: 100%;
    height: 45px;
  }
  .submit-btn {
    width: 100%;
    padding: 12px 0;
    margin-top: 10px;
  }
}
.contact-qrcode-img {
  position: relative;
  overflow: hidden;
}
.contact-qrcode-img::before,
.contact-qrcode-img::after {
  content: "";
  display: block;
  position: absolute;
  left: 1px;
  right: 1px;
  height: 62%;
  z-index: 1;
}
.contact-qrcode-img::before {
  bottom: 100%;
  background: linear-gradient(to bottom, rgba(255, 191, 164, 0), #d4042c);
}
.contact-qrcode-img.actived::before {
  transform: translateY(270%);
  transition: transform 1.5s;
}
.contact-qrcode-img::after {
  top: 100%;
  background: linear-gradient(to top, rgba(255, 191, 164, 0), #d4042c);
}
.contact-qrcode-img.actived::after {
  transition: transform 1.5s 1.5s;
  transform: translateY(-270%);
}
