/* ═══ XHero — 5 hero styles ═══ */
.xhero {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	box-sizing: border-box;
}
.xhero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}
.xhero__inner--center {
	justify-content: center;
}
.xhero__content {
	display: flex;
	flex-direction: column;
}
.xhero__content > *:last-child { margin-bottom: 0; }

/* ── Eyebrow ── */
.xhero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	font-weight: 600;
	letter-spacing: .28em;
	text-transform: uppercase;
	font-size: .72rem;
	margin-bottom: 18px;
}
.xhero__eyebrow::before {
	content: "";
	display: block;
	width: 22px;
	height: 1px;
	background: currentColor;
	opacity: .8;
}

/* ── Title ── */
.xhero__title {
	margin: 0;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -.02em;
	font-size: clamp(2.4rem, 6vw, 4.4rem);
}

/* ── Subtitle ── */
.xhero__subtitle {
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.7;
	font-weight: 300;
	max-width: 620px;
}

/* ── Badge ── */
.xhero__badge {
	display: inline-flex;
	align-self: flex-start;
	padding: .35rem .9rem;
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	background: rgba(255,255,255,.12);
	border: 1px solid rgba(255,255,255,.2);
	color: inherit;
	margin-bottom: 18px;
}

/* ── Buttons ── */
.xhero__actions {
	display: flex;
	flex-wrap: wrap;
	margin-top: 4px;
}
.xhero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: .9rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	cursor: pointer;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.xhero__btn:hover { transform: translateY(-2px); }
.xhero__btn--secondary {
	background: transparent;
	border: 1px solid currentColor;
}

/* ── Overlay + bg media ── */
.xhero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}
.xhero__bg-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background-size: cover;
	background-position: center;
}

/* ── Split: media ── */
.xhero__media img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* ── Dark style ── */
.xhero--dark {
	background-color: #0a1628;
	color: #d8e8f5;
}
.xhero--dark .xhero__title { color: #ffffff; }
.xhero--dark .xhero__eyebrow { color: #c8a24a; }
.xhero--dark .xhero__subtitle { color: rgba(200,220,240,.78); }
.xhero--dark .xhero__btn--primary { background-color: #c8a24a; color: #2a1d04; }
.xhero--dark .xhero__btn--secondary { color: #ffffff; border-color: rgba(255,255,255,.28); }
.xhero--dark .xhero__btn--secondary:hover { background: rgba(255,255,255,.1); }

/* ── Full-bg: text on top of media ── */
.xhero--full-bg .xhero__content { color: #ffffff; }
.xhero--full-bg .xhero__title { color: #ffffff; }
.xhero--full-bg .xhero__subtitle { color: rgba(255,255,255,.82); }

/* ── Responsive ── */
@media (max-width: 800px) {
	.xhero__inner { flex-direction: column; gap: 28px; }
	.xhero__media { width: 100% !important; }
}
