/* =========================================================================
   OLSEN — HERO / CTA
   Scoped under .olsenllc-wrapper.olsenllc-hero-widget for full isolation.
   Default look: industrial steel gradient + chrome headline + blood-red CTA.
   ========================================================================= */

.olsenllc-wrapper.olsenllc-hero-widget {
	width: 100%;
}

/* ---- Hero shell ---- */
.olsenllc-hero-widget .olsenllc-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 78vh;
	padding: 80px 24px;
	overflow: hidden;
	background-color: var(--olsenllc-black);
	/* Default background when the user hasn't picked an image */
	background-image: var(--olsenllc-grad-steel);
	background-size: cover;
	background-position: center;
	isolation: isolate;
}

/* Overlay tint for legibility over photos */
.olsenllc-hero-widget .olsenllc-hero-overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(8, 8, 10, 0.78);
	z-index: 1;
}

/* Optional bottom fade (matches the logo's cracked-road vignette) */
.olsenllc-hero-widget .olsenllc-hero--fade::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 45%;
	background: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.92) 100%);
	z-index: 1;
	pointer-events: none;
}

/* Faint blood-red glow top corners */
.olsenllc-hero-widget .olsenllc-hero::before {
	content: "";
	position: absolute;
	top: -20%;
	left: 50%;
	width: 120%;
	height: 60%;
	transform: translateX(-50%);
	background: radial-gradient(ellipse at center, rgba(193,39,45,0.22) 0%, rgba(193,39,45,0) 60%);
	z-index: 1;
	pointer-events: none;
}

/* ---- Inner content ---- */
.olsenllc-hero-widget .olsenllc-hero-inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--olsenllc-sp-3);
	max-width: 820px;
	margin: 0 auto;
	width: 100%;
}

/* Eyebrow center alignment fix (base eyebrow has ::before bar) */
.olsenllc-hero-widget .olsenllc-eyebrow {
	margin-bottom: 0;
}

/* Headline — chrome gradient text effect echoing the logo lettering */
.olsenllc-hero-widget .olsenllc-hero-title {
	font-family: var(--olsenllc-font-head);
	font-size: clamp(36px, 6.5vw, 76px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #fff;
	background: var(--olsenllc-grad-chrome);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
	margin: 0;
}
/* Graceful fallback if clip unsupported */
@supports not (-webkit-background-clip: text) {
	.olsenllc-hero-widget .olsenllc-hero-title { color: var(--olsenllc-silver-light); }
}

.olsenllc-hero-widget .olsenllc-hero-sub {
	font-size: clamp(16px, 2vw, 19px);
	line-height: 1.65;
	color: var(--olsenllc-silver);
	max-width: 680px;
	margin: 0;
}

/* ---- Actions ---- */
.olsenllc-hero-widget .olsenllc-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--olsenllc-sp-2);
	justify-content: center;
	margin-top: var(--olsenllc-sp-1);
}
.olsenllc-hero-widget .olsenllc-hero-actions .olsenllc-btn {
	padding: 16px 34px;
	font-size: 15px;
}

/* ---- Trust badges ---- */
.olsenllc-hero-widget .olsenllc-hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: var(--olsenllc-sp-3);
	justify-content: center;
	margin-top: var(--olsenllc-sp-2);
	padding-top: var(--olsenllc-sp-3);
	border-top: 1px solid var(--olsenllc-border);
	width: 100%;
	max-width: 560px;
}
.olsenllc-hero-widget .olsenllc-hero-badges li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--olsenllc-font-head);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--olsenllc-silver-light);
}
.olsenllc-hero-widget .olsenllc-hero-badges li i,
.olsenllc-hero-widget .olsenllc-hero-badges li svg {
	color: var(--olsenllc-red);
	fill: var(--olsenllc-red);
	width: 18px;
	height: 18px;
	font-size: 18px;
}

/* ---- Service area ---- */
.olsenllc-hero-widget .olsenllc-hero-area {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	letter-spacing: 0.5px;
	color: var(--olsenllc-text-muted);
	margin: 0;
}
.olsenllc-hero-widget .olsenllc-hero-area svg {
	fill: var(--olsenllc-red);
}

/* ---- Entrance animation ---- */
.olsenllc-hero-widget .olsenllc-hero-inner > * {
	opacity: 0;
	transform: translateY(20px);
}
.olsenllc-hero-widget.olsenllc-is-visible .olsenllc-hero-inner > * {
	animation: olsenllc-hero-in 0.7s var(--olsenllc-ease) forwards;
}
.olsenllc-hero-widget.olsenllc-is-visible .olsenllc-hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.olsenllc-hero-widget.olsenllc-is-visible .olsenllc-hero-inner > *:nth-child(2) { animation-delay: 0.15s; }
.olsenllc-hero-widget.olsenllc-is-visible .olsenllc-hero-inner > *:nth-child(3) { animation-delay: 0.25s; }
.olsenllc-hero-widget.olsenllc-is-visible .olsenllc-hero-inner > *:nth-child(4) { animation-delay: 0.35s; }
.olsenllc-hero-widget.olsenllc-is-visible .olsenllc-hero-inner > *:nth-child(n+5) { animation-delay: 0.45s; }

@keyframes olsenllc-hero-in {
	to { opacity: 1; transform: translateY(0); }
}

/* Editor: always visible */
.elementor-editor-active .olsenllc-hero-widget .olsenllc-hero-inner > * {
	opacity: 1;
	transform: none;
	animation: none;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
	.olsenllc-hero-widget .olsenllc-hero { min-height: 70vh; padding: 56px 18px; }
	.olsenllc-hero-widget .olsenllc-hero-actions { width: 100%; }
	.olsenllc-hero-widget .olsenllc-hero-actions .olsenllc-btn { flex: 1 1 100%; }

	/* Keep the trust badges on ONE row — shrink spacing + type so all three fit. */
	.olsenllc-hero-widget .olsenllc-hero-badges {
		flex-wrap: nowrap;
		gap: 12px;
		max-width: 100%;
		width: 100%;
	}
	.olsenllc-hero-widget .olsenllc-hero-badges li {
		flex: 0 1 auto;
		min-width: 0;
		gap: 5px;
		font-size: 11px;
		letter-spacing: 0.4px;
		white-space: nowrap;
	}
	.olsenllc-hero-widget .olsenllc-hero-badges li span {
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.olsenllc-hero-widget .olsenllc-hero-badges li i,
	.olsenllc-hero-widget .olsenllc-hero-badges li svg {
		width: 14px;
		height: 14px;
		font-size: 14px;
		flex-shrink: 0;
	}

	.olsenllc-hero-widget .olsenllc-hero-area { font-size: 13px; }
}

/* Extra-small phones — nudge the badge type down a touch more so it never wraps. */
@media (max-width: 380px) {
	.olsenllc-hero-widget .olsenllc-hero-badges { gap: 9px; }
	.olsenllc-hero-widget .olsenllc-hero-badges li { font-size: 10px; letter-spacing: 0.2px; }
}
