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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.ac8c3g li { position: relative; padding-left: 30px; }
.ac8c3g li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.ac8c3g 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); }
.ax7hqy { display: grid; gap: 16px; }
@media (min-width: 720px) { .ax7hqy { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ax7hqy { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.a1clpn { border-radius: var(--look-radius); position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--color-border); background: var(--color-surface); }
.agv4zk { 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; }
.a1jgpw { font-size: 1.02rem; margin-bottom: 6px; }
.a1clpn p { color: var(--color-muted); font-size: 0.95rem; }
.agq2yh { overflow-x: auto; }
.a154vf { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.a154vf th, .a154vf td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--color-border); }
.a154vf thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); border-bottom: 2px solid var(--color-text); }
.a154vf tbody th { font-weight: 700; width: 22%; }
.a154vf td { color: var(--color-muted); }
.a1c2io { display: grid; gap: 18px; max-width: 80ch; }
@media (min-width: 900px) { .a1c2io { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; max-width: none; } }
.a1mril { padding-left: 18px; border-left: 3px solid var(--color-accent); }
.a1c2io dt { font-weight: 700; margin-bottom: 4px; }
.a1c2io 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; }
.acsmkx, .ad82sq { border-radius: var(--look-radius); }
.a10pkg { 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; }
.a1djpz > .a44mor { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.abrngi { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.a13r5f { font-weight: 700; line-height: 1.15; }
.a1jpha { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.a1esm2 { flex: 0 0 auto; }

.a1djpz { border-bottom: 4px solid var(--color-accent); }
.a1j6jh { display: flex; align-items: center; min-height: 70px; flex: 1 1 auto; }
.abrngi { margin-right: auto; }
.a1ddd4 { gap: 24px; }
.a1ddd4 a { padding-bottom: 4px; border-bottom: 2px solid transparent; }
.a1ddd4 a:hover { border-bottom-color: var(--color-accent); }
.atcltm { padding-block: 0; position: relative; }
.aoop4i { display: grid; gap: 0; }
.ajfktu { display: contents; }
.ajfktu img { order: -1; width: 100%; height: auto; max-height: 480px; object-fit: cover; object-position: 50% 35%; display: block; }
.aoop4i > 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) { .aoop4i > 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; } }
.a1ymn2 { display: grid; gap: var(--look-gap); }
@media (min-width: 700px) { .a1ymn2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .a1ymn2 { grid-template-columns: repeat(2, 1fr); } }
.anz8gc { 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); }
.a1drg3 { padding-block: var(--look-section); }
.a4yah7 { margin-bottom: 26px; padding-left: 16px; border-left: 4px solid var(--color-accent); }