/* вид: clinics=cards2 · decor=soft · header=rule · hero=cover · 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:         #faf7f6;
    --color-surface:    #fcfbfb;
    --color-sunken:     #f3ecea;
    --color-text:       #211815;
    --color-muted:      #62524d;
    --color-border:     #dfd7d4;
    --color-border-str: #c2b3ae;
    --color-primary:    #774232;
    --color-primary-d:  #573025;
    --color-accent:     #9d2e55;
    --color-light:      #edcfda;

    --font-heading: Candara, 'Segoe UI', Optima, sans-serif;
    --font-body: Candara, 'Segoe UI', Optima, sans-serif;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.ek6z6g li { position: relative; padding-left: 30px; }
.ek6z6g li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.ek6z6g 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); }
.e1wx2k { display: grid; gap: 28px; }
@media (min-width: 900px) { .e1wx2k { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; } }
.eibmyj p { font-size: 1.05rem; }
.ewro19 { display: grid; gap: 18px; max-width: 80ch; }
@media (min-width: 900px) { .ewro19 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; max-width: none; } }
.e62py1 { padding-left: 18px; border-left: 3px solid var(--color-accent); }
.ewro19 dt { font-weight: 700; margin-bottom: 4px; }
.ewro19 dd { color: var(--color-muted); font-size: 0.95rem; }
:root { --look-radius: 0px; --look-shadow: 0 1px 2px rgba(0,0,0,.05); --look-gap: 20px; --look-section: 80px; }
.e1dogj, .e1q1re { border-radius: var(--look-radius); }
.ejqmyf { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 18.0px; line-height: 1.75; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.03em; }
h1 { font-size: clamp(1.54rem, 1.1rem + 2.6vw, 3.07rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.30rem, 1.1rem + 1vw, 1.78rem); }
h3 { font-size: 1.02rem; }
.ewe2lh > .e1yq7s { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.e1uydn { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.ekda2f { font-weight: 700; line-height: 1.15; }
.e1vhgf { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.evf65d { flex: 0 0 auto; }

.ewe2lh { border-bottom: 4px solid var(--color-accent); }
.e1904k { display: flex; align-items: center; min-height: 70px; flex: 1 1 auto; }
.e1uydn { margin-right: auto; }
.e12b57 { gap: 24px; }
.e12b57 a { padding-bottom: 4px; border-bottom: 2px solid transparent; }
.e12b57 a:hover { border-bottom-color: var(--color-accent); }
.e1vxmi { padding-block: 0; position: relative; }
.eycrx9 { display: grid; gap: 0; }
.e1jyee { display: contents; }
.e1jyee img { order: -1; width: 100%; height: auto; max-height: 480px; object-fit: cover; object-position: 50% 35%; display: block; }
.eycrx9 > 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) { .eycrx9 > 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; } }
.eq8dwg { display: grid; gap: var(--look-gap); }
@media (min-width: 700px) { .eq8dwg { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .eq8dwg { grid-template-columns: repeat(2, 1fr); } }
.eoz9a2 { padding: 22px; border: 1px solid var(--color-border); border-radius: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.05); background: var(--color-surface); }
.e19s1y { padding-block: var(--look-section); }
.e101o3 { margin-bottom: 26px; padding-left: 16px; border-left: 4px solid var(--color-accent); }