.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

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

.contact-field {
  display: grid;
  gap: 0.45rem;
}

.contact-field label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
}

.contact-field input,
.contact-field textarea,
.contact-field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  padding: 0.9rem 1rem;
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.contact-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.1);
}

.contact-field option {
  color: #11100f;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.contact-form button[disabled] {
  cursor: wait;
  opacity: 0.58;
}

.contact-form-status {
  min-height: 1.4rem;
  margin: 0;
  font-size: 0.9rem;
}

.contact-form-status[data-state="success"] {
  font-weight: 600;
}

.contact-form-status[data-state="error"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.contact-form-fallback {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  opacity: 0.78;
}

.contact-form-fallback a {
  color: inherit;
}

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.turnstile-shell {
  min-height: 0;
}

@media (max-width: 720px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}
