/*---*\
Middle CTA Block
Bordered call-to-action with decorative accent, dual buttons, and product image.

KEY FEATURES:
- 2px bordered card with asymmetric corner radii
- Built-in decorative swirl graphic at top-right on desktop
- Content and product image side-by-side on desktop

RESPONSIVE BEHAVIOR:
- Mobile: stacked content above image, full-width buttons
- Tablet: stacked layout with increased typography and padding
- Desktop: side-by-side content and image, decorative graphic in top-right corner

IMPLEMENTATION NOTES:
- Typography scoped under .middle-cta
- Reuses .btn-primary and .btn-secondary from global.css
- Decorative PNG is pre-oriented; do not rotate the asset
\*---*/

.middle-cta {
	padding: 40px 20px;
}

.middle-cta .container-fluid {
	max-width: 1472px;
}

.middle-cta__wrap {
	position: relative;
}

.middle-cta__card {
	position: relative;
	border: 2px solid #353535;
	border-radius:30px;
	padding: 28px 24px;
	overflow: hidden;
}

.middle-cta__deco {
	display: none;
}

.middle-cta__inner {
	display: flex;
	flex-direction: column;
	gap: 28px;
	position: relative;
	z-index: 1;
}

.middle-cta__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.middle-cta__heading {
	color: #353535;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
	padding-bottom: 0;
	text-transform: none;
}

.middle-cta__description {
	color: #353535;
	font-size: 16px;
	line-height: 1.625;
	margin: 0;
}

.middle-cta__actions {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.middle-cta__actions .btn {
	margin: 0;
	width: 100%;
	max-width: 320px;
}

.middle-cta__actions .btn + .btn {
	margin-top: 0;
}

.middle-cta__media {
	width: 100%;
	position: relative;
	z-index: 1;
}

.middle-cta__image {
	width: 100%;
	height: auto;
	object-fit: contain;
	font-family: 'object-fit: contain;';
}

@media (min-width: 768px) {
	.middle-cta {
		padding: 50px 30px;
	}

	.middle-cta__card {
		border-radius: 40px;
		padding: 36px 40px;
	}

	.middle-cta__inner {
		gap: 36px;
	}

	.middle-cta__content {
		gap: 18px;
	}

	.middle-cta__heading {
		font-size: 30px;
		line-height: 1.29;
	}

	.middle-cta__description {
		font-size: 17px;
		line-height: 1.78;
	}

	.middle-cta__actions {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		gap: 22px;
		width: auto;
	}

	.middle-cta__actions .btn {
		width: auto;
		max-width: none;
		flex-shrink: 0;
		white-space: nowrap;
	}
}

@media (min-width: 1200px) {
	.middle-cta {
		padding: 65px 20px;
	}

	.middle-cta__card {
		border-radius: 50px;
		padding: 42px 55px;
	}

	.middle-cta__deco {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		width: 42%;
		max-width: 417px;
		height: 100%;
		z-index: 0;
		pointer-events: none;
		overflow: hidden;
		border-top-right-radius: 50px;
	}

	.middle-cta__deco-image {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: top right;
		font-family: 'object-fit: cover; object-position: top right;';
	}

	.middle-cta__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 48px;
	}

	.middle-cta__content {
		flex: 1 1 0;
		max-width: 649px;
	}

	.middle-cta__heading {
		font-size: 35px;
		line-height: 1.29;
	}

	.middle-cta__description {
		font-size: 18px;
		line-height: 1.78;
	}

	.middle-cta__media {
		flex: 0 0 42%;
		max-width: 595px;
	}

	.middle-cta .btn-primary,
	.middle-cta .btn-secondary {
		padding: 14px 43px 14px;
		font-size: 17px;
		line-height: 1.2;
	}

	.middle-cta .btn-secondary {
		padding-left: 34px;
		padding-right: 34px;
		letter-spacing: 1.6px;
	}
}
