/**
 * Home Hero Block Styles
 * Loaded automatically when the home-hero block is present on the page.
 */

/* ==========================================================================
   SECTION
   ========================================================================== */

.home-hero {
	background-color: var(--color-black);
	overflow: visible;
	position: relative;
}

.home-hero--has-pick {
	padding-bottom: 160px;
}

.home-hero__inner {
	display: flex;
	align-items: stretch;
	min-height: 800px;
	padding: 0;
	max-width: 100%;
	overflow: hidden;
}

/* ==========================================================================
   CONTENT (left column)
   ========================================================================== */

.home-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 80px 50px 60px;
	flex: 0 0 auto;
	width: 55%;
	max-width: 860px;
}

.home-hero__title {
	font-family: var(--font-base);
	font-size: 56px;
	font-weight: 900;
	line-height: 1.045;
	color: var(--color-white);
	margin: 0 0 24px;
}

.home-hero__description {
	font-family: var(--font-base);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-white);
	margin: 0 0 20px;
	max-width: 707px;
}

.home-hero__description p {
	margin: 0;
}

/* ---------- Guarantee badge ---------- */

.home-hero__guarantee {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-base);
	font-size: 16px;
	font-weight: 900;
	color: #dadada;
	margin: 0 0 24px;
}

.home-hero__guarantee-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	stroke: #dadada;
}

/* ---------- CTA buttons ---------- */

.home-hero__ctas {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 44px;
}

.home-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 40px;
	height: 49px;
	border-radius: 4px;
	font-family: var(--font-base);
	font-size: 16px;
	font-weight: 900;
	line-height: 1;
	text-decoration: none !important;
	white-space: nowrap;
	transition: opacity 0.2s ease;
	cursor: pointer;
}

.home-hero__cta:hover {
	opacity: 0.88;
}

.home-hero__cta--primary {
	background-color: var(--color-red);
	color: var(--color-white) !important;
}

.home-hero__cta--secondary {
	background-color: var(--color-white);
	color: var(--color-red) !important;
}

/* ---------- Trust badges ---------- */

.home-hero__badges {
	display: flex;
	gap: 40px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.home-hero__badge {
	display: flex;
	align-items: center;
	gap: 10px;
}

.home-hero__badge svg {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	stroke: var(--color-white);
}

.home-hero__badge span {
	font-family: var(--font-base);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-white);
}

/* ==========================================================================
   IMAGE (right column)
   ========================================================================== */

.home-hero__image {
	flex: 1;
	position: relative;
	overflow: hidden;
	min-height: 400px;
	z-index: 3;
}

.home-hero__image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
	top: 25%;
}

/* ==========================================================================
   SERVICE PICK — promo card overlapping hero + next section
   ========================================================================== */

.home-hero__pick {
	position: absolute;
	bottom: -120px;
	width: min(640px, calc(50% - 24px));
	z-index: 10;
}

.home-hero--pick-right .home-hero__pick {
	right: max(24px, calc((100vw - 1280px) / 2 + 24px));
	left: auto;
}

.home-hero--pick-left .home-hero__pick {
	left: max(51px, calc((100vw - 1280px) / 2 + 51px));
	right: auto;
}

.home-hero__pick-inner {
	background: #f8fafc;
	border: 4px dashed #b90017;
	border-radius: 8px;
	padding: 20px 22px 16px 23px;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.home-hero__pick-title {
	font-family: var(--font-base);
	font-size: 20px;
	font-weight: 900;
	line-height: 1.045;
	color: var(--color-black);
	margin: 0;
}

.home-hero__pick-title strong,
.home-hero__pick-title span[style*="color"],
.home-hero__pick-title .red {
	color: var(--color-red);
}

.home-hero__pick-content {
	font-family: var(--font-base);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-black);
}

.home-hero__pick-content p {
	margin: 0;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.home-hero__pick-content p + p {
	margin-top: 8px;
}

.home-hero__pick-content ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
}

.home-hero__pick-content ul li {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--color-black);
}

.home-hero__pick-content small {
	display: block;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-black);
	margin-top: 2px;
}

.home-hero__pick-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	height: 35px;
	padding: 0 40px;
	border-radius: 4px;
	background: var(--color-red);
	color: var(--color-white) !important;
	font-family: var(--font-base);
	font-size: 16px;
	font-weight: 900;
	line-height: 1;
	text-decoration: none !important;
	white-space: nowrap;
	transition: opacity 0.2s ease;
}

.home-hero__pick-cta:hover {
	opacity: 0.88;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1199px) {
	.home-hero__title {
		font-size: 44px;
	}

	.home-hero__content {
		width: 60%;
		padding: 60px 40px 50px;
	}
}

@media (max-width: 991px) {
	.home-hero__inner {
		flex-direction: column;
		min-height: auto;
	}

	.home-hero--has-pick {
		padding-bottom: 0;
	}

	.home-hero__content {
		width: 100%;
		max-width: 100%;
		padding: 60px 24px 40px;
	}

	.home-hero__image {
		width: 100%;
		min-height: 320px;
		position: relative;
	}

	.home-hero__image img {
		position: relative;
		inset: auto;
		width: 100%;
		height: 320px;
		object-fit: cover;
	}

	.home-hero__pick {
		position: relative;
		bottom: auto;
		left: auto !important;
		right: auto !important;
		width: calc(100% - 48px);
		max-width: 640px;
		margin: -40px auto 48px;
	}
}

@media (max-width: 767px) {
	.home-hero__title {
		font-size: 34px;
	}

	.home-hero__ctas {
		flex-direction: column;
	}

	.home-hero__cta {
		width: 100%;
		text-align: center;
	}

	.home-hero__badges {
		gap: 24px;
	}

	.home-hero__pick {
		width: calc(100% - 40px);
		margin: -24px auto 40px;
	}

	.home-hero__pick-inner {
		padding: 18px 18px 14px;
	}
}
