/* site-019 · Новороссийск · layout: split-hero · theme: deep-blue */
/* ---------- База, общая для всех семейств: 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:         #f3f6fb;
    --color-surface:    #ffffff;
    --color-sunken:     #e7edf6;
    --color-text:       #0f1b2d;
    --color-muted:      #4a5a72;
    --color-border:     #d6deeb;
    --color-border-str: #b5c2d8;
    --color-primary:    #143d8f;
    --color-primary-d:  #0d2a63;
    --color-accent:     #f2a900;
    --color-light:      #ffe9b0;

    --font-heading: Cambria, "Times New Roman", serif;
    --font-body: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;

    --container: 1240px;
    --gutter: 16px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --space-section: 48px;
    --border: 1px solid var(--color-border);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

:target, .ysjhq4[id] { scroll-margin-top: 88px; }
/* ---------- split-hero: тёмная шапка, hero на две половины, широкая сетка ---------- */
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2.1rem); padding-left: 18px; position: relative; }
h2::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 8px; height: 0.6em; background: var(--color-accent); }
h3 { font-size: 1.15rem; }

/* шапка: тёмная полоса */
.yym3hp { background: var(--color-primary-d); color: #fff; position: sticky; top: 0; z-index: 50; }
.y1pw80 { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.yfvg0t { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; margin-right: auto; }
.yxn9t3 { width: 36px; height: 36px; }
.yi21uk { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.y1805z { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.78rem; color: #c9d5ea; }
.y1cvo8 { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 0.9rem; }
.y2m4mz { padding-bottom: 12px; }
.y1sac1 { gap: 2px; }
.y1sac1 a { padding: 10px 12px; color: #fff; border-radius: var(--radius-sm); }
.y1sac1 a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
@media (min-width: 900px) {
    .yym3hp > .ya4t4l { display: flex; align-items: center; gap: 24px; }
    .y1pw80 { flex: 1 1 auto; }
    .y2m4mz { padding-bottom: 0; }
    .y1sac1 { gap: 4px; }
    .y1sac1 a { padding: 20px 12px; font-size: 0.95rem; border-radius: 0; border-bottom: 3px solid transparent; }
    .y1sac1 a:hover { background: transparent; border-bottom-color: var(--color-accent); }
}

/* hero: цветная панель слева, картинка справа, на всю ширину */
.yot00m { background: var(--color-surface); }
.yot00m > .ya4t4l { max-width: none; padding: 0; }
.ytwybg { display: grid; }
@media (min-width: 1000px) {
    .ytwybg { grid-template-columns: 1fr 1fr; }
}
.ytwybg > div { background: var(--color-primary-d); color: #fff; padding: 40px var(--gutter); }
@media (min-width: 1000px) {
    .ytwybg > div { padding: 72px 56px 72px calc((100vw - var(--container)) / 2 + var(--gutter)); }
}
.ytwybg > div h1 { color: #fff; }
.yucjfr { font-size: 1.08rem; color: #c9d5ea; margin-top: 18px; max-width: 58ch; }
.y4cmzr { display: grid; align-content: center; padding: 28px var(--gutter); background: var(--color-sunken); }
@media (min-width: 1000px) {
    .y4cmzr { padding: 48px calc((100vw - var(--container)) / 2 + var(--gutter)) 48px 48px; }
}
.y4cmzr img { border-radius: var(--radius-md); }
.y1en35 { font-size: 0.82rem; color: var(--color-muted); margin-top: 10px; }

.yvzc30 { background: var(--color-sunken); }

.y8j0db { background: var(--color-surface); border: var(--border); border-radius: var(--radius-md); padding: 22px; border-left: 5px solid var(--color-primary); }
.yalq9s { gap: 18px; }

/* клиники: две колонки, обязательная — тёмной карточкой на всю ширину */
.y17gxw { display: grid; gap: 18px; }
@media (min-width: 900px) {
    .y17gxw { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .y1bone { grid-column: 1 / -1; }
}
.y1c6si { background: var(--color-surface); border: var(--border); border-radius: var(--radius-md); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.y1bone { background: var(--color-primary-d); color: #fff; border-color: var(--color-primary-d); }
.y1bone .y1lbt2, .y1bone .yavka4 { color: #c9d5ea; }
.y1bone a { color: var(--color-accent); }
.y1bone .y58bqr { max-width: 70ch; }
.yjs6c0 { font-size: 1.15rem; }
.y5g4k5 { border: 1px solid currentColor; border-radius: var(--radius-sm); padding: 2px 8px; font-size: 0.78rem; opacity: 0.9; }
.yczofd { font-weight: 600; }
.yavka4 { font-size: 0.95rem; }
.y1whnx { display: grid; gap: 1px; background: var(--color-border); border: var(--border); border-radius: var(--radius-sm); overflow: hidden; font-size: 0.9rem; }
.y1bone .y1whnx { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.25); max-width: 520px; }
.y1whnx > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 8px 12px; background: var(--color-sunken); }
.y1bone .y1whnx > div { background: var(--color-primary-d); }
.y1bone .y1whnx dt { color: #c9d5ea; }
.yd3kgu { padding-top: 4px; }

.y145kx { padding: 10px 18px; border-radius: var(--radius-sm); background: var(--color-primary); color: #fff; font-size: 0.92rem; font-weight: 600; }
.y145kx:hover { background: var(--color-primary-d); color: #fff; }
.y1bone .ylr6po { background: var(--color-accent); color: var(--color-primary-d); }
.y1bone .ylr6po:hover { background: var(--color-light); color: var(--color-primary-d); }
.y2mfk6 { background: transparent; color: var(--color-primary-d); border: 1px solid var(--color-primary); }
.y1bone .y2mfk6 { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.y2mfk6:hover { background: var(--color-sunken); }

.y1h2w8 li { background: var(--color-surface); border: var(--border); border-radius: var(--radius-md); padding: 16px 18px 16px 54px; position: relative; }
.y1h2w8 li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 18px; height: 18px; background: var(--color-accent); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.y4simu li { padding: 0 0 24px 52px; border-left: 2px solid var(--color-border-str); margin-left: 15px; }
.y4simu li:last-child { border-left-color: transparent; padding-bottom: 0; }
.y4simu li::before { content: counter(step); position: absolute; left: -17px; top: -2px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--color-accent); color: var(--color-primary-d); border-radius: 50%; font-weight: 700; }

.y1lz1j { background: var(--color-surface); border: var(--border); border-radius: var(--radius-md); }
.y1lit5 { padding: 16px 18px; font-size: 1.02rem; }
.y1miny { padding: 0 18px 18px; }

.y1uqfk { background: var(--color-primary-d); color: #c9d5ea; padding-block: 40px 28px; font-size: 0.93rem; }
.yupa0k { display: grid; gap: 28px; }
@media (min-width: 760px) { .yupa0k { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }
.y1uqfk h2 { font-size: 0.8rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-accent); margin-bottom: 12px; padding-left: 0; }
.y1uqfk h2::before { display: none; }
.y1uqfk ul { display: grid; gap: 8px; }
.y1uqfk a { color: #fff; }
.y1uqfk a:hover { color: var(--color-accent); }
.y151d4 { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.15); display: grid; gap: 10px; font-size: 0.85rem; }