.rm-home {
	--rm-ink: #2f363b;
	--rm-muted: #687076;
	--rm-navy: #214f6c;
	--rm-blue: #5799c9;
	--rm-blue-dark: #377eae;
	--rm-sky: #eef7fb;
	--rm-cream: #faf7f1;
	--rm-white: #fff;
	--rm-border: #dce5e9;
	--rm-shadow: 0 18px 46px rgba(52, 87, 106, 0.12);
	color: var(--rm-ink);
	font-family: "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	overflow: hidden;
}

.rm-home *,
.rm-home *::before,
.rm-home *::after {
	box-sizing: border-box;
}

.rm-home h1,
.rm-home h2,
.rm-home h3,
.rm-home p,
.rm-home ul,
.rm-home ol,
.rm-home figure,
.rm-home blockquote {
	margin-top: 0;
}

.rm-home h1,
.rm-home h2,
.rm-home h3 {
	color: var(--rm-ink);
	font-family: "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: -0.018em;
	text-transform: none;
}

.rm-home h1 {
	font-size: clamp(3rem, 5vw, 4.75rem);
	font-weight: 700;
	line-height: 1.02;
	margin-bottom: 1.5rem;
}

.rm-home h2 {
	font-size: clamp(2.05rem, 3.5vw, 3.25rem);
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 1.25rem;
}

.rm-home h3 {
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 0.65rem;
}

.rm-home p {
	color: var(--rm-muted);
	font-size: 1.08rem;
	line-height: 1.7;
}

.rm-home a:focus-visible {
	outline: 3px solid #f4b860;
	outline-offset: 4px;
}

.rm-home__container {
	margin-inline: auto;
	max-width: 1240px;
	padding-inline: 28px;
	width: 100%;
}

.rm-home__hero {
	align-items: center;
	background: var(--rm-cream);
	display: flex;
	min-height: 610px;
	overflow: hidden;
	padding: clamp(4.5rem, 8vw, 7rem) 0;
	position: relative;
}

.rm-home__hero-slides,
.rm-home__hero-shade {
	inset: 0;
	position: absolute;
}

.rm-home__hero-slide {
	animation: none;
	display: block;
	height: 100%;
	inset: 0;
	object-fit: cover;
	object-position: center;
	opacity: 0;
	position: absolute;
	will-change: opacity;
	width: 100%;
}

.rm-home__hero-slide--1 {
	animation-delay: 0s;
	object-position: center 44%;
	opacity: 1;
}

.rm-home__hero-slide--2 {
	animation-delay: -12s;
	object-position: center;
}

.rm-home__hero-slide--3 {
	animation-delay: -8s;
}

.rm-home__hero-slide--4 {
	animation-delay: -4s;
}

.rm-home__hero-slides.is-ready .rm-home__hero-slide {
	animation-duration: 16s;
	animation-iteration-count: infinite;
	animation-name: rm-home-fade;
	animation-timing-function: linear;
}

.rm-home__hero-shade {
	background: linear-gradient(90deg, rgba(250, 248, 244, 0.98) 0%, rgba(250, 248, 244, 0.94) 40%, rgba(250, 248, 244, 0.62) 57%, rgba(250, 248, 244, 0.08) 82%);
	z-index: 1;
}

.rm-home__hero-inner {
	position: relative;
	z-index: 2;
}

.rm-home__hero-copy {
	max-width: 630px;
}

.rm-home__hero-copy h1 {
	max-width: 600px;
}

.rm-home__eyebrow {
	color: var(--rm-blue-dark) !important;
	font-size: 0.78rem !important;
	font-weight: 700;
	letter-spacing: 0.15em;
	line-height: 1.4 !important;
	margin-bottom: 1rem;
	text-transform: uppercase;
}

.rm-home__hero-lede {
	font-size: clamp(1.15rem, 1.8vw, 1.35rem) !important;
	line-height: 1.6 !important;
	margin-bottom: 2.15rem;
	max-width: 620px;
}

.rm-home__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.rm-home__button {
	align-items: center;
	border: 2px solid transparent;
	border-radius: 999px;
	display: inline-flex;
	font-size: 0.98rem;
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0;
	line-height: 1.2;
	min-height: 50px;
	padding: 0.9rem 1.35rem;
	text-decoration: none;
	text-transform: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.rm-home__button:hover {
	transform: translateY(-2px);
}

.rm-home__button--primary {
	background: var(--rm-blue);
	color: var(--rm-white);
}

.rm-home__button--primary:hover {
	background: var(--rm-blue-dark);
	color: var(--rm-white);
}

.rm-home__button--secondary {
	background: transparent;
	border-color: var(--rm-blue);
	color: var(--rm-blue-dark);
}

.rm-home__button--secondary:hover {
	background: var(--rm-white);
	color: var(--rm-navy);
}

.rm-home__hero-help {
	color: var(--rm-muted) !important;
	font-size: 0.92rem !important;
	line-height: 1.45 !important;
	margin: 2.25rem 0 0 !important;
}

.rm-home__hero-help strong {
	color: var(--rm-ink);
}

.rm-home__comfort-strip {
	background: var(--rm-white);
	border-bottom: 1px solid var(--rm-border);
	box-shadow: 0 8px 30px rgba(52, 87, 106, 0.06);
	padding: 1.5rem 0;
}

.rm-home__comfort-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rm-home__comfort-item {
	align-items: center;
	border-right: 1px solid var(--rm-border);
	display: flex;
	gap: 0.8rem;
	min-width: 0;
	padding: 0.25rem 1.1rem;
}

.rm-home__comfort-item:first-child {
	padding-left: 0;
}

.rm-home__comfort-item:last-child {
	border-right: 0;
	padding-right: 0;
}

.rm-home__comfort-icon {
	align-items: center;
	background: var(--rm-sky);
	border: 1px solid rgba(87, 153, 201, 0.22);
	border-radius: 999px;
	color: var(--rm-blue-dark);
	display: inline-flex;
	flex: 0 0 42px;
	font-family: "FontAwesome";
	font-size: 1.05rem;
	height: 42px;
	justify-content: center;
}

.rm-home__comfort-icon--flag::before {
	content: "\f024";
}

.rm-home__comfort-icon--truck::before {
	content: "\f0d1";
}

.rm-home__comfort-icon--fit::before {
	content: "\f0b2";
}

.rm-home__comfort-icon--shield::before {
	content: "\f132";
}

.rm-home__comfort-icon--phone::before {
	content: "\f095";
}

.rm-home__comfort-copy {
	display: grid;
	gap: 0.18rem;
	min-width: 0;
}

.rm-home__comfort-copy strong {
	color: var(--rm-ink);
	font-size: 0.94rem;
	line-height: 1.2;
}

.rm-home__comfort-copy > span {
	color: var(--rm-muted);
	font-size: 0.78rem;
	line-height: 1.3;
}

@keyframes rm-home-fade {
	0%, 20% { opacity: 1; }
	25%, 95% { opacity: 0; }
	100% { opacity: 1; }
}

.rm-home__section {
	padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.rm-home__section--categories {
	background: #fffdf9;
}

.rm-home__section-heading {
	margin-bottom: 2.5rem;
	max-width: 760px;
}

.rm-home__section-heading > p:last-child {
	max-width: 660px;
}

.rm-home__category-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rm-home__category {
	background: var(--rm-white);
	border: 1px solid var(--rm-border);
	border-radius: 12px;
	box-shadow: 0 10px 26px rgba(52, 87, 106, 0.07);
	color: var(--rm-ink);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-decoration: none;
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.rm-home__category:hover {
	box-shadow: 0 18px 38px rgba(52, 87, 106, 0.13);
	color: var(--rm-ink);
	transform: translateY(-5px);
}

.rm-home__category-image-wrap {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.rm-home__category img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
	width: 100%;
}

.rm-home__category:hover img {
	transform: scale(1.035);
}

.rm-home__category-copy {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.45rem;
}

.rm-home__category-copy p {
	font-size: 0.95rem;
	line-height: 1.55;
	margin-bottom: 1.25rem;
}

.rm-home__text-link {
	color: var(--rm-blue-dark);
	font-size: 0.92rem;
	font-weight: 750;
	margin-top: auto;
	text-decoration: none;
}

.rm-home__text-link:hover {
	color: var(--rm-blue);
}

.rm-home__process-layout {
	display: grid;
	gap: clamp(3rem, 8vw, 7rem);
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.rm-home__process-intro {
	align-self: start;
	position: sticky;
	top: 130px;
}

.rm-home__steps {
	display: grid;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rm-home__steps li {
	border-top: 1px solid var(--rm-border);
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 52px 1fr;
	padding: 1.8rem 0;
}

.rm-home__steps li:last-child {
	border-bottom: 1px solid var(--rm-border);
}

.rm-home__steps > li > span {
	color: var(--rm-blue);
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.1em;
}

.rm-home__steps p {
	font-size: 0.98rem;
	margin-bottom: 0;
}

.rm-home__section--quality {
	background: var(--rm-cream);
}

.rm-home__quality-grid {
	align-items: center;
	display: grid;
	gap: clamp(3rem, 8vw, 7rem);
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.rm-home__quality-image {
	background: var(--rm-white);
	border-radius: 22px;
	box-shadow: var(--rm-shadow);
	overflow: hidden;
}

.rm-home__quality-image img {
	display: block;
	height: 470px;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.rm-home__check-list {
	display: grid;
	gap: 0.75rem;
	list-style: none;
	margin: 1.75rem 0 2rem;
	padding: 0;
}

.rm-home__check-list li {
	color: var(--rm-ink);
	font-weight: 620;
	padding-left: 1.6rem;
	position: relative;
}

.rm-home__check-list li::before {
	background: var(--rm-blue);
	border-radius: 50%;
	color: var(--rm-white);
	content: "✓";
	font-size: 0.65rem;
	font-weight: 800;
	height: 17px;
	left: 0;
	line-height: 17px;
	position: absolute;
	text-align: center;
	top: 0.18rem;
	width: 17px;
}

.rm-home__section--testimonial {
	background: var(--rm-white);
}

.rm-home__testimonial-head {
	margin-bottom: 2.4rem;
	max-width: 720px;
}

.rm-home__review-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rm-home__review {
	background: var(--rm-cream);
	border: 1px solid #eee8de;
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	margin-bottom: 0;
	padding: clamp(1.5rem, 3vw, 2rem);
}

.rm-home__review blockquote {
	color: var(--rm-ink);
	font-size: 1.08rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.6;
	margin-bottom: 1.25rem;
}

.rm-home__review figcaption {
	color: var(--rm-muted);
	font-size: 0.95rem;
	font-weight: 700;
	margin-top: auto;
}

.rm-home__stars {
	color: #e2a847;
	font-size: 0.9rem;
	letter-spacing: 0.14em;
	margin-bottom: 1rem;
}

.rm-home__reviews-link {
	display: inline-block;
	margin-top: 1.6rem;
}

.rm-home__cta {
	background: linear-gradient(135deg, #2a6384 0%, #377eae 100%);
	padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.rm-home__cta-inner {
	align-items: center;
	display: flex;
	gap: 2rem;
	justify-content: space-between;
}

.rm-home__cta h2 {
	color: var(--rm-white) !important;
}

.rm-home__cta .rm-home__eyebrow {
	color: #d6eaf5 !important;
}

.rm-home__cta h2 {
	font-size: clamp(2rem, 4vw, 3.2rem);
	margin-bottom: 0;
	max-width: 760px;
}

.rm-home__button--light {
	background: var(--rm-white);
	color: var(--rm-navy);
}

.rm-home__button--light:hover {
	background: var(--rm-sky);
	color: var(--rm-navy);
}

.rm-home__button--outline-light {
	border-color: rgba(214, 234, 245, 0.9);
	color: var(--rm-white);
}

.rm-home__button--outline-light:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--rm-white);
}

@media (max-width: 1024px) {
	.rm-home__quality-grid {
		gap: 3rem;
		grid-template-columns: 1fr 0.9fr;
	}

	.rm-home__hero {
		min-height: 590px;
	}

	.rm-home__hero-shade {
		background: linear-gradient(90deg, rgba(250, 248, 244, 0.98) 0%, rgba(250, 248, 244, 0.94) 50%, rgba(250, 248, 244, 0.38) 78%, rgba(250, 248, 244, 0.08) 100%);
	}

	.rm-home__comfort-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 0;
	}

	.rm-home__comfort-item {
		border-bottom: 1px solid var(--rm-border);
		padding: 1rem 1.25rem;
	}

	.rm-home__comfort-item:first-child {
		padding-left: 1.25rem;
	}

	.rm-home__comfort-item:nth-child(even) {
		border-right: 0;
	}

	.rm-home__comfort-item:last-child {
		border-bottom: 0;
		grid-column: 1 / -1;
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.rm-home__category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rm-home__cta-inner {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 760px) {
	.rm-home__container {
		padding-inline: 20px;
	}

	.rm-home__hero {
		align-items: flex-start;
		min-height: 0;
		padding: calc(min(55vw, 320px) + 2.5rem) 0 4rem;
	}

	.rm-home__hero-slides {
		bottom: auto;
		height: min(55vw, 320px);
	}

	.rm-home__process-layout,
	.rm-home__quality-grid,
	.rm-home__testimonial-grid,
	.rm-home__review-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.rm-home h1 {
		font-size: clamp(2.55rem, 12vw, 3.75rem);
	}

	.rm-home__hero-slide {
		object-position: center;
	}

	.rm-home__hero-slide--1 {
		object-position: center;
	}

	.rm-home__hero-slide--2 {
		object-position: center;
	}

	.rm-home__hero-shade {
		background: linear-gradient(
			180deg,
			rgba(250, 248, 244, 0.02) 0,
			rgba(250, 248, 244, 0.05) calc(min(55vw, 320px) - 42px),
			rgba(250, 248, 244, 0.98) min(55vw, 320px),
			var(--rm-cream) 100%
		);
	}

	.rm-home__hero-copy {
		max-width: 570px;
	}

	.rm-home__hero-copy h1 {
		color: var(--rm-ink) !important;
	}

	.rm-home__hero-copy .rm-home__eyebrow {
		color: var(--rm-blue-dark) !important;
	}

	.rm-home__hero-lede {
		color: var(--rm-muted) !important;
		font-size: 1.08rem !important;
		line-height: 1.55 !important;
	}

	.rm-home__comfort-strip {
		padding: 1.35rem 0;
	}

	.rm-home__comfort-grid {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 0;
	}

	.rm-home__comfort-item,
	.rm-home__comfort-item:first-child,
	.rm-home__comfort-item:last-child {
		border-bottom: 1px solid var(--rm-border);
		border-right: 0;
		grid-column: auto;
		padding: 0.9rem 0;
	}

	.rm-home__comfort-item:last-child {
		border-bottom: 0;
	}

	.rm-home__process-intro {
		position: static;
	}

	.rm-home__quality-image img {
		height: 340px;
	}

	.rm-home__quality-copy {
		order: -1;
	}
}

@media (max-width: 520px) {
	.rm-home__actions,
	.rm-home__button {
		width: 100%;
	}

	.rm-home__category-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.rm-home__category-image-wrap {
		aspect-ratio: 16 / 10;
	}

	.rm-home__section {
		padding: 4rem 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rm-home *,
	.rm-home *::before,
	.rm-home *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}

	.rm-home__hero-slide {
		animation: none !important;
		opacity: 0;
	}

	.rm-home__hero-slide--1 {
		opacity: 1;
	}
}
