/* вид: clinics=numbered · decor=flat · header=stacked · hero=cover · rhythm=normal · sections=plain · type=serif-display */
/* ---------- База, общая для всех семейств: 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:         #f6f2f2;
    --color-surface:    #ffffff;
    --color-sunken:     #eee6e7;
    --color-text:       #221617;
    --color-muted:      #6f575a;
    --color-border:     #e0d6d7;
    --color-border-str: #c8b6b8;
    --color-primary:    #91232f;
    --color-primary-d:  #6c1a23;
    --color-accent:     #a2652f;
    --color-light:      #ebdacb;

    --font-heading: 'Lucida Sans', 'Lucida Grande', 'Lucida Sans Unicode', sans-serif;
    --font-body: Georgia, 'Noto Serif', serif;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.n145k9 li { position: relative; padding-left: 30px; }
.n145k9 li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.n145k9 li::after { content: ""; position: absolute; left: 5px; top: 8px; width: 6px; height: 10px;
    border-right: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent); transform: rotate(45deg); }
.nag34f { display: grid; gap: 18px; max-width: 80ch; }
@media (min-width: 900px) { .nag34f { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; max-width: none; } }
.nzgz7g { padding-left: 18px; border-left: 3px solid var(--color-accent); }
.nag34f dt { font-weight: 700; margin-bottom: 4px; }
.nag34f dd { color: var(--color-muted); font-size: 0.95rem; }
:root { --look-radius: 3px; --look-shadow: none; --look-gap: 18px; --look-section: 96px; }
.n1h72l { border-radius: var(--look-radius); }
.niybhg { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 16.0px; line-height: 1.55; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.03em; }
h1 { font-size: clamp(1.79rem, 1.1rem + 2.6vw, 3.58rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.51rem, 1.1rem + 1vw, 2.07rem); }
h3 { font-size: 1.19rem; }
.n8h903 > .n1jhvm { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.n197jp { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.n9t5xd { font-weight: 700; line-height: 1.15; }
.nlswwg { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.n7i6vz { flex: 0 0 auto; }

.n8h903 { border-bottom: 1px solid var(--color-border); text-align: center; }
.n8h903 > .n1jhvm { flex-direction: column; gap: 0; }
.nxxnd6 { display: flex; justify-content: center; padding-top: 22px; }
.n197jp { flex-direction: column; text-align: center; gap: 6px; }
.n1tktw { width: 100%; }
.nfgsbc { justify-content: center; gap: 26px; padding-bottom: 14px; }
.n1wx3g { padding-block: 0; position: relative; }
.n1xciu { display: grid; gap: 0; }
.n6ik2b { display: contents; }
.n6ik2b img { order: -1; width: 100%; height: auto; max-height: 480px; object-fit: cover; object-position: 50% 35%; display: block; }
.n1xciu > 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) { .n1xciu > 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; } }
.nyojws { display: grid; gap: 0; counter-reset: clinic; }
.nccukr { position: relative; padding: 24px 0 24px 58px; border-bottom: 1px solid var(--color-border); }
.nccukr::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; }
.n11bug { padding-block: var(--look-section); }
.n140he { margin-bottom: 26px; }