/**
 * Home — Branches / map
 */

/* Our Branches Ã¢â‚¬â€ split layout */
.l1-branches-section {
	overflow: visible;
}
.l1-branches-copy { max-width: 480px; }
.l1-branches-copy .l1-section-title { margin-bottom: 0.65rem; }
.l1-branches-copy .l1-section-sub { margin-bottom: 1rem; max-width: 38ch; }
.l1-branches-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.55rem 0.85rem;
	margin: 0 0 1.15rem;
	font-size: 0.82rem;
	color: var(--l1-muted);
}
.l1-branches-meta strong {
	color: var(--l1-ink);
	font-weight: 700;
}
.l1-branches-meta-sep {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.25);
}
.l1-branches-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-bottom: 1.25rem;
}
.l1-branch-item {
	appearance: none;
	border: 1px solid var(--l1-line);
	background: #fff;
	color: var(--l1-ink);
	font: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 0.85rem;
	border-radius: 999px;
	box-shadow: none;
	transition: transform 0.25s var(--l1-ease), border-color 0.25s, background 0.25s, color 0.25s;
}
.l1-branch-item:hover,
.l1-branch-item.is-preview {
	transform: translateY(-1px);
	border-color: rgba(15, 23, 42, 0.1);
	background: #f8f7ff;
}
.l1-branch-item-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: #64748b; flex: 0 0 auto;
	transition: background 0.25s;
}
.l1-branch-item-city {
	font-size: 0.88rem; font-weight: 600; letter-spacing: -0.01em;
}
.l1-branch-item-badge {
	font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em;
	text-transform: uppercase; padding: 0.15rem 0.4rem; border-radius: 999px;
	background: rgba(12, 18, 34, 0.06); color: #334155;
}
.l1-branch-item.is-active {
	background: var(--gradient);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.09);
	transform: none;
}
.l1-branch-item.is-active .l1-branch-item-dot { background: #fff; }
.l1-branch-item.is-active .l1-branch-item-badge {
	background: rgba(255, 255, 255, 0.18); color: #fff;
}
.l1-branch-detail {
	position: relative;
	padding: 1.25rem 1.3rem 1.15rem;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--l1-line);
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
	overflow: hidden;
	min-height: 150px;
}
.l1-branch-detail::before {
	content: "";
	position: absolute; inset: 0 auto 0 0; width: 3px;
	background: var(--gradient);
}
.l1-branch-detail-type {
	display: inline-block; margin: 0 0 0.45rem;
	font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
	text-transform: uppercase; color: #64748b;
}
.l1-branch-detail-title {
	display: block; margin: 0 0 0.5rem;
	font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em;
	color: var(--l1-ink);
}
.l1-branch-detail-address {
	margin: 0 0 1rem; font-size: 0.9rem; font-weight: 400;
	line-height: 1.55; color: var(--l1-muted); max-width: 38ch;
}
.l1-branch-detail-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	padding-top: 0.85rem;
	border-top: 1px solid var(--l1-line);
}
.l1-branch-copy {
	appearance: none;
	border: none;
	background: var(--gradient);
	color: #fff;
	font: inherit;
	font-size: 0.8rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 0.85rem;
	border-radius: 999px;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.09);
	transition: filter 0.2s, transform 0.2s;
}
.l1-branch-copy:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
	color: #fff;
}
.l1-branch-copy.is-copied {
	border: none;
	color: #fff;
	background: linear-gradient(145deg, #263fd8 0%, #7995ff 100%);
	box-shadow: 0 8px 18px rgba(0, 136, 204, 0.28);
}
.l1-branch-hint {
	font-size: 0.72rem;
	color: #94a3b8;
	letter-spacing: 0.01em;
}
.l1-branch-detail.is-swap { animation: l1BranchSwap 0.35s var(--l1-ease); }
@keyframes l1BranchSwap {
	0% { opacity: 0.35; transform: translateY(6px); }
	100% { opacity: 1; transform: none; }
}
.l1-map-panel {
	position: relative;
	display: grid;
	place-items: center;
	padding: 0.75rem;
	border-radius: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	min-height: 420px;
	overflow: visible;
}
.l1-map-stage {
	--map-tilt-x: 0deg;
	--map-tilt-y: 0deg;
	position: relative;
	width: min(100%, 460px);
	display: grid;
	place-items: center;
	padding: 1.25rem 1.35rem 1rem;
	border-radius: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	overflow: visible;
	transform: perspective(900px) rotateX(var(--map-tilt-x)) rotateY(var(--map-tilt-y));
	transform-style: preserve-3d;
	transition: transform 0.45s var(--l1-ease);
}
.l1-map-glow {
	position: absolute;
	inset: 12% 16%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(148, 163, 184, 0.18), transparent 70%);
	filter: blur(18px);
	pointer-events: none;
	z-index: 0;
}
.l1-map-grid {
	display: none;
}
.l1-map-focus {
	position: absolute;
	z-index: 1;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0.6);
	opacity: 0;
	background: radial-gradient(circle, rgba(0, 136, 204, 0.22) 0%, rgba(0, 136, 204, 0.08) 42%, transparent 70%);
	transition: left 0.55s var(--l1-ease), top 0.55s var(--l1-ease), opacity 0.4s ease, transform 0.55s var(--l1-ease);
}
.l1-map-focus.is-on {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}
.l1-map-canvas {
	position: relative;
	width: min(100%, 380px);
	aspect-ratio: 612 / 696;
	isolation: isolate;
	background: transparent;
	z-index: 2;
	overflow: visible;
}
.l1-map-geo {
	width: 100%;
	height: auto;
	display: block;
	pointer-events: none;
	user-select: none;
	opacity: 1;
	background: transparent;
	filter: drop-shadow(0 10px 22px rgba(15, 23, 42, 0.08));
	transition: filter 0.45s ease;
}
.l1-map-legend {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0.85rem 0 0;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(15, 23, 42, 0.08);
	font-size: 0.72rem;
	font-weight: 600;
	color: #64748b;
}
.l1-map-legend-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gradient);
	box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}
.l1-map-spot {
	position: absolute; z-index: 2; width: 0; height: 0;
	padding: 0; margin: 0; border: 0; background: transparent;
	cursor: pointer; transform: translate(-50%, -50%);
	font: inherit; color: inherit; appearance: none;
	-webkit-tap-highlight-color: transparent;
}
.l1-map-spot.is-hq { z-index: 4; }
.l1-map-spot.is-preview { z-index: 5; }
.l1-map-spot.is-active { z-index: 6; outline: none; }
.l1-map-pin {
	position: absolute; left: 0; top: 0;
	display: grid; place-items: center;
	width: 22px; height: 22px; transform: translate(-50%, -50%);
}
.l1-map-pin-core {
	width: 11px; height: 11px; border-radius: 50%;
	background: var(--gradient); border: 2.5px solid #fff;
	box-shadow: 0 3px 10px rgba(15, 23, 42, 0.1);
	position: relative; z-index: 2;
	transition: transform 0.35s var(--l1-ease), background 0.3s ease, box-shadow 0.35s var(--l1-ease);
}
.l1-map-spot.is-hq .l1-map-pin-core {
	width: 13px; height: 13px;
	background: var(--gradient);
	box-shadow: 0 4px 14px rgba(38, 63, 216, 0.35);
}
.l1-map-pin-ring {
	position: absolute; inset: -4px; border-radius: 50%;
	border: 1.5px solid rgba(38, 63, 216, 0.4);
	opacity: 0; transform: scale(0.7);
	transition: opacity 0.35s, transform 0.35s var(--l1-ease);
}
.l1-map-pin-pulse {
	position: absolute; inset: -8px; border-radius: 50%;
	background: rgba(38, 63, 216, 0.18);
	animation: l1MapPulse 2.8s ease-out infinite; z-index: 0; opacity: 0;
}
.l1-map-spot.is-active .l1-map-pin-pulse,
.l1-map-spot.is-hq .l1-map-pin-pulse { opacity: 1; }
.l1-map-spot.is-hq .l1-map-pin-pulse {
	inset: -11px; background: rgba(121, 149, 255, 0.2);
}
@keyframes l1MapPulse {
	0% { transform: scale(0.55); opacity: 0.65; }
	70% { transform: scale(1.65); opacity: 0; }
	100% { transform: scale(1.65); opacity: 0; }
}
.l1-map-city {
	position: absolute;
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.6rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.1);
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--l1-ink);
	white-space: nowrap;
	line-height: 1.2;
	pointer-events: none;
	transition: transform 0.3s var(--l1-ease), border-color 0.3s, background 0.3s, color 0.3s, box-shadow 0.3s;
}
.l1-map-spot .l1-map-city,
.l1-map-spot.side-bottom .l1-map-city {
	left: 0;
	top: 12px;
	transform: translateX(-50%);
}
.l1-map-spot.side-left .l1-map-city {
	top: 0;
	left: auto;
	right: 12px;
	transform: translateY(-50%);
}
.l1-map-spot.side-right .l1-map-city {
	top: 0;
	left: 12px;
	transform: translateY(-50%);
}
.l1-map-spot.side-bottom-left .l1-map-city {
	left: 0;
	top: 12px;
	transform: translateX(-85%);
}
.l1-map-spot.is-preview .l1-map-pin-core {
	transform: scale(1.18);
	background: var(--gradient);
}
.l1-map-spot.is-preview .l1-map-city {
	border-color: rgba(15, 23, 42, 0.1);
	background: #f8f7ff;
}
.l1-map-spot.is-active .l1-map-pin-core {
	transform: scale(1.28);
	background: var(--gradient);
	box-shadow: 0 0 0 4px rgba(38, 63, 216, 0.18), 0 6px 14px rgba(15, 23, 42, 0.1);
}
.l1-map-spot.is-active .l1-map-pin-ring { opacity: 1; transform: scale(1); }
.l1-map-spot.is-active .l1-map-city {
	background: var(--gradient);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.09);
}
.l1-map-spot.side-bottom.is-active .l1-map-city,
.l1-map-spot.side-bottom-left.is-active .l1-map-city {
	transform: translateX(-50%) translateY(2px);
}
.l1-map-spot.side-left.is-active .l1-map-city {
	transform: translateY(-50%) translateX(-2px);
}
.l1-map-spot.side-right.is-active .l1-map-city {
	transform: translateY(-50%) translateX(2px);
}
@media (hover: hover) {
	.l1-map-spot:hover .l1-map-pin-core { transform: scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
	.l1-map-stage {
		transform: none !important;
		transition: none !important;
	}
	.l1-map-focus,
	.l1-map-pin-core,
	.l1-map-city,
	.l1-branch-detail.is-swap {
		transition: none !important;
		animation: none !important;
	}
}
