/* 联系我们 独立页面样式，基于 pages/Touch.vue 中的 scoped SCSS 改写 */

.contact-page {
  background-color: #fff;
}

.contact-page .headerTitle {
  margin-bottom: 55px;
}

.contact-page .headerTitle .chinese-text {
  font-size: 32px;
  font-family: 'OPPOSANS-B', 'Microsoft YaHei', sans-serif;
  font-weight: 400;
  text-align: left;
  color: #0e0f11;
  margin-bottom: 16px;
  margin: auto;
}

.contact-page .headerTitle .chinese-text h1 {
  font-size: 32px;
}

.contact-page .headerTitle .english-text {
  font-size: 18px;
  font-family: 'Roboto-Regular', Arial, sans-serif;
  font-weight: 500;
  text-align: left;
  color: #474de3;
  margin: auto;
}

.contact-page .contact-banner {
  margin-top: 180px;
  width: 100%;
  height: auto;
  margin-bottom: 60px;
}

.contact-page .contact-banner img {
  width: 100%;
  height: 100%;
}

.contact-page .contact_us .us {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px;
}

.contact-page .contact_us .swhz .title,
.contact-page .contact_us .zxns .title {
  display: flex;
  margin-bottom: 23px;
}

.contact-page .contact_us .swhz .title img,
.contact-page .contact_us .zxns .title img {
  width: 30px;
  height: 20px;
  margin: 4px 12px 0 0;
}

.contact-page .contact_us .swhz .title h3,
.contact-page .contact_us .zxns .title h3 {
  font-size: 30px;
  font-family: 'Source-Han-Sans-CN', 'Microsoft YaHei', sans-serif;
  font-weight: 500;
  text-align: left;
  color: #0e0f11;
  margin: 0;
  letter-spacing: 1px;
}

.contact-page .contact_us .card {
  height: 325px;
  border: 1px solid #d7d9e9;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 20px 10%;
  box-sizing: border-box;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-page .contact_us .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-page .contact_us .card .info .titles {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.contact-page .contact_us .card .info .titles img {
  width: 34px;
  height: 34px;
  margin-right: 8px;
}

.contact-page .contact_us .card .info .titles h3 {
  font-size: 20px;
  font-family: 'PingFang HK', 'Microsoft YaHei', sans-serif;
  font-weight: 400;
  text-align: left;
  color: #0e0f11;
  margin: 0;
}

.contact-page .contact_us .card .info p {
  font-size: 22px;
  font-family: 'PingFang HK', 'Microsoft YaHei', sans-serif;
  font-weight: 400;
  text-align: left;
  color: #888888;
}

.contact-page .company {
  margin-top: 110px;
}

.contact-page .company-map-marker {
  width: 100%;
}

.contact-page .company .map-container {
  border-radius: 6px;
  overflow: hidden;
}

.contact-page .cooperative_form {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 58px;
  margin-top: 166px;
  margin-bottom: 80px;
}

.contact-page .cooperative_form .addImg {
  width: 100%;
}

.contact-page .cooperative_form .addImg img {
  width: 100%;
  transition: all 0.3s;
}

.contact-page .cooperative_form .addImg img:hover {
  transform: scale(1.02);
}

.contact-page .contact-form label {
  font-size: 14px;
  font-weight: 600;
  color: #2d3a4b;
  display: block;
  margin-bottom: 6px;
}

.contact-page .contact-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.contact-page .contact-form .form-item {
  margin-bottom: 20px;
}

.contact-page .contact-form input,
.contact-page .contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 18px;
  border-radius: 4px;
  border: 1px solid #dcdfe6;
  font-size: 16px;
  font-family: 'PingFang HK', 'Microsoft YaHei', sans-serif;
  color: #000;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-page .contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-page .contact-form input:focus,
.contact-page .contact-form textarea:focus {
  border-color: #475ced;
  box-shadow: 0 0 0 1px rgba(71, 92, 237, 0.2);
}

.contact-page .contact-form .error-message {
  margin-top: 4px;
  font-size: 13px;
  color: #f56c6c;
}

.contact-page .contact-form .submite_btn {
  display: flex;
  justify-content: center;
}

.contact-page .contact-form .submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 16px;
  width: 65%;
  height: 68px;
  background: #475ced;
  border-radius: 34px;
  margin: 26px auto 0;
  color: #fff;
  transition: all 0.3s;
}

.contact-page .contact-form .submit-btn:hover {
  transform: translateY(-8px);
  background-color: #302743;
}

.contact-page .contact-form .submit-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-page .dialog {
  max-width: 420px;
  margin: 0 auto;
  padding: 24px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.contact-page .dialog-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.contact-page .dialog-icon.success {
  color: #67c23a;
}

.contact-page .dialog-icon.error {
  color: #f56c6c;
}

.contact-page .dialog p {
  font-size: 16px;
  color: #333;
}

.contact-page .dialog .dialog-footer {
  margin-top: 18px;
}

.contact-page .dialog .dialog-footer button {
  min-width: 96px;
  height: 36px;
  border-radius: 4px;
  border: none;
  background: #475ced;
  color: #fff;
  cursor: pointer;
}

.contact-page .dialog-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

@media (max-width: 992px) {
  .contact-page .contact-banner {
    margin-bottom: 30px;
  }

  .contact-page .headerTitle {
    margin-bottom: 20px;
  }

  .contact-page .headerTitle .chinese-text {
    font-size: 24px;
  }

  .contact-page .headerTitle .english-text {
    font-size: 16px;
  }

  .contact-page .contact_us .us {
    gap: 20px;
  }

  .contact-page .contact_us .card {
    padding: 20px 10%;
    height: 225px;
  }

  .contact-page .contact_us .card .info .titles img {
    width: 24px;
    height: 24px;
  }

  .contact-page .contact_us .card .info .titles h3 {
    font-size: 16px;
  }

  .contact-page .contact_us .card .info p {
    font-size: 18px;
  }

  .contact-page .company {
    margin-top: 50px;
  }

  .contact-page .cooperative_form {
    margin-top: 30px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-page .contact-form .submit-btn {
    margin: 20px auto 30px;
  }

  .contact-page .cooperative_form .addImg {
    width: 80%;
    margin: auto;
  }
}

@media (max-width: 576px) {
  .contact-page .contact-banner {
    margin-top: 54px;
    margin-bottom: 10px;
  }

  .contact-page .headerTitle {
    margin-bottom: 10px;
  }

  .contact-page .headerTitle .chinese-text {
    font-size: 20px;
    text-align: center;
  }

  .contact-page .headerTitle .english-text {
    font-size: 14px;
    text-align: center;
  }

  .contact-page .contact_us .us {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-page .contact_us .card {
    padding: 10px 10%;
    height: 180px;
  }

  .contact-page .contact_us .card .info .titles {
    margin-bottom: 5px;
  }

  .contact-page .contact_us .card .info .titles img {
    width: 20px;
    height: 20px;
  }

  .contact-page .contact_us .card .info .titles h3 {
    font-size: 14px;
  }

  .contact-page .contact_us .card .info p {
    font-size: 16px;
  }

  .contact-page .company {
    margin-top: 20px;
  }

  .contact-page .cooperative_form {
    margin-top: 30px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-page .contact-form .submit-btn {
    height: 40px;
    font-size: 14px;
    margin: 10px auto 20px;
  }

  .contact-page .cooperative_form .addImg {
    width: 80%;
    margin: auto;
  }
}

