/**
 * Mudde AI — single location page (Majestic Plaza).
 * Scoped to .mudde-loc so it cannot affect other pages.
 */

.mudde-loc {
	--ml-navy: var(--theme-palette-color-4, #192a3d);
	--ml-text: var(--theme-palette-color-3, #3a4f66);
	--ml-muted: #5f7389;
	--ml-blue: var(--theme-palette-color-1, #2872fa);
	--ml-blue-strong: var(--theme-palette-color-2, #1559ed);
	--ml-border: var(--theme-palette-color-5, #e1e8ed);
	--ml-white: var(--theme-palette-color-8, #fff);

	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	color: var(--ml-text);
}

.mudde-loc *,
.mudde-loc *::before,
.mudde-loc *::after {
	box-sizing: border-box;
}

.mudde-loc__lead {
	max-width: 70ch;
	margin: 0 0 26px;
	font-size: clamp(1rem, 1.3vw, 1.13rem);
	line-height: 1.7;
}

.mudde-loc__visit {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px 28px;
	padding: clamp(20px, 3.4vw, 30px);
	margin-bottom: 42px;
	background:
		radial-gradient(circle at 100% 0%, rgba(40, 114, 250, 0.22), transparent 45%),
		linear-gradient(140deg, #192a3d 0%, #1d3249 55%, #24425f 100%);
	border-radius: 18px;
	color: #fff;
}

.mudde-loc__kicker {
	display: block;
	margin-bottom: 7px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.mudde-loc__shop {
	margin: 0;
	color: #fff;
	font-family: inherit;
	font-size: clamp(1.25rem, 2.3vw, 1.65rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.mudde-loc__note {
	max-width: 52ch;
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.92rem;
	line-height: 1.55;
}

.mudde-loc__visit-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mudde-loc__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 17px;
	background: var(--ml-white);
	border: 1px solid var(--ml-white);
	border-radius: 9px;
	color: var(--ml-navy);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.mudde-loc__btn:hover,
.mudde-loc__btn:focus-visible {
	background: var(--theme-palette-color-6, #f2f5f7);
	color: var(--ml-navy);
	transform: translateY(-1px);
	text-decoration: none;
}

.mudde-loc__btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff;
}

.mudde-loc__btn--ghost:hover,
.mudde-loc__btn--ghost:focus-visible {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
	color: #fff;
}

.mudde-loc__section {
	margin-top: 40px;
}

.mudde-loc__section h2 {
	margin: 0;
	color: var(--ml-navy);
	font-family: inherit;
	font-size: clamp(1.3rem, 2.1vw, 1.6rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.mudde-loc__sub {
	margin: 6px 0 16px;
	color: var(--ml-muted);
	font-size: 0.94rem;
	line-height: 1.5;
}

.mudde-loc__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 16px;
}

.mudde-loc__card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	background: var(--ml-white);
	border: 1px solid var(--ml-border);
	border-radius: 14px;
	color: inherit;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mudde-loc__card:hover,
.mudde-loc__card:focus-visible {
	border-color: rgba(40, 114, 250, 0.4);
	box-shadow: 0 12px 28px rgba(25, 42, 61, 0.08);
	transform: translateY(-2px);
	text-decoration: none;
}

.mudde-loc__card-title {
	color: var(--ml-navy);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
}

.mudde-loc__card-desc {
	color: var(--ml-muted);
	font-size: 0.89rem;
	line-height: 1.5;
}

.mudde-loc__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 16px;
}

.mudde-loc__step {
	padding: 18px 19px;
	background: var(--theme-palette-color-6, #f7f9fb);
	border: 1px solid var(--ml-border);
	border-radius: 14px;
}

.mudde-loc__num {
	display: block;
	margin-bottom: 8px;
	color: var(--ml-blue-strong);
	font-size: 1.9rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

.mudde-loc__step-title {
	display: block;
	margin-bottom: 4px;
	color: var(--ml-navy);
	font-size: 0.97rem;
	font-weight: 700;
}

.mudde-loc__step-desc {
	display: block;
	color: var(--ml-muted);
	font-size: 0.87rem;
	line-height: 1.5;
}

.mudde-loc__list {
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--ml-border);
}

.mudde-loc__list li {
	position: relative;
	padding: 13px 0 13px 24px;
	border-bottom: 1px solid var(--ml-border);
	color: var(--ml-text);
	font-size: 0.94rem;
	line-height: 1.55;
}

.mudde-loc__list li::before {
	content: "";
	position: absolute;
	top: 21px;
	left: 4px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ml-blue);
}

.mudde-loc__links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 26px;
	margin-top: 14px;
	border-top: 1px solid var(--ml-border);
}

.mudde-loc__links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 48px;
	padding: 11px 0;
	border-bottom: 1px solid var(--ml-border);
	color: var(--ml-navy);
	font-size: 0.94rem;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

.mudde-loc__links a::after {
	content: "\2192";
	flex: 0 0 auto;
	color: #9aabbb;
	font-weight: 400;
	transition: color 0.2s ease, transform 0.2s ease;
}

.mudde-loc__links a:hover,
.mudde-loc__links a:focus-visible {
	color: var(--ml-blue-strong);
	text-decoration: none;
}

.mudde-loc__links a:hover::after,
.mudde-loc__links a:focus-visible::after {
	color: var(--ml-blue-strong);
	transform: translateX(3px);
}

.mudde-loc a:focus-visible {
	outline: 2px solid var(--ml-blue);
	outline-offset: 3px;
}

@media (max-width: 1024px) {
	.mudde-loc__steps {
		grid-template-columns: 1fr;
	}

	.mudde-loc__step {
		display: grid;
		grid-template-columns: auto 1fr;
		gap: 2px 14px;
		align-items: baseline;
	}

	.mudde-loc__num {
		grid-row: span 2;
		margin-bottom: 0;
	}
}

@media (max-width: 700px) {
	.mudde-loc__grid,
	.mudde-loc__links {
		grid-template-columns: 1fr;
	}

	.mudde-loc__visit {
		align-items: flex-start;
	}

	.mudde-loc__visit-actions {
		width: 100%;
	}

	.mudde-loc__btn {
		flex: 1 1 auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mudde-loc *,
	.mudde-loc *::before,
	.mudde-loc *::after {
		transition-duration: 0.01ms !important;
	}
}