/* вид: clinics=cards3 · decor=flat · header=stacked · hero=frame · rhythm=airy · sections=boxed · type=serif-sans */
/* ---------- База, общая для всех семейств: 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:         #f7f4f7;
    --color-surface:    #fbfbfc;
    --color-sunken:     #f0eaf1;
    --color-text:       #1f1521;
    --color-muted:      #6b576f;
    --color-border:     #ddd4de;
    --color-border-str: #c9bbcc;
    --color-primary:    #5f3368;
    --color-primary-d:  #432449;
    --color-accent:     #2fa138;
    --color-light:      #c9eacc;

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

    --container: 1160px;
    --gutter: 16px;
    --radius-sm: 0px;
    --radius-md: 0px;
    --space-section: 47px;
    --border: 1px solid var(--color-border);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.yz0q6q li { position: relative; padding-left: 30px; }
.yz0q6q li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.yz0q6q 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); }
.y1ba4l { display: grid; gap: 28px; }
@media (min-width: 900px) { .y1ba4l { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; } }
.yfaj7i p { font-size: 1.05rem; }
.y7c2ym { display: grid; gap: 18px; max-width: 80ch; }
@media (min-width: 900px) { .y7c2ym { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; max-width: none; } }
.ytq1a3 { padding-left: 18px; border-left: 3px solid var(--color-accent); }
.y7c2ym dt { font-weight: 700; margin-bottom: 4px; }
.y7c2ym dd { color: var(--color-muted); font-size: 0.95rem; }
:root { --look-radius: 0px; --look-shadow: none; --look-gap: 18px; --look-section: 72px; }
.y1p3a1 { border-radius: var(--look-radius); }
.y1ne3x { 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.54rem, 1.1rem + 2.6vw, 3.07rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.30rem, 1.1rem + 1vw, 1.78rem); }
h3 { font-size: 1.02rem; }
.y2uo7m > .y1i6ga { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.y17lqs { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.yff4ow { font-weight: 700; line-height: 1.15; }
.y1d8lg { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.y4dij5 { flex: 0 0 auto; }

.y2uo7m { border-bottom: 1px solid var(--color-border); text-align: center; }
.y2uo7m > .y1i6ga { flex-direction: column; gap: 0; }
.y159xb { display: flex; justify-content: center; padding-top: 22px; }
.y17lqs { flex-direction: column; text-align: center; gap: 6px; }
.yx1s67 { width: 100%; }
.y1jlc6 { justify-content: center; gap: 26px; padding-bottom: 14px; }
.y179xa { padding-block: 54px 10px; }
.ydkiss { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .ydkiss { grid-template-columns: 1fr 1fr; gap: 50px; } }
.y1gdba { position: relative; padding: 14px; }
.y1gdba::before { content: ""; position: absolute; inset: 0; border: 3px solid var(--color-accent);
    transform: translate(12px, 12px); z-index: 0; }
.y1gdba img { position: relative; z-index: 1; width: 100%; height: auto; }
.ypxasc { display: grid; gap: var(--look-gap); }
@media (min-width: 700px) { .ypxasc { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .ypxasc { grid-template-columns: repeat(3, 1fr); } }
.y2807f { padding: 22px; border: 1px solid var(--color-border); border-radius: 0px; box-shadow: none; background: var(--color-surface); }
.y1ad3l { padding-block: calc(var(--look-section) * 0.7); }
.y1ad3l > .y1i6ga > * { }
.yz4c8t { margin-bottom: 22px; }
.y1ad3l .y1nfuk, .y1ad3l .y1raf2, .y1ad3l .yokbxt {
    background: var(--color-surface); border-radius: 0px; box-shadow: none; padding: 24px; }