/* вид: clinics=cards3 · decor=flat · header=banner · hero=sideflip · rhythm=tight · sections=plain · 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:         #f7f8f9;
    --color-surface:    #fbfbfb;
    --color-sunken:     #eaeced;
    --color-text:       #161e22;
    --color-muted:      #4b595f;
    --color-border:     #d1d9dc;
    --color-border-str: #afbdc3;
    --color-primary:    #3a697c;
    --color-primary-d:  #2b4e5d;
    --color-accent:     #2d9d7c;
    --color-light:      #cdece3;

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

    --container: 1400px;
    --gutter: 16px;
    --radius-sm: 5px;
    --radius-md: 10px;
    --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; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.ghducl { display: grid; gap: 16px; }
@media (min-width: 720px) { .ghducl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ghducl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gmoevf { border-radius: var(--look-radius); position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--color-border); background: var(--color-surface); }
.gxc14l { 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; }
.gd7v9u { font-size: 1.02rem; margin-bottom: 6px; }
.gmoevf p { color: var(--color-muted); font-size: 0.95rem; }
.g1urdy { display: grid; gap: 28px; }
@media (min-width: 900px) { .g1urdy { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; } }
.gaistk p { font-size: 1.05rem; }
:root { --look-radius: 10px; --look-shadow: none; --look-gap: 28px; --look-section: 64px; }
.gm5ocy { border-radius: var(--look-radius); }
.gbibbm { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 16.5px; line-height: 1.65; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.54rem, 1.1rem + 2.6vw, 3.07rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.30rem, 1.1rem + 1vw, 1.78rem); }
h3 { font-size: 1.02rem; }
.gl3862 > .g1qpd6 { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.grkodt { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.gvl2xj { font-weight: 700; line-height: 1.15; }
.gov9j8 { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.gke8i0 { flex: 0 0 auto; }

.gl3862 { background: var(--color-primary); color: #fff; }
.gl3862 a, .gl3862 .grkodt { color: #fff; }
.g1pg89 { display: flex; align-items: center; min-height: 72px; flex: 1 1 auto; }
.grkodt { margin-right: auto; }
.gov9j8 { color: rgba(255,255,255,.75); }
.g90zg5 { gap: 20px; }
.g90zg5 a { color: #fff; }
.g1jgu6 { color: #fff; }
.g27yp5 { padding-block: 54px 10px; }
.g7sfwk { display: grid; gap: 30px; align-items: start; }
@media (min-width: 900px) { .g7sfwk { grid-template-columns: 1.05fr 0.95fr; gap: 44px; } .g1cd4k { order: -1; } }
.g1cd4k img { width: 100%; height: auto; }
.g2r3o3 { display: grid; gap: var(--look-gap); }
@media (min-width: 700px) { .g2r3o3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .g2r3o3 { grid-template-columns: repeat(3, 1fr); } }
.gn0tro { padding: 22px; border: 1px solid var(--color-border); border-radius: 0px; box-shadow: none; background: var(--color-surface); }
.g1vleq { padding-block: var(--look-section); }
.g5dehu { margin-bottom: 26px; }