/* JetBrains Mono (autoalojada) para las refs/números técnicos del blueprint. */
@font-face {
	font-family: 'JetBrains Mono';
	src: url('../fonts/jetbrains-mono-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'JetBrains Mono';
	src: url('../fonts/jetbrains-mono-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'JetBrains Mono';
	src: url('../fonts/jetbrains-mono-600.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
:root {
	--font-mono: 'JetBrains Mono', ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/*
 * PORTADA trinocex.es — splash de marca.
 *
 * Se encola SOLO en is_front_page() (functions.php), después de la cadena
 * del padre y de trinocex-tokens. Fondo azulado fijo (independiente del
 * claro/oscuro: el wordmark siempre es blanco), con luces flotantes y el
 * texto en levitación. Toda animación continua vive bajo
 * prefers-reduced-motion: no-preference; la entrada usa @starting-style, así
 * que sin soporte/JS el contenido es visible desde el primer frame.
 */

/* ---- Header integrado con el azul del splash --------------------------- *
 * Solo en la home. El header del padre usa var(--color-ink / -soft / -base /
 * -line / -surface / -accent): redefinimos esos tokens aquí y todo
 * (logo, menú, toggle, panel móvil) recolorea en cascada, sin pelear
 * selector a selector. Más su propio sistema de sombra/halo.
 */
.home .site-header {
	/* Claro: azul luminoso translúcido (texto blanco siempre). */
	--color-base:     oklch(40% 0.13 258);
	--color-ink:      #fff;
	--color-ink-soft: oklch(100% 0 0 / 0.8);
	--color-line:     oklch(100% 0 0 / 0.18);
	--color-surface:  oklch(100% 0 0 / 0.16);

	background-color: oklch(40% 0.13 258 / 0.42);
	backdrop-filter: blur(14px) saturate(1.3);
	-webkit-backdrop-filter: blur(14px) saturate(1.3);
	border-block-end-color: oklch(100% 0 0 / 0.14);
	box-shadow:
		inset 0 1px 0 oklch(100% 0 0 / 0.1),
		0 10px 34px oklch(20% 0.08 260 / 0.34);
}

.home .site-header.is-scrolled {
	background-color: oklch(36% 0.12 258 / 0.66);
	box-shadow:
		inset 0 1px 0 oklch(100% 0 0 / 0.1),
		0 8px 30px oklch(16% 0.07 260 / 0.45);
}

/* Oscuro: azul casi negro cinematográfico. */
[data-theme='dark'] .home .site-header {
	--color-base:    oklch(17% 0.055 261);
	--color-line:    oklch(100% 0 0 / 0.12);
	--color-surface: oklch(100% 0 0 / 0.1);

	background-color: oklch(18% 0.055 261 / 0.5);
	box-shadow:
		inset 0 1px 0 oklch(100% 0 0 / 0.07),
		0 10px 34px oklch(8% 0.03 262 / 0.5);
}

[data-theme='dark'] .home .site-header.is-scrolled {
	background-color: oklch(15% 0.05 261 / 0.72);
}

/* Halo en la marca y el menú, a juego con el wordmark central. */
.home .site-branding__name {
	text-shadow:
		0 1px 2px oklch(12% 0.05 262 / 0.5),
		0 0 18px oklch(70% 0.13 245 / 0.35);
}

.home .nav-primary__menu a,
.home .theme-toggle {
	text-shadow: 0 1px 2px oklch(12% 0.05 262 / 0.45);
}

/* Sin el punto de marca naranja en el header: ni tras el nombre ni bajo la
   página activa del menú. */
.home .site-branding__dot {
	display: none;
}

.home .nav-primary__menu .current-menu-item > a::before {
	content: none;
}

/* Paleta azul compartida hero + bandas (theme-aware). El hero la redefine en
   .tx-splash con los mismos valores; las bandas la heredan de aquí.
   --tx-flat = color de fondo PLANO (sólido, sin degradado): único en toda la
   home, solo cambia de tono entre claro y oscuro. */
:root {
	--tx-flat:      oklch(46% 0.15 256);
	--tx-blue-deep: oklch(45% 0.155 256);
	--tx-blue-mid:  oklch(56% 0.15 250);
	--tx-blue-lo:   oklch(33% 0.14 261);
	--tx-header-h:  4.125rem; /* alto del header al hacer scroll (~66px) */
}

[data-theme='dark'] {
	--tx-flat:      oklch(20% 0.065 259);
	--tx-blue-deep: oklch(22% 0.072 258);
	--tx-blue-mid:  oklch(30% 0.095 256);
	--tx-blue-lo:   oklch(16% 0.055 260);
}

.tx-splash {
	/* Paleta azul propia del splash, theme-aware: estos valores son el modo
	   CLARO (azul luminoso); el override [data-theme='dark'] de abajo lo lleva
	   a azul profundo. El wordmark es blanco en ambos. No usa --color-primary
	   porque ese token del padre se invierte y rompería el blanco. */
	--tx-blue-deep: oklch(45% 0.155 256);
	--tx-blue-mid:  oklch(56% 0.15 250);
	--tx-blue-lo:   oklch(33% 0.14 261);
	--tx-glow-1:    oklch(74% 0.15 250);
	--tx-glow-2:    oklch(82% 0.12 215);
	--tx-glow-3:    oklch(66% 0.16 285);
	--tx-header-h:  4.75rem;

	/* La SECCIÓN solo aporta el lienzo azul (cubre stage + panel de cajones) y
	   se mete bajo el header sticky. La primera pantalla y el centrado viven en
	   .tx-splash__stage; los cajones en .tx-splash__panel debajo. */
	position: relative;
	isolation: isolate;
	overflow: hidden;
	/* El hero entero cabe en 100svh: columna flex (trío que rellena arriba +
	   cajas abajo). Si en un equipo MUY bajo no cupiera, crece y hace scroll. */
	display: flex;
	flex-direction: column;
	min-height: 100svh;
	margin-block-start: calc(-1 * var(--tx-header-h));
	text-align: center;
	color: #fff;
	/* Fondo PLANO: un único azul sólido (sin degradado). */
	background: var(--tx-flat);
}

/* Primera pantalla: logo + wordmark + tagline centrados (en móvil es lo ÚNICO
   visible al cargar; los cajones quedan debajo). */
.tx-splash__stage {
	position: relative; /* contenedor del logo de fondo, centrado aquí */
	display: grid;
	place-items: center;
	align-content: safe center;
	/* Rellena el espacio sobre las cajas dentro del 100svh (puede encogerse). */
	flex: 1 1 auto;
	min-height: 0;
	/* El header sticky translúcido tapa los ~4.75rem de arriba: se suman al
	   padding superior para que el trío quede centrado en el área VISIBLE (si
	   no, parece subido: menos hueco arriba que abajo). */
	padding: calc(var(--space-6) + var(--tx-header-h)) var(--space-5) var(--space-4);
}

/* Modo oscuro: azul casi negro cinematográfico (el wordmark sigue blanco). */
[data-theme='dark'] .tx-splash {
	--tx-blue-deep: oklch(22% 0.072 258);
	--tx-blue-mid:  oklch(30% 0.095 256);
	--tx-blue-lo:   oklch(16% 0.055 260);
	--tx-glow-1:    oklch(62% 0.16 250);
	--tx-glow-2:    oklch(70% 0.13 215);
	--tx-glow-3:    oklch(52% 0.17 285);
}

/* ---- Fondo: luces y rejilla -------------------------------------------- */

.tx-splash__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.tx-splash__blob {
	position: absolute;
	inline-size: clamp(20rem, 45vw, 38rem);
	aspect-ratio: 1;
	border-radius: 50%;
	filter: blur(70px);
	opacity: 0.55;
	mix-blend-mode: screen;
	will-change: transform;
}

.tx-splash__blob--a {
	inset-block-start: -8%;
	inset-inline-start: -6%;
	background: radial-gradient(circle, var(--tx-glow-1), transparent 68%);
}

.tx-splash__blob--b {
	inset-block-end: -12%;
	inset-inline-end: -8%;
	background: radial-gradient(circle, var(--tx-glow-2), transparent 68%);
	opacity: 0.5;
}

.tx-splash__blob--c {
	inset-block-start: 35%;
	inset-inline-start: 55%;
	inline-size: clamp(16rem, 35vw, 28rem);
	background: radial-gradient(circle, var(--tx-glow-3), transparent 70%);
	opacity: 0.45;
}

/* Viñeteado: oscurece bordes y extremos para dar profundidad/realismo y que
   el wordmark central destaque. Va sobre las luces pero bajo el texto. */
.tx-splash__vignette {
	position: absolute;
	inset: 0;
	/* Claro: viñeteado más suave, en azul (no negro puro). */
	background:
		radial-gradient(
			135% 115% at 50% 40%,
			transparent 30%,
			oklch(28% 0.1 260 / 0.12) 54%,
			oklch(20% 0.09 261 / 0.3) 80%,
			oklch(15% 0.08 262 / 0.5) 100%
		),
		linear-gradient(
			to bottom,
			oklch(22% 0.09 261 / 0.22) 0%,
			transparent 22%,
			transparent 66%,
			oklch(15% 0.08 262 / 0.42) 100%
		);
}

/* Oscuro: viñeteado más profundo y casi negro para el efecto cine. */
[data-theme='dark'] .tx-splash__vignette {
	background:
		radial-gradient(
			135% 115% at 50% 40%,
			transparent 28%,
			oklch(10% 0.03 262 / 0.18) 52%,
			oklch(8% 0.03 262 / 0.45) 78%,
			oklch(6% 0.025 262 / 0.66) 100%
		),
		linear-gradient(
			to bottom,
			oklch(9% 0.03 262 / 0.34) 0%,
			transparent 22%,
			transparent 66%,
			oklch(6% 0.022 262 / 0.56) 100%
		);
}

/* Rejilla técnica sutil, UNIFORME (sin desvanecido): así las líneas se ven
   hasta abajo y empalman con la rejilla de las secciones. */
.tx-splash__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(oklch(100% 0 0 / 0.045) 1px, transparent 1px),
		linear-gradient(90deg, oklch(100% 0 0 / 0.045) 1px, transparent 1px);
	background-size: 56px 56px;
}

/* ---- Wordmark ----------------------------------------------------------- */

.tx-splash__inner {
	perspective: 1200px;
}

.tx-splash__brand {
	position: relative;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(0.4rem, 1.2vw, 1rem);
	line-height: 1;
	transform-style: preserve-3d;
	will-change: transform;
}

/* Logo de fondo, DETRÁS de las letras y centrado en el CENTRO de la hero
   section (no sobre el texto). El wrapper hace el centrado estático (sin
   flotar) al 50/50 de la sección; GSAP solo anima el <img> (escala/opacidad),
   así no se duplica el transform de centrado. */
.tx-splash__logo-pos {
	position: absolute;
	/* Pequeño, en la esquina superior izquierda del hero (bajo el header). */
	left: clamp(1rem, 3.5vw, 2.75rem);
	top: calc(var(--tx-header-h) + clamp(0.5rem, 1.8vh, 1.4rem));
	z-index: 0;
	width: clamp(5rem, 10vw, 8.5rem);
	transform: none;
	pointer-events: none;
}

/* SOLO en la home (hero real): el logo vuelve al CENTRO de la hero, grande y
   detrás del wordmark (como estaba antes). En las páginas de sección se queda
   en la esquina superior izquierda. */
.tx-splash--home .tx-splash__logo-pos {
	left: 50%;
	top: 50%;
	width: clamp(20rem, 55vw, 48rem);
	transform: translate(-50%, -50%);
}

.tx-splash__logo {
	display: block;
	width: 100%;
	height: auto;
	opacity: 0.72;
	filter: drop-shadow(0 10px 48px oklch(70% 0.15 250 / 0.4));
	will-change: transform, opacity;
}

/* Las letras por delante del logo. */
.tx-splash__word,
.tx-splash__sub {
	position: relative;
	z-index: 1;
}

.tx-splash--js .tx-splash__logo {
	opacity: 0;
}

/* Letras individuales (las crea front.js para el stagger 3D). */
.tx-splash__letter {
	display: inline-block;
	transform-style: preserve-3d;
	will-change: transform, opacity;
}

/* Cuando GSAP toma el control: apaga las animaciones CSS de respaldo y
   oculta las letras hasta que la timeline las revele (con red de seguridad
   en front.js que restaura visibilidad si GSAP no carga). */
.tx-splash--js .tx-splash__brand,
.tx-splash--js .tx-splash__word {
	animation: none !important;
}

.tx-splash--js .tx-splash__logo,
.tx-splash--js .tx-splash__word,
.tx-splash--js .tx-splash__sub,
.tx-splash--js .tx-splash__tagline {
	transition: none !important;
}

.tx-splash--js .tx-splash__letter {
	opacity: 0;
}

.tx-splash__word {
	font-family: var(--font-mecha); /* logo / wordmark gigante */
	font-weight: 400;
	/* Tamaño ÚNICO para todas las páginas: dimensionado para que la palabra más
	   larga («Automatizaciones», 16 letras) quepa sin desbordar en móvil ni
	   escritorio. Así el wordmark se ve al mismo nivel en toda la web. */
	font-size: clamp(1.6rem, 6.2vw, 5.8rem);
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #fff;
	/* Profundidad + halo azul. */
	text-shadow:
		0 1px 0 oklch(100% 0 0 / 0.25),
		0 2px 6px oklch(16% 0.05 260 / 0.5),
		0 18px 50px oklch(12% 0.05 260 / 0.55),
		0 0 42px oklch(70% 0.14 245 / 0.45);
}

.tx-splash__sub {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.05rem, 3.6vw, 2.4rem);
	letter-spacing: 0.42em;
	/* compensa el tracking para que quede ópticamente centrado */
	text-indent: 0.42em;
	text-transform: none;
	color: oklch(100% 0 0 / 0.92);
	text-shadow:
		0 1px 2px oklch(16% 0.05 260 / 0.45),
		0 0 24px oklch(72% 0.12 230 / 0.4);
}

/* ---- Tagline ------------------------------------------------------------ */

.tx-splash__tagline {
	/* Más aire respecto al wordmark; el conjunto sigue centrado como bloque. */
	margin: clamp(2.25rem, 5.5vw, 4.5rem) 0 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(0.7rem, 1.8vw, 1.4rem);
}

.tx-splash__tagline-text {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(0.78rem, 1.7vw, 1.15rem);
	letter-spacing: 0.28em;
	text-indent: 0.28em;
	text-transform: uppercase;
	color: oklch(100% 0 0 / 0.8);
	text-shadow: 0 1px 2px oklch(16% 0.05 260 / 0.45);
}

.tx-splash__rule {
	inline-size: clamp(1.4rem, 5vw, 3.5rem);
	block-size: 1px;
	background: linear-gradient(90deg, transparent, oklch(100% 0 0 / 0.6), transparent);
	transform-origin: center;
}

/* Tres puntos: Seguridad · Escalabilidad · Operatividad. */
.tx-splash__pills {
	list-style: none;
	margin: clamp(1.1rem, 2.6vw, 1.9rem) 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(0.9rem, 3vw, 2.5rem);
}

.tx-splash__pill {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(0.82rem, 0.7rem + 0.5vw, 1.05rem);
	letter-spacing: 0.02em;
	color: oklch(100% 0 0 / 0.92);
}

/* El «punto» de cada ítem (azul claro neón, con halo). */
.tx-splash__pill::before {
	content: '';
	inline-size: 0.42em;
	block-size: 0.42em;
	border-radius: 50%;
	background: oklch(85% 0.13 225);
	box-shadow: 0 0 10px oklch(85% 0.14 225 / 0.8);
}

/* Bajo control de GSAP: oculta tagline y puntos hasta que la timeline los
   revele (la red de seguridad de front.js restaura visibilidad si no carga). */
.tx-splash--js .tx-splash__tagline,
.tx-splash--js .tx-splash__pills {
	opacity: 0;
}

/* ---- Movimiento (solo si el usuario lo permite) ------------------------- */

@media (prefers-reduced-motion: no-preference) {
	/* Sin levitación del wordmark (a petición): solo glow y luces de fondo. */
	.tx-splash__word {
		animation: tx-glow 5s ease-in-out infinite;
	}

	.tx-splash__blob--a { animation: tx-drift-a 18s ease-in-out infinite; }
	.tx-splash__blob--b { animation: tx-drift-b 22s ease-in-out infinite; }
	.tx-splash__blob--c { animation: tx-drift-c 16s ease-in-out infinite; }

	/* Entrada escalonada de los cuadrados. `backwards`: oculta antes de su
	   turno y, al acabar, NO retiene transform (así el hover sigue funcionando). */
	.tx-card { animation: tx-card-in 0.6s var(--ease-out) backwards; }
	.tx-card:nth-child(2) { animation-delay: 0.08s; }
	.tx-card:nth-child(3) { animation-delay: 0.16s; }
	.tx-card:nth-child(4) { animation-delay: 0.24s; }

	.tx-splash__scroll svg { animation: tx-bounce 1.8s ease-in-out infinite; }

	/* Entrada suave sin fijar opacity:0 permanente (regla del tema). */
	.tx-splash__logo,
	.tx-splash__word,
	.tx-splash__sub,
	.tx-splash__tagline,
	.tx-splash__pills {
		transition:
			opacity 0.9s var(--ease-out, ease),
			transform 0.9s var(--ease-out, ease);
	}
	@starting-style {
		.tx-splash__logo    { opacity: 0; transform: scale(0.88); }
		.tx-splash__word    { opacity: 0; transform: translateY(0.6em); }
		.tx-splash__sub     { opacity: 0; transform: translateY(0.9em); }
		.tx-splash__tagline { opacity: 0; transform: translateY(1.1em); }
		.tx-splash__pills   { opacity: 0; transform: translateY(1.3em); }
	}
}

@keyframes tx-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-16px); }
}

@keyframes tx-glow {
	0%, 100% {
		text-shadow:
			0 1px 0 oklch(100% 0 0 / 0.25),
			0 2px 6px oklch(16% 0.05 260 / 0.5),
			0 18px 50px oklch(12% 0.05 260 / 0.55),
			0 0 42px oklch(70% 0.14 245 / 0.4);
	}
	50% {
		text-shadow:
			0 1px 0 oklch(100% 0 0 / 0.3),
			0 2px 8px oklch(16% 0.05 260 / 0.55),
			0 22px 60px oklch(12% 0.05 260 / 0.6),
			0 0 64px oklch(74% 0.15 245 / 0.7);
	}
}

@keyframes tx-drift-a {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50%      { transform: translate(40px, 30px) scale(1.08); }
}

@keyframes tx-drift-b {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50%      { transform: translate(-46px, -28px) scale(1.1); }
}

@keyframes tx-drift-c {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50%      { transform: translate(-30px, 36px) scale(0.9); }
}

@keyframes tx-card-in {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: translateY(0); }
}

@keyframes tx-bounce {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(6px); }
}

/* ======================================================================== *
 * 4 cuadrados DENTRO del hero, bajo el wordmark. En cristal sobre el azul
 * (texto blanco), claro/oscuro indiferente. Simetría con nº FIJO de columnas
 * por breakpoint (no auto-fit → nada de filas 3+1): móvil/vertical 2×2;
 * horizontal/web 4 en fila.
 * ======================================================================== */

/* Panel de cajones. MÓVIL: en flujo, segunda pantalla sobre el azul (el lienzo
   de .tx-splash se extiende). DESKTOP: anclado DENTRO de la primera pantalla y
   subido (absolute), con el trío centrado arriba. */
.tx-splash__panel {
	position: relative;
	z-index: 2;
	flex: 0 0 auto; /* alto natural, abajo del trío, dentro del 100svh */
	padding: clamp(0.5rem, 1.5vh, 1.25rem) var(--space-5) clamp(1rem, 3vh, 1.75rem);
}

.tx-splash__cards {
	width: min(30rem, calc(100% - 2 * var(--gutter)));
	margin-inline: auto;
}

.tx-grid-4 {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr); /* vertical/móvil: 2×2 */
	gap: clamp(0.7rem, 1.4vw, 1.25rem);
}

/* Horizontal/web o landscape ancho: 4 en fila y algo más anchas. */
@media (min-width: 64em), (orientation: landscape) and (min-width: 48em) {
	.tx-grid-4 {
		grid-template-columns: repeat(4, 1fr);
	}
	.tx-splash__cards {
		width: min(52rem, calc(100% - 2 * var(--gutter)));
	}
}

/* Desktop/laptop (ancho + altura): cajones SUBIDOS dentro de la 1ª pantalla. */
@media (min-width: 64em) and (min-height: 680px) {
	.tx-splash__panel {
		position: absolute;
		inset-inline: 0;
		inset-block-end: clamp(4rem, 13vh, 9rem);
		/* Sin padding: así el ancho de las cajas (100% - 2·gutter) se mide sobre
		   el viewport completo y el margen lateral = gutter, igual que .container. */
		padding: 0;
	}
}

/* Ordenador en VERTICAL (ancho pero orientación portrait): las cajas suben
   para no quedar tan separadas del trío. */
@media (min-width: 64em) and (orientation: portrait) {
	.tx-splash__panel {
		inset-block-end: clamp(6rem, 18vh, 16rem);
	}
}

/* Ordenador en HORIZONTAL: sube el trío (logo + textos) — NO las cajas (que
   están en .tx-splash__panel, fuera del stage) — para centrarlo en el hueco
   sobre las cajas y que no se vea caído. */
@media (min-width: 64em) and (orientation: landscape) {
	/* (Sin subir el trío: ya no hay fichas debajo; el logo + textos se centran
	   en toda la hero.) */

	/* Cajas RECTANGULARES (más altas) y un poco más grandes. El panel está
	   anclado abajo, así que al crecer en alto se expanden HACIA ARRIBA: el
	   borde inferior se queda donde está. En móvil/vertical siguen cuadradas. */
	/* Mismo ancho/margen que el .container en horizontal/web: margen lateral
	   proporcional (--gutter-wide) y tope --width-wide → alineadas con el header
	   y sin pegarse a los bordes en 1080p. */
	.tx-splash__cards {
		width: min(var(--width-wide), calc(100% - 2 * var(--gutter-wide)));
	}
	/* Rectángulos HORIZONTALES y bajos (2/1): al ir a todo el ancho, un 3/2 se
	   hacía demasiado alto y tapaba el tagline. `.tx-grid-4 .tx-card` para ganar
	   al `.tx-card{aspect-ratio:1}` base de más abajo. Contenido en fila: icono
	   a la izquierda, título + descripción a la derecha. */
	.tx-grid-4 .tx-card {
		/* Alto según contenido (la rejilla iguala todas a la más alta), no un
		   2/1 fijo. Sin icono: título + descripción centrados. */
		aspect-ratio: auto;
		min-height: clamp(7rem, 12vh, 8.5rem);
		justify-content: center;
		gap: clamp(0.35rem, 0.8vw, 0.6rem);
		padding: clamp(1rem, 2.4vh, 1.6rem) clamp(1.1rem, 1.8vw, 2rem);
	}
}

/* ---- Flecha «baja»: ya no se usa (todo el hero cabe en 100svh, sin 2ª
   pantalla). Se oculta; se conserva el CSS por si se reutiliza. -------------- */
.tx-splash__scroll {
	display: none !important;
}

.tx-splash__scroll--unused {
	position: absolute;
	inset-block-end: clamp(1.1rem, 3vh, 1.9rem);
	inset-inline-start: 50%;
	transform: translateX(-50%);
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	color: #fff;
	background: oklch(100% 0 0 / 0.08);
	border: 1px solid oklch(100% 0 0 / 0.22);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	opacity: 0.9;
	transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.tx-splash--scrolled .tx-splash__scroll {
	opacity: 0;
	transform: translateX(-50%) translateY(12px);
	pointer-events: none;
}

@media (min-width: 64em) and (min-height: 680px) {
	.tx-splash__scroll { display: none; }
}

.tx-card {
	position: relative;
	aspect-ratio: 1; /* cuadrados */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center; /* título + descripción centrados */
	gap: clamp(0.5rem, 2vw, 0.85rem);
	text-align: center;
	padding: clamp(1rem, 3.5vw, 1.4rem) clamp(0.85rem, 2vw, 1.4rem);
	border-radius: var(--radius-lg);
	background: oklch(100% 0 0 / 0.07);
	border: 1px solid oklch(100% 0 0 / 0.16);
	box-shadow: 0 8px 30px oklch(10% 0.04 262 / 0.22);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	overflow: hidden;
	transition:
		transform 0.25s var(--ease-out),
		border-color 0.25s var(--ease-out),
		box-shadow 0.25s var(--ease-out);
}

/* Glow azul que entra al hacer hover. */
.tx-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(120% 80% at 50% 0%, oklch(80% 0.13 240 / 0.28), transparent 70%);
	opacity: 0;
	transition: opacity 0.25s var(--ease-out);
}

.tx-card:hover {
	transform: translateY(-6px);
	border-color: oklch(100% 0 0 / 0.42);
	box-shadow: 0 16px 46px oklch(55% 0.13 250 / 0.4);
}

.tx-card:hover::before {
	opacity: 1;
}

.tx-card__body {
	position: relative;
	display: flex;
	flex-direction: column;
	/* Separación FIJA título↔descripción, igual en todas las cajas. */
	gap: 0.35rem;
	min-width: 0;
}

.tx-card__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(0.82rem, 0.6rem + 0.6vw, 1.1rem);
	line-height: 1.2;
	text-wrap: balance;
	color: #fff;
}

.tx-card__desc {
	font-size: clamp(0.7rem, 0.55rem + 0.4vw, 0.86rem);
	line-height: 1.3;
	text-wrap: balance;
	color: oklch(100% 0 0 / 0.66);
}

/* ======================================================================== *
 * MINI-INTRO bajo el banner: una frase informativa por página, en blanco y
 * tipografía display, sobre el mismo azul plano + rejilla (continuidad).
 * ======================================================================== */
.tx-intro {
	position: relative;
	isolation: isolate;
	background: var(--tx-flat);
	color: #fff;
	padding-block: clamp(2rem, 6vh, 4rem);
}

.tx-intro::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(oklch(100% 0 0 / 0.045) 1px, transparent 1px),
		linear-gradient(90deg, oklch(100% 0 0 / 0.045) 1px, transparent 1px);
	background-size: 56px 56px;
}

/* Con imagen de fondo: la foto cubre la banda y un velo oscuro navy garantiza
   que el texto blanco se lea; se conserva una rejilla muy tenue por encima. */
.tx-intro--bg {
	background-image: var(--intro-bg);
	background-size: cover;
	background-position: center;
}

.tx-intro--bg::before {
	background-image:
		linear-gradient(oklch(100% 0 0 / 0.03) 1px, transparent 1px),
		linear-gradient(90deg, oklch(100% 0 0 / 0.03) 1px, transparent 1px),
		linear-gradient(oklch(16% 0.05 259 / 0.62), oklch(13% 0.05 259 / 0.78));
	background-size: 56px 56px, 56px 56px, cover;
}

.tx-intro--bg .tx-intro__text {
	text-shadow: 0 2px 14px oklch(10% 0.04 262 / 0.55);
}

.tx-intro--bg .tx-intro__sub {
	color: oklch(100% 0 0 / 0.82);
	text-shadow: 0 1px 10px oklch(10% 0.04 262 / 0.5);
}

.tx-intro__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: clamp(0.85rem, 2.2vh, 1.35rem);
}

.tx-intro__kicker {
	margin: 0;
}

.tx-intro__text {
	margin: 0;
	max-width: 34ch;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.4rem, 1rem + 2.2vw, 2.6rem);
	line-height: 1.25;
	color: #fff;
	text-wrap: balance;
}

.tx-intro__sub {
	margin: 0;
	max-width: 54ch;
	font-size: clamp(0.98rem, 0.92rem + 0.35vw, 1.18rem);
	line-height: 1.55;
	color: oklch(100% 0 0 / 0.72);
	text-wrap: balance;
}

/* ======================================================================== *
 * MESA DE DISEÑO: bajo el hero, el lienzo azul + rejilla CONTINÚA (sin
 * cortes), y sobre él flotan paneles alternando lado, como hojas/planos sobre
 * una mesa de diseño: HOJA blanca (papel cuadriculado) ↔ CRISTAL azul. Con
 * marcas de corte (crop marks) en las esquinas y una ilustración wireframe
 * tenue al lado opuesto (solo escritorio).
 * ======================================================================== */

.tx-bands {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: #fff;
	/* MISMO fondo plano que el hero (un único azul sólido, continuo). */
	background: var(--tx-flat);
}

/* Rejilla técnica continua, tenue (como el hero). */
.tx-bands::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(oklch(100% 0 0 / 0.045) 1px, transparent 1px),
		linear-gradient(90deg, oklch(100% 0 0 / 0.045) 1px, transparent 1px);
	background-size: 56px 56px;
}

.tx-band {
	position: relative;
	isolation: isolate;
	/* Cada sección ocupa toda la pantalla (como el hero); el nombre va arriba. */
	min-height: 100svh;
	display: flex;
	align-items: flex-start;
	padding-block: clamp(2.5rem, 9vh, 6rem);
}

/* Nombre de la sección: BLANCO en ambos modos, en la esquina superior (izq/der
   según variante). */
.tx-band__name {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2.2rem, 1rem + 5vw, 5rem);
	line-height: 1.05;
	color: #fff;
	max-width: 16ch;
	text-wrap: balance;
}

.tx-band--right .tx-band__name {
	margin-inline-start: auto;
	text-align: end;
}

/* ======================================================================== *
 * Sección APLICACIONES: intro + «cuadrado» con acordeón vertical de las apps.
 * Cada app despliega un mockup de móvil + descripción + botón «Más
 * información». Misma estética de cristal azul que las tarjetas del hero.
 * ======================================================================== */
.tx-band--apps .container {
	display: flex;
	flex-direction: column;
	gap: clamp(1.5rem, 4vh, 2.5rem);
}

.tx-apps__head {
	max-width: 48ch;
}

.tx-apps__intro {
	margin: clamp(0.75rem, 2vh, 1.25rem) 0 0;
	font-size: clamp(1rem, 0.92rem + 0.4vw, 1.2rem);
	line-height: 1.55;
	color: oklch(100% 0 0 / 0.82);
}

/* Hoja de diseño: ficha técnica enmarcada, UNA columna, estética de plano
   (rótulo + referencia, filas numeradas con divisorias punteadas, marcas de
   esquina). El centrado vertical bajo «Aplicaciones» se hace en el @media. */
.tx-specsheet {
	margin-block: clamp(1.5rem, 4vh, 2.5rem) 0;
	inline-size: min(100%, 30rem);
	position: relative;
	border: 1px solid oklch(100% 0 0 / 0.2);
	background: oklch(100% 0 0 / 0.035);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

/* Marcas de esquina (crop marks) tipo plano técnico. */
.tx-specsheet::before,
.tx-specsheet::after {
	content: '';
	position: absolute;
	inline-size: 9px;
	block-size: 9px;
	border: 1.5px solid oklch(85% 0.13 225);
}

.tx-specsheet::before {
	inset-block-start: -1px;
	inset-inline-start: -1px;
	border-inline-end: 0;
	border-block-end: 0;
}

.tx-specsheet::after {
	inset-block-end: -1px;
	inset-inline-end: -1px;
	border-inline-start: 0;
	border-block-start: 0;
}

.tx-specsheet__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: clamp(0.45rem, 1vh, 0.6rem) 0.95rem;
	border-block-end: 1px solid oklch(100% 0 0 / 0.18);
}

.tx-specsheet__title {
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: oklch(100% 0 0 / 0.9);
}

.tx-specsheet__ref {
	font-family: var(--font-mono);
	font-size: 0.66rem;
	letter-spacing: 0.12em;
	color: oklch(85% 0.13 225);
}

.tx-specsheet__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tx-specsheet__row {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: clamp(0.26rem, 0.8vh, 0.62rem) 0.95rem;
}

.tx-specsheet__row + .tx-specsheet__row {
	border-block-start: 1px dashed oklch(100% 0 0 / 0.15);
}

.tx-specsheet__num {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-variant-numeric: tabular-nums;
	color: oklch(85% 0.13 225);
}

.tx-specsheet__label {
	flex: 1 1 auto;
	font-family: var(--font-display);
	font-size: clamp(0.88rem, 0.84rem + 0.2vw, 1rem);
	color: oklch(100% 0 0 / 0.88);
}

.tx-specsheet__mark {
	flex: none;
	color: oklch(85% 0.13 225);
	filter: drop-shadow(0 0 5px oklch(85% 0.14 225 / 0.4));
}

/* ======================================================================== *
 * Sección BAJO DEMANDA: 3 pasos en fichas de diseño (rectángulos verticales)
 * con flechas → entre ellas. Estilo «pasos a seguir», estética de plano.
 * ======================================================================== */
.tx-band--steps .container {
	display: flex;
	flex-direction: column;
	gap: clamp(1.5rem, 4vh, 2.5rem);
}

/* Nombre + intro arriba a la izquierda (todas las bandas van a la izquierda). */
.tx-steps__intro {
	margin: clamp(0.75rem, 2vh, 1.25rem) 0 0;
	max-width: 44ch;
	font-size: clamp(1rem, 0.92rem + 0.4vw, 1.2rem);
	line-height: 1.55;
	color: oklch(100% 0 0 / 0.82);
}

/* Fila de pasos: 3 fichas + flechas, centrada. */
.tx-steps {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: clamp(0.5rem, 1.5vw, 1.4rem);
	inline-size: min(100%, 80rem);
	margin-inline: auto;
}

/* Móvil/tablet: en columna, flechas hacia abajo. */
@media (max-width: 48em) {
	.tx-steps {
		flex-direction: column;
		align-items: center;
	}
}

.tx-steps__arrow {
	flex: none;
	display: flex;
	align-items: center;
	color: oklch(85% 0.13 225);
	filter: drop-shadow(0 0 6px oklch(85% 0.14 225 / 0.5));
}

@media (max-width: 48em) {
	.tx-steps__arrow {
		transform: rotate(90deg); /* apunta hacia abajo al apilar */
		margin-block: 0.15rem;
	}
}

/* Ficha de paso: rectángulo vertical, marco de plano con marcas de esquina. */
.tx-step {
	flex: 1 1 0;
	min-inline-size: 0;
	display: flex;
	flex-direction: column;
	position: relative;
	border: 1px solid oklch(100% 0 0 / 0.2);
	background: oklch(100% 0 0 / 0.04);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

@media (max-width: 48em) {
	.tx-step {
		flex: 0 0 auto; /* altura natural al apilar (no crecer/solaparse) */
		inline-size: min(100%, 24rem);
		min-block-size: 0;
	}
}

/* Marcas de esquina (crop marks). */
.tx-step::before,
.tx-step::after {
	content: '';
	position: absolute;
	inline-size: 9px;
	block-size: 9px;
	border: 1.5px solid oklch(85% 0.13 225);
}

.tx-step::before {
	inset-block-start: -1px;
	inset-inline-start: -1px;
	border-inline-end: 0;
	border-block-end: 0;
}

.tx-step::after {
	inset-block-end: -1px;
	inset-inline-end: -1px;
	border-inline-start: 0;
	border-block-start: 0;
}

.tx-step__bar {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.7rem 0.95rem;
	border-block-end: 1px solid oklch(100% 0 0 / 0.18);
}

.tx-step__num {
	font-family: var(--font-mono);
	font-size: 1.15rem;
	font-weight: 600;
	color: oklch(85% 0.13 225);
}

.tx-step__ref {
	font-family: var(--font-mono);
	font-size: 0.62rem;
	letter-spacing: 0.18em;
	color: oklch(100% 0 0 / 0.55);
}

.tx-step__body {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	gap: clamp(0.55rem, 1.6vh, 0.95rem);
	padding: clamp(1rem, 2.6vh, 1.6rem) 0.95rem clamp(1.1rem, 2.8vh, 1.7rem);
}

.tx-step__title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.4rem);
	line-height: 1.15;
	color: #fff;
	text-wrap: balance;
}

.tx-step__desc {
	margin: 0;
	font-size: clamp(0.86rem, 0.82rem + 0.2vw, 1rem);
	line-height: 1.5;
	color: oklch(100% 0 0 / 0.78);
}

/* Imagen del paso, debajo del texto. Alto sensible a la altura (vh) para que la
   ficha no se pase de 100svh; admite imagen real vía style="--img:url(...)". */
.tx-step__media {
	margin-block-start: auto; /* alinea las imágenes al fondo de cada ficha */
	display: grid;
	place-items: center;
	block-size: clamp(6rem, 16vh, 11rem);
	border-block-start: 1px solid oklch(100% 0 0 / 0.16);
	background:
		var(--img, linear-gradient(150deg, oklch(52% 0.12 250 / 0.45), oklch(30% 0.1 258 / 0.4)));
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.tx-step__media-icon {
	color: oklch(100% 0 0 / 0.38);
}

/* La fila de pasos se centra en la mitad vertical de la sección (nombre arriba). */
@media (min-width: 64em) {
	.tx-band--steps {
		align-items: stretch;
	}

	.tx-steps {
		margin-block: auto;
	}
}

/* ======================================================================== *
 * Sección ECOMMERCE: 2 fichas (webs / tiendas online) + tira de plugins
 * propios. Misma estética de plano (marcos, marcas de esquina, checks neón).
 * ======================================================================== */
.tx-band--ecom .container {
	display: flex;
	flex-direction: column;
	gap: clamp(1.5rem, 4vh, 2.5rem);
}

.tx-ecom__intro {
	margin: clamp(0.75rem, 2vh, 1.25rem) 0 0;
	max-width: 46ch;
	font-size: clamp(1rem, 0.92rem + 0.4vw, 1.2rem);
	line-height: 1.55;
	color: oklch(100% 0 0 / 0.82);
}

.tx-ecom {
	display: flex;
	flex-direction: column;
	gap: clamp(0.75rem, 1.6vh, 1.4rem);
	inline-size: min(100%, 66rem);
	margin-inline: auto;
}

.tx-ecom__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(0.75rem, 2vw, 1.5rem);
}

@media (max-width: 48em) {
	.tx-ecom__cards {
		grid-template-columns: 1fr;
	}
}

/* Ficha de modalidad. */
.tx-ecard {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid oklch(100% 0 0 / 0.2);
	background: oklch(100% 0 0 / 0.04);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.tx-ecard::before,
.tx-ecard::after {
	content: '';
	position: absolute;
	inline-size: 9px;
	block-size: 9px;
	border: 1.5px solid oklch(85% 0.13 225);
}

.tx-ecard::before {
	inset-block-start: -1px;
	inset-inline-start: -1px;
	border-inline-end: 0;
	border-block-end: 0;
}

.tx-ecard::after {
	inset-block-end: -1px;
	inset-inline-end: -1px;
	border-inline-start: 0;
	border-block-start: 0;
}

.tx-ecard__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.6rem 0.95rem;
	border-block-end: 1px solid oklch(100% 0 0 / 0.18);
}

.tx-ecard__ico {
	display: flex;
	color: oklch(85% 0.13 225);
	filter: drop-shadow(0 0 6px oklch(85% 0.14 225 / 0.4));
}

.tx-ecard__ref {
	font-family: var(--font-mono);
	font-size: 0.66rem;
	letter-spacing: 0.16em;
	color: oklch(100% 0 0 / 0.55);
}

.tx-ecard__body {
	display: flex;
	flex-direction: column;
	gap: clamp(0.45rem, 1.3vh, 0.8rem);
	padding: clamp(1rem, 2.4vh, 1.5rem) 0.95rem clamp(1.1rem, 2.6vh, 1.6rem);
}

.tx-ecard__title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.45rem);
	line-height: 1.15;
	color: #fff;
}

.tx-ecard__desc {
	margin: 0;
	font-size: clamp(0.88rem, 0.84rem + 0.2vw, 1rem);
	line-height: 1.5;
	color: oklch(100% 0 0 / 0.78);
}

.tx-ecard__points {
	list-style: none;
	margin: clamp(0.2rem, 0.7vh, 0.45rem) 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: clamp(0.4rem, 1vh, 0.65rem);
}

.tx-ecard__point {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-family: var(--font-display);
	font-size: clamp(0.85rem, 0.82rem + 0.15vw, 0.96rem);
	line-height: 1.3;
	color: oklch(100% 0 0 / 0.86);
}

.tx-ecard__check {
	flex: none;
	margin-block-start: 0.12em;
	color: oklch(85% 0.13 225);
	filter: drop-shadow(0 0 5px oklch(85% 0.14 225 / 0.4));
}

/* Preview mejorada: mockup tipo navegador (barra + pantalla) debajo del texto,
   alineada al fondo. Admite captura real vía --img (rellenar 'img' en el array). */
.tx-ecard__media {
	margin: auto 0.95rem clamp(0.7rem, 1.8vh, 1.4rem); /* top auto → al fondo; lados/abajo con sangría */
	border: 1px solid oklch(100% 0 0 / 0.18);
	border-radius: 7px;
	overflow: hidden;
	background: oklch(22% 0.06 258 / 0.55);
	box-shadow:
		0 8px 22px oklch(10% 0.04 262 / 0.32),
		inset 0 1px 0 oklch(100% 0 0 / 0.06);
}

.tx-ecard__chrome {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 7px 9px;
	border-block-end: 1px solid oklch(100% 0 0 / 0.12);
	background: oklch(100% 0 0 / 0.05);
}

.tx-ecard__chrome i {
	inline-size: 7px;
	block-size: 7px;
	border-radius: 50%;
	background: oklch(100% 0 0 / 0.28);
}

.tx-ecard__chrome i:first-child  { background: oklch(70% 0.17 25 / 0.7); }
.tx-ecard__chrome i:nth-child(2) { background: oklch(82% 0.15 85 / 0.7); }
.tx-ecard__chrome i:nth-child(3) { background: oklch(76% 0.16 150 / 0.7); }

.tx-ecard__screen {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	block-size: clamp(3rem, 7.5vh, 8rem);
	padding: 0.6rem;
	background: var(--img, linear-gradient(160deg, oklch(52% 0.12 250 / 0.4), oklch(28% 0.1 258 / 0.32)));
	background-size: cover;
	background-position: center;
}

/* Esqueleto de la preview (placeholder hasta poner captura real). */
.tx-ecard__sk-bar {
	block-size: 8px;
	inline-size: 45%;
	border-radius: 4px;
	background: oklch(100% 0 0 / 0.3);
}

.tx-ecard__sk-grid {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.4rem;
}

.tx-ecard__sk-grid i {
	border-radius: 4px;
	background: oklch(100% 0 0 / 0.14);
	box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.08);
}

/* Tira de plugins propios (cero terceros). */
.tx-ecom__plugins {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem 0.9rem;
	padding: clamp(0.8rem, 2vh, 1.1rem) clamp(0.95rem, 2vw, 1.3rem);
	border: 1px solid oklch(100% 0 0 / 0.16);
	background: oklch(100% 0 0 / 0.03);
}

.tx-ecom__plugins-cap {
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: oklch(85% 0.13 225 / 0.95);
	margin-inline-end: 0.25rem;
}

.tx-ecom__chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tx-ecom__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	padding: 0.35em 0.8em;
	border: 1px solid oklch(100% 0 0 / 0.2);
	border-radius: 100px;
	font-family: var(--font-display);
	font-size: clamp(0.74rem, 0.7rem + 0.15vw, 0.85rem);
	color: oklch(100% 0 0 / 0.86);
}

.tx-ecom__chip::before {
	content: '';
	inline-size: 0.4em;
	block-size: 0.4em;
	border-radius: 50%;
	background: oklch(85% 0.13 225);
	box-shadow: 0 0 7px oklch(85% 0.14 225 / 0.8);
}

/* Centra el bloque ecommerce en la mitad vertical de la sección (nombre arriba). */
@media (min-width: 64em) {
	.tx-band--ecom {
		align-items: stretch;
	}

	.tx-ecom {
		margin-block: auto;
	}
}

/* ======================================================================== *
 * Sección AUTOMATIZACIONES: ficha destacada (IA conversacional con memoria)
 * + rejilla de otros tipos de automatización. Estética de plano.
 * ======================================================================== */
.tx-band--auto .container {
	display: flex;
	flex-direction: column;
	gap: clamp(1.5rem, 4vh, 2.5rem);
}

/* Nombre + intro arriba a la izquierda (todas las bandas van a la izquierda). */
.tx-auto__intro {
	margin: clamp(0.75rem, 2vh, 1.25rem) 0 0;
	max-width: 42ch;
	font-size: clamp(1rem, 0.92rem + 0.4vw, 1.2rem);
	line-height: 1.55;
	color: oklch(100% 0 0 / 0.82);
}

.tx-auto {
	inline-size: min(100%, 66rem);
	margin-inline: auto;
}

.tx-auto__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(0.75rem, 2vw, 1.5rem);
	align-items: stretch;
}

@media (max-width: 48em) {
	.tx-auto__grid {
		grid-template-columns: 1fr;
	}
}

/* Ficha destacada (IA). */
.tx-auto__feature {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid oklch(85% 0.13 225 / 0.45);
	background:
		radial-gradient(120% 90% at 0% 0%, oklch(60% 0.14 250 / 0.18), transparent 60%),
		oklch(100% 0 0 / 0.05);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.tx-auto__feature::before,
.tx-auto__feature::after {
	content: '';
	position: absolute;
	inline-size: 9px;
	block-size: 9px;
	border: 1.5px solid oklch(85% 0.13 225);
}

.tx-auto__feature::before {
	inset-block-start: -1px;
	inset-inline-start: -1px;
	border-inline-end: 0;
	border-block-end: 0;
}

.tx-auto__feature::after {
	inset-block-end: -1px;
	inset-inline-end: -1px;
	border-inline-start: 0;
	border-block-start: 0;
}

.tx-auto__feature-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.6rem 0.95rem;
	border-block-end: 1px solid oklch(100% 0 0 / 0.18);
}

.tx-auto__feature-ico {
	display: flex;
	color: oklch(85% 0.13 225);
	filter: drop-shadow(0 0 7px oklch(85% 0.14 225 / 0.5));
}

.tx-auto__feature-ref {
	font-family: var(--font-mono);
	font-size: 0.66rem;
	letter-spacing: 0.16em;
	color: oklch(85% 0.13 225 / 0.85);
}

.tx-auto__feature-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: clamp(0.55rem, 1.5vh, 0.95rem);
	padding: clamp(1rem, 2.6vh, 1.6rem) clamp(1rem, 1.6vw, 1.4rem) clamp(1.1rem, 2.8vh, 1.7rem);
}

.tx-auto__feature-title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem);
	line-height: 1.12;
	color: #fff;
	text-wrap: balance;
}

.tx-auto__feature-desc {
	margin: 0;
	font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.05rem);
	line-height: 1.55;
	color: oklch(100% 0 0 / 0.82);
}

.tx-auto__badge {
	align-self: flex-start;
	margin-block-start: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.35em 0.75em;
	border-radius: 100px;
	background: oklch(85% 0.13 225 / 0.16);
	border: 1px solid oklch(85% 0.13 225 / 0.5);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.78rem;
	color: oklch(90% 0.08 225);
}

/* Rejilla de otros tipos de automatización. */
.tx-auto__tiles {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: 1fr;
	gap: clamp(0.5rem, 1.2vw, 0.85rem);
}

@media (max-width: 30em) {
	.tx-auto__tiles {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
	}
}

.tx-auto__tile {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: clamp(0.55rem, 1.4vh, 0.85rem) 0.8rem;
	border: 1px solid oklch(100% 0 0 / 0.16);
	background: oklch(100% 0 0 / 0.03);
	transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.tx-auto__tile:hover {
	border-color: oklch(85% 0.13 225 / 0.5);
	background: oklch(100% 0 0 / 0.06);
}

.tx-auto__tile-ico {
	flex: none;
	display: flex;
	color: oklch(85% 0.13 225);
	filter: drop-shadow(0 0 5px oklch(85% 0.14 225 / 0.35));
}

.tx-auto__tile-label {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(0.82rem, 0.78rem + 0.18vw, 0.95rem);
	line-height: 1.2;
	color: oklch(100% 0 0 / 0.88);
}

/* Centra el bloque de automatizaciones en la mitad vertical (nombre arriba). */
@media (min-width: 64em) {
	.tx-band--auto {
		align-items: stretch;
	}

	.tx-auto {
		margin-block: auto;
	}
}

/* Desktop: dos columnas (texto | cuadrado), así el cuadrado no pisa la línea
   técnica vertical que baja por el borde izquierdo. */
@media (min-width: 64em) {
	/* El contenedor llena el alto de la sección para poder centrar el acordeón. */
	.tx-band--apps {
		align-items: stretch;
	}

	.tx-band--apps .container {
		display: grid;
		/* Columnas 1:1 para que «Aplicaciones» quepa en UNA línea también en anchos
		   estrechos (1280–1366); si se parte en dos, el head crece y la sección se
		   pasa de 100vh, descuadrando la unión. */
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-rows: 1fr;
		gap: clamp(1.75rem, 4vw, 4rem);
	}

	/* Nombre + intro ARRIBA (como las demás secciones, así el nodo de la unión
	   sigue anclado en su esquina); el acordeón, CENTRADO en la mitad vertical. */
	/* El NOMBRE + intro van ARRIBA: la unión en «L» se ancla a la posición de
	   .tx-band__name, así que NO se centra el head (rompería la animación). */
	.tx-apps__head {
		align-self: stretch;
		display: flex;
		flex-direction: column;
	}

	/* La hoja de diseño se centra en el hueco libre bajo el texto (sin descuadrar
	   la unión) y se alinea a la DERECHA de su columna. */
	.tx-apps__head .tx-specsheet {
		margin-block: auto;
		align-self: end;
	}

	.tx-apps__box {
		align-self: center;
	}

	/* Cabeceras con más aire en ordenador, sin pasarse (cabe en 100svh). */
	.tx-accordion__head {
		padding-block: clamp(1.3rem, 2.8vh, 2rem);
	}
}

/* El «cuadrado»: panel de cristal que envuelve el acordeón. */
.tx-apps__box {
	width: 100%;
	background: oklch(100% 0 0 / 0.05);
	border: 1px solid oklch(100% 0 0 / 0.14);
	border-radius: var(--radius-lg);
	box-shadow:
		0 14px 46px oklch(10% 0.04 262 / 0.28),
		inset 0 1px 0 oklch(100% 0 0 / 0.08);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	overflow: hidden;
}

/* ---- Acordeón ---------------------------------------------------------- */
.tx-accordion {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tx-accordion__item + .tx-accordion__item {
	border-block-start: 1px solid oklch(100% 0 0 / 0.1);
}

.tx-accordion__h {
	margin: 0;
	font: inherit;
}

.tx-accordion__head {
	inline-size: 100%;
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.2vw, 1.5rem);
	padding: clamp(1.1rem, 2.6vh, 1.6rem) clamp(1.4rem, 3vw, 2.4rem);
	background: transparent;
	border: 0;
	cursor: pointer;
	color: #fff;
	text-align: start;
	font-family: var(--font-display);
	transition: background 0.25s var(--ease-out);
}

.tx-accordion__head:hover,
.tx-accordion__item.is-open .tx-accordion__head {
	background: oklch(100% 0 0 / 0.06);
}

.tx-accordion__head:focus-visible {
	outline: 2px solid oklch(85% 0.13 225);
	outline-offset: -2px;
}

.tx-accordion__num {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	font-variant-numeric: tabular-nums;
	color: oklch(85% 0.13 225);
}

.tx-accordion__title {
	flex: 1 1 auto;
	font-weight: 600;
	font-size: clamp(1.1rem, 0.95rem + 0.7vw, 1.5rem);
	line-height: 1.2;
}

.tx-accordion__chev {
	flex: none;
	inline-size: 11px;
	block-size: 11px;
	border-inline-end: 2px solid currentColor;
	border-block-end: 2px solid currentColor;
	transform: rotate(45deg); /* ▼ */
	opacity: 0.75;
	transition: transform 0.35s var(--ease-out);
}

.tx-accordion__item.is-open .tx-accordion__chev {
	transform: rotate(-135deg); /* ▲ */
}

/* Panel desplegable: alto animado con grid-template-rows 0fr→1fr. */
.tx-accordion__panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.45s var(--ease-out);
}

.tx-accordion__item.is-open .tx-accordion__panel {
	grid-template-rows: 1fr;
}

.tx-accordion__inner {
	overflow: hidden;
	min-block-size: 0;
}

/* ---- Contenido de una app: móvil + info -------------------------------- */
.tx-app {
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 3.5vw, 3rem);
	padding: clamp(0.5rem, 1.5vh, 1.25rem) clamp(1.4rem, 3vw, 2.4rem) clamp(1.75rem, 4vh, 2.75rem);
}

@media (max-width: 32em) {
	.tx-app {
		flex-direction: column;
		align-items: flex-start;
	}
}

.tx-app__info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(0.9rem, 2vh, 1.3rem);
}

.tx-app__tag {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: oklch(100% 0 0 / 0.65);
}

.tx-app__desc {
	margin: 0;
	max-width: 42ch;
	font-size: clamp(0.95rem, 0.9rem + 0.35vw, 1.12rem);
	line-height: 1.6;
	color: oklch(100% 0 0 / 0.8);
}

.tx-app__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	padding: 0.8em 1.45em;
	border-radius: var(--radius-md, 0.65rem);
	background: oklch(85% 0.13 225);
	color: oklch(22% 0.06 260);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	transition:
		transform 0.2s var(--ease-out),
		box-shadow 0.2s var(--ease-out);
}

.tx-app__btn svg {
	transition: transform 0.2s var(--ease-out);
}

.tx-app__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px oklch(70% 0.13 230 / 0.45);
}

.tx-app__btn:hover svg {
	transform: translateX(3px);
}

/* ---- Mockup de móvil (placeholder; admite captura real vía --screen) ---- */
.tx-app__phone {
	flex: none;
	display: block;
	/* Sensible a la altura (min con 20vh): en pantallas bajas se encoge para que
	   el acordeón abierto + la hoja técnica NO hagan crecer la sección por encima
	   de 100svh (y la unión siga midiendo exactamente una pantalla). */
	inline-size: clamp(104px, min(18vw, 20vh), 210px);
	aspect-ratio: 10 / 20.5;
	padding: 0.45rem;
	border-radius: 1.7rem;
	background: linear-gradient(160deg, oklch(32% 0.04 262), oklch(13% 0.03 262));
	border: 1px solid oklch(100% 0 0 / 0.18);
	box-shadow:
		0 18px 50px oklch(8% 0.03 262 / 0.5),
		inset 0 1px 0 oklch(100% 0 0 / 0.14);
	position: relative;
}

.tx-app__phone::before { /* muesca */
	content: '';
	position: absolute;
	inset-block-start: 0.45rem;
	inset-inline-start: 50%;
	transform: translateX(-50%);
	inline-size: 34%;
	block-size: 13px;
	border-radius: 0 0 9px 9px;
	background: oklch(11% 0.03 262);
	z-index: 2;
}

.tx-app__screen {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	border-radius: 1.35rem;
	overflow: hidden;
	position: relative;
	background: var(--screen, linear-gradient(165deg, var(--tx-blue-mid), var(--tx-blue-lo)));
	background-size: cover;
	background-position: center;
}

/* Faux-UI del screenshot (placeholder hasta tener captura real). */
.tx-app__ui {
	position: absolute;
	inset: 0;
	padding: 1.5rem 0.7rem 0.8rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.tx-app__ui-bar {
	block-size: 7px;
	inline-size: 45%;
	border-radius: 4px;
	background: oklch(100% 0 0 / 0.32);
}

.tx-app__ui-card {
	block-size: 34%;
	border-radius: 0.55rem;
	background: oklch(100% 0 0 / 0.18);
	box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.12);
	margin-block: 0.15rem 0.35rem;
}

.tx-app__ui-line {
	block-size: 7px;
	border-radius: 4px;
	background: oklch(100% 0 0 / 0.14);
}

.tx-app__ui-line--short {
	inline-size: 62%;
}

@media (prefers-reduced-motion: reduce) {
	.tx-accordion__panel,
	.tx-accordion__chev,
	.tx-app__btn,
	.tx-app__btn svg {
		transition: none;
	}
}

/* ======================================================================== *
 * #1 CONVERSIÓN: anclas, sección de contacto y CTA del header.
 * Estética blueprint (marcos + crop marks + refs mono + neón).
 * ======================================================================== */

/* Las anclas no quedan tapadas por el header sticky. */
.tx-band,
.tx-bands,
.tx-contact {
	scroll-margin-top: 5rem;
}

/* Páginas de sección: bandas «título solo». El banner es sticky y queda encima,
   así que las anclas necesitan margen extra (header + banner). El resto de la
   estética (eyebrow, corchetes del título, rejilla y conectores) es idéntica a
   las secciones de la portada para no romper la coherencia visual. */
.tx-bands--plain .tx-band {
	scroll-margin-top: calc(var(--tx-header-h, 4.75rem) + 3.25rem);
}

/* Subtexto bajo el título de la sección (mismo tratamiento que los intros de la
   portada): a la izquierda, alineado al borde del contenedor. */
.tx-band__sub {
	margin: clamp(0.75rem, 2vh, 1.25rem) 0 0;
	max-width: 46ch;
	font-size: clamp(1rem, 0.92rem + 0.4vw, 1.2rem);
	line-height: 1.55;
	color: oklch(100% 0 0 / 0.82);
}

/* ======================================================================== *
 * Sección MULTI INBOX (TriWas): split canales + pantalla de medios.
 * Reutiliza la estética HUD (navy/cian, rejilla heredada de .tx-bands) sin
 * esquineros mecha-frame. Pantalla (.tx-media) reutilizable en otras secciones.
 * ======================================================================== */
.tx-band--inbox,
.tx-band--split {
	align-items: center; /* centra el bloque en el 100svh de la banda */
}

/* Título algo menor en el split (la columna es más estrecha): así los nombres
   largos (Gestión Trabajadores, Comunicaciones…) no rozan el panel de medios. */
.tx-band--inbox .tx-band__name,
.tx-band--split .tx-band__name {
	font-size: clamp(2rem, 1.1rem + 3.3vw, 3.7rem);
	max-width: 18ch;
}

.tx-inbox__grid,
.tx-split__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(1.25rem, 3.5vw, 3rem);
	align-items: center;
	width: 100%;
}

.tx-inbox__panel,
.tx-split__panel {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

/* Icono de canal (glifo de marca en tile, coloreado por --c). */
/* Icono de canal estilo «icono de app»: logo de marca en BLANCO sobre un tile
   del color de la marca. */
.tx-inbox__ch-ico {
	flex: none;
	inline-size: 42px;
	block-size: 42px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	color: #fff;
	background: var(--c);
	box-shadow:
		0 5px 14px color-mix(in oklch, var(--c) 42%, transparent),
		inset 0 1px 0 oklch(100% 0 0 / 0.28);
}

/* Instagram: degradado de marca. */
.ch-ig .tx-inbox__ch-ico {
	background: linear-gradient(45deg, #feda75, #fa7e1e 24%, #d62976 50%, #962fbf 74%, #4f5bd5);
	box-shadow:
		0 5px 14px oklch(55% 0.2 0 / 0.4),
		inset 0 1px 0 oklch(100% 0 0 / 0.28);
}

/* Lista de features (secciones split): icono + label + descripción. */
.tx-feat {
	list-style: none;
	margin: clamp(1.1rem, 3vh, 1.75rem) 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	width: 100%;
	max-width: 32rem;
}

.tx-feat__row {
	position: relative;
	overflow: hidden;
	border: 1px solid oklch(100% 0 0 / 0.13);
	border-inline-start: 3px solid var(--hud-cyan);
	border-radius: 9px;
	background: oklch(100% 0 0 / 0.04);
	transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.tx-feat__row.is-open {
	background: oklch(100% 0 0 / 0.07);
	border-color: oklch(80% 0.15 228 / 0.3);
}

/* Cabecera pulsable de la ficha (acordeón). */
.tx-feat__head {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	inline-size: 100%;
	padding: 0.7rem 2.4rem 0.7rem 0.95rem; /* hueco a la derecha para el chevron */
	border: 0;
	margin: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: start;
	transition: background 0.2s var(--ease-out);
}

button.tx-feat__head {
	cursor: pointer;
}

button.tx-feat__head:hover {
	background: oklch(100% 0 0 / 0.05);
}

/* Chevron blanco en la esquina inferior derecha; gira al abrir. */
.tx-feat__chev {
	position: absolute;
	inset-inline-end: 0.7rem;
	inset-block-end: 0.55rem;
	display: inline-flex;
	color: #fff;
	opacity: 0.7;
	transition: transform 0.3s var(--ease-out), opacity 0.2s var(--ease-out);
}

.tx-feat__row.is-open .tx-feat__chev,
button.tx-feat__head:hover .tx-feat__chev {
	opacity: 1;
}

.tx-feat__row.is-open .tx-feat__chev {
	transform: rotate(180deg);
}

/* Panel desplegable: animación por grid-template-rows (0fr → 1fr). */
.tx-feat__panel {
	display: grid;
	grid-template-rows: 0fr;
}

.tx-feat__row.is-open .tx-feat__panel {
	grid-template-rows: 1fr;
}

.tx-feat__panel-inner {
	overflow: hidden;
	min-block-size: 0;
}

.tx-feat__panel-inner p {
	margin: 0;
	padding: 0.7rem 0.95rem 0.9rem;
	border-block-start: 1px dashed oklch(100% 0 0 / 0.14);
	font-size: 0.9rem;
	line-height: 1.55;
	color: oklch(100% 0 0 / 0.74);
}

@media (prefers-reduced-motion: no-preference) {
	.tx-feat__panel {
		transition: grid-template-rows 0.34s var(--ease-out);
	}
}

.tx-feat__ico {
	flex: none;
	inline-size: 40px;
	block-size: 40px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	color: var(--hud-cyan);
	background: color-mix(in oklch, var(--hud-cyan) 12%, transparent);
	border: 1px solid var(--hud-cyan-soft);
	box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.06);
}

.tx-feat__tx {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-inline-size: 0;
}

.tx-feat__label {
	font-family: var(--font-display);
	font-weight: 600;
	color: #fff;
	font-size: clamp(0.98rem, 0.92rem + 0.2vw, 1.08rem);
}

.tx-feat__desc {
	font-size: clamp(0.86rem, 0.83rem + 0.15vw, 0.96rem);
	line-height: 1.5;
	color: oklch(100% 0 0 / 0.72);
	/* Reserva SIEMPRE 2 líneas (y recorta a 2 si se pasa) para que todas las
	   fichas midan exactamente igual, en móvil y en PC. */
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	min-block-size: 3em;
}

/* Lista de canales de la bandeja unificada. */
.tx-inbox__channels {
	list-style: none;
	margin: clamp(1.1rem, 3vh, 1.75rem) 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	width: 100%;
	max-width: 30rem;
}

.tx-inbox__ch {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.7rem 0.95rem;
	border: 1px solid oklch(100% 0 0 / 0.14);
	border-inline-start: 3px solid var(--c);
	border-radius: 9px;
	background: oklch(100% 0 0 / 0.045);
	transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.tx-inbox__ch:hover {
	background: oklch(100% 0 0 / 0.08);
	transform: translateX(2px);
}

.tx-inbox__ch-dot {
	flex: none;
	inline-size: 10px;
	block-size: 10px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: 0 0 8px color-mix(in oklch, var(--c) 60%, transparent);
}

.tx-inbox__ch-name {
	font-family: var(--font-display);
	font-weight: 600;
	color: #fff;
	font-size: clamp(0.98rem, 0.92rem + 0.2vw, 1.1rem);
}

/* Contador de no leídos: pastilla pequeña y sobria a la derecha. */
.tx-inbox__ch-n {
	flex: none;
	margin-inline-start: auto;
	min-inline-size: 1.35rem;
	padding: 0.1rem 0.5rem;
	border-radius: 999px;
	background: oklch(100% 0 0 / 0.12);
	color: #fff;
	font-family: var(--font-mono, monospace);
	font-size: 0.74rem;
	font-weight: 700;
	text-align: center;
}

.tx-inbox__status {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	width: 100%;
	max-width: 30rem;
	margin-top: clamp(0.9rem, 2.4vh, 1.3rem);
}

.tx-inbox__status-rule {
	flex: 1 1 auto;
	block-size: 1px;
	background: linear-gradient(90deg, var(--hud-cyan-soft), transparent);
}

.tx-inbox__status-ref {
	flex: none;
	font-family: var(--font-mono, monospace);
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	color: oklch(100% 0 0 / 0.5);
	white-space: nowrap;
}

/* ---- Panel de pantalla (reutilizable): chrome + medio (img/vídeo/maqueta) -- */
.tx-media {
	margin: 0;
	border: 1px solid oklch(70% 0.14 245 / 0.35);
	border-radius: 12px;
	overflow: hidden;
	background: oklch(22% 0.06 258 / 0.55);
	box-shadow:
		0 18px 44px oklch(10% 0.04 262 / 0.42),
		0 0 0 1px oklch(80% 0.15 228 / 0.06),
		inset 0 1px 0 oklch(100% 0 0 / 0.08);
}

.tx-media__chrome {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0.6rem 0.85rem;
	border-block-end: 1px solid oklch(100% 0 0 / 0.12);
	background: oklch(100% 0 0 / 0.05);
}

.tx-media__chrome i {
	inline-size: 9px;
	block-size: 9px;
	border-radius: 50%;
	background: oklch(100% 0 0 / 0.28);
}

.tx-media__chrome i:first-child  { background: oklch(70% 0.17 25 / 0.75); }
.tx-media__chrome i:nth-child(2) { background: oklch(82% 0.15 85 / 0.75); }
.tx-media__chrome i:nth-child(3) { background: oklch(76% 0.16 150 / 0.75); }

.tx-media__title {
	margin-inline-start: 0.55rem;
	font-family: var(--font-mono, monospace);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	color: oklch(100% 0 0 / 0.6);
}

.tx-media__screen {
	position: relative;
	aspect-ratio: 16 / 10;
	display: flex;
	background: linear-gradient(160deg, oklch(52% 0.12 250 / 0.4), oklch(28% 0.1 258 / 0.32));
}

.tx-media__img,
.tx-media__video,
.tx-media__frame {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	border: 0;
	display: block;
}

/* Maqueta de bandeja unificada (placeholder hasta poner imagen/vídeo). */
.tx-inbox__mock {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.6rem;
	padding: clamp(0.85rem, 2.2vw, 1.5rem);
}

.tx-inbox__mock-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.6rem 0.75rem;
	border-radius: 9px;
	border-inline-start: 3px solid var(--c);
	background: oklch(100% 0 0 / 0.05);
}

.tx-inbox__mock-row.is-active {
	background: oklch(100% 0 0 / 0.1);
	box-shadow: 0 0 0 1px oklch(100% 0 0 / 0.1);
}

.tx-inbox__mock-av {
	flex: none;
	inline-size: 28px;
	block-size: 28px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #fff;
	background: var(--c);
	box-shadow: 0 0 9px color-mix(in oklch, var(--c) 55%, transparent);
}

.tx-inbox__mock-tx {
	flex: 1 1 auto;
	min-inline-size: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.tx-inbox__mock-tx i {
	block-size: 6px;
	border-radius: 3px;
	background: oklch(100% 0 0 / 0.4);
}

.tx-inbox__mock-tx i:last-child {
	inline-size: 62%;
	background: oklch(100% 0 0 / 0.22);
}

.tx-inbox__mock-n {
	flex: none;
	min-inline-size: 20px;
	block-size: 20px;
	padding: 0 5px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--hud-cyan);
	color: var(--hud-ink);
	font-family: var(--font-mono, monospace);
	font-size: 0.7rem;
	font-weight: 700;
}

/* Esqueleto de la pantalla (placeholder si una sección aún no tiene imagen). */
.tx-media__sk {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	padding: clamp(0.85rem, 2.2vw, 1.4rem);
}

.tx-media__sk-bar {
	block-size: 9px;
	inline-size: 42%;
	border-radius: 5px;
	background: oklch(100% 0 0 / 0.3);
}

.tx-media__sk-grid {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.55rem;
}

.tx-media__sk-grid i {
	border-radius: 6px;
	background: oklch(100% 0 0 / 0.13);
	box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.08);
}

/* Móvil: una columna, la pantalla debajo del texto. */
@media (max-width: 60em) {
	.tx-inbox__grid,
	.tx-split__grid {
		grid-template-columns: 1fr;
		gap: clamp(1.25rem, 5vw, 2rem);
	}
	.tx-inbox__channels,
	.tx-inbox__status,
	.tx-feat {
		max-width: none;
	}
}

/* ---- Sección de contacto ---------------------------------------------- */
.tx-contact {
	position: relative;
	isolation: isolate;
	background: var(--tx-flat); /* continúa el azul plano theme-aware */
	padding-block: clamp(3.5rem, 10vh, 7rem);
	color: #fff;
}

/* Rejilla técnica continua (igual que las bandas). */
.tx-contact::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(oklch(100% 0 0 / 0.045) 1px, transparent 1px),
		linear-gradient(90deg, oklch(100% 0 0 / 0.045) 1px, transparent 1px);
	background-size: 56px 56px;
}

.tx-contact__sheet {
	position: relative;
	inline-size: min(100%, 52rem);
	margin-inline: auto;
	border: 1px solid oklch(85% 0.13 225 / 0.4);
	background:
		radial-gradient(120% 100% at 0% 0%, oklch(60% 0.14 250 / 0.16), transparent 60%),
		oklch(100% 0 0 / 0.05);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

.tx-contact__sheet::before,
.tx-contact__sheet::after {
	content: '';
	position: absolute;
	inline-size: 10px;
	block-size: 10px;
	border: 1.5px solid oklch(85% 0.13 225);
}

.tx-contact__sheet::before {
	inset-block-start: -1px;
	inset-inline-start: -1px;
	border-inline-end: 0;
	border-block-end: 0;
}

.tx-contact__sheet::after {
	inset-block-end: -1px;
	inset-inline-end: -1px;
	border-inline-start: 0;
	border-block-start: 0;
}

.tx-contact__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.65rem 1.1rem;
	border-block-end: 1px solid oklch(100% 0 0 / 0.18);
}

.tx-contact__bar-title {
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: oklch(100% 0 0 / 0.9);
}

.tx-contact__bar-ref {
	font-family: var(--font-mono);
	font-size: 0.66rem;
	letter-spacing: 0.14em;
	color: oklch(85% 0.13 225 / 0.9);
}

.tx-contact__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(0.75rem, 2vh, 1.25rem);
	padding: clamp(1.75rem, 4.5vh, 3rem) clamp(1.25rem, 4vw, 3rem) clamp(2rem, 5vh, 3.25rem);
	text-align: center;
}

.tx-contact__title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.75rem);
	line-height: 1.1;
	color: #fff;
	text-wrap: balance;
}

.tx-contact__desc {
	margin: 0;
	max-width: 46ch;
	font-size: clamp(1rem, 0.92rem + 0.4vw, 1.2rem);
	line-height: 1.55;
	color: oklch(100% 0 0 / 0.84);
}

.tx-contact__actions {
	margin-block-start: clamp(0.5rem, 1.5vh, 1rem);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(0.75rem, 2vw, 1.5rem);
}

/* CTA primaria (acento neón, texto oscuro). */
.tx-contact__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	min-block-size: 48px;
	padding: 0.85em 1.6em;
	border-radius: var(--radius-md, 0.65rem);
	background: oklch(85% 0.13 225);
	color: oklch(22% 0.06 260);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.08rem);
	text-decoration: none;
	box-shadow: 0 8px 26px oklch(70% 0.13 230 / 0.4);
	transition:
		transform 0.2s var(--ease-out),
		box-shadow 0.2s var(--ease-out);
}

.tx-contact__cta svg {
	transition: transform 0.2s var(--ease-out);
}

.tx-contact__cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px oklch(70% 0.13 230 / 0.5);
}

.tx-contact__cta:hover svg {
	transform: translateX(3px);
}

/* Enlace de email secundario. */
.tx-contact__mail {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-block-size: 44px;
	padding: 0.4em 0.6em;
	font-family: var(--font-mono);
	font-size: clamp(0.82rem, 0.78rem + 0.15vw, 0.95rem);
	color: oklch(90% 0.06 225);
	text-decoration: none;
}

.tx-contact__mail:hover {
	color: oklch(85% 0.13 225);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---- CTA «Contacto» en el menú del header (ítem con clase menu-cta) ---- */
.home .nav-primary__menu .menu-cta > a {
	display: inline-flex;
	align-items: center;
	min-block-size: 44px;
	padding: 0.5em 1.1em;
	border-radius: 100px;
	background: oklch(85% 0.13 225);
	color: oklch(22% 0.06 260) !important;
	font-weight: 600;
	box-shadow: 0 0 0 1px oklch(85% 0.13 225 / 0.5), 0 6px 18px oklch(70% 0.13 230 / 0.35);
	text-shadow: none;
	transition:
		transform 0.2s var(--ease-out),
		box-shadow 0.2s var(--ease-out);
}

.home .nav-primary__menu .menu-cta > a:hover {
	transform: translateY(-1px);
	box-shadow: 0 0 0 1px oklch(85% 0.13 225 / 0.7), 0 8px 22px oklch(70% 0.13 230 / 0.5);
}

/* Sección activa (scrollspy en front.js con .is-current) y PÁGINA actual
   (.current-menu-item que marca el filtro nav_menu_css_class). Mismo resaltado:
   texto a tope de brillo + subrayado neón. */
.home .nav-primary__menu .is-current > a,
.home .nav-primary__menu .current-menu-item > a {
	color: #fff;
}

/* El tema padre dibuja el subrayado del menú con la propiedad `scale` (0 en
   reposo, 1 en hover). Para la sección/PÁGINA actual lo dejamos SIEMPRE visible:
   misma línea neón azul que en hover, por coherencia. */
.home .nav-primary__menu .is-current:not(.menu-cta) > a::after,
.home .nav-primary__menu .current-menu-item:not(.menu-cta) > a::after {
	scale: 1;
}

/* Focus visible (anillo neón) en lo interactivo nuevo + nav. */
.home .nav-primary__menu a:focus-visible,
.tx-contact__cta:focus-visible,
.tx-contact__mail:focus-visible {
	outline: 2px solid oklch(85% 0.13 225);
	outline-offset: 3px;
	border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.tx-contact__cta,
	.tx-contact__cta svg,
	.home .nav-primary__menu .menu-cta > a {
		transition: none;
	}
}

/* ======================================================================== *
 * #2 CONTRASTE (WCAG AA) + #5 FOCUS VISIBLE.
 * Modo oscuro ya cumplía; en CLARO los textos pequeños de acento/refs y dos
 * labels muy transparentes quedaban < 4.5:1 sobre el azul plano. Se corrige
 * sin cambiar el fondo: token de acento para texto (--tx-ref, más claro en
 * claro, neón en oscuro) + labels menos transparentes. Estética intacta.
 * ======================================================================== */
:root {
	--tx-ref: oklch(91% 0.085 225);
}

[data-theme='dark'] {
	--tx-ref: oklch(85% 0.13 225);
}

/* Refs/números de acento (texto pequeño) → acento legible theme-aware. */
.tx-accordion__num,
.tx-specsheet__num,
.tx-specsheet__ref,
.tx-step__num,
.tx-ecom__plugins-cap,
.tx-auto__feature-ref,
.tx-contact__bar-ref {
	color: var(--tx-ref);
}

/* Labels blancos demasiado tenues en claro → suben a AA. */
.tx-app__tag {
	color: oklch(100% 0 0 / 0.82);
}

.tx-step__ref,
.tx-ecard__ref {
	color: oklch(100% 0 0 / 0.78);
}

/* Focus visible (anillo neón) en TODO lo interactivo de la home. */
.home a:focus-visible,
.home button:focus-visible {
	outline: 2px solid oklch(85% 0.13 225);
	outline-offset: 3px;
}

/* ======================================================================== *
 * #3 Fondo base de la página = azul plano (theme-aware). Evita franjas
 * blancas del body con svh/dvh y overscroll en móvil. front.css solo carga en
 * portada, así que solo afecta a la home.
 * ======================================================================== */
html,
body {
	background-color: var(--tx-flat);
}

/* ======================================================================== *
 * #4 FOOTER con estética blueprint (scoped a la home). Title-block del plano:
 * navy profundo + rejilla técnica + crop marks + hairline neón + punto de
 * marca + hover acento. Sin tocar el tema padre (solo CSS sobre su markup).
 * ======================================================================== */
.home .site-footer {
	position: relative;
	isolation: isolate;
	background-color: oklch(18% 0.05 260);
	background-image:
		linear-gradient(oklch(100% 0 0 / 0.04) 1px, transparent 1px),
		linear-gradient(90deg, oklch(100% 0 0 / 0.04) 1px, transparent 1px);
	background-size: 56px 56px;
	border-block-start: 1px solid oklch(85% 0.13 225 / 0.35);
	box-shadow: inset 0 1px 0 oklch(85% 0.14 225 / 0.15);
}

/* Crop marks neón en las esquinas del pie. */
.home .site-footer::before,
.home .site-footer::after {
	content: '';
	position: absolute;
	inline-size: 11px;
	block-size: 11px;
	border: 1.5px solid oklch(85% 0.13 225 / 0.7);
	z-index: 1;
}

.home .site-footer::before {
	inset-block-start: 10px;
	inset-inline-start: 10px;
	border-inline-end: 0;
	border-block-end: 0;
}

.home .site-footer::after {
	inset-block-end: 10px;
	inset-inline-end: 10px;
	border-inline-start: 0;
	border-block-start: 0;
}

/* Marca + punto neón (anula el display:none del header para este punto). */
.home .site-footer__name {
	font-family: var(--font-display);
}

.home .site-footer__name .site-branding__dot {
	display: inline;
	color: oklch(85% 0.13 225);
	text-shadow: 0 0 10px oklch(85% 0.14 225 / 0.7);
}

/* Nav del pie: punto neón + hover acento. */
.home .site-footer__nav .site-footer__menu a {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	color: oklch(100% 0 0 / 0.82);
	transition: color 0.2s var(--ease-out);
}

.home .site-footer__nav .site-footer__menu a::before {
	content: '';
	inline-size: 0.4em;
	block-size: 0.4em;
	border-radius: 50%;
	background: oklch(85% 0.13 225);
	box-shadow: 0 0 7px oklch(85% 0.14 225 / 0.7);
	opacity: 0.7;
	transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.home .site-footer__nav .site-footer__menu a:hover {
	color: #fff;
}

.home .site-footer__nav .site-footer__menu a:hover::before {
	opacity: 1;
	transform: scale(1.3);
}

/* © en mono técnico + legales con hover acento. */
.home .site-footer__copy {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	color: oklch(100% 0 0 / 0.62);
}

.home .site-footer__legal .site-footer__menu a {
	color: oklch(100% 0 0 / 0.62);
	transition: color 0.2s var(--ease-out);
}

.home .site-footer__legal .site-footer__menu a:hover {
	color: oklch(85% 0.13 225);
}

@media (prefers-reduced-motion: reduce) {
	.home .site-footer__nav .site-footer__menu a,
	.home .site-footer__nav .site-footer__menu a::before {
		transition: none;
	}
}

/* ======================================================================== *
 * BANNER bajo la hero: tira blueprint con botón de estado animado (dot live).
 * ======================================================================== */
.tx-banner {
	position: sticky;
	top: var(--tx-header-h, 4.75rem); /* se pega bajo el header sticky */
	z-index: 30;
	isolation: isolate;
	display: flex;
	align-items: stretch;
	background: var(--tx-flat);
	border-block: 1px solid oklch(85% 0.13 225 / 0.22);
}

.tx-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(oklch(100% 0 0 / 0.04) 1px, transparent 1px),
		linear-gradient(90deg, oklch(100% 0 0 / 0.04) 1px, transparent 1px);
	background-size: 56px 56px;
}

/* Centro del banner: las 4 secciones (franja centrada en el hueco entre el
   módulo de estado y el CTA). Cada sección es un enlace al ancla de su banda. */
.tx-banner__nav {
	flex: 1 1 auto;
	min-inline-size: 0;
	display: flex;
	align-items: stretch;
	justify-content: center; /* franja centrada en el hueco, no flotando */
}

/* Páginas de sección: sin franja central; el spacer empuja el CTA a la derecha
   y deja el Estado a la izquierda (mismo reparto que en la portada). */
.tx-banner__spacer {
	flex: 1 1 auto;
	min-inline-size: 0;
}

.tx-banner__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding-inline: clamp(0.9rem, 2.2vw, 1.75rem);
	white-space: nowrap;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(0.82rem, 0.78rem + 0.15vw, 0.92rem);
	color: oklch(100% 0 0 / 0.82);
	text-decoration: none;
	position: relative;
	transition: color 0.2s var(--ease-out);
}

/* Divisoria fina entre secciones. */
.tx-banner__badge + .tx-banner__badge {
	border-inline-start: 1px solid oklch(100% 0 0 / 0.14);
}

.tx-banner__badge svg {
	flex: none;
	color: oklch(85% 0.13 225);
	filter: drop-shadow(0 0 5px oklch(85% 0.14 225 / 0.45));
	transition: transform 0.2s var(--ease-out);
}

/* Subrayado neón al pasar / sección activa (scrollspy usa .is-active si existe). */
.tx-banner__badge::after {
	content: '';
	position: absolute;
	inset-inline: clamp(0.9rem, 2.2vw, 1.75rem);
	inset-block-end: 0.35rem;
	block-size: 2px;
	background: oklch(85% 0.13 225);
	box-shadow: 0 0 8px oklch(85% 0.14 225 / 0.7);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.22s var(--ease-out);
}

.tx-banner__badge:hover,
.tx-banner__badge:focus-visible,
.tx-banner__badge.is-active {
	color: #fff;
}

.tx-banner__badge:hover::after,
.tx-banner__badge:focus-visible::after,
.tx-banner__badge.is-active::after {
	transform: scaleX(1);
}

.tx-banner__badge:hover svg {
	transform: translateY(-1px);
}

/* Sección actual (scrollspy): además del subrayado, un tinte cian de fondo y el
   texto a tope de brillo para que se distinga claramente del simple hover. */
.tx-banner__badge.is-active {
	background: oklch(85% 0.13 225 / 0.1);
}

.tx-banner__badge.is-active svg {
	color: var(--hud-cyan);
	filter: drop-shadow(0 0 6px oklch(85% 0.14 225 / 0.6));
}

/* CTA: rectángulo de acento pegado al borde derecho, a toda la altura. */
.tx-banner__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding-inline: clamp(1.1rem, 2.6vw, 1.9rem);
	border-inline-start: 1px solid oklch(85% 0.13 225 / 0.4);
	background: oklch(85% 0.13 225);
	color: oklch(22% 0.06 260);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.95rem);
	text-decoration: none;
	transition: filter 0.2s var(--ease-out);
}

.tx-banner__cta svg {
	transition: transform 0.2s var(--ease-out);
}

.tx-banner__cta:hover {
	filter: brightness(1.07);
}

.tx-banner__cta:hover svg {
	transform: translateX(3px);
}

/* Móvil: el banner es estrecho → fuera las secciones; quedan Estado + CTA. */
@media (max-width: 48em) {
	.tx-banner__nav {
		display: none;
	}
}

/* Módulo de estado: RECTÁNGULO pegado al borde izquierdo (sin margen), a toda
   la altura del banner, con divisoria neón a la derecha. Sin esquinas redondas. */
.tx-banner__status {
	display: inline-flex;
	align-items: center;
	gap: 0.65em;
	min-block-size: 44px;
	padding-inline: clamp(1.1rem, 3vw, 2rem);
	padding-block: 0.85rem;
	border-inline-end: 1px solid oklch(85% 0.13 225 / 0.4);
	background: oklch(100% 0 0 / 0.07);
	color: oklch(100% 0 0 / 0.92);
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.98rem);
	text-decoration: none;
	transition:
		background 0.25s var(--ease-out),
		color 0.25s var(--ease-out);
}

.tx-banner__status:hover {
	background: oklch(100% 0 0 / 0.12);
	color: #fff;
}

.tx-banner__ext {
	opacity: 0.7;
}

.tx-banner__status:hover .tx-banner__ext {
	opacity: 1;
}

/* Dot «live» pulsante (verde de estado/monitorización). */
.tx-banner__pulse {
	position: relative;
	flex: none;
	inline-size: 9px;
	block-size: 9px;
	border-radius: 50%;
	background: oklch(80% 0.17 160);
	box-shadow: 0 0 8px oklch(80% 0.17 160 / 0.85);
}

.tx-banner__pulse::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: oklch(80% 0.17 160);
}

@media (prefers-reduced-motion: no-preference) {
	.tx-banner__pulse::after {
		animation: tx-status-pulse 2.4s ease-out infinite;
	}
}

@keyframes tx-status-pulse {
	0%   { transform: scale(1);   opacity: 0.55; }
	100% { transform: scale(3.4); opacity: 0; }
}

/* ======================================================================== *
 * OVERHAUL HUD — integración del sistema de grafismos (esquineros de
 * sección, eyebrow técnica, botones angulares, chips). Capa final: gana al
 * cargar después. Componentes base en hud.css.
 * ======================================================================== */

/* ---- Hero: eyebrow + CTAs ---------------------------------------------- */
.tx-splash__eyebrow {
	position: relative;
	z-index: 1;
	margin: 0 0 clamp(1rem, 2.5vh, 1.7rem);
}
.tx-splash__cta {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.9rem;
	margin-top: clamp(1.6rem, 4vh, 2.8rem);
}

/* Esquineros del hero (despejan el header arriba). */
.tx-splash { --hud-corner: clamp(48px, 6vw, 96px); }
.tx-splash > .hud-frame__c--tl { inset: calc(var(--tx-header-h, 4.75rem) + 10px) auto auto 16px; }
.tx-splash > .hud-frame__c--tr { inset: calc(var(--tx-header-h, 4.75rem) + 10px) 16px auto auto; }
.tx-splash > .hud-frame__c--bl { inset: auto auto 16px 16px; }
.tx-splash > .hud-frame__c--br { inset: auto 16px 16px auto; }

/* ---- Secciones: esquineros + eyebrow ----------------------------------- */
.tx-band, .tx-contact { --hud-corner: clamp(40px, 5vw, 76px); }
.tx-band > .hud-frame__c--tl, .tx-contact > .hud-frame__c--tl { inset: 16px auto auto 16px; }
.tx-band > .hud-frame__c--tr, .tx-contact > .hud-frame__c--tr { inset: 16px 16px auto auto; }
.tx-band > .hud-frame__c--bl, .tx-contact > .hud-frame__c--bl { inset: auto auto 16px 16px; }
.tx-band > .hud-frame__c--br, .tx-contact > .hud-frame__c--br { inset: auto 16px 16px auto; }

/* Eyebrow encima del nombre de sección. */
.tx-band .hud-eyebrow {
	margin: 0 0 clamp(0.7rem, 2vh, 1.1rem);
	max-inline-size: 30rem;
}
.tx-band__name { letter-spacing: 0.01em; }

/* Bandas alineadas a la derecha (Bajo Demanda, Automatizaciones): cabecera y
   eyebrow espejadas para que acompañen al nombre. */
.tx-band--right .tx-steps__head,
.tx-band--right .tx-auto__head {
	margin-inline-start: auto;
	text-align: end;
}
.tx-band--right .hud-eyebrow {
	flex-direction: row-reverse;
	margin-inline-start: auto;
}

/* ---- Banner: chips de meta a la derecha -------------------------------- */
.tx-banner__meta { display: none; }
@media (min-width: 62rem) {
	.tx-banner__meta {
		display: inline-flex;
		align-items: center;
		gap: 0.55rem;
		margin-inline-end: 1.1rem;
	}
	.tx-banner__meta .hud-chip { font-size: 0.66rem; padding: 0.35em 0.7em; }
}

/* ---- Contacto: eyebrow centrada --------------------------------------- */
.tx-contact__eyebrow { margin: 0 auto clamp(0.8rem, 2vh, 1.2rem); }

/* ---- Menú superior (home): acento cian HUD en vez del dorado de marca - */
.home .nav-primary__menu a::after { background-color: var(--hud-cyan); }
.home .nav-primary__menu .current-menu-item > a::before { background-color: var(--hud-cyan); }

/* Legibilidad de la eyebrow del hero sobre el grafismo del dragón. */
.tx-splash__eyebrow .hud-eyebrow__text { text-shadow: 0 1px 10px oklch(16% 0.05 260 / 0.75); }
.tx-splash__eyebrow .hud-slash { filter: drop-shadow(0 1px 6px oklch(16% 0.05 260 / 0.6)); }

/* ======================================================================== *
 * ITERACIÓN HACIA LA REFERENCIA — menos esquineros (solo hero), fondo navy
 * más oscuro, divisores entre secciones y paneles de esquinas cortadas.
 * ======================================================================== */

/* Fondo THEME-AWARE: el toggle cambia SOLO el tono del fondo; los grafismos
   (cian/blanco, esquineros, ticks…) se mantienen igual en ambos modos.
   Claro = azul medio (más navy/elegante que el original); oscuro = navy profundo. */
.home { --tx-flat: oklch(40% 0.12 257); }
[data-theme='dark'] .home { --tx-flat: oklch(22% 0.07 258); }

/* Divisores técnicos entre secciones (sustituyen a los marcos repetidos). */
.tx-bands .tx-band,
.tx-contact { border-block-start: 1px solid var(--hud-cyan-soft); }

/* Paneles interiores: borde cian fino + esquinas cortadas (chamfer), estilo
   de la referencia. Sin el esquinero metálico. */
.tx-specsheet,
.tx-apps__box,
.tx-step,
.tx-ecard,
.tx-auto__feature,
.tx-auto__tile,
.tx-contact__sheet {
	border: 1px solid var(--hud-cyan-soft) !important;
	border-radius: 0 !important;
}
/* Ticks de esquina (crop marks) en los dos paneles que no los traían. */
.tx-apps__box,
.tx-auto__tile { position: relative; }
.tx-apps__box::before, .tx-apps__box::after,
.tx-auto__tile::before, .tx-auto__tile::after {
	content: '';
	position: absolute;
	inline-size: 9px;
	block-size: 9px;
	border: 1.5px solid var(--hud-cyan);
}
.tx-apps__box::before, .tx-auto__tile::before {
	inset-block-start: -1px; inset-inline-start: -1px;
	border-inline-end: 0; border-block-end: 0;
}
.tx-apps__box::after, .tx-auto__tile::after {
	inset-block-end: -1px; inset-inline-end: -1px;
	border-inline-start: 0; border-block-start: 0;
}

/* Solo el remate cian del header; el FONDO lo dan las reglas theme-aware de
   arriba (.home .site-header claro / [data-theme='dark'] oscuro), así el toggle
   sigue cambiando el tono de la cabecera junto con el resto. */
.home .site-header { border-block-end: 1px solid var(--hud-cyan-soft); }

/* ---- Títulos de sección con marco angular (corchetes de esquina) ------- */
.tx-band__name {
	position: relative;
	padding: 0.35em 0.55em 0.3em;
	width: fit-content;
	max-width: 16ch;
}
.tx-band--right .tx-band__name { margin-inline-start: auto; }
.tx-band__name::before,
.tx-band__name::after {
	content: '';
	position: absolute;
	inline-size: 18px;
	block-size: 18px;
	border: 2px solid var(--hud-cyan);
	filter: drop-shadow(0 0 5px oklch(85% 0.14 228 / 0.5));
}
.tx-band__name::before {
	inset-block-start: 0; inset-inline-start: 0;
	border-inline-end: 0; border-block-end: 0;
}
.tx-band__name::after {
	inset-block-end: 0; inset-inline-end: 0;
	border-inline-start: 0; border-block-start: 0;
}

/* ---- Hero: panel de instrumentos (stats laterales + etiquetas SYS) ----- */
.tx-splash__hud {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	font-family: var(--font-techmono, 'Share Tech Mono', monospace);
}
.tx-splash__stat {
	position: absolute;
	inset-block-start: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	font-size: 0.85rem;
	letter-spacing: 0.18em;
	color: #fff;
}
.tx-splash__stat--l { inset-inline-start: clamp(1.5rem, 5vw, 4.5rem); }
.tx-splash__stat--r { inset-inline-end: clamp(1.5rem, 5vw, 4.5rem); }
.tx-splash__stat span { display: flex; align-items: center; gap: 0.6em; }
.tx-splash__stat--r span { flex-direction: row-reverse; }
.tx-splash__stat i {
	inline-size: 9px; block-size: 9px;
	background: var(--hud-cyan);
	box-shadow: 0 0 8px var(--hud-cyan);
}
.tx-splash__sys {
	position: absolute;
	inset-block-end: clamp(1.4rem, 5vh, 3rem);
	font-size: 0.74rem;
	letter-spacing: 0.2em;
	color: oklch(100% 0 0 / 0.55);
}
.tx-splash__sys--l { inset-inline-start: clamp(1.5rem, 5vw, 4.5rem); }
.tx-splash__sys--c { inset-inline-start: 50%; transform: translateX(-50%); }
@media (max-width: 64rem) {
	.tx-splash__stat, .tx-splash__sys--l { display: none; }
}

/* ---- Aplicaciones: barra STATUS: DEPLOYED bajo el acordeón ------------- */
.tx-apps__status {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-block-start: clamp(1rem, 2.5vh, 1.5rem);
	font-family: var(--font-techmono, 'Share Tech Mono', monospace);
}
.tx-apps__status-line {
	flex: 1 1 auto;
	block-size: 1px;
	background: linear-gradient(90deg, var(--hud-cyan-soft), transparent);
}
.tx-apps__status-ref {
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	color: oklch(100% 0 0 / 0.55);
	white-space: nowrap;
}

/* ======================================================================== *
 * MEJORAS DE INTERIOR — mockups HUD reales en cada sección.
 * ======================================================================== */

/* ---- Bajo Demanda: esquema técnico (blueprint) por paso --------------- */
.tx-step__media {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	color: var(--hud-cyan);
	background:
		linear-gradient(oklch(100% 0 0 / 0.045) 1px, transparent 1px),
		linear-gradient(90deg, oklch(100% 0 0 / 0.045) 1px, transparent 1px),
		linear-gradient(160deg, oklch(50% 0.12 250 / 0.18), oklch(26% 0.1 258 / 0.12));
	background-size: 18px 18px, 18px 18px, cover;
}
.tx-step__schema {
	inline-size: clamp(5rem, 11vw, 7rem);
	block-size: auto;
	filter: drop-shadow(0 0 7px oklch(85% 0.14 228 / 0.4));
}
.tx-step__media-cap {
	font-family: var(--font-techmono, ui-monospace, monospace);
	font-size: 0.62rem;
	letter-spacing: 0.18em;
	color: oklch(100% 0 0 / 0.55);
}

/* ---- Aplicaciones: dashboard real dentro del móvil -------------------- */
.tx-app__ui { padding: 1.6rem 0.55rem 0.6rem; gap: 0.42rem; background: linear-gradient(165deg, oklch(30% 0.08 256), oklch(15% 0.05 260)); }
.tx-app__ui-top { display: flex; align-items: center; justify-content: space-between; }
.tx-app__ui-logo { inline-size: 38%; block-size: 6px; border-radius: 3px; background: var(--hud-cyan); box-shadow: 0 0 6px oklch(85% 0.14 228 / 0.5); }
.tx-app__ui-dot { inline-size: 8px; block-size: 8px; border-radius: 50%; background: oklch(80% 0.17 160); box-shadow: 0 0 6px oklch(80% 0.17 160 / 0.8); }
.tx-app__ui-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; }
.tx-app__ui-kpi { position: relative; block-size: 1.8rem; border-radius: 5px; background: oklch(100% 0 0 / 0.07); box-shadow: inset 0 0 0 1px oklch(85% 0.13 225 / 0.22); }
.tx-app__ui-kpi::before { content: ''; position: absolute; inset-block-start: 6px; inset-inline-start: 6px; inline-size: 55%; block-size: 5px; border-radius: 3px; background: oklch(100% 0 0 / 0.5); }
.tx-app__ui-kpi::after { content: ''; position: absolute; inset-block-end: 5px; inset-inline-start: 6px; inline-size: 32%; block-size: 4px; border-radius: 2px; background: var(--hud-cyan); }
.tx-app__ui-chart { display: flex; align-items: flex-end; gap: 4px; block-size: 2.6rem; padding: 0.3rem; border-radius: 5px; background: oklch(100% 0 0 / 0.05); }
.tx-app__ui-chart i { flex: 1; block-size: var(--h, 50%); border-radius: 2px 2px 0 0; background: linear-gradient(var(--hud-cyan), oklch(58% 0.16 245)); box-shadow: 0 0 5px oklch(85% 0.14 228 / 0.4); }
.tx-app__ui-rows { display: flex; flex-direction: column; gap: 0.3rem; }
.tx-app__ui-rows i { block-size: 6px; border-radius: 3px; background: oklch(100% 0 0 / 0.16); }
.tx-app__ui-rows i:nth-child(2) { inline-size: 70%; }

/* ---- Ecommerce: wireframe de web / tienda ----------------------------- */
.tx-ecard__screen { gap: 0.4rem; padding: 0.55rem; }
.tx-ecard__wire { display: flex; flex-direction: column; gap: 0.4rem; block-size: 100%; }
.tx-ecard__wire-nav { display: flex; align-items: center; gap: 5px; }
.tx-ecard__wire-nav i { block-size: 5px; border-radius: 3px; background: oklch(100% 0 0 / 0.3); }
.tx-ecard__wire-nav i:first-child { inline-size: 30%; background: var(--hud-cyan); }
.tx-ecard__wire-nav i:nth-child(2),
.tx-ecard__wire-nav i:nth-child(3) { inline-size: 15%; }
.tx-ecard__wire-hero { position: relative; block-size: 1.9rem; border-radius: 5px; background: linear-gradient(120deg, oklch(60% 0.15 240 / 0.42), oklch(38% 0.12 250 / 0.24)); box-shadow: inset 0 0 0 1px oklch(85% 0.13 225 / 0.25); }
.tx-ecard__wire-hero::after { content: ''; position: absolute; inset-block-end: 6px; inset-inline-start: 8px; inline-size: 30%; block-size: 6px; border-radius: 3px; background: var(--hud-cyan); box-shadow: 0 0 6px oklch(85% 0.14 228 / 0.5); }
.tx-ecard__wire-grid { flex: 1 1 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem; }
.tx-ecard__wire-grid i { position: relative; min-block-size: 1.4rem; border-radius: 4px; background: oklch(100% 0 0 / 0.1); box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 0.1); }
.tx-ecard--shop .tx-ecard__wire-grid i::before { content: ''; position: absolute; inset-block-end: 4px; inset-inline-start: 4px; inline-size: 45%; block-size: 4px; border-radius: 2px; background: oklch(100% 0 0 / 0.45); }
.tx-ecard--shop .tx-ecard__wire-grid i::after { content: ''; position: absolute; inset-block-start: 4px; inset-inline-end: 4px; inline-size: 6px; block-size: 6px; border-radius: 1px; background: var(--hud-cyan); box-shadow: 0 0 5px oklch(85% 0.14 228 / 0.6); }

/* ---- Automatizaciones: chat de IA en la card destacada ---------------- */
.tx-auto__chat { display: flex; flex-direction: column; gap: 0.5rem; margin-block-start: clamp(1rem, 2.5vh, 1.6rem); max-inline-size: 26rem; }
.tx-auto__bubble { font-family: var(--font-text, sans-serif); font-size: 0.82rem; line-height: 1.4; padding: 0.55em 0.85em; max-inline-size: 82%; }
.tx-auto__bubble--in { align-self: flex-start; background: oklch(100% 0 0 / 0.08); color: oklch(100% 0 0 / 0.85); border: 1px solid oklch(100% 0 0 / 0.14); border-radius: 3px 12px 12px 12px; }
.tx-auto__bubble--out { align-self: flex-end; background: oklch(80% 0.15 228 / 0.16); color: #fff; border: 1px solid oklch(85% 0.13 225 / 0.45); border-radius: 12px 3px 12px 12px; }
.tx-auto__typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 0.7em 0.9em; background: oklch(100% 0 0 / 0.08); border-radius: 3px 12px 12px 12px; }
.tx-auto__typing i { inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--hud-cyan); animation: tx-typing 1.2s infinite ease-in-out; }
.tx-auto__typing i:nth-child(2) { animation-delay: 0.2s; }
.tx-auto__typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes tx-typing { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .tx-auto__typing i { animation: none; } }

/* ======================================================================== *
 * APLICACIONES — rehechos los dos cuadros con grafismos HUD.
 * ======================================================================== */

/* ---- Hoja de especificaciones (iconos + token OK + barra de estado) ---- */
.tx-specsheet__title { display: inline-flex; align-items: center; gap: 0.6em; }
.tx-specsheet__title .hud-slash { inline-size: 1.6em; block-size: 0.7em; }
.tx-specsheet__row { gap: 0.7rem; }
.tx-specsheet__ico { flex: none; display: inline-flex; color: var(--hud-cyan); filter: drop-shadow(0 0 5px oklch(85% 0.14 228 / 0.35)); }
.tx-specsheet__ok {
	flex: none;
	display: grid;
	place-items: center;
	inline-size: 21px;
	block-size: 21px;
	color: var(--hud-cyan);
	border: 1px solid oklch(85% 0.13 225 / 0.4);
	background: oklch(85% 0.13 225 / 0.08);
}
.tx-specsheet__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: clamp(0.5rem, 1.1vh, 0.7rem) 0.95rem;
	border-block-start: 1px solid oklch(100% 0 0 / 0.18);
}
.tx-specsheet__foot .hud-chip { font-size: 0.64rem; padding: 0.32em 0.65em; }
.tx-specsheet__foot-ref {
	font-family: var(--font-mono);
	font-size: 0.64rem;
	letter-spacing: 0.14em;
	color: oklch(100% 0 0 / 0.5);
}

/* ---- Desplegable de apps (dot de estado + acento + chips + botón angular) */
.tx-accordion__dot {
	flex: none;
	inline-size: 8px;
	block-size: 8px;
	border-radius: 50%;
	background: oklch(100% 0 0 / 0.25);
	transition: background 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.tx-accordion__item.is-open .tx-accordion__dot {
	background: oklch(80% 0.17 160);
	box-shadow: 0 0 8px oklch(80% 0.17 160 / 0.85);
}
.tx-accordion__item.is-open .tx-accordion__head {
	box-shadow: inset 3px 0 0 var(--hud-cyan);
}
.tx-app__chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.tx-app__chips li {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: oklch(100% 0 0 / 0.78);
	padding: 0.35em 0.7em;
	border: 1px solid oklch(85% 0.13 225 / 0.32);
	clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.tx-app__btn {
	border-radius: 0;
	clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

/* ======================================================================== *
 * BAJO DEMANDA — pasos mejorados (indicador de fase + dot + entregable).
 * ======================================================================== */
.tx-step__bar { align-items: center; }
.tx-step__phase { display: inline-flex; gap: 4px; margin-inline-start: auto; }
.tx-step__phase i { inline-size: 14px; block-size: 4px; background: oklch(100% 0 0 / 0.18); }
.tx-step__phase i.on { background: var(--hud-cyan); box-shadow: 0 0 6px oklch(85% 0.14 228 / 0.6); }
.tx-step__dot { flex: none; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--hud-cyan); box-shadow: 0 0 7px var(--hud-cyan); }

.tx-step__out {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.6rem 0.95rem;
	border-block-start: 1px solid oklch(100% 0 0 / 0.16);
	font-family: var(--font-mono);
}
.tx-step__out > svg { flex: none; color: var(--hud-cyan); filter: drop-shadow(0 0 5px oklch(85% 0.14 228 / 0.4)); }
.tx-step__out-label { flex: 1 1 auto; min-inline-size: 0; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: oklch(100% 0 0 / 0.85); }
.tx-step__meta { flex: none; font-size: 0.6rem; letter-spacing: 0.12em; color: var(--hud-cyan); border: 1px solid oklch(85% 0.13 225 / 0.35); padding: 0.25em 0.5em; }

/* ======================================================================== *
 * ECOMMERCE — fichas mejoradas (dot + URL bar + barra de estado + módulo).
 * ======================================================================== */
.tx-ecard__bar-r { display: inline-flex; align-items: center; gap: 0.6rem; }
.tx-ecard__dot { flex: none; inline-size: 7px; block-size: 7px; border-radius: 50%; background: oklch(80% 0.17 160); box-shadow: 0 0 7px oklch(80% 0.17 160 / 0.85); }

.tx-ecard__url {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	margin-inline-start: auto;
	max-inline-size: 62%;
	padding: 0.18em 0.6em;
	border-radius: 4px;
	background: oklch(100% 0 0 / 0.08);
	font-family: var(--font-mono);
	font-size: 0.6rem;
	letter-spacing: 0.02em;
	color: oklch(100% 0 0 / 0.6);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tx-ecard__url svg { flex: none; color: var(--hud-cyan); }

.tx-ecard__status {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0 0.95rem clamp(0.8rem, 2vh, 1.3rem);
	padding-block-start: 0.7rem;
	border-block-start: 1px solid oklch(100% 0 0 / 0.16);
	font-family: var(--font-mono);
}
.tx-ecard__status .hud-chip { font-size: 0.62rem; padding: 0.3em 0.6em; }
.tx-ecard__status-line { flex: 1 1 auto; block-size: 1px; background: linear-gradient(90deg, var(--hud-cyan-soft), transparent); }
.tx-ecard__status-ref { flex: none; font-size: 0.6rem; letter-spacing: 0.1em; color: oklch(100% 0 0 / 0.5); white-space: nowrap; }

/* La preview ya no necesita su margen inferior (lo aporta la barra de estado). */
.tx-ecard__media { margin-block-end: clamp(0.5rem, 1.2vh, 0.9rem); }

/* Tira de plugins como módulo HUD: slash + contador + chips angulares. */
.tx-ecom__plugins-cap { display: inline-flex; align-items: center; gap: 0.55em; }
.tx-ecom__plugins-cap .hud-slash { inline-size: 1.5em; block-size: 0.65em; }
.tx-ecom__plugins-count {
	font-family: var(--font-mono);
	font-size: 0.66rem;
	color: var(--hud-cyan);
	border: 1px solid oklch(85% 0.13 225 / 0.4);
	padding: 0.15em 0.45em;
	margin-inline-end: 0.3rem;
}
.tx-ecom__chip {
	border-radius: 0;
	clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

/* ======================================================================== *
 * AUTOMATIZACIONES — card de IA + tiles como mini-módulos del catálogo.
 * ======================================================================== */
.tx-auto__feature-barr { display: inline-flex; align-items: center; gap: 0.6rem; }
.tx-auto__feature-dot { flex: none; inline-size: 7px; block-size: 7px; border-radius: 50%; background: oklch(80% 0.17 160); box-shadow: 0 0 7px oklch(80% 0.17 160 / 0.85); }
.tx-auto__feature-status {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0 clamp(1rem, 1.6vw, 1.4rem) clamp(1rem, 2.4vh, 1.5rem);
	padding-block-start: 0.7rem;
	border-block-start: 1px solid oklch(100% 0 0 / 0.16);
	font-family: var(--font-mono);
}
.tx-auto__feature-status .hud-chip { font-size: 0.62rem; padding: 0.3em 0.6em; }
.tx-auto__feature-status-line { flex: 1 1 auto; block-size: 1px; background: linear-gradient(90deg, var(--hud-cyan-soft), transparent); }
.tx-auto__feature-status-ref { flex: none; font-size: 0.6rem; letter-spacing: 0.1em; color: oklch(100% 0 0 / 0.5); white-space: nowrap; }

/* Tiles: módulo en columna (icono en caja + dot, label, etiqueta de estado). */
.tx-auto__tile {
	flex-direction: column;
	align-items: stretch;
	justify-content: space-between;
	gap: clamp(0.55rem, 1.3vh, 0.9rem);
	padding: clamp(0.7rem, 1.6vh, 1rem) clamp(0.75rem, 1.4vw, 1rem);
}
.tx-auto__tile-top { display: flex; align-items: center; justify-content: space-between; }
.tx-auto__tile-ico {
	flex: none;
	inline-size: 34px;
	block-size: 34px;
	display: grid;
	place-items: center;
	border: 1px solid oklch(85% 0.13 225 / 0.3);
	background: oklch(85% 0.13 225 / 0.08);
	clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.tx-auto__tile-dot { flex: none; inline-size: 7px; block-size: 7px; border-radius: 50%; }
.tx-auto__tile--incl .tx-auto__tile-dot { background: oklch(80% 0.17 160); box-shadow: 0 0 7px oklch(80% 0.17 160 / 0.85); }
.tx-auto__tile--custom .tx-auto__tile-dot { background: var(--hud-cyan); box-shadow: 0 0 7px var(--hud-cyan); }
.tx-auto__tile-ref { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.14em; }
.tx-auto__tile--incl .tx-auto__tile-ref { color: oklch(80% 0.13 160); }
.tx-auto__tile--custom .tx-auto__tile-ref { color: var(--hud-cyan); }

/* ======================================================================== *
 * HERO — foto de fondo (sobre el grid, bajo las letras/logo). Cover
 * responsive + viñeta/tinte a --tx-flat (sin corte, theme-aware).
 * ======================================================================== */
.tx-splash__photo {
	position: absolute;
	inset: 0;
	/* La imagen la fija el hero por página vía --hero-photo (respaldo: home). */
	background-image: var(--hero-photo, url('../img/hero-desk.jpg'));
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
/* Tinte azul de marca + fundido a --tx-flat en los bordes (arriba/abajo y radial)
   para integrar la foto sin costuras y garantizar el blanco del wordmark. */
.tx-splash__photo::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(140% 105% at 50% 42%, transparent 22%, color-mix(in oklch, var(--tx-flat) 55%, transparent) 60%, var(--tx-flat) 100%),
		linear-gradient(180deg, var(--tx-flat) 0%, transparent 20%, transparent 64%, var(--tx-flat) 100%),
		color-mix(in oklch, var(--tx-flat) 40%, transparent);
}

/* ======================================================================== *
 * HERO — sin pills: recentrado de textos + botones más abajo en escritorio.
 * ======================================================================== */
.tx-splash__cta { margin-block-start: clamp(1.8rem, 4.5vh, 3rem); }
@media (min-width: 64em) {
	.tx-splash__cta { margin-block-start: clamp(3.25rem, 9vh, 6.5rem); }
}

/* ======================================================================== *
 * TriWas — mockup de multi-inbox en el móvil (placeholder hasta captura real).
 * ======================================================================== */
.tx-app__ui--inbox {
	padding: 1.5rem 0.5rem 0.6rem;
	gap: 0.4rem;
	background: linear-gradient(180deg, oklch(26% 0.06 258), oklch(13% 0.04 260));
}
.tx-app__ibx-top { display: flex; align-items: center; justify-content: space-between; }
.tx-app__ibx-logo { inline-size: 42%; block-size: 6px; border-radius: 3px; background: var(--hud-cyan); box-shadow: 0 0 6px oklch(85% 0.14 228 / 0.5); }
.tx-app__ibx-dot { inline-size: 8px; block-size: 8px; border-radius: 50%; background: oklch(80% 0.17 160); box-shadow: 0 0 6px oklch(80% 0.17 160 / 0.8); }
.tx-app__ibx-tabs { display: flex; gap: 5px; margin-block: 0.1rem 0.25rem; }
.tx-app__ibx-tabs i { inline-size: 15px; block-size: 15px; border-radius: 4px; background: color-mix(in oklch, var(--c) 65%, transparent); box-shadow: inset 0 0 0 1px var(--c); }
.tx-app__ibx-row { display: flex; align-items: center; gap: 6px; padding: 4px 5px; border-radius: 6px; background: oklch(100% 0 0 / 0.05); }
.tx-app__ibx-av { flex: none; inline-size: 18px; block-size: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 6px color-mix(in oklch, var(--c) 55%, transparent); }
.tx-app__ibx-tx { flex: 1 1 auto; min-inline-size: 0; display: flex; flex-direction: column; gap: 3px; }
.tx-app__ibx-tx i { block-size: 4px; border-radius: 2px; background: oklch(100% 0 0 / 0.42); }
.tx-app__ibx-tx i:last-child { inline-size: 72%; background: oklch(100% 0 0 / 0.2); }
.tx-app__ibx-n {
	flex: none;
	min-inline-size: 13px;
	block-size: 13px;
	padding: 0 3px;
	border-radius: 7px;
	background: var(--hud-cyan);
	color: var(--hud-ink);
	font-family: var(--font-mono);
	font-size: 7px;
	font-weight: 700;
	display: grid;
	place-items: center;
}
/* Colores por canal. */
.ch-wa   { --c: oklch(72% 0.17 150); }  /* WhatsApp */
.ch-ig   { --c: oklch(62% 0.21 12); }   /* Instagram */
.ch-mail { --c: oklch(62% 0.15 255); }  /* Email */
.ch-web  { --c: oklch(80% 0.15 228); }  /* Webchat (marca) */

/* ======================================================================== *
 * ECOMMERCE v2 — filas grandes. El mockup de navegador pasa a ser el
 * protagonista (columna ancha, imagen a sangre) y la info va al lado,
 * alternando lados web/tienda. Rehecho para que las capturas se vean
 * grandes y legibles, con el mismo lenguaje HUD (esquineros, barra, chips,
 * barra de estado, barra de URL). Solo CSS: recoloca el markup existente
 * (bar / body / media / status) por grid-template-areas.
 * ======================================================================== */

/* El bloque deja de centrarse en vertical (elimina el hueco enorme) y se
   ensancha para ganar tamaño de imagen. */
.tx-ecom {
	inline-size: min(100%, 72rem);
	gap: clamp(1.2rem, 3vh, 2.2rem);
}
@media (min-width: 64em) {
	.tx-ecom { margin-block: 0; }
}

/* Las dos modalidades se apilan (cada una ocupa el ancho completo). */
.tx-ecom__cards {
	grid-template-columns: 1fr;
	gap: clamp(1.1rem, 2.8vh, 2rem);
}

/* Ficha = fila a dos columnas: info + mockup grande. Se alternan lados. */
.tx-ecard {
	display: grid;
	grid-template-columns: 0.82fr 1.18fr;
	grid-template-rows: auto 1fr auto;
	grid-template-areas:
		"bar    media"
		"body   media"
		"status media";
	align-items: stretch;
	overflow: hidden;
}
.tx-ecard--shop {
	grid-template-columns: 1.18fr 0.82fr;
	grid-template-areas:
		"media bar"
		"media body"
		"media status";
}

.tx-ecard__bar    { grid-area: bar; }
.tx-ecard__body   { grid-area: body; }
.tx-ecard__status { grid-area: status; }
.tx-ecard__media  { grid-area: media; }

/* --- Mockup navegador GRANDE (a sangre, ocupa toda la altura de la fila) --- */
.tx-ecard__media {
	margin: 0;
	border: 0;
	border-inline-end: 1px solid oklch(100% 0 0 / 0.14);
	border-radius: 0;
	display: flex;
	flex-direction: column;
	background: oklch(13% 0.04 260 / 0.7);
	box-shadow: none;
}
.tx-ecard--shop .tx-ecard__media {
	border-inline-end: 0;
	border-inline-start: 1px solid oklch(100% 0 0 / 0.14);
}
.tx-ecard__chrome {
	padding: 0.6rem 0.85rem;
	background: oklch(100% 0 0 / 0.05);
	border-block-end: 1px solid oklch(100% 0 0 / 0.1);
}
.tx-ecard__chrome i { inline-size: 8px; block-size: 8px; }
.tx-ecard__url { font-size: 0.66rem; max-inline-size: 70%; padding: 0.22em 0.7em; }
.tx-ecard__screen {
	flex: 1 1 auto;
	display: block;
	block-size: auto;
	min-block-size: clamp(11rem, 27vw, 21rem);
	padding: 0;
	aspect-ratio: auto;
	background: var(--img, linear-gradient(160deg, oklch(52% 0.12 250 / 0.4), oklch(28% 0.1 258 / 0.32)));
	background-size: cover;
	background-position: center top;
}

/* --- Columna de info --- */
.tx-ecard__bar {
	padding: clamp(0.9rem, 2.2vh, 1.35rem) clamp(1rem, 2vw, 1.45rem) 0;
	border-block-end: 0;
}
.tx-ecard__body {
	gap: clamp(0.5rem, 1.4vh, 0.85rem);
	padding: clamp(0.55rem, 1.5vh, 0.9rem) clamp(1rem, 2vw, 1.45rem) 0;
}
.tx-ecard__title {
	font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem);
	line-height: 1.1;
}
.tx-ecard__desc {
	font-size: clamp(0.92rem, 0.86rem + 0.28vw, 1.08rem);
}
.tx-ecard__status {
	align-self: end;
	margin: 0;
	padding: clamp(0.85rem, 2vh, 1.25rem) clamp(1rem, 2vw, 1.45rem) clamp(0.95rem, 2.2vh, 1.4rem);
	padding-block-start: clamp(0.85rem, 2vh, 1.25rem);
	border-block-start: 1px solid oklch(100% 0 0 / 0.14);
}

/* --- Responsive: mockup arriba a sangre, info debajo. Imagen sigue grande. --- */
@media (max-width: 56em) {
	.tx-ecard,
	.tx-ecard--shop {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto 1fr auto;
		grid-template-areas:
			"media"
			"bar"
			"body"
			"status";
	}
	.tx-ecard__media,
	.tx-ecard--shop .tx-ecard__media {
		border: 0;
		border-block-end: 1px solid oklch(100% 0 0 / 0.14);
	}
	.tx-ecard__screen { min-block-size: clamp(10rem, 48vw, 17rem); }
}

/* ======================================================================== *
 * BAJO DEMANDA v2 — cada paso muestra un mockup real grande (scope / build /
 * deploy) en lugar del icono esquemático. Mantiene el flujo de 3 pasos con
 * flechas y el lenguaje HUD (num, fases, out-footer). La caption FIG.0X pasa
 * a ser una etiqueta sobre la imagen.
 * ======================================================================== */

/* Sin centrado vertical: elimina el hueco muerto sobre las fichas. */
@media (min-width: 64em) {
	.tx-steps { margin-block: 0; }
}

/* Media en modo imagen: a sangre, grande, con la captura de cover. */
.tx-step__media.has-img {
	position: relative;
	display: block;
	block-size: clamp(9.5rem, 25vh, 15.5rem);
	padding: 0;
	background: var(--img) center top / cover no-repeat;
	border-block-start: 1px solid oklch(100% 0 0 / 0.16);
}
/* La captura ya trae su propia barra/título; la caption FIG.0X sobraba y
   colisionaba con el contenido inferior del mockup. Se oculta en modo imagen. */
.tx-step__media.has-img .tx-step__media-cap {
	display: none;
}

/* En móvil la ficha crece de forma natural; deja la imagen respirar. */
@media (max-width: 48em) {
	.tx-step__media.has-img { block-size: clamp(10rem, 52vw, 17rem); }
}

/* ═══ Demo modal ════════════════════════════════════════════════════════════
   Ventana flotante en PC / hoja a pantalla completa en móvil. <dialog> nativo:
   backdrop, Esc y foco atrapado los da el navegador. El vídeo lo inyecta
   front.js al abrir (iframe YouTube/Vimeo o <video> mp4) y lo retira al cerrar. */
.tx-demo {
	padding: 0;
	border: 0;
	margin: auto;
	inline-size: min(1000px, 94vw);
	max-inline-size: 94vw;
	background: transparent;
	color: #fff;
	overflow: visible;
}
.tx-demo::backdrop {
	background: oklch(12% 0.04 260 / 0.74);
	backdrop-filter: blur(6px);
}
.tx-demo__window {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	background: oklch(17% 0.035 260 / 0.98);
	border: 1px solid oklch(70% 0.14 245 / 0.42);
	box-shadow: 0 30px 90px oklch(8% 0.05 260 / 0.65), 0 0 0 1px oklch(100% 0 0 / 0.04) inset;
}
.tx-demo__bar {
	position: relative;
	z-index: 3; /* por encima de los esquineros HUD (z-index:2) */
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.7rem 0.85rem 0.7rem 1rem;
	border-block-end: 1px solid oklch(100% 0 0 / 0.1);
	background: oklch(17% 0.035 260 / 0.92);
}
/* Esquineros más discretos dentro del modal. */
.tx-demo__window .hud-frame__c { --hud-corner: clamp(26px, 3.2vw, 42px); }
.tx-demo__dots { display: inline-flex; gap: 0.4rem; }
.tx-demo__dots i {
	inline-size: 0.62rem;
	block-size: 0.62rem;
	border-radius: 50%;
	background: oklch(100% 0 0 / 0.22);
}
.tx-demo__dots i:first-child { background: oklch(72% 0.16 245 / 0.85); }
.tx-demo__title {
	margin: 0 auto 0 0.4rem;
	font-family: var(--font-techmono);
	font-size: 0.82rem;
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: oklch(100% 0 0 / 0.9);
}
.tx-demo__close {
	position: relative;
	z-index: 4;
	display: inline-grid;
	place-items: center;
	inline-size: 2.1rem;
	block-size: 2.1rem;
	padding: 0;
	color: #fff;
	background: oklch(22% 0.045 260 / 0.95);
	border: 1px solid oklch(100% 0 0 / 0.18);
	border-radius: 7px;
	cursor: pointer;
	transition: background 0.18s var(--ease-out, ease), border-color 0.18s var(--ease-out, ease);
}
.tx-demo__close:hover { background: oklch(72% 0.16 245 / 0.28); border-color: oklch(72% 0.16 245 / 0.7); }
.tx-demo__close:focus-visible { outline: 2px solid oklch(80% 0.14 245); outline-offset: 2px; }
.tx-demo__media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
	display: grid;
	place-items: center;
}
.tx-demo__media iframe,
.tx-demo__media video {
	position: absolute;
	inset: 0;
	inline-size: 100%;
	block-size: 100%;
	border: 0;
	display: block;
}
.tx-demo__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.7rem;
	padding: 1.5rem;
	text-align: center;
	color: oklch(100% 0 0 / 0.55);
}
.tx-demo__placeholder svg { color: oklch(72% 0.14 245 / 0.8); }
.tx-demo__placeholder p {
	margin: 0;
	font-family: var(--font-techmono);
	font-size: 0.82rem;
	letter-spacing: 0.08em;
}
/* Bloquea el scroll del fondo mientras el modal está abierto. */
html.tx-demo-open { overflow: hidden; }

/* Móvil: hoja a pantalla completa (la mejor alternativa a la ventana flotante). */
@media (max-width: 40em) {
	.tx-demo {
		inline-size: 100vw;
		max-inline-size: 100vw;
		block-size: 100dvh;
		max-block-size: 100dvh;
		margin: 0;
	}
	.tx-demo__window {
		block-size: 100%;
		border-radius: 0;
		border: 0;
		display: flex;
		flex-direction: column;
	}
	.tx-demo__media { flex: 1 1 auto; aspect-ratio: auto; }
}

/* Animación de entrada (respeta reduced-motion). */
@media (prefers-reduced-motion: no-preference) {
	.tx-demo[open]           { animation: tx-demo-in 0.28s var(--ease-out, ease) both; }
	.tx-demo[open]::backdrop { animation: tx-demo-fade 0.28s ease both; }
}
@keyframes tx-demo-in {
	from { opacity: 0; transform: translateY(10px) scale(0.985); }
	to   { opacity: 1; transform: none; }
}
@keyframes tx-demo-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---- Botones de contacto inertes (sin href): sin cursor de texto -------- */
.hud-btn:not([href]):not(button),
.tx-banner__cta:not([href]),
.tx-contact__cta:not([href]),
.tx-contact__mail:not([href]) {
	cursor: default;
}

/* ======================================================================== *
 * UNIFICACIÓN ESTÉTICA DE LA HOME con las páginas de sección: iconos en
 * TILES redondeados cian (mismo lenguaje que .tx-feat__ico) + tinte cian en
 * los paneles de medios. Solo CSS; el markup de la portada no cambia.
 * ======================================================================== */

/* Iconos «feature» de la home → tile redondeado cian. */
.tx-ecard__ico,
.tx-auto__feature-ico {
	inline-size: 42px;
	block-size: 42px;
	display: grid;
	place-items: center;
	border-radius: 11px;
	color: var(--hud-cyan);
	background: color-mix(in oklch, var(--hud-cyan) 12%, transparent);
	border: 1px solid var(--hud-cyan-soft);
	box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.06);
	filter: none;
}

/* Tiles del grid de automatizaciones: de esquina angular → redondeado (coherencia). */
.tx-auto__tile-ico {
	inline-size: 36px;
	block-size: 36px;
	border-radius: 10px;
	clip-path: none;
	color: var(--hud-cyan);
	background: color-mix(in oklch, var(--hud-cyan) 12%, transparent);
	border: 1px solid var(--hud-cyan-soft);
	filter: none;
}

/* Iconos de la hoja de especificaciones (lista densa): tile compacto. */
.tx-specsheet__ico {
	inline-size: 30px;
	block-size: 30px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	color: var(--hud-cyan);
	background: color-mix(in oklch, var(--hud-cyan) 10%, transparent);
	border: 1px solid var(--hud-cyan-soft);
	filter: none;
}

/* Paneles de medios de la home → mismo tinte/realce cian que .tx-media. */
.tx-ecard__media,
.tx-auto__feature {
	border-color: oklch(70% 0.14 245 / 0.32);
	box-shadow:
		0 12px 30px oklch(10% 0.04 262 / 0.34),
		0 0 0 1px oklch(80% 0.15 228 / 0.05),
		inset 0 1px 0 oklch(100% 0 0 / 0.07);
}

.tx-step__media {
	border-block-start-color: oklch(80% 0.15 228 / 0.32);
}

/* ======================================================================== *
 * Sección PRECIOS: tabla de 3 packs interactiva (toggle mensual/anual).
 * ======================================================================== */
.tx-precios {
	/* Alto por contenido (no 100svh): así el título y las 3 tarjetas se ven
	   juntos, sin tener que hacer scroll dentro de la sección. */
	min-height: auto;
	padding-block: clamp(3.5rem, 11vh, 7rem);
}

.tx-precios .container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

/* Título de Precios algo menor (como en las secciones split) para dar aire. */
.tx-precios .tx-band__name {
	font-size: clamp(2rem, 1.1rem + 3.3vw, 3.7rem);
	max-width: 100%;
}

.tx-price-toggle {
	display: inline-flex;
	gap: 4px;
	margin-top: clamp(1.1rem, 3vh, 1.75rem);
	padding: 4px;
	border-radius: 999px;
	border: 1px solid oklch(100% 0 0 / 0.16);
	background: oklch(100% 0 0 / 0.05);
}

.tx-price-toggle__opt {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.5rem 1.15rem;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.9rem;
	color: oklch(100% 0 0 / 0.7);
	background: transparent;
	transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.tx-price-toggle__opt.is-active {
	background: var(--hud-cyan);
	color: var(--hud-ink);
}

.tx-price-toggle__save {
	font-family: var(--font-mono, monospace);
	font-size: 0.7rem;
	color: var(--hud-cyan);
}

.tx-price-toggle__opt.is-active .tx-price-toggle__save {
	color: var(--hud-ink);
}

.tx-price-grid {
	width: 100%;
	margin-top: clamp(1.75rem, 4.5vh, 2.75rem);
	display: grid;
	/* auto-fit: 2 tarjetas (Webs) o 3 llenan el ancho sin huecos. */
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	align-items: stretch;
}

/* TriJornada = app única: panel ancho (features + compra), no tarjeta estrecha. */
.tx-jorn {
	width: 100%;
	margin-top: clamp(1.75rem, 4.5vh, 2.75rem);
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: center;
	padding: clamp(1.4rem, 3vw, 2.2rem);
	border: 1px solid oklch(70% 0.14 245 / 0.4);
	border-radius: 16px;
	background: oklch(22% 0.06 258 / 0.45);
	box-shadow: 0 0 0 1px oklch(80% 0.15 228 / 0.06), 0 18px 44px oklch(10% 0.04 262 / 0.35);
}

.tx-jorn__name {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
	color: #fff;
}

.tx-jorn__tagline {
	margin: 0.2rem 0 0;
	font-size: clamp(0.98rem, 0.92rem + 0.3vw, 1.12rem);
	color: oklch(100% 0 0 / 0.72);
}

.tx-jorn__features {
	list-style: none;
	margin: clamp(1rem, 2.5vh, 1.5rem) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem 1.2rem;
}

.tx-jorn__features li {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	color: oklch(100% 0 0 / 0.9);
	font-size: 0.96rem;
}

.tx-jorn__features svg { flex: none; margin-block-start: 0.2rem; color: var(--hud-cyan); }

.tx-jorn__buy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
	padding: clamp(1.1rem, 2.5vw, 1.6rem);
	border-radius: 12px;
	border: 1px solid oklch(100% 0 0 / 0.12);
	background: oklch(100% 0 0 / 0.04);
}

.tx-jorn__price { display: flex; align-items: baseline; gap: 0.25rem; color: #fff; }

.tx-jorn__from {
	align-self: center;
	margin-inline-end: 0.15rem;
	font-family: var(--font-mono, monospace);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: oklch(100% 0 0 / 0.6);
}

.tx-jorn__cur { font-size: 1.3rem; font-weight: 600; opacity: 0.85; }

.tx-jorn__amount {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem);
	line-height: 1;
}

.tx-jorn__per { font-size: 0.9rem; color: oklch(100% 0 0 / 0.6); }

.tx-jorn__extra { margin: 0.1rem 0 0.4rem; font-size: 0.9rem; color: oklch(100% 0 0 / 0.72); }

.tx-jorn__cta { align-self: stretch; justify-content: center; }

.tx-jorn__note { margin: 0.35rem 0 0; font-size: 0.78rem; color: oklch(100% 0 0 / 0.5); }
.tx-jorn__price--txt { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.tx-jorn__ask { font-family: var(--font-display, inherit); font-size: 1.35rem; font-weight: 700; line-height: 1.15; color: #fff; }

/* NFC disponible (informativo, NO seleccionable): las dos opciones con specs. */
.tx-nfc { width: 100%; margin: clamp(1.5rem, 4vh, 2.5rem) 0 0; }

.tx-nfc__title {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-block-end: 0.9rem;
	font-family: var(--font-mono, monospace);
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: oklch(100% 0 0 / 0.6);
}

.tx-nfc__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 0.9rem;
}

.tx-nfc-card {
	display: flex;
	gap: 1rem;
	padding: 1rem 1.1rem;
	border: 1px solid oklch(100% 0 0 / 0.13);
	border-radius: 12px;
	background: oklch(100% 0 0 / 0.04);
}

.tx-nfc-card__media {
	flex: none;
	inline-size: 92px;
	block-size: 92px;
	border-radius: 10px;
	overflow: hidden;
	background: oklch(18% 0.05 259);
	display: grid;
	place-items: center;
}

.tx-nfc-card__media img { inline-size: 100%; block-size: 100%; object-fit: cover; display: block; }

.tx-nfc-card__body { min-inline-size: 0; }

.tx-nfc-card__name {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.05rem;
	color: #fff;
}

.tx-nfc-card__chip {
	margin: 0.1rem 0 0.5rem;
	font-family: var(--font-mono, monospace);
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	color: var(--hud-cyan);
}

.tx-nfc-card__specs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.3rem; }

.tx-nfc-card__specs li {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.85rem;
	color: oklch(100% 0 0 / 0.78);
}

.tx-nfc-card__specs svg { flex: none; color: var(--hud-cyan); }

.tx-nfc__note { margin: 0.9rem 0 0; font-size: 0.84rem; color: oklch(100% 0 0 / 0.6); }

@media (max-width: 52em) {
	.tx-jorn { grid-template-columns: 1fr; }
	.tx-jorn__features { grid-template-columns: 1fr; }
}

.tx-price {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	padding: clamp(1.25rem, 2.5vw, 1.9rem);
	border: 1px solid oklch(100% 0 0 / 0.16);
	border-radius: 14px;
	background: oklch(22% 0.06 258 / 0.5);
	box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.06);
	transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.tx-price:hover {
	border-color: oklch(80% 0.15 228 / 0.35);
}

.tx-price--featured {
	border-color: oklch(70% 0.14 245 / 0.55);
	background: oklch(24% 0.065 258 / 0.62);
	box-shadow:
		0 18px 44px oklch(10% 0.04 262 / 0.42),
		0 0 0 1px oklch(80% 0.15 228 / 0.16),
		inset 0 1px 0 oklch(100% 0 0 / 0.08);
}

@media (min-width: 60em) {
	.tx-price--featured {
		transform: translateY(-10px);
	}
	.tx-price--featured:hover {
		transform: translateY(-14px);
	}
}

.tx-price__badge {
	position: absolute;
	inset-block-start: -11px;
	inset-inline-start: clamp(1.25rem, 2.5vw, 1.9rem);
	padding: 0.25rem 0.7rem;
	border-radius: 6px;
	background: var(--hud-cyan);
	color: var(--hud-ink);
	font-family: var(--font-mono, monospace);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.tx-price__name {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
	color: #fff;
}

.tx-price__tagline {
	margin: 0.2rem 0 0;
	font-size: 0.92rem;
	color: oklch(100% 0 0 / 0.7);
}

.tx-price__amount {
	display: flex;
	align-items: baseline;
	gap: 0.2rem;
	margin-block: 0.3rem;
	color: #fff;
}

.tx-price__cur {
	font-size: 1.3rem;
	font-weight: 600;
	opacity: 0.85;
}

.tx-price__value {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem);
	line-height: 1;
}

.tx-price__period {
	font-size: 0.9rem;
	color: oklch(100% 0 0 / 0.6);
}

/* «desde» delante del precio (Webs: proyecto a medida, importe orientativo). */
.tx-price__from {
	align-self: center;
	margin-inline-end: 0.15rem;
	font-family: var(--font-mono, monospace);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: oklch(100% 0 0 / 0.6);
}

/* Nota fiscal bajo la tabla. */
.tx-price-vat {
	margin: clamp(0.85rem, 2.2vh, 1.3rem) 0 0;
	font-size: 0.82rem;
	color: oklch(100% 0 0 / 0.55);
}

/* «Todo incluido» (Webs): panel HUD con infraestructura + plugins (comunes /
   solo tienda), estructurado para que sea claro e intuitivo. */
.tx-incl-panel {
	width: 100%;
	margin: clamp(1.75rem, 4.5vh, 3rem) 0 0;
	border: 1px solid oklch(70% 0.14 245 / 0.35);
	border-radius: 14px;
	overflow: hidden;
	background: oklch(22% 0.06 258 / 0.4);
	box-shadow: 0 18px 44px oklch(10% 0.04 262 / 0.3);
}

.tx-incl-panel__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 1.2rem;
	border-block-end: 1px solid oklch(100% 0 0 / 0.1);
	background: oklch(100% 0 0 / 0.04);
}

.tx-incl-panel__title {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--font-mono, monospace);
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
}

.tx-incl-panel__ref {
	font-family: var(--font-mono, monospace);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	color: var(--hud-cyan);
}

.tx-incl-panel__body {
	padding: clamp(1rem, 2.5vw, 1.75rem);
	display: flex;
	flex-direction: column;
	gap: clamp(1.25rem, 3vh, 2rem);
}

.tx-incl-group__head {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-block-end: 0.85rem;
	padding-block-end: 0.6rem;
	border-block-end: 1px dashed oklch(100% 0 0 / 0.12);
}

.tx-incl-group--shop .tx-incl-group__head {
	border-block-end-color: oklch(80% 0.15 228 / 0.35);
}

.tx-incl-group__ico {
	flex: none;
	inline-size: 34px;
	block-size: 34px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	color: var(--hud-cyan);
	background: color-mix(in oklch, var(--hud-cyan) 12%, transparent);
	border: 1px solid var(--hud-cyan-soft);
}

.tx-incl-group__h {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
	color: #fff;
}

.tx-incl-group__tag {
	padding: 0.18rem 0.6rem;
	border-radius: 20px;
	background: var(--hud-cyan);
	color: var(--hud-ink);
	font-family: var(--font-mono, monospace);
	font-size: 0.62rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 700;
}

.tx-incl-group__count {
	margin-inline-start: auto;
	font-family: var(--font-mono, monospace);
	font-size: 0.8rem;
	color: oklch(100% 0 0 / 0.5);
}

.tx-incl-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 0.6rem;
}

.tx-incl {
	display: flex;
	gap: 0.85rem;
	padding: 0.8rem 0.95rem;
	border: 1px solid oklch(100% 0 0 / 0.1);
	border-radius: 10px;
	background: oklch(100% 0 0 / 0.03);
}

.tx-incl-group--shop .tx-incl {
	border-inline-start: 3px solid var(--hud-cyan);
	background: oklch(80% 0.15 228 / 0.07);
}

.tx-incl__ico {
	flex: none;
	inline-size: 38px;
	block-size: 38px;
	display: grid;
	place-items: center;
	border-radius: 9px;
	color: var(--hud-cyan);
	background: color-mix(in oklch, var(--hud-cyan) 12%, transparent);
	border: 1px solid var(--hud-cyan-soft);
}

.tx-incl__tx {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-inline-size: 0;
}

.tx-incl__name {
	font-family: var(--font-display);
	font-weight: 600;
	color: #fff;
}

.tx-incl__desc {
	font-size: 0.85rem;
	line-height: 1.45;
	color: oklch(100% 0 0 / 0.68);
}


/* Banner cruzado (TriWas): con tu Tienda Online, TriWas completo va gratis. */
.tx-bundle {
	width: 100%;
	margin: clamp(1.5rem, 4vh, 2.5rem) 0 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(1rem, 3vw, 2rem);
	align-items: center;
	padding: clamp(1.2rem, 2.8vw, 1.9rem);
	border-radius: 14px;
	border: 1px solid oklch(70% 0.14 245 / 0.5);
	background: linear-gradient(120deg, oklch(80% 0.15 228 / 0.1), oklch(80% 0.15 228 / 0.03));
	box-shadow: 0 0 0 1px oklch(80% 0.15 228 / 0.08), 0 18px 44px oklch(10% 0.04 262 / 0.3);
}

.tx-bundle__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.3rem 0.75rem;
	border-radius: 20px;
	background: var(--hud-cyan);
	color: var(--hud-ink);
	font-family: var(--font-mono, monospace);
	font-size: 0.68rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 700;
}

.tx-bundle__title {
	margin: 0.6rem 0 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.25rem, 1rem + 1.1vw, 1.8rem);
	color: #fff;
}

.tx-bundle__desc {
	margin: 0.4rem 0 0;
	max-width: 62ch;
	font-size: clamp(0.92rem, 0.88rem + 0.2vw, 1.05rem);
	line-height: 1.5;
	color: oklch(100% 0 0 / 0.78);
}

.tx-bundle__cta { flex: none; }

@media (max-width: 52em) {
	.tx-bundle { grid-template-columns: 1fr; }
}

/* Sublista «TriWas incluido gratis» dentro de la tarjeta Tienda Online. */
.tx-price__bundle {
	margin: 0.9rem 0 0.2rem;
	padding: 0.8rem 0.95rem;
	border-radius: 10px;
	border: 1px solid oklch(70% 0.14 245 / 0.45);
	background: oklch(80% 0.15 228 / 0.08);
}

.tx-price__bundle-title {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-block-end: 0.5rem;
	font-family: var(--font-mono, monospace);
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hud-cyan);
	font-weight: 700;
}

.tx-price__bundle-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }

.tx-price__bundle-list li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.86rem;
	color: oklch(100% 0 0 / 0.88);
}

.tx-price__bundle-list svg { flex: none; color: var(--hud-cyan); }

/* Soporte transversal (modelo OVH): Estándar incluido; Avanzado/Prioritario
   se contratan una vez para toda la cuenta. */
.tx-support { width: 100%; margin: clamp(1.5rem, 4vh, 2.5rem) 0 0; }

.tx-support__title {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-block-end: 0.9rem;
	font-family: var(--font-mono, monospace);
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: oklch(100% 0 0 / 0.6);
}

.tx-support__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 0.8rem;
}

.tx-support-card {
	padding: 1rem 1.1rem;
	border: 1px solid oklch(100% 0 0 / 0.13);
	border-radius: 12px;
	background: oklch(100% 0 0 / 0.04);
}

.tx-support-card--incl {
	border-color: oklch(70% 0.14 245 / 0.5);
	background: oklch(80% 0.15 228 / 0.08);
}

.tx-support-card__head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }

.tx-support-card__name {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.02rem;
	color: #fff;
}

.tx-support-card__tag {
	padding: 0.18rem 0.6rem;
	border-radius: 20px;
	border: 1px solid oklch(100% 0 0 / 0.25);
	color: oklch(100% 0 0 / 0.7);
	font-family: var(--font-mono, monospace);
	font-size: 0.62rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 700;
}

.tx-support-card__tag--incl {
	border-color: var(--hud-cyan);
	background: var(--hud-cyan);
	color: var(--hud-ink);
}

.tx-support-card__time {
	margin: 0.55rem 0 0.2rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--hud-cyan);
}

.tx-support-card__desc { margin: 0; font-size: 0.86rem; line-height: 1.45; color: oklch(100% 0 0 / 0.7); }

.tx-support__note { margin: 0.9rem 0 0; max-width: 74ch; font-size: 0.84rem; color: oklch(100% 0 0 / 0.6); }


/* Tarjetas simples de Webs: imagen + qué es cada una, sin listas de features. */
.tx-price--simple {
	padding: 0;
	overflow: hidden;
}

.tx-price--simple .tx-price__media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.tx-price--simple .tx-price__media img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	display: block;
}

.tx-price--simple .tx-price__head,
.tx-price--simple .tx-price__desc,
.tx-price--simple .tx-price__note-bundle {
	padding-inline: clamp(1.1rem, 2.5vw, 1.5rem);
}

.tx-price--simple .tx-price__head { margin-block-start: 1.1rem; }

.tx-price--simple .tx-price__desc {
	margin: 0.7rem 0 0;
	font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
	line-height: 1.55;
	color: oklch(100% 0 0 / 0.8);
}

.tx-price--simple .tx-price__note-bundle {
	margin: 0.9rem 0 0;
	font-family: var(--font-mono, monospace);
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	color: var(--hud-cyan);
}

.tx-price--simple .tx-price__note-bundle::before {
	content: '★ ';
}

.tx-price--simple .tx-price__cta {
	margin: 1.1rem clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.1rem, 2.5vw, 1.5rem);
}

/* «Todo incluido» como acordeón limpio (sin icono por ítem). */
.tx-incl-acc {
	width: 100%;
	margin: clamp(1.75rem, 4.5vh, 3rem) 0 0;
}

.tx-incl-acc__title {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin-block-end: 0.9rem;
	font-family: var(--font-mono, monospace);
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
}

.tx-acc {
	border: 1px solid oklch(100% 0 0 / 0.13);
	border-radius: 12px;
	background: oklch(100% 0 0 / 0.03);
	margin-block-end: 0.6rem;
	overflow: hidden;
}

.tx-acc--shop { border-inline-start: 3px solid var(--hud-cyan); }

.tx-acc summary {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.9rem 1.1rem;
	cursor: pointer;
	list-style: none;
}

.tx-acc summary::-webkit-details-marker { display: none; }

.tx-acc__h {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
	color: #fff;
}

.tx-acc__tag {
	padding: 0.16rem 0.55rem;
	border-radius: 20px;
	background: var(--hud-cyan);
	color: var(--hud-ink);
	font-family: var(--font-mono, monospace);
	font-size: 0.6rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 700;
}

.tx-acc__count {
	margin-inline-start: auto;
	font-family: var(--font-mono, monospace);
	font-size: 0.78rem;
	color: oklch(100% 0 0 / 0.5);
}

.tx-acc__chev {
	flex: none;
	color: var(--hud-cyan);
	transition: transform 0.2s var(--ease-out);
}

.tx-acc[open] .tx-acc__chev { transform: rotate(180deg); }

.tx-acc__list {
	list-style: none;
	margin: 0;
	padding: 0.2rem 1.1rem 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.tx-acc__list li {
	font-size: 0.92rem;
	line-height: 1.5;
	color: oklch(100% 0 0 / 0.72);
	padding-inline-start: 1rem;
	position: relative;
}

.tx-acc__list li::before {
	content: '';
	position: absolute;
	inset-inline-start: 0;
	inset-block-start: 0.55em;
	inline-size: 5px;
	block-size: 5px;
	border-radius: 50%;
	background: var(--hud-cyan);
}

.tx-acc__list b { color: #fff; font-weight: 600; }

/* Recursos «Rolls-Royce» + nota al pie (1): boost, recursos dedicados. */
.tx-price__fn {
	font-size: 0.6em;
	vertical-align: super;
	margin-inline-start: 0.2em;
	font-weight: 600;
	color: var(--hud-cyan);
}

.tx-price-notes {
	width: 100%;
	margin-block-start: clamp(1.25rem, 3vh, 2rem);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.tx-price-fn {
	max-width: 74ch;
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.55;
	color: oklch(100% 0 0 / 0.58);
}

.tx-price-fn__num {
	color: var(--hud-cyan);
	font-weight: 600;
	margin-inline-end: 0.3rem;
}

/* Ancla de precio (demo-first): «Planes desde X» sobre la escalera de planes. */
.tx-price-anchor {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin: clamp(1rem, 3vh, 1.6rem) 0 clamp(1.25rem, 3.5vh, 2rem);
}

.tx-price-anchor__main {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.3rem, 1rem + 1.4vw, 1.95rem);
	color: #fff;
}

.tx-price-anchor__main::before {
	content: '';
	display: inline-block;
	inline-size: 26px;
	block-size: 2px;
	margin-inline-end: 0.7rem;
	vertical-align: middle;
	background: var(--hud-cyan);
	box-shadow: 0 0 8px var(--hud-cyan);
}

.tx-price-anchor__sub {
	font-size: 0.95rem;
	color: oklch(100% 0 0 / 0.65);
}

/* Pago único de implementación y configuración (bajo el precio mensual). */
/* Cuota base mensual (TriJornada: modelo por empleado). */
.tx-price__base {
	margin: 0.35rem 0 0;
	font-size: 0.9rem;
	color: oklch(100% 0 0 / 0.7);
}

.tx-price__base-value {
	font-weight: 600;
	color: #fff;
}

.tx-price__setup {
	margin: 0.1rem 0 0;
	display: flex;
	flex-direction: column;
	gap: 0.05rem;
	padding-block-start: 0.5rem;
	border-block-start: 1px dashed oklch(100% 0 0 / 0.14);
}

.tx-price__setup-amount {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.98rem;
	color: var(--hud-cyan);
}

.tx-price__setup-label {
	font-size: 0.78rem;
	line-height: 1.35;
	color: oklch(100% 0 0 / 0.6);
}

.tx-price__features {
	list-style: none;
	margin: 0;
	padding: 0.4rem 0 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	flex: 1 1 auto;
}

.tx-price__features li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.95rem;
	color: oklch(100% 0 0 / 0.85);
}

.tx-price__features svg {
	flex: none;
	margin-block-start: 0.15rem;
	color: var(--hud-cyan);
}

.tx-price__cta {
	justify-content: center;
	width: 100%;
	cursor: pointer;
}

@media (max-width: 60em) {
	.tx-price-grid {
		grid-template-columns: 1fr;
		max-width: 34rem;
	}
}

/* Nota de garantía: callout HUD prominente a todo el ancho (no se cobra hasta el
   primer contacto; precio respetado). */
.tx-price-note {
	display: flex;
	align-items: center;
	gap: clamp(0.9rem, 2vw, 1.35rem);
	width: 100%;
	margin: clamp(1.75rem, 4vh, 2.75rem) 0 0;
	padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.25rem, 3vw, 2rem);
	border: 1px solid oklch(80% 0.15 228 / 0.45);
	border-radius: 12px;
	background: linear-gradient(100deg, oklch(80% 0.15 228 / 0.14), oklch(80% 0.15 228 / 0.03) 62%);
	box-shadow:
		0 0 0 1px oklch(80% 0.15 228 / 0.12),
		0 14px 34px oklch(10% 0.04 262 / 0.34),
		inset 0 1px 0 oklch(100% 0 0 / 0.08);
}

.tx-price-note__ico {
	flex: none;
	inline-size: 52px;
	block-size: 52px;
	display: grid;
	place-items: center;
	border-radius: 13px;
	color: var(--hud-ink);
	background: var(--hud-cyan);
	box-shadow: 0 0 18px oklch(85% 0.14 228 / 0.5);
}

.tx-price-note__tag {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin-block-end: 0.3rem;
	font-family: var(--font-mono, monospace);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hud-cyan);
}

.tx-price-note__text {
	margin: 0;
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
	line-height: 1.5;
	color: #fff;
}

.tx-price-note__text strong {
	color: var(--hud-cyan);
	font-weight: 700;
}

@media (max-width: 40em) {
	.tx-price-note {
		align-items: flex-start;
	}
}
