/* вид: clinics=panel · decor=soft · header=inline · hero=side · rhythm=airy · sections=boxed · 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:         #f6f5f8;
    --color-surface:    #ffffff;
    --color-sunken:     #ebe9ef;
    --color-text:       #1b1724;
    --color-muted:      #5e566d;
    --color-border:     #dfdce4;
    --color-border-str: #b6afc3;
    --color-primary:    #492f7b;
    --color-primary-d:  #35225a;
    --color-accent:     #67b334;
    --color-light:      #daeccd;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.n1tjn6 li { position: relative; padding-left: 30px; }
.n1tjn6 li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.n1tjn6 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); }
.n1fbm2 { display: grid; gap: 16px; }
@media (min-width: 720px) { .n1fbm2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .n1fbm2 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ndwnem { border-radius: var(--look-radius); position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--color-border); background: var(--color-surface); }
.n1oncr { 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; }
.n1mue4 { font-size: 1.02rem; margin-bottom: 6px; }
.ndwnem p { color: var(--color-muted); font-size: 0.95rem; }
.nrayjn { display: grid; gap: 18px; max-width: 80ch; }
@media (min-width: 900px) { .nrayjn { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; max-width: none; } }
.nlx1il { padding-left: 18px; border-left: 3px solid var(--color-accent); }
.nrayjn dt { font-weight: 700; margin-bottom: 4px; }
.nrayjn dd { color: var(--color-muted); font-size: 0.95rem; }
:root { --look-radius: 8px; --look-shadow: 0 1px 2px rgba(0,0,0,.05); --look-gap: 24px; --look-section: 64px; }
.n1icwp, .n4iffe { border-radius: var(--look-radius); }
.n1jrl7 { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 16.0px; line-height: 1.7; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.66rem, 1.1rem + 2.6vw, 3.33rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.40rem, 1.1rem + 1vw, 1.92rem); }
h3 { font-size: 1.10rem; }

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

.nd7zh5 { border-bottom: 1px solid var(--color-border); }
.n1vzvu { display: flex; align-items: center; min-height: 66px; flex: 1 1 auto; }
.n1rlvb { margin-right: auto; }
.n1vqf6 { gap: 22px; }
@media (max-width: 899px) { .npmcun { flex: 1 1 100%; } }
.n10oiv { padding-block: 54px 10px; }
.n1gwai { display: grid; gap: 30px; align-items: start; }
@media (min-width: 900px) { .n1gwai { grid-template-columns: 1.05fr 0.95fr; gap: 44px; }  }
.nnuqwz img { width: 100%; height: auto; }
.n19769 { display: grid; gap: var(--look-gap); }
.n13l0s { padding: 22px; background: var(--color-sunken); border-radius: 10px; }
.noknvh { padding-block: calc(var(--look-section) * 0.7); }
.noknvh > .ndlv73 > * { }
.nhm89d { margin-bottom: 22px; }
.noknvh .nyxry5, .noknvh .n1xvsr, .noknvh .n1bdmf, .noknvh .nwjhpf {
    background: var(--color-surface); border-radius: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.05); padding: 24px; }