/* ==========================================================================
   PRAXIS MMT · estilos del sitio
   Estética oscura (antracita) con el rojo PRAXIS reservado a botones y
   detalles. Bloques redondeados en degradado antracita, fichas oscuras con
   borde fino y titulares centrados de peso medio.
   ========================================================================== */

:root {
	/* Paleta oscura general */
	--px-bg: #14161a;
	--px-bg-2: #1b1e23;
	--px-surface: #20232a;
	--px-text: #f4f3f0;
	--px-muted: rgba(244, 243, 240, 0.68);
	--px-dim: rgba(244, 243, 240, 0.5);
	--px-line: rgba(255, 255, 255, 0.09);
	--px-line-strong: rgba(255, 255, 255, 0.17);
	--px-night: #0f1114;
	/* Antracita de los bloques (portada, secciones oscuras, cabecera) */
	--px-anthracite: linear-gradient(180deg, #3a3e48 0%, #272a32 55%, #1d2026 100%);
	--px-anthracite-flat: #262a31;

	/* Rojo corporativo: solo botones y detalles */
	--px-red: #e3161d;
	--px-red-hover: #c51118;
	--px-red-ink: #ff4d52;
	--px-red-on-dark: #ff3b41;
	--px-red-pale: #fdeced;
	/* Degradado rojo corporativo (de rojo anaranjado a rojo intenso) */
	--px-red-grad: linear-gradient(100deg, #f2552e 0%, #e3161d 55%, #b10e14 100%);
	--px-red-grad-hover: linear-gradient(100deg, #f86a3f 0%, #ea2a2f 55%, #c1121a 100%);
	--px-red-glow: 0 10px 26px -10px rgba(227, 22, 29, 0.7);
	/* Fondos blancos de la ventana de opiniones y de la pregunta abierta: blanco cálido, no puro */
	--px-paper: #faf8f3;
	--px-paper-ink: #1c1d21;
	--px-paper-text: #3a3c42;
	--px-paper-muted: #6b6d74;
	--px-paper-line: #e7e3da;

	/* Capa para imagen de fondo (banco de imágenes de Irene). Admite una imagen
	   (url() del fichero que se suba a assets/img) o un degradado. Se activa en la
	   portada y en Nuestros simuladores; opacidad con --px-bg-image-opacity. */
	--px-bg-image: none;
	--px-bg-image-opacity: 0.28;

	/* FONDOS DE PRUEBA, PROVISIONALES (lote v2 de Irene, 05/11/2026).
	   Imitación en CSS de las dos imágenes del banco que le gustan, para verlas
	   antes de comprarlas. NO son las imágenes del banco (no hay licencia).
	   A = #2164873054 (negro con luz roja y reflejo melocotón).
	   B = #1472539099 (negro con nube azul, violeta, rosa y naranja).
	   Para cambiar de fondo en toda la web: --px-fondo-prueba: var(--px-fondo-prueba-b);
	   Para verlo sin tocar código: añadir ?fondo=b a la URL (p. ej. /es/?fondo=b).
	   Cuando Irene compre la imagen: subirla en WebP a assets/img y poner en
	   --px-fondo-prueba la función url con su ruta relativa (../img/nombre.webp). */
	--px-fondo-prueba-a:
		radial-gradient(42% 50% at 96% 6%, rgba(222, 170, 140, 0.8), transparent 72%),
		radial-gradient(60% 62% at 74% 100%, rgba(206, 44, 32, 0.95), transparent 72%),
		radial-gradient(46% 55% at 46% 82%, rgba(150, 24, 18, 0.75), transparent 72%),
		radial-gradient(38% 46% at 88% 52%, rgba(120, 30, 22, 0.6), transparent 72%),
		linear-gradient(135deg, #000 0%, #070202 42%, #240605 100%);
	--px-fondo-prueba-b:
		radial-gradient(40% 52% at 98% 8%, rgba(240, 156, 112, 0.9), transparent 72%),
		radial-gradient(36% 50% at 100% 86%, rgba(226, 92, 62, 0.85), transparent 72%),
		radial-gradient(38% 48% at 70% 55%, rgba(234, 102, 172, 0.85), transparent 72%),
		radial-gradient(38% 46% at 52% 86%, rgba(128, 70, 212, 0.8), transparent 72%),
		radial-gradient(42% 50% at 30% 76%, rgba(48, 88, 204, 0.75), transparent 72%),
		radial-gradient(34% 42% at 14% 100%, rgba(156, 204, 232, 0.75), transparent 72%),
		#000;
	--px-fondo-prueba: var(--px-fondo-prueba-a);

	--px-radius-xl: 24px;
	--px-radius: 16px;
	--px-radius-sm: 8px;
	/* Alto de la barra superior fina (idioma, YBT y acceso). */
	--px-topbar-h: 38px;
	/* Alto de toda la cabecera fija (barra fina + principal). site.js lo ajusta al alto real. */
	--px-header-h: calc(64px + var(--px-topbar-h));
	/* Aire arriba y abajo de cada sección y separación vertical entre bloques */
	--px-sec-pad: clamp(36px, 7vh, 84px);
	--px-gap-y: calc(var(--px-inset) / 2);
	--px-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--px-wide: 1200px;
	--px-inset: clamp(8px, 1.4vw, 20px);
	--px-shadow-card: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 40px -28px rgba(0, 0, 0, 0.8);
	color-scheme: dark;
}
/* Fondo de prueba B (lo activa ?fondo=b en la URL, ver site.js) */
:root.px-fondo-b { --px-fondo-prueba: var(--px-fondo-prueba-b); }

html {
	/* Las anclas descuentan el alto real de la barra fija para no tapar los títulos */
	scroll-padding-top: calc(var(--px-header-h) + var(--px-admin-h, 0px));
	-webkit-text-size-adjust: 100%;
}
.admin-bar { --px-admin-h: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar { --px-admin-h: 0px; } }

/* Encaje suave entre secciones (solo escritorio; «proximity» no atrapa el scroll en
   secciones más altas que la ventana). Para compararlo sin encaje: añadir ?snap=0 a la URL. */
@media (min-width: 961px) and (min-height: 560px) {
	html:not(.px-no-snap) { scroll-snap-type: y proximity; }
	.px-section { scroll-snap-align: start; }
	.px-site-footer { scroll-snap-align: end; }
}

body {
	background: var(--px-bg);
	color: var(--px-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

::selection { background: var(--px-red); color: #fff; }

img { max-width: 100%; height: auto; }

a { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

:where(a, button, input, textarea, summary, select):focus-visible {
	outline: 2px solid var(--px-red);
	outline-offset: 3px;
	border-radius: 6px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.px-skip {
	position: absolute; left: 16px; top: -120px; z-index: 1000;
	background: var(--px-text); color: var(--px-bg); padding: 10px 16px; border-radius: var(--px-radius-sm);
	font-weight: 600; text-decoration: none;
}
.px-skip:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */

.px-btn,
.wp-block-button .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	box-sizing: border-box;
	min-height: 42px;
	padding: 0.65rem 1.15rem;
	border-radius: var(--px-radius-sm);
	border: 1px solid transparent;
	font: 500 0.9rem/1.1 var(--wp--preset--font-family--inter-tight, 'Inter Tight', sans-serif);
	letter-spacing: -0.005em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.px-btn:active,
.wp-block-button .wp-block-button__link:active { transform: scale(0.98); }

/* Rojo PRAXIS degradado: el mismo para todos los botones principales
   (estilos «Rojo» y «Principal», botón sin estilo, cabecera, formulario).
   El color de fondo es el respaldo si el navegador no pinta el degradado. */
.px-btn--brand,
.wp-block-button.is-style-px-brand .wp-block-button__link,
.wp-block-button.is-style-px-light .wp-block-button__link,
.wp-block-button:not([class*="is-style-"]) .wp-block-button__link {
	background-color: var(--px-red);
	background-image: var(--px-red-grad);
	color: #fff; border-color: transparent;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), var(--px-red-glow);
}
.px-btn--brand:hover,
.wp-block-button.is-style-px-brand .wp-block-button__link:hover,
.wp-block-button.is-style-px-light .wp-block-button__link:hover,
.wp-block-button:not([class*="is-style-"]) .wp-block-button__link:hover {
	background-color: var(--px-red-hover);
	background-image: var(--px-red-grad-hover);
	color: #fff; border-color: transparent;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 14px 30px -10px rgba(227, 22, 29, 0.85);
}

/* Contorno (secundario, sobre fondo oscuro) */
.wp-block-button.is-style-px-ghost .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: rgba(255, 255, 255, 0.04); color: var(--px-text);
	border-color: var(--px-line-strong);
	box-shadow: none;
}
.wp-block-button.is-style-px-ghost .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--px-red-on-dark); color: #fff; }

/* --------------------------------------------------------------------------
   Cabecera en dos barras (segundo feedback de PRAXIS, 10/11/2026)
   · Barra superior fina: idioma y «Competición YBT».
   · Barra principal: logo, anclas, «Accede a tu simulador» y «Solicita una demo». Las dos quedan fijas.
   Las anclas se ven siempre en portátil y tableta (en tableta, en su propia
   fila); el menú de tres líneas es solo para móvil (hasta 760 px).
   -------------------------------------------------------------------------- */

/* Las dos barras se quedan fijas arriba al desplazarse (Irene, 13/11/2026). */
.px-site-header {
	position: sticky; z-index: 100;
	top: var(--px-admin-h, 0px);
}

.px-topbar {
	position: relative; z-index: 2;
	height: var(--px-topbar-h); box-sizing: border-box;
	background: #0d0e11; color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.px-topbar__inner {
	height: 100%;
	max-width: calc(var(--px-wide) + 64px); margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 48px);
	display: flex; align-items: center; justify-content: flex-end; gap: clamp(10px, 1.6vw, 20px);
}
.px-topbar__ybt {
	color: rgba(255, 255, 255, 0.92); text-decoration: none; white-space: nowrap;
	font-size: 0.82rem; font-weight: 600; letter-spacing: -0.005em;
	transition: color 0.2s;
}
.px-topbar__ybt:hover { color: var(--px-red-on-dark); }
.px-ext { font-size: 0.85em; line-height: 1; }

/* «Accede a tu simulador»: mismo tamaño y peso que «Solicita una demo» (PRAXIS, 30/11/2026).
   Blanco translúcido con contorno claro; el rojo queda para la demo. En escritorio y tableta va
   junto a la demo en la barra principal; en móvil, en la barra superior. */
.px-btn.px-btn--outline {
	background: rgba(255, 255, 255, 0.1); color: #fff;
	border-color: rgba(255, 255, 255, 0.85);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
	font-weight: 600; white-space: nowrap;
}
.px-btn.px-btn--outline:hover { background: #fff; border-color: #fff; color: #14151a; }
.px-btn__icon { flex: none; }
.px-topbar__access.px-btn { display: none; }

.px-lang { position: relative; }
.px-lang__btn {
	display: inline-flex; align-items: center; gap: 6px;
	height: 26px; padding: 0 9px;
	border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.3);
	background: transparent; color: inherit;
	font: 600 0.76rem/1 inherit; font-family: inherit; cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}
.px-lang__btn:hover { border-color: currentColor; }
.px-lang__btn svg { transition: transform 0.2s; }
.px-lang__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.px-lang__list {
	position: absolute; right: 0; top: calc(100% + 8px);
	min-width: 170px; margin: 0; padding: 6px; list-style: none;
	background: var(--px-surface); border: 1px solid var(--px-line-strong);
	border-radius: 12px; box-shadow: 0 18px 44px -16px rgba(0, 0, 0, 0.7);
}
.px-lang__list a {
	display: flex; gap: 10px; padding: 8px 10px; border-radius: 8px;
	color: var(--px-muted); text-decoration: none; font-size: 0.88rem;
}
.px-lang__list a span { color: var(--px-dim); font-weight: 600; width: 22px; font-size: 0.78rem; }
.px-lang__list a:hover, .px-lang__list a[aria-current] { background: var(--px-bg-2); color: var(--px-text); }
.px-lang__list a[aria-current] span { color: var(--px-red-ink); }

/* Barra principal antracita */
.px-header {
	position: relative; z-index: 1;
	background: var(--px-anthracite);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	transition: box-shadow 0.25s;
	color: #fff;
}
.px-header.is-scrolled,
.px-nav-open .px-header { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.75); }

.px-header__inner {
	min-height: 64px; box-sizing: border-box;
	max-width: calc(var(--px-wide) + 64px); margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 48px);
	display: flex; align-items: center; gap: 18px;
}

.px-header__logo { display: inline-flex; flex: none; }
.px-header__logo img { height: 30px; width: auto; display: block; filter: brightness(0) invert(1); }

.px-nav { margin: 0 auto; }
.px-nav__list {
	display: flex; align-items: center; gap: 2px;
	list-style: none; margin: 0; padding: 0;
}
.px-nav__list a {
	position: relative; display: inline-flex; align-items: center; gap: 4px;
	padding: 8px 10px; border-radius: 999px;
	color: rgba(255, 255, 255, 0.88); text-decoration: none;
	font-size: 0.97rem; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
	transition: color 0.2s, border-color 0.2s;
}
/* Sección en la que estás (scrollspy) y hover: rojo PRAXIS */
.px-nav__list a:hover,
.px-nav__list a.is-active { color: var(--px-red-on-dark); }

/* «Competición YBT» está en la barra superior: en el menú solo se ve en el panel de móvil */
.px-nav__list .px-menu-ybt { display: none; }
.px-nav__langs { display: none; }

.px-header__actions { display: flex; align-items: center; gap: 8px; flex: none; }

/* «Solicita una demo»: el botón rojo destacado (hereda el degradado de .px-btn--brand) */
.px-header__cta.px-btn,
.px-header__access.px-btn { min-height: 38px; padding: 0.5rem 1.1rem; font-size: 0.9rem; font-weight: 600; white-space: nowrap; }

/* Portátiles estrechos y zoom alto: todo sigue en una fila, más apretado */
@media (min-width: 1100px) and (max-width: 1239px) {
	.px-header__inner { gap: 10px; padding: 0 20px; }
	.px-header__logo img { height: 26px; }
	.px-nav__list { gap: 0; }
	.px-nav__list a { padding: 8px 7px; font-size: 0.9rem; }
	.px-header__cta.px-btn,
	.px-header__access.px-btn { padding: 0.5rem 0.85rem; font-size: 0.86rem; }
}

/* Tabletas y ventanas a media pantalla: las anclas bajan a su propia fila, siempre visibles.
   El corte está en 1100 px para que quepan los dos botones junto a las anclas. */
@media (min-width: 761px) and (max-width: 1099px) {
	:root { --px-header-h: calc(96px + var(--px-topbar-h)); }
	.px-header__inner {
		display: grid; grid-template-columns: auto 1fr; grid-template-areas: "logo actions" "nav nav";
		align-items: center; gap: 0 16px; padding: 8px 20px 4px;
	}
	.px-header__logo { grid-area: logo; }
	.px-header__logo img { height: 26px; }
	.px-header__actions { grid-area: actions; justify-self: end; }
	.px-header__cta.px-btn,
	.px-header__access.px-btn { min-height: 34px; }
	.px-nav { grid-area: nav; margin: 2px 0 0; justify-self: center; max-width: 100%; }
	.px-nav__list { flex-wrap: wrap; justify-content: center; }
	.px-nav__list a { padding: 8px clamp(6px, 1vw, 11px); font-size: 0.92rem; }
}

.px-burger {
	display: none;
	width: 40px; height: 40px; border-radius: var(--px-radius-sm);
	border: 1px solid rgba(255, 255, 255, 0.3); background: transparent;
	color: inherit; cursor: pointer; position: relative;
}
.px-burger__bars,
.px-burger__bars::before,
.px-burger__bars::after {
	position: absolute; left: 50%; width: 16px; height: 1.5px; margin-left: -8px;
	background: currentColor;
	transition: transform 0.3s var(--px-ease), opacity 0.2s;
}
.px-burger__bars { top: 50%; margin-top: -0.75px; }
.px-burger__bars::before, .px-burger__bars::after { content: ""; left: 0; margin-left: 0; }
.px-burger__bars::before { transform: translateY(-5px); }
.px-burger__bars::after { transform: translateY(5px); }
.px-burger[aria-expanded="true"] .px-burger__bars { background: transparent; }
.px-burger[aria-expanded="true"] .px-burger__bars::before { transform: rotate(45deg); background: currentColor; }
.px-burger[aria-expanded="true"] .px-burger__bars::after { transform: rotate(-45deg); background: currentColor; }

/* Móvil: menú de tres líneas (solo aquí) */
@media (max-width: 760px) {
	/* La barra superior crece para que «Accede a tu simulador» mida lo mismo que la demo */
	:root { --px-topbar-h: 48px; --px-header-h: calc(58px + var(--px-topbar-h)); }
	.px-header__access.px-btn { display: none; }
	.px-topbar__access.px-btn { display: inline-flex; min-height: 36px; padding: 0.45rem 0.8rem; font-size: 0.84rem; }
	.px-header__inner { min-height: 58px; gap: 10px; padding: 0 16px; }
	.px-header__logo img { height: 24px; }
	.px-header__actions { margin-left: auto; }
	.px-header__cta.px-btn { min-height: 36px; padding: 0.45rem 0.8rem; font-size: 0.84rem; }
	.px-topbar__inner { padding: 0 16px; }
	.px-burger { display: inline-block; }
	.px-nav {
		/* site.js fija --px-nav-top al borde inferior real de la barra */
		position: fixed; inset: var(--px-nav-top, var(--px-header-h)) 0 0 0;
		margin: 0; padding: 12px clamp(20px, 5vw, 40px) 40px;
		background: linear-gradient(180deg, #18191c 0%, #0e0e10 100%); color: #fff;
		overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-6px);
		transition: opacity 0.2s, transform 0.3s var(--px-ease), visibility 0.2s;
	}
	.px-nav-open .px-nav { opacity: 1; visibility: visible; transform: none; }
	.px-nav-open body { overflow: hidden; }
	.px-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.px-nav__list li { display: block; }
	.px-nav__list a {
		display: flex; border-radius: 0;
		font-size: 1.45rem; font-weight: 500; letter-spacing: -0.02em;
		padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
	/* YBT en el panel: píldora fina, sin ocupar todo el ancho */
	.px-nav__list .px-menu-ybt { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
	.px-nav__list .px-menu-ybt > a {
		display: inline-flex; margin: 0; padding: 8px 20px;
		border-radius: 999px; border: 1px solid var(--px-red-on-dark);
		color: #fff; font-weight: 600; font-size: 1.3rem;
	}
	.px-nav__langs {
		display: flex; flex-wrap: wrap; gap: 8px;
		list-style: none; margin: 28px 0 0; padding: 0;
	}
	.px-nav__langs a {
		display: inline-flex; padding: 8px 14px; border-radius: var(--px-radius-sm);
		border: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.7);
		text-decoration: none; font-size: 0.88rem;
	}
	.px-nav__langs a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
	.px-nav__langs a[aria-current] { border-color: #fff; color: #fff; font-weight: 600; }
}
/* Móviles estrechos: «Competición YBT» ya está en el menú de tres líneas */
@media (max-width: 520px) {
	.px-topbar__ybt { display: none; }
}

/* --------------------------------------------------------------------------
   Secciones (comunes)
   -------------------------------------------------------------------------- */

.px-main { margin: 0; }
.px-main > .wp-block-post-content { margin: 0; }

/* Cada sección ocupa como mínimo la ventana útil (sin la barra fija) y centra su
   contenido en vertical. Si no cabe, crece hacia abajo: nunca se corta nada. */
.px-section {
	position: relative;
	display: flex; flex-direction: column; justify-content: center;
	box-sizing: border-box;
	min-height: calc(100vh - var(--px-header-h) - var(--px-admin-h, 0px));
	min-height: calc(100svh - var(--px-header-h) - var(--px-admin-h, 0px));
	padding-top: calc(var(--px-gap-y) + var(--px-sec-pad));
	padding-bottom: calc(var(--px-gap-y) + var(--px-sec-pad));
	background-color: var(--px-bg);
	background-repeat: no-repeat;
}
.wp-block-post-content > .px-section { margin-block: 0; }
.px-section > * { position: relative; z-index: 1; flex: none; width: 100%; box-sizing: border-box; margin-inline: auto !important; }

/* Sección oscura: bloque redondeado en antracita, como la portada */
.px-section.is-style-px-dark {
	--px-line: rgba(255, 255, 255, 0.1);
	--px-line-strong: rgba(255, 255, 255, 0.18);
	--px-surface: rgba(255, 255, 255, 0.04);
	color: #fff;
}
.px-section.is-style-px-dark::before {
	content: ""; position: absolute; z-index: 0; pointer-events: none;
	inset: var(--px-gap-y) var(--px-inset);
	border-radius: var(--px-radius-xl);
	border: 1px solid rgba(255, 255, 255, 0.06);
	background:
		radial-gradient(70% 45% at 50% 0%, rgba(255, 255, 255, 0.06), transparent 70%),
		var(--px-anthracite);
}

/* Capa preparada para la imagen de fondo que elija Irene (opacidad baja).
   Vacía mientras --px-bg-image sea «none». */
.px-hero::after,
.px-section.is-style-px-dark::after {
	content: ""; position: absolute; z-index: 0; pointer-events: none;
	inset: var(--px-gap-y) var(--px-inset);
	border-radius: var(--px-radius-xl);
	background: var(--px-bg-image) center / cover no-repeat;
	opacity: var(--px-bg-image-opacity);
}
.px-hero::after { inset: var(--px-hero-top) var(--px-inset) var(--px-hero-tail) var(--px-inset); }
.is-style-px-dark .px-head .is-style-px-eyebrow { color: rgba(255, 255, 255, 0.86); background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
.is-style-px-dark .px-head__lead { color: rgba(255, 255, 255, 0.66); }

/* Encabezado de sección, igual en todas (segundo feedback de PRAXIS): una línea a la
   izquierda, todo en mayúsculas, la sección en rojo y el descriptor en blanco
   (en negro en las secciones de fondo claro). */
.px-title,
.px-head h2.px-title {
	max-width: none; margin: 0;
	font-size: clamp(1.1rem, 1.9vw, 1.55rem); line-height: 1.25; font-weight: 700;
	letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--px-title-ink, #fff);
}
.px-title strong { font-weight: inherit; color: var(--px-title-red, var(--px-red-on-dark)); }
.px-section > .px-head { text-align: left; margin-bottom: clamp(18px, 3.2vh, 36px) !important; }
.px-section > .px-head > * { margin-inline: 0 !important; }

/* Cabecera de bloque suelta (patrones antiguos): centrada, titular de peso medio y subtítulo gris */
.px-head { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.px-head > * { margin-block: 0; margin-inline: auto !important; }
.px-head > * + * { margin-top: 16px; }
.px-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 500; max-width: 16ch; }
.px-head__lead { max-width: 54ch; color: var(--px-muted); font-size: 1.02rem; }

.is-style-px-eyebrow {
	align-items: center; gap: 8px;
	color: var(--px-muted);
	font-size: 0.8rem; font-weight: 500;
}
.px-head .is-style-px-eyebrow {
	display: inline-flex; width: fit-content;
	padding: 5px 12px; border-radius: 999px;
	border: 1px solid var(--px-line); background: var(--px-surface);
	box-shadow: 0 1px 2px rgba(17, 17, 19, 0.04);
}
.px-head .is-style-px-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--px-red); }

.is-style-px-gradient { color: inherit; }

.is-style-px-pill {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 14px; border-radius: 999px;
	border: 1px solid var(--px-line); background: var(--px-surface);
	font-size: 0.8rem; font-weight: 500; color: var(--px-muted);
}

.is-style-px-note { font-size: 0.82rem; color: var(--px-dim); }

/* Fichas */
.is-style-px-card,
.is-style-px-card-photo,
.is-style-px-card-photo-head,
.is-style-px-glass {
	position: relative;
	background: var(--px-surface);
	border: 1px solid var(--px-line);
	border-radius: var(--px-radius);
	padding: clamp(22px, 2.6vw, 32px);
	box-shadow: var(--px-shadow-card);
}
.is-style-px-card,
.is-style-px-card-photo,
.is-style-px-card-photo-head { transition: border-color 0.25s, transform 0.35s var(--px-ease), box-shadow 0.35s var(--px-ease); }
.is-style-px-card:hover,
.is-style-px-card-photo:hover,
.is-style-px-card-photo-head:hover {
	border-color: var(--px-line-strong);
	transform: translateY(-3px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 26px 48px -26px rgba(0, 0, 0, 0.9);
}

/* Aparición */
.px-js-reveal .px-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--px-ease), transform 0.8s var(--px-ease); }
.px-js-reveal .px-reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   1 · Portada: bloque oscuro con telón de luz roja
   -------------------------------------------------------------------------- */

.px-hero {
	/* Sin captura del simulador (feedback de Irene 03/11/2026): el bloque oscuro
	   cierra bajo las tarjetas de datos, con el mismo margen que por arriba. */
	--px-hero-tail: var(--px-gap-y);
	--px-hero-top: var(--px-gap-y);
	align-items: center; justify-content: flex-start;
	text-align: center; color: #fff;
	/* Primera pantalla: se descuentan las dos barras (--px-header-h ya las suma) para que quepa entera */
	min-height: calc(100vh - var(--px-header-h) - var(--px-admin-h, 0px));
	min-height: calc(100svh - var(--px-header-h) - var(--px-admin-h, 0px));
	padding-top: calc(var(--px-gap-y) + clamp(20px, 4vh, 56px));
	padding-bottom: calc(var(--px-gap-y) + clamp(12px, 2.2vh, 24px));
	z-index: 2;
	background: transparent;
	/* Fondo de prueba provisional (ver --px-fondo-prueba en :root) */
	--px-bg-image: var(--px-fondo-prueba);
	--px-bg-image-opacity: 0.85;
}
/* Velo oscuro sobre el fondo de prueba para que el texto blanco se lea bien */
.px-hero::after {
	background:
		radial-gradient(70% 60% at 50% 42%, rgba(8, 8, 10, 0.5), transparent 75%),
		linear-gradient(180deg, rgba(8, 8, 10, 0.25) 0%, rgba(8, 8, 10, 0.1) 50%, rgba(8, 8, 10, 0.45) 100%),
		var(--px-bg-image) center / cover no-repeat;
}
.px-hero::before {
	content: ""; position: absolute; z-index: 0; pointer-events: none;
	inset: var(--px-hero-top) var(--px-inset) var(--px-hero-tail) var(--px-inset);
	border-radius: var(--px-radius-xl);
	border: 1px solid rgba(255, 255, 255, 0.06);
	background:
		radial-gradient(80% 60% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 70%),
		var(--px-anthracite);
}
.px-hero > .is-style-px-pill {
	order: 1; width: auto;
	color: rgba(255, 255, 255, 0.88); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	margin-bottom: 26px;
}
/* Etiqueta superior en mayúsculas espaciadas (maqueta 03/11/2026) */
.px-hero > .px-hero__eyebrow {
	order: 1;
	/* «auto» arriba (y en los datos): el texto queda centrado en el hueco libre */
	margin: auto auto clamp(12px, 1.6vw, 20px) !important;
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(0.82rem, 1.35vw, 1.1rem); font-weight: 600;
	letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.4;
}
.px-hero > .px-hero__title {
	order: 2;
	font-size: clamp(2.6rem, min(7.2vw, 13vh), 6rem);
	line-height: 1.02; letter-spacing: -0.035em; font-weight: 600;
	margin-top: 0; max-width: 18ch !important;
}
.px-hero > .px-hero__lead {
	order: 3;
	max-width: 600px !important; margin-top: 22px !important;
	color: rgba(255, 255, 255, 0.78); font-size: clamp(0.98rem, 1.4vw, 1.08rem); line-height: 1.6;
}
/* Línea de públicos: una sola línea en escritorio */
.px-hero > .px-hero__audience {
	max-width: 62rem !important; margin-top: clamp(16px, 2vw, 26px) !important;
	color: rgba(255, 255, 255, 0.84); font-size: clamp(1rem, 1.55vw, 1.3rem); line-height: 1.5;
	text-wrap: balance;
}
.px-hero > .px-hero__actions { order: 4; justify-content: center; gap: 10px; margin-top: clamp(20px, 4vh, 32px) !important; margin-bottom: clamp(24px, 5vh, 56px) !important; }
.px-hero__actions .wp-block-button.is-style-px-light .wp-block-button__link { background: var(--px-red) var(--px-red-grad); border-color: transparent; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), var(--px-red-glow); }
.px-hero__actions .wp-block-button.is-style-px-light .wp-block-button__link:hover { background: var(--px-red-hover) var(--px-red-grad-hover); }
.px-hero__actions .wp-block-button__link { min-height: 52px; padding-inline: 1.9rem; font-size: 1.05rem; font-weight: 600; }

/* Datos clave: franja editorial sin tarjetas, pegada al final de la primera pantalla.
   Cuatro datos (24/11/2026), solo el titular en negrita. Una línea fina arriba con un tramo rojo
   sobre cada dato y separadores verticales entre ellos. */
.px-hero > .px-facts {
	order: 5;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
	max-width: 1200px !important;
	margin-top: auto !important;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.px-facts > * { margin: 0 !important; }
.px-facts .px-fact {
	position: relative;
	padding: clamp(12px, 1.8vh, 18px) clamp(10px, 1.4vw, 20px) 4px;
	color: #fff; text-align: left;
}
.px-facts .px-fact + .px-fact { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.px-facts .px-fact::before {
	content: ""; position: absolute; top: -1px; left: clamp(10px, 1.4vw, 20px);
	width: 28px; height: 2px; background: var(--px-red-on-dark);
}
.px-fact > * { margin: 0; }
.px-fact__title { font-size: clamp(0.92rem, 1.15vw, 1.08rem); line-height: 1.25; color: #fff; letter-spacing: -0.01em; }
.px-fact__title strong { font-weight: 600; }
/* Portadas antiguas: la letra pequeña ya no se muestra */
.px-fact__text { display: none; }

@media (max-width: 760px) {
	.px-hero > .px-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
	.px-facts .px-fact { border-top: 1px solid rgba(255, 255, 255, 0.16); padding: 12px 12px 14px; }
	.px-facts .px-fact + .px-fact { border-left: 0; }
	.px-facts .px-fact:nth-child(2n) { border-left: 1px solid rgba(255, 255, 255, 0.1); }
	.px-facts .px-fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.px-facts .px-fact::before { left: 12px; }
	.px-fact__title { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
}

/* --------------------------------------------------------------------------
   Logos y mapa (bloques reutilizables)
   -------------------------------------------------------------------------- */

/* Logos */
.px-logos { position: relative; display: flex; align-items: center; gap: 8px; }
.px-logos.is-grid { display: block; }
.px-logos__item { flex: none; }
.px-logos__item a { display: block; }
.px-logos__img { display: block; height: 60px; width: auto; max-width: 170px; object-fit: contain; transition: opacity 0.25s, filter 0.25s; }
/* Monocromo sobre oscuro: el logo se invierte y se funde en «screen», así el
   fondo blanco de la imagen desaparece y la marca queda en gris claro. */
.px-logos.is-mono { isolation: isolate; background: var(--px-logos-bg, var(--px-bg)); }
.px-why__cols .px-logos.is-mono { --px-logos-bg: var(--px-surface); }
.px-logos.is-mono .px-logos__grid,
.px-logos.is-mono .px-logos__viewport { mix-blend-mode: screen; }
.px-logos.is-mono .px-logos__img { filter: grayscale(1) invert(1) contrast(1.15); opacity: 0.6; }
.px-logos.is-mono .px-logos__item:hover .px-logos__img { opacity: 1; }
.px-logos:not(.is-mono) .px-logos__item { background: #fff; border: 1px solid var(--px-line); border-radius: 10px; padding: 8px 14px; }

/* Rejilla, separada por líneas verticales finas */
.px-logos__grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 28px;
}
.px-logos__grid .px-logos__item { display: flex; align-items: center; justify-content: center; padding: 0 18px; min-height: 64px; }
.px-logos__grid .px-logos__item:not(:nth-child(6n + 1)) { border-left: 1px solid var(--px-line); }
.px-logos__grid .px-logos__img { height: 52px; max-width: 150px; }
@media (max-width: 900px) {
	.px-logos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.px-logos__grid .px-logos__item:not(:nth-child(6n + 1)) { border-left: 0; }
	.px-logos__grid .px-logos__item:not(:nth-child(3n + 1)) { border-left: 1px solid var(--px-line); }
}
@media (max-width: 480px) {
	.px-logos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.px-logos__grid .px-logos__item:not(:nth-child(3n + 1)) { border-left: 0; }
	.px-logos__grid .px-logos__item:nth-child(2n) { border-left: 1px solid var(--px-line); }
	.px-logos__grid .px-logos__img { height: 44px; }
}

/* Carrusel */
.px-logos__viewport {
	flex: 1; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
[data-px-logos] .px-logos__viewport {
	touch-action: pan-y; cursor: grab;
	-webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
[data-px-logos] .px-logos__viewport.is-dragging { cursor: grabbing; }
[data-px-logos] .px-logos__viewport img { -webkit-user-drag: none; }
.px-logos__track {
	display: flex; align-items: center; column-gap: 56px;
	list-style: none; margin: 0; padding: 8px 0;
	width: max-content; will-change: transform;
}
.px-logos__arrow,
.px-carousel-nav__btn {
	flex: none; width: 36px; height: 36px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--px-line-strong); background: var(--px-surface); color: var(--px-text);
	cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.px-logos__arrow:hover,
.px-carousel-nav__btn:hover { background: var(--px-red) var(--px-red-grad); border-color: transparent; color: #fff; }
.px-logos__arrow .px-icon,
.px-carousel-nav__btn .px-icon { width: 16px; height: 16px; }
.px-logos__empty { margin: 0; padding: 18px; border: 1px dashed var(--px-line-strong); border-radius: 12px; color: var(--px-muted); font-size: 0.9rem; flex: 1; }

/* Mapa */
.px-map { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 28px; align-items: center; flex: 1; }
.px-map__canvas { position: relative; grid-row: span 2; }
.px-map__dots { display: block; width: 100%; height: auto; opacity: 0.4; }
.px-map__pin {
	position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
	background: var(--px-red) var(--px-red-grad); box-shadow: 0 0 0 3px var(--px-surface), 0 4px 12px rgba(227, 22, 29, 0.6);
}
.px-map__pin::after {
	content: ""; position: absolute; inset: -6px; border-radius: 50%;
	border: 1.5px solid var(--px-red); opacity: 0;
	animation: px-ping 2.6s var(--px-ease) infinite; animation-delay: var(--d, 0s);
}
.px-map__pin.is-pending { background: var(--px-bg); border: 2px solid var(--px-red-on-dark); }
.px-map__pin.is-pending::after { display: none; }
@keyframes px-ping { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(2.2); opacity: 0; } }
.px-map__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-self: end; }
.px-map__list li { font-weight: 500; font-size: 0.98rem; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.px-map__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--px-red); }
.px-map__list sup { color: var(--px-red-ink); }
.px-map__note { margin: 0; color: var(--px-dim); font-size: 0.8rem; align-self: start; }

@media (max-width: 900px) {
	.px-map { grid-template-columns: 1fr; }
	.px-map__canvas { grid-row: auto; }
	.px-map__list { display: flex; flex-wrap: wrap; gap: 8px 20px; }
}

/* --------------------------------------------------------------------------
   2 · Por qué PRAXIS MMT · Datos que nos avalan
   Diseño del tercer feedback de PRAXIS (15/11/2026): sección oscura. De arriba
   abajo: encabezado + subtítulo gris; cuatro cifras en una fila; dos recuadros
   iguales (mapa con los países en una línea · clientes con los logos en dos
   filas de cuatro); y el carrusel de opiniones (guía web v2, 17/11/2026).
   En escritorio encaja en la ventana como las demás secciones (cuarto feedback,
   16/11/2026): los tamaños siguen al alto de la ventana. Solo si la ventana es
   muy baja la sección crece.
   -------------------------------------------------------------------------- */

.px-why {
	--px-why-gap: clamp(16px, 1.8vw, 24px);
	--px-why-pad: clamp(20px, 2.2vw, 30px);
	--px-why-muted: rgba(255, 255, 255, 0.64);
}
.px-why.is-style-px-dark::before {
	background:
		radial-gradient(44% 40% at 100% 100%, rgba(200, 26, 20, 0.5), rgba(120, 14, 12, 0.2) 48%, transparent 76%),
		radial-gradient(60% 40% at 0% 0%, rgba(255, 255, 255, 0.035), transparent 70%),
		#0b0b0e;
}
.px-why > * { margin-block: 0; }
.px-why > * + * { margin-top: var(--px-why-gap) !important; }
.px-section.px-why > .px-why__head { margin-bottom: 0 !important; }
.px-why__head > * { margin: 0; }
.px-why .px-why__lead { margin-top: 8px; max-width: none; color: var(--px-why-muted); font-size: clamp(0.92rem, 1.1vw, 1.02rem); }

/* Cuatro cifras: raya roja corta, número grande y fino, texto pequeño en gris.
   Líneas finas arriba y abajo de la fila y entre fichas. */
.px-kpis {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	border-block: 1px solid var(--px-line);
}
.px-kpis > * { margin: 0 !important; }
.px-kpi { padding: clamp(16px, 2.4vh, 26px) clamp(14px, 1.8vw, 26px); }
.px-kpi + .px-kpi { border-left: 1px solid var(--px-line); }
.px-kpi:first-child { padding-left: 0; }
.px-kpi > * { margin: 0 !important; }
.px-kpi__value {
	position: relative; padding-top: 14px;
	font-size: clamp(2rem, 3.3vw, 3rem); font-weight: 300; line-height: 1; letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums; white-space: nowrap;
}
.px-kpi__value::before { content: ""; position: absolute; top: 0; left: 0; width: 22px; height: 2px; border-radius: 2px; background: var(--px-red-on-dark); }
.px-kpi__label { margin-top: 8px !important; color: var(--px-why-muted); font-size: 0.88rem; line-height: 1.3; hyphens: auto; overflow-wrap: break-word; }

/* Filas de dos columnas iguales, a la misma altura */
.px-why__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--px-why-gap); align-items: stretch; }
.px-why__row > * { margin: 0 !important; min-width: 0; }

/* Recuadros de arriba (mapa y clientes): discretos */
.px-why__box {
	position: relative; display: flex; flex-direction: column; box-sizing: border-box;
	padding: var(--px-why-pad);
	border-radius: var(--px-radius); border: 1px solid var(--px-line);
	background: rgba(255, 255, 255, 0.035);
}
.px-why__box > * { margin: 0 !important; }

/* Mapa: países en rojo y, debajo, todos en una sola línea separados por puntos rojos.
   La letra se ajusta al ancho del recuadro (unidades de contenedor + ajuste fino en site.js):
   antes se reduce que partir la línea o salirse. Solo en móvil se permite más de una línea. */
.px-why__map .px-map { display: flex; flex-direction: column; flex: 1; gap: clamp(12px, 1.8vh, 18px); container-type: inline-size; }
.px-why__map .px-map__canvas { grid-row: auto; width: min(100%, clamp(240px, 25vw, 400px)); margin: auto; }
.px-why__map .px-map__dots { opacity: 0.5; }
.px-why__map .px-map__pin { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; box-shadow: 0 0 0 2px rgba(11, 11, 14, 0.9), 0 0 10px rgba(227, 22, 29, 0.7); }
.px-why__map .px-map__list {
	display: flex; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 0;
	align-self: stretch; min-width: 0; box-sizing: border-box;
	padding-top: clamp(12px, 1.6vh, 16px); border-top: 1px solid var(--px-line);
	color: rgba(255, 255, 255, 0.74); font-size: clamp(7px, 1.9cqi, 13px); line-height: 1.4;
	white-space: nowrap; overflow: hidden;
}
.px-why__map .px-map__list li { display: inline-flex; align-items: center; gap: 0; font-weight: 400; font-size: inherit; }
.px-why__map .px-map__list li::before { content: none; }
/* Centrada con márgenes automáticos: si no cabe, sobra por la derecha y site.js lo mide bien */
.px-why__map .px-map__list li:first-child { margin-left: auto; }
.px-why__map .px-map__list li:last-child { margin-right: auto; }
.px-why__map .px-map__list li + li::before { content: ""; flex: none; width: 3px; height: 3px; margin-inline: 0.5em; border-radius: 50%; background: var(--px-red-on-dark); }

/* Clientes: título a la izquierda (rojo y en mayúsculas, como el de las opiniones: lleva también
   .px-why__label), flechas arriba a la derecha y logos en dos filas de cuatro */
.px-why .px-why__clients-title {
	display: flex; align-items: center; min-height: 36px; padding-right: 92px;
	margin-bottom: clamp(12px, 1.8vh, 18px) !important;
}
.px-logos.is-pages { position: static; display: flex; flex-direction: column; align-items: stretch; gap: 0; flex: 1; min-width: 0; }
.px-logos__nav { position: absolute; top: var(--px-why-pad, 20px); right: var(--px-why-pad, 20px); display: flex; gap: 8px; }
.px-logos__pages {
	display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	overscroll-behavior-x: contain; scrollbar-width: none;
	flex: 1 1 auto;
}
.px-logos__pages::-webkit-scrollbar { display: none; }
.px-logos__page {
	flex: 0 0 100%; scroll-snap-align: start; box-sizing: border-box;
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.px-logos.is-pages:not(.is-mono) .px-logos__item {
	display: flex; align-items: center; justify-content: center; box-sizing: border-box;
	min-height: clamp(56px, 7.6vh, 70px); padding: 8px 10px;
	background: #fff; border: 0; border-radius: 10px;
}
.px-logos.is-pages .px-logos__item a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-decoration: none; color: inherit; }
.px-logos.is-pages .px-logos__img { height: auto; width: auto; max-height: 52px; max-width: 100%; }
/* Logo aún sin imagen: se ve el nombre de la institución */
.px-logos__name { display: block; text-align: center; font-weight: 600; font-size: 1rem; line-height: 1.2; color: #2c2e33; }
.px-logos.is-pages .px-logos__name { font-size: 0.78rem; }
.px-why .px-logos__arrow { width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, 0.24); background: transparent; color: #fff; }
.px-why .px-logos__arrow:hover { background: var(--px-red) var(--px-red-grad); border-color: transparent; }
.px-why .px-logos__empty { color: var(--px-why-muted); }

/* Títulos pequeños en rojo y mayúsculas («Ya confían en nosotros», «Qué opinan nuestros clientes») */
.px-why .px-why__label {
	margin: 0 0 clamp(12px, 1.8vh, 18px); max-width: none;
	color: var(--px-red-on-dark); font-size: 0.78rem; font-weight: 700; line-height: 1.4;
	letter-spacing: 0.14em; text-transform: uppercase;
}

/* Opiniones (guía web v2, 17/11/2026): un recuadro a todo el ancho con el título, los puntos y
   las flechas arriba, y debajo las fichas en carrusel: cuatro a la vista en pantallas anchas,
   tres, dos o una según el ancho. Sin cambio automático. Cada ficha: frase destacada, nombre,
   cargo y «Leer opinión completa» (abre la ventana flotante) o «Ver su web». */
.px-why__reviews { gap: clamp(10px, 1.6vh, 16px); }
.px-reviews__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; min-height: 36px; }
.px-reviews__head > * { margin: 0 !important; }
.px-reviews__note { color: var(--px-why-muted); font-size: 0.78rem; line-height: 1.4; }
.px-reviews__head > .px-carousel-nav { margin-left: auto !important; }
.px-reviews__head .px-carousel-nav__dots { margin-right: 6px; }
.px-carousel-nav[hidden] { display: none; }
.px-why .px-carousel-nav__dot { background: rgba(255, 255, 255, 0.24); }
.px-why .px-carousel-nav__dot[aria-current="true"] { width: 7px; background: #fff; }
.px-why .px-carousel-nav__btn { border: 1px solid rgba(255, 255, 255, 0.24); background: transparent; color: #fff; }
.px-why .px-carousel-nav__btn:hover { background: var(--px-red) var(--px-red-grad); border-color: transparent; }
.px-why .px-carousel-nav__btn:disabled { opacity: 0.32; cursor: default; background: transparent; border-color: rgba(255, 255, 255, 0.24); }
.px-reviews {
	--px-rev-n: 4; --px-rev-gap: 12px;
	display: flex; gap: var(--px-rev-gap); min-width: 0;
	overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.px-reviews::-webkit-scrollbar { display: none; }
.px-reviews > .px-review {
	flex: 0 0 calc((100% - (var(--px-rev-n) - 1) * var(--px-rev-gap)) / var(--px-rev-n));
	scroll-snap-align: start; box-sizing: border-box; min-width: 0; margin: 0 !important;
	display: flex; flex-direction: column;
	padding: clamp(14px, 1.5vw, 20px);
	/* Fichas blancas con letra negra sobre la sección oscura (cambios del 24/11/2026) */
	border-radius: 12px; border: 1px solid #fff;
	background: #fff; color: var(--px-paper-ink);
	/* Hueco del botón «Leer opinión completa»: lo reservan también las fichas sin botón */
	--px-rev-foot-gap: clamp(8px, 1.3vh, 12px); --px-rev-foot-fs: 0.82rem;
}
.px-review > * { margin: 0 !important; }
.px-review__quote { color: var(--px-paper-ink); font-weight: 500; font-size: clamp(0.94rem, 1.2vw, 1.04rem); line-height: 1.38; }
.px-review > .px-review__by { margin-top: auto !important; padding-top: clamp(12px, 2vh, 20px); }
.px-review__by > * { margin: 0 !important; }
.px-review__name { color: var(--px-paper-ink); font-weight: 700; font-size: 0.86rem; line-height: 1.35; }
.px-review__role { margin-top: 2px !important; color: var(--px-paper-muted); font-size: 0.76rem; line-height: 1.4; }
.px-review > .px-review__more,
.px-review > .px-review__link { margin-top: var(--px-rev-foot-gap) !important; font-size: var(--px-rev-foot-fs); font-weight: 600; line-height: 1.4; }
/* Ficha sin botón ni enlace (Claudio Flores): guarda el mismo hueco, y la firma queda a la altura de las demás */
.px-review > .px-review__by:last-child { margin-bottom: calc(var(--px-rev-foot-gap) + var(--px-rev-foot-fs) * 1.4) !important; }
.px-review__more summary { display: inline-block; list-style: none; cursor: pointer; color: var(--px-red); }
.px-review__more summary::-webkit-details-marker { display: none; }
.px-review__more summary::after { content: "\00a0→"; }
.px-review__link a { color: var(--px-red); text-decoration: none; }
.px-review__more summary:hover,
.px-review__link a:hover { color: var(--px-red-hover); }
.px-review__more summary:focus-visible { outline: 2px solid var(--px-red); outline-offset: 3px; border-radius: 4px; }
/* Sin JavaScript el texto completo se despliega dentro de la ficha */
.px-review__more > :not(summary) { margin: 10px 0 0; color: var(--px-paper-text); font-size: 0.86rem; font-weight: 400; line-height: 1.5; }

.px-carousel-nav { display: flex; align-items: center; gap: 8px; }
.px-carousel-nav__dots { display: flex; gap: 6px; margin-right: auto; }
.px-carousel-nav__dot {
	width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px;
	background: var(--px-line-strong); cursor: pointer;
	transition: width 0.3s var(--px-ease), background-color 0.2s;
}
.px-carousel-nav__dot[aria-current="true"] { width: 22px; background: var(--px-red) var(--px-red-grad); }

/* Ventana flotante con la opinión completa: blanca (cambios del 20/11/2026), con el nombre y el
   cargo arriba y el texto debajo; la web de fondo se difumina. En móvil ocupa toda la pantalla. */
.px-modal {
	box-sizing: border-box; width: min(640px, calc(100vw - 32px)); max-width: none;
	max-height: min(84vh, 760px); max-height: min(84dvh, 760px);
	margin: auto; padding: 0; overflow: hidden;
	border: 0; border-radius: 16px;
	background: var(--px-paper); color: var(--px-paper-ink);
	box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85);
}
.px-modal[open] { display: flex; flex-direction: column; animation: px-modal-in 0.28s var(--px-ease); }
.px-modal::backdrop { background: rgba(8, 8, 11, 0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: px-fade-in 0.28s ease-out; }
@keyframes px-modal-in { from { opacity: 0; transform: translateY(12px) scale(0.985); } }
@keyframes px-fade-in { from { opacity: 0; } }
.px-modal__head {
	flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
	padding: clamp(18px, 2.6vw, 24px) clamp(20px, 3vw, 32px) clamp(14px, 2vw, 18px);
	border-bottom: 1px solid var(--px-paper-line);
}
.px-modal__by p { margin: 0; }
.px-modal__name { color: var(--px-paper-ink); font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.px-modal__role { margin-top: 3px !important; color: var(--px-paper-muted); font-size: 0.84rem; line-height: 1.45; }
.px-modal__body { overflow-y: auto; overscroll-behavior: contain; padding: clamp(18px, 2.6vw, 26px) clamp(20px, 3vw, 32px) clamp(22px, 3vw, 32px); }
.px-modal__body:focus { outline: none; }
.px-modal__close {
	flex: none; width: 34px; height: 34px; border-radius: 50%; padding: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border: 0; background: #ece8df; color: var(--px-paper-ink); cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}
.px-modal__close:hover { background: var(--px-red) var(--px-red-grad); color: #fff; }
.px-modal__close:focus-visible { outline: 2px solid var(--px-red); outline-offset: 2px; }
.px-modal__close svg { width: 16px; height: 16px; }
.px-modal__text p { margin: 0; color: var(--px-paper-text); font-size: clamp(0.95rem, 1.15vw, 1.02rem); line-height: 1.65; }
.px-modal__text p + p { margin-top: 1em; }
.px-modal__note { margin: 18px 0 0 !important; color: var(--px-paper-muted); font-size: 0.78rem; }
@media (max-width: 600px) {
	.px-modal { inset: 0; margin: 0; width: 100%; height: 100%; max-height: none; border-radius: 0; }
	.px-modal[open] { animation: px-fade-in 0.2s ease-out; }
}
html.px-modal-open { overflow: hidden; scrollbar-gutter: stable; }

/* Acceso al simulador: misma ventana flotante, con usuario y contraseña. */
.px-access { width: min(400px, calc(100vw - 32px)); }
.px-access .px-modal__head { align-items: center; }
.px-access__form { display: grid; gap: 14px; margin: 0; }
.px-access__field { display: grid; gap: 6px; margin: 0; }
.px-access__field label { color: var(--px-paper-ink); font-size: 0.84rem; font-weight: 500; }
.px-access__field input {
	width: 100%; box-sizing: border-box; padding: 11px 13px;
	border: 1px solid #d5d1c7; border-radius: 10px;
	background: #fff; color: var(--px-paper-ink);
	font-family: inherit; font-size: 1rem; font-weight: 400; line-height: 1.4;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.px-access__field input:hover { border-color: #b9b5ab; }
.px-access__field input:focus { outline: none; border-color: var(--px-red); box-shadow: 0 0 0 3px rgba(227, 22, 29, 0.14); }
.px-access__submit { width: 100%; min-height: 46px; margin-top: 4px; font-size: 0.95rem; }
.px-access .px-modal__note { margin: 0 !important; text-align: center; }
/* En móvil va pegada arriba, no abajo: el teclado sube desde abajo y la tapaba (PRAXIS, 30/11/2026).
   site.js deja en --px-vv-h el alto que queda libre sobre el teclado; si no cabe, se desplaza por dentro. */
@media (max-width: 600px) {
	.px-access {
		inset: calc(10px + env(safe-area-inset-top, 0px)) 10px auto; width: auto; height: auto;
		max-height: calc(100dvh - 20px); max-height: calc(var(--px-vv-h, 100dvh) - 20px - env(safe-area-inset-top, 0px));
		border-radius: 16px;
	}
	.px-access .px-modal__head { padding-top: 12px; padding-bottom: 10px; }
	.px-access .px-modal__body { padding-top: 14px; padding-bottom: 16px; }
	.px-access__form { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.px-modal[open], .px-modal::backdrop { animation: none; }
}

/* Escritorio (dos columnas): toda la sección cabe en la ventana. Márgenes, cifras, mapa,
   logos y tarjetas se miden con el alto de la ventana (vh) para que el conjunto encaje
   sin cortarse arriba ni abajo; en ventanas altas respira más. */
@media (min-width: 1040px) {
	.px-why {
		--px-sec-pad: clamp(8px, 2vh, 44px);
		--px-why-gap: clamp(10px, 1.7vh, 24px);
		--px-why-pad: clamp(12px, 2.1vh, 30px);
	}
	.px-why .px-why__lead { margin-top: clamp(2px, 0.8vh, 8px); }
	.px-kpi { padding-block: clamp(8px, 1.5vh, 24px); }
	.px-kpi__value { padding-top: clamp(8px, 1.4vh, 14px); font-size: clamp(1.5rem, min(3.3vw, 4.1vh), 3rem); }
	.px-kpi__label { margin-top: clamp(3px, 0.8vh, 8px) !important; font-size: clamp(0.8rem, 1.6vh, 0.88rem); }
	.px-why__map .px-map { gap: clamp(8px, 1.4vh, 18px); }
	.px-why__map .px-map__canvas { width: min(100%, clamp(200px, min(25vw, 31vh), 420px)); }
	.px-why__map .px-map__list { padding-top: clamp(8px, 1.3vh, 16px); }
	.px-why__clients-title { margin-bottom: clamp(8px, 1.4vh, 18px) !important; }
	.px-logos__page { gap: clamp(6px, 1.1vh, 10px); }
	.px-logos.is-pages:not(.is-mono) .px-logos__item { min-height: clamp(44px, 6.6vh, 76px); padding: clamp(5px, 0.9vh, 8px) 10px; }
	.px-logos.is-pages .px-logos__img { max-height: clamp(34px, 5.4vh, 56px); }
	.px-why .px-why__label { margin-bottom: clamp(6px, 1.3vh, 18px); }
	/* Opiniones: letra y relleno siguen al alto de la ventana para que la sección siga cabiendo */
	.px-why__reviews { gap: clamp(6px, 1vh, 16px); padding-block: clamp(10px, 1.5vh, 26px); }
	.px-reviews__head { min-height: clamp(30px, 3.8vh, 36px); }
	.px-reviews__head .px-carousel-nav__btn { width: clamp(30px, 3.8vh, 36px); height: clamp(30px, 3.8vh, 36px); }
	.px-reviews > .px-review { padding: clamp(10px, 1.3vh, 20px) clamp(14px, 1.3vw, 20px); }
	.px-review__quote { font-size: clamp(0.76rem, min(0.98vw, 1.62vh), 1.04rem); line-height: 1.32; }
	.px-review__name { font-size: clamp(0.78rem, 1.5vh, 0.86rem); }
	.px-review__role { font-size: clamp(0.7rem, 1.35vh, 0.76rem); }
	.px-review > .px-review__by { padding-top: clamp(6px, 1.1vh, 20px); }
	.px-reviews > .px-review { --px-rev-foot-gap: clamp(4px, 0.8vh, 12px); --px-rev-foot-fs: clamp(0.76rem, 1.5vh, 0.82rem); }
}

/* Escritorio estrecho (1040-1279 px): cuatro fichas más estrechas; se gana ancho de texto
   recortando el relleno para que la sección siga cabiendo en la ventana */
@media (min-width: 1040px) and (max-width: 1279px) {
	.px-reviews { --px-rev-gap: 10px; }
	.px-reviews > .px-review { padding-inline: 12px; }
	.px-review__quote { line-height: 1.28; }
}

/* Ventanas de escritorio que no son altas: el cargo se queda en dos líneas (entero, en la ventana
   de la opinión) para que las fichas no alarguen la sección */
@media (min-width: 1040px) and (max-height: 999px) {
	.px-review__role { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
}

/* Pantallas estrechas: una sola columna, en el mismo orden; las cifras, de dos en dos */
@media (max-width: 1039px) {
	.px-reviews { --px-rev-n: 2; }
	.px-why__row { grid-template-columns: minmax(0, 1fr); }
	.px-why__map .px-map__canvas { width: min(100%, 420px); }
}
@media (max-width: 900px) {
	/* Las dos filas, igual de altas aunque un texto ocupe más líneas («+450 empresas y centros educativos») */
	.px-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
	.px-kpi:nth-child(odd) { border-left: 0; padding-left: 0; }
	.px-kpi:nth-child(n + 3) { border-top: 1px solid var(--px-line); }
}
@media (max-width: 600px) {
	/* En el móvil una sola línea sería ilegible: los países pueden ocupar varias */
	.px-why__map .px-map__list { flex-wrap: wrap; justify-content: center; row-gap: 4px; white-space: normal; overflow: visible; font-size: 0.82rem; }
	.px-why__map .px-map__list li:first-child, .px-why__map .px-map__list li:last-child { margin-inline: 0; }
	.px-logos__page { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; align-content: start; }
	.px-kpi { padding-inline: 14px; }
	.px-kpi__value { font-size: clamp(1.7rem, 8.6vw, 2.4rem); }
	.px-reviews { --px-rev-n: 1; }
}

/* --------------------------------------------------------------------------
   3 · Nuestros simuladores · Lo que nos diferencia
   Fondo azul noche, tarjeta clara de demo a la izquierda y 6 fichas oscuras
   con acento rojo a la derecha: todo de un vistazo.
   -------------------------------------------------------------------------- */

/* Mismo fondo rojinegro «de fuego» que el contacto (glow-dark.webp, 13/11/2026, a
   petición de Irene): elipse diagonal detrás de la tarjeta clara y mancha roja abajo
   a la derecha. La imagen llega por --px-glow-dark (estilo en línea de functions.php)
   con la misma imitación en degradados de respaldo. La primera capa oscurece la
   franja del título para que el «Nuestros simuladores» rojo no se pierda en la luz. */
.px-sims.is-style-px-dark::before {
	background:
		linear-gradient(180deg, rgba(8, 4, 4, 0.5) 0%, rgba(8, 4, 4, 0.15) 22%, transparent 40%),
		var(--px-glow-dark, none) center / cover no-repeat,
		radial-gradient(34% 30% at 30% 48%, rgba(242, 85, 46, 0.95), rgba(214, 30, 22, 0.7) 45%, transparent 100%),
		radial-gradient(22% 20% at 18% 66%, rgba(200, 26, 20, 0.7), transparent 100%),
		radial-gradient(22% 20% at 44% 26%, rgba(170, 22, 18, 0.65), transparent 100%),
		radial-gradient(16% 26% at 78% 92%, rgba(190, 24, 18, 0.85), transparent 100%),
		#0a0607;
}
/* Móvil: sección alta y estrecha (tarjeta arriba, fichas en columna). Degradados con
   la misma composición: luz detrás de la tarjeta clara y mancha roja abajo a la derecha. */
@media (max-width: 960px) {
	.px-sims.is-style-px-dark::before {
		background:
			linear-gradient(180deg, rgba(8, 4, 4, 0.45) 0%, transparent 10%),
			radial-gradient(80% 12% at 40% 22%, rgba(242, 85, 46, 0.85), rgba(214, 30, 22, 0.6) 45%, transparent 100%),
			radial-gradient(60% 10% at 16% 34%, rgba(200, 26, 20, 0.7), transparent 100%),
			radial-gradient(60% 10% at 70% 10%, rgba(170, 22, 18, 0.55), transparent 100%),
			radial-gradient(55% 12% at 86% 90%, rgba(190, 24, 18, 0.85), transparent 100%),
			#0a0607;
	}
}
.px-sims { --px-bg-image: none; }

.px-sims__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: 16px; align-items: stretch; }
.px-sims__grid > * { margin: 0 !important; }

.px-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.px-features > * { margin: 0 !important; }

/* Fichas oscuras con barra roja a la izquierda (hover: el de .is-style-px-card, como el catálogo) */
.px-sims .px-feature.is-style-px-card {
	display: flex; flex-direction: column; justify-content: center;
	min-height: 150px;
	padding: clamp(16px, 2.2vw, 28px) clamp(20px, 2.4vw, 30px);
	background: rgba(13, 14, 17, 0.88);
	overflow: hidden;
}
.px-feature::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; pointer-events: none;
	background: var(--px-red-on-dark, #f0464c);
}
.px-feature > * { margin: 0; }
.px-feature__title { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.px-feature__text { color: var(--px-muted); margin-top: 8px !important; font-size: 0.97rem; line-height: 1.5; }
.is-style-px-dark .px-feature__text { color: rgba(255, 255, 255, 0.8); }
.is-style-px-dark .px-badge-icon { color: #fff; background: #1b1314; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px -12px rgba(0, 0, 0, 0.7); }

.px-badge-icon {
	width: 56px; height: 56px; border-radius: 14px;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--px-text);
	border: 1px solid var(--px-line); background: var(--px-surface);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px -12px rgba(0, 0, 0, 0.7);
	transition: color 0.25s, background-color 0.25s, border-color 0.25s, transform 0.35s var(--px-ease);
}
.px-badge-icon .px-icon { width: 24px; height: 24px; }
.is-style-px-card:hover .px-badge-icon {
	color: #fff; background: var(--px-red) var(--px-red-grad); border-color: transparent;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 24px -10px rgba(227, 22, 29, 0.8);
	transform: scale(1.06);
}

/* Tarjeta clara de demo con borde superior rojo */
.px-demo.is-style-px-card {
	display: flex; flex-direction: column; justify-content: center;
	padding: clamp(26px, 3.4vw, 44px);
	color: var(--px-night);
	background: #f5f1ec;
	border: 0;
	border-top: 6px solid var(--px-red-on-dark, #f0464c);
	border-radius: var(--px-radius);
	overflow: hidden;
}
.px-demo.is-style-px-card:hover { transform: none; border-top-color: var(--px-red-on-dark, #f0464c); }
.px-demo > * { margin: 0 !important; }
.px-demo__title { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.12; letter-spacing: -0.035em; font-weight: 600; color: #1d1e22; }
.px-demo__text { color: #55565e; margin-top: 16px !important; font-size: 1.05rem; line-height: 1.5; }
.px-demo .px-demo__cta { margin-top: 28px !important; }
.px-demo__cta .wp-block-button { width: 100%; }
.px-demo__cta .wp-block-button__link { width: 100%; min-height: 52px; font-size: 1.02rem; }

@media (max-width: 960px) {
	.px-sims__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.px-features { grid-template-columns: 1fr; }
	.px-sims .px-feature.is-style-px-card { min-height: 0; }
}

/* --------------------------------------------------------------------------
   4 · Catálogo (estilo tarjetas de precios)
   -------------------------------------------------------------------------- */

/* Sección de fondo claro (crema, como «Datos que nos avalan»), con las fichas oscuras encima */
.px-cat {
	--px-title-ink: #1d1e22;
	--px-title-red: #cf2a25;
	color: #1d1e22;
	padding-inline: calc(var(--px-inset) + clamp(12px, 2.4vw, 32px)) !important;
}
.px-cat::before {
	content: ""; position: absolute; z-index: 0; pointer-events: none;
	inset: var(--px-gap-y) var(--px-inset);
	border-radius: var(--px-radius-xl);
	background: #f3f0eb;
}
.px-cat .px-cat__head > * + * { margin-top: 10px; }
.px-cat .px-head__lead { max-width: none; color: #45464d; font-size: 1.02rem; }

.px-catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.px-catalog > * { margin: 0 !important; }
.wp-block-group.px-series {
	display: flex; flex-direction: column;
	background-color: var(--px-bg-2);
	padding: 8px;
}
.px-series > * { margin: 0; }
/* Panel interior con sector, serie y subsector */
.px-series__head {
	background-color: var(--px-surface);
	border: 1px solid var(--px-line); border-radius: 12px;
	padding: 22px;
}
.px-series__head > * { margin: 0; }
/* «Consumo masivo» / «Consumo duradero»: mayúsculas y rojo, sin negrita, 14 px */
.px-series__head > .is-style-px-eyebrow {
	display: block; color: var(--px-red-on-dark);
	font-size: 0.875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
}
.px-series__title { font-size: clamp(1.8rem, 2.8vw, 2.2rem); font-weight: 500; letter-spacing: -0.04em; padding-top: 6px; }
.px-series__sector { color: var(--px-muted); font-size: 0.95rem; }
.px-track { margin-top: 18px !important; padding: 0 16px; }
.px-track + .px-track { margin-top: 14px !important; }
.px-track > * { margin: 0 !important; }
/* Sin tick (feedback v2 de Irene): cada itinerario es un simulador a elegir con su nivel, no algo incluido en la serie. */
.px-track__name { font-size: 0.97rem; }
.px-track__name strong { font-weight: 500; }
.px-levels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }
.px-levels > * { margin: 0 !important; }
.px-levels .is-style-px-pill { padding: 3px 11px; font-size: 0.875rem; color: var(--px-text); }
.px-series:hover .px-levels .is-style-px-pill { border-color: var(--px-line-strong); }
/* Sin línea de precio: el botón baja al fondo y guarda aire con el último nivel */
.px-series__cta { margin-top: auto !important; padding: 26px 8px 8px; }
.px-series__cta .wp-block-button { width: 100%; }
.px-series__cta .wp-block-button__link { width: 100%; }

/* Imagen lavada de fondo (lote v2 de Irene, 04/11/2026). La imagen es la «Imagen de fondo» del grupo
   (WordPress la pone en línea); el lavado es una sombra interior que tapa la foto sin capas extra.
   «Ficha»: sin foto aunque el grupo tenga imagen. */
.wp-block-group.px-series.is-style-px-card { background-image: none !important; }

/* «Ficha con foto de fondo» (por defecto): foto en toda la ficha, cabecera en caja blanca */
.wp-block-group.px-series.is-style-px-card-photo {
	--px-wash: rgba(12, 13, 16, 0.64);
	background-color: var(--px-night);
	background-size: cover; background-position: center;
	border-color: rgba(255, 255, 255, 0.12);
	color: #fff;
	box-shadow: inset 0 0 0 100vmax var(--px-wash), var(--px-shadow-card);
}
.wp-block-group.px-series.is-style-px-card-photo:hover {
	--px-wash: rgba(12, 13, 16, 0.56);
	box-shadow: inset 0 0 0 100vmax var(--px-wash), 0 26px 48px -26px rgba(0, 0, 0, 0.9);
}
.is-style-px-card-photo .px-series__head { background-color: #fff; border-color: transparent; color: #111113; }
.is-style-px-card-photo .px-series__head > .is-style-px-eyebrow { color: #c8131a; }
.is-style-px-card-photo .px-series__head > .px-series__sector { color: #4a4a52; }
.is-style-px-card-photo .px-track__name { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.is-style-px-card-photo .px-levels .is-style-px-pill,
.px-series.is-style-px-card-photo:hover .px-levels .is-style-px-pill {
	color: #fff; background: rgba(12, 13, 16, 0.45);
	border-color: var(--px-red-on-dark);
}

/* «Ficha con foto en cabecera»: la foto solo en la cabecera; el resto de la ficha, liso */
.wp-block-group.px-series.is-style-px-card-photo-head {
	background-clip: padding-box;
	box-shadow: inset 0 0 0 100vmax var(--px-bg-2), var(--px-shadow-card);
}
.wp-block-group.px-series.is-style-px-card-photo-head:hover {
	box-shadow: inset 0 0 0 100vmax var(--px-bg-2), 0 26px 48px -26px rgba(0, 0, 0, 0.9);
}
.is-style-px-card-photo-head .px-series__head {
	background-color: var(--px-night);
	background-image: inherit; background-size: cover; background-position: inherit;
	box-shadow: inset 0 0 0 100vmax rgba(12, 13, 16, 0.5);
	border-color: rgba(255, 255, 255, 0.1);
	color: #fff;
}
.is-style-px-card-photo-head .px-series__head > .is-style-px-eyebrow,
.is-style-px-card-photo-head .px-series__head > .px-series__sector { color: rgba(255, 255, 255, 0.88); }

/* Banda YBT */
.px-ybt {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 44px); align-items: center;
	margin-top: 16px !important;
	padding: clamp(22px, 3vw, 30px) clamp(24px, 3vw, 36px);
	border-radius: var(--px-radius);
	border: 0;
	color: #fff;
	/* Punto intermedio (segundo feedback): rojo brillante a la izquierda, tras el nombre,
	   que se oscurece bajo el texto blanco y llega casi negro al botón rojo para no chocar con él. */
	background: linear-gradient(98deg, #e3161d 0%, #c3121a 16%, #7f0f14 40%, #3a0b0e 66%, #17090a 100%);
	box-shadow: 0 18px 36px -24px rgba(29, 30, 34, 0.6);
}
.px-ybt > * { margin: 0 !important; }
.px-ybt__brand > * { margin: 0; }
.px-ybt__name { font-size: 1.2rem; line-height: 1.1; max-width: 9ch; letter-spacing: -0.02em; }
.px-ybt__name strong { font-weight: 600; }
.px-ybt__sub { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 6px !important; color: rgba(255, 255, 255, 0.9); }
.px-ybt__text { color: #fff; font-size: 0.96rem; line-height: 1.6; }

@media (max-width: 960px) {
	.px-catalog { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto !important; }
	/* Apilado: el brillo se queda en la esquina superior izquierda, detrás del nombre */
	.px-ybt {
		grid-template-columns: 1fr;
		background: linear-gradient(178deg, #e3161d 0%, #a01016 22%, #4a0c10 55%, #17090a 100%);
	}
	.px-ybt__name { max-width: none; }
}

/* --------------------------------------------------------------------------
   5 · Preguntas frecuentes  ·  6 · Contacto
   Vuelven a ser dos secciones (tercer feedback de PRAXIS, 15/11/2026).
   -------------------------------------------------------------------------- */

/* Preguntas: sección corta (solo lo que ocupan las preguntas), en dos columnas */
.px-faqs { min-height: 0; }
.px-faqs.is-style-px-dark::before {
	background:
		radial-gradient(40% 70% at 0% 100%, rgba(170, 22, 18, 0.22), transparent 72%),
		#0e0e11;
}
.px-faqs .px-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; align-items: start; }
@media (max-width: 800px) { .px-faqs .px-faq { grid-template-columns: minmax(0, 1fr); } }

.px-faq { display: grid; gap: 10px; }
.px-faq > * { margin: 0 !important; }
/* Cada columna es independiente: abrir una pregunta no deja hueco en la otra */
.px-faq__col { display: grid; gap: inherit; align-content: start; min-width: 0; }
.px-faq__col > * { margin: 0 !important; }
/* Frase de cierre en el hueco libre de la columna derecha (número impar de preguntas) */
.px-faq__col > .px-faqs__more {
	box-sizing: border-box; padding: 18px 20px; border: 1px dashed var(--px-line-strong); border-radius: 14px;
	font-size: 1.02rem; line-height: 28px;
}
.px-faq__item {
	border: 1px solid var(--px-line); border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	transition: border-color 0.2s, background-color 0.2s;
}
.px-faq__item:hover { border-color: var(--px-line-strong); }
.px-faq__item[open] { background: var(--px-paper); border-color: var(--px-paper); color: var(--px-paper-ink); }
.px-faq__item[open] summary { font-weight: 600; }
.px-faq__item summary {
	list-style: none; cursor: pointer;
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 18px 20px; font-weight: 500; font-size: 1.02rem; letter-spacing: -0.01em;
}
.px-faq__item summary::-webkit-details-marker { display: none; }
.px-faq__item summary::after {
	content: ""; flex: none; width: 28px; height: 28px; border-radius: 8px;
	background:
		linear-gradient(currentColor, currentColor) center / 11px 1.5px no-repeat,
		linear-gradient(currentColor, currentColor) center / 1.5px 11px no-repeat,
		rgba(127, 127, 127, 0.16);
	transition: transform 0.3s var(--px-ease);
}
.px-faq__item[open] summary::after {
	transform: rotate(45deg);
	background:
		linear-gradient(#fff, #fff) center / 11px 1.5px no-repeat,
		linear-gradient(#fff, #fff) center / 1.5px 11px no-repeat,
		var(--px-red-grad), var(--px-red);
}
.px-faq__item > :not(summary) { margin: 0; padding: 0 68px 20px 20px; color: var(--px-muted); }
.is-style-px-dark .px-faq__item > :not(summary) { color: rgba(255, 255, 255, 0.86); }
.px-faq__item[open] > :not(summary),
.is-style-px-dark .px-faq__item[open] > :not(summary) { color: var(--px-paper-text); }
.px-faq__item[open] a { color: var(--px-red); }
.px-faq__item summary:focus-visible { outline: 2px solid var(--px-red-on-dark); outline-offset: 2px; border-radius: 14px; }
/* Frase final: «¿No encuentras tu duda? Escríbenos» */
.px-faqs__foot { margin-top: clamp(16px, 2.6vh, 28px) !important; }
.px-faqs__more { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 0.98rem; }
.px-faqs__more a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: var(--px-red-on-dark); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.px-faqs__more a:hover { color: var(--px-red-on-dark); }

/* Contacto «Cuéntanos qué necesitas», con la estética anterior: etiqueta, titular grande y
   texto a la izquierda, sobre el fondo rojinegro «de fuego» (glow-dark.webp: elipse diagonal
   rojo-anaranjada a la izquierda y mancha roja abajo a la derecha), y el formulario en una
   tarjeta clara a la derecha. La imagen llega por --px-glow-dark (estilo en línea de
   functions.php); si faltara, debajo hay una imitación con degradados. La primera capa
   oscurece un poco la izquierda para que el texto blanco se lea sobre la luz. */
.px-contact-sec.is-style-px-dark::before {
	background:
		linear-gradient(90deg, rgba(8, 4, 4, 0.34) 0%, rgba(8, 4, 4, 0.14) 45%, transparent 70%),
		var(--px-glow-dark, none) center / cover no-repeat,
		radial-gradient(34% 30% at 30% 48%, rgba(242, 85, 46, 0.95), rgba(214, 30, 22, 0.7) 45%, transparent 100%),
		radial-gradient(22% 20% at 18% 66%, rgba(200, 26, 20, 0.7), transparent 100%),
		radial-gradient(22% 20% at 44% 26%, rgba(170, 22, 18, 0.65), transparent 100%),
		radial-gradient(16% 26% at 78% 92%, rgba(190, 24, 18, 0.85), transparent 100%),
		#0a0607;
}
/* Móvil: la sección es alta y estrecha y la imagen apaisada dejaría un corte.
   Misma composición con degradados: luz diagonal arriba (detrás del titular) y
   mancha roja abajo a la derecha. */
@media (max-width: 900px) {
	.px-contact-sec.is-style-px-dark::before {
		background:
			linear-gradient(180deg, rgba(8, 4, 4, 0.3) 0%, transparent 18%),
			radial-gradient(60% 9% at 58% 8%, rgba(170, 22, 18, 0.6), transparent 100%),
			radial-gradient(80% 13% at 38% 14%, rgba(242, 85, 46, 0.85), rgba(214, 30, 22, 0.6) 45%, transparent 100%),
			radial-gradient(60% 10% at 16% 24%, rgba(200, 26, 20, 0.7), transparent 100%),
			radial-gradient(55% 12% at 86% 90%, rgba(190, 24, 18, 0.85), transparent 100%),
			#0a0607;
	}
}
.px-contact-sec { --px-sec-pad: clamp(20px, 4vh, 56px); }
.px-contact__grid {
	display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
	gap: clamp(28px, 6vw, 96px); align-items: center;
}
.px-contact__grid > * { margin: 0 !important; min-width: 0; }
.px-contact__copy > * { margin: 0; }
.px-contact__copy .is-style-px-eyebrow {
	display: inline-flex; width: fit-content;
	padding: 5px 12px; border-radius: 999px;
	color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.24);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.px-contact__copy .is-style-px-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.px-contact__title {
	max-width: 11ch; margin-top: 20px !important;
	font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 500; color: #fff;
}
.px-contact__text { max-width: 36ch; margin-top: 18px !important; color: rgba(255, 255, 255, 0.86); font-size: 1.02rem; line-height: 1.5; }

/* Tarjeta clara con el formulario. Recupera la paleta clara solo dentro del panel. */
.px-contact {
	--px-bg-2: #f6f6f7;
	--px-surface: #ffffff;
	--px-text: #111113;
	--px-muted: #6b6b73;
	--px-dim: #8a8a92;
	--px-line: #ececee; --px-line-strong: #dcdce0;
	--px-red-ink: #c8131a;
	color-scheme: light;
	color: var(--px-text);
	background: #fff; border-radius: 20px;
	padding: clamp(22px, 3vw, 36px);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.px-contact > * { margin: 0 !important; }

@media (max-width: 900px) {
	.px-contact__grid { grid-template-columns: minmax(0, 1fr); }
	.px-contact__title { max-width: none; }
}

/* Formulario */
.px-form { display: grid; gap: 14px; }
.px-form[hidden] { display: none; }
.px-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .px-form__row { grid-template-columns: 1fr; } }
.px-field { display: grid; gap: 6px; }
.px-field label { font-size: 0.84rem; font-weight: 500; }
.px-field input,
.px-field select,
.px-field textarea {
	width: 100%; box-sizing: border-box;
	padding: 11px 13px; border-radius: 10px;
	border: 1px solid var(--px-line-strong);
	background: var(--px-surface); color: var(--px-text);
	font: 400 0.98rem/1.4 inherit; font-family: inherit;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.px-field textarea { resize: vertical; min-height: 120px; }
.px-field input:hover, .px-field select:hover, .px-field textarea:hover { border-color: #c4c4ca; }
/* Teléfono: prefijo del país (por defecto +34) + número */
.px-phone { display: grid; grid-template-columns: minmax(0, 6.6em) minmax(0, 1fr); gap: 6px; }
.px-field select.px-phone__prefix { padding-inline: 9px 4px; cursor: pointer; text-overflow: ellipsis; }
.px-field input:focus, .px-field select:focus, .px-field textarea:focus {
	outline: none; border-color: var(--px-red);
	box-shadow: 0 0 0 3px rgba(227, 22, 29, 0.14);
}
.was-validated .px-field :invalid { border-color: var(--px-red-ink); background: rgba(227, 22, 29, 0.04); }
.px-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--px-muted); }
.px-check input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--px-red); flex: none; }
.px-check a { color: var(--px-text); }
.was-validated .px-check input:invalid { outline: 2px solid var(--px-red-ink); outline-offset: 2px; }
.px-form__gdpr { margin: 0; font-size: 0.74rem; line-height: 1.55; color: var(--px-dim); }
.px-form__captcha { min-height: 65px; }
.px-form__submit { width: 100%; min-height: 46px; font-size: 0.95rem; }
.px-form__submit[disabled] { opacity: 0.6; cursor: progress; }
.px-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.px-form__status { margin: 0; font-size: 0.9rem; }
.px-form__status:empty { display: none; }
/* Aviso de envío correcto: ocupa el sitio del formulario y no desaparece solo */
.px-form__done {
	display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
	padding: clamp(20px, 3vw, 32px); border-radius: 14px;
	background: #edf7ef; border: 1px solid #cfe6d4; color: #1c4f2e;
}
.px-form__done[hidden] { display: none; }
.px-form__done:focus { outline: none; }
.px-form__done p { margin: 0; font-size: 1.06rem; line-height: 1.55; font-weight: 500; }
.px-form__done-icon { width: 40px; height: 40px; padding: 9px; box-sizing: border-box; border-radius: 50%; background: #23633a; color: #fff; }
.px-form__status[data-state="error"] { padding: 12px 14px; border-radius: 10px; background: var(--px-red-pale); border: 1px solid #f3c4c6; color: #9f1d22; }

/* --------------------------------------------------------------------------
   Pie con la marca en grande
   -------------------------------------------------------------------------- */

.px-site-footer { margin-top: 0; }
.px-footer { background: var(--px-bg); overflow: hidden; }
.px-footer__inner {
	max-width: var(--px-wide); margin: 0 auto;
	padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 32px) 24px;
	display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px;
}
.px-footer__logo img { height: 30px; width: auto; display: block; filter: brightness(0) invert(1); }
.px-footer__brand p { color: var(--px-muted); margin: 16px 0 0; font-size: 0.9rem; max-width: 32ch; }
.px-footer__title { font-size: 0.92rem; font-weight: 500; margin: 0 0 14px; color: var(--px-text); }
.px-footer__title:not(:first-child) { margin-top: 26px; }
.px-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.px-footer__list a { color: var(--px-muted); text-decoration: none; font-size: 0.9rem; margin: 0; line-height: 1.6; }
.px-footer__list a:hover { color: var(--px-text); }
.px-footer__word {
	margin: 0; text-align: center; white-space: nowrap;
	font-size: clamp(3.6rem, 15.5vw, 15rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.82;
	color: transparent;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 95%);
	-webkit-background-clip: text; background-clip: text;
	user-select: none; pointer-events: none;
}
.px-footer__bottom {
	max-width: var(--px-wide); margin: -0.6em auto 0; padding: 18px clamp(20px, 4vw, 32px) 28px;
	border-top: 1px solid var(--px-line);
	position: relative; background: var(--px-bg);
}
.px-footer__bottom p { margin: 0; color: rgba(244, 243, 240, 0.66); font-size: 0.8rem; }
/* Columna «Redes» (tercer feedback): enlaces con su icono, junto a Contacto y Legal */
.px-footer__social a { display: inline-flex; align-items: center; gap: 8px; }
.px-footer__social svg { flex: none; }
@media (max-width: 860px) { .px-footer__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); } .px-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .px-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .px-footer__inner { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Páginas interiores (legales, 404)
   -------------------------------------------------------------------------- */

.px-page {
	padding-top: clamp(48px, 7vw, 96px);
	padding-bottom: clamp(64px, 9vw, 112px);
}
.px-page__title, .px-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.04em; font-weight: 500; margin-bottom: 32px; }
.px-page h2 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; margin-top: 2.2em; }
.px-page p, .px-page li { color: rgba(244, 243, 240, 0.8); }
.px-page a:not(.px-btn) { color: var(--px-red-ink); }
.px-page mark { background: #fbf3db; color: #7a5200; padding: 2px 6px; border-radius: 4px; }
/* Páginas legales: texto cómodo de leer y, en pantallas anchas, índice fijo a la izquierda
   (lo monta site.js con los apartados del texto; sin JS queda la columna de texto sola). */
.px-legal h2 { padding-top: 1.4em; border-top: 1px solid var(--px-line); }
.px-legal .wp-block-post-content > h2:first-child,
.px-legal .px-legal__note + h2 { padding-top: 0; border-top: 0; margin-top: 0; }
.px-legal h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; margin-top: 1.6em; }
.px-legal p, .px-legal li { font-size: 1rem; line-height: 1.65; }
.px-legal ul { margin: 0.9em 0; padding-left: 1.25em; }
.px-legal li { margin: 0.45em 0; }
.px-legal li::marker { color: var(--px-red-on-dark); }
.px-legal li > ul { margin: 0.45em 0; }
.px-legal strong { color: #f4f3f0; font-weight: 600; }
.px-legal a:not(.px-btn) { text-underline-offset: 3px; overflow-wrap: anywhere; }
.px-legal .px-legal__note {
	margin: 0 0 2em; padding: 12px 16px; border: 1px solid var(--px-line); border-left: 3px solid var(--px-red-on-dark);
	border-radius: 10px; background: rgba(255, 255, 255, 0.04); font-size: 0.92rem; color: rgba(244, 243, 240, 0.72);
}
.px-legal .px-legal__date { margin-top: 2.6em; padding-top: 1.2em; border-top: 1px solid var(--px-line); font-size: 0.9rem; color: rgba(244, 243, 240, 0.6); }
.px-toc { margin-bottom: 28px; }
.px-toc details { border: 1px solid var(--px-line); border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.px-toc summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 14px 18px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(244, 243, 240, 0.72);
}
.px-toc summary::-webkit-details-marker { display: none; }
.px-toc summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s; }
.px-toc details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.px-toc ol { list-style: none; margin: 0; padding: 0 8px 10px; }
.px-toc li { margin: 0; }
.px-toc a:not(.px-btn) {
	display: block; padding: 7px 10px; border-left: 2px solid transparent; border-radius: 0 8px 8px 0;
	color: rgba(244, 243, 240, 0.72); font-size: 0.92rem; line-height: 1.35; text-decoration: none;
}
.px-toc a:not(.px-btn):hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.px-toc a[aria-current="true"]:not(.px-btn) { color: #fff; border-left-color: var(--px-red-on-dark); background: rgba(255, 255, 255, 0.06); }
@media (min-width: 1040px) {
	.px-legal.has-toc {
		display: grid; grid-template-columns: minmax(0, 1fr) 250px minmax(0, 760px) minmax(0, 1fr);
		column-gap: clamp(32px, 4vw, 64px); align-items: start;
	}
	.px-legal.has-toc > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
	.px-legal.has-toc > .px-page__title { grid-column: 2 / 4; }
	.px-legal.has-toc > .px-toc { grid-column: 2; position: sticky; top: calc(var(--px-header-h) + var(--px-admin-h, 0px) + 24px); margin: 0; max-height: calc(100vh - var(--px-header-h) - var(--px-admin-h, 0px) - 48px); overflow-y: auto; }
	.px-legal.has-toc > .wp-block-post-content { grid-column: 3; margin-top: 0; }
	.px-legal.has-toc .px-toc details { border: 0; border-radius: 0; background: none; }
	.px-legal.has-toc .px-toc summary { padding: 0 10px 10px; pointer-events: none; }
	.px-legal.has-toc .px-toc summary::after { display: none; }
	.px-legal.has-toc .px-toc ol { padding: 0; border-left: 1px solid var(--px-line); }
	.px-legal.has-toc .px-toc a:not(.px-btn) { margin-left: -1px; font-size: 0.9rem; }
}
@media print {
	.px-toc, .px-site-header, .px-site-footer { display: none !important; }
	.px-legal, .px-legal p, .px-legal li, .px-legal h1, .px-legal h2, .px-legal h3, .px-legal strong { color: #000 !important; }
}
/* 404: texto grande y claro sobre el fondo oscuro */
.px-404 { min-height: 56vh; }
.px-404 .px-404__text { color: #f4f3f0; font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.45; margin: 0 0 28px; max-width: 34ch; }
.px-404 .px-btn { min-height: 48px; padding-inline: 1.5rem; font-size: 1rem; }

/* --------------------------------------------------------------------------
   Pantallas bajas (portátiles de 13-15" al 100 %, zoom alto): hasta 900 px
   de alto útil. Se aprietan márgenes, títulos y fichas para que cada sección
   quepa entera, sobre todo «Nuestros simuladores» y «Catálogo». El texto no
   baja de 14 px.
   -------------------------------------------------------------------------- */

@media (min-width: 961px) and (max-height: 900px) {
	:root { --px-sec-pad: clamp(14px, 3.4vh, 30px); }
	.px-section > .px-head { margin-bottom: clamp(10px, 2.2vh, 18px) !important; }
	.px-title,
	.px-head h2.px-title { font-size: clamp(1.05rem, 1.55vw, 1.3rem); }

	.px-hero > .px-hero__title { font-size: clamp(2.4rem, min(6.4vw, 12vh), 5rem); }
	.px-hero > .px-hero__audience { margin-top: 12px !important; font-size: clamp(0.98rem, 1.3vw, 1.14rem); }
	.px-hero__actions .wp-block-button__link { min-height: 46px; font-size: 1rem; }

	/* Nuestros simuladores */
	.px-sims__grid, .px-features { gap: 12px; }
	.px-sims .px-feature.is-style-px-card { min-height: 0; padding: clamp(11px, 2.1vh, 18px) 22px; }
	.px-feature__title { font-size: 1.08rem; }
	.px-feature__text { margin-top: 5px !important; font-size: 0.92rem; line-height: 1.42; }
	.px-demo.is-style-px-card { padding: 24px 28px; }
	.px-demo__title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
	.px-demo__text { margin-top: 10px !important; font-size: 0.98rem; }
	.px-demo .px-demo__cta { margin-top: 18px !important; }
	.px-demo__cta .wp-block-button__link { min-height: 46px; }

	/* Catálogo */
	.px-cat .px-head__lead { font-size: 0.95rem; }
	.px-catalog { gap: 12px; }
	.wp-block-group.px-series { padding: 6px; }
	.px-series__head { padding: clamp(8px, 1.7vh, 14px) 18px; }
	.px-series__title { font-size: clamp(1.35rem, 2vw, 1.7rem); padding-top: 2px; }
	.px-series__sector { font-size: 0.9rem; }
	.px-track { margin-top: clamp(7px, 1.5vh, 12px) !important; }
	.px-track + .px-track { margin-top: clamp(6px, 1.3vh, 10px) !important; }
	.px-track__name { font-size: 0.92rem; }
	.px-levels { margin-top: 5px !important; }
	.px-levels .is-style-px-pill { padding: 1px 10px; }
	.px-series__cta { padding: clamp(8px, 1.8vh, 14px) 8px 6px; }
	.px-series__cta .wp-block-button__link { min-height: 38px; }
	.px-ybt { margin-top: 12px !important; padding: clamp(9px, 1.8vh, 14px) 24px; gap: 28px; }
	.px-ybt__name { font-size: 1.05rem; }
	.px-ybt__text { font-size: 0.9rem; line-height: 1.42; }

	/* Preguntas y contacto */
	.px-faq { gap: 8px; }
	.px-faqs .px-faq { gap: 10px 14px; }
	.px-faq__item summary { padding: clamp(10px, 1.9vh, 14px) 18px; font-size: 0.98rem; }
	.px-faq__item summary::after { width: 24px; height: 24px; }
	.px-faq__col > .px-faqs__more { padding: clamp(10px, 1.9vh, 14px) 18px; font-size: 0.98rem; line-height: 24px; }
	.px-contact { padding: clamp(14px, 2.6vh, 22px) 24px; }
	.px-contact__title { font-size: clamp(2rem, min(4vw, 7.4vh), 3.2rem); }
	.px-form { gap: clamp(7px, 1.4vh, 10px); }
	.px-form__row { gap: 10px; }
	.px-field { gap: 3px; }
	.px-field input, .px-field select, .px-field textarea { padding: 7px 11px; font-size: 0.95rem; }
	.px-field textarea { min-height: 62px; height: 62px; }
	.px-form__gdpr { font-size: 0.7rem; line-height: 1.4; }
	.px-form__submit { min-height: 40px; }
}

/* Muy bajas (p. ej. 1366×768 con las barras del navegador: unos 650 px útiles) */
@media (min-width: 961px) and (max-height: 700px) {
	:root { --px-sec-pad: clamp(6px, 1.6vh, 12px); }
	.px-contact-sec { --px-sec-pad: clamp(6px, 1.6vh, 12px); }
	.px-section > .px-head { margin-bottom: 10px !important; }
	.px-cat .px-cat__head > * + * { margin-top: 4px; }
	.px-contact { padding-block: 12px; }
	.px-form { gap: 6px; }
	.px-field input, .px-field select, .px-field textarea { padding: 5px 11px; }
	.px-field label { font-size: 0.8rem; }
	.px-field textarea { min-height: 56px; height: 56px; }
}

/* --------------------------------------------------------------------------
   Accesibilidad: menos movimiento
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
	.px-js-reveal .px-reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Editor: que se vea igual, sin cabecera fija encima del contenido
   -------------------------------------------------------------------------- */

.editor-styles-wrapper { background: var(--px-bg); }
.editor-styles-wrapper .px-header { position: relative; }
.editor-styles-wrapper .px-reveal { opacity: 1 !important; transform: none !important; }
/* En el editor el lienzo crece con el contenido: sin alto mínimo de ventana */
.editor-styles-wrapper .px-section { min-height: 0; }
/* En el editor las opiniones se ven todas, sin carrusel, para poder editarlas */
.editor-styles-wrapper .px-reviews { flex-wrap: wrap; overflow: visible; }
.editor-styles-wrapper .px-site-header { position: relative; top: 0; }
