/* Inter y JetBrains Mono alojadas en local (licencia OFL, ver assets/fonts). */
@font-face {
	font-family: 'Inter Variable';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Inter Variable';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'JetBrains Mono Variable';
	font-style: normal;
	font-display: swap;
	font-weight: 100 800;
	src: url('../fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2-variations');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Horenx — estilos del tema hijo
   Colores: variables de Kadence (--global-paletteN) + tokens --hx-*.
   ========================================================================== */

:root {
	--hx-magenta: #D01F85;
	--hx-magenta-dk: #A8176A;
	--hx-magenta-soft: #FDF0F7;
	--hx-pink: #EA5197;
	--hx-cyan: #01B4CD;
	--hx-blue: #0084C4;
	--hx-blue-soft: #EAF5FB;
	--hx-link: #0072A8;
	--hx-link-dk: #005E8A;
	--hx-yellow: #FFDD00;
	--hx-orange: #F7A800;
	--hx-ink: #1D1D1B;
	--hx-text: #3F3F46;
	--hx-muted: #71717A;
	--hx-border: #E4E4E7;
	--hx-bg: #F7F7F8;
	--hx-dark: #121211;
	--hx-dark-2: #27272A;
	--hx-success: #16A34A;
	--hx-gradient: linear-gradient(135deg, #01B4CD 0%, #0084C4 45%, #D01F85 100%);
	--hx-radius-sm: 6px;
	--hx-radius: 10px;
	--hx-radius-lg: 14px;
	--hx-shadow: 0 1px 2px rgba(17, 17, 26, .04), 0 8px 24px rgba(17, 17, 26, .06);
	--hx-shadow-lg: 0 2px 4px rgba(17, 17, 26, .04), 0 24px 60px rgba(17, 17, 26, .12);
	--hx-section: clamp(64px, 9vw, 112px);
	--hx-mono: 'JetBrains Mono Variable', ui-monospace, Consolas, monospace;
}

/* ---------- Base ---------- */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { letter-spacing: -0.025em; }
h4, h5 { letter-spacing: -0.01em; }
::selection { background: var(--hx-magenta); color: #fff; }
:focus-visible { outline: 2px solid var(--hx-link); outline-offset: 2px; }
code, kbd, pre, .hx-mono { font-family: var(--hx-mono); }

.entry-content p a:not(.wp-block-button__link) {
	text-underline-offset: .18em;
	text-decoration-thickness: 1px;
}

/* ---------- Secciones ---------- */
.hx-section {
	padding-top: var(--hx-section) !important;
	padding-bottom: var(--hx-section) !important;
}
.hx-section--tight { padding-top: clamp(40px, 5vw, 64px) !important; padding-bottom: clamp(40px, 5vw, 64px) !important; }
.entry-content > .hx-section, .entry-content > .wp-block-group.alignfull { margin-top: 0; margin-bottom: 0; }
/* Margen lateral de las secciones a ancho completo (16 px en móvil, 24 px en escritorio). */
.entry-content > .alignfull { padding-left: clamp(16px, 4vw, 24px); padding-right: clamp(16px, 4vw, 24px); }
.hx-eyebrow + h1, .hx-eyebrow + h2, .hx-eyebrow + h3 { margin-top: 0 !important; }
.hx-section > :first-child { margin-top: 0; }

.hx-section-head { max-width: 760px !important; margin-left: auto !important; margin-right: auto !important; margin-bottom: clamp(36px, 5vw, 56px) !important; }
.hx-section-head h2 { margin-top: 0; margin-bottom: 16px; }
.hx-section-head p:last-child { margin-bottom: 0; }

/* Etiqueta pequeña sobre los títulos ("SERVICIOS"). */
.hx-eyebrow {
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--hx-magenta);
	margin-bottom: 12px !important;
}
.hx-eyebrow--blue { color: var(--hx-link); }

.hx-lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--global-palette5); }
.hx-muted { color: var(--hx-muted); }

/* Palabra destacada con subrayado amarillo del logo. */
.hx-mark {
	background: linear-gradient(transparent 62%, rgba(255, 221, 0, .6) 62%, rgba(255, 221, 0, .6) 90%, transparent 90%);
	padding: 0 .06em;
}
.hx-dark .hx-mark {
	background: linear-gradient(90deg, #4FD1E4 0%, #F073B4 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding: 0;
}

/* ---------- Fondos ---------- */
.hx-bg-light { background-color: var(--hx-bg); }
.hx-dark {
	background-color: var(--hx-dark);
	color: rgba(255, 255, 255, .78);
}
.hx-dark h1, .hx-dark h2, .hx-dark h3, .hx-dark h4 { color: #fff; }
.hx-dark .hx-eyebrow { color: #F073B4; }
.hx-dark .hx-lead { color: rgba(255, 255, 255, .78); }
.hx-dark .hx-muted { color: rgba(255, 255, 255, .7); }
.hx-dark a:not(.wp-block-button__link) { color: #7FD3F0; }
.hx-glow {
	background-image:
		radial-gradient(60% 80% at 85% 0%, rgba(208, 31, 133, .28) 0%, rgba(18, 18, 17, 0) 60%),
		radial-gradient(50% 70% at 0% 100%, rgba(1, 180, 205, .20) 0%, rgba(18, 18, 17, 0) 60%);
}
.hx-glow-light {
	background-image:
		radial-gradient(50% 60% at 90% 0%, rgba(208, 31, 133, .08) 0%, rgba(255, 255, 255, 0) 70%),
		radial-gradient(45% 55% at 0% 20%, rgba(1, 180, 205, .08) 0%, rgba(255, 255, 255, 0) 70%);
}
/* Rejilla tenue de fondo. */
.hx-grid-bg { position: relative; isolation: isolate; }
.hx-grid-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
	pointer-events: none;
}

/* Línea fina con el degradado de marca. */
.hx-gradient-line { height: 3px; background: var(--hx-gradient); border: 0; margin: 0; }

/* ---------- Botones ---------- */
.wp-block-button__link { border-radius: var(--hx-radius); font-weight: 600; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; }
.wp-block-button__link:hover { transform: translateY(-1px); }

/* Secundario sobre claro: contorno gris, texto tinta. */
.wp-block-button.is-style-hx-secondary .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: #fff !important;
	color: var(--hx-ink) !important;
	border: 1px solid var(--hx-border) !important;
	box-shadow: 0 1px 2px rgba(17, 17, 26, .05);
}
.wp-block-button.is-style-hx-secondary .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: #C4C4CC !important; background: var(--hx-bg) !important; }

/* Secundario sobre oscuro: contorno blanco al 30 %. */
.hx-dark .wp-block-button.is-style-hx-secondary .wp-block-button__link {
	background: transparent !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, .3) !important;
	box-shadow: none;
}
.hx-dark .wp-block-button.is-style-hx-secondary .wp-block-button__link:hover { background: rgba(255, 255, 255, .08) !important; border-color: rgba(255, 255, 255, .5) !important; }

/* Enlace con flecha ("Ver más →"). */
.hx-arrow-link a, a.hx-arrow-link { font-weight: 600; text-decoration: none !important; color: var(--hx-link); }
.hx-arrow-link a::after, a.hx-arrow-link::after { content: " →"; }

/* ---------- Tarjetas ---------- */
.hx-card {
	background: #fff;
	border: 1px solid var(--hx-border);
	border-radius: var(--hx-radius-lg);
	padding: clamp(22px, 2.4vw, 32px) !important;
	height: 100%;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.hx-card > :first-child { margin-top: 0; }
.hx-card > :last-child { margin-bottom: 0; }
.hx-card h3 { font-size: 20px; margin: 0 0 8px; }
.hx-card p { margin: 0 0 12px; font-size: 16px; }
.hx-card--hover:hover { border-color: #D4D4D8; box-shadow: var(--hx-shadow); transform: translateY(-2px); }
.hx-dark .hx-card { background: var(--hx-dark-2); border-color: rgba(255, 255, 255, .08); }

/* Borde en degradado (plan recomendado / tarjeta destacada). */
.hx-card--featured {
	border: 2px solid transparent;
	background: linear-gradient(#fff, #fff) padding-box, var(--hx-gradient) border-box;
	box-shadow: var(--hx-shadow-lg);
}

.hx-cards { gap: 24px !important; }
.hx-cards > .wp-block-column { display: flex; flex-direction: column; }
.hx-cards > .wp-block-column > .hx-card { flex: 1; }

/* Icono en cuadro suave. */
.hx-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--hx-blue-soft);
	color: var(--hx-blue);
	margin: 0 0 18px !important;
}
.hx-icon svg { width: 24px; height: 24px; }
.hx-icon--magenta { background: var(--hx-magenta-soft); color: var(--hx-magenta); }
.hx-icon--cyan { background: #E6F8FA; color: #00879A; }
.hx-icon--orange { background: #FEF5E1; color: #B86E00; }
.hx-dark .hx-icon { background: rgba(255, 255, 255, .06); color: #7FD3F0; }

/* Chip / etiqueta. */
.hx-chip {
	display: inline-block;
	font-size: 12px !important;
	font-weight: 600;
	letter-spacing: .02em;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--hx-bg);
	color: var(--global-palette5);
	border: 1px solid var(--hx-border);
	margin: 0 0 12px !important;
}
.hx-chip--magenta { background: var(--hx-magenta-soft); color: var(--hx-magenta-dk); border-color: #F7D3E6; }
.hx-dark .hx-chip { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .12); }

/* ---------- Listas de ventajas ---------- */
ul.hx-check-list { list-style: none; padding-left: 0; margin-left: 0; }
ul.hx-check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
ul.hx-check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .2em;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--hx-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8.1 13.3 4.8 10l-1.1 1.1 4.4 4.4 9-9-1.1-1.1z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Marco de navegador para capturas ---------- */
.hx-browser {
	position: relative;
	border-radius: var(--hx-radius-lg);
	border: 1px solid var(--hx-border);
	background: #fff;
	box-shadow: var(--hx-shadow-lg);
	overflow: hidden;
	padding-top: 34px;
	margin: 0 !important;
}
.hx-browser::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 34px;
	background-color: #F4F4F5;
	background-image:
		radial-gradient(circle, #FF5F57 5px, transparent 5.5px),
		radial-gradient(circle, #FEBC2E 5px, transparent 5.5px),
		radial-gradient(circle, #28C840 5px, transparent 5.5px);
	background-size: 12px 12px;
	background-position: 14px 50%, 32px 50%, 50px 50%;
	background-repeat: no-repeat;
	border-bottom: 1px solid var(--hx-border);
}
.hx-browser img { display: block; width: 100%; border-radius: 0 !important; }
.hx-browser figcaption { display: none; }
.hx-dark .hx-browser { border-color: rgba(255, 255, 255, .1); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }

/* ---------- Cifras ---------- */
.hx-stat { margin: 0 !important; }
.hx-stat strong {
	display: block;
	font-size: clamp(30px, 3.4vw, 42px);
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--hx-ink);
	font-weight: 700;
}
.hx-stat span { display: block; font-size: 15px; color: var(--hx-muted); margin-top: 4px; }
.hx-dark .hx-stat strong { color: #fff; }
.hx-dark .hx-stat span { color: rgba(255, 255, 255, .7); }

/* Logos de clientes (marcadores grises). */
.hx-logo-row { gap: 16px clamp(24px, 4vw, 56px) !important; }
.hx-logo-ph {
	font-weight: 700;
	font-size: 19px !important;
	letter-spacing: -0.02em;
	color: #71717A;
	margin: 0 !important;
	white-space: nowrap;
}

/* ---------- Pasos del proceso ---------- */
.hx-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	font-family: var(--hx-mono);
	font-weight: 600;
	font-size: 14px !important;
	color: #fff;
	background: var(--hx-ink);
	margin: 0 0 16px !important;
}
.hx-steps > .wp-block-column:nth-child(1) .hx-step-num { background: var(--hx-cyan); color: var(--hx-ink); }
.hx-steps > .wp-block-column:nth-child(2) .hx-step-num { background: var(--hx-link); color: #fff; }
.hx-steps > .wp-block-column:nth-child(3) .hx-step-num { background: var(--hx-magenta); color: #fff; }
.hx-steps > .wp-block-column:nth-child(4) .hx-step-num { background: var(--hx-yellow); color: var(--hx-ink); }

/* ---------- Testimonios ---------- */
.hx-quote-text { font-size: 18px; line-height: 1.6; color: var(--hx-ink); }
.hx-quote-author { font-size: 15px; margin: 0 !important; color: var(--hx-muted); }
.hx-quote-author strong { color: var(--hx-ink); display: block; }
.hx-stars { color: var(--hx-orange); letter-spacing: 2px; font-size: 16px; margin-bottom: 12px !important; }

/* ---------- Preguntas frecuentes (bloque Detalles) ---------- */
.hx-faq { max-width: 820px !important; margin-left: auto !important; margin-right: auto !important; }
.hx-faq > .wp-block-details {
	border-bottom: 1px solid var(--hx-border);
	padding: 20px 0;
	margin: 0 !important;
}
.hx-faq > .wp-block-details:first-child { border-top: 1px solid var(--hx-border); }
.hx-faq summary {
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	font-size: 18px;
	color: var(--hx-ink);
	padding-right: 36px;
	position: relative;
}
.hx-faq summary::-webkit-details-marker { display: none; }
.hx-faq summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 26px;
	font-weight: 400;
	line-height: 1;
	color: var(--hx-magenta);
	transition: transform .2s ease;
}
.hx-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.hx-faq details > :not(summary) { margin-top: 12px; margin-bottom: 0; }

/* ---------- Piezas decorativas del cubo ---------- */
.hx-has-pieces { position: relative; overflow: hidden; }
.hx-has-pieces > * { position: relative; z-index: 1; }
.hx-has-pieces::before, .hx-has-pieces::after {
	content: "";
	position: absolute;
	z-index: 0;
	width: 92px;
	height: 54px;
	border-radius: 10px;
	transform: rotate(30deg) skewX(-30deg);
	opacity: .55;
	pointer-events: none;
}
.hx-has-pieces::before { top: 18%; right: 6%; background: linear-gradient(135deg, #C9087C, #EA5197); }
.hx-has-pieces::after { bottom: 16%; left: 6%; background: linear-gradient(135deg, #01B4CD, #0084C4); }
@media (max-width: 900px) { .hx-has-pieces::before, .hx-has-pieces::after { display: none; } }

/* ---------- Precios ---------- */
.hx-price { font-size: clamp(34px, 4vw, 44px) !important; font-weight: 700; letter-spacing: -0.03em; color: var(--hx-ink); line-height: 1.1 !important; margin: 8px 0 4px !important; }
.hx-price small { font-size: 16px; font-weight: 500; color: var(--hx-muted); letter-spacing: 0; }
.hx-table { overflow-x: auto; }
.hx-table table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
.hx-table th, .hx-table td { border: 0 !important; border-bottom: 1px solid var(--hx-border) !important; padding: 14px 12px; text-align: center; }
.hx-table th:first-child, .hx-table td:first-child { text-align: left; }
.hx-table thead th { color: var(--hx-ink); font-weight: 600; border-bottom: 2px solid var(--hx-ink) !important; }
.hx-table thead { border: 0; }

/* ---------- Perfiles del equipo ---------- */
.hx-person img { border-radius: var(--hx-radius-lg); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.hx-person h3 { margin: 16px 0 2px; font-size: 18px; }
.hx-person p { margin: 0; font-size: 15px; }

/* ---------- Cabecera ---------- */
.hx-client-link {
	font-size: 15px;
	font-weight: 500;
	color: var(--global-palette4);
	text-decoration: none !important;
	margin-right: 4px;
	white-space: nowrap;
}
.hx-client-link:hover { color: var(--global-palette3); }
.transparent-header .site-main-header-wrap:not(.item-is-stuck) .hx-client-link { color: rgba(255, 255, 255, .85); }
.transparent-header .site-main-header-wrap:not(.item-is-stuck) .hx-client-link:hover { color: #fff; }
.site-main-header-wrap.item-is-stuck { box-shadow: 0 1px 0 var(--hx-border); }
.site-header-item .header-button { padding: 10px 18px; font-size: 15px; font-weight: 600; border-radius: var(--hx-radius); }
.header-navigation .header-menu-container ul ul.sub-menu {
	border-radius: var(--hx-radius);
	border: 1px solid var(--hx-border);
	box-shadow: var(--hx-shadow-lg);
	padding: 6px;
}
.header-navigation .header-menu-container ul ul li.menu-item > a { border-radius: var(--hx-radius-sm); font-size: 14px; }
.header-navigation ul ul li.menu-item { border: 0 !important; }
.mobile-html .hx-client-link { display: block; margin-top: 8px; font-size: 16px; }
#mobile-drawer .mobile-header-button-wrap { margin-top: 20px; }
#mobile-drawer .mobile-header-button-wrap .button { width: 100%; justify-content: center; }

/* ---------- Pie de página ---------- */
.hx-footer { background: var(--hx-dark); color: rgba(255, 255, 255, .7); font-size: 15px; }
.hx-footer .hx-gradient-line { height: 2px; }
.hx-footer-inner { max-width: 1248px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) 24px 32px; }
.hx-footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.hx-footer h2 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; }
.hx-footer ul { list-style: none; margin: 0; padding: 0; }
.hx-footer li { margin-bottom: 10px; }
.hx-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.hx-footer a:hover { color: #fff; }
.hx-footer-logo { display: inline-block; margin-bottom: 16px; }
.hx-footer-logo img { width: 150px; height: auto; display: block; }
.hx-footer-about { max-width: 300px; margin: 0 0 20px; }
.hx-footer-social { display: flex; gap: 10px; }
.hx-footer-social a {
	display: inline-flex;
	width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, .15);
}
.hx-footer-social a:hover { border-color: rgba(255, 255, 255, .45); }
.hx-footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.hx-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 14px;
}
.hx-footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hx-footer-bottom li { margin: 0; }
@media (max-width: 1024px) { .hx-footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hx-footer-cols { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Botón flotante de WhatsApp ---------- */
.hx-whatsapp {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
	transition: transform .15s ease, box-shadow .15s ease;
}
.hx-whatsapp:hover { transform: scale(1.06); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .24); }
.hx-whatsapp svg { width: 30px; height: 30px; fill: currentColor; }
.hx-whatsapp:focus-visible { outline: 3px solid var(--hx-link); outline-offset: 3px; }

/* ---------- Formularios ---------- */
.hx-form-card { background: #fff; border: 1px solid var(--hx-border); border-radius: var(--hx-radius-lg); padding: clamp(24px, 3vw, 40px) !important; box-shadow: var(--hx-shadow); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="number"], .wpcf7 select, .wpcf7 textarea {
	width: 100%;
	border: 1px solid #D4D4D8;
	border-radius: var(--hx-radius-sm);
	padding: 11px 14px;
	font-size: 16px;
	background: #fff;
	color: var(--hx-ink);
}
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { border-color: var(--hx-link); box-shadow: 0 0 0 3px rgba(0, 114, 168, .15); outline: none; }
.wpcf7 label { display: block; font-weight: 500; font-size: 15px; color: var(--hx-ink); }
.wpcf7 p { margin: 0 0 16px; }
.wpcf7 .hx-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.wpcf7 .wpcf7-checkbox .wpcf7-list-item { display: inline-flex; margin: 4px 16px 4px 0; }
.wpcf7 .wpcf7-checkbox .wpcf7-list-item label, .wpcf7 .wpcf7-acceptance label { font-weight: 400; display: inline; }
.wpcf7 .wpcf7-submit {
	width: 100%;
	background: var(--hx-magenta);
	color: #fff;
	border: 0;
	border-radius: var(--hx-radius);
	padding: 14px 24px;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
}
.wpcf7 .wpcf7-submit:hover { background: var(--hx-magenta-dk); }
.wpcf7 .hx-form-note { font-size: 13px; color: var(--hx-muted); }
.wpcf7 .wpcf7-spinner { display: block; margin: 8px auto 0; }
@media (max-width: 600px) { .wpcf7 .hx-form-row { grid-template-columns: 1fr; } }

/* ---------- Casos de éxito ---------- */
.hx-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }
@media (max-width: 1024px) { .hx-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hx-grid-3 { grid-template-columns: 1fr; } }
.hx-project-card { display: flex; flex-direction: column; align-items: flex-start; }
.hx-project-card .hx-stat { align-self: stretch; }
.hx-project-card h3 a { color: var(--hx-ink); text-decoration: none; }
.hx-project-card h3 a:hover { color: var(--hx-link); }
.hx-project-card .hx-stat { margin-top: auto !important; padding-top: 16px; border-top: 1px solid var(--hx-border); }
.hx-project-card .hx-arrow-link { margin: 16px 0 0; }
.hx-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px !important; }
.hx-filter .hx-chip { text-decoration: none; margin: 0 !important; }
.hx-project-head { max-width: 900px; margin: 0 auto; }
.hx-project-head .hx-lead { max-width: 720px; }
.hx-arrow-back a { color: rgba(255, 255, 255, .7) !important; text-decoration: none; font-size: 15px; }
.hx-project-stats { display: flex; flex-wrap: wrap; gap: 24px 56px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hx-project-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; max-width: 1200px; margin: 0 auto; align-items: start; }
.hx-project-content > .hx-browser { margin-bottom: 40px !important; }
.hx-project-content h2 { font-size: 28px; margin-top: 40px; }
.hx-project-content h2:first-of-type { margin-top: 0; }
.hx-project-aside { position: sticky; top: 100px; }
.hx-project-aside .h6 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--hx-muted); margin: 0 0 4px; font-weight: 600; }
.hx-project-aside p { margin: 0 0 18px; color: var(--hx-ink); }
.hx-project-aside .hx-chip { margin: 0 4px 6px 0 !important; }
@media (max-width: 900px) {
	.hx-project-body { grid-template-columns: 1fr; gap: 32px; }
	.hx-project-aside { position: static; }
}

/* ---------- Responsive ---------- */
@media (max-width: 781px) {
	.hx-reverse-mobile { flex-direction: column-reverse; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Iconos (trazos al estilo Lucide, licencia ISC). Uso: <p class="hx-icon hx-i-box"></p> ---------- */
.hx-icon::before { content: ""; width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--hx-i) center / contain no-repeat; mask: var(--hx-i) center / contain no-repeat; }
.hx-i-invoice { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z%22/%3E%3Cpath d=%22M14 2v6h6%22/%3E%3Cpath d=%22M16 13H8%22/%3E%3Cpath d=%22M16 17H8%22/%3E%3Cpath d=%22M10 9H8%22/%3E%3C/svg%3E"); }
.hx-i-cart { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%228%22 cy=%2221%22 r=%221%22/%3E%3Ccircle cx=%2219%22 cy=%2221%22 r=%221%22/%3E%3Cpath d=%22M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12%22/%3E%3C/svg%3E"); }
.hx-i-box { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m7.5 4.27 9 5.15%22/%3E%3Cpath d=%22M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z%22/%3E%3Cpath d=%22m3.3 7 8.7 5 8.7-5%22/%3E%3Cpath d=%22M12 22V12%22/%3E%3C/svg%3E"); }
.hx-i-factory { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2 20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8l-7 5V8l-7 5V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z%22/%3E%3Cpath d=%22M17 18h1%22/%3E%3Cpath d=%22M12 18h1%22/%3E%3Cpath d=%22M7 18h1%22/%3E%3C/svg%3E"); }
.hx-i-truck { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2%22/%3E%3Cpath d=%22M15 18H9%22/%3E%3Cpath d=%22M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14%22/%3E%3Ccircle cx=%2217%22 cy=%2218%22 r=%222%22/%3E%3Ccircle cx=%227%22 cy=%2218%22 r=%222%22/%3E%3C/svg%3E"); }
.hx-i-users { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2%22/%3E%3Ccircle cx=%229%22 cy=%227%22 r=%224%22/%3E%3Cpath d=%22M22 21v-2a4 4 0 0 0-3-3.87%22/%3E%3Cpath d=%22M16 3.13a4 4 0 0 1 0 7.75%22/%3E%3C/svg%3E"); }
.hx-i-network { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%2216%22 y=%2216%22 width=%226%22 height=%226%22 rx=%221%22/%3E%3Crect x=%222%22 y=%2216%22 width=%226%22 height=%226%22 rx=%221%22/%3E%3Crect x=%229%22 y=%222%22 width=%226%22 height=%226%22 rx=%221%22/%3E%3Cpath d=%22M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3%22/%3E%3Cpath d=%22M12 12V8%22/%3E%3C/svg%3E"); }
.hx-i-chart { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 3v18h18%22/%3E%3Cpath d=%22M18 17V9%22/%3E%3Cpath d=%22M13 17V5%22/%3E%3Cpath d=%22M8 17v-3%22/%3E%3C/svg%3E"); }
.hx-i-code { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpolyline points=%2216 18 22 12 16 6%22/%3E%3Cpolyline points=%228 6 2 12 8 18%22/%3E%3C/svg%3E"); }
.hx-i-plug { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 22v-5%22/%3E%3Cpath d=%22M9 8V2%22/%3E%3Cpath d=%22M15 8V2%22/%3E%3Cpath d=%22M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z%22/%3E%3C/svg%3E"); }
.hx-i-support { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%224%22/%3E%3Cpath d=%22m4.93 4.93 4.24 4.24%22/%3E%3Cpath d=%22m14.83 9.17 4.24-4.24%22/%3E%3Cpath d=%22m14.83 14.83 4.24 4.24%22/%3E%3Cpath d=%22m9.17 14.83-4.24 4.24%22/%3E%3C/svg%3E"); }
.hx-i-bulb { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5%22/%3E%3Cpath d=%22M9 18h6%22/%3E%3Cpath d=%22M10 22h4%22/%3E%3C/svg%3E"); }
.hx-i-rocket { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z%22/%3E%3Cpath d=%22m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z%22/%3E%3Cpath d=%22M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0%22/%3E%3Cpath d=%22M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5%22/%3E%3C/svg%3E"); }
.hx-i-sheet { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%223%22 width=%2218%22 height=%2218%22 rx=%222%22/%3E%3Cpath d=%22M3 9h18%22/%3E%3Cpath d=%22M3 15h18%22/%3E%3Cpath d=%22M9 3v18%22/%3E%3C/svg%3E"); }
.hx-i-alert { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3%22/%3E%3Cpath d=%22M12 9v4%22/%3E%3Cpath d=%22M12 17h.01%22/%3E%3C/svg%3E"); }
.hx-i-clock { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22/%3E%3Cpolyline points=%2212 6 12 12 16 14%22/%3E%3C/svg%3E"); }
.hx-i-shield { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z%22/%3E%3Cpath d=%22m9 12 2 2 4-4%22/%3E%3C/svg%3E"); }
.hx-i-building { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%224%22 y=%222%22 width=%2216%22 height=%2220%22 rx=%222%22/%3E%3Cpath d=%22M9 22v-4h6v4%22/%3E%3Cpath d=%22M8 6h.01%22/%3E%3Cpath d=%22M16 6h.01%22/%3E%3Cpath d=%22M12 6h.01%22/%3E%3Cpath d=%22M12 10h.01%22/%3E%3Cpath d=%22M12 14h.01%22/%3E%3Cpath d=%22M16 10h.01%22/%3E%3Cpath d=%22M16 14h.01%22/%3E%3Cpath d=%22M8 10h.01%22/%3E%3Cpath d=%22M8 14h.01%22/%3E%3C/svg%3E"); }
.hx-i-wallet { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1%22/%3E%3Cpath d=%22M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4%22/%3E%3C/svg%3E"); }
.hx-i-search { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2211%22 cy=%2211%22 r=%228%22/%3E%3Cpath d=%22m21 21-4.3-4.3%22/%3E%3C/svg%3E"); }
.hx-i-pen { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 20h9%22/%3E%3Cpath d=%22M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z%22/%3E%3C/svg%3E"); }
.hx-i-cloud { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z%22/%3E%3C/svg%3E"); }
.hx-i-phone { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%225%22 y=%222%22 width=%2214%22 height=%2220%22 rx=%222%22/%3E%3Cpath d=%22M12 18h.01%22/%3E%3C/svg%3E"); }
.hx-i-lock { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%2211%22 width=%2218%22 height=%2211%22 rx=%222%22/%3E%3Cpath d=%22M7 11V7a5 5 0 0 1 10 0v4%22/%3E%3C/svg%3E"); }
.hx-i-heart { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z%22/%3E%3C/svg%3E"); }
.hx-i-mail { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222%22 y=%224%22 width=%2220%22 height=%2216%22 rx=%222%22/%3E%3Cpath d=%22m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7%22/%3E%3C/svg%3E"); }
.hx-i-map { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z%22/%3E%3Ccircle cx=%2212%22 cy=%2210%22 r=%223%22/%3E%3C/svg%3E"); }
.hx-i-chat { --hx-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7.9 20A9 9 0 1 0 4 16.1L2 22Z%22/%3E%3C/svg%3E"); }

/* ---------- Portada ---------- */
.hx-hero { padding-top: clamp(56px, 8vw, 104px) !important; padding-bottom: clamp(64px, 9vw, 120px) !important; }
.hx-hero-cols { gap: clamp(32px, 5vw, 64px) !important; }
.hx-hero-title { font-size: clamp(38px, 5vw, 60px) !important; line-height: 1.06 !important; letter-spacing: -0.035em; margin: 16px 0 20px !important; }
.hx-hero .hx-lead { margin-bottom: 32px; }
.hx-hero-note { font-size: 14px; color: rgba(255, 255, 255, .7); margin-top: 20px !important; }
.hx-hero .hx-chip { margin-bottom: 4px !important; }
.hx-hero-media .hx-browser { transform: perspective(1800px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
@media (max-width: 781px) { .hx-hero-media .hx-browser { transform: none; } }

.hx-trust { border-bottom: 1px solid var(--hx-border); }
.hx-stats-row { gap: 24px !important; text-align: center; }
.hx-trust-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--hx-muted); margin: 48px 0 20px !important; font-weight: 600; }

.hx-problem .hx-solution { margin-top: 18px !important; padding-top: 16px; border-top: 1px dashed var(--hx-border); color: var(--hx-ink); font-size: 15px; }
.hx-modules { margin-top: 0 !important; margin-bottom: 24px !important; }
.hx-modules h3 a { color: var(--hx-ink); text-decoration: none; }
.hx-modules h3 a::after { content: ""; position: absolute; inset: 0; }
.hx-modules .hx-card { position: relative; }
.hx-modules h3 a:hover { color: var(--hx-link); }
.hx-section-foot { margin-top: 40px !important; }

.hx-feature { gap: clamp(32px, 6vw, 80px) !important; }
.hx-feature + .hx-feature { margin-top: clamp(64px, 9vw, 112px) !important; }
@media (min-width: 782px) { .hx-feature--reverse { flex-direction: row-reverse; } }

.hx-services { max-width: none; }
.hx-dark .hx-card p { color: rgba(255, 255, 255, .72); }
.hx-dark .hx-card h3 { color: #fff; }
.hx-dark .hx-arrow-link a { color: #7FD3F0; }
.hx-card--cta { background: linear-gradient(var(--hx-dark-2), var(--hx-dark-2)) padding-box, var(--hx-gradient) border-box !important; border: 1px solid transparent !important; }

/* Bucle de casos de éxito. */
.hx-cases .wp-block-post-template { list-style: none; padding: 0; margin: 0 auto; }
.hx-cases .wp-block-post-template > li { margin: 0; display: flex; }
.hx-cases .hx-project-card { width: 100%; }
.hx-cases .wp-block-post-title { font-size: 20px; margin: 4px 0 8px; }
.hx-cases .wp-block-post-title a { color: var(--hx-ink); text-decoration: none; }
.hx-cases .wp-block-post-terms.hx-chip a { color: inherit; text-decoration: none; pointer-events: none; }
.hx-project-card .hx-stat-value { font-size: clamp(28px, 3vw, 36px); font-weight: 700; letter-spacing: -0.03em; color: var(--hx-ink); line-height: 1.1; margin: 0 !important; }
.hx-project-card .hx-stat-label { font-size: 15px; color: var(--hx-muted); margin: 4px 0 0 !important; }
.hx-cases .wp-block-read-more { font-weight: 600; text-decoration: none; color: var(--hx-link); margin-top: 16px; }
.hx-cases .wp-block-read-more::after { content: " →"; }

.hx-cta { text-align: center; }
.hx-cta h2 { font-size: clamp(30px, 4vw, 44px); }

.hx-step-num + h3, .hx-icon + h3, .hx-chip + h3, .hx-icon + .wp-block-heading { margin-top: 0 !important; }
.hx-steps h3 { margin-bottom: 8px; }

/* ---------- Páginas interiores ---------- */
.hx-page-hero { padding-top: clamp(56px, 7vw, 96px) !important; padding-bottom: clamp(56px, 7vw, 96px) !important; border-bottom: 1px solid var(--hx-border); }
.hx-page-hero.hx-dark { border-bottom: 0; }
.hx-page-title { font-size: clamp(36px, 4.6vw, 54px) !important; line-height: 1.08 !important; letter-spacing: -0.035em; margin-bottom: 20px !important; }
.hx-page-hero .wp-block-buttons { margin-top: 28px; }
.hx-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1024px) { .hx-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .hx-grid-4 { grid-template-columns: 1fr; } }
.hx-person .wp-block-image { margin: 0; }
.hx-person img { border-radius: var(--hx-radius-lg); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: auto; }
.hx-person .hx-arrow-link { margin-top: 8px !important; font-size: 15px; }

/* Planes. */
.hx-plans { align-items: stretch; }
.hx-plan { display: flex; flex-direction: column; }
.hx-plan .hx-check-list { margin: 20px 0 28px; flex: 1; font-size: 15px; }
.hx-plan .wp-block-buttons, .hx-plan .wp-block-button, .hx-plan .wp-block-button__link { width: 100%; }
.hx-plan .wp-block-button__link { justify-content: center; text-align: center; }
.hx-plan .hx-chip { align-self: flex-start; }
.hx-plan h3 { font-size: 22px; }
@media (min-width: 1025px) { .hx-plans > .hx-card--featured { transform: translateY(-12px); } }

/* Para quién + formulario de cotización. */
.hx-for { gap: clamp(32px, 5vw, 64px) !important; }
.hx-form-narrow { max-width: 760px; margin: 0 auto; }

/* Contacto. */
.hx-contact { gap: 32px !important; }
.hx-contact-info { display: grid; gap: 16px; }
.hx-contact-info .hx-card { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: start; padding: 20px !important; }
.hx-contact-info .hx-icon { grid-row: span 2; margin: 0 !important; }
.hx-contact-info h3 { font-size: 16px; margin: 2px 0 2px !important; }
.hx-contact-info p { margin: 0 !important; font-size: 15px; }

/* Solicitar demo y gracias. */
.hx-demo-section { padding-top: clamp(48px, 6vw, 88px) !important; }
.hx-demo { gap: clamp(32px, 5vw, 64px) !important; }
.hx-demo h3 { margin-top: 32px; font-size: 18px; }
.hx-thanks { text-align: center; }
.hx-thanks .hx-icon { margin: 0 auto 20px !important; display: flex; width: 64px; height: 64px; border-radius: 50%; }
.hx-icon--success { background: #DCFCE7; color: #15803D; }

/* Legales. */
.hx-legal-head h1 { margin: 0; }
.hx-legal-note { background: #FEF5E1; border: 1px solid #F8DFA9; border-radius: var(--hx-radius); padding: 12px 16px; font-size: 15px; color: #6B4300; }
.hx-prose h2 { font-size: 22px; margin-top: 36px; }

/* Honeypot oculto (antispam). */
.hx-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Ancla del formulario bajo la cabecera fija. */
[id] { scroll-margin-top: 96px; }
.wpcf7 input[type="checkbox"] { margin-right: 6px; accent-color: var(--hx-magenta); }
.wpcf7 .wpcf7-submit:disabled { opacity: .55; cursor: not-allowed; }
.wpcf7 fieldset.hidden-fields-container { border: 0; padding: 0; margin: 0; }
.site-header-item .header-button { white-space: nowrap; }

/* ---------- Blog ---------- */
.loop-entry .entry-title { font-size: 22px !important; line-height: 1.3 !important; letter-spacing: -0.02em; }
.loop-entry .entry-title a { color: var(--hx-ink); text-decoration: none; }
.loop-entry { border: 1px solid var(--hx-border); border-radius: var(--hx-radius-lg); overflow: hidden; background: #fff; }
.loop-entry .post-thumbnail { margin: 0; }
.loop-entry .entry-content-wrap { padding: 24px !important; }
.entry-taxonomies a, .loop-entry .category-links a { color: var(--hx-magenta) !important; }
.hx-post-cta { margin-top: 48px !important; }
.single-post .entry-content h2 { font-size: 26px; margin-top: 40px; }
.single-post .entry-hero-container-inner, .post-archive-hero-section { background: var(--hx-bg); }
.site-header-item .hx-client-link { margin-left: 12px; }

/* ---------- Ajustes móviles ---------- */
.transparent-header .entry-content > .hx-hero:first-child { padding-top: clamp(104px, 11vw, 136px) !important; }
@media (max-width: 781px) {
	.hx-stats-row { flex-wrap: wrap !important; row-gap: 28px !important; }
	.wp-block-columns.hx-stats-row:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: calc(50% - 12px) !important; flex-grow: 0 !important; }
	.hx-hero-media { margin-top: 8px; }
}
.hx-h-small { font-size: 20px !important; letter-spacing: -0.01em; }

/* ---------- Productos ---------- */
.hx-products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0 auto; max-width: 1200px; }
.hx-products-grid > li { margin: 0; display: flex; }
@media (max-width: 1024px) { .hx-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hx-products-grid { grid-template-columns: 1fr; } }
.hx-product-card { padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; width: 100%; }
.hx-product-media, .hx-product-card .wp-block-post-featured-image { margin: 0 !important; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--hx-bg); border-bottom: 1px solid var(--hx-border); }
.hx-product-media img, .hx-product-card .wp-block-post-featured-image img { width: 100%; height: 100% !important; object-fit: cover; object-position: left top; display: block; transition: transform .3s ease; }
.hx-product-card:hover .hx-product-media img, .hx-product-card:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.hx-product-body { padding: 22px 24px 24px !important; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.hx-product-body h3, .hx-product-body .wp-block-post-title { font-size: 22px !important; margin: 4px 0 6px !important; }
.hx-product-body h3 a, .hx-product-body .wp-block-post-title a { color: var(--hx-ink); text-decoration: none; }
.hx-product-tagline { color: var(--hx-ink); font-size: 16px; margin: 0 0 8px !important; }
.hx-product-audience { font-size: 14px !important; margin: 0 0 16px !important; }
.hx-product-body .hx-arrow-link, .hx-product-body .wp-block-read-more { margin-top: auto !important; }
.hx-products .wp-block-read-more { font-weight: 600; text-decoration: none; color: var(--hx-link); }
.hx-products .wp-block-read-more::after { content: " →"; }
.hx-status { margin-bottom: 8px !important; }
.hx-status-disponible .hx-status { background: #DCFCE7; color: #166534; border-color: #BBF7D0; }
.hx-status-en-desarrollo .hx-status { background: var(--hx-magenta-soft); color: var(--hx-magenta-dk); border-color: #F7D3E6; }
.hx-status-proximamente .hx-status { background: var(--hx-blue-soft); color: #005E8A; border-color: #CBE6F4; }
.hx-dark .hx-status { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .16); }
.hx-status-en-desarrollo.hx-product-card, .hx-status-proximamente.hx-product-card { border-style: dashed; }

/* Captura + móvil superpuesto. */
.hx-media-stack { position: relative; padding-right: 9%; padding-bottom: 6%; }
.hx-media-stack .hx-phone--overlay { position: absolute; right: 0; bottom: 0; width: 22%; max-width: 210px; margin: 0 !important; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .35)); }
.hx-hero-media .hx-media-stack .hx-browser { transform: none; }
.hx-phone img { display: block; height: auto; }
.hx-phone-solo { display: flex; justify-content: center; }
.hx-phone-solo .hx-phone { max-width: 300px; margin: 0 !important; filter: drop-shadow(0 24px 50px rgba(17, 17, 26, .22)); }
@media (max-width: 781px) { .hx-media-stack .hx-phone--overlay { width: 30%; } }

.hx-steps--3 { gap: 32px !important; }
.hx-assist { max-width: 760px; margin: 48px auto 0 !important; }
.hx-a-medida { gap: clamp(32px, 5vw, 64px) !important; }
.header-navigation .hx-menu-all > a { font-weight: 600; color: var(--hx-link) !important; border-top: 1px solid var(--hx-border); }
.hx-prose-wrap { max-width: 760px; margin: 0 auto; }
.hx-prose-wrap h2 { font-size: 28px; margin-top: 40px; }
.hx-prose-wrap > :first-child { margin-top: 0; }

/* =====================================================================
   Movimiento (inc/motion.php + assets/js/horenx-motion.js).
   Todo lo animado va dentro de prefers-reduced-motion: no-preference.
   ===================================================================== */
:root {
	--hx-ease-out: cubic-bezier(.2, .8, .2, 1);
}
.hx-svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Logo SVG en la cabecera: el nombre toma el color del texto (blanco sobre la cabecera transparente). */
.hx-logo { display: block; height: auto; overflow: visible; color: var(--hx-ink); }
.hx-cube { overflow: visible; }
.hx-cube__p { transform-box: fill-box; transform-origin: center; }
.site-branding .hx-logo { width: 156px; view-transition-name: hx-logo; }
@media (max-width: 1024px) { .site-branding .hx-logo { width: 140px; } }
@media (max-width: 719px) { .site-branding .hx-logo { width: 128px; } }
.transparent-header .site-main-header-wrap:not(.item-is-stuck) .hx-logo { color: #fff; }

/* Intro de la portada (solo con html.hx-intro-on, que pone el script de la cabecera). */
.hx-intro { display: none; }
html.hx-intro-on { overflow: hidden; }
html.hx-intro-on .hx-intro { display: flex; position: fixed; inset: 0; z-index: 100001; align-items: center; justify-content: center; cursor: pointer; }
.hx-intro__bg { position: absolute; inset: 0; background: var(--hx-dark); background-image: radial-gradient(50% 60% at 70% 30%, rgba(208, 31, 133, .22), transparent 70%), radial-gradient(45% 55% at 25% 75%, rgba(1, 180, 205, .16), transparent 70%); }
.hx-intro__logo { position: relative; width: min(76vw, 760px); color: #fff; transform-origin: 0 0; }
.hx-intro .hx-cube__p, .hx-intro .hx-word__l { opacity: 0; }
.hx-word__l { transform-box: fill-box; }
html.hx-intro-on .site-branding .hx-logo { visibility: hidden; }

/* Cubo del hero: asoma por detrás de las capturas. */
.hx-hero-media { position: relative; }
.hx-hero-media .hx-media-stack { position: relative; z-index: 1; }
.hx-hero-cube { position: absolute; z-index: 0; width: clamp(140px, 13vw, 190px); top: -6%; right: 4%; translate: 0 -72%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); }
@media (max-width: 781px) { .hx-hero-cube { display: none; } }

/* Piezas flotantes de fondo en el hero (misma forma que .hx-has-pieces). */
.hx-hero { position: relative; overflow: hidden; }
.hx-hero-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hx-hero > :not(.hx-hero-deco) { position: relative; z-index: 1; }
.hx-float { position: absolute; width: 64px; height: 38px; border-radius: 9px; opacity: .45; transform: rotate(30deg) skewX(-30deg); translate: 0 calc(var(--sy, 0) * var(--depth, .2) * -1px); }
.hx-float--1 { --depth: .35; top: 12%; left: 46%; background: linear-gradient(135deg, #C9087C, #EA5197); }
.hx-float--2 { --depth: .15; bottom: 3%; left: 1%; width: 84px; height: 50px; background: linear-gradient(135deg, #01B4CD, #0084C4); opacity: .3; }
.hx-float--3 { --depth: .5; bottom: 8%; right: 38%; width: 40px; height: 24px; background: linear-gradient(135deg, #F7A800, #FFDD00); opacity: .55; }
.hx-float--4 { --depth: .25; top: 70%; right: 3%; width: 52px; height: 30px; background: linear-gradient(135deg, #0084C4, #01B4CD); opacity: .35; }
@media (max-width: 781px) { .hx-float--1, .hx-float--3 { display: none; } }

/* Línea del proceso (visible también sin animación). */
@media (min-width: 782px) {
	.hx-steps { position: relative; }
	.hx-steps::before { content: ""; position: absolute; top: 19px; left: 19px; right: 19px; height: 2px; background: var(--hx-gradient); opacity: .35; transform-origin: left; transition: transform 1.2s var(--hx-ease-out) .2s; }
	.hx-steps > .wp-block-column { position: relative; }
}

@media (prefers-reduced-motion: no-preference) {

	/* Entrada del hero. Mientras dura la intro queda en pausa. */
	.hx-hero :is(.hx-chip, .hx-hero-title, .hx-lead, .wp-block-buttons, .hx-hero-note) { animation: hx-up .7s var(--hx-ease-out) backwards; }
	.hx-hero .hx-hero-title { animation-delay: .08s; }
	.hx-hero .hx-lead { animation-delay: .16s; }
	.hx-hero .wp-block-buttons { animation-delay: .24s; }
	.hx-hero .hx-hero-note { animation-delay: .32s; }
	.hx-hero .hx-media-stack { animation: hx-media-in 1s .2s var(--hx-ease-out) backwards; }
	.hx-hero .hx-phone--overlay { animation: hx-up .8s .55s var(--hx-ease-out) backwards; }
	/* El cubo del hero lo gira el script una sola vez; hasta entonces no se ve. */
	html.hx-js .hx-hero-cube .hx-cube__p { opacity: 0; }
	html.hx-intro-hold .hx-hero, html.hx-intro-hold .hx-hero * { animation-play-state: paused !important; }
	@keyframes hx-up { from { opacity: 0; transform: translateY(18px); } }
	@keyframes hx-media-in { from { opacity: 0; transform: perspective(1600px) translateY(40px) rotateX(10deg) rotateY(-8deg); } }

	/* Capturas del hero que siguen al ratón (--mx/--my los pone el script). */
	.hx-hero .hx-media-stack { transform: perspective(1600px) rotateY(calc(var(--mx, 0) * 5deg)) rotateX(calc(var(--my, 0) * -4deg)); transition: transform .5s var(--hx-ease-out); }

	/* Aparición al hacer scroll (las clases las pone el script). */
	.hx-rv { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--hx-ease-out) var(--d, 0ms), transform .6s var(--hx-ease-out) var(--d, 0ms); }
	.hx-rv.is-in { opacity: 1; transform: none; }

	/* Proceso: la línea entre pasos se dibuja al aparecer. */
	.hx-steps.hx-rv-group::before { transform: scaleX(0); }
	.hx-steps.hx-rv-group.is-in::before { transform: scaleX(1); }

	/* Tarjetas: suben y el borde se enciende con el degradado de la marca. */
	.hx-card--hover { position: relative; }
	.hx-card--hover::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--hx-gradient); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s ease; pointer-events: none; }
	.hx-card--hover:hover, .hx-rv.is-in.hx-card--hover:hover { transform: translateY(-4px); box-shadow: var(--hx-shadow-lg); }
	.hx-card--hover:hover::after { opacity: 1; }

	.wp-block-button__link:hover { transform: translateY(-1px); }

	/* Cabecera fija algo más baja al hacer scroll. */
	.site-main-header-inner-wrap { transition: min-height .25s ease; }
	.site-main-header-wrap.item-is-stuck .site-main-header-inner-wrap { min-height: 64px; }

	/* FAQ: abre y cierra con suavidad (navegadores que lo soportan). */
	@supports (interpolate-size: allow-keywords) {
		.hx-faq { interpolate-size: allow-keywords; }
		.hx-faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
		.hx-faq details[open]::details-content { block-size: auto; }
	}
	.hx-faq summary::after { transition: transform .25s ease; }

	/* Transición entre páginas; el logo se queda quieto. */
	@view-transition { navigation: auto; }
	::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
}
