/* Final shared spacing and navigation fixes. */
.header{z-index:100!important}.header-inner{gap:14px!important}.nav{gap:16px!important}
main .header-call,.team-actions .header-call{display:inline-flex!important;margin-left:0}
.topic-strip{z-index:50!important;margin:0 0 16px!important;border-radius:0!important}
.topic-strip-inner{overflow:visible!important;flex-wrap:wrap;gap:8px!important;padding:6px 0!important}
.topic-strip .topic-rehab .rehab-submenu{position:absolute!important;top:100%!important;left:50%!important;transform:translateX(-50%)!important;width:240px;max-width:calc(100vw - 24px)}
.rehab-submenu{max-height:65vh;overflow-y:auto}
.topic-strip a{box-shadow:none!important}
.release-hero{width:min(1320px,calc(100% - 32px));margin:20px auto 32px;padding:64px 0!important;border-radius:32px;background:linear-gradient(115deg,#1976ec,#175799)!important;color:white}
.release-hero h1,.release-hero h1 span,.release-hero p,.release-hero .trust{color:white!important}
.release-hero .hero-card{background:#ffffff14;border:1px solid #ffffff44;box-shadow:none}
.release-hero .hero-card h2{color:white}.release-hero .hero-list div{background:#ffffff14}
.release-hero .actions .header-call{margin:0}.release-hero .hero-grid{gap:32px}
#services .services-grid,#other-directions .services-grid{display:flex;overflow-x:auto;gap:16px;padding:4px 2px 16px;scroll-snap-type:x mandatory}
#services .service,#other-directions .service{flex:0 0 280px;scroll-snap-align:start;min-width:0;padding:22px}
#services .service-photo{margin:-22px -22px 18px;aspect-ratio:16/9}
.motivation-number{color:#fff!important}.lecture{overflow-wrap:anywhere}
@media(max-width:900px){.header-inner{flex-wrap:wrap}.header .nav{top:100%!important;max-height:70vh;overflow-y:auto}.header .header-call{display:inline-flex!important;margin-left:auto;padding:9px 12px;font-size:14px}.header .brand img{width:180px}.topic-strip a,.topic-strip .rehab-toggle{font-size:14px!important;min-height:42px!important}.topic-strip-inner{justify-content:center!important}.topic-strip .topic-rehab .rehab-submenu{left:auto!important;right:0;transform:none!important}.release-hero .hero-grid{grid-template-columns:1fr}.release-hero h1{font-size:clamp(32px,7vw,52px)}}
@media(max-width:600px){.section{padding:26px 0!important}#services,#other-directions,.motivation-section{padding:26px 0!important}.section-head{margin-bottom:16px!important}.hero{padding-top:24px!important;padding-bottom:24px!important}.release-hero{padding:32px 4px!important;width:calc(100% - 24px);border-radius:24px;margin:12px auto 20px}.release-hero .hero-card{padding:20px}.release-hero .actions{display:flex}.release-hero .actions .btn{flex:1;min-width:130px}.lecture-cover{margin:16px 0 24px}.lecture-section{margin:24px 0}.lecture{margin-bottom:32px}.panel{margin-bottom:14px}.impact-section{padding:20px 0}.team-hero{padding:28px 0}.topic-strip-inner{gap:6px!important}.topic-strip a,.topic-strip .topic-rehab .rehab-toggle{padding:10px 12px!important}#services .service,#other-directions .service{flex-basis:250px}}

/* Одинаковая шапка и навигация на всех страницах */
.header{position:relative;z-index:90;background:#fffffff5;border-bottom:1px solid #dcecf7}.header .header-inner{position:relative;min-height:76px;display:flex;align-items:center;gap:16px}.header .brand{flex:0 0 auto}.header .brand img{display:block;width:190px;max-width:100%;height:auto}.header .nav{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:20px;margin-left:auto}.header .nav>a,.header .nav>.rehab-nav>.rehab-toggle{display:flex;align-items:center;min-height:44px;padding:0;color:#0b3764;font-size:14px;font-weight:700;white-space:nowrap}.header .menu-btn{display:none;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border:0;border-radius:12px;background:#eaf6ff;color:#0b3764;cursor:pointer}.header .menu-btn .icon{width:22px;height:22px}
@media(max-width:1100px){.header .nav{position:absolute;top:calc(100% + 1px)!important;right:0;left:0;z-index:100;display:none;flex-direction:column;align-items:stretch;gap:2px;max-height:70vh;overflow-y:auto;margin:0;padding:10px 16px 16px;background:#fff;border:1px solid #dcecf7;border-radius:0 0 16px 16px;box-shadow:0 16px 30px #0b376426}.header .nav.open{display:flex}.header .nav>a,.header .nav>.rehab-nav>.rehab-toggle{width:100%;min-height:44px;padding:8px 12px;border-radius:9px}.header .menu-btn{display:flex}.header .nav .rehab-submenu{position:static;min-width:0;margin:0 12px 8px;box-shadow:none}.header .header-call{margin-left:auto!important}}
.header .header-whatsapp{display:inline-flex;background:#159754;color:#fff;border-radius:12px;align-items:center;justify-content:center;padding:10px 16px;min-height:44px;font-weight:700}
.header .header-call{align-items:center;justify-content:center;border-radius:12px;min-height:44px;padding:10px 16px;font-weight:700}
.header .btn{white-space:nowrap}
.topic-contact-actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0;position:relative;z-index:1}
.topic-contact-actions a{display:flex!important;align-items:center;justify-content:center;flex:1 1 110px;min-height:44px;padding:10px 12px;border-radius:10px;color:#fff!important;font:700 14px/1.4 Arial,sans-serif;text-decoration:none!important;white-space:nowrap;transition:filter .2s}
.topic-contact-actions .topic-contact-call{background:#0879c9}.topic-contact-actions .topic-contact-wa{background:#14854b}
.topic-contact-actions a:hover{filter:brightness(.9)}
.article-card>.topic-contact-actions{margin:0 18px 18px}
[data-topic-hero]{max-width:360px;margin:16px 0 24px}
@media(max-width:700px){.header .header-whatsapp,.header .header-call{display:none!important}.header .brand img{width:180px}.header .header-inner{min-height:68px}.header .menu-btn{margin-left:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}}
.topic-contact-actions {
  display: none !important;
}
