/* Premium footer replacement. Every rule is scoped to the footer component. */
.zayro-footer {
	padding: 76px 0 26px;
	background: var(--navy-2);
	color: rgba(255, 255, 255, .72);
}

.zayro-footer .footer-logo-row {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 28px;
}

.zayro-footer .footer-logo-link {
	flex: 0 0 auto;
	display: block;
	width: 132px;
	transition: transform .45s cubic-bezier(.22, 1, .36, 1), filter .45s ease;
}

.zayro-footer .footer-logo-link img {
	width: 100%;
	filter: brightness(0) invert(1);
}

.zayro-footer .footer-logo-divider {
	display: block;
	width: 100%;
	height: 1px;
	background: var(--teal);
	transform: scaleX(0);
	transform-origin: left center;
}

.zayro-footer.is-footer-visible .footer-logo-divider {
	animation: zayro-footer-line 1.15s cubic-bezier(.22, 1, .36, 1) .16s forwards;
}

.zayro-footer .footer-grid {
	display: grid;
	grid-template-columns: 1.45fr 1fr .78fr 1fr;
	gap: clamp(38px, 6vw, 94px);
	align-items: start;
}

.zayro-footer .footer-brand {
	grid-column: auto;
}

.zayro-footer .footer-brand p {
	max-width: 300px;
	margin: 0;
	font-size: 14px;
	line-height: 1.72;
}

.zayro-footer .footer-col h3 {
	margin: 0 0 17px;
	color: var(--teal);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
}

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

.zayro-footer .footer-col li,
.zayro-footer .footer-col p {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.55;
}

.zayro-footer .footer-col a {
	position: relative;
	display: inline-block;
	transition: color .32s ease, transform .38s cubic-bezier(.22, 1, .36, 1);
}

.zayro-footer .footer-col a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 1px;
	background: var(--teal);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .38s cubic-bezier(.22, 1, .36, 1);
}

.zayro-footer .footer-bottom {
	position: relative;
	display: flex;
	justify-content: space-between;
	gap: 30px;
	margin-top: 60px;
	padding-top: 22px;
	border: 0;
	font-size: 12px;
	color: rgba(255, 255, 255, .43);
}

.zayro-footer .footer-bottom::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 1px;
	background: rgba(255, 255, 255, .13);
	transform: scaleX(0);
	transform-origin: left center;
}

.zayro-footer.is-footer-visible .footer-bottom::before {
	animation: zayro-footer-line 1.05s cubic-bezier(.22, 1, .36, 1) .42s forwards;
}

.zayro-footer .footer-logo-row,
.zayro-footer .footer-grid,
.zayro-footer .footer-bottom {
	opacity: 0;
	transform: translate3d(0, 16px, 0);
	transition: opacity .75s ease, transform .85s cubic-bezier(.22, 1, .36, 1);
}

.zayro-footer.is-footer-visible .footer-logo-row,
.zayro-footer.is-footer-visible .footer-grid,
.zayro-footer.is-footer-visible .footer-bottom {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.zayro-footer.is-footer-visible .footer-grid {
	transition-delay: .1s;
}

.zayro-footer.is-footer-visible .footer-bottom {
	transition-delay: .22s;
}

@media (hover: hover) and (pointer: fine) {
	.zayro-footer .footer-logo-link:hover {
		transform: translate3d(0, -3px, 0);
		filter: drop-shadow(0 7px 11px rgba(4, 175, 168, .18));
	}

	.zayro-footer .footer-col a:hover {
		color: #fff;
		transform: translate3d(3px, 0, 0);
	}

	.zayro-footer .footer-col a:hover::after {
		transform: scaleX(1);
	}
}

@keyframes zayro-footer-line {
	to { transform: scaleX(1); }
}

@media (max-width: 900px) {
	.zayro-footer {
		padding-top: 64px;
	}

	.zayro-footer .footer-grid {
		grid-template-columns: 1.35fr 1fr 1fr;
		gap: 44px 36px;
	}

	.zayro-footer .footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.zayro-footer {
		padding: 52px 0 24px;
	}

	.zayro-footer .footer-logo-link {
		width: 116px;
	}

	.zayro-footer .footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.zayro-footer .footer-brand {
		grid-column: auto;
	}

	.zayro-footer .footer-bottom {
		display: block;
		margin-top: 44px;
	}

	.zayro-footer .footer-bottom span {
		display: block;
		margin: 0 0 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.zayro-footer .footer-logo-row,
	.zayro-footer .footer-grid,
	.zayro-footer .footer-bottom {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.zayro-footer .footer-logo-divider,
	.zayro-footer .footer-bottom::before {
		transform: scaleX(1);
		animation: none;
	}

	.zayro-footer .footer-logo-link,
	.zayro-footer .footer-col a,
	.zayro-footer .footer-col a::after {
		transition: none;
	}
}
