:root {
	--primary: #0c497a;
	--primary-dark: #0a3a5f;
	--accent: #3fab49;
	--surface: #ffffff;
	--surface-muted: #f1f5f9;
	--text: #0f172a;
	--text-muted: #64748b;
	--border: #e2e8f0;
	--shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
	--radius: 12px;
	--layout-max: 1440px;
	--layout-pad: clamp(16px, 4vw, 48px);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	height: auto;
	overflow-x: hidden;
}

body.world-map-page {
	min-height: 100vh;
	overflow-x: hidden;
	overflow-y: auto;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	background: linear-gradient(160deg, #f8fafc 0%, #e2e8f0 100%);
	color: var(--text);
	line-height: 1.45;
}

/* Shell */
.landing-shell {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* Banner superior */
.landing-header {
	flex-shrink: 0;
	position: relative;
	padding: 0;
	color: #fff;
	border-bottom: 1px solid rgba(94, 231, 223, 0.15);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.06) inset,
		0 8px 32px rgba(5, 13, 26, 0.35);
	background:
		linear-gradient(168deg, #0c4a7c 0%, #082f52 42%, #050d1a 100%);
	overflow: hidden;
}

.landing-header::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 120% at 0% -20%, rgba(94, 231, 223, 0.18) 0%, transparent 55%),
		radial-gradient(ellipse 60% 100% at 100% 100%, rgba(46, 184, 230, 0.12) 0%, transparent 50%);
	pointer-events: none;
}

.landing-header::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.35), transparent);
	pointer-events: none;
}

.landing-header-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px 28px;
	flex-wrap: wrap;
	padding: 22px 26px 24px;
	max-width: var(--layout-max);
	width: calc(100% - (var(--layout-pad) * 2));
	margin: 0 auto;
}

.landing-header-brand {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
}

.landing-header-brand-row {
	display: flex;
	align-items: center;
	gap: 18px 22px;
	flex-wrap: wrap;
	min-width: 0;
}

.landing-header-logo-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	flex-shrink: 0;
	background: linear-gradient(
		165deg,
		rgba(255, 255, 255, 0.34) 0%,
		rgba(241, 245, 249, 0.3) 100%
	);
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.38);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	box-shadow: 0 2px 12px rgba(5, 13, 26, 0.2);
}

.landing-header-logo {
	display: block;
	height: 60px;
	width: auto;
	max-width: min(100%, 360px);
	object-fit: contain;
}

.landing-title-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.landing-header-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	flex-shrink: 0;
}

.landing-header-actions-label {
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(226, 232, 240, 0.55);
}

.landing-header-actions-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

/* Botones portales */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 18px;
	font-size: 0.8125rem;
	font-weight: 600;
	border-radius: 12px;
	text-decoration: none;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		transform 0.18s ease,
		box-shadow 0.2s ease;
	border: 1px solid transparent;
	white-space: nowrap;
}

.btn-icon {
	flex-shrink: 0;
	width: 8px;
	height: 8px;
}

.btn-icon--solid {
	border-radius: 50%;
	background: linear-gradient(145deg, #2eb8e6, var(--primary));
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.btn-primary .btn-icon--solid {
	background: linear-gradient(145deg, #0c4a7c, #082f52);
	box-shadow: 0 0 0 2px rgba(12, 74, 124, 0.2);
}

.btn-icon--ring {
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.75);
	background: transparent;
	width: 10px;
	height: 10px;
}

.btn-primary {
	background: #fff;
	color: var(--primary-dark);
	border-color: rgba(255, 255, 255, 0.95);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
	background: #f8fafc;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.28);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.4);
	transform: translateY(-2px);
}

.btn-label {
	display: inline-block;
}

/* Cuerpo: mapa y sedes en dos columnas (desktop) */
.landing-main {
	flex: 0 0 auto;
	display: grid;
	grid-template-columns: minmax(340px, 1fr) minmax(0, 1.45fr);
	grid-template-areas: "directory map";
	min-height: 0;
	gap: 12px;
	max-width: var(--layout-max);
	width: calc(100% - (var(--layout-pad) * 2));
	margin: 0 auto;
	padding: 12px 0 8px;
	align-items: stretch;
}

.landing-intro {
	display: block;
	max-width: var(--layout-max);
	width: calc(100% - (var(--layout-pad) * 2));
	margin: 0 auto;
	padding-top: 14px;
}

.landing-intro-card {
	position: relative;
	background: linear-gradient(180deg, #fffef8 0%, #f8fafc 100%);
	border: 1px solid rgba(12, 73, 122, 0.16);
	border-radius: 14px;
	padding: 22px 24px;
	max-width: 1240px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
	gap: 20px 28px;
	align-items: start;
	box-shadow:
		0 1px 3px rgba(15, 23, 42, 0.05),
		0 10px 28px rgba(12, 73, 122, 0.08);
}

.landing-intro-card::before {
	content: '';
	position: absolute;
	left: 0;
	top: 14px;
	bottom: 14px;
	width: 4px;
	border-radius: 0 4px 4px 0;
	background: linear-gradient(180deg, #16a34a 0%, #0ea5e9 100%);
}

.landing-intro-eyebrow {
	display: inline-block;
	margin-bottom: 9px;
	padding: 5px 11px;
	border-radius: 999px;
	font-size: 0.62rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #166534;
	background: rgba(187, 247, 208, 0.42);
	border: 1px solid rgba(34, 197, 94, 0.3);
}

.landing-intro-title {
	margin: 0 0 10px;
	font-size: 1.55rem;
	font-weight: 700;
	color: #14532d;
	letter-spacing: -0.015em;
	line-height: 1.2;
	font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

.landing-intro-content {
	max-width: 72ch;
}

.landing-intro-text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.72;
	color: #334155;
}

.landing-intro-text--secondary {
	margin-top: 8px;
	color: #475569;
}

.landing-intro-link {
	display: inline-flex;
	align-items: center;
	margin-top: 14px;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: none;
	color: #166534;
	text-decoration: none;
}

.landing-intro-link:hover {
	color: #14532d;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.office-directory {
	grid-area: directory;
	width: 100%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	min-height: 0;
	height: auto;
	max-height: none;
	border-radius: 16px;
	border: 1px solid rgba(12, 73, 122, 0.18);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.06) inset,
		0 2px 4px rgba(5, 13, 26, 0.04),
		0 16px 48px rgba(12, 73, 122, 0.12);
	padding: 0;
	overflow: hidden;
	background: #0a2540;
}

.office-directory-header {
	position: relative;
	padding: 18px 20px 20px;
	background:
		linear-gradient(145deg, rgba(12, 73, 122, 0.97) 0%, #061f35 55%, #050d1a 100%);
	border-bottom: 1px solid rgba(94, 231, 223, 0.12);
	overflow: hidden;
}

.office-directory-header::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 20% 120%, rgba(94, 231, 223, 0.15) 0%, transparent 45%),
		radial-gradient(circle at 90% -20%, rgba(46, 184, 230, 0.12) 0%, transparent 40%);
	pointer-events: none;
}

.directory-eyebrow {
	position: relative;
	z-index: 1;
	display: inline-block;
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #7dd3fc;
	margin-bottom: 8px;
}

.office-directory-header-main {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

@media (min-width: 720px) {
	.office-directory-header-main {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: 20px;
	}

	.office-directory-header-main .directory-hint {
		margin: 0;
		text-align: right;
		max-width: 28rem;
	}
}

.directory-title {
	font-size: clamp(1.2rem, 2.2vw, 1.45rem);
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.03em;
	line-height: 1.2;
	margin: 0;
	text-shadow: 0 1px 18px rgba(0, 0, 0, 0.2);
}

.directory-hint {
	font-size: 0.875rem;
	color: rgba(226, 232, 240, 0.9);
	margin: 0;
	line-height: 1.45;
	font-weight: 400;
}

.office-directory-nav {
	flex: 1;
	min-height: 0;
	overflow-y: visible;
	overflow-x: hidden;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 14px 18px;
	align-content: start;
	padding: 18px 18px 20px;
	background: linear-gradient(180deg, #f3f6fa 0%, #edf2f7 100%);
	scrollbar-width: auto;
	scrollbar-color: auto;
}

.office-directory-nav::-webkit-scrollbar {
	width: 0;
}

.office-directory-nav::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, rgba(12, 73, 122, 0.35), rgba(12, 73, 122, 0.2));
	border-radius: 99px;
}

.office-directory-country {
	grid-column: 1 / -1;
	margin: 0;
	padding: 14px 14px 12px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 8px 22px rgba(12, 73, 122, 0.06);
}

.office-directory-country--active {
	grid-column: 1 / -1;
}

.office-directory-country:first-child {
	padding-top: 14px;
	margin-top: 0;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.office-directory-country-title {
	position: relative;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 0.84rem;
	font-weight: 800;
	text-transform: none;
	letter-spacing: 0.01em;
	color: #0f172a;
	margin: 0 0 14px;
	padding: 0 0 10px 2px;
	line-height: 1.35;
	border-bottom: 1px solid rgba(12, 73, 122, 0.14);
}

.office-directory-country-flag {
	font-size: 1rem;
	line-height: 1;
	filter: saturate(1.05);
}

.office-directory-country-body {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	align-content: start;
}

.office-directory-country--pending-list {
	grid-column: 1 / -1;
}

.office-directory-soon--in-country {
	margin-top: 4px;
}

.office-directory-soon--compact {
	margin-top: 0;
	padding-top: 10px;
	padding-bottom: 2px;
	background: rgba(255, 255, 255, 0.55);
}

.office-directory-soon-single {
	margin: 0;
	padding: 10px 2px 8px;
	font-size: 0.92rem;
	font-weight: 600;
	color: #475569;
	letter-spacing: -0.01em;
}

.office-directory-country--pending-list {
	background: rgba(255, 255, 255, 0.72);
}

.office-directory-country-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.office-directory-country-list-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border-radius: 999px;
	font-size: 0.86rem;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0.01em;
	color: #475569;
	background: rgba(248, 250, 252, 0.95);
	border: 1px solid rgba(15, 23, 42, 0.1);
}

.office-directory-country-list-flag {
	font-size: 1.05rem;
	line-height: 1;
}

.office-directory-country-status {
	margin-left: auto;
	font-size: 0.64rem;
	font-weight: 800;
	text-transform: none;
	letter-spacing: 0.01em;
	padding: 4px 8px;
	border-radius: 999px;
	border: 1px solid transparent;
}

.office-directory-country-status--active {
	color: #0f766e;
	background: rgba(20, 184, 166, 0.14);
	border-color: rgba(15, 118, 110, 0.25);
}

.office-directory-country-status--pending {
	color: #64748b;
	background: rgba(148, 163, 184, 0.18);
	border-color: rgba(100, 116, 139, 0.26);
	margin-left: 4px;
	font-size: 0.62rem;
	padding: 5px 9px;
}

.office-directory-group {
	margin: 0;
	min-width: 0;
}

.office-directory-group-title {
	position: relative;
	font-size: 0.76rem;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0.01em;
	color: #475569;
	margin: 0 0 12px;
	padding: 0 0 8px 2px;
	line-height: 1.3;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.office-directory-group-title::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 8px;
	border-radius: 50%;
	background: linear-gradient(135deg, #5ee7df, var(--primary));
	vertical-align: 0.05em;
	box-shadow: 0 0 0 2px rgba(12, 73, 122, 0.12);
}

.office-directory-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.office-directory-country--active .office-directory-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 8px 10px;
}

.office-directory-country--active .office-directory-link {
	padding: 12px 12px 10px 14px;
	gap: 7px;
}

.office-directory-country--active .office-directory-link-cta {
	padding-top: 1px;
	font-size: 0.625rem;
}

/* Tarjeta enlace */
.office-directory-link {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	padding: 16px 16px 14px 18px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.07);
	text-decoration: none;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 8px 24px rgba(12, 73, 122, 0.06);
	transition:
		border-color 0.2s ease,
		box-shadow 0.22s ease,
		transform 0.2s ease;
	overflow: hidden;
}

.office-directory-link::before {
	content: '';
	position: absolute;
	left: 0;
	top: 12px;
	bottom: 12px;
	width: 4px;
	border-radius: 0 4px 4px 0;
	background: linear-gradient(180deg, #5ee7df 0%, var(--primary) 100%);
	opacity: 0.85;
	transition: opacity 0.2s ease, width 0.2s ease;
}

.office-directory-link:hover {
	border-color: rgba(12, 73, 122, 0.22);
	box-shadow:
		0 4px 12px rgba(12, 73, 122, 0.1),
		0 16px 40px rgba(12, 73, 122, 0.08);
	transform: translateY(-2px);
}

.office-directory-link:hover::before {
	width: 5px;
	opacity: 1;
}

.office-directory-link:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 3px;
}

.office-directory-link-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.office-directory-link-text {
	flex: 1;
	min-width: 0;
	text-align: left;
	color: var(--text);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.office-directory-link-meta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.office-directory-link-badge {
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 6px 10px;
	border-radius: 999px;
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	border: 1px solid rgba(12, 73, 122, 0.15);
	color: var(--primary-dark);
}

.office-directory-link-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	font-size: 0.875rem;
	line-height: 1;
	color: #fff;
	background: linear-gradient(145deg, #2eb8e6 0%, var(--primary) 100%);
	box-shadow: 0 2px 8px rgba(12, 73, 122, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.office-directory-link:hover .office-directory-link-arrow {
	transform: scale(1.06);
	box-shadow: 0 4px 14px rgba(12, 73, 122, 0.4);
}

.office-directory-link-cta {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0.01em;
	color: var(--primary);
	opacity: 0.85;
	padding-top: 2px;
	border-top: 1px solid rgba(15, 23, 42, 0.06);
	margin: 0 -2px 0 0;
}

.office-directory-link:hover .office-directory-link-cta {
	opacity: 1;
	color: var(--primary-dark);
}

/* Bloque otras sedes */
.office-directory-soon {
	grid-column: 1 / -1;
	margin: 6px 0 0;
	padding: 16px 16px 4px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.65);
	border: 1px solid rgba(15, 23, 42, 0.06);
	box-shadow: 0 4px 20px rgba(12, 73, 122, 0.05);
}

.office-directory-soon-head {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.76rem;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0.01em;
	color: #64748b;
	margin: 0 0 12px;
}

.office-directory-soon-head::after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, rgba(15, 23, 42, 0.12), transparent);
}

.office-directory-soon-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 10px 14px;
}

.office-directory-soon-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 14px;
	border-radius: 12px;
	background: rgba(248, 250, 252, 0.95);
	border: 1px solid rgba(15, 23, 42, 0.06);
	transition: background 0.15s ease;
}

.office-directory-soon-item:hover {
	background: #fff;
}

.office-directory-soon-dot {
	flex-shrink: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #cbd5e1;
	box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.25);
}

.office-directory-soon-name {
	flex: 1;
	min-width: 0;
	font-size: 0.9rem;
	font-weight: 500;
	color: #475569;
	letter-spacing: -0.01em;
}

.office-directory-soon-tag {
	flex-shrink: 0;
	font-size: 0.64rem;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0.01em;
	color: #64748b;
	background: #fff;
	padding: 5px 11px;
	border-radius: 999px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Panel mapa */
.map-panel {
	grid-area: map;
	min-width: 0;
	min-height: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	width: 100%;
	background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
	border-radius: 14px;
	border: 1px solid rgba(12, 73, 122, 0.12);
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 8px 28px rgba(12, 73, 122, 0.07);
	padding: 0;
	overflow: hidden;
}

.map-panel-title {
	font-size: 1.0625rem;
	font-weight: 700;
	margin: 0;
	padding: 16px 16px 0;
	letter-spacing: -0.02em;
	color: var(--text);
	flex-shrink: 0;
}

.map-panel-hint {
	font-size: 0.84rem;
	color: #475569;
	margin: 6px 0 0;
	padding: 0 16px 14px;
	line-height: 1.4;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
	flex-shrink: 0;
}

.map-data-attribution {
	flex-shrink: 0;
	margin: 0;
	padding: 8px 16px 12px;
	font-size: 0.625rem;
	line-height: 1.35;
	color: var(--text-muted);
	background: rgba(255, 255, 255, 0.5);
}

.map-data-attribution a {
	color: var(--primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.map-data-attribution a:hover {
	color: var(--primary-dark);
}

.world-map-container {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	width: calc(100% - 24px);
	margin: 0 12px;
	border-radius: 12px;
	overflow: hidden;
	background: #050d1a;
	border: 1px solid rgba(30, 127, 196, 0.35);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* Visual refresh inspirado en propuesta UI */
.landing-intro-card {
	max-width: none;
	margin: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 255, 0.96));
	border: 1px solid rgba(12, 79, 127, 0.13);
	border-radius: 22px;
	padding: clamp(24px, 4vw, 42px);
	box-shadow: 0 10px 28px rgba(7, 36, 61, 0.08);
}

.landing-intro-card::before {
	width: 5px;
	border-radius: 999px;
	background: linear-gradient(180deg, #39b54a, #1ba4dd);
}

.landing-intro-eyebrow {
	padding: 7px 14px;
	background: #e8f5fd;
	color: #0b5f95;
	border-color: rgba(27, 164, 221, 0.25);
	font-size: 0.66rem;
	letter-spacing: 0.14em;
}

.landing-intro-title {
	font-size: clamp(1.8rem, 3.3vw, 3rem);
	line-height: 1.06;
	letter-spacing: -0.045em;
	color: #102033;
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.landing-intro-text {
	font-size: clamp(1rem, 1.2vw, 1.15rem);
	line-height: 1.72;
	max-width: 1160px;
}

.landing-intro-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 18px;
}

.landing-intro-link {
	min-height: 46px;
	padding: 0 20px;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.landing-intro-link--primary {
	background: #07395f;
	color: #ffffff;
	box-shadow: 0 12px 26px rgba(7, 57, 95, 0.22);
}

.landing-intro-link--secondary {
	background: #ffffff;
	color: #07395f;
	border: 1px solid rgba(7, 57, 95, 0.18);
}

.landing-intro-link:hover {
	transform: translateY(-2px);
}

.landing-intro-guidance {
	margin-top: 20px;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 14px;
	align-items: flex-start;
	max-width: 980px;
	padding: 16px 20px;
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(232, 245, 253, 0.95), rgba(240, 253, 244, 0.78));
	border: 1px solid rgba(27, 164, 221, 0.22);
}

.landing-intro-guidance-icon {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	color: #ffffff;
	font-size: 1.1rem;
	background: linear-gradient(135deg, #39b54a, #1ba4dd);
}

.landing-intro-guidance-title {
	display: block;
	margin-bottom: 4px;
	color: #0b3556;
	font-size: 0.95rem;
	font-weight: 800;
}

.landing-intro-guidance-text {
	margin: 0;
	color: #49627c;
	font-size: 0.88rem;
	line-height: 1.6;
}

.benefits-strip {
	max-width: var(--layout-max);
	width: calc(100% - (var(--layout-pad) * 2));
	margin: 20px auto 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.benefit-card {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	padding: 16px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(12, 79, 127, 0.12);
	box-shadow: 0 8px 22px rgba(7, 36, 61, 0.06);
}

.benefit-icon {
	width: 36px;
	height: 36px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: #e8f5fd;
	color: #0b5f95;
}

.benefit-title {
	display: block;
	margin-bottom: 4px;
	color: #0b3556;
	font-size: 0.9rem;
	font-weight: 800;
}

.benefit-text {
	margin: 0;
	color: #64748b;
	font-size: 0.82rem;
	line-height: 1.5;
}

.office-directory {
	border-radius: 26px;
	box-shadow: 0 10px 28px rgba(7, 36, 61, 0.08);
	border: 1px solid rgba(12, 79, 127, 0.16);
	background: #ffffff;
}

.office-directory-header {
	padding: 24px;
	background: radial-gradient(circle at 18% 20%, rgba(94, 231, 223, 0.2), transparent 34%), linear-gradient(135deg, #0b5f95 0%, #06253f 70%);
}

.directory-title {
	font-size: clamp(1.5rem, 2vw, 2rem);
}

.office-directory-nav {
	display: block;
	padding: 18px;
	background: linear-gradient(180deg, #f8fbfe, #f1f6fb);
}

.country-accordion {
	display: grid;
	gap: 12px;
}

.country-panel {
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid #d9e6f2;
	border-radius: 18px;
	box-shadow: 0 8px 20px rgba(7, 36, 61, 0.06);
	overflow: hidden;
}

.country-panel summary {
	list-style: none;
	cursor: pointer;
}

.country-panel summary::-webkit-details-marker {
	display: none;
}

.country-summary {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 10px;
	align-items: center;
	padding: 14px 16px;
}

.country-main {
	display: flex;
	align-items: center;
	gap: 12px;
}

.country-flag {
	width: 36px;
	height: 36px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: #f0f7ff;
	border: 1px solid #d9eaf8;
	font-size: 1.05rem;
}

.country-name {
	display: block;
	font-size: 0.95rem;
	font-weight: 800;
	color: #102033;
}

.country-meta {
	display: block;
	margin-top: 2px;
	color: #64748b;
	font-size: 0.75rem;
}

.country-chevron {
	width: 30px;
	height: 30px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	color: #0b5f95;
	background: #e8f5fd;
	font-weight: 800;
}

.country-panel[open] .country-chevron {
	transform: rotate(180deg);
}

.country-content {
	padding: 0 16px 16px;
	border-top: 1px solid #e8eef5;
	background: linear-gradient(180deg, rgba(248, 251, 254, 0.6), rgba(255, 255, 255, 0.96));
}

.country-note {
	margin: 14px 0;
	color: #49627c;
	font-size: 0.83rem;
}

.office-list {
	display: grid;
	gap: 10px;
}

.office-card {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 14px;
	background: #ffffff;
	border: 1px solid #e5edf5;
	border-radius: 16px;
	text-decoration: none;
	color: #102033;
}

.office-card::before {
	content: '';
	position: absolute;
	left: 0;
	top: 12px;
	bottom: 12px;
	width: 4px;
	border-radius: 999px;
	background: linear-gradient(180deg, #1ba4dd, #0b5f95);
}

.office-name {
	display: block;
	font-size: 0.95rem;
	font-weight: 800;
}

.office-description {
	display: block;
	color: #64748b;
	font-size: 0.76rem;
	margin-top: 2px;
}

.office-action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #0b5f95;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
}

.office-action-icon {
	width: 30px;
	height: 30px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	color: #ffffff;
	background: linear-gradient(135deg, #1ba4dd, #0b5f95);
}

.coming-list {
	margin-top: 12px;
	padding: 14px;
	border: 1px solid #e4ebf2;
	border-radius: 16px;
	background: rgba(248, 251, 254, 0.86);
}

.coming-title {
	margin: 0 0 10px;
	color: #607286;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.coming-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.coming-tag {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 11px;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid #e5ebf2;
	color: #41556c;
	font-size: 0.76rem;
	font-weight: 700;
}

@media (max-width: 1080px) {
	.landing-intro-card {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.benefits-strip {
		grid-template-columns: 1fr;
	}

	.landing-main {
		display: flex;
		flex-direction: column;
	}

	.map-panel {
		height: auto;
		min-height: 0;
	}

	.world-map-container {
		flex: 0 1 auto;
		min-height: min(52vh, 520px);
	}

	.office-directory {
		max-height: none;
		height: auto;
	}

	.office-directory-country--active,
	.office-directory-country--pending-list {
		grid-column: auto;
	}

}

.world-map-stage {
	position: relative;
}

.world-map-svg {
	display: block;
	transform: none;
	transform-origin: center center;
	/* Sin cqw/cqh: en móvil (Safari) la altura del contenedor en flex + height:auto
	 * puede dejar 100cqh en 0 y el SVG queda con ancho 0 → panel “negro”. */
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 483 / 480;
}

@keyframes plg-lands-breathe {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.93; }
}

.plg-lands-breathe {
	animation: plg-lands-breathe 7s ease-in-out infinite;
	transform-origin: center;
}

/* Tooltip flotante del mapa */
.map-marker-tooltip {
	position: absolute;
	z-index: 20;
	min-width: 220px;
	max-width: min(320px, 92vw);
	padding: 14px 16px;
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: 12px;
	border: 1px solid var(--border);
	box-shadow: 0 12px 40px rgba(5, 13, 26, 0.35);
	pointer-events: auto;
}

.map-marker-tooltip.is-hidden {
	display: none;
}

.map-marker-tooltip-close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 28px;
	height: 28px;
	border: none;
	border-radius: 8px;
	background: var(--surface-muted);
	color: var(--text);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.map-marker-tooltip-close:hover {
	background: #e2e8f0;
}

/* Marcadores SVG */
.svg-map-markers {
	pointer-events: none;
}

.svg-map-marker {
	pointer-events: auto;
	cursor: pointer;
}

.svg-map-marker--inactive {
	cursor: default;
	opacity: 0.55;
}

.svg-map-marker__hit {
	fill: transparent;
	stroke: transparent;
}

.svg-map-marker__ring {
	fill: none;
	stroke: rgba(255, 255, 255, 0.35);
	stroke-width: 2;
}

.svg-map-marker__dot {
	fill: #0c497a;
	stroke: #fff;
	stroke-width: 2.5;
	filter: drop-shadow(0 2px 6px rgba(12, 73, 122, 0.45));
}

.svg-map-marker--active .svg-map-marker__dot {
	fill: #0c497a;
}

.svg-map-marker--grouped .svg-map-marker__dot {
	stroke: #facc15;
	stroke-width: 3;
}

.svg-map-marker--inactive .svg-map-marker__dot {
	fill: #64748b;
	stroke: #cbd5e1;
	filter: none;
}

.svg-map-marker__label {
	fill: #fff;
	font-size: 11px;
	font-weight: 700;
	font-family: Inter, system-ui, sans-serif;
	text-anchor: middle;
	dominant-baseline: central;
	pointer-events: none;
}

@keyframes plg-marker-pulse-op {
	0% {
		opacity: 0.55;
	}
	100% {
		opacity: 0;
	}
}

.svg-map-marker__pulse {
	fill: none;
	stroke: #5ee7df;
	stroke-width: 1.75;
	animation: plg-marker-pulse-op 2.2s ease-out infinite;
}

.svg-map-marker--inactive .svg-map-marker__pulse {
	display: none;
}

.svg-map-marker--highlight .svg-map-marker__dot {
	filter: drop-shadow(0 0 10px rgba(94, 231, 223, 0.9));
	stroke: #cffafe;
}

.svg-map-marker--open .svg-map-marker__ring {
	stroke: #5ee7df;
	stroke-width: 2.5;
}

/* Footer mínimo */
.landing-footer {
	flex-shrink: 0;
	max-width: var(--layout-max);
	width: calc(100% - (var(--layout-pad) * 2));
	margin: 0 auto;
	text-align: center;
	padding: 8px 0 20px;
	font-size: 0.6875rem;
	color: var(--text-muted);
	background: transparent;
	border-top: 0;
}

.plg-home-popup {
	padding: 4px 2px;
	min-width: 200px;
	text-align: center;
}

.plg-home-popup-title {
	margin: 0 0 10px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--text);
}

.plg-home-popup-note {
	margin: 0 0 10px;
	font-size: 0.75rem;
	color: var(--text-muted);
	line-height: 1.35;
}

.plg-home-popup-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: stretch;
}

a.plg-home-popup-link {
	display: block;
	padding: 10px 14px;
	background: var(--primary);
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 8px;
	font-size: 0.8125rem;
	font-weight: 600;
	text-align: center;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

a.plg-home-popup-link:hover {
	background: var(--primary-dark);
}

.plg-home-popup-muted {
	margin: 8px 0 0;
	padding: 8px;
	background: var(--surface-muted);
	border-radius: 8px;
	font-size: 0.75rem;
	color: var(--text-muted);
}

/* Móvil */
@media (max-width: 720px) {
	.landing-header-inner {
		padding: 14px 16px 16px;
		flex-direction: column;
		align-items: stretch;
	}

	.landing-header-brand-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.landing-header-logo-wrap {
		padding: 8px 14px;
		width: 100%;
		justify-content: center;
	}

	.landing-header-logo {
		max-width: 100%;
		height: 48px;
	}

	.landing-header-actions {
		align-items: stretch;
		width: 100%;
	}

	.landing-header-actions-label {
		align-self: flex-start;
	}

	.landing-header-actions-buttons {
		justify-content: stretch;
		flex-direction: column;
	}

	.landing-header-actions-buttons .btn {
		width: 100%;
		justify-content: center;
	}

	.landing-main {
		padding: 10px 12px 6px;
		gap: 10px;
	}

	.office-directory {
		max-height: min(42vh, 300px);
	}

	.office-directory-nav {
		grid-template-columns: 1fr;
	}

	.office-directory-country--pending-list {
		grid-column: auto;
	}

	.office-directory-country {
		grid-column: auto;
	}

	.office-directory-country-body {
		grid-template-columns: 1fr;
	}

	.office-directory-country--active .office-directory-links {
		grid-template-columns: 1fr;
	}

	.landing-intro-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.landing-intro-link {
		justify-content: center;
	}

	.office-directory-soon-list {
		grid-template-columns: 1fr;
	}

	.map-panel {
		flex: 1;
		min-height: 200px;
	}

	.office-directory-header-main {
		flex-direction: column;
		align-items: flex-start;
	}

	.office-directory-header-main .directory-hint {
		text-align: left;
		max-width: none;
	}

	/* WebKit iOS: filtro + <image> en SVG a veces pinta rectángulo vacío. */
	.world-map-lands.plg-lands-breathe {
		filter: none !important;
		animation: none;
	}
}
