/* Luxe Location ----------------------------------------------------------
 * Two parts in one widget: a location block with an embedded map, and the
 * dark call-to-action band that follows it. The band can be switched off.
 *
 * From the source design:
 *   grid       .9fr 1.3fr, 50px gap, centred
 *   map box    16/10, 22px radius, floating info tag top-left,
 *              directions button bottom-right
 *   band       charcoal, 60px vertical padding, heading left, button right
 * ---------------------------------------------------------------------- */

.lxl {
	--lxl-btn-color: #ffffff;
	--lxl-bg: #f6f0e3;
	--lxl-card: #ffffff;
	--lxl-cream-2: #efe4cf;
	--lxl-ink: #211d19;
	--lxl-ink-soft: #524b44;
	--lxl-gold: #c08b3e;
	--lxl-gold-deep: #a87a31;
	--lxl-line: #e4d9c2;

	--lxl-band-bg: #211e1c;
	--lxl-band-ink: #ffffff;
	--lxl-band-ink-soft: rgba(255, 255, 255, 0.7);
	--lxl-band-pad: 60px;

	--lxl-pad: 110px;
	--lxl-max: 1280px;
	--lxl-side: 40px;
	--lxl-gap: 50px;
	--lxl-cols: 0.9fr 1.3fr;

	--lxl-map-ratio: 16/10;
	--lxl-map-radius: 22px;

	--lxl-ease-out: cubic-bezier(0.33, 1, 0.68, 1);
	--lxl-ease-soft: cubic-bezier(0.2, 0.8, 0.2, 1);

	color: var(--lxl-ink);
}

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

.lxl img { display: block; max-width: 100%; }
.lxl a { text-decoration: none; color: inherit; }
.lxl h2, .lxl h3, .lxl h4 { margin: 0; }
.lxl p { margin: 0; }

.lxl__wrap {
	max-width: var(--lxl-max);
	margin: 0 auto;
	padding: 0 var(--lxl-side);
}

/* Location --------------------------------------------------------------- */

.lxl__location {
	background: var(--lxl-bg);
	padding: var(--lxl-pad) 0;
}

.lxl__grid {
	display: grid;
	grid-template-columns: var(--lxl-cols);
	gap: var(--lxl-gap);
	align-items: center;
}

.lxl__grid > * { min-width: 0; }

.lxl__copy,
.lxl__map {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.8s var(--lxl-ease-out), transform 0.8s var(--lxl-ease-out);
}

.lxl.is-in .lxl__copy,
.lxl.is-in .lxl__map { opacity: 1; transform: translateY(0); }
.lxl.is-in .lxl__map { transition-delay: 0.12s; }

.lxl__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	letter-spacing: 2.2px;
	text-transform: uppercase;
	color: var(--lxl-gold-deep);
	font-weight: 700;
}

.lxl__eyebrow::before {
	content: "";
	width: 18px;
	height: 1.5px;
	background: currentColor;
	display: inline-block;
}

.lxl__title {
	font-size: clamp(28px, 3.4vw, 42px);
	margin-top: 14px !important;
	line-height: 1.18;
	font-weight: 600;
}

.lxl__gold-word { color: var(--lxl-gold-deep); }

.lxl__intro {
	color: var(--lxl-ink-soft);
	margin-top: 16px !important;
	font-size: 15px;
	max-width: 380px;
	line-height: 1.7;
}

/* Address card */
.lxl__card {
	background: var(--lxl-card);
	border-radius: 16px;
	padding: 22px;
	margin-top: 22px;
	display: flex;
	gap: 16px;
	box-shadow: 0 20px 40px -30px rgba(0, 0, 0, 0.25);
	min-width: 0;
}

.lxl__pin {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--lxl-cream-2);
	color: var(--lxl-gold-deep);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.lxl__pin svg { width: 16px; height: 16px; stroke: currentColor; }

.lxl__card-body { min-width: 0; }
.lxl__card-title { font-size: 15px; font-weight: 600; }

.lxl__card-text {
	font-size: 13.5px;
	color: var(--lxl-ink-soft);
	margin-top: 4px !important;
	line-height: 1.5;
}

.lxl__card-text a:hover { color: var(--lxl-gold-deep); }

.lxl__note {
	background: var(--lxl-card);
	border: 1px dashed var(--lxl-line);
	border-radius: 14px;
	padding: 16px;
	margin-top: 16px !important;
	font-size: 13px;
	color: var(--lxl-ink-soft);
	line-height: 1.6;
}

/* Map -------------------------------------------------------------------- */

.lxl__map {
	position: relative;
	border-radius: var(--lxl-map-radius);
	overflow: hidden;
	aspect-ratio: var(--lxl-map-ratio);
	box-shadow: 0 20px 50px -20px rgba(33, 29, 25, 0.35);
	background: #e5e0d3;
}

.lxl__map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.lxl__map-img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
}

.lxl__map-tag {
	position: absolute;
	left: 20px;
	top: 20px;
	z-index: 2;
	background: #fff;
	border-radius: 14px;
	padding: 16px 18px;
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.4);
	width: 210px;
	max-width: calc(100% - 40px);
}

.lxl__map-tag h4, .lxl__map-tag .lxl__map-tag-title { font-size: 14.5px; font-weight: 700; }

.lxl__map-tag p {
	font-size: 12px;
	color: var(--lxl-ink-soft);
	margin-top: 4px !important;
	line-height: 1.5;
}

.lxl__map-tag .lxl__btn {
	margin-top: 12px;
	padding: 8px 14px;
	font-size: 11.5px;
}

.lxl__map-dir {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 2;
	padding: 10px 16px;
	font-size: 12.5px;
}

/* Buttons ---------------------------------------------------------------- */

.lxl__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	white-space: nowrap;
	background: var(--lxl-gold);
	color: #fff;
	box-shadow: 0 10px 25px -10px rgba(161, 116, 40, 0.7);
	transition: transform 0.35s var(--lxl-ease-soft), box-shadow 0.35s ease, background 0.3s ease, color 0.3s ease;
}

.lxl__btn:hover {
	transform: translateY(-3px);
	background: var(--lxl-gold-deep);
	box-shadow: 0 16px 30px -10px rgba(161, 116, 40, 0.85);
	color: var(--lxl-btn-color, #fff);
}

.lxl__btn svg { width: 14px; height: 14px; stroke: currentColor; transition: transform 0.35s var(--lxl-ease-soft); }
.lxl__btn:hover svg { transform: translate(3px, -3px); }
.lxl__btn--arrow:hover svg { transform: translateX(4px); }

.lxl__copy .lxl__btn { margin-top: 20px; }

/* CTA band --------------------------------------------------------------- */

.lxl__band {
	background: var(--lxl-band-bg);
	color: var(--lxl-band-ink);
	padding: var(--lxl-band-pad) 0;
}

.lxl__band-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.8s var(--lxl-ease-out), transform 0.8s var(--lxl-ease-out);
}

.lxl.is-band-in .lxl__band-row { opacity: 1; transform: translateY(0); }

.lxl__band-title {
	color: var(--lxl-band-ink);
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.2;
	font-weight: 600;
}

.lxl__band-text {
	color: var(--lxl-band-ink-soft);
	margin-top: 8px !important;
	font-size: 15px;
	line-height: 1.6;
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 980px) {
	.lxl {
		--lxl-pad: 80px;
		--lxl-side: 24px;
		--lxl-gap: 34px;
		--lxl-band-pad: 46px;
	}

	/* Forced on the grid property so no control variable can override it. */
	.lxl__grid { grid-template-columns: 1fr; }

	.lxl__intro { max-width: none; }
}

@media (max-width: 600px) {
	.lxl {
		--lxl-pad: 64px;
		--lxl-side: 18px;
		--lxl-map-ratio: 4/3;
	}

	.lxl__title { font-size: clamp(26px, 7vw, 34px); }

	/* The floating tag would swamp a small map, so it sits under it instead. */
	.lxl__map { aspect-ratio: auto; height: 320px; }

	.lxl__map-tag {
		left: 12px;
		right: 12px;
		top: 12px;
		width: auto;
		max-width: none;
		padding: 12px 14px;
	}

	.lxl__map-tag p { display: none; }
	.lxl__map-tag .lxl__btn { margin-top: 8px; }

	.lxl__map-dir { right: 12px; bottom: 12px; }

	.lxl__copy .lxl__btn,
	.lxl__band .lxl__btn { width: 100%; justify-content: center; }

	.lxl__band-row { text-align: center; justify-content: center; }
}

/* Motion preferences ----------------------------------------------------- */

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

	.lxl__copy,
	.lxl__map,
	.lxl__band-row { opacity: 1; transform: none; }
}

.lxl :is(a, button):focus-visible {
	outline: 2px solid var(--lxl-gold-deep);
	outline-offset: 3px;
}


/* Button text guard -------------------------------------------------------
 * Themes commonly set link colours at a higher specificity than a plugin
 * stylesheet, which was overriding these buttons on both rest and hover.
 * ---------------------------------------------------------------------- */

.lxl a.lxl__btn,
.lxl .lxl__btn,
.lxl a.lxl__btn:hover,
.lxl a.lxl__btn:focus,
.lxl a.lxl__btn:active,
.lxl .lxl__btn:hover {
	color: var(--lxl-btn-color, #fff) !important;
}

.lxl .lxl__btn svg { stroke: currentColor; }

/* Reveal fail-safe --------------------------------------------------------
 * The states above start hidden and are revealed by the script. Where the
 * script does not run — the Elementor editor, a caching layer that strips it,
 * a JavaScript error — the section would render blank. These rules restore it.
 * ---------------------------------------------------------------------- */

.lxl--editor [class*="lxl"] {
	opacity: 1 !important;
	transform: none !important;
	animation: none !important;
	visibility: visible !important;
}

@media (scripting: none) {
	.lxl [class*="lxl"] {
		opacity: 1 !important;
		transform: none !important;
	}
}
