/* вид: clinics=list · decor=soft · header=stacked · hero=band · rhythm=airy · sections=striped · type=sans-plain */
/* ---------- База, общая для всех семейств: 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:         #f1f7f2;
    --color-surface:    #fbfcfb;
    --color-sunken:     #e8f1e9;
    --color-text:       #18261a;
    --color-muted:      #4d6250;
    --color-border:     #dbe4dc;
    --color-border-str: #b8c9ba;
    --color-primary:    #268833;
    --color-primary-d:  #1c6525;
    --color-accent:     #ad329e;
    --color-light:      #eac9e6;

    --font-heading: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Noto Serif', serif;
    --font-body: Verdana, Geneva, 'DejaVu Sans', sans-serif;

    --container: 1320px;
    --gutter: 16px;
    --radius-sm: 1px;
    --radius-md: 2px;
    --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; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.w1kkg0 li { position: relative; padding-left: 30px; }
.w1kkg0 li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.w1kkg0 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); }
.wz72zc { display: grid; gap: 28px; }
@media (min-width: 900px) { .wz72zc { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; } }
.wmbfo7 p { font-size: 1.05rem; }
:root { --look-radius: 2px; --look-shadow: 0 1px 2px rgba(0,0,0,.05); --look-gap: 18px; --look-section: 96px; }
.w1dhk5, .wxkriy { border-radius: var(--look-radius); }
.w1kgiq { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 18.0px; line-height: 1.7; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.73rem, 1.1rem + 2.6vw, 3.46rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.46rem, 1.1rem + 1vw, 2.00rem); }
h3 { font-size: 1.14rem; }
.w19z6c > .wohxwh { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.w1694r { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.w16a1m { font-weight: 700; line-height: 1.15; }
.wteya7 { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.w18gdh { flex: 0 0 auto; }

.w19z6c { border-bottom: 1px solid var(--color-border); text-align: center; }
.w19z6c > .wohxwh { flex-direction: column; gap: 0; }
.w97a6n { display: flex; justify-content: center; padding-top: 22px; }
.w1694r { flex-direction: column; text-align: center; gap: 6px; }
.w7io5g { width: 100%; }
.w5bfth { justify-content: center; gap: 26px; padding-bottom: 14px; }
.w1w4ak { padding-block: 0 10px; }
.w1jzmz { display: grid; gap: 28px; }
.w1jzmz > div { background: var(--color-sunken); padding: 44px 24px; margin-inline: calc(-1 * var(--gutter)); }
@media (min-width: 900px) {
    .w1jzmz { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
    .w1jzmz > div { margin-inline: 0; padding: 48px 44px; }
}
.w1ozhy img { width: 100%; height: auto; }
.wqlaji { display: grid; gap: 0; }
.w1p8uz { padding-block: 26px; border-bottom: 1px solid var(--color-border); }
.w1p8uz:first-child { border-top: 1px solid var(--color-border); }
.w19ydx { padding-block: var(--look-section); }
.w19ydx:nth-of-type(even) { background: var(--color-sunken); }
.w1dpdn { margin-bottom: 26px; }