/* вид: clinics=bordered · decor=shadow · header=stacked · hero=sideflip · rhythm=airy · 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:         #f4f8f8;
    --color-surface:    #ffffff;
    --color-sunken:     #e5eef0;
    --color-text:       #162022;
    --color-muted:      #506366;
    --color-border:     #d8e0e2;
    --color-border-str: #b1c1c4;
    --color-primary:    #25636f;
    --color-primary-d:  #1a454d;
    --color-accent:     #972c50;
    --color-light:      #efd6df;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.w13f3h li { position: relative; padding-left: 30px; }
.w13f3h li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.w13f3h 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); }
.wexyj9 { display: grid; gap: 28px; }
@media (min-width: 900px) { .wexyj9 { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; } }
.wklts6 p { font-size: 1.05rem; }
.w72e4d { display: grid; gap: 18px; max-width: 80ch; }
@media (min-width: 900px) { .w72e4d { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; max-width: none; } }
.wer365 { padding-left: 18px; border-left: 3px solid var(--color-accent); }
.w72e4d dt { font-weight: 700; margin-bottom: 4px; }
.w72e4d dd { color: var(--color-muted); font-size: 0.95rem; }
:root { --look-radius: 4px; --look-shadow: 0 6px 20px rgba(0,0,0,.08); --look-gap: 18px; --look-section: 80px; }
.wuaazy { border-radius: var(--look-radius); }
.w1nue8 { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 17.0px; line-height: 1.65; }
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; }
.wnfk4y > .w3h2xt { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.w17vij { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.wtbcnm { font-weight: 700; line-height: 1.15; }
.w4fnie { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.wmqgb2 { flex: 0 0 auto; }

.wnfk4y { border-bottom: 1px solid var(--color-border); text-align: center; }
.wnfk4y > .w3h2xt { flex-direction: column; gap: 0; }
.wrzs4a { display: flex; justify-content: center; padding-top: 22px; }
.w17vij { flex-direction: column; text-align: center; gap: 6px; }
.w39plj { width: 100%; }
.wwyv6c { justify-content: center; gap: 26px; padding-bottom: 14px; }
.wbxf7i { padding-block: 54px 10px; }
.w1or0j { display: grid; gap: 30px; align-items: start; }
@media (min-width: 900px) { .w1or0j { grid-template-columns: 1.05fr 0.95fr; gap: 44px; } .w1hsud { order: -1; } }
.w1hsud img { width: 100%; height: auto; }
.wnr7cn { display: grid; gap: var(--look-gap); }
.w163qe { padding: 22px; border: 0; border-radius: 6px; background: var(--color-surface); }
.w1ct80 { padding-block: var(--look-section); }
.w1xsmg { margin-bottom: 26px; padding-left: 16px; border-left: 4px solid var(--color-accent); }