/* Footer */

.ws-footer {
	position: relative;
	background: var(--ws-black);
	color: var(--ws-white);
	padding-top: clamp(40px, 6vw, 64px);
}

.ws-footer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: clamp(28px, 4vw, 40px);
}

.ws-footer-branding .custom-logo-link,
.ws-footer-branding .ws-logo {
	color: var(--ws-white);
	text-decoration: none;
}

.ws-logo--light,
.ws-logo--light .ws-logo-mark {
	color: var(--ws-white);
}

.ws-footer-nav-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(16px, 3vw, 36px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.ws-footer-nav-list a {
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--ws-white);
	transition: opacity 0.25s ease;
}

.ws-footer-nav-list a:hover,
.ws-footer-nav-list .current-menu-item a {
	opacity: 0.65;
}

.ws-footer-nav-list .current-menu-item a {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ws-footer-divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.12);
	margin-bottom: clamp(32px, 5vw, 48px);
}

.ws-footer-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 48px);
	padding-bottom: clamp(48px, 8vw, 80px);
}

.ws-footer-address,
.ws-footer-copy,
.ws-footer-subscribe-light {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.55);
	white-space: pre-line;
}

.ws-footer-copy {
	margin-top: clamp(24px, 4vw, 40px);
}

.ws-footer-phone {
	display: block;
	margin: 0 0 8px;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--ws-white);
	text-decoration: none;
}

.ws-footer-email {
	display: inline-block;
	font-size: 0.875rem;
	color: var(--ws-white);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ws-footer-subscribe-bold {
	margin: 4px 0 20px;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--ws-white);
}

.ws-footer-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ws-footer-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--ws-white);
	text-decoration: none;
	transition: border-color 0.25s ease, opacity 0.25s ease;
}

.ws-footer-social-link:hover {
	border-color: rgba(255, 255, 255, 0.5);
	opacity: 0.85;
}

/* Bottom area: back to top + ticker */
.ws-footer-bottom {
	position: relative;
}

.ws-back-to-top {
	position: fixed;
	right: clamp(16px, 2.5vw, 28px);
	bottom: clamp(20px, 3vw, 32px);
	z-index: 9990;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--ws-black);
	color: var(--ws-white);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	cursor: pointer;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.ws-back-to-top:hover,
.ws-back-to-top:focus-visible {
	opacity: 0.88;
	transform: translateY(-2px);
}

.ws-footer-ticker {
	overflow: hidden;
	padding: clamp(8px, 2vw, 16px) 0 clamp(12px, 3vw, 24px);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ws-footer-ticker-track {
	display: flex;
	width: max-content;
	animation: ws-footer-ticker-scroll var(--ws-footer-ticker-duration, 45s) linear infinite;
	will-change: transform;
}

.ws-footer-ticker-set {
	display: flex;
	flex-shrink: 0;
}

.ws-footer-ticker-word {
	display: inline-block;
	padding: 0 clamp(24px, 4vw, 56px);
	font-size: clamp(3.5rem, 12vw, 8rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.04em;
	text-transform: uppercase;
	color: var(--ws-white);
	white-space: nowrap;
}

@keyframes ws-footer-ticker-scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* Mobile */
@media (max-width: 1023px) {
	.ws-footer-top {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.ws-footer-nav-list {
		justify-content: center;
	}

	.ws-footer-grid {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 32px;
		padding-bottom: 56px;
	}

	.ws-footer-col--social {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.ws-footer-socials {
		justify-content: center;
	}

	.ws-footer-copy {
		margin-top: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ws-footer-ticker-track {
		animation: none;
		flex-wrap: wrap;
		width: 100%;
		justify-content: center;
	}

	.ws-footer-ticker-set[aria-hidden='true'] {
		display: none;
	}

	html {
		scroll-behavior: auto;
	}
}

html {
	scroll-behavior: smooth;
}
