/* Expo WA — home sections + shared section chrome */

.rsgdxewa-section {
	position: relative;
	margin-bottom: 50px;
	overflow: hidden;
}

.rsgdxewa-section:last-child {
	margin-bottom: 0;
}

.rsgdxewa-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.rsgdxewa-bg__video,
.rsgdxewa-bg__iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%) scale(1.15);
	border: 0;
	object-fit: cover;
}

.rsgdxewa-section > *:not(.rsgdxewa-bg) {
	position: relative;
	z-index: 1;
}

/* Banner */
.rsgdxewa-banner {
	min-height: 70vh;
	display: flex;
	align-items: center;
	color: #fff;
}

.rsgdxewa-banner__overlay {
	position: absolute;
	inset: 0;
	background: #000;
	opacity: var(--rsgdxewa-banner-overlay, 0.45);
	z-index: 0;
	pointer-events: none;
}

.rsgdxewa-banner__inner {
	width: 100%;
	max-width: var(--rsgdxewa-content-max-width);
	margin: 0 auto;
	padding: 80px 24px;
	z-index: 1;
}

.rsgdxewa-banner__inner--left { text-align: left; }
.rsgdxewa-banner__inner--center { text-align: center; }
.rsgdxewa-banner__inner--right { text-align: right; }

.rsgdxewa-banner__eyebrow {
	margin: 0 0 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.85rem;
	opacity: 0.9;
}

.rsgdxewa-banner__title {
	margin: 0 0 16px;
	font-size: clamp(2rem, 5vw, var(--rsgdxewa-title-h1));
	line-height: 1.15;
	color: #fff;
}

.rsgdxewa-banner__desc {
	max-width: 640px;
	margin: 0 0 24px;
	font-size: 1.05rem;
	opacity: 0.92;
}

.rsgdxewa-banner__inner--center .rsgdxewa-banner__desc { margin-left: auto; margin-right: auto; }
.rsgdxewa-banner__inner--right .rsgdxewa-banner__desc { margin-left: auto; }

.rsgdxewa-banner__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.rsgdxewa-banner__inner--center .rsgdxewa-banner__buttons { justify-content: center; }
.rsgdxewa-banner__inner--right .rsgdxewa-banner__buttons { justify-content: flex-end; }

/* Timeline — left-aligned markers */
.rsgdxewa-timeline-section {
	color: #fff;
	padding: 64px 0;
}

.rsgdxewa-timeline-section__inner {
	max-width: var(--rsgdxewa-content-max-width);
	margin: 0 auto;
	padding: 0 24px;
}

.rsgdxewa-timeline {
	display: grid;
	grid-template-columns: repeat(var(--rsgdxewa-timeline-cols, 3), minmax(0, 1fr));
	gap: 32px;
	position: relative;
}

.rsgdxewa-timeline::before {
	content: '';
	position: absolute;
	top: 20px;
	left: 20px;
	right: calc(100% / var(--rsgdxewa-timeline-cols, 3) / 2);
	height: 1px;
	background: rgba(255, 255, 255, 0.25);
	pointer-events: none;
}

.rsgdxewa-timeline__item {
	text-align: left;
	position: relative;
}

.rsgdxewa-timeline__marker {
	margin-bottom: 20px;
}

.rsgdxewa-timeline__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: var(--rsgdxewa-color-primary);
	position: relative;
	z-index: 1;
}

.rsgdxewa-timeline__icon-font {
	font-size: 0.85rem;
}

.rsgdxewa-timeline__icon-img {
	max-width: 18px;
	max-height: 18px;
}

.rsgdxewa-timeline__title {
	margin: 0 0 10px;
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	color: #fff;
	line-height: 1.25;
}

.rsgdxewa-timeline__subtext {
	margin: 0;
	opacity: 0.85;
	font-size: 0.95rem;
	line-height: 1.55;
}

@media (max-width: 767px) {
	.rsgdxewa-timeline {
		grid-template-columns: 1fr;
	}
	.rsgdxewa-timeline::before {
		display: none;
	}
}

/* Highlight service */
.rsgdxewa-highlight {
	padding: 64px 0;
	color: #fff;
}

.rsgdxewa-highlight__inner {
	max-width: var(--rsgdxewa-content-max-width);
	margin: 0 auto;
	padding: 0 24px;
}

.rsgdxewa-highlight__header {
	margin-bottom: 28px;
}

.rsgdxewa-highlight__eyebrow,
.rsgdxewa-highlight__title {
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: #fff;
}

.rsgdxewa-highlight__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}

.rsgdxewa-highlight__media img {
	width: 100%;
	height: auto;
	display: block;
}

.rsgdxewa-highlight__desc {
	font-size: 1rem;
	line-height: 1.7;
	opacity: 0.95;
}

.rsgdxewa-highlight__desc p {
	margin: 0 0 1em;
}

.rsgdxewa-highlight__actions {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	display: flex;
	justify-content: flex-end;
}

@media (max-width: 900px) {
	.rsgdxewa-highlight__grid {
		grid-template-columns: 1fr;
	}
}

/* Home logos */
.rsgdxewa-home-logos {
	padding: 40px 0;
}

/* Services grid — tight merged look */
.rsgdxewa-services-grid__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
}

.rsgdxewa-services-grid__cards[data-count="5"] .rsgdxewa-service-card:nth-child(4),
.rsgdxewa-services-grid__cards[data-count="5"] .rsgdxewa-service-card:nth-child(5) {
	/* second row with 2 cards centered-ish via span */
}

.rsgdxewa-services-grid__cards[data-count="5"] {
	grid-template-columns: repeat(6, 1fr);
}

.rsgdxewa-services-grid__cards[data-count="5"] .rsgdxewa-service-card:nth-child(-n+3) {
	grid-column: span 2;
}

.rsgdxewa-services-grid__cards[data-count="5"] .rsgdxewa-service-card:nth-child(n+4) {
	grid-column: span 3;
}

.rsgdxewa-services-grid__cards[data-count="4"] {
	grid-template-columns: repeat(2, 1fr);
}

.rsgdxewa-services-grid__cards[data-count="2"] {
	grid-template-columns: repeat(2, 1fr);
}

.rsgdxewa-services-grid__cards[data-count="1"] {
	grid-template-columns: 1fr;
}

.rsgdxewa-service-card {
	position: relative;
	min-height: 280px;
	display: block;
	background-size: cover;
	background-position: center;
	background-color: var(--rsgdxewa-color-secondary);
	text-decoration: none;
	overflow: hidden;
	color: #fff;
}

.rsgdxewa-service-card__overlay {
	position: absolute;
	inset: 0;
	background: rgba(20, 20, 28, 0.55);
	transition: background 0.35s ease;
}

.rsgdxewa-service-card__front,
.rsgdxewa-service-card__back {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 24px;
	z-index: 1;
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.rsgdxewa-service-card__back {
	opacity: 0;
	transform: translateY(12px);
	justify-content: center;
}

.rsgdxewa-service-card__title {
	font-size: 1.35rem;
	font-weight: 700;
}

.rsgdxewa-service-card__excerpt {
	font-size: 0.95rem;
	line-height: 1.5;
	margin-bottom: 12px;
	opacity: 0.95;
}

.rsgdxewa-service-card__more {
	font-weight: 700;
	color: var(--rsgdxewa-color-highlight);
}

.rsgdxewa-service-card:hover .rsgdxewa-service-card__front {
	opacity: 0;
	transform: translateY(-10px);
}

.rsgdxewa-service-card:hover .rsgdxewa-service-card__back {
	opacity: 1;
	transform: translateY(0);
}

.rsgdxewa-service-card:hover .rsgdxewa-service-card__overlay {
	background: rgba(20, 20, 28, 0.72);
}

@media (max-width: 767px) {
	.rsgdxewa-services-grid__cards,
	.rsgdxewa-services-grid__cards[data-count="5"],
	.rsgdxewa-services-grid__cards[data-count="4"],
	.rsgdxewa-services-grid__cards[data-count="2"] {
		grid-template-columns: 1fr;
	}
	.rsgdxewa-services-grid__cards[data-count="5"] .rsgdxewa-service-card {
		grid-column: auto !important;
	}
}

/* Work slider */
.rsgdxewa-work {
	padding: 64px 0;
	color: #fff;
}

.rsgdxewa-work__header {
	max-width: var(--rsgdxewa-content-max-width);
	margin: 0 auto 28px;
	padding: 0 24px;
}

.rsgdxewa-section-header--left { text-align: left; }
.rsgdxewa-section-header--center { text-align: center; }
.rsgdxewa-section-header--right { text-align: right; }

.rsgdxewa-work__eyebrow { margin: 0 0 8px; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; }
.rsgdxewa-work__title { margin: 0 0 10px; font-size: var(--rsgdxewa-title-h2); color: #fff; }
.rsgdxewa-work__desc { margin: 0; opacity: 0.9; }

.rsgdxewa-slider {
	position: relative;
	min-height: 420px;
}

.rsgdxewa-slider__track {
	position: relative;
	min-height: 420px;
}

.rsgdxewa-slider__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease;
}

.rsgdxewa-slider__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.rsgdxewa-slider__slide-media {
	position: absolute !important;
	inset: 0;
}

.rsgdxewa-slider__content {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 48px;
	max-width: 560px;
	z-index: 2;
	margin: 0 auto;
}

.rsgdxewa-slider__slide-eyebrow { margin: 0 0 8px; opacity: 0.85; }
.rsgdxewa-slider__slide-title { margin: 0 0 10px; font-size: 1.75rem; color: #fff; }
.rsgdxewa-slider__slide-desc { margin: 0 0 16px; opacity: 0.9; }

.rsgdxewa-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(0,0,0,0.45);
	color: #fff;
	cursor: pointer;
}

.rsgdxewa-slider__arrow--prev { left: 16px; }
.rsgdxewa-slider__arrow--next { right: 16px; }

.rsgdxewa-slider__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 16px;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 3;
}

.rsgdxewa-slider__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 0;
	background: rgba(255,255,255,0.4);
	cursor: pointer;
}

.rsgdxewa-slider__dot.is-active {
	background: var(--rsgdxewa-color-highlight);
}

/* Awards */
.rsgdxewa-awards {
	padding: 72px 0;
	color: #fff;
}

.rsgdxewa-awards__inner {
	max-width: var(--rsgdxewa-content-max-width);
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 48px;
	align-items: start;
}

.rsgdxewa-awards__eyebrow {
	margin: 0 0 12px;
	color: rgba(255,255,255,0.55);
	font-size: 0.95rem;
}

.rsgdxewa-awards__title {
	margin: 0 0 20px;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	color: #fff;
	line-height: 1.2;
}

.rsgdxewa-awards__desc p {
	margin: 0 0 1em;
	opacity: 0.92;
	line-height: 1.65;
}

.rsgdxewa-awards__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px 20px;
}

.rsgdxewa-awards__item {
	text-align: center;
}

.rsgdxewa-awards__image {
	max-height: 90px;
	width: auto;
	margin: 0 auto 12px;
	object-fit: contain;
}

.rsgdxewa-awards__caption {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.4;
}

@media (max-width: 900px) {
	.rsgdxewa-awards__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.rsgdxewa-awards__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* FAQ + Contact */
.rsgdxewa-faqc {
	padding: 72px 0;
	color: #fff;
}

.rsgdxewa-faqc__inner {
	max-width: var(--rsgdxewa-content-max-width);
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.rsgdxewa-faqc__title {
	margin: 0 0 20px;
	font-size: var(--rsgdxewa-title-h2);
	color: #fff;
}

.rsgdxewa-faqc__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 24px;
}

.rsgdxewa-faqc__item {
	border-bottom: 1px solid rgba(255,255,255,0.15);
}

.rsgdxewa-faqc__question {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 16px 0;
	background: transparent;
	border: 0;
	color: #fff;
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.rsgdxewa-faqc__chevron {
	transition: transform 0.25s ease;
}

.rsgdxewa-faqc__item.is-open .rsgdxewa-faqc__chevron {
	transform: rotate(180deg);
}

.rsgdxewa-faqc__answer {
	padding: 0 0 16px;
	opacity: 0.9;
}

.rsgdxewa-faqc__contact-card {
	padding: 28px;
	border-radius: 8px;
	color: #1d2327;
}

.rsgdxewa-faqc__contact-title {
	margin: 0 0 10px;
}

.rsgdxewa-faqc__contact-desc {
	margin: 0 0 16px;
}

@media (max-width: 900px) {
	.rsgdxewa-faqc__inner {
		grid-template-columns: 1fr;
	}
}

/* Map */
.rsgdxewa-map__inner {
	max-width: var(--rsgdxewa-content-max-width);
	margin: 0 auto;
	padding: 24px;
}

.rsgdxewa-map__inner iframe,
.rsgdxewa-map__iframe {
	width: 100%;
	min-height: 420px;
	border: 0;
	display: block;
}
