

/* Start:/local/templates/main/markup/css/style.css?178343927337400*/
/* ═══════════════════════════════════════════════════════════════
   КМВ Холдинг — Отзывы и обращения
   CSS: БЭМ, Mobile-first
   Медиазапросы: встроены в каждое правило, не в конце файла
   Брейкпоинт: 768px (планшет + десктоп)
═══════════════════════════════════════════════════════════════ */


/* ──────────────────────────────────────────────────────────────
   ПЕРЕМЕННЫЕ ДИЗАЙН-СИСТЕМЫ
────────────────────────────────────────────────────────────── */
:root {
  /* Бренд */
  --c-primary:       #257DE3;
  --c-primary-dark:  #0A5BA8;
  --c-primary-tint:  #E5F0FC;
  --c-brand-deep:    #003D75;

  /* Статусы */
  --c-success:       #1F9D57;
  --c-success-tint:  #E3F5EB;
  --c-danger:        #D8232A;
  --c-danger-tint:   #FBE7E8;
  --c-danger-border: #FBB4B7;
  --c-warning:       #E08600;
  --c-yandex:        #FC3F1D;

  /* Нейтральные */
  --c-ink-900: #161A1F;
  --c-ink-700: #474D59;
  --c-ink-500: #7B8492;
  --c-ink-400: #9AA2AE;
  --c-ink-300: #C7CDD6;
  --c-ink-200: #E4E8ED;
  --c-ink-150: #EDF0F4;
  --c-ink-100: #F4F6F9;
  --c-white:   #FFFFFF;
  --c-bg:      #F5F7FA;

  /* Типографика */
  --f-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Радиусы */
  --r-xs:   6px;
  --r-sm:   10px;
  --r-md:   14px;
  --r-lg:   18px;
  --r-pill: 999px;

  /* Тени */
  --shadow-sm:   0 1px 6px rgba(16,42,73,.09);
  --shadow-card: 0 2px 8px rgba(16,42,73,.07), 0 1px 2px rgba(16,42,73,.05);
  --focus-ring:  0 0 0 4px rgba(37,125,227,.18);

  /* Максимальная ширина контентного контейнера (совпадает с шириной формы) */
  --content-max:  760px;
  --content-px:   16px;
}

@media (min-width: 768px) {
  :root { --content-px: 40px; }
}


/* ──────────────────────────────────────────────────────────────
   СБРОС И БАЗА
────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-ink-700);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }


/* ──────────────────────────────────────────────────────────────
   УТИЛИТЫ (используются и в CSS, и в JS)
────────────────────────────────────────────────────────────── */
/* Полное скрытие */
.is-hidden   { display: none !important; }
/* Отключён */
.is-disabled { opacity: .5; pointer-events: none; cursor: not-allowed; }


/* ──────────────────────────────────────────────────────────────
   APP
────────────────────────────────────────────────────────────── */
.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}


/* ──────────────────────────────────────────────────────────────
   SCREEN — базовый экран
────────────────────────────────────────────────────────────── */
.screen {
  display: none;
  flex-direction: column;
  flex: 1; /* заполняет пространство между верхом страницы и общим футером */
  background: var(--c-white);
  animation: screen-in 0.22s ease;
  padding-bottom: 70px;
}

@media (min-width: 1024px) {
    .screen {
        padding-bottom: 20px;
    }
}

/* Экран активен: класс добавляется JS */
.screen.is-show { display: flex; }

/* Форма — серый фон */
.screen--form { background: var(--c-bg); }

@keyframes screen-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ──────────────────────────────────────────────────────────────
   HEADER — общая шапка (одинакова для всех экранов)
────────────────────────────────────────────────────────────── */
.header {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-ink-200);
  flex-shrink: 0;
}

.header__inner {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px var(--content-px);
  max-width: var(--content-max);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .header__inner { min-height: 60px; padding: 12px var(--content-px); }
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.header__logo:hover { text-decoration: none; }

.header__logo-img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: var(--r-xs);
  object-fit: contain;
}

@media (min-width: 768px) {
  .header__logo-img { width: 40px; height: 40px; }
}

.header__logo-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.header__logo-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-ink-900);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .header__logo-name { font-size: 13px; }
}

.header__logo-desc {
  font-size: 10px;
  color: var(--c-ink-400);
  line-height: 1.2;
}


/* ──────────────────────────────────────────────────────────────
   FOOTER — общий подвал с несколькими ссылками
────────────────────────────────────────────────────────────── */
.footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-ink-200);
  flex-shrink: 0;
  padding: 14px var(--content-px) 18px;
}

.footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: center;
}

.footer__company {
  font-size: 11px;
  color: var(--c-ink-500);
  margin: 0 0 7px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .footer__company { font-size: 12px; }
}

.footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.footer__links:last-child { margin-bottom: 0; }

.footer__sep {
  color: var(--c-ink-300);
  font-size: 11px;
  line-height: 1;
}

.footer__link {
  font-size: 11px;
  color: var(--c-primary);
  text-decoration: none;
  line-height: 1.5;
}
.footer__link:hover { text-decoration: underline; }

@media (min-width: 768px) {
  .footer__link { font-size: 12px; }
}


/* ──────────────────────────────────────────────────────────────
   SELECT-SCREEN — экран выбора санатория
────────────────────────────────────────────────────────────── */
.select-screen {
  flex: 1;
  padding: 24px var(--content-px) 20px;
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .select-screen { padding-top: 36px; padding-bottom: 28px; }
}

.select-screen__intro { margin-bottom: 20px; }

@media (min-width: 768px) {
  .select-screen__intro { margin-bottom: 24px; }
}

.select-screen__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--c-ink-900);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

@media (min-width: 768px) {
  .select-screen__title { font-size: 28px; }
}

.select-screen__desc {
  font-size: 13px;
  color: var(--c-ink-500);
}

@media (min-width: 768px) {
  .select-screen__desc { font-size: 14px; }
}


/* ──────────────────────────────────────────────────────────────
   SANATORIUM-LIST
────────────────────────────────────────────────────────────── */
.sanatorium-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 768px) {
  .sanatorium-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}


/* ──────────────────────────────────────────────────────────────
   SANATORIUM-CARD
────────────────────────────────────────────────────────────── */
.sanatorium-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--c-white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: 1px solid var(--c-ink-200);
  width: 100%;
  text-align: left;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.sanatorium-card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-card);
}
.sanatorium-card:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

@media (min-width: 768px) {
  .sanatorium-card { padding: 14px 16px; }
}

.sanatorium-card__img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .sanatorium-card__img { width: 56px; height: 56px; border-radius: 12px; }
}

.sanatorium-card__info {
  flex: 1;
  min-width: 0;
}

.sanatorium-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-ink-900);
  line-height: 1.25;
}

@media (min-width: 768px) {
  .sanatorium-card__name { font-size: 15px; }
}

.sanatorium-card__city {
  font-size: 12px;
  color: var(--c-ink-400);
  margin-top: 3px;
}

@media (min-width: 768px) {
  .sanatorium-card__city { font-size: 13px; }
}

.sanatorium-card__arrow {
  width: 18px;
  height: 18px;
  color: var(--c-ink-300);
  flex-shrink: 0;
}


/* ──────────────────────────────────────────────────────────────
   RATE-PHOTO — большое фото на экране оценки (полная ширина)
────────────────────────────────────────────────────────────── */
.rate-photo {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.rate-photo__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .rate-photo__img { height: 320px; }
}

/* На широких экранах фото ограничено той же шириной, что и форма */
@media (min-width: 768px) {
  .rate-photo {
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    border-radius: var(--r-md);
  }
}

.rate-photo__gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(14,24,40,.6), transparent);
  pointer-events: none;
}

.rate-photo__city {
  position: absolute;
  bottom: 14px; left: var(--content-px);
  background: rgba(14,24,40,.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--c-white);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--r-pill);
}

@media (min-width: 768px) {
  .rate-photo__city { font-size: 12.5px; padding: 6px 13px; }
}


/* ──────────────────────────────────────────────────────────────
   RATE-SCREEN — контент экрана оценки (звёзды)
────────────────────────────────────────────────────────────── */
.rate-screen {
/*  flex: 1;*/
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px var(--content-px) 28px;
  text-align: center;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .rate-screen { padding: 52px var(--content-px) 48px; }
}

.rate-screen__label {
  font-size: 17px;
  font-weight: 600;
  color: var(--c-ink-700);
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .rate-screen__label { font-size: 20px; margin-bottom: 30px; }
}

.rate-screen__hint {
  font-size: 12.5px;
  color: var(--c-ink-400);
  margin-top: 18px;
  min-height: 18px;
}


/* ──────────────────────────────────────────────────────────────
   STARS — звёзды
────────────────────────────────────────────────────────────── */
.stars {
  display: flex;
  gap: 6px;
  justify-content: center;
}

@media (min-width: 768px) {
  .stars { gap: 10px; }
}

.stars--sm { gap: 3px; }

@media (min-width: 768px) {
  .stars--sm { gap: 4px; }
}

/* Интерактивная кнопка-звезда */
.stars__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: var(--r-sm);
  color: var(--c-ink-200);   /* пустая звезда */
  transition: transform 0.1s, color 0.12s;
}
.stars__btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.stars__btn:active { transform: scale(.9); }

@media (min-width: 768px) {
  .stars__btn { width: 64px; height: 64px; }
}

/* is-hover: JS при наведении до N-й звезды */
.stars__btn.is-hover { color: rgba(224,134,0,.6); }

/* is-active: заполненная звезда */
.stars__btn.is-active { color: var(--c-warning); }

/* Маленькие статические звёзды (рейтинг-бар, экран 3) */
.stars--sm .stars__btn {
  width: 24px;
  height: 24px;
  cursor: default;
  pointer-events: none;
}

@media (min-width: 768px) {
  .stars--sm .stars__btn { width: 28px; height: 28px; }
}

.icon--star {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: none;
}


/* ──────────────────────────────────────────────────────────────
   THANKS-SCREEN — экран благодарности (5★)
────────────────────────────────────────────────────────────── */
.thanks-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px var(--content-px) 36px;
  text-align: center;
  gap: 20px;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .thanks-screen { padding-top: 72px; padding-bottom: 60px; gap: 24px; }
}

.thanks-screen__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-ink-700);
  max-width: 320px;
}

@media (min-width: 768px) {
  .thanks-screen__text { font-size: 15px; max-width: 380px; }
}


/* ──────────────────────────────────────────────────────────────
   SUCCESS-SCREEN — обращение принято (ветка 1–4★)
────────────────────────────────────────────────────────────── */
.success-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px var(--content-px) 52px;
  text-align: center;
  gap: 16px;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .success-screen { padding-top: 88px; padding-bottom: 80px; }
}

.success-screen__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--c-ink-900);
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .success-screen__title { font-size: 30px; }
}

.success-screen__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-ink-500);
  max-width: 300px;
}

@media (min-width: 768px) {
  .success-screen__text { font-size: 15px; max-width: 360px; }
}


/* ──────────────────────────────────────────────────────────────
   SUCCESS-ICON — зелёный круг с галочкой (экраны 3 и 5)
────────────────────────────────────────────────────────────── */
.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--c-success-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .success-icon { width: 96px; height: 96px; }
}

.icon--check {
  width: 36px;
  height: 36px;
  color: var(--c-success);
}

@media (min-width: 768px) {
  .icon--check { width: 44px; height: 44px; }
}


/* ──────────────────────────────────────────────────────────────
   FORM-TOPBAR — прилипающая панель на экране формы
────────────────────────────────────────────────────────────── */
.form-topbar {
/*  position: sticky;*/
  top: 0;
  z-index: 20;
  background: var(--c-white);
  flex-shrink: 0;
}


/* ──────────────────────────────────────────────────────────────
   RATING-BAR — полоска с текущим рейтингом
────────────────────────────────────────────────────────────── */
.rating-bar {
  border-bottom: 1px solid var(--c-ink-200);
}

.rating-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px var(--content-px) 11px;
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: center;
}

.rating-bar__left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rating-bar__label {
  font-size: 10px;
  font-weight: 500;
  color: var(--c-ink-400);
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1;
}

.rating-bar__stars {
  display: flex;
  gap: 3px;
}

.rating-bar__btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  flex-shrink: 0;
  border-radius: var(--r-xs);
  transition: color 0.15s;
}
.rating-bar__btn:hover { color: var(--c-primary-dark); }
.rating-bar__btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }


/* ──────────────────────────────────────────────────────────────
   FORM-SCREEN — тело формы
────────────────────────────────────────────────────────────── */
.form-screen {
  flex: 1;
  padding: 22px var(--content-px) 0;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .form-screen { padding-top: 30px; }
}

.form-screen__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-ink-900);
  line-height: 1.3;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .form-screen__title { font-size: 21px; margin-bottom: 22px; }
}


/* ──────────────────────────────────────────────────────────────
   FORM — контейнер полей
────────────────────────────────────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 28px;
}

@media (min-width: 768px) {
  .form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
    row-gap: 14px;
  }
}


/* ──────────────────────────────────────────────────────────────
   FIELD — обёртка поля
────────────────────────────────────────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

@media (min-width: 768px) {
  /* Поля на всю ширину сетки */
  .field--full { grid-column: 1 / -1; }
  /* Кнопка тоже */
  .btn--full   { grid-column: 1 / -1; }
}

.field__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-ink-700);
  line-height: 1;
}

.field__req { color: var(--c-danger); }

/* Input */
.field__input {
  height: 50px;
  padding: 0 14px;
  background: var(--c-white);
  border: 1.5px solid var(--c-ink-200);
  border-radius: var(--r-md);
  font-size: 14.5px;
  color: var(--c-ink-900);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.field__input:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: var(--focus-ring);
}
.field__input::placeholder { color: var(--c-ink-400); }

/* Textarea */
.field__input--ta {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
  min-height: 96px;
  line-height: 1.55;
}

/* is-error — добавляется JS */
.field.is-error .field__input {
  border-color: var(--c-danger);
  background: var(--c-danger-tint);
}
.field.is-error .field__input:focus {
  box-shadow: 0 0 0 4px rgba(216,35,42,.12);
}
.field.is-error .select-box__input { border-color: var(--c-danger); }

.field__error {
  display: none;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--c-danger);
  line-height: 1.3;
}
.field.is-error .field__error { display: block; }


/* ──────────────────────────────────────────────────────────────
   SELECT-BOX — стилизованный select
────────────────────────────────────────────────────────────── */
.select-box {
  position: relative;
  display: flex;
  align-items: center;
}

.select-box__input {
  width: 100%;
  height: 50px;
  padding: 0 40px 0 14px;
  background: var(--c-white);
  border: 1.5px solid var(--c-ink-200);
  border-radius: var(--r-md);
  font-size: 14.5px;
  color: var(--c-ink-900);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.select-box__input:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: var(--focus-ring);
}

.select-box__arrow {
  position: absolute;
  right: 13px;
  width: 18px;
  height: 18px;
  color: var(--c-ink-400);
  pointer-events: none;
  stroke: currentColor;
  fill: none;
}


/* ──────────────────────────────────────────────────────────────
   CHECKBOX
────────────────────────────────────────────────────────────── */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.checkbox__box {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 5px;
  background: var(--c-white);
  border: 1.5px solid var(--c-ink-300);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s, border-color 0.14s;
  color: var(--c-white);
}
.checkbox__box .icon {
  width: 12px;
  height: 9px;
  opacity: 0;
  transition: opacity 0.1s;
  stroke: var(--c-white);
}

.checkbox__input:checked ~ .checkbox__box { background: var(--c-primary); border-color: var(--c-primary); }
.checkbox__input:checked ~ .checkbox__box .icon { opacity: 1; }
.checkbox__input:focus-visible ~ .checkbox__box { box-shadow: var(--focus-ring); }

.field.is-error .checkbox__box { border-color: var(--c-danger); }

.checkbox__text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--c-ink-700);
}

@media (min-width: 768px) {
  .checkbox__text { font-size: 12.5px; }
}


/* ──────────────────────────────────────────────────────────────
   FILE-UPLOAD
────────────────────────────────────────────────────────────── */
.file-upload {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Кнопка-ярлык */
.file-upload__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  background: var(--c-white);
  border: 1.5px dashed var(--c-ink-300);
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink-500);
  transition: border-color 0.15s, color 0.15s;
  user-select: none;
}
.file-upload__btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.file-upload__btn:hover .icon { color: var(--c-primary); }
.file-upload__btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.file-upload__btn .icon { width: 18px; height: 18px; color: var(--c-ink-400); transition: color 0.15s; }

.file-upload__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

/* Прогресс */
.file-upload__progress {
  padding: 10px 12px;
  background: var(--c-ink-100);
  border: 1.5px solid var(--c-ink-200);
  border-radius: var(--r-md);
}

.file-upload__progress-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.file-upload__progress-top .icon { width: 17px; height: 17px; color: var(--c-primary); flex-shrink: 0; }

.file-upload__progress-name {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--c-ink-700);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-upload__progress-pct {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--c-ink-400);
  flex-shrink: 0;
}

.file-upload__progress-track {
  height: 4px;
  background: var(--c-ink-200);
  border-radius: 2px;
  overflow: hidden;
}

.file-upload__progress-fill {
  height: 100%;
  background: var(--c-primary);
  border-radius: 2px;
  width: 0%;
  transition: width 0.25s ease;
}

/* Превью */
.file-upload__preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--c-primary-tint);
  border: 1.5px dashed #90BBF0;
  border-radius: var(--r-md);
}

.file-upload__preview-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: #C3DAF7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--c-primary);
}
.file-upload__preview-icon .icon { width: 19px; height: 19px; }

.file-upload__preview-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.file-upload__preview-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-ink-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-upload__preview-size {
  font-size: 11px;
  color: var(--c-ink-400);
}

.file-upload__preview-del {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-ink-400);
  border-radius: var(--r-xs);
  transition: color 0.13s;
  flex-shrink: 0;
  padding: 0;
}
.file-upload__preview-del:hover { color: var(--c-danger); }
.file-upload__preview-del:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.file-upload__preview-del .icon { width: 16px; height: 16px; }

/* Ошибка */
.file-upload__alert {
  padding: 13px 13px 11px;
  background: var(--c-danger-tint);
  border: 1.5px solid var(--c-danger-border);
  border-radius: var(--r-md);
}

.file-upload__alert-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.file-upload__alert-top .icon { width: 19px; height: 19px; color: var(--c-danger); flex-shrink: 0; margin-top: 1px; }

.file-upload__alert-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-ink-700);
  margin: 0;
}

.file-upload__alert-actions {
  display: flex;
  gap: 8px;
}


/* ──────────────────────────────────────────────────────────────
   BTN
────────────────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 20px;
  border-radius: var(--r-md);
  font-size: 15.5px;
  font-weight: 700;
  font-family: var(--f-sans);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.btn:hover { text-decoration: none; }

.btn--full { width: 100%; }

/* Основная синяя */
.btn--primary { background: var(--c-primary); color: var(--c-white); }
.btn--primary:hover { background: var(--c-primary-dark); }
.btn--primary[disabled],
.btn--primary[aria-disabled="true"] {
  background: var(--c-ink-200);
  color: var(--c-ink-400);
  cursor: not-allowed;
  pointer-events: none;
}

/* Спиннер при отправке — добавляется JS */
.btn--primary.is-loading { pointer-events: none; color: transparent; }
.btn--primary.is-loading::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: var(--c-white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Яндекс — красная */
.btn--yandex { background: var(--c-yandex); color: var(--c-white); width: 100%; font-size: 15px; }
.btn--yandex:hover { background: #e03416; }
.btn--yandex .icon--yandex { width: 22px; height: 22px; flex-shrink: 0; }

/* Маленькая */
.btn--sm { height: 38px; font-size: 12.5px; padding: 0 13px; flex: 1; }

/* Красная заливка */
.btn--danger { background: var(--c-danger); color: var(--c-white); }
.btn--danger:hover { background: #b81e24; }

/* Рамка danger */
.btn--outline-danger { background: var(--c-white); color: var(--c-danger); border: 1.5px solid var(--c-danger); }
.btn--outline-danger:hover { background: var(--c-danger-tint); }


/* ──────────────────────────────────────────────────────────────
   ICON
────────────────────────────────────────────────────────────── */
.icon {
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}


/* ──────────────────────────────────────────────────────────────
   LINK
────────────────────────────────────────────────────────────── */
.link {
  color: var(--c-primary);
  text-decoration: underline;
  text-decoration-color: rgba(37,125,227,.4);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.15s;
}
.link:hover { text-decoration: none; color: var(--c-primary-dark); }


/* ──────────────────────────────────────────────────────────────
   SNAME-BAR — строка с названием санатория (экраны 2–5)
────────────────────────────────────────────────────────────── */
.sname-bar {
  background: var(--c-white);
/*  border-bottom: 1px solid var(--c-ink-200);*/
  flex-shrink: 0;
}

.sname-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px var(--content-px) 12px;
  max-width: var(--content-max);
  margin: 0 auto;
}

.sname-bar__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-ink-900);
  margin: 0;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .sname-bar__title { font-size: 19px; }
}

/* Компактный вариант (форма, благодарность, успех) */
.sname-bar--compact .sname-bar__inner {
  padding-top: 10px;
  padding-bottom: 9px;
}

.sname-bar--compact .sname-bar__title {
  font-size: 14.5px;
  font-weight: 600;
}

@media (min-width: 768px) {
  .sname-bar--compact .sname-bar__title { font-size: 17.5px; }
}

/* Кнопка «изменить» рядом с названием */
.sname-bar__btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 4px;
  flex-shrink: 0;
  margin-left: 12px;
  border-radius: var(--r-xs);
  transition: color 0.15s;
}
.sname-bar__btn:hover { color: var(--c-primary-dark); }
.sname-bar__btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
/* End */


/* Start:/local/templates/main/markup/css/cookie.css?17834392739932*/
/* ═══════════════════════════════════════════════════════════════
   КМВ Холдинг — Отзывы и обращения  ·  cookie.css
   Стили для модального окна согласия и окна настроек cookie.
   Mobile-first, встроенные медиазапросы.
═══════════════════════════════════════════════════════════════ */


/* ──────────────────────────────────────────────────────────────
   COOKIE-MODAL — окно согласия (первичное)
────────────────────────────────────────────────────────────── */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 12px 20px;
}

.cookie-modal.is-hidden { display: none !important; }

.cookie-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  cursor: pointer;
  z-index: 0;
}

.cookie-modal__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 18px;
  padding: 22px 22px 18px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .2);
  animation: cookie-modal-up 0.25s ease;
}

@media (min-width: 768px) {
  .cookie-modal__box { padding: 26px 26px 22px; }
}

@keyframes cookie-modal-up {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EDF0F4;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #7B8492;
  transition: background 0.15s, color 0.15s;
  padding: 0;
}
.cookie-modal__close:hover { background: #E4E8ED; color: #474D59; }
.cookie-modal__close:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(37,125,227,.18); }
.cookie-modal__close .icon { width: 14px; height: 14px; }

.cookie-modal__text {
  font-size: 14px;
  line-height: 1.65;
  color: #474D59;
  margin: 0 0 18px;
  padding-right: 28px;
}

@media (min-width: 768px) {
  .cookie-modal__text { font-size: 15px; }
}

.cookie-modal__link {
  color: #257DE3;
  font-weight: 500;
  text-decoration: none;
}
.cookie-modal__link:hover { text-decoration: underline; }

/* Ряд кнопок: «Настроить» + «Принять все» */
.cookie-modal__actions {
  display: flex;
  gap: 10px;
}

.cookie-modal__actions .btn {
  flex: 1;
  height: 46px;
  font-size: 14.5px;
}


/* ──────────────────────────────────────────────────────────────
   BTN--OUTLINE — кнопка с рамкой (только для куки)
────────────────────────────────────────────────────────────── */
.btn--outline {
  background: #fff;
  color: #161A1F;
  border: 1.5px solid #E4E8ED;
}
.btn--outline:hover { background: #F4F6F9; }


/* ──────────────────────────────────────────────────────────────
   COOKIE-SETTINGS — окно настроек категорий
────────────────────────────────────────────────────────────── */
.cookie-settings {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
}

.cookie-settings.is-hidden { display: none !important; }

.cookie-settings__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  cursor: pointer;
  z-index: 0;
}

.cookie-settings__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 18px;
  max-width: 520px;
  width: 100%;
  max-height: calc(100dvh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 12px 50px rgba(0, 0, 0, .25);
  animation: cookie-settings-in 0.25s ease;
}

@keyframes cookie-settings-in {
  from { transform: translateY(12px) scale(.98); opacity: 0; }
  to   { transform: translateY(0)    scale(1);   opacity: 1; }
}


/* Заголовок */
.cookie-settings__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid #E4E8ED;
  flex-shrink: 0;
}

.cookie-settings__head-icon {
  width: 26px;
  height: 26px;
  color: #257DE3;
  flex-shrink: 0;
}

.cookie-settings__title {
  flex: 1;
  font-size: 18px;
  font-weight: 800;
  color: #161A1F;
  margin: 0;
  letter-spacing: -.01em;
}

@media (min-width: 768px) {
  .cookie-settings__title { font-size: 20px; }
}

.cookie-settings__close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EDF0F4;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #7B8492;
  transition: background 0.15s, color 0.15s;
  padding: 0;
  flex-shrink: 0;
}
.cookie-settings__close:hover { background: #E4E8ED; color: #474D59; }
.cookie-settings__close:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(37,125,227,.18); }
.cookie-settings__close .icon { width: 14px; height: 14px; }


/* Тело со скроллом */
.cookie-settings__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-overflow-scrolling: touch;
}

.cookie-settings__intro {
  font-size: 13px;
  line-height: 1.65;
  color: #474D59;
  margin: 0 0 4px;
}

@media (min-width: 768px) {
  .cookie-settings__intro { font-size: 13.5px; }
}


/* Нижняя панель с кнопкой */
.cookie-settings__foot {
  padding: 14px 20px 18px;
  border-top: 1px solid #E4E8ED;
  flex-shrink: 0;
}


/* ──────────────────────────────────────────────────────────────
   COOKIE-CAT — карточка категории cookie
────────────────────────────────────────────────────────────── */
.cookie-cat {
  background: #fff;
  border: 1.5px solid #E4E8ED;
  border-radius: 14px;
  padding: 14px 16px;
}

/* Обязательные (технические) — серый фон, нельзя выключить */
.cookie-cat--required {
  background: #F4F6F9;
}

.cookie-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.cookie-cat__name {
  font-size: 15px;
  font-weight: 700;
  color: #161A1F;
  line-height: 1.3;
}

.cookie-cat--required .cookie-cat__name { color: #7B8492; }

.cookie-cat__desc {
  font-size: 13px;
  line-height: 1.6;
  color: #7B8492;
  margin: 0;
}

@media (min-width: 768px) {
  .cookie-cat__desc { font-size: 13.5px; }
}

/* Предупреждение (информационное, всегда видно для управляемых категорий) */
.cookie-cat__warn {
  margin-top: 10px;
  padding: 10px 14px;
  background: #FEF5E6;
  border-left: 3px solid #E08600;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  font-weight: 600;
  color: #C46F00;
  line-height: 1.55;
  transition: opacity 0.2s;
}

/* Когда переключатель включён — предупреждение полупрозрачное */
.cookie-cat.is-active .cookie-cat__warn {
  opacity: .45;
}

@media (min-width: 768px) {
  .cookie-cat__warn { font-size: 13.5px; }
}


/* ──────────────────────────────────────────────────────────────
   TOGGLE — переключатель (toggle switch)
────────────────────────────────────────────────────────────── */
.toggle {
  position: relative;
  display: inline-flex;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}

.toggle__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: inherit;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 1;
}

.toggle__track {
  display: block;
  width: 46px;
  height: 26px;
  border-radius: 13px;
  background: #C7CDD6;
  transition: background 0.2s ease;
  position: relative;
  pointer-events: none;
}

/* Ползунок */
.toggle__track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  transition: transform 0.2s ease;
}

/* Включён */
.toggle__input:checked + .toggle__track {
  background: #257DE3;
}
.toggle__input:checked + .toggle__track::after {
  transform: translateX(20px);
}

/* Заблокирован (технические) */
.toggle--disabled {
  cursor: default;
  opacity: .65;
}
.toggle--disabled .toggle__input { cursor: not-allowed; }

/* Фокус */
.toggle__input:focus-visible + .toggle__track {
  box-shadow: 0 0 0 4px rgba(37,125,227,.18);
}
/* End */
/* /local/templates/main/markup/css/style.css?178343927337400 */
/* /local/templates/main/markup/css/cookie.css?17834392739932 */
