.spx-home-page {
	--spx-home-shell-width: min(calc(100% - 2rem), 105rem);
	background: radial-gradient(circle at 100% 0%, rgba(6, 168, 70, 0.08), transparent 28rem), #fbfcf8;
	color: #101820;
	overflow-x: clip;
}

.spx-home-page > * {
	margin-block-start: 0 !important;
}

.spx-home-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	display: flex;
	align-items: center;
	margin: 0 !important;
	min-height: clamp(540px, 72vh, 680px) !important;
	background: #101820;
}

.spx-home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(circle at 52% 15%, rgba(6, 168, 70, 0.2), transparent 20rem),
		linear-gradient(90deg, rgba(16, 24, 32, 0.97) 0%, rgba(16, 24, 32, 0.76) 44%, rgba(16, 24, 32, 0.48) 100%);
}

.spx-home-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	margin: 0;
}

.spx-home-hero__bg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
}

.spx-home-hero__shell {
	position: relative;
	z-index: 2;
	width: var(--spx-home-shell-width);
	margin-inline: auto !important;
	padding-block: clamp(2rem, 4.6vw, 3.1rem);
}

.spx-home-hero__grid {
	align-items: center !important;
	gap: clamp(1.5rem, 2.9vw, 3rem);
}

.spx-home-hero__copy {
	display: grid;
	gap: 0.9rem;
}

.spx-home-hero__eyebrow {
	display: none;
	width: fit-content;
	margin: 0;
	padding: 0.38rem 0.72rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #d8fee2;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.spx-home-hero__title {
	margin: 0;
	width: min(100%, 31rem);
	max-width: none;
	color: #fff;
	font-family: var(--spx-font-family-heading);
	font-size: var(--spx-font-size-hero);
	font-weight: var(--spx-font-weight-heading);
	line-height: var(--spx-line-height-display);
	letter-spacing: var(--spx-letter-spacing-display);
	text-wrap: pretty;
}

.spx-home-hero__title-main,
.spx-home-hero__title .spx-home-hero__title-accent {
	display: block;
}

.spx-home-hero__title-main {
	max-width: 11.8ch;
}

.spx-home-hero__title .spx-home-hero__title-accent {
	color: #09bf4f;
	max-width: 11.5ch;
}

@media (min-width: 1024px) {
	.spx-home-hero__title {
		width: min(100%, 38rem);
	}

	.spx-home-hero__title-main,
	.spx-home-hero__title .spx-home-hero__title-accent {
		max-width: none;
		white-space: nowrap;
	}
}

.spx-home-hero__copy-text {
	max-width: 31rem;
	margin: 0;
	color: #e4ecf2;
	font-size: clamp(1rem, 1.12vw, 1.12rem);
	line-height: 1.55;
}

.spx-home-hero__actions.is-layout-flex {
	gap: 0.9rem !important;
}

.spx-home-hero__primary .wp-block-button__link,
.spx-home-hero__secondary .wp-block-button__link {
	min-height: var(--spx-button-min-height);
	padding-inline: var(--spx-button-padding-inline) !important;
	border-radius: var(--spx-button-radius);
	font-size: var(--spx-font-size-button);
	font-weight: var(--spx-font-weight-button);
	line-height: var(--spx-line-height-button);
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.spx-home-hero__primary .wp-block-button__link {
	background: #06a846;
	box-shadow: 0 16px 30px rgba(6, 168, 70, 0.22);
	color: #fff;
}

.spx-home-hero__primary .wp-block-button__link:hover,
.spx-home-hero__primary .wp-block-button__link:focus-visible {
	background: #057532;
	box-shadow: 0 20px 34px rgba(6, 168, 70, 0.28);
	transform: translateY(-1px);
}

.spx-home-hero__secondary .wp-block-button__link {
	border: 1px solid rgba(255, 255, 255, 0.24);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	backdrop-filter: blur(10px);
}

.spx-home-hero__secondary .wp-block-button__link:hover,
.spx-home-hero__secondary .wp-block-button__link:focus-visible {
	border-color: rgba(255, 255, 255, 0.38);
	background: rgba(255, 255, 255, 0.14);
	transform: translateY(-1px);
}

.spx-home-hero__secondary .wp-block-button__link::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	background: url("/wireframe/img/icons/whatsapp-white.svg") center / contain no-repeat;
}

.spx-home-hero__benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	max-width: 34rem;
}

.spx-home-hero__benefit {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.7rem;
	align-items: center;
	margin: 0;
	color: #fff;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.35;
}

.spx-home-hero__benefit-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
}

.spx-home-hero__benefit-icon img {
	display: block;
	width: 20px;
	height: 20px;
	object-fit: contain;
	filter: brightness(0) saturate(100%) invert(31%) sepia(98%) saturate(1248%) hue-rotate(122deg) brightness(93%) contrast(96%);
}

.spx-home-hero__finder {
	margin: 0 !important;
	max-width: 35rem;
	margin-left: auto !important;
}

.spx-home-hero__finder .spx-vehicle-finder {
	padding: clamp(1.1rem, 1.65vw, 1.5rem);
	border-radius: 28px;
}

.spx-home-hero__finder .spx-vehicle-finder__intro {
	margin-bottom: 0.95rem;
}

.spx-home-hero__finder .spx-vehicle-finder__title {
	font-size: var(--spx-font-size-finder-title);
}

.spx-home-hero__finder .spx-vehicle-finder__description {
	font-size: 0.94rem;
}

.spx-home-section-shell {
	width: var(--spx-home-shell-width);
	margin-inline: auto !important;
}

.spx-home-warning {
	padding: clamp(1.7rem, 3.2vw, 2.35rem) 0 clamp(1.15rem, 2.2vw, 1.65rem);
	background: #f5f7f9;
}

.spx-home-warning__card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(1rem, 2vw, 1.5rem);
	align-items: center;
	padding: clamp(1.25rem, 2vw, 1.7rem);
	border: 1px solid rgba(244, 165, 28, 0.34);
	border-radius: 30px;
	background: #fff4cf;
	box-shadow: 0 18px 44px rgba(92, 63, 12, 0.08);
}

.spx-home-warning__icon {
	margin: 0;
	width: 54px;
}

.spx-home-warning__icon img {
	display: block;
	width: 54px;
	height: 54px;
	filter: drop-shadow(0 8px 14px rgba(244, 165, 28, 0.24));
}

.spx-home-warning__copy {
	display: grid;
	gap: 0.45rem;
}

.spx-home-warning__title {
	margin: 0;
	font-family: var(--spx-font-family-heading);
	font-size: var(--spx-font-size-h2);
	font-weight: var(--spx-font-weight-heading-soft);
	line-height: var(--spx-line-height-heading);
	letter-spacing: var(--spx-letter-spacing-heading);
}

.spx-home-warning__text {
	margin: 0;
	color: #5d6b7a;
	font-size: 1rem;
	line-height: 1.55;
}

.spx-home-steps {
	padding: clamp(1.55rem, 3.2vw, 2.2rem) 0 clamp(1.5rem, 3vw, 2.2rem);
	background: #f5f7f9;
}

.spx-home-steps__title {
	margin: 0 0 clamp(1.2rem, 2vw, 1.7rem);
	color: #101820;
	font-family: var(--spx-font-family-heading);
	font-size: var(--spx-font-size-h2);
	font-weight: var(--spx-font-weight-heading);
	line-height: var(--spx-line-height-display);
	letter-spacing: var(--spx-letter-spacing-display);
}

.spx-home-steps__grid {
	gap: 1rem;
}

.spx-home-steps__grid > .wp-block-column {
	flex-basis: 0 !important;
}

.spx-home-step-card {
	height: 100%;
	display: grid;
	gap: 1rem;
	align-content: center;
	justify-items: center;
	padding: clamp(1.2rem, 2.4vw, 1.7rem);
	border: 1px solid rgba(29, 45, 61, 0.12);
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(16, 24, 32, 0.06);
	text-align: center;
}

.spx-home-step-card__marker {
	position: relative;
	display: grid;
	align-items: center;
	justify-items: center;
	width: 72px;
	min-height: 58px;
}

.spx-home-step-card__number {
	position: absolute;
	top: 0;
	left: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	border-radius: 999px;
	background: #06a846;
	box-shadow: 0 10px 22px rgba(6, 168, 70, 0.22);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1;
}

.spx-home-step-card__icon {
	margin: 0 0 0 16px;
}

.spx-home-step-card__icon img {
	display: block;
	width: 60px;
	height: 60px;
	padding: 13px;
	border-radius: 999px;
	background: #dff6e8;
	box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.78), 0 14px 26px rgba(6, 168, 70, 0.14);
}

.spx-home-step-card__copy {
	display: grid;
	gap: 0.35rem;
}

.spx-home-step-card__title {
	margin: 0;
	color: #101820;
	font-family: var(--spx-font-family-heading);
	font-size: var(--spx-font-size-h3);
	font-weight: var(--spx-font-weight-heading-soft);
	line-height: var(--spx-line-height-heading);
	letter-spacing: var(--spx-letter-spacing-heading);
}

.spx-home-step-card__text {
	margin: 0;
	color: #5d6b7a;
	font-size: 1rem;
	line-height: 1.45;
}

.spx-product-category-carousel,
.spx-offers-carousel {
	overflow: clip;
}

.spx-product-category-carousel__shell,
.spx-offers-carousel__shell {
	width: var(--spx-home-shell-width);
	margin-inline: auto !important;
}

@media (min-width: 1200px) {
	.spx-home-page {
		--spx-home-shell-width: min(105rem, 84vw);
	}

	.spx-home-hero__grid {
		min-height: clamp(470px, 56vh, 580px);
	}
}

@media (max-width: 960px) {
	.spx-home-hero__title {
		max-width: 10ch;
	}

	.spx-home-hero__benefits {
		grid-template-columns: 1fr;
		max-width: 18rem;
	}
}

@media (max-width: 781px) {
	.spx-home-page {
		--spx-home-shell-width: calc(100% - 1.25rem);
	}

	.spx-home-hero {
		min-height: auto !important;
	}

	.spx-home-hero__shell {
		padding-block: 1.65rem 1.55rem;
	}

	.spx-home-hero__title {
		width: auto;
		max-width: 9.8ch;
		font-size: clamp(1.85rem, 9vw, 2.85rem);
	}

	.spx-home-hero__title-main,
	.spx-home-hero__title .spx-home-hero__title-accent {
		max-width: none;
	}

	.spx-home-hero__actions.is-layout-flex {
		align-items: flex-start;
		gap: 0.75rem !important;
	}

	.spx-home-hero__actions .wp-block-button {
		width: auto;
		max-width: 100%;
	}

	.spx-home-hero__actions .wp-block-button__link {
		width: auto;
		max-width: 100%;
		min-height: 48px;
		padding-inline: 1.15rem !important;
		font-size: 0.9rem;
		justify-content: center;
	}

	.spx-home-hero__benefit {
		font-size: 0.84rem;
	}

	.spx-home-hero__benefits {
		display: none;
	}

	.spx-home-hero__finder .spx-vehicle-finder {
		border-radius: 24px;
	}

	.spx-home-warning {
		padding: 1.25rem 0 1.25rem;
	}

	.spx-home-warning__card {
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-areas:
			"icon title"
			"text text";
		align-items: center;
		padding: 1rem;
		border-radius: 24px;
	}

	.spx-home-warning__icon {
		grid-area: icon;
		width: 46px;
	}

	.spx-home-warning__icon img {
		width: 46px;
		height: 46px;
	}

	.spx-home-warning__copy {
		display: contents;
	}

	.spx-home-warning__title {
		grid-area: title;
		font-size: 1rem;
		line-height: 1.14;
	}

	.spx-home-warning__text {
		grid-area: text;
		font-size: 0.92rem;
	}

	.spx-home-steps {
		padding: 1.45rem 0 1.55rem;
	}

	.spx-home-steps__title {
		margin-bottom: 1rem;
		font-size: clamp(1.72rem, 7vw, 2.25rem);
	}

	.spx-home-steps__grid {
		gap: 0.8rem;
	}

	.spx-home-step-card {
		grid-template-columns: 1fr;
		justify-items: center;
		align-items: center;
		text-align: center;
		padding: 1rem 1rem 1.1rem;
		border-radius: 24px;
	}

	.spx-home-step-card__marker {
		width: 62px;
		min-height: 52px;
	}

	.spx-home-step-card__number {
		width: 28px;
		height: 28px;
		font-size: 0.78rem;
	}

	.spx-home-step-card__icon {
		margin-left: 0;
	}

	.spx-home-step-card__icon img {
		width: 50px;
		height: 50px;
		padding: 11px;
	}

	.spx-home-step-card__title {
		font-size: 1.04rem;
	}

	.spx-home-step-card__text {
		font-size: 0.84rem;
		text-align: center;
	}
}
