/* =====================================================================================================================
   MAPA WEB (mapa-web.php, desde el 13/10/2026)
   Cabecera con indice, tarjetas de seguros, provincias del cuadro medico, preguntas frecuentes y blog. Usa los colores
   y las cabeceras de /css/home-asisa.css (.hx).
   ===================================================================================================================== */

/* ---------- Cabecera ---------- */
.hx.mw-cabecera {
	padding: 32px 0 40px;
	background: linear-gradient(180deg, #fff, var(--hx-fondo));
}
.hx.mw-cabecera h1 {
	margin: 14px 0 12px;
	font-size: clamp(30px, 3.8vw, 46px);
	font-weight: 800;
	line-height: 1.12;
	color: var(--hx-azul);
}
.mw-lead {
	max-width: 760px;
	margin: 0 0 24px;
	font-size: 1.1rem;
	line-height: 1.6;
	color: var(--hx-gris);
}
.mw-indice { display: flex; flex-wrap: wrap; gap: 8px; }
.mw-indice a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border: 1px solid var(--hx-linea);
	border-radius: 999px;
	background: #fff;
	color: var(--hx-azul);
	font-size: .92rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color .2s, color .2s;
}
.mw-indice a:hover { border-color: var(--hx-naranja); color: var(--hx-naranja); }
.mw-indice i { color: var(--hx-naranja); }

/* ---------- Secciones ---------- */
.hx.mw-seccion { padding: 48px 0; }
.hx.mw-seccion--fondo { background: var(--hx-fondo); }
/* Tarjetas de seguros en columnas (sin huecos entre tarjetas de distinta altura) */
.mw-grid { columns: 3; column-gap: 20px; }
.mw-grid > .mw-tarjeta { break-inside: avoid; margin: 0 0 20px; }
.mw-grid--dos { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; columns: auto; }
.mw-grid--dos > .mw-tarjeta { margin: 0; }

/* Tarjetas */
.mw-tarjeta,
.mw-bloque {
	padding: 24px;
	border: 1px solid var(--hx-linea);
	border-radius: 20px;
	background: #fff;
	box-shadow: var(--hx-sombra);
	scroll-margin-top: 90px;
}
.mw-bloque + .mw-bloque { margin-top: 20px; }
.hx .mw-tarjeta-titulo,
.hx .mw-bloque-titulo {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 14px;
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.25;
	color: var(--hx-azul);
}
.mw-tarjeta-titulo > span,
.mw-bloque-titulo > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--hx-ambar-fondo);
	color: var(--hx-naranja);
	font-size: 1rem;
}
.mw-bloque-texto { margin: -4px 0 18px; color: var(--hx-gris); }
.mw-bloque-texto a { color: var(--hx-azul); font-weight: 700; }

/* Listas de enlaces */
.mw-lista { margin: 0; padding: 0; list-style: none; }
.mw-lista li { margin: 0; padding: 0; border-top: 1px solid var(--hx-linea); }
.mw-lista li:first-child { border-top: 0; }
.mw-lista a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 2px;
	color: var(--hx-texto);
	font-size: .95rem;
	line-height: 1.35;
	text-decoration: none;
	transition: color .2s;
}
.mw-lista a::after {
	content: "\203A";
	flex: 0 0 auto;
	color: var(--hx-naranja);
	font-size: 1.2rem;
	line-height: 1;
}
.mw-lista a:hover { color: var(--hx-naranja); }
.mw-lista--dos,
.mw-lista--blog { column-gap: 32px; }
.mw-lista--dos { columns: 2; }
.mw-lista--blog { columns: 3; }
.mw-lista--dos li,
.mw-lista--blog li { break-inside: avoid; }
.mw-lista--dos li:first-child,
.mw-lista--blog li:first-child { border-top: 1px solid var(--hx-linea); }

/* Provincias */
.mw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mw-chips li { margin: 0; padding: 0; }
.mw-chips a {
	display: inline-block;
	padding: 7px 13px;
	border: 1px solid var(--hx-linea);
	border-radius: 10px;
	background: var(--hx-fondo);
	color: var(--hx-azul);
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .2s, border-color .2s, color .2s;
}
.mw-chips a:hover { border-color: var(--hx-naranja); background: #fff; color: var(--hx-naranja); }

@media (max-width: 1199.98px) {
	.mw-lista--blog { columns: 2; }
}
@media (max-width: 991.98px) {
	.mw-grid { columns: 2; }
	.mw-grid--dos { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
	.hx.mw-seccion { padding: 32px 0; }
	.mw-grid { columns: 1; }
	.mw-grid > .mw-tarjeta { margin-bottom: 16px; }
	.mw-grid--dos { gap: 16px; }
	.mw-tarjeta, .mw-bloque { padding: 20px 18px; }
	.mw-indice a { padding: 8px 12px; font-size: .86rem; }
	.mw-lista--dos, .mw-lista--blog { columns: 1; }
	.mw-lista--dos li:first-child, .mw-lista--blog li:first-child { border-top: 0; }
}
