/* вид: clinics=numbered · decor=shadow · header=compact · hero=cover · rhythm=tight · sections=plain · type=mono-accent */
/* ---------- База, общая для всех семейств: 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:         #f6f4f6;
    --color-surface:    #ffffff;
    --color-sunken:     #ece8ed;
    --color-text:       #2d1d2e;
    --color-muted:      #6d566e;
    --color-border:     #e4dbe4;
    --color-border-str: #cbbbcc;
    --color-primary:    #6e2373;
    --color-primary-d:  #4c1950;
    --color-accent:     #72a430;
    --color-light:      #e1edd0;

    --font-heading: Verdana, Geneva, 'DejaVu Sans', sans-serif;
    --font-body: Verdana, Geneva, 'DejaVu Sans', sans-serif;

    --container: 1400px;
    --gutter: 16px;
    --radius-sm: 1px;
    --radius-md: 3px;
    --space-section: 68px;
    --border: 1px solid var(--color-border);
}

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

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; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.jj7yrz { display: grid; gap: 28px; }
@media (min-width: 900px) { .jj7yrz { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; } }
.jzfnww p { font-size: 1.05rem; }
:root { --look-radius: 3px; --look-shadow: 0 6px 20px rgba(0,0,0,.08); --look-gap: 32px; --look-section: 104px; }
.j1qnjh { border-radius: var(--look-radius); }
.j1tmqy { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 16.5px; line-height: 1.75; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.60rem, 1.1rem + 2.6vw, 3.20rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); }
h3 { font-size: 1.06rem; }

h2, h3 { font-family: ui-monospace, Consolas, monospace; letter-spacing: -0.02em; }
.j4fxir > .j68n0x { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.jtcwua { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.jcpvjc { font-weight: 700; line-height: 1.15; }
.j4ws9c { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.j5yt49 { flex: 0 0 auto; }

.j4fxir { border-bottom: 1px solid var(--color-border); }
.ju9kep { display: flex; align-items: center; min-height: 50px; flex: 1 1 auto; }
.jtcwua { margin-right: auto; }
.jcpvjc { font-size: 0.95rem; }
.j4ws9c { display: none; }
.jt0w22 { gap: 16px; }
.jt0w22 a { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; }
.j1a2zg { padding-block: 0; position: relative; }
.j1cp4c { display: grid; gap: 0; }
.j1vq56 { display: contents; }
.j1vq56 img { order: -1; width: 100%; height: auto; max-height: 480px; object-fit: cover; object-position: 50% 35%; display: block; }
.j1cp4c > 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) { .j1cp4c > 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; } }
.jvyqve { display: grid; gap: 0; counter-reset: clinic; }
.j1s4s5 { position: relative; padding: 24px 0 24px 58px; border-bottom: 1px solid var(--color-border); }
.j1s4s5::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; }
.j12319 { padding-block: var(--look-section); }
.j1dog8 { margin-bottom: 26px; }