/* Временная форма записи (восстановленная версия сайта) */
[data-restore-hidden] { display: none !important; }

/* Баннер cookie и промо-карточка: их стили были в CSS-шаблоне 2026 года, которого нет в архиве */
.cookie-consent__wrapper { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483000; }
.cookie-consent__wrapper--show { display: block; }
.cookie-consent__container {
  max-width: 760px; margin: 0 auto; background: #fff; color: #1c1c1c; border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18); padding: 14px 18px;
}
.cookie-consent__content { display: flex; align-items: center; gap: 16px; }
.cookie-consent__text { margin: 0; font-size: 13px; line-height: 1.4; flex: 1; }
.cookie-consent__text a { color: #763AA4; text-decoration: underline; }
.cookie-consent__content .btn {
  flex: none; border: 0; border-radius: 20px; padding: 10px 22px; cursor: pointer;
  background: #763AA4; color: #fff; font-weight: 700; font-size: 14px;
}
@media (max-width: 600px) {
  .cookie-consent__content { flex-direction: column; align-items: stretch; text-align: center; }
}

.promo-card-wrapper {
  position: fixed; left: 16px; bottom: 96px; z-index: 2147482000; width: 300px; max-width: calc(100% - 32px);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .5s, transform .5s;
}
.promo-card-wrapper--show { opacity: 1; transform: none; pointer-events: auto; }
.promo-card {
  position: relative; background: #fff; color: #1c1c1c; border-radius: 14px; padding: 18px 18px 16px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, .2); border-top: 4px solid #763AA4; font-size: 14px; line-height: 1.4;
}
.promo-card__title { font-weight: 700; font-size: 17px; margin: 0 22px 6px 0; }
.promo-card__title a { color: #763AA4; text-decoration: underline; }
.promo-card__description { margin-bottom: 12px; color: #444; }
.promo-card__link {
  display: inline-block; margin: 0 6px 6px 0; padding: 7px 14px; border-radius: 18px;
  background: #f1e9f7; color: #763AA4 !important; font-weight: 700; font-size: 13px; text-decoration: none !important;
}
.promo-card__link:hover { background: #763AA4; color: #fff !important; }
.promo-card__close { position: absolute; top: 12px; right: 12px; cursor: pointer; color: #999; line-height: 0; padding: 4px; }
.promo-card__close:hover { color: #1c1c1c; }

/* встроенные формы шаблона (ДМС, отзывы) */
.rs-inline-note { margin: 12px 0 4px; font-size: 14px; line-height: 1.4; }
.rs-inline-note.rs-err { color: #c62828; }
.rs-inline-note.rs-wait { color: #666; }
.rs-inline-note.rs-ok { color: #2e7d32; }
.rs-inline-note a { color: #763AA4; text-decoration: underline; }
form.send .input.has-error { box-shadow: 0 0 0 2px #e53935; }

.restore-404 { padding: 80px 0 100px; }
.restore-404 h1 { margin-bottom: 20px; }
.restore-404 p { font-size: 17px; margin-bottom: 20px; }

html.rs-lock, html.rs-lock body { overflow: hidden; }

.rs-modal { position: fixed; inset: 0; z-index: 2147483647; display: none; font-family: inherit; }
.rs-modal.rs-open { display: block; }
.rs-overlay { position: absolute; inset: 0; background: rgba(28, 28, 28, .6); }
.rs-dialog {
  position: relative; box-sizing: border-box; width: calc(100% - 32px); max-width: 460px;
  margin: 8vh auto 0; max-height: 84vh; overflow: auto;
  background: #fff; color: #1c1c1c; border-radius: 12px; padding: 32px 28px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3); font-size: 15px; line-height: 1.4;
}
.rs-x {
  position: absolute; top: 8px; right: 12px; border: 0; background: none;
  font-size: 30px; line-height: 1; color: #888; cursor: pointer; padding: 4px;
}
.rs-x:hover { color: #1c1c1c; }
.rs-title { font-size: 24px; font-weight: 700; margin: 0 24px 8px 0; color: #1c1c1c; }
.rs-sub { margin-bottom: 18px; color: #555; }
.rs-form input[type=text], .rs-form input[type=tel], .rs-form textarea {
  display: block; box-sizing: border-box; width: 100%; margin: 0 0 12px; padding: 12px 14px;
  border: 1px solid #d5d0dc; border-radius: 8px; font: inherit; color: #1c1c1c; background: #fff;
}
.rs-form textarea { resize: vertical; min-height: 70px; }
.rs-form input:focus, .rs-form textarea:focus { outline: none; border-color: #763AA4; box-shadow: 0 0 0 3px rgba(118, 58, 164, .15); }
.rs-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.rs-agree { display: block; font-size: 12.5px; color: #666; margin: 4px 0 16px; cursor: pointer; font-weight: normal; }
.rs-agree input { margin: 0 6px 0 0; vertical-align: -2px; }
.rs-agree a, .rs-or a, .rs-status a { color: #763AA4; text-decoration: underline; }
.rs-submit {
  display: block; width: 100%; padding: 14px; border: 0; border-radius: 30px; cursor: pointer;
  background: #763AA4; color: #fff; font: inherit; font-weight: 700; font-size: 16px;
}
.rs-submit:hover { background: #652c91; }
.rs-submit:disabled { opacity: .6; cursor: wait; }
.rs-status { margin-top: 12px; font-size: 14px; }
.rs-status.rs-err { color: #c62828; }
.rs-status.rs-wait { color: #666; }
.rs-or { margin-top: 16px; padding-top: 14px; border-top: 1px solid #eee; text-align: center; color: #555; }
.rs-or a { font-weight: 700; white-space: nowrap; }
