/* вид: clinics=cards3 · decor=shadow · header=stacked · hero=stack · rhythm=normal · sections=striped · 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:         #f9f8f4;
    --color-surface:    #ffffff;
    --color-sunken:     #f2f2e9;
    --color-text:       #29281a;
    --color-muted:      #5f5e4b;
    --color-border:     #dfded4;
    --color-border-str: #c3c1af;
    --color-primary:    #6a6520;
    --color-primary-d:  #474315;
    --color-accent:     #8a4b28;
    --color-light:      #edd9cf;

    --font-heading: system-ui, 'Segoe UI', Roboto, sans-serif;
    --font-body: Georgia, 'Noto Serif', 'Times New Roman', serif;

    --container: 1320px;
    --gutter: 16px;
    --radius-sm: 5px;
    --radius-md: 10px;
    --space-section: 57px;
    --border: 1px solid var(--color-border);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.qo4s85 li { position: relative; padding-left: 30px; }
.qo4s85 li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.qo4s85 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); }
.qsmkyb { display: grid; gap: 16px; }
@media (min-width: 720px) { .qsmkyb { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .qsmkyb { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.q184cs { border-radius: var(--look-radius); position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--color-border); background: var(--color-surface); }
.q18wd7 { 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; }
.q1oldu { font-size: 1.02rem; margin-bottom: 6px; }
.q184cs p { color: var(--color-muted); font-size: 0.95rem; }
.qelulg { display: grid; gap: 28px; }
@media (min-width: 900px) { .qelulg { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; } }
.q1lrf4 p { font-size: 1.05rem; }
:root { --look-radius: 10px; --look-shadow: 0 6px 20px rgba(0,0,0,.08); --look-gap: 24px; --look-section: 88px; }
.qxafis, .q1rayc { border-radius: var(--look-radius); }
.q1lt1i { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 16.0px; line-height: 1.75; }
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; }
.q109sr > .q1is4l { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.qgchct { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.q1h458 { font-weight: 700; line-height: 1.15; }
.q1srsa { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.q11iqa { flex: 0 0 auto; }

.q109sr { border-bottom: 1px solid var(--color-border); text-align: center; }
.q109sr > .q1is4l { flex-direction: column; gap: 0; }
.q1g6cx { display: flex; justify-content: center; padding-top: 22px; }
.qgchct { flex-direction: column; text-align: center; gap: 6px; }
.q1tstz { width: 100%; }
.q141u5 { justify-content: center; gap: 26px; padding-bottom: 14px; }
.qdcq8c { padding-block: 50px 10px; }
.q1iwky { display: grid; gap: 26px; }
.q1i6xc { max-width: 70ch; font-size: 1.12rem; }
.qpeizr { max-width: 880px; }
.qpeizr img { width: 100%; height: auto; }
.q1o3cw { display: grid; gap: var(--look-gap); }
@media (min-width: 700px) { .q1o3cw { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .q1o3cw { grid-template-columns: repeat(3, 1fr); } }
.q15tuf { padding: 22px; border: 0; border-radius: 6px; box-shadow: 0 6px 20px rgba(0,0,0,.08); background: var(--color-surface); }
.q9ogph { padding-block: var(--look-section); }
.q9ogph:nth-of-type(even) { background: var(--color-sunken); }
.q548u5 { margin-bottom: 26px; }