/* Классический стиль футера - структурированный с разделителями */
.footer--classic {
	padding: 2.5rem 0;
	border-top-width: 2px;
	background: var(--footer-bg);
}

.footer--classic .footer__container {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.footer--classic .footer__content {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--footer-border);
}

.footer--classic .footer__copyright {
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.footer--classic .footer__nav-list {
	gap: 2rem;
}

.footer--classic .footer__nav-item:not(:last-child)::after {
	content: '|';
	margin-left: 2rem;
	color: var(--footer-border);
	font-weight: 300;
}

.footer--classic .footer__link {
	font-weight: 500;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.footer--classic .footer__link:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.footer--classic .footer__link--button {
	padding: 0.625rem 1.25rem;
	font-weight: 600;
	text-transform: none;
}

.footer--classic .footer__bodytext {
	font-size: 0.875rem;
	line-height: 1.6;
}

/* Для фиксированного классического футера скрываем bodytext до прокрутки до конца */
.footer--classic.footer--fixed .footer__bodytext {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	margin: 0;
	padding: 0;
	transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease, padding 0.4s ease;
}

.footer--classic.footer--fixed .footer__bodytext--collapsed {
	display: none;
}

.footer--classic.footer--fixed .footer__bodytext--expanded {
	max-height: 500px;
	opacity: 1;
	margin: 1rem 0;
	padding: 0;
}

.footer--classic.footer--fixed {
	overflow: visible;
}

.footer--classic.footer--fixed .footer__collapse-toggle {
	position: absolute;
	left: 50%;
	top: 12px;
	transform: translate(-50%, 0);
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.08);
	color: var(--footer-text, #fff);
	font-size: 1.2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 2;
}

.footer--classic.footer--fixed.footer--has-toggle .footer__collapse-toggle {
	opacity: 0.6;
	pointer-events: auto;
}

.footer--classic.footer--fixed.footer--expanded .footer__collapse-toggle {
	top: 50%;
	transform: translate(-50%, -50%);
	opacity: 1;
	animation: footer-toggle-blink 1.5s ease-in-out infinite;
}

.footer__collapse-toggle-icon {
	display: inline-block;
	transition: transform 0.3s ease;
}

.footer__collapse-toggle[aria-expanded="false"] .footer__collapse-toggle-icon {
	transform: rotate(180deg);
}

@keyframes footer-toggle-blink {
	0%,
	100% {
		opacity: 1;
		transform: translate(-50%, -50%);
	}

	50% {
		opacity: 0.4;
		transform: translate(-50%, -54%);
	}
}

.footer--classic .btn--custom {
	padding: 0.625rem 1.25rem;
	font-weight: 600;
	border-radius: 4px;
	text-transform: none;
}

@media (min-width: 768px) {
	.footer--classic .footer__content {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		padding-bottom: 0.15rem;
	}
	
	.footer--classic .footer__nav-item:not(:last-child)::after {
		display: none;
	}
}

