/* =====================================================
   ДЕНТОН — Версия для слабовидящих
   Активируется классом html.vi
   ===================================================== */

/* --- Типографика --- */
html.vi {
  font-size: 20px;
}
html.vi h1 {
  font-size: 2rem;
}
html.vi h2,
html.vi .section-title {
  font-size: 1.7rem;
}
html.vi h3 {
  font-size: 1.4rem;
}

/* --- Цвета и контраст --- */
html.vi {
  --accent:       #1a6a74;
  --accent-dark:  #0d4f56;
  --accent-light: #cceef1;
  --primary:      #000000;
  --primary-light:#333333;
  --link:         #0055aa;
  --link-hover:   #003366;
  --orange:       #c45500;
  --orange-dark:  #a04000;
  --orange-light: #fff0e6;
  --bg:           #ffffff;
  --bg-card:      #ffffff;
  --text:         #000000;
  --text-muted:   #555555;
  --text-light:   #777777;
  --border:       #888888;
  --shadow:       none;
  --shadow-hover: none;
  --radius:       4px;
  --radius-sm:    4px;
}

html.vi body {
  background: #fff;
  color: #000;
}

/* --- Убрать фоновые изображения --- */
html.vi .hero-slide__bg,
html.vi .hero-slider {
  background: #f0f0f0 !important;
  background-image: none !important;
}
html.vi .form-section {
  background: #e8e8e8 !important;
  background-image: none !important;
}

/* --- Убрать тени, скругления, трансформации --- */
html.vi .card,
html.vi .doctor-card,
html.vi .review-card,
html.vi .contact-card,
html.vi .vacancy-card,
html.vi .alert,
html.vi .price-table,
html.vi .sidebar-nav,
html.vi .lightbox__content {
  box-shadow: none;
  border: 2px solid #888;
  border-radius: 4px;
}

html.vi .card:hover,
html.vi .doctor-card:hover,
html.vi .review-card:hover {
  transform: none;
  box-shadow: none;
}

html.vi .site-header {
  box-shadow: none;
  border-bottom: 2px solid #888;
}

/* --- Анимации: показать сразу --- */
html.vi .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* --- Кнопки --- */
html.vi .btn {
  border: 2px solid currentColor;
  border-radius: 4px;
}
html.vi .btn--primary {
  background: #1a6a74;
  color: #fff;
  border-color: #1a6a74;
}
html.vi .btn--primary:hover {
  background: #0d4f56;
  border-color: #0d4f56;
}

/* --- Ссылки: подчёркивание --- */
html.vi a {
  text-decoration: underline;
}
html.vi .nav__link,
html.vi .header-main__logo,
html.vi .btn,
html.vi .doctor-card__link {
  text-decoration: none;
}
html.vi .nav__link:hover,
html.vi .nav__link--active {
  background: #e0e0e0;
  color: #000;
}

/* --- Форма --- */
html.vi input,
html.vi textarea,
html.vi select {
  border: 2px solid #888;
  border-radius: 4px;
  font-size: 1rem;
}
html.vi input:focus,
html.vi textarea:focus {
  border-color: #1a6a74;
  box-shadow: 0 0 0 3px #cceef1;
}
html.vi .consent-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

/* --- Таблицы прайса --- */
html.vi .price-table {
  border: 2px solid #888;
}
html.vi .price-table th,
html.vi .price-table td {
  border: 1px solid #888;
}

/* --- Хлебные крошки --- */
html.vi .breadcrumbs {
  border-bottom: 1px solid #ccc;
}

/* --- Кнопка-переключатель (на тёмной полосе header-top) --- */
.vi-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  height: auto;
  padding: 4px 10px;
  background: #fff;
  border: 1px solid #fff;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  flex-shrink: 0;
  margin-left: auto;
}
.vi-toggle:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
  border-color: var(--accent);
}
html.vi .vi-toggle {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* На мобильных — только иконка */
.vi-toggle__label {
  display: none;
}
@media (min-width: 768px) {
  .vi-toggle__label {
    display: inline;
  }
}

/* --- Скрыть декоративные элементы --- */
html.vi .hero-slider__prev,
html.vi .hero-slider__next,
html.vi .reviews-slider__prev,
html.vi .reviews-slider__next,
html.vi .doctors-slider__prev,
html.vi .doctors-slider__next {
  border: 2px solid #888;
  background: #fff;
}

/* --- FAB кнопки --- */
html.vi .fab {
  border: 2px solid #888;
}

/* --- Изображения: рамка для чёткости --- */
html.vi .doctor-card__photo,
html.vi .review-card__avatar {
  border: 2px solid #888;
}