.er-contact-page {
  color: #0b2345;
}

.er-contact-main {
  padding-inline: 16px;
}

.er-contact-shell {
  width: 100%;
  border-color: #b9d9e9;
  background: #fbfeff;
  box-shadow: 0 20px 55px rgba(35, 75, 108, .14);
}

.er-contact-heading {
  margin-bottom: 20px;
  text-align: center;
}

.er-contact-shell .er-contact-heading h1 {
  margin: 0;
  color: #071d43;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.er-contact-shell .er-contact-heading .lead {
  max-width: 36ch;
  margin: 7px auto 0;
  color: #3e5c7c;
  font-size: .94rem;
  line-height: 1.45;
}

.er-contact-form {
  gap: 13px;
}

.er-contact-control {
  min-width: 0;
}

.er-contact-control textarea {
  display: block;
  width: 100%;
  min-height: 142px;
  padding: 11px 13px;
  resize: vertical;
  border: 1px solid #aec7da;
  border-radius: 10px;
  outline: none;
  color: #102947;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 1px 2px rgba(29, 65, 94, .04);
  font: inherit;
  font-size: .9rem;
  line-height: 1.5;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.er-contact-control textarea:hover {
  border-color: #7fa7c1;
  background: #fff;
}

.er-contact-control textarea:focus-visible {
  border-color: #087e69;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(9, 166, 111, .16);
}

.er-contact-message {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #a8dfca;
  border-radius: 10px;
  color: #067647;
  background: #effbf6;
  font-size: .88rem;
  line-height: 1.45;
}

@media (max-width: 600px) {
  .er-contact-main {
    padding-inline: 12px;
  }

  .er-contact-shell {
    margin: 24px auto 32px;
    padding: 22px 20px;
    border-radius: 20px;
  }

  .er-contact-shell .er-contact-heading h1 {
    font-size: 1.55rem;
  }

  .er-contact-shell .er-contact-heading .lead {
    max-width: 31ch;
    font-size: .82rem;
  }

  .er-contact-form {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .er-contact-control textarea {
    transition: none;
  }
}
