/* вид: clinics=numbered · decor=soft · header=inline · hero=cover · rhythm=tight · sections=ruled · type=serif-sans */
/* ---------- База, общая для всех семейств: 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:         #f7f5f7;
    --color-surface:    #fbfbfb;
    --color-sunken:     #eeeaed;
    --color-text:       #251722;
    --color-muted:      #655062;
    --color-border:     #dfd5de;
    --color-border-str: #c8b6c5;
    --color-primary:    #6c3262;
    --color-primary-d:  #4c2345;
    --color-accent:     #2fa27c;
    --color-light:      #cdece2;

    --font-heading: 'Book Antiqua', Palatino, 'Palatino Linotype', serif;
    --font-body: Tahoma, 'Segoe UI', Geneva, sans-serif;

    --container: 1160px;
    --gutter: 16px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --space-section: 47px;
    --border: 1px solid var(--color-border);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.w11th3 li { position: relative; padding-left: 30px; }
.w11th3 li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.w11th3 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); }
.wngjen { display: grid; gap: 16px; }
@media (min-width: 720px) { .wngjen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .wngjen { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wnxnuc { border-radius: var(--look-radius); position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--color-border); background: var(--color-surface); }
.w1tuqw { 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; }
.wn5s52 { font-size: 1.02rem; margin-bottom: 6px; }
.wnxnuc p { color: var(--color-muted); font-size: 0.95rem; }
:root { --look-radius: 16px; --look-shadow: 0 1px 2px rgba(0,0,0,.05); --look-gap: 28px; --look-section: 72px; }
.w1n1k2, .w33g09 { border-radius: var(--look-radius); }
.wpyy9u { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 17.0px; line-height: 1.75; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.66rem, 1.1rem + 2.6vw, 3.33rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.40rem, 1.1rem + 1vw, 1.92rem); }
h3 { font-size: 1.10rem; }
.wl2xji > .wbra9t { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.w2ksco { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.wwshj8 { font-weight: 700; line-height: 1.15; }
.w15eat { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.wlrug2 { flex: 0 0 auto; }

.wl2xji { border-bottom: 1px solid var(--color-border); }
.wre3lf { display: flex; align-items: center; min-height: 66px; flex: 1 1 auto; }
.w2ksco { margin-right: auto; }
.w1tiep { gap: 22px; }
@media (max-width: 899px) { .wfagdw { flex: 1 1 100%; } }
.w14t0k { padding-block: 0; position: relative; }
.w124i3 { display: grid; gap: 0; }
.w1mfey { display: contents; }
.w1mfey img { order: -1; width: 100%; height: auto; max-height: 480px; object-fit: cover; object-position: 50% 35%; display: block; }
.w124i3 > 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) { .w124i3 > 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; } }
.w10y0v { display: grid; gap: 0; counter-reset: clinic; }
.wlfznk { position: relative; padding: 24px 0 24px 58px; border-bottom: 1px solid var(--color-border); }
.wlfznk::before { counter-increment: clinic; content: counter(clinic, decimal-leading-zero);
    position: absolute; left: 0; top: 24px; font-size: 1.35rem; font-weight: 700;
    color: var(--color-accent); font-variant-numeric: tabular-nums; }
.wzbqnv { padding-block: var(--look-section); }
.w1373n { margin-bottom: 26px; padding-top: 18px; border-top: 2px solid var(--color-text); }
@media (min-width: 1000px) {
  .wzbqnv > .wbra9t { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); column-gap: 48px; align-items: start; }
  .wzbqnv > .wbra9t > .w1373n { grid-column: 1; position: sticky; top: 84px; }
  .wzbqnv > .wbra9t > :not(.w1373n) { grid-column: 2; }
  .wzbqnv .w14eli, .wzbqnv .w1q791 { max-width: none; }
}