.stm-contact-section {
  --stm-gold: #f4bc31;
  box-sizing: border-box;
  padding: 38px 0;
  border-block: 1px solid #4b3815;
  background: radial-gradient(ellipse at 32% 47%, #131619 0%, #0b0d0f 72%);
  color: #f2f2f2;
}

.stm-contact-section *,
.stm-contact-section *::before,
.stm-contact-section *::after {
  box-sizing: border-box;
}

.stm-contact-section .hd-contact-grid {
  display: grid;
  width: min(1150px, calc(100% - 56px));
  max-width: 1150px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 28px;
  margin-inline: auto;
}

.stm-contact-copy {
  padding: 18px 30px 18px 12px;
  border-right: 1px solid #5a451c;
}

.stm-contact-copy .hd-contact-eyebrow {
  margin: 0 0 9px;
  color: var(--stm-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.stm-contact-copy h2 {
  margin: 0;
  color: #f2f2f2;
  font-size: clamp(26px, 3vw, 35px);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.2;
}

.stm-contact-accent {
  display: block;
  width: 35px;
  height: 3px;
  margin: 15px 0;
  border-radius: 3px;
  background: var(--stm-gold);
}

.stm-contact-description {
  max-width: 320px;
  margin: 0;
  color: #96999e;
  font-size: 12px;
  line-height: 1.65;
}

.stm-contact-custom-copy {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.stm-contact-custom-copy__item {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.stm-contact-retention {
  max-width: 320px;
  margin: 10px 0 0;
  color: #c8cbd0;
  font-size: 14px;
  line-height: 1.55;
}

.stm-contact-section .hd-contact-form {
  --hd-contact-accent: var(--stm-gold);
  --hd-contact-border: #303236;
  --hd-contact-surface: #0d0f11;
  --hd-contact-gap: 11px;
  width: 100%;
  padding: 17px 19px 15px;
  border: 1px solid #2d2f32;
  border-radius: 13px;
  background: linear-gradient(145deg, #17191b, #111315);
  box-shadow: 0 6px 20px rgb(0 0 0 / 15%);
  color: #f2f2f2;
}

.stm-contact-section .hd-contact-form__topline {
  align-items: start;
  gap: 18px;
}

.stm-contact-section .hd-contact-form__topline > label {
  width: 145px;
  max-width: 50%;
}

.stm-contact-section .hd-contact-form label:not(.hd-contact-form__choice),
.stm-contact-section .hd-contact-form legend {
  color: #e7e7e7;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.stm-contact-section .hd-contact-form label:not(.hd-contact-form__choice) {
  gap: 5px;
}

.stm-contact-section .hd-contact-form legend {
  margin-bottom: 5px;
}

.stm-contact-section .hd-contact-form input:not([type="radio"]),
.stm-contact-section .hd-contact-form select,
.stm-contact-section .hd-contact-form textarea {
  min-height: 35px;
  padding: 8px 10px;
  border: 1px solid #303236;
  border-radius: 5px;
  background: #0d0f11;
  color: #f5f5f5;
  font-size: 12px;
}

.stm-contact-section .hd-contact-form input:focus-visible,
.stm-contact-section .hd-contact-form select:focus-visible,
.stm-contact-section .hd-contact-form textarea:focus-visible {
  outline: none;
  border-color: var(--stm-gold);
  box-shadow: 0 0 0 2px rgb(244 188 49 / 18%);
}

.stm-contact-section .hd-contact-form fieldset {
  min-width: 0;
}

.stm-contact-section .hd-contact-form__choices {
  align-items: center;
  gap: 12px;
}

.stm-contact-section .hd-contact-form__choice {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #ddd;
  font-size: 12px;
}

.stm-contact-section .hd-contact-form__choice input {
  margin: 0;
  accent-color: var(--stm-gold);
}

.stm-contact-section .hd-contact-form [data-contact-fields] {
  gap: 11px;
}

.stm-contact-section .hd-contact-form__two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 13px;
}

.stm-contact-section .hd-contact-form textarea {
  min-height: 70px;
  resize: vertical;
}

.stm-contact-section .hd-contact-form small,
.stm-contact-section .hd-contact-form__topline p {
  color: #96999e;
  font-size: 11px;
  line-height: 1.55;
}

.stm-contact-section .hd-contact-form__status {
  margin: 0;
  color: #96999e;
}

.stm-contact-section .hd-contact-form__status:empty {
  display: none;
}

.stm-contact-section .hd-contact-form__status[data-kind="error"] {
  color: #ffb3b3;
}

.stm-contact-section .hd-contact-form__status[data-kind="success"] {
  color: #b8ebc2;
}

.stm-contact-section .hd-contact-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  justify-self: end;
  min-height: 36px;
  padding: 9px 19px;
  border: 1px solid #cf9725;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffdd72 0%, #f3bc35 63%, #d99a1f 100%);
  box-shadow: 0 2px 9px rgb(249 183 38 / 18%);
  color: #16120a;
  font-size: 12px;
  font-weight: 800;
}

.stm-contact-section .hd-contact-form__submit:hover {
  filter: brightness(1.08);
}

.stm-contact-section .hd-contact-form__submit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .stm-contact-section {
    padding: 30px 0;
  }

  .stm-contact-section .hd-contact-grid {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .stm-contact-description {
    max-width: 100%;
  }

  .stm-contact-section .hd-contact-form {
    padding: 16px;
  }
}

@media (max-width: 440px) {
  .stm-contact-section .hd-contact-form__two-col {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .stm-contact-section .hd-contact-form__topline {
    flex-wrap: wrap;
  }
}
