/* ==========================================================================
   OIB Experts CTA — light section + dark rounded card with dual buttons
   ========================================================================== */

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

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

/* ---- Dark card ---- */
.oib-ecta__card {
	--oib-ecta-card-from: #0b1424;
	--oib-ecta-card-to:   #162236;

	margin: 0 auto;
	max-width: 1080px;
	padding: 64px;
	border-radius: 20px;
	background:
		linear-gradient(135deg, var(--oib-ecta-card-from) 0%, var(--oib-ecta-card-to) 100%);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.04) inset,
		0 30px 60px -28px rgba(15, 23, 42, 0.35),
		0 14px 28px -16px rgba(15, 23, 42, 0.18);
	text-align: center;
	color: #e2e8f0;
	overflow: hidden;
	position: relative;
}

/* Subtle diagonal lighting accent on the right side of the card */
.oib-ecta__card::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 35%;
	height: 100%;
	background:
		linear-gradient(115deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.03) 100%);
	pointer-events: none;
	z-index: 0;
}

.oib-ecta__card > * {
	position: relative;
	z-index: 1;
}

/* ---- Heading + subtitle ---- */
.oib-ecta__heading {
	margin: 0 0 18px;
	color: #ffffff;
	font-size: clamp(28px, 3.6vw, 44px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.oib-ecta__subtitle {
	margin: 0 auto 38px;
	color: #94a3b8;
	font-size: clamp(15px, 1.15vw, 17px);
	line-height: 1.6;
	max-width: 640px;
}

/* ---- Buttons row ---- */
.oib-ecta__ctas {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
}

.oib-ecta__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 16px 30px;
	border: none;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Primary — amber/purple filled */
.oib-ecta__btn--primary {
	background: #7E5D74;
	color: #ffffff;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.18),
		0 10px 24px -12px rgba(126, 93, 116, 0.55);
}

.oib-ecta__btn--primary:hover,
.oib-ecta__btn--primary:focus-visible {
	background: #6A4960;
	transform: translateY(-2px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.22),
		0 16px 32px -14px rgba(126, 93, 116, 0.7);
	outline: none;
}

/* Secondary — dark slate filled */
.oib-ecta__btn--secondary {
	background: #27344c;
	color: #ffffff;
}

.oib-ecta__btn--secondary:hover,
.oib-ecta__btn--secondary:focus-visible {
	background: #324360;
	transform: translateY(-2px);
	outline: none;
}

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

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

	.oib-ecta__card {
		padding: 44px 32px;
		border-radius: 18px;
	}

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

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

	.oib-ecta__btn {
		padding: 14px 24px;
		font-size: 14.5px;
	}
}

@media (max-width: 480px) {
	.oib-ecta__card {
		padding: 32px 22px;
	}

	.oib-ecta__ctas {
		flex-direction: column;
		gap: 10px;
		width: 100%;
	}

	.oib-ecta__btn {
		width: 100%;
		justify-content: center;
	}
}

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