/* вид: clinics=rows · decor=line · header=stacked · hero=band · rhythm=airy · 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:         #f9f4f6;
    --color-surface:    #ffffff;
    --color-sunken:     #f2e9ed;
    --color-text:       #2e1e25;
    --color-muted:      #6e5661;
    --color-border:     #dfd5d9;
    --color-border-str: #c8b6bf;
    --color-primary:    #773654;
    --color-primary-d:  #58273e;
    --color-accent:     #2e9e86;
    --color-light:      #cfede6;

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

    --container: 1120px;
    --gutter: 16px;
    --radius-sm: 2px;
    --radius-md: 4px;
    --space-section: 57px;
    --border: 1px solid var(--color-border);
}

@media (min-width: 768px) {
    :root { --gutter: 32px; --space-section: 88px; }
}

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; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.x962i9 li { position: relative; padding-left: 30px; }
.x962i9 li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.x962i9 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); }
.xyhnpk { display: grid; gap: 16px; }
@media (min-width: 720px) { .xyhnpk { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .xyhnpk { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.xok1ip { border-radius: var(--look-radius); position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--color-border); background: var(--color-surface); }
.x1vvit { 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; }
.x1m4lc { font-size: 1.02rem; margin-bottom: 6px; }
.xok1ip p { color: var(--color-muted); font-size: 0.95rem; }
.xherfm { display: grid; gap: 28px; }
@media (min-width: 900px) { .xherfm { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; } }
.x1otg2 p { font-size: 1.05rem; }
.xbw6ir { overflow-x: auto; }
.xoaafe { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.xoaafe th, .xoaafe td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--color-border); }
.xoaafe thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); border-bottom: 2px solid var(--color-text); }
.xoaafe tbody th { font-weight: 700; width: 22%; }
.xoaafe td { color: var(--color-muted); }
.x1aasq { display: grid; gap: 18px; max-width: 80ch; }
@media (min-width: 900px) { .x1aasq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; max-width: none; } }
.xa3cqs { padding-left: 18px; border-left: 3px solid var(--color-accent); }
.x1aasq dt { font-weight: 700; margin-bottom: 4px; }
.x1aasq dd { color: var(--color-muted); font-size: 0.95rem; }
:root { --look-radius: 4px; --look-shadow: none; --look-gap: 32px; --look-section: 88px; }
.x5quwt { border-radius: var(--look-radius); }
.x16od4 { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 16.0px; line-height: 1.55; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.88rem, 1.1rem + 2.6vw, 3.76rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.59rem, 1.1rem + 1vw, 2.18rem); }
h3 { font-size: 1.25rem; }
.xj7fx3 > .x1d5ym { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.x9ayrh { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.xxjw1x { font-weight: 700; line-height: 1.15; }
.x93ots { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.xhyl8k { flex: 0 0 auto; }

.xj7fx3 { border-bottom: 1px solid var(--color-border); text-align: center; }
.xj7fx3 > .x1d5ym { flex-direction: column; gap: 0; }
.x1syky { display: flex; justify-content: center; padding-top: 22px; }
.x9ayrh { flex-direction: column; text-align: center; gap: 6px; }
.xg9cbk { width: 100%; }
.xoy1q0 { justify-content: center; gap: 26px; padding-bottom: 14px; }
.xn5evv { padding-block: 0 10px; }
.x1440z { display: grid; gap: 28px; }
.x1440z > div { background: var(--color-sunken); padding: 44px 24px; margin-inline: calc(-1 * var(--gutter)); }
@media (min-width: 900px) {
    .x1440z { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
    .x1440z > div { margin-inline: 0; padding: 48px 44px; }
}
.xmcsnl img { width: 100%; height: auto; }
.xh08sa { display: grid; gap: 0; }
.x17is3 { display: grid; gap: 8px 22px; padding-block: 22px; border-bottom: 1px solid var(--color-border); }
@media (min-width: 900px) {
    .x17is3 { grid-template-columns: 1.3fr 1fr auto; align-items: start; }
    .x6s3wd { grid-column: 1; }
    .x15yev { grid-column: 3; grid-row: 1 / span 3; align-self: center; }
}
.x1ja5f { padding-block: var(--look-section); }
.x18peq { margin-bottom: 26px; padding-top: 18px; border-top: 2px solid var(--color-text); }
@media (min-width: 1000px) {
  .x1ja5f > .x1d5ym { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); column-gap: 48px; align-items: start; }
  .x1ja5f > .x1d5ym > .x18peq { grid-column: 1; position: sticky; top: 84px; }
  .x1ja5f > .x1d5ym > :not(.x18peq) { grid-column: 2; }
  .x1ja5f .x1ffk6 { max-width: none; }
}