/*
 * RvR Xprtise services refresh.
 * Scoped to the services overview and its five service detail pages.
 * Palette and spacing follow the current Bai Jamjuree, black and gold homepage.
 */

.rvr-service-seo {
	--service-card-gap: 18px;
	background: var(--white, #fff);
	color: var(--ink, #17140f);
	overflow: clip;
}

.rvr-service-seo .service-breadcrumb-wrap {
	position: relative;
	z-index: 2;
	padding-block: 13px;
	background: #090909;
	color: rgba(255, 255, 255, 0.76);
	border-bottom: 1px solid rgba(201, 168, 106, 0.36);
}

.rvr-service-seo .service-breadcrumb {
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none;
	font-size: 11px;
	line-height: 1.5;
}

.rvr-service-seo .service-breadcrumb li + li::before {
	content: "/";
	margin-right: 8px;
	color: var(--gold, #c9a86a);
}

.rvr-service-seo .service-breadcrumb a:hover,
.rvr-service-seo .service-breadcrumb a:focus-visible {
	color: var(--gold-light, #e1c17f);
}

.rvr-service-seo .inner-hero {
	min-height: clamp(300px, 34vw, 440px);
	background: #080808;
}

.rvr-service-seo .inner-hero-overlay {
	background:
		linear-gradient(90deg, rgba(2, 2, 2, 0.94), rgba(2, 2, 2, 0.66) 58%, rgba(2, 2, 2, 0.3)),
		linear-gradient(0deg, rgba(2, 2, 2, 0.62), transparent 65%);
}

.rvr-service-seo .inner-hero-content {
	padding-block: clamp(54px, 7vw, 88px);
}

.rvr-service-seo .inner-hero-content .eyebrow {
	margin-bottom: 18px;
	color: var(--gold-light, #e1c17f);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.rvr-service-seo .inner-hero-content h1 {
	max-width: 850px;
	font-size: clamp(38px, 4.8vw, 58px);
	line-height: 1.02;
	letter-spacing: -0.045em;
}

.rvr-service-seo .inner-hero-content > p:last-child {
	max-width: 720px;
	margin-top: 22px;
	font-size: clamp(15px, 1.35vw, 18px);
	line-height: 1.7;
}

.rvr-service-seo .inner-index {
	color: transparent;
	font-size: clamp(74px, 9vw, 116px);
	-webkit-text-stroke: 1px rgba(201, 168, 106, 0.38);
}

.rvr-service-seo .service-intro {
	padding-block: clamp(58px, 7vw, 86px) 44px;
}

.rvr-service-seo .service-intro-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
	align-items: end;
	gap: clamp(34px, 6vw, 82px);
}

.rvr-service-seo .service-intro-layout h2,
.rvr-service-seo .service-carousel-heading h2 {
	max-width: 680px;
	margin: 0;
	font-size: clamp(30px, 3.5vw, 48px);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.04em;
}

.rvr-service-seo .service-intro-layout .eyebrow,
.rvr-service-seo .service-carousel-heading .eyebrow {
	margin-bottom: 15px;
}

.rvr-service-seo .service-intro-copy > p {
	margin: 0 0 24px;
	color: #4d473f;
	font-size: 15px;
	line-height: 1.8;
}

.rvr-service-seo .service-proof-strip {
	margin-top: 48px;
	padding-block: 21px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid #d6cdbf;
	border-bottom: 1px solid #d6cdbf;
}

.rvr-service-seo .service-proof-strip > div {
	min-width: 0;
	padding-inline: 22px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	border-left: 1px solid #d6cdbf;
}

.rvr-service-seo .service-proof-strip > div:first-child {
	padding-left: 0;
	border-left: 0;
}

.rvr-service-seo .service-proof-strip strong {
	color: var(--ink, #17140f);
	font-size: 13px;
	font-weight: 700;
}

.rvr-service-seo .service-proof-strip span {
	color: #625b51;
	font-size: 11px;
}

.rvr-service-seo .service-carousel-section {
	margin: 0;
	padding-block: clamp(64px, 8vw, 96px);
	background: var(--ivory, #ebe4d7);
	color: var(--ink, #17140f);
}

.rvr-service-seo .service-carousel-heading {
	margin-bottom: 34px;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.75fr);
	align-items: end;
	gap: clamp(32px, 5vw, 72px);
}

.rvr-service-seo .service-carousel-heading > p {
	max-width: 540px;
	margin: 0;
	color: #595249;
	font-size: 14px;
	line-height: 1.75;
}

.rvr-service-seo .services-carousel {
	width: 100%;
	min-width: 0;
}

.rvr-service-seo .services-carousel .carousel-toolbar {
	width: fit-content;
	max-width: 100%;
	margin: 0 auto 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
}

.rvr-service-seo .services-carousel .carousel-hint {
	margin: 0;
	color: #645d52;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.13em;
	text-align: center;
	text-transform: uppercase;
}

.rvr-service-seo .services-carousel .carousel-controls {
	display: flex;
	gap: 8px;
}

.rvr-service-seo .services-carousel .carousel-control {
	width: 44px;
	height: 44px;
	padding: 0;
	display: grid;
	place-items: center;
	border: 1px solid #cfc4b5;
	background: var(--warm-white, #f8f6f1);
	color: var(--ink, #17140f);
	font-size: 19px;
	cursor: pointer;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.rvr-service-seo .services-carousel .carousel-control:hover:not(:disabled),
.rvr-service-seo .services-carousel .carousel-control:focus-visible {
	border-color: var(--gold, #c9a86a);
	background: var(--gold, #c9a86a);
	color: var(--black, #050505);
}

.rvr-service-seo .services-carousel .carousel-control:disabled {
	opacity: 0.32;
	cursor: default;
}

.rvr-service-seo .service-grid-five {
	width: 100%;
	min-width: 0;
	margin-inline: 0;
	padding: 2px 2px 15px;
	display: flex;
	align-items: stretch;
	gap: var(--service-card-gap);
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 2px;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-color: var(--gold, #c9a86a) #ded5c6;
	scrollbar-width: thin;
}

.rvr-service-seo .service-grid-five::-webkit-scrollbar {
	height: 5px;
}

.rvr-service-seo .service-grid-five::-webkit-scrollbar-track {
	background: #ded5c6;
}

.rvr-service-seo .service-grid-five::-webkit-scrollbar-thumb {
	background: var(--gold-deep, #806133);
}

.rvr-service-seo .service-grid-five.is-dragging {
	cursor: grabbing;
	user-select: none;
	scroll-behavior: auto;
}

.rvr-service-seo .service-grid-five.rvr-auto-track {
	scroll-behavior: auto !important;
	scroll-snap-type: none !important;
	cursor: grab;
}

.rvr-service-seo .service-grid-five.rvr-auto-track > .service-card {
	scroll-snap-align: none;
	scroll-snap-stop: normal;
}

.rvr-service-seo .service-grid-five.is-dragging a {
	pointer-events: none;
}

.rvr-service-seo .service-grid-five .service-card {
	flex: 0 0 calc((100% - (var(--service-card-gap) * 2)) / 3);
	width: auto;
	min-width: 0;
	max-width: none;
	min-height: 420px;
	padding: clamp(24px, 2.4vw, 32px);
	display: flex;
	flex-direction: column;
	background: var(--warm-white, #f8f6f1);
	color: var(--ink, #17140f);
	border: 1px solid #d7cdbd;
	border-radius: var(--radius, 18px);
	scroll-snap-align: start;
	scroll-snap-stop: always;
	transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.rvr-service-seo .service-grid-five .service-card:nth-child(even) {
	background: #f3eee5;
}

.rvr-service-seo .service-grid-five .service-card:hover {
	transform: translateY(-4px);
	background: #fff;
	border-color: var(--gold-deep, #806133);
	box-shadow: 0 18px 42px rgba(25, 19, 10, 0.11);
}

.rvr-service-seo .service-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
}

.rvr-service-seo .service-number {
	color: var(--gold-deep, #806133);
	font-size: 12px;
	font-weight: 700;
}

.rvr-service-seo .service-label {
	max-width: 76%;
	color: #74624a;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.14em;
	text-align: right;
	text-transform: uppercase;
}

.rvr-service-seo .service-grid-five .service-card h3 {
	margin: 40px 0 14px;
	font-size: clamp(25px, 2.2vw, 32px);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.rvr-service-seo .service-grid-five .service-card > p {
	margin: 0;
	color: #4f4940;
	font-size: 13px;
	line-height: 1.7;
}

.rvr-service-seo .service-grid-five .service-result {
	margin-top: 18px;
	padding-top: 14px;
	color: #3f3931;
	border-top: 1px solid #d7cdbd;
	font-size: 11px;
	line-height: 1.55;
}

.rvr-service-seo .service-grid-five .service-result > span {
	margin-right: 7px;
	color: var(--gold-deep, #806133);
	font-weight: 700;
}

.rvr-service-seo .service-package-tags {
	margin-top: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.rvr-service-seo .service-package-tags span {
	padding: 6px 8px;
	background: #eee7db;
	color: #5c5243;
	border: 1px solid #ddd1bf;
	border-radius: 999px;
	font-size: 9px;
	line-height: 1.3;
}

.rvr-service-seo .service-grid-five .service-card > .service-card-link {
	margin-top: auto;
	padding-top: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: #362b1a;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.rvr-service-seo .service-grid-five .service-card > .service-card-link:hover,
.rvr-service-seo .service-grid-five .service-card > .service-card-link:focus-visible {
	color: var(--gold-deep, #806133);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.rvr-service-seo .service-carousel-status {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.rvr-service-seo .service-advice-section {
	background:
		radial-gradient(circle at 85% 20%, rgba(201, 168, 106, 0.12), transparent 34%),
		#080808;
	color: var(--white, #fff);
}

.rvr-service-seo .service-advice-section .choice-grid {
	align-items: center;
}

.rvr-service-seo .service-advice-section .choice-grid > div:last-child > p {
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.75;
}

.rvr-service-seo .service-advice-actions {
	margin-top: 22px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

.rvr-service-seo .service-detail-hero-actions {
	margin-top: -1px;
	padding-block: 22px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	border-bottom: 1px solid #ded8cd;
}

.rvr-service-seo .service-detail-hero-actions .text-link {
	color: #514638;
	font-size: 13px;
	font-weight: 600;
}

.rvr-service-seo .service-detail-hero-actions .text-link:hover,
.rvr-service-seo .service-detail-hero-actions .text-link:focus-visible {
	color: var(--gold-deep, #806133);
}

.rvr-service-seo .service-detail-intro {
	padding-block: clamp(66px, 8vw, 100px);
}

.rvr-service-seo .service-detail-intro .detail-intro-grid {
	align-items: start;
}

.rvr-service-seo .service-detail-intro .detail-intro-grid h2,
.rvr-service-seo .service-fit-section .section-heading h2,
.rvr-service-seo .service-process-section .section-heading h2,
.rvr-service-seo .service-related-section .section-heading h2 {
	font-size: clamp(30px, 3.4vw, 46px);
	line-height: 1.1;
	letter-spacing: -0.04em;
}

.rvr-service-seo .service-fit-section {
	padding-block: clamp(62px, 7vw, 90px);
}

.rvr-service-seo .service-fit-section .section-heading {
	margin-bottom: 30px;
}

.rvr-service-seo .service-fit-list {
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	list-style: none;
}

.rvr-service-seo .service-fit-list li {
	min-height: 100%;
	padding: 21px 20px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: rgba(255, 255, 255, 0.58);
	border: 1px solid #d7cdbd;
	border-radius: 12px;
	color: #383229;
	font-size: 13px;
	line-height: 1.65;
}

.rvr-service-seo .service-fit-list li > span {
	flex: 0 0 auto;
	color: var(--gold-deep, #806133);
	font-weight: 800;
}

.rvr-service-seo .service-package-section .section-heading {
	margin-bottom: 38px;
}

.rvr-service-seo .service-package-section .package-card {
	min-height: 0;
	padding: clamp(25px, 2.8vw, 34px);
	border-radius: var(--radius, 18px);
}

.rvr-service-seo .service-package-section .package-card > ul {
	margin-bottom: 24px;
}

.rvr-service-seo .service-package-section .package-card > a {
	margin-top: auto;
	line-height: 1.5;
}

.rvr-service-seo .service-package-section .pricing-note {
	max-width: 850px;
	margin: 24px auto 0;
	color: rgba(255, 255, 255, 0.75);
	font-size: 12px;
	line-height: 1.65;
	text-align: center;
}

.rvr-service-seo .service-process-section {
	padding-block: clamp(64px, 7vw, 92px);
}

.rvr-service-seo .service-process-section .section-heading {
	margin-bottom: 34px;
}

.rvr-service-seo .service-process-grid {
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	list-style: none;
}

.rvr-service-seo .service-process-grid li {
	min-width: 0;
	padding: clamp(22px, 2.6vw, 32px);
	background: #f5f2eb;
	border: 1px solid #ded7ca;
	border-radius: 14px;
}

.rvr-service-seo .service-process-number {
	width: 40px;
	height: 40px;
	margin-bottom: 24px;
	display: grid;
	place-items: center;
	background: var(--black, #050505);
	color: var(--gold-light, #e1c17f);
	border-radius: 50%;
	font-size: 11px;
	font-weight: 700;
}

.rvr-service-seo .service-process-grid h3 {
	margin: 0 0 10px;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.2;
}

.rvr-service-seo .service-process-grid p {
	margin: 0;
	color: #5c554c;
	font-size: 13px;
	line-height: 1.7;
}

.rvr-service-seo .service-related-section {
	padding-block: clamp(64px, 7vw, 88px);
	background:
		radial-gradient(circle at 90% 0%, rgba(201, 168, 106, 0.13), transparent 34%),
		#090909;
	color: var(--white, #fff);
}

.rvr-service-seo .service-related-section .section-heading {
	margin-bottom: 30px;
}

.rvr-service-seo .service-related-section .section-heading > p {
	color: rgba(255, 255, 255, 0.68);
}

.rvr-service-seo .service-related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.rvr-service-seo .service-related-card {
	min-height: 116px;
	padding: 19px 22px;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 8px 20px;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(201, 168, 106, 0.34);
	border-radius: 12px;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.rvr-service-seo .service-related-card:hover,
.rvr-service-seo .service-related-card:focus-visible {
	transform: translateY(-2px);
	background: rgba(201, 168, 106, 0.1);
	border-color: var(--gold, #c9a86a);
}

.rvr-service-seo .service-related-card > span {
	grid-column: 1 / -1;
	color: var(--gold-light, #e1c17f);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.rvr-service-seo .service-related-card strong {
	font-size: 18px;
	font-weight: 600;
}

.rvr-service-seo .service-related-card small {
	color: rgba(255, 255, 255, 0.72);
	font-size: 11px;
}

.rvr-service-seo .service-location-note {
	margin: 24px 0 0;
	color: rgba(255, 255, 255, 0.65);
	font-size: 12px;
	line-height: 1.6;
}

.rvr-service-seo .service-faq {
	padding-block: clamp(64px, 7vw, 90px);
}

.rvr-service-seo .service-faq .faq-grid {
	align-items: start;
}

.rvr-service-seo .service-faq .faq-grid h2 {
	font-size: clamp(29px, 3.4vw, 43px);
	line-height: 1.1;
	letter-spacing: -0.04em;
}

.rvr-service-seo .contact-band {
	background:
		radial-gradient(circle at 90% 15%, rgba(201, 168, 106, 0.14), transparent 33%),
		#080808;
	color: var(--white, #fff);
}

.rvr-service-seo .contact-band .eyebrow {
	color: var(--gold-light, #e1c17f);
}

.rvr-service-seo .contact-band h2 {
	max-width: 740px;
	font-size: clamp(30px, 3.6vw, 46px);
	line-height: 1.08;
	letter-spacing: -0.04em;
}

.rvr-service-seo .contact-band-inner > div:first-child > p:last-child,
.rvr-service-seo .contact-band-actions .text-link {
	color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
	.rvr-service-seo .service-intro-layout,
	.rvr-service-seo .service-carousel-heading {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.rvr-service-seo .service-grid-five .service-card {
		flex-basis: calc((100% - var(--service-card-gap)) / 2);
	}

	.rvr-service-seo .service-fit-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	.rvr-service-seo .service-breadcrumb-wrap {
		padding-block: 11px;
	}

	.rvr-service-seo .service-breadcrumb {
		font-size: 10px;
	}

	.rvr-service-seo .inner-hero {
		min-height: 310px;
	}

	.rvr-service-seo .inner-hero-content {
		padding-block: 54px;
	}

	.rvr-service-seo .inner-hero-content h1 {
		font-size: clamp(36px, 10vw, 48px);
	}

	.rvr-service-seo .inner-hero-content > p:last-child {
		margin-top: 17px;
		font-size: 14px;
	}

	.rvr-service-seo .inner-index {
		right: 0;
		bottom: 12px;
		font-size: 76px;
	}

	.rvr-service-seo .service-intro {
		padding-block: 56px 32px;
	}

	.rvr-service-seo .service-proof-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 18px;
		margin-top: 34px;
	}

	.rvr-service-seo .service-proof-strip > div,
	.rvr-service-seo .service-proof-strip > div:first-child {
		padding-inline: 12px;
		border-left: 1px solid #d6cdbf;
	}

	.rvr-service-seo .service-proof-strip > div:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}

	.rvr-service-seo .service-carousel-section {
		padding-block: 58px;
	}

	.rvr-service-seo .service-carousel-heading {
		margin-bottom: 26px;
	}

	.rvr-service-seo .services-carousel .carousel-toolbar {
		width: 100%;
		justify-content: space-between;
		gap: 12px;
	}

	.rvr-service-seo .services-carousel .carousel-hint {
		max-width: 210px;
		font-size: 9px;
		text-align: left;
	}

	.rvr-service-seo .services-carousel .carousel-control {
		width: 40px;
		height: 40px;
	}

	.rvr-service-seo .service-grid-five .service-card {
		flex-basis: min(86vw, 360px);
		min-height: 410px;
		padding: 24px;
	}

	.rvr-service-seo .service-advice-section .choice-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.rvr-service-seo .service-advice-actions {
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
	}

	.rvr-service-seo .service-detail-hero-actions {
		padding-block: 18px;
		gap: 16px;
	}

	.rvr-service-seo .service-detail-hero-actions .button {
		width: 100%;
		justify-content: center;
	}

	.rvr-service-seo .service-fit-list li {
		padding: 17px 16px;
	}

	.rvr-service-seo .service-package-section .package-grid,
	.rvr-service-seo .service-process-grid,
	.rvr-service-seo .service-related-grid {
		grid-template-columns: 1fr;
	}

	.rvr-service-seo .service-related-card {
		min-height: 106px;
		padding: 17px 18px;
	}

	.rvr-service-seo .service-related-card strong {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rvr-service-seo,
	.rvr-service-seo * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
