/* ==========================================================================
   Стоматология «Эмаль» — г. Тюмень
   styles.css — единый файл стилей (mobile-first)
   Содержание:
     01. Шрифты
     02. Токены
     03. Сброс и базовая типографика
     04. Утилиты и контейнеры
     05. Шапка, навигация, мобильное меню
     06. Кнопки, ссылки, чипы, бейджи
     07. Hero
     08. Секции и карточки
     09. Услуги
     10. Шаги, преимущества, доверие
     11. Врачи
     12. Страховые компании
     13. Формы
     14. Аккордеон
     15. Лайтбокс
     16. Таблицы (цены, реквизиты, правовые статусы)
     17. Контакты и карта
     18. Подвал
     19. Cookie-баннер, версия для слабовидящих, мобильная панель
     20. Анимации
     21. Служебные страницы (404, текстовые документы)
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Шрифты (self-host, кириллица + латиница, font-display: swap)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   02. Токены
   -------------------------------------------------------------------------- */
:root {
  /* цвета */
  --brand: #BE3678;
  --brand-dark: #A22C66;
  --brand-tint: #FAF2F6;
  --brand-tint-2: #F3E3EC;
  --teal: #16A5A1;
  --teal-sign: #00909F;
  --teal-dark: #0E7C79;
  --teal-tint: #EAF6F5;
  --ink: #37343B;
  --ink-soft: #6B6672;
  --line: #E6E1E5;
  --bg: #FFFFFF;
  --bg-alt: #FBFAFB;
  --warm: #B08280;

  /* шрифты */
  --font-head: 'Manrope', 'Golos Text', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* размеры и отступы */
  --container: 1200px;
  --gutter: 20px;
  --section-y: 56px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* тени */
  --shadow-sm: 0 2px 8px rgba(55, 52, 59, .06);
  --shadow: 0 12px 32px rgba(190, 54, 120, .10);
  --shadow-lg: 0 24px 60px rgba(190, 54, 120, .14);

  /* скорости */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .32s;

  color-scheme: light;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 80px; }
}
@media (min-width: 1280px) {
  :root { --gutter: 40px; --section-y: 104px; }
}

/* --------------------------------------------------------------------------
   03. Сброс и базовая типографика
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: 'kern' 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
video { max-width: 100%; }
img { height: auto; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  display: inline-block;
  vertical-align: -.18em;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 700; }
h2 { font-size: clamp(26px, 3vw, 40px); }
h3 { font-size: clamp(21px, 1.6vw, 24px); line-height: 1.25; }
h4 { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li + li { margin-top: .4em; }

strong, b { font-weight: 600; }

small { font-size: 14px; }

hr {
  height: 1px;
  margin: 32px 0;
  border: 0;
  background: var(--line);
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--brand-tint-2); color: var(--ink); }

/* --------------------------------------------------------------------------
   04. Утилиты и контейнеры
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.container--wide { max-width: calc(1360px + var(--gutter) * 2); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.lead {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}
@media (min-width: 900px) {
  .section-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
    align-items: end;
    gap: 40px;
    margin-bottom: 48px;
  }
  .section-head__aside { justify-self: end; text-align: right; }
}
.section-head h2 { margin-bottom: 0; }
.section-head p { margin: 0; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.muted { color: var(--ink-soft); }
.accent { color: var(--brand); }
.note { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   05. Шапка, навигация, мобильное меню
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: #F3E3EC;
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  min-height: 40px;
  padding-block: 6px;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--brand-tint-2); text-decoration: underline; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item .icon { width: 15px; height: 15px; color: var(--teal); flex: none; }
.topbar__spacer { margin-left: auto; }
.topbar__a11y {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.topbar__a11y:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.topbar__hours { color: #C8C0C7; }
@media (max-width: 860px) {
  .topbar__hours, .topbar__mail { display: none; }
  .topbar__spacer { display: none; }
  .topbar__a11y { margin-left: auto; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck { box-shadow: 0 8px 28px rgba(55, 52, 59, .08); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: grid; line-height: 1.1; }
.brand__name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand__tagline {
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.2;
  color: var(--ink-soft);
  letter-spacing: .01em;
}
@media (max-width: 480px) {
  .brand__tagline { display: none; }
  .brand__name { font-size: 20px; }
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list li { margin: 0; }
.nav__link {
  display: inline-block;
  padding: 12px 6px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__link:hover { background: var(--brand-tint); color: var(--brand-dark); }
.nav__link[aria-current='page'] { color: var(--brand); font-weight: 600; }

.header__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  margin-left: 8px;
  flex: none;
}
.header__phone {
  display: inline-block;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.header__phone:hover { color: var(--brand); }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.burger .icon { width: 22px; height: 22px; margin-inline: auto; }

@media (max-width: 1299px) {
  .brand__tagline { display: none; }
}
@media (max-width: 1199px) {
  .nav, .header__actions { display: none; }
  .burger { display: block; }
}

/* Мобильное меню */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--bg);
  padding: 14px var(--gutter) 28px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; padding-block: 6px 18px; }
.mobile-nav__close {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.mobile-nav__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; align-content: start; }
.mobile-nav__list li { margin: 0; }
.mobile-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}
.mobile-nav__list a:hover { color: var(--brand); }
.mobile-nav__list .icon { width: 18px; height: 18px; color: var(--teal); }
.mobile-nav__foot { display: grid; gap: 12px; padding-top: 24px; }
.mobile-nav__phone { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--ink); text-decoration: none; }
.mobile-nav__meta { font-size: 14px; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   06. Кнопки, ссылки, чипы, бейджи
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 20px; height: 20px; flex: none; }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; box-shadow: var(--shadow); }

.btn--outline {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--brand); color: var(--brand-dark); background: #fff; }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

.btn--teal { background: var(--teal-sign); color: #fff; }
.btn--teal:hover { background: var(--teal-dark); color: #fff; }

.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .6; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

.link-underline {
  background-image: linear-gradient(var(--brand), var(--brand));
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
  transition: background-size var(--dur) var(--ease);
  text-decoration: none;
}
.link-underline:hover { background-size: 100% 1px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { margin: 0; }

/* Фильтр прейскуранта: на мобильном — горизонтальная лента, а не 6 рядов чипсов */
.chips--scroll { flex-wrap: wrap; }
@media (max-width: 820px) {
  .chips--scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .chips--scroll li, .chips--scroll .chip { flex: none; }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color var(--dur), background var(--dur), color var(--dur);
}
.chip:hover { border-color: var(--brand-tint-2); background: var(--brand-tint); }
.chip[aria-pressed='true'] { background: var(--brand); border-color: var(--brand); color: #fff; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .01em;
}
.badge--teal { background: var(--teal-tint); color: var(--teal-dark); }
.badge--outline { background: #fff; border: 1px solid var(--line); color: var(--ink-soft); font-weight: 500; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  color: var(--ink);
}
.trust .icon { width: 17px; height: 17px; color: var(--teal); flex: none; }

/* --------------------------------------------------------------------------
   07. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 88% 0%, var(--brand-tint) 0%, rgba(250, 242, 246, 0) 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  isolation: isolate;
}
.hero__tooth {
  position: absolute;
  left: -30px;
  bottom: 30px;
  width: 220px;
  height: 220px;
  color: var(--brand);
  opacity: .05;
  z-index: -1;
  pointer-events: none;
}
.hero__cross {
  position: absolute;
  right: 46%;
  top: 8px;
  width: 90px;
  height: 90px;
  color: var(--teal);
  opacity: .08;
  z-index: -1;
  pointer-events: none;
}
@media (max-width: 979px) {
  .hero__tooth { width: 200px; height: 200px; left: -60px; bottom: 40px; }
  .hero__cross { display: none; }
}
.hero__inner {
  display: grid;
  gap: 40px;
  padding-block: 44px 52px;
}
.hero__copy { max-width: 640px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .hero__accent {
  color: var(--brand);
  white-space: nowrap;
}
.hero__sub {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 54ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero__actions .btn { flex: 1 1 240px; }
@media (min-width: 560px) { .hero__actions .btn { flex: 0 1 auto; } }

.hero__media {
  position: relative;
  align-self: center;
}
.hero__photo-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--brand-tint-2);
}
.hero__photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(190, 54, 120, .10) 0%, rgba(22, 165, 161, .12) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero__blob {
  position: absolute;
  inset: auto -18px -18px auto;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(22, 165, 161, .22), rgba(22, 165, 161, 0) 70%);
  z-index: -1;
}
.hero__thumb {
  display: none;
  position: absolute;
  top: -22px;
  right: -18px;
  width: 150px;
  aspect-ratio: 3 / 4;
  border: 4px solid #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 0;
}
.hero__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 700px) { .hero__thumb { display: block; } }
.hero__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.hero__badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.1;
}
.hero__badge span { font-size: 12px; color: var(--ink-soft); }
.hero__badge .icon { width: 26px; height: 26px; color: var(--brand); }

@media (min-width: 980px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
    gap: 56px;
    padding-block: 76px 84px;
  }
  .hero__photo-wrap { aspect-ratio: 5 / 4; }
}

/* Быстрые действия */
.quick-actions {
  position: relative;
  z-index: 2;
  margin-top: -8px;
  padding-bottom: var(--section-y);
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 900px) { .quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

.quick-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  min-height: 128px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur);
}
.quick-card:hover {
  border-color: var(--brand-tint-2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: var(--ink);
}
.quick-card .icon { width: 26px; height: 26px; color: var(--brand); }
.quick-card strong { font-family: var(--font-head); font-size: 17px; font-weight: 700; line-height: 1.25; }
.quick-card span { font-size: 13px; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   08. Секции и карточки
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .7); }
.section--alt { background: var(--bg-alt); }
.section--tint { background: var(--brand-tint); }
.section--teal-tint { background: var(--teal-tint); }
.section--warm { background: linear-gradient(180deg, #FBFAFB 0%, #FAF3F3 100%); }
.section--ink { background: var(--ink); color: #fff; }
.section--teal { background: var(--teal-sign); color: #fff; }
.section--teal h2, .section--ink h2,
.section--teal h3, .section--ink h3,
.section--teal h4, .section--ink h4 { color: #fff; }
.section--teal .lead, .section--ink .lead { color: rgba(255, 255, 255, .82); }
.section--teal .eyebrow { color: #D8F1F0; }
.section--teal .eyebrow::before { background: var(--brand-tint-2); }

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.card--flush { padding: 0; overflow: hidden; }
.card--pad-lg { padding: 28px; }
.card--shadow { box-shadow: var(--shadow); border-color: transparent; }

.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { gap: 20px; }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid { gap: 24px; }
}

/* --------------------------------------------------------------------------
   09. Услуги
   -------------------------------------------------------------------------- */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: auto -40px -60px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 165, 161, .10), transparent 70%);
  opacity: 0;
  transition: opacity var(--dur);
}
.service-card:hover {
  border-color: var(--brand-tint-2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: var(--ink);
}
.service-card:hover::after { opacity: 1; }
.service-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal-tint);
  color: var(--teal-dark);
}
.service-card__icon .icon { width: 24px; height: 24px; }
.service-card h3 { margin: 0; font-size: 20px; }
.service-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.service-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.service-card__meta b { color: var(--brand-dark); font-weight: 600; }

/* Категории услуг */
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.category-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14.5px;
  text-decoration: none;
}
.category-strip a:hover { border-color: var(--brand); color: var(--brand-dark); }
.category-strip .icon { width: 17px; height: 17px; color: var(--teal); }

/* --------------------------------------------------------------------------
   10. Шаги, преимущества, доверие
   -------------------------------------------------------------------------- */
.features {
  display: grid;
  gap: 18px;
}
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1180px) { .features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.feature__num {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--brand);
}
.feature .icon { width: 28px; height: 28px; color: var(--teal-dark); }
.feature h3 { margin: 0; font-size: 19px; }
.feature p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

.section--ink .feature {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
}
.section--ink .feature p { color: rgba(255, 255, 255, .76); }
.section--ink .feature .icon { color: #7FE0DD; }
.section--ink .feature__num { color: var(--brand-tint-2); }

/* Шаги визита */
.steps {
  display: grid;
  gap: 24px;
  counter-reset: step;
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}
.step {
  position: relative;
  padding-top: 64px;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(14, 124, 121, .16);
  color: var(--teal-dark);
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
}
.step::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 60px;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 6px, transparent 6px 12px);
  opacity: .5;
}
.step:last-child::after { display: none; }
@media (max-width: 899px) {
  .step::after { top: 48px; left: 24px; width: 1px; height: calc(100% - 28px);
    background: repeating-linear-gradient(180deg, var(--teal) 0 6px, transparent 6px 12px); }
  .step { padding-top: 0; padding-left: 70px; min-height: 56px; }
  .step:last-child::after { display: block; }
  .step:last-child { padding-bottom: 4px; }
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.section--teal .step p { color: rgba(255, 255, 255, .82); }

/* Счётчики доверия */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat {
  padding: 24px 20px;
  background: #fff;
  text-align: left;
}
.stat__value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--brand);
}
.stat__label { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   11. Врачи
   -------------------------------------------------------------------------- */
.doctors-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 700px) { .doctors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .doctors-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

.doctor-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow var(--dur), transform var(--dur), border-color var(--dur);
}
.doctor-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--brand-tint-2);
  color: var(--ink);
}
.doctor-card__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(170deg, var(--teal-tint) 0%, var(--brand-tint) 100%);
}
@media (min-width: 700px) { .doctor-card__photo { aspect-ratio: 4 / 3.4; } }
.doctor-card__photo--empty { aspect-ratio: auto; min-height: 150px; }
@media (min-width: 700px) { .doctor-card__photo--empty { min-height: 170px; } }
.doctor-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
}
.doctor-card__initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: clamp(46px, 7vw, 64px);
  font-weight: 800;
  letter-spacing: .02em;
  color: rgba(55, 52, 59, .34);
}
.doctor-card__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 500;
}
.doctor-card__body { display: grid; gap: 6px; padding: 20px 22px 24px; }
.doctor-card__name { font-family: var(--font-head); font-size: 20px; font-weight: 700; line-height: 1.22; letter-spacing: -.01em; }
.doctor-card__role { font-size: 14.5px; color: var(--brand-dark); font-weight: 500; }
.doctor-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; font-size: 13px; color: var(--ink-soft); }
.doctor-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.doctor-card__meta .icon { width: 15px; height: 15px; color: var(--teal); }

.doctor-hero {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .doctor-hero { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 48px; align-items: start; }
}
.doctor-hero__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(170deg, var(--teal-tint), var(--brand-tint));
}
.doctor-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.doctor-hero__photo--empty { aspect-ratio: auto; min-height: 240px; }
@media (min-width: 900px) { .doctor-hero__photo--empty { min-height: 300px; } }
.doctor-hero__initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 76px;
  font-weight: 800;
  color: rgba(55, 52, 59, .32);
}
.photo-flag {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--brand-dark);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   12. Страховые компании
   -------------------------------------------------------------------------- */
.partners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 700px) { .partners { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.partner {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: box-shadow var(--dur), border-color var(--dur);
}
.partner:hover { box-shadow: var(--shadow-sm); border-color: var(--brand-tint-2); }
.partner img { max-height: 38px; width: auto; max-width: 100%; object-fit: contain; }
.partner span {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
}
.partner--text { text-align: center; color: var(--ink-soft); font-size: 13px; }

.partners-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  padding-block: 4px 12px;
  scrollbar-width: thin;
}
.partners-strip a {
  display: grid;
  place-items: center;
  flex: none;
  min-width: 150px;
  height: 76px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.partners-strip img { max-height: 34px; width: auto; }

/* --------------------------------------------------------------------------
   13. Формы
   -------------------------------------------------------------------------- */
.form-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
@media (min-width: 700px) { .form-card { padding: 32px; } }

.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid__full { grid-column: 1 / -1; }
}

.field { display: grid; gap: 7px; }
.field > label, .field__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.field__req { color: var(--brand); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #D3CBD1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(22, 165, 161, .18);
}
.field input[aria-invalid='true'],
.field select[aria-invalid='true'],
.field textarea[aria-invalid='true'] { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(190, 54, 120, .12); }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6672' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}
.field__hint { font-size: 12.5px; color: var(--ink-soft); }
.field__error {
  display: none;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--brand-dark);
}
.field__error .icon { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.field.has-error .field__error { display: flex; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.consent input {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  flex: none;
  accent-color: var(--brand);
}
.consent a { color: var(--brand-dark); }

.form-footer { display: grid; gap: 14px; margin-top: 18px; }
.form-footer .note { margin: 0; }

.honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.5;
}
.form-status.is-visible { display: flex; }
.form-status--error { background: var(--brand-tint); color: var(--brand-dark); }
.form-status--success { background: var(--teal-tint); color: var(--teal-dark); }
.form-status .icon { width: 20px; height: 20px; flex: none; margin-top: 2px; }

.form-success {
  display: none;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  background: var(--teal-tint);
}
.form-success.is-visible { display: grid; }
.form-success h3 { margin: 0; font-size: 20px; color: var(--teal-dark); }
.form-success p { margin: 0; font-size: 14.5px; }
.form-success .btn { justify-self: start; }

.booking-layout { display: grid; gap: 32px; }
@media (min-width: 980px) {
  .booking-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
}

/* --------------------------------------------------------------------------
   14. Аккордеон
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.faq details[open] { border-color: var(--brand-tint-2); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  min-height: 60px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand-dark); }
.faq summary .icon {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--brand);
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq__body { padding: 0 22px 22px; font-size: 15.5px; color: var(--ink-soft); }
.faq__body p:last-child { margin-bottom: 0; }
.faq__body ul { margin-top: .4em; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq__body { animation: faqIn .32s var(--ease); }
}

/* --------------------------------------------------------------------------
   15. Лайтбокс
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  background: rgba(24, 21, 26, .92);
  padding: 16px;
}
.lightbox.is-open { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; }
.lightbox__title { font-family: var(--font-head); font-size: 15px; font-weight: 600; }
.lightbox__count { font-size: 13px; color: rgba(255, 255, 255, .7); }
.lightbox__stage {
  display: grid;
  place-items: center;
  overflow: auto;
  min-height: 0;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  background: #fff;
  transition: transform var(--dur) var(--ease);
  cursor: zoom-in;
}
.lightbox__stage.is-zoomed { place-items: start; }
.lightbox__stage.is-zoomed img { max-width: none; max-height: none; width: auto; cursor: zoom-out; }
.lightbox__controls { display: flex; align-items: center; justify-content: center; gap: 10px; }
.lb-btn {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
}
.lb-btn:hover { background: rgba(255, 255, 255, .18); }
.lb-btn:disabled { opacity: .35; cursor: default; }
.lb-btn .icon { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   16. Таблицы (цены, реквизиты, правовые статусы)
   -------------------------------------------------------------------------- */
.table-toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}
@media (min-width: 860px) {
  .table-toolbar { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); align-items: center; gap: 24px; }
}
.search {
  position: relative;
}
.search .icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--ink-soft);
  pointer-events: none;
}
.search input {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px 12px 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.search input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(22, 165, 161, .18);
}

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.table-scroll { overflow-x: auto; }

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}
table.data caption {
  padding: 18px 20px 14px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
table.data thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 14px 20px;
  background: var(--teal-tint);
  color: var(--teal-dark);
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
table.data tbody td,
table.data tbody th {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}
table.data tbody th { font-family: var(--font-head); font-size: 15.5px; font-weight: 600; }
table.data tbody tr:nth-child(even) { background: #FDFBFC; }
table.data tbody tr:last-child > * { border-bottom: 0; }
table.data tbody tr:hover { background: var(--brand-tint); }
table.data .price {
  font-family: var(--font-head);
  font-weight: 700;
  white-space: nowrap;
  color: var(--brand-dark);
}
table.data .price--placeholder { color: var(--brand); background: var(--brand-tint); }
table.data .code { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
table.data .col-action { text-align: right; width: 1%; }
table.data .col-action .btn { white-space: nowrap; }

/* Мобильные «карточки» из таблицы */
@media (max-width: 820px) {
  table.data thead { display: none; }
  table.data,
  table.data tbody,
  table.data tr,
  table.data td,
  table.data th { display: block; width: 100%; }
  table.data tbody tr {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }
  table.data tbody tr:nth-child(even) { background: #FDFBFC; }
  table.data tbody tr:last-child { border-bottom: 0; }
  table.data tbody th,
  table.data tbody td { padding: 4px 0; border: 0; }
  table.data tbody th { font-size: 16px; }
  table.data tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
  table.data .col-action { text-align: left; margin-top: 10px; width: auto; }
  table.data .col-action .btn { width: 100%; }
  table.data caption { display: block; width: 100%; padding: 16px 18px 12px; }
  table.data .price--placeholder { background: transparent; padding-inline: 0; }
  table.data .code { white-space: normal; }
}

.table-note {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.55;
}
.table-note .icon { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--brand); }

/* Реквизиты */
.requisites {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}
@media (min-width: 760px) { .requisites { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.requisites > div {
  display: grid;
  gap: 3px;
  padding: 14px 18px;
  background: #fff;
}
.requisites > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.requisites dt { font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); }
.requisites dd { margin: 0; font-size: 15.5px; font-weight: 500; overflow-wrap: anywhere; }

/* Правовые статусы */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--yes { background: var(--teal-tint); color: var(--teal-dark); }
.status--part { background: var(--brand-tint); color: var(--brand-dark); }
.status--no { background: #F2F0F2; color: var(--ink-soft); }

a.card {
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow var(--dur), border-color var(--dur), transform var(--dur);
}
a.card:hover {
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-tint-2);
  transform: translateY(-2px);
}
.legal-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 4px var(--radius) var(--radius) 4px;
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow var(--dur), border-color var(--dur);
}
.legal-card:hover { box-shadow: var(--shadow-sm); color: var(--ink); border-left-color: var(--brand); }
.legal-card h3 { margin: 0; font-size: 17px; }
.legal-card p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.legal-card .status { justify-self: start; }

/* --------------------------------------------------------------------------
   17. Контакты и карта
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: stretch; } }

.contact-card {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
@media (min-width: 700px) { .contact-card { padding: 32px; } }
.contact-row { display: flex; gap: 14px; }
.contact-row .icon { width: 22px; height: 22px; flex: none; color: var(--teal-dark); margin-top: 2px; }
.contact-row__label { display: block; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.contact-row__value { font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.contact-row__value a { color: var(--ink); text-decoration: none; }
.contact-row__value a:hover { color: var(--brand); }

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--brand-tint);
  min-height: 320px;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-card__caption {
  position: absolute;
  inset: auto 12px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  font-size: 13.5px;
  line-height: 1.4;
}
.photo-card__caption strong { display: block; font-family: var(--font-head); font-size: 15px; }

.map-wrap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--teal-tint);
  min-height: 320px;
}
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
.map-fallback {
  display: grid;
  gap: 8px;
  place-content: center;
  padding: 32px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
}

.hours-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15.5px;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list b { font-weight: 600; }
.hours-list .is-closed { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   18. Подвал
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #CFC9D1;
  font-size: 14.5px;
  padding-block: 48px 24px;
}
.site-footer a { color: #F3E3EC; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top {
  display: grid;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
@media (min-width: 760px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .footer-top { grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 40px; } }

.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__tagline { color: #B4ADB7; }
.footer-brand p { margin: 0; font-size: 14px; line-height: 1.6; color: #B4ADB7; }

.footer-col h4 {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.footer-col li { margin: 0; }
.footer-col a { font-size: 14.5px; }

.footer-contacts { display: grid; gap: 12px; }
.footer-contacts .contact-row .icon { color: #7FE0DD; }
.footer-contacts .contact-row__label { color: #A79FAB; }
.footer-contacts .contact-row__value a { color: #fff; }
.footer-contacts .contact-row__value { color: #E4DEE6; }

.footer-legal {
  display: grid;
  gap: 14px;
  padding-block: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  line-height: 1.6;
  color: #A79FAB;
}
.footer-legal p { margin: 0; }
.footer-legal strong { color: #E4DEE6; font-weight: 600; }

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-actions__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 13.5px;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur), border-color var(--dur);
}
.footer-actions__btn:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; text-decoration: none; }
.footer-actions__btn .icon { width: 17px; height: 17px; }

.footer-bottom {
  display: grid;
  gap: 10px;
  padding-top: 20px;
  font-size: 12.5px;
  color: #9A9299;
}
@media (min-width: 760px) { .footer-bottom { grid-template-columns: 1fr auto; align-items: center; } }

.disclaimer {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(190, 54, 120, .14);
  color: #F0DCE7;
  font-size: 13px;
  line-height: 1.5;
}
.disclaimer .icon { width: 17px; height: 17px; flex: none; margin-top: 2px; color: #F0DCE7; }

/* --------------------------------------------------------------------------
   19. Cookie-баннер, версия для слабовидящих, мобильная панель
   -------------------------------------------------------------------------- */
.cookie {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 120;
  display: none;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.cookie.is-visible { display: grid; }
@media (min-width: 860px) {
  .cookie {
    left: auto;
    right: 24px;
    bottom: 24px;
    width: 440px;
    padding: 20px;
  }
}
.cookie p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__actions .btn { flex: 1 1 140px; }

/* панель «версия для слабовидящих» */
.a11y-panel {
  position: fixed;
  top: 84px;
  right: 16px;
  z-index: 160;
  display: none;
  width: min(340px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.a11y-panel.is-open { display: grid; gap: 14px; }
.a11y-panel h2 { margin: 0; font-size: 16px; }
.a11y-panel__group { display: grid; gap: 8px; }
.a11y-panel__label { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.a11y-panel__row { display: flex; gap: 8px; flex-wrap: wrap; }
.a11y-panel .btn { flex: 1 1 0; }
.a11y-panel .btn[aria-pressed='true'] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* мобильная нижняя панель */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(55, 52, 59, .08);
}
.mobile-cta .btn { min-height: 48px; font-size: 15px; padding-inline: 12px; }
@media (min-width: 1200px) { .mobile-cta { display: none; } }
@media (max-width: 1199px) {
  body { padding-bottom: 76px; }
  .cookie { bottom: 84px; }
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 92px;
  z-index: 105;
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.to-top.is-visible { display: grid; }
@media (min-width: 1200px) { .to-top { bottom: 24px; } }.to-top .icon { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   20. Анимации
   -------------------------------------------------------------------------- */
.no-js .reveal {
  opacity: 1;
  transform: none;
}
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Хлебные крошки и заголовки внутренних страниц
   -------------------------------------------------------------------------- */
.breadcrumbs {
  padding-block: 18px 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.breadcrumbs li:not(:last-child)::after { content: '/'; color: #C7C0C6; }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumbs [aria-current='page'] { color: var(--ink); }

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 18px 40px;
  background:
    radial-gradient(70% 90% at 92% -10%, var(--brand-tint) 0%, rgba(250, 242, 246, 0) 60%),
    var(--bg);
}
@media (min-width: 900px) { .page-hero { padding-block: 22px 56px; } }
.page-hero__inner { max-width: 760px; margin-inline: 0; }
.page-hero h1 { font-size: clamp(30px, 3.4vw, 48px); }
.page-hero h1 { margin-bottom: 18px; }
.page-hero p { max-width: 66ch; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.page-hero__tooth {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 320px;
  height: 320px;
  color: var(--teal);
  opacity: .06;
  pointer-events: none;
}

/* Текстовые блоки (документы) */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 40px; font-size: clamp(22px, 2.2vw, 30px); }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose a { color: var(--brand-dark); }
.prose table { margin: 24px 0; }
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.placeholder {
  color: var(--brand-dark);
  font-weight: 600;
  background: var(--brand-tint);
  border-radius: 4px;
  padding: 0 3px;
  overflow-wrap: anywhere;
}

/* Лицензия */
.license-scans {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .license-scans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.scan {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow var(--dur), border-color var(--dur);
}
.scan:hover { box-shadow: var(--shadow); border-color: var(--brand-tint-2); color: var(--ink); }
.scan img { width: 100%; border-radius: 10px; background: var(--bg-alt); display: block; }
.scan span { font-size: 13.5px; font-weight: 500; line-height: 1.4; }

/* Документы врача: список ссылок на PDF */
.doc-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.doc-list li { margin: 0; }
.doc-link {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color var(--dur), background var(--dur);
}
.doc-link:hover { border-color: var(--brand-tint-2); background: var(--brand-tint); color: var(--ink); }
.doc-link .icon { width: 18px; height: 18px; color: var(--brand); margin-top: 3px; flex: none; }
.doc-link span { display: grid; gap: 2px; }
.doc-link strong { font-family: var(--font-head); font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.doc-link small { color: var(--ink-soft); font-size: 12.5px; line-height: 1.4; }

/* Отзывы */
.review-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.review-card__head { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-tint-2);
  color: var(--brand-dark);
  font-family: var(--font-head);
  font-weight: 700;
}
.review-card__name { font-family: var(--font-head); font-weight: 600; }
.review-card__meta { font-size: 12.5px; color: var(--ink-soft); }
.review-card p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* Категории / теги */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-tint);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 600;
}

/* Двухколоночный контент */
.split {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; } }
.split--wide { align-items: center; }
@media (min-width: 980px) { .split--wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; } }

.figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-tint);
}
.figure img { width: 100%; display: block; }
.figure figcaption { padding: 12px 16px; font-size: 13px; color: var(--ink-soft); background: #fff; }

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.info-list li {
  display: flex;
  gap: 12px;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
}
.info-list .icon { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--teal-dark); }
.info-list strong { display: block; font-weight: 600; }
.info-list span { color: var(--ink-soft); }

.callout {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--teal-tint);
  border: 1px solid rgba(22, 165, 161, .22);
}
.callout .icon { width: 24px; height: 24px; flex: none; color: var(--teal-dark); margin-top: 2px; }
.callout h3 { margin: 0 0 6px; font-size: 17px; }
.callout p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.callout--brand { background: var(--brand-tint); border-color: var(--brand-tint-2); }
.callout--brand .icon { color: var(--brand); }

/* --------------------------------------------------------------------------
   21. Служебные страницы
   -------------------------------------------------------------------------- */
.error-page {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding-block: 64px;
  text-align: center;
}
.error-page__code {
  font-family: var(--font-head);
  font-size: clamp(84px, 16vw, 160px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--brand-tint-2);
}
.error-page h1 { margin-top: 12px; }
.error-page p { max-width: 52ch; margin-inline: auto; color: var(--ink-soft); }
.error-page .error-page__code { color: var(--brand-tint-2); }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

.sitemap-list { columns: 1; }
@media (min-width: 700px) { .sitemap-list { columns: 2; column-gap: 40px; } }
.sitemap-list h2 { break-after: avoid; margin-top: 28px; font-size: 20px; }
.sitemap-list ul { margin: 0 0 22px; padding: 0; list-style: none; break-inside: avoid; }
.sitemap-list li { margin: 0; padding: 6px 0; border-bottom: 1px solid var(--line); }
.sitemap-list a { color: var(--ink); text-decoration: none; }
.sitemap-list a:hover { color: var(--brand); text-decoration: underline; }

/* --------------------------------------------------------------------------
   22. Версия для слабовидящих
   -------------------------------------------------------------------------- */
html.a11y-size-1 { --a11y-scale: 1.12; }
html.a11y-size-2 { --a11y-scale: 1.26; }
html.a11y-size-3 { --a11y-scale: 1.44; }
html[class*='a11y-size'] body { font-size: calc(17px * var(--a11y-scale)); }
html[class*='a11y-size'] h1 { font-size: calc(44px * var(--a11y-scale)); }
html[class*='a11y-size'] h2 { font-size: calc(32px * var(--a11y-scale)); }
html[class*='a11y-size'] h3 { font-size: calc(22px * var(--a11y-scale)); }
html[class*='a11y-size'] .hero__sub,
html[class*='a11y-size'] .lead { font-size: calc(18px * var(--a11y-scale)); }

.a11y-contrast,
.a11y-contrast .site-header,
.a11y-contrast .topbar,
.a11y-contrast .mobile-nav,
.a11y-contrast .cookie,
.a11y-contrast .a11y-panel,
.a11y-contrast .form-card,
.a11y-contrast .card,
.a11y-contrast .feature,
.a11y-contrast .quick-card,
.a11y-contrast .service-card,
.a11y-contrast .doctor-card,
.a11y-contrast .contact-card,
.a11y-contrast .partner,
.a11y-contrast .table-wrap,
.a11y-contrast .faq details,
.a11y-contrast .section,
.a11y-contrast .section--tint,
.a11y-contrast .section--alt,
.a11y-contrast .section--teal,
.a11y-contrast .section--ink,
.a11y-contrast .hero,
.a11y-contrast .page-hero {
  background: #000 !important;
  color: #FFEE00 !important;
}
.a11y-contrast h1,
.a11y-contrast h2,
.a11y-contrast h3,
.a11y-contrast h4,
.a11y-contrast p,
.a11y-contrast li,
.a11y-contrast dt,
.a11y-contrast dd,
.a11y-contrast span,
.a11y-contrast strong,
.a11y-contrast .lead,
.a11y-contrast .muted,
.a11y-contrast .note,
.a11y-contrast .eyebrow,
.a11y-contrast .service-card p,
.a11y-contrast .feature p,
.a11y-contrast .faq__body,
.a11y-contrast .contact-row__label,
.a11y-contrast .contact-row__value a,
.a11y-contrast .brand__name,
.a11y-contrast .brand__tagline { color: #FFEE00 !important; }
.a11y-contrast a,
.a11y-contrast .link-arrow { color: #7FE0DD !important; }
.a11y-contrast a:hover { color: #FFFFFF !important; }
.a11y-contrast .btn,
.a11y-contrast .btn--primary,
.a11y-contrast .btn--teal,
.a11y-contrast .chip,
.a11y-contrast .footer-actions__btn,
.a11y-contrast .lb-btn,
.a11y-contrast .topbar__a11y {
  background: #000 !important;
  color: #FFEE00 !important;
  border: 2px solid #FFEE00 !important;
}
.a11y-contrast .btn:hover { background: #FFEE00 !important; color: #000 !important; }
.a11y-contrast .icon { color: #FFEE00 !important; background: none !important; }
.a11y-contrast .eyebrow::before { background: #FFEE00 !important; }
.a11y-contrast body { background: #000 !important; }
.a11y-contrast .card,
.a11y-contrast .feature,
.a11y-contrast .quick-card,
.a11y-contrast .service-card,
.a11y-contrast .doctor-card,
.a11y-contrast .contact-card,
.a11y-contrast .partner,
.a11y-contrast .table-wrap,
.a11y-contrast .faq details,
.a11y-contrast .form-card,
.a11y-contrast .review-card,
.a11y-contrast .figure,
.a11y-contrast .callout,
.a11y-contrast .cookie,
.a11y-contrast .a11y-panel { border: 2px solid #FFEE00 !important; }
.a11y-contrast table.data thead th,
.a11y-contrast table.data tbody tr:nth-child(even) { background: #000 !important; color: #FFEE00 !important; }
.a11y-contrast table.data thead th,
.a11y-contrast table.data tbody td,
.a11y-contrast table.data tbody th { border-color: #FFEE00 !important; }
.a11y-contrast .field input,
.a11y-contrast .field select,
.a11y-contrast .field textarea,
.a11y-contrast .search input {
  background: #000 !important;
  color: #FFEE00 !important;
  border: 2px solid #FFEE00 !important;
}
.a11y-contrast .site-footer { background: #000 !important; border-top: 2px solid #FFEE00; }
.a11y-contrast .quick-card span { color: #FFEE00 !important; }
.a11y-contrast .placeholder { background: #000 !important; color: #FFFFFF !important; outline: 1px solid #FFEE00; }
.a11y-contrast .badge,
.a11y-contrast .status,
.a11y-contrast .tag,
.a11y-contrast .trust li,
.a11y-contrast .chip,
.a11y-contrast .review-card,
.a11y-contrast .hero__badge,
.a11y-contrast .photo-card__caption,
.a11y-contrast .doctor-card__tag { background: #000 !important; color: #FFEE00 !important; border: 1px solid #FFEE00; }
.a11y-contrast :focus-visible { outline: 3px solid #FFFFFF; }

.a11y-hide-images img,
.a11y-hide-images picture,
.a11y-hide-images .hero__photo-wrap,
.a11y-hide-images .doctor-card__photo,
.a11y-hide-images .photo-card,
.a11y-hide-images .figure,
.a11y-hide-images .scan img,
.a11y-hide-images .partners,
.a11y-hide-images .partners-strip,
.a11y-hide-images .map-wrap { display: none !important; }

/* Уважение к настройкам ОС */
@media (forced-colors: active) {
  .btn, .card, .field input, .field select, .field textarea { border: 1px solid CanvasText; }
}
