/* вид: clinics=numbered · decor=shadow · header=banner · hero=lead · rhythm=tight · sections=accentbar · 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:         #f9f7f7;
    --color-surface:    #ffffff;
    --color-sunken:     #eee7e7;
    --color-text:       #271a19;
    --color-muted:      #665250;
    --color-border:     #dcd2d1;
    --color-border-str: #c4b3b1;
    --color-primary:    #772b23;
    --color-primary-d:  #531e19;
    --color-accent:     #2c9887;
    --color-light:      #cfede8;

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

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

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

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

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

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

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

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

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

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

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

.p14rl5 { counter-reset: step; display: grid; }
.p14rl5 li { counter-increment: step; position: relative; }
.p14rl5 strong { display: block; margin-bottom: 4px; }
.p14rl5 p { color: var(--color-muted); font-size: 0.95rem; }

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.p1jro0 { overflow-x: auto; }
.pcolff { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.pcolff th, .pcolff td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--color-border); }
.pcolff thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); border-bottom: 2px solid var(--color-text); }
.pcolff tbody th { font-weight: 700; width: 22%; }
.pcolff td { color: var(--color-muted); }
.ph57xl { display: grid; gap: 18px; max-width: 80ch; }
@media (min-width: 900px) { .ph57xl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; max-width: none; } }
.p1h553 { padding-left: 18px; border-left: 3px solid var(--color-accent); }
.ph57xl dt { font-weight: 700; margin-bottom: 4px; }
.ph57xl 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: 24px; --look-section: 96px; }
.przo5f, .ps63mj { border-radius: var(--look-radius); }
.p1ae5c { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 16.0px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.03em; }
h1 { font-size: clamp(1.47rem, 1.1rem + 2.6vw, 2.94rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.24rem, 1.1rem + 1vw, 1.70rem); }
h3 { font-size: 0.98rem; }
.p1pu76 > .pj39z9 { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.p1fs03 { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.p1qzvc { font-weight: 700; line-height: 1.15; }
.p1ftw2 { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.p1ov50 { flex: 0 0 auto; }

.p1pu76 { background: var(--color-primary); color: #fff; }
.p1pu76 a, .p1pu76 .p1fs03 { color: #fff; }
.pt61n2 { display: flex; align-items: center; min-height: 72px; flex: 1 1 auto; }
.p1fs03 { margin-right: auto; }
.p1ftw2 { color: rgba(255,255,255,.75); }
.p1icqm { gap: 20px; }
.p1icqm a { color: #fff; }
.p1jkqy { color: #fff; }
.p9rxb8 { padding-block: 60px 10px; }
.p5gwtb { display: grid; gap: 28px; }
@media (min-width: 900px) { .p5gwtb { grid-template-columns: 1.6fr 1fr; gap: 46px; align-items: end; } }
.p5u1fv { font-size: 1.22rem; line-height: 1.6; }
.p1dkx6 img { width: 100%; height: auto; }
.hero__caption { font-size: 0.8rem; }
.pjtyuz { display: grid; gap: 0; counter-reset: clinic; }
.p1jdz1 { position: relative; padding: 24px 0 24px 58px; border-bottom: 1px solid var(--color-border); }
.p1jdz1::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; }
.p1ggcs { padding-block: var(--look-section); }
.p7u7iw { margin-bottom: 26px; padding-left: 16px; border-left: 4px solid var(--color-accent); }