/**
 * Site-wide CTA above the footer.
 */

.a2z-site-cta {
	--a2z-cta-green: #008751;
	--a2z-cta-green-dark: #006b40;
	--a2z-cta-lime: #00ff85;

	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin: 0;
	padding: 56px 0;
	color: #fff;
	background:
		radial-gradient(ellipse 80% 120% at 12% 20%, rgba(0, 255, 133, 0.16), transparent 55%),
		radial-gradient(ellipse 70% 100% at 88% 80%, rgba(0, 135, 81, 0.35), transparent 50%),
		linear-gradient(135deg, #161428 0%, #1f1c38 48%, #143528 100%);
}

.a2z-site-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
	pointer-events: none;
}

.a2z-site-cta__bg {
	display: none;
}

.a2z-site-cta.has-bg-image .a2z-site-cta__bg {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 0;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.a2z-site-cta.has-bg-image::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(90deg, rgba(14, 12, 28, 0.88) 0%, rgba(14, 12, 28, 0.72) 55%, rgba(14, 12, 28, 0.55) 100%);
	pointer-events: none;
}

.a2z-site-cta.has-bg-image {
	background: #0e0c1c;
}

.a2z-site-cta.has-bg-image::before {
	z-index: 1;
	opacity: 0.35;
}

.a2z-site-cta__inner {
	position: relative;
	z-index: 1;
	width: min(1100px, calc(100% - 40px));
	margin: 0 auto;
}

.a2z-site-cta__content {
	max-width: 720px;
}

.a2z-site-cta__eyebrow {
	margin: 0 0 12px;
	color: var(--a2z-cta-lime);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.2;
	text-transform: uppercase;
}

.a2z-site-cta__heading {
	margin: 0 0 14px;
	color: #fff;
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.a2z-site-cta__text {
	margin: 0 0 28px;
	max-width: 58ch;
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(15px, 1.5vw, 18px);
	font-weight: 400;
	line-height: 1.55;
}

.a2z-site-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.a2z-site-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.a2z-site-cta__btn--primary {
	border: 2px solid var(--a2z-cta-green);
	background: var(--a2z-cta-green);
	color: #fff !important;
}

.a2z-site-cta__btn--primary:hover,
.a2z-site-cta__btn--primary:focus {
	background: var(--a2z-cta-green-dark);
	border-color: var(--a2z-cta-green-dark);
	color: #fff !important;
	transform: translateY(-1px);
	outline: none;
}

.a2z-site-cta__btn--ghost {
	border: 2px solid rgba(255, 255, 255, 0.45);
	background: transparent;
	color: #fff !important;
}

.a2z-site-cta__btn--ghost:hover,
.a2z-site-cta__btn--ghost:focus {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
	color: #fff !important;
	transform: translateY(-1px);
	outline: none;
}

@media (max-width: 575px) {
	.a2z-site-cta {
		padding: 40px 0;
	}

	.a2z-site-cta__inner {
		width: calc(100% - 32px);
	}

	.a2z-site-cta__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.a2z-site-cta__btn {
		width: 100%;
	}
}
