/* Компактный стиль футера - горизонтальная полоса, компактный */
.footer--compact {
	padding: 1rem 0;
	border-top-width: 1px;
	background: var(--footer-bg);
}

.footer--compact .footer__container {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer--compact .footer__content {
	display: flex;
	flex-direction: row;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.footer--compact .footer__copyright {
	font-size: 0.75rem;
	font-weight: 400;
	opacity: 0.7;
	white-space: nowrap;
}

.footer--compact .footer__nav {
	flex: 1;
}

.footer--compact .footer__nav-list {
	justify-content: flex-end;
	gap: 0.75rem;
	flex-wrap: nowrap;
}

.footer--compact .footer__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	position: relative;
}

.footer--compact .footer__icon {
	font-size: 1.25rem;
}

/* Tooltip для иконок */
.footer--compact .footer__link[data-tooltip] {
	position: relative;
}

.footer--compact .footer__link[data-tooltip]::before {
	content: attr(data-tooltip);
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%) translateY(4px);
	background: var(--footer-bg);
	color: var(--footer-text);
	padding: 0.375rem 0.75rem;
	border-radius: 4px;
	font-size: 0.75rem;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s, transform 0.2s;
	border: 1px solid var(--footer-border);
	z-index: 1000;
}

.footer--compact .footer__link[data-tooltip]::after {
	content: '';
	position: absolute;
	bottom: calc(100% + 4px);
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid var(--footer-border);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s;
	z-index: 1001;
}

.footer--compact .footer__link[data-tooltip]:hover::before,
.footer--compact .footer__link[data-tooltip]:hover::after {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.footer--compact .footer__link--button {
	width: auto;
	height: auto;
	padding: 0.5rem 1rem;
	border-radius: 20px;
}

.footer--compact .btn--custom {
	padding: 0.5rem 1rem;
	border-radius: 20px;
}

/* На мобильных показываем иконки */
@media (max-width: 767px) {
	.footer--compact .footer__link[data-tooltip]::before,
	.footer--compact .footer__link[data-tooltip]::after {
		display: none;
	}
	
	.footer--compact .footer__link {
		width: 44px;
		height: 44px;
		padding: 0;
		border-radius: 4px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	
	.footer--compact .footer__icon {
		display: inline-flex;
		font-size: 1.5rem;
	}
}

.footer--compact .footer__content--copyright-links {
	flex-direction: row;
	justify-content: space-between;
}

.footer--compact .footer__content--links-copyright {
	flex-direction: row-reverse;
	justify-content: space-between;
}

.footer--compact .footer__bodytext {
	font-size: 0.75rem;
	opacity: 0.8;
	text-align: center;
	margin-top: 0.5rem;
}

@media (max-width: 767px) {
	.footer--compact .footer__content {
		flex-direction: column;
		gap: 0.75rem;
	}
	
	.footer--compact .footer__content--copyright-links {
		flex-direction: column;
	}
	
	.footer--compact .footer__content--links-copyright {
		flex-direction: column-reverse;
	}
	
	.footer--compact .footer__nav-list {
		justify-content: center;
		flex-wrap: wrap;
	}
}

