/* Section Lokasi — background abu-abu penuh */
.locations-section {
	position: relative;
	padding: 80px 0 100px;
	background-color: var(--sba-light-grey);
	overflow: hidden;
}

.locations-section__bg {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 50%;
	object-fit: cover;
	object-position: center bottom;
	opacity: 0.15;
	pointer-events: none;
}

.locations-section__inner {
	position: relative;
	z-index: 1;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 32px;
}

.locations-section__header {
	text-align: center;
	margin-bottom: 40px;
}

.locations-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);
}

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

.locations-map {
	width: 100%;
	height: 520px;
	border-radius: 12px;
	overflow: hidden;
}

/* Leaflet overrides */
.locations-map .leaflet-control-zoom {
	border: none;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
	border-radius: 6px;
	overflow: hidden;
}

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

.sba-map-marker-wrap {
	background: none;
	border: none;
}

.sba-map-marker {
	display: block;
	width: 18px;
	height: 18px;
	background: var(--sba-andalas-blue);
	border: 3px solid var(--sba-white);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(33, 106, 149, 0.45);
}

.sba-map-marker--office {
	background: var(--sba-sbi-green);
	box-shadow: 0 2px 8px rgba(189, 214, 70, 0.5);
}

.sba-map-marker--quarry {
	background: var(--sba-dark-grey);
	box-shadow: 0 2px 8px rgba(88, 89, 91, 0.45);
}

.sba-map-marker--batching {
	background: var(--sba-sig-red);
	box-shadow: 0 2px 8px rgba(245, 51, 63, 0.45);
}

.leaflet-popup.sba-leaflet-popup {
	margin-bottom: 20px;
}

.leaflet-popup.sba-leaflet-popup .leaflet-popup-content-wrapper {
	padding: 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.leaflet-popup.sba-leaflet-popup .leaflet-popup-content {
	margin: 0;
	width: 300px !important;
}

.leaflet-popup.sba-leaflet-popup .leaflet-popup-tip {
	background: var(--sba-white);
	box-shadow: none;
}

.leaflet-popup.sba-leaflet-popup .leaflet-popup-close-button {
	top: 10px;
	right: 10px;
	width: 28px;
	height: 28px;
	color: var(--sba-white);
	font-size: 22px;
	font-weight: 400;
	z-index: 2;
}

/* Popup content */
.location-popup__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	background: var(--sba-sig-navy);
}

.location-popup__title {
	font-family: 'SIG Text', sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.3;
	color: var(--sba-white);
}

.location-popup__external {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	opacity: 0.9;
}

.location-popup__external:hover {
	opacity: 1;
}

.location-popup__body {
	padding: 18px 18px 20px;
	background: var(--sba-white);
}

.location-popup__desc {
	margin: 0 0 18px;
	font-family: 'SIG Text', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 22px;
	color: var(--sba-dark-grey);
}

.location-popup__contacts {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.location-popup__contact {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.location-popup__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	background: var(--sba-sbi-green);
	border-radius: 50%;
}

.location-popup__label {
	display: block;
	font-family: 'SIG Text', sans-serif;
	font-size: 12px;
	line-height: 1.3;
	color: var(--sba-muted);
	margin-bottom: 2px;
}

.location-popup__contact a {
	font-family: 'SIG Text', sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--sba-sig-navy);
}

.location-popup__contact a:hover {
	color: var(--sba-andalas-blue);
}

@media (max-width: 1024px) {
	.locations-section {
		padding: 64px 0 80px;
	}

	.locations-section__inner {
		padding: 0 24px;
	}

	.locations-title {
		font-size: 34px;
		line-height: 42px;
	}

	.locations-map {
		height: 460px;
	}

	.leaflet-popup.sba-leaflet-popup .leaflet-popup-content {
		width: min(300px, calc(100vw - 48px)) !important;
	}
}

@media (max-width: 768px) {
	.locations-section {
		padding: 48px 0 64px;
	}

	.locations-section__inner {
		padding: 0 20px;
	}

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

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

	.locations-map {
		height: 380px;
		border-radius: 10px;
	}
}

@media (max-width: 640px) {
	.locations-section__header {
		margin-bottom: 28px;
	}

	.locations-map {
		height: 320px;
	}
}
