/*
 * RS Facility Services – Homepage test
 * Every rule is scoped to the dedicated page template.
 */

.page-template-page-hp-test #masthead,
.page-template-page-hp-test #colophon {
	display: none;
}

.page-template-page-hp-test .site-content > .ast-container {
	position: relative;
	display: block;
	width: 100%;
	max-width: none;
	padding: 0;
}

.page-template-page-hp-test .site-content {
	background: #ffffff;
}

.page-template-page-hp-test .site-content,
.page-template-page-hp-test .site-content p,
.page-template-page-hp-test .site-content li,
.page-template-page-hp-test .site-content a,
.page-template-page-hp-test .site-content h1,
.page-template-page-hp-test .site-content h2,
.page-template-page-hp-test .site-content h3,
.page-template-page-hp-test .site-content h4 {
	font-family: "Poppins", Arial, sans-serif;
}

.rs-hp {
	--rs-blue: #2099f2;
	--rs-blue-light: #72c4ff;
	--rs-blue-action: #0874bd;
	--rs-navy: #071d2d;
	--rs-navy-soft: #0d2a40;
	--rs-ink: #101b25;
	--rs-muted: #5d6975;
	--rs-paper: #f3f7fa;
	--rs-line: #dbe4ea;
	--rs-white: #ffffff;
	--rs-shadow: 0 28px 80px rgba(5, 29, 46, 0.12);
	width: 100%;
	overflow: clip;
	color: var(--rs-ink);
	background: var(--rs-white);
	font-family: "Poppins", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	text-transform: none;
}

.rs-hp *,
.rs-hp *::before,
.rs-hp *::after {
	box-sizing: border-box;
}

.rs-hp h1,
.rs-hp h2,
.rs-hp h3,
.rs-hp h4,
.rs-hp p,
.rs-hp figure,
.rs-hp ul,
.rs-hp ol {
	margin: 0;
}

.rs-hp h1,
.rs-hp h2,
.rs-hp h3,
.rs-hp h4 {
	color: inherit;
	font-weight: 800;
	letter-spacing: -0.035em;
	text-transform: none;
}

.rs-hp a {
	color: inherit;
	text-decoration: none;
}

.rs-hp img {
	display: block;
	max-width: 100%;
	height: auto;
}

.rs-shell {
	width: min(100% - 48px, 1260px);
	margin-inline: auto;
}

.rs-section {
	position: relative;
	padding-block: clamp(80px, 9vw, 132px);
}

.rs-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 24px !important;
	color: #0969a9;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	line-height: 1.4;
	text-transform: uppercase;
}

.rs-eyebrow--light {
	color: #a7dcff;
}

.rs-eyebrow__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 5px rgba(32, 153, 242, 0.14);
}

.rs-section-heading h2,
.rs-benefits__intro h2,
.rs-about h2,
.rs-contact h2 {
	font-size: clamp(2.35rem, 4.6vw, 4.5rem);
	line-height: 1.06;
}

.rs-section-heading--split {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
	align-items: end;
	gap: clamp(40px, 8vw, 110px);
	margin-bottom: clamp(56px, 7vw, 92px);
}

.rs-section-heading--split > p {
	padding-bottom: 8px;
	color: var(--rs-muted);
	font-size: 1.06rem;
	line-height: 1.85;
}

.rs-section-heading--center {
	max-width: 780px;
	margin: 0 auto clamp(54px, 7vw, 88px);
	text-align: center;
}

.rs-section-heading--center .rs-eyebrow {
	justify-content: center;
}

.rs-section-heading--center > p:last-child {
	max-width: 650px;
	margin: 24px auto 0;
	color: var(--rs-muted);
	font-size: 1.05rem;
}

.rs-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 15px 24px;
	border: 1px solid transparent;
	border-radius: 5px;
	font-size: 0.92rem;
	font-weight: 800;
	line-height: 1.25;
	transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.rs-button span {
	margin-left: 11px;
	font-size: 1.15em;
}

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

.rs-button--primary {
	color: var(--rs-white) !important;
	background: var(--rs-blue-action);
	box-shadow: 0 14px 38px rgba(32, 153, 242, 0.28);
}

.rs-button--primary:hover {
	color: var(--rs-white) !important;
	background: #065f9d;
	box-shadow: 0 18px 44px rgba(32, 153, 242, 0.36);
}

.rs-button--ghost {
	color: var(--rs-white) !important;
	border-color: rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.04);
}

.rs-button--ghost:hover {
	border-color: rgba(255, 255, 255, 0.58);
	background: rgba(255, 255, 255, 0.1);
}

.rs-button--light {
	color: var(--rs-navy) !important;
	background: var(--rs-white);
}

.rs-button--light:hover {
	background: #e9f5fd;
}

.rs-hp a:focus-visible {
	outline: 3px solid #ffd166;
	outline-offset: 4px;
}

/* Header and footer are intentionally local to the test template. */
.rs-custom-header,
.rs-custom-footer {
	--rs-blue: #2099f2;
	--rs-blue-light: #72c4ff;
	--rs-blue-action: #0874bd;
	--rs-navy: #071d2d;
	--rs-white: #ffffff;
	box-sizing: border-box;
	font-family: "Poppins", Arial, sans-serif;
	text-transform: none;
}

.rs-custom-header *,
.rs-custom-header *::before,
.rs-custom-header *::after,
.rs-custom-footer *,
.rs-custom-footer *::before,
.rs-custom-footer *::after {
	box-sizing: border-box;
}

.rs-custom-header a,
.rs-custom-footer a {
	text-decoration: none;
}

.rs-custom-header a:focus-visible,
.rs-custom-header summary:focus-visible,
.rs-custom-footer a:focus-visible {
	outline: 3px solid #ffd166;
	outline-offset: 4px;
}

.rs-custom-header {
	position: absolute;
	z-index: 50;
	top: 0;
	right: 0;
	left: 0;
	min-height: 108px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--rs-white);
	background: linear-gradient(180deg, rgba(4, 20, 32, 0.88), rgba(4, 20, 32, 0.42));
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.rs-custom-header__inner {
	display: flex;
	min-height: 108px;
	align-items: center;
	justify-content: space-between;
	gap: 36px;
}

.rs-brand {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	color: var(--rs-white) !important;
}

.rs-brand img {
	display: block;
	width: 112px;
	height: auto;
}

.rs-custom-header__nav {
	display: flex;
	align-items: center;
	gap: clamp(22px, 2.7vw, 42px);
}

.rs-custom-header__nav > a:not(.rs-button) {
	position: relative;
	padding-block: 15px;
	color: rgba(255, 255, 255, 0.84) !important;
	font-size: 0.84rem;
	font-weight: 800;
	line-height: 1.2;
}

.rs-custom-header__nav > a:not(.rs-button)::after {
	position: absolute;
	right: 0;
	bottom: 7px;
	left: 0;
	height: 2px;
	background: var(--rs-blue);
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 180ms ease;
}

.rs-custom-header__nav > a:not(.rs-button):hover {
	color: var(--rs-white) !important;
}

.rs-custom-header__nav > a:not(.rs-button):hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.rs-custom-header__cta {
	min-height: 49px;
	padding: 13px 20px;
	font-size: 0.82rem;
}

.rs-mobile-nav {
	display: none;
	position: relative;
}

.rs-mobile-nav summary {
	display: grid;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 4px;
	place-items: center;
	cursor: pointer;
	list-style: none;
}

.rs-mobile-nav summary::-webkit-details-marker {
	display: none;
}

.rs-mobile-nav__icon {
	display: grid;
	width: 20px;
	gap: 5px;
}

.rs-mobile-nav__icon i {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: var(--rs-white);
	transition: transform 180ms ease, opacity 180ms ease;
}

.rs-mobile-nav[open] .rs-mobile-nav__icon i:first-child {
	transform: translateY(7px) rotate(45deg);
}

.rs-mobile-nav[open] .rs-mobile-nav__icon i:nth-child(2) {
	opacity: 0;
}

.rs-mobile-nav[open] .rs-mobile-nav__icon i:last-child {
	transform: translateY(-7px) rotate(-45deg);
}

.rs-mobile-nav nav {
	position: absolute;
	top: calc(100% + 14px);
	right: 0;
	display: grid;
	width: min(340px, calc(100vw - 40px));
	padding: 12px;
	border: 1px solid rgba(7, 29, 45, 0.1);
	border-radius: 6px;
	background: var(--rs-white);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.rs-mobile-nav nav a {
	padding: 14px 15px;
	color: var(--rs-navy) !important;
	font-size: 0.9rem;
	font-weight: 800;
}

.rs-mobile-nav nav a:hover {
	background: #edf7fe;
}

.rs-mobile-nav nav .rs-mobile-nav__cta {
	margin-top: 6px;
	color: var(--rs-white) !important;
	background: var(--rs-blue-action);
}

.rs-custom-footer {
	position: relative;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.7);
	background:
		radial-gradient(circle at 88% 5%, rgba(32, 153, 242, 0.15), transparent 31%),
		#051824;
}

.rs-custom-footer::before {
	position: absolute;
	top: 0;
	right: 0;
	width: 34%;
	height: 100%;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 58px 58px;
	content: "";
	pointer-events: none;
}

.rs-custom-footer > .rs-shell {
	position: relative;
	z-index: 1;
}

.rs-custom-footer h2,
.rs-custom-footer h3,
.rs-custom-footer p {
	margin: 0;
	text-transform: none;
}

.rs-custom-footer h2,
.rs-custom-footer h3 {
	color: var(--rs-white);
	font-weight: 800;
}

.rs-custom-footer__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 44px;
	padding-block: clamp(62px, 7vw, 94px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.rs-custom-footer__cta > div {
	max-width: 780px;
}

.rs-custom-footer__eyebrow {
	margin-bottom: 13px !important;
	color: var(--rs-blue-light);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase !important;
}

.rs-custom-footer__cta h2 {
	font-size: clamp(2.1rem, 4.2vw, 4rem);
	letter-spacing: -0.045em;
	line-height: 1.07;
}

.rs-custom-footer__cta .rs-button {
	flex: 0 0 auto;
}

.rs-custom-footer__grid {
	display: grid;
	grid-template-columns: minmax(280px, 1.55fr) repeat(3, minmax(140px, 0.72fr));
	gap: clamp(34px, 5vw, 74px);
	padding-block: clamp(58px, 7vw, 84px);
}

.rs-custom-footer__brand > p {
	max-width: 390px;
	margin-top: 25px !important;
	font-size: 0.9rem;
	line-height: 1.8;
}

.rs-brand--footer img {
	width: 120px;
	height: auto;
}

.rs-custom-footer__column {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	gap: 12px;
}

.rs-custom-footer__column h3 {
	margin-bottom: 11px !important;
	font-size: 0.76rem;
	letter-spacing: 0.11em;
	line-height: 1.3;
	text-transform: uppercase !important;
}

.rs-custom-footer__column a,
.rs-custom-footer__column p {
	color: rgba(255, 255, 255, 0.68) !important;
	font-size: 0.86rem;
	line-height: 1.55;
	transition: color 180ms ease;
}

.rs-custom-footer__column a:hover {
	color: var(--rs-white) !important;
}

.rs-custom-footer__social {
	margin-top: 6px;
	color: var(--rs-blue-light) !important;
	font-weight: 800;
}

.rs-custom-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding-block: 25px 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.rs-custom-footer__bottom p,
.rs-custom-footer__bottom a {
	color: rgba(255, 255, 255, 0.5) !important;
	font-size: 0.72rem;
	line-height: 1.5;
}

.rs-custom-footer__bottom nav {
	display: flex;
	gap: 25px;
}

.rs-custom-footer__bottom a:hover {
	color: var(--rs-white) !important;
}

/* Hero */
.rs-hero {
	position: relative;
	isolation: isolate;
	min-height: 760px;
	padding: clamp(172px, 13vw, 205px) 0 clamp(90px, 8vw, 116px);
	color: var(--rs-white);
	background:
		radial-gradient(circle at 8% 5%, rgba(32, 153, 242, 0.2), transparent 35%),
		linear-gradient(135deg, #061824 0%, var(--rs-navy) 48%, #0b2d43 100%);
}

.rs-hero::before {
	position: absolute;
	z-index: -1;
	top: 0;
	right: 0;
	width: 38%;
	height: 100%;
	border-left: 1px solid rgba(255, 255, 255, 0.06);
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 56px 56px;
	content: "";
}

.rs-hero__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
	align-items: center;
	gap: clamp(58px, 7vw, 100px);
}

.rs-hero__content {
	position: relative;
	z-index: 2;
	padding-block: 20px;
}

.rs-hero h1 {
	max-width: 800px;
	color: var(--rs-white);
	font-size: clamp(3.25rem, 6.4vw, 6rem);
	line-height: 0.98;
	letter-spacing: -0.06em;
}

.rs-hero h1 span {
	color: var(--rs-blue-light);
}

.rs-hero__lead {
	max-width: 700px;
	margin-top: 30px !important;
	color: rgba(255, 255, 255, 0.74);
	font-size: clamp(1.02rem, 1.5vw, 1.16rem);
	line-height: 1.85;
}

.rs-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 13px;
	margin-top: 38px;
}

.rs-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 28px;
	margin-top: 44px !important;
	padding: 0;
	list-style: none;
}

.rs-hero__facts li {
	display: flex;
	align-items: center;
	gap: 9px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.rs-hero__facts li span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--rs-blue);
}

.rs-hero__visual {
	position: relative;
	min-width: 0;
	padding: 18px 18px 18px 0;
}

.rs-hero__visual::before {
	position: absolute;
	top: 0;
	right: 0;
	width: calc(100% - 24px);
	height: calc(100% - 18px);
	border: 1px solid rgba(255, 255, 255, 0.16);
	content: "";
}

.rs-hero__image {
	position: relative;
	z-index: 1;
	min-height: 590px;
	overflow: hidden;
	background: #173246;
	box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
}

.rs-hero__image::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(3, 18, 29, 0.04), rgba(3, 18, 29, 0.5));
	content: "";
}

.rs-hero__image img {
	width: 100%;
	height: 590px;
	object-fit: cover;
	object-position: 52% center;
}

.rs-hero__image figcaption {
	position: absolute;
	z-index: 2;
	top: 24px;
	left: 24px;
	max-width: 230px;
	padding: 10px 13px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: var(--rs-white);
	background: rgba(5, 26, 40, 0.72);
	font-size: 0.67rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
	backdrop-filter: blur(8px);
}

/* References */
.rs-references {
	position: relative;
	overflow: hidden;
	padding-block: clamp(62px, 6.5vw, 92px);
	border-bottom: 1px solid var(--rs-line);
	background: var(--rs-white);
}

.rs-references__heading {
	margin-bottom: clamp(40px, 5vw, 62px);
	text-align: center;
}

.rs-references__heading h2 {
	max-width: 850px;
	margin-inline: auto;
	font-size: clamp(2rem, 3.5vw, 3.35rem);
	line-height: 1.08;
}

.rs-reference-loop {
	width: 100%;
	overflow: hidden;
	margin-block: -12px;
	padding-block: 12px;
}

.rs-reference-loop__track {
	display: flex;
	width: max-content;
	will-change: transform;
	animation: rs-reference-loop 38s linear infinite;
}

.rs-reference-loop__group {
	display: flex;
	flex: 0 0 auto;
	gap: 18px;
	padding-right: 18px;
}

.rs-reference-card {
	display: flex;
	width: 240px;
	height: 112px;
	flex: 0 0 240px;
	align-items: center;
	justify-content: center;
	padding: 24px 30px;
	border: 1px solid var(--rs-line);
	border-radius: 4px;
	background: var(--rs-white);
	box-shadow: 0 12px 35px rgba(5, 29, 46, 0.06);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.rs-reference-card--dark {
	border-color: var(--rs-navy);
	background: var(--rs-navy);
}

.rs-reference-card--wassermann img {
	transform: translateY(12px);
}

.rs-reference-card img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 64px;
	object-fit: contain;
}

@keyframes rs-reference-loop {
	to {
		transform: translate3d(-25%, 0, 0);
	}
}

/* Services */
.rs-services {
	background: var(--rs-paper);
}

.rs-services .rs-services__title {
	font-size: min(3.75rem, 7vw);
	line-height: 1.08;
}

.rs-services__title span {
	white-space: nowrap;
}

.rs-service-worlds {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 28px;
}

.rs-service-card {
	position: relative;
	overflow: hidden;
	box-shadow: var(--rs-shadow);
}

.rs-service-card--security {
	color: var(--rs-white);
	background: var(--rs-navy);
}

.rs-service-card--cleaning {
	color: var(--rs-ink);
	background: var(--rs-white);
}

.rs-service-card__image {
	height: 310px;
	overflow: hidden;
	background: #ccd6dc;
}

.rs-service-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.rs-service-card:hover .rs-service-card__image img {
	transform: scale(1.025);
}

.rs-service-card--security .rs-service-card__image img {
	object-position: 50% 45%;
}

.rs-service-card--cleaning .rs-service-card__image img {
	object-position: 58% center;
}

.rs-service-card__body {
	position: relative;
	padding: clamp(34px, 4.4vw, 58px);
}

.rs-service-card__number {
	position: absolute;
	top: 30px;
	right: 34px;
	color: rgba(32, 153, 242, 0.24);
	font-size: clamp(3.4rem, 7vw, 6rem);
	font-weight: 800;
	letter-spacing: -0.08em;
	line-height: 1;
}

.rs-kicker {
	position: relative;
	z-index: 1;
	margin-bottom: 16px !important;
	color: var(--rs-blue);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.rs-service-card h3 {
	position: relative;
	z-index: 1;
	max-width: 500px;
	font-size: clamp(1.75rem, 3vw, 2.55rem);
	line-height: 1.13;
}

.rs-service-card__intro {
	position: relative;
	z-index: 1;
	margin-top: 22px !important;
	font-size: 0.96rem;
	line-height: 1.8;
}

.rs-service-card--security .rs-service-card__intro,
.rs-service-card--security .rs-service-list p {
	color: rgba(255, 255, 255, 0.68);
}

.rs-service-card--cleaning .rs-service-card__intro,
.rs-service-card--cleaning .rs-service-list p {
	color: var(--rs-muted);
}

.rs-service-list {
	margin-top: 36px !important;
	padding: 0;
	list-style: none;
}

.rs-service-list li {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 15px;
	padding-block: 20px;
	border-top: 1px solid;
}

.rs-service-card--security .rs-service-list li {
	border-color: rgba(255, 255, 255, 0.13);
}

.rs-service-card--cleaning .rs-service-list li {
	border-color: var(--rs-line);
}

.rs-service-list__index {
	padding-top: 2px;
	color: var(--rs-blue);
	font-size: 0.72rem;
	font-weight: 800;
}

.rs-service-card--cleaning .rs-kicker,
.rs-service-card--cleaning .rs-service-list__index {
	color: #0969a9;
}

.rs-service-list h4 {
	font-size: 1rem;
	letter-spacing: -0.015em;
	line-height: 1.4;
}

.rs-service-list p {
	margin-top: 6px !important;
	font-size: 0.86rem;
	line-height: 1.7;
}

/* Property types */
.rs-properties {
	color: var(--rs-white);
	background: var(--rs-navy);
}

.rs-properties::before {
	position: absolute;
	top: 0;
	right: 0;
	width: 45%;
	height: 100%;
	background:
		linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 54px 54px;
	content: "";
}

.rs-section-heading--light {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin-bottom: clamp(54px, 7vw, 82px);
}

.rs-section-heading--light h2 {
	color: var(--rs-white);
}

.rs-section-heading--light > p:last-child {
	max-width: 660px;
	margin-top: 24px !important;
	color: rgba(255, 255, 255, 0.65);
	font-size: 1.04rem;
}

.rs-property-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.rs-property-card {
	min-height: 280px;
	padding: 32px;
	border-right: 1px solid rgba(255, 255, 255, 0.15);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.015);
	transition: background-color 180ms ease, transform 180ms ease;
}

.rs-property-card:hover {
	z-index: 1;
	background: rgba(32, 153, 242, 0.11);
	transform: translateY(-4px);
}

.rs-property-card__number {
	display: block;
	margin-bottom: 20px;
	color: var(--rs-blue-light);
	font-size: 0.72rem;
	font-weight: 800;
}

.rs-property-card__icon {
	display: block;
	width: 48px;
	height: 48px;
	margin-bottom: 26px;
	background: var(--rs-white);
	-webkit-mask: var(--rs-property-icon) center / contain no-repeat;
	mask: var(--rs-property-icon) center / contain no-repeat;
}

.rs-property-card h3 {
	font-size: 1.27rem;
	line-height: 1.35;
}

.rs-property-card p {
	margin-top: 14px !important;
	color: rgba(255, 255, 255, 0.61);
	font-size: 0.87rem;
	line-height: 1.7;
}

/* Benefits */
.rs-benefits {
	background: var(--rs-paper);
}

.rs-benefits__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
	align-items: start;
	gap: clamp(60px, 9vw, 130px);
}

.rs-benefits__intro {
	position: sticky;
	top: 130px;
}

.rs-benefits__intro > p:not(.rs-eyebrow) {
	margin-top: 28px !important;
	color: var(--rs-muted);
	font-size: 1rem;
	line-height: 1.85;
}

.rs-text-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 30px;
	padding-bottom: 6px;
	border-bottom: 2px solid var(--rs-blue);
	color: #116faf !important;
	font-size: 0.89rem;
	font-weight: 800;
}

.rs-text-link:hover {
	color: var(--rs-ink) !important;
}

.rs-benefit-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.rs-benefit-card {
	min-height: 280px;
	padding: 30px;
	background: var(--rs-white);
	box-shadow: 0 16px 45px rgba(5, 29, 46, 0.06);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.rs-benefit-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 55px rgba(5, 29, 46, 0.1);
}

.rs-benefit-card__marker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 62px;
	border: 1px solid rgba(32, 153, 242, 0.3);
	color: #0969a9;
	font-size: 0.7rem;
	font-weight: 800;
}

.rs-benefit-card h3 {
	font-size: 1.18rem;
	line-height: 1.35;
}

.rs-benefit-card p {
	margin-top: 13px !important;
	color: var(--rs-muted);
	font-size: 0.86rem;
	line-height: 1.75;
}

/* Process */
.rs-process {
	background: var(--rs-white);
}

.rs-process-grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 0;
	list-style: none;
}

.rs-process-grid::before {
	position: absolute;
	top: 31px;
	left: 8%;
	width: 84%;
	height: 1px;
	background: var(--rs-line);
	content: "";
}

.rs-process-grid li {
	position: relative;
	padding: 0 28px;
	text-align: center;
}

.rs-process-grid__number {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	margin-bottom: 30px;
	border: 1px solid var(--rs-line);
	border-radius: 50%;
	color: #0969a9;
	background: var(--rs-white);
	font-size: 0.72rem;
	font-weight: 800;
}

.rs-process-grid h3 {
	font-size: 1.14rem;
	line-height: 1.35;
}

.rs-process-grid p {
	margin-top: 12px !important;
	color: var(--rs-muted);
	font-size: 0.85rem;
	line-height: 1.75;
}

/* Company statement */
.rs-about {
	color: var(--rs-white);
	background: var(--rs-blue-action);
}

.rs-about::after {
	position: absolute;
	top: 0;
	right: 0;
	width: 34%;
	height: 100%;
	background: rgba(7, 29, 45, 0.13);
	content: "";
}

.rs-about__layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(380px, 0.75fr);
	align-items: start;
	gap: clamp(60px, 10vw, 150px);
}

.rs-about h2 {
	color: var(--rs-white);
}

.rs-about .rs-eyebrow--light {
	color: var(--rs-white);
}

.rs-about__copy {
	padding-top: 12px;
}

.rs-about__copy p {
	color: var(--rs-white);
	font-size: 1rem;
	line-height: 1.85;
}

.rs-about__copy p + p {
	margin-top: 18px !important;
}

.rs-about__copy .rs-button {
	margin-top: 34px;
}

/* Contact */
.rs-contact {
	padding-block: clamp(62px, 7vw, 96px);
	background: var(--rs-paper);
}

.rs-contact__panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 60px;
	padding: clamp(42px, 6vw, 82px);
	color: var(--rs-white);
	background:
		radial-gradient(circle at 90% 10%, rgba(32, 153, 242, 0.24), transparent 28%),
		var(--rs-navy);
	box-shadow: var(--rs-shadow);
}

.rs-contact__copy {
	max-width: 760px;
}

.rs-contact h2 {
	color: var(--rs-white);
}

.rs-contact__copy > p:last-child {
	max-width: 680px;
	margin-top: 24px !important;
	color: rgba(255, 255, 255, 0.69);
	font-size: 1rem;
}

.rs-contact__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-width: 300px;
}

.rs-contact__direct {
	display: grid;
	gap: 5px;
	margin-top: 19px;
	text-align: center;
}

.rs-contact__direct a {
	color: rgba(255, 255, 255, 0.75) !important;
	font-size: 0.79rem;
	font-weight: 400;
}

.rs-contact__direct a:hover {
	color: var(--rs-white) !important;
}

@media (max-width: 1100px) {
	.rs-custom-header__nav {
		gap: 22px;
	}

	.rs-custom-footer__grid {
		grid-template-columns: minmax(250px, 1.35fr) repeat(3, minmax(125px, 0.65fr));
		gap: 32px;
	}

	.rs-hero__layout {
		grid-template-columns: minmax(0, 1fr) minmax(370px, 0.82fr);
		gap: 48px;
	}

	.rs-hero h1 {
		font-size: clamp(3rem, 6.8vw, 5rem);
	}

	.rs-hero__image,
	.rs-hero__image img {
		height: 520px;
		min-height: 520px;
	}

	.rs-benefits__layout {
		grid-template-columns: minmax(0, 0.8fr) minmax(430px, 1.2fr);
		gap: 60px;
	}

	.rs-property-card {
		padding: 26px;
	}
}

@media (max-width: 900px) {
	.rs-shell {
		width: min(100% - 40px, 760px);
	}

	.rs-custom-header,
	.rs-custom-header__inner {
		min-height: 94px;
	}

	.rs-custom-header {
		background: rgba(4, 20, 32, 0.9);
	}

	.rs-custom-header__nav {
		display: none;
	}

	.rs-mobile-nav {
		display: block;
	}

	.rs-custom-footer__cta {
		align-items: flex-start;
		flex-direction: column;
	}

	.rs-custom-footer__grid {
		grid-template-columns: minmax(280px, 1.5fr) repeat(2, minmax(150px, 0.75fr));
	}

	.rs-custom-footer__brand {
		grid-column: 1 / -1;
	}

	.rs-hero {
		padding-top: 142px;
	}

	.rs-hero::before {
		width: 60%;
	}

	.rs-hero__layout,
	.rs-section-heading--split,
	.rs-benefits__layout,
	.rs-about__layout,
	.rs-contact__panel {
		grid-template-columns: 1fr;
	}

	.rs-hero__layout {
		gap: 64px;
	}

	.rs-hero__content {
		max-width: 700px;
	}

	.rs-references__heading {
		text-align: center;
	}

	.rs-references__heading h2 {
		max-width: 650px;
	}

	.rs-hero__visual {
		width: min(100%, 650px);
		margin-inline: auto;
	}

	.rs-section-heading--split {
		gap: 28px;
	}

	.rs-section-heading--split > p {
		max-width: 650px;
	}

	.rs-service-worlds {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.rs-property-grid,
	.rs-process-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rs-property-card {
		min-height: 245px;
	}

	.rs-benefits__intro {
		position: static;
		max-width: 720px;
	}

	.rs-contact__actions {
		align-items: flex-start;
		min-width: 0;
	}

	.rs-contact__direct {
		text-align: left;
	}
}

@media (max-width: 767px) {
	.rs-shell {
		width: min(100% - 32px, 620px);
	}

	.rs-custom-header,
	.rs-custom-header__inner {
		min-height: 84px;
	}

	.rs-brand img {
		width: 88px;
		height: auto;
	}

	.rs-mobile-nav summary {
		width: 44px;
		height: 44px;
	}

	.rs-custom-footer::before {
		width: 72%;
	}

	.rs-custom-footer__cta {
		gap: 30px;
		padding-block: 58px;
	}

	.rs-custom-footer__cta h2 {
		font-size: clamp(2rem, 10vw, 3rem);
	}

	.rs-custom-footer__grid {
		grid-template-columns: 1fr;
		gap: 42px;
		padding-block: 55px;
	}

	.rs-custom-footer__brand {
		grid-column: auto;
	}

	.rs-custom-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 15px;
	}

	.rs-section {
		padding-block: 76px;
	}

	.rs-section-heading h2,
	.rs-benefits__intro h2,
	.rs-about h2,
	.rs-contact h2 {
		font-size: clamp(2.15rem, 10vw, 3.15rem);
	}

	.rs-hero {
		min-height: 0;
		padding: 126px 0 72px;
	}

	.rs-hero h1 {
		font-size: clamp(2.55rem, 12vw, 3.85rem);
		line-height: 1.01;
	}

	.rs-hero__lead {
		margin-top: 24px !important;
		font-size: 0.98rem;
		line-height: 1.76;
	}

	.rs-actions {
		flex-direction: column;
		align-items: stretch;
		margin-top: 32px;
	}

	.rs-button {
		width: 100%;
		min-height: 55px;
		padding-inline: 19px;
		text-align: center;
	}

	.rs-hero__facts {
		display: grid;
		gap: 11px;
		margin-top: 34px !important;
	}

	.rs-hero__visual {
		padding: 10px 10px 10px 0;
	}

	.rs-hero__visual::before {
		height: calc(100% - 10px);
	}

	.rs-hero__image,
	.rs-hero__image img {
		height: 440px;
		min-height: 440px;
	}

	.rs-hero__image figcaption {
		top: 16px;
		left: 16px;
		max-width: calc(100% - 32px);
	}

	.rs-references {
		padding-block: 58px;
	}

	.rs-references__heading {
		margin-bottom: 36px;
	}

	.rs-references__heading h2 {
		font-size: clamp(1.85rem, 8vw, 2.7rem);
	}

	.rs-reference-loop__group {
		gap: 12px;
		padding-right: 12px;
	}

	.rs-reference-card {
		width: 195px;
		height: 96px;
		flex-basis: 195px;
		padding: 20px 24px;
	}

	.rs-reference-card img {
		max-height: 55px;
	}

	.rs-section-heading--split {
		margin-bottom: 45px;
	}

	.rs-service-card__image {
		height: 245px;
	}

	.rs-service-card__body {
		padding: 30px 24px;
	}

	.rs-service-card__number {
		top: 24px;
		right: 22px;
		font-size: 3.6rem;
	}

	.rs-service-card h3 {
		font-size: 1.8rem;
	}

	.rs-service-card__intro {
		font-size: 0.9rem;
	}

	.rs-service-list {
		margin-top: 28px !important;
	}

	.rs-service-list li {
		grid-template-columns: 29px minmax(0, 1fr);
		gap: 10px;
		padding-block: 18px;
	}

	.rs-property-grid,
	.rs-benefit-grid,
	.rs-process-grid {
		grid-template-columns: 1fr;
	}

	.rs-property-card {
		min-height: 215px;
	}

	.rs-property-card__number {
		margin-bottom: 48px;
	}

	.rs-benefit-card {
		min-height: 230px;
		padding: 26px;
	}

	.rs-benefit-card__marker {
		margin-bottom: 42px;
	}

	.rs-process-grid {
		gap: 38px;
	}

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

	.rs-process-grid li {
		display: grid;
		grid-template-columns: 58px minmax(0, 1fr);
		gap: 0 18px;
		padding: 0;
		text-align: left;
	}

	.rs-process-grid__number {
		grid-row: 1 / 3;
		width: 54px;
		height: 54px;
		margin: 0;
	}

	.rs-process-grid p {
		margin-top: 8px !important;
	}

	.rs-about::after {
		display: none;
	}

	.rs-contact {
		padding-block: 36px;
	}

	.rs-contact__panel {
		gap: 35px;
		width: min(100% - 20px, 620px);
		padding: 38px 24px;
	}

	.rs-contact__actions,
	.rs-contact__actions .rs-button {
		width: 100%;
	}

	.rs-contact__direct {
		align-items: center;
		text-align: center;
	}
}

@media (max-width: 420px) {
	.rs-service-card h3 br,
	.rs-about h2 br,
	.rs-benefits h2 br {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rs-hp *,
	.rs-hp *::before,
	.rs-hp *::after,
	.rs-custom-header *,
	.rs-custom-footer * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.rs-reference-loop {
		overflow-x: auto;
		scrollbar-width: thin;
	}

	.rs-reference-loop__track {
		animation: none !important;
	}

	.rs-reference-loop__group[aria-hidden="true"] {
		display: none;
	}
}
