/* вид: clinics=cards2 · decor=round · header=compact · hero=band · rhythm=airy · sections=striped · 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:         #f7f2f4;
    --color-surface:    #ffffff;
    --color-sunken:     #f0e6e9;
    --color-text:       #26181d;
    --color-muted:      #5e4a51;
    --color-border:     #e1d7db;
    --color-border-str: #c9b7bd;
    --color-primary:    #842042;
    --color-primary-d:  #5f172f;
    --color-accent:     #b535ab;
    --color-light:      #ebcae8;

    --font-heading: Garamond, 'EB Garamond', 'Cormorant Garamond', Georgia, serif;
    --font-body: system-ui, 'Segoe UI', Roboto, sans-serif;

    --container: 1240px;
    --gutter: 16px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --space-section: 42px;
    --border: 1px solid var(--color-border);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.mckcnz { display: grid; gap: 28px; }
@media (min-width: 900px) { .mckcnz { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; } }
.m19tg8 p { font-size: 1.05rem; }
.mnj2ge { overflow-x: auto; }
.mpny8y { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.mpny8y th, .mpny8y td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--color-border); }
.mpny8y thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); border-bottom: 2px solid var(--color-text); }
.mpny8y tbody th { font-weight: 700; width: 22%; }
.mpny8y td { color: var(--color-muted); }
:root { --look-radius: 12px; --look-shadow: 0 2px 10px rgba(0,0,0,.06); --look-gap: 16px; --look-section: 64px; }
.mik9v0 { border-radius: var(--look-radius); }
.mxh4f7 { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 17.5px; 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; }
.m1rj7l > .m5iaaj { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.m1fzok { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.m1o9di { font-weight: 700; line-height: 1.15; }
.mmv6js { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.m1qk6x { flex: 0 0 auto; }

.m1rj7l { border-bottom: 1px solid var(--color-border); }
.m44kcj { display: flex; align-items: center; min-height: 50px; flex: 1 1 auto; }
.m1fzok { margin-right: auto; }
.m1o9di { font-size: 0.95rem; }
.mmv6js { display: none; }
.mc01pq { gap: 16px; }
.mc01pq a { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; }
.m1gcu3 { padding-block: 0 10px; }
.m10g7s { display: grid; gap: 28px; }
.m10g7s > div { background: var(--color-sunken); padding: 44px 24px; margin-inline: calc(-1 * var(--gutter)); }
@media (min-width: 900px) {
    .m10g7s { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
    .m10g7s > div { margin-inline: 0; padding: 48px 44px; }
}
.mcwkx3 img { width: 100%; height: auto; }
.msyhr1 { display: grid; gap: var(--look-gap); }
@media (min-width: 700px) { .msyhr1 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .msyhr1 { grid-template-columns: repeat(2, 1fr); } }
.m13q4j { padding: 22px; border: 1px solid var(--color-border); border-radius: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.06); background: var(--color-surface); }
.m14k23 { padding-block: var(--look-section); }
.m14k23:nth-of-type(even) { background: var(--color-sunken); }
.me6pt9 { margin-bottom: 26px; }