/* Home hero – split stage (rovensinani (3).html) */

.page-template-template-home #main,
body.home #main {
	background: white;
}

:root {
	--rs-slate-blue: #1C3D52;
	--rs-slate-blue-hover: #142E3F;
	--rs-slate-blue-dark: #112533;
	--rs-slate-blue-light: #2B5773;
	--rs-accent-gold: #C29B38;
	--rs-ice-blue: #F0F5F8;
	--rs-ice-blue-border: #DCE6EE;
	--rs-font-serif: 'Cormorant Garamond', Georgia, serif;
	--rs-font-sans: 'Poppins', sans-serif;
	--rs-container: 96rem; /* ~1536px — shared by all home sections */
}

/* Full-width The7 wrappers — section alignment comes only from .rs-container */
.page-template-template-home #main .wf-wrap,
.page-template-template-home #main .wf-container-main,
body.home #main .wf-wrap,
body.home #main .wf-container-main {
	max-width: none !important;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

/* Shared home container — same width/padding for hero + every section */
.rs-container {
	width: 100%;
	max-width: var(--rs-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
	box-sizing: border-box;
}

@media (min-width: 640px) {
	.rs-container {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

.rs-home-content {
	padding: 0 !important;
	max-width: none !important;
	width: 100%;
	font-family: var(--rs-font-sans);
}

.rs-home-content .rs-hero {
	width: 100vw;
	max-width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.rs-hero {
	position: relative;
	background: var(--rs-slate-blue-dark);
	color: #fff;
	overflow: hidden;
	font-family: var(--rs-font-sans);
	/* Mobile: header without topbar (~80px); desktop: full header 127px */
	height: calc(100vh - 80px);
	min-height: calc(100vh - 80px);
	display: flex;
	flex-direction: column;
}

@media (min-width: 768px) {
	.rs-hero {
		height: calc(100vh - 127px);
		min-height: calc(100vh - 127px);
	}
}

/* Image stage: stacked on mobile, right bleed on desktop */
.rs-hero-stage {
	position: relative;
	height: 42vh;
	min-height: 280px;
	overflow: hidden;
}

@media (min-width: 640px) {
	.rs-hero-stage {
		height: 48vh;
		min-height: 360px;
	}
}

@media (min-width: 1024px) {
	.rs-hero-stage {
		position: absolute;
		inset: 0 0 0 auto;
		height: auto;
		width: 58%;
	}
}

.rs-hero-swiper,
.rs-hero-swiper .swiper-wrapper,
.rs-hero-slide {
	height: 100%;
}

.rs-hero-slide {
	position: relative;
}

.rs-hero-slide__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-color: var(--rs-slate-blue);
}

.rs-hero-slide__fallback {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 2.5rem;
	background: linear-gradient(135deg, var(--rs-slate-blue), var(--rs-slate-blue-light), var(--rs-slate-blue));
}

.rs-hero-slide__fallback-title {
	font-family: var(--rs-font-serif);
	font-size: 3rem;
	font-weight: 600;
	line-height: 1;
}

.rs-hero-slide__fallback-sub {
	font-family: var(--rs-font-serif);
	font-style: italic;
	font-size: 1.25rem;
	color: rgba(255, 255, 255, 0.8);
	margin-top: 0.75rem;
}

/* Melting fades into the slate panel */
.rs-hero-stage__fade {
	position: absolute;
	pointer-events: none;
	z-index: 2;
}

.rs-hero-stage__fade--mobile {
	inset: 0;
	background: linear-gradient(to top, var(--rs-slate-blue-dark), transparent 55%);
}

.rs-hero-stage__fade--left,
.rs-hero-stage__fade--bottom {
	display: none;
}

dl.rs-hero-creds {
    display: none;
}

@media (min-width: 1024px) {
	.rs-hero-stage__fade--mobile {
		display: none;
	}

	.rs-hero-stage__fade--left {
		display: block;
		inset: 0 auto 0 0;
		width: 60%;
		background: linear-gradient(to right, var(--rs-slate-blue-dark), rgba(17, 37, 51, 0.6), transparent);
	}

	.rs-hero-stage__fade--bottom {
		display: block;
		inset: auto 0 0 0;
		height: 25%;
		background: linear-gradient(to top, rgba(17, 37, 51, 0.8), transparent);
	}
}

/* Copy */
.rs-hero-copy-wrap {
	position: relative;
	z-index: 10;
	margin-top: -5rem;
	display: flex;
	align-items: center;
	flex: 1;
	min-height: 0;
}

@media (min-width: 1024px) {
	.rs-hero-copy-wrap {
		margin-top: 0;
		min-height: 0;
	}
}

.rs-hero-copy {
	width: 100%;
	padding: 2.5rem 0 2.5rem;
}

@media (min-width: 1024px) {
	.rs-hero-copy {
		width: 56%;
		padding: 6rem 0;
	}
}

.rs-hero-text {
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.rs-hero-text.is-hidden {
	opacity: 0;
	transform: translateY(10px);
}

.rs-hero-eyebrow {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--rs-accent-gold);
}

@media (min-width: 640px) {
	.rs-hero-eyebrow {
		font-size: 1rem;
	}
}

.rs-hero-title {
	font-family: var(--rs-font-serif);
	font-weight: 600;
	font-size: 2.25rem;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: #fff;
	margin: 1rem 0 0;
}

.rs-hero-title em,
.rs-hero-title i {
	font-style: italic;
	font-weight: inherit;
}

.rs-hero-title strong,
.rs-hero-title b {
	font-weight: 700;
}

.rs-hero-title span {
	display: inline;
}

@media (min-width: 640px) {
	.rs-hero-title {
		font-size: 2.75rem;
	}
}

@media (min-width: 1280px) {
	.rs-hero-title {
		font-size: 3.25rem;
	}
}

.rs-hero-subtitle {
	font-family: var(--rs-font-serif);
	font-style: italic;
	font-size: 1.25rem;
	color: rgba(255, 255, 255, 0.75);
	margin: 1rem 0 0;
	max-width: 28rem;
}

@media (min-width: 640px) {
	.rs-hero-subtitle {
		font-size: 1.5rem;
	}
}

.rs-hero-desc {
	font-family: var(--rs-font-sans);
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.7);
	margin: 1.5rem 0 0;
	max-width: 28rem;
}

@media (min-width: 640px) {
	.rs-hero-desc {
		font-size: 1rem;
	}
}

.rs-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	margin-top: 2.25rem;
}

.rs-hero-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.75rem;
	background: var(--rs-accent-gold);
	color: var(--rs-slate-blue-dark);
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	border: none;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.rs-hero-cta:hover,
.rs-hero-cta:focus {
	background: #fff;
	color: var(--rs-slate-blue-dark);
	text-decoration: none;
}

.rs-hero-cta.is-disabled {
	pointer-events: none;
	opacity: 0.55;
}

.rs-hero-cta__icon {
	transition: transform 0.25s ease;
}

.rs-hero-cta:hover .rs-hero-cta__icon {
	transform: translateX(4px);
}

.rs-hero-secondary {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	padding-bottom: 0.25rem;
	transition: color 0.25s ease, border-color 0.25s ease;
}

.rs-hero-secondary:hover,
.rs-hero-secondary:focus {
	color: var(--rs-accent-gold);
	border-color: var(--rs-accent-gold);
	text-decoration: none;
}

.rs-hero-creds {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	margin: 3rem 0 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	max-width: 32rem;
	font-size: 0.875rem;
}

.rs-hero-creds dt {
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.75rem;
	margin: 0;
}

.rs-hero-creds dd {
	margin: 0.15rem 0 0;
	font-weight: 600;
	color: #fff;
}

/* Bottom index bar */
.rs-hero-index {
	position: relative;
	z-index: 10;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(17, 37, 51, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.rs-hero-index__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.rs-hero-tabs {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex: 1;
	min-width: 0;
}

@media (min-width: 640px) {
	.rs-hero-tabs {
		gap: 1.5rem;
	}
}

.rs-hero-tab {
	flex: 1;
	max-width: 200px;
	min-width: 0;
	text-align: left;
	background: none;
	border: none;
	padding: 0;
	color: #fff;
	cursor: pointer;
	opacity: 0.55;
	transition: opacity 0.3s ease;
	font-family: inherit;
}

.rs-hero-tab:hover,
.rs-hero-tab.is-active {
	opacity: 1;
}

.rs-hero-tab__track {
	display: block;
	height: 2px;
	background: rgba(255, 255, 255, 0.2);
	position: relative;
	overflow: hidden;
	margin-bottom: 0.5rem;
}

.rs-hero-tab__progress {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	background: var(--rs-accent-gold);
}

.rs-hero-tab.is-complete .rs-hero-tab__progress {
	width: 100%;
}

.rs-hero-tab__label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (min-width: 640px) {
	.rs-hero-tab__label {
		font-size: 0.875rem;
	}
}

.rs-hero-nav {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}

.rs-hero-nav__btn {
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: transparent;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.rs-hero-nav__btn:hover,
.rs-hero-nav__btn:focus {
	background: #fff;
	color: var(--rs-slate-blue-dark);
	outline: none;
}

/* Swiper fade */
.rs-hero-swiper.swiper-fade .swiper-slide {
	pointer-events: none;
	transition-property: opacity;
}

.rs-hero-swiper.swiper-fade .swiper-slide-active {
	pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
	.rs-hero-text,
	.rs-hero-tab,
	.rs-hero-cta__icon {
		transition: none;
	}

	.rs-hero-tab__progress {
		transition: none !important;
	}
}

/* Intro statement (py-16 bg-white border-b text-center) */
.rs-intro {
	padding: 4rem 0;
	background: #fff;
	border-bottom: 1px solid #f1f5f9;
	text-align: center;
}

.rs-intro__text {
	font-family: var(--rs-font-serif);
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.375;
	color: #1e293b;
	margin: 0;
}

@media (min-width: 640px) {
	.rs-intro__text {
		font-size: 1.875rem;
	}
}

@media (min-width: 1024px) {
	.rs-intro__text {
		font-size: 2.25rem;
	}
}

.rs-intro__text em,
.rs-intro__text i {
	font-style: italic;
}

.rs-intro__text strong,
.rs-intro__text b {
	font-weight: 600;
}

/* Procedures cards */
.rs-procedures {
	padding: 4rem 0;
	background: #fff;
	font-family: var(--rs-font-sans);
}

.rs-procedures__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 768px) {
	.rs-procedures__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.rs-procedure-card {
	background: var(--rs-ice-blue);
	border: 1px solid var(--rs-ice-blue-border);
	padding: 2rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	transition: box-shadow 0.25s ease;
}

.rs-procedure-card:hover {
	box-shadow: 0 4px 12px rgba(28, 61, 82, 0.1);
}

.rs-procedure-card__body {
	width: 100%;
}

.rs-procedure-card__icon {
	width: 8rem;
    height: 8rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rs-procedure-card__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	border-radius: 50%;
}

.rs-procedure-card__title {
	font-family: var(--rs-font-serif);
	font-size: 1.5rem;
	font-weight: 700;
	font-style: italic;
	color: var(--rs-slate-blue);
	margin: 0 0 0.75rem;
}

.rs-procedure-card__desc {
	font-family: var(--rs-font-sans);
	font-size: 0.9rem;
	line-height: 1.65;
	font-weight: 300;
	color: #475569;
	margin: 0 auto 2rem;
	max-width: 20rem;
}

.rs-procedure-card__btn {
	display: inline-block;
	padding: 0.625rem 1.5rem;
	background: var(--rs-slate-blue);
	color: #fff;
	font-family: var(--rs-font-sans);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	border: none;
	transition: background-color 0.25s ease;
}

.rs-procedure-card__btn:hover,
.rs-procedure-card__btn:focus {
	background: var(--rs-slate-blue-dark);
	color: #fff;
	text-decoration: none;
}

/* Surgeon biography */
.rs-surgeon {
	padding: 4rem 0;
	background: #fff;
	border-top: 1px solid #f1f5f9;
	font-family: var(--rs-font-sans);
}

.rs-surgeon__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: center;
}

@media (min-width: 1024px) {
	.rs-surgeon__grid {
		grid-template-columns: 5fr 7fr;
		gap: 3rem;
	}
}

.rs-surgeon__media {
	width: 100%;
}

.rs-surgeon__photo {
	position: relative;
	max-width: 100%;
	margin: 0 auto;
}

.rs-surgeon__photo img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
	border: 1px solid #e2e8f0;
	height: 600px;
	object-fit: cover;
}

.rs-surgeon__content {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.rs-surgeon__name {
	font-family: var(--rs-font-serif);
	font-size: 1.875rem;
	font-weight: 700;
	color: var(--rs-slate-blue);
	margin: 0;
}

@media (min-width: 640px) {
	.rs-surgeon__name {
		font-size: 2.25rem;
	}
}

.rs-surgeon__role {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #64748b;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 0.75rem;
}

.rs-surgeon__bio {
	font-size: 0.75rem;
	font-weight: 300;
	line-height: 1.7;
	color: #475569;
}

@media (min-width: 640px) {
	.rs-surgeon__bio {
		font-size: 0.875rem;
	}
}

.rs-surgeon__bio p {
	margin: 0 0 1rem;
}

.rs-surgeon__bio p:last-child {
	margin-bottom: 0;
}

.rs-surgeon__note {
	margin: 0;
	padding-top: 0.5rem;
	font-size: 0.75rem;
	font-weight: 500;
	font-style: italic;
	color: #475569;
}

.rs-surgeon__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid #f1f5f9;
}

.rs-surgeon__badge {
	border: 1px solid #e2e8f0;
	padding: 0.5rem 1rem;
	text-align: center;
}

.rs-surgeon__badge-label {
	display: block;
	font-family: var(--rs-font-serif);
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--rs-slate-blue);
	letter-spacing: 0.15em;
}

.rs-surgeon__badge-caption {
	margin: 0.15rem 0 0;
	font-size: 9px;
	text-transform: uppercase;
	color: #94a3b8;
}

/* Results gallery (Swiper per card) */
.rs-results {
	padding: 5rem 0;
	background: var(--rs-ice-blue);
	border-top: 1px solid #e2e8f0;
	font-family: var(--rs-font-sans);
}

.rs-results__header {
	text-align: center;
	max-width: 48rem;
	margin: 0 auto 3rem;
}

.rs-results__title {
	font-family: var(--rs-font-serif);
	font-size: 1.875rem;
	font-weight: 700;
	color: var(--rs-slate-blue);
	margin: 0;
}

@media (min-width: 640px) {
	.rs-results__title {
		font-size: 2.25rem;
	}
}

.rs-results__subtitle {
	margin: 0.5rem 0 0;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #64748b;
}

.rs-results__rule {
	width: 3rem;
	height: 2px;
	background: var(--rs-slate-blue);
	margin: 1rem auto 0;
}

.rs-results__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	width: 100%;
}

@media (min-width: 768px) {
	.rs-results__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.rs-results__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.5rem;
	}
}

.rs-results-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	max-width: none;
	min-width: 0;
	box-sizing: border-box;
}

.rs-results-card__title {
	font-family: var(--rs-font-serif);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--rs-slate-blue);
	margin: 0.75rem 0 0;
	text-align: center;
}

.rs-results-swiper {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	position: relative;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	background: #f1f5f9;
}

.rs-results-swiper .swiper-wrapper,
.rs-results-swiper .swiper-slide {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.rs-results-slide {
	aspect-ratio: 4 / 5;
	width: 100%;
	max-width: 100%;
	background: #f1f5f9;
}

.rs-results-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.rs-results-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 2rem;
	height: 2rem;
	border: none;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.9);
	color: var(--rs-slate-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
	transition: background-color 0.2s ease;
}

.rs-results-nav:hover,
.rs-results-nav:focus {
	background: #fff;
	outline: none;
}

.rs-results-nav--prev {
	left: 0.5rem;
}

.rs-results-nav--next {
	right: 0.5rem;
}

.rs-results-pagination {
	position: absolute;
	bottom: 0.75rem;
	left: 0;
	right: 0;
	z-index: 10;
	display: flex;
	justify-content: center;
	gap: 0.35rem;
}

.rs-results-pagination .swiper-pagination-bullet {
	width: 7px;
	height: 7px;
	background: rgba(255, 255, 255, 0.55);
	opacity: 1;
	margin: 0 !important;
}

.rs-results-pagination .swiper-pagination-bullet-active {
	background: #fff;
}

/* Reviews (Trustindex) */
.rs-reviews {
	padding: 4rem 0;
	background: #fff;
	border-top: 1px solid #f1f5f9;
	font-family: var(--rs-font-sans);
}

.rs-reviews__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 2.5rem;
	gap: 1.5rem;
}

.rs-reviews__title {
	font-family: var(--rs-font-serif);
	font-size: 1.875rem;
	font-weight: 700;
	color: var(--rs-slate-blue);
	margin: 0;
}

.rs-reviews__subtitle {
	margin: 0.25rem 0 0;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #64748b;
}

.rs-reviews__widget {
	width: 100%;
	min-width: 0;
}

.rs-reviews__widget iframe,
.rs-reviews__widget img {
	max-width: 100%;
}

/* Custom site header */
.rs-site-header {
	position: relative;
	z-index: 100;
	font-family: var(--rs-font-sans);
}

.rs-topbar {
	display: none;
	background: #fff;
	border-bottom: 1px solid #f1f5f9;
	color: #475569;
	font-size: 0.75rem;
	padding: 0.5rem 0;
}

@media (min-width: 768px) {
	.rs-topbar {
		display: block;
	}
}

.rs-topbar__inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-between;
	gap: 0.5rem;
}

@media (min-width: 640px) {
	.rs-topbar__inner {
		flex-direction: row;
		align-items: center;
	}
}

.rs-topbar__left,
.rs-topbar__right {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
}

.rs-topbar__left {
	justify-content: flex-start;
}

.rs-topbar__right {
	justify-content: flex-start;
}

@media (min-width: 640px) {
	.rs-topbar__right {
		justify-content: flex-end;
		margin-left: auto;
	}
}

.rs-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: inherit;
	text-decoration: none;
	font-weight: 600;
}

.rs-topbar__item:hover {
	color: var(--rs-slate-blue);
}

.rs-topbar__icon {
	color: var(--rs-slate-blue);
	flex-shrink: 0;
	height: 17px;
    width: 17px;
}

.rs-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid #e2e8f0;
}

.rs-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.rs-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	min-width: 0;
}

.rs-brand__mark {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	background: var(--rs-slate-blue);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--rs-font-serif);
	font-weight: 700;
	font-size: 1.25rem;
	flex-shrink: 0;
}

.rs-brand__logo {
	display: block;
	height: 2.75rem;
	width: auto;
	max-width: 14rem;
	object-fit: contain;
}

@media (min-width: 640px) {
	.rs-brand__logo {
		height: 3.25rem;
		max-width: 16rem;
	}
}

.rs-nav {
	display: none;
}

@media (min-width: 1024px) {
	.rs-nav {
		display: block;
		flex: 1;
	}
}

.rs-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.25rem 1.75rem;
}

.rs-nav__list > li {
	margin: 0;
	position: relative;
}

.rs-nav__list > li > a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #334155;
	text-decoration: none;
	padding-bottom: 0.15rem;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.rs-nav__list > li.menu-item-has-children > a::after {
	content: '';
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid currentColor;
	opacity: 0.7;
}

.rs-nav__list > li > a:hover,
.rs-nav__list > li.current-menu-item > a,
.rs-nav__list > li.current-menu-ancestor > a,
.rs-nav__list > li:hover > a,
.rs-nav__list > li:focus-within > a {
	color: var(--rs-slate-blue);
	border-bottom-color: var(--rs-slate-blue);
}

/* Desktop dropdown */
.rs-nav__list > li > .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(0.35rem);
	min-width: 12.5rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
	z-index: 60;
}

.rs-nav__list > li:hover > .sub-menu,
.rs-nav__list > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.rs-nav__list .sub-menu li {
	margin: 0;
	position: relative;
}

.rs-nav__list .sub-menu a {
	display: block;
	padding: 0.55rem 1rem;
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0.02em;
	color: #334155;
	text-decoration: none;
	white-space: nowrap;
	border: none;
}

.rs-nav__list .sub-menu a:hover,
.rs-nav__list .sub-menu .current-menu-item > a {
	color: var(--rs-slate-blue);
	background: var(--rs-ice-blue);
}

/* Nested flyout (3rd level) */
.rs-nav__list .sub-menu .sub-menu {
	top: 0;
	left: 100%;
	transform: translateY(0.25rem);
	margin-left: 0.15rem;
}

.rs-nav__list .sub-menu li:hover > .sub-menu,
.rs-nav__list .sub-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.rs-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

.rs-header__search {
	width: 2.25rem;
	height: 2.25rem;
	border: none;
	border-radius: 9999px;
	background: var(--rs-ice-blue);
	color: #475569;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.rs-header__search:hover {
	color: var(--rs-slate-blue);
}

.rs-header__cta {
	display: none;
	padding: 0.625rem 1.25rem;
	background: var(--rs-slate-blue);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	border: none;
	transition: background-color 0.2s ease;
}

@media (min-width: 640px) {
	.rs-header__cta {
		display: inline-block;
	}
}

.rs-header__cta:hover,
.rs-header__cta:focus {
	background: var(--rs-slate-blue-dark);
	color: #fff;
	text-decoration: none;
}

.rs-header__burger {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: #334155;
	cursor: pointer;
	padding: 0.25rem;
	margin-left: 0.25rem;
}

@media (min-width: 1024px) {
	.rs-header__burger {
		display: none;
	}
}

.rs-nav-mobile {
	display: none;
	background: #fff;
	border-bottom: 1px solid #e2e8f0;
	padding: 1rem 1.5rem 1.25rem;
}

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

@media (min-width: 1024px) {
	.rs-nav-mobile,
	.rs-nav-mobile.is-open {
		display: none !important;
	}
}

.rs-nav-mobile__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.rs-nav-mobile__list a {
	color: #334155;
	text-decoration: none;
	display: block;
	padding: 0.25rem 0;
}

.rs-nav-mobile__list a:hover,
.rs-nav-mobile__list .current-menu-item > a {
	color: var(--rs-slate-blue);
}

.rs-nav-mobile__list .sub-menu {
	list-style: none;
	margin: 0.35rem 0 0.25rem 0.75rem;
	padding: 0.25rem 0 0.25rem 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
	border-left: 2px solid #e2e8f0;
}

.rs-nav-mobile__list .sub-menu a {
	font-size: 0.8rem;
	text-transform: none;
	letter-spacing: 0.01em;
	font-weight: 400;
	color: #475569;
}

.rs-search {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(17, 37, 51, 0.55);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 6rem 1rem 1rem;
}

.rs-search[hidden] {
	display: none !important;
}

.rs-search__panel {
	width: 100%;
	max-width: 36rem;
	background: #fff;
	padding: 1rem;
	position: relative;
}

.rs-search__form {
	display: flex;
	gap: 0.5rem;
}

.rs-search__input {
	flex: 1;
	border: 1px solid #cbd5e1;
	padding: 0.75rem 1rem;
	font-family: inherit;
	font-size: 0.875rem;
}

.rs-search__submit {
	background: var(--rs-slate-blue);
	color: #fff;
	border: none;
	padding: 0.75rem 1rem;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	cursor: pointer;
}

.rs-search__close {
	position: absolute;
	top: 0.35rem;
	right: 0.5rem;
	border: none;
	background: none;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: #64748b;
}

.rs-whatsapp {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 90;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 9999px;
	background: #10b981;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
	text-decoration: none;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.rs-whatsapp:hover {
	background: #059669;
	color: #fff;
	transform: scale(1.05);
}

/* Custom footer */
.page-template-template-home .scroll-top,
body.home .scroll-top {
	display: none !important;
}

/* Break out of The7 content column so footer is full-bleed */
.rs-home-content + .rs-footer,
#main > .rs-footer {
	width: 100vw;
	max-width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.rs-footer {
	background: var(--rs-slate-blue-dark);
	color: #cbd5e1;
	font-family: var(--rs-font-sans);
	font-size: 0.9375rem;
	padding: 4rem 0;
	display: block;
	clear: both;
}

.rs-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid #334155;
}

@media (min-width: 768px) {
	.rs-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.rs-footer__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.rs-footer__col {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.rs-footer__logo {
	display: inline-block;
	max-width: 11rem;
	line-height: 0;
	text-decoration: none;
}

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

.rs-footer__heading {
	margin: 0;
	font-family: var(--rs-font-serif);
	font-size: 1.35rem;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	line-height: 1.3;
}

.rs-footer__text {
	margin: 0;
	color: #94a3b8;
	font-weight: 300;
	line-height: 1.7;
}

.rs-footer__meta {
	margin: 0;
	color: #94a3b8;
}

.rs-footer__meta a {
	color: #fff;
	text-decoration: none;
}

.rs-footer__meta a:hover,
.rs-footer__meta a:focus {
	text-decoration: underline;
}

.rs-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.rs-footer__list a {
	color: #94a3b8;
	font-weight: 300;
	text-decoration: none;
	transition: color 0.2s ease;
}

.rs-footer__list a:hover,
.rs-footer__list a:focus {
	color: #fff;
}

.rs-footer__cta {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 1rem;
	background: #fff;
	color: var(--rs-slate-blue);
	font-size: 0.875rem;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.rs-footer__cta:hover,
.rs-footer__cta:focus {
	background: #f1f5f9;
	color: var(--rs-slate-blue);
}

.rs-footer__bottom {
	padding-top: 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.8125rem;
	color: #64748b;
}

@media (min-width: 640px) {
	.rs-footer__bottom {
		flex-direction: row;
	}
}

.rs-footer__copy {
	margin: 0;
}

.rs-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
}

.rs-footer__legal a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.rs-footer__legal a:hover,
.rs-footer__legal a:focus {
	color: #94a3b8;
}

.rs-footer__top {
	width: 2rem;
	height: 2rem;
	border: none;
	border-radius: 9999px;
	background: #1e293b;
	color: #cbd5e1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.rs-footer__top:hover,
.rs-footer__top:focus {
	color: #fff;
	background: #334155;
}
