/* вид: clinics=cards2 · decor=line · header=rule · hero=stack · rhythm=airy · sections=plain · type=sans-tight */
/* ---------- База, общая для всех семейств: 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:         #f9f4f8;
    --color-surface:    #fcfbfc;
    --color-sunken:     #f1e8f1;
    --color-text:       #241723;
    --color-muted:      #624d61;
    --color-border:     #e2d9e2;
    --color-border-str: #ccbbcb;
    --color-primary:    #622e60;
    --color-primary-d:  #422041;
    --color-accent:     #33b076;
    --color-light:      #c8eada;

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

    --container: 1400px;
    --gutter: 16px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --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; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.a1wu4c li { position: relative; padding-left: 30px; }
.a1wu4c li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.a1wu4c 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); }
.a1dmtw { display: grid; gap: 16px; }
@media (min-width: 720px) { .a1dmtw { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .a1dmtw { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.a1p9ua { border-radius: var(--look-radius); position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--color-border); background: var(--color-surface); }
.a8i6b2 { 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; }
.a1y6ul { font-size: 1.02rem; margin-bottom: 6px; }
.a1p9ua p { color: var(--color-muted); font-size: 0.95rem; }
.aofxzr { display: grid; gap: 28px; }
@media (min-width: 900px) { .aofxzr { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; } }
.a1wge2 p { font-size: 1.05rem; }
.a21hkm { overflow-x: auto; }
.aosr5z { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.aosr5z th, .aosr5z td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--color-border); }
.aosr5z thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); border-bottom: 2px solid var(--color-text); }
.aosr5z tbody th { font-weight: 700; width: 22%; }
.aosr5z td { color: var(--color-muted); }
.aszb53 { display: grid; gap: 18px; max-width: 80ch; }
@media (min-width: 900px) { .aszb53 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; max-width: none; } }
.a18g87 { padding-left: 18px; border-left: 3px solid var(--color-accent); }
.aszb53 dt { font-weight: 700; margin-bottom: 4px; }
.aszb53 dd { color: var(--color-muted); font-size: 0.95rem; }
:root { --look-radius: 8px; --look-shadow: none; --look-gap: 16px; --look-section: 96px; }
.a1ocv7 { border-radius: var(--look-radius); }
.aw16h8 { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 18.0px; line-height: 1.55; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.03em; }
h1 { font-size: clamp(1.68rem, 1.1rem + 2.6vw, 3.35rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.41rem, 1.1rem + 1vw, 1.94rem); }
h3 { font-size: 1.11rem; }
.a1ho2a > .ara682 { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.a1ucpn { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.a1y4d3 { font-weight: 700; line-height: 1.15; }
.alh724 { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.a1in4b { flex: 0 0 auto; }

.a1ho2a { border-bottom: 4px solid var(--color-accent); }
.a58meq { display: flex; align-items: center; min-height: 70px; flex: 1 1 auto; }
.a1ucpn { margin-right: auto; }
.aehywt { gap: 24px; }
.aehywt a { padding-bottom: 4px; border-bottom: 2px solid transparent; }
.aehywt a:hover { border-bottom-color: var(--color-accent); }
.a17xg3 { padding-block: 50px 10px; }
.ay0iiz { display: grid; gap: 26px; }
.ayg4sc { max-width: 70ch; font-size: 1.12rem; }
.aypeba { max-width: 880px; }
.aypeba img { width: 100%; height: auto; }
.aec5f7 { display: grid; gap: var(--look-gap); }
@media (min-width: 700px) { .aec5f7 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .aec5f7 { grid-template-columns: repeat(2, 1fr); } }
.a18f49 { padding: 22px; border: 2px solid var(--color-text); border-radius: 0px; box-shadow: none; background: var(--color-surface); }
.a1k08s { padding-block: var(--look-section); }
.a1omol { margin-bottom: 26px; }