/* =========================================
   1. ПЕРЕМЕННЫЕ И ТЕМЫ (ROOT)
   ========================================= */
:root {
	--white: #fff;
	--grey-97: #f2f5f7;
	--grey-96: #eef1f4;
	--grey-95: #eef0f1;
	--grey-93: #ebeced;
	--grey-89: #e1e2e3;
	--grey-75: #bfbfbf;
	--grey-65: #7d92a6;
	--grey-63: #6a7d90;
	--grey-56: #6a7d90;
	--grey-49: #7d7d7d;
	--grey-36: #51565c;
	--grey-26: #3a3e42;
	--grey-23: #34373b;
	--grey-22: #313538;
	--grey-17: #26292b;
	--grey-15: #1f2327;
	--grey-15-rbg: 31,35,39;
	--grey-13: #171c20;
	--black: #171c20;
	--orange: #f76610;
	--green: #009900;
	--red: #ff0000;
	--blue: #1e90ff;
	--gold: #ffd700;
	--pink: #ff00ff;
	--blue-theme-1: 0,135,187;
	--blue-theme-2: 39,119,167;
	--blue-theme-3: 36,113,158;
	--blue-theme-4: 35,82,124;
	--blue-theme-5: 66,99,128;
}

/* Светлая тема (по умолчанию) */
:root:not([data-theme=dark]) {
	--icon: "\e943";
	--wh-bl: var(--white);
	--bl-wh: var(--black);
	--body-background: var(--grey-96);
	--header-background: rgba(var(--blue-theme-2),1);
	--copyright-background: rgba(var(--blue-theme-3),1);
	--content-background-1: var(--white);
	--content-background-2: var(--grey-97);
	--text-default: var(--black);
	--color-white: var(--white);
	--color-white-2: var(--grey-89);
	--a-color: rgba(var(--blue-theme-2),1);
	--a-hover-color: rgba(var(--blue-theme-4),1);
	--border: var(--grey-89);
	--btn-default-background-1: var(--grey-93);
	--btn-default-background-2: #27293D;
	--btn-default-hover-background-1: var(--grey-89);
	--btn-default-hover-background-2: rgba(var(--blue-theme-4),1);
	--btn-default-color: var(--black);
}

/* Тёмная тема */
:root[data-theme=dark] {
	--icon: "\e944";
	--wh-bl: var(--black);
	--bl-wh: var(--white);
	--body-background: var(--grey-22);
	--header-background: var(--grey-15);
	--copyright-background: var(--grey-17);
	--content-background-1: var(--grey-26);
	--content-background-2: var(--grey-23);
	--text-default: var(--grey-93);
	--color-white: var(--grey-89);
	--color-white-2: var(--grey-75);
	--a-color: var(--grey-75);
	--a-hover-color: var(--white);
	--border: var(--grey-36);
	--btn-default-background-1: var(--grey-22);
	--btn-default-background-2: rgba(var(--blue-theme-2),1);
	--btn-default-hover-background-1: var(--grey-15);
	--btn-default-hover-background-2: rgba(var(--blue-theme-3),1);
	--btn-default-color: var(--grey-93);
}

/* =========================================
   2. БАЗОВЫЙ СБРОС И ШРИФТЫ
   ========================================= */
/*
	*, *::before, *::after {
	margin: 0;
	padding: 0;
	border: 0;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
*/
.footer,
.footer *,
.footer *::before,
.footer *::after {
    margin: 0;
    padding: 0;
    border: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
	height: 100%;
	min-height: 100%;
	font-size: 14px;
	-webkit-font-smoothing: antialiased;
}

body {
    min-height: 100%;
    min-width: 320px;
    background-color: var(--body-background);
    line-height: 1.5;
    font-family: "NotoSans", Arial, sans-serif;
    color: var(--text-default);
    /* overflow-y:scroll оставлен, но см. пункт 2 */
}
/*
a {
	color: var(--a-color);
	text-decoration: underline;
}
a:hover, a:focus {
	color: var(--a-hover-color);
	text-decoration: none;
}
*/

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ol, ul {
	list-style: none;
}

/* Иконки */
@font-face {
	font-family: "ks";
	src: url("../fonts/ks.eot?z3ifwf");
	src: url("../fonts/ks.eot?z3ifwf#iefix") format("embedded-opentype"),
	     url("../fonts/ks.ttf?z3ifwf") format("truetype"),
	     url("../fonts/ks.woff?z3ifwf") format("woff"),
	     url("../fonts/ks.svg?z3ifwf#ks") format("svg");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

.icon {
	font-family: "ks" !important;
	speak: never;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-tg:before { content: "\e91d"; }
.icon-vk:before { content: "\e920"; }
.icon-yt:before { content: "\e90b"; }
.icon-info:before { content: "\e908"; }
.icon-mail:before { content: "\e909"; }
.icon-close:before { content: "\e916"; }
.icon-link:before { content: "\e933"; }
.icon-check-circle:before { content: "\e904"; }
.icon-recommend:before { content: "\e906"; }
.icon-search:before { content: "\e902"; }

/* Служебный класс для скрытия текста */
.title_hide {
	left: -9999px;
	position: absolute;
	top: -9999px;
	overflow: hidden;
	width: 0;
	height: 0;
}

/* =========================================
   3. ШАПКА (HEADER)
   ========================================= */
.header {
	background-color: #27293d;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	-webkit-box-shadow: 0 0 7px rgba(0,0,0,.3);
	box-shadow: 0 0 7px rgba(0,0,0,.3);
	z-index: 998;
	padding-left: clamp(10px, 3.33333vw, 30px);
	padding-right: clamp(10px, 3.33333vw, 30px);
}

.header > div {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	position: relative;
	width: 100%;
	max-width: 1500px;
	margin-left: auto;
	margin-right: auto;
}

/* ===== НОВОЕ МЕНЮ ===== */
/* Контейнер хедера */
.header-inner {
	display:flex;
	align-items:stretch;
	justify-content:flex-start;
	gap:10px;
	flex-wrap:wrap;
	width:100%;
	max-width:1500px;
	margin:0 auto;
	padding:0 20px;
	min-height: 100px;
}
/* ЛОГОТИП (280x100) */
.logo {
	flex:0 0 280px;
	display:flex;
	align-items:center;
	height:100px;
}
.logo a {
	display:flex;
	align-items:center;
	width:100%;
	height:100%;
}
.logo img {
	width:280px;
	height:100px;
	object-fit:contain;
	display: block;
}

/* Кнопки иконки */
.btn-icon {
	background: none;
	border: none;
	color: #fff;
	padding: 6px 8px;
	cursor: pointer;
	font-size: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	height: 44px;
	width: 44px;
	border-radius: 4px;
	transition: 0.2s;
}
.btn-icon:hover {
	background: rgba(255,255,255,0.1);
}

/* Мобильное меню (гамбургер и оверлей) */
.mobile-menu-toggle {
	display: none;
	position: relative;
	z-index: 10000;
	width: 44px;
	height: 44px;
	padding: 10px;
	margin: 0;
	background: transparent;
	border: none;
	cursor: pointer;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	outline: none;
}
.mobile-menu-toggle .hamburger-line {
	display: block;
	width: 24px;
	height: 3px;
	background-color: #ffffff;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
	transform-origin: center;
}
.mobile-menu-toggle.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 1025px) { .mobile-menu-toggle { display: flex; } }
@media (min-width: 1026px) { .mobile-menu-toggle { display: none !important; } }

.mobile-menu-overlay {
	display: none;
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999998;
	-webkit-tap-highlight-color: transparent;
}
.mobile-menu-wrap {
	display: none;
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100vh; height: 100dvh; height: -webkit-fill-available;
	background: #27293d;
	z-index: 999999;
	padding: 20px 15px;
	padding-top: calc(20px + env(safe-area-inset-top));
	padding-bottom: env(safe-area-inset-bottom);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	box-sizing: border-box;
}
.mobile-menu-wrap.open { display: block; }
.mobile-menu-header {
	display: flex; justify-content: space-between; align-items: center;
	padding-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	margin-bottom: 15px;
}
.mobile-menu-header span { color: #fff; font-size: 18px; font-weight: 600; }
.mobile-menu-close {
	background: none; border: none; color: #fff; font-size: 28px;
	cursor: pointer; padding: 5px 10px;
	-webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.mobile-menu-close:hover { opacity: 0.7; }
.mobile-menu-items { display: flex; flex-direction: column; gap: 5px; }
.mobile-menu-item {
	display: flex; align-items: center; padding: 12px 16px;
	color: rgba(255, 255, 255, 0.9); text-decoration: none; font-size: 15px;
	font-weight: 500; background: rgba(255, 255, 255, 0.05);
	border-radius: 8px; width: 100%; box-sizing: border-box;
	-webkit-tap-highlight-color: transparent; transition: background 0.2s ease;
}
.mobile-menu-item:hover { background: rgba(255, 255, 255, 0.12); }
.mobile-menu-item svg { flex-shrink: 0; }
.mobile-menu-group {
	display: flex; flex-direction: column; background: rgba(255, 255, 255, 0.05);
	border-radius: 8px; overflow: hidden; width: 100%; box-sizing: border-box;
}
.mobile-menu-top-row { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.mobile-menu-top-link {
	flex: 1; display: flex; align-items: center; padding: 12px 16px;
	color: rgba(255, 255, 255, 0.9); text-decoration: none; font-size: 15px;
	font-weight: 500; gap: 8px; min-width: 0; -webkit-tap-highlight-color: transparent;
}
.mobile-menu-top-link svg { flex-shrink: 0; }
.mobile-menu-top-link .tab-count { margin-left: auto; flex-shrink: 0; font-size: 13px; opacity: 0.7; }
.mobile-submenu-toggle {
	background: transparent; border: none; border-left: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.5); font-size: 18px; cursor: pointer;
	padding: 12px 16px; display: flex; align-items: center; justify-content: center;
	transition: transform 0.3s ease, color 0.3s ease, background 0.2s ease;
	-webkit-tap-highlight-color: transparent; touch-action: manipulation;
	flex-shrink: 0; min-width: 50px;
}
.mobile-submenu-toggle:hover { background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.9); }
.mobile-submenu-toggle.open { transform: rotate(180deg); color: rgba(255, 255, 255, 0.9); }
.mobile-submenu { display: none; flex-direction: column; gap: 3px; padding: 8px; background: rgba(0, 0, 0, 0.2); border-top: 1px solid rgba(255, 255, 255, 0.05); }
.mobile-submenu.open { display: flex; }
.mobile-sub-link {
	display: flex; align-items: center; gap: 8px; padding: 10px 14px;
	color: rgba(255, 255, 255, 0.75); text-decoration: none; font-size: 14px;
	border-radius: 6px; background: rgba(255, 255, 255, 0.03);
	-webkit-tap-highlight-color: transparent; transition: background 0.2s ease, color 0.2s ease;
}
.mobile-sub-link:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.mobile-sub-link .sub-count { margin-left: auto; flex-shrink: 0; font-size: 12px; opacity: 0.6; }
@media (min-width: 1025px) {
	.mobile-menu-overlay, .mobile-menu-wrap, .mobile-menu-toggle { display: none !important; }
}

/* Форма поиска */
.search-wrap {
	position: absolute !important; top: 0 !important; left: 0 !important;
	width: 100% !important; height: 100% !important; display: none !important;
	background: rgba(39, 41, 61, 1) !important; z-index: 100001 !important;
	padding: 0 20px !important; align-items: center !important; justify-content: center !important;
	-webkit-tap-highlight-color: transparent;
}
.search-wrap.show { display: flex !important; }
.search-wrap form { width: 100% !important; max-width: 100% !important; display: flex !important; justify-content: center !important; position: relative !important; align-items: center !important; height: 100% !important; }
.search-input { display: flex !important; align-items: center !important; background: rgba(255, 255, 255, 0.15) !important; border-radius: 8px !important; overflow: hidden !important; width: 100% !important; max-width: calc(100% - 70px) !important; margin: 0 !important; height: 44px !important; }
.search-input input { flex: 1 !important; padding: 12px 16px !important; background: transparent !important; border: none !important; color: #fff !important; font-size: 16px !important; outline: none !important; height: 100% !important; width: 100% !important; min-width: 0 !important; }
.search-input input::placeholder { color: rgba(255, 255, 255, 0.5) !important; }
.search-btn { background: none !important; border: none !important; color: #fff !important; padding: 12px 18px !important; cursor: pointer !important; font-size: 18px !important; display: flex !important; align-items: center !important; justify-content: center !important; height: 100% !important; flex-shrink: 0 !important; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.search-btn:hover { opacity: 0.7 !important; }
.search-close { position: relative !important; background: none !important; border: none !important; color: #fff !important; font-size: 28px !important; cursor: pointer !important; padding: 5px 10px !important; z-index: 100002 !important; flex-shrink: 0 !important; margin-left: 10px !important; height: 44px !important; display: flex !important; align-items: center !important; justify-content: center !important; line-height: 1 !important; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.search-close:hover { opacity: 0.7 !important; }

/* Меню навигации (десктоп) */
.nav { flex: 1 1 auto; min-width: 200px; margin: 0; display: flex; align-items: center; }
.nav-inner { display: flex; flex-direction: column; gap: 4px; width: 100%; justify-content: center; }
.nav-close { display: none; justify-content: flex-end; padding: 10px 0; }
.btn-close-menu { background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; padding: 5px 10px; }
.tabs-top { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; padding-left: 35px; }
.tab-link { display: inline-block; padding: 5px 12px; color: rgba(255,255,255,0.85) !important; text-decoration: none; font-size: 1.1em !important; font-weight: 600; background: none !important; border: 0px !important; cursor: pointer; transition: all 0.2s; white-space: nowrap; border-radius: 0px !important; }
.tab-link:hover { background: #0005 !important; color: #fff !important; border-radius: 10px !important; }
.tab-link.active { background: rgba(255,255,255,0.15) !important; color: #fff !important; border-radius: 10px !important; }
.tab-link.active:hover { background: rgba(255,255,255,0.3) !important; }
.tab-link .tab-count { font-weight: 400; font-size: 10px; opacity: 0.7; padding-left: 5px; margin-top: -10px; }
.tab-divider { color: rgba(255,255,255,0.15); font-size: 14px; }

/* Выпадающее подменю */
.tabs-bottom {
	display: none !important; position: absolute !important; top: 100% !important;
	left: calc(-1 * clamp(10px, 3.33333vw, 30px)) !important;
	width: calc(100% + 2 * clamp(10px, 3.33333vw, 30px)) !important;
	max-width: none !important; margin: 0 !important; padding: 8px 20px !important;
	background: #27293d !important; border-top: 1px solid rgba(255,255,255,0.1) !important;
	border-bottom: 1px solid rgba(255,255,255,0.1) !important; min-height: 45px !important;
	height: auto !important; z-index: 9998 !important; box-sizing: border-box !important;
	backdrop-filter: blur(4px) !important; -webkit-backdrop-filter: blur(4px) !important;
	align-items: center !important; justify-content: flex-start !important;
}
.tabs-bottom.active { display: flex !important; }
.tabs-bottom .tab-panel { display: none !important; align-items: center; gap: 6px; flex-wrap: wrap; width: 100%; max-width: 1500px; margin: 0 auto !important; padding: 0 20px !important; justify-content: flex-start !important; }
.tabs-bottom .tab-panel.active { display: flex !important; }
.tabs-bottom .sub-link { display: inline-block; padding: 4px 14px !important; color: rgba(255,255,255,0.85) !important; text-decoration: none; font-size: 13px !important; border: none !important; background: rgba(255,255,255,0.08) !important; cursor: pointer; transition: all 0.2s; white-space: nowrap; border-radius: 4px !important; height: 30px !important; line-height: 20px !important; }
.tabs-bottom .sub-link:hover { background: rgba(255,255,255,0.25) !important; color: #fff !important; }
.tabs-bottom .sub-link .sub-count { font-weight: 300; font-size: 10px; opacity: 0.6; padding-left: 3px; }
.tabs-bottom .sub-link:hover::before { content: "👉"; margin-right: 4px; display: inline-block; font-size: 10px; }

/* Блок с иконками справа */
.header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 5px; margin-left: auto; }

/* Адаптивность шапки */
@media (max-width:992px) {
	.header-inner { min-height: 70px; align-items: center; }
	.logo { flex: 0 0 200px; height: 70px; }
	.logo img { width: 200px; height: 70px; }
	.tabs-top { justify-content: center; padding-left: 0; }
	.tabs-bottom { height: auto !important; min-height: 40px !important; padding: 6px 15px !important; }
	.tabs-bottom .tab-panel { padding: 0 15px !important; justify-content: center !important; }
	.tabs-bottom .sub-link { font-size: 12px !important; height: 28px !important; line-height: 18px !important; padding: 3px 10px !important; }
	.search-wrap { padding: 0 15px !important; }
	.search-input input { font-size: 15px !important; height: 46px !important; }
	.search-btn { height: 46px !important; font-size: 17px !important; }
	.search-close { font-size: 26px !important; height: 46px !important; }
}
@media (max-width:768px) {
	.header-inner { flex-wrap: wrap; padding: 0 10px; gap: 10px; min-height: 60px; }
	.logo { flex: 0 0 160px; height: 60px; }
	.logo img { width: 160px; height: 60px; }
	.nav { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(39,119,167,0.98); padding: 20px; overflow-y: auto; z-index: 999; }
	.nav.open { display: flex; align-items: flex-start; }
	.nav-close { display: flex; }
	.nav-inner { gap: 10px; }
	.tabs-top { flex-direction: column; align-items: stretch; gap: 3px; padding-left: 0; }
	.tab-link { padding: 8px 14px; font-size: 14px; text-align: center; }
	.tab-divider { display: none; }
	.tabs-bottom { position: relative !important; top: 0 !important; height: auto !important; min-height: 36px !important; padding: 4px 10px !important; backdrop-filter: none !important; }
	.tabs-bottom .tab-panel { padding: 0 10px !important; justify-content: center !important; gap: 4px; }
	.tabs-bottom .sub-link { font-size: 11px !important; height: 26px !important; line-height: 16px !important; padding: 3px 8px !important; }
	.menu-toggle { display: flex; }
	.btn-icon { height: 36px; width: 36px; }
	.header-actions { margin-left: auto; }
	.search-wrap { padding: 0 12px !important; }
	.search-input { max-width: calc(100% - 50px) !important; }
	.search-input input { font-size: 14px !important; height: 44px !important; padding: 10px 14px !important; }
	.search-btn { height: 44px !important; font-size: 16px !important; padding: 10px 14px !important; }
	.search-close { font-size: 24px !important; height: 44px !important; margin-left: 8px !important; padding: 5px 8px !important; }
}
@media (max-width:480px) {
	.logo { flex: 0 0 120px; height: 50px; }
	.logo img { width: 120px; height: 50px; }
	.btn-icon { height: 32px; width: 32px; }
	.tab-link { font-size: 12px; padding: 6px 10px; }
	.tabs-bottom .sub-link { font-size: 10px !important; height: 24px !important; line-height: 14px !important; padding: 2px 6px !important; }
	.search-wrap { padding: 0 10px !important; }
	.search-input { max-width: calc(100% - 44px) !important; }
	.search-input input { font-size: 13px !important; padding: 8px 12px !important; height: 40px !important; }
	.search-btn { height: 40px !important; font-size: 14px !important; padding: 8px 12px !important; }
	.search-close { font-size: 20px !important; height: 40px !important; margin-left: 6px !important; padding: 5px 6px !important; }
}

/* =========================================
   4. ПОДВАЛ (FOOTER)
   ========================================= */
.footer {
	background-color:#27293d;
	margin-top:40px;
	color:var(--color-white)
}
.footer__header {
	padding-top:15px;
	padding-bottom:15px;
	border-bottom:1px solid var(--color-white-2);
	font-size:1.1rem
}
.footer__header a {
	display:-webkit-inline-box;
	display:-ms-inline-flexbox;
	display:inline-flex;
	-webkit-box-align:center;
	-ms-flex-align:center;
	align-items:center;
	margin-right:20px;
	color:var(--color-white);
	text-decoration:none
}
.footer__header a:not(:hover) span {
	text-decoration:underline
}
.footer__header a .icon {
	font-size:1.2rem;
	margin-right:7px
}
.footer__menu {
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex
}
.f-men {
	margin-top:7px
}
.f-men a {
	color:var(--color-white)
}
.f-men a:hover, .foopoco p a:hover {
	text-decoration:none
}
.f-men__header {
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	-webkit-box-align:center;
	-ms-flex-align:center;
	align-items:center;
	text-transform:uppercase;
	font-weight:600;
	padding:10px 0;
	margin-bottom:10px;
	position:relative
}
.f-men__header .icon {
	font-size:1.6rem;
	margin-right:7px;
	width:25px;
	text-align:center
}
.f-men__header .icon-link {
	-webkit-transform:rotate(-45deg);
	transform:rotate(-45deg)
}
.f-men__header::before {
	content:"";
	display:block;
	position:absolute;
	bottom:0;
	right:0;
	height:0;
	border-bottom:1px dashed var(--color-white);
	width:calc(100% - 32px)
}
.f-men__content p {
	margin-top:3px;
	padding-left:32px
}
.footer__socseti>div {
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	-webkit-box-pack:center;
	-ms-flex-pack:center;
	justify-content:center;
	gap:20px;
	margin-top:30px
}
.footer__socseti>div a {
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	-webkit-box-pack:center;
	-ms-flex-pack:center;
	justify-content:center;
	-webkit-box-align:center;
	-ms-flex-align:center;
	align-items:center;
	width:40px;
	height:40px;
	border-radius:50%;
	border:2px solid var(--color-white-2);
	color:var(--color-white-2);
	text-decoration:none
}
.footer__socseti>div a:hover,.footer__socseti>div a:focus-visible {
	border:2px solid var(--color-white);
	color:var(--color-white)
}
@media(max-width:991.98px) {
	.footer__menu {
		-webkit-box-orient:vertical;
		-webkit-box-direction:normal;
		-ms-flex-direction:column;
		flex-direction:column
	}
	.f-men {
		width:100%
	}
}
@media(min-width:992px) {
	.footer__menu {
		-webkit-box-pack:justify;
		-ms-flex-pack:justify;
		justify-content:space-between;
		gap:60px
	}
	.f-men {
		width:calc((100% - 120px)/3)
	}
}
.footer__copyright {
	padding-top:10px;
	padding-bottom:10px;
	margin-top:25px;
	font-size:.93rem;
	background-color:#0005
}
.footer__copyright>div {
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	-webkit-box-pack:justify;
	-ms-flex-pack:justify;
	justify-content:space-between;
	-webkit-box-align:center;
	-ms-flex-align:center;
	align-items:center
}
.foopoco p a {
	margin-right: 10px;
	color: var(--color-white);
}
.schet__title {
	text-align: center;
}

/* Адаптивность футера */
@media(max-width:991.98px) {
	.footer__menu {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
	}
	.f-men {
		width: 100%;
	}
}
@media(min-width:992px) {
	.footer__menu {
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
		gap: 60px;
	}
	.f-men {
		width: calc((100% - 120px)/3);
	}
}

/* доп стили из основного шаблона */

.main {
	-webkit-box-flex:1;
	-ms-flex-positive:1;
	flex-grow:1
}
@media(max-width:991.98px) {
	.main {
		margin-top:clamp(90px,11.11111vw,100px)
	}
}
@media(min-width:992px) {
	.main {
		margin-top:130px
	}
}

.footer>*,.main,.header {
	padding-left:clamp(10px,3.33333vw,30px);
	padding-right:clamp(10px,3.33333vw,30px)
}
.footer>*>*,.main>*,.header>* {
	width:100%;
	max-width:1500px;
	margin-left:auto;
	margin-right:auto
}

@media(max-width:1199.98px) {
	.header>div {
		height:70px
	}
	.logo {
		width:calc(100% - 10px - 50px - 10px - 50px - 10px - 50px)
	}
	.logo a {
		width:100%;
		max-width:320px
	}
}
@media(min-width:1200px) {
	.header>div {
		height:100px;
		-webkit-transition:height .2s ease;
		transition:height .2s ease
	}
	.scrolled .header>div {
		height:70px
	}
	.btn-nav.btn-menu {
		display:none
	}
	.logo {
		width:280px
	}
	.logo a {
		width:100%
	}
}
.nav>div {
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	gap:8px
}
.nav>div a {
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	-webkit-box-align:center;
	-ms-flex-align:center;
	align-items:center;
	background-color:var(--grey-89);
	height:36px;
	border-radius:10px;
	text-decoration:none;
	color:var(--black);
	font-size:.93rem;
	-webkit-transition:background-color .3s ease;
	transition:background-color .3s ease;
	border:1px solid var(--border);
	padding:0 8px
}
.nav>div a span {
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis
}
.nav>div a img {
	display:block;
	height:20px;
	width:20px;
	margin-right:5px;
	-o-object-fit:cover;
	object-fit:cover;
	-o-object-position:50% 50%;
	object-position:50% 50%;
	overflow:hidden
}
.nav>div a img+span {
	width:calc(100% - 30px - 7px)
}
.nav>div a:hover,.nav>div a:focus-visible {
	background-color:var(--white)
}


/* =========================================================
   НОВЫЙ ФУТЕР (.ft) — ДОБАВЛЕН В КОНЕЦ, НИЧЕГО ВЫШЕ НЕ МЕНЯЛОСЬ
   ========================================================= */
.ft{
	--ft-line:rgba(255,255,255,.1);
	--ft-text:rgba(255,255,255,.85);
	--ft-muted:rgba(255,255,255,.6);
	--ft-acc:#6ea8f0;
	margin-top:50px;color:var(--ft-text);
	background:repeating-linear-gradient(135deg,rgba(255,255,255,.025) 0 1px,transparent 1px 12px),linear-gradient(180deg,#2e3147 0%,#27293d 30%,#1c1e2d 100%);
	font-family:"NotoSans","Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.55
}
.ft *{box-sizing:border-box}
.ft p{margin:0}
.ft ul{margin:0;padding:0;list-style:none}
.ft a{color:var(--ft-text);text-decoration:none;transition:color .15s}
.ft a:hover,.ft a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:3px}
.ft :focus-visible{outline:2px solid var(--ft-acc);outline-offset:2px;border-radius:4px}
.ft-in{max-width:1500px;margin:0 auto;padding:0 clamp(14px,3vw,30px)}

.ft-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:26px 0 22px!important;border-bottom:1px solid var(--ft-line)}
.ft-trust li{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.05);border:1px solid var(--ft-line)}
.ft-trust i{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:rgba(110,168,240,.15);color:var(--ft-acc)}
.ft-trust svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ft-trust b{display:block;color:#fff;font-size:14.5px}
.ft-trust span{font-size:12.5px;color:var(--ft-muted)}

.ft-main{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(4,minmax(0,1fr));gap:30px;padding-top:30px;padding-bottom:30px}
.ft-logo{display:inline-block;margin-bottom:12px}
.ft-logo img{display:block;width:220px;height:auto}
.ft-about{margin-bottom:12px!important;color:var(--ft-muted);max-width:42ch}
.ft-links{display:flex;flex-wrap:wrap;gap:4px 18px;margin-bottom:16px!important}
.ft-links a{display:inline-flex;align-items:center;gap:7px;padding:4px 0;font-weight:600}
.ft-links svg{flex:none;width:16px;height:16px;fill:none;stroke:var(--ft-acc);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ft-soc{display:flex;gap:10px}
.ft-soc a{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:rgba(255,255,255,.07);border:1px solid var(--ft-line);transition:background .2s,transform .2s}
.ft-soc a:hover{background:var(--ft-acc);transform:translateY(-2px);text-decoration:none}
.ft-soc svg{width:20px;height:20px;fill:currentColor}

.ft-h{display:flex;align-items:center;gap:8px;margin:0 0 12px!important;padding-bottom:10px;border-bottom:1px dashed var(--ft-line);color:#fff;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.ft-h::before{content:"";flex:none;width:4px;height:14px;border-radius:2px;background:var(--ft-acc)}
.ft-col li a{display:block;padding:6px 0}
.ft-col .ext::after{content:" ↗";font-size:11px;color:var(--ft-muted)}

.ft-bottom{background:rgba(0,0,0,.28);border-top:1px solid var(--ft-line)}
.ft-bottom .ft-in{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;padding-top:16px;padding-bottom:16px}
.ft-copy{flex:1 1 320px;color:var(--ft-muted);font-size:13px}
.ft-copy b{color:#fff}
.ft-legal{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:6px!important}
.ft-legal a{display:inline-block;padding:4px 0;font-size:13px;color:var(--ft-muted)}
.ft-meta{display:flex;align-items:center;gap:14px}
.ft-counters{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:88px;min-height:31px}
.ft-counters__title{font-size:12px;color:var(--ft-muted)}
.ft-counters img{display:block;width:88px;height:31px;border:0}
.ft-top{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:12px;background:rgba(255,255,255,.08);color:#fff;cursor:pointer;transition:background .2s,transform .2s}
.ft-top:hover{background:var(--ft-acc);transform:translateY(-2px)}
.ft-top svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

@media(max-width:1200px){
	.ft-main{grid-template-columns:repeat(4,minmax(0,1fr))}
	.ft-brand{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 30px;align-items:start}
	.ft-brand > .ft-logo{grid-row:1/4}
}
@media(max-width:900px){
	.ft-trust{grid-template-columns:repeat(2,minmax(0,1fr))}
	.ft-main{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
	.ft-brand{display:block}
	.ft-logo img{width:180px}
}
@media(max-width:480px){
	.ft-trust,.ft-main{grid-template-columns:1fr}
	.ft-bottom .ft-in{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){.ft *{transition:none!important}}