.header-actions-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-contact {
  color: var(--purple);
  font-size: 15px;
  font-weight: 800;
  position: relative;
}

.header-contact::after {
  background: var(--gold);
  content: "";
  height: 3px;
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  transform: scaleX(0);
  transition: transform .16s;
}

.header-contact:hover::after,
.header-contact:focus-visible::after {
  transform: scaleX(1);
}

.header-contact:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 7px;
}

.contact-section {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  border-top: 4px solid var(--gold);
  border-radius: 28px;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 38px;
  align-items: start;
  margin-top: 18px;
  margin-bottom: 30px;
  padding: 44px;
}

.contact-copy {
  color: #fff;
  padding: 12px 2px;
}

.contact-kicker {
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 850;
}

.contact-kicker span {
  background: var(--gold);
  width: 26px;
  height: 3px;
}

.contact-copy h2 {
  letter-spacing: -.035em;
  margin: 15px 0 14px;
  font-size: clamp(34px, 4.3vw, 46px);
  font-weight: 850;
  line-height: 1.02;
}

.contact-copy > p {
  color: #eee5f2;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.contact-details {
  border-top: 1px solid #f1b91d80;
  display: grid;
  gap: 12px;
  margin-top: 27px;
  padding-top: 22px;
}

.contact-details a {
  display: grid;
  gap: 2px;
}

.contact-details strong {
  color: var(--gold);
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: 11px;
}

.contact-details span {
  font-size: 16px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.contact-form-card {
  background: #fff;
  border: 1px solid #e5dce8;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 16px 38px #1905263d;
}

.contact-form-card h3 {
  color: var(--purple);
  margin: 0 0 5px;
  font-size: 26px;
  font-weight: 850;
}

.contact-form-card > p {
  color: #655c69;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: #fff;
  border: 1px solid #d9cedf;
  border-radius: 11px;
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  color: var(--ink);
}

.form-field textarea {
  min-height: 138px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--purple);
  outline: 3px solid #f1b91d40;
}

.form-field [aria-invalid="true"] {
  border-color: #a51e38;
}

.field-error {
  color: #9a1732;
  font-size: 12px;
  font-weight: 750;
}

.form-alert {
  border-radius: 11px;
  margin: 0 0 17px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 750;
}

.form-alert.success {
  background: #e7f6ed;
  border: 1px solid #b9dfc8;
  color: #195b35;
}

.form-alert.error {
  background: #fff0f2;
  border: 1px solid #efc1ca;
  color: #841b31;
}

.form-note {
  color: #6b626f;
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
}

.required {
  color: #9a1732;
}

.form-submit {
  border: 0;
  cursor: pointer;
  justify-self: start;
  min-width: 170px;
}

.honeypot {
  clip: rect(1px, 1px, 1px, 1px) !important;
  height: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

@media (width <= 820px) {
  .contact-section {
    grid-template-columns: 1fr;
    padding: 38px;
  }

  .contact-copy {
    padding: 0;
  }

  .contact-copy > p {
    max-width: 620px;
  }
}

@media (width <= 560px) {
  .header-inner {
    gap: 8px;
  }

  .header-actions-nav {
    gap: 10px;
  }

  .header-contact {
    font-size: 12px;
  }

  .brand {
    width: 276px;
    max-width: calc(100% - 168px);
  }

  .header-actions-nav .button-small {
    min-width: 82px;
    padding: 0 10px;
  }

  .contact-section {
    border-radius: 20px;
    gap: 25px;
    margin-top: 16px;
    margin-bottom: 20px;
    padding: 26px 20px;
  }

  .contact-copy h2 {
    font-size: 34px;
  }

  .contact-form-card {
    border-radius: 16px;
    padding: 22px 17px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-submit {
    width: 100%;
  }
}

@media (width <= 390px) {
  .header-actions-nav .button-small {
    display: none;
  }

  .brand {
    max-width: calc(100% - 76px);
  }

  .header-contact {
    font-size: 13px;
  }
}
