/* вид: clinics=list · decor=line · header=split · hero=cover · rhythm=airy · sections=accentbar · type=serif-display */
/* ---------- База, общая для всех семейств: 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:         #f5f4f3;
    --color-surface:    #ffffff;
    --color-sunken:     #eceae8;
    --color-text:       #231c16;
    --color-muted:      #685c52;
    --color-border:     #dcd6d1;
    --color-border-str: #c2b8ae;
    --color-primary:    #7c5330;
    --color-primary-d:  #5b3d23;
    --color-accent:     #2c2f97;
    --color-light:      #d3d4ee;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.hv2il1 li { position: relative; padding-left: 30px; }
.hv2il1 li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.hv2il1 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); }
.hr8vya { display: grid; gap: 16px; }
@media (min-width: 720px) { .hr8vya { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hr8vya { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hh53xa { border-radius: var(--look-radius); position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--color-border); background: var(--color-surface); }
.hqdzh4 { 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; }
.hltjdr { font-size: 1.02rem; margin-bottom: 6px; }
.hh53xa p { color: var(--color-muted); font-size: 0.95rem; }
.h1f8av { display: grid; gap: 18px; max-width: 80ch; }
@media (min-width: 900px) { .h1f8av { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; max-width: none; } }
.hi2row { padding-left: 18px; border-left: 3px solid var(--color-accent); }
.h1f8av dt { font-weight: 700; margin-bottom: 4px; }
.h1f8av dd { color: var(--color-muted); font-size: 0.95rem; }
:root { --look-radius: 16px; --look-shadow: none; --look-gap: 32px; --look-section: 64px; }
.hsvet5, .hcq36l { border-radius: var(--look-radius); }
.h1ykgy { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 17.5px; line-height: 1.7; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.03em; }
h1 { font-size: clamp(1.79rem, 1.1rem + 2.6vw, 3.58rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.51rem, 1.1rem + 1vw, 2.07rem); }
h3 { font-size: 1.19rem; }
.h90kaa > .h3hn9j { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.hhqvaf { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.h88bb7 { font-weight: 700; line-height: 1.15; }
.h1z0iy { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.hajhdk { flex: 0 0 auto; }

.h90kaa { border-bottom: 2px solid var(--color-text); }
.h90kaa > .h3hn9j { flex-direction: column; align-items: stretch; gap: 0; }
.h10x4d { display: flex; align-items: center; min-height: 64px; }
.h7avx3 { border-top: 1px solid var(--color-border); }
.h11eyv { gap: 20px; padding-block: 10px; }
.hd9qru { padding-block: 0; position: relative; }
.hsgmyt { display: grid; gap: 0; }
.h1lii0 { display: contents; }
.h1lii0 img { order: -1; width: 100%; height: auto; max-height: 480px; object-fit: cover; object-position: 50% 35%; display: block; }
.hsgmyt > div { background: var(--color-surface); margin-top: -70px; position: relative; z-index: 1;
    padding: 28px 26px; border: 1px solid var(--color-border); }
@media (min-width: 900px) { .hsgmyt > div { margin: -110px 40px 0; padding: 36px 40px; } }
.hero__caption { order: 2; margin: 14px 0 0; }
@media (min-width: 900px) { .hero__caption { margin-inline: 40px; } }
.h1kx8h { display: grid; gap: 0; }
.h1yyqa { padding-block: 26px; border-bottom: 1px solid var(--color-border); }
.h1yyqa:first-child { border-top: 1px solid var(--color-border); }
.hfckrd { padding-block: var(--look-section); }
.h1yusw { margin-bottom: 26px; padding-left: 16px; border-left: 4px solid var(--color-accent); }