@import "./footer.css";
@import "./header.css";
/* =========================================================
   LEXGO — DESIGN SYSTEM
   ========================================================= */
:root {
	/* Marca */
	--teal: #14b8a6;
	--aqua: #5eead4;
	--indigo-deep: #1e1b4b;
	--indigo-mid: #3730a3;

	/* Producto */
	--sign-purple: #6d28d9;
	--sign-violet: #8b5cf6;
	--time-blue: #1d4ed8;
	--time-sky: #3b82f6;

	/* Neutros */
	--bg: #f8fafc;
	--white: #ffffff;
	--text: #0f172a;
	--text-2: #475569;
	--text-soft: #94a3b8;
	--line: #e2e8f0;

	/* Tipografía */
	--font-sans: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	--font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	/* Layout */
	--container: 1200px;
	--radius: 20px;
	--radius-sm: 12px;
	--shadow: 0 20px 60px -20px rgba(15, 23, 42, 0.15);
	--shadow-lg: 0 40px 80px -30px rgba(30, 27, 75, 0.35);

	/* Easing */
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html,
body {
	margin: 0;
	padding: 0;
}
html {
	scroll-behavior: smooth;
}
body {
	font-family: var(--font-sans);
	background: var(--bg);
	color: var(--text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	line-height: 1.55;
}
img,
svg {
	max-width: 100%;
	display: block;
}
a {
	color: inherit;
	text-decoration: none;
}
button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

/* Tipografía utilitaria */
.eyebrow {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--teal);
	margin: 0 0 16px;
}
.h1 {
	font-size: clamp(40px, 6vw, 72px);
	line-height: 1.05;
	letter-spacing: -0.025em;
	font-weight: 700;
	margin: 0;
}
.h2 {
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	font-weight: 700;
	margin: 0 0 20px;
}
.h3 {
	font-size: 24px;
	line-height: 1.25;
	font-weight: 700;
	margin: 0 0 12px;
	letter-spacing: -0.01em;
}
.lead {
	font-size: clamp(17px, 1.4vw, 20px);
	color: var(--text-2);
	max-width: 640px;
	margin: 0;
}

/* Botones */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 22px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: -0.005em;
	transition:
		transform 0.25s var(--ease),
		box-shadow 0.25s var(--ease),
		background 0.25s var(--ease),
		color 0.25s var(--ease);
	white-space: nowrap;
}
.btn:hover {
	transform: translateY(-2px);
}
.btn .arrow {
	transition: transform 0.25s var(--ease);
}
.btn:hover .arrow {
	transform: translateX(4px);
}

.btn-primary {
	background: linear-gradient(135deg, var(--teal), var(--indigo-mid));
	color: var(--white);
	box-shadow: 0 10px 30px -10px rgba(20, 184, 166, 0.55);
}
.btn-sign {
	background: linear-gradient(135deg, var(--sign-purple), var(--sign-violet));
	color: var(--white);
	box-shadow: 0 10px 30px -10px rgba(109, 40, 217, 0.55);
}
.btn-time {
	background: linear-gradient(135deg, var(--time-blue), var(--time-sky));
	color: var(--white);
	box-shadow: 0 10px 30px -10px rgba(29, 78, 216, 0.55);
}
.btn-ghost {
	background: rgba(255, 255, 255, 0.06);
	color: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(8px);
}
.btn-ghost.dark {
	background: var(--white);
	color: var(--text);
	border: 1px solid var(--line);
}
.btn-ghost.dark:hover {
	background: var(--bg);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
	position: relative;
	padding: 80px 0 120px;
	overflow: hidden;
	isolation: isolate;
}
.hero::before {
	content: "";
	position: absolute;
	inset: -20% -10% auto -10%;
	height: 80%;
	background:
		radial-gradient(60% 50% at 20% 30%, rgba(94, 234, 212, 0.35), transparent 60%),
		radial-gradient(50% 50% at 80% 20%, rgba(55, 48, 163, 0.25), transparent 60%);
	filter: blur(40px);
	z-index: -1;
}
.hero-grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 64px;
	align-items: center;
}
@media (max-width: 980px) {
	.hero-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.hero {
		padding: 48px 0 80px;
	}
}
.hero h1 strong {
	background: linear-gradient(120deg, var(--teal), var(--indigo-mid) 60%, var(--sign-violet));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 800;
}
.hero .lead {
	margin-top: 24px;
}
.hero-ctas {
	margin-top: 36px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.hero-meta {
	margin-top: 40px;
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--text-soft);
	letter-spacing: 0.05em;
}
.hero-meta span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.hero-meta span::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--teal);
	box-shadow: 0 0 12px var(--aqua);
}

/* =========================================================
   HERO SCENE — Cinematic device showcase
   Estructura preparada para alternar entre escenas (LexSign / LexTime).
   Modificadores: .hero-scene--lexsign (purple), .hero-scene--lextime (futuro)
   ========================================================= */
.hero-scene {
	position: relative;
	aspect-ratio: 1 / 1;
	width: 100%;
	max-width: 540px;
	margin-left: auto;
	isolation: isolate;
}

/* Fondo claro con grid muy tenue + halo direccional */
.hero-scene__bg {
	position: absolute;
	inset: 0;
	border-radius: 32px;
	z-index: 0;
	background:
		radial-gradient(60% 50% at 50% 45%, rgba(139, 92, 246, 0.16), transparent 60%),
		radial-gradient(60% 50% at 50% 55%, rgba(59, 130, 246, 0.1), transparent 65%);
}
.hero-scene__bg::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 32px;
	background-image: linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
	background-size: 36px 36px;
	mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 72%);
	-webkit-mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 72%);
}

/* Halo ambient detrás del teléfono */
.hero-scene__halo {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 75%;
	aspect-ratio: 1/1;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.4), rgba(59, 130, 246, 0.15) 40%, transparent 65%);
	filter: blur(18px);
	animation: heroHalo 5s var(--ease) infinite;
	z-index: 1;
}
.hero-scene--lextime .hero-scene__halo {
	background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.4), rgba(94, 234, 212, 0.18) 40%, transparent 65%);
}
@keyframes heroHalo {
	0%,
	100% {
		opacity: 0.65;
		transform: translate(-50%, -50%) scale(1);
	}
	50% {
		opacity: 0.95;
		transform: translate(-50%, -50%) scale(1.06);
	}
}

/* SVG conectores · líneas finas */
.hero-scene__svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	pointer-events: none;
	overflow: visible;
}
.hero-scene__svg path {
	fill: none;
	stroke: url(#heroLineGrad);
	stroke-width: 1.2;
	stroke-linecap: round;
	stroke-dasharray: 3 5;
	opacity: 0;
}
/* Cada path tiene 3 animaciones: fade-in inicial + flow continuo + activación según mockup
   Mapping: 1=NOM-151(final) · 2=OTP · 3=Biometría · 4=Constancia(final) · 5=Evidencia */
.hero-scene__svg path:nth-of-type(1) {
	animation:
		heroLineIn 0.8s var(--ease) 0.6s forwards,
		heroLineFlow 6s linear 1.4s infinite,
		heroLineLit--final 5s var(--ease) infinite;
}
.hero-scene__svg path:nth-of-type(2) {
	animation:
		heroLineIn 0.8s var(--ease) 0.9s forwards,
		heroLineFlow 6s linear 1.7s infinite,
		heroLineLit--otp 5s var(--ease) infinite;
}
.hero-scene__svg path:nth-of-type(3) {
	animation:
		heroLineIn 0.8s var(--ease) 1.2s forwards,
		heroLineFlow 6s linear 2s infinite,
		heroLineLit--bio 5s var(--ease) infinite;
}
.hero-scene__svg path:nth-of-type(4) {
	animation:
		heroLineIn 0.8s var(--ease) 1.5s forwards,
		heroLineFlow 6s linear 2.3s infinite,
		heroLineLit--final 5s var(--ease) infinite;
}
.hero-scene__svg path:nth-of-type(5) {
	animation:
		heroLineIn 0.8s var(--ease) 1.8s forwards,
		heroLineFlow 6s linear 2.6s infinite,
		heroLineLit--ev 5s var(--ease) infinite;
}
@keyframes heroLineIn {
	to {
		opacity: 0.4;
	}
}
@keyframes heroLineFlow {
	to {
		stroke-dashoffset: -30;
	}
}

/* ===== Pulse/draw de líneas sincronizado con activación de labels =====
   Sutil bump al entrar al estado activo (stroke-width + drop-shadow), sostenido hasta que sale */
@keyframes heroLineLit--otp {
	0% {
		opacity: 0.9;
		stroke-width: 1.9;
		filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.65));
	}
	6%,
	45% {
		opacity: 0.78;
		stroke-width: 1.5;
		filter: drop-shadow(0 0 3px rgba(139, 92, 246, 0.4));
	}
	52%,
	95% {
		opacity: 0.32;
		stroke-width: 1.2;
		filter: none;
	}
	100% {
		opacity: 0.9;
		stroke-width: 1.9;
		filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.65));
	}
}
@keyframes heroLineLit--ev {
	0% {
		opacity: 0.9;
		stroke-width: 1.9;
		filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.65));
	}
	6%,
	22% {
		opacity: 0.78;
		stroke-width: 1.5;
		filter: drop-shadow(0 0 3px rgba(139, 92, 246, 0.4));
	}
	29%,
	95% {
		opacity: 0.32;
		stroke-width: 1.2;
		filter: none;
	}
	100% {
		opacity: 0.9;
		stroke-width: 1.9;
		filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.65));
	}
}
@keyframes heroLineLit--bio {
	0%,
	47% {
		opacity: 0.32;
		stroke-width: 1.2;
		filter: none;
	}
	54% {
		opacity: 0.9;
		stroke-width: 1.9;
		filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.65));
	}
	60%,
	72% {
		opacity: 0.78;
		stroke-width: 1.5;
		filter: drop-shadow(0 0 3px rgba(139, 92, 246, 0.4));
	}
	79%,
	100% {
		opacity: 0.32;
		stroke-width: 1.2;
		filter: none;
	}
}
@keyframes heroLineLit--final {
	0%,
	72% {
		opacity: 0.32;
		stroke-width: 1.2;
		filter: none;
	}
	79% {
		opacity: 0.9;
		stroke-width: 1.9;
		filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.65));
	}
	85%,
	97% {
		opacity: 0.78;
		stroke-width: 1.5;
		filter: drop-shadow(0 0 3px rgba(139, 92, 246, 0.4));
	}
	100% {
		opacity: 0.32;
		stroke-width: 1.2;
		filter: none;
	}
}

/* Teléfono protagonista · micro-flotación independiente */
.hero-phone {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 58%;
	aspect-ratio: 5 / 8;
	z-index: 3;
	transform: translate(-50%, -50%);
	animation: heroPhoneFloat 9s var(--ease) infinite;
	filter: drop-shadow(0 34px 56px rgba(30, 27, 75, 0.3)) drop-shadow(0 10px 18px rgba(15, 23, 42, 0.1));
}
/* Parallax orbital sutil · 4 fases con micro-rotación */
@keyframes heroPhoneFloat {
	0%,
	100% {
		transform: translate(-50%, -50%) translate3d(0, 0, 0) rotate(-0.25deg);
	}
	25% {
		transform: translate(-50%, -50%) translate3d(2px, -6px, 0) rotate(0.15deg);
	}
	50% {
		transform: translate(-50%, -50%) translate3d(0, -10px, 0) rotate(0.35deg);
	}
	75% {
		transform: translate(-50%, -50%) translate3d(-2px, -6px, 0) rotate(0.1deg);
	}
}

/* Pantallas apiladas · ciclo 5s con crossfade + blur */
.hero-screen {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	opacity: 0;
	filter: blur(10px) saturate(0.9);
	transform: scale(0.97) translateY(8px);
	animation: heroScenePhase 5s ease-in-out infinite;
	will-change: opacity, filter, transform;
}
.hero-screen--1 {
	animation-delay: 0s;
}
.hero-screen--2 {
	animation-delay: -3.75s;
}
.hero-screen--3 {
	animation-delay: -2.5s;
}
.hero-screen--4 {
	animation-delay: -1.25s;
}

@keyframes heroScenePhase {
	0% {
		opacity: 0;
		filter: blur(14px) saturate(0.78);
		transform: scale(0.94) translateY(10px);
	}
	4% {
		opacity: 1;
		filter: blur(0) saturate(1.04);
		transform: scale(1) translateY(0);
	}
	22% {
		opacity: 1;
		filter: blur(0) saturate(1.04);
		transform: scale(1) translateY(-2px);
	}
	26% {
		opacity: 0;
		filter: blur(14px) saturate(0.92);
		transform: scale(1.04) translateY(-8px);
	}
	100% {
		opacity: 0;
		filter: blur(14px) saturate(0.78);
		transform: scale(0.94) translateY(10px);
	}
}

/* Labels flotantes · glassmorphism minimal */
.hero-label {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow:
		0 10px 22px -12px rgba(15, 23, 42, 0.18),
		inset 0 0 0 1px rgba(15, 23, 42, 0.06);
	font-size: 11.5px;
	font-weight: 600;
	color: var(--text);
	letter-spacing: -0.005em;
	white-space: nowrap;
	z-index: 4;
	opacity: 0;
	/* shorthand "animation" se define en cada modificador (incluye activación según mockup) */
}
.hero-label::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--sign-violet), var(--sign-purple));
	box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.16);
	flex: none;
}
.hero-scene--lextime .hero-label::before {
	background: linear-gradient(135deg, var(--time-sky), var(--time-blue));
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}
@keyframes heroLabelIn {
	from {
		opacity: 0;
		transform: translateY(6px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}
@keyframes heroLabelFloat {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-4px);
	}
}

/* Posición + animación de cada label (incluye activación según mockup visible) */
.hero-label--nom {
	top: 6%;
	left: -2%;
	animation:
		heroLabelIn 0.7s var(--ease) 0.8s forwards,
		heroLabelFloat 5s var(--ease) 1.6s infinite,
		heroLabelLit--final 5s var(--ease) infinite;
}
.hero-label--otp {
	top: 4%;
	right: -4%;
	animation:
		heroLabelIn 0.7s var(--ease) 1s forwards,
		heroLabelFloat 5s var(--ease) 1.8s infinite,
		heroLabelLit--otp 5s var(--ease) infinite;
}
.hero-label--biometria {
	top: 46%;
	right: -8%;
	animation:
		heroLabelIn 0.7s var(--ease) 1.2s forwards,
		heroLabelFloat 5s var(--ease) 2s infinite,
		heroLabelLit--bio 5s var(--ease) infinite;
}
.hero-label--constancia {
	bottom: 6%;
	right: -2%;
	animation:
		heroLabelIn 0.7s var(--ease) 1.4s forwards,
		heroLabelFloat 5s var(--ease) 2.2s infinite,
		heroLabelLit--final 5s var(--ease) infinite;
}
.hero-label--evidencia {
	bottom: 24%;
	left: -6%;
	animation:
		heroLabelIn 0.7s var(--ease) 1.6s forwards,
		heroLabelFloat 5s var(--ease) 2.4s infinite,
		heroLabelLit--ev 5s var(--ease) infinite;
}

/* ===== Activación sincronizada al ciclo (5s) =====
   Mapeo:
   0%-25%   → mockup 01 confirmar-firma → activos: OTP + Evidencia
   25%-50%  → mockup 02 OTP             → activo:  OTP
   50%-75%  → mockup 03 Biometría       → activo:  Biometría
   75%-100% → mockup 04 Firma registrada→ activos: NOM-151 + Constancia
*/
@keyframes heroLabelLit--otp {
	/* activo 0%-50% (scenes 1+2) */
	0%,
	45% {
		background: rgba(255, 255, 255, 0.98);
		box-shadow:
			0 16px 32px -10px rgba(139, 92, 246, 0.42),
			inset 0 0 0 1px rgba(139, 92, 246, 0.34);
	}
	52%,
	95% {
		background: rgba(255, 255, 255, 0.86);
		box-shadow:
			0 10px 22px -12px rgba(15, 23, 42, 0.18),
			inset 0 0 0 1px rgba(15, 23, 42, 0.06);
	}
	100% {
		background: rgba(255, 255, 255, 0.98);
		box-shadow:
			0 16px 32px -10px rgba(139, 92, 246, 0.42),
			inset 0 0 0 1px rgba(139, 92, 246, 0.34);
	}
}
@keyframes heroLabelLit--ev {
	/* activo 0%-25% (scene 1) */
	0%,
	22% {
		background: rgba(255, 255, 255, 0.98);
		box-shadow:
			0 16px 32px -10px rgba(139, 92, 246, 0.42),
			inset 0 0 0 1px rgba(139, 92, 246, 0.34);
	}
	29%,
	95% {
		background: rgba(255, 255, 255, 0.86);
		box-shadow:
			0 10px 22px -12px rgba(15, 23, 42, 0.18),
			inset 0 0 0 1px rgba(15, 23, 42, 0.06);
	}
	100% {
		background: rgba(255, 255, 255, 0.98);
		box-shadow:
			0 16px 32px -10px rgba(139, 92, 246, 0.42),
			inset 0 0 0 1px rgba(139, 92, 246, 0.34);
	}
}
@keyframes heroLabelLit--bio {
	/* activo 50%-75% (scene 3) */
	0%,
	47% {
		background: rgba(255, 255, 255, 0.86);
		box-shadow:
			0 10px 22px -12px rgba(15, 23, 42, 0.18),
			inset 0 0 0 1px rgba(15, 23, 42, 0.06);
	}
	54%,
	72% {
		background: rgba(255, 255, 255, 0.98);
		box-shadow:
			0 16px 32px -10px rgba(139, 92, 246, 0.42),
			inset 0 0 0 1px rgba(139, 92, 246, 0.34);
	}
	79%,
	100% {
		background: rgba(255, 255, 255, 0.86);
		box-shadow:
			0 10px 22px -12px rgba(15, 23, 42, 0.18),
			inset 0 0 0 1px rgba(15, 23, 42, 0.06);
	}
}
@keyframes heroLabelLit--final {
	/* activo 75%-100% (scene 4) */
	0%,
	72% {
		background: rgba(255, 255, 255, 0.86);
		box-shadow:
			0 10px 22px -12px rgba(15, 23, 42, 0.18),
			inset 0 0 0 1px rgba(15, 23, 42, 0.06);
	}
	79%,
	97% {
		background: rgba(255, 255, 255, 0.98);
		box-shadow:
			0 16px 32px -10px rgba(139, 92, 246, 0.42),
			inset 0 0 0 1px rgba(139, 92, 246, 0.34);
	}
	100% {
		background: rgba(255, 255, 255, 0.86);
		box-shadow:
			0 10px 22px -12px rgba(15, 23, 42, 0.18),
			inset 0 0 0 1px rgba(15, 23, 42, 0.06);
	}
}

@media (max-width: 980px) {
	.hero-scene {
		max-width: 420px;
		margin: 0 auto;
	}
	.hero-label {
		font-size: 10.5px;
		padding: 5px 10px;
	}
}
@media (max-width: 600px) {
	.hero-label--biometria {
		right: -2%;
		top: 42%;
	}
	.hero-label--constancia {
		right: 0%;
	}
	.hero-label--evidencia {
		left: -2%;
		bottom: 22%;
	}
}

/* =========================================================
   HERO STAGE — Continuous loop: LexSign → LexTime → loop
   Outer cycle 15s · LexSign 5s · crossfade · LexTime 7.5s · crossfade
   No JS · CSS-only synced rotation
   ========================================================= */
.hero-stage {
	position: relative;
	aspect-ratio: 1 / 1;
	width: 100%;
	max-width: 540px;
	margin-left: auto;
	isolation: isolate;
}
.hero-stage > .hero-scene {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	margin: 0;
}

/* Slot fades: ambos hacen blur+scale al salir, opacidad coordinada */
.hero-stage > .hero-scene--lexsign {
	animation: heroSlotSign 15s ease-in-out infinite;
}
.hero-stage > .hero-scene--lextime {
	animation: heroSlotTime 15s ease-in-out infinite;
}
@keyframes heroSlotSign {
	0% {
		opacity: 1;
		filter: blur(0);
		transform: scale(1);
	}
	30% {
		opacity: 1;
		filter: blur(0);
		transform: scale(1);
	}
	38% {
		opacity: 0;
		filter: blur(18px);
		transform: scale(0.94);
	}
	88% {
		opacity: 0;
		filter: blur(18px);
		transform: scale(1.04);
	}
	100% {
		opacity: 1;
		filter: blur(0);
		transform: scale(1);
	}
}
@keyframes heroSlotTime {
	0% {
		opacity: 0;
		filter: blur(18px);
		transform: scale(0.94);
	}
	34% {
		opacity: 0;
		filter: blur(18px);
		transform: scale(0.94);
	}
	44% {
		opacity: 1;
		filter: blur(0);
		transform: scale(1);
	}
	82% {
		opacity: 1;
		filter: blur(0);
		transform: scale(1);
	}
	90% {
		opacity: 0;
		filter: blur(18px);
		transform: scale(1.04);
	}
	100% {
		opacity: 0;
		filter: blur(18px);
		transform: scale(0.94);
	}
}

/* =========================================================
   LEXTIME SCENE — Workforce control, biometric, self-service
   ========================================================= */
.hero-scene--lextime .hero-scene__bg {
	background:
		radial-gradient(60% 50% at 50% 45%, rgba(59, 130, 246, 0.18), transparent 60%),
		radial-gradient(60% 50% at 50% 55%, rgba(94, 234, 212, 0.1), transparent 65%);
}

/* Tablet (LexTime) — más ancho, ratio 3/4 */
.hero-tablet {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 60%;
	aspect-ratio: 3 / 4;
	z-index: 3;
	transform: translate(-50%, -50%);
	animation: heroTabletFloat 9s var(--ease) infinite;
	filter: drop-shadow(0 34px 56px rgba(29, 78, 216, 0.3)) drop-shadow(0 10px 18px rgba(15, 23, 42, 0.1));
}
@keyframes heroTabletFloat {
	0%,
	100% {
		transform: translate(-50%, -50%) translate3d(0, 0, 0) rotate(-0.2deg);
	}
	25% {
		transform: translate(-50%, -50%) translate3d(-2px, -6px, 0) rotate(0.12deg);
	}
	50% {
		transform: translate(-50%, -50%) translate3d(0, -10px, 0) rotate(0.3deg);
	}
	75% {
		transform: translate(-50%, -50%) translate3d(2px, -6px, 0) rotate(0.08deg);
	}
}

/* Pantallas LexTime — switch robusto vía clase .is-active (controlado por JS)
   Estado base: invisible y debajo. Estado activo: visible y arriba.
   Transition coordinada con visibility para evitar overlap durante el crossfade. */
.hero-scene--lextime .hero-screen {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	opacity: 0;
	visibility: hidden;
	z-index: 1;
	filter: blur(14px) saturate(0.78);
	transform: scale(0.94) translateY(10px);
	pointer-events: none;
	will-change: opacity, filter, transform;
	/* Anula la animación heredada de .hero-screen (heroScenePhase 5s) que interfería con el sistema .is-active */
	animation: none !important;
	transition:
		opacity 0.9s ease-in-out,
		filter 0.9s ease-in-out,
		transform 0.9s ease-in-out,
		visibility 0s linear 0.9s;
}
.hero-scene--lextime .hero-screen.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
	filter: blur(0) saturate(1.04);
	transform: scale(1) translateY(0);
	transition:
		opacity 0.9s ease-in-out,
		filter 0.9s ease-in-out,
		transform 0.9s ease-in-out,
		visibility 0s linear 0s;
}

/* LexTime lines — gradient blue + breathing relativo al ciclo interno (7.5s)
   La visibilidad del slot ya se controla con heroSlotTime; las líneas solo "respiran" */
.hero-scene--lextime .hero-scene__svg path {
	fill: none;
	stroke: url(#heroLineGradTime);
	stroke-width: 1.3;
	stroke-linecap: round;
	stroke-dasharray: 3 5;
	opacity: 0.4;
	animation:
		heroLineFlow 6s linear infinite,
		heroLineTimeBreath 7.5s ease-in-out infinite;
}
@keyframes heroLineTimeBreath {
	0%,
	100% {
		opacity: 0.4;
		stroke-width: 1.3;
		filter: drop-shadow(0 0 2px rgba(59, 130, 246, 0.25));
	}
	50% {
		opacity: 0.8;
		stroke-width: 1.6;
		filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.5));
	}
}

/* LexTime labels — posiciones reutilizables por scene group */
.hero-label--time.pos-tl {
	top: 6%;
	left: -2%;
}
.hero-label--time.pos-tr {
	top: 4%;
	right: -4%;
}
.hero-label--time.pos-mr {
	top: 46%;
	right: -8%;
}
.hero-label--time.pos-br {
	bottom: 6%;
	right: -2%;
}
.hero-label--time.pos-bl {
	bottom: 24%;
	left: -6%;
}

/* Labels LexTime — control robusto vía .is-active (sincronizado con su pantalla por JS) */
.hero-label--time {
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition:
		opacity 0.8s ease-in-out,
		transform 0.8s ease-in-out,
		visibility 0s linear 0.8s;
}
.hero-label--time.is-active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition:
		opacity 0.8s ease-in-out,
		transform 0.8s ease-in-out,
		visibility 0s linear 0s;
}

@media (max-width: 980px) {
	.hero-stage {
		max-width: 420px;
		margin: 0 auto;
	}
}

/* =========================================================
   SECTION (común)
   ========================================================= */
section {
	padding: 120px 0;
}
@media (max-width: 720px) {
	section {
		padding: 80px 0;
	}
}
.section-head {
	max-width: 760px;
	margin: 0 auto 64px;
	text-align: center;
}
.section-head .lead {
	margin: 0 auto;
}

/* =========================================================
   INFRA · El contexto · Problemas operativos → problemas legales
   Layout: 2 cards laterales · persona al centro · footer bar
   ========================================================= */
.infra {
	position: relative;
	background:
		radial-gradient(50% 50% at 18% 24%, rgba(139, 92, 246, 0.1), transparent 65%),
		radial-gradient(50% 50% at 82% 76%, rgba(94, 234, 212, 0.08), transparent 65%), var(--bg);
	color: var(--text);
	overflow: hidden;
	isolation: isolate;
}
.infra::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(circle at 50% 45%, black 20%, transparent 80%);
	-webkit-mask-image: radial-gradient(circle at 50% 45%, black 20%, transparent 80%);
	z-index: 0;
	pointer-events: none;
}
.infra .container {
	position: relative;
	z-index: 1;
}

/* Header centrado */
.infra__head {
	text-align: center;
	max-width: 920px;
	margin: 0 auto 56px;
}
.infra__eyebrow {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--teal);
	margin: 0 0 18px;
}
.infra__title {
	font-size: clamp(30px, 3.6vw, 50px);
	line-height: 1.12;
	letter-spacing: -0.025em;
	font-weight: 700;
	color: var(--text);
	margin: 0 0 18px;
}
.infra__title .accent {
	background: linear-gradient(135deg, var(--teal), var(--time-sky), var(--sign-violet));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 800;
}
.infra__sub {
	margin: 0 auto;
	font-size: 16.5px;
	line-height: 1.55;
	color: var(--text-2);
	max-width: 760px;
}

/* Stage: 3 cols (card | persona | card) */
.infra__stage {
	position: relative;
	display: grid;
	grid-template-columns: 1fr minmax(220px, 320px) 1fr;
	gap: 28px;
	align-items: start;
}
@media (max-width: 1100px) {
	.infra__stage {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
	.infra__stage .infra-hub {
		grid-column: 1 / -1;
		order: 99;
	}
}
@media (max-width: 720px) {
	.infra__stage {
		grid-template-columns: 1fr;
	}
}

/* Cards laterales (problemas) */
.infra-card {
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid var(--line);
	border-radius: 24px;
	padding: 28px;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 22px 50px -28px rgba(15, 23, 42, 0.16);
	display: flex;
	flex-direction: column;
	gap: 20px;
	transition:
		transform 0.35s var(--ease),
		box-shadow 0.35s var(--ease),
		border-color 0.35s var(--ease);
}
.infra-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 28px 60px -28px rgba(15, 23, 42, 0.22);
}
.infra-card.sign:hover {
	border-color: rgba(139, 92, 246, 0.3);
}
.infra-card.time:hover {
	border-color: rgba(59, 130, 246, 0.3);
}

.infra-card__head {
	display: flex;
	align-items: center;
	gap: 14px;
}
.infra-card__icon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	color: #fff;
	flex: none;
}
.infra-card.sign .infra-card__icon {
	background: linear-gradient(135deg, var(--sign-violet), var(--sign-purple));
	box-shadow: 0 12px 22px -8px rgba(139, 92, 246, 0.42);
}
.infra-card.time .infra-card__icon {
	background: linear-gradient(135deg, var(--time-sky), var(--time-blue));
	box-shadow: 0 12px 22px -8px rgba(59, 130, 246, 0.42);
}
.infra-card__title {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--text);
	margin: 0 0 4px;
	line-height: 1.1;
}
.infra-card.sign .infra-card__title {
	background: linear-gradient(135deg, var(--sign-purple), var(--sign-violet));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.infra-card.time .infra-card__title {
	background: linear-gradient(135deg, var(--time-blue), var(--time-sky));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.infra-card__sublabel {
	display: block;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-soft);
}

.infra-card__group {
	background: rgba(248, 250, 252, 0.7);
	border: 1px solid rgba(15, 23, 42, 0.05);
	border-radius: 16px;
	padding: 18px 20px;
}
.infra-card__group-title {
	display: block;
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 14px;
}
.infra-card.sign .infra-card__group-title {
	color: var(--sign-violet);
}
.infra-card.time .infra-card__group-title {
	color: var(--time-sky);
}

.infra-card__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 16px;
}
@media (max-width: 720px) {
	.infra-card__list {
		grid-template-columns: 1fr;
	}
}
.infra-card__list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	color: var(--text-2);
	line-height: 1.4;
}
.infra-card__list li::before {
	content: "";
	width: 14px;
	height: 14px;
	flex: none;
	margin-top: 2px;
	background-repeat: no-repeat;
	background-size: contain;
}
.infra-card.sign .infra-card__list li::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%238B5CF6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M7 1.5 1 12.5h12z'/><path d='M7 6v3M7 11v.01'/></svg>");
}
.infra-card.time .infra-card__list li::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%233B82F6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M7 1.5 1 12.5h12z'/><path d='M7 6v3M7 11v.01'/></svg>");
}

/* Hub central · Persona */
.infra-hub {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	isolation: isolate;
	min-height: 560px;
	padding-top: 40px;
}
.infra-hub__halo {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 380px;
	aspect-ratio: 1/1;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, rgba(94, 234, 212, 0.12) 40%, transparent 70%);
	filter: blur(28px);
	z-index: -1;
	animation: infraHaloBreath 5s var(--ease) infinite;
}
@keyframes infraHaloBreath {
	0%,
	100% {
		opacity: 0.55;
		transform: translate(-50%, -50%) scale(1);
	}
	50% {
		opacity: 0.95;
		transform: translate(-50%, -50%) scale(1.08);
	}
}
.infra-hub__core {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 340px;
	/* Fade inferior para integrar la persona con el fondo (no recorte duro) */
	-webkit-mask-image: linear-gradient(180deg, #000 65%, transparent 98%);
	mask-image: linear-gradient(180deg, #000 65%, transparent 98%);
	animation: infraHubFloat 6s var(--ease) infinite;
}
.infra-hub__core img {
	display: block;
	width: 100%;
	height: auto;
	opacity: 0.95;
	filter: drop-shadow(0 24px 40px rgba(15, 23, 42, 0.18)) drop-shadow(0 0 30px rgba(139, 92, 246, 0.14));
}
@keyframes infraHubFloat {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-6px);
	}
}

/* Footer bar */
.infra-foot {
	margin: 48px auto 0;
	max-width: 1200px;
	padding: 22px 28px;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid var(--line);
	border-radius: 18px;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	display: grid;
	grid-template-columns: 1.6fr auto auto auto;
	align-items: center;
	gap: 20px 28px;
	box-shadow: 0 14px 32px -18px rgba(15, 23, 42, 0.14);
}
@media (max-width: 980px) {
	.infra-foot {
		grid-template-columns: 1fr 1fr;
		gap: 18px 24px;
	}
	.infra-foot__msg {
		grid-column: 1 / -1;
	}
}
@media (max-width: 560px) {
	.infra-foot {
		grid-template-columns: 1fr;
	}
}
.infra-foot__msg {
	display: flex;
	align-items: center;
	gap: 14px;
}
.infra-foot__msg-ico {
	width: 46px;
	height: 46px;
	border-radius: 13px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--teal), var(--time-sky));
	color: #fff;
	flex: none;
	box-shadow: 0 12px 22px -8px rgba(20, 184, 166, 0.4);
}
.infra-foot__msg-text strong {
	display: block;
	font-size: 15px;
	color: var(--text);
	font-weight: 700;
	margin-bottom: 2px;
	letter-spacing: -0.005em;
}
.infra-foot__msg-text span {
	font-size: 13px;
	color: var(--text-2);
}
.infra-foot__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	color: var(--text-2);
	font-weight: 500;
}
.infra-foot__chip svg {
	flex: none;
}
.infra-foot__chip:nth-of-type(1) svg {
	color: var(--sign-violet);
}
.infra-foot__chip:nth-of-type(2) svg {
	color: var(--teal);
}
.infra-foot__chip:nth-of-type(3) svg {
	color: var(--time-sky);
}

/* =========================================================
   PLATFORM · La infraestructura (solución, post-contexto)
   Layout 3 cols: cards LexSign+LexTime · persona+mockups · pipeline 5 steps
   ========================================================= */
.platform {
	position: relative;
	background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
	isolation: isolate;
	overflow: hidden;
}
.platform::before {
	content: "";
	position: absolute;
	inset: auto -10% 20% -10%;
	height: 60%;
	background:
		radial-gradient(40% 50% at 30% 50%, rgba(139, 92, 246, 0.1), transparent 65%),
		radial-gradient(40% 50% at 70% 50%, rgba(59, 130, 246, 0.08), transparent 65%);
	filter: blur(40px);
	z-index: 0;
	pointer-events: none;
}
.platform .container {
	position: relative;
	z-index: 1;
}

/* Header centrado */
.platform__head {
	text-align: center;
	max-width: 880px;
	margin: 0 auto 64px;
}
.platform__eyebrow {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--teal);
	margin: 0 0 18px;
}
.platform__title {
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.18;
	letter-spacing: -0.02em;
	font-weight: 700;
	color: var(--text);
	margin: 0 0 18px;
}
.platform__title .brand-lexgo {
	background: linear-gradient(135deg, var(--teal), var(--time-sky), var(--sign-violet));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 800;
}
.platform__title .accent {
	background: linear-gradient(120deg, var(--teal), var(--time-sky), var(--sign-violet));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 800;
}
.platform__sub {
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.55;
	color: var(--text-2);
	max-width: 720px;
}

/* Stage: 3 cols */
.platform__stage {
	position: relative;
	display: grid;
	grid-template-columns: 1fr minmax(280px, 380px) 1fr;
	gap: 32px;
	align-items: center;
}
@media (max-width: 1100px) {
	.platform__stage {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
	.platform-hero {
		grid-column: 1 / -1;
		order: 99;
	}
}
@media (max-width: 720px) {
	.platform__stage {
		grid-template-columns: 1fr;
	}
}

/* === Col izq · Cards LexSign + LexTime === */
.platform-products {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.platform-prod {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	box-shadow: 0 16px 40px -24px rgba(15, 23, 42, 0.14);
	transition:
		transform 0.35s var(--ease),
		box-shadow 0.35s var(--ease),
		border-color 0.35s var(--ease);
}
.platform-prod:hover {
	transform: translateY(-3px);
	box-shadow: 0 22px 50px -24px rgba(15, 23, 42, 0.2);
}
.platform-prod.sign:hover {
	border-color: rgba(139, 92, 246, 0.3);
}
.platform-prod.time:hover {
	border-color: rgba(59, 130, 246, 0.3);
}

.platform-prod__head {
	display: flex;
	align-items: center;
	gap: 14px;
}
.platform-prod__icon {
	width: 44px;
	height: 44px;
	border-radius: 13px;
	display: grid;
	place-items: center;
	color: #fff;
	flex: none;
}
.platform-prod.sign .platform-prod__icon {
	background: linear-gradient(135deg, var(--sign-violet), var(--sign-purple));
	box-shadow: 0 10px 22px -8px rgba(139, 92, 246, 0.42);
}
.platform-prod.time .platform-prod__icon {
	background: linear-gradient(135deg, var(--time-sky), var(--time-blue));
	box-shadow: 0 10px 22px -8px rgba(59, 130, 246, 0.42);
}
.platform-prod__name {
	display: block;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--text);
	line-height: 1;
}
.platform-prod__name strong {
	font-weight: 800;
}
.platform-prod.sign .platform-prod__name strong {
	background: linear-gradient(135deg, var(--sign-purple), var(--sign-violet));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.platform-prod.time .platform-prod__name strong {
	background: linear-gradient(135deg, var(--time-blue), var(--time-sky));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.platform-prod__badge {
	display: inline-block;
	margin-top: 4px;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--text-soft);
}
.platform-prod__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.platform-prod__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
	color: var(--text-2);
}
.platform-prod__list li::before {
	content: "";
	width: 16px;
	height: 16px;
	flex: none;
	border-radius: 50%;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M6.5 11.2L3.3 8l1.1-1.1 2.1 2.1 4.2-4.2L11.8 6z'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px;
}
.platform-prod.sign .platform-prod__list li::before {
	background-color: var(--sign-violet);
}
.platform-prod.time .platform-prod__list li::before {
	background-color: var(--time-sky);
}

/* === Col centro · Persona + mockups === */
.platform-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	isolation: isolate;
	min-height: 540px;
}
/* Halo muy ligero — solo profundidad, no mancha visible */
.platform-hero__halo {
	position: absolute;
	top: 55%;
	left: 50%;
	width: 420px;
	aspect-ratio: 1/1;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, rgba(94, 234, 212, 0.03) 50%, transparent 75%);
	filter: blur(40px);
	z-index: 0;
	pointer-events: none;
}
.platform-hero__person {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 380px;
	height: auto;
	/* Fade inferior suave para integrar con el fondo claro */
	-webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
	animation: platformPersonFloat 6s var(--ease) infinite;
}
@keyframes platformPersonFloat {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-6px);
	}
}

/* === Col der · Pipeline 5 steps === */
.platform-pipeline {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	position: relative;
}
.platform-pipeline::before {
	content: "";
	position: absolute;
	left: 32px;
	top: 30px;
	bottom: 30px;
	width: 1px;
	background: linear-gradient(180deg, rgba(139, 92, 246, 0.4) 0%, rgba(59, 130, 246, 0.4) 50%, rgba(20, 184, 166, 0.4) 100%);
}
.platform-step {
	position: relative;
	display: grid;
	grid-template-columns: 24px 30px 1fr;
	gap: 14px;
	align-items: flex-start;
	padding: 14px 0 14px 12px;
}
.platform-step__num {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--text-soft);
	margin-top: 6px;
}
.platform-step__icon {
	width: 30px;
	height: 30px;
	border-radius: 9px;
	display: grid;
	place-items: center;
	background: var(--white);
	border: 1px solid var(--line);
	color: var(--sign-violet);
	z-index: 1;
	box-shadow: 0 6px 14px -6px rgba(15, 23, 42, 0.14);
	margin-top: 2px;
}
.platform-step:nth-child(1) .platform-step__icon {
	color: var(--sign-violet);
}
.platform-step:nth-child(2) .platform-step__icon {
	color: var(--sign-purple);
}
.platform-step:nth-child(3) .platform-step__icon {
	color: var(--time-sky);
}
.platform-step:nth-child(4) .platform-step__icon {
	color: var(--time-blue);
}
.platform-step:nth-child(5) .platform-step__icon {
	color: var(--teal);
}

.platform-step__title {
	display: block;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 4px;
}
.platform-step__desc {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--text-2);
}

/* === Trust bar inferior === */
.platform-trust {
	list-style: none;
	margin: 64px auto 0;
	max-width: 1200px;
	padding: 22px 28px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 18px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px 28px;
	box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.12);
}
@media (max-width: 980px) {
	.platform-trust {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 560px) {
	.platform-trust {
		grid-template-columns: 1fr;
	}
}
.platform-trust li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13.5px;
	color: var(--text-2);
	font-weight: 500;
	line-height: 1.4;
}
.platform-trust li svg {
	flex: none;
}
.platform-trust li:nth-child(1) svg {
	color: var(--teal);
	filter: drop-shadow(0 0 6px rgba(20, 184, 166, 0.28));
}
.platform-trust li:nth-child(2) svg {
	color: var(--time-sky);
	filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.28));
}
.platform-trust li:nth-child(3) svg {
	color: var(--sign-violet);
	filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.28));
}
.platform-trust li:nth-child(4) svg {
	color: var(--indigo-mid);
	filter: drop-shadow(0 0 6px rgba(55, 48, 163, 0.28));
}

/* =========================================================
   PRODUCTOS
   ========================================================= */
.products {
	background: var(--bg);
}
.products-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}
@media (max-width: 980px) {
	.products-grid {
		grid-template-columns: 1fr;
	}
}
.product-card {
	position: relative;
	border-radius: 28px;
	padding: 48px;
	overflow: hidden;
	isolation: isolate;
	color: #fff;
	min-height: 520px;
	transition:
		transform 0.4s var(--ease),
		box-shadow 0.4s var(--ease);
}
.product-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}
.product-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
}
.card-sign::before {
	background: radial-gradient(80% 60% at 80% 0%, rgba(255, 255, 255, 0.18), transparent 60%), linear-gradient(160deg, #4c1d95 0%, #6d28d9 50%, #8b5cf6 100%);
}
.card-time::before {
	background: radial-gradient(80% 60% at 80% 0%, rgba(255, 255, 255, 0.18), transparent 60%), linear-gradient(160deg, #1e3a8a 0%, #1d4ed8 50%, #3b82f6 100%);
}

/* Body de la card — texto se queda contenido para no competir con mockup */
.product-card__body {
	position: relative;
	z-index: 3;
	max-width: 58%;
}
@media (max-width: 980px) {
	.product-card__body {
		max-width: 100%;
	}
}

.product-tag {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	display: inline-block;
	margin-bottom: 24px;
	border: 1px solid rgba(255, 255, 255, 0.18);
}
.product-title {
	font-size: 30px;
	line-height: 1.15;
	margin: 0 0 14px;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.product-sub {
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 28px;
	font-size: 15.5px;
	line-height: 1.55;
}
.product-features {
	list-style: none;
	padding: 0;
	margin: 0 0 36px;
	display: grid;
	gap: 12px;
}
.product-features li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.92);
}
.product-features li::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M6.5 11.2L3.3 8l1.1-1.1 2.1 2.1 4.2-4.2L11.8 6z'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
}
.product-card .btn {
	background: rgba(255, 255, 255, 0.95);
	color: var(--text);
}
.product-card .btn:hover {
	background: #fff;
}

/* === Mockups reales dentro de las cards (iPhone único por card) === */
.product-mockup {
	position: absolute;
	right: -15%;
	bottom: -10%;
	width: 60%;
	max-width: none;
	z-index: 2;
	pointer-events: none;
	user-select: none;
	-webkit-user-select: none;
	transition:
		transform 0.45s ease,
		filter 0.45s ease;
}
.product-mockup img {
	display: block;
	width: 100%;
	height: auto;
	animation: prodMockupFloat 7s var(--ease) infinite;
}
@keyframes prodMockupFloat {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

/* Glow propio por marca */
.card-sign .product-mockup {
	filter: drop-shadow(0 30px 50px rgba(15, 23, 42, 0.35)) drop-shadow(0 0 34px rgba(139, 92, 246, 0.35));
}
.card-time .product-mockup {
	filter: drop-shadow(0 30px 50px rgba(15, 23, 42, 0.35)) drop-shadow(0 0 34px rgba(59, 130, 246, 0.35));
}

/* Hover unificado */
.product-card:hover .product-mockup {
	transform: translateY(-8px) scale(1.02);
}

/* Responsive: en mobile el iPhone baja opacidad para no competir con texto */
@media (max-width: 980px) {
	.product-card {
		min-height: 600px;
		padding: 40px;
	}
	.product-mockup {
		width: 54%;
		right: -10%;
		bottom: -10%;
		opacity: 0.55;
	}
}

@media (max-width: 552px) {
	.product-mockup {
		width: 75%;
	}
}

/* =========================================================
   ¿CUÁL NECESITAS? — Decisor
   ========================================================= */
.chooser {
	background: linear-gradient(180deg, var(--bg), #fff);
}
.chooser-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	max-width: 1200px;
	margin: 0 auto;
}
@media (max-width: 980px) {
	.chooser-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* Cada card = mini campaña visual: imagen full-bleed + overlay de marca + texto */
.choose-card {
	position: relative;
	border-radius: 28px;
	padding: 44px;
	overflow: hidden;
	isolation: isolate;
	color: #fff;
	min-height: 580px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 28px;
	transition:
		transform 0.4s var(--ease),
		box-shadow 0.4s var(--ease);
	background: #1a1438; /* fallback mientras carga la imagen */
}
.choose-card.time {
	background: #0e1b3d;
}
.choose-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

/* Imagen como canvas — cubre toda la card */
.choose-card__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.9s var(--ease);
	pointer-events: none;
	user-select: none;
	-webkit-user-select: none;
}
.choose-card:hover .choose-card__bg {
	transform: scale(1.04);
}

.choose-card.sign .choose-card__bg {
	object-position: 30%;
}

/* Overlay de marca sobre la imagen — más oscuro abajo-izquierda donde va el texto */
.choose-card__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}
.choose-card.sign .choose-card__overlay {
	background: linear-gradient(200deg, rgba(19, 21, 26, 0.26) 45%, rgb(77 15 157 / 92%) 70%, rgb(37 5 77) 85%);
}
.choose-card.time .choose-card__overlay {
	background: linear-gradient(200deg, rgba(10, 22, 60, 0.14) 45%, rgba(36, 63, 175, 1) 70%, rgb(5, 12, 77) 85%);
}

/* Badge superior-izquierda */
.choose-q {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.24);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	align-self: flex-start;
	position: relative;
	z-index: 1;
}

.choose-card.sign .choose-q {
	background: linear-gradient(135deg, var(--sign-purple), var(--sign-violet));
}

.choose-card.time .choose-q {
	background: linear-gradient(135deg, var(--time-blue), var(--time-sky));
}

/* Cluster inferior-izquierda: título + descripción + bullets + CTA */
.choose-card__bottom {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 62%;
}
@media (max-width: 980px) {
	.choose-card__bottom {
		max-width: 100%;
	}
}

.choose-card h3 {
	font-size: 30px;
	line-height: 1.18;
	letter-spacing: -0.02em;
	margin: 0;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.choose-card p {
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: 15.5px;
	line-height: 1.55;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.choose-features {
	list-style: none;
	padding: 0;
	margin: 6px 0 8px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.choose-features li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.94);
}
.choose-features li::before {
	content: "";
	width: 16px;
	height: 16px;
	flex: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M6.5 11.2L3.3 8l1.1-1.1 2.1 2.1 4.2-4.2L11.8 6z'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.choose-card .btn {
	align-self: flex-start;
	background: rgba(255, 255, 255, 0.96);
	color: var(--text);
	margin-top: 4px;
}
.choose-card .btn:hover {
	background: #fff;
}

@media (max-width: 980px) {
	.choose-card {
		min-height: 540px;
		padding: 36px;
	}
	.choose-card__bg {
		object-position: center;
	}
}

/* =========================================================
   INDUSTRIES — Buyer persona por solución
   ========================================================= */
.industries {
	background: var(--white);
	border-top: 1px solid var(--line);
}
.industries-head {
	text-align: center;
	max-width: 920px;
	margin: 0 auto 56px;
}
.industries-eyebrow {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #28c1c0;
	margin: 0 0 18px;
}
.industries h2 {
	font-size: clamp(26px, 2.6vw, 36px);
	line-height: 1.25;
	letter-spacing: -0.018em;
	margin: 0 0 18px;
	color: var(--text);
	font-weight: 700;
}
.industries h2 .brand-sign {
	background: linear-gradient(135deg, var(--sign-purple), var(--sign-violet));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 800;
}
.industries h2 .brand-time {
	background: linear-gradient(135deg, var(--time-blue), var(--time-sky));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 800;
}
.industries-sub {
	font-size: 16px;
	color: var(--text-2);
	margin: 0 auto;
	line-height: 1.55;
	max-width: 640px;
}

/* Banners */
.industries-grid {
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: 1200px;
	margin: 0 auto;
}
.industry {
	position: relative;
	border-radius: 32px;
	overflow: hidden;
	min-height: 540px;
	padding: 48px 56px;
	isolation: isolate;
	transition:
		transform 0.4s var(--ease),
		box-shadow 0.4s var(--ease);
}
.industry:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
}
.industry.sign {
	background:
		radial-gradient(60% 80% at 100% 50%, rgba(196, 181, 253, 0.55), transparent 60%), linear-gradient(135deg, #f8f1ff 0%, #e8d6ff 55%, #d4b5ff 100%);
}
.industry.time {
	background:
		radial-gradient(60% 80% at 100% 50%, rgba(147, 197, 253, 0.55), transparent 60%), linear-gradient(135deg, #eef4ff 0%, #d6e5ff 55%, #b5ccff 100%);
}

.industry__body {
	position: relative;
	z-index: 2;
	max-width: 55%;
}
@media (max-width: 1100px) {
	.industry__body {
		max-width: 60%;
	}
}

.industry__badge {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
	padding: 8px 14px;
	border-radius: 999px;
	color: #fff;
	margin-bottom: 24px;
}
.industry.sign .industry__badge {
	background: var(--sign-purple);
	box-shadow: 0 10px 22px -8px rgba(109, 40, 217, 0.5);
}
.industry.time .industry__badge {
	background: var(--time-sky);
	box-shadow: 0 10px 22px -8px rgba(59, 130, 246, 0.5);
}

.industry h3 {
	font-size: clamp(28px, 2.6vw, 36px);
	line-height: 1.12;
	letter-spacing: -0.022em;
	margin: 0 0 14px;
	font-weight: 700;
	color: var(--text);
}
.industry__desc {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--text-2);
	max-width: 500px;
}

/* Mini labels horizontales (Contratos, NDA, etc.) */
.industry__features {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin-bottom: 26px;
	max-width: 520px;
}
.industry__feature {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--text-2);
	font-weight: 500;
}
.industry__feature svg {
	color: var(--text-soft);
	flex: none;
}
.industry.sign .industry__feature svg {
	color: rgba(109, 40, 217, 0.7);
}
.industry.time .industry__feature svg {
	color: rgba(29, 78, 216, 0.7);
}

/* "Ideal para:" label */
.industry__chips-title {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 12px;
}

/* Chips de industrias */
.industry__chips {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 10px;
	margin-bottom: 28px;
	max-width: 480px;
}
.industry__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.95);
	font-size: 13px;
	font-weight: 500;
	color: var(--text);
	box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.1);
}
.industry__chip svg {
	flex: none;
}
.industry.sign .industry__chip svg {
	color: var(--sign-violet);
}
.industry.time .industry__chip svg {
	color: var(--time-sky);
}

/* CTA */
.industry__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 24px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14px;
	color: #fff;
	transition:
		transform 0.25s var(--ease),
		box-shadow 0.25s var(--ease);
	align-self: flex-start;
}
.industry.sign .industry__cta {
	background: var(--sign-purple);
	box-shadow: 0 12px 28px -8px rgba(109, 40, 217, 0.5);
}
.industry.time .industry__cta {
	background: var(--time-blue);
	box-shadow: 0 12px 28px -8px rgba(29, 78, 216, 0.5);
}
.industry__cta:hover {
	transform: translateY(-2px);
}
.industry__cta .arrow {
	transition: transform 0.25s var(--ease);
}
.industry__cta:hover .arrow {
	transform: translateX(4px);
}

/* Imagen — escena absoluta integrada al fondo del banner (sin marco blanco) */
.industry__image {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	object-fit: cover;
	object-position: 55%;
	z-index: 1;
	pointer-events: none;
	user-select: none;
	-webkit-user-select: none;
	transition: transform 0.5s var(--ease);
}

.industry:hover .industry__image {
	transform: scale(1.02);
}
.industry__image img {
	display: block;
	width: 100%;
	height: auto;
	/* Máscara lateral degradada: fade el borde izquierdo para integrar con el gradient del banner.
     El borde derecho conserva opacidad total para no recortar el dispositivo. */
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
}
/* Glow propio de marca detrás de la imagen */
.industry.sign .industry__image img {
	filter: drop-shadow(0 28px 50px rgba(76, 29, 149, 0.3)) drop-shadow(0 0 40px rgba(139, 92, 246, 0.22));
}
.industry.time .industry__image img {
	filter: drop-shadow(0 28px 50px rgba(29, 78, 216, 0.3)) drop-shadow(0 0 40px rgba(59, 130, 246, 0.22));
}

/* Responsive */
@media (max-width: 980px) {
	.industry {
		padding: 40px 32px;
		min-height: auto;
		padding-bottom: 280px; /* deja espacio para la imagen relativa abajo */
	}
	.industry__body {
		max-width: 100%;
	}
	.industry__image {
		position: absolute;
		right: 0;
		left: 0;
		bottom: -12px;
		top: auto;
		transform: none;
		width: 100%;
		justify-content: center;
	}
	.industry:hover .industry__image {
		transform: none;
	}
	.industry__image img {
		max-width: 520px;
		max-height: 260px;
		object-fit: contain;
		-webkit-mask-image: none;
		mask-image: none;
	}
}

/* =========================================================
   TOOLS · Ecosistema complementario (LexSign WhatsApp, LegalCare, LegalCheck)
   ========================================================= */
.tools {
	background: #f8fafc;
}
.tools-head {
	text-align: center;
	max-width: 880px;
	margin: 0 auto 64px;
}
.tools-eyebrow {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--sign-violet);
	margin: 0 0 18px;
}
.tools h2 {
	font-size: clamp(32px, 4vw, 56px);
	line-height: 1.1;
	letter-spacing: -0.025em;
	margin: 0 0 20px;
	color: var(--text);
	font-weight: 700;
}
.tools h2 .dot {
	color: var(--sign-violet);
}
.tools-sub {
	font-size: 17px;
	color: var(--text-2);
	margin: 0 auto;
	line-height: 1.55;
	max-width: 640px;
}

/* Grid de cards */
.tools-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	max-width: 1200px;
	margin: 0 auto;
}
@media (max-width: 980px) {
	.tools-grid {
		grid-template-columns: 1fr;
	}
}

.tool-card {
	background: var(--white);
	border-radius: 24px;
	padding: 32px 32px 28px;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	transition:
		transform 0.35s var(--ease),
		box-shadow 0.35s var(--ease),
		border-color 0.35s var(--ease);
	overflow: hidden;
	position: relative;
}
.tool-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}
.tool-card.whatsapp:hover {
	border-color: rgba(37, 211, 102, 0.35);
}
.tool-card.care:hover {
	border-color: rgba(139, 92, 246, 0.35);
}
.tool-card.check:hover {
	border-color: rgba(251, 146, 60, 0.4);
}

.tool-card__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
}
.tool-card__icon {
	width: 44px;
	height: 44px;
	border-radius: 13px;
	display: grid;
	place-items: center;
	flex: none;
	color: #fff;
}
.tool-card.whatsapp .tool-card__icon {
	background: linear-gradient(135deg, #25d366, #128c7e);
	box-shadow: 0 10px 20px -8px rgba(37, 211, 102, 0.5);
}
.tool-card.care .tool-card__icon {
	background: linear-gradient(135deg, #a78bfa, #8b5cf6);
	box-shadow: 0 10px 20px -8px rgba(139, 92, 246, 0.5);
}
.tool-card.check .tool-card__icon {
	background: linear-gradient(135deg, #fb923c, #ea580c);
	box-shadow: 0 10px 20px -8px rgba(251, 146, 60, 0.5);
}
.tool-card__name {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--text);
	line-height: 1;
}
.tool-card__name strong {
	font-weight: 800;
}
.tool-card.whatsapp .tool-card__name strong {
	background: linear-gradient(135deg, #25d366, #128c7e);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.tool-card.care .tool-card__name strong {
	background: linear-gradient(135deg, #8b5cf6, #6d28d9);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.tool-card.check .tool-card__name strong {
	background: linear-gradient(135deg, #fb923c, #ea580c);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.tool-card__badge {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 18px;
	align-self: flex-start;
}
.tool-card.whatsapp .tool-card__badge {
	background: rgba(37, 211, 102, 0.1);
	color: #128c7e;
	border: 1px solid rgba(37, 211, 102, 0.22);
}
.tool-card.care .tool-card__badge {
	background: rgba(139, 92, 246, 0.1);
	color: var(--sign-purple);
	border: 1px solid rgba(139, 92, 246, 0.22);
}
.tool-card.check .tool-card__badge {
	background: rgba(251, 146, 60, 0.12);
	color: #c2410c;
	border: 1px solid rgba(251, 146, 60, 0.25);
}

.tool-card__desc {
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--text-2);
	margin: 0 0 22px;
}

/* Visual editorial: imagen integrada y recortada por la card */
.tool-card__visual {
	position: relative;
	margin: 0 -32px 22px -32px;
	height: 240px;
	overflow: hidden;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}
.tool-card__visual img {
	display: block;
	max-width: 100%;
	height: auto;
	filter: drop-shadow(0 18px 32px rgba(15, 23, 42, 0.18));
}
.tool-card.whatsapp .tool-card__visual {
	background: radial-gradient(60% 50% at 50% 30%, rgba(37, 211, 102, 0.1), transparent 70%);
}
.tool-card.whatsapp .tool-card__visual img {
	width: 78%;
	margin-top: -4px;
	/* phone vertical: vemos solo top, bottom recortado por overflow */
}
.tool-card.care .tool-card__visual {
	background: radial-gradient(60% 50% at 50% 50%, rgba(139, 92, 246, 0.1), transparent 70%);
}
.tool-card.care .tool-card__visual img {
	width: 96%;
	margin-top: 8px;
}
.tool-card.check .tool-card__visual {
	background: radial-gradient(60% 50% at 50% 40%, rgba(251, 146, 60, 0.1), transparent 70%);
}
.tool-card.check .tool-card__visual img {
	width: 100%;
	margin-top: 6px;
}

.tool-card__bullets {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.tool-card__bullets li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
	color: var(--text-2);
	line-height: 1.45;
}
.tool-card__bullets li::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	border-radius: 50%;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M6.5 11.2L3.3 8l1.1-1.1 2.1 2.1 4.2-4.2L11.8 6z'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 14px;
}
.tool-card.whatsapp .tool-card__bullets li::before {
	background-color: #25d366;
}
.tool-card.care .tool-card__bullets li::before {
	background-color: var(--sign-violet);
}
.tool-card.check .tool-card__bullets li::before {
	background-color: #fb923c;
}

.tool-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
	font-weight: 600;
	margin-top: auto;
	align-self: flex-start;
	transition: gap 0.25s var(--ease);
}
.tool-card.whatsapp .tool-card__cta {
	color: #128c7e;
}
.tool-card.care .tool-card__cta {
	color: var(--sign-purple);
}
.tool-card.check .tool-card__cta {
	color: #c2410c;
}
.tool-card__cta:hover {
	gap: 12px;
}

/* Trust bar inferior */
.tools-trust {
	max-width: 1200px;
	margin: 64px auto 0;
	padding: 32px 40px;
	background: var(--white);
	border-radius: 20px;
	border: 1px solid var(--line);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px 32px;
}
@media (max-width: 980px) {
	.tools-trust {
		grid-template-columns: 1fr 1fr;
		padding: 28px 32px;
	}
}
@media (max-width: 560px) {
	.tools-trust {
		grid-template-columns: 1fr;
	}
}

.tools-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.tools-trust__icon {
	width: 46px;
	height: 46px;
	flex: none;
	border-radius: 13px;
	display: grid;
	place-items: center;
	background: var(--bg);
	border: 1px solid var(--line);
}
.tools-trust__item:nth-child(1) .tools-trust__icon {
	color: var(--sign-violet);
	background: rgba(139, 92, 246, 0.06);
	border-color: rgba(139, 92, 246, 0.15);
}
.tools-trust__item:nth-child(2) .tools-trust__icon {
	color: var(--sign-purple);
	background: rgba(109, 40, 217, 0.06);
	border-color: rgba(109, 40, 217, 0.15);
}
.tools-trust__item:nth-child(3) .tools-trust__icon {
	color: var(--sign-violet);
	background: rgba(139, 92, 246, 0.06);
	border-color: rgba(139, 92, 246, 0.15);
}
.tools-trust__item:nth-child(4) .tools-trust__icon {
	color: var(--sign-purple);
	background: rgba(109, 40, 217, 0.06);
	border-color: rgba(109, 40, 217, 0.15);
}
.tools-trust__title {
	display: block;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 4px;
}
.tools-trust__desc {
	display: block;
	font-size: 13px;
	color: var(--text-2);
	line-height: 1.5;
}

/* =========================================================
   CTA FINAL · Smart demo form
   ========================================================= */
.cta-final {
	background: var(--white);
}
.cta-final-card {
	position: relative;
	border-radius: 32px;
	background:
		radial-gradient(50% 70% at 100% 0%, rgba(94, 234, 212, 0.2), transparent 60%),
		radial-gradient(50% 70% at 0% 100%, rgba(139, 92, 246, 0.2), transparent 60%), linear-gradient(160deg, #0b1027 0%, #1e1b4b 55%, #3730a3 100%);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
	box-shadow: var(--shadow-lg);
}
.cta-final-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 85%);
	-webkit-mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 85%);
	pointer-events: none;
	z-index: 0;
}

.cta-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 45% 55%;
}
@media (max-width: 980px) {
	.cta-grid {
		grid-template-columns: 1fr;
	}
}

/* ===== LEFT column ===== */
.cta-left {
	padding: 64px 40px 64px 64px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.cta-left .eyebrow {
	color: var(--aqua);
	margin: 0;
}
.cta-left h2 {
	color: #fff;
	margin: 0;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.15;
	letter-spacing: -0.02em;
	font-weight: 700;
}
.cta-left h2 strong {
	background: linear-gradient(120deg, var(--aqua), var(--sign-violet));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 800;
}
.cta-left .sub {
	margin: 0;
	color: #cbd5e1;
	font-size: 16px;
	line-height: 1.6;
}
.cta-left .desc {
	margin: 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: 14px;
	line-height: 1.55;
}

.cta-benefits {
	list-style: none;
	padding: 0;
	margin: 8px 0 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.cta-benefits li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14.5px;
	color: #e2e8f0;
}
.cta-benefits li .ico {
	width: 30px;
	height: 30px;
	flex: none;
	display: grid;
	place-items: center;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
}
.cta-benefits li:nth-child(1) .ico {
	color: var(--aqua);
	box-shadow: inset 0 0 12px rgba(94, 234, 212, 0.18);
}
.cta-benefits li:nth-child(2) .ico {
	color: var(--sign-violet);
	box-shadow: inset 0 0 12px rgba(139, 92, 246, 0.18);
}
.cta-benefits li:nth-child(3) .ico {
	color: var(--time-sky);
	box-shadow: inset 0 0 12px rgba(59, 130, 246, 0.18);
}
.cta-benefits li:nth-child(4) .ico {
	color: var(--aqua);
	box-shadow: inset 0 0 12px rgba(94, 234, 212, 0.18);
}
.cta-benefits li:nth-child(5) .ico {
	color: var(--sign-violet);
	box-shadow: inset 0 0 12px rgba(139, 92, 246, 0.18);
}

.cta-mockup {
	margin-top: auto;
	position: relative;
	display: flex;
	justify-content: center;
	padding-top: 24px;
}
.cta-mockup::before {
	content: "";
	position: absolute;
	inset: auto 0 -10% 0;
	height: 80%;
	background: radial-gradient(50% 50% at 50% 50%, rgba(94, 234, 212, 0.32), transparent 60%);
	filter: blur(28px);
	z-index: 0;
}
.cta-mockup img {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 440px;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 30px rgba(94, 234, 212, 0.18));
	animation: ctaMockupFloat 6s var(--ease) infinite;
}
@keyframes ctaMockupFloat {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

/* ===== RIGHT column · Form ===== */
.cta-form-wrap {
	padding: 56px 56px 56px 48px;
	background: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(18px) saturate(1.15);
	-webkit-backdrop-filter: blur(18px) saturate(1.15);
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 980px) {
	.cta-left {
		padding: 48px 32px;
	}
	.cta-form-wrap {
		padding: 48px 32px;
		border-left: none;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}
}

.cta-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.cta-form h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #fff;
}
.cta-form .form-sub {
	margin: 0 0 6px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
	line-height: 1.5;
}

.cta-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.cta-field label {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
}
.cta-field input,
.cta-field select {
	width: 100%;
	padding: 13px 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 14.5px;
	font-family: var(--font-sans);
	transition:
		background 0.25s,
		border-color 0.25s,
		box-shadow 0.25s;
	outline: none;
}
.cta-field input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}
.cta-field input:focus,
.cta-field select:focus {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(94, 234, 212, 0.55);
	box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.15);
}
.cta-field select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2394A3B8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='m4 6 4 4 4-4'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px;
	padding-right: 40px;
	cursor: pointer;
}
.cta-field select option {
	background: #1e1b4b;
	color: #fff;
}

.cta-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
@media (max-width: 520px) {
	.cta-row {
		grid-template-columns: 1fr;
	}
}

/* Solution pills */
.cta-pills {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}
.cta-pill {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.75);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition:
		background 0.25s,
		border-color 0.25s,
		color 0.25s,
		transform 0.25s;
	text-align: center;
	user-select: none;
}
.cta-pill input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.cta-pill:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.2);
	color: #fff;
}
.cta-pill.is-active {
	background: rgba(94, 234, 212, 0.12);
	border-color: rgba(94, 234, 212, 0.5);
	color: #fff;
}
.cta-pill[data-value="sign"].is-active {
	background: rgba(139, 92, 246, 0.14);
	border-color: rgba(139, 92, 246, 0.5);
	box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.cta-pill[data-value="time"].is-active {
	background: rgba(59, 130, 246, 0.14);
	border-color: rgba(59, 130, 246, 0.5);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.cta-pill[data-value="both"].is-active {
	background: rgba(94, 234, 212, 0.12);
	border-color: rgba(94, 234, 212, 0.5);
	box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.1);
}

/* Dynamic field groups */
.cta-dynamic-group {
	display: flex;
	flex-direction: column;
	gap: 18px;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	transition:
		opacity 0.35s var(--ease),
		max-height 0.45s var(--ease);
}
.cta-dynamic-group.is-open {
	opacity: 1;
	max-height: 700px;
}

/* Submit */
.cta-submit {
	margin-top: 6px;
	padding: 16px 24px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--teal) 0%, var(--time-sky) 50%, var(--sign-violet) 100%);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	cursor: pointer;
	border: 0;
	box-shadow:
		0 14px 30px -10px rgba(94, 234, 212, 0.45),
		0 10px 24px -12px rgba(139, 92, 246, 0.4);
	transition:
		transform 0.25s var(--ease),
		box-shadow 0.25s var(--ease),
		filter 0.25s;
}
.cta-submit:hover {
	transform: translateY(-2px);
	box-shadow:
		0 18px 38px -10px rgba(94, 234, 212, 0.55),
		0 14px 28px -12px rgba(139, 92, 246, 0.5);
}
.cta-submit:active {
	filter: brightness(0.95);
}
.cta-foot {
	margin: 6px 0 0;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	text-align: center;
}

/* Reveal on scroll */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.8s var(--ease),
		transform 0.8s var(--ease);
}
.reveal.in {
	opacity: 1;
	transform: none;
}
.iti {
	width: 100%;
}

.iti input {
	width: 100%;
}

.iti__country-container {
	font-size: 14px;
}

/* =========================================================
   FAQ · Sección premium de preguntas frecuentes
   ========================================================= */
.faq{
  padding: clamp(80px, 9vw, 128px) 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.faq::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.faq__head{
  text-align:center;
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 80px);
}
.faq__head .h2{ margin-bottom: 16px; }
.faq__head .h2 .accent{
  background: linear-gradient(135deg, var(--teal), var(--time-sky), var(--sign-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.faq__head .lead{ margin: 0 auto; }

.faq-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.faq-card{
  --accent: var(--sign-purple);
  --accent-2: var(--sign-violet);
  --accent-soft: rgba(109, 40, 217, .08);
  --accent-glow: rgba(109, 40, 217, .14);

  position:relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 3vw, 40px);
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px -16px rgba(15,23,42,.08);
  transition: box-shadow .45s var(--ease), transform .45s var(--ease), border-color .45s var(--ease);
  isolation: isolate;
}
.faq-card.time{
  --accent: var(--time-blue);
  --accent-2: var(--time-sky);
  --accent-soft: rgba(29, 78, 216, .08);
  --accent-glow: rgba(29, 78, 216, .16);
}
.faq-card::before{
  content:"";
  position:absolute;
  top:0; left: 28px; right: 28px;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity:.95;
}
.faq-card::after{
  content:"";
  position:absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events:none;
  z-index:-1;
  background: radial-gradient(70% 60% at 50% 0%, var(--accent-glow), transparent 70%);
  opacity:0;
  transition: opacity .45s var(--ease);
}
.faq-card:hover{
  border-color: color-mix(in srgb, var(--accent) 22%, var(--line));
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 28px 60px -28px var(--accent-glow);
  transform: translateY(-2px);
}
.faq-card:hover::after{ opacity:1; }

.faq-card__head{
  margin-bottom: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.faq-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 12px 6px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  margin-bottom: 16px;
}
.faq-badge::before{
  content:"";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.faq-card__title{
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -.015em;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.faq-card__desc{
  font-size: 15px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.5;
}

.faq-list{
  display: flex;
  flex-direction: column;
}

.faq-item{
  border-top: 1px solid var(--line);
}
.faq-item:first-child{ border-top: 0; }

.faq-item > summary{
  list-style: none;
  cursor: pointer;
  padding: 22px 52px 22px 0;
  position: relative;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.005em;
  transition: color .25s var(--ease);
}
.faq-item > summary::-webkit-details-marker{ display:none; }
.faq-item > summary::marker{ content:""; }
.faq-item > summary:hover{ color: var(--accent); }
.faq-item > summary:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}

.faq-icon{
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .35s var(--ease), transform .4s var(--ease);
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after{
  content:"";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s var(--ease), background .25s var(--ease);
}
.faq-icon::before{ width: 11px; height: 1.6px; }
.faq-icon::after{  width: 1.6px; height: 11px; }
.faq-item[open] .faq-icon{
  background: var(--accent);
  transform: translateY(-50%) rotate(180deg);
}
.faq-item[open] .faq-icon::before{ background: var(--white); }
.faq-item[open] .faq-icon::after{
  background: var(--white);
  opacity: 0;
  transform: rotate(90deg);
}

.faq-answer{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.faq-item[open] .faq-answer{
  grid-template-rows: 1fr;
}
.faq-answer__inner{
  overflow: hidden;
  min-height: 0;
  padding-right: 52px;
}
.faq-answer__inner > p{
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
}
.faq-answer__inner > p:last-child{
  margin: 0;
  padding-bottom: 22px;
}

.faq-item[open] .faq-answer__inner > p{
  animation: faqFadeIn .5s var(--ease) both;
}
.faq-item[open] .faq-answer__inner > p:nth-child(2){ animation-delay: .06s; }
.faq-item[open] .faq-answer__inner > p:nth-child(3){ animation-delay: .12s; }
@keyframes faqFadeIn{
  from{ opacity: 0; transform: translateY(4px); }
  to  { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px){
  .faq-grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .faq-card{ padding: 24px; }
  .faq-card__title{ font-size: 22px; }
  .faq-item > summary{
    padding: 18px 44px 18px 0;
    font-size: 15px;
  }
  .faq-answer__inner{ padding-right: 44px; }
}