/* Category closing CTA — [bdn_category_cta]. Green card from the demo homepage's closing section. */

.bfi-cta {
	padding: 72px 20px 88px;
	background: #fff;
}
.bfi-cta__card {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding: 80px 40px 76px;
	overflow: hidden;
	border-radius: 28px;
	/* soft light at the top centre + faint dot grid on deep green */
	background:
		radial-gradient(ellipse 55% 60% at 50% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%),
		radial-gradient(circle, rgba(255, 255, 255, .09) 1px, transparent 1.3px) 0 0 / 22px 22px,
		linear-gradient(180deg, #2f6e4c 0%, #2a6445 100%);
	box-shadow: 0 30px 60px rgba(16, 40, 44, .14), 0 8px 18px rgba(16, 40, 44, .08);
	color: #fff;
	text-align: center;
}
.bfi-cta__eyebrow {
	margin: 0 0 18px;
	color: #d7e8c8;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .14em;
	line-height: 1.5;
	text-transform: uppercase;
}
.bfi-cta .bfi-cta__title {
	max-width: 760px;
	margin: 0 auto;
	padding: 0;
	color: #fff;
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.02em;
}
.bfi-cta__hl {
	position: relative;
	display: inline-block;
	white-space: nowrap;
}
.bfi-cta__hl::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -.14em;
	height: .2em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 276 12' preserveAspectRatio='none'%3E%3Cpath d='M2 10C46.1081 3.00787 164.955 -0.876652 274 4.56167' fill='none' stroke='%23FFC400' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.bfi-cta__text {
	max-width: 560px;
	margin: 24px auto 0;
	color: #d9e6dc;
	font-size: 18px;
	line-height: 1.6;
}
.bfi-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 34px;
}
.bfi-cta .bfi-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 12px 26px;
	border: 1px solid transparent;
	border-radius: 100px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.bfi-cta .bfi-cta__btn--primary {
	background: #f8c83e;
	border-color: #f8c83e;
	color: #242820;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}
.bfi-cta .bfi-cta__btn--primary:hover {
	background: #edbb29;
	border-color: #edbb29;
	color: #242820;
	transform: translateY(-1px);
}
.bfi-cta .bfi-cta__btn--secondary {
	background: transparent;
	border-color: rgba(255, 255, 255, .5);
	color: #fff;
}
.bfi-cta .bfi-cta__btn--secondary:hover {
	background: rgba(255, 255, 255, .1);
	border-color: #fff;
	color: #fff;
}
.bfi-cta .bfi-cta__btn:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}
.bfi-cta__icon {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .18s ease;
}
.bfi-cta__btn:hover .bfi-cta__icon {
	transform: translateX(2px);
}
.bfi-cta__note {
	margin: 18px 0 0;
	color: #c4dab1;
	font-size: 14px;
	line-height: 1.5;
}

@media (max-width: 767px) {
	.bfi-cta {
		padding: 48px 16px 56px;
	}
	.bfi-cta__card {
		padding: 52px 22px 48px;
		border-radius: 22px;
	}
	.bfi-cta .bfi-cta__title {
		font-size: clamp(28px, 8vw, 38px);
	}
	.bfi-cta__text {
		font-size: 16px;
	}
	.bfi-cta__actions {
		flex-direction: column;
		align-items: stretch;
	}
	.bfi-cta .bfi-cta__btn {
		width: 100%;
	}
}
@media (prefers-reduced-motion: reduce) {
	.bfi-cta .bfi-cta__btn,
	.bfi-cta__icon {
		transition: none;
	}
}
