/* вид: clinics=rows · decor=round · header=stacked · hero=side · rhythm=tight · sections=ruled · 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:         #f1f3f7;
    --color-surface:    #ffffff;
    --color-sunken:     #e8edf2;
    --color-text:       #1b222a;
    --color-muted:      #515b67;
    --color-border:     #d8dde2;
    --color-border-str: #b3bbc6;
    --color-primary:    #304968;
    --color-primary-d:  #213348;
    --color-accent:     #b69c35;
    --color-light:      #ece5cc;

    --font-heading: Garamond, 'EB Garamond', 'Cormorant Garamond', Georgia, serif;
    --font-body: system-ui, 'Segoe UI', Roboto, sans-serif;

    --container: 1240px;
    --gutter: 16px;
    --radius-sm: 1px;
    --radius-md: 3px;
    --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; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.d1jul1 li { position: relative; padding-left: 30px; }
.d1jul1 li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.d1jul1 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); }
.d8fe1i { display: grid; gap: 16px; }
@media (min-width: 720px) { .d8fe1i { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .d8fe1i { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dg4ui1 { border-radius: var(--look-radius); position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--color-border); background: var(--color-surface); }
.d13mgs { 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; }
.d1jyex { font-size: 1.02rem; margin-bottom: 6px; }
.dg4ui1 p { color: var(--color-muted); font-size: 0.95rem; }
.ddvr79 { overflow-x: auto; }
.dnwzxl { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.dnwzxl th, .dnwzxl td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--color-border); }
.dnwzxl thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); border-bottom: 2px solid var(--color-text); }
.dnwzxl tbody th { font-weight: 700; width: 22%; }
.dnwzxl td { color: var(--color-muted); }
:root { --look-radius: 3px; --look-shadow: 0 2px 10px rgba(0,0,0,.06); --look-gap: 24px; --look-section: 64px; }
.dmqy1r { border-radius: var(--look-radius); }
.d4cul2 { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 17.0px; line-height: 1.65; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.60rem, 1.1rem + 2.6vw, 3.20rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); }
h3 { font-size: 1.06rem; }

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

.dazscx { border-bottom: 1px solid var(--color-border); text-align: center; }
.dazscx > .d1ebqj { flex-direction: column; gap: 0; }
.d9wyrb { display: flex; justify-content: center; padding-top: 22px; }
.dptmpe { flex-direction: column; text-align: center; gap: 6px; }
.d11ux4 { width: 100%; }
.d17paj { justify-content: center; gap: 26px; padding-bottom: 14px; }
.d658xm { padding-block: 54px 10px; }
.d1t7ax { display: grid; gap: 30px; align-items: start; }
@media (min-width: 900px) { .d1t7ax { grid-template-columns: 1.05fr 0.95fr; gap: 44px; }  }
.dk1zs6 img { width: 100%; height: auto; }
.dgx8sm { display: grid; gap: 0; }
.d1vdae { display: grid; gap: 8px 22px; padding-block: 22px; border-bottom: 1px solid var(--color-border); }
@media (min-width: 900px) {
    .d1vdae { grid-template-columns: 1.3fr 1fr auto; align-items: start; }
    .d6gyvy { grid-column: 1; }
    .dft20a { grid-column: 3; grid-row: 1 / span 3; align-self: center; }
}
.d1j32n { padding-block: var(--look-section); }
.d1a6a4 { margin-bottom: 26px; padding-top: 18px; border-top: 2px solid var(--color-text); }
@media (min-width: 1000px) {
  .d1j32n > .d1ebqj { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); column-gap: 48px; align-items: start; }
  .d1j32n > .d1ebqj > .d1a6a4 { grid-column: 1; position: sticky; top: 84px; }
  .d1j32n > .d1ebqj > :not(.d1a6a4) { grid-column: 2; }
  .d1j32n .d1ivgj { max-width: none; }
}