/* вид: 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; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.fkhwy4 { display: grid; gap: 16px; }
@media (min-width: 720px) { .fkhwy4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .fkhwy4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.f1ncyr { border-radius: var(--look-radius); position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--color-border); background: var(--color-surface); }
.f13brz { 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; }
.f1qi7f { font-size: 1.02rem; margin-bottom: 6px; }
.f1ncyr p { color: var(--color-muted); font-size: 0.95rem; }
.fub04s { display: grid; gap: 28px; }
@media (min-width: 900px) { .fub04s { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; } }
.f1t7q0 p { font-size: 1.05rem; }
.f7gnmo { overflow-x: auto; }
.ffdaaw { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.ffdaaw th, .ffdaaw td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--color-border); }
.ffdaaw thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); border-bottom: 2px solid var(--color-text); }
.ffdaaw tbody th { font-weight: 700; width: 22%; }
.ffdaaw td { color: var(--color-muted); }
.f14vg4 { display: grid; gap: 18px; max-width: 80ch; }
@media (min-width: 900px) { .f14vg4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; max-width: none; } }
.f1awro { padding-left: 18px; border-left: 3px solid var(--color-accent); }
.f14vg4 dt { font-weight: 700; margin-bottom: 4px; }
.f14vg4 dd { color: var(--color-muted); font-size: 0.95rem; }
:root { --look-radius: 3px; --look-shadow: 0 1px 2px rgba(0,0,0,.05); --look-gap: 28px; --look-section: 56px; }
.fdifa8, .fmfka1 { border-radius: var(--look-radius); }
.fbrglh { 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; }
.f1jkmp > .fvid7m { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.f5krja { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.f1w5ef { font-weight: 700; line-height: 1.15; }
.f1wfx8 { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.f1l3l5 { flex: 0 0 auto; }

.f1jkmp { border-bottom: 4px solid var(--color-accent); }
.fvxzct { display: flex; align-items: center; min-height: 70px; flex: 1 1 auto; }
.f5krja { margin-right: auto; }
.f13tgm { gap: 24px; }
.f13tgm a { padding-bottom: 4px; border-bottom: 2px solid transparent; }
.f13tgm a:hover { border-bottom-color: var(--color-accent); }
.fx4qe2 { padding-block: 60px 10px; }
.f1ssv4 { display: grid; gap: 28px; }
@media (min-width: 900px) { .f1ssv4 { grid-template-columns: 1.6fr 1fr; gap: 46px; align-items: end; } }
.f1udpb { font-size: 1.22rem; line-height: 1.6; }
.fqtkjg img { width: 100%; height: auto; }
.hero__caption { font-size: 0.8rem; }
.fpzih0 { display: grid; gap: var(--look-gap); }
.f1ljaf { padding: 22px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface); }
.f1aksm { padding-block: var(--look-section); }
.f1aksm:nth-of-type(even) { background: var(--color-sunken); }
.f52nfw { margin-bottom: 26px; }