/* вид: clinics=panel · decor=flat · header=stacked · hero=lead · rhythm=airy · sections=striped · type=mono-accent */
/* ---------- База, общая для всех семейств: 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:         #f8faf7;
    --color-surface:    #ffffff;
    --color-sunken:     #eaefe8;
    --color-text:       #1b2316;
    --color-muted:      #606f57;
    --color-border:     #d5dcd1;
    --color-border-str: #b8c4b1;
    --color-primary:    #466b30;
    --color-primary-d:  #314c22;
    --color-accent:     #2d9b46;
    --color-light:      #ccecd3;

    --font-heading: 'Franklin Gothic Medium', 'Arial Narrow', 'Roboto Condensed', sans-serif;
    --font-body: Georgia, 'Noto Serif', serif;

    --container: 1160px;
    --gutter: 16px;
    --radius-sm: 7px;
    --radius-md: 14px;
    --space-section: 47px;
    --border: 1px solid var(--color-border);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.wkt4pp { overflow-x: auto; }
.wqj4vr { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.wqj4vr th, .wqj4vr td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--color-border); }
.wqj4vr thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); border-bottom: 2px solid var(--color-text); }
.wqj4vr tbody th { font-weight: 700; width: 22%; }
.wqj4vr td { color: var(--color-muted); }
:root { --look-radius: 14px; --look-shadow: none; --look-gap: 24px; --look-section: 72px; }
.wd425t, .w16x6u { border-radius: var(--look-radius); }
.w30nm { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 16.5px; line-height: 1.6; }
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; }

h2, h3 { font-family: ui-monospace, Consolas, monospace; letter-spacing: -0.02em; }
.w1no4w > .w1g5n4 { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.wwdspc { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.w1t5vq { font-weight: 700; line-height: 1.15; }
.w1o0yw { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.w1mf63 { flex: 0 0 auto; }

.w1no4w { border-bottom: 1px solid var(--color-border); text-align: center; }
.w1no4w > .w1g5n4 { flex-direction: column; gap: 0; }
.wohdr1 { display: flex; justify-content: center; padding-top: 22px; }
.wwdspc { flex-direction: column; text-align: center; gap: 6px; }
.w1k9kh { width: 100%; }
.w18t4u { justify-content: center; gap: 26px; padding-bottom: 14px; }
.wt0s3f { padding-block: 60px 10px; }
.wwci05 { display: grid; gap: 28px; }
@media (min-width: 900px) { .wwci05 { grid-template-columns: 1.6fr 1fr; gap: 46px; align-items: end; } }
.wvo68q { font-size: 1.22rem; line-height: 1.6; }
.wdicpi img { width: 100%; height: auto; }
.hero__caption { font-size: 0.8rem; }
.wesnab { display: grid; gap: var(--look-gap); }
.w1swbr { padding: 22px; background: var(--color-sunken); border-radius: 0px; }
.w1lh4h { padding-block: var(--look-section); }
.w1lh4h:nth-of-type(even) { background: var(--color-sunken); }
.wp5npk { margin-bottom: 26px; }