.contact-form {
  max-width: 760px;
  margin: 0 auto;
}

.contact-form__intro {
  margin-bottom: 2rem;
}

.contact-form__required {
  margin-bottom: 1.5rem;
  color: #777;
  font-size: 0.9rem;
}

.contact-form__field {
  margin-bottom: 1.5rem;
}

.contact-form__field label,
.contact-form__legend {
  display: block;
  margin-bottom: 0.55rem;
  color: #333;
  font-weight: 600;
}

.contact-form__field input,
.contact-form__field textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
  color: #333;
  font: inherit;
  padding: 0.9rem 1rem;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: #dca23d;
  box-shadow: 0 0 0 2px rgb(220 162 61 / 18%);
  outline: none;
}

.contact-form__field textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form__hint,
.contact-form__counter {
  display: block;
  margin-top: 0.45rem;
  color: #777;
  font-size: 0.9rem;
}

.contact-form__counter {
  text-align: right;
}

.contact-form__consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  margin: 1.75rem 0;
}

.contact-form__consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
}

.contact-form__consent label {
  margin: 0;
  font-weight: 400;
}

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

.contact-form__submit {
  min-width: 180px;
  border: 0;
  border-radius: 999px;
  background: #dca23d;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 0.9rem 2rem;
  transition: opacity 160ms ease, transform 160ms ease;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
  opacity: 0.9;
  transform: translateY(-1px);
}

.contact-form__submit:disabled {
  cursor: wait;
  opacity: 0.55;
  transform: none;
}

.contact-form__status {
  min-height: 1.5rem;
  margin-top: 1rem;
  font-weight: 600;
}

.contact-form__status--success {
  color: #32733e;
}

.contact-form__status--error {
  color: #b3261e;
}

@media (max-width: 767px) {
  .contact-form__submit {
    width: 100%;
  }
}
