/* =========================================================
   PULCEX Child · sistema de diseño
   Industrial / técnico: grotesk + mono, papel + tinta, un acento.
   ========================================================= */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
	--px-paper: #F3F2EF;
	--px-paper-2: #E9E7E2;
	--px-ink: #111214;
	--px-graphite: #1B1C1F;
	--px-graphite-2: #26282C;
	--px-muted: #5B5E66;
	--px-muted-dark: #A3A6AD;
	--px-line: rgba(17, 18, 20, .14);
	--px-line-dark: rgba(243, 242, 239, .16);
	--px-accent: #C8281E;
	--px-ferro: #3A3B3F;

	--px-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--px-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--px-s1: 8px; --px-s2: 16px; --px-s3: 24px; --px-s4: 32px; --px-s5: 48px; --px-s6: 64px; --px-s7: 96px; --px-s8: 128px;
	--px-max: 1320px;
	--px-gutter: clamp(16px, 4vw, 48px);
	--px-radius: 2px;

	--px-h1: clamp(2.5rem, 1.2rem + 5.4vw, 5.75rem);
	--px-h2: clamp(1.875rem, 1.1rem + 3vw, 3.5rem);
	--px-h3: clamp(1.125rem, 1rem + .5vw, 1.375rem);
	--px-lead: clamp(1.0625rem, 1rem + .35vw, 1.3125rem);
}

/* ---------- Base ---------- */
.px-landing *, .px-landing *::before, .px-landing *::after { box-sizing: border-box; }
body { background: var(--px-paper); color: var(--px-ink); font-family: var(--px-sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-family: var(--px-sans); color: inherit; font-weight: 640; letter-spacing: -.02em; line-height: 1.05; font-stretch: 92%; margin: 0 0 var(--px-s3); }
h3 { font-size: var(--px-h3); letter-spacing: -.01em; line-height: 1.25; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--px-accent); }
:focus-visible { outline: 2px solid var(--px-accent); outline-offset: 3px; }
img { height: auto; max-width: 100%; display: block; }
::selection { background: var(--px-ink); color: var(--px-paper); }

/* ---------- GeneratePress: lienzo a ancho completo en páginas ---------- */
.px-landing .site.grid-container, .px-landing .site-content, .px-landing #primary { max-width: none; width: 100%; padding: 0; float: none; }
.px-landing .site-main { margin: 0 !important; }
.px-landing .inside-article { padding: 0 !important; background: none; }
.px-landing .entry-content { margin: 0; }
.px-landing .entry-content > * { margin-block: 0; }
.separate-containers.px-landing .inside-article, .one-container.px-landing .container { background: transparent; padding: 0; }

/* ---------- Cabecera ---------- */
.site-header { background: rgba(243, 242, 239, .92); backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--px-line); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.inside-header { max-width: var(--px-max); padding: 14px var(--px-gutter); }
.main-title { font-weight: 760; letter-spacing: .14em; font-size: 1.125rem; font-stretch: 110%; }
.main-title a, .main-title a:hover { color: var(--px-ink); text-decoration: none; }
.site-description { display: none; }
.main-navigation, .main-navigation ul ul { background: transparent; }
.main-navigation .main-nav ul li a { font-family: var(--px-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--px-ink); padding-inline: 14px; line-height: 44px; }
.main-navigation .main-nav ul li a:hover, .main-navigation .main-nav ul li.current-menu-item > a { color: var(--px-accent); background: transparent; }
.main-navigation .main-nav > ul > li:last-child > a, .main-navigation .main-nav ul li.px-nav-cta > a { background: var(--px-ink); color: var(--px-paper); border-radius: var(--px-radius); margin-left: 8px; line-height: 40px; }
.main-navigation .main-nav > ul > li:last-child > a:hover, .main-navigation .main-nav ul li.px-nav-cta > a:hover { background: var(--px-accent); color: #fff; }
.main-navigation .menu-toggle { color: var(--px-ink); font-family: var(--px-mono); font-size: .75rem; text-transform: uppercase; }

/* ---------- Pie ---------- */
.site-footer .site-info { background: var(--px-ink); color: var(--px-muted-dark); }
.site-footer .inside-site-info { max-width: var(--px-max); padding: var(--px-s5) var(--px-gutter); }
.px-masthead { display: flex; flex-wrap: wrap; gap: var(--px-s1) var(--px-s4); font-family: var(--px-mono); font-size: .75rem; letter-spacing: .02em; text-align: left; }
.px-masthead span:first-child { color: var(--px-paper); font-weight: 500; }
.px-masthead a { color: var(--px-paper); }

/* ---------- Secciones ---------- */
.px-section, .px-hero { padding: var(--px-s7) var(--px-gutter); position: relative; }
.px-section > *, .px-hero > * { max-width: var(--px-max); margin-inline: auto !important; }
.px-section + .px-section { border-top: 1px solid var(--px-line); }
.px-section--tint { background: var(--px-paper-2); }
.px-section--dark { background: var(--px-graphite); color: var(--px-paper); border-top: 0 !important; }
.px-section--dark + .px-section { border-top: 0; }
.px-section h2 { font-size: var(--px-h2); max-width: 22ch; }
.px-section__head { margin-bottom: var(--px-s6) !important; }
.px-section__head h2 { margin-bottom: var(--px-s3); }

.px-eyebrow { font-family: var(--px-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--px-muted); margin: 0 0 var(--px-s3) !important; display: flex; align-items: center; gap: 12px; }
.px-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--px-accent); flex: none; }
.px-section--dark .px-eyebrow { color: var(--px-muted-dark); }
.px-lead { font-size: var(--px-lead); line-height: 1.55; max-width: 58ch; color: var(--px-ink); margin-bottom: var(--px-s4) !important; }
.px-section--dark .px-lead { color: var(--px-paper); }
.px-caption { font-family: var(--px-mono); font-size: .75rem; color: var(--px-muted); margin-top: var(--px-s2) !important; letter-spacing: .01em; }
.px-section--dark .px-caption { color: var(--px-muted-dark); }
.px-note { font-family: var(--px-mono); font-size: .8125rem; line-height: 1.6; border-left: 2px solid var(--px-accent); padding: 4px 0 4px var(--px-s2); margin-top: var(--px-s5) !important; color: var(--px-muted); max-width: 72ch; }
.px-section--dark .px-note { color: var(--px-muted-dark); }

/* ---------- Columnas ---------- */
.px-split { gap: var(--px-s6) !important; align-items: center !important; margin-bottom: 0 !important; }
.px-split > .wp-block-column:first-child { flex-basis: 46% !important; }
.px-split > .wp-block-column:last-child { flex-basis: 54% !important; }
.px-split--even > .wp-block-column { flex-basis: 50% !important; align-self: start; }
.px-split--reverse > .wp-block-column:first-child { flex-basis: 50% !important; }
@media (max-width: 781px) { .px-split { gap: var(--px-s5) !important; } }

/* ---------- Hero ---------- */
.px-hero { padding-top: clamp(48px, 7vw, 104px); padding-bottom: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--px-s3); max-width: calc(var(--px-max) + 2 * var(--px-gutter)); margin-inline: auto; }
.px-hero > * { max-width: none; margin-inline: 0 !important; }
.px-hero__copy { grid-column: 1 / span 6; align-self: center; padding-bottom: var(--px-s6); }
.px-hero__title { font-size: var(--px-h1); font-weight: 680; letter-spacing: -.035em; line-height: .96; max-width: 11ch; margin-bottom: var(--px-s4) !important; }
.px-hero__media { grid-column: 7 / span 6; margin: 0 !important; align-self: stretch; }
.px-hero__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; border-radius: var(--px-radius); }
.px-datastrip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); margin: var(--px-s5) 0 0 !important; border-top: 1px solid var(--px-ink); }
.px-datastrip > div { padding: var(--px-s3) var(--px-s3) var(--px-s5) 0; border-right: 1px solid var(--px-line); }
.px-datastrip > div + div { padding-left: var(--px-s3); }
.px-datastrip > div:last-child { border-right: 0; }
.px-datastrip dt { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); font-weight: 640; letter-spacing: -.02em; line-height: 1.1; font-stretch: 92%; }
.px-datastrip dd { margin: 6px 0 0; font-family: var(--px-mono); font-size: .75rem; color: var(--px-muted); line-height: 1.45; }
@media (max-width: 900px) {
	.px-hero__copy, .px-hero__media { grid-column: 1 / -1; }
	.px-hero__copy { padding-bottom: var(--px-s5); }
	.px-hero__title { max-width: 12ch; }
	.px-datastrip { grid-template-columns: repeat(2, 1fr); }
	.px-datastrip > div:nth-child(2) { border-right: 0; }
	.px-datastrip > div:nth-child(3) { padding-left: 0; border-top: 1px solid var(--px-line); }
	.px-datastrip > div:nth-child(4) { border-top: 1px solid var(--px-line); }
	.px-datastrip > div { padding-bottom: var(--px-s3); }
}

/* ---------- Botones ---------- */
.wp-block-buttons { gap: 12px; }
.wp-block-button__link, .px-btn, .wpcf7-submit { font-family: var(--px-mono); font-size: .8125rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; border-radius: var(--px-radius); padding: 15px 22px; min-height: 48px; display: inline-flex; align-items: center; text-decoration: none; transition: background-color .18s ease, color .18s ease, border-color .18s ease; border: 1px solid transparent; cursor: pointer; line-height: 1.2; }
.is-style-px-primary .wp-block-button__link, .px-btn, .wpcf7-submit { background: var(--px-ink); color: var(--px-paper); }
.is-style-px-primary .wp-block-button__link:hover, .px-btn:hover, .wpcf7-submit:hover { background: var(--px-accent); color: #fff; }
.is-style-px-ghost .wp-block-button__link { background: transparent; color: var(--px-ink); border-color: var(--px-ink); }
.is-style-px-ghost .wp-block-button__link:hover { background: var(--px-ink); color: var(--px-paper); }
.px-section--dark .is-style-px-primary .wp-block-button__link, .px-section--dark .wpcf7-submit { background: var(--px-paper); color: var(--px-ink); }
.px-section--dark .is-style-px-primary .wp-block-button__link:hover, .px-section--dark .wpcf7-submit:hover { background: var(--px-accent); color: #fff; }

/* ---------- Pila de capas (vista explosionada) ---------- */
.px-stack { list-style: none; margin: 0; padding: 0 0 0 var(--px-s4); position: relative; counter-reset: layer; }
.px-stack::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: var(--px-line); }
.px-stack__layer { position: relative; padding: var(--px-s3); margin-bottom: 10px; border-radius: var(--px-radius); display: grid; grid-template-columns: 1fr; gap: 2px; width: calc(100% - 42px); transform: translateX(calc(var(--i, 0) * 14px)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.px-stack__layer::before { content: ""; position: absolute; left: calc(-1 * var(--px-s4) + 3px - var(--i, 0) * 14px); top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--px-paper); border: 1px solid var(--px-ink); transform: translateY(-50%); }
.px-stack__layer strong { font-size: 1.0625rem; font-weight: 620; }
.px-stack__layer small { font-size: .875rem; line-height: 1.45; }
.px-stack__tag { font-family: var(--px-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; }
.px-stack__layer--base { --i: 0; background: #D9D6CF; }
.px-stack__layer--ferro { --i: 1; background: var(--px-ferro); color: var(--px-paper); }
.px-stack__layer--flex { --i: 2; background: var(--px-ink); color: var(--px-paper); background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 10px); }
.px-stack__layer--flex .px-stack__tag { color: #FF6A5F; }
.px-stack__layer--finish { --i: 3; background: #fff; border: 1px solid var(--px-line); }
.px-stack__layer--ferro small, .px-stack__layer--flex small { color: #C9CBD0; }
.px-stack__layer--base small, .px-stack__layer--finish small { color: var(--px-muted); }
.px-stack.is-collapsed .px-stack__layer { transform: none; }
@media (max-width: 600px) { .px-stack__layer { width: calc(100% - 18px); transform: translateX(calc(var(--i, 0) * 6px)); } .px-stack__layer::before { left: calc(-1 * var(--px-s4) + 3px - var(--i, 0) * 6px); } }

.px-figure { margin: 0 !important; }
.px-figure img { width: 100%; border-radius: var(--px-radius); }

/* ---------- Tablas ---------- */
.px-table { margin: var(--px-s7) auto 0 !important; overflow-x: auto; }
.px-table table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 640px; }
.px-table th, .px-table td { text-align: left; vertical-align: top; padding: 18px 20px 18px 0; border: 0; border-bottom: 1px solid var(--px-line); }
.px-table thead th { font-family: var(--px-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--px-muted); border-bottom: 1px solid var(--px-ink); padding-bottom: 12px; }
.px-table td:first-child { font-weight: 600; width: 18%; }
.px-table--compare { margin-top: 0 !important; }
.px-table--compare th:nth-child(2), .px-table--compare td:nth-child(2) { background: var(--px-ink); color: var(--px-paper); padding-left: 20px; }
.px-table--compare thead th:nth-child(2) { color: var(--px-paper); border-bottom-color: var(--px-accent); border-bottom-width: 2px; }
.px-table--compare td:nth-child(2) { border-bottom-color: var(--px-line-dark); }

/* ---------- Checklists ---------- */
.px-checklist { list-style: none; padding: 0; margin: 0 0 var(--px-s4); border-top: 1px solid var(--px-line); }
.px-checklist li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--px-line); line-height: 1.45; }
.px-checklist li::before { content: ""; position: absolute; left: 0; top: 21px; width: 12px; height: 7px; border-left: 2px solid var(--px-accent); border-bottom: 2px solid var(--px-accent); transform: rotate(-45deg); }
.px-checklist--open li::before { width: 10px; height: 10px; top: 19px; border: 1px solid var(--px-ink); transform: none; border-radius: 50%; }
.px-section--dark .px-checklist, .px-section--dark .px-checklist li { border-color: var(--px-line-dark); }

/* ---------- Fichas de producto ---------- */
.px-specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--px-ink); }
.px-spec { padding: var(--px-s4) var(--px-s4) var(--px-s4) 0; border-right: 1px solid var(--px-line); }
.px-spec + .px-spec { padding-left: var(--px-s4); }
.px-spec:last-child { border-right: 0; padding-right: 0; }
.px-spec header { min-height: 120px; }
.px-spec h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: .02em; font-weight: 720; font-stretch: 105%; margin-bottom: 8px; }
.px-spec h3 sup { font-size: .45em; font-weight: 400; vertical-align: super; margin-left: 2px; }
.px-spec header p { color: var(--px-muted); margin: 0; }
.px-spec dl { margin: var(--px-s3) 0 0; }
.px-spec dl > div { padding: 12px 0; border-top: 1px solid var(--px-line); display: grid; grid-template-columns: 42% 1fr; gap: 12px; }
.px-spec dt { font-family: var(--px-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--px-muted); padding-top: 3px; }
.px-spec dd { margin: 0; font-size: .9375rem; line-height: 1.45; }
@media (max-width: 900px) {
	.px-specs { grid-template-columns: 1fr; }
	.px-spec, .px-spec + .px-spec { padding: var(--px-s4) 0; border-right: 0; border-bottom: 1px solid var(--px-line); }
	.px-spec header { min-height: 0; }
}

/* ---------- Gama ---------- */
.px-swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--px-s2); }
.px-swatch { margin: 0; position: relative; overflow: hidden; border-radius: var(--px-radius); }
.px-swatch img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.px-swatch:hover img { transform: scale(1.04); }
.px-swatch figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 12px 14px; background: linear-gradient(transparent, rgba(17, 18, 20, .72)); color: #fff; font-weight: 600; font-size: .9375rem; }
.px-swatch figcaption span { display: block; font-family: var(--px-mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 400; opacity: .85; }
.px-families { font-family: var(--px-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--px-muted); margin-top: var(--px-s3); }
.px-families strong { color: var(--px-accent); font-weight: 500; }

/* ---------- Índice de aplicaciones ---------- */
.px-index { margin: 0; border-top: 1px solid var(--px-ink); }
.px-index > div { display: grid; grid-template-columns: 40% 1fr; gap: var(--px-s2); padding: 16px 0; border-bottom: 1px solid var(--px-line); }
.px-index dt { font-weight: 620; }
.px-index dd { margin: 0; color: var(--px-muted); font-size: .9375rem; line-height: 1.5; }
@media (max-width: 600px) { .px-index > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Texto de pliego ---------- */
.px-mini { font-family: var(--px-mono); font-size: .75rem !important; letter-spacing: .08em; text-transform: uppercase; color: var(--px-muted); margin-top: var(--px-s6) !important; }
.px-spec-text { font-family: var(--px-mono); font-size: .8125rem; line-height: 1.75; white-space: pre-wrap; background: var(--px-paper); border: 1px solid var(--px-line); border-left: 2px solid var(--px-ink); padding: var(--px-s3); border-radius: var(--px-radius); max-width: 92ch; color: var(--px-ink); }

/* ---------- Formulario CF7 ---------- */
.px-section--demo .wp-block-column:last-child { background: var(--px-paper); color: var(--px-ink); padding: var(--px-s5) var(--px-s4); border-radius: var(--px-radius); align-self: start; }
.px-section--demo .px-caption { color: var(--px-muted); }
.px-form__row { margin: 0 0 var(--px-s2); }
.px-form__row label { display: block; font-family: var(--px-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--px-muted); margin-bottom: 6px; }
.px-form input[type="text"], .px-form input[type="email"], .px-form input[type="tel"], .px-form select, .px-form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--px-ink); background: #fff; border: 1px solid var(--px-line); border-radius: var(--px-radius); padding: 12px 14px; min-height: 48px; }
.px-form input:focus, .px-form select:focus, .px-form textarea:focus { outline: 2px solid var(--px-ink); outline-offset: 0; border-color: var(--px-ink); }
.px-form__check { font-size: .8125rem; color: var(--px-muted); line-height: 1.5; }
.px-form .wpcf7-not-valid-tip { color: var(--px-accent); font-size: .8125rem; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: var(--px-s2) 0 0; padding: 12px 14px; font-size: .875rem; border-radius: var(--px-radius); }

/* ---------- Aparición al hacer scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .px-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
	.js .px-reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Editor ---------- */
.editor-styles-wrapper { background: var(--px-paper); font-family: var(--px-sans); }

/* Hijos directos de sección con ancho de lectura: alineados a la retícula, no centrados */
.px-section > .px-note, .px-section > .px-spec-text, .px-section > .px-mini { max-width: var(--px-max); }
.px-section > .px-note { padding-right: max(0px, calc(100% - 72ch)); }

/* ---------- Compatibilidad GeneratePress (tema clásico sin theme.json) ---------- */
/* WP envuelve los grupos en .wp-block-group__inner-container: lo neutralizamos */
.wp-block-group.px-hero > .wp-block-group__inner-container,
.wp-block-group.px-section > .wp-block-group__inner-container,
.wp-block-group.px-hero__copy > .wp-block-group__inner-container,
.wp-block-group.px-section__head > .wp-block-group__inner-container { display: contents; }
/* GP pinta botones con a.wp-block-button__link:not(.has-background): subimos especificidad */
.wp-block-button.is-style-px-primary > a.wp-block-button__link, .px-form input.wpcf7-submit { background: var(--px-ink); color: var(--px-paper); }
.wp-block-button.is-style-px-primary > a.wp-block-button__link:hover, .wp-block-button.is-style-px-primary > a.wp-block-button__link:focus, .px-form input.wpcf7-submit:hover { background: var(--px-accent); color: #fff; }
.wp-block-button.is-style-px-ghost > a.wp-block-button__link { background: transparent; color: var(--px-ink); border: 1px solid var(--px-ink); }
.wp-block-button.is-style-px-ghost > a.wp-block-button__link:hover, .wp-block-button.is-style-px-ghost > a.wp-block-button__link:focus { background: var(--px-ink); color: var(--px-paper); }
.px-section--dark .wp-block-button.is-style-px-primary > a.wp-block-button__link { background: var(--px-paper); color: var(--px-ink); }
.px-section--dark .wp-block-button.is-style-px-primary > a.wp-block-button__link:hover { background: var(--px-accent); color: #fff; }
.px-form input.wpcf7-submit { font-family: var(--px-mono); font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; border-radius: var(--px-radius); padding: 15px 22px; min-height: 48px; border: 0; }
/* Cabecera y pie alineados con la retícula del contenido */
.site-header .inside-header.grid-container, .site-footer .inside-site-info.grid-container { max-width: calc(var(--px-max) + 2 * var(--px-gutter)); padding-left: var(--px-gutter); padding-right: var(--px-gutter); }
.main-navigation .inside-navigation.grid-container { max-width: none; padding: 0; }

/* ---------- Capa informativa RGPD del formulario ---------- */
.px-form__legal { font-size: .75rem; line-height: 1.55; color: var(--px-muted); border-top: 1px solid var(--px-line); padding-top: var(--px-s2); margin: var(--px-s3) 0 var(--px-s2); }
.px-form__legal strong { color: var(--px-ink); font-weight: 600; }

/* ---------- Enlaces legales del pie ---------- */
.px-legal-nav { display: flex; gap: var(--px-s3); flex-basis: 100%; padding-top: var(--px-s2); margin-top: var(--px-s1); border-top: 1px solid var(--px-line-dark); }
.px-legal-nav a { color: var(--px-muted-dark); }
.px-legal-nav a:hover { color: var(--px-paper); }

/* ---------- Páginas de lectura (legales) ---------- */
.px-doc .entry-content { max-width: calc(760px + 2 * var(--px-gutter)); margin-inline: auto; padding: var(--px-s7) var(--px-gutter); }
.px-doc .entry-content > * + * { margin-top: var(--px-s2) !important; }
.px-doc .entry-content h1 { font-size: var(--px-h2); margin-bottom: var(--px-s4) !important; }
.px-doc .entry-content h2 { font-size: 1.25rem; letter-spacing: -.01em; margin-top: var(--px-s5) !important; margin-bottom: 0; }
.px-doc .entry-content p, .px-doc .entry-content li { color: #2A2C31; line-height: 1.7; }
.px-doc .entry-content ul { padding-left: 1.2em; margin-left: 0; }
.px-doc .entry-content table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.px-doc .entry-content th, .px-doc .entry-content td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border: 0; border-bottom: 1px solid var(--px-line); }
.px-doc .entry-content th { font-family: var(--px-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--px-muted); font-weight: 500; }
.px-doc .wp-block-table { overflow-x: auto; }

/* ---------- CTA fijo en móvil ---------- */
.px-sticky-cta { display: none; }
@media (max-width: 781px) {
	.px-sticky-cta { display: flex; justify-content: center; align-items: center; position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; min-height: 52px; background: var(--px-ink); color: var(--px-paper); font-family: var(--px-mono); font-size: .8125rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border-radius: var(--px-radius); box-shadow: 0 8px 24px rgba(17, 18, 20, .25); transform: translateY(140%); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
	.px-sticky-cta.is-visible { transform: none; }
	.px-sticky-cta:hover, .px-sticky-cta:focus { background: var(--px-accent); color: #fff; }
	.site-footer { padding-bottom: 84px; }
}
@media (max-width: 781px) and (prefers-reduced-motion: reduce) { .px-sticky-cta { transition: none; } }
