/* TSK Footer — стили как в React Footer.module.css */
.tsk-foot {
	background: linear-gradient(180deg, #1a1a1a 0%, #2b2b2b 100%);
	color: #fff;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	position: relative;
	overflow-x: hidden;
	padding-bottom: 0;
}

.tsk-foot::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 204, 51, 0.5),
		transparent
	);
}

.tsk-foot .tsk-footer-wrapper {
	max-width: 1366px;
	min-width: 0;
	width: 100%;
	margin: auto;
	display: flex;
	flex-direction: column;
	padding: 60px 20px 0;
	position: relative;
	z-index: 1;
	overflow-x: hidden;
	box-sizing: border-box;
}

.tsk-foot .tsk-footWrap {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
	gap: 40px;
	margin-bottom: 40px;
	overflow: visible;
}

.tsk-foot .tsk-footer-column {
	flex: 1 1 auto;
	padding: 0;
	box-sizing: border-box;
	text-align: left;
	position: relative;
	min-width: 0;
	max-width: 100%;
}

/* Логотип и описание */
.tsk-foot .tsk-footLogo {
	margin-bottom: 20px;
	transition: transform 0.3s ease;
}

.tsk-foot .tsk-footLogo:hover {
	transform: translateY(-2px);
}

.tsk-foot .tsk-footLogo img {
	width: auto;
	height: auto;
	max-width: 220px;
	filter: brightness(1.1);
	transition: filter 0.3s ease;
}

.tsk-foot .tsk-footLogo:hover img {
	filter: brightness(1.2);
}

.tsk-foot .tsk-footDesc {
	margin-bottom: 24px;
}

.tsk-foot .tsk-footDesc p {
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
	font-family: "Montserrat", sans-serif;
}

/* Социальные сети */
.tsk-foot .tsk-headLinks {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 20px;
}

.tsk-foot .tsk-headLinks a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.tsk-foot .tsk-headLinks a::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 204, 51, 0.2);
	transform: translate(-50%, -50%);
	transition:
		width 0.3s ease,
		height 0.3s ease;
}

.tsk-foot .tsk-headLinks a:hover::before {
	width: 100%;
	height: 100%;
}

.tsk-foot .tsk-headLinks a:hover {
	background: rgba(255, 204, 51, 0.1);
	border-color: rgba(255, 204, 51, 0.5);
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(255, 204, 51, 0.3);
}

.tsk-foot .tsk-headLinks a img {
	position: relative;
	z-index: 1;
	display: block;
	width: 20px;
	height: 20px;
	min-width: 20px;
	min-height: 20px;
	object-fit: contain;
	object-position: center;
	filter: brightness(0.9);
	transition: filter 0.3s ease;
}

.tsk-foot .tsk-headLinks a:hover img {
	filter: brightness(1.2);
}

/* Дзен — перебиваем глобальное [href^="https://dzen.ru"] { display: none !important } из стилей пользователя/расширений */
.tsk-foot .tsk-headLinks a.tsk-footSocialLink--dzen[href^="https://dzen.ru"],
.tsk-foot .tsk-headLinks .tsk-footSocialLink--dzen {
	display: flex !important;
}
/* Дзен — тёмная иконка, на тёмном фоне подвала делаем ярче */
.tsk-foot .tsk-headLinks .tsk-footSocialLink--dzen img {
	filter: brightness(1.35);
}
.tsk-foot .tsk-headLinks .tsk-footSocialLink--dzen:hover img {
	filter: brightness(1.5);
}

/* Заголовки колонок */
.tsk-foot .tsk-zagH {
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 20px;
	color: #fff;
	position: relative;
	padding-bottom: 12px;
	font-family: "Montserrat", sans-serif;
}

.tsk-foot .tsk-zagH::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	background: linear-gradient(90deg, #ffcc33, transparent);
	transition: width 0.3s ease;
}

.tsk-foot .tsk-footer-column:hover .tsk-zagH::after {
	width: 60px;
}

/* Списки ссылок */
.tsk-foot .tsk-headerList {
	display: flex;
	justify-content: flex-start;
}

.tsk-foot .tsk-headerList ul {
	display: flex;
	flex-direction: column;
	text-align: left;
	list-style-type: none;
	padding: 0;
	margin: 0;
	gap: 12px;
	width: 100%;
}

.tsk-foot .tsk-headerList li {
	margin: 0;
	opacity: 0;
	animation: tsk-fadeInUp 0.5s ease forwards;
}

.tsk-foot .tsk-headerList li:nth-child(1) {
	animation-delay: 0.1s;
}
.tsk-foot .tsk-headerList li:nth-child(2) {
	animation-delay: 0.2s;
}
.tsk-foot .tsk-headerList li:nth-child(3) {
	animation-delay: 0.3s;
}
.tsk-foot .tsk-headerList li:nth-child(4) {
	animation-delay: 0.4s;
}
.tsk-foot .tsk-headerList li:nth-child(5) {
	animation-delay: 0.5s;
}
.tsk-foot .tsk-headerList li:nth-child(6) {
	animation-delay: 0.6s;
}

@keyframes tsk-fadeInUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.tsk-foot .tsk-headerList a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s ease;
	display: inline-block;
	position: relative;
	padding-left: 0;
	font-family: "Montserrat", sans-serif;
}

.tsk-foot .tsk-headerList a::before {
	content: "";
	position: absolute;
	left: -12px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 2px;
	background: #ffcc33;
	transition: width 0.3s ease;
}

.tsk-foot .tsk-headerList a:hover {
	color: #ffcc33;
	padding-left: 12px;
}

.tsk-foot .tsk-headerList a:hover::before {
	width: 6px;
}

/* Контакты */
.tsk-foot .tsk-emal {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	gap: 12px;
}

.tsk-foot .tsk-emal p {
	font-size: 14px;
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
	font-family: "Montserrat", sans-serif;
	transition: color 0.3s ease;
}

.tsk-foot .tsk-emal p:hover {
	color: #ffcc33;
}

.tsk-foot .tsk-emailLink {
	color: #ffcc33;
	text-decoration: none;
	transition: color 0.3s ease;
}

.tsk-foot .tsk-emailLink:hover {
	color: #ffd700;
	text-decoration: underline;
}

.tsk-foot .tsk-offices {
	display: flex;
	gap: 12px;
	margin-top: 16px;
	flex-wrap: wrap;
	max-width: 100%;
	box-sizing: border-box;
}

.tsk-foot .tsk-footer-button {
	position: relative;
}

.tsk-foot .tsk-footer-button button,
.tsk-foot .tsk-footer-button .tsk-footer-link {
	padding: 5px 20px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	color: #1a1a1a;
	background: linear-gradient(135deg, #ffcc33 0%, #ffd700 100%);
	font-weight: 600;
	font-size: 13px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 8px rgba(255, 204, 51, 0.2);
	font-family: "Montserrat", sans-serif;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	display: inline-block;
}

.tsk-foot .tsk-footer-button button::before,
.tsk-foot .tsk-footer-button .tsk-footer-link::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.3),
		transparent
	);
	transition: left 0.5s ease;
}

.tsk-foot .tsk-footer-button button:hover::before,
.tsk-foot .tsk-footer-button .tsk-footer-link:hover::before {
	left: 100%;
}

.tsk-foot .tsk-footer-button button:hover,
.tsk-foot .tsk-footer-button .tsk-footer-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 204, 51, 0.4);
	background: linear-gradient(135deg, #ffd700 0%, #ffcc33 100%);
}

.tsk-foot .tsk-footer-button button:active,
.tsk-foot .tsk-footer-button .tsk-footer-link:active {
	transform: translateY(0);
}

/* Выпадающее меню офис/склад */
.tsk-foot .tsk-dropdownContent {
	position: absolute;
	bottom: calc(100% + 12px);
	left: 0;
	width: 320px;
	max-height: 0;
	background: white;
	border-radius: 12px;
	padding: 0;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	z-index: 1001;
	overflow: hidden;
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid rgba(255, 204, 51, 0.2);
}

.tsk-foot .tsk-dropdownContent.tsk-active {
	max-height: 600px;
	padding: 20px;
	opacity: 1;
	transform: translateY(0);
}

.tsk-foot .tsk-dropdownContent p {
	color: #333;
	font-weight: 600;
	margin-bottom: 16px;
	font-size: 16px;
	font-family: "Montserrat", sans-serif;
}

.tsk-foot .tsk-dropdownContent iframe {
	border-radius: 8px;
	margin-bottom: 16px;
	border: 1px solid #e5e5e5;
}

.tsk-foot .tsk-FooterPoint {
	display: flex;
	flex-direction: column;
	margin-bottom: 16px;
	color: #333;
}

.tsk-foot .tsk-PointFoot {
	font-weight: 600;
	color: #333;
	font-size: 13px;
	margin-top: 8px;
	font-family: "Montserrat", sans-serif;
}

.tsk-foot .tsk-PointFoot:first-child {
	margin-top: 0;
	color: #666;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.tsk-foot .tsk-contactFoot {
	color: #ffcc33;
	border-bottom: 1px dashed #ffcc33;
	display: inline-block;
	font-weight: 600;
	font-size: 13px;
	margin-top: 8px;
	transition: all 0.3s ease;
	font-family: "Montserrat", sans-serif;
}

.tsk-foot .tsk-contactFoot:hover {
	color: #ffd700;
	border-bottom-color: #ffd700;
}

/* Копирайт */
.tsk-foot .tsk-copyRightWrapper {
	width: 100%;
	background: rgba(0, 0, 0, 0.5);
	margin-top: 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tsk-foot .tsk-copyRight {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 40px;
	flex-wrap: wrap;
	gap: 16px;
	max-width: 1366px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.tsk-foot .tsk-copyRight p {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
	font-family: "Montserrat", sans-serif;
}

.tsk-foot .tsk-copyRight p img {
	width: auto;
	height: 30px;
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

.tsk-foot .tsk-copyRight p:hover img {
	opacity: 1;
}

.tsk-foot .tsk-pravaWrapper {
	width: 100%;
	max-width: 100%;
	text-align: center;
	padding: 16px 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	box-sizing: border-box;
	overflow-x: hidden;
}

.tsk-foot .tsk-prava {
	color: rgba(255, 255, 255, 0.5) !important;
	margin: 0;
	font-size: 13px;
	font-family: "Montserrat", sans-serif;
}

.tsk-foot .tsk-legalLinks {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
}

.tsk-foot .tsk-legalLink {
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
	text-decoration: none;
	transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	font-family: "Montserrat", sans-serif;
}

.tsk-foot .tsk-legalLink:hover {
	color: #ffcc33;
}

.tsk-foot .tsk-legalSeparator {
	color: rgba(255, 255, 255, 0.4);
	font-size: 13px;
}

/* Адаптивность */
@media (max-width: 1200px) {
	.tsk-foot .tsk-footWrap {
		grid-template-columns: 2fr 1fr 1fr 1.5fr;
		gap: 30px;
	}
}

@media (max-width: 978px) {
	.tsk-foot .tsk-footer-wrapper {
		padding: 40px 20px 0;
	}

	.tsk-foot .tsk-footWrap {
		grid-template-columns: 1fr 1fr;
		gap: 30px;
		justify-items: start;
	}

	.tsk-foot .tsk-footer-column {
		width: 100%;
	}

	.tsk-foot .tsk-footLogo {
		text-align: center;
	}

	.tsk-foot .tsk-footLogo img {
		margin: 0 auto;
	}

	.tsk-foot .tsk-headLinks {
		justify-content: center;
	}

	.tsk-foot .tsk-zagH {
		text-align: center;
	}

	.tsk-foot .tsk-zagH::after {
		left: 50%;
		transform: translateX(-50%);
	}

	.tsk-foot .tsk-headerList {
		justify-content: center;
	}

	.tsk-foot .tsk-headerList ul {
		text-align: center;
	}

	.tsk-foot .tsk-emal {
		align-items: center;
		text-align: center;
	}

	.tsk-foot .tsk-offices {
		justify-content: center;
		max-width: 100%;
		width: 100%;
	}

	.tsk-foot .tsk-footer-contacts {
		width: 100%;
		max-width: 100%;
	}

	.tsk-foot .tsk-dropdownContent {
		left: 50%;
		right: auto;
		transform: translateX(-50%) translateY(10px);
		width: min(320px, calc(100vw - 40px));
		max-width: calc(100vw - 40px);
	}

	.tsk-foot .tsk-dropdownContent.tsk-active {
		transform: translateX(-50%) translateY(0);
	}

	.tsk-foot .tsk-copyRight {
		flex-direction: column;
		text-align: center;
		padding: 20px;
	}
}

@media (max-width: 768px) {
	.tsk-foot .tsk-footWrap {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.tsk-foot .tsk-footer-column {
		text-align: center;
	}

	.tsk-foot .tsk-zagH {
		text-align: center;
	}

	.tsk-foot .tsk-headerList ul {
		text-align: center;
		align-items: center;
	}

	.tsk-foot .tsk-offices {
		flex-direction: column;
		width: 100%;
		max-width: 100%;
		padding: 0;
		gap: 10px;
	}

	.tsk-foot .tsk-footer-button {
		width: 100%;
		max-width: 100%;
	}

	.tsk-foot .tsk-footer-button button,
	.tsk-foot .tsk-footer-button .tsk-footer-link {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.tsk-foot .tsk-dropdownContent {
		left: 50%;
		right: auto;
		width: min(320px, calc(100vw - 32px));
		max-width: calc(100vw - 32px);
		box-sizing: border-box;
	}

	.tsk-foot {
		padding-bottom: 0px;
	}

	.tsk-foot .tsk-copyRightWrapper {
		padding-bottom: 0;
	}

	.tsk-foot .tsk-pravaWrapper {
		padding-bottom: 20px;
	}
}
