/* вид: clinics=cards2 · decor=line · header=compact · hero=band · rhythm=normal · 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:         #f9f8f7;
    --color-surface:    #fbfbfb;
    --color-sunken:     #eceae7;
    --color-text:       #221d16;
    --color-muted:      #6f6557;
    --color-border:     #e1dcd7;
    --color-border-str: #c3bbb0;
    --color-primary:    #6f4d1d;
    --color-primary-d:  #4b3413;
    --color-accent:     #332a91;
    --color-light:      #d1ceec;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.szhk5j li { position: relative; padding-left: 30px; }
.szhk5j li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.szhk5j 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); }
.s19dnq { display: grid; gap: 16px; }
@media (min-width: 720px) { .s19dnq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .s19dnq { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.smlo79 { border-radius: var(--look-radius); position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--color-border); background: var(--color-surface); }
.s1elrz { 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; }
.selr9g { font-size: 1.02rem; margin-bottom: 6px; }
.smlo79 p { color: var(--color-muted); font-size: 0.95rem; }
.syc39j { display: grid; gap: 28px; }
@media (min-width: 900px) { .syc39j { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; } }
.shgk78 p { font-size: 1.05rem; }
:root { --look-radius: 2px; --look-shadow: none; --look-gap: 16px; --look-section: 88px; }
.s1eqz4, .s1q5mx { border-radius: var(--look-radius); }
.s1bt79 { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 16.0px; line-height: 1.7; }
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; }
.slb497 > .s1hmst { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.s1yk1f { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.svdoe1 { font-weight: 700; line-height: 1.15; }
.s1a699 { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.skcam4 { flex: 0 0 auto; }

.slb497 { border-bottom: 1px solid var(--color-border); }
.s15d38 { display: flex; align-items: center; min-height: 50px; flex: 1 1 auto; }
.s1yk1f { margin-right: auto; }
.svdoe1 { font-size: 0.95rem; }
.s1a699 { display: none; }
.s1py01 { gap: 16px; }
.s1py01 a { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; }
.s1uxon { padding-block: 0 10px; }
.s1mcu9 { display: grid; gap: 28px; }
.s1mcu9 > div { background: var(--color-sunken); padding: 44px 24px; margin-inline: calc(-1 * var(--gutter)); }
@media (min-width: 900px) {
    .s1mcu9 { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
    .s1mcu9 > div { margin-inline: 0; padding: 48px 44px; }
}
.s1eb0f img { width: 100%; height: auto; }
.s1at10 { display: grid; gap: var(--look-gap); }
@media (min-width: 700px) { .s1at10 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .s1at10 { grid-template-columns: repeat(2, 1fr); } }
.s1og2s { padding: 22px; border: 2px solid var(--color-text); border-radius: 0px; box-shadow: none; background: var(--color-surface); }
.smyuhn { padding-block: var(--look-section); }
.s1n6jg { margin-bottom: 26px; padding-left: 16px; border-left: 4px solid var(--color-accent); }