/* ═══════════════════════════════════════════════════════════════════════
   FCW — Case Studies Preview (fcw-csp)
   Prefix: fcw-csp__*
   Tailored to premium card layouts, dynamic ROI boxes, and hover interactions.
 ════════════════════════════════════════════════════════════════════════ */

.fcw-csp {
	--fcw-csp-bg-top: #ffffff;
	--fcw-csp-bg-bottom: #f9fafb;
	--fcw-csp-primary: #862780;
	--fcw-csp-secondary: #93C241;
	--fcw-csp-dark: #111827;
	--fcw-csp-mid: #4b5563;
	--fcw-csp-font: 'Inter', sans-serif;

	background: linear-gradient(to bottom, var(--fcw-csp-bg-top), var(--fcw-csp-bg-bottom));
	font-family: var(--fcw-csp-font);
}

.fcw-csp__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 80px 24px;
}

.fcw-csp__header {
	text-align: center;
	margin-bottom: 64px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.fcw-csp__tagline-box {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background-color: rgba(147, 194, 65, 0.1);
	border: 1px solid rgba(147, 194, 65, 0.3);
	border-radius: 9999px;
	margin-bottom: 24px;
}

.fcw-csp__tagline-icon {
	color: var(--fcw-csp-secondary);
	font-size: 1rem;
}

.fcw-csp__tagline-text {
	color: var(--fcw-csp-secondary);
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.fcw-csp__heading {
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	font-weight: 800;
	color: var(--fcw-csp-dark);
	line-height: 1.2;
	margin: 0 0 16px 0;
	letter-spacing: -0.02em;
}

.fcw-csp__subheading {
	font-size: 1.125rem;
	color: var(--fcw-csp-mid);
	max-width: 640px;
	margin: 0 auto;
}

.fcw-csp__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	width: 100%;
}

@media (max-width: 1024px) {
	.fcw-csp__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.fcw-csp__grid {
		grid-template-columns: 1fr;
	}
	.fcw-csp__inner {
		padding: 72px 16px;
	}
}

/* ── Card Styling ───────────────────────── */
.fcw-csp__card {
	background-color: #ffffff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
	border: 1px solid #f3f4f6;
}

.fcw-csp__card:hover {
	transform: translateY(-8px);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
}

.fcw-csp__img-wrap {
	position: relative;
	width: 100%;
	height: 200px;
	overflow: hidden;
}

.fcw-csp__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.fcw-csp__card:hover .fcw-csp__img {
	transform: scale(1.08);
}

.fcw-csp__img-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
	pointer-events: none;
}

.fcw-csp__meta {
	position: absolute;
	bottom: 16px;
	left: 16px;
	right: 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 5;
}

.fcw-csp__cat {
	background-color: var(--fcw-csp-primary);
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 9999px;
}

.fcw-csp__ind {
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.75rem;
	font-weight: 500;
}

/* ── Card Body ──────────────────────────── */
.fcw-csp__body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.fcw-csp__client {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--fcw-csp-dark);
	margin: 0 0 10px 0;
	line-height: 1.3;
	transition: color 0.3s ease;
}

.fcw-csp__card:hover .fcw-csp__client {
	color: var(--fcw-csp-primary);
}

.fcw-csp__desc {
	font-size: 0.875rem;
	color: var(--fcw-csp-mid);
	line-height: 1.6;
	margin: 0 0 20px 0;
	flex: 1;
}

/* ── ROI Metric Box ──────────────────────── */
.fcw-csp__metric-box {
	background: linear-gradient(to right, rgba(134, 39, 128, 0.03), rgba(147, 194, 65, 0.03));
	border: 1px solid rgba(134, 39, 128, 0.08);
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 16px;
}

.fcw-csp__metric-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.fcw-csp__metric-lbl {
	font-size: 0.75rem;
	font-weight: 600;
	color: #6b7280;
	display: block;
	margin-bottom: 2px;
}

.fcw-csp__metric-val-row {
	display: flex;
	align-items: center;
	gap: 6px;
}

.fcw-csp__metric-before {
	font-size: 0.8125rem;
	color: #9ca3af;
	text-decoration: line-through;
}

.fcw-csp__metric-arrow {
	font-size: 0.75rem;
	color: var(--fcw-csp-primary);
}

.fcw-csp__metric-after {
	font-size: 1rem;
	font-weight: 700;
	color: var(--fcw-csp-primary);
}

.fcw-csp__metric-imp-box {
	text-align: right;
}

.fcw-csp__metric-imp {
	font-size: 1.125rem;
	font-weight: 800;
	color: var(--fcw-csp-secondary);
}

/* ── Secondary Metric ────────────────────── */
.fcw-csp__submetric {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.8125rem;
	color: #6b7280;
	margin-bottom: 20px;
	padding: 0 4px;
}

.fcw-csp__submetric span {
	font-weight: 600;
	color: var(--fcw-csp-secondary);
}

/* ── Read Full CTA ───────────────────────── */
.fcw-csp__read-cta {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--fcw-csp-primary);
	font-size: 0.875rem;
	font-weight: 700;
	transition: gap 0.2s ease;
}

.fcw-csp__read-cta i {
	font-size: 1rem;
	transition: transform 0.2s ease;
}

.fcw-csp__card:hover .fcw-csp__read-cta {
	gap: 10px;
}

.fcw-csp__card:hover .fcw-csp__read-cta i {
	transform: translateX(4px);
}

/* ── Bottom CTA Button ──────────────────── */
.fcw-csp__cta-wrap {
	text-align: center;
	margin-top: 48px;
}

.fcw-csp__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 16px 36px;
	background-color: var(--fcw-csp-primary);
	color: #ffffff;
	border-radius: 9999px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	box-shadow: 0 10px 20px rgba(134, 39, 128, 0.15);
}

.fcw-csp__btn:hover {
	background-color: #6b1f66;
	transform: translateY(-2px);
	box-shadow: 0 15px 30px rgba(134, 39, 128, 0.25);
}

.fcw-csp__btn i {
	font-size: 1.125rem;
	transition: transform 0.2s ease;
}

.fcw-csp__btn:hover i {
	transform: translateX(4px);
}
