/* вид: clinics=numbered · decor=flat · header=stacked · hero=cover · rhythm=normal · sections=plain · 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:         #f6f2f2;
    --color-surface:    #ffffff;
    --color-sunken:     #eee6e7;
    --color-text:       #221617;
    --color-muted:      #6f575a;
    --color-border:     #e0d6d7;
    --color-border-str: #c8b6b8;
    --color-primary:    #91232f;
    --color-primary-d:  #6c1a23;
    --color-accent:     #a2652f;
    --color-light:      #ebdacb;

    --font-heading: 'Lucida Sans', 'Lucida Grande', 'Lucida Sans Unicode', sans-serif;
    --font-body: Georgia, 'Noto Serif', serif;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.jajcv9 li { position: relative; padding-left: 30px; }
.jajcv9 li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.jajcv9 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); }
.jbth7j { display: grid; gap: 16px; }
@media (min-width: 720px) { .jbth7j { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .jbth7j { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.jigz7n { border-radius: var(--look-radius); position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--color-border); background: var(--color-surface); }
.jh5lbx { 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; }
.j1bgn2 { font-size: 1.02rem; margin-bottom: 6px; }
.jigz7n p { color: var(--color-muted); font-size: 0.95rem; }
:root { --look-radius: 3px; --look-shadow: none; --look-gap: 18px; --look-section: 96px; }
.jvj2nb, .j1sk4m { border-radius: var(--look-radius); }
.jh8vy3 { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 16.0px; line-height: 1.55; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.03em; }
h1 { font-size: clamp(1.79rem, 1.1rem + 2.6vw, 3.58rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.51rem, 1.1rem + 1vw, 2.07rem); }
h3 { font-size: 1.19rem; }
.jqem86 > .j1k0no { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.jx4bvy { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.jrgusl { font-weight: 700; line-height: 1.15; }
.j1s4b0 { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.jp5kim { flex: 0 0 auto; }

.jqem86 { border-bottom: 1px solid var(--color-border); text-align: center; }
.jqem86 > .j1k0no { flex-direction: column; gap: 0; }
.j1lg9a { display: flex; justify-content: center; padding-top: 22px; }
.jx4bvy { flex-direction: column; text-align: center; gap: 6px; }
.j1lzgo { width: 100%; }
.j17wo9 { justify-content: center; gap: 26px; padding-bottom: 14px; }
.jf4310 { padding-block: 0; position: relative; }
.joxwdx { display: grid; gap: 0; }
.jbwcrq { display: contents; }
.jbwcrq img { order: -1; width: 100%; height: auto; max-height: 480px; object-fit: cover; object-position: 50% 35%; display: block; }
.joxwdx > div { background: var(--color-surface); margin-top: -70px; position: relative; z-index: 1;
    padding: 28px 26px; border: 1px solid var(--color-border); }
@media (min-width: 900px) { .joxwdx > div { margin: -110px 40px 0; padding: 36px 40px; } }
.hero__caption { order: 2; margin: 14px 0 0; }
@media (min-width: 900px) { .hero__caption { margin-inline: 40px; } }
.j1plei { display: grid; gap: 0; counter-reset: clinic; }
.j1ywis { position: relative; padding: 24px 0 24px 58px; border-bottom: 1px solid var(--color-border); }
.j1ywis::before { counter-increment: clinic; content: counter(clinic, decimal-leading-zero);
    position: absolute; left: 0; top: 24px; font-size: 1.35rem; font-weight: 700;
    color: var(--color-accent); font-variant-numeric: tabular-nums; }
.jaz0ml { padding-block: var(--look-section); }
.j1crgo { margin-bottom: 26px; }