/* вид: clinics=numbered · decor=shadow · header=banner · hero=lead · rhythm=tight · sections=accentbar · 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:         #f9f7f7;
    --color-surface:    #ffffff;
    --color-sunken:     #eee7e7;
    --color-text:       #271a19;
    --color-muted:      #665250;
    --color-border:     #dcd2d1;
    --color-border-str: #c4b3b1;
    --color-primary:    #772b23;
    --color-primary-d:  #531e19;
    --color-accent:     #2c9887;
    --color-light:      #cfede8;

    --font-heading: Candara, 'Segoe UI', Optima, sans-serif;
    --font-body: Candara, 'Segoe UI', Optima, sans-serif;

    --container: 1320px;
    --gutter: 16px;
    --radius-sm: 2px;
    --radius-md: 4px;
    --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; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.f143kp li { position: relative; padding-left: 30px; }
.f143kp li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.f143kp 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); }
:root { --look-radius: 4px; --look-shadow: 0 6px 20px rgba(0,0,0,.08); --look-gap: 24px; --look-section: 96px; }
.fno7fz { border-radius: var(--look-radius); }
.fxlnon { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 16.0px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.03em; }
h1 { font-size: clamp(1.47rem, 1.1rem + 2.6vw, 2.94rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.24rem, 1.1rem + 1vw, 1.70rem); }
h3 { font-size: 0.98rem; }
.f15457 > .fam7t1 { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.fb8ipe { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.f1b5v8 { font-weight: 700; line-height: 1.15; }
.f1r9t0 { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.f14f5g { flex: 0 0 auto; }

.f15457 { background: var(--color-primary); color: #fff; }
.f15457 a, .f15457 .fb8ipe { color: #fff; }
.fxz14s { display: flex; align-items: center; min-height: 72px; flex: 1 1 auto; }
.fb8ipe { margin-right: auto; }
.f1r9t0 { color: rgba(255,255,255,.75); }
.f17lh7 { gap: 20px; }
.f17lh7 a { color: #fff; }
.f1rzh2 { color: #fff; }
.f5594a { padding-block: 60px 10px; }
.fh1298 { display: grid; gap: 28px; }
@media (min-width: 900px) { .fh1298 { grid-template-columns: 1.6fr 1fr; gap: 46px; align-items: end; } }
.fgligg { font-size: 1.22rem; line-height: 1.6; }
.fq8w5o img { width: 100%; height: auto; }
.hero__caption { font-size: 0.8rem; }
.f1fsic { display: grid; gap: 0; counter-reset: clinic; }
.fwqwyh { position: relative; padding: 24px 0 24px 58px; border-bottom: 1px solid var(--color-border); }
.fwqwyh::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; }
.fhzzel { padding-block: var(--look-section); }
.f24oh7 { margin-bottom: 26px; padding-left: 16px; border-left: 4px solid var(--color-accent); }