/* ==========================================================================
   VERTEC · Precisión Industrial v1.0 — tokens y componentes base
   Fuente de verdad: VERTEC_Manual_Diseno_Precision_Industrial_v1.md
   Adaptaciones de producción aplicadas (manual §4, §5): cuerpo 16px,
   navegación/botones 14px, antetítulos 12px, ancho máximo 1280px.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	--bg: #F6F7F7;
	--panel: #FFFFFF;
	--ink: #13191D;
	--sub: #59646B;
	--line: #DBE0E2;
	--soft: #ECEFF0;
	--red: #E20026;      /* rojo exacto del logo VERTEC */
	--red-text: #E20026; /* rojo para texto pequeño (4,6:1 sobre --bg) */

	--photo-title: #FFFFFF;
	--photo-text: #E1E8EB;
	--photo-eyebrow: #F2BDC7;
	--photo-shade: linear-gradient(0deg, rgba(3, 10, 15, .88), transparent 65%);

	--font: Arial, Helvetica, sans-serif;
	--font-mono: "Courier New", Courier, monospace;

	--max: 1280px;
	--gutter: 5%;
	--header-h: 74px;
	--radius-button: 3px;
	--radius-block: 7px;
	--radius-media: 8px;
	--focus: 2px solid var(--ink);
	--ease: 180ms ease;

	color-scheme: light;
}

/* Sin JavaScript: respeta la preferencia del sistema */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #111619;
		--panel: #192024;
		--ink: #F4F6F6;
		--sub: #ABB7BE;
		--line: #344047;
		--soft: #202A30;
		--red: #E20026;
		--red-text: #FF3355; /* mismo tono del logo, aclarado para texto pequeño en oscuro (5,1:1) */
		color-scheme: dark;
	}
}

:root[data-theme="dark"] {
	--bg: #111619;
	--panel: #192024;
	--ink: #F4F6F6;
	--sub: #ABB7BE;
	--line: #344047;
	--soft: #202A30;
	--red: #E20026;
	--red-text: #FF3355;
	color-scheme: dark;
}

@media (max-width: 650px) {
	:root { --header-h: 66px; }
}

/* ---------- 2. Base ---------- */
html {
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

html body.vertec-site {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	transition: background-color var(--ease), color var(--ease);
}

body.vertec-site h1,
body.vertec-site h2,
body.vertec-site h3,
body.vertec-site h4,
body.vertec-site h5,
body.vertec-site h6 {
	font-family: var(--font);
	color: var(--ink);
}

body.vertec-site h1 { font-size: clamp(34px, 5.6vw, 64px); font-weight: 600; line-height: 1.04; letter-spacing: -1.8px; }
body.vertec-site h2 { font-size: clamp(28px, 3vw, 35px); font-weight: 500; line-height: 1.1; letter-spacing: -1.2px; }
body.vertec-site h3 { font-size: 19px; font-weight: 500; line-height: 1.2; letter-spacing: -.4px; }

@media (min-width: 651px) {
	body.vertec-site h1 { letter-spacing: -3px; line-height: 1.02; }
}

body.vertec-site a { color: inherit; }
body.vertec-site .entry-content a:not(.vx-button) {
	color: var(--red-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.vertec-site :focus-visible {
	outline: var(--focus);
	outline-offset: 3px;
}

body.vertec-site .site-content,
body.vertec-site .ast-container,
body.vertec-site #primary,
body.vertec-site .ast-separate-container .ast-article-single,
body.vertec-site .ast-separate-container .ast-article-post {
	background: transparent;
}

body.vertec-site .ast-container {
	max-width: var(--max);
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

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

.vx-icon { flex-shrink: 0; vertical-align: middle; }

/* ---------- 3. Elementos comunes ---------- */
.vx-eyebrow {
	margin: 0 0 12px;
	font-family: var(--font);
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1.5 !important;
	letter-spacing: 1.8px !important;
	text-transform: uppercase;
	color: var(--red-text) !important;
}

.vx-button,
body.vertec-site .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-height: 44px;
	padding: 13px 22px;
	border: 1px solid var(--ink);
	border-radius: var(--radius-button);
	background: var(--ink);
	color: var(--bg) !important;
	font-family: var(--font);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: .2px;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	transition: opacity var(--ease), background-color var(--ease), color var(--ease);
}
.vx-button:hover,
body.vertec-site .wp-block-button__link:hover { opacity: .86; }
.vx-button:active { opacity: .72; }
.vx-button--small { min-height: 40px; padding: 9px 16px; gap: 10px; }

.vx-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: var(--ink);
	text-decoration: none;
}

/* ---------- 4. Encabezado ---------- */
.vx-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
	transition: background-color var(--ease), border-color var(--ease);
}

.vx-header__inner {
	max-width: var(--max);
	height: var(--header-h);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: flex;
	align-items: center;
	gap: 24px;
}

.vx-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	text-decoration: none !important;
	color: var(--ink) !important;
}
.vx-brand__plate {
	display: grid;
	place-items: center;
	width: 56px;
	height: 44px;
	background: #FFFFFF; /* soporte blanco en ambos temas (manual §6) */
	border-radius: 2px;
}
.vx-brand__plate img { width: 52px; height: auto; display: block; }
.vx-brand__text { display: flex; flex-direction: column; line-height: 1; }
.vx-brand__text strong { font-size: 20px; font-weight: 700; letter-spacing: 1.5px; }
.vx-brand__text small { margin-top: 5px; font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sub); }

.vx-nav { margin-left: auto; }
.vx-nav__list {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.vx-nav__list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 14px;
	color: var(--sub) !important;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color var(--ease), border-color var(--ease);
}
.vx-nav__list a:hover { color: var(--ink) !important; }
.vx-nav__list a[aria-current="page"],
.vx-nav__list .current-menu-item > a {
	color: var(--ink) !important;
	border-bottom-color: var(--red);
}

.vx-header__actions { display: flex; align-items: center; gap: 12px; }

.vx-theme-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 30px;
	background: var(--panel);
	color: var(--ink);
	font-family: var(--font);
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	transition: border-color var(--ease), background-color var(--ease), color var(--ease);
}
.vx-theme-toggle:hover { border-color: var(--sub); }

/* Astra aplica su color de botón en :hover/:focus; se restablecen los tokens del sistema */
body.vertec-site .vx-theme-toggle,
body.vertec-site .vx-theme-toggle:hover,
body.vertec-site .vx-theme-toggle:focus,
body.vertec-site .vx-menu-toggle,
body.vertec-site .vx-menu-toggle:hover,
body.vertec-site .vx-menu-toggle:focus {
	background: var(--panel);
	color: var(--ink);
	box-shadow: none;
}

.vx-menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	border-radius: var(--radius-button);
	background: var(--panel);
	color: var(--ink);
	cursor: pointer;
}
.vx-menu-toggle__close { display: none; }
.vx-menu-toggle[aria-expanded="true"] .vx-menu-toggle__open { display: none; }
.vx-menu-toggle[aria-expanded="true"] .vx-menu-toggle__close { display: inline-flex; }

/* Panel móvil */
.vx-mobile-panel {
	border-top: 1px solid var(--line);
	background: var(--bg);
	padding: 8px var(--gutter) 28px;
	max-height: calc(100vh - var(--header-h));
	overflow-y: auto;
}
.vx-mobile-panel[hidden] { display: none; }
.vx-mobile-panel__list { list-style: none; margin: 0; padding: 0; }
.vx-mobile-panel__list li { border-bottom: 1px solid var(--line); }
.vx-mobile-panel__list a {
	display: flex;
	align-items: center;
	min-height: 52px;
	font-size: 18px;
	color: var(--ink) !important;
	text-decoration: none;
}
.vx-mobile-panel__list a[aria-current="page"] { color: var(--red-text) !important; }
.vx-mobile-panel__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 24px; }
.vx-mobile-panel__contact .vx-button { margin-bottom: 10px; }

/* Punto de quiebre de navegación: con 5 enlaces, el menú completo requiere ~960px */
@media (max-width: 960px) {
	.vx-nav,
	.vx-header__cta { display: none; }
	.vx-menu-toggle { display: inline-flex; }
	.vx-header__actions { margin-left: auto; }
}
@media (min-width: 961px) {
	.vx-mobile-panel { display: none !important; }
}
@media (max-width: 650px) {
	.vx-header__inner { gap: 12px; }
	.vx-brand__text strong { font-size: 17px; }
	.vx-brand__text small { display: none; } /* manual §4: ocultar el lema antes que reducirlo */
	.vx-theme-toggle__label { display: none; }
	.vx-theme-toggle { width: 44px; padding: 0; justify-content: center; }
}

/* ---------- 5. Pie de página ---------- */
.vx-footer {
	margin-top: 64px;
	background: var(--bg); /* manual §7: el pie mantiene el fondo principal */
	border-top: 1px solid var(--line);
	color: var(--ink);
}
.vx-footer__grid {
	max-width: var(--max);
	margin: 0 auto;
	padding: 48px var(--gutter) 40px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
	gap: 32px;
}
.vx-footer__logo {
	display: inline-block;
	padding: 10px 12px;
	background: #FFFFFF;
	border-radius: 2px;
}
.vx-footer__logo img { display: block; width: 150px; height: auto; }
.vx-footer__brand p { margin: 16px 0 0; max-width: 300px; font-size: 14px; line-height: 1.6; color: var(--sub); }
.vx-footer__list { list-style: none; margin: 0; padding: 0; }
.vx-footer__list li { margin: 0; }
.vx-footer__list a,
.vx-footer__list span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	font-size: 14px;
	color: var(--ink) !important;
	text-decoration: none;
	overflow-wrap: anywhere;
}
.vx-footer__list a:hover { color: var(--red-text) !important; }
.vx-footer__list .vx-icon { color: var(--sub); }

.vx-social {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	font-size: 14px;
	color: var(--ink) !important;
	text-decoration: none;
}
.vx-social .vx-icon {
	width: 44px; height: 44px;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--panel);
	transition: border-color var(--ease), color var(--ease);
}
.vx-social:hover .vx-icon { color: var(--red); border-color: var(--red); }

.vx-footer__bottom {
	max-width: var(--max);
	margin: 0 auto;
	padding: 20px var(--gutter) 28px;
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	font-size: 12px;
	letter-spacing: .5px;
	color: var(--sub);
}
.vx-footer__bottom a { color: var(--sub) !important; }

@media (max-width: 960px) {
	.vx-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.vx-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
	.vx-footer { padding-bottom: 72px; } /* espacio para el botón de WhatsApp */
}

/* ---------- 6. Botón flotante de WhatsApp ---------- */
.vx-whatsapp {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 18px 0 14px;
	border-radius: 30px;
	background: var(--ink);
	color: var(--bg) !important;
	font-size: 14px;
	text-decoration: none !important;
	border: 1px solid var(--ink);
	transition: opacity var(--ease), transform var(--ease);
}
.vx-whatsapp:hover { opacity: .9; }
@media (max-width: 650px) {
	.vx-whatsapp { width: 56px; height: 56px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
	.vx-whatsapp__label { display: none; }
}

/* ---------- 7. Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}
}
.vx-footer__col .vx-social + .vx-social { margin-top: 8px; }
.vx-footer__col:last-child { display: flex; flex-direction: column; align-items: flex-start; }

/* ---------- v1.2.1: logo blanco en modo oscuro, horario en el pie ---------- */
.vx-brand__plate .vx-brand__logo--white { display: none; }
:root[data-theme="dark"] .vx-brand__plate { background: transparent; }
:root[data-theme="dark"] .vx-brand__plate .vx-brand__logo--color { display: none; }
:root[data-theme="dark"] .vx-brand__plate .vx-brand__logo--white { display: block; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) .vx-brand__plate { background: transparent; }
	:root:not([data-theme]) .vx-brand__plate .vx-brand__logo--color { display: none; }
	:root:not([data-theme]) .vx-brand__plate .vx-brand__logo--white { display: block; }
}
.vx-footer__emergency { padding-left: 28px; color: var(--red-text) !important; font-weight: 600; }

/* ==========================================================================
   v1.3 · Páginas internas (servicios)
   ========================================================================== */
body.vx-designed .site-content > .ast-container { max-width: none; padding: 0; display: block; }
body.vx-designed .entry-content > * { margin-top: 0; margin-bottom: 0; }
body.vx-designed .entry-content { margin: 0; }
body.vx-designed article.page { margin: 0; padding: 0; }
body.vx-designed .vx-footer { margin-top: 0; }
.vx-page { background: var(--bg); color: var(--ink); }
.vx-page p { margin: 0; }
.vx-page h1, .vx-page h2, .vx-page h3 { margin: 0; }

/* Migas de pan */
.vx-crumbs { max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter) 0; font-size: 13px; color: var(--sub); }
.vx-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vx-crumbs li { margin: 0; }
.vx-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.vx-crumbs a { color: var(--sub) !important; text-decoration: none; }
.vx-crumbs a:hover { color: var(--ink) !important; }
.vx-crumbs [aria-current] { color: var(--ink); }

/* Cabecera de página */
.vx-phero { max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter) 56px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; border-bottom: 1px solid var(--line); }
.vx-phero h1 { font-size: clamp(34px, 4.6vw, 54px) !important; line-height: 1.04 !important; margin: 0 0 20px !important; }
.vx-phero h1 em { font-style: normal; color: var(--red); }
.vx-phero__lead { font-size: 18px !important; line-height: 1.6 !important; color: var(--sub); max-width: 640px; }
.vx-phero__aside { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.vx-phero__aside p { font-size: 14px; color: var(--sub); }
.vx-phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.vx-button--line { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.vx-button--line:hover { border-color: var(--ink); opacity: 1; }

/* Índice de servicios */
.vx-svc-nav { max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter); display: flex; flex-wrap: wrap; gap: 8px 10px; border-bottom: 1px solid var(--line); }
.vx-svc-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 30px; font-size: 14px; color: var(--ink) !important; text-decoration: none !important; background: var(--panel); }
.vx-svc-nav a:hover { border-color: var(--ink); }
.vx-svc-area { max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 12px); }
.vx-svc-area__index { display: block; font: 12px var(--font-mono); letter-spacing: 1px; color: var(--red-text); margin-bottom: 16px; }
.vx-svc-area h2 { margin-bottom: 14px !important; }
.vx-svc-area__intro { font-size: 16px; line-height: 1.65; color: var(--sub); }
.vx-svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.vx-svc-list li { margin: 0; border-bottom: 1px solid var(--line); }
.vx-svc-list a, .vx-svc-list .vx-svc-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; align-items: center; padding: 18px 0; text-decoration: none !important; color: var(--ink) !important; }
.vx-svc-list h3 { font-size: 19px !important; font-weight: 500; }
.vx-svc-list p { grid-column: 1; font-size: 15px; line-height: 1.55; color: var(--sub); }
.vx-svc-list .vx-svc-go { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--sub); white-space: nowrap; }
.vx-svc-list a:hover h3 { color: var(--red-text); }
.vx-svc-list a:hover .vx-svc-go { color: var(--ink); }
@media (max-width: 860px) {
	.vx-phero, .vx-svc-area { grid-template-columns: 1fr; gap: 24px; }
	.vx-svc-area { padding-block: 44px; }
}
@media (max-width: 520px) {
	.vx-svc-list .vx-svc-go span { display: none; }
}

/* Ficha de servicio: secciones de texto */
.vx-prose { max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; border-bottom: 1px solid var(--line); }
.vx-prose__body { display: grid; gap: 18px; max-width: 72ch; }
.vx-prose__body p, .vx-prose__body li { font-size: 17px; line-height: 1.7; color: var(--sub); }
.vx-prose__body strong { color: var(--ink); font-weight: 600; }
.vx-prose__body ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
@media (max-width: 860px) { .vx-prose { grid-template-columns: 1fr; gap: 20px; padding-block: 48px; } }

/* Tabla de componentes */
.vx-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-block); background: var(--panel); }
.vx-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.vx-table th, .vx-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.vx-table th { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--sub); font-weight: 600; background: var(--soft); }
.vx-table td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
.vx-table td { color: var(--sub); }
.vx-table tr:last-child td { border-bottom: 0; }

/* Animación de armado (scroll) */
.vx-assembly { max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter); border-bottom: 1px solid var(--line); }
.vx-assembly__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
.vx-assembly__stage { position: sticky; top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px) + 24px); align-self: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-block); padding: 20px; }
.vx-assembly__stage svg { width: 100%; height: auto; display: block; color: var(--ink); }
.vx-assembly__caption { margin-top: 10px; font: 11px var(--font-mono); letter-spacing: 1px; color: var(--sub); text-transform: uppercase; }
.vx-assembly__steps { list-style: none; margin: 0; padding: 0; }
.vx-assembly__steps li { margin: 0; min-height: 42vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); padding: 28px 0; opacity: .45; transition: opacity var(--ease); }
.vx-assembly__steps li:last-child { min-height: 30vh; }
.vx-assembly__steps li.is-active { opacity: 1; }
.vx-assembly__steps span { font: 12px var(--font-mono); letter-spacing: 1px; color: var(--red-text); }
.vx-assembly__steps h3 { font-size: 22px !important; margin: 10px 0 !important; }
.vx-assembly__steps p { font-size: 16px; line-height: 1.65; color: var(--sub); }
/* Piezas del dibujo */
.vx-asm .asm-part { transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.vx-asm .asm-label { font: 12px var(--font-mono); fill: var(--sub); letter-spacing: .5px; }
.vx-asm .asm-red { stroke: var(--red); }
.vx-asm .asm-redfill { fill: var(--red); }
.vx-asm .asm-cable { stroke-dasharray: 1000; transition: stroke-dashoffset 1.1s ease; }
.vx-assembly.is-ready .asm-part { opacity: 0; }
.vx-assembly.is-ready .asm-p1 { transform: translateY(-14px); }
.vx-assembly.is-ready .asm-p2 { transform: translateY(-60px); }
.vx-assembly.is-ready .asm-p4 { transform: translateX(40px); }
.vx-assembly.is-ready .asm-cable { stroke-dashoffset: 1000; opacity: 1; }
.vx-assembly.is-ready.s1 .asm-p1, .vx-assembly.is-ready.s2 .asm-p2, .vx-assembly.is-ready.s3 .asm-p3,
.vx-assembly.is-ready.s4 .asm-p4, .vx-assembly.is-ready.s5 .asm-p5 { opacity: 1; transform: none; }
.vx-assembly.is-ready.s3 .asm-cable { stroke-dashoffset: 0; }
@media (max-width: 860px) {
	.vx-assembly__grid { grid-template-columns: 1fr; gap: 0; }
	.vx-assembly__stage { top: calc(var(--header-h) + 8px); z-index: 2; padding: 12px; }
	.vx-assembly__steps li { min-height: 55vh; }
}
@media (prefers-reduced-motion: reduce) {
	.vx-assembly__steps li { opacity: 1; min-height: 0; }
	.vx-assembly__stage { position: relative; top: auto; }
}
@media (max-width: 600px) { .vx-asm .asm-labels { display: none; } }





























/* ==========================================================================
   v1.3 — Páginas internas (servicios). Agregado al final de vertec.css.
   ========================================================================== */
body.vx-designed:not(.vx-front) .site-content > .ast-container { max-width: none; padding: 0; display: block; }
body.vx-designed:not(.vx-front) .entry-content > * { margin-top: 0; margin-bottom: 0; }
body.vx-designed:not(.vx-front) .entry-content, body.vx-designed:not(.vx-front) article.page { margin: 0; padding: 0; }
body.vx-designed:not(.vx-front) .vx-footer { margin-top: 0; }
.vx-pg { background: var(--bg); color: var(--ink); }
.vx-pg p, .vx-pg h1, .vx-pg h2, .vx-pg h3, .vx-pg ul, .vx-pg ol { margin: 0; }
.vx-pg .vx-wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.vx-pg-sec { padding-block: 64px; }
.vx-pg-sec + .vx-pg-sec { padding-top: 0; }
.vx-pg-sec__head { margin-bottom: 32px; max-width: 760px; }
.vx-pg-sec__head h2 { margin-top: 6px; }
.vx-pg-sec__head p:not(.vx-eyebrow) { margin-top: 14px; font-size: 17px; line-height: 1.65; color: var(--sub); }

/* Migas de pan */
.vx-crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0 !important; margin: 0 0 28px !important; font-size: 13px; color: var(--sub); }
.vx-crumbs li { margin: 0; }
.vx-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.vx-crumbs a { color: var(--sub) !important; text-decoration: none !important; }
.vx-crumbs a:hover { color: var(--ink) !important; }
.vx-crumbs [aria-current] { color: var(--ink); }

/* Cabecera de página */
.vx-pg-hero { padding-block: 44px 56px; border-bottom: 1px solid var(--line); }
.vx-pg-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.vx-pg-hero__grid--single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.vx-pg-hero h1 { font-size: clamp(32px, 4.4vw, 52px) !important; line-height: 1.05 !important; letter-spacing: -1.6px !important; margin: 10px 0 20px !important; text-wrap: balance; }
.vx-pg-hero__lead { font-size: 18px; line-height: 1.65; color: var(--sub); max-width: 62ch; }
.vx-pg-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.vx-pg-hero__photo { position: relative; aspect-ratio: 4 / 5; max-height: 520px; border-radius: var(--radius-media); overflow: hidden; background: var(--soft); width: 100%; }
.vx-pg-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vx-button--ghost { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.vx-button--ghost:hover { border-color: var(--ink); opacity: 1; }

/* Navegación rápida por áreas */
.vx-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 32px 0 0 !important; }
.vx-chips li { margin: 0; }
.vx-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 30px; font-size: 14px; color: var(--ink) !important; text-decoration: none !important; background: var(--panel); }
.vx-chips a:hover { border-color: var(--ink); }

/* Respuesta directa (AEO) */
.vx-answer { border-left: 3px solid var(--red); background: var(--panel); padding: 24px 28px; border-radius: 0 var(--radius-block) var(--radius-block) 0; max-width: 860px; }
.vx-answer h2 { font-size: 20px !important; letter-spacing: -.3px !important; margin-bottom: 10px !important; }
.vx-answer p { font-size: 17px; line-height: 1.7; color: var(--ink); }
.vx-answer p + p { margin-top: 12px; }

/* Índice de servicios */
.vx-area-block { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding-block: 48px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.vx-area-block__head .vx-area__index { display: block; font: 12px var(--font-mono); letter-spacing: 1px; color: var(--red-text); margin-bottom: 18px; }
.vx-area-block__head h2 { font-size: clamp(26px, 2.6vw, 32px) !important; }
.vx-area-block__head p { margin-top: 14px; font-size: 16px; line-height: 1.65; color: var(--sub); }
.vx-area-block__head .vx-button { margin-top: 22px; }
.vx-svc-list { list-style: none; padding: 0 !important; margin: 0 !important; border-top: 1px solid var(--line); }
.vx-svc-list li { margin: 0; border-bottom: 1px solid var(--line); }
.vx-svc-list a, .vx-svc-list .vx-svc-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; align-items: center; padding: 18px 4px; text-decoration: none !important; color: var(--ink) !important; }
.vx-svc-list strong { font-size: 18px; font-weight: 500; letter-spacing: -.2px; }
.vx-svc-list span { grid-column: 1; font-size: 15px; line-height: 1.55; color: var(--sub); }
.vx-svc-list .vx-icon { grid-column: 2; grid-row: 1 / span 2; color: var(--sub); transition: transform var(--ease), color var(--ease); }
.vx-svc-list a:hover .vx-icon { color: var(--red); transform: translate(2px, -2px); }
.vx-svc-list a:hover strong { color: var(--red-text); }
.vx-svc-list .vx-lang { font-style: normal; color: var(--sub); font-size: 14px; }

/* Tarjetas de tipos de sistema */
.vx-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0 !important; margin: 0 !important; }
.vx-types li { margin: 0; border-top: 1px solid var(--line); padding-top: 18px; min-width: 0; }
.vx-types h3 { font-size: 19px !important; margin-bottom: 10px !important; }
.vx-types p { font-size: 15px; line-height: 1.6; color: var(--sub); }

/* Pasos del proceso */
.vx-steps { list-style: none; padding: 0 !important; margin: 0 !important; counter-reset: vxstep; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.vx-steps li { counter-increment: vxstep; margin: 0; border-top: 1px solid var(--line); padding-top: 18px; min-width: 0; }
.vx-steps li::before { content: counter(vxstep, decimal-leading-zero); display: block; font: 12px var(--font-mono); color: var(--red-text); letter-spacing: 1px; margin-bottom: 14px; }
.vx-steps h3 { font-size: 17px !important; margin-bottom: 8px !important; }
.vx-steps p { font-size: 15px; line-height: 1.6; color: var(--sub); }

/* Animación de armado */
.vx-assemble { position: relative; }
.vx-assemble__stage { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-block); overflow: hidden; }
.vx-assemble__fig { padding: 28px 24px 8px; color: var(--ink); }
.vx-assemble__fig svg { display: block; width: 100%; height: auto; overflow: visible; }
.vx-assemble__fig .ln { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.vx-assemble__fig .ln-thin { fill: none; stroke: var(--sub); stroke-width: 1.2; }
.vx-assemble__fig .ln-dim { fill: none; stroke: var(--sub); stroke-width: 1; stroke-dasharray: 4 4; }
.vx-assemble__fig .fill-soft { fill: var(--soft); stroke: currentColor; stroke-width: 2; }
.vx-assemble__fig .fill-panel { fill: var(--panel); stroke: currentColor; stroke-width: 2; }
.vx-assemble__fig .cable { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.vx-assemble__fig .badge circle { fill: var(--ink); }
.vx-assemble__fig .badge text { fill: var(--bg); font: 600 15px var(--font); text-anchor: middle; dominant-baseline: central; }
.vx-assemble__fig .dim-text { fill: var(--sub); font: 13px var(--font-mono); text-anchor: middle; }
.vx-assemble__progress { height: 2px; background: var(--line); }
.vx-assemble__progress i { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: left; }
.vx-legend { list-style: none; padding: 0 !important; margin: 0 !important; counter-reset: vxleg; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; padding: 20px 28px 28px !important; }
.vx-legend li { counter-increment: vxleg; margin: 0; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 12px; padding-block: 12px; border-top: 1px solid var(--line); }
.vx-legend li::before { content: counter(vxleg); grid-row: 1 / span 2; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.vx-legend strong { font-size: 16px; font-weight: 500; }
.vx-legend span { font-size: 14px; line-height: 1.55; color: var(--sub); }
.vx-assemble__hint { font: 12px var(--font-mono); letter-spacing: 1px; color: var(--sub); text-transform: uppercase; padding: 0 28px 20px; }

/* Con JavaScript: la figura queda fija mientras se recorre la sección */
.vx-assemble--js { height: 230vh; }
.vx-assemble--js .vx-assemble__sticky { position: sticky; top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px) + 16px); }
.vx-assemble--js .vx-legend li { transition: opacity var(--ease); }
.vx-assemble--js .vx-legend li.is-pending { opacity: .35; }
.vx-assemble:not(.vx-assemble--js) .vx-assemble__hint, .vx-assemble:not(.vx-assemble--js) .vx-assemble__progress { display: none; }

/* Preguntas frecuentes (también en páginas internas) */
.vx-faq__list { border-top: 1px solid var(--line); max-width: 880px; }
.vx-faq__item { border-bottom: 1px solid var(--line); }
.vx-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding-block: 14px; }
.vx-faq__item summary::-webkit-details-marker { display: none; }
.vx-faq__item summary h3 { font-size: 18px !important; margin: 0 !important; }
.vx-faq__item summary::after { content: "+"; flex-shrink: 0; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--red); font-size: 20px; line-height: 1; }
.vx-faq__item[open] summary::after { content: "−"; }
.vx-faq__item p { padding: 0 52px 22px 0; font-size: 16px; line-height: 1.7; color: var(--sub); max-width: 72ch; }

/* Banda de contacto (páginas internas) */
.vx-band-cta { position: relative; overflow: hidden; background: #0B0F11; isolation: isolate; }
.vx-band-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: .5; z-index: -2; }
.vx-band-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 15, 17, .95) 0%, rgba(11, 15, 17, .78) 45%, rgba(11, 15, 17, .25) 100%); }
.vx-band-cta__inner { max-width: var(--max); margin: 0 auto; padding: 80px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.vx-band-cta h2 { color: #FFFFFF !important; font-size: clamp(28px, 3vw, 34px) !important; }
.vx-band-cta p { margin-top: 12px !important; font-size: 16px; color: #E1E8EB; max-width: 520px; }
.vx-band-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vx-band-cta .vx-button { background: #FFFFFF; color: #13191D !important; border-color: #FFFFFF; }
.vx-band-cta .vx-button--ghost { background: transparent; color: #FFFFFF !important; border-color: rgba(255, 255, 255, .45); }
.vx-band-cta :focus-visible { outline-color: #FFFFFF; }

@media (max-width: 1100px) {
	.vx-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
	.vx-types { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 860px) {
	.vx-pg-hero__grid { grid-template-columns: 1fr; gap: 32px; }
	.vx-pg-hero__photo { aspect-ratio: 16 / 10; max-height: 360px; }
	.vx-area-block { grid-template-columns: 1fr; gap: 24px; }
	.vx-legend { grid-template-columns: 1fr; }
	.vx-band-cta__inner { flex-direction: column; align-items: flex-start; padding-block: 60px; }
	.vx-band-cta::before { background: linear-gradient(0deg, rgba(11, 15, 17, .95) 0%, rgba(11, 15, 17, .7) 100%); }
}
@media (max-width: 650px) {
	.vx-pg-sec { padding-block: 44px; }
	.vx-steps, .vx-types { grid-template-columns: 1fr; }
	.vx-pg-hero__lead { font-size: 17px; }
	.vx-faq__item p { padding-right: 0; }
	.vx-assemble__fig { padding: 18px 10px 4px; }
	.vx-legend { padding: 16px 18px 20px !important; }
	.vx-assemble--js { height: 200vh; }
}
@media (prefers-reduced-motion: reduce) {
	.vx-assemble--js { height: auto; }
	.vx-assemble--js .vx-assemble__sticky { position: static; }
}

/* v1.3.1 — Comparación, especificaciones, galerías y normativa */
.vx-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vx-note { margin-top: 18px !important; font-size: 14px; line-height: 1.6; color: var(--sub); max-width: 860px; }
.vx-h3 { font-size: 21px !important; letter-spacing: -.3px !important; margin-bottom: 18px !important; }
.vx-p { font-size: 16px; line-height: 1.7; color: var(--sub); }
.vx-compare { margin-top: 32px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-block); background: var(--panel); }
.vx-compare table { width: 100%; min-width: 620px; border-collapse: collapse; margin: 0; font-size: 15px; border: 0; }
.vx-compare th, .vx-compare td { padding: 14px 18px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.vx-compare thead th { font-size: 12px; font-family: var(--font-mono); letter-spacing: .8px; text-transform: uppercase; color: var(--sub); background: var(--soft); }
.vx-compare tbody th { font-weight: 500; color: var(--ink); width: 26%; }
.vx-compare td { color: var(--sub); }
.vx-compare tbody tr:last-child > * { border-bottom: 0; }
.vx-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; margin-top: 56px; align-items: start; }
.vx-split--photo { margin-top: 0; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.vx-split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vx-types--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vx-types--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
.vx-types h4 { font-size: 17px !important; font-weight: 500; margin: 0 0 8px !important; }
.vx-specs { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-block); background: var(--panel); padding: 6px 22px; }
.vx-specs div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.vx-specs div:last-child { border-bottom: 0; }
.vx-specs dt { font-size: 14px; color: var(--sub); }
.vx-specs dd { margin: 0; font-size: 15px; font-weight: 500; color: var(--ink); }
.vx-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.vx-gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.vx-gallery--3 { margin-top: 40px; }
.vx-gallery figure { margin: 0; }
.vx-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-media); background: var(--soft); }
.vx-gallery--2 img, .vx-gallery--3 img { aspect-ratio: 3 / 4; }
.vx-gallery figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--sub); }
.vx-steps + .vx-gallery { margin-top: 40px; }
.vx-gallery + .vx-split { margin-top: 56px; }
.vx-checklist { list-style: none; padding: 0 !important; margin: 0 !important; }
.vx-checklist li { position: relative; margin: 0; padding: 12px 0 12px 26px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.55; color: var(--ink); }
.vx-checklist li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 10px; height: 10px; border-radius: 2px; background: var(--red); }
.vx-norms { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.vx-norms div { padding-block: 18px; border-top: 1px solid var(--line); }
.vx-norms dt { font: 600 14px var(--font-mono); letter-spacing: .5px; color: var(--red-text); margin-bottom: 8px; }
.vx-norms dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sub); }
@media (max-width: 1100px) {
	.vx-types--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.vx-split, .vx-split--photo, .vx-split--even { grid-template-columns: 1fr; gap: 36px; }
	.vx-norms { grid-template-columns: 1fr; }
	.vx-types--3 { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
	.vx-gallery, .vx-gallery--2 { grid-template-columns: 1fr; }
	.vx-gallery img { aspect-ratio: 4 / 3 !important; }
	.vx-types--2 { grid-template-columns: 1fr; }
	.vx-specs div { grid-template-columns: 1fr; gap: 2px; }
	.vx-compare th, .vx-compare td { padding: 12px 14px; }
}

/* v1.3.1 — Leyenda compacta durante la animación: la figura cabe en pantalla */
.vx-assemble--js .vx-legend li { padding-block: 9px; align-items: center; }
.vx-assemble--js .vx-legend li span { display: none; }
.vx-assemble--js .vx-legend li.is-current span { display: block; }
.vx-assemble--js .vx-legend li.is-current::before { background: var(--red); color: #fff; }
@media (max-width: 860px) {
	.vx-assemble--js .vx-legend { padding: 10px 0 18px !important; margin: 0 18px !important; border-top: 1px solid var(--line); }
	.vx-assemble--js .vx-legend li { display: none; border-top: 0; }
	.vx-assemble--js .vx-legend li.is-current { display: grid; min-height: 96px; align-content: start; }
}

.vx-assemble--js .vx-legend li.is-current { opacity: 1; }
.vx-legend li:nth-child(1)::before { content: "1"; }
.vx-legend li:nth-child(2)::before { content: "2"; }
.vx-legend li:nth-child(3)::before { content: "3"; }
.vx-legend li:nth-child(4)::before { content: "4"; }
.vx-legend li:nth-child(5)::before { content: "5"; }
.vx-legend li:nth-child(6)::before { content: "6"; }
.vx-legend li:nth-child(7)::before { content: "7"; }
.vx-legend li:nth-child(8)::before { content: "8"; }
.vx-legend li:nth-child(9)::before { content: "9"; }
.vx-legend li:nth-child(10)::before { content: "10"; }

/* v1.3.1 — Render por capas, números seleccionables y configuraciones */
.vx-assemble--js { height: 210vh; }
.vx-assemble__label { font: 12px var(--font-mono); letter-spacing: 1px; text-transform: uppercase; color: var(--sub); margin: 0 0 22px !important; }
.vx-cad { position: relative; width: 100%; aspect-ratio: 1632 / 662; }
.vx-cad__layer { position: absolute; display: block; height: auto; max-width: none; filter: invert(.92); will-change: transform, opacity; }
.vx-cad__layer--red { filter: none; }
:root[data-theme="dark"] .vx-cad__layer:not(.vx-cad__layer--red) { filter: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vx-cad__layer:not(.vx-cad__layer--red) { filter: none; } }
.vx-cad__pin { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 2px solid var(--panel); background: var(--ink); color: var(--bg); font: 600 14px/1 var(--font); display: grid; place-items: center; cursor: pointer; transition: background var(--ease), transform var(--ease); z-index: 2; }
.vx-cad__pin:hover { transform: translate(-50%, -50%) scale(1.12); }
.vx-cad__pin:focus-visible { outline: var(--focus); outline-offset: 2px; }
.vx-cad__pin.is-current { background: var(--red); color: #fff; }
.vx-legend li { grid-template-columns: 28px minmax(0, 1fr); }
.vx-legend li > button { all: unset; display: block; cursor: pointer; min-width: 0; }
.vx-legend li > button:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 2px; }
.vx-legend li > button strong { display: block; }
.vx-legend li > button span { display: block; margin-top: 2px; }
.vx-legend li.is-current::before { background: var(--red); color: #fff; }
.vx-assemble--js .vx-legend li.is-current { opacity: 1; }

.vx-pg-sec__head--sub { margin-top: 64px; margin-bottom: 24px; }
.vx-pg-sec__head--sub .vx-h3 { margin-bottom: 0 !important; }
.vx-cfg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0 !important; margin: 0 !important; }
.vx-cfg li { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-block); padding: 20px 20px 24px; min-width: 0; }
.vx-cfg__fig { display: block; width: 100%; height: auto; aspect-ratio: 240 / 140; margin-bottom: 18px; color: var(--ink); background: var(--soft); border-radius: 5px; padding: 10px; box-sizing: border-box; }
.vx-cfg__fig .ln { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vx-cfg__fig .ln-thin { fill: none; stroke: var(--sub); stroke-width: 1.2; }
.vx-cfg__fig .cab { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; }
.vx-cfg h4 { font-size: 18px !important; font-weight: 500; margin: 0 0 8px !important; }
.vx-cfg p { font-size: 15px; line-height: 1.6; color: var(--sub); }

.vx-showcase { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; margin-top: 56px; align-items: start; }
.vx-showcase__photo { margin: 0; }
.vx-showcase__photo img { display: block; width: 100%; height: auto; border-radius: var(--radius-media); background: var(--soft); }
.vx-showcase__specs { display: grid; gap: 20px; }
.vx-spec-card h4 { font: 600 13px var(--font-mono) !important; letter-spacing: .6px; color: var(--red-text); margin: 0 0 10px !important; text-transform: uppercase; }
.vx-showcase + .vx-gallery { margin-top: 20px; }
@media (max-width: 1100px) {
	.vx-cfg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.vx-showcase { grid-template-columns: 1fr; }
	.vx-assemble--js { height: 190vh; }
	.vx-cad__pin { width: 22px; height: 22px; font-size: 11px; border-width: 1.5px; }
}
@media (max-width: 650px) {
	.vx-cfg { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.vx-assemble--js { height: auto; }
}

/* v1.3.2 — Configuraciones con fotos, línea vertical, datos técnicos y banner */
.vx-cfg--photo { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vx-cfg__photo { margin: 0 0 18px; }
.vx-cfg__photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 5px; background: var(--soft); }
.vx-vertical { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 48px; margin-top: 56px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-block); padding: 32px; }
.vx-vertical__fig { display: flex; justify-content: center; align-items: center; background: var(--soft); border-radius: 5px; padding: 24px 0; }
.vx-vertical__render { display: block; height: 520px; width: auto; max-width: none; filter: invert(.92); }
:root[data-theme="dark"] .vx-vertical__render { filter: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vx-vertical__render { filter: none; } }
.vx-vertical__body .vx-h3 { margin-top: 6px !important; }
.vx-vertical__body .vx-p { margin-bottom: 20px; }
.vx-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.vx-spec-grid + .vx-gallery { margin-top: 48px; }
.vx-banner { margin: 64px 0 0; position: relative; width: 100%; aspect-ratio: 2 / 1; max-height: 78vh; overflow: hidden; background: #111; }
.vx-banner img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
@media (max-width: 1100px) {
	.vx-cfg--photo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.vx-vertical { grid-template-columns: 1fr; gap: 28px; padding: 22px; }
	.vx-vertical__render { height: 380px; }
	.vx-spec-grid { grid-template-columns: 1fr; }
	.vx-banner { aspect-ratio: 4 / 3; }
}
@media (max-width: 650px) {
	.vx-cfg--photo { grid-template-columns: 1fr; }
}

/* v1.3.3 — Espacios confinados: etiquetas, esquema SVG y bloques en dos columnas */
.vx-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 20px 0 0 !important; }
.vx-tags li { margin: 0; padding: 9px 14px; border: 1px solid var(--line); border-radius: 30px; background: var(--panel); font-size: 15px; color: var(--ink); }
.vx-ec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.vx-ec-grid h2 { margin-top: 6px !important; }
.vx-ec-grid--photo { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; }
.vx-ec-grid--photo .vx-checklist { margin-top: 24px !important; }
.vx-ec-note { margin-top: 20px !important; }
.vx-ec-note a { color: var(--red-text) !important; }
.vx-cad--svg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vx-assemble__fig .readout { fill: var(--ink); font: 600 15px var(--font-mono); }
.vx-assemble__fig .hose { fill: none; stroke: var(--sub); stroke-width: 11; stroke-linecap: round; opacity: .6; }
@media (max-width: 860px) {
	.vx-ec-grid, .vx-ec-grid--photo { grid-template-columns: 1fr; gap: 36px; }
}
.vx-cad--ec { aspect-ratio: 1600 / 1000; }
.vx-cad--ec .ln { stroke-width: 3; }
.vx-cad--ec .ln-thin { stroke-width: 1.8; }
.vx-cad--ec .cable { stroke-width: 4; }
.vx-cad--ec .hose { stroke-width: 16; }
.vx-cad--ec .readout { font-size: 22px; }
.vx-cad--ec .readout.tick { fill: var(--red-text); }
.vx-cad--ec .ln-dim { stroke-width: 1.6; }
.vx-ec-photo { margin: 0; }
.vx-ec-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius-media); background: var(--soft); }
.vx-assemble__fig .vx-find { fill: none; stroke: var(--red); stroke-width: 4; }
.vx-cad--ec .readout.sm { font-size: 19px; font-weight: 500; }
.vx-cad--ec .vx-route { stroke-width: 1.6; stroke: var(--sub); opacity: .55; }
.vx-pg-hero__grid--wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.vx-pg-hero__photo--wide { aspect-ratio: 16 / 10; max-height: none; }
@media (max-width: 860px) { .vx-pg-hero__grid--wide { grid-template-columns: 1fr; } }
.vx-dr-p + .vx-dr-p { margin-top: 14px !important; }
.vx-ec-grid .vx-dr-p:first-of-type { margin-top: 20px !important; }
.vx-assemble__fig .vx-pen { fill: #E20026; opacity: .9; }
.vx-assemble__fig .vx-dev { fill: #F2F2F0; stroke: var(--sub); stroke-width: 1; }
.vx-assemble__fig .vx-crack { fill: none; stroke: #E20026; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.vx-checklist a { color: var(--red-text) !important; }
.vx-so-wide { margin: 48px auto 0; max-width: 900px; }
.vx-so-wide img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 45%; border-radius: var(--radius-media); }

.vx-so-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.vx-so-pair figure { margin: 0; }
.vx-so-pair img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-media); background: var(--soft); }
@media (max-width: 650px) { .vx-so-pair { grid-template-columns: 1fr; } }

/* v1.3.10 — Video de obra */
.vx-video { margin: 0; position: relative; border-radius: var(--radius-media); overflow: hidden; background: var(--soft); aspect-ratio: 16 / 9; }
.vx-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vx-pg-sec__head + .vx-video { margin-top: 32px; }

/* v1.3.12 — Encuadre de fotos en celular y encabezado con barra de WordPress */
.vx-pg-hero__photo img, .vx-gallery img { object-position: 50% 30%; }
@media (max-width: 860px) {
	.vx-pg-hero__photo { aspect-ratio: 4 / 5; max-height: 72svh; }
	.vx-pg-hero__photo--wide { aspect-ratio: 16 / 10; max-height: none; }
}
@media (max-width: 650px) {
	.vx-gallery--2 img { aspect-ratio: 4 / 5 !important; }
}
@media (max-width: 600px) {
	.vx-header { top: 0; }
	.vx-assemble--js .vx-assemble__sticky { top: calc(var(--header-h) + 16px); }
}

/* v1.3.15 — Esquema de aguas lluvia */
.vx-assemble__fig .pipe { fill: none; stroke: var(--sub); stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; opacity: .28; }
.vx-assemble__fig .water { fill: none; stroke: var(--water, #2f7fbf); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.vx-assemble__fig .water-thin { fill: none; stroke: var(--water, #2f7fbf); stroke-width: 3; stroke-linecap: round; }
.vx-assemble__fig .water-fill { fill: rgba(47, 127, 191, .32); }

/* v1.3.18 — Esquema de inyección de poliuretano */
.vx-assemble__fig .hole { fill: none; stroke: var(--sub); stroke-width: 12; stroke-linecap: round; opacity: .35; }
.vx-assemble__fig .foam { fill: none; stroke: #d9c27a; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.vx-assemble__fig .packer { fill: none; stroke: currentColor; stroke-width: 12; stroke-linecap: round; }
.vx-assemble__fig .patch { fill: var(--sub); opacity: .6; }
.vx-assemble__fig .ok { fill: none; stroke: #2e9d5a; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }

/* v1.3.19 — Rescate industrial: figuras y camilla */
.vx-cad--rs .fig { fill: var(--panel); stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.vx-cad--rs .fig-l { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.vx-cad--rs .str { fill: var(--panel); stroke: var(--red); stroke-width: 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.vx-cad--rs .str-l { fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.vx-cad--rs .rope { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.vx-cad--rs .rope-thin { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.vx-rs-sub { margin-top: 32px !important; }
.vx-cad__img { filter: invert(.92); }
:root[data-theme="dark"] .vx-cad__img { filter: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vx-cad__img { filter: none; } }

/* v1.3.21 — Servicios eólicos */
.vx-cad--rs .lep { fill: none; stroke: var(--red); stroke-width: 9; stroke-linecap: round; }
.vx-eo-chips { margin-bottom: 32px !important; }
.vx-eo-serv li[id] { scroll-margin-top: calc(var(--header-h, 72px) + 24px); }
.vx-eo-list { margin: 12px 0 0 !important; padding-left: 18px !important; font-size: 15px; line-height: 1.6; color: var(--sub); }
.vx-types .vx-eo-list li { border-top: 0; padding-top: 0; margin: 4px 0; }
.vx-types h3 span[lang] { font-weight: 400; color: var(--sub); }
.vx-eo-shots { margin-top: 40px; }
.vx-eo-shots img { object-position: 0 0; border: 1px solid var(--line); }
.vx-eo-shots + .vx-note { margin-top: 12px !important; }
.vx-cad--rs .mask { fill: var(--panel); stroke: none; }

/* v1.3.22 — Contacto */
.vx-ct-hero { padding-bottom: 8px; }
.vx-ct-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: start; }
.vx-ct-form h2 { font-size: 26px !important; margin-bottom: 22px !important; }
.vx-form { margin: 0; }
.vx-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.vx-field { margin: 0 !important; display: flex; flex-direction: column; gap: 7px; }
.vx-field--full { grid-column: 1 / -1; }
.vx-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.vx-field label span[aria-hidden] { color: var(--red-text); }
.vx-field__opt { font-weight: 400; color: var(--sub); }
.vx-field input, .vx-field select, .vx-field textarea { width: 100%; box-sizing: border-box; font: 16px/1.4 var(--font); color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-button); padding: 12px 14px; min-height: 48px; }
.vx-field textarea { resize: vertical; min-height: 140px; }
.vx-field input[type="file"] { padding: 10px; }
.vx-field input:focus, .vx-field select:focus, .vx-field textarea:focus { outline: var(--focus); outline-offset: 1px; border-color: var(--ink); }
.vx-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vx-form__legal { font-size: 13px; color: var(--sub); margin: 16px 0 18px !important; }
.vx-form .vx-button { border: 0; cursor: pointer; }
.vx-form__msg { padding: 14px 16px; border-radius: var(--radius-button); margin: 0 0 20px !important; font-size: 15px; border-left: 3px solid; background: var(--panel); }
.vx-form__msg--ok { border-color: #2e9d5a; }
.vx-form__msg--err { border-color: var(--red); }
.vx-ct-info { display: grid; gap: 12px; }
.vx-ct-card { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-block); color: var(--ink) !important; text-decoration: none !important; }
.vx-ct-card strong { font-size: 17px; font-weight: 600; }
.vx-ct-card span { font-size: 14px; color: var(--sub); }
.vx-ct-card .vx-ct-card__k { font: 600 11px var(--font-mono); letter-spacing: 1px; text-transform: uppercase; color: var(--red-text); }
a.vx-ct-card:hover { border-color: var(--ink); }
.vx-ct-card--wa { border-color: #25D366; }
.vx-ct-map { border: 1px solid var(--line); border-radius: var(--radius-media); overflow: hidden; aspect-ratio: 16 / 7; background: var(--soft); }
.vx-ct-map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) {
	.vx-ct-grid { grid-template-columns: 1fr; gap: 36px; }
	.vx-ct-map { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
	.vx-form__grid { grid-template-columns: 1fr; }
}
.vx-ct-map { position: relative; }
.vx-ct-map iframe { position: relative; z-index: 1; }
.vx-ct-map__fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; color: var(--sub); font-size: 15px; background: repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px), var(--soft); }
.vx-ct-map__fallback strong { color: var(--ink); font-size: 18px; }
.vx-ct-map__actions { margin: 18px 0 0 !important; }

/* v1.3.22 — Logo blanco del pie en modo oscuro */
.vx-footer__logo .vx-footer__logo--white { display: none; }
:root[data-theme="dark"] .vx-footer__logo { background: transparent; padding-left: 0; }
:root[data-theme="dark"] .vx-footer__logo .vx-footer__logo--color { display: none; }
:root[data-theme="dark"] .vx-footer__logo .vx-footer__logo--white { display: block; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) .vx-footer__logo { background: transparent; padding-left: 0; }
	:root:not([data-theme]) .vx-footer__logo .vx-footer__logo--color { display: none; }
	:root:not([data-theme]) .vx-footer__logo .vx-footer__logo--white { display: block; }
}

/* v1.3.23 — Validación del formulario y aviso de correo copiado */
.vx-field__err { font-size: 13px; color: var(--red-text); }
.vx-field [aria-invalid="true"] { border-color: var(--red); }
.vx-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 9999; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: var(--radius-button); font-size: 14px; transition: opacity var(--ease), transform var(--ease); max-width: calc(100% - 32px); }
.vx-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* v1.3.24 — Carrusel de clientes */
.vx-clients-sec { padding: 56px 0; }
.vx-clients__head { margin-bottom: 24px !important; }
.vx-clients__head h2 { font-size: 24px !important; }
.vx-clients { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.vx-clients__track { display: flex; align-items: center; gap: 18px; width: max-content; list-style: none; margin: 0 !important; padding: 4px 0 !important; animation: vx-marquee 55s linear infinite; }
.vx-clients:hover .vx-clients__track, .vx-clients:focus-within .vx-clients__track { animation-play-state: paused; }
.vx-clients__item { flex: none; margin: 0 !important; height: 76px; padding: 12px 22px; display: flex; align-items: center; justify-content: center; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-block); }
.vx-clients__item img { display: block; width: auto; height: auto; max-height: 48px; max-width: 150px; filter: grayscale(1); opacity: .78; transition: filter var(--ease), opacity var(--ease); }
.vx-clients__item:hover img { filter: none; opacity: 1; }
@keyframes vx-marquee { to { transform: translateX(calc(-50% - 9px)); } }
@media (max-width: 600px) {
	.vx-clients__item { height: 64px; padding: 10px 16px; }
	.vx-clients__item img { max-height: 40px; max-width: 120px; }
	.vx-clients__track { animation-duration: 40s; }
}
@media (prefers-reduced-motion: reduce) {
	.vx-clients { -webkit-mask-image: none; mask-image: none; }
	.vx-clients__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
	.vx-clients__dup { display: none; }
}

/* v1.3.24 — Video de YouTube y misión/visión */
.vx-yt { position: relative; aspect-ratio: 16 / 9; max-width: 960px; border-radius: var(--radius-media); overflow: hidden; background: #000; }
.vx-yt button { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.vx-yt img, .vx-yt iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vx-yt__icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; margin: -27px 0 0 -38px; border-radius: 14px; background: var(--red); transition: transform var(--ease); }
.vx-yt__icon::after { content: ""; position: absolute; left: 31px; top: 16px; border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff; }
.vx-yt button:hover .vx-yt__icon, .vx-yt button:focus-visible .vx-yt__icon { transform: scale(1.08); }
.vx-yt button:focus-visible { outline: var(--focus); outline-offset: 3px; }
.vx-ns-mv h2 { font-size: 24px !important; margin-bottom: 10px !important; }
.vx-ns-mv p { font-size: 17px !important; }

/* v1.3.24 — Misión y visión destacadas */
.vx-mv .vx-wrap { display: grid; gap: 64px; }
.vx-mv__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.vx-mv__row--rev .vx-mv__photo { order: 2; }
.vx-mv__photo { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-media); overflow: hidden; background: var(--soft); }
.vx-mv__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vx-mv__photo--silo { aspect-ratio: 4 / 5; }
.vx-mv__photo--silo img { object-position: 50% 78%; }
.vx-mv__text h2 { font-size: clamp(30px, 3.4vw, 44px) !important; line-height: 1.1 !important; margin-bottom: 22px !important; }
.vx-mv__statement { font-size: clamp(18px, 1.6vw, 21px) !important; line-height: 1.6 !important; color: var(--ink); border-left: 3px solid var(--red); padding-left: 22px; margin: 0 !important; }
@media (max-width: 860px) {
	.vx-mv .vx-wrap { gap: 48px; }
	.vx-mv__row { grid-template-columns: 1fr; gap: 24px; }
	.vx-mv__row--rev .vx-mv__photo { order: 0; }
	.vx-mv__photo--silo { aspect-ratio: 4 / 3; }
	.vx-mv__photo--silo img { object-position: 50% 82%; }
}

/* v1.3.25 — Franja de especialidades con enlaces y botones en bloques destacados de Inicio */
.vx-ribbon a { color: inherit !important; text-decoration: none !important; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color var(--ease), border-color var(--ease); }
.vx-ribbon a:hover, .vx-ribbon a:focus-visible { color: var(--ink) !important; border-bottom-color: var(--red); }
.vx-feature__actions { margin: 26px 0 0 !important; }

/* v1.3.26 — Política de privacidad */
.vx-legal .vx-wrap { max-width: 820px; }
.vx-legal h2 { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); margin: 2.4rem 0 .6rem; }
.vx-legal h2:first-child { margin-top: 0; }
.vx-legal a { color: var(--red-text); text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   v1.3.27 — Noticias (portada, categorías y artículo)
   ========================================================================== */
.vx-news-hero { padding-bottom: 40px; }
.vx-news-hero h1 { max-width: 18ch; }
.vx-news-filter { margin-top: 30px; }
.vx-news-filter ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 !important; padding: 0 !important; }
.vx-news-filter li { margin: 0; }
.vx-news-filter a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 30px; background: var(--panel); color: var(--ink) !important; font-size: 14px; text-decoration: none !important; transition: border-color var(--ease), background var(--ease); }
.vx-news-filter li.is-sub a { min-height: 34px; padding: 0 12px; font-size: 13px; color: var(--sub) !important; background: transparent; }
.vx-news-filter a:hover { border-color: var(--ink); }
.vx-news-filter a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--bg) !important; }

.vx-news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 12px !important; font: 12px var(--font-mono); letter-spacing: .8px; text-transform: uppercase; color: var(--sub); }
.vx-news-meta__cat, .vx-news-meta__cat a { color: var(--red-text) !important; text-decoration: none !important; }
.vx-news-meta > span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 14px; border-radius: 50%; background: var(--line); vertical-align: middle; }

.vx-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.vx-news-card { display: flex; flex-direction: column; min-width: 0; }
.vx-news-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-media); background: var(--soft); margin-bottom: 18px; }
.vx-news-card__media img, .vx-news-card__ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.vx-news-card:hover .vx-news-card__media img { transform: scale(1.03); }
.vx-news-card__title { font-size: 21px !important; line-height: 1.25 !important; letter-spacing: -.3px; margin: 0 0 10px !important; text-wrap: balance; }
.vx-news-card__title a { color: var(--ink) !important; text-decoration: none !important; }
.vx-news-card__title a:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.vx-news-card__excerpt { margin: 0 0 16px !important; font-size: 15px; line-height: 1.6; color: var(--sub); }
.vx-news-card .vx-link { margin-top: auto; }

.vx-news-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.vx-news-card--featured .vx-news-card__media { margin: 0; aspect-ratio: 3 / 2; }
.vx-news-card--featured .vx-news-card__title { font-size: clamp(26px, 2.6vw, 34px) !important; letter-spacing: -.8px; }
.vx-news-card--featured .vx-news-card__excerpt { font-size: 17px; }

.vx-news-pages { margin-top: 56px; }
.vx-news-pages ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 !important; padding: 0 !important; }
.vx-news-pages a, .vx-news-pages span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-button); color: var(--ink) !important; text-decoration: none !important; font-size: 14px; }
.vx-news-pages .current { background: var(--ink); border-color: var(--ink); color: var(--bg) !important; }
.vx-news-empty { max-width: 640px; padding: 40px 0; }
.vx-news-empty h2 { margin: 8px 0 14px !important; }

/* Artículo */
.vx-article__hero { border-bottom: 0; padding-bottom: 32px; }
.vx-article__hero .vx-crumbs { margin-bottom: 22px !important; }
.vx-article__hero h1 { max-width: 22ch; font-size: clamp(30px, 4vw, 48px) !important; }
.vx-article__hero .vx-pg-hero__lead { max-width: 68ch; }
.vx-article__cover { margin: 0 auto !important; }
.vx-article__cover img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: cover; border-radius: var(--radius-media); }
.vx-article__cover figcaption { margin-top: 10px; font: 12px var(--font-mono); letter-spacing: .6px; color: var(--sub); }
.vx-article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; padding-block: 56px 72px; align-items: start; }
.vx-article__body { max-width: 72ch; font-size: 18px; line-height: 1.75; color: var(--ink); }
.vx-article__body > * { margin: 0 0 22px !important; }
.vx-article__body > :last-child { margin-bottom: 0 !important; }
.vx-article__body p, .vx-article__body li { color: var(--sub); }
.vx-article__body > p:first-child { font-size: 20px; line-height: 1.6; color: var(--ink); }
.vx-article__body strong { color: var(--ink); font-weight: 600; }
.vx-article__body h2 { margin: 44px 0 16px !important; padding-top: 22px; border-top: 1px solid var(--line); font-size: clamp(23px, 2.2vw, 28px) !important; line-height: 1.2 !important; letter-spacing: -.5px; }
.vx-article__body h3 { margin: 32px 0 12px !important; font-size: 20px !important; }
.vx-article__body ul, .vx-article__body ol { padding-left: 22px; display: grid; gap: 10px; }
.vx-article__body li::marker { color: var(--red-text); }
.vx-article__body a { color: var(--ink) !important; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.vx-article__body figure.wp-block-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-block); background: var(--panel); }
.vx-article__body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 460px; }
.vx-article__body th, .vx-article__body td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--sub); }
.vx-article__body thead th { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; background: var(--soft); color: var(--sub); }
.vx-article__body td:first-child { color: var(--ink); font-weight: 500; }
.vx-article__body tr:last-child td { border-bottom: 0; }
.vx-article__body .wp-block-buttons { margin-top: 32px !important; }
.vx-article__body .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: var(--radius-button); background: var(--ink); color: var(--bg) !important; text-decoration: none !important; font-size: 15px; font-weight: 600; }
.vx-article__body .vx-source { margin-top: 36px !important; padding-top: 18px; border-top: 1px solid var(--line); font: 13px/1.6 var(--font-mono); color: var(--sub); }
.vx-article__body .vx-source a { color: var(--sub) !important; }
.vx-article__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.vx-article__box { display: grid; gap: 14px; justify-items: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-block); background: var(--panel); }
.vx-article__box .vx-eyebrow { margin: 0 !important; }
.vx-article__box-title { margin: 0 !important; font-size: 17px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.vx-article__back { font-size: 14px; }
.vx-news-related { border-top: 1px solid var(--line); padding-top: 64px !important; }

@media (max-width: 1024px) {
	.vx-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vx-news-card--featured { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.vx-article__layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.vx-article__aside { position: static; }
}
@media (max-width: 640px) {
	.vx-news-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.vx-news-filter ul { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1) !important; padding: 0 var(--gutter) 6px !important; scrollbar-width: none; }
	.vx-news-filter ul::-webkit-scrollbar { display: none; }
	.vx-news-filter a { white-space: nowrap; }
	.vx-article__body { font-size: 17px; }
	.vx-article__body > p:first-child { font-size: 18px; }
	.vx-article__layout { padding-block: 40px 56px; }
}

/* ==========================================================================
   v1.3.28 — Aviso de cookies
   ========================================================================== */
.vx-cc { position: fixed; left: 20px; bottom: 20px; z-index: 95; width: min(420px, calc(100vw - 40px)); padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-block); background: var(--panel); color: var(--ink); box-shadow: 0 18px 48px rgba(9, 13, 15, .18); }
.vx-cc[hidden] { display: none; }
.vx-cc__title { margin: 0 0 6px !important; font: 12px var(--font-mono); letter-spacing: 1px; text-transform: uppercase; color: var(--red-text); }
.vx-cc__text { margin: 0 0 16px !important; font-size: 14px; line-height: 1.55; color: var(--sub); }
.vx-cc__text a { color: var(--ink) !important; text-decoration: underline; text-underline-offset: 2px; }
.vx-cc__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vx-cc__actions .vx-button { min-width: 112px; justify-content: center; }
.vx-cc__reject { background: transparent !important; color: var(--ink) !important; border-color: var(--line) !important; }
.vx-cc__reject:hover { border-color: var(--ink) !important; }
@media (max-width: 640px) {
	.vx-cc { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; }
	.vx-cc__actions .vx-button { flex: 1 1 0; }
	body.vx-cc-open .vx-whatsapp { bottom: calc(var(--vx-cc-h, 0px) + 12px); }
}
