/* вид: clinics=bordered · decor=soft · header=rule · hero=lead · rhythm=normal · sections=striped · type=serif-display */
/* ---------- База, общая для всех семейств: 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:         #f3f2f6;
    --color-surface:    #ffffff;
    --color-sunken:     #eaeaf0;
    --color-text:       #1b1a29;
    --color-muted:      #4e4e63;
    --color-border:     #dadae3;
    --color-border-str: #b1b1c4;
    --color-primary:    #21207a;
    --color-primary-d:  #171656;
    --color-accent:     #987f2c;
    --color-light:      #ebe4cb;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.so62w8 li { position: relative; padding-left: 30px; }
.so62w8 li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.so62w8 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); }
.smrgou { display: grid; gap: 16px; }
@media (min-width: 720px) { .smrgou { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .smrgou { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.swuu8k { border-radius: var(--look-radius); position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--color-border); background: var(--color-surface); }
.s1bile { 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; }
.swstg2 { font-size: 1.02rem; margin-bottom: 6px; }
.swuu8k p { color: var(--color-muted); font-size: 0.95rem; }
.s13a6s { overflow-x: auto; }
.siznah { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.siznah th, .siznah td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--color-border); }
.siznah thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); border-bottom: 2px solid var(--color-text); }
.siznah tbody th { font-weight: 700; width: 22%; }
.siznah td { color: var(--color-muted); }
:root { --look-radius: 3px; --look-shadow: 0 1px 2px rgba(0,0,0,.05); --look-gap: 28px; --look-section: 56px; }
.s1s49w, .swmkws { border-radius: var(--look-radius); }
.s10jya { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 16.5px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.03em; }
h1 { font-size: clamp(1.60rem, 1.1rem + 2.6vw, 3.20rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); }
h3 { font-size: 1.06rem; }
.stx0yw > .snjrmy { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.s4dx7v { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.snvaxw { font-weight: 700; line-height: 1.15; }
.smsus4 { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.sulwgn { flex: 0 0 auto; }

.stx0yw { border-bottom: 4px solid var(--color-accent); }
.s1gp6a { display: flex; align-items: center; min-height: 70px; flex: 1 1 auto; }
.s4dx7v { margin-right: auto; }
.sbxogd { gap: 24px; }
.sbxogd a { padding-bottom: 4px; border-bottom: 2px solid transparent; }
.sbxogd a:hover { border-bottom-color: var(--color-accent); }
.s18m69 { padding-block: 60px 10px; }
.s1lk2b { display: grid; gap: 28px; }
@media (min-width: 900px) { .s1lk2b { grid-template-columns: 1.6fr 1fr; gap: 46px; align-items: end; } }
.s1jz9i { font-size: 1.22rem; line-height: 1.6; }
.s1wrsf img { width: 100%; height: auto; }
.hero__caption { font-size: 0.8rem; }
.scyv1t { display: grid; gap: var(--look-gap); }
.s1qv0v { padding: 22px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface); }
.s1n1jo { padding-block: var(--look-section); }
.s1n1jo:nth-of-type(even) { background: var(--color-sunken); }
.sjccvf { margin-bottom: 26px; }