﻿/* ==========================================================================
   Front page only — hero, promise boxes, why-us.
   Everything shared with inner pages lives in main.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	background: var(--navy-900);
	color: rgb(255 255 255 / 88%);
	overflow: hidden;
}

.hero__slider,
.hero__slide {
	min-height: 660px;
}

.hero__slide {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.8);
}

/* Same gradient shape the reference uses on its hero slides. */
.hero__slide::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgb(0 0 0 / 92%), rgb(11 61 145 / 10%));
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(2rem, 1rem + 4vw, 4rem);
	align-items: center;
	padding-block: clamp(2.5rem, 2rem + 3vw, 4rem);
}

.hero__copy {
	grid-column: 1;
}

/* The form is lifted out of the slider so it never slides away. */
.hero__formwrap {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(2rem, 1rem + 4vw, 4rem);
	align-items: center;
	pointer-events: none;
}

.hero__form {
	grid-column: 2;
	pointer-events: auto;
}

.hero .splide__pagination {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1.25rem;
	z-index: 4;
	justify-content: flex-start;
	width: min(100% - 2rem, var(--wrap));
	margin-inline: auto;
}

.hero .splide__pagination__page {
	background: rgb(255 255 255 / 40%);
}

.hero .splide__pagination__page.is-active {
	background: var(--orange);
}

.hero .splide__arrows {
	display: none;
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 1rem;
	padding: 0.4rem 0.9rem;
	border: 1px solid rgb(255 255 255 / 22%);
	border-radius: var(--radius-pill);
	background: rgb(255 255 255 / 8%);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
}

.hero__eyebrow .icon {
	width: 14px;
	height: 14px;
	fill: var(--green);
	flex: none;
}

.hero__title {
	font-size: var(--fs-hero);
	line-height: 1.1;
	color: #fff;
	margin-bottom: 0.7rem;
}

.hero__title em {
	font-style: normal;
	color: var(--orange);
}

.hero__text {
	max-width: 52ch;
	font-size: 1.0625rem;
	margin-bottom: 1.6rem;
	color: rgb(255 255 255 / 88%);
}

.hero__points {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.5rem;
	margin: 0 0 1.75rem;
	padding: 0;
	list-style: none;
}

.hero__points li {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	font-size: var(--fs-sm);
	font-weight: 600;
	color: #fff;
}

.hero__points .icon {
	width: 18px;
	height: 18px;
	fill: var(--green);
	flex: none;
}

@media (max-width: 991px) {
	.hero__slider,
	.hero__slide {
		min-height: 0;
	}

	.hero__inner {
		grid-template-columns: 1fr;
	}

	/* On small screens the form drops below the slider instead of over it. */
	.hero__formwrap {
		position: static;
		display: block;
		padding-bottom: 2.5rem;
	}

	.hero__form {
		pointer-events: auto;
	}

	.hero .splide__pagination {
		position: static;
		justify-content: center;
		margin: 1rem auto 0;
	}
}

/* --------------------------------------------------------------------------
   Promise boxes, overlapping the hero
   -------------------------------------------------------------------------- */
.features {
	position: relative;
	margin-top: -3.5rem;
	z-index: 2;
}

.features__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 1.25rem;
}

.feature {
	padding: 1.5rem;
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow);
	transition: transform var(--t), box-shadow var(--t);
}

.feature:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
}

.feature h3 {
	font-size: 1.0625rem;
	margin-bottom: 0.4rem;
}

.feature p {
	margin: 0;
	font-size: var(--fs-sm);
	color: var(--muted);
}

@media (max-width: 991px) {
	.features {
		margin-top: 0;
		padding-top: var(--section-y);
	}
}

/* --------------------------------------------------------------------------
   Guarantee band
   -------------------------------------------------------------------------- */
.guarantee {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(2rem, 1rem + 4vw, 3.5rem);
	align-items: center;
}

.guarantee__media {
	position: relative;
}

.guarantee__media img {
	width: 100%;
	border-radius: 10px;
	box-shadow: var(--shadow-lg);
}

.guarantee__badge {
	position: absolute;
	left: -12px;
	bottom: -16px;
	padding: 0.9rem 1.25rem;
	border-radius: 10px;
	background: var(--navy);
	color: #fff;
	text-align: center;
	box-shadow: 0 12px 30px rgb(11 61 145 / 34%);
}

.guarantee__badge strong {
	display: block;
	font-size: 1.9rem;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.guarantee__badge span {
	font-size: var(--fs-xs);
	font-weight: 600;
}

.guarantee__list {
	display: grid;
	gap: 1.25rem;
}

.guarantee__item {
	display: flex;
	gap: 0.9rem;
}

.guarantee__item .icon-tile {
	margin: 0;
	flex: none;
}

.guarantee__item h3 {
	margin-bottom: 0.25rem;
	font-size: 1.0625rem;
}

.guarantee__item p {
	margin: 0;
	font-size: var(--fs-sm);
	color: var(--muted);
}

@media (max-width: 991px) {
	.guarantee {
		grid-template-columns: 1fr;
	}

	.guarantee__badge {
		left: 12px;
	}
}

/* --------------------------------------------------------------------------
   Payment strip
   -------------------------------------------------------------------------- */
.paystrip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
	gap: 1rem;
}

.paystrip__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
	padding: 1.5rem 1rem;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	font-size: var(--fs-sm);
	font-weight: 700;
	color: var(--ink);
	text-align: center;
	transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.paystrip__item:hover {
	transform: translateY(-6px);
	border-color: transparent;
	box-shadow: var(--shadow);
}

.paystrip__item .icon {
	width: 30px;
	height: 30px;
	fill: var(--navy);
}

/* --------------------------------------------------------------------------
   Why us
   -------------------------------------------------------------------------- */
.whyus__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(2rem, 1rem + 4vw, 3.5rem);
	align-items: center;
}

.whyus__media {
	position: relative;
}

.whyus__media img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

.whyus__stat {
	position: absolute;
	right: -14px;
	bottom: -18px;
	padding: 1rem 1.35rem;
	border-radius: var(--radius-lg);
	background: var(--orange);
	color: #fff;
	text-align: center;
	box-shadow: 0 12px 30px rgb(255 122 0 / 34%);
}

.whyus__stat strong {
	display: block;
	font-size: 1.9rem;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.whyus__stat span {
	font-size: var(--fs-xs);
	font-weight: 600;
}

.checklist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.checklist li {
	display: flex;
	gap: 0.85rem;
	margin-bottom: 1.15rem;
}

.checklist .icon {
	width: 22px;
	height: 22px;
	margin-top: 2px;
	fill: var(--green);
	flex: none;
}

.checklist h3 {
	margin-bottom: 0.25rem;
	font-size: 1.0625rem;
}

.checklist p {
	margin: 0;
	font-size: var(--fs-sm);
	color: var(--muted);
}

@media (max-width: 991px) {
	.whyus__grid {
		grid-template-columns: 1fr;
	}

	.whyus__stat {
		right: 12px;
	}
}
