/* вид: clinics=cards3 · decor=soft · header=split · hero=sideflip · rhythm=tight · sections=ruled · type=sans-tight */
/* ---------- База, общая для всех семейств: 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:         #f3f8f5;
    --color-surface:    #fbfcfb;
    --color-sunken:     #e4efe9;
    --color-text:       #1a2821;
    --color-muted:      #50665b;
    --color-border:     #d8e2dd;
    --color-border-str: #b8c9c0;
    --color-primary:    #347a55;
    --color-primary-d:  #265a3f;
    --color-accent:     #b33497;
    --color-light:      #efd5e9;

    --font-heading: Tahoma, 'Segoe UI', Geneva, sans-serif;
    --font-body: system-ui, 'Segoe UI', Roboto, sans-serif;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* --- стили разделов подключаются только когда раздел есть на странице */
.fsw5ek li { position: relative; padding-left: 30px; }
.fsw5ek li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
    border: 2px solid var(--color-accent); border-radius: 4px; }
.fsw5ek 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); }
.f2hyme { display: grid; gap: 28px; }
@media (min-width: 900px) { .f2hyme { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; } }
.fou3m6 p { font-size: 1.05rem; }
:root { --look-radius: 6px; --look-shadow: 0 1px 2px rgba(0,0,0,.05); --look-gap: 28px; --look-section: 88px; }
.f13hxp, .frd6hk { border-radius: var(--look-radius); }
.f1jvdb { border-radius: var(--look-radius); }
body { font-family: var(--font-body); font-size: 16.5px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.03em; }
h1 { font-size: clamp(1.49rem, 1.1rem + 2.6vw, 2.98rem); line-height: 1.08; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: clamp(1.26rem, 1.1rem + 1vw, 1.72rem); }
h3 { font-size: 0.99rem; }
.f1yh7y > .fiucpy { display: flex; align-items: center; gap: 0 24px; flex-wrap: wrap; }
.fjpzek { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.f1ic5p { font-weight: 700; line-height: 1.15; }
.f1tjtq { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-muted); margin-top: 2px; }
.f1xs8c { flex: 0 0 auto; }

.f1yh7y { border-bottom: 2px solid var(--color-text); }
.f1yh7y > .fiucpy { flex-direction: column; align-items: stretch; gap: 0; }
.f10atj { display: flex; align-items: center; min-height: 64px; }
.f1fbox { border-top: 1px solid var(--color-border); }
.f15d6z { gap: 20px; padding-block: 10px; }
.f1jwqo { padding-block: 54px 10px; }
.f18oo9 { display: grid; gap: 30px; align-items: start; }
@media (min-width: 900px) { .f18oo9 { grid-template-columns: 1.05fr 0.95fr; gap: 44px; } .f1may5 { order: -1; } }
.f1may5 img { width: 100%; height: auto; }
.feyomp { display: grid; gap: var(--look-gap); }
@media (min-width: 700px) { .feyomp { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feyomp { grid-template-columns: repeat(3, 1fr); } }
.f1bjzf { padding: 22px; border: 1px solid var(--color-border); border-radius: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.05); background: var(--color-surface); }
.f1xnj2 { padding-block: var(--look-section); }
.fpsx36 { margin-bottom: 26px; padding-top: 18px; border-top: 2px solid var(--color-text); }
@media (min-width: 1000px) {
  .f1xnj2 > .fiucpy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); column-gap: 48px; align-items: start; }
  .f1xnj2 > .fiucpy > .fpsx36 { grid-column: 1; position: sticky; top: 84px; }
  .f1xnj2 > .fiucpy > :not(.fpsx36) { grid-column: 2; }
  .f1xnj2 .f1q31h, .f1xnj2 .fwfsu4 { max-width: none; }
}