/* ==========================================================================
   联系我们页 (contact page)
   ========================================================================== */

.contact-page .second-banner {
  width: 100%;
  padding-top: 23.96%;
  height: 0;
  position: relative;
  background-image: url("../../home/images/vulnerability/banner_contact_us.webp");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.contact-page .second-banner .second-banner-letter {
  position: absolute;
  inset: 0;
  width: auto;
  left: 0;
  top: 0;
  transform: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-left: clamp(40px, 13.02%, 250px);
  padding-top: 8.18vw;
  max-width: 65%;
  box-sizing: border-box;
}

.contact-page .banner-letter-big {
  font-size: clamp(26px, 3.125vw, 60px);
  font-weight: 500;
  line-height: 100%;
  /* letter-spacing: clamp(2px, 0.42vw, 8px); */
  color: #ffffff;
}

.contact-page .banner-letter-sm2 {
  font-size: clamp(13px, 1.15vw, 22px);
  font-weight: normal;
  line-height: 150%;
  /* letter-spacing: 1px; */
  color: #ffffff;
  margin-top: clamp(12px, 1.04vw, 20px);
}

.contact-page .vulnerability-report {
  padding: clamp(30px, 2.4vw, 46px) 0 clamp(60px, 6.78vw, 130px);
  background: #fff;
}

.contact-page .vulnerability-report-content {
  padding: 0 clamp(16px, 13.02vw, 250px);
}

.contact-section-header {
  position: relative;
  text-align: center;
  margin-bottom: clamp(26px, 3.65vw, 70px);
}

.contact-bg-title {
  user-select: none;
  pointer-events: none;
  margin-bottom: -20px;
  font-family: DIN OT;
  font-size: clamp(50px, 6.46vw, 124px);
  font-weight: bold;
  line-height: 100%;
  letter-spacing: 0.03em;
  color: #f3f3f3;
}

.contact-main-title {
  margin-bottom: clamp(10px, 1.46vw, 28px);
  position: relative;
  z-index: 1;
  font-size: 40px;
  font-weight: bold;
  line-height: 100%;
  letter-spacing: 0em;
  color: #000000;
}

.contact-page .report-intro-text {
  font-size: clamp(12px, 1.15vw, 22px);
  font-weight: 350;
  line-height: 150%;
  text-align: center;
  letter-spacing: 1px;
  color: #666666;
}

.contact-form-container {
  width: 100%;
}

.contact-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.contact-form .form-group {
  margin: 0;
  padding: 0;
}

.contact-form .form-group-full {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: clamp(12px, 1.04vw, 20px);
  font-size: clamp(12px, 0.78vw, 16px);
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0em;
  color: #000000;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 14px;
  color: #333333;
  border: 1px solid #d7dce2;
  border-radius: 6px;
  box-sizing: border-box;
  background: #fff;
  transition: border-color 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #bbb;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #e8a020;
}

.form-textarea {
  resize: vertical;
  min-height: 300px;
}

.contact-form .form-submit {
  text-align: center;
  margin-top: 40px;
}

.submit-btn {
  display: inline-block;
  padding: 16px 60px;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 6px;
  background: #ffb407;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0px;
}

.submit-btn:hover {
  background: #d08f10;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 160, 32, 0.35);
}

.submit-btn:active {
  transform: translateY(0);
}

@media (max-width: 1240px) {
  .contact-page .vulnerability-report-content {
    width: 100%;
    padding: 0 20px;
  }

  .contact-bg-title {
    font-size: 56px;
  }
}

@media (max-width: 768px) {
  .contact-page .second-banner {
    height: auto;
    min-height: 400px;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
    background-image: url("../../home/images/vulnerability/banner_contact_us_mobile.webp");
    background-size: cover;
    background-position: center center;
  }

  .contact-page .second-banner::before {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 70%;
    flex-shrink: 0;
  }

  .contact-page .second-banner .second-banner-letter {
    position: static;
    inset: auto;
    max-width: 100%;
    padding: 20px 16px;
  }

  .contact-page .banner-letter-big {
    line-height: 150%;
  }

  .contact-bg-title {
    font-size: 40px;
    margin-bottom: -10px;
  }

  .contact-main-title {
    font-size: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }

  .submit-btn {
    padding: 12px 50px;
  }
}
