/* ==========================================================================
   Praxis Internacional — estilos del tema
   Convención: todas las clases propias empiezan por "px-".
   Las reglas de componentes llevan "body" delante para ganar a los estilos
   globales de WordPress (que usan :where y :root).
   ========================================================================== */

:root {
	--px-noche: #0b2219;
	--px-verde: #0f2b20;
	--px-verde-2: #16392b;
	--px-tinta: #14241d;
	--px-oro: #c9a464;
	--px-oro-d: #7a5d24; /* 5:1 sobre crema y arena (WCAG AA) */
	--px-oro-m: #b08a47;
	--px-oro-l: #e3c98d;
	--px-oro-xl: #f0dca6;
	--px-crema: #f5efe4;
	--px-arena: #efe7d9;
	--px-marfil: #faf6ee;
	--px-gris: #3e4b44;
	--px-gris-2: #5a625d; /* 5:1 sobre crema y arena (WCAG AA) */
	--px-pie: #081a13;
	--px-display: 'Libre Caslon Display', Georgia, serif;
	--px-text: 'Libre Caslon Text', Georgia, serif;
	--px-gutter: clamp(20px, 4vw, 56px);
	--px-wide: 1320px;
	--px-narrow: 860px;
	--px-ease: cubic-bezier(.2, .7, .2, 1);
	--px-gold-grad: linear-gradient(105deg, #9c783a 0%, #c9a464 22%, #f0dca6 42%, #b8914f 60%, #e3c98d 80%, #9c783a 100%);
	--px-gold-text: linear-gradient(105deg, #a07c3e 0%, #d8b877 25%, #f3e2b0 45%, #c69d58 65%, #e8cf92 85%, #a07c3e 100%);
	--px-line: rgba(176, 138, 71, .28);
	--px-header-h: 82px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--px-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
*, *::before, *::after { box-sizing: border-box; }
::selection { background: var(--px-oro); color: var(--px-noche); }
img { max-width: 100%; height: auto; }
body a { transition: color .3s; }
/* La marca no usa cursiva: <em>, <i> y similares se muestran en redonda. */
body em, body i, body cite, body dfn, body var, body address, .editor-styles-wrapper em, .editor-styles-wrapper i { font-style: normal; }
body :focus-visible { outline: 2px solid var(--px-oro); outline-offset: 3px; }

/* Grano de papel del diseño */
body.px-body::after {
	content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.px-skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--px-verde); color: var(--px-crema); padding: 12px 18px; }
.px-skip:focus { top: 12px; color: var(--px-crema); }

/* Contenedores */
body .px-inner { max-width: var(--px-wide); margin-inline: auto; width: 100%; }
body .px-inner--narrow { max-width: var(--px-narrow); }
body .px-center { justify-content: center; }
body .px-center-text { text-align: center; }

/* El contenido de las páginas: bandas a sangre (alignfull) y texto a 760px */
body .px-content { padding-inline: var(--px-gutter); }
body .px-content > .alignfull { margin-inline: calc(var(--px-gutter) * -1); max-width: none; width: auto; margin-block: 0; }
body .px-content--full { padding-inline: 0; }
body .px-content--full > .alignfull { margin-inline: 0; }
body .px-content > :not(.alignfull):first-child { margin-top: clamp(56px, 8vw, 96px); }
body .px-content > :not(.alignfull):last-child { margin-bottom: clamp(56px, 8vw, 96px); }

/* Reseteo de márgenes dentro de los componentes (usan gap) */
body [class*="px-"] > .wp-block-group,
body [class*="px-"] > p,
body [class*="px-"] > h1, body [class*="px-"] > h2, body [class*="px-"] > h3,
body [class*="px-"] > .wp-block-buttons,
body [class*="px-"] > figure { margin-block: 0; }
body .px-prose > * + * { margin-block-start: 1.2em; }

/* ---------- Tipografía de componentes ---------- */
body .px-eyebrow { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--px-oro-d); line-height: 1.6; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
body .px-eyebrow--lines { justify-content: center; }
body .px-eyebrow--lines::before, body .px-eyebrow--lines::after { content: ""; width: 48px; height: 1px; background: var(--px-oro-m); }
body .px-eyebrow--line::after { content: ""; width: 56px; height: 1px; background: var(--px-oro-m); }
body .px-diamond { display: inline-block; font-size: 6px; transform: translateY(-1px); }

body .px-title { margin: 0; font-family: var(--px-display); font-weight: 400; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.12; color: var(--px-verde); text-wrap: balance; }
body .px-title em, body .px-page-hero__title em { font-family: inherit; font-style: normal; font-size: 1em; color: var(--px-oro-d); }
body .px-lead { font-size: 16px; line-height: 1.75; color: var(--px-gris); text-wrap: pretty; max-width: 580px; }

body .px-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(40px, 5vw, 64px) !important; }
body .px-head--center { align-items: center; text-align: center; }
body .px-head--center .px-title { max-width: 820px; }
body .px-head--left { align-items: flex-start; }

/* ---------- Botones ---------- */
body .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 24px 28px; align-items: center; }
body .wp-block-button__link { display: inline-flex; align-items: center; gap: 14px; box-shadow: inset 0 0 0 1px rgba(201, 164, 100, .35); transition: background .4s, color .4s, box-shadow .4s, background-position 1.1s var(--px-ease); text-decoration: none; }
body .wp-block-button:not(.is-style-linea) .wp-block-button__link::after { content: "→"; font-size: 15px; letter-spacing: 0; }
body .wp-block-button__link:hover { box-shadow: inset 0 0 0 1px rgba(201, 164, 100, .9); }

body .is-style-oro .wp-block-button__link { background: var(--px-gold-grad); background-size: 240% 100%; background-position: 0% 50%; color: var(--px-noche); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 18px 40px -16px rgba(201, 164, 100, .55); }
body .is-style-oro .wp-block-button__link:hover { background: var(--px-gold-grad); background-size: 240% 100%; background-position: 100% 50%; color: var(--px-noche); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 24px 50px -16px rgba(201, 164, 100, .75); }

body .is-style-linea .wp-block-button__link { background: none; padding: 0 0 6px; box-shadow: none; border-radius: 0; border-bottom: 1px solid rgba(201, 164, 100, .6); color: var(--px-verde); font-size: 12px; letter-spacing: .22em; }
body .is-style-linea .wp-block-button__link:hover { background: none; color: var(--px-oro-d); border-color: var(--px-oro-d); box-shadow: none; }
body .px-contact .is-style-linea .wp-block-button__link { font-family: var(--px-text); font-size: 20px; letter-spacing: 0; text-transform: none; padding-bottom: 2px; }

/* Ornamento (línea · punto · línea) */
body .wp-block-separator.is-style-ornamento, body .px-ornament { border: 0; height: 6px; max-width: 360px; width: 100%; margin-inline: 0; opacity: 1; position: relative; background: linear-gradient(90deg, rgba(176, 138, 71, 0), var(--px-oro-m) 46%, transparent 46%, transparent 54%, var(--px-oro-m) 54%, rgba(176, 138, 71, 0)) center / 100% 1px no-repeat; }
body .wp-block-separator.is-style-ornamento::after, body .px-ornament span { content: ""; position: absolute; left: 50%; top: 0; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f3e2b0, #a07c3e); }

/* ---------- Cabecera ---------- */
.px-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 239, 228, .92); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid rgba(176, 138, 71, .18); transition: box-shadow .4s ease; }
.admin-bar .px-header { top: 32px; }
.px-header.is-scrolled { box-shadow: 0 10px 40px -20px rgba(10, 31, 23, .35); }
.px-header__inner { max-width: var(--px-wide); margin: 0 auto; padding: 14px var(--px-gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.px-brand { display: flex; align-items: center; gap: 14px; color: var(--px-verde); text-decoration: none; flex-shrink: 0; }
.px-brand:hover { color: var(--px-verde); }
.px-brand .px-logo { height: 54px; width: auto; display: block; filter: drop-shadow(0 2px 3px rgba(10, 31, 23, .12)); }
.px-brand__text { display: flex; flex-direction: column; gap: 3px; }
.px-brand__name { font-family: var(--px-text); font-size: 17px; line-height: 1; letter-spacing: .1em; color: var(--px-verde); }
.px-brand__tag { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--px-oro-d); margin-top: 3px; }

.px-nav-panel { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); flex: 1 1 auto; justify-content: flex-end; }
.px-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.px-nav__list, .px-nav__list ul { list-style: none; margin: 0; padding: 0; }
.px-nav__list { display: flex; gap: clamp(14px, 2.2vw, 38px); flex-wrap: wrap; align-items: center; }
.px-nav__list > li { position: relative; }
.px-nav__list a { font-size: 13px; letter-spacing: .06em; color: var(--px-tinta); text-decoration: none; display: inline-block; padding: 8px 0; }
.px-nav__list a:hover, .px-nav__list .current-menu-item > a, .px-nav__list .current-menu-ancestor > a, .px-nav__list .current-page-ancestor > a { color: var(--px-oro-d); }
.px-nav__list .menu-item-has-children > a::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.px-nav__list .sub-menu { position: absolute; top: 100%; left: -22px; min-width: 280px; padding: 14px 0; background: var(--px-marfil); box-shadow: 0 30px 60px -30px rgba(10, 31, 23, .45), inset 0 0 0 1px rgba(176, 138, 71, .22); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .3s, visibility .3s; }
.px-nav__list li:hover > .sub-menu, .px-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.px-nav__list .sub-menu a { display: block; padding: 9px 22px; font-size: 13.5px; letter-spacing: .02em; }

.px-header__actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.px-lang { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; font-size: 11px; letter-spacing: .18em; }
.px-lang li + li::before { content: "·"; color: var(--px-oro-m); margin-right: 10px; }
.px-lang a { color: var(--px-gris-2); text-decoration: none; }
.px-lang a.is-current, .px-lang a:hover { color: var(--px-oro-d); }
.px-header__cta { display: inline-flex; align-items: center; gap: 14px; padding: 15px 26px; white-space: nowrap; background: var(--px-verde); color: var(--px-crema); font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(201, 164, 100, .35); transition: background .4s, box-shadow .4s, color .4s; text-decoration: none; }
.px-header__cta:hover { background: var(--px-verde-2); color: var(--px-oro-xl); box-shadow: inset 0 0 0 1px rgba(201, 164, 100, .9); }

.px-nav-toggle { display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 10px 0; cursor: pointer; color: var(--px-verde); font: inherit; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.px-nav-toggle__bars { position: relative; width: 22px; height: 1px; background: currentColor; transition: background .2s; }
.px-nav-toggle__bars::before, .px-nav-toggle__bars::after { content: ""; position: absolute; left: 0; width: 22px; height: 1px; background: currentColor; transition: transform .3s; }
.px-nav-toggle__bars::before { top: -7px; }
.px-nav-toggle__bars::after { top: 7px; }
.px-nav-open .px-nav-toggle__bars { background: transparent; }
.px-nav-open .px-nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.px-nav-open .px-nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	:root { --px-header-h: 74px; }
	.px-nav-toggle { display: inline-flex; }
	.px-brand .px-logo { height: 46px; }
	.px-nav-panel { position: fixed; inset: var(--px-header-h) 0 0 0; z-index: 49; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 32px; padding: 32px var(--px-gutter) 48px; background: var(--px-crema); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s, visibility .3s; }
	.admin-bar .px-nav-panel { top: calc(var(--px-header-h) + 46px); }
	.px-nav-open .px-nav-panel { opacity: 1; visibility: visible; transform: none; }
	.px-nav-open { overflow: hidden; }
	.px-nav { justify-content: flex-start; flex: 0 0 auto; }
	.px-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.px-nav__list > li { border-bottom: 1px solid var(--px-line); }
	.px-nav__list > li > a { font-family: var(--px-display); font-size: 26px; letter-spacing: 0; padding: 14px 0; }
	.px-nav__list .menu-item-has-children > a::after { display: none; }
	.px-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; padding: 0 0 14px; min-width: 0; }
	.px-nav__list .sub-menu a { padding: 7px 0 7px 18px; font-size: 15px; }
	.px-header__actions { flex-direction: column; align-items: flex-start; gap: 24px; }
	.px-header__cta { width: 100%; justify-content: center; }
}
@media (max-width: 782px) { .admin-bar .px-header { top: 46px; } }
@media (max-width: 480px) { .px-brand__tag { display: none; } .px-brand__name { font-size: 15px; } }

/* ---------- Hero de portada ---------- */
body .px-hero { position: relative; min-height: min(92vh, 860px); background: var(--px-noche); color: var(--px-crema); overflow: hidden; display: flex; align-items: center; isolation: isolate;
	background-image: radial-gradient(520px circle at var(--px-mx, -999px) var(--px-my, -999px), rgba(227, 201, 141, .13), rgba(227, 201, 141, 0) 60%); }
body .px-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(11, 34, 25, .85) 0%, rgba(11, 34, 25, 0) 32%); }
body .px-hero::after { content: ""; position: absolute; inset: clamp(14px, 2vw, 28px); z-index: 2; pointer-events: none; border: 1px solid rgba(201, 164, 100, .16); }
body .px-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; margin: 0; overflow: hidden; z-index: 0; }
body .px-hero__media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; max-width: none; object-fit: cover; object-position: 40% 30%; will-change: transform; }
body .px-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b2219 0%, rgba(11, 34, 25, .86) 16%, rgba(11, 34, 25, .35) 41%, rgba(11, 34, 25, 0) 66%); }
body .px-hero__content { position: relative; z-index: 3; width: 100%; max-width: var(--px-wide); margin: 0 auto; padding: clamp(72px, 12vh, 128px) var(--px-gutter) 132px; display: flex; flex-direction: column; gap: 30px; }
body .px-hero__content > * { max-width: 640px; }
body .px-hero__eyebrow { color: var(--px-oro); letter-spacing: .3em; gap: 14px; }
body .px-hero__title { margin: 0; font-family: var(--px-display); font-size: clamp(38px, 4.7vw, 70px); line-height: 1.08; color: var(--px-crema); text-wrap: balance; }
body .px-hero__title em { font-style: normal; background: var(--px-gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
body .px-hero__lead { max-width: 480px !important; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; color: rgba(245, 239, 228, .88); text-wrap: pretty; }
body .px-hero .is-style-linea .wp-block-button__link { color: var(--px-crema); }
body .px-hero .is-style-linea .wp-block-button__link:hover { color: var(--px-oro-l); border-color: var(--px-oro-l); }
body .px-hero__features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px !important; border-top: 1px solid rgba(201, 164, 100, .22); max-width: 560px !important; }
body .px-hero__feature { padding: 22px 16px 0 18px; display: flex; flex-direction: column; gap: 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.6; color: var(--px-crema); border-left: 1px solid rgba(201, 164, 100, .22); }
body .px-hero__feature:first-child { padding-left: 0; border-left: 0; }
body .px-hero__feature::before { content: ""; width: 7px; height: 7px; border: 1px solid var(--px-oro); transform: rotate(45deg); }
body .px-hero__badge { position: absolute; z-index: 3; top: clamp(48px, 9vh, 96px); right: clamp(28px, 5vw, 72px); display: flex; flex-direction: column; gap: 6px; padding: 18px 22px 18px 38px; background: rgba(11, 34, 25, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(201, 164, 100, .22); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; line-height: 1.6; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
body .px-hero__badge::before { content: ""; position: absolute; left: 18px; top: 18px; bottom: 18px; width: 1px; background: linear-gradient(180deg, rgba(201, 164, 100, 0), #c9a464 30%, #c9a464 70%, rgba(201, 164, 100, 0)); }
body .px-hero__badge-a { color: var(--px-crema); }
body .px-hero__badge-b { color: var(--px-oro-l); }

@media (max-width: 900px) {
	body .px-hero { align-items: flex-end; min-height: 0; }
	body .px-hero__media { width: 100%; }
	body .px-hero__media::after { background: linear-gradient(180deg, rgba(11, 34, 25, .45) 0%, rgba(11, 34, 25, .82) 45%, #0b2219 78%); }
	body .px-hero__content { padding-top: 46vh; padding-bottom: 72px; }
	body .px-hero__badge { display: none; }
}
@media (max-width: 520px) {
	body .px-hero__features { grid-template-columns: 1fr; }
	body .px-hero__feature { flex-direction: row; align-items: center; padding: 14px 0 0; border-left: 0; }
}

/* ---------- Secciones genéricas ---------- */
body .px-section { position: relative; padding: clamp(88px, 11vw, 150px) var(--px-gutter); background: var(--px-crema); }
body .px-tone-sand { background: var(--px-arena); }
body .px-tone-light { background: var(--px-crema); }

/* Áreas de práctica */
body .px-services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1px; background: var(--px-line); border: 1px solid var(--px-line); }
body .px-service { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 44px 40px 40px; background: var(--px-crema); min-height: 280px; transition: background .5s ease; }
body .px-tone-sand .px-service { background: var(--px-arena); }
body .px-service:hover { background: var(--px-marfil); }
body .px-service__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
body .px-service__num { font-family: var(--px-display); font-size: 25px; color: var(--px-oro-m); line-height: 1; }
body .px-service__tag { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--px-gris-2); }
body .px-service__title { font-family: var(--px-text); font-size: 23px; line-height: 1.25; color: var(--px-verde); }
body .px-service__title a { color: inherit; text-decoration: none; }
body .px-service__title a::after { content: ""; position: absolute; inset: 0; }
body .px-service__desc { font-size: 14.5px; line-height: 1.7; color: var(--px-gris); text-wrap: pretty; }
body .px-service__more { margin-top: auto !important; display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--px-oro-d); }
body .px-service__more::after { content: ""; width: 28px; height: 1px; background: var(--px-oro-m); transition: width .5s var(--px-ease); }
body .px-service:hover .px-service__more::after { width: 48px; }
body .px-services .px-center { margin-top: 64px !important; }

/* Sobre nosotros */
body .px-about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); background: var(--px-arena); }
body .px-about__media { position: relative; min-height: 560px; overflow: hidden; background: var(--px-noche); margin: 0; }
body .px-about__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; max-width: none; object-fit: cover; will-change: transform; }
body .px-about__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(11, 34, 25, .45) 0%, rgba(11, 34, 25, .15) 40%, rgba(11, 34, 25, 0) 70%); }
body .px-about__media::after { content: ""; position: absolute; inset: 24px; z-index: 1; border: 1px solid rgba(227, 201, 141, .35); pointer-events: none; }
body .px-about__body { padding: clamp(64px, 8vw, 120px) clamp(28px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; gap: 30px; }
body .px-about__body .px-title { font-size: clamp(32px, 3.4vw, 50px); }
body .px-about__text { max-width: 520px; font-size: 16px; line-height: 1.8; color: var(--px-gris); text-wrap: pretty; }
@media (max-width: 560px) { body .px-about__media { min-height: 380px; } }

/* Valores */
body .px-values { position: relative; background: var(--px-noche); color: var(--px-crema); padding: clamp(64px, 7vw, 96px) var(--px-gutter); overflow: hidden; }
body .px-values::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 120% at 50% 0%, rgba(201, 164, 100, .10), rgba(201, 164, 100, 0) 70%); }
body .px-values__grid { position: relative; max-width: var(--px-wide); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
body .px-value { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 20px 24px; border-left: 1px solid rgba(201, 164, 100, .2); }
body .px-value__num { font-family: var(--px-display); font-size: 19px; color: var(--px-oro); }
body .px-value__title { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; line-height: 1.7; color: var(--px-crema); max-width: 200px; }

/* Contacto (portada) */
body .px-contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(48px, 6vw, 96px); align-items: center; }
body .px-contact__text { display: flex; flex-direction: column; gap: 28px; }
body .px-contact__text .px-title { font-size: clamp(34px, 3.8vw, 56px); line-height: 1.1; }
body .px-contact__text .px-lead { max-width: 480px; line-height: 1.8; }

/* Tarjeta de visita */
body .px-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: center; padding: clamp(32px, 4vw, 52px); background: linear-gradient(160deg, #fbf8f2 0%, #f1e9dc 100%); border-radius: 3px; box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(10, 31, 23, .08), 0 40px 80px -40px rgba(10, 31, 23, .45), 0 18px 30px -24px rgba(10, 31, 23, .3); transform-style: preserve-3d; transition: transform .6s var(--px-ease); overflow: hidden; }
body .px-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--px-gx, 50%) var(--px-gy, 50%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 55%); }
body .px-card.is-lit::before { opacity: 1; }
body .px-card__brand { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-right: clamp(24px, 3vw, 40px); border-right: 1px solid; border-image: linear-gradient(180deg, rgba(176, 138, 71, 0), #b08a47 20%, #b08a47 80%, rgba(176, 138, 71, 0)) 1; align-self: stretch; justify-content: center; }
body .px-card__logo { margin: 0; }
body .px-card__logo img { width: clamp(84px, 9vw, 120px); height: auto; display: block; filter: drop-shadow(0 3px 4px rgba(10, 31, 23, .15)); }
body .px-card__brand-name { font-size: 12px; letter-spacing: .14em; color: var(--px-verde); text-align: center; line-height: 1.3; }
body .px-card__details { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
body .px-card__name { font-size: 26px; letter-spacing: .08em; color: var(--px-verde); line-height: 1; text-transform: uppercase; }
body .px-card__role { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--px-oro-d); }
body .px-card__role::after { content: ""; display: block; width: 56px; height: 1px; background: var(--px-oro-m); margin-top: 14px; }
body .px-card__rows { display: flex; flex-direction: column; gap: 12px; margin-top: 18px !important; }
body .px-card__row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; font-size: 14.5px; align-items: baseline; color: var(--px-tinta); overflow-wrap: anywhere; }
body .px-card__row strong { font-weight: 400; font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--px-gris-2); }
body .px-card__row a { color: var(--px-tinta); }
body .px-card__row a:hover { color: var(--px-oro-d); }
@media (max-width: 520px) {
	body .px-card { grid-template-columns: 1fr; }
	body .px-card__brand { flex-direction: row; justify-content: flex-start; padding: 0 0 20px; border-right: 0; border-bottom: 1px solid var(--px-line); border-image: none; }
	body .px-card__logo img { width: 72px; }
	body .px-card__brand-name { text-align: left; }
}

/* Introducción a dos columnas */
body .px-split__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 6vw, 96px); align-items: start; }
body .px-split__head { display: flex; flex-direction: column; gap: 22px; }
body .px-split__body { display: flex; flex-direction: column; gap: 1.2em; font-size: 17px; line-height: 1.85; color: var(--px-gris); }
body .px-split { padding-bottom: clamp(56px, 7vw, 96px); }

/* Tarjetas (trámites) */
body .px-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1px; background: var(--px-line); border: 1px solid var(--px-line); }
body .px-tile { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 38px 34px; background: var(--px-arena); transition: background .5s; }
body .px-tone-light .px-tile { background: var(--px-crema); }
body .px-tile:hover { background: var(--px-marfil); }
body .px-tile__num { font-family: var(--px-display); font-size: 20px; color: var(--px-oro-m); line-height: 1; }
body .px-tile__title { font-size: 21px; line-height: 1.3; color: var(--px-verde); }
body .px-tile__title a { color: inherit; }
body .px-tile__title a::after { content: ""; position: absolute; inset: 0; }
body .px-tile__desc { font-size: 15px; line-height: 1.7; color: var(--px-gris); }

/* Cifras clave del trámite */
body .px-facts { background: var(--px-noche); color: var(--px-crema); padding: clamp(40px, 5vw, 64px) var(--px-gutter); position: relative; overflow: hidden; }
body .px-facts::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 140% at 50% 0%, rgba(201, 164, 100, .12), transparent 70%); }
body .px-facts__grid { position: relative; max-width: var(--px-wide); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
body .px-fact { display: flex; flex-direction: column; gap: 10px; padding: 12px 28px; border-left: 1px solid rgba(201, 164, 100, .22); }
body .px-fact__value { font-family: var(--px-display); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; background: var(--px-gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
body .px-fact__label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; line-height: 1.6; color: rgba(245, 239, 228, .82); }

/* Requisitos */
body .px-checklist { background: var(--px-crema); }
body .px-checklist__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
body .px-checklist__head { display: flex; flex-direction: column; gap: 22px; position: sticky; top: calc(var(--px-header-h) + 32px); }
body .px-checks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--px-line); }
body .px-checks li { position: relative; padding: 20px 0 20px 44px; border-bottom: 1px solid var(--px-line); font-size: 17px; line-height: 1.7; color: var(--px-gris); margin: 0; }
body .px-checks li::before { content: ""; position: absolute; left: 6px; top: 28px; width: 10px; height: 10px; border: 1px solid var(--px-oro-m); transform: rotate(45deg); }
body .px-checks li::after { content: ""; position: absolute; left: 10px; top: 32px; width: 4px; height: 4px; background: var(--px-oro-m); transform: rotate(45deg); }
body .px-checks strong { color: var(--px-verde); font-weight: 700; }
body .px-checklist__note { margin-top: 24px !important; padding: 20px 24px; background: var(--px-arena); border-left: 2px solid var(--px-oro); font-size: 15px; line-height: 1.7; color: var(--px-gris); }
@media (max-width: 900px) { body .px-checklist__grid { grid-template-columns: 1fr; } body .px-checklist__head { position: static; } }

/* Banda oscura (pasos, CTA) */
body .is-style-banda-oscura { background: var(--px-noche); color: var(--px-crema); }
body .is-style-banda-oscura .px-title { color: var(--px-crema); }
body .is-style-banda-oscura .px-title em { color: var(--px-oro-l); }
body .is-style-banda-oscura .px-lead { color: rgba(245, 239, 228, .82); }
body .is-style-banda-oscura .px-eyebrow { color: var(--px-oro); }
body .is-style-banda-oscura .px-eyebrow::before, body .is-style-banda-oscura .px-eyebrow::after { background: var(--px-oro); }

body .px-steps { overflow: hidden; }
body .px-steps::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(201, 164, 100, .10), rgba(201, 164, 100, 0) 70%); }
body .px-steps__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 1px solid rgba(201, 164, 100, .22); }
body .px-step { display: flex; flex-direction: column; gap: 16px; padding: 34px 28px 8px 0; }
body .px-step + .px-step { padding-left: 28px; border-left: 1px solid rgba(201, 164, 100, .2); }
body .px-step__num { font-family: var(--px-display); font-size: 40px; line-height: 1; background: var(--px-gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
body .px-step__title { color: var(--px-crema); font-size: 21px; }
body .px-step__desc { font-size: 15px; line-height: 1.7; color: rgba(245, 239, 228, .78); }
@media (max-width: 560px) { body .px-step + .px-step { padding-left: 0; border-left: 0; border-top: 1px solid rgba(201, 164, 100, .2); } }

/* FAQ */
body .px-faq__list { border-top: 1px solid var(--px-line); }
body .px-faq__item { border-bottom: 1px solid var(--px-line); margin: 0 !important; }
body .px-faq__item summary { position: relative; list-style: none; cursor: pointer; padding: 26px 48px 26px 0; font-family: var(--px-text); font-size: 20px; line-height: 1.4; color: var(--px-verde); transition: color .3s; }
body .px-faq__item summary::-webkit-details-marker { display: none; }
body .px-faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--px-display); font-size: 30px; color: var(--px-oro-m); transition: transform .4s var(--px-ease); }
body .px-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
body .px-faq__item summary:hover { color: var(--px-oro-d); }
body .px-faq__item > p { margin: 0 0 26px !important; font-size: 16px; line-height: 1.8; color: var(--px-gris); max-width: 720px; }

/* CTA final */
body .px-cta { position: relative; padding: clamp(80px, 9vw, 120px) var(--px-gutter); text-align: center; overflow: hidden; }
body .px-cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(201, 164, 100, .14), rgba(201, 164, 100, 0) 70%); }
body .px-cta::after { content: ""; position: absolute; inset: clamp(14px, 2vw, 28px); pointer-events: none; border: 1px solid rgba(201, 164, 100, .16); }
body .px-cta .px-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; }
body .px-cta .px-lead { margin-inline: auto; }

/* Perfil */
body .px-profile__grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
body .px-profile__media { margin: 0; padding: 48px; background: linear-gradient(160deg, #fbf8f2 0%, #f1e9dc 100%); box-shadow: 0 40px 80px -40px rgba(10, 31, 23, .35), inset 0 0 0 1px rgba(176, 138, 71, .2); }
body .px-profile__media img { display: block; margin: 0 auto; }
body .px-profile__body { display: flex; flex-direction: column; gap: 20px; font-size: 16.5px; line-height: 1.8; color: var(--px-gris); }
body .px-profile__role { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--px-oro-d); }
@media (max-width: 760px) { body .px-profile__grid { grid-template-columns: 1fr; } body .px-profile__media { max-width: 260px; padding: 32px; } }

/* Contacto (página) */
body .px-contact-page__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
body .px-contact-page__info { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--px-header-h) + 32px); }
body .px-contact-page__rows { padding-top: 24px; border-top: 1px solid var(--px-line); }
body .px-contact-page__form { padding: clamp(28px, 4vw, 52px); background: linear-gradient(160deg, #fbf8f2 0%, #f1e9dc 100%); box-shadow: inset 0 1px 0 #fff, 0 40px 80px -40px rgba(10, 31, 23, .35), inset 0 0 0 1px rgba(176, 138, 71, .18); border-radius: 3px; }
@media (max-width: 900px) { body .px-contact-page__grid { grid-template-columns: 1fr; } body .px-contact-page__info { position: static; } }

/* ---------- Formulario ---------- */
.px-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.px-field { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.px-field--full { grid-column: 1 / -1; }
.px-field label { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--px-gris-2); }
.px-field input, .px-field select, .px-field textarea, .px-search input { width: 100%; font: inherit; font-size: 16px; color: var(--px-tinta); background: rgba(255, 255, 255, .55); border: 0; border-bottom: 1px solid rgba(176, 138, 71, .55); border-radius: 0; padding: 12px 2px; transition: border-color .3s, background .3s; }
.px-field textarea { resize: vertical; min-height: 140px; }
.px-field input:focus, .px-field select:focus, .px-field textarea:focus, .px-search input:focus { outline: none; border-color: var(--px-verde); background: #fff; }
.px-field--check { flex-direction: row; align-items: flex-start; gap: 12px; margin-top: 24px; }
.px-field--check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--px-verde); flex-shrink: 0; }
.px-field--check label { font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--px-gris); }
.px-form__info { margin: 16px 0 28px; font-size: 12px; line-height: 1.65; color: var(--px-gris-2); }
.px-form__info strong { font-weight: 700; color: var(--px-gris); }
.px-form__submit .wp-block-button__link { border: 0; cursor: pointer; }
.px-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.px-form__notice { padding: 18px 22px; margin: 0 0 24px; font-size: 15px; border-left: 2px solid; }
.px-form__notice--ok { background: rgba(15, 43, 32, .06); border-color: var(--px-verde); color: var(--px-verde); }
.px-form__notice--error { background: rgba(160, 60, 40, .06); border-color: #a03c28; color: #7a2c1c; }
@media (max-width: 600px) { .px-form__grid { grid-template-columns: 1fr; } }

.px-search { display: flex; gap: 16px; max-width: 560px; margin: 0 auto 48px; }
.px-search button { font: inherit; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; background: var(--px-verde); color: var(--px-crema); border: 0; padding: 0 24px; cursor: pointer; }

/* ---------- Cabecera interior ---------- */
.px-page-hero { position: relative; background: var(--px-noche); color: var(--px-crema); padding: clamp(64px, 9vw, 120px) var(--px-gutter) clamp(56px, 7vw, 96px); overflow: hidden; }
.px-page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 120% at 85% 0%, rgba(201, 164, 100, .16), rgba(201, 164, 100, 0) 70%); }
.px-page-hero::after { content: ""; position: absolute; inset: clamp(14px, 2vw, 28px); pointer-events: none; border: 1px solid rgba(201, 164, 100, .16); }
.px-page-hero__inner { position: relative; z-index: 1; max-width: var(--px-wide); margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.px-page-hero__inner > * { margin: 0; }
.px-page-hero__eyebrow { color: var(--px-oro) !important; }
.px-page-hero__eyebrow a { color: inherit; }
.px-page-hero__title { max-width: 920px; font-family: var(--px-display); font-weight: 400; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.08; color: var(--px-crema); text-wrap: balance; }
.px-page-hero__lead { max-width: 640px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.65; color: rgba(245, 239, 228, .84); text-wrap: pretty; }
.px-page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; letter-spacing: .08em; color: rgba(245, 239, 228, .7); }
.px-breadcrumbs { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(245, 239, 228, .6); }
.px-breadcrumbs p { margin: 0; }
.px-breadcrumbs a { color: rgba(245, 239, 228, .75); }
.px-breadcrumbs a:hover { color: var(--px-oro-l); }
.px-breadcrumbs .separator { margin: 0 8px; color: var(--px-oro); }

/* ---------- Texto largo ---------- */
body .px-prose { max-width: 760px; margin-inline: auto; font-size: 17px; line-height: 1.85; color: var(--px-gris); }
body .px-prose h2 { font-size: clamp(26px, 2.6vw, 36px); margin-top: 2em !important; color: var(--px-verde); }
body .px-prose h3 { font-size: 21px; margin-top: 1.6em !important; }
body .px-prose a { color: var(--px-oro-d); text-decoration: underline; text-decoration-color: rgba(122, 93, 36, .4); text-underline-offset: 3px; }
body .px-prose a:hover { color: var(--px-verde); }
body .px-prose ul, body .px-prose ol { padding-left: 1.2em; }
body .px-prose li + li { margin-top: .4em; }
body .px-prose strong { color: var(--px-tinta); }
body .px-prose blockquote { margin-inline: 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--px-oro); color: var(--px-verde); }
body .px-content > .px-prose:first-child { margin-top: clamp(56px, 8vw, 96px); }
body .px-prose > p:first-child { font-size: 19px; line-height: 1.75; color: var(--px-tinta); }
body .px-prose h2 + p, body .px-prose h3 + p { margin-top: .6em !important; }
body .px-prose .px-faq__item summary { font-size: 18px; padding-block: 20px; }

/* Recuadro de claves */
body .px-callout { margin-block: 2em !important; padding: 30px 34px; background: var(--px-noche); color: var(--px-crema); position: relative; box-shadow: 0 30px 60px -36px rgba(10, 31, 23, .6); }
body .px-callout::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201, 164, 100, .22); pointer-events: none; }
body .px-callout__title { margin: 0 0 14px !important; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--px-oro); }
body .px-callout ul { list-style: none; margin: 0; padding: 0; }
body .px-callout li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.65; color: rgba(245, 239, 228, .9); }
body .px-callout li + li { margin-top: 10px; }
body .px-callout li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border: 1px solid var(--px-oro); transform: rotate(45deg); }
body .px-callout strong { color: var(--px-oro-l); }

/* Fuentes y aviso al pie del artículo */
body .px-note { margin-top: 3em !important; padding-top: 24px; border-top: 1px solid var(--px-line); display: flex; flex-direction: column; gap: 10px; }
body .px-note p { font-size: 13.5px; line-height: 1.7; color: var(--px-gris-2); }
body .px-note__disclaimer { color: var(--px-gris-2); }
body .px-article .px-content { padding-bottom: 8px; }

/* ---------- Blog ---------- */
body .px-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 40px 32px; }
.px-post-card { display: flex; flex-direction: column; background: var(--px-marfil); box-shadow: inset 0 0 0 1px rgba(176, 138, 71, .18); transition: box-shadow .4s, transform .4s var(--px-ease); }
.px-post-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(176, 138, 71, .4), 0 30px 60px -36px rgba(10, 31, 23, .45); }
.px-post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--px-noche); }
.px-post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.px-post-card__placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: radial-gradient(ellipse at 50% 0%, rgba(201, 164, 100, .18), transparent 70%), var(--px-noche); }
.px-post-card__body { display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 32px; flex: 1; }
.px-post-card__body > * { margin: 0; }
.px-post-card__meta { display: flex; gap: 8px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--px-oro-d); }
.px-post-card__title { font-family: var(--px-text); font-size: 21px; line-height: 1.3; font-weight: 400; }
.px-post-card__title a { color: var(--px-verde); }
.px-post-card__title a:hover { color: var(--px-oro-d); }
.px-post-card__excerpt { font-size: 15px; line-height: 1.7; color: var(--px-gris); }
.px-post-card__more { margin-top: auto !important; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--px-oro-d); }
.px-empty { text-align: center; font-size: 18px; color: var(--px-gris); }
.px-pagination { margin-top: 56px; }
.px-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.px-pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--px-verde); box-shadow: inset 0 0 0 1px var(--px-line); }
.px-pagination .page-numbers.current, .px-pagination a.page-numbers:hover { background: var(--px-verde); color: var(--px-crema); }

.px-article__thumb { max-width: 1000px; margin: clamp(40px, 6vw, 72px) auto 0; padding-inline: var(--px-gutter); }
.px-article__thumb img { width: 100%; display: block; }
.px-author { max-width: 760px; margin: 0 auto clamp(56px, 8vw, 96px); padding: 32px; display: flex; gap: 24px; align-items: center; background: var(--px-arena); box-shadow: inset 0 0 0 1px rgba(176, 138, 71, .2); }
.px-author p { margin: 0; }
.px-author__label { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--px-gris-2); }
.px-author__name { font-family: var(--px-display); font-size: 24px; color: var(--px-verde); }
.px-author__role { font-size: 14px; color: var(--px-gris); }
.px-author__link { display: inline-block; margin-top: 8px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
@media (max-width: 600px) { .px-author { margin-inline: var(--px-gutter); flex-direction: column; align-items: flex-start; } }
.px-related { padding: clamp(64px, 8vw, 110px) var(--px-gutter); background: var(--px-arena); }
.px-related .px-title { margin-bottom: 40px; font-size: clamp(28px, 3vw, 40px); }

/* ---------- Artículo: cabecera con imagen ---------- */
.px-post-hero { position: relative; background: var(--px-noche); color: var(--px-crema); padding: clamp(48px, 6vw, 88px) var(--px-gutter) clamp(48px, 6vw, 80px); overflow: hidden; }
.px-post-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 120% at 85% 0%, rgba(201, 164, 100, .16), rgba(201, 164, 100, 0) 70%); }
.px-post-hero::after { content: ""; position: absolute; inset: clamp(14px, 2vw, 28px); pointer-events: none; border: 1px solid rgba(201, 164, 100, .16); }
.px-post-hero__inner { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.px-post-hero.has-media .px-post-hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.px-post-hero__text { display: flex; flex-direction: column; gap: 22px; }
.px-post-hero__text > * { margin: 0; }
.px-post-hero .px-page-hero__title { font-size: clamp(34px, 3.8vw, 56px); }
.px-post-hero .px-page-hero__meta { align-items: center; gap: 10px 12px; font-size: 12.5px; }
.px-post-hero__author { display: inline-flex; align-items: center; gap: 10px; color: var(--px-crema); }
.px-post-hero__author .px-logo { height: 32px; width: auto; }
.px-post-hero__media { margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.px-post-hero__media::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(227, 201, 141, .45); pointer-events: none; }
.px-post-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1000px) {
	.px-post-hero.has-media .px-post-hero__inner { grid-template-columns: 1fr; }
	.px-post-hero__media { aspect-ratio: 16 / 9; order: -1; }
}

/* ---------- Artículo: texto + lateral ---------- */
.px-article-layout { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--px-gutter) clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(40px, 5vw, 80px); align-items: start; }
body .px-article-layout .px-prose { max-width: none; margin: 0; font-size: 18.5px; line-height: 1.8; }
body .px-article-layout .px-prose > p:first-child { font-size: 21px; line-height: 1.7; }
body .px-article-layout .px-prose h2 { font-size: clamp(28px, 2.6vw, 38px); scroll-margin-top: calc(var(--px-header-h) + 24px); }
body .px-article-layout .px-prose h2:first-of-type { margin-top: 1.4em !important; }
body .px-article-layout .px-callout { padding: 34px 40px; }
body .px-article-layout .px-callout li { font-size: 17px; }
.px-article-layout .px-author { max-width: none; margin: 56px 0 0; }

.px-article-aside { position: sticky; top: calc(var(--px-header-h) + 28px); display: flex; flex-direction: column; gap: 24px; }
.px-article-aside p { margin: 0; }
.px-toc { padding: 26px 28px; background: var(--px-arena); box-shadow: inset 0 0 0 1px rgba(176, 138, 71, .22); }
.px-toc__title { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--px-oro-d); margin-bottom: 14px !important; }
.px-toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; display: flex; flex-direction: column; }
.px-toc li { counter-increment: toc; border-top: 1px solid var(--px-line); }
.px-toc li:first-child { border-top: 0; }
.px-toc a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 10px 0; font-size: 14.5px; line-height: 1.45; color: var(--px-tinta); }
.px-toc a::before { content: counter(toc, upper-roman); font-family: var(--px-display); color: var(--px-oro-m); font-size: 13px; }
.px-toc a:hover, .px-toc a.is-active { color: var(--px-oro-d); }

.px-aside-cta { position: relative; padding: 30px 28px; background: var(--px-noche); color: var(--px-crema); display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.px-aside-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 100% 0%, rgba(201, 164, 100, .2), transparent 70%); pointer-events: none; }
.px-aside-cta::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201, 164, 100, .22); pointer-events: none; }
.px-aside-cta > * { position: relative; z-index: 1; }
.px-aside-cta__eyebrow { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--px-oro); }
.px-aside-cta__title { font-family: var(--px-display); font-size: 26px; line-height: 1.15; color: var(--px-crema); }
.px-aside-cta__text { font-size: 14.5px; line-height: 1.65; color: rgba(245, 239, 228, .8); }
.px-aside-cta .wp-block-button__link { width: 100%; justify-content: center; padding: 16px 20px; font-size: 11px; margin-top: 6px; }
.px-aside-cta__phone { text-align: center; font-size: 15px; }
.px-aside-cta__phone a { color: var(--px-oro-l); }

.px-aside-area { display: flex; flex-direction: column; gap: 8px; padding: 24px 28px; background: var(--px-marfil); box-shadow: inset 0 0 0 1px rgba(176, 138, 71, .22); color: var(--px-tinta); transition: box-shadow .4s, transform .4s var(--px-ease); }
.px-aside-area:hover { color: var(--px-tinta); transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(176, 138, 71, .5), 0 24px 40px -30px rgba(10, 31, 23, .5); }
.px-aside-area__label { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--px-gris-2); }
.px-aside-area__title { font-family: var(--px-text); font-size: 20px; line-height: 1.3; color: var(--px-verde); }
.px-aside-area__more { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--px-oro-d); }

@media (max-width: 1100px) {
	.px-article-layout { grid-template-columns: 1fr; max-width: 900px; }
	.px-article-aside { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
	.px-toc { display: none; }
}

/* ---------- Blog: menos aire y tarjeta destacada ---------- */
body .px-blog { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 110px); }
.px-post-card { position: relative; }
.px-post-card__title a::after { content: ""; position: absolute; inset: 0; }
.px-post-card__media img { transition: transform 1.2s var(--px-ease); }
.px-post-card:hover .px-post-card__media img { transform: scale(1.04); }
.px-post-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.px-post-card--featured .px-post-card__media { aspect-ratio: auto; min-height: 380px; }
.px-post-card--featured .px-post-card__body { padding: clamp(32px, 4vw, 56px); justify-content: center; gap: 18px; }
.px-post-card--featured .px-post-card__title { font-family: var(--px-display); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.15; }
.px-post-card--featured .px-post-card__excerpt { font-size: 16.5px; }
.px-post-card__flag { display: inline-flex; align-self: flex-start; padding: 6px 12px; background: var(--px-noche); color: var(--px-oro-l); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; }
@media (max-width: 860px) {
	.px-post-card--featured { grid-template-columns: 1fr; }
	.px-post-card--featured .px-post-card__media { min-height: 0; aspect-ratio: 16 / 10; }
}

/* ---------- Pie ---------- */
.px-footer { background: var(--px-pie); color: var(--px-crema); padding: clamp(64px, 7vw, 96px) var(--px-gutter) 36px; }
.px-footer__inner { max-width: var(--px-wide); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.px-footer__inner > p { margin: 0; }
.px-footer__brand { font-family: var(--px-display); font-size: clamp(26px, 3vw, 42px); letter-spacing: .12em; line-height: 1.1; background: linear-gradient(180deg, #f5efe4 0%, #cfd8d1 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.px-footer .px-ornament { max-width: 520px; background-image: linear-gradient(90deg, rgba(201, 164, 100, 0), #c9a464 46%, transparent 46%, transparent 54%, #c9a464 54%, rgba(201, 164, 100, 0)); }
.px-footer__tag { font-size: 12px; letter-spacing: .42em; text-transform: uppercase; color: var(--px-oro); }
.px-footer__list, .px-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.px-footer__list { gap: 14px 32px; margin-top: 18px; }
.px-footer__list a { font-size: 13px; letter-spacing: .06em; color: rgba(245, 239, 228, .8); }
.px-footer__list a:hover, .px-footer__legal a:hover, .px-footer__contact a:hover { color: var(--px-oro-l); }
.px-footer__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; font-size: 14px; color: rgba(245, 239, 228, .7); }
.px-footer__contact a { color: rgba(245, 239, 228, .85); }
.px-footer__contact span[aria-hidden] { color: var(--px-oro); }
.px-footer__bottom { width: 100%; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(201, 164, 100, .14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: rgba(245, 239, 228, .6); }
.px-footer__legal { gap: 22px; }
.px-footer__legal a { color: rgba(245, 239, 228, .6); }
@media (max-width: 640px) { .px-footer__bottom { justify-content: center; text-align: center; } }

/* ---------- Botón flotante de WhatsApp (solo si está configurado) ---------- */
.px-wa { position: fixed; right: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); z-index: 70; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 15px; border-radius: 28px; background: var(--px-verde); color: var(--px-crema); box-shadow: 0 18px 40px -18px rgba(10, 31, 23, .7), inset 0 0 0 1px rgba(201, 164, 100, .5); text-decoration: none; transition: background .3s, color .3s, box-shadow .3s; }
.px-wa:hover, .px-wa:focus-visible { background: var(--px-verde-2); color: var(--px-oro-xl); box-shadow: 0 22px 44px -18px rgba(10, 31, 23, .8), inset 0 0 0 1px var(--px-oro); }
.px-wa svg { flex-shrink: 0; color: #25d366; }
.px-wa__label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; transition: max-width .5s var(--px-ease); }
.px-wa:hover .px-wa__label, .px-wa:focus-visible .px-wa__label { max-width: 260px; }
.px-wa--left { right: auto; left: clamp(16px, 2.5vw, 28px); }
.px-nav-open .px-wa { display: none; }
@media print { .px-wa { display: none; } }

/* ---------- Animaciones de aparición ---------- */
.js .px-reveal.px-reveal--pending { opacity: 0; transform: translateY(26px); filter: blur(4px); }
.js .px-reveal { transition: opacity 1.1s var(--px-ease) var(--px-delay, 0ms), transform 1.2s var(--px-ease) var(--px-delay, 0ms), filter 1.1s ease var(--px-delay, 0ms), background .5s ease; }
@media (prefers-reduced-motion: reduce) {
	.js .px-reveal.px-reveal--pending { opacity: 1; transform: none; filter: none; }
	.px-hero__media img, .px-about__media img { transform: none !important; }
}

/* ---------- Editor ---------- */
.editor-styles-wrapper .px-reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
.editor-styles-wrapper .px-hero__media img, .editor-styles-wrapper .px-about__media img { position: static; height: auto; inset: auto; }
.editor-styles-wrapper .px-hero__media { position: relative; width: 100%; max-height: 360px; }
.editor-styles-wrapper .px-hero__badge { position: static; }
