/* вид: clinics=list · decor=shadow · header=rule · hero=side · rhythm=tight · sections=striped · 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:         #f9f7f7;
    --color-surface:    #fcfbfb;
    --color-sunken:     #eee6e6;
    --color-text:       #2b1c1c;
    --color-muted:      #614c4c;
    --color-border:     #ddd1d2;
    --color-border-str: #c4b0b0;
    --color-primary:    #752122;
    --color-primary-d:  #511718;
    --color-accent:     #31a76a;
    --color-light:      #d3eee1;

    --font-heading: Georgia, 'Noto Serif', 'Times New Roman', serif;
    --font-body: system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    --container: 1080px;
    --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; }

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

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

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

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

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

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

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

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

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

/* FAQ на <details>: механика общая */
.yti4a6 { display: grid; gap: 10px; max-width: 80ch; }
.y1dzmr { cursor: pointer; list-style: none; display: flex; gap: 12px; align-items: flex-start; font-family: var(--font-heading); }
.y1dzmr::-webkit-details-marker { display: none; }
.y1dzmr::after { content: "+"; margin-left: auto; font-size: 1.4rem; line-height: 1; color: var(--color-primary); flex: 0 0 auto; }
.yxn7dz[open] .y1dzmr::after { content: "\2212"; }
.y1b28o { color: var(--color-muted); }
.y1b28o > * + * { margin-top: 12px; }

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.ywjcqb { display: grid; gap: 18px; max-width: 80ch; }
@media (min-width: 900px) { .ywjcqb { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; max-width: none; } }
.y135ol { padding-left: 18px; border-left: 3px solid var(--color-accent); }
.ywjcqb dt { font-weight: 700; margin-bottom: 4px; }
.ywjcqb dd { color: var(--color-muted); font-size: 0.95rem; }
:root { --look-radius: 3px; --look-shadow: 0 6px 20px rgba(0,0,0,.08); --look-gap: 20px; --look-section: 96px; }
.yooriz, .yxn7dz { border-radius: var(--look-radius); }
.y1h2cv { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 18.0px; line-height: 1.7; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.81rem, 1.1rem + 2.6vw, 3.63rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.53rem, 1.1rem + 1vw, 2.10rem); }
h3 { font-size: 1.20rem; }
.y1tm0u > .yofdyf { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.y1v5zo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.y1m6cv { font-weight: 700; line-height: 1.15; }
.yworc7 { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.y1sx6t { flex: 0 0 auto; }

.y1tm0u { border-bottom: 4px solid var(--color-accent); }
.y1bhua { display: flex; align-items: center; min-height: 70px; flex: 1 1 auto; }
.y1v5zo { margin-right: auto; }
.y3kv42 { gap: 24px; }
.y3kv42 a { padding-bottom: 4px; border-bottom: 2px solid transparent; }
.y3kv42 a:hover { border-bottom-color: var(--color-accent); }
.y8mxmk { padding-block: 54px 10px; }
.yu6afe { display: grid; gap: 30px; align-items: start; }
@media (min-width: 900px) { .yu6afe { grid-template-columns: 1.05fr 0.95fr; gap: 44px; }  }
.y1un8b img { width: 100%; height: auto; }
.yqr0sc { display: grid; gap: 0; }
.y1nlyx { padding-block: 26px; border-bottom: 1px solid var(--color-border); }
.y1nlyx:first-child { border-top: 1px solid var(--color-border); }
.y16rhn { padding-block: var(--look-section); }
.y16rhn:nth-of-type(even) { background: var(--color-sunken); }
.y19w2p { margin-bottom: 26px; }