/* Страницы: главная, врачи, цены, документы, сертификат и т. п. */

/* ---------- Компас «Где болит?» ---------- */
.compass-sec { background: radial-gradient(circle at 50% 40%, #fff 0, var(--paper) 60%); }
.bc { display: grid; grid-template-columns: 220px minmax(0, 1fr) 340px; gap: 30px; align-items: center; }
.bc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.bc-btn { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 11px 14px; border: 0; border-radius: 14px; background: none; font-size: 16px; font-weight: 500; color: var(--ink); transition: background .2s, color .2s; }
.bc-btn:hover { background: var(--mist); }
.bc-btn.is-on { background: var(--forest); color: #fff; }
.bc-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--olive); flex: none; transition: all .2s; }
.bc-btn.is-on .bc-dot { background: var(--leaf); border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(200, 212, 106, .25); }
.bc-dial { max-width: 520px; width: 100%; margin: 0 auto; }
.bc-svg { overflow: visible; }
.bc-ring { fill: #fff; stroke: var(--line); stroke-width: 2; filter: drop-shadow(0 30px 40px rgba(30, 43, 23, .12)); }
.bc-ring2 { fill: none; stroke: var(--mist); stroke-width: 26; }
.bc-tick { stroke: #B7C09E; stroke-width: 1.5; }
.bc-tick.is-main { stroke: var(--moss); stroke-width: 3; }
.bc-n { font: 700 22px var(--f-display); fill: var(--moss); text-anchor: middle; }
.bc-limb { fill: none; stroke: var(--sage); stroke-width: 24; stroke-linecap: round; }
.bc-torso { fill: var(--sage); }
.bc-spine { stroke: var(--olive); stroke-width: 3; stroke-dasharray: 6 6; opacity: .7; }
.bc-spot { cursor: pointer; }
.bc-spot-ring { fill: rgba(229, 163, 58, .2); stroke: #E5A33A; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.bc-spot-dot { fill: var(--moss); stroke: #fff; stroke-width: 2; transition: fill .3s; }
.bc-spot:hover .bc-spot-dot { fill: var(--olive); }
.bc-spot.is-on .bc-spot-dot { fill: #E5A33A; }
.bc-spot.is-on .bc-spot-ring { opacity: 1; animation: spotPulse 1.8s ease-out infinite; }
@keyframes spotPulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.bc-needle { transform-box: view-box; transform-origin: 260px 260px; transition: transform 1.1s cubic-bezier(.34, 1.56, .64, 1); }
.bc-needle-n { fill: var(--leaf-2); stroke: var(--forest); stroke-width: 2; }
.bc-needle-s { fill: var(--forest); opacity: .85; }
.bc-hub { fill: #fff; stroke: var(--forest); stroke-width: 4; }
.bc-pane { padding: 26px; border-radius: 26px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.bc-pane[hidden] { display: none; }
.bc-pane.is-on { animation: megaIn .45s var(--ease); }
.bc-pane-t { font-family: var(--f-display); font-size: 34px; font-weight: 700; color: var(--forest); margin: 0 0 8px; line-height: 1; }
.bc-pane-d { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.bc-links { list-style: none; padding: 0; margin: 0 0 18px; }
.bc-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.bc-links a:hover { color: var(--moss); }
.bc-links .ico { color: var(--olive); transition: transform .2s; }
.bc-links a:hover .ico { transform: translateX(4px); }
@media (max-width: 1150px) { .bc { grid-template-columns: 1fr 1fr; } .bc-list { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; } .bc-btn { width: auto; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; } }
@media (max-width: 760px) { .bc { grid-template-columns: 1fr; } .bc-dial { max-width: 340px; } }

/* ---------- Блок «Грыжа» на главной ---------- */
.hernia-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.hernia-il { max-width: 440px; margin: 0 auto; width: 100%; }
.hernia-spot { overflow: hidden; }
.hernia-spot h2 { margin-top: 16px; }
.hernia-points { list-style: none; padding: 0; margin: 26px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hernia-points li { padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.hernia-points b { display: block; font-family: var(--f-display); font-size: 28px; color: var(--leaf); line-height: 1; margin-bottom: 6px; }
.hernia-points span { font-size: 14px; color: #B9C2A6; line-height: 1.4; }
.hernia-price { margin: 20px 0 0; color: #C9D2B4; }
.hernia-price b { color: var(--leaf); font-family: var(--f-display); font-size: 26px; }
.hernia-price s { color: #8E987C; }
@media (max-width: 900px) { .hernia-in { grid-template-columns: 1fr; } .hernia-il { max-width: 260px; } .hernia-points { grid-template-columns: 1fr; } }

/* ---------- Семья ---------- */
.family-box { padding: clamp(24px, 4vw, 54px); border-radius: 40px; background: var(--mist); position: relative; overflow: hidden; }
.family-head { max-width: 760px; margin-bottom: 30px; }
.family-cols { display: grid; grid-template-columns: 1fr minmax(240px, .9fr) 1fr; gap: 26px; align-items: center; }
.family-col { padding: 26px; border-radius: 26px; background: #fff; }
.family-col-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.family-col-head p { font-family: var(--f-display); font-size: 30px; font-weight: 700; color: var(--forest); margin: 0; }
.family-ico { width: 50px; height: 50px; border-radius: 50%; background: var(--leaf); display: grid; place-items: center; color: var(--forest); }
.family-col ul { list-style: none; padding: 0; margin: 0; }
.family-col a { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.family-col a .ico { color: var(--olive); }
.family-col a:hover { color: var(--moss); }
.family-photo { border-radius: 200px 200px 30px 30px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.family-photo img { width: 100%; height: 100%; object-fit: cover; }
.family-cert { display: flex; align-items: center; gap: 18px; margin-top: 26px; padding: 18px 22px; border-radius: 22px; background: var(--forest); color: #C9D2B4; text-decoration: none; }
.family-cert b { display: block; color: #fff; font-size: 18px; }
.family-cert > .ico { margin-left: auto; color: var(--leaf); width: 24px; height: 24px; flex: none; }
.family-cert-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--leaf); display: grid; place-items: center; color: var(--forest); flex: none; }
.family-cert:hover { color: #fff; }
@media (max-width: 1000px) { .family-cols { grid-template-columns: 1fr 1fr; } .family-photo { display: none; } }
@media (max-width: 640px) { .family-cols { grid-template-columns: 1fr; } }

/* ---------- Карточки метода, акции, видео, статьи ---------- */
.method-card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--paper); text-decoration: none; color: var(--ink); border: 1px solid var(--line); }
.method-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.method-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.method-card:hover .method-img img { transform: scale(1.05); }
.method-body { display: grid; gap: 6px; padding: 16px 18px 20px; }
.method-t { font-family: var(--f-display); font-size: 24px; font-weight: 600; color: var(--forest); line-height: 1.1; }
.method-d { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.promo-card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.promo-card-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.promo-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.promo-card:hover .promo-card-img img { transform: scale(1.04); }
.promo-card-save { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--leaf); color: var(--forest); font-weight: 700; }
.promo-card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1; }
.promo-card-body .pill { align-self: flex-start; }
.promo-card-t { font-size: 25px; margin: 0; }
.promo-card-t a { color: var(--forest); text-decoration: none; }
.promo-card-d { margin: 0; font-size: 15px; color: var(--ink-2); }
.promo-card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.promo-card-price b { font-family: var(--f-display); font-size: 30px; font-weight: 700; color: var(--moss); display: block; line-height: 1; }
.promo-card-price s { color: var(--ink-3); font-size: 15px; }
.video-card { border-radius: var(--r); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.video-cover { position: relative; display: block; width: 100%; aspect-ratio: 9 / 12; border: 0; padding: 0; background: var(--forest); cursor: pointer; overflow: hidden; }
.video-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .8s var(--ease), opacity .3s; }
.video-cover:hover img { transform: scale(1.04); opacity: 1; }
.video-ph { display: grid; place-items: center; height: 100%; padding: 40px; }
.video-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--leaf); display: grid; place-items: center; color: var(--forest); box-shadow: 0 0 0 10px rgba(200, 212, 106, .25); }
.video-play .ico { width: 30px; height: 30px; fill: currentColor; stroke: none; margin-left: 4px; }
.video-body { padding: 16px 18px; }
.video-t { font-weight: 600; margin: 0 0 4px; }
.video-d { font-size: 14.5px; color: var(--ink-2); margin: 0; }
.art-card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.art-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.art-img img { width: 100%; height: 100%; object-fit: cover; }
.art-img .il { max-width: 160px; margin: 20px auto; }
.art-body { padding: 18px 20px 22px; }
.art-meta { font-size: 13px; color: var(--ink-3); margin: 0 0 8px; }
.art-t { font-size: 24px; margin: 0 0 8px; }
.art-t a { color: var(--forest); text-decoration: none; }
.art-d { font-size: 15px; color: var(--ink-2); margin: 0; }

/* ---------- Филиалы ---------- */
.branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.branch { border-radius: 28px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.branch-map { position: relative; height: 280px; background: var(--mist) url('../img/map-pattern.svg') center / cover; }
.branch-map img { width: 100%; height: 100%; object-fit: cover; }
.branch-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.branch-map-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 0; background: #fff; box-shadow: var(--shadow); font-weight: 600; color: var(--forest); }
.branch-body { padding: 22px; display: grid; gap: 12px; }
.branch-t { font-family: var(--f-display); font-size: 26px; font-weight: 600; color: var(--forest); margin: 0; }
.branch-addr { display: flex; gap: 10px; margin: 0; font-weight: 500; }
.branch-addr .ico { color: var(--olive); margin-top: 3px; }
.branch-hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.branch-hours li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
@media (max-width: 800px) { .branches { grid-template-columns: 1fr; } }

/* ---------- Каталог разделов ---------- */
.section-search { position: relative; display: flex; align-items: center; gap: 10px; max-width: 680px; margin-top: 22px; padding: 0 8px 0 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow-s); }
.section-search > .ico { color: var(--olive); width: 22px; height: 22px; }
.section-search input { flex: 1; border: 0; outline: none; background: none; min-height: 58px; font-size: 17px; }
.section-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; background: #fff; border-radius: 20px; box-shadow: var(--shadow); max-height: 360px; }
.section-results:empty { display: none; }
.catalog { columns: 2 460px; column-gap: 24px; }
.cat-block { break-inside: avoid; margin-bottom: 24px; padding: 22px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); }
.sec-white .cat-block { background: var(--paper); }
.cat-head { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--forest); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.cat-head-t { flex: 1; }
.cat-head .h3 { display: block; margin: 0; }
.cat-head-d { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.4; margin-top: 4px; }
.cat-il { width: 74px; flex: none; }
.cat-head:hover .card-go { background: var(--leaf); }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-link { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px dashed var(--line); }
.cat-link small { color: var(--moss); font-weight: 600; white-space: nowrap; }
.cat-link:hover { color: var(--moss); }
.cat-sub { list-style: none; margin: 4px 0 8px; padding: 0 0 0 14px; border-left: 2px solid var(--sage); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.cat-sub a { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.cat-sub a:hover { color: var(--moss); text-decoration: underline; }

/* ---------- Врачи: фильтр ---------- */
.docs-sec { padding-bottom: 60px; }
.dfilter { position: sticky; top: calc(var(--hdr-h) - 10px); z-index: 20; display: grid; grid-template-columns: minmax(220px, 1.3fr) minmax(180px, 1fr) minmax(220px, 1.2fr); gap: 10px; padding: 14px; border-radius: 24px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: var(--shadow-s); margin-bottom: 26px; }
.dfilter-search { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; }
.dfilter-search:focus-within { border-color: var(--olive); }
.dfilter-search .ico { color: var(--olive); }
.dfilter-search input { flex: 1; border: 0; outline: none; min-height: 50px; background: none; font-size: 16px; }
.dfilter .select { min-height: 54px; }
.dfilter-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; cursor: pointer; transition: all .2s; }
.chip input:checked + span { background: var(--moss); border-color: var(--moss); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--olive); outline-offset: 2px; }
.dfilter-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dfilter-count { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.dfilter-count b { color: var(--forest); }
.docs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.docs-grid .doc-card[hidden] { display: none; }
.docs-empty { text-align: center; padding: 40px 20px; }
.docs-empty .il { max-width: 160px; margin: 0 auto 12px; }
.docs-empty-t { font-family: var(--f-display); font-size: 28px; font-weight: 600; color: var(--forest); margin: 0 0 6px; }
.docs-help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); gap: 30px; align-items: center; margin-top: 40px; padding: clamp(22px, 4vw, 40px); border-radius: 30px; background: var(--mist); }
.docs-help-t { font-family: var(--f-display); font-size: 30px; font-weight: 700; color: var(--forest); margin: 0 0 8px; }
.spec-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 30px; }
.spec-links-t { width: 100%; font-weight: 600; margin: 0 0 4px; }
.spec-links .pill { text-decoration: none; }
.spec-links .pill:hover { background: var(--mist); }
@media (max-width: 1100px) { .docs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .dfilter { grid-template-columns: 1fr; position: static; } .docs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .docs-help { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .docs-grid { grid-template-columns: 1fr; } }

/* ---------- Страница врача ---------- */
.dhero { position: relative; overflow: hidden; padding: clamp(20px, 3vw, 40px) 0 clamp(36px, 5vw, 70px); }
.dhero-in { display: grid; grid-template-columns: minmax(280px, 440px) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.dhero-photo { position: relative; border-radius: var(--r-leaf); overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); box-shadow: var(--shadow); }
.dhero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 10%; }
.dhero-exp { position: absolute; right: 16px; bottom: 16px; padding: 12px 16px; border-radius: 18px; background: var(--forest); color: #C9D2B4; font-size: 13px; line-height: 1.1; text-align: center; }
.dhero-exp b { display: block; font-family: var(--f-display); font-size: 36px; color: var(--leaf); }
.dhero-pos { color: var(--olive); font-weight: 600; margin: 0 0 8px; }
.dhero h1 { font-size: clamp(38px, 4.4vw, 64px); }
.dhero-facts { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.dhero-facts li { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); }
.dhero-facts .ico { color: var(--olive); }
.dhero-facts b { color: var(--forest); }
.dhero-price { margin: 18px 0 0; font-size: 16px; color: var(--ink-2); }
.dhero-price b { font-family: var(--f-display); font-size: 28px; color: var(--forest); }
.dhero-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.dhero-links .pill { text-decoration: none; }
.dnav { position: sticky; top: calc(var(--hdr-h) - 12px); z-index: 30; background: rgba(250, 251, 246, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dnav-in { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; min-height: 60px; }
.dnav a { padding: 8px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; white-space: nowrap; font-weight: 500; font-size: 15px; }
.dnav a:hover, .dnav a.is-on { background: var(--mist); color: var(--moss); }
.dnav .btn { margin-left: auto; }
.dquote { position: relative; margin: 0 0 22px; padding: 22px 24px 22px 64px; border-radius: 20px; background: var(--mist); font-size: 18px; line-height: 1.5; color: var(--forest); }
.dquote .ico { position: absolute; left: 20px; top: 20px; width: 30px; height: 30px; color: var(--olive); }
.dquote p { margin: 0; }
.dapproach { margin-top: 20px; padding: 20px; border-left: 4px solid var(--leaf); background: var(--white); border-radius: 0 16px 16px 0; }
.dapproach-t { font-weight: 700; color: var(--forest); margin: 0 0 6px; }
.dapproach p:last-child { margin: 0; }
.dspec { padding: 26px; border-radius: 26px; background: var(--forest); color: #DDE4C9; align-self: start; }
.dspec-t { font-family: var(--f-display); font-size: 28px; font-weight: 600; color: #fff; margin: 0 0 8px; }
.dspec .ticks .ico { color: var(--leaf); }
.dgroup-t { font-weight: 700; color: var(--forest); margin: 20px 0 10px; }
.chips-links { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-links .pill { text-decoration: none; background: var(--paper); }
.chips-links .pill:hover { background: var(--leaf); }
.dedu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 60px); }
.dtl { list-style: none; padding: 0; margin: 20px 0 0; position: relative; }
.dtl::before { content: ''; position: absolute; left: 44px; top: 6px; bottom: 6px; width: 2px; background: var(--sage); }
.dtl li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 0 0 20px; position: relative; }
.dtl li::before { content: ''; position: absolute; left: 39px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--leaf); border: 2px solid var(--paper); }
.dtl-year { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--olive); text-align: left; padding-right: 54px; white-space: nowrap; width: 90px; display: block; }
.dtl b { display: block; color: var(--forest); line-height: 1.35; }
.dtl span { color: var(--ink-2); font-size: 15px; }
.dtl-s li { padding-bottom: 14px; }
.dtl-s b { font-weight: 500; font-size: 15.5px; }
.dtl li > div { padding-left: 0; }
.gallery-docs .gallery-item { aspect-ratio: 4 / 3; background: #fff; }
.gallery-docs .gallery-item img { object-fit: contain; }
.review-form-box { margin-top: 26px; }
.review-form-box summary { list-style: none; display: inline-flex; }
.review-form-box summary::-webkit-details-marker { display: none; }
.review-form-box[open] summary { margin-bottom: 18px; }
.review-form { max-width: 620px; }
.rate-pick { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; border: 0; padding: 0; margin: 12px 0; }
.rate-pick legend { width: 100%; }
.rate-pick input { position: absolute; opacity: 0; }
.rate-pick label { cursor: pointer; color: #C9CFB5; }
.rate-pick label .ico { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.rate-pick input:checked ~ label, .rate-pick label:hover, .rate-pick label:hover ~ label { color: #E5A33A; }
@media (max-width: 900px) { .dhero-in { grid-template-columns: 1fr; } .dhero-photo { max-width: 420px; } .dedu { grid-template-columns: 1fr; } }

/* ---------- Цены ---------- */
.price-search { margin-top: 22px; }
.price-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.price-nav { position: sticky; top: calc(var(--hdr-h) + 20px); display: grid; gap: 2px; }
.price-nav a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.price-nav a:hover, .price-nav a.is-on { background: var(--mist); color: var(--moss); }
.price-nav small { color: var(--ink-3); }
.price-cat { margin-bottom: 36px; padding: clamp(18px, 3vw, 30px); border-radius: 26px; background: var(--white); border: 1px solid var(--line); }
.price-cat[hidden], .ptable tr[hidden] { display: none; }
.price-cat h2 { margin-bottom: 8px; }
.ptable th a { color: var(--forest); text-decoration-color: var(--sage); }
.ptable th a:hover { color: var(--olive); }
@media (max-width: 900px) { .price-layout { grid-template-columns: 1fr; } .price-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; } .price-nav a { white-space: nowrap; } }

/* ---------- Документы ---------- */
.docs-layout { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 40px; align-items: start; }
.org-card { position: sticky; top: calc(var(--hdr-h) + 20px); padding: 24px; border-radius: 26px; background: var(--forest); color: #C9D2B4; }
.org-card-t { font-family: var(--f-display); font-size: 26px; font-weight: 600; color: #fff; margin: 0 0 14px; line-height: 1.1; }
.org-card .req dt { color: #8E987C; }
.org-card .req dd { color: #E3E9D0; }
.org-card a { color: var(--leaf); }
.req { display: grid; gap: 4px 0; margin: 0 0 18px; }
.req dt { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.req dd { margin: 0; font-weight: 500; line-height: 1.45; }
.docs-grp { margin: 0 0 14px; }
.docs-grp:not(:first-child) { margin-top: 34px; }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.doc-item { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .25s var(--ease); }
.doc-item:hover { border-color: var(--olive); transform: translateX(4px); color: var(--ink); }
.doc-ext { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--mist); display: grid; place-items: center; font-weight: 700; font-size: 12px; color: var(--moss); letter-spacing: .04em; }
.doc-title { flex: 1; font-weight: 500; line-height: 1.35; }
.doc-title small { display: block; font-size: 13px; color: var(--ink-3); font-weight: 400; }
.doc-item > .ico { color: var(--olive); }
@media (max-width: 900px) { .docs-layout { grid-template-columns: 1fr; } .org-card { position: static; } }

/* ---------- О клинике ---------- */
.about-hero { padding: clamp(20px, 4vw, 50px) 0 clamp(40px, 6vw, 80px); }
.about-photo { position: relative; border-radius: var(--r-leaf); overflow: visible; }
.about-photo img { border-radius: var(--r-leaf); width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; box-shadow: var(--shadow); }
.license-card { padding: 30px; border-radius: 30px; background: var(--forest); color: #C9D2B4; text-align: center; display: grid; justify-items: center; gap: 10px; }
.license-card > .ico { width: 64px; height: 64px; color: var(--leaf); }
.license-t { font-family: var(--f-display); font-size: 28px; font-weight: 600; color: #fff; margin: 0; }

/* ---------- Контакты, запись ---------- */
.contact-top { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; margin-top: 10px; }
.contact-big { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; color: var(--forest); text-decoration: none; }
.contact-big .ico { color: var(--olive); }
.contact-mail { display: inline-flex; gap: 8px; align-items: center; font-size: 18px; }
.contact-soc { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-soc .pill { text-decoration: none; }
.appt h1 { font-size: clamp(36px, 4vw, 60px); }

/* ---------- Сертификат ---------- */
.cert-hero { padding: clamp(20px, 4vw, 50px) 0 80px; }
.cert-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.cert-card { position: sticky; top: calc(var(--hdr-h) + 20px); display: grid; grid-template-columns: 38% 1fr; aspect-ratio: 1 / 1.4; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(30, 43, 23, .6); transform: rotate(-3deg); background: #fff; }
.cert-card-side { background: var(--forest) url('../img/leaf-pattern.svg') center / 240px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 16px; color: #E3E9D0; font-size: 13px; text-align: center; }
.cert-card-side img { margin: 0 auto; }
.cert-card-main { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px 14px; gap: 6px; }
.cert-k { font-size: 18px; color: var(--ink-2); }
.cert-t { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 3vw, 44px); color: var(--forest); letter-spacing: .04em; line-height: 1; }
.cert-s { font-family: var(--f-display); font-size: 18px; color: var(--moss); }
.cert-p { display: flex; gap: 14px; align-items: center; margin: 14px 0; padding: 8px 18px; border-radius: 999px; background: var(--sage); }
.cert-p s { color: var(--ink-2); font-size: 18px; }
.cert-p b { font-family: var(--f-display); font-size: 26px; color: var(--forest); }
.cert-n { font-size: 14px; color: var(--ink-2); }
.cert-who { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.cert-who > div { padding: 16px; border-radius: 18px; background: var(--mist); }
.cert-who-t { display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--forest); margin: 0 0 4px; }
.cert-who p:last-child { margin: 0; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 900px) { .cert-in { grid-template-columns: 1fr; } .cert-card { position: static; max-width: 340px; margin: 0 auto; } }

/* ---------- МРТ, поиск, карта сайта, статьи, правовые ---------- */
.mri-hero { padding: clamp(20px, 4vw, 50px) 0 clamp(30px, 4vw, 60px); }
.mri-il { max-width: 400px; margin: 0 auto; }
.search-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.search-list a { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.search-list a:hover { border-color: var(--olive); }
.search-list small { color: var(--olive); font-weight: 600; font-size: 12.5px; }
.search-list b { color: var(--forest); font-size: 18px; }
.search-list span { color: var(--ink-2); font-size: 14.5px; }
.htmlmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.htmlmap ul { padding-left: 18px; margin: 6px 0; }
.htmlmap li { margin: 4px 0; font-size: 15px; }
.htmlmap a { color: var(--ink); }
@media (max-width: 900px) { .htmlmap { grid-template-columns: 1fr; } }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(26px, 4vw, 60px); align-items: start; }
.article-h1 { font-size: clamp(34px, 4vw, 56px); }
.article-img { border-radius: var(--r-leaf-s); overflow: hidden; margin: 20px 0 30px; }
.article-body { font-size: 18px; max-width: 72ch; }
.article-aside { position: sticky; top: calc(var(--hdr-h) + 20px); display: grid; gap: 14px; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }
.legal h2 { font-size: 26px; margin-top: 1.6em; }
.legal h3 { font-size: 21px; }
.reviews-grid { columns: 3 320px; column-gap: 20px; }
.reviews-grid .rev-card { break-inside: avoid; margin-bottom: 20px; }
.promo-page h1 { font-size: clamp(34px, 4vw, 58px); margin-top: 14px; }
.promo-page-price { margin: 10px 0 22px; }
.promo-page-img { border-radius: 26px; overflow: hidden; margin-bottom: 20px; box-shadow: var(--shadow); }
.promo-page-side .final-form { border: 1px solid var(--line); }
