/* Consent checkbox and error text shared by the callback and contact forms */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin-top: 15px;
  font-size: 14px;
  line-height: 140%;
  color: #1B202A;
  cursor: pointer;
}

/* Materialize hides native checkboxes, so bring this one back */
.form-consent input[type="checkbox"] {
  position: static;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  opacity: 1;
  pointer-events: auto;
  appearance: auto;
}

.form-error {
  width: 100%;
  margin-top: 10px;
  font-size: 14px;
  line-height: 140%;
  color: #B3261E;
}

.contacts__form__title {
  width: 100%;
  margin-bottom: 20px;
}

/* The callback form sits on a blue background: consent goes under the input */
.gallYou__form {
  flex-wrap: wrap;
}

.gallYou__form .form-consent {
  flex: 0 0 100%;
  color: #fff;
}

.gallYou__form .form-error {
  flex: 0 0 100%;
  color: #FFD9D6;
}

/* Below 1150px only the phone stays in the top bar: banner, then phone, language on the right */
@media (max-width: 1150px) {
  .header__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
    align-items: center;
  }

  .header__top > .header__contacts {
    grid-column: 1;
    margin-right: 0;
  }

  .header__top > .header__contacts ~ .header__contacts {
    display: none;
  }

  .header__top > .header__ru {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

/* Long titles wrap, so a hidden dropdown cannot make the whole page scroll sideways */
@media (min-width: 1151px) {
  .header__menu__dropdown .header__menu__list {
    max-width: 320px;
  }

  .header__menu__dropdown .header__menu__list a {
    display: block;
    padding: 11px 0;
    line-height: 22px !important;
  }
}

/* Slide titles keep the case they are written in (the Center asked for no all-capital titles) */
.slider__title__h2 {
  text-transform: none;
}

/* Facts entered in Settings → "Markaz ma’lumotlari" */
.header__promo-period {
  font-size: 12px;
  margin-top: 4px;
}

.header__promo-terms {
  font-size: 12px;
  color: #042475;
  text-decoration: underline;
}

.numbers__as-of {
  margin-top: 20px;
  font-size: 14px;
  color: #8D9095;
}

.contacts__email-note {
  margin: -6px 0 10px;
  font-size: 14px;
  line-height: 140%;
  color: #8D9095;
}

.mri-promo {
  margin-top: 30px;
  padding: 20px 24px;
  background-color: #F1F4F6;
  font-size: 15px;
  line-height: 150%;
  color: #1B202A;
}

.mri-promo__title {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #042475;
}

.prices-info {
  padding-top: 30px;
  font-size: 15px;
  line-height: 160%;
  color: #1B202A;
}

.reviews__answer {
  margin-top: 16px;
  padding: 12px 16px;
  border-left: 3px solid #042475;
  background-color: #F1F4F6;
  font-size: 14px;
  line-height: 150%;
  color: #1B202A;
}

.news__description {
  margin-top: 10px;
  font-size: 14px;
  line-height: 140%;
  color: #8D9095;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  padding: 20px 0;
}
