/* ===== Шрифты ===== */
@font-face { font-family: 'zp'; src: url('../fonts/ZonaPro-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'zp'; src: url('../fonts/ZonaPro-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'zp'; src: url('../fonts/ZonaPro-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }

/* ===== Базовые стили и цвета ===== */
p, a, div, h1, h2, h3, h4, h5, h6, li, ul { font-family: zp !important; color: #000; }
:root { --color: #000; --blue: #213B62; --gold: #EFF5F3; --primary-background: #213B62; --secondary-background: #D7B56D; }

/* ===== Кнопки ===== */
.uk-button-primary { background: linear-gradient(135deg, #2d4f86, #213B62 60%, #162a4a); transition: 200ms; }
.uk-button-primary:hover { color: #fff; box-shadow: 0 7px 20px rgba(33,59,98,.38); transform: translateY(-2px); transition: 200ms; }
.uk-button-secondary { background: linear-gradient(135deg, #e6c98a, #D7B56D 60%, #b8924a); }
.uk-button-secondary:hover { color: #213B62; box-shadow: 0 7px 20px rgba(215, 181, 109, .5); transform: translateY(-2px); transition: 200ms; }

/* ===== Десктопное меню (плашка и пункты) ===== */
.uk-navbar-nav>li.uk-active>a { color: var(--blue); font-weight: 600; }
.uk-navbar-nav { gap: 31px; }
.uk-navbar-nav>li>a { height: 100%; padding: 0 0; color: #363650; transition: .1s ease-in-out; transition-property: color,background-color,border-color,box-shadow; position: relative; z-index: 1; font-weight: 500; letter-spacing: 0; text-transform: uppercase; }
.tm-header .uk-navbar-nav > li > a::before { display: none !important; }
.tm-header .uk-navbar-nav > li > a { position: relative; z-index: 1; transition: color .25s ease, opacity .25s ease; }
.tm-header .uk-navbar-nav > li.kp-on > a { color: #fff; }
.tm-header .uk-navbar-nav > li.uk-active > a { font-weight: 800; }
.tm-header .uk-navbar-nav:hover > li:not(:hover) > a { opacity: .4; }
.kp-nav-pill { position: absolute; left: 0; top: 0; width: 0; height: 44px; border-radius: 14px; background: #213B62; box-shadow: 0 6px 16px rgba(33, 59, 98, .28); opacity: 0; pointer-events: none; z-index: 0; transition: transform .5s cubic-bezier(.34, 1.35, .5, 1), width .5s cubic-bezier(.34, 1.35, .5, 1), height .3s ease, opacity .25s ease; will-change: transform; }

/* ===== Главная: заставка ===== */
.title-img { position: relative; }
.title-img::before { content: ""; position: absolute; top: -215px; left: 0; right: 0; height: 320px; background: linear-gradient(180deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,0) 100%); border-radius: 40px 40px 0 0; z-index: 2; pointer-events: none; }
.title-img img { border-radius: 40px; margin-top: -215px; position: relative; z-index: 1; }
.title-zg { text-transform: uppercase; font-weight: 900; font-size: 52px; color: #fff; position: relative; z-index: 3; width: 100%; margin: 0 auto; -webkit-text-stroke: 1px rgba(0,0,0,.35); text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.title-txt { position: relative; z-index: 2; font-size: 16px; font-weight: 500; background: #fff; color: #000; }
.kp-scroll-down { position: absolute; z-index: 111; width: 60px; height: 60px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.18); animation: kpScrollBounce 2.2s ease-in-out infinite; transition: box-shadow .2s ease, transform .2s ease; left: 87%; top: 17%; }
.kp-scroll-down:hover { box-shadow: 0 8px 22px rgba(0,0,0,.26); transform: translateY(2px); }
@keyframes kpScrollBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ===== Главная: блок «О нас» и цифры ===== */
.about-us-img img { border-radius: 40px; }
.about-us-zg { font-size: 35px; border-left: 4px solid var(--secondary-background); padding-left: 25px; }
.about-us-zg2 { font-size: 35px; text-transform: uppercase; }
.about-us-zg2 span { color: var(--secondary-background); }
.about-us-zg span { color: var(--secondary-background); }
.text-metaa { text-transform: uppercase; display: flex; align-items: center; gap: 16px; margin-bottom: -20px; }
.text-metaa::after { content: ""; flex: 1 1 auto; height: 1px; background: rgba(0,0,0,.12); }
.kp-mini-stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 20px; }
.kp-mini-stat { display: flex; flex-direction: column; gap: 4px; }
.kp-mini-stat-n { font-family: zp; font-weight: 800; font-size: 28px; color: var(--blue); line-height: 1; }
.kp-mini-stat-l { font-size: 13px; color: rgba(20,35,27,.55); }

/* ===== Карточки руководства ===== */
.ruk-grid .el-title { font-size: 21px; }

/* ===== Новости: текст статьи ===== */
.kp-news-article { font-size: 17px; line-height: 1.75; color: #000; }
.kp-news-article p { margin: 0 0 22px; }
.kp-news-article p:first-of-type { font-size: 19px; color: var(--blue); }
.kp-news-article strong { color: var(--blue); font-weight: 700; }
.kp-news-article a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.kp-news-article img { display: block; height: auto; border-radius: 24px; margin: 8px 0 28px; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.kp-news-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 8px 0 28px; }
.kp-news-gallery img { margin: 0; border-radius: 16px; object-fit: cover; }

/* ===== Новости и шапка внутренних страниц ===== */
.news-grid .el-title { font-size: 20px; }
.bread-zg { font-size: 44px; color: var(--blue); }
.bread-os { border-left: 4px solid var(--secondary-background); }
.news-image img { border-radius: 40px; }
.news-zg-right { font-size: 24px; }
.news-right-grid .el-title { font-size: 16px; color: var(--blue); }
.news-right-grid .el-meta { margin-bottom: -13px; }
.news-right-grid .el-image { border-radius: 20px; }
.news-right-grid .uk-panel { transition: transform 0.2s ease; }
.news-right-grid .uk-panel:hover { transform: translateX(8px); }

/* ===== Футер ===== */
.bottom-section { position: relative; background-color: var(--primary-background); background-image: url(/images/elements/bottom-img.png); background-repeat: no-repeat; background-position: center; background-size: cover; border-radius: 40px 40px 0 0; padding: 50px 40px 30px 40px !important; overflow: hidden; }
.bottom-section::before { content: ""; position: absolute; inset: 0; background: var(--primary-background); opacity: .94; pointer-events: none; z-index: 0; }
.bottom-txt { color: #fff; }
.bottom-zg { font-size: 18px; color: var(--secondary-background); text-transform: uppercase; font-weight: 500; }
.bottom-nav { margin-left: -12px; }
.bottom-nav a { color: #fff !important; }
.bottom-nav li { color: #fff !important; transition: transform 0.2s ease !important; }
.bottom-nav li:hover { transform: translateX(8px); transition: transform 0.2s ease; }
.bottom-contact .uk-link { color: #fff !important; }
.bottom-contact a { color: #fff !important; }
.bottom-contact li { color: #fff !important; transition: transform 0.2s ease !important; }
.bottom-contact li:hover { transform: translateX(8px); transition: transform 0.2s ease; }
.bottom-divider .uk-divider-icon::after, .uk-divider-icon::before, .bottom-divider .uk-divider-icon::before, .uk-divider-icon::after { border-bottom: 1px solid rgb(255 255 255 / 15%) !important; }
.footer-txt { color: #fff !important; }

/* ===== Выпадающее меню (десктоп) ===== */
.uk-navbar-dropdown { background: #fff; border-radius: 20px; box-shadow: 0 20px 48px rgba(33,59,98,.16); padding: 10px; border: none; }
.uk-navbar-dropdown-nav > li > a { display: block; font-family: zp, sans-serif; font-size: 14px; font-weight: 600; color: var(--blue); padding: 10px 14px; border-radius: 12px; text-decoration: none; transition: background .15s ease; }
.uk-navbar-dropdown-nav > li > a:hover { background: rgba(33,59,98,.06); }
.uk-navbar-dropdown-nav > li.uk-nav-header { font-family: zp, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--secondary-background); padding: 16px 14px 8px; margin-top: 6px; border-top: 1px solid rgba(33,59,98,.08); }
.uk-navbar-dropdown-nav > li:first-child.uk-nav-header { border-top: none; margin-top: 0; }
.uk-navbar-dropdown-nav > li.uk-nav-header ~ li > a { font-size: 13px; font-weight: 500; color: rgba(33,59,98,.65); padding-left: 26px; position: relative; }
.uk-navbar-dropdown-nav > li.uk-nav-header ~ li > a::before { content: ""; position: absolute; left: 14px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--secondary-background); transform: translateY(-50%); }
.uk-navbar-dropdown-nav > li.uk-nav-header ~ li > a:hover { color: var(--blue); background: rgba(33,59,98,.05); }

/* ===== История АКК ===== */
.history-meta { font-family: zp, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--secondary-background); margin-bottom: 10px !important; }
.history-zg { font-family: zp, sans-serif; font-weight: 800; font-size: 30px; line-height: 1.3; color: var(--blue); margin: 0 0 16px !important; }
.history-txt { font-size: 15px; line-height: 1.75; color: rgba(33,59,98,.65); max-width: 520px; margin: 0 !important; }
.uk-width-3-5\@m:has(.history-year) { position: relative; isolation: isolate; overflow: hidden; }
.history-year { position: absolute; right: -8px; bottom: -24px; font-family: zp, sans-serif; font-weight: 800; font-size: 180px; line-height: 1; color: rgba(33,59,98,.07); z-index: -1; pointer-events: none; user-select: none; margin: 0 !important; }
.history-img img { border-radius: 40px; }

/* ===== Структура АКК ===== */
.structure-switch .msg-switcher-nav { font-size: 30px; text-transform: uppercase; font-weight: 900; }
.structure-switch .uk-subnav-pill>.uk-active>a { background-color: var(--blue); color: #fff; padding: 8px 20px; font-weight: 800; }
.structure-switch .uk-subnav-pill>* { padding: 8px 20px; font-weight: 800; }

/* ===== Молодёжное движение ===== */
.mdk-txt-zg { font-size: 18px; text-transform: uppercase; color: var(--blue); }
.mdk-txt-img img { border-radius: 40px; }
.akk-branch-map { position: relative; max-width: 1000px; margin: 0 auto; }
.akk-branch-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.akk-branch-outline { fill: rgba(76,127,201,.10); stroke: rgba(33,59,98,.55); stroke-width: 1.4; stroke-linejoin: round; }
.akk-branch-dot .akk-branch-ring { fill: none; stroke: #4C7FC9; stroke-width: 2; opacity: .7; transform-box: fill-box; transform-origin: center; animation: akk-branch-pulse 2.4s ease-out infinite; animation-delay: var(--delay, 0s); }
@keyframes akk-branch-pulse { 0% { transform: scale(1); opacity: .5; } 70% { transform: scale(3.1); opacity: 0; } 100% { transform: scale(3.1); opacity: 0; } }
.akk-branch-label { font-weight: 700; font-size: 13px; fill: rgba(33,59,98,.78); paint-order: stroke; stroke: #ffffff; stroke-width: 4px; stroke-linejoin: round; }
.akk-branch-watermark { opacity: .08; }
.mdk-grid-os .el-title { color: var(--blue); font-size: 16px; text-transform: uppercase; }
.mdk-grid-os .el-content { font-size: 14px; }
.mdk-grid span { font-weight: 700; color: var(--secondary-background); }
.mdk-grid-project .el-title { font-size: 16px; text-transform: uppercase; color: var(--blue); text-align: center; }

/* ===== Бизнес-клуб DANHAB ===== */
.danhab-title-slide .el-image { border-radius: 40px; }
.danhab-title-slide img { border-radius: 10px; }
.danhab-title-slide .uk-thumbnav>*>::after { background-image: none; }
.danhab-grid { margin-top: 40px !important; }
.danhab-grid .el-title { background-color: rgba(76,127,201,.10); border-radius: 50%; color: var(--blue); width: 64px; height: 64px; font-size: 28px; display: flex; align-items: center; justify-content: center; line-height: 1; margin: 0 0 16px; flex-shrink: 0; font-size: 30px; }

/* ===== Деловой клуб ===== */
.club-img img { border-radius: 40px; }
.club-grid .el-title { text-transform: uppercase; color: var(--blue); }
.club-grid .el-title::before { content: "?"; background-color: rgba(33,59,98,.10); width: 40px; height: 40px; border-radius: 50%; position: absolute; top: 3%; right: 1%; color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.club-grid .uk-card { border-top: 3px solid var(--secondary-background); border-left: 3px solid var(--secondary-background); }

/* ===== АКК Networking и подложка карт ===== */
.net-img img { border-radius: 40px; }
.maps-back { background: rgba(16, 26, 46, .03); border-radius: 40px; }

/* ===== Карта филиалов на главной ===== */
.kp-branches2-wrap, .kp-branches2-wrap *, .kp-branches2-modal, .kp-branches2-modal *, .kp-branches2-lightbox, .kp-branches2-lightbox * { box-sizing: border-box; }
.kp-branches2-wrap { width: 100%; margin: 40px auto; padding: 0 24px; }
.kp-branches2-content { position: relative; max-width: 1200px; margin: 0 auto; }
.kp-branches2-stats { position: absolute; left: 0; top: 280px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 32px; width: 170px; z-index: 2; }
.kp-branches2-stat-n { font-weight: 800; font-size: 34px; color: #213B62; line-height: 1; font-variant-numeric: tabular-nums; }
.kp-branches2-stat-l { font-size: 13px; color: rgba(33,59,98,.6); margin-top: 6px; }
.kp-branches2-top { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 18px; }
.kp-branches2-hint { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 13px; font-weight: 700; color: #A9833E; }
.kp-branches2-hint svg { flex: none; animation: kp-branches2-hint-tap 1.6s ease-in-out infinite; }
@keyframes kp-branches2-hint-tap { 0%,100% { transform: translateY(0); opacity: .7; } 50% { transform: translateY(3px); opacity: 1; } }
.kp-branches2-map { position: relative; max-width: 1100px; margin: 0 auto; padding-left: 190px; }
.kp-branches2-map-inner { position: relative; overflow: hidden; border-radius: 12px; }
.kp-branches2-map-inner::after { content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease; background: linear-gradient(to right,#f8f8f9 0,rgba(248,248,249,0) 90px), linear-gradient(to left,#f8f8f9 0,rgba(248,248,249,0) 90px), linear-gradient(to bottom,#f8f8f9 0,rgba(248,248,249,0) 70px), linear-gradient(to top,#f8f8f9 0,rgba(248,248,249,0) 70px); }
.kp-branches2-map-inner.is-zoomed::after { opacity: 1; }
.kp-branches2-map.is-moving .kp-branches2-ring { animation-play-state: paused; visibility: hidden; }
.kp-branches2-map.is-moving .kp-branches2-core, .kp-branches2-map.is-moving .kp-branches2-label, .kp-branches2-map.is-moving .kp-branches2-highlight { transition: none; }
.kp-branches2-map.is-moving .kp-branches2-label { visibility: hidden; }
.kp-branches2-map-inner svg { transform-origin: 0 0; display: block; width: 100%; height: auto; overflow: visible; touch-action: none; cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2222%22%20height%3D%2222%22%20viewBox%3D%22-11%20-11%2022%2022%22%3E%3Ccircle%20r%3D%2210%22%20fill%3D%22%23fff%22%20stroke%3D%22%239c7a3a%22%20stroke-width%3D%221%22/%3E%3Cpath%20d%3D%22M0%2C-10A5%2C5%200%200%2C1%200%2C0A5%2C5%200%200%2C0%200%2C10A10%2C10%200%200%2C0%200%2C-10Z%22%20fill%3D%22%23CD2E3A%22/%3E%3Cpath%20d%3D%22M0%2C10A5%2C5%200%200%2C1%200%2C0A5%2C5%200%200%2C0%200%2C-10A10%2C10%200%200%2C0%200%2C10Z%22%20fill%3D%22%23003478%22/%3E%3C/svg%3E") 11 11, grab; }
.kp-branches2-map-inner svg.is-panning { cursor: grabbing; }
.kp-branches2-zoom-controls { position: absolute; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 5; transition: right .3s cubic-bezier(.22,.9,.3,1); }
.kp-branches2-zoom-btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(33,59,98,.15); background: #fff; color: #213B62; font-size: 16px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(16,26,46,.1); }
.kp-branches2-zoom-btn:hover { background: rgba(215,181,109,.15); }
.kp-branches2-region { fill: rgba(76,127,201,.10); stroke: rgba(33,59,98,.5); stroke-width: 1.2; stroke-linejoin: round; }
.kp-branches2-sea { fill: rgba(76,127,201,.18); stroke: rgba(33,59,98,.28); stroke-width: 1; }
.kp-branches2-highlight { transition: opacity .2s ease; }
.kp-branches2-dot { cursor: pointer; opacity: 0; animation: kp-branches2-dot-in .5s ease forwards; animation-delay: var(--stagger,0s); animation-play-state: paused; }
.kp-branches2-map.is-visible .kp-branches2-dot { animation-play-state: running; }
@keyframes kp-branches2-dot-in { 0% { opacity: 0; } 100% { opacity: 1; } }
.kp-branches2-dot .kp-branches2-hit { fill: transparent; stroke: none; }
.kp-branches2-dot .kp-branches2-core { opacity: .95; transition: transform .15s ease, opacity .2s ease; transform-box: fill-box; transform-origin: center; }
.kp-branches2-dot .kp-branches2-ring { fill: none; stroke: #D7B56D; stroke-width: 2; opacity: .65; transform-box: fill-box; transform-origin: center; animation: kp-branches2-pulse 2.4s ease-out infinite; animation-delay: var(--d,0s); }
.kp-branches2-dot:hover .kp-branches2-core, .kp-branches2-dot:focus .kp-branches2-core, .kp-branches2-dot.is-active .kp-branches2-core { transform: scale(1.5); }
.kp-branches2-dot:hover .kp-branches2-ring, .kp-branches2-dot:focus .kp-branches2-ring, .kp-branches2-dot.is-active .kp-branches2-ring { stroke-width: 2.5; }
.kp-branches2-dot:focus { outline: none; }
.kp-branches2-dot.is-dimmed { opacity: .28 !important; }
@keyframes kp-branches2-pulse { 0% { transform: scale(1); opacity: .5; } 70% { transform: scale(3.2); opacity: 0; } 100% { transform: scale(3.2); opacity: 0; } }
.kp-branches2-label { font-weight: 700; font-size: 13px; fill: rgba(33,59,98,.78); pointer-events: none; paint-order: stroke; stroke: #ffffff; stroke-width: 4px; stroke-linejoin: round; transition: opacity .2s ease; }
.kp-branches2-label.is-dimmed { opacity: .28; }
.kp-branches2-modal { will-change: transform,opacity; position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(380px,calc(100% - 24px)); z-index: 6; visibility: hidden; opacity: 0; pointer-events: none; transform: translateX(28px) scale(.98); transition: transform .3s cubic-bezier(.22,.9,.3,1), opacity .25s ease, visibility 0s linear .3s; }
.kp-branches2-modal.kp-branches2-modal-open { visibility: visible; opacity: 1; pointer-events: auto; transform: none; transition: transform .45s cubic-bezier(.22,.9,.3,1), opacity .35s ease, visibility 0s; }
.kp-branches2-modal-backdrop { display: none; }
.kp-branches2-modal-card { position: relative; background: #fff; width: 100%; height: 100%; overflow-y: auto; padding: 20px 22px 24px; border-radius: 22px; border: 1px solid rgba(33,59,98,.08); box-shadow: 0 18px 48px rgba(16,26,46,.2); scrollbar-width: thin; scrollbar-color: rgba(33,59,98,.2) transparent; }
.kp-branches2-map.is-panel-open .kp-branches2-zoom-controls { right: 404px; }
.kp-branches2-modal-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.kp-branches2-modal-toolbar-nav { display: flex; gap: 8px; }
.kp-branches2-modal-close { flex: none; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(33,59,98,.08); color: #213B62; font-size: 20px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.kp-branches2-modal-close:hover { background: rgba(33,59,98,.16); }
.kp-branches2-modal-nav { flex: none; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(33,59,98,.08); color: #213B62; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.kp-branches2-modal-nav:hover { background: rgba(215,181,109,.28); }
.kp-branches2-modal-eyebrow { text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #A9833E; margin-bottom: 8px; }
.kp-branches2-modal-title { font-size: 26px; font-weight: 800; color: #213B62; margin: 0 0 24px; }
.kp-branches2-people { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.kp-branches2-person { display: flex; gap: 16px; }
.kp-branches2-avatar { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: rgba(33,59,98,.08); cursor: zoom-in; transition: transform .15s ease; }
.kp-branches2-avatar:hover { transform: scale(1.08); }
.kp-branches2-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kp-branches2-avatar-fallback { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; color: #213B62; background: rgba(215,181,109,.25); }
.kp-branches2-person-name { font-weight: 800; font-size: 15px; color: #213B62; line-height: 1.3; }
.kp-branches2-person-role { font-size: 13px; color: rgba(33,59,98,.7); margin-top: 2px; line-height: 1.4; }
.kp-branches2-person-bio { font-size: 13px; color: rgba(0,0,0,.6); margin: 6px 0 0; line-height: 1.55; }
.kp-branches2-bio-toggle { border: none; background: none; padding: 0; color: #A9833E; font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: underline; }
.kp-branches2-contacts { border-top: 1px solid rgba(33,59,98,.1); padding-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.kp-branches2-contact-row { display: flex; flex-direction: column; gap: 4px; }
.kp-branches2-contact-label { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(33,59,98,.45); }
.kp-branches2-contact-value { font-size: 14px; font-weight: 700; color: #213B62; position: relative; padding-left: 25px; }
.kp-branches2-contact-icon { position: absolute; left: 0; top: 1px; width: 16px; height: 16px; color: #A9833E; }
.kp-branches2-contact-link { color: #213B62; text-decoration: none; border-bottom: 1px solid rgba(33,59,98,.25); transition: color .15s ease, border-color .15s ease; }
.kp-branches2-contact-link:hover { color: #A9833E; border-color: #A9833E; }
.kp-branches2-lightbox { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(16,26,46,.75); }
.kp-branches2-lightbox[hidden] { display: none; }
.kp-branches2-lightbox img { max-width: min(420px,90vw); max-height: 80vh; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.kp-branches2-lightbox-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,.15); color: #fff; font-size: 22px; cursor: pointer; }
.kp-branches2-sr-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.kp-branches2-modal-card .kp-branches2-avatar { width: 52px; height: 52px; }
.kp-branches2-modal-card .kp-branches2-people { gap: 16px; margin-bottom: 20px; }
.kp-branches2-modal-card .kp-branches2-person { gap: 12px; }
.kp-branches2-modal-card .kp-branches2-modal-title { font-size: 23px; margin-bottom: 18px; }

/* ===== Мобильное меню (нижний док и шторка) ===== */
.kp-mnav, .kp-mnav * { box-sizing: border-box; }
.kp-mnav { display: none; }
.kp-mnav :where(a) { text-decoration: none; }
.kp-mnav :where(ul) { list-style: none; margin: 0; padding: 0; }
.kp-mnav :where(button) { font: inherit; border: 0; background: none; margin: 0; padding: 0; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.kp-mnav-dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); height: 68px; z-index: 90; display: grid; grid-template-columns: repeat(5,1fr); align-items: stretch; padding: 0 6px; border-radius: 26px; background: rgba(255,255,255,.97); box-shadow: 0 12px 34px rgba(16,26,46,.2), 0 0 0 1px rgba(33,59,98,.07); transition: transform .55s cubic-bezier(.34,1.3,.5,1), opacity .3s ease; will-change: transform; }
.kp-mnav-dock.is-hidden { transform: translateY(calc(100% + 40px)); }
.kp-mnav-dock.is-away { transform: translateY(calc(100% + 40px)); opacity: 0; pointer-events: none; }
.kp-mnav-pill { position: absolute; left: 0; top: 8px; height: 52px; width: 60px; border-radius: 18px; background: rgba(33,59,98,.09); opacity: 0; pointer-events: none; transition: transform .55s cubic-bezier(.34,1.45,.5,1), width .55s cubic-bezier(.34,1.45,.5,1), opacity .25s ease; will-change: transform; }
.kp-mnav-pill.is-on { opacity: 1; }
.kp-mnav-item { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: rgba(33,59,98,.5); min-width: 0; outline: none; transition: color .25s ease; }
.kp-mnav-item.is-active { color: #213B62; }
.kp-mnav-item:focus-visible { box-shadow: 0 0 0 2px #A9833E inset; border-radius: 18px; }
.kp-mnav-ico { display: block; transition: transform .35s cubic-bezier(.34,1.7,.5,1); }
.kp-mnav-item:active .kp-mnav-ico { transform: scale(.8); }
.kp-mnav-item.is-pop .kp-mnav-ico { animation: kp-mnav-pop .5s cubic-bezier(.34,1.6,.5,1); }
@keyframes kp-mnav-pop { 0% { transform: scale(.8) translateY(0); } 45% { transform: scale(1.28) translateY(-4px); } 100% { transform: scale(1) translateY(0); } }
.kp-mnav-lbl { font-size: 11px; line-height: 12px; font-weight: 700; letter-spacing: .2px; white-space: nowrap; }
.kp-mnav-burger { position: relative; display: block; width: 22px; height: 18px; }
.kp-mnav-burger i { position: absolute; left: 2px; right: 2px; height: 2.4px; border-radius: 2px; background: currentColor; transition: transform .4s cubic-bezier(.34,1.5,.5,1), opacity .2s ease, top .3s ease; }
.kp-mnav-burger i:nth-child(1) { top: 3px; }
.kp-mnav-burger i:nth-child(2) { top: 8px; }
.kp-mnav-burger i:nth-child(3) { top: 13px; }
.kp-mnav-toggle[aria-expanded="true"] .kp-mnav-burger i:nth-child(1) { top: 8px; transform: rotate(45deg); }
.kp-mnav-toggle[aria-expanded="true"] .kp-mnav-burger i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.kp-mnav-toggle[aria-expanded="true"] .kp-mnav-burger i:nth-child(3) { top: 8px; transform: rotate(-45deg); }
.kp-mnav-backdrop { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 95; background: rgba(16,26,46,.5); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.kp-mnav.is-open .kp-mnav-backdrop { opacity: 1; visibility: visible; transition: opacity .35s ease, visibility 0s; }
.kp-mnav-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; max-height: 90vh; max-height: 90dvh; display: flex; flex-direction: column; background: #fff; border-radius: 30px 30px 0 0; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -16px 50px rgba(16,26,46,.25); transform: translateY(104%); visibility: hidden; transition: transform .6s cubic-bezier(.2,.95,.25,1.04), visibility 0s linear .6s; will-change: transform; }
.kp-mnav.is-open .kp-mnav-sheet { transform: none; visibility: visible; transition: transform .6s cubic-bezier(.2,.95,.25,1.04), visibility 0s; }
.kp-mnav-sheet.is-dragging { transition: none; }
.kp-mnav-grab { flex: none; padding: 10px 0 4px; display: flex; justify-content: center; touch-action: none; cursor: grab; }
.kp-mnav-handle { display: block; width: 44px; height: 5px; border-radius: 3px; background: rgba(33,59,98,.18); }
.kp-mnav-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 6px 20px 12px; }
.kp-mnav-brand { display: flex; flex-direction: column; gap: 2px; }
.kp-mnav-brand-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: #A9833E; }
.kp-mnav-brand-title { font-size: 22px; line-height: 26px; font-weight: 800; color: #213B62; }
.kp-mnav-close { flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(33,59,98,.08); color: #213B62; transition: transform .3s cubic-bezier(.34,1.6,.5,1), background .2s ease; }
.kp-mnav-close:active { transform: rotate(90deg) scale(.9); background: rgba(33,59,98,.16); }
.kp-mnav-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 20px; -webkit-overflow-scrolling: touch; }
.kp-mnav-list { display: flex; flex-direction: column; gap: 8px; }
.kp-mnav-li { opacity: 0; transform: translateY(18px); transition: opacity .35s ease, transform .5s cubic-bezier(.2,.95,.25,1.1); transition-delay: 0s; }
.kp-mnav.is-open .kp-mnav-li { opacity: 1; transform: none; transition-delay: var(--stagger,0s); }
.kp-mnav-row { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 20px; background: #f4f6f9; color: #213B62; text-align: left; outline: none; transition: background .2s ease, transform .2s ease; }
.kp-mnav-row:active { transform: scale(.98); background: #e9edf4; }
.kp-mnav-row:focus-visible { box-shadow: 0 0 0 2px #A9833E; }
.kp-mnav-row-ico { flex: none; width: 42px; height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: #fff; color: #213B62; box-shadow: 0 2px 8px rgba(33,59,98,.1); }
.kp-mnav-row-txt { flex: 1; min-width: 0; font-size: 17px; line-height: 22px; font-weight: 700; }
.kp-mnav-row-arrow, .kp-mnav-row-chev { flex: none; color: rgba(33,59,98,.4); }
.kp-mnav-row-chev { transition: transform .4s cubic-bezier(.34,1.5,.5,1); }
.kp-mnav-row-btn[aria-expanded="true"] .kp-mnav-row-chev { transform: rotate(180deg); }
.kp-mnav-row-btn[aria-expanded="true"] { background: #e9edf4; }
.kp-mnav-row.is-active { background: #213B62; color: #fff; }
.kp-mnav-row.is-active .kp-mnav-row-ico { background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }
.kp-mnav-row.is-active .kp-mnav-row-arrow { color: rgba(255,255,255,.6); }
.kp-mnav-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.9,.25,1); }
.kp-mnav-group.is-open .kp-mnav-sub { grid-template-rows: 1fr; }
.kp-mnav-sub-in { overflow: hidden; min-height: 0; display: flex; flex-direction: column; gap: 2px; padding: 0 0 0 28px; }
.kp-mnav-group.is-open .kp-mnav-sub-in { padding-top: 6px; padding-bottom: 2px; }
.kp-mnav-sublink { position: relative; display: block; padding: 12px 14px 12px 24px; border-radius: 14px; font-size: 16px; line-height: 20px; font-weight: 600; color: #213B62; opacity: 0; transform: translateX(-10px); transition: opacity .25s ease, transform .35s ease, background .2s ease; }
.kp-mnav-group.is-open .kp-mnav-sublink { opacity: 1; transform: none; }
.kp-mnav-group.is-open .kp-mnav-sublink:nth-child(1) { transition-delay: .06s; }
.kp-mnav-group.is-open .kp-mnav-sublink:nth-child(2) { transition-delay: .11s; }
.kp-mnav-group.is-open .kp-mnav-sublink:nth-child(3) { transition-delay: .16s; }
.kp-mnav-group.is-open .kp-mnav-sublink:nth-child(4) { transition-delay: .21s; }
.kp-mnav-sublink::before { content: ''; position: absolute; left: 6px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #D7B56D; }
.kp-mnav-sublink:active { background: #eef1f6; }
.kp-mnav-sublink.is-active { color: #A9833E; font-weight: 800; }
.kp-mnav-sublink.is-active::before { background: #A9833E; box-shadow: 0 0 0 4px rgba(215,181,109,.3); }
.kp-mnav-lang { margin-top: 18px; padding: 14px 14px 16px; border-radius: 22px; background: #f4f6f9; opacity: 0; transform: translateY(18px); transition: opacity .35s ease, transform .5s cubic-bezier(.2,.95,.25,1.1); transition-delay: 0s; }
.kp-mnav.is-open .kp-mnav-lang { opacity: 1; transform: none; transition-delay: var(--stagger,0s); }
.kp-mnav-lang-label { display: block; margin: 0 0 10px 4px; font-size: 11px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: rgba(33,59,98,.5); }
.kp-mnav-seg { position: relative; display: grid; grid-template-columns: repeat(4,1fr); padding: 4px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(33,59,98,.08); }
.kp-mnav-thumb { position: absolute; left: 4px; top: 4px; bottom: 4px; width: calc((100% - 8px) / 4); border-radius: 12px; background: linear-gradient(145deg,#2d4f86,#213B62); box-shadow: 0 6px 14px rgba(33,59,98,.3); transition: transform .55s cubic-bezier(.34,1.5,.5,1); will-change: transform; }
.kp-mnav-seg-btn { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 12px; font-size: 15px; font-weight: 800; letter-spacing: .6px; color: rgba(33,59,98,.6); outline: none; transition: color .3s ease; }
.kp-mnav-seg-btn.is-active { color: #fff; }
.kp-mnav-seg-btn:focus-visible { box-shadow: 0 0 0 2px #A9833E; }
.kp-mnav-wipe { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 200; background: #213B62; pointer-events: none; visibility: hidden; clip-path: circle(0px at 50% 50%); display: flex; align-items: center; justify-content: center; }
.kp-mnav-wipe.is-on { visibility: visible; pointer-events: auto; }
.kp-mnav-wipe-code { font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: 4px; color: #D7B56D; opacity: 0; transform: scale(.7); transition: opacity .3s ease .2s, transform .5s cubic-bezier(.34,1.5,.5,1) .2s; }
.kp-mnav-wipe.is-go .kp-mnav-wipe-code { opacity: 1; transform: none; }

/* ===== Страница «Контакты» ===== */
.contact-grid .el-title { font-size: 19px; line-height: 24px; font-weight: 800; color: #213B62; overflow-wrap: anywhere; }
.contact-grid .el-meta { font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; color: rgba(33, 59, 98, .5); margin-bottom: -16px; }
.contact-grid .uk-icon { flex: none; width: 50px; height: 50px; border-radius: 17px; display: flex; align-items: center; justify-content: center; color: #fff !important; background: var(--secondary-background); transition: transform .4s cubic-bezier(.34, 1.6, .5, 1), background .3s ease, color .3s ease; }
.contact-grid .uk-card:hover .uk-icon, .contact-grid .uk-card:focus-visible .uk-icon { background: var(--primary-background); color: #fff !important; transform: rotate(-8deg) scale(1.08); }
.contact-grid .uk-card-body { border-radius: 30px !important; }
.kp-map-frame { position: relative; border-radius: 40px; overflow: hidden; background: #e9edf4; border: 1px solid rgba(33, 59, 98, .09); box-shadow: 0 14px 40px rgba(16, 26, 46, .1); }
.kp-map-frame iframe { display: block; width: 100%; height: 490px !important; border: 0; }
.contact-insta .uk-icon { color: #E4405F; }
.contact-youtube .uk-icon { color: #FF0000; }

/* ===== Переключатель языков в шапке ===== */
.kp-lseg { position: relative; display: inline-flex; align-items: center; padding: 10px 4px; border-radius: 999px; background: #EDEFF4; }
.kp-lseg-thumb { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: #213B62; box-shadow: 0 4px 12px rgba(33,59,98,.28); pointer-events: none; opacity: 0; z-index: 0; transition: transform .5s cubic-bezier(.34,1.35,.5,1), width .5s cubic-bezier(.34,1.35,.5,1), opacity .25s ease; }
.kp-lseg a.kp-lseg-item { position: relative; z-index: 1; display: block; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .05em; line-height: 1.2; text-transform: none; text-decoration: none; color: #5B6B86; transition: color .25s ease; }
.kp-lseg a.kp-lseg-item::before, .kp-lseg a.kp-lseg-item::after { display: none !important; }
.kp-lseg a.kp-lseg-item.is-on, .kp-lseg a.kp-lseg-item.is-on:hover { color: #fff; }
.kp-lseg-hide { display: none !important; }

/* ===== Обратная связь (плавающая кнопка, все экраны) ===== */
.kp-fb, .kp-fb * { box-sizing: border-box; }
.kp-fb { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 89; transition: bottom .55s cubic-bezier(.34,1.3,.5,1), opacity .3s ease; }
.kp-fb :where(a) { text-decoration: none; }
.kp-fb-check { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.kp-fb-scrim { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 0; background: rgba(16,26,46,.32); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.kp-fb-check:checked ~ .kp-fb-scrim { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
.kp-fb-fab { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; cursor: pointer; background: linear-gradient(135deg, #2d4f86, #213B62 60%, #162a4a); box-shadow: 0 12px 28px rgba(33,59,98,.38), inset 0 0 0 1px rgba(255,255,255,.14); -webkit-tap-highlight-color: transparent; transition: transform .35s cubic-bezier(.34,1.6,.5,1), box-shadow .3s ease; }
.kp-fb-fab:hover { transform: translateY(-2px); }
.kp-fb-fab:active { transform: scale(.92); }
.kp-fb-check:focus-visible ~ .kp-fb-fab { box-shadow: 0 12px 28px rgba(33,59,98,.38), 0 0 0 3px #A9833E; }
.kp-fb-fab::before { content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0; border-radius: 50%; border: 2px solid #D7B56D; opacity: 0; pointer-events: none; animation: kp-fb-pulse 2.8s ease-out infinite; }
.kp-fb-check:checked ~ .kp-fb-fab::before { animation: none; }
@keyframes kp-fb-pulse { 0% { transform: scale(1); opacity: .75; } 70% { transform: scale(1.6); opacity: 0; } 100% { transform: scale(1.6); opacity: 0; } }
.kp-fb-ico { position: absolute; transition: transform .45s cubic-bezier(.34,1.5,.5,1), opacity .25s ease; }
.kp-fb-ico-close { opacity: 0; transform: rotate(-90deg) scale(.5); }
.kp-fb-check:checked ~ .kp-fb-fab .kp-fb-ico-chat { opacity: 0; transform: rotate(90deg) scale(.5); }
.kp-fb-check:checked ~ .kp-fb-fab .kp-fb-ico-close { opacity: 1; transform: none; }
.kp-fb-panel { position: absolute; right: 0; bottom: calc(100% + 12px); z-index: 1; width: min(300px, calc(100vw - 32px)); padding: 18px 16px 16px; border-radius: 26px; background: #fff; box-shadow: 0 18px 50px rgba(16,26,46,.28), 0 0 0 1px rgba(33,59,98,.07); transform-origin: bottom right; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.92); transition: transform .5s cubic-bezier(.34,1.35,.5,1), opacity .25s ease, visibility 0s linear .5s; }
.kp-fb-check:checked ~ .kp-fb-panel { opacity: 1; visibility: visible; transform: none; transition: transform .5s cubic-bezier(.34,1.35,.5,1), opacity .25s ease, visibility 0s; }
.kp-fb-eyebrow { display: block; padding: 0 4px; font-size: 11px; line-height: 14px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: #A9833E; }
.kp-fb-title { display: block; padding: 0 4px; margin: 2px 0 14px; font-size: 20px; line-height: 26px; font-weight: 800; color: #213B62; }
.kp-fb-list { display: flex; flex-direction: column; gap: 8px; }
.kp-fb-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; background: #f4f6f9; color: #213B62; opacity: 0; transform: translateY(10px); outline: none; -webkit-tap-highlight-color: transparent; transition: opacity .3s ease, transform .45s cubic-bezier(.2,.95,.25,1.1), background .2s ease; }
.kp-fb-check:checked ~ .kp-fb-panel .kp-fb-row { opacity: 1; transform: none; transition-delay: var(--stagger,0s); }
.kp-fb-check:checked ~ .kp-fb-panel .kp-fb-row:active { transform: scale(.98); background: #e9edf4; transition-delay: 0s; }
.kp-fb-row:hover { color: #213B62; }
.kp-fb-row:focus-visible { box-shadow: 0 0 0 2px #A9833E; }
.kp-fb-row-main { background: #213B62; color: #fff; }
.kp-fb-row-main:hover { color: #fff; }
.kp-fb-check:checked ~ .kp-fb-panel .kp-fb-row-main:active { background: #1a3050; }
.kp-fb-row-ico { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 13px; background: #fff; color: #213B62; box-shadow: 0 2px 8px rgba(33,59,98,.1); }
.kp-fb-row-main .kp-fb-row-ico { background: rgba(255,255,255,.14); color: #D7B56D; box-shadow: none; }
.kp-fb-row-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.kp-fb-row-label { font-size: 11px; line-height: 14px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; opacity: .55; }
.kp-fb-row-value { font-size: 15px; line-height: 20px; font-weight: 700; overflow-wrap: anywhere; }
body:has(.kp-mnav.is-open) .kp-fb, body:has(.kp-mnav-dock.is-away) .kp-fb { opacity: 0; visibility: hidden; pointer-events: none; }

/* ===== Страница ошибки 404 ===== */
.kp-e404 { position: relative; display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 48px 24px; overflow: hidden; text-align: center; background: #F4F6F9; }
.kp-e404::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-image: radial-gradient(circle, rgba(33,59,98,.16) 1.5px, transparent 1.6px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse at center, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 15%, transparent 72%); }
.kp-e404-in { position: relative; width: 100%; max-width: 560px; }
.kp-e404-eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #A9833E; }
.kp-e404-code { display: flex; align-items: center; justify-content: center; margin: 18px 0 6px; font-size: 168px; font-weight: 800; line-height: 1; color: #213B62; }
.kp-e404-title { margin: 0 0 12px; font-size: 30px; font-weight: 800; line-height: 1.2; color: #213B62; }
.kp-e404-text { max-width: 460px; margin: 0 auto; font-size: 16px; line-height: 1.6; color: #4A5A75; }
.kp-e404-ko { margin: 14px 0 0; font-size: 14px; letter-spacing: 1px; color: #A9833E; }
.kp-e404-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; }
.kp-e404-debug { margin-top: 32px; text-align: left; }

/* ===== Меньше движения ===== */
@media (prefers-reduced-motion: reduce) {
    .kp-nav-pill { transition-duration: .01s; }
    .kp-scroll-down { animation: none; }
    .akk-branch-dot .akk-branch-ring { animation: none; opacity: 0; }
    .kp-branches2-dot .kp-branches2-ring { animation: none; opacity: 0; }
    .kp-branches2-dot { animation: none; opacity: 1; }
    .kp-mnav-dock, .kp-mnav-pill, .kp-mnav-sheet, .kp-mnav-li, .kp-mnav-lang, .kp-mnav-thumb, .kp-mnav-sub, .kp-mnav-sublink { transition-duration: .01s !important; transition-delay: 0s !important; }
    .kp-mnav-item.is-pop .kp-mnav-ico { animation: none; }
    .kp-lseg-thumb { transition-duration: .01s; }
    .kp-fb, .kp-fb-fab, .kp-fb-panel, .kp-fb-row, .kp-fb-ico, .kp-fb-scrim { transition-duration: .01s !important; transition-delay: 0s !important; }
    .kp-fb-fab::before { animation: none; }
}

/* ===== Телефоны (до 767px) ===== */
@media (max-width: 767px) {
    .title-img::before { content: ""; position: none; top: 0; left: 0; right: 0; height: 0; background: none; border-radius: 0; z-index: 2; pointer-events: none; }
    .title-img img { border-radius: 40px; margin-top: 0; position: relative; z-index: 1; }
    .title-zg {text-transform: uppercase;font-weight: 900;color: var(--blue);position: relative;z-index: 3;width: 100%;margin: 0 auto;-webkit-text-stroke: 0;text-shadow: none; font-size: 28px;margin-top: 0px;}
    .about-us-zg {font-size: 20px;border-left: 4px solid var(--secondary-background);padding-left: 25px;}
    .text-metaa {font-size: 11px;}
    .button-right {margin: -20px auto 36px auto;padding: 0 0 20px;}
    .about-us-zg2 {font-size: 20px;}
    .bread-zg {font-size: 30px;color: var(--blue);}
    .mdk-grid-os img {width: 100%;}
    .mdk-grid-project img {width: 100%;}
    .kp-scroll-down { width: 38px; height: 38px; right: 16px; bottom: 16px; }
    .kp-mini-stats { gap: 24px 32px; }
    .kp-mini-stat-n { font-size: 24px; }
    .kp-news-article { font-size: 16px; line-height: 1.65; }
    .kp-news-article p:first-of-type { font-size: 17px; }
    .kp-news-article img { border-radius: 16px; }
    .uk-grid { flex-direction: column; }
    .uk-width-2-5\@m, .uk-width-3-5\@m { width: 100%; }
    .history-zg { font-size: 24px; }
    .history-txt { max-width: none; }
    .history-year { font-size: 110px; right: -4px; bottom: -14px; }
    .history-year { font-size: 80px; }
    .kp-branches2-stats { position: static; transform: none; flex-direction: row; flex-wrap: wrap; justify-content: center; width: auto; gap: 28px; margin: 0 0 28px; padding-bottom: 24px; border-bottom: 1px solid rgba(33,59,98,.1); }
    .kp-branches2-stat { text-align: center; }
    .kp-branches2-map { padding-left: 0; }
    .kp-branches2-zoom-controls { position: static; flex-direction: row; justify-content: center; margin: 14px 0 0; right: auto; bottom: auto; }
    .kp-branches2-zoom-btn { width: 40px; height: 40px; font-size: 18px; }
    .kp-branches2-map-inner { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scroll-snap-type: none; }
    .kp-branches2-map-inner svg { width: 760px; max-width: none; touch-action: pan-x; }
    .kp-branches2-map.is-panel-open .kp-branches2-zoom-controls { right: auto; top: auto; transform: none; }
    .kp-branches2-modal { position: fixed; top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 82vh; transform: translateY(40px); }
    .kp-branches2-modal.kp-branches2-modal-open { transform: none; }
    .kp-branches2-modal-card { height: auto; max-height: 82vh; border-radius: 20px 20px 0 0; border: none; box-shadow: 0 -14px 40px rgba(16,26,46,.22); padding: 14px 20px 28px; }
    .kp-branches2-modal-card::before { content: ''; display: block; width: 38px; height: 4px; border-radius: 2px; background: rgba(33,59,98,.18); margin: 0 auto 14px; }
    .kp-branches2-modal-title { font-size: 22px; }
    .kp-mnav { display: block; }
    .kp-map-frame { border-radius: 26px; }
    .akk-branch-map { padding-top: 12px; }
    .akk-branch-dot .akk-branch-core { transform-box: fill-box; transform-origin: center; transform: scale(1.7); }
    .akk-branch-dot .akk-branch-ring { stroke-width: 3; }
    .akk-branch-label { font-size: 25px; stroke-width: 7px; }
    .akk-branch-label-r { text-anchor: end; transform: translate(10px, 38px); }
    .akk-branch-label-l { text-anchor: end; transform: translate(-28px, 0); }
    .kp-map-frame iframe { height: 320px; }
    .kp-e404-code { font-size: 112px; }
    .kp-e404-title { font-size: 24px; }
    .kp-e404-actions { flex-direction: column; align-items: stretch; }
    .kp-fb { right: 16px; bottom: calc(92px + env(safe-area-inset-bottom)); }
    body:has(.kp-mnav-dock.is-hidden) .kp-fb { bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* ===== Планшеты (768–1023px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
    .akk-branch-dot .akk-branch-core { transform-box: fill-box; transform-origin: center; transform: scale(1.3); }
    .akk-branch-label { font-size: 18px; stroke-width: 5px; }
    .uk-grid { flex-direction: column; }
    .uk-width-2-5\@m, .uk-width-3-5\@m { width: 100%; }
    .history-zg { font-size: 24px; }
    .history-txt { max-width: none; }
    .history-year { font-size: 110px; right: -4px; bottom: -14px; }
    .kp-branches2-stats { position: static; transform: none; flex-direction: row; flex-wrap: wrap; justify-content: center; width: auto; gap: 28px; margin: 0 0 28px; padding-bottom: 24px; border-bottom: 1px solid rgba(33,59,98,.1); }
    .kp-branches2-stat { text-align: center; }
    .kp-branches2-map { padding-left: 0; }
    .kp-branches2-zoom-controls { position: static; flex-direction: row; justify-content: center; margin: 14px 0 0; right: auto; bottom: auto; }
    .kp-branches2-zoom-btn { width: 40px; height: 40px; font-size: 18px; }
    .kp-branches2-map.is-panel-open .kp-branches2-zoom-controls { right: auto; top: auto; transform: none; }
    .kp-mnav { display: block; }
    .kp-fb { right: 16px; bottom: calc(92px + env(safe-area-inset-bottom)); }
    body:has(.kp-mnav-dock.is-hidden) .kp-fb { bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* ===== Ноутбуки (1024–1600px) ===== */
@media (min-width: 1024px) and (max-width: 1600px) {
}


@media (min-width: 960px) and (max-width: 1600px) {
    .tm-header .uk-navbar { gap: 16px; flex-wrap: nowrap; }
    .tm-header .uk-navbar-left,
    .tm-header .uk-navbar-right { flex: 0 0 auto; min-width: 0; }
    .tm-header .uk-navbar-center { position: static; transform: none; flex: 1 1 auto; min-width: 0; justify-content: center; display: flex; }

    .tm-header .uk-logo,
    .tm-header .uk-logo picture { display: block; }
    .tm-header .uk-logo img { width: clamp(150px, 17vw, 280px); height: auto; max-width: none; }

    .tm-header .uk-navbar-nav { gap: clamp(12px, 1.6vw, 31px); flex-wrap: nowrap; }
    .tm-header .uk-navbar-nav > li > a { font-size: clamp(11px, 1.05vw, 15px); white-space: nowrap; }
    .kp-nav-pill { border-radius: 12px; }

    .kp-lseg { padding: 8px 3px; }
    .kp-lseg a.kp-lseg-item { padding: 6px clamp(8px, .9vw, 14px); font-size: 11px; }

    .title-zg { font-size: clamp(26px, 3.2vw, 52px); line-height: 1.15; padding: 0 16px; overflow-wrap: break-word; text-wrap: balance; }
}

@media (min-width: 960px) and (max-width: 1180px) {
    .tm-header .uk-navbar-nav > li > a [uk-icon] { display: none; }
    .tm-header .uk-logo img { width: clamp(130px, 16vw, 190px); }
}