/* Новая шапка и подвал сайта «Опора». Все классы с префиксом oh- (не пересекаются со стилями темы Аспро). */
html{scroll-padding-top:96px}
.oh,.oh *,.oh-cp,.oh-cp *,.oh-dr,.oh-dr *,.oh-ft,.oh-ft *{box-sizing:border-box}
.oh{--brand:#4d868f;--brand-d:#2f5f67;--soft:#E4F1F2;--ink:#2D3E40;--mute:#566b6e;--line:#d5e4e6;--bg:#f7fbfb;--hh:84px;position:sticky;top:0;z-index:900;background:#fff;border-bottom:1px solid #d5e4e6;transition:background .25s,box-shadow .25s;font-family:Roboto,Arial,sans-serif;color:#2D3E40;font-size:17px;line-height:1.5}
.oh a,.oh-cp a,.oh-dr a,.oh-ft a{text-decoration:none;color:inherit}
.oh-in{width:100%;max-width:1240px;margin:0 auto;padding:0 20px;display:flex;align-items:center;gap:16px;height:var(--hh);transition:height .25s;min-width:0}
.oh-logo{display:block;flex:none}
.oh-logo img{height:40px;width:auto;transition:height .25s;display:block}
.oh.sc{background:rgba(255,255,255,.78);-webkit-backdrop-filter:saturate(1.6) blur(16px);backdrop-filter:saturate(1.6) blur(16px);box-shadow:0 8px 30px rgba(45,62,64,.10);--hh:64px}
.oh.sc .oh-logo img{height:34px}
.oh-nav{display:flex;gap:2px;margin:0 0 0 4px;padding:0;list-style:none;min-width:0}
.oh-nav>li{position:relative;list-style:none;margin:0}
.oh-nav>li>a{display:flex;align-items:center;gap:6px;height:44px;padding:0 11px;border-radius:999px;font-weight:700;font-size:14px;letter-spacing:.02em;text-transform:uppercase;transition:.2s;color:#2D3E40}
.oh-nav>li>a:hover,.oh-nav>li:focus-within>a{background:#E4F1F2;color:#2f5f67}
.oh-nav>li.has>a::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);opacity:.6}
.oh-dd{position:absolute;left:0;top:calc(100% + 10px);min-width:330px;background:#fff;border:1px solid #d5e4e6;border-radius:18px;padding:10px;box-shadow:0 24px 50px rgba(45,62,64,.16);opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s}
.oh-dd::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
.oh-nav>li:hover .oh-dd,.oh-nav>li:focus-within .oh-dd{opacity:1;visibility:visible;transform:none}
.oh-dd a{display:block;padding:10px 14px;border-radius:12px;font-size:16px;font-weight:500;color:#2D3E40}
.oh-dd a:hover{background:#E4F1F2;color:#2f5f67}
.oh-dd .big{font-weight:700;color:#2f5f67}
.oh-dd .sep{height:1px;background:#d5e4e6;margin:6px 8px}
.oh-r{margin-left:auto;display:flex;align-items:center;gap:10px;flex:none}
.oh-ibtn{width:36px;height:36px;border-radius:12px;border:0;display:grid;place-items:center;background:transparent;transition:.2s;cursor:pointer;padding:0;margin:0;color:#2D3E40}
.oh-ibtn:hover{background:#E4F1F2}
.oh-ibtn svg{width:22px;height:22px;stroke:#2D3E40;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.oh-ph{position:relative;flex:none;display:flex;align-items:center;justify-content:flex-end;height:44px;line-height:1.15}
.oh-ph b{font-size:19px;font-weight:900;letter-spacing:-.01em;white-space:nowrap;color:#2D3E40}
.oh-ph span{position:absolute;right:0;top:calc(50% + 15px);display:flex;align-items:center;gap:7px;font-size:12.5px;color:#566b6e;font-weight:500;white-space:nowrap}
.oh-ph span i{width:8px;height:8px;border-radius:50%;background:#2fb36b;animation:ohpl 2s infinite}
@keyframes ohpl{0%{box-shadow:0 0 0 0 rgba(47,179,107,.5)}70%{box-shadow:0 0 0 8px rgba(47,179,107,0)}100%{box-shadow:0 0 0 0 rgba(47,179,107,0)}}
.oh-max{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #d5e4e6;border-radius:50%;font-weight:700;font-size:15px;color:#2f5f67;transition:.2s}
.oh-max .t{display:none}
.oh-max:hover{border-color:#4d868f;background:#E4F1F2}
.oh-mx{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#4d868f;flex:none}
.oh-mx img{width:19px;height:19px;display:block}
.oh-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 22px;border-radius:999px;font-weight:700;font-size:16px;border:2px solid transparent;transition:.2s;cursor:pointer;white-space:nowrap;font-family:inherit;line-height:1.2;text-decoration:none}
.oh-btn-main{background:#4d868f;color:#fff!important;box-shadow:0 8px 22px rgba(77,134,143,.34)}
.oh-btn-main:hover{background:#2f5f67}
.oh-btn-ghost{background:transparent;color:#2f5f67!important;border-color:#4d868f}
.oh-btn-ghost:hover{background:#E4F1F2}
.oh-mcall,.oh-burger{display:none}
.oh-sr{border-top:1px solid #d5e4e6;background:#fff}
.oh-sr[hidden]{display:none}
.oh-sr .oh-in{height:72px}
.oh-sr input{flex:1;height:48px;border-radius:999px;border:1px solid #d5e4e6;padding:0 22px;font:inherit;font-size:17px;color:#2D3E40;background:#f7fbfb}
.oh a:focus-visible,.oh button:focus-visible,.oh-dr a:focus-visible,.oh-ft a:focus-visible{outline:3px solid #f0a500;outline-offset:3px}
/* панель контактов (телефон на мобильном) */
.oh-cp{position:fixed;left:0;right:0;top:62px;z-index:899;background:#fff;border-bottom:1px solid #d5e4e6;box-shadow:0 24px 40px rgba(45,62,64,.16);font-family:Roboto,Arial,sans-serif;color:#2D3E40}
.oh-cp[hidden]{display:none}
.oh-cp-in{padding:16px 16px 18px;display:grid;gap:14px}
.oh-cp-call{min-height:56px;font-size:18px}
.oh-cp-rows{display:grid;gap:10px}
.oh-cp-rows div{background:#f7fbfb;border:1px solid #d5e4e6;border-radius:14px;padding:12px 14px}
.oh-cp-rows span{display:block;color:#566b6e;font-size:13px;margin-bottom:2px}
.oh-cp-rows b{font-size:16px;font-weight:500}
.oh-cp-rows a{text-decoration:underline;text-decoration-color:#4d868f;text-underline-offset:3px}
.oh-cp-btns{display:flex;flex-wrap:wrap;gap:8px}
.oh-cp-btns .oh-btn{min-height:44px;font-size:15px;padding:0 16px;flex:1 1 auto}
/* мобильное меню */
.oh-dr{position:fixed;top:0;bottom:0;left:0;width:min(84vw,360px);z-index:2001;background:#fff;box-shadow:0 0 40px rgba(20,30,32,.35);transform:translateX(-105%);transition:transform .3s;display:flex;flex-direction:column;overflow-y:auto;font-family:Roboto,Arial,sans-serif;color:#2D3E40;visibility:hidden}
.oh-dr.open{transform:none;visibility:visible}
.oh-lock{overflow:hidden}
.oh-dh{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #d5e4e6;position:sticky;top:0;background:#fff;z-index:2}
.oh-dh img{height:34px;display:block}
.oh-x{width:44px;height:44px;border-radius:50%;border:1px solid #d5e4e6;display:grid;place-items:center;font-size:26px;line-height:1;background:#fff;cursor:pointer;padding:0;color:#2D3E40}
.oh-dsearch{display:flex;gap:8px;padding:14px 16px 0}
.oh-dsearch input{flex:1;min-height:52px;border-radius:999px;border:1px solid #d5e4e6;padding:0 20px;font:inherit;font-size:17px;color:#2D3E40;background:#f7fbfb;min-width:0}
.oh-dsearch button{width:52px;height:52px;border-radius:50%;border:0;background:#4d868f;display:grid;place-items:center;cursor:pointer;padding:0}
.oh-dsearch svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round}
.oh-dr ul{list-style:none;padding:8px 16px;margin:0}
.oh-dr li{margin:0;list-style:none}
.oh-dr li>a,.oh-dr summary{display:flex;align-items:center;justify-content:space-between;min-height:58px;font-size:20px;font-weight:700;border-bottom:1px solid #d5e4e6;cursor:pointer;list-style:none;color:#2D3E40}
.oh-dr summary::-webkit-details-marker{display:none}
.oh-dr summary::after{content:"";width:9px;height:9px;border-right:3px solid #4d868f;border-bottom:3px solid #4d868f;transform:rotate(45deg);transition:.2s}
.oh-dr details[open] summary::after{transform:rotate(-135deg)}
.oh-dr .sub{padding:4px 0 10px}
.oh-dr .sub a{display:block;padding:12px 4px 12px 14px;font-size:17px;font-weight:500;color:#566b6e;border-left:2px solid #E4F1F2;margin-left:4px}
.oh-dlow{display:flex;align-items:center;gap:10px;padding:6px 16px 0;font-size:16px;color:#566b6e;font-weight:500;cursor:pointer}
.oh-dlow svg{width:22px;height:22px;stroke:#566b6e;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.oh-dcta{padding:14px 16px 28px;display:grid;gap:10px}
.oh-dcta .oh-btn{min-height:56px;font-size:18px}
/* подвал */
.oh-ft{background:#233a3e;color:#cfe0e2;padding:56px 0 64px;font-family:Roboto,Arial,sans-serif;font-size:17px;line-height:1.5}
.oh-ft .oh-in{display:block;height:auto}
.oh-ft a{color:#cfe0e2;transition:.15s}
.oh-ft a:hover{color:#fff}
.oh-ftg{display:grid;gap:36px;grid-template-columns:minmax(0,1fr)}
.oh-flogo{height:46px;width:auto;filter:brightness(0) invert(1);margin-bottom:16px;display:block}
.oh-fphone{font-size:26px;font-weight:900;color:#fff!important;display:block;line-height:1.2}
.oh-fnote{font-size:14px;color:#9fb8bb;margin:2px 0 14px}
.oh-fi{display:grid;gap:12px;font-size:16px;margin-bottom:18px}
.oh-fi div{display:flex;gap:10px;align-items:flex-start}
.oh-fi svg{width:20px;height:20px;flex:none;stroke:#7fc0c9;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;margin-top:2px}
.oh-fbtns{display:flex;flex-wrap:wrap;gap:10px}
.oh-fbtns .oh-btn{min-height:46px;font-size:15px;padding:0 18px}
.oh-ft .oh-fbtns .oh-btn-main,.oh-ft .oh-fbtns .oh-btn-main:hover{color:#fff!important}
.oh-ft .oh-btn-ghost{color:#fff!important;border-color:rgba(255,255,255,.4)}
.oh-ft .oh-btn-ghost:hover{background:rgba(255,255,255,.1)}
.oh-ft ul{list-style:none;display:grid;gap:9px;font-size:16px;padding:0;margin:0}
.oh-ft li{margin:0;list-style:none}
.oh-fd summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:15px;letter-spacing:.1em;text-transform:uppercase;margin-bottom:14px;color:#fff}
.oh-fd summary::-webkit-details-marker{display:none}
.oh-fd summary::after{content:"";width:9px;height:9px;border-right:2px solid #7fc0c9;border-bottom:2px solid #7fc0c9;transform:rotate(45deg);transition:.2s}
.oh-fd[open] summary::after{transform:rotate(-135deg)}
.oh-fd ul.cols2{display:block}
.oh-fbot{margin-top:44px;border-top:1px solid rgba(255,255,255,.12);padding:20px 0 0;display:flex;flex-wrap:wrap;gap:10px 28px;font-size:14px;color:#9fb8bb;align-items:center}
.oh-fbot a,.oh-fbot .sp{color:#b9cfd2;text-decoration:underline;text-decoration-color:rgba(255,255,255,.25);text-underline-offset:3px;cursor:pointer}
.oh-fbot .sp{margin-left:auto}
/* плашка про противопоказания (остаётся на всех страницах) */
body .warning-banner{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;transform:none!important;margin:0!important;width:auto!important;z-index:880;background:rgba(255,255,255,.92)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid #d5e4e6;text-align:center;padding:6px 16px calc(6px + env(safe-area-inset-bottom))!important}
body .warning-banner .warning-banner__text{font-size:13px!important;font-weight:700!important;letter-spacing:.08em;text-transform:uppercase;color:#6b8588!important;line-height:1.25}
@media(min-width:900px){
 .oh-ftg{grid-template-columns:1.1fr 1.9fr .9fr;gap:48px}
 .oh-fd summary{pointer-events:none;cursor:default}
 .oh-fd summary::after{display:none}
 .oh-fd ul.cols2{columns:2;column-gap:28px}
 .oh-fd ul.cols2 li{break-inside:avoid;margin-bottom:9px}
 .oh-ft{padding-top:64px}
}
@media(max-width:1180px){.oh-nav>li>a{padding:0 9px;font-size:13px}.oh-ph b{font-size:17px}.oh-r{gap:6px}}
@media(max-width:1080px){#oh-sbtn{display:none}}
@keyframes ohcp{0%{box-shadow:0 0 0 0 rgba(77,134,143,.55)}70%{box-shadow:0 0 0 14px rgba(77,134,143,0)}100%{box-shadow:0 0 0 0 rgba(77,134,143,0)}}
@media(max-width:899px){
 .oh{--hh:62px}
 .oh-nav,.oh-ph,.oh-max,.oh-ibtn,.oh-r>.oh-btn{display:none}
 .oh-in{gap:10px;padding:0 14px}
 .oh-logo img{height:36px}
 .oh-r{margin-left:auto;gap:8px}
 .oh-mcall{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;border:0;background:#4d868f;cursor:pointer;padding:0;animation:ohcp 2.2s infinite;-webkit-tap-highlight-color:transparent}
 .oh-mcall[aria-expanded="true"]{animation:none}
 .oh-mcall svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
 .oh-burger{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;border:1px solid #d5e4e6;background:#fff;cursor:pointer;padding:0}
 .oh-burger i,.oh-burger i::before,.oh-burger i::after{display:block;width:20px;height:2px;background:#2D3E40;border-radius:2px;position:relative;content:""}
 .oh-burger i::before{position:absolute;top:-6px}.oh-burger i::after{position:absolute;top:6px}
 .oh-sr{display:none!important}
 .oh-ftg{gap:0}
 .oh-ftg>div:first-child{padding-bottom:28px}
 .oh-fd{border-top:1px solid rgba(255,255,255,.12)}
 .oh-fd summary{margin:0;padding:19px 0;font-size:15px}
 .oh-fd[open] summary{padding-bottom:10px}
 .oh-fd ul{padding-bottom:20px}
 .oh-fbot{margin-top:0;padding-top:20px}
 .oh-fbot .sp{margin-left:0}
 .oh-ft{padding-top:40px}
 body .warning-banner .warning-banner__text{font-size:10.5px!important}
}
@media(prefers-reduced-motion:reduce){.oh-mcall,.oh-ph span i{animation:none}}

/* подложка за меню */
.oh-bd{position:fixed;inset:0;z-index:2000;background:rgba(20,30,32,.5);opacity:0;visibility:hidden;transition:opacity .3s}
.oh-bd.open{opacity:1;visibility:visible}
/* убираем «чёрточки» темы у пунктов списков */
.oh li::before,.oh-dr li::before,.oh-ft li::before,.oh-nav li::before,.oh-dd *::before{content:none!important;display:none!important}
.oh-dr li,.oh-ft li,.oh-nav li{padding-left:0!important;margin-left:0!important;background:none!important}
.oh-dd .sep::before{display:none!important}
/* карточка с контактами при наведении на телефон (компьютер) */
.oh-phw{position:relative;flex:none}
.oh-phc{position:absolute;right:0;top:calc(100% + 14px);width:330px;background:#fff;border:1px solid #d5e4e6;border-radius:18px;padding:14px;box-shadow:0 24px 50px rgba(45,62,64,.16);opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s;display:grid;gap:10px;z-index:3}
.oh-phc::before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px}
.oh-phw:hover .oh-phc,.oh-phw:focus-within .oh-phc{opacity:1;visibility:visible;transform:none}
.oh-phc div{background:#f7fbfb;border:1px solid #d5e4e6;border-radius:14px;padding:11px 14px}
.oh-phc span{position:static;display:block;color:#566b6e;font-size:13px;margin-bottom:2px;font-weight:400}
.oh-phc b{font-size:16px;font-weight:500;color:#2D3E40;letter-spacing:0}
.oh-phc a{text-decoration:underline;text-decoration-color:#4d868f;text-underline-offset:3px}
@media(max-width:899px){.oh-phw{display:none}}

@media(max-width:899px){body .warning-banner{padding:4px 10px calc(4px + env(safe-area-inset-bottom))!important}.oh-ft{padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}}

/* ===== Версия для слабовидящих (тема включает её классами на body: eyed, eyed--color-scheme--*, eyed--font-size--*, eyed--images--off) ===== */
/* Цвета: берём переменные темы, поэтому работают все пять цветовых схем */
body.eyed .oh,body.eyed .oh-cp,body.eyed .oh-dr,body.eyed .oh-ft,body.eyed .opora,body.eyed .warning-banner,
body.eyed .oh *,body.eyed .oh-cp *,body.eyed .oh-dr *,body.eyed .oh-ft *,body.eyed .opora *,body.eyed .warning-banner *{
  background-color:var(--black_bg_black)!important;background-image:none!important;color:var(--basic_text_black)!important;
  border-color:var(--basic_text_black)!important;box-shadow:none!important;text-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important}
body.eyed .oh,body.eyed .oh-ft,body.eyed .warning-banner{border-color:var(--basic_text_black)!important}
body.eyed .oh a,body.eyed .oh-cp a,body.eyed .oh-dr a,body.eyed .oh-ft a,body.eyed .opora a{text-decoration:underline!important}
body.eyed .oh-btn,body.eyed .opora .btn{border:2px solid var(--basic_text_black)!important}
body.eyed .oh-ph span i{background:var(--basic_text_black)!important;animation:none}
body.eyed .oh-mcall{animation:none}
body.eyed .oh svg [fill]:not([fill="none"]),body.eyed .oh-cp svg [fill]:not([fill="none"]),body.eyed .oh-dr svg [fill]:not([fill="none"]),body.eyed .oh-ft svg [fill]:not([fill="none"]),body.eyed .opora svg [fill]:not([fill="none"]){fill:var(--black_bg_black)!important}
body.eyed .oh svg [stroke],body.eyed .oh-cp svg [stroke],body.eyed .oh-dr svg [stroke],body.eyed .oh-ft svg [stroke],body.eyed .opora svg [stroke]{stroke:var(--basic_text_black)!important}
body.eyed .oh svg,body.eyed .oh-dr svg,body.eyed .oh-ft svg,body.eyed .opora svg{stroke:var(--basic_text_black)}
body.eyed .oh-flogo,body.eyed .oh-logo img{filter:none!important}
/* Размер шрифта: 16 - как есть, 20 - крупнее на четверть, 24 - крупнее в полтора раза */
body.eyed--font-size--20 .oh,body.eyed--font-size--20 .oh-cp,body.eyed--font-size--20 .oh-dr,body.eyed--font-size--20 .oh-ft,body.eyed--font-size--20 .opora,body.eyed--font-size--20 .warning-banner{zoom:1.25}
body.eyed--font-size--24 .oh,body.eyed--font-size--24 .oh-cp,body.eyed--font-size--24 .oh-dr,body.eyed--font-size--24 .oh-ft,body.eyed--font-size--24 .opora,body.eyed--font-size--24 .warning-banner{zoom:1.5}
/* при увеличенном шрифте меню в шапке не помещается в строку: переносим */
body.eyed--font-size--20 .oh-in,body.eyed--font-size--24 .oh-in{flex-wrap:wrap;height:auto;padding-top:8px;padding-bottom:8px}
