/* вид: clinics=bordered · decor=line · header=compact · hero=sideflip · rhythm=tight · sections=ruled · type=sans-wide */
/* ---------- База, общая для всех семейств: 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:         #f4f9f4;
    --color-surface:    #ffffff;
    --color-sunken:     #e9f2e9;
    --color-text:       #182517;
    --color-muted:      #556c55;
    --color-border:     #dbe4db;
    --color-border-str: #b9cab9;
    --color-primary:    #30772f;
    --color-primary-d:  #235622;
    --color-accent:     #8730a6;
    --color-light:      #e5d0ed;

    --font-heading: Cambria, 'Noto Serif', Georgia, serif;
    --font-body: Calibri, 'Segoe UI', Carlito, system-ui, sans-serif;

    --container: 1320px;
    --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; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.nxgfn3 li { position: relative; padding-left: 30px; }
.nxgfn3 li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.nxgfn3 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); }
.nlyqic { display: grid; gap: 16px; }
@media (min-width: 720px) { .nlyqic { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .nlyqic { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.n7pibd { border-radius: var(--look-radius); position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--color-border); background: var(--color-surface); }
.n1myl0 { 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; }
.n16shw { font-size: 1.02rem; margin-bottom: 6px; }
.n7pibd p { color: var(--color-muted); font-size: 0.95rem; }
.n1e731 { display: grid; gap: 28px; }
@media (min-width: 900px) { .n1e731 { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; } }
.n142zz p { font-size: 1.05rem; }
.n15jkj { display: grid; gap: 18px; max-width: 80ch; }
@media (min-width: 900px) { .n15jkj { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; max-width: none; } }
.nsmgcz { padding-left: 18px; border-left: 3px solid var(--color-accent); }
.n15jkj dt { font-weight: 700; margin-bottom: 4px; }
.n15jkj dd { color: var(--color-muted); font-size: 0.95rem; }
:root { --look-radius: 12px; --look-shadow: none; --look-gap: 32px; --look-section: 64px; }
.nv5ivo { border-radius: var(--look-radius); }
.n6094b { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 16.5px; line-height: 1.55; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.61rem, 1.1rem + 2.6vw, 3.23rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.36rem, 1.1rem + 1vw, 1.86rem); }
h3 { font-size: 1.07rem; }
.n1sdie > .njpaqo { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.n594lf { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.ngjt1b { font-weight: 700; line-height: 1.15; }
.n169lb { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.n13f5w { flex: 0 0 auto; }

.n1sdie { border-bottom: 1px solid var(--color-border); }
.n14m67 { display: flex; align-items: center; min-height: 50px; flex: 1 1 auto; }
.n594lf { margin-right: auto; }
.ngjt1b { font-size: 0.95rem; }
.n169lb { display: none; }
.n1qkcc { gap: 16px; }
.n1qkcc a { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; }
.nffixz { padding-block: 54px 10px; }
.n1cx4c { display: grid; gap: 30px; align-items: start; }
@media (min-width: 900px) { .n1cx4c { grid-template-columns: 1.05fr 0.95fr; gap: 44px; } .n7q125 { order: -1; } }
.n7q125 img { width: 100%; height: auto; }
.n19pyj { display: grid; gap: var(--look-gap); }
.n6985d { padding: 22px; border: 2px solid var(--color-text); border-radius: 0px; background: var(--color-surface); }
.nqad9l { padding-block: var(--look-section); }
.n119ux { margin-bottom: 26px; padding-top: 18px; border-top: 2px solid var(--color-text); }
@media (min-width: 1000px) {
  .nqad9l > .njpaqo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); column-gap: 48px; align-items: start; }
  .nqad9l > .njpaqo > .n119ux { grid-column: 1; position: sticky; top: 84px; }
  .nqad9l > .njpaqo > :not(.n119ux) { grid-column: 2; }
  .nqad9l .n12cq9 { max-width: none; }
}