/* ==========================================================================
   OIB Hero — modern split-layout hero with gradient accent + media card
   ========================================================================== */

.oib-hero {
	--oib-hero-pt: 96px;
	--oib-hero-pb: 96px;
	--oib-hero-fg: #0f172a;
	--oib-hero-muted: #475569;
	--oib-hero-accent-from: #917388;
	--oib-hero-accent-to:   #6A4960;

	position: relative;
	overflow: hidden;
	font-family: var(--oib-font, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
	padding: var(--oib-hero-pt) 24px var(--oib-hero-pb);
	-webkit-font-smoothing: antialiased;
	isolation: isolate;
}

/* ---- Backgrounds ---- */
.oib-hero--bg-gradient-blue {
	background:
		radial-gradient(60% 60% at 90% 10%, rgba(186, 230, 253, 0.55) 0%, rgba(186, 230, 253, 0) 60%),
		radial-gradient(50% 50% at 0% 100%, rgba(199, 210, 254, 0.45) 0%, rgba(199, 210, 254, 0) 60%),
		linear-gradient(180deg, #f5f8ff 0%, #eef3ff 100%);
}

.oib-hero--bg-gradient-warm {
	background:
		radial-gradient(60% 60% at 90% 10%, rgba(254, 215, 170, 0.55) 0%, rgba(254, 215, 170, 0) 60%),
		radial-gradient(50% 50% at 0% 100%, rgba(253, 230, 138, 0.45) 0%, rgba(253, 230, 138, 0) 60%),
		linear-gradient(180deg, #fffaf2 0%, #fff5e6 100%);
}

.oib-hero--bg-white       { background: #ffffff; }
.oib-hero--bg-transparent { background: transparent; }

/* ---- Decorative blobs ---- */
.oib-hero__blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.55;
	z-index: 0;
	pointer-events: none;
}

.oib-hero__blob--a {
	width: 420px; height: 420px;
	top: -120px; right: -80px;
	background: radial-gradient(circle, rgba(186, 230, 253, 0.7), rgba(186, 230, 253, 0));
}

.oib-hero__blob--b {
	width: 360px; height: 360px;
	bottom: -140px; left: -100px;
	background: radial-gradient(circle, rgba(255, 237, 213, 0.7), rgba(255, 237, 213, 0));
}

.oib-hero--bg-gradient-warm .oib-hero__blob--a {
	background: radial-gradient(circle, rgba(254, 215, 170, 0.75), rgba(254, 215, 170, 0));
}

.oib-hero--bg-white .oib-hero__blob,
.oib-hero--bg-transparent .oib-hero__blob {
	opacity: 0.35;
}

/* ---- Layout ---- */
.oib-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: 64px;
	margin: 0 auto;
}

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

.oib-hero--media-left .oib-hero__inner  { grid-template-columns: 1fr 1.05fr; }
.oib-hero--media-left .oib-hero__copy   { order: 2; }
.oib-hero--media-left .oib-hero__media  { order: 1; }

/* ---- Eyebrow pill ---- */
.oib-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(186, 230, 253, 0.55);
	color: #0c4a6e;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.15);
	margin-bottom: 20px;
}

.oib-hero__eyebrow-dot {
	width: 6px; height: 6px;
	border-radius: 999px;
	background: #0ea5e9;
	box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.oib-hero--bg-gradient-warm .oib-hero__eyebrow {
	background: rgba(254, 215, 170, 0.55);
	color: #7c2d12;
	box-shadow: inset 0 0 0 1px rgba(106, 73, 96, 0.18);
}
.oib-hero--bg-gradient-warm .oib-hero__eyebrow-dot {
	background: #6A4960;
	box-shadow: 0 0 0 3px rgba(106, 73, 96, 0.18);
}

/* ---- Heading ---- */
.oib-hero__title {
	color: var(--oib-hero-fg);
	font-size: clamp(34px, 5.2vw, 60px);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.025em;
	margin: 0 0 20px;
}

.oib-hero__title-lead,
.oib-hero__title-tail {
	display: inline;
}

.oib-hero__accent {
	display: inline;
	background: linear-gradient(120deg, var(--oib-accent-from, var(--oib-hero-accent-from)) 0%, var(--oib-accent-to, var(--oib-hero-accent-to)) 100%);
	-webkit-background-clip: text;
			background-clip: text;
	-webkit-text-fill-color: transparent;
			color: transparent;
	background-size: 200% 100%;
	animation: oib-hero-shine 8s linear infinite;
}

@keyframes oib-hero-shine {
	0%   { background-position: 0% 50%; }
	50%  { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* ---- Description ---- */
.oib-hero__desc {
	color: var(--oib-hero-muted);
	font-size: clamp(15px, 1.2vw, 17px);
	line-height: 1.65;
	max-width: 560px;
	margin: 0 0 32px;
}

/* ---- CTAs ---- */
.oib-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.oib-hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 18px 24px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		background-color 0.22s ease,
		color 0.22s ease,
		filter 0.22s ease;
	white-space: nowrap;
	border: none;
}

.oib-hero__btn-arrow {
	width: 16px; height: 16px;
	transition: transform 0.25s ease;
}

.oib-hero__btn--primary {
	color: #ffffff;
	background: linear-gradient(135deg, var(--oib-hero-accent-from) 0%, #7E5D74 50%, var(--oib-hero-accent-to) 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		0 12px 28px -10px rgba(126, 93, 116, 0.55);
}

.oib-hero__btn--primary:hover,
.oib-hero__btn--primary:focus-visible {
	transform: translateY(-2px);
	filter: brightness(1.04);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.45),
		0 18px 36px -12px rgba(126, 93, 116, 0.7);
	outline: none;
}

.oib-hero__btn--primary:hover .oib-hero__btn-arrow,
.oib-hero__btn--primary:focus-visible .oib-hero__btn-arrow {
	transform: translateX(3px);
}

.oib-hero__btn--ghost {
	color: var(--oib-hero-fg);
	background: #ffffff;
	border-color: rgba(15, 23, 42, 0.12);
	box-shadow: 0 4px 12px -6px rgba(15, 23, 42, 0.08);
}

.oib-hero__btn--ghost:hover,
.oib-hero__btn--ghost:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(15, 23, 42, 0.22);
	box-shadow: 0 10px 22px -10px rgba(15, 23, 42, 0.18);
	outline: none;
}

/* ---- Media card ---- */
.oib-hero__media {
	position: relative;
	min-width: 0; /* allow grid item to shrink */
}

.oib-hero__media-glow {
	position: absolute;
	inset: -40px;
	z-index: 0;
	background:
		radial-gradient(50% 50% at 30% 30%, rgba(186, 230, 253, 0.7) 0%, rgba(186, 230, 253, 0) 70%),
		radial-gradient(50% 50% at 80% 80%, rgba(255, 237, 213, 0.6) 0%, rgba(255, 237, 213, 0) 70%);
	filter: blur(20px);
	border-radius: 32px;
	pointer-events: none;
}

.oib-hero__media-card {
	position: relative;
	z-index: 1;
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 20px;
	padding: 6px;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.6) inset,
		0 30px 60px -30px rgba(15, 23, 42, 0.25),
		0 12px 24px -16px rgba(15, 23, 42, 0.15);
	transform: translateY(0);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.oib-hero__media-card:hover {
	transform: translateY(-4px);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.7) inset,
		0 40px 80px -32px rgba(15, 23, 42, 0.3),
		0 18px 30px -18px rgba(15, 23, 42, 0.18);
}

.oib-hero__media-card img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.oib-hero__inner {
		gap: 48px;
		grid-template-columns: 1fr;
	}

	.oib-hero--media-left .oib-hero__copy   { order: 1; }
	.oib-hero--media-left .oib-hero__media  { order: 2; }

	.oib-hero__desc { max-width: none; }
}

@media (max-width: 640px) {
	.oib-hero {
		padding: clamp(48px, 10vw, 72px) 18px clamp(48px, 10vw, 72px);
	}

	.oib-hero__title { font-size: clamp(30px, 8vw, 40px); }

	.oib-hero__ctas { gap: 10px; }

	.oib-hero__btn {
		padding: 13px 20px;
		flex: 1 1 auto;
		justify-content: center;
		min-width: 0;
	}

	.oib-hero__media-glow { inset: -16px; }
}

/* ==========================================================================
   A11y / motion
   ========================================================================== */
.oib-hero__btn:focus-visible {
	box-shadow:
		0 0 0 3px rgba(126, 93, 116, 0.35),
		0 12px 28px -10px rgba(126, 93, 116, 0.55);
}

@media (prefers-reduced-motion: reduce) {
	.oib-hero__accent       { animation: none; }
	.oib-hero__btn,
	.oib-hero__btn-arrow,
	.oib-hero__media-card   { transition: none !important; }
	.oib-hero__btn:hover    { transform: none; }
}
