.shared-contact {
  width: min(560px, 100%);
  margin: 58px auto 0;
  padding-top: 34px;
  border-top: 1px solid rgba(153, 11, 8, 0.18);
  text-align: left;
}

.shared-contact h2 {
  margin: 0 0 24px;
  color: #990b08;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  text-align: center;
}

.shared-contact-form {
  display: grid;
  gap: 9px;
}

.shared-contact-form label {
  color: #4f4f4f;
  font-size: 0.94rem;
  font-weight: 700;
}

.shared-contact-form input,
.shared-contact-form textarea {
  width: 100%;
  margin: 0 0 8px;
  padding: 12px 14px;
  border: 1px solid rgba(153, 11, 8, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  color: #252525;
  font: inherit;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.shared-contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.shared-contact-form input:focus,
.shared-contact-form textarea:focus {
  border-color: #990b08;
  box-shadow: 0 0 0 3px rgba(153, 11, 8, 0.10);
}

.shared-contact-form button {
  justify-self: center;
  margin-top: 8px;
  padding: 11px 24px;
  border: 0;
  border-radius: 999px;
  background: #990b08;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 150ms ease, transform 150ms ease;
}

.shared-contact-form button:hover,
.shared-contact-form button:focus-visible {
  background: #750805;
  transform: translateY(-1px);
}

.shared-contact-status {
  margin: 0 0 20px;
  padding: 11px 14px;
  border-radius: 9px;
  text-align: center;
}

.shared-contact-status.success {
  background: #e8f5eb;
  color: #245c31;
}

.shared-contact-status.error {
  background: #f9e7e7;
  color: #8a1714;
}

.shared-contact-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
