/* MEGAHOST: homepage contact popup */
.mh-contact { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.mh-contact[hidden], .mh-contact [hidden] { display: none !important; }
html.mh-contact-open, html.mh-contact-open body { overflow: hidden; }
.mh-contact__overlay { position: absolute; inset: 0; background: rgba(20, 30, 45, .55); }
.mh-contact__dialog { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: #fff; border-radius: 16px; padding: 40px 40px 32px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  font-family: inherit; color: #23394f; }
.mh-contact__close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; background: none;
  font-size: 30px; line-height: 1; color: #8a96a3; cursor: pointer; border-radius: 50%; }
.mh-contact__close:hover, .mh-contact__close:focus-visible { color: #23394f; background: #f3f5f8; }
.mh-contact__title { font-size: 26px; line-height: 1.25; font-weight: 500; margin: 0 32px 10px 0; }
.mh-contact__lead { font-size: 15px; color: #60707f; margin: 0 0 24px; }
.mh-contact__field { margin-bottom: 18px; }
.mh-contact__label { display: block; font-size: 14px; margin-bottom: 6px; }
.mh-contact__req { color: #e2504c; }
.mh-contact__input { width: 100%; box-sizing: border-box; border: 1px solid #dde3ea; border-radius: 8px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: inherit; background: #fff; transition: border-color .15s; }
.mh-contact__input:focus { outline: none; border-color: var(--theme-base-color, #2278d8); box-shadow: 0 0 0 3px rgba(34, 120, 216, .15); }
.mh-contact__input[aria-invalid="true"] { border-color: #e2504c; }
.mh-contact__textarea { resize: vertical; min-height: 120px; }
.mh-contact__hint { font-size: 13px; color: #8a96a3; margin-top: 4px; }
.mh-contact__error { font-size: 13px; color: #e2504c; margin-top: 4px; min-height: 0; }
.mh-contact__error:empty { display: none; }
.mh-contact__consent label { font-size: 14px; display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.mh-contact__consent input { margin-top: 3px; flex: none; }
.mh-contact__trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.mh-contact__status { color: #e2504c; font-size: 14px; margin-bottom: 12px; }
.mh-contact__status:empty { display: none; }
.mh-contact__submit { width: 100%; }
.mh-contact__submit[disabled] { opacity: .7; cursor: wait; }
.mh-contact__success { text-align: center; padding: 12px 0 4px; }
.mh-contact__success-title { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.mh-contact__success p { color: #60707f; margin: 0 0 24px; }
@media (max-width: 600px) {
  .mh-contact { padding: 0; align-items: flex-end; }
  .mh-contact__dialog { max-width: none; max-height: 100vh; border-radius: 16px 16px 0 0; padding: 32px 20px 24px; }
  .mh-contact__title { font-size: 22px; }
}
