/* вид: clinics=numbered · decor=round · header=rule · hero=lead · rhythm=airy · sections=ruled · type=sans-wide */
/* ---------- База, общая для всех семейств: 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:         #f9f5f8;
    --color-surface:    #fcfbfb;
    --color-sunken:     #efe4ec;
    --color-text:       #20151d;
    --color-muted:      #634e5d;
    --color-border:     #e0d6dd;
    --color-border-str: #c9b7c4;
    --color-primary:    #8c2670;
    --color-primary-d:  #681c53;
    --color-accent:     #2fa26c;
    --color-light:      #cfeddf;

    --font-heading: Cambria, 'Noto Serif', Georgia, serif;
    --font-body: Calibri, 'Segoe UI', Carlito, system-ui, sans-serif;

    --container: 1400px;
    --gutter: 16px;
    --radius-sm: 5px;
    --radius-md: 10px;
    --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; }

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.ol7rre li { position: relative; padding-left: 30px; }
.ol7rre li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.ol7rre 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); }
.o18x5j { display: grid; gap: 28px; }
@media (min-width: 900px) { .o18x5j { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; } }
.o1vo5g p { font-size: 1.05rem; }
:root { --look-radius: 10px; --look-shadow: 0 2px 10px rgba(0,0,0,.06); --look-gap: 32px; --look-section: 104px; }
.ozjv9k { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 18.0px; line-height: 1.65; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.68rem, 1.1rem + 2.6vw, 3.36rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.42rem, 1.1rem + 1vw, 1.94rem); }
h3 { font-size: 1.11rem; }
.o15h07 > .og81o6 { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.o1iktb { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.o1astj { font-weight: 700; line-height: 1.15; }
.op7qb2 { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.o1486x { flex: 0 0 auto; }

.o15h07 { border-bottom: 4px solid var(--color-accent); }
.o1a78u { display: flex; align-items: center; min-height: 70px; flex: 1 1 auto; }
.o1iktb { margin-right: auto; }
.o9xgwi { gap: 24px; }
.o9xgwi a { padding-bottom: 4px; border-bottom: 2px solid transparent; }
.o9xgwi a:hover { border-bottom-color: var(--color-accent); }
.o1fmq9 { padding-block: 60px 10px; }
.o1cyjl { display: grid; gap: 28px; }
@media (min-width: 900px) { .o1cyjl { grid-template-columns: 1.6fr 1fr; gap: 46px; align-items: end; } }
.o1epns { font-size: 1.22rem; line-height: 1.6; }
.oxd6i2 img { width: 100%; height: auto; }
.hero__caption { font-size: 0.8rem; }
.o21pnw { display: grid; gap: 0; counter-reset: clinic; }
.oyyvyp { position: relative; padding: 24px 0 24px 58px; border-bottom: 1px solid var(--color-border); }
.oyyvyp::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; }
.o1y826 { padding-block: var(--look-section); }
.o1rlfi { margin-bottom: 26px; padding-top: 18px; border-top: 2px solid var(--color-text); }
@media (min-width: 1000px) {
  .o1y826 > .og81o6 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); column-gap: 48px; align-items: start; }
  .o1y826 > .og81o6 > .o1rlfi { grid-column: 1; position: sticky; top: 84px; }
  .o1y826 > .og81o6 > :not(.o1rlfi) { grid-column: 2; }
  .o1y826 .opmrxk { max-width: none; }
}