.rm-services .services-hero {
	position: relative;
	overflow: hidden;
	background: #f6f3ee;
}

.rm-services .services-hero::after {
	position: absolute;
	inset: auto -8% -42% auto;
	width: 520px;
	aspect-ratio: 1;
	border: 1px solid rgba(20, 74, 92, .15);
	border-radius: 50%;
	content: "";
}

.rm-services .services-hero .rm-category-hero-grid {
	grid-template-columns: .9fr 1.1fr;
}

.rm-services .services-hero .category-hero-media {
	border-radius: 140px 28px 28px 28px;
	box-shadow: 0 30px 70px rgba(40, 48, 52, .18);
}

.rm-services .services-hero .category-hero-media img {
	aspect-ratio: 3 / 2;
}

.rm-services .services-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 18px;
}

.rm-services .services-grid article {
	display: flex;
	min-height: 360px;
	flex-direction: column;
	padding: 34px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 16px 40px rgba(13, 48, 80, .07);
}

.rm-services .services-grid article:nth-child(1),
.rm-services .services-grid article:nth-child(4) {
	grid-column: span 7;
}

.rm-services .services-grid article:nth-child(2),
.rm-services .services-grid article:nth-child(3) {
	grid-column: span 5;
}

.rm-services .services-grid article:nth-child(1),
.rm-services .services-grid article:nth-child(4) {
	background: #0c2c3c;
	color: #fff;
}

.rm-services .services-grid article:nth-child(1) h3,
.rm-services .services-grid article:nth-child(4) h3,
.rm-services .services-grid article:nth-child(1) h3 a,
.rm-services .services-grid article:nth-child(4) h3 a {
	color: #fff !important;
}

.rm-services .services-grid article:nth-child(1) p,
.rm-services .services-grid article:nth-child(4) p {
	color: #d9e5ea;
}

.rm-services .services-grid article:nth-child(1) .card-link,
.rm-services .services-grid article:nth-child(4) .card-link,
.rm-services .services-grid article:nth-child(1) span,
.rm-services .services-grid article:nth-child(4) span {
	color: #8ed3d5;
}

.rm-services .service-icon {
	display: grid;
	width: 52px;
	height: 52px;
	place-items: center;
	margin-bottom: 30px;
	border-radius: 14px;
	background: #eaf2f7;
	color: var(--blue);
}

.rm-services .service-icon svg {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.rm-services .services-grid span {
	color: var(--blue);
	font-size: 11px;
	font-weight: 800;
}

.rm-services .services-grid h3 {
	margin: 16px 0 12px;
	font-size: clamp(25px, 2vw, 32px);
}

.rm-services .services-grid p {
	margin: 0 0 24px;
	color: var(--text);
}

.rm-services .services-grid .card-link {
	margin-top: auto;
	color: var(--blue);
	font-weight: 800;
	text-decoration: none;
}

.services-fit-grid {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 72px;
	align-items: center;
}

.services-fit-copy > h2 {
	max-width: 12ch;
	margin: 14px 0 20px;
	font-size: clamp(40px, 4.6vw, 66px);
	line-height: 1.05;
}

.services-fit-copy > p {
	max-width: 62ch;
	color: var(--text);
}

.fit-list {
	display: grid;
	gap: 12px;
	margin-top: 34px;
}

.fit-list article {
	padding: 18px 20px;
	border-inline-start: 3px solid var(--blue);
	background: #fff;
}

.fit-list strong {
	display: block;
	margin-bottom: 5px;
	font-size: 17px;
}

.fit-list p {
	margin: 0;
	color: var(--text);
}

.services-fit-media {
	overflow: hidden;
	border-radius: 28px;
	background: #dce7ef;
	box-shadow: 0 28px 65px rgba(7, 26, 51, .15);
}

.services-fit-media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.services-process .process-grid {
	position: relative;
}

.services-process .process-grid::before {
	position: absolute;
	z-index: 0;
	top: 40px;
	inset-inline: 9% 9%;
	height: 2px;
	background: linear-gradient(90deg, #d7e4eb, #3f7893, #d7e4eb);
	content: "";
}

.services-process .process-grid li {
	position: relative;
	z-index: 1;
	padding-top: 88px;
}

.process-icon {
	position: absolute;
	top: 12px;
	inset-inline-start: 28px;
	display: grid;
	width: 56px;
	height: 56px;
	place-items: center;
	border: 6px solid #fff;
	border-radius: 50%;
	background: #0c2c3c;
	box-shadow: 0 8px 22px rgba(12, 44, 60, .16);
	color: #fff;
}

.process-icon svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.quality-flow {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr;
	gap: 8px;
	align-items: center;
	margin-top: 34px;
}

.quality-flow div {
	display: grid;
	min-height: 92px;
	align-content: center;
	padding: 12px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 12px;
	background: rgba(255, 255, 255, .06);
}

.quality-flow b {
	color: #b7df38;
	font-size: 11px;
}

.quality-flow span {
	margin-top: 5px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.quality-flow i {
	color: #b7df38;
	font-style: normal;
}

.brief-card {
	margin-top: 34px;
	padding: 24px;
	border-radius: 18px;
	background: #0c2c3c;
	box-shadow: 0 18px 45px rgba(12, 44, 60, .14);
	color: #fff;
}

.brief-card > span {
	color: #8ed3d5;
	font-size: 11px;
	font-weight: 800;
}

.brief-card strong {
	display: block;
	margin: 8px 0 16px;
	color: #fff;
	font-size: 20px;
}

.brief-card ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 18px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.brief-card li {
	position: relative;
	padding-inline-start: 18px;
	color: #d9e5ea;
	font-size: 13px;
}

.brief-card li::before {
	position: absolute;
	inset-inline-start: 0;
	top: .7em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #b7df38;
	content: "";
}

.brief-card a {
	color: #fff;
	font-weight: 800;
}

.rm-services .rm-reading h2,
.rm-services .rm-reading h3,
.rm-services .rm-rfq h2 {
	color: #fff !important;
}

.rm-services .rm-reading aside > p:not(.section-kicker),
.rm-services .rm-rfq .rfq-grid > div > p:not(.section-kicker) {
	color: #d7e2eb !important;
}

.services-sticky-quote {
	position: fixed;
	z-index: 40;
	inset-inline-start: 24px;
	bottom: 24px;
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	gap: 18px;
	padding: 0 22px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	background: #0b263f;
	box-shadow: 0 16px 42px rgba(7, 26, 51, .28);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	transition: background-color .2s ease, box-shadow .2s ease;
}

.services-sticky-quote:hover,
.services-sticky-quote:focus-visible {
	background: #174d68;
	box-shadow: 0 18px 48px rgba(7, 26, 51, .34);
	color: #fff;
}

.services-sticky-quote:focus-visible {
	outline: 3px solid #f3b85a;
	outline-offset: 3px;
}

@media (max-width: 1000px) {
	.rm-services .services-hero .rm-category-hero-grid {
		grid-template-columns: 1fr;
	}

	.rm-services .services-hero .category-hero-media {
		border-radius: 80px 22px 22px 22px;
	}

	.rm-services .services-grid article:nth-child(n) {
		grid-column: span 6;
	}

	.services-fit-grid {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.services-fit-media img {
		aspect-ratio: 16 / 9;
	}

	.services-process .process-grid::before {
		display: none;
	}
}

@media (max-width: 620px) {
	.rm-services .services-grid {
		grid-template-columns: 1fr;
	}

	.rm-services .services-grid article:nth-child(n) {
		grid-column: auto;
	}

	.rm-services .services-grid article {
		min-height: 0;
		padding: 24px;
	}

	.services-fit-copy > h2 {
		font-size: 42px;
	}

	.services-fit-media {
		border-radius: 18px;
	}

	.services-fit-media img {
		aspect-ratio: 4 / 3;
	}

	.services-sticky-quote {
		inset-inline: 16px;
		bottom: 14px;
		justify-content: center;
	}

	.quality-flow {
		grid-template-columns: 1fr;
	}

	.quality-flow i {
		transform: rotate(-90deg);
		text-align: center;
	}

	.brief-card ul {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.services-sticky-quote {
		transition: none;
	}
}
