/* =========================================================================
   Boyle Built — CTA Banner

   Same full-bleed image-with-overlay pattern as the Hero (hero.css):
   fixed-height section, absolutely-positioned background image + dark
   overlay, centered content column. Layout responds via CSS only across
   the three agreed breakpoints (0–600 / 601–1024 / 1025+).
   ========================================================================= */

.cta-banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	width: 100%;
}

.cta-banner__media {
	position: absolute;
	inset: 0;
}

.cta-banner__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.cta-banner__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(13, 21, 16, 0.72);
}

.cta-banner__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.cta-banner__eyebrow {
	margin: 0;
	color: var(--color-gold);
	font-family: var(--font-body);
	font-weight: 800;
	text-transform: uppercase;
}

.cta-banner__heading {
	margin: 0;
	color: var(--color-text-light);
	font-family: var(--font-display);
	font-weight: 400;
}

.cta-banner__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-primary-green);
	color: var(--color-text-light);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 11px;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: var(--radius-button);
	white-space: nowrap;
}

.cta-banner__button:focus-visible {
	outline: 2px solid var(--color-text-light);
	outline-offset: 2px;
}

/* -------------------------------------------------------------------------
   Mobile (0–600px)
   ------------------------------------------------------------------------- */

.cta-banner {
	height: 307px;
}

.cta-banner__content {
	gap: 16px;
	padding: 0 16px;
	max-width: 100%;
}

.cta-banner__eyebrow {
	font-size: 10px;
}

.cta-banner__heading {
	font-size: 28px;
	line-height: 1.25;
}

.cta-banner__button {
	padding: 12px 24px;
}

/* -------------------------------------------------------------------------
   Tablet (601–1024px)
   ------------------------------------------------------------------------- */

@media (min-width: 601px) {
	.cta-banner {
		height: 363px;
	}

	.cta-banner__content {
		gap: 20px;
		padding: 0 48px;
		max-width: 600px;
	}

	.cta-banner__eyebrow {
		font-size: 11px;
	}

	.cta-banner__heading {
		font-size: 36px;
		line-height: 1.2;
	}

	.cta-banner__button {
		padding: 13px 32px;
	}
}

/* -------------------------------------------------------------------------
   Desktop (1025px+)
   ------------------------------------------------------------------------- */

@media (min-width: 1025px) {
	.cta-banner {
		height: 400px;
	}

	.cta-banner__content {
		gap: 28px;
		padding: 0 120px;
		max-width: 820px;
	}

	.cta-banner__eyebrow {
		font-size: 12px;
	}

	.cta-banner__heading {
		font-size: 48px;
		line-height: 1.15;
	}

	.cta-banner__button {
		padding: 15px 40px;
	}
}
