/* вид: clinics=cards3 · decor=round · header=stacked · hero=side · rhythm=normal · sections=accentbar · 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:         #f5f2f7;
    --color-surface:    #ffffff;
    --color-sunken:     #ebe5f0;
    --color-text:       #201825;
    --color-muted:      #5e5167;
    --color-border:     #ded8e2;
    --color-border-str: #bbb0c3;
    --color-primary:    #5e218c;
    --color-primary-d:  #451867;
    --color-accent:     #33ae3c;
    --color-light:      #c8eacb;

    --font-heading: 'Trebuchet MS', 'Fira Sans', 'Lucida Grande', sans-serif;
    --font-body: 'Trebuchet MS', 'Fira Sans', 'Lucida Grande', sans-serif;

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

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

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

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

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

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

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

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

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

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

.y163md { counter-reset: step; display: grid; }
.y163md li { counter-increment: step; position: relative; }
.y163md strong { display: block; margin-bottom: 4px; }
.y163md p { color: var(--color-muted); font-size: 0.95rem; }
.clinics__more { margin-top: 24px; max-width: 76ch; font-size: 0.98rem; }
.y1fy4n { margin-top: 20px; max-width: 76ch; font-size: 0.86rem; color: var(--color-muted); }

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.y1qpzp { display: grid; gap: 16px; }
@media (min-width: 720px) { .y1qpzp { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .y1qpzp { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.yxq69y { border-radius: var(--look-radius); position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--color-border); background: var(--color-surface); }
.yl9pyu { position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 50%;
    background: var(--color-accent); color: #fff; font-weight: 700; font-size: 0.9rem; display: grid; place-items: center; }
.y187rp { font-size: 1.02rem; margin-bottom: 6px; }
.yxq69y p { color: var(--color-muted); font-size: 0.95rem; }
.ys0ka1 { overflow-x: auto; }
.y18u2u { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.y18u2u th, .y18u2u td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--color-border); }
.y18u2u thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); border-bottom: 2px solid var(--color-text); }
.y18u2u tbody th { font-weight: 700; width: 22%; }
.y18u2u td { color: var(--color-muted); }
:root { --look-radius: 4px; --look-shadow: 0 2px 10px rgba(0,0,0,.06); --look-gap: 24px; --look-section: 88px; }
.yebxiu { border-radius: var(--look-radius); }
.y11y17 { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 16.5px; line-height: 1.75; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.88rem, 1.1rem + 2.6vw, 3.76rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.59rem, 1.1rem + 1vw, 2.18rem); }
h3 { font-size: 1.25rem; }
.yrswjw > .y1bg6w { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.y1h7s0 { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.yoxqm9 { font-weight: 700; line-height: 1.15; }
.yge9ci { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.yr42i4 { flex: 0 0 auto; }

.yrswjw { border-bottom: 1px solid var(--color-border); text-align: center; }
.yrswjw > .y1bg6w { flex-direction: column; gap: 0; }
.y1uxq3 { display: flex; justify-content: center; padding-top: 22px; }
.y1h7s0 { flex-direction: column; text-align: center; gap: 6px; }
.y9swqv { width: 100%; }
.yidoga { justify-content: center; gap: 26px; padding-bottom: 14px; }
.ywbjdn { padding-block: 54px 10px; }
.yb9i1t { display: grid; gap: 30px; align-items: start; }
@media (min-width: 900px) { .yb9i1t { grid-template-columns: 1.05fr 0.95fr; gap: 44px; }  }
.y8itlt img { width: 100%; height: auto; }
.y1kf9l { display: grid; gap: var(--look-gap); }
@media (min-width: 700px) { .y1kf9l { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .y1kf9l { grid-template-columns: repeat(3, 1fr); } }
.yez2wv { padding: 22px; border: 1px solid var(--color-border); border-radius: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.06); background: var(--color-surface); }
.ydn7ud { padding-block: var(--look-section); }
.yxo8on { margin-bottom: 26px; padding-left: 16px; border-left: 4px solid var(--color-accent); }