/* Точечные правки поверх шаблона донора. Новый блок сюда, не в style-index.css. */
:root {
  --main-blue: #1a5276;
  --main-light-gray-blue: #e7eef2;
}
.header { border-bottom: 3px solid #c4a35a; }
.main .main__wrapper {
  background-color: #e7eef2;
  box-shadow: inset 4px 0 0 #c4a35a;
}
.main .main__text {
  background: #1a5276 !important;
  color: #fff !important;
  border-radius: 8px !important;
}
.main__list .main__item:first-child {
  outline: 2px solid #1a5276;
  outline-offset: -2px;
}
.mb-jumps {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0;
  padding: 8px 16px;
  background: #f4f6f8;
  scrollbar-width: none;
}
main.wrapper { padding-top: 46px; }
@media (min-width: 768px) {
  .mb-jumps { top: 84px; }
}
#advantages, #contract, #questions, .form-reg {
  scroll-margin-top: 140px;
}
.mb-jumps::-webkit-scrollbar { display: none; }
.mb-jumps a {
  flex: 1 1 0;
  background: #fff;
  color: #1a5276;
  border: 1px solid #c5d4e0;
  border-radius: 999px;
  padding: 8px 6px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}
.mb-jumps a:last-child {
  background: #1a5276;
  color: #fff;
  border-color: #1a5276;
}
.header .header__logo { max-width: 14.5rem; margin-left: 0; }
.main .main__text--margin-bottom-100 { margin-bottom: 16px !important; }
.main .main__wrapper {
  min-height: 0 !important;
  justify-content: flex-start !important;
}
.main .main__img,
.about-us__card-img,
.benefits .benefits__img { display: none !important; }
.footer__social, .header .social, .form-reg__img { display: none !important; }
.area__filter-button { background: #1a5276 !important; border-color: #1a5276 !important; }
.header .header__logo img,
.footer__logo img { height: 44px; width: auto; max-width: none; }
.form-reg .form__item_text,
.popup-reg .form__item_text { display: none !important; }

#quiz {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  font-family: Inter, Arial, Helvetica, sans-serif;
}
#quiz[hidden] { display: none !important; }
#quiz .quiz__backdrop { position: absolute; inset: 0; background: rgba(18, 32, 44, .48); }
#quiz .quiz__panel {
  position: relative;
  width: min(440px, calc(100% - 24px));
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px 22px;
  max-height: min(90vh, 720px);
  overflow: auto;
  box-shadow: 0 18px 50px rgba(18, 58, 86, .25);
}
#quiz .quiz__x {
  position: absolute; right: 12px; top: 12px;
  border: 0; background: #e8eef3; width: 36px; height: 36px; border-radius: 8px;
  cursor: pointer; font-size: 20px; line-height: 1;
}
#quiz .quiz__step { color: #5c6b78; font-size: 13px; font-weight: 700; margin: 0 0 6px; }
#quiz .quiz__title { font-size: 22px; margin: 0 0 14px; color: #1a5276; }
#quiz .quiz__opts { display: grid; gap: 8px; }
#quiz .quiz__opt {
  text-align: left;
  background: #eef3f7;
  border: 0;
  border-radius: 10px;
  padding: 14px 16px;
  font-weight: 650;
  cursor: pointer;
  color: #1a5276;
  font: inherit;
}
#quiz .quiz__opt:hover { background: #dce7ef; }
#quiz .quiz__hint { color: #5c6b78; margin: 0 0 8px; }
#quiz .form-row { display: grid; gap: 8px; margin: 12px 0; }
#quiz input[type="text"],
#quiz input[type="tel"] {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  border: 1px solid #c5d0d8;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}
#quiz .quiz__cap { margin: 8px 0 4px; }
#quiz .quiz__cap label { display: grid; gap: 6px; font-size: 14px; color: #1a5276; }
#quiz .chk { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #5c6b78; margin: 10px 0 14px; }
#quiz .hp { position: absolute; left: -9999px; }
#quiz .mbq__submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #1a5276;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
#quiz .form-ok { display: none; margin-top: 12px; color: #1a5276; font-weight: 700; }
body.quiz-open { overflow: hidden; }
