/* =========================================================
   WOMENIZE LATAM
   MAPA GLOBAL
   ========================================================= */

:root {

	--wm-map-pink: #f7e3ee;
	--wm-map-soft: #fcf4f8;

	--wm-map-dark: #3d0711;
	--wm-map-text: #252025;
	--wm-map-muted: #796d72;

	--wm-map-white: #ffffff;

	--wm-map-border:
		rgba(37, 32, 37, 0.12);

}


/* =========================================================
   BASE
   ========================================================= */

.wm-global {
	background: #fff;
	color: var(--wm-map-text);
}

.wm-global-container {
	width: min(
		1180px,
		calc(100% - 48px)
	);

	margin-inline: auto;
}


/* =========================================================
   HERO
   ========================================================= */

.wm-global-hero {
	background: var(--wm-map-pink);

	padding:
		clamp(145px, 14vw, 205px)
		0
		82px;

	text-align: center;
}

.wm-global-eyebrow {
	margin: 0 0 14px;

	font-family:
		var(--wm-font-body, serif);

	font-size: 0.76rem;
	font-weight: 600;

	letter-spacing: 0.18em;

	text-transform: uppercase;
}

.wm-global-title {
	max-width: 980px;

	margin: 0 auto;

	font-family:
		var(--wm-font-title, serif);

	font-size:
		clamp(
			3.5rem,
			7vw,
			6.6rem
		);

	font-weight: 400;

	line-height: 0.95;
}

.wm-global-intro {
	max-width: 620px;

	margin:
		26px
		auto
		0;

	font-family:
		var(--wm-font-body, serif);

	font-size:
		clamp(
			1rem,
			1.5vw,
			1.2rem
		);

	line-height: 1.75;
}


/* =========================================================
   MAP SECTION
   ========================================================= */

.wm-global-map-section {
	padding:
		clamp(70px, 8vw, 115px)
		0;
}


/* =========================================================
   CABECERA
   ========================================================= */

.wm-global-heading {
	display: grid;

	grid-template-columns:
		minmax(0, 1.15fr)
		minmax(280px, 0.65fr);

	gap:
		clamp(
			40px,
			8vw,
			120px
		);

	align-items: end;

	margin-bottom: 48px;
}

.wm-global-heading h2 {
	max-width: 760px;

	margin: 0;

	font-family:
		var(--wm-font-title, serif);

	font-size:
		clamp(
			2.8rem,
			5vw,
			4.8rem
		);

	font-weight: 400;
	line-height: 1;
}

.wm-global-heading-text {
	margin: 0;

	font-family:
		var(--wm-font-body, serif);

	font-size: 1rem;

	line-height: 1.75;

	color: var(--wm-map-muted);
}


/* =========================================================
   MAPA
   ========================================================= */

.wm-global-map-shell {
	position: relative;

	overflow: hidden;

	border-radius: 38px;

	background:
		var(--wm-map-soft);
}

.wm-global-map {
	width: 100%;
	height:
		clamp(
			500px,
			58vw,
			680px
		);

	background:
		var(--wm-map-soft);
}


/* =========================================================
   LEAFLET
   ========================================================= */

.wm-global-map
.leaflet-container {
	font-family:
		var(--wm-font-body, serif);
}


/* Oculta controles visuales innecesarios */

.wm-global-map
.leaflet-control-attribution {
	font-size: 8px;

	opacity: 0.45;
}


/* =========================================================
   MARCADOR
   ========================================================= */

.wm-map-marker {
	width: 24px;
	height: 24px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 50%;

	background: var(--wm-map-dark);

	border:
		5px solid
		rgba(
			255,
			255,
			255,
			0.75
		);

	box-shadow:
		0
		8px
		24px
		rgba(
			61,
			7,
			17,
			0.28
		);

	transition:
		transform 0.2s ease;
}

.wm-map-marker:hover {
	transform: scale(1.15);
}


/* =========================================================
   POPUP
   ========================================================= */

.leaflet-popup-content-wrapper {
	border-radius: 20px;

	box-shadow:
		0
		18px
		45px
		rgba(
			0,
			0,
			0,
			0.12
		);
}

.leaflet-popup-content {
	margin: 22px;

	min-width: 190px;
}

.wm-map-popup {
	font-family:
		var(--wm-font-body, serif);
}

.wm-map-popup-name {
	margin: 0 0 6px;

	font-family:
		var(--wm-font-title, serif);

	font-size: 1.8rem;

	font-weight: 400;
	line-height: 1;
}

.wm-map-popup-count {
	margin: 0 0 16px;

	color: var(--wm-map-muted);

	font-size: 0.82rem;
}

.wm-map-popup-link {
	display: inline-flex;

	align-items: center;

	gap: 7px;

	color: var(--wm-map-text);

	font-size: 0.82rem;

	font-weight: 600;

	text-decoration: none;
}


/* =========================================================
   LISTADO DE UBICACIONES
   ========================================================= */

.wm-global-location-list {
	display: grid;

	grid-template-columns:
		repeat(
			4,
			minmax(0, 1fr)
		);

	gap: 12px;

	margin-top: 28px;
}

.wm-global-location-card {
	display: flex;

	align-items: center;

	justify-content: space-between;

	gap: 14px;

	padding: 18px 20px;

	border:
		1px solid
		var(--wm-map-border);

	border-radius: 18px;

	color: var(--wm-map-text);

	text-decoration: none;

	font-family:
		var(--wm-font-body, serif);

	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.wm-global-location-card:hover {
	background:
		var(--wm-map-pink);

	transform:
		translateY(-2px);
}

.wm-global-location-name {
	font-weight: 600;
}

.wm-global-location-count {
	font-size: 0.78rem;

	color: var(--wm-map-muted);
}


/* =========================================================
   CTA
   ========================================================= */

.wm-global-cta {
	padding:
		0
		0
		clamp(
			80px,
			10vw,
			140px
		);
}

.wm-global-cta-inner {
	background:
		var(--wm-map-dark);

	color: #fff;

	border-radius: 38px;

	padding:
		clamp(
			55px,
			8vw,
			100px
		);

	text-align: center;
}

.wm-global-cta h2 {
	max-width: 760px;

	margin:
		0
		auto
		20px;

	font-family:
		var(--wm-font-title, serif);

	font-size:
		clamp(
			3rem,
			6vw,
			5.5rem
		);

	font-weight: 400;

	line-height: 0.95;
}

.wm-global-cta p:not(.wm-global-eyebrow) {
	max-width: 560px;

	margin:
		0
		auto;

	font-family:
		var(--wm-font-body, serif);

	font-size: 1rem;
	line-height: 1.7;
}

.wm-global-button {
	display: inline-flex;

	align-items: center;

	gap: 10px;

	margin-top: 30px;

	padding:
		13px
		22px;

	border:
		1px solid
		rgba(
			255,
			255,
			255,
			0.7
		);

	border-radius: 999px;

	color: #fff;

	font-family:
		var(--wm-font-body, serif);

	font-size: 0.88rem;

	font-weight: 600;

	text-decoration: none;

	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.wm-global-button:hover {
	background: #fff;

	color:
		var(--wm-map-dark);

	transform:
		translateY(-2px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

	.wm-global-heading {
		grid-template-columns:
			1fr;

		gap: 24px;
	}

	.wm-global-heading-text {
		max-width: 640px;
	}

	.wm-global-location-list {
		grid-template-columns:
			repeat(
				2,
				minmax(0, 1fr)
			);
	}

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 680px) {

	.wm-global-container {
		width:
			min(
				100% - 30px,
				1180px
			);
	}

	.wm-global-hero {
		padding:
			125px
			0
			62px;
	}

	.wm-global-title {
		font-size:
			clamp(
				3.2rem,
				15vw,
				5rem
			);
	}

	.wm-global-map-section {
		padding:
			65px
			0;
	}

	.wm-global-map-shell {
		border-radius: 26px;
	}

	.wm-global-map {
		height: 480px;
	}

	.wm-global-location-list {
		grid-template-columns: 1fr;
	}

	.wm-global-cta-inner {
		border-radius: 26px;
	}

}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 420px) {

	.wm-global-map {
		height: 420px;
	}

	.wm-global-location-card {
		padding:
			16px
			17px;
	}

}