/* Service Areas — native directory (replaces legacy HTML UX) */

.sa-page {
	--sa-navy: #014385;
	--sa-navy-deep: #001540;
	--sa-gold: #ffc107;
	--sa-gold-deep: #d4a017;
	--sa-ink: #1a1a1a;
	--sa-muted: #5a6a7a;
	--sa-line: rgba(1, 67, 133, 0.12);
	--sa-paper: #f6f8fb;
	color: var(--sa-ink);
	background: #fff;
	padding-top: 0;
}

.sa-wrap {
	width: min(1080px, calc(100% - 2rem));
	margin: 0 auto;
}

.sa-wrap--narrow {
	width: min(760px, calc(100% - 2rem));
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Hero */
.sa-hero {
	position: relative;
	min-height: min(72vh, 640px);
	display: flex;
	align-items: flex-end;
	color: #f8f9fa;
	overflow: hidden;
}

.sa-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.sa-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% 40%;
	display: block;
	filter: brightness(1.05) contrast(1.04) saturate(1.05);
}

.sa-hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(105deg, rgba(0, 21, 64, 0.88) 0%, rgba(0, 21, 64, 0.55) 42%, rgba(0, 21, 64, 0.28) 100%),
		linear-gradient(180deg, rgba(0, 21, 64, 0.2) 0%, rgba(0, 21, 64, 0.75) 100%);
}

.sa-hero__content {
	position: relative;
	z-index: 1;
	width: min(1080px, calc(100% - 2rem));
	margin: 0 auto;
	padding: 7rem 0 3rem;
}

.sa-hero__brand {
	font-family: var(--font-primary, 'Poppins', sans-serif);
	font-size: clamp(1.5rem, 3.5vw, 2.35rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--sa-gold);
	margin: 0 0 0.65rem;
	line-height: 1.15;
}

.sa-hero__title {
	font-size: clamp(1.45rem, 3vw, 2.15rem);
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 0.85rem;
	max-width: 16ch;
	color: #f8f9fa;
}

.sa-hero__lede {
	font-size: 1.05rem;
	line-height: 1.55;
	max-width: 36rem;
	margin: 0 0 1.6rem;
	opacity: 0.95;
}

.sa-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.sa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	text-decoration: none;
	padding: 0.9rem 1.45rem;
	border-radius: 4px;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.sa-btn--primary {
	background: var(--sa-gold);
	color: var(--sa-navy-deep);
}

.sa-btn--primary:hover {
	background: #ffb300;
	color: var(--sa-navy-deep);
	transform: translateY(-1px);
}

.sa-btn--ghost {
	color: #f8f9fa;
	border: 1px solid rgba(248, 249, 250, 0.45);
	background: transparent;
}

.sa-btn--ghost:hover {
	border-color: var(--sa-gold);
	color: var(--sa-gold);
}

/* Sticky subnav */
.sa-subnav {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--sa-line);
}

.sa-subnav__inner {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.35rem 1.1rem;
	overflow-x: auto;
	padding: 0.75rem 0;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.sa-subnav__inner::-webkit-scrollbar {
	display: none;
}

.sa-subnav a {
	flex: 0 0 auto;
	color: var(--sa-navy);
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
	padding: 0.2rem 0;
	border-bottom: 2px solid transparent;
}

.sa-subnav a:hover,
.sa-subnav a.is-active {
	border-bottom-color: var(--sa-gold-deep);
}

/* Sections */
.sa-section {
	padding: 3.25rem 0;
}

.sa-section--muted {
	background: var(--sa-paper);
}

.sa-section__head {
	margin: 0 0 1.5rem;
	max-width: 40rem;
}

.sa-eyebrow {
	margin: 0 0 0.35rem;
	color: var(--sa-gold-deep);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.sa-section__head h2 {
	margin: 0 0 0.55rem;
	color: var(--sa-navy);
	font-size: clamp(1.45rem, 2.6vw, 1.9rem);
	line-height: 1.2;
}

.sa-section__head p {
	margin: 0;
	color: var(--sa-muted);
	font-size: 1.02rem;
	line-height: 1.55;
}

.sa-filter {
	margin: 0 0 1.25rem;
}

.sa-filter__input {
	width: min(100%, 22rem);
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--sa-line);
	border-radius: 4px;
	font: inherit;
	color: var(--sa-ink);
	background: #fff;
}

.sa-filter__input:focus {
	outline: 2px solid var(--sa-navy);
	outline-offset: 1px;
	border-color: var(--sa-navy);
}

.sa-zone + .sa-zone,
.sa-secondary + .sa-secondary {
	margin-top: 1.75rem;
}

.sa-zone__title {
	margin: 0 0 0.65rem;
	color: var(--sa-navy);
	font-size: 1.05rem;
	font-weight: 700;
}

/* Featured city rows */
.sa-city-list,
.sa-town-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--sa-line);
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
}

.sa-city {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr);
	gap: 0.75rem 1.25rem;
	align-items: center;
	padding: 1rem 1.15rem;
	border-bottom: 1px solid var(--sa-line);
	opacity: 0;
	transform: translateY(10px);
	animation: sa-rise 0.45s ease forwards;
}

.sa-city:nth-child(1) { animation-delay: 0.03s; }
.sa-city:nth-child(2) { animation-delay: 0.06s; }
.sa-city:nth-child(3) { animation-delay: 0.09s; }
.sa-city:nth-child(4) { animation-delay: 0.12s; }
.sa-city:nth-child(5) { animation-delay: 0.15s; }

.sa-city:last-child {
	border-bottom: none;
}

.sa-city.is-hidden,
.sa-town.is-hidden {
	display: none;
}

.sa-city__name {
	display: inline-block;
	color: var(--sa-navy);
	font-size: 1.15rem;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: -0.01em;
}

.sa-city__name:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sa-city__meta {
	display: block;
	margin-top: 0.2rem;
	color: var(--sa-muted);
	font-size: 0.88rem;
	line-height: 1.4;
}

.sa-city__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1rem;
}

.sa-city__hub {
	color: var(--sa-navy);
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none;
	border-bottom: 2px solid var(--sa-gold-deep);
	padding-bottom: 1px;
}

.sa-city__hub:hover {
	color: #013466;
}

.sa-city__services {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.sa-city__services a {
	display: inline-flex;
	padding: 0.35rem 0.7rem;
	border: 1px solid var(--sa-line);
	border-radius: 4px;
	color: var(--sa-navy);
	font-size: 0.86rem;
	font-weight: 600;
	text-decoration: none;
	background: #fff;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.sa-city__services a:hover {
	border-color: var(--sa-navy);
	background: #eef4fa;
}

/* Secondary towns */
.sa-town {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 0.8rem 1.1rem;
	border-bottom: 1px solid var(--sa-line);
}

.sa-town:last-child {
	border-bottom: none;
}

.sa-town__name {
	font-weight: 600;
	color: var(--sa-navy);
}

.sa-town__cta {
	flex: 0 0 auto;
	color: var(--sa-navy);
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--sa-gold-deep);
}

.sa-town__cta:hover {
	color: #013466;
}

/* Schedule rules */
.sa-rules {
	display: grid;
	gap: 1rem;
}

.sa-rule {
	padding: 1.15rem 0 1.25rem;
	border-top: 1px solid var(--sa-line);
}

.sa-rule:last-child {
	border-bottom: 1px solid var(--sa-line);
}

.sa-rule h3 {
	margin: 0 0 0.4rem;
	color: var(--sa-navy);
	font-size: 1.05rem;
}

.sa-rule p {
	margin: 0;
	color: var(--sa-muted);
	line-height: 1.55;
}

/* CTA */
.sa-cta {
	background: var(--sa-navy);
	color: #f8f9fa;
	padding: 3.25rem 0;
}

.sa-cta__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
}

.sa-cta__copy {
	max-width: 34rem;
}

.sa-cta__copy h2 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.4rem, 2.5vw, 1.85rem);
	color: #f8f9fa;
}

.sa-cta__copy p:last-child {
	margin: 0;
	opacity: 0.92;
	line-height: 1.55;
}

.sa-cta .sa-btn--ghost {
	border-color: rgba(248, 249, 250, 0.4);
}

@keyframes sa-rise {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.sa-city {
		animation: none;
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 800px) {
	.sa-hero {
		min-height: min(68vh, 560px);
	}

	.sa-hero__content {
		padding: 6.25rem 0 2.5rem;
	}

	.sa-city {
		grid-template-columns: 1fr;
		gap: 0.55rem;
	}

	.sa-cta__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 480px) {
	.sa-section {
		padding: 2.5rem 0;
	}

	.sa-filter__input {
		width: 100%;
	}
}
