.how-page {
	overflow: hidden;
	background: var(--roamly-paper);
}

.how-kicker {
	display: block;
	margin-bottom: 18px;
	color: var(--roamly-gold-dark);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.how-hero {
	position: relative;
	min-height: 660px;
	overflow: hidden;
	color: #fff;
	background: url("../images/how-it-works-group-van.jpg") center 42% / cover no-repeat;
}

.how-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(9, 37, 30, 0.96) 0%, rgba(10, 40, 33, 0.86) 44%, rgba(9, 35, 29, 0.35) 75%, rgba(9, 35, 29, 0.18)),
		linear-gradient(0deg, rgba(7, 29, 24, 0.5), transparent 45%);
}

.how-hero__content {
	position: relative;
	z-index: 1;
	width: min(1600px, 100%);
	padding: 112px 6vw 150px;
	margin: 0 auto;
}

.how-hero .how-kicker {
	color: #f4d7a2;
}

.how-hero h1 {
	max-width: 820px;
	margin: 0;
	font: 400 clamp(52px, 6.2vw, 88px) / 0.97 var(--roamly-serif);
	letter-spacing: -0.05em;
}

.how-hero__content > p {
	max-width: 670px;
	margin: 28px 0 34px;
	color: rgba(255, 255, 255, 0.82);
	font: 18px/1.65 var(--roamly-serif);
}

.how-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.how-button {
	display: inline-flex;
	min-height: 50px;
	padding: 0 21px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 900;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 999px;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.how-button:hover {
	transform: translateY(-2px);
}

.how-button--primary {
	color: var(--roamly-ink);
	background: #fff;
}

.how-button--ghost {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.42);
}

.how-hero__proof {
	position: absolute;
	z-index: 2;
	right: 6vw;
	bottom: 0;
	left: 6vw;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	max-width: 1420px;
	margin: 0 auto;
	color: var(--roamly-ink);
	background: rgba(255, 253, 248, 0.97);
	border-radius: 18px 18px 0 0;
	box-shadow: 0 -12px 45px rgba(4, 25, 19, 0.14);
}

.how-hero__proof div {
	display: grid;
	gap: 5px;
	padding: 25px 28px;
	border-right: 1px solid var(--roamly-border);
}

.how-hero__proof div:last-child {
	border-right: 0;
}

.how-hero__proof strong {
	font: 20px var(--roamly-serif);
}

.how-hero__proof span {
	color: var(--roamly-muted);
	font-size: 10px;
	line-height: 1.5;
}

.how-booking-paths {
	max-width: 1380px;
	padding: 110px 6vw 40px;
	margin: 0 auto;
}

.how-booking-paths__heading {
	max-width: 820px;
	margin-bottom: 38px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.how-booking-paths__heading h2 {
	margin: 0;
	font: 400 clamp(40px, 4.5vw, 64px) / 1.04 var(--roamly-serif);
	letter-spacing: -0.04em;
}

.how-booking-paths__heading p {
	max-width: 620px;
	margin: 18px auto 0;
	color: var(--roamly-muted);
	font: 17px/1.72 var(--roamly-serif);
}

.how-booking-paths__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.how-booking-path {
	display: flex;
	min-height: 450px;
	padding: 0;
	flex-direction: column;
	align-items: flex-start;
	overflow: hidden;
	background: #fff;
	border: 1px solid #dcded8;
	border-radius: 22px;
	box-shadow: 0 16px 45px rgba(23, 58, 48, 0.07);
}

.how-booking-path--quotes {
	background: #f1eadc;
	border-color: #dfd1ba;
}

.how-booking-path__image {
	width: 100%;
	aspect-ratio: 2 / 1;
	margin: 0;
	overflow: hidden;
	background: #dce2dd;
}

.how-booking-path__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.how-booking-path:hover .how-booking-path__image img {
	transform: scale(1.025);
}

.how-booking-path__body {
	display: flex;
	width: 100%;
	padding: clamp(30px, 3.4vw, 46px);
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
}

.how-booking-path__topline {
	display: flex;
	margin-bottom: 26px;
	align-items: center;
	gap: 13px;
}

.how-booking-path__icon {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	color: #fff;
	background: var(--roamly-green);
	border-radius: 50%;
}

.how-booking-path--quotes .how-booking-path__icon {
	color: var(--roamly-ink);
	background: #e5c48f;
}

.how-booking-path__topline small {
	color: #8f623d;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.how-booking-path__body h3 {
	margin: 0 0 14px;
	font: 400 clamp(30px, 3vw, 43px) / 1.08 var(--roamly-serif);
	letter-spacing: -0.03em;
}

.how-booking-path__body > p {
	max-width: 610px;
	margin: 0;
	color: var(--roamly-muted);
	font-size: 13px;
	line-height: 1.72;
}

.how-booking-path ul {
	display: grid;
	padding: 24px 0 28px;
	margin: 24px 0 0;
	gap: 12px;
	list-style: none;
	border-top: 1px solid rgba(92, 108, 101, 0.18);
}

.how-booking-path li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	color: #456259;
	font-size: 11px;
	font-weight: 750;
	line-height: 1.55;
}

.how-booking-path li svg {
	margin-top: 1px;
	flex: 0 0 auto;
	color: var(--roamly-green);
}

.how-button--path {
	margin-top: auto;
	color: #fff;
	background: var(--roamly-green);
	border-radius: 10px;
}

.how-button--path:hover {
	background: #163c31;
}

.how-button--path-alt {
	color: var(--roamly-ink);
	background: #e5c48f;
}

.how-button--path-alt:hover {
	background: #d9b574;
}

.how-introduction {
	max-width: 920px;
	padding: 75px 6vw 62px;
	margin: 0 auto;
	text-align: center;
}

.how-introduction h2,
.how-journey h2,
.how-clarity h2,
.how-final h2 {
	margin: 0;
	font: 400 clamp(40px, 4.5vw, 64px) / 1.04 var(--roamly-serif);
	letter-spacing: -0.04em;
}

.how-introduction h2 em {
	color: #b08148;
	font-weight: 400;
}

.how-introduction > p {
	max-width: 520px;
	margin: 24px auto 0;
	color: var(--roamly-muted);
	font: 17px/1.72 var(--roamly-serif);
}

.how-solutions {
	display: grid;
	max-width: 1380px;
	padding: 0 6vw 120px;
	margin: 0 auto;
	gap: 22px;
}

.how-solution {
	display: grid;
	grid-template-columns: 0.82fr 1.18fr;
	overflow: hidden;
	background: #f5f0e5;
	border: 1px solid #e1ddd2;
	border-radius: 20px;
}

.how-solution--reverse .how-solution__problem {
	order: 2;
}

.how-solution__problem,
.how-solution__answer {
	padding: clamp(32px, 4vw, 58px);
}

.how-solution__problem {
	background: #f5f0e5;
}

.how-solution__answer {
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: #fff;
	border-left: 1px solid #e1ddd2;
}

.how-solution--reverse .how-solution__answer {
	border-right: 1px solid #e1ddd2;
	border-left: 0;
}

.how-solution__problem > span,
.how-solution__answer > span {
	display: block;
	margin-bottom: 23px;
	color: #9b6840;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.17em;
	text-transform: uppercase;
}

.how-solution__answer > span {
	color: #34705e;
}

.how-solution__icon {
	display: grid;
	width: 54px;
	height: 54px;
	margin-bottom: 23px;
	place-items: center;
	color: #9b6840;
	background: #eadfce;
	border-radius: 50%;
}

.how-solution h3 {
	max-width: 590px;
	margin: 0 0 14px;
	font: 400 clamp(25px, 2.5vw, 37px) / 1.15 var(--roamly-serif);
	letter-spacing: -0.025em;
}

.how-solution p {
	max-width: 660px;
	margin: 0;
	color: var(--roamly-muted);
	font-size: 13px;
	line-height: 1.75;
}

.how-solution__answer strong {
	display: inline-flex;
	max-width: 650px;
	padding-top: 22px;
	margin-top: 25px;
	align-items: flex-start;
	gap: 10px;
	color: #2b5e4f;
	font-size: 12px;
	line-height: 1.55;
	border-top: 1px solid #e1e4df;
}

.how-solution__answer strong svg {
	margin-top: 1px;
}

.how-journey {
	padding: 105px 6vw 120px;
	background: var(--roamly-cream);
}

.how-journey header {
	max-width: 920px;
	margin: 0 auto 55px;
	text-align: center;
}

.how-journey ol {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	max-width: 1450px;
	padding: 0;
	margin: 0 auto;
	list-style: none;
}

.how-journey li {
	position: relative;
	min-width: 0;
	padding: 33px 24px 10px;
	border-top: 1px solid #cfd2ca;
}

.how-journey li::after {
	position: absolute;
	top: -4px;
	right: -4px;
	width: 7px;
	height: 7px;
	content: "";
	background: var(--roamly-gold);
	border-radius: 50%;
}

.how-journey li:last-child::after {
	display: none;
}

.how-journey li > span {
	position: absolute;
	top: 10px;
	right: 24px;
	color: #9ba49f;
	font: italic 12px var(--roamly-serif);
}

.how-journey li > div {
	display: grid;
	width: 44px;
	height: 44px;
	margin-bottom: 22px;
	place-items: center;
	color: #aa793d;
	background: #eee2d0;
	border-radius: 50%;
}

.how-journey h3 {
	margin: 0 0 10px;
	font: 20px/1.2 var(--roamly-serif);
}

.how-journey p {
	margin: 0;
	color: var(--roamly-muted);
	font-size: 11px;
	line-height: 1.65;
}

.how-clarity {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	max-width: 1380px;
	padding: 120px 6vw;
	margin: 0 auto;
	gap: 9vw;
	align-items: center;
}

.how-clarity__heading > p {
	max-width: 490px;
	margin: 22px 0 0;
	color: var(--roamly-muted);
	font: 16px/1.7 var(--roamly-serif);
}

.how-clarity ul {
	padding: 0;
	margin: 0;
	list-style: none;
	background: #f6f2e8;
	border: 1px solid #dfddd4;
	border-radius: 18px;
}

.how-clarity li {
	display: flex;
	padding: 25px 28px;
	align-items: flex-start;
	gap: 15px;
	border-bottom: 1px solid #dfddd4;
}

.how-clarity li:last-child {
	border-bottom: 0;
}

.how-clarity li > svg {
	padding: 4px;
	color: #fff;
	background: var(--roamly-green);
	border-radius: 50%;
	box-sizing: content-box;
}

.how-clarity li span {
	display: grid;
	gap: 6px;
	color: var(--roamly-muted);
	font-size: 12px;
	line-height: 1.6;
}

.how-clarity li strong {
	color: var(--roamly-ink);
	font: 21px var(--roamly-serif);
}

.how-final {
	display: flex;
	max-width: 1420px;
	padding: 65px 70px;
	margin: 0 auto 110px;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
	color: #fff;
	background: var(--roamly-green);
	border-radius: 22px;
}

.how-final .how-kicker {
	color: #eccd98;
}

.how-final h2 {
	max-width: 920px;
	font-size: clamp(35px, 3.7vw, 54px);
}

.how-button--light {
	flex: 0 0 auto;
	color: var(--roamly-ink);
	background: #fff;
}

.how-final__actions {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
}

.how-button--outline-light {
	color: #fff;
	background: transparent;
	border-color: rgba(255, 255, 255, 0.62);
}

.how-button--outline-light:hover {
	background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1000px) {
	.how-hero__proof {
		grid-template-columns: repeat(2, 1fr);
	}

	.how-hero__proof div:nth-child(2) {
		border-right: 0;
	}

	.how-hero__proof div:nth-child(-n + 2) {
		border-bottom: 1px solid var(--roamly-border);
	}

	.how-hero__content {
		padding-bottom: 220px;
	}

	.how-journey ol {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px 0;
	}

	.how-journey li:nth-child(2n)::after,
	.how-journey li:last-child::after {
		display: none;
	}
}

@media (max-width: 760px) {
	.how-hero {
		min-height: auto;
		background-position: 62% center;
	}

	.how-hero__overlay {
		background: linear-gradient(0deg, rgba(7, 30, 24, 0.97) 0%, rgba(7, 30, 24, 0.85) 72%, rgba(7, 30, 24, 0.52));
	}

	.how-hero__content {
		padding: 72px 22px 310px;
	}

	.how-hero h1 {
		font-size: 48px;
	}

	.how-hero__content > p {
		font-size: 16px;
	}

	.how-hero__proof {
		right: 20px;
		left: 20px;
		grid-template-columns: 1fr;
	}

	.how-hero__proof div {
		padding: 15px 18px;
		border-right: 0;
		border-bottom: 1px solid var(--roamly-border);
	}

	.how-hero__proof div:nth-child(-n + 3) {
		border-bottom: 1px solid var(--roamly-border);
	}

	.how-hero__proof div:last-child {
		border-bottom: 0;
	}

	.how-hero__proof strong {
		font-size: 17px;
	}

	.how-introduction,
	.how-clarity {
		grid-template-columns: 1fr;
		padding: 78px 22px 45px;
		gap: 26px;
	}

	.how-booking-paths {
		padding: 78px 16px 25px;
	}

	.how-booking-paths__heading {
		padding: 0 6px;
		text-align: center;
	}

	.how-booking-paths__heading h2 {
		font-size: 40px;
	}

	.how-booking-paths__heading p {
		font-size: 16px;
	}

	.how-booking-paths__grid {
		grid-template-columns: 1fr;
	}

	.how-booking-path {
		min-height: 0;
	}

	.how-booking-path__body {
		padding: 30px 26px;
	}

	.how-booking-path .how-button {
		width: 100%;
		margin-top: 4px;
	}

	.how-introduction h2,
	.how-journey h2,
	.how-clarity h2 {
		font-size: 40px;
	}

	.how-solutions {
		padding: 0 16px 75px;
	}

	.how-solution {
		grid-template-columns: 1fr;
	}

	.how-solution--reverse .how-solution__problem {
		order: 0;
	}

	.how-solution__problem,
	.how-solution__answer {
		padding: 30px 26px;
	}

	.how-solution__answer,
	.how-solution--reverse .how-solution__answer {
		border-top: 1px solid #e1ddd2;
		border-right: 0;
		border-left: 0;
	}

	.how-solution h3 {
		font-size: 27px;
	}

	.how-journey {
		padding: 75px 22px;
	}

	.how-journey header {
		text-align: left;
	}

	.how-journey ol {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.how-journey li {
		padding: 24px 18px;
		background: rgba(255, 255, 255, 0.55);
		border: 1px solid #dbdbd2;
		border-radius: 13px;
	}

	.how-journey li::after {
		display: none;
	}

	.how-clarity {
		padding-top: 75px;
		padding-bottom: 85px;
	}

	.how-clarity li {
		padding: 22px 20px;
	}

	.how-final {
		flex-direction: column;
		padding: 45px 28px;
		margin: 0 16px 75px;
		align-items: flex-start;
		gap: 30px;
		border-radius: 17px;
	}

	.how-final__actions {
		width: 100%;
		justify-content: flex-start;
	}

	.how-final h2 {
		font-size: 36px;
	}
}
