/* вид: 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; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.n1t0le li { position: relative; padding-left: 30px; }
.n1t0le li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.n1t0le 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); }
.nosx0q { display: grid; gap: 28px; }
@media (min-width: 900px) { .nosx0q { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; } }
.n1sln3 p { font-size: 1.05rem; }
.n18mfn { display: grid; gap: 18px; max-width: 80ch; }
@media (min-width: 900px) { .n18mfn { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; max-width: none; } }
.n1iviv { padding-left: 18px; border-left: 3px solid var(--color-accent); }
.n18mfn dt { font-weight: 700; margin-bottom: 4px; }
.n18mfn dd { color: var(--color-muted); font-size: 0.95rem; }
:root { --look-radius: 3px; --look-shadow: none; --look-gap: 18px; --look-section: 96px; }
.n1cknh { border-radius: var(--look-radius); }
.nf9up3 { 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; }
.n19obo > .n1766u { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.nays74 { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.n16j65 { font-weight: 700; line-height: 1.15; }
.n19ah0 { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.n18pcc { flex: 0 0 auto; }

.n19obo { border-bottom: 1px solid var(--color-border); text-align: center; }
.n19obo > .n1766u { flex-direction: column; gap: 0; }
.n6j1nb { display: flex; justify-content: center; padding-top: 22px; }
.nays74 { flex-direction: column; text-align: center; gap: 6px; }
.n1ijmh { width: 100%; }
.n1oi9l { justify-content: center; gap: 26px; padding-bottom: 14px; }
.n1slax { padding-block: 0; position: relative; }
.nfs0n2 { display: grid; gap: 0; }
.nrla3i { display: contents; }
.nrla3i img { order: -1; width: 100%; height: auto; max-height: 480px; object-fit: cover; object-position: 50% 35%; display: block; }
.nfs0n2 > 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) { .nfs0n2 > 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; } }
.n1dgus { display: grid; gap: 0; counter-reset: clinic; }
.n1xn8e { position: relative; padding: 24px 0 24px 58px; border-bottom: 1px solid var(--color-border); }
.n1xn8e::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; }
.nk1nfx { padding-block: var(--look-section); }
.n11q2b { margin-bottom: 26px; }