/* Route overview module for point-to-point Service pages. */
.service-route {
	position: relative;
	z-index: 3;
	margin-top: clamp(24px, 3vw, 42px);
	padding-bottom: 10px;
	scroll-margin-top: 112px;
}

.service-route__shell {
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(440px, 1.18fr);
	overflow: hidden;
	border: 1px solid rgb(22 28 38 / 10%);
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 20px 56px rgb(15 20 28 / 14%);
}

.service-route__content {
	position: relative;
	padding: clamp(30px, 3.25vw, 44px);
	overflow: hidden;
	background:
		radial-gradient(circle at 92% 8%, rgb(245 183 84 / 18%), transparent 30%),
		linear-gradient(155deg, #171a1f, #242831 72%, #1d2026);
	color: #fff;
}

.service-route__content::after {
	position: absolute;
	right: -70px;
	bottom: -92px;
	width: 220px;
	height: 220px;
	border: 1px solid rgb(245 183 84 / 18%);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.service-route__header,
.service-route__stats,
.service-route__path,
.service-route__note {
	position: relative;
	z-index: 1;
}

.service-route__header .eyebrow {
	margin-bottom: 10px;
	color: var(--at-primary, #f5b754);
}

.service-route__header h2 {
	max-width: 14ch;
	margin: 0;
	color: #fff;
	font-size: clamp(1.9rem, 2.65vw, 2.8rem);
	line-height: 1.06;
}

.service-route__header > p:last-child {
	max-width: 58ch;
	margin: 14px 0 0;
	color: rgb(255 255 255 / 72%);
	font-size: .9rem;
	line-height: 1.62;
}

.service-route__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 22px 0 0;
}

.service-route__stat {
	min-width: 0;
	padding: 13px 12px;
	border: 1px solid rgb(255 255 255 / 10%);
	border-radius: 14px;
	background: rgb(255 255 255 / 6%);
}

.service-route__stat dt {
	margin-bottom: 5px;
	color: rgb(255 255 255 / 54%);
	font-size: .62rem;
	font-weight: 700;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.service-route__stat dd {
	margin: 0;
	color: #fff;
	font-size: clamp(.8rem, 1vw, .94rem);
	font-weight: 700;
	line-height: 1.35;
}

.service-route__path {
	margin-top: 24px;
}

.service-route__path h3 {
	margin: 0 0 12px;
	color: #fff;
	font-size: .92rem;
	letter-spacing: .02em;
}

.service-route__path ol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.service-route__path li {
	position: relative;
	display: grid;
	grid-template-columns: 26px 1fr;
	gap: 9px;
	align-items: center;
	min-height: 48px;
	padding: 8px 10px;
	border: 1px solid rgb(255 255 255 / 8%);
	border-radius: 12px;
	background: rgb(255 255 255 / 4%);
	color: rgb(255 255 255 / 74%);
	font-size: .78rem;
	line-height: 1.32;
}

.service-route__path li > span {
	display: grid;
	z-index: 1;
	width: 26px;
	height: 26px;
	place-items: center;
	border: 1px solid rgb(245 183 84 / 58%);
	border-radius: 50%;
	background: #242831;
	color: var(--at-primary, #f5b754);
	font-size: .68rem;
	font-weight: 800;
}

.service-route__path li.is-endpoint > span {
	border-color: var(--at-primary, #f5b754);
	background: var(--at-primary, #f5b754);
	color: #171a1f;
}

.service-route__path li strong {
	font-weight: 600;
}

.service-route__path li.is-endpoint strong {
	color: #fff;
}

.service-route__note {
	margin: 20px 0 0;
	padding: 11px 13px;
	border-left: 3px solid var(--at-primary, #f5b754);
	background: rgb(255 255 255 / 6%);
	color: rgb(255 255 255 / 66%);
	font-size: .7rem;
	line-height: 1.55;
}

.service-route__note strong {
	margin-right: 4px;
	color: #fff;
}

.service-route__map {
	position: relative;
	min-height: 650px;
	margin: 0;
	background: #e9e4da;
}

.service-route__map iframe,
.service-route__map-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 650px;
	border: 0;
}

.service-route__map-placeholder {
	background:
		linear-gradient(35deg, transparent 48%, rgb(245 183 84 / 40%) 49% 51%, transparent 52%),
		linear-gradient(145deg, #dcd4c6, #f4f0e9);
}

.service-route__map-bar {
	position: absolute;
	right: 14px;
	bottom: 14px;
	left: 14px;
	display: flex;
	min-height: 58px;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 9px 10px 9px 15px;
	border: 1px solid rgb(255 255 255 / 62%);
	border-radius: 18px;
	background: rgb(255 255 255 / 94%);
	box-shadow: 0 12px 36px rgb(23 26 31 / 22%);
	backdrop-filter: blur(14px);
}

.service-route__map-bar > div {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #242831;
	font-size: .84rem;
}

.service-route__map-bar > div > span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--at-primary, #f5b754);
	box-shadow: 0 0 0 5px rgb(245 183 84 / 22%);
}

.service-route__map-bar a {
	display: inline-flex;
	min-height: 38px;
	align-items: center;
	gap: 8px;
	padding: 8px 13px;
	border-radius: 999px;
	background: #20242a;
	color: #fff;
	font-size: .78rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.service-route__map-bar a:hover {
	background: var(--at-primary, #f5b754);
	color: #171a1f;
}

.service-route__map-bar a:focus-visible {
	outline: 3px solid var(--at-primary, #f5b754);
	outline-offset: 3px;
}

@media (max-width: 1180px) and (min-width: 1025px) {
	.service-route__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.service-route__stat:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

@media (max-width: 1024px) {
	.service-route {
		margin-top: 28px;
	}

	.service-route__shell {
		grid-template-columns: 1fr;
	}

	.service-route__header h2 {
		max-width: 18ch;
	}

	.service-route__map,
	.service-route__map iframe,
	.service-route__map-placeholder {
		min-height: 400px;
	}
}

@media (max-width: 640px) {
	.service-route {
		margin-top: 20px;
		padding-bottom: 0;
		scroll-margin-top: 82px;
	}

	.service-route > .container {
		width: min(calc(100% - 20px), var(--at-container));
	}

	.service-route__shell {
		border-radius: 20px;
	}

	.service-route__content {
		padding: 26px 20px 24px;
	}

	.service-route__header h2 {
		max-width: 15ch;
		font-size: clamp(1.75rem, 8vw, 2.15rem);
	}

	.service-route__header > p:last-child {
		font-size: .86rem;
		line-height: 1.55;
	}

	.service-route__stats {
		grid-template-columns: 1fr 1fr;
		margin-top: 18px;
	}

	.service-route__stat:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.service-route__path {
		margin-top: 20px;
	}

	.service-route__path ol {
		display: flex;
		gap: 8px;
		margin-inline: -20px;
		padding-inline: 20px;
		overflow-x: auto;
		scroll-padding-inline: 20px;
		scroll-snap-type: x proximity;
		scrollbar-width: thin;
	}

	.service-route__path li {
		width: min(72vw, 250px);
		min-height: 58px;
		flex: 0 0 min(72vw, 250px);
		scroll-snap-align: start;
	}

	.service-route__note {
		margin-top: 18px;
	}

	.service-route__map,
	.service-route__map iframe,
	.service-route__map-placeholder {
		min-height: 330px;
	}

	.service-route__map-bar {
		right: 10px;
		bottom: 10px;
		left: 10px;
		min-height: 0;
		padding: 9px 10px;
	}

	.service-route__map-bar > div {
		font-size: .72rem;
	}

	.service-route__map-bar > div > span {
		width: 8px;
		height: 8px;
	}

	.service-route__map-bar a {
		min-height: 36px;
		justify-content: center;
		padding-inline: 11px;
		font-size: .7rem;
	}
}
