/**
 * Front page: CTA / contact block (BEM: fazis-cta).
 */

.fazis-cta {
	--fazis-cta-navy: rgb(0 16 53);
	--fazis-cta-blue: rgb(35 101 255);
}

.fazis-cta__surface {
	width: 100%;
	min-height: 27.875rem; /* 446px */
	background-color: var(--fazis-cta-navy);
	background-image: url("../images/cta-bg-desktop.webp");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	border-radius: 1rem;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2.25rem 1.5rem;
}

.fazis-cta__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 2.25rem;
	width: 100%;
	max-width: 70.625rem; /* 1130px */
	margin: 0 auto;
	text-align: center;
}

.fazis-cta__title {
	margin: 0;
	color: rgb(255 255 255);
	font-size: clamp(1.25rem, 2vw + 0.75rem, 3rem);
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.fazis-cta__lede {
	margin: 0;
	color: rgb(255 255 255);
	font-size: clamp(1rem, 0.35vw + 0.9rem, 1.25rem);
	line-height: 1.5;
	text-align: center;
}

.fazis-cta__button {
	display: inline-flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	min-height: 3.5rem;
	padding: 0.5rem 2.25rem;
	background-color: var(--fazis-cta-blue);
	color: rgb(255 255 255);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	border-radius: 2.5rem;
	box-sizing: border-box;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.fazis-cta__button:hover,
.fazis-cta__button:focus-visible {
	background-color: rgb(29 84 214);
	color: rgb(255 255 255);
}

.fazis-cta__button:focus-visible {
	outline: 2px solid rgb(255 255 255);
	outline-offset: 3px;
}

@media (max-width: 550px) {
	.fazis-cta__surface {
		min-height: 21.75rem; /* 348px */
		background-image: url("../images/cta-bg-mobile.webp");
		padding: 1.5rem;
	}

	.fazis-cta__content {
		gap: 1.5rem;
		max-width: 21.875rem;
	}

	.fazis-cta__title {
		font-size: 1.25rem;
	}

	.fazis-cta__lede {
		font-size: 1rem;
	}

	.fazis-cta__button {
		min-height: 2.75rem;
		font-size: 1rem;
	}
}
