/* =============================================
   HALAMAN LOKASI KAMI
   ============================================= */

.lokasi-page {
	background: var(--sba-white);
	overflow-x: hidden;
}

/* Hero */
.lokasi-hero {
	position: relative;
}

.lokasi-hero__media {
	position: relative;
	height: 450px;
	overflow: hidden;
}

.lokasi-hero__bg {
	width: 100%;
	height: 100%;
	background-color: var(--sba-andalas-blue);
	background-size: cover;
	background-position: center;
}

.lokasi-hero__panel {
	position: relative;
	margin-top: -100px;
	z-index: 2;
}

.lokasi-hero__panel-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 32px;
}

.lokasi-hero__box {
	max-width: 560px;
	background: var(--sba-andalas-blue);
	border-radius: 0 0 150px 0;
	padding: 48px 52px 52px;
	box-shadow: 0 16px 40px rgba(33, 106, 149, 0.22);
}

.lokasi-hero__title {
	margin: 0;
	font-family: 'SIG Headline', sans-serif;
	font-weight: 700;
	font-size: 44px;
	line-height: 1.15;
	color: var(--sba-white);
}

.lokasi-hero__title::after {
	content: '';
	display: block;
	width: 72px;
	height: 4px;
	margin-top: 18px;
	background: var(--sba-sbi-green);
	border-radius: 2px;
}

.lokasi-hero__intro {
	margin: 20px 0 0;
	font-family: 'SIG Text', sans-serif;
	font-size: 16px;
	line-height: 28px;
	color: rgba(255, 255, 255, 0.92);
}

/* Map section */
.lokasi-map-section {
	padding: 48px 0 80px;
	background: var(--sba-light-grey);
}

.lokasi-map-section__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 32px;
}

.lokasi-map-section__header {
	text-align: center;
	margin-bottom: 32px;
}

.lokasi-map-eyebrow {
	margin: 0 0 12px;
	font-family: 'SIG Text', sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 34px;
	color: var(--sba-sbi-green);
}

.lokasi-map-title {
	margin: 0;
	font-family: 'SIG Headline', sans-serif;
	font-weight: 700;
	font-size: 40px;
	line-height: 50px;
	color: var(--sba-sig-navy);
}

.lokasi-map-wrap {
	position: relative;
}

.lokasi-map-stage {
	position: relative;
	height: 560px;
	border-radius: 12px;
	overflow: hidden;
	background: #dde8ee;
	isolation: isolate;
}

.lokasi-page .lokasi-map-stage .locations-map.lokasi-map {
	width: 100%;
	height: 100%;
	border-radius: 0;
	overflow: hidden;
}

/* Legend — overlay di dalam peta (dipindah ke .leaflet-container via JS) */
.lokasi-map-stage .lokasi-map-legend,
.lokasi-page .leaflet-container .lokasi-map-legend {
	position: absolute;
	left: 24px;
	bottom: 24px;
	z-index: 650;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: min(360px, calc(100% - 48px));
	padding: 18px 20px;
	background: rgba(255, 255, 255, 0.96);
	border-radius: 10px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
	pointer-events: none;
}

.lokasi-map-legend__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-family: 'SIG Text', sans-serif;
	font-size: 14px;
	line-height: 20px;
	color: var(--sba-dark-grey);
}

.lokasi-map-legend__swatch {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	border-radius: 3px;
}

.lokasi-map-legend__swatch--office {
	background: var(--sba-sbi-green);
}

.lokasi-map-legend__swatch--quarry {
	background: var(--sba-dark-grey);
}

.lokasi-map-legend__swatch--batching {
	background: var(--sba-sig-red);
}

/* Leaflet di halaman lokasi */
.lokasi-page .leaflet-container {
	font-family: 'SIG Text', sans-serif;
}

.lokasi-page .leaflet-control-zoom {
	border: none;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
	border-radius: 6px;
	overflow: hidden;
}

.lokasi-page .leaflet-control-zoom a {
	width: 36px;
	height: 36px;
	line-height: 36px;
	font-size: 18px;
	color: var(--sba-sig-navy);
}

@media (max-width: 1024px) {
	.lokasi-hero__media {
		height: 380px;
	}

	.lokasi-hero__panel {
		margin-top: -72px;
	}

	.lokasi-hero__box {
		max-width: 100%;
		border-radius: 0 0 110px 0;
		padding: 36px;
	}

	.lokasi-hero__title {
		font-size: 36px;
	}

	.lokasi-map-title {
		font-size: 34px;
		line-height: 44px;
	}
}

@media (max-width: 768px) {
	.lokasi-hero__media {
		height: 320px;
	}

	.lokasi-hero__panel {
		margin-top: -56px;
	}

	.lokasi-hero__box {
		border-radius: 0 0 80px 0;
		padding: 32px 28px 36px;
	}

	.lokasi-hero__title {
		font-size: 30px;
	}

	.lokasi-hero__panel-inner,
	.lokasi-map-section__inner {
		padding: 0 20px;
	}

	.lokasi-map-section {
		padding: 40px 0 64px;
	}

	.lokasi-map-eyebrow {
		font-size: 20px;
		line-height: 28px;
	}

	.lokasi-map-title {
		font-size: 28px;
		line-height: 36px;
	}

	.lokasi-map-stage {
		height: 420px;
	}

	.lokasi-map-stage .lokasi-map-legend,
	.lokasi-page .leaflet-container .lokasi-map-legend {
		left: 12px;
		bottom: 12px;
		max-width: calc(100% - 24px);
		padding: 12px 14px;
		gap: 8px;
	}

	.lokasi-map-legend__item {
		font-size: 12px;
		line-height: 18px;
	}
}

@media (max-width: 640px) {
	.lokasi-hero__media {
		height: 260px;
	}

	.lokasi-hero__box {
		border-radius: 0 0 64px 0;
		padding: 28px 22px 32px;
	}

	.lokasi-hero__title {
		font-size: 26px;
	}

	.lokasi-map-stage {
		height: 340px;
		border-radius: 10px;
	}

	.lokasi-map-title {
		font-size: 26px;
		line-height: 34px;
	}
}
