/* V26: compact Porto-compatible language control and local Cyrillic typography. */
@font-face{font-family:"BK Manrope";src:url('../fonts/manrope/Manrope-Variable.ttf') format('truetype');font-weight:200 800;font-style:normal;font-display:swap}
#header .bk-language-switch{display:flex;align-items:center;gap:2px;flex-shrink:0;margin-left:16px;white-space:nowrap}
#header .bk-language-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:36px;padding:5px;color:#212529;font-size:12px;font-weight:600;line-height:1;text-decoration:none;border-bottom:2px solid transparent}
#header .bk-language-switch a[aria-current="true"]{color:#b5091b;border-bottom-color:#f51d30}
#header .bk-language-switch a:hover,#header .bk-language-switch a:focus-visible{color:#b5091b;background:#fff0f1}
#header .bk-language-switch a:focus-visible{outline:2px solid #212529;outline-offset:2px}
html[lang="ru"]{--bk-reading-font:"BK Manrope","Poppins",Arial,sans-serif}
html[lang="ru"] body,html[lang="ru"] :is(h1,h2,h3,h4,h5,h6,p,a,li,dt,dd,label,legend,button,input,select,textarea,summary,th,td,caption){font-family:var(--bk-reading-font)}
html[lang="ru"] #header .bk-menu-list>li>a,html[lang="ru"] #header .bk-menu>summary{font-size:13px}
html[lang="ru"] .bk-home-hero.bk-hero-v7 .bk-hero-heading{font-size:clamp(40px,4.8vw,72px) !important;line-height:1.12 !important;overflow-wrap:normal;word-break:normal}
html[lang="ru"] .bk-hero-heading .bk-hero-line{display:block}
html[lang="ru"] .bk-hero-location{letter-spacing:normal;line-height:1.45}
html[lang="ru"] .bk-package-card :is(h3,.bk-package-name,.bk-package-outcome){overflow-wrap:anywhere}
html[lang="ru"] :is(.bk-summary-lead,.bk-page-heading h1,.bk-footer-cta h2){overflow-wrap:break-word}
html[lang="ru"] .bk-service-tile-heading :is(h3,h4){font-size:clamp(18px,1.5vw,23px)}
@media(min-width:992px){html[lang="ru"] #header .bk-header-proposal{padding-left:12px;padding-right:12px;font-size:12px}html[lang="ru"] #header .bk-nav-shell{margin-left:auto}html[lang="ru"] #header .bk-menu>summary{padding-left:7px;padding-right:7px}}
@media(max-width:991px){#header .bk-language-switch{margin-left:auto;margin-right:12px}#header .bk-language-switch a{min-width:30px;min-height:38px}html[lang="ru"] .bk-home-hero.bk-hero-v7 .bk-hero-heading{font-size:clamp(30px,7.3vw,42px) !important}html[lang="ru"] .bk-hero-heading .bk-hero-location{font-size:clamp(17px,4vw,24px)}}
@media(max-width:399px){#header .bk-language-switch{margin-right:6px;margin-left:6px}#header .bk-language-switch a{min-width:27px;padding:4px;font-size:11px}html[lang="ru"] .bk-home-hero.bk-hero-v7 .bk-hero-heading{font-size:clamp(27px,7.6vw,31px) !important}html[lang="ru"] .bk-hero-actions{gap:12px}}

@media(max-width:991px){#header.bk-header .bk-header-main{gap:8px}#header .bk-language-switch{margin:0}#header .bk-nav-shell{margin-left:auto}}
@media(max-width:399px){#header.bk-header .bk-brand img{width:120px}#header .bk-mobile-menu-label{padding:8px;font-size:13px}}

/* V27: readable Cyrillic headings and a laptop menu with room for EN/RU. */
html[lang="ru"] .bk-service-tile-heading :is(h3,h4){font-size:18px !important;line-height:1.4 !important;letter-spacing:0;hyphens:auto}
html[lang="ru"] .bk-hero-v7 .bk-porto-person-caption strong{font-size:20px;line-height:1.35}
html[lang="ru"] .bk-hero-v7 .bk-porto-person-caption span{font-size:14px;line-height:1.5}
@media(min-width:992px) and (max-width:1199px){
 html[lang="ru"] #header .bk-topbar-hours{display:none}
 html[lang="ru"] #header .bk-header-main{min-height:78px;gap:16px}
 html[lang="ru"] #header .bk-brand img{width:160px}
 html[lang="ru"] #header .bk-header-proposal{display:none}
 html[lang="ru"] #header .bk-nav-shell{position:relative;order:3;margin-left:0}
 html[lang="ru"] #header .bk-language-switch{margin-left:auto;order:2}
 html[lang="ru"] #header .bk-mobile-menu-label{display:block;padding:10px 14px;border:1px solid #ccd1d7;border-radius:3px;color:#252a30;font-size:14px;font-weight:600;cursor:pointer;list-style:none}
 html[lang="ru"] #header .bk-nav-shell>nav{position:absolute;right:0;top:calc(100% + 16px);width:min(400px,calc(100vw - 32px));max-height:calc(100dvh - 155px);overflow-y:auto;padding:8px 20px;background:#fff;border:1px solid #e0e3e7;border-top:3px solid #f51d30;box-shadow:0 10px 30px #14223820}
 html[lang="ru"] #header .bk-menu-list{display:block}
 html[lang="ru"] #header .bk-menu-list>li{border-bottom:1px solid #eceef0}
 html[lang="ru"] #header .bk-menu-list>li>a,html[lang="ru"] #header .bk-menu>summary{display:block;padding:14px 0 !important;font-size:14px;white-space:normal}
 html[lang="ru"] #header .bk-menu>summary::after{float:right;margin-top:6px}
 html[lang="ru"] #header .bk-submenu{position:static;width:auto;max-height:none;box-shadow:none;border:0;background:#f7f8fa;padding:4px 8px;margin-bottom:10px}
 html[lang="ru"] #header .bk-mobile-proposal{display:block}
}
@media(min-width:768px) and (max-width:991px){html[lang="ru"] .bk-home-hero.bk-hero-v7 .bk-hero-heading{font-size:clamp(34px,4.7vw,46px) !important}}
@media(max-width:767px){
 html[lang="ru"] .bk-home-hero.bk-hero-v7 .bk-hero-heading{font-size:clamp(30px,7.8vw,52px) !important;line-height:1.08 !important}
 html[lang="ru"] .bk-hero-v7 .bk-porto-person-caption strong{font-size:18px}
 html[lang="ru"] .bk-hero-v7 .bk-porto-person-caption span{font-size:13px}
}

@media(max-width:991px){html[lang="ru"] #header .bk-nav-shell{order:3;margin-left:0}html[lang="ru"] #header .bk-language-switch{order:2;margin-left:auto}}

/* V28: the same textured Porto Benefits treatment as the English master. */
html[lang="ru"] .bk-home-benefits .custom-big-font-size-1{font-size:clamp(40px,4.2vw,68px) !important;letter-spacing:-.04em;line-height:1 !important;white-space:nowrap}
html[lang="ru"] .bk-home-benefits [data-plugin-parallax]{background-image:url('../img/demos/business-consulting-3/parallax/parallax-1.jpg');background-size:cover;background-position:center}
