/*
 * JTO Locations & Receptions
 */

.jto-locations {
	--jto-lr-navy: #102f49;
	--jto-lr-teal: #286f7d;
	--jto-lr-cream: #fbf8f2;
	--jto-lr-border: rgba(16, 47, 73, 0.12);
	--jto-lr-muted: #55616a;

	width: 100%;
	margin: 3rem auto 4.5rem;
}

.jto-locations *,
.jto-locations *::before,
.jto-locations *::after {
	box-sizing: border-box;
}

.jto-locations__header {
	max-width: 780px;
	margin: 0 auto 2.25rem;
	text-align: center;
}

.jto-locations__title {
	margin: 0 0 0.7rem;
	color: var(--jto-lr-navy);
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.15;
}

.jto-locations__subtitle {
	margin: 0;
	color: var(--jto-lr-muted);
	font-size: 1.05rem;
	line-height: 1.65;
}

.jto-locations__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.jto-location-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--jto-lr-border);
	border-radius: 18px;
	background: var(--jto-lr-cream);
	box-shadow: 0 14px 38px rgba(16, 47, 73, 0.08);
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.jto-location-card:hover {
	transform: translateY(-4px);
	border-color: rgba(40, 111, 125, 0.27);
	box-shadow: 0 22px 48px rgba(16, 47, 73, 0.13);
}

.jto-location-card__map {
	position: relative;
	aspect-ratio: 16 / 8.5;
	overflow: hidden;
	background: #e9efef;
}

.jto-location-card__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	filter: saturate(0.82) contrast(0.96);
}

.jto-location-card__map-placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: var(--jto-lr-teal);
	background:
		radial-gradient(circle at 20% 20%, rgba(40, 111, 125, 0.10), transparent 26%),
		linear-gradient(135deg, #eef4f3, #e5eeee);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.jto-location-card__map-icon {
	display: inline-flex;
	width: 38px;
	height: 38px;
}

.jto-location-card__map-icon svg,
.jto-location-card__detail-icon svg,
.jto-location-card__button-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.jto-location-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 27px 30px 30px;
}

.jto-location-card__eyebrow {
	display: inline-block;
	margin-bottom: 8px;
	color: var(--jto-lr-teal);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.jto-location-card__title {
	margin: 0 0 1.15rem;
	color: var(--jto-lr-navy);
	font-size: clamp(1.55rem, 2.5vw, 2rem);
	line-height: 1.2;
}

.jto-location-card__details {
	display: grid;
	gap: 13px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jto-location-card__details li {
	display: grid;
	grid-template-columns: 23px minmax(0, 1fr);
	align-items: start;
	gap: 12px;
	margin: 0;
	color: var(--jto-lr-muted);
	font-size: 0.98rem;
	line-height: 1.55;
}

.jto-location-card__details a {
	color: var(--jto-lr-navy);
	text-decoration: none;
	transition: color 180ms ease;
}

.jto-location-card__details a:hover {
	color: var(--jto-lr-teal);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.jto-location-card__detail-icon {
	display: inline-flex;
	width: 21px;
	height: 21px;
	margin-top: 1px;
	color: var(--jto-lr-teal);
}

.jto-location-card__button {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 11px;
	margin-top: 25px;
	padding: 12px 17px;
	border: 1px solid rgba(40, 111, 125, 0.30);
	border-radius: 999px;
	color: var(--jto-lr-teal);
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none !important;
	transition: background 190ms ease, color 190ms ease, transform 190ms ease;
}

.jto-location-card__button:hover {
	transform: translateY(-1px);
	background: var(--jto-lr-teal);
	color: #fff;
	text-decoration: none !important;
}

.jto-location-card__button-icon {
	display: inline-flex;
	width: 18px;
	height: 18px;
}

@media (max-width: 800px) {
	.jto-locations__grid {
		grid-template-columns: 1fr;
	}

	.jto-location-card__map {
		aspect-ratio: 16 / 8;
	}
}

@media (max-width: 540px) {
	.jto-locations {
		margin-top: 2rem;
		margin-bottom: 3rem;
	}

	.jto-locations__grid {
		gap: 18px;
	}

	.jto-location-card {
		border-radius: 15px;
	}

	.jto-location-card__body {
		padding: 23px 22px 25px;
	}

	.jto-location-card__map {
		aspect-ratio: 16 / 9.2;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jto-location-card,
	.jto-location-card__button {
		transition: none;
	}
}
