/* ==========================================================================
   OIB CTA Card — centered rounded card with heading + subtitle + button
   ========================================================================== */

.oib-ctac {
	--oib-ctac-pt: 80px;
	--oib-ctac-pb: 80px;

	position: relative;
	padding: var(--oib-ctac-pt) 24px var(--oib-ctac-pb);
	background: #f5f7fb;
	font-family: var(--oib-font, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
	-webkit-font-smoothing: antialiased;
}

.oib-ctac__inner {
	margin: 0 auto;
}

.oib-ctac__inner--narrow { max-width: 1080px; }
.oib-ctac__inner--wide   { max-width: 1280px; }
.oib-ctac__inner--full   { max-width: calc(100% - 32px); }

/* ==========================================================================
   Card
   ========================================================================== */

.oib-ctac__card {
	--oib-ctac-card-from: #dbeafe;
	--oib-ctac-card-to:   #eaf2ff;

	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 72px;
	border-radius: 28px;
	background:
		linear-gradient(135deg, var(--oib-ctac-card-from) 0%, var(--oib-ctac-card-to) 100%);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.7) inset,
		0 24px 48px -28px rgba(59, 130, 246, 0.18),
		0 8px 16px -12px rgba(15, 23, 42, 0.06);
}

/* ---- Heading ---- */
.oib-ctac__heading {
	margin: 0 0 18px;
	color: #0a0a0a;
	font-size: clamp(28px, 4.4vw, 52px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.025em;
}

/* ---- Subtitle ---- */
.oib-ctac__subtitle {
	margin: 0 0 36px;
	color: #475569;
	font-size: clamp(15px, 1.2vw, 17px);
	line-height: 1.65;
	max-width: 640px;
}

/* ---- Button ---- */
.oib-ctac__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 18px 32px;
	border-radius: 12px;
	background: #7E5D74;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.25),
		0 12px 28px -12px rgba(126, 93, 116, 0.55);
}

.oib-ctac__btn:hover,
.oib-ctac__btn:focus-visible {
	background: #7E5D74 !important;
	transform: translateY(-2px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.3),
		0 18px 36px -14px rgba(126, 93, 116, 0.7);
	outline: none;
}

/* ---- Footnote ---- */
.oib-ctac__footnote {
	margin: 24px 0 0;
	color: #0f172a;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.5;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
	.oib-ctac {
		padding: clamp(56px, 12vw, 72px) 18px clamp(56px, 12vw, 72px);
	}

	.oib-ctac__card {
		padding: 48px 28px;
		border-radius: 24px;
	}

	.oib-ctac__heading {
		font-size: clamp(24px, 6.5vw, 36px);
		margin-bottom: 14px;
	}

	.oib-ctac__subtitle {
		font-size: 15px;
		margin-bottom: 28px;
	}

	.oib-ctac__btn {
		padding: 16px 26px;
		font-size: 14.5px;
	}

	.oib-ctac__footnote {
		margin-top: 20px;
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.oib-ctac__card {
		padding: 36px 20px;
		border-radius: 20px;
	}

	.oib-ctac__btn {
		width: 100%;
		max-width: 320px;
	}
}

/* ==========================================================================
   A11y / motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.oib-ctac__btn { transition: none !important; }
	.oib-ctac__btn:hover { transform: none; }
}
