/* Site footer — mobile first, tablet, desktop */

.site-footer {
	background: #f0f3f8;
	color: #1c212f;
	margin-top: 40px;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
	box-sizing: border-box;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__inner {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 40px 16px 20px;
}

.site-footer__brand-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	margin-bottom: 32px;
}

.site-footer__logo {
	display: inline-flex;
}

.site-footer__logo img {
	display: block;
	width: 156px;
	height: 100%;
	max-height: 30px;
	min-height: 30px;
	max-width: none;
}

.site-footer__social {
	display: flex;
	align-items: center;
	gap: 8px;
}

.site-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
}

.site-footer__social-link:hover {
	background: #010852;
	border-color: #010852;
	color: #fff;
	transform: translateY(-2px);
}

.site-footer__social-link img {
	display: block;
	width: 20px;
	height: 20px;
}

.site-footer__social-link:hover img {
	filter: brightness(0) invert(1);
}

.site-footer__columns {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.site-footer__heading {
	margin: 0 0 16px;
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: 1.68px;
	text-transform: uppercase;
	color: #1c212f;
}

.site-footer__disclaimer {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: #1c212f;
}

.site-footer__link-list {
	border-top: 1px solid #d5dce8;
}

.site-footer__link {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 12px 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	color: #010852;
	justify-content: space-between;
	gap: 12px;
	position: relative;
}

.site-footer__link:hover {
	color: #077BC0;
	padding-left: 8px;
	transition: all 0.2s cubic-bezier(.16, 1, .3, 1);
}

.site-footer__copyright {
	margin: 32px 0 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: #1c212f;
}

.site-footer .site-footer__inner a.social_icons.google_icon {
	background: url(/images/google_source.png);
	background-repeat: no-repeat;
	height: 65px;
	width: 200px;
	margin: 16px 0px 0px;
	color: transparent;
	background-size: contain;
	display: inline-block;
}

.f-pref-sdk-banner .cmp-modal {
	max-height: calc(100vh - 240px);
}

.f-pref-sdk-banner.cmp-body {
	z-index: 99999;
}

/* Tablet */
@media (min-width: 768px) {
	.site-footer__inner {
		padding: 48px 16px 20px;
	}

	.site-footer__brand-row {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		margin-bottom: 0px;
		padding-bottom: 32px;
	}

	.site-footer__columns {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 32px 40px;
	}

	.site-footer__col--disclaimer {
		grid-column: 1 / -1;
	}

	.site-footer__disclaimer {
		line-height: 24px;
		max-width: 666px;
	}

	.site-footer__link {
		font-weight: 600;
		min-height: auto;
		padding: 16px 0;
		border-bottom: 1px solid #d5dce8;
	}

	.site-footer__link-list li:last-child .site-footer__link {
		border-bottom: 0;
	}

	.site-footer__copyright {
		margin-top: 40px;
		padding-top: 20px;
		border-top: 1px solid #d5dce8;
		line-height: 24px;
	}
}

/* Desktop */
@media (min-width: 1024px) {
	.site-footer {
		margin-top: 100px;
	}

	.site-footer__brand-row {
		padding-top: 48px;
	}

	.site-footer__copyright {
		padding-bottom: 20px;
	}

	.site-footer__columns {
		grid-template-columns: minmax(280px, 420px) minmax(280px, 480px) minmax(240px, 350px);
		gap: 40px;
		padding-bottom: 0;
	}

	.site-footer__col--disclaimer {
		grid-column: auto;
	}

	.site-footer__link-list--about {
		display: flex;
		flex-wrap: wrap;
		gap: 0 20px;
	}

	.site-footer__link-list--about li {
		width: calc(50% - 10px);
	}

	.site-footer__link-list--about .site-footer__link {
		width: 100%;
	}

	.site-footer__link-list--about li:nth-last-child(-n + 2) .site-footer__link {
		border-bottom: 0;
	}

}

@media (min-width: 1200px) {
	.f-pref-sdk-banner .cmp-modal {
		max-height: calc(100vh - 190px);
	}
}

/* Move to top - fixed FAB, shown after 25% page scroll */
.move-to-top {
	position: fixed;
	right: 24px;
	bottom: 32px;
	z-index: 1000;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	margin: 0;
	border: 0;
	background: #010852;
	color: #fff;
	cursor: pointer;
	box-shadow: 0 12px 28px -12px #010852;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition:
		opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1),
		visibility 0.2s,
		transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
		background-color 0.15s ease;
}

.move-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

/* Pressed blue on all devices (mobile tap + desktop click). */
.move-to-top:active,
.move-to-top.is-pressed {
	background: #077bc0;
	transform: translateY(0);
}

/* Hover only where a real mouse hover exists — no sticky blue after touch. */
@media (hover: hover) and (pointer: fine) {
	.move-to-top:hover {
		background: #077bc0;
		transform: translateY(-2px);
	}

	.move-to-top:hover:active {
		transform: translateY(0);
	}
}

.move-to-top:focus {
	outline: none;
}

.move-to-top:focus-visible {
	outline: 2px solid #077bc0;
	outline-offset: 3px;
}

.move-to-top img {
	display: block;
	width: 24px;
	height: 24px;
	pointer-events: none;
	transform: rotate(-90deg);
	filter: brightness(0) invert(1);
}

@media (max-width: 767px) {
	.move-to-top {
		right: 16px;
		bottom: 16px;
		width: 48px;
		height: 48px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.move-to-top {
		transition: none;
		transform: none;
	}
}

@media (min-width: 1366px) {
	.site-footer__inner {
		padding: 0;
	}
}