/* вид: clinics=numbered · decor=soft · header=inline · hero=cover · rhythm=tight · sections=ruled · type=serif-sans */
/* ---------- База, общая для всех семейств: reset, токены, механика ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body,
h1, h2, h3, h4,
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }

ul[class], ol[class] { padding: 0; list-style: none; }

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

button, input, select, textarea { font: inherit; color: inherit; }

:root {
    --color-bg:         #f7f5f7;
    --color-surface:    #fbfbfb;
    --color-sunken:     #eeeaed;
    --color-text:       #251722;
    --color-muted:      #655062;
    --color-border:     #dfd5de;
    --color-border-str: #c8b6c5;
    --color-primary:    #6c3262;
    --color-primary-d:  #4c2345;
    --color-accent:     #2fa27c;
    --color-light:      #cdece2;

    --font-heading: 'Book Antiqua', Palatino, 'Palatino Linotype', serif;
    --font-body: Tahoma, 'Segoe UI', Geneva, sans-serif;

    --container: 1160px;
    --gutter: 16px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --space-section: 47px;
    --border: 1px solid var(--color-border);
}

@media (min-width: 768px) {
    :root { --gutter: 32px; --space-section: 72px; }
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    overflow-wrap: break-word;
}

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; font-weight: 700; }

a { color: var(--color-primary-d); text-underline-offset: 3px; }
a:hover { color: var(--color-accent); }

:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }

.x143oz { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.x1l7wx {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--color-primary); color: #fff; padding: 12px 20px;
}
.x1l7wx:focus { left: 0; color: #fff; }

/* механика мобильного меню — одинакова везде, внешний вид задаёт семейство */
.xa9dk1 { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; min-height: 44px; }
.xl8gdm { width: 18px; height: 18px; }
.xa9dk1[aria-expanded="true"] .x1gqo5,
.xa9dk1[aria-expanded="false"] .x28xmn { display: none; }
.x47xj1 { display: none; }
.x47xj1[data-open="true"] { display: block; }
.x16ch0 { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.x16ch0 a { display: block; text-decoration: none; color: var(--color-text); }
@media (min-width: 900px) {
    .xa9dk1 { display: none; }
    .x47xj1 { display: block; }
    .x16ch0 { flex-direction: row; }
}

.x13m21 { margin: 0; }
.x13m21 img { width: 100%; }

.x128ti { padding-block: var(--space-section); }

/* дети сеток не должны раздвигать контейнер длинным содержимым */
.x1yr5z > *, .xw2y8u > *, .xs32mg > *, .x1weyi > * { min-width: 0; }
.xa6bgo li a { display: inline-block; padding-block: 4px; }
.x1fgja { max-width: 70ch; margin-bottom: 28px; }
.x5uuf1 { color: var(--color-muted); margin-top: 12px; }

.x1so28 { max-width: 68ch; }
.x1so28 > * + * { margin-top: 18px; }
.x1so28 ul { padding-left: 1.2em; }
.x1so28 li + li { margin-top: 8px; }

.xs32mg { display: grid; gap: 16px; }
@media (min-width: 640px) { .x1ju3n { grid-template-columns: repeat(2, 1fr); } }

.xptgey p { color: var(--color-muted); font-size: 0.96rem; }
.x8l9c4 { margin-bottom: 8px; }

.xow222 { counter-reset: step; display: grid; }
.xow222 li { counter-increment: step; position: relative; }
.xow222 strong { display: block; margin-bottom: 4px; }
.xow222 p { color: var(--color-muted); font-size: 0.95rem; }

.x34irz { display: grid; gap: 14px; }
.x34irz strong { display: block; margin-bottom: 4px; }
.x34irz p { color: var(--color-muted); font-size: 0.95rem; }
.clinics__more { margin-top: 24px; max-width: 76ch; font-size: 0.98rem; }
.xy5d4h { margin-top: 20px; max-width: 76ch; font-size: 0.86rem; color: var(--color-muted); }

.xm6r0j { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 0.84rem; color: var(--color-muted); }
.x14z8f { font-size: 0.95rem; }
.x14z8f > * + * { margin-top: 10px; }
.x12a3h dd { margin: 0; font-weight: 700; white-space: nowrap; }
.x12a3h dt { color: var(--color-muted); }
.x1g8hx { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

.xkitv4 { display: inline-block; text-decoration: none; }
.x1oopy::before { content: "\260E "; }

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

:target, .x128ti[id] { scroll-margin-top: 88px; }

/* --- стили разделов подключаются только когда раздел есть на странице */
.xc7lqt { display: grid; gap: 16px; }
@media (min-width: 720px) { .xc7lqt { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .xc7lqt { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.x1ebbg { border-radius: var(--look-radius); position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--color-border); background: var(--color-surface); }
.x1725w { position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 50%;
    background: var(--color-accent); color: #fff; font-weight: 700; font-size: 0.9rem; display: grid; place-items: center; }
.x47ex9 { font-size: 1.02rem; margin-bottom: 6px; }
.x1ebbg p { color: var(--color-muted); font-size: 0.95rem; }
.x1vup0 { overflow-x: auto; }
.x71xn5 { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.x71xn5 th, .x71xn5 td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--color-border); }
.x71xn5 thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); border-bottom: 2px solid var(--color-text); }
.x71xn5 tbody th { font-weight: 700; width: 22%; }
.x71xn5 td { color: var(--color-muted); }
.x1weyi { display: grid; gap: 18px; max-width: 80ch; }
@media (min-width: 900px) { .x1weyi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; max-width: none; } }
.x1jyvv { padding-left: 18px; border-left: 3px solid var(--color-accent); }
.x1weyi dt { font-weight: 700; margin-bottom: 4px; }
.x1weyi dd { color: var(--color-muted); font-size: 0.95rem; }
:root { --look-radius: 16px; --look-shadow: 0 1px 2px rgba(0,0,0,.05); --look-gap: 28px; --look-section: 72px; }
.xptgey { border-radius: var(--look-radius); }
.xkitv4 { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 17.0px; line-height: 1.75; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.66rem, 1.1rem + 2.6vw, 3.33rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.40rem, 1.1rem + 1vw, 1.92rem); }
h3 { font-size: 1.10rem; }
.x1avgv > .x143oz { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.xvkdgp { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.x15enq { font-weight: 700; line-height: 1.15; }
.x1qmlw { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.x1c4a3 { flex: 0 0 auto; }

.x1avgv { border-bottom: 1px solid var(--color-border); }
.x19bt5 { display: flex; align-items: center; min-height: 66px; flex: 1 1 auto; }
.xvkdgp { margin-right: auto; }
.x16ch0 { gap: 22px; }
@media (max-width: 899px) { .x47xj1 { flex: 1 1 100%; } }
.x7g22s { padding-block: 0; position: relative; }
.x1yr5z { display: grid; gap: 0; }
.x13m21 { display: contents; }
.x13m21 img { order: -1; width: 100%; height: auto; max-height: 480px; object-fit: cover; object-position: 50% 35%; display: block; }
.x1yr5z > div { background: var(--color-surface); margin-top: -70px; position: relative; z-index: 1;
    padding: 28px 26px; border: 1px solid var(--color-border); }
@media (min-width: 900px) { .x1yr5z > div { margin: -110px 40px 0; padding: 36px 40px; } }
.hero__caption { order: 2; margin: 14px 0 0; }
@media (min-width: 900px) { .hero__caption { margin-inline: 40px; } }
.xw2y8u { display: grid; gap: 0; counter-reset: clinic; }
.xw0fs9 { position: relative; padding: 24px 0 24px 58px; border-bottom: 1px solid var(--color-border); }
.xw0fs9::before { counter-increment: clinic; content: counter(clinic, decimal-leading-zero);
    position: absolute; left: 0; top: 24px; font-size: 1.35rem; font-weight: 700;
    color: var(--color-accent); font-variant-numeric: tabular-nums; }
.x128ti { padding-block: var(--look-section); }
.x1fgja { margin-bottom: 26px; padding-top: 18px; border-top: 2px solid var(--color-text); }
@media (min-width: 1000px) {
  .x128ti > .x143oz { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); column-gap: 48px; align-items: start; }
  .x128ti > .x143oz > .x1fgja { grid-column: 1; position: sticky; top: 84px; }
  .x128ti > .x143oz > :not(.x1fgja) { grid-column: 2; }
  .x128ti .x1so28 { max-width: none; }
}