/**
 * CTA Banner – frontend styles
 */

.oc-cta-banner {
	--oc-cta-box: #6b7a67;
	--oc-cta-text: #ffffff;
	--oc-cta-frame: rgba(255, 255, 255, 0.85);
	position: relative;
	isolation: isolate;
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	min-height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #d8d2c8;
}

.oc-cta-banner.is-boxed {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
}

.oc-cta-banner *,
.oc-cta-banner *::before,
.oc-cta-banner *::after {
	box-sizing: border-box;
}

.oc-cta-banner__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	pointer-events: none;
}

.oc-cta-banner__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.oc-cta-banner__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 56px 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.oc-cta-banner.is-boxed .oc-cta-banner__inner {
	max-width: none;
}

.oc-cta-banner__box {
	position: relative;
	width: 100%;
	max-width: 720px;
	background-color: var(--oc-cta-box);
	color: var(--oc-cta-text);
	text-align: center;
	padding: 56px 48px;
	overflow: hidden;
}

.oc-cta-banner__box-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-repeat: repeat;
	background-size: auto;
	background-position: center center;
	pointer-events: none;
	opacity: 0.35;
}

.oc-cta-banner__frame {
	position: absolute;
	inset: 14px;
	border: 1px solid var(--oc-cta-frame);
	pointer-events: none;
	z-index: 0;
}

.oc-cta-banner__frame::before {
	content: "";
	position: absolute;
	inset: 4px;
	border: 1px solid var(--oc-cta-frame);
	opacity: 0.7;
}

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

.oc-cta-banner__heading {
	margin: 0 0 18px;
	color: var(--oc-cta-text);
	font-size: clamp(2rem, 3.6vw, 3rem);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.oc-cta-banner__subheading {
	margin: 0 0 32px;
	color: var(--oc-cta-text);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	line-height: 1.4;
}

.oc-cta-banner__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-align: center;
	text-decoration: none;
	background-color: #ffffff;
	color: #1a1a1a;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.3;
	border: 1px solid #1a1a1a;
	border-radius: 0;
	box-shadow: 0 3px 0 #1a1a1a;
	padding: 14px 26px;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.oc-cta-banner__btn:hover,
.oc-cta-banner__btn:focus {
	background-color: #f7f5f0;
	color: #1a1a1a;
	text-decoration: none;
}

.oc-cta-banner__diamond {
	display: inline-block;
	font-size: 8px;
	line-height: 1;
	color: #1a1a1a;
	transform: translateY(-0.05em);
	flex-shrink: 0;
}

.oc-cta-banner__btn-text {
	display: inline-block;
}

@media (max-width: 768px) {
	.oc-cta-banner {
		min-height: 360px;
	}

	.oc-cta-banner__inner {
		padding: 40px 20px;
	}

	.oc-cta-banner__box {
		padding: 40px 28px;
	}

	.oc-cta-banner__frame {
		inset: 10px;
	}

	.oc-cta-banner__btn {
		gap: 10px;
		padding: 13px 18px;
		width: 100%;
		max-width: 100%;
	}
}
