.ta-contact-form-section {
  width: min(1120px, calc(100% - 40px));
  margin: clamp(64px, 9vw, 120px) auto;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid rgba(184, 150, 76, .38);
  background:
    radial-gradient(circle at 100% 0, rgba(116, 18, 45, .22), transparent 38%),
    linear-gradient(145deg, rgba(32, 18, 24, .98), rgba(13, 9, 11, .98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
}

.ta-contact-form-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.ta-contact-kicker {
  margin: 0 0 12px;
  color: #d8bd78;
  font-family: "Cinzel", Georgia, serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.ta-contact-form-heading h2 {
  margin: 0 0 14px;
  color: #f5ecdd;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
}

.ta-contact-form-heading > p:last-child,
.ta-contact-required {
  color: #c9bcad;
}

.ta-contact-grid-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ta-contact-field--full {
  grid-column: 1 / -1;
}

.ta-contact-field label {
  display: block;
  margin-bottom: 9px;
  color: #eadcc5;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ta-contact-optional {
  color: #9f9388;
  font-size: .68rem;
  font-weight: 500;
  text-transform: none;
}

.ta-contact-field input,
.ta-contact-field select,
.ta-contact-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(184, 150, 76, .38);
  border-radius: 0;
  outline: 0;
  background: rgba(8, 6, 7, .72);
  color: #f5ecdd;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.ta-contact-field textarea {
  min-height: 170px;
  resize: vertical;
}

.ta-contact-field select {
  color-scheme: dark;
}

.ta-contact-field input:focus,
.ta-contact-field select:focus,
.ta-contact-field textarea:focus {
  border-color: #d8bd78;
  background: rgba(15, 10, 12, .95);
  box-shadow: 0 0 0 3px rgba(216, 189, 120, .12);
}

.ta-contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  color: #c9bcad;
  font-size: .92rem;
  line-height: 1.55;
}

.ta-contact-consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #8b183b;
}

.ta-contact-consent a {
  color: #d8bd78;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ta-contact-required {
  margin: 12px 0 22px;
  font-size: .78rem;
}

.ta-contact-submit {
  min-height: 52px;
  padding: 14px 28px;
  border: 1px solid #bd9b4f;
  border-radius: 0;
  background: linear-gradient(135deg, #71132f, #9b1c45);
  color: #fff8eb;
  cursor: pointer;
  font-family: "Inter", Arial, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.ta-contact-submit:hover,
.ta-contact-submit:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 12px 34px rgba(184, 150, 76, .24);
}

.ta-contact-notice {
  margin: 0 0 26px;
  padding: 16px 18px;
  border-left: 3px solid #d8bd78;
  background: rgba(216, 189, 120, .09);
  color: #f5ecdd;
}

.ta-contact-notice--error {
  border-left-color: #bb3658;
  background: rgba(187, 54, 88, .1);
}

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

@media (max-width: 760px) {
  .ta-contact-form-section {
    width: min(100% - 24px, 1120px);
    padding: 28px 20px;
  }

  .ta-contact-grid-fields {
    grid-template-columns: 1fr;
  }

  .ta-contact-field--full {
    grid-column: auto;
  }

  .ta-contact-submit {
    width: 100%;
  }
}

/* Accessible server-verified CAPTCHA */
.ta-contact-captcha {
  margin-top: 24px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 160px);
  align-items: end;
  gap: 22px;
  border: 1px solid rgba(184, 150, 76, .38);
  background: rgba(8, 6, 7, .52);
}

.ta-contact-captcha__copy { min-width: 0; }
.ta-contact-captcha__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #d8bd78;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ta-contact-captcha__copy strong {
  display: block;
  color: #f5ecdd;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.3rem;
}
.ta-contact-captcha__copy small {
  display: block;
  margin-top: 4px;
  color: #a99b8d;
  line-height: 1.45;
}
.ta-contact-captcha .ta-contact-field input {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
}
@media (max-width: 760px) {
  .ta-contact-captcha {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}
