/* ==========================================================================
   12. Contact page
   ========================================================================== */

.contact-main {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 245, 138, .13), transparent 34%),
    radial-gradient(circle at 90% 80%, rgba(0, 245, 138, .07), transparent 32%),
    #050706;
  color: var(--white);
}

.contact-main::before {
  content: "";
  position: absolute;
  top: -240px;
  right: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(0, 245, 138, .09);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(0, 245, 138, .025),
    0 0 0 140px rgba(0, 245, 138, .018);
  pointer-events: none;
}

.contact-main .container {
  position: relative;
  z-index: 1;
}

.contact-copy {
  padding-right: clamp(0px, 4vw, 54px);
}

.contact-copy h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.04em;
}

.contact-copy > p {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: 17px;
  line-height: 1.65;
}

.contact-benefits {
  display: grid;
  gap: 18px;
  max-width: 590px;
  margin-top: 38px;
}

.contact-benefits article {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
}

.contact-benefits article > span {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border: 1px solid rgba(0, 245, 138, .4);
  border-radius: 50%;
  background: rgba(0, 245, 138, .12);
}

.contact-benefits article > span::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 10px;
  height: 6px;
  border-bottom: 2px solid var(--green);
  border-left: 2px solid var(--green);
  transform: rotate(-45deg);
}

.contact-benefits h2 {
  margin: 0;
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
}

.contact-benefits p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
  line-height: 1.5;
}

.contact-assurance {
  max-width: 590px;
  margin-top: 34px;
  padding: 20px 22px;
  border: 1px solid rgba(0, 245, 138, .26);
  border-radius: 10px;
  background: rgba(0, 245, 138, .07);
}

.contact-assurance strong {
  display: block;
  color: var(--green);
  font-size: 14px;
  line-height: 1.4;
}

.contact-assurance p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, .67);
  font-size: 12px;
  line-height: 1.55;
}

.contact-form-card {
  max-width: 570px;
  margin-left: auto;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(0, 245, 138, .18);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .36);
  scroll-margin-top: 100px;
}

.contact-form-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.contact-form-card > h2 {
  max-width: 430px;
  margin: 0;
  color: #101922;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.contact-form-card > p {
  margin: 14px 0 28px;
  color: #69756f;
  font-size: 14px;
  line-height: 1.55;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: #25312b;
  font-size: 12px;
  font-weight: 800;
}

.form-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid #dbe3de;
  border-radius: 8px;
  outline: 0;
  background: #f8faf9;
  color: #101922;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-field input::placeholder {
  color: #9aa49f;
}

.form-field input:focus {
  border-color: var(--green-dark);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 186, 106, .11);
}

.contact-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 2px;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: .7;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-privacy {
  margin: -5px 0 0;
  color: #8b9690;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.contact-privacy a {
  color: #65736c;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form-status {
  min-height: 18px;
  margin: -6px 0 0;
  color: #a33a3a;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.contact-form-status.is-success {
  color: #007d4d;
}

@media (max-width: 991px) {
  .contact-main {
    padding: 68px 0 76px;
  }

  .contact-copy {
    padding-right: 0;
  }

  .contact-form-card {
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 560px) {
  .contact-main {
    padding: 54px 0 62px;
  }

  .contact-copy h1 {
    font-size: 36px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

}
