/* ==========================================================================
   MaxxedOut — Hero (light)
   Readable dark headline on white, natural photo in a slanted frame, one
   floating info chip. A soft grey-blue panel and four small logo stripes are
   the only decoration.
   ========================================================================== */

.mxo-scope.mxo-hero {
	--hero-title: clamp(42px, 4.25vw, 66px);
	--hero-hl: #E1E6FA;
	position: relative;
	display: block;
	padding: clamp(40px, 5.5vw, 84px) 0 clamp(72px, 8vw, 120px);
	overflow: hidden;
	color: var(--s-body);
	background: var(--s-bg);
	isolation: isolate;
}
/* soft panel behind the photo, with the logo's slanted edge */
.mxo-scope.mxo-hero::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	width: 38%;
	background: var(--mx-mist);
	clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
}

.mxo-scope .mxo-hero__in {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(44px, 5vw, 80px);
}

/* ------------------------------------------------------------- content */
.mxo-scope .mxo-hero__content {
	display: grid;
	justify-items: start;
	gap: 26px;
}
.mxo-scope .mxo-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	padding: 9px 18px 9px 14px;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--mx-blue-deep);
	background: var(--mx-blue-tint);
	border-radius: 999px;
}
.mxo-scope .mxo-hero__title {
	font-size: var(--hero-title);
	font-weight: 760;
	font-stretch: 106%;
	line-height: 1.04;
	letter-spacing: -0.035em;
	color: var(--mx-ink);
	text-wrap: balance;
}
.mxo-scope .mxo-hero__title .mxo-rvline {
	padding-inline: 0.16em;
	margin-inline: -0.16em;
}
.mxo-scope .mxo-hero__title em {
	position: relative;
	z-index: 0;
	display: inline-block;
	font-style: normal;
	color: var(--mx-blue);
}
.mxo-scope .mxo-hero__title em::before {
	content: "";
	position: absolute;
	inset: 0.5em -0.12em 0.04em -0.06em;
	z-index: -1;
	background: var(--hero-hl);
	transform: skewX(var(--mx-slant));
	transform-origin: left center;
	transition: transform 0.9s var(--mx-ease-expo) 0.8s;
}
html.mxo-js .mxo-scope .mxo-hero__title:not(.is-in) em::before { transform: scaleX(0) skewX(var(--mx-slant)); }

.mxo-scope .mxo-hero__text {
	max-width: 50ch;
	font-size: 19px;
	line-height: 1.7;
	color: var(--s-body);
}
.mxo-scope .mxo-hero__actions {
	gap: 16px 32px;
	padding-top: 4px;
}

/* --------------------------------------------------------------- trust */
.mxo-scope .mxo-hero__trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 28px;
	width: 100%;
	margin-top: 8px;
	padding-top: 28px;
	border-top: 1px solid var(--mx-line);
}
.mxo-scope .mxo-hero__trust > li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15.5px;
	font-weight: 600;
	color: var(--mx-ink);
}
.mxo-scope .mxo-hero__point .mxo-ico {
	width: 22px;
	height: 22px;
	color: var(--mx-blue);
}
.mxo-scope .mxo-hero__g {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: none;
	background: var(--mx-white);
	border: 1px solid var(--mx-line);
	border-radius: 50%;
}
.mxo-scope .mxo-hero__g .mxo-ico { width: 21px; height: 21px; }
.mxo-scope .mxo-hero__rating-txt {
	display: grid;
	gap: 3px;
	line-height: 1.1;
}
.mxo-scope .mxo-hero__rating-top {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 17px;
}
.mxo-scope .mxo-hero__rating-top strong { font-weight: 750; }
.mxo-scope .mxo-hero__rating-cap {
	font-size: 13.5px;
	font-weight: 500;
	color: var(--mx-muted);
}
.mxo-scope .mxo-hero__rating .mxo-stars .mxo-ico { width: 15px; height: 15px; }

/* -------------------------------------------------------------- visual */
.mxo-scope .mxo-hero__visual {
	position: relative;
	padding-left: 28px;
}
.mxo-scope .mxo-hero__frame {
	height: clamp(440px, 44vw, 640px);
	clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
	background: var(--mx-mist);
}
.mxo-scope .mxo-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.3s var(--mx-ease);
}
.mxo-scope .mxo-hero__slide.is-active { opacity: 1; }
.mxo-scope .mxo-hero__frame .mxo-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--pos, 50% 50%);
}
.mxo-scope .mxo-hero__slide .mxo-hero__img {
	transform: scale(1.08);
	transition: transform 9s cubic-bezier(0.2, 0.5, 0.3, 1);
}
.mxo-scope .mxo-hero__slide.is-active .mxo-hero__img { transform: scale(1); }

/* four small logo stripes beside the frame */
.mxo-scope .mxo-hero__stripes {
	position: absolute;
	left: 0;
	top: 9%;
	z-index: 2;
	display: flex;
	gap: 7px;
	height: 120px;
}
.mxo-scope .mxo-hero__stripes > i {
	display: block;
	width: 13px;
	background: var(--mx-blue);
	transform: skewX(var(--mx-slant));
	transition: transform 1.2s var(--mx-ease-expo), opacity 0.8s var(--mx-ease);
}
.mxo-scope .mxo-hero__stripes > i:nth-child(4) { width: 18px; background: var(--mx-grey); }
.mxo-scope .mxo-hero__stripes > i:nth-child(2) { transition-delay: 0.08s; }
.mxo-scope .mxo-hero__stripes > i:nth-child(3) { transition-delay: 0.16s; }
.mxo-scope .mxo-hero__stripes > i:nth-child(4) { transition-delay: 0.24s; }
html.mxo-js .mxo-scope .mxo-hero__stripes:not(.is-in) > i {
	opacity: 0;
	transform: translate3d(0, 40px, 0) skewX(var(--mx-slant));
}

/* floating info chip */
.mxo-scope .mxo-hero__float {
	position: absolute;
	left: 0;
	bottom: 52px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 24px 16px 16px;
	background: var(--mx-white);
	border-radius: var(--mx-radius-lg);
	box-shadow: var(--mx-shadow);
}
.mxo-scope .mxo-hero__float-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	flex: none;
	color: var(--mx-blue);
	background: var(--mx-blue-tint);
	border-radius: 50%;
}
.mxo-scope .mxo-hero__float-text {
	display: grid;
	gap: 3px;
	line-height: 1.15;
}
.mxo-scope .mxo-hero__float-text strong {
	font-size: 20px;
	font-weight: 750;
	color: var(--mx-ink);
}
.mxo-scope .mxo-hero__float-text span {
	font-size: 14px;
	color: var(--mx-muted);
}

/* slide progress */
.mxo-scope .mxo-hero__dots {
	position: absolute;
	right: 26px;
	bottom: 26px;
	z-index: 3;
	display: flex;
	gap: 8px;
}
.mxo-scope .mxo-hero__dot { padding: 10px 0; }
.mxo-scope .mxo-hero__dot-bar {
	position: relative;
	display: block;
	width: 38px;
	height: 3px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.45);
	border-radius: 3px;
}
.mxo-scope .mxo-hero__dot-bar i {
	position: absolute;
	inset: 0;
	background: var(--mx-white);
	transform: scaleX(0);
	transform-origin: left center;
}
.mxo-scope .mxo-hero__dot.is-active .mxo-hero__dot-bar i {
	animation: mxo-hero-bar var(--hero-int, 7s) linear forwards;
}
.mxo-scope.mxo-hero.is-paused .mxo-hero__dot.is-active .mxo-hero__dot-bar i { animation-play-state: paused; }
@keyframes mxo-hero-bar {
	to { transform: scaleX(1); }
}

/* optional quote card over the photo */
.mxo-scope.mxo-hero.has-form .mxo-hero__visual { padding-bottom: 120px; }
.mxo-scope.mxo-hero.has-form .mxo-hero__frame { height: clamp(360px, 32vw, 460px); }
.mxo-scope .mxo-hero__card {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 3;
	width: min(410px, 92%);
	padding: 30px 28px 26px;
	background: var(--mx-white);
	border-radius: var(--mx-radius-lg);
	box-shadow: var(--mx-shadow-lg);
}
.mxo-scope .mxo-hero__card-head {
	display: grid;
	gap: 8px;
	margin-bottom: 20px;
}
.mxo-scope .mxo-hero__card-eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mx-blue);
}
.mxo-scope .mxo-hero__card-title {
	font-size: 26px;
	font-weight: 750;
	font-stretch: 104%;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--mx-ink);
}
.mxo-scope .mxo-hero__card-text {
	font-size: 15px;
	line-height: 1.55;
	color: var(--mx-muted);
}

/* --------------------------------------------------------- breakpoints */
@media (max-width: 1024px) {
	.mxo-scope .mxo-hero__in { grid-template-columns: minmax(0, 1fr); }
	.mxo-scope.mxo-hero::before { top: auto; height: 46%; width: 100%; clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); }
	.mxo-scope .mxo-hero__visual { max-width: 720px; }
	.mxo-scope .mxo-hero__frame { height: clamp(360px, 56vw, 520px); }
}
@media (max-width: 767px) {
	.mxo-scope.mxo-hero {
		--hero-title: clamp(36px, 10vw, 46px);
		padding: 32px 0 56px;
	}
	.mxo-scope .mxo-hero__content { gap: 20px; }
	.mxo-scope .mxo-hero__badge { font-size: 13.5px; }
	.mxo-scope .mxo-hero__text { font-size: 17.5px; }
	.mxo-scope .mxo-hero__actions { width: 100%; }
	.mxo-scope .mxo-hero__actions .mxo-btn { width: 100%; }
	.mxo-scope .mxo-hero__trust { gap: 14px 22px; padding-top: 22px; }
	.mxo-scope .mxo-hero__visual { padding-left: 0; }
	.mxo-scope .mxo-hero__stripes { display: none; }
	.mxo-scope .mxo-hero__frame { height: 340px; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
	.mxo-scope .mxo-hero__float {
		left: 12px;
		bottom: 16px;
		padding: 12px 18px 12px 12px;
	}
	.mxo-scope .mxo-hero__float-icon { width: 42px; height: 42px; }
	.mxo-scope .mxo-hero__float-text strong { font-size: 17px; }
	.mxo-scope .mxo-hero__float-text span { font-size: 13px; }
	.mxo-scope .mxo-hero__dots { right: 16px; bottom: 16px; }
	.mxo-scope.mxo-hero.has-form .mxo-hero__visual { padding-bottom: 0; }
	.mxo-scope .mxo-hero__card {
		position: relative;
		width: auto;
		margin: -60px 12px 0;
	}
}
