/* Scoped runtime styles for forms content-block plugin. */

.mg-toast-stack {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.mg-toast {
  min-width: min(380px, calc(100vw - 32px));
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(210, 49, 103, 0.22);
  background: rgba(20, 27, 45, 0.96);
  color: #fff;
  box-shadow: 0 20px 40px rgba(12, 18, 31, 0.24);
  font-size: 14px;
  line-height: 1.5;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform .2s ease, opacity .2s ease;
}

.mg-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.mg-toast--error {
  border-left: 4px solid #f705a6;
}

.mg-contact-section {
  margin: 64px 0 96px;
}

.mg-contact-section__shell {
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.mg-contact-section__info {
  height: 100%;
  padding: 48px 46px 48px 42px;
  background: #fff;
  color: #1b2233;
}

.mg-contact-section__title {
  margin: 0 0 18px;
  font-family: Teko, sans-serif;
  font-size: 54px;
  line-height: 0.95;
  font-weight: 600;
  text-transform: uppercase;
  color: #101522;
}

.mg-contact-section__title-line {
  width: 176px;
  height: 4px;
  margin-bottom: 20px;
  background: #db0e77;
}

.mg-contact-section__lead,
.mg-contact-section__bottom {
  color: #5e667c;
  font-size: 16px;
  line-height: 1.75;
}

.mg-contact-section__details {
  display: grid;
  gap: 14px;
  margin: 30px 0;
}

.mg-contact-section__detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mg-contact-section__detail-value {
  color: #5c657b;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.mg-contact-section__detail-icon {
  width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
}

.mg-contact-section__detail-icon img {
  max-width: 26px;
  max-height: 26px;
  object-fit: contain;
}

.mg-contact-section__socials {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 30px 0 28px;
}

.mg-contact-section__socials a {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}

.mg-contact-section__socials a:hover {
  transform: translateY(-3px);
}

.mg-contact-section__socials img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.mg-contact-section__form-card {
  padding: 32px 30px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.mg-contact-section__form-wrap {
  max-width: 420px;
  margin-left: auto;
}

.mg-contact-section__form-header {
  margin-bottom: 22px;
}

.mg-contact-section__form-title {
  color: #101522;
  font-family: Teko, sans-serif;
  font-size: 30px;
  line-height: 0.95;
  font-weight: 600;
  text-transform: uppercase;
}

.mg-contact-section__form-subtitle {
  margin-top: 8px;
  color: #677089;
  font-size: 14px;
  line-height: 1.6;
}

.mg-contact-section__form .form-group {
  margin-bottom: 14px;
}

.mg-contact-section__form .form-group > label {
  display: none;
}

.mg-contact-section__form .form-control {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 0;
  border-radius: 0;
  background: #f3f3f3;
  color: #1b2233;
  box-shadow: none;
  transition: background-color .2s ease, border-color .2s ease;
}

.mg-contact-section__form .form-control::placeholder {
  color: #8d95ab;
  opacity: 1;
}

.mg-contact-section__form textarea.form-control {
  min-height: 148px;
  resize: vertical;
}

.mg-contact-section__form .form-control:focus {
  border-color: #db0e77;
  box-shadow: none;
  background: #f3f3f3;
}

.mg-contact-section__form .form-control.is-invalid {
  border-color: #db0e77;
  background: #fff1f7;
}

.mg-contact-section__form .form-control.is-invalid::placeholder {
  color: #b4587f;
}

.mg-contact-section__submit {
  width: 100%;
  min-height: 52px;
  padding: 0 24px;
  margin-top: 8px;
  border-radius: 0;
  background: #db0e77;
  border-color: #db0e77;
  font-family: Teko, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mg-contact-section__submit:hover,
.mg-contact-section__submit:focus {
  background: #c40d6b;
  border-color: #c40d6b;
}

.mg-contact-section__submit.spinning,
.mg-contact-section__submit:disabled {
  cursor: wait;
  opacity: 0.9;
}

@media (max-width: 991px) {
  .mg-contact-section {
    margin: 40px 0 72px;
  }

  .mg-contact-section__info,
  .mg-contact-section__form-card {
    padding: 34px 24px;
  }

  .mg-contact-section__form-wrap {
    max-width: none;
    margin-left: 0;
  }

  .mg-contact-section__title {
    font-size: 42px;
  }

  .mg-contact-section__form-title {
    font-size: 34px;
  }
}
