/* вид: clinics=cards2 · decor=line · header=compact · hero=band · rhythm=normal · sections=accentbar · 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:         #f9f8f7;
    --color-surface:    #fbfbfb;
    --color-sunken:     #eceae7;
    --color-text:       #221d16;
    --color-muted:      #6f6557;
    --color-border:     #e1dcd7;
    --color-border-str: #c3bbb0;
    --color-primary:    #6f4d1d;
    --color-primary-d:  #4b3413;
    --color-accent:     #332a91;
    --color-light:      #d1ceec;

    --font-heading: 'Segoe UI', system-ui, Roboto, sans-serif;
    --font-body: Calibri, Carlito, 'Segoe UI', sans-serif;

    --container: 1360px;
    --gutter: 16px;
    --radius-sm: 1px;
    --radius-md: 2px;
    --space-section: 57px;
    --border: 1px solid var(--color-border);
}

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

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

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

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

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

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

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

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

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

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

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

.r1xtc3 { counter-reset: step; display: grid; }
.r1xtc3 li { counter-increment: step; position: relative; }
.r1xtc3 strong { display: block; margin-bottom: 4px; }
.r1xtc3 p { color: var(--color-muted); font-size: 0.95rem; }

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.r1prgd { display: grid; gap: 28px; }
@media (min-width: 900px) { .r1prgd { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; } }
.ri2r4t p { font-size: 1.05rem; }
.r1d1xg { overflow-x: auto; }
.r12rci { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.r12rci th, .r12rci td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--color-border); }
.r12rci thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); border-bottom: 2px solid var(--color-text); }
.r12rci tbody th { font-weight: 700; width: 22%; }
.r12rci td { color: var(--color-muted); }
.rni8ea { display: grid; gap: 18px; max-width: 80ch; }
@media (min-width: 900px) { .rni8ea { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; max-width: none; } }
.r132u9 { padding-left: 18px; border-left: 3px solid var(--color-accent); }
.rni8ea dt { font-weight: 700; margin-bottom: 4px; }
.rni8ea dd { color: var(--color-muted); font-size: 0.95rem; }
:root { --look-radius: 2px; --look-shadow: none; --look-gap: 16px; --look-section: 88px; }
.r4l1fx { border-radius: var(--look-radius); }
.rvtgw5 { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 16.0px; line-height: 1.7; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.73rem, 1.1rem + 2.6vw, 3.46rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.46rem, 1.1rem + 1vw, 2.00rem); }
h3 { font-size: 1.14rem; }

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

.r1twxb { border-bottom: 1px solid var(--color-border); }
.r1v9td { display: flex; align-items: center; min-height: 50px; flex: 1 1 auto; }
.r1msy1 { margin-right: auto; }
.r1lt81 { font-size: 0.95rem; }
.rzj8bn { display: none; }
.r1x5et { gap: 16px; }
.r1x5et a { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; }
.ro8qgf { padding-block: 0 10px; }
.rhztpg { display: grid; gap: 28px; }
.rhztpg > div { background: var(--color-sunken); padding: 44px 24px; margin-inline: calc(-1 * var(--gutter)); }
@media (min-width: 900px) {
    .rhztpg { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
    .rhztpg > div { margin-inline: 0; padding: 48px 44px; }
}
.r1k6wv img { width: 100%; height: auto; }
.r1qkcb { display: grid; gap: var(--look-gap); }
@media (min-width: 700px) { .r1qkcb { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .r1qkcb { grid-template-columns: repeat(2, 1fr); } }
.ryohn3 { padding: 22px; border: 2px solid var(--color-text); border-radius: 0px; box-shadow: none; background: var(--color-surface); }
.r7i4x3 { padding-block: var(--look-section); }
.rwfmub { margin-bottom: 26px; padding-left: 16px; border-left: 4px solid var(--color-accent); }