/* =====================================================================
   Web pública · Oficina Acelera Pyme CNC
   Componentes reutilizables con prefijo .wp- (las plantillas están en
   templates/Publico/Componentes.html). Misma identidad que el portal:
   Mulish en títulos y cifras, Archivo en texto, azul noche + acento cian.

   Idea visual: «red digital». Fondos azul noche con una malla de nodos
   animada (canvas), degradado azul → cian como en el informe de
   diagnóstico, y superficies blancas muy limpias para el contenido.
   ===================================================================== */

:root {
	--wp-noche: #061f42;
	--wp-tinta: #082d5c;                       /* azul noche: mismo que --dr-tinta */
	--wp-azul: var(--azul, #0d4c91);
	--wp-azul-medio: var(--bs-azul-mid, #1976ba);
	--wp-azul-claro: var(--base-color-light, #eaeff5);
	--wp-senal: #6fd0ff;                       /* acento «digital», sobre fondo oscuro */
	--wp-senal-fuerte: #0a7fb5;                /* el mismo tono con contraste AA sobre blanco */
	--wp-degradado: linear-gradient(125deg, var(--wp-noche) 0%, var(--wp-tinta) 35%, var(--wp-azul) 70%, #1a8fd0 100%);
	--wp-degradado-texto: linear-gradient(90deg, var(--wp-senal) 0%, #b6ecff 100%);

	--wp-texto: #0b1b33;
	--wp-texto-2: #33415c;
	--wp-texto-3: #5a6782;                     /* 5.6:1 sobre blanco */
	--wp-borde: #e1e6ef;
	--wp-fondo-suave: #f5f8fc;

	--wp-radio: 18px;
	--wp-radio-sm: 10px;
	--wp-sombra: 0 1px 2px rgba(8, 45, 92, 0.04), 0 8px 24px -8px rgba(8, 45, 92, 0.12);
	--wp-sombra-alta: 0 2px 4px rgba(8, 45, 92, 0.05), 0 24px 48px -16px rgba(8, 45, 92, 0.22);
	--wp-curva: cubic-bezier(0.22, 1, 0.36, 1);
	--wp-ancho: 1320px;
}

/* =====================================================================
   BASE
   ===================================================================== */
/* Solo afecta a los bloques .wp-: los bloques de Crafto que conviven en la misma página
   (p. ej. el inicio) conservan sus estilos */
.wp {
	overflow-x: clip;
}
.wp-seccion,
.wp-bloque-oscuro,
.wp-heroe,
.wp-cabecera,
.wp-cifras {
	color: var(--wp-texto-2);
	line-height: 1.6; /* Crafto hereda un interlineado fijo muy alto en textos sueltos */
}

/* Crafto da 110px de relleno a todo <section>: cada bloque .wp- fija el suyo */
.wp .wp-seccion,
.wp .wp-bloque-oscuro {
	padding-top: clamp(64px, 8vw, 112px);
	padding-bottom: clamp(64px, 8vw, 112px);
	position: relative;
}
.wp .wp-seccion--suave { background: var(--wp-fondo-suave); }
.wp .wp-seccion--compacta {
	padding-top: clamp(40px, 5vw, 64px);
	padding-bottom: clamp(40px, 5vw, 64px);
}

.wp-contenedor {
	width: 100%;
	max-width: var(--wp-ancho);
	margin-inline: auto;
	padding-inline: 16px;
}
@media (min-width: 768px) {
	.wp-contenedor { padding-inline: 32px; }
}

.wp a:focus-visible,
.wp button:focus-visible,
.wp input:focus-visible,
.wp select:focus-visible,
.wp textarea:focus-visible,
.wp-header a:focus-visible,
.wp-footer a:focus-visible {
	outline: 2px solid var(--wp-azul-medio);
	outline-offset: 3px;
	box-shadow: none;
}
.wp-oscuro a:focus-visible,
.wp-oscuro button:focus-visible { outline-color: var(--wp-senal); }

/* ---------- Títulos de sección ---------- */
.wp-antetitulo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--bs-font-mulish);
	font-weight: 700;
	font-size: 15px;
	color: var(--wp-senal-fuerte);
	margin-bottom: 14px;
}
.wp-antetitulo::before {
	content: "";
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}
.wp-oscuro .wp-antetitulo { color: var(--wp-senal); }

.wp-titulo {
	font-family: var(--bs-font-mulish);
	font-weight: 800;
	font-size: clamp(30px, 3.6vw, 48px);
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: var(--wp-texto);
	margin: 0 0 18px;
}
.wp-titulo em {
	font-style: italic;
	font-weight: 800;
	color: var(--wp-azul-medio);
}
.wp-oscuro .wp-titulo { color: #fff; }
.wp-oscuro .wp-titulo em {
	background: var(--wp-degradado-texto);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.wp-entradilla {
	font-size: clamp(17px, 1.4vw, 19px);
	line-height: 1.6;
	color: var(--wp-texto-3);
	max-width: 62ch;
	margin: 0;
}
.wp-oscuro .wp-entradilla { color: rgba(255, 255, 255, 0.78); }

.wp-cabeza-seccion {
	margin-bottom: clamp(36px, 4vw, 56px);
}
.wp-cabeza-seccion--centro {
	text-align: center;
}
.wp-cabeza-seccion--centro .wp-entradilla { margin-inline: auto; }
.wp-cabeza-seccion--fila {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

/* ---------- Botones ---------- */
.wp-btn {
	--wp-btn-fondo: var(--wp-azul);
	--wp-btn-texto: #fff;
	--wp-btn-borde: var(--wp-azul);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 999px;
	border: 1.5px solid var(--wp-btn-borde);
	background: var(--wp-btn-fondo);
	color: var(--wp-btn-texto);
	font-family: var(--bs-font-archivo);
	font-weight: 600;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms var(--wp-curva), box-shadow 180ms ease;
}
.wp-btn:hover {
	color: var(--wp-btn-texto);
	transform: translateY(-1px);
	box-shadow: 0 10px 24px -10px rgba(13, 76, 145, 0.55);
}
.wp-btn i { font-size: 1.05em; transition: transform 180ms var(--wp-curva); }
.wp-btn:hover i.bi-arrow-right,
.wp-btn:hover i.bi-arrow-up-right { transform: translateX(3px); }

.wp-btn--senal {
	--wp-btn-fondo: var(--wp-senal);
	--wp-btn-borde: var(--wp-senal);
	--wp-btn-texto: var(--wp-noche);
}
.wp-btn--senal:hover { --wp-btn-fondo: #9adfff; --wp-btn-borde: #9adfff; box-shadow: 0 10px 28px -10px rgba(111, 208, 255, 0.7); }
.wp-btn--fantasma {
	--wp-btn-fondo: transparent;
	--wp-btn-borde: rgba(255, 255, 255, 0.4);
	--wp-btn-texto: #fff;
}
.wp-btn--fantasma:hover { --wp-btn-fondo: rgba(255, 255, 255, 0.1); --wp-btn-borde: #fff; box-shadow: none; }
.wp-btn--contorno {
	--wp-btn-fondo: transparent;
	--wp-btn-borde: var(--wp-borde);
	--wp-btn-texto: var(--wp-texto);
}
.wp-btn--contorno:hover { --wp-btn-borde: var(--wp-azul); --wp-btn-texto: var(--wp-azul); box-shadow: none; }
.wp-btn--pequeno { min-height: 40px; padding: 0 18px; font-size: 15px; }

.wp-enlace {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--wp-azul);
	text-decoration: none;
}
.wp-enlace i { transition: transform 180ms var(--wp-curva); }
.wp-enlace:hover { color: var(--wp-azul-medio); }
.wp-enlace:hover i { transform: translateX(3px); }
.wp-oscuro .wp-enlace { color: var(--wp-senal); }

.wp-acciones {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.wp-saltar:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1000;
	padding: 10px 16px;
	border-radius: 10px;
	background: #fff;
	color: var(--wp-azul);
	font-weight: 600;
	box-shadow: var(--wp-sombra-alta);
}

/* =====================================================================
   CABECERA (topbar + menú). La estructura es la de Crafto para que su JS
   gestione el menú fijo, el móvil y los desplegables.
   ===================================================================== */
.wp-header .wp-topbar {
	background: var(--wp-noche);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.wp-topbar__fila {
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
}
.wp-topbar__datos,
.wp-topbar__redes {
	display: flex;
	align-items: center;
	gap: 20px;
}
.wp-topbar a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.wp-topbar a:hover { color: var(--wp-senal); }
.wp-topbar__nota {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.wp-topbar__nota::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--wp-senal);
	box-shadow: 0 0 0 4px rgba(111, 208, 255, 0.18);
}

.wp-header .navbar {
	border-bottom: 1px solid var(--wp-borde);
}
.wp-header .navbar .container-fluid {
	max-width: calc(var(--wp-ancho) + 64px);
}
.wp-header .navbar-nav .nav-link {
	font-family: var(--bs-font-mulish);
	font-weight: 700;
	font-size: 16px;
	color: var(--wp-texto) !important;
	position: relative;
}
.wp-header .navbar-nav .nav-item.activo > .nav-link,
.wp-header .navbar-nav .nav-link:hover {
	color: var(--wp-azul) !important;
}
@media (min-width: 992px) {
	.wp-header .navbar-nav .nav-item.activo > .nav-link::after {
		content: "";
		position: absolute;
		left: 50%;
		bottom: 18px;
		width: 18px;
		height: 3px;
		border-radius: 3px;
		background: var(--wp-senal);
		transform: translateX(-50%);
	}
}
.wp-header .dropdown-menu a {
	display: flex !important;
	align-items: flex-start;
	gap: 12px;
}
.wp-header .dropdown-menu a i {
	font-size: 20px;
	color: var(--wp-azul-medio);
	margin-top: 2px;
}
.wp-header .dropdown-menu a small {
	display: block;
	color: var(--wp-texto-3);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
	margin-top: 2px;
}
.wp-header__cta {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

/* ---------- Marca (logo OAP + CNC) ---------- */
.wp-marca {
	display: inline-flex;
	align-items: center;
}
.wp-marca img {
	height: 46px;
	width: auto;
	max-height: none;
}
.wp-footer .wp-marca img { height: 72px; }
@media (max-width: 575.98px) {
	.wp-marca img { height: 38px; }
}

/* =====================================================================
   HÉROE DEL INICIO
   ===================================================================== */
.wp .wp-heroe {
	background: var(--wp-degradado);
	color: #fff;
	padding-top: clamp(56px, 8vw, 104px);
	padding-bottom: clamp(72px, 9vw, 128px);
	isolation: isolate;
	overflow: hidden;
}
/* Malla de nodos (canvas) y luz difusa detrás del contenido */
.wp-red {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	opacity: 0.85;
}
.wp-heroe::before {
	content: "";
	position: absolute;
	width: 60vw;
	height: 60vw;
	right: -15vw;
	top: -25vw;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(111, 208, 255, 0.35) 0%, rgba(111, 208, 255, 0) 65%);
	z-index: -1;
	pointer-events: none;
}
.wp-heroe::after {
	/* Funde la malla con la banda de cifras de debajo */
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 120px;
	background: linear-gradient(180deg, rgba(6, 31, 66, 0) 0%, rgba(6, 31, 66, 0.35) 100%);
	z-index: -1;
	pointer-events: none;
}
.wp-heroe__rejilla {
	display: grid;
	gap: 56px;
	align-items: center;
}
@media (min-width: 992px) {
	.wp-heroe__rejilla { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}
.wp-heroe__titulo {
	font-family: var(--bs-font-mulish);
	font-weight: 800;
	font-size: clamp(40px, 6vw, 80px);
	line-height: 1.02;
	letter-spacing: -0.04em;
	color: #fff;
	margin: 0 0 24px;
}
.wp-heroe__titulo em {
	font-style: italic;
	background: var(--wp-degradado-texto);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-right: 0.08em; /* la cursiva no se corta al recortar el fondo */
}
.wp-rotar__cursor {
	display: inline-block;
	width: 0.06em;
	height: 0.85em;
	margin-left: 0.04em;
	background: var(--wp-senal);
	vertical-align: -0.06em;
	animation: wp-parpadeo 1s steps(1) infinite;
}
@keyframes wp-parpadeo { 50% { opacity: 0; } }

.wp-heroe .wp-entradilla { font-size: clamp(18px, 1.5vw, 20px); }

.wp-heroe__sello {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px 6px 6px;
	margin-bottom: 28px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(6px);
}
@media (max-width: 575.98px) {
	.wp-heroe__sello { font-size: 13px; }
}
.wp-heroe__sello { line-height: 1.35; }
.wp-heroe__sello b {
	white-space: nowrap;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--wp-senal);
	color: var(--wp-noche);
	font-weight: 700;
	font-size: 12px;
}

/* Tarjeta de cristal con los módulos del portal */
.wp-cristal {
	position: relative;
	border-radius: 24px;
	padding: 24px;
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 100%);
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(14px);
}
.wp-cristal__cabeza {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 16px;
	margin-bottom: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.wp-cristal__cabeza img { height: 30px; width: auto; }
.wp-cristal__estado {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.wp-cristal__estado::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #36d399;
	box-shadow: 0 0 0 4px rgba(54, 211, 153, 0.2);
}
.wp-cristal__lista {
	list-style: none;
	margin: 0;
	padding: 0;
}
.wp-cristal__lista a {
	display: grid;
	grid-template-columns: 44px 1fr auto;
	align-items: center;
	gap: 14px;
	padding: 12px 10px;
	margin-inline: -10px;
	border-radius: 14px;
	color: #fff;
	text-decoration: none;
	transition: background-color 180ms ease;
}
.wp-cristal__lista a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.wp-cristal__lista strong {
	display: block;
	font-family: var(--bs-font-mulish);
	font-weight: 700;
	font-size: 16px;
}
.wp-cristal__lista strong + span { display: block; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, 0.7); }
.wp-cristal__lista > li > a > i:last-child {
	color: rgba(255, 255, 255, 0.5);
	transition: transform 180ms var(--wp-curva), color 180ms ease;
}
.wp-cristal__lista a:hover > i:last-child { color: var(--wp-senal); transform: translateX(3px); }

.wp-icono {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	font-size: 20px;
	flex-shrink: 0;
	background: var(--wp-azul-claro);
	color: var(--wp-azul);
}
.wp-oscuro .wp-icono,
.wp-cristal .wp-icono {
	background: rgba(111, 208, 255, 0.14);
	color: var(--wp-senal);
}
.wp-icono--grande { width: 56px; height: 56px; border-radius: 16px; font-size: 26px; }

/* =====================================================================
   CABECERA DE PÁGINA INTERIOR
   ===================================================================== */
.wp .wp-cabecera {
	background: var(--wp-degradado);
	color: #fff;
	padding-top: clamp(48px, 6vw, 88px);
	padding-bottom: clamp(48px, 6vw, 88px);
	isolation: isolate;
	overflow: hidden;
}
.wp-cabecera .wp-red { opacity: 0.55; }
.wp-cabecera .wp-titulo {
	font-size: clamp(36px, 5vw, 64px);
	letter-spacing: -0.035em;
	max-width: 18ch;
}
.wp-migas {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
	font-size: 14px;
}
.wp-migas li { color: rgba(255, 255, 255, 0.7); }
.wp-migas li + li::before {
	content: "/";
	margin-right: 8px;
	color: rgba(255, 255, 255, 0.35);
}
.wp-migas a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.wp-migas a:hover { color: var(--wp-senal); }

/* =====================================================================
   CIFRAS (datos reales de la red y de la plataforma)
   ===================================================================== */
.wp-cifras {
	display: flex;
	flex-wrap: wrap; /* la última cifra de una fila incompleta se estira: no quedan huecos */
	gap: 1px; /* el fondo asoma entre celdas y hace de separador */
	border-radius: var(--wp-radio);
	background: var(--wp-borde);
	box-shadow: var(--wp-sombra-alta);
	overflow: hidden;
}
.wp-cifras--solapa {
	margin-top: calc(-1 * clamp(40px, 5vw, 64px));
	position: relative;
	z-index: 2;
}
.wp-cifra {
	flex: 1 1 150px;
	padding: clamp(18px, 2.4vw, 28px);
	background: #fff;
}
.wp-cifra__valor {
	display: block;
	font-family: var(--bs-font-mulish);
	font-weight: 800;
	font-size: clamp(36px, 3.6vw, 52px);
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--wp-tinta);
	font-variant-numeric: tabular-nums;
	margin-bottom: 10px;
}
.wp-cifra__valor small {
	font-size: 0.55em;
	color: var(--wp-azul-medio);
	margin-left: 2px;
}
.wp-cifra__etiqueta {
	font-size: 15px;
	line-height: 1.4;
	color: var(--wp-texto-3);
}

/* =====================================================================
   TARJETAS Y REJILLAS
   ===================================================================== */
.wp-rejilla {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
.wp-rejilla--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }

.wp-tarjeta {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
	padding: 28px;
	border-radius: var(--wp-radio);
	border: 1px solid var(--wp-borde);
	background: #fff;
	color: var(--wp-texto-2);
	text-decoration: none;
	transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms var(--wp-curva);
}
a.wp-tarjeta:hover,
.wp-tarjeta--interactiva:hover {
	color: var(--wp-texto-2);
	border-color: rgba(13, 76, 145, 0.3);
	box-shadow: var(--wp-sombra-alta);
	transform: translateY(-3px);
}
.wp-tarjeta h3 {
	font-family: var(--bs-font-mulish);
	font-weight: 800;
	font-size: 21px;
	letter-spacing: -0.02em;
	color: var(--wp-texto);
	margin: 0;
	line-height: 1.25;
}
.wp-tarjeta p {
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	color: var(--wp-texto-3);
}
.wp-tarjeta .wp-enlace { margin-top: auto; padding-top: 6px; }

/* ---------- Bento de servicios ---------- */
.wp-bento {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr;
}
@media (min-width: 768px) {
	.wp-bento { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
	.wp-bento {
		grid-template-columns: 1.3fr 1fr 1fr;
		grid-template-rows: auto auto;
	}
	.wp-bento > :first-child { grid-row: span 2; }
}
.wp-tarjeta--destacada {
	background: var(--wp-degradado);
	border: 0;
	color: rgba(255, 255, 255, 0.85);
	padding: 36px;
	overflow: hidden;
	isolation: isolate;
	min-height: 380px;
}
.wp-tarjeta--destacada::after {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -80px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	border: 1px solid rgba(111, 208, 255, 0.35);
	box-shadow: 0 0 0 40px rgba(111, 208, 255, 0.05), 0 0 0 80px rgba(111, 208, 255, 0.04);
	z-index: -1;
}
.wp-tarjeta--destacada h3 { color: #fff; font-size: clamp(26px, 2.4vw, 34px);  line-height: 1.25; }
.wp-tarjeta--destacada p { color: rgba(255, 255, 255, 0.78); font-size: 17px; }
a.wp-tarjeta--destacada:hover { color: rgba(255, 255, 255, 0.85); }
.wp-tarjeta--destacada .wp-enlace { color: var(--wp-senal); }

.wp-etiquetas {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.wp-etiquetas li {
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	background: var(--wp-azul-claro);
	color: var(--wp-tinta);
}
.wp-tarjeta--destacada .wp-etiquetas li,
.wp-oscuro .wp-etiquetas li {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ---------- Pasos numerados ---------- */
.wp-pasos {
	display: grid;
	gap: 20px;
	counter-reset: paso;
	list-style: none;
	padding: 0;
	margin: 0;
}
@media (min-width: 992px) {
	.wp-pasos { grid-template-columns: repeat(var(--wp-pasos, 3), 1fr); }
}
.wp-paso {
	position: relative;
	padding: 28px 28px 28px;
	border-radius: var(--wp-radio);
	background: #fff;
	border: 1px solid var(--wp-borde);
	counter-increment: paso;
}
.wp-paso::before {
	content: counter(paso, decimal-leading-zero);
	display: block;
	font-family: var(--bs-font-mulish);
	font-weight: 800;
	font-size: 44px;
	line-height: 1;
	letter-spacing: -0.04em;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--wp-azul-medio);
	margin-bottom: 20px;
}
.wp-paso h3 {
	font-family: var(--bs-font-mulish);
	font-weight: 800;
	font-size: 20px;
	color: var(--wp-texto);
	margin: 0 0 8px;
	line-height: 1.25;
}
.wp-paso p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--wp-texto-3); }

/* En una columna: el número a la izquierda y el texto a la derecha */
@media (min-width: 992px) {
	.wp-pasos--vertical { grid-template-columns: 1fr; }
}
.wp-pasos--vertical .wp-paso {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 24px;
	align-items: start;
}
.wp-pasos--vertical .wp-paso::before { grid-row: span 2; margin-bottom: 0; }
.wp-oscuro .wp-paso {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.14);
}
.wp-oscuro .wp-paso::before { -webkit-text-stroke-color: var(--wp-senal); }
.wp-oscuro .wp-paso h3 { color: #fff; }
.wp-oscuro .wp-paso p { color: rgba(255, 255, 255, 0.75); }

/* ---------- Bloque oscuro de ancho completo ---------- */
.wp .wp-bloque-oscuro {
	background: var(--wp-degradado);
	color: rgba(255, 255, 255, 0.85);
	isolation: isolate;
	overflow: hidden;
}
.wp-bloque-oscuro .wp-red { opacity: 0.4; }

/* ---------- Dos columnas (texto + algo) ---------- */
.wp-dos-columnas {
	display: grid;
	gap: 48px;
	align-items: center;
}
@media (min-width: 992px) {
	.wp-dos-columnas { grid-template-columns: 1fr 1fr; gap: 72px; }
	.wp-dos-columnas--invertida > :first-child { order: 2; }
}

.wp-lista-check {
	list-style: none;
	padding: 0;
	margin: 24px 0 0;
	display: grid;
	gap: 14px;
}
.wp-lista-check li {
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 12px;
	font-size: 16px;
	line-height: 1.55;
}
.wp-lista-check li::before {
	content: "\F633"; /* bi-check-lg */
	font-family: "bootstrap-icons";
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--wp-azul-claro);
	color: var(--wp-azul);
	font-size: 14px;
}
.wp-lista-check strong { color: var(--wp-texto); }
.wp-oscuro .wp-lista-check li::before { background: rgba(111, 208, 255, 0.16); color: var(--wp-senal); }
.wp-oscuro .wp-lista-check strong { color: #fff; }

.wp-imagen {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--wp-sombra-alta);
}
.wp-imagen img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 3;
}
.wp-imagen__nota {
	position: absolute;
	left: 20px;
	bottom: 20px;
	right: 20px;
	padding: 16px 18px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 15px;
	color: var(--wp-texto-2);
}
.wp-imagen__nota strong { display: block; color: var(--wp-texto); font-family: var(--bs-font-mulish); }

/* ---------- Problema → solución ---------- */
.wp-contraste {
	display: grid;
	gap: 20px;
}
@media (min-width: 992px) {
	.wp-contraste { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
}
.wp-contraste__lado {
	padding: 32px;
	border-radius: var(--wp-radio);
	border: 1px solid var(--wp-borde);
	background: #fff;
}
.wp-contraste__lado--solucion {
	background: var(--wp-degradado);
	border: 0;
	color: rgba(255, 255, 255, 0.85);
}
.wp-contraste__lado h3 {
	font-family: var(--bs-font-mulish);
	font-weight: 800;
	font-size: 22px;
	margin: 0 0 4px;
	color: var(--wp-texto);
	line-height: 1.25;
}
.wp-contraste__lado--solucion h3 { color: #fff; }
.wp-contraste__flecha {
	display: grid;
	place-items: center;
	font-size: 28px;
	color: var(--wp-azul-medio);
}
@media (max-width: 991.98px) {
	.wp-contraste__flecha i { transform: rotate(90deg); }
}
.wp-contraste ul {
	list-style: none;
	padding: 0;
	margin: 20px 0 0;
	display: grid;
	gap: 14px;
}
.wp-contraste li {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 12px;
	font-size: 16px;
	line-height: 1.5;
}
.wp-contraste li i { margin-top: 2px; }
.wp-contraste__lado--problema li i { color: #b42318; }
.wp-contraste__lado--solucion li i { color: var(--wp-senal); }

/* ---------- Módulos del portal (página Portal PYDE) ---------- */
.wp-modulo {
	display: grid;
	gap: 32px;
	align-items: center;
	padding: clamp(28px, 4vw, 48px);
	border-radius: 24px;
	background: #fff;
	border: 1px solid var(--wp-borde);
}
.wp-modulo + .wp-modulo { margin-top: 24px; }
@media (min-width: 992px) {
	.wp-modulo { grid-template-columns: 1fr 1fr; gap: 56px; }
	.wp-modulo:nth-child(even) > :first-child { order: 2; }
}
.wp-modulo__numero {
	font-family: var(--bs-font-mulish);
	font-weight: 800;
	font-size: 14px;
	color: var(--wp-senal-fuerte);
	margin-bottom: 12px;
	display: block;
}
.wp-modulo h3 {
	font-family: var(--bs-font-mulish);
	font-weight: 800;
	font-size: clamp(26px, 2.4vw, 34px);
	letter-spacing: -0.03em;
	color: var(--wp-texto);
	margin: 0 0 14px;
	line-height: 1.25;
}
.wp-modulo p { font-size: 17px; line-height: 1.6; color: var(--wp-texto-3); margin: 0; }
.wp-modulo .wp-imagen img { aspect-ratio: 16 / 11; }

/* ---------- Oficinas de la red ---------- */
.wp-oficinas {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
	list-style: none;
	padding: 0;
	margin: 0;
}
.wp-oficina {
	display: grid;
	grid-template-columns: 44px 1fr auto;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border-radius: 14px;
	border: 1px solid var(--wp-borde);
	background: #fff;
	color: var(--wp-texto-2);
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--wp-curva);
}
.wp-oficina:hover {
	color: var(--wp-texto-2);
	border-color: rgba(13, 76, 145, 0.35);
	box-shadow: var(--wp-sombra);
	transform: translateY(-2px);
}
.wp-oficina strong {
	display: block;
	font-family: var(--bs-font-mulish);
	font-weight: 800;
	font-size: 17px;
	color: var(--wp-texto);
}
.wp-oficina strong + span { font-size: 14px; color: var(--wp-texto-3); }
.wp-oficina small { display: block; font-size: 13px; color: var(--wp-texto-3); }
.wp-oficina > i { color: var(--wp-texto-3); transition: color 180ms ease; }
.wp-oficina:hover > i { color: var(--wp-azul); }

/* =====================================================================
   ASOCIADOS
   ===================================================================== */
.wp-filtros {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 32px;
}
.wp-filtro {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid var(--wp-borde);
	background: #fff;
	color: var(--wp-texto-2);
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.wp-filtro:hover { border-color: var(--wp-azul); color: var(--wp-azul); }
.wp-filtro[aria-pressed="true"] {
	background: var(--wp-tinta);
	border-color: var(--wp-tinta);
	color: #fff;
}
.wp-filtro__num {
	min-width: 24px;
	padding: 2px 7px;
	border-radius: 999px;
	font-size: 12px;
	background: var(--wp-azul-claro);
	color: var(--wp-tinta);
}
.wp-filtro[aria-pressed="true"] .wp-filtro__num { background: rgba(255, 255, 255, 0.18); color: #fff; }

.wp-asociado {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: var(--wp-radio);
	border: 1px solid var(--wp-borde);
	background: #fff;
	overflow: hidden;
	transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms var(--wp-curva);
}
.wp-asociado:hover {
	border-color: rgba(13, 76, 145, 0.3);
	box-shadow: var(--wp-sombra-alta);
	transform: translateY(-3px);
}
.wp-asociado[hidden] { display: none; }
.wp-asociado__logo {
	height: 150px;
	display: grid;
	place-items: center;
	padding: 28px;
	background: var(--wp-fondo-suave);
	border-bottom: 1px solid var(--wp-borde);
}
.wp-asociado__logo img {
	max-width: 100%;
	max-height: 90px;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.85;
	transition: filter 240ms ease, opacity 240ms ease;
}
.wp-asociado:hover .wp-asociado__logo img { filter: none; opacity: 1; }
.wp-monograma {
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	border-radius: 22px;
	background: var(--wp-degradado);
	color: #fff;
	font-family: var(--bs-font-mulish);
	font-weight: 900;
	font-size: 22px;
	letter-spacing: -0.02em;
}
.wp-asociado__cuerpo {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 24px 24px;
	flex: 1;
}
.wp-asociado__categoria {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--wp-senal-fuerte);
}
.wp-asociado h3 {
	font-family: var(--bs-font-mulish);
	font-weight: 800;
	font-size: 19px;
	letter-spacing: -0.01em;
	color: var(--wp-texto);
	margin: 0;
	line-height: 1.25;
}
.wp-asociado p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--wp-texto-3); }
.wp-asociado__pie {
	margin-top: auto;
	padding-top: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
	color: var(--wp-texto-3);
}
.wp-asociado .wp-etiquetas li { font-size: 12px; padding: 4px 10px; }

/* Franja de logos en movimiento (inicio) */
.wp-marquesina {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.wp-marquesina__pista {
	display: flex;
	align-items: center;
	gap: 64px;
	width: max-content;
	list-style: none;
	padding: 0;
	margin: 0;
	animation: wp-desplazar 40s linear infinite;
}
.wp-marquesina:hover .wp-marquesina__pista { animation-play-state: paused; }
.wp-marquesina__pista li { flex-shrink: 0; }
.wp-marquesina__pista a {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 64px;
	color: var(--wp-texto-3);
	text-decoration: none;
	font-family: var(--bs-font-mulish);
	font-weight: 800;
	font-size: 18px;
}
.wp-marquesina__pista img {
	max-height: 56px;
	max-width: 160px;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.7;
	transition: filter 200ms ease, opacity 200ms ease;
}
.wp-marquesina__pista a:hover img { filter: none; opacity: 1; }
@keyframes wp-desplazar { to { transform: translateX(-50%); } }

.wp-vacio {
	text-align: center;
	padding: 56px 24px;
	border-radius: var(--wp-radio);
	border: 1.5px dashed var(--wp-borde);
	background: #fff;
}
.wp-vacio--ancho { grid-column: 1 / -1; }
.wp-vacio .wp-icono { margin: 0 auto 16px; }
.wp-vacio h3 {
	font-family: var(--bs-font-mulish);
	font-weight: 800;
	font-size: 22px;
	color: var(--wp-texto);
	margin: 0 0 8px;
	line-height: 1.25;
}
.wp-vacio p { margin: 0 auto 20px; max-width: 52ch; color: var(--wp-texto-3); }

/* =====================================================================
   NOTICIAS (las pinta js/publico/noticias.js)
   ===================================================================== */
.wp-noticias {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	list-style: none;
	padding: 0;
	margin: 0;
}
.wp-noticia {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: var(--wp-radio);
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--wp-borde);
	color: var(--wp-texto-2);
	text-decoration: none;
	transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms var(--wp-curva);
}
.wp-noticia:hover {
	color: var(--wp-texto-2);
	border-color: rgba(13, 76, 145, 0.3);
	box-shadow: var(--wp-sombra-alta);
	transform: translateY(-3px);
}
.wp-noticia__imagen {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--wp-azul-claro);
}
.wp-noticia__imagen img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--wp-curva);
}
.wp-noticia:hover .wp-noticia__imagen img { transform: scale(1.04); }
.wp-noticia__imagen--vacia {
	display: grid;
	place-items: center;
	background: var(--wp-degradado);
	color: rgba(255, 255, 255, 0.6);
	font-size: 36px;
}
.wp-noticia__cuerpo {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 24px 24px;
	flex: 1;
}
.wp-noticia time {
	font-size: 14px;
	font-weight: 600;
	color: var(--wp-senal-fuerte);
}
.wp-noticia h3 {
	font-family: var(--bs-font-mulish);
	font-weight: 800;
	font-size: 19px;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--wp-texto);
	margin: 0;
}
.wp-noticia p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--wp-texto-3);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.wp-noticia .wp-enlace { margin-top: auto; padding-top: 6px; font-size: 15px; }

.wp-noticia--cargando .wp-noticia__imagen,
.wp-noticia--cargando .wp-esqueleto {
	background: linear-gradient(90deg, #edf1f7 0%, #f6f8fb 50%, #edf1f7 100%);
	background-size: 200% 100%;
	animation: wp-brillo 1.4s ease-in-out infinite;
}
.wp-esqueleto { display: block; height: 14px; border-radius: 6px; }
.wp-esqueleto--titulo { height: 22px; width: 85%; }
.wp-esqueleto--corto { width: 40%; }
@keyframes wp-brillo { to { background-position: -200% 0; } }

.wp-paginacion {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
	list-style: none;
	padding: 0;
}
.wp-paginacion button,
.wp-paginacion span {
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 12px;
	border: 1px solid var(--wp-borde);
	background: #fff;
	color: var(--wp-texto-2);
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.wp-paginacion button { cursor: pointer; transition: border-color 160ms ease, color 160ms ease; }
.wp-paginacion button:hover:not(:disabled) { border-color: var(--wp-azul); color: var(--wp-azul); }
.wp-paginacion button[aria-current="page"] { background: var(--wp-tinta); border-color: var(--wp-tinta); color: #fff; }
.wp-paginacion button:disabled { opacity: 0.4; cursor: default; }
.wp-paginacion span { border-color: transparent; background: transparent; }

/* =====================================================================
   RECURSOS EXTERNOS (ONE, Kit Espacios de Datos...)
   ===================================================================== */
.wp-recurso {
	display: grid;
	grid-template-columns: 1fr;
	border-radius: var(--wp-radio);
	overflow: hidden;
	border: 1px solid var(--wp-borde);
	background: #fff;
	color: var(--wp-texto-2);
	text-decoration: none;
	height: 100%;
	transition: box-shadow 200ms ease, transform 200ms var(--wp-curva);
}
@media (min-width: 576px) {
	.wp-recurso { grid-template-columns: 200px 1fr; }
}
.wp-recurso:hover { color: var(--wp-texto-2); box-shadow: var(--wp-sombra-alta); transform: translateY(-3px); }
.wp-recurso__media {
	min-height: 160px;
	display: grid;
	place-items: center;
	padding: 24px;
	background: var(--wp-fondo-suave);
}
.wp-recurso__media img { max-width: 100%; max-height: 120px; object-fit: contain; }
.wp-recurso__media--foto { padding: 0; }
.wp-recurso__media--foto img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.wp-recurso__cuerpo { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.wp-recurso h3 { font-family: var(--bs-font-mulish); font-weight: 800; font-size: 20px; color: var(--wp-texto); margin: 0;  line-height: 1.25; }
.wp-recurso p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--wp-texto-3); }
.wp-recurso .wp-enlace { margin-top: auto; font-size: 15px; }

/* =====================================================================
   PREGUNTAS FRECUENTES
   ===================================================================== */
.wp-faq {
	display: grid;
	gap: 12px;
}
.wp-faq details {
	border-radius: 14px;
	border: 1px solid var(--wp-borde);
	background: #fff;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}
.wp-faq details[open] { border-color: rgba(13, 76, 145, 0.3); box-shadow: var(--wp-sombra); }
.wp-faq summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	font-family: var(--bs-font-mulish);
	font-weight: 800;
	font-size: 18px;
	color: var(--wp-texto);
	cursor: pointer;
}
.wp-faq summary::-webkit-details-marker { display: none; }
.wp-faq summary::after {
	content: "\F64D"; /* bi-plus-lg */
	font-family: "bootstrap-icons";
	font-size: 18px;
	color: var(--wp-azul);
	transition: transform 200ms var(--wp-curva);
}
.wp-faq details[open] summary::after { transform: rotate(45deg); }
.wp-faq details > div { padding: 0 24px 22px; font-size: 16px; line-height: 1.6; color: var(--wp-texto-3); }

/* =====================================================================
   LLAMADA A LA ACCIÓN FINAL
   ===================================================================== */
.wp-cta {
	position: relative;
	display: grid;
	gap: 32px;
	align-items: center;
	padding: clamp(36px, 5vw, 64px);
	border-radius: 28px;
	background: var(--wp-degradado);
	color: rgba(255, 255, 255, 0.85);
	overflow: hidden;
	isolation: isolate;
}
@media (min-width: 992px) {
	.wp-cta { grid-template-columns: 1.4fr auto; }
}
.wp-cta .wp-red { opacity: 0.5; }
.wp-cta .wp-titulo { margin-bottom: 12px; }
.wp-cta .wp-acciones { margin-top: 0; }

/* =====================================================================
   FORMULARIO DE CONTACTO
   ===================================================================== */
.wp-contacto {
	display: grid;
	gap: 32px;
	align-items: start;
}
@media (min-width: 992px) {
	.wp-contacto { grid-template-columns: 1.35fr 1fr; gap: 48px; }
}
.wp-form {
	padding: clamp(24px, 4vw, 44px);
	border-radius: 24px;
	background: #fff;
	border: 1px solid var(--wp-borde);
	box-shadow: var(--wp-sombra-alta);
}
.wp-form__rejilla {
	display: grid;
	gap: 20px;
}
@media (min-width: 768px) {
	.wp-form__rejilla { grid-template-columns: 1fr 1fr; }
	.wp-form__ancho { grid-column: 1 / -1; }
}
.wp-campo label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	font-size: 15px;
	color: var(--wp-texto);
}
.wp-campo label .wp-opcional { font-weight: 400; color: var(--wp-texto-3); }
.wp-campo input,
.wp-campo select,
.wp-campo textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 16px;
	border-radius: 12px;
	border: 1.5px solid var(--wp-borde);
	background: var(--wp-fondo-suave);
	color: var(--wp-texto);
	font-size: 16px;
	transition: border-color 160ms ease, background-color 160ms ease;
}
.wp-campo textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.wp-campo input:focus,
.wp-campo select:focus,
.wp-campo textarea:focus {
	border-color: var(--wp-azul-medio);
	background: #fff;
	outline: none;
}
.wp-campo.es-error input,
.wp-campo.es-error select,
.wp-campo.es-error textarea { border-color: #b42318; background: #fff; }
.wp-campo__error {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	font-size: 14px;
	color: #b42318;
}
.wp-campo__ayuda {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 6px;
	font-size: 13px;
	color: var(--wp-texto-3);
}

/* Motivos como píldoras seleccionables (radios accesibles) */
.wp-motivos {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	border: 0;
	padding: 0;
	margin: 0;
}
.wp-motivos legend {
	font-weight: 600;
	font-size: 15px;
	color: var(--wp-texto);
	margin-bottom: 8px;
	float: none;
	width: 100%;
}
.wp-motivos input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.wp-motivos label {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 16px;
	margin: 0;
	border-radius: 999px;
	border: 1.5px solid var(--wp-borde);
	background: #fff;
	font-size: 15px;
	font-weight: 600;
	color: var(--wp-texto-2);
	cursor: pointer;
	transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}
.wp-motivos label:hover { border-color: var(--wp-azul); color: var(--wp-azul); }
.wp-motivos input:checked + label {
	background: var(--wp-tinta);
	border-color: var(--wp-tinta);
	color: #fff;
}
.wp-motivos input:focus-visible + label { outline: 2px solid var(--wp-azul-medio); outline-offset: 3px; }

.wp-check {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 12px;
	align-items: start;
	font-size: 15px;
	line-height: 1.5;
	color: var(--wp-texto-2);
}
.wp-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--wp-azul); }

.wp-trampa {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.wp-aviso {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 18px 20px;
	border-radius: 14px;
	margin-bottom: 24px;
	font-size: 16px;
	line-height: 1.5;
}
.wp-aviso i { font-size: 22px; line-height: 1; }
.wp-aviso strong { display: block; color: inherit; }
.wp-aviso--ok { background: #e8f6ee; color: #067647; }
.wp-aviso--error { background: #fdeeec; color: #b42318; }

.wp-datos-contacto {
	display: grid;
	gap: 14px;
}
.wp-dato {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 14px;
	align-items: center;
	padding: 18px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--wp-borde);
	color: var(--wp-texto-2);
	text-decoration: none;
}
a.wp-dato:hover { border-color: rgba(13, 76, 145, 0.35); color: var(--wp-texto-2); }
.wp-dato strong { display: block; }
.wp-dato > span:last-child > span { display: block; font-size: 13px; color: var(--wp-texto-3); }
.wp-dato strong { font-family: var(--bs-font-mulish); font-weight: 800; font-size: 17px; color: var(--wp-texto); }

/* =====================================================================
   PIE
   ===================================================================== */
.wp-footer {
	background: var(--wp-noche);
	color: rgba(255, 255, 255, 0.72);
	padding: 0;
}
.wp-footer__principal {
	display: grid;
	gap: 40px;
	padding-top: 72px;
	padding-bottom: 48px;
}
@media (min-width: 768px) {
	.wp-footer__principal { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1200px) {
	.wp-footer__principal { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
.wp-footer p { font-size: 15px; line-height: 1.6; margin: 18px 0 0; max-width: 38ch; color: rgba(255, 255, 255, 0.72); }
.wp-footer h2 {
	font-family: var(--bs-font-mulish);
	font-weight: 800;
	font-size: 15px;
	color: #fff;
	margin: 0 0 18px;
	line-height: 1.25;
}
.wp-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.wp-footer li { font-size: 15px; line-height: 1.5; }
.wp-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 15px; }
.wp-footer a:hover { color: var(--wp-senal); }
.wp-footer__redes { display: flex; gap: 10px; margin-top: 24px; }
.wp-footer__redes a {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.18);
	transition: background-color 160ms ease, border-color 160ms ease;
}
.wp-footer__redes a:hover { background: var(--wp-senal); border-color: var(--wp-senal); color: var(--wp-noche); }
.wp-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	padding-top: 24px;
	padding-bottom: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14px;
}
.wp-footer__legal nav { display: flex; flex-wrap: wrap; gap: 20px; }
.wp-footer__legal a { font-size: 14px; }
.wp-footer__financiacion {
	display: flex;
	justify-content: center;
	padding: 12px 16px;
	background: #fff;
}
.wp-footer__financiacion img {
	width: 100%;
	max-width: 1100px;
	height: auto;
	max-height: 64px;
	object-fit: contain;
}

/* =====================================================================
   APARICIÓN AL HACER SCROLL (solo con JS y sin preferencia de movimiento reducido)
   ===================================================================== */
.wp-js .wp-revelar {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 700ms var(--wp-curva), transform 700ms var(--wp-curva);
	transition-delay: calc(var(--wp-orden, 0) * 90ms);
}
/* En rejillas, los elementos de cada fila aparecen uno detrás de otro */
.wp-escalonado > .wp-revelar:nth-child(4n+2) { --wp-orden: 1; }
.wp-escalonado > .wp-revelar:nth-child(4n+3) { --wp-orden: 2; }
.wp-escalonado > .wp-revelar:nth-child(4n+4) { --wp-orden: 3; }
.wp-js .wp-revelar.es-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.wp-js .wp-revelar { opacity: 1; transform: none; transition: none; }
	.wp-marquesina__pista { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
	.wp-rotar__cursor { animation: none; }
	.wp-noticia--cargando .wp-noticia__imagen,
	.wp-noticia--cargando .wp-esqueleto { animation: none; }
	.wp-btn, .wp-tarjeta, .wp-noticia, .wp-asociado, .wp-oficina, .wp-recurso { transition: none; }
	.wp-btn:hover, a.wp-tarjeta:hover, .wp-noticia:hover, .wp-asociado:hover, .wp-oficina:hover, .wp-recurso:hover { transform: none; }
}
