:root {
	--lo-primary: #042648;
	--lo-secondary: #f2fbfd;
	--lo-button: #38B3CD;
	--lo-marker: #38B3CD;
	--lo-surface: #ffffff;
	--lo-border: rgba(4, 38, 72, 0.1);
	--lo-text: #042648;
	--lo-muted: #58708b;
	--lo-shadow: 0 24px 60px rgba(4, 38, 72, 0.1);
	--lo-radius-lg: 28px;
	--lo-radius-md: 18px;
	--lo-radius-sm: 12px;
}

.lo-shell {
	max-width: 1240px;
	margin: 0 auto;
	padding: 48px 20px 72px;
	color: var(--lo-text);
}

.lo-shortcode-shell {
	width: min(100%, 1400px);
	margin: 40px auto;
	padding: 0 24px;
}

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

.lo-shell img {
	max-width: 100%;
	display: block;
}

.lo-shell a {
	color: inherit;
}

.lo-section-heading {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 24px;
}

.lo-section-heading span,
.lo-work-kicker,
.lo-cta-eyebrow,
.lo-map-popover__eyebrow {
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--lo-button);
}

.lo-section-heading h1,
.lo-section-heading h2,
.lo-work-title,
.lo-cta-title {
	margin: 0;
	line-height: 0.98;
	letter-spacing: -0.04em;
}

.lo-section-heading h1 {
	font-size: clamp(2rem, 4.3vw, 3.4rem);
}

.lo-section-heading h2,
.lo-cta-title {
	font-size: clamp(1.6rem, 3.1vw, 2.5rem);
}

.lo-work-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	gap: 32px;
	align-items: stretch;
	margin-bottom: 48px;
}

.lo-work-hero__content,
.lo-work-hero__media,
.lo-work-content-block,
.lo-work-gallery-section,
.lo-cta-card,
.lo-map-layout,
.lo-archive-hero,
.lo-empty-state,
.lo-work-card,
.lo-map-summary,
.lo-map-province-list,
.lo-settings-preview {
	background: var(--lo-surface);
	border: 1px solid var(--lo-border);
	box-shadow: var(--lo-shadow);
	border-radius: var(--lo-radius-lg);
}

.lo-work-hero__content {
	padding: clamp(24px, 3.2vw, 40px);
	background:
		radial-gradient(circle at top right, rgba(56, 179, 205, 0.16), transparent 32%),
		linear-gradient(180deg, rgba(237, 243, 248, 0.85), #fff);
}

.lo-work-title {
	font-size: clamp(2.15rem, 5vw, 3.75rem);
	margin: 0 0 14px;
}

.lo-work-excerpt,
.lo-rich-text,
.lo-cta-text,
.lo-map-header p,
.lo-archive-hero p {
	font-size: 0.97rem;
	line-height: 1.72;
	color: var(--lo-muted);
}

.lo-work-meta-card {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 32px;
	align-items: stretch;
}

.lo-work-meta-card > .lo-work-meta-item:nth-child(1) {
	grid-column: 1;
	grid-row: 1 / span 2;
}

.lo-work-meta-card > .lo-work-meta-item:nth-child(2) {
	grid-column: 2;
	grid-row: 1;
}

.lo-work-meta-card > .lo-work-meta-item:nth-child(3) {
	grid-column: 2;
	grid-row: 2;
}

.lo-work-meta-item {
	padding: 16px;
	border-radius: var(--lo-radius-md);
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(4, 38, 72, 0.08);
}

.lo-work-meta-item span {
	display: block;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--lo-muted);
	margin-bottom: 8px;
}

.lo-work-meta-item strong {
	font-size: 0.98rem;
}

.lo-work-meta-item--promoter {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 14px;
	flex-direction: column;
}

.lo-work-meta-item__copy {
	min-width: 0;
}

.lo-promoter-logo-wrap {
	flex: 0 0 auto;
	width: 100%;
	/* height: 68px; */
	padding: 10px;
	display: grid;
	place-items: center;
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba(4, 38, 72, 0.08);
}

.lo-promoter-logo {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.lo-work-hero__media {
	overflow: hidden;
	min-height: 360px;
}

.lo-work-featured-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lo-work-content-block,
.lo-work-gallery-section {
	padding: clamp(24px, 3.2vw, 36px);
	margin-bottom: 28px;
}

.lo-work-content-block--alt {
	background: linear-gradient(180deg, rgba(237, 243, 248, 0.75), rgba(255, 255, 255, 0.98));
}

.lo-rich-text > :first-child {
	margin-top: 0;
}

.lo-rich-text > :last-child {
	margin-bottom: 0;
}

.lo-gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.lo-gallery-card {
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	overflow: hidden;
	border-radius: 22px;
	position: relative;
	min-height: 180px;
}

.lo-gallery-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.lo-gallery-card:hover img,
.lo-gallery-card:focus-visible img {
	transform: scale(1.04);
}

.lo-gallery-card.is-featured {
	grid-column: span 2;
	grid-row: span 2;
	min-height: 376px;
}

.lo-gallery-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
}

.lo-gallery-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(11, 24, 36, 0.72);
	backdrop-filter: blur(8px);
}

.lo-gallery-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(92vw, 1040px);
	margin: 5vh auto;
	background: #fff;
	border-radius: 28px;
	padding: 20px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.lo-gallery-modal__image {
	width: 100%;
	max-height: 78vh;
	object-fit: contain;
	border-radius: 18px;
}

.lo-gallery-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 0;
	background: rgba(23, 50, 77, 0.08);
	color: var(--lo-primary);
	font-size: 1.8rem;
	cursor: pointer;
}

.lo-cta-block {
	margin-top: 36px;
}

.lo-cta-card {
	padding: clamp(24px, 3.4vw, 40px);
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 32px;
	background:
		linear-gradient(135deg, rgba(4, 38, 72, 0.04), rgba(56, 179, 205, 0.12)),
		#fff;
}

.lo-cta-copy {
	padding-right: 12px;
}

.lo-cta-text {
	max-width: 44ch;
}

.lo-contact-form,
.lo-cta-form-wrap {
	width: 100%;
}

.lo-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 18px;
}

.lo-form-grid__full {
	grid-column: 1 / -1;
}

.lo-contact-form label {
	display: inline-block;
	margin-bottom: 8px;
	font-weight: 600;
}

.lo-contact-form input[type="text"],
.lo-contact-form input[type="email"],
.lo-contact-form input[type="tel"],
.lo-contact-form textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(23, 50, 77, 0.16);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--lo-text);
	font: inherit;
}

.lo-contact-form input:focus-visible,
.lo-contact-form textarea:focus-visible,
.lo-button:focus-visible,
.lo-map-marker:focus-visible,
.lo-map-province-link:focus-visible,
.lo-gallery-card:focus-visible,
.lo-gallery-modal__close:focus-visible {
	outline: 3px solid rgba(31, 106, 165, 0.24);
	outline-offset: 2px;
}

.lo-form-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin: 18px 0 20px;
}

.lo-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.lo-checkbox input {
	width: 18px;
	height: 18px;
}

.lo-privacy-link {
	font-weight: 700;
	color: var(--lo-button);
	text-decoration: none;
}

.lo-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 22px;
	border-radius: 999px;
	border: 0;
	background: var(--lo-button);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	cursor: pointer;
	transition: transform 220ms ease, box-shadow 220ms ease, opacity 220ms ease;
}

.lo-button:hover,
.lo-button:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 12px 30px rgba(56, 179, 205, 0.28);
}

.lo-button--ghost {
	background: rgba(4, 38, 72, 0.08);
	color: var(--lo-primary);
}

.lo-form-notice {
	margin-bottom: 18px;
	padding: 14px 18px;
	border-radius: 14px;
	border: 1px solid transparent;
}

.lo-form-notice.is-success {
	background: rgba(32, 122, 78, 0.08);
	color: #1f6b49;
	border-color: rgba(32, 122, 78, 0.15);
}

.lo-form-notice.is-error {
	background: rgba(181, 57, 43, 0.08);
	color: #97372e;
	border-color: rgba(181, 57, 43, 0.15);
}

.lo-honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

.lo-map-section {
	display: grid;
	gap: 24px;
}

.lo-map-header {
	max-width: 720px;
}

.lo-map-layout {
	padding: 18px;
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
	gap: 22px;
	align-items: start;
	background:
		radial-gradient(circle at top right, rgba(56, 179, 205, 0.08), transparent 24%),
		linear-gradient(180deg, rgba(237, 243, 248, 0.62), #fff);
}

.lo-map-stage {
	position: relative;
	border-radius: 24px;
	background: linear-gradient(180deg, rgba(242, 246, 249, 0.94), rgba(255, 255, 255, 0.96));
	border: 1px solid rgba(4, 38, 72, 0.08);
	padding: 12px;
	min-height: 0;
}

.lo-map-visual {
	position: relative;
	aspect-ratio: 864 / 783;
	width: 100%;
	min-height: clamp(360px, 46vw, 580px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.lo-map-svg,
.lo-map-markers {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.lo-map-svg {
	display: block;
	margin: 0 auto;
}

.lo-map-svg path[id^="ES"] {
	fill: #d9e8ed !important;
	stroke: #ffffff !important;
	stroke-width: 1.5px !important;
	transition: fill 180ms ease, opacity 180ms ease;
}

.lo-map-svg path[id^="ES"].has-business {
	fill: rgba(56, 179, 205, 0.26) !important;
}

.lo-map-svg path[id^="ES"]:hover,
.lo-map-svg path[id^="ES"].is-active {
	fill: rgba(56, 179, 205, 0.55) !important;
}

.lo-map-marker {
	position: absolute;
	transform: translate(-50%, -50%);
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 0;
	background: var(--lo-marker);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(56, 179, 205, 0.35);
}

.lo-map-marker__count {
	position: relative;
	z-index: 2;
	font-size: 0.94rem;
	font-weight: 800;
}

.lo-map-marker__pulse,
.lo-map-marker::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
}

.lo-map-marker__pulse {
	background: rgba(56, 179, 205, 0.28);
	animation: loMarkerPulse 2.4s ease-out infinite;
}

.lo-map-marker::after {
	inset: -8px;
	border: 1px solid rgba(56, 179, 205, 0.25);
}

@keyframes loMarkerPulse {
	0% {
		transform: scale(0.9);
		opacity: 0.75;
	}
	70% {
		transform: scale(1.6);
		opacity: 0;
	}
	100% {
		transform: scale(1.6);
		opacity: 0;
	}
}

.lo-map-popover {
	position: absolute;
	top: 24px;
	left: 24px;
	width: min(360px, calc(100% - 48px));
	padding: 24px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid rgba(4, 38, 72, 0.1);
	box-shadow: 0 24px 60px rgba(4, 38, 72, 0.16);
	backdrop-filter: blur(8px);
	z-index: 5;
}

.lo-map-popover__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 38px;
	height: 38px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: rgba(4, 38, 72, 0.08);
	color: var(--lo-primary);
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.lo-map-popover__close span {
	display: block;
	line-height: 1;
	transform: translateY(-1px);
}

.lo-map-popover__title {
	margin: 4px 0 8px;
	font-size: 1.5rem;
	line-height: 1.05;
}

.lo-map-popover__count {
	margin: 0 0 16px;
	color: var(--lo-muted);
}

.lo-map-popover__list,
.lo-map-province-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.lo-map-popover__list {
	display: grid;
	gap: 10px;
}

.lo-map-popover__list a {
	display: block;
	padding: 12px 14px;
	border-radius: 14px;
	background: rgba(237, 243, 248, 0.72);
	text-decoration: none;
	font-weight: 600;
}

.lo-map-aside {
	display: grid;
	gap: 18px;
	align-content: start;
}

.lo-map-summary,
.lo-map-province-list {
	padding: 20px;
}

.lo-map-summary h3 {
	margin-top: 0;
	margin-bottom: 10px;
}

.lo-map-summary p {
	margin: 0;
	color: var(--lo-muted);
	line-height: 1.7;
}

.lo-map-province-list {
	display: grid;
	gap: 12px;
	max-height: 620px;
	overflow: auto;
}

.lo-map-province-link {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 14px 16px;
	border-radius: 16px;
	border: 1px solid rgba(4, 38, 72, 0.08);
	background: rgba(255, 255, 255, 0.88);
	color: var(--lo-text);
	cursor: pointer;
	text-align: left;
}

.lo-map-province-link strong {
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(56, 179, 205, 0.12);
	color: var(--lo-marker);
}

.lo-archive-hero {
	padding: clamp(24px, 3.2vw, 36px);
	margin-bottom: 26px;
	background:
		linear-gradient(120deg, rgba(237, 243, 248, 0.84), rgba(255, 255, 255, 0.98)),
		#fff;
}

.lo-work-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.lo-work-card {
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.lo-work-card__image {
	display: block;
	aspect-ratio: 1 / 0.72;
	background: linear-gradient(135deg, rgba(4, 38, 72, 0.12), rgba(56, 179, 205, 0.06));
}

.lo-work-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lo-work-card__placeholder {
	height: 100%;
	display: grid;
	place-items: center;
	color: var(--lo-muted);
}

.lo-work-card__body {
	padding: 20px;
	display: grid;
	gap: 12px;
	flex: 1;
}

.lo-work-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	color: var(--lo-muted);
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.lo-work-card__title {
	margin: 0;
	font-size: 1.28rem;
	line-height: 1.12;
}

.lo-work-card__title a {
	text-decoration: none;
}

.lo-work-card__promoter-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lo-work-card__promoter-logo-wrap {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	padding: 8px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background: #fff;
	border: 1px solid rgba(4, 38, 72, 0.08);
}

.lo-work-card__promoter-logo {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.lo-work-card__promoter {
	margin: 0;
	color: var(--lo-muted);
	font-size: 0.94rem;
	line-height: 1.55;
}

.lo-work-card__footer {
	margin-top: auto;
}

.lo-empty-state {
	padding: 24px;
}

@media (max-width: 1080px) {
	.lo-work-hero,
	.lo-cta-card,
	.lo-map-layout {
		grid-template-columns: 1fr;
	}

	.lo-work-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.lo-shortcode-shell {
		margin: 28px auto;
		padding: 0 16px;
	}

	.lo-shell {
		padding-top: 28px;
	}

	.lo-work-meta-card,
	.lo-form-grid,
	.lo-gallery-grid,
	.lo-work-grid {
		grid-template-columns: 1fr;
	}

	.lo-work-meta-card {
		grid-template-rows: auto;
	}

	.lo-work-meta-card > .lo-work-meta-item:nth-child(1),
	.lo-work-meta-card > .lo-work-meta-item:nth-child(2),
	.lo-work-meta-card > .lo-work-meta-item:nth-child(3) {
		grid-column: auto;
		grid-row: auto;
	}

	.lo-gallery-card.is-featured {
		grid-column: auto;
		grid-row: auto;
		min-height: 220px;
	}

	.lo-map-stage {
		min-height: 0;
	}

	.lo-map-visual {
		min-height: 300px;
	}

	.lo-map-popover {
		position: static;
		width: 100%;
		margin-top: 16px;
	}
}
