/* =========================================================
   AIRA Auditor IPS · Landing
   Estilo salud: limpio, claro y amable. Paleta y tipografía de AIRA
   (Sora, Public Sans; IBM Plex Mono solo para códigos de glosa).
   El sello "Un producto de Tech Analysis" usa el símbolo y la
   tipografía (Poppins) de la marca Tech Analysis.
   ========================================================= */

:root {
	--paper: #EEF3F4; --surface: #FFFFFF; --surface-2: #F4F8F9;
	--ink: #0B1A1E; --muted: #4B5D62; --faint: #7C9195;
	--deep: #0A4657; --teal: #0E7C8B; --aqua: #1C9FB4; --aqua-bright: #2AB7C9;
	--aira: #227FF3;
	--line: #D6E1E3; --line-soft: #E6EDEE;
	--green: #0F9D58; --amber: #D9892A; --red: #D2465A;
	--green-bg: #E6F5EC; --amber-bg: #FBF0E1; --red-bg: #FBE9EC;

	/* Derivados suaves */
	--aqua-bg: color-mix(in srgb, var(--aqua-bright) 11%, var(--surface));
	--blue-bg: color-mix(in srgb, var(--aira) 9%, var(--surface));
	--soft: linear-gradient(180deg, var(--surface-2), color-mix(in srgb, var(--aqua-bright) 5%, var(--surface)));
	--bar-base: #A9BCC0;
	--shadow-sm: 0 1px 2px rgba(10, 70, 87, .05), 0 6px 16px -8px rgba(10, 70, 87, .12);
	--shadow: 0 1px 2px rgba(10, 70, 87, .04), 0 18px 44px -22px rgba(10, 70, 87, .24);
	--shadow-lg: 0 2px 6px rgba(10, 70, 87, .05), 0 40px 80px -36px rgba(10, 70, 87, .38);
	--on-deep: #FFFFFF;
	--glass: rgba(255, 255, 255, .78);
	--logo-filter: none;

	--maxw: 1180px;
	--r: 24px;
	--sec: clamp(60px, 7.5vw, 100px);
	--display: 'Sora', 'Public Sans', system-ui, sans-serif;
	--body: 'Public Sans', -apple-system, system-ui, sans-serif;
	--mono: 'IBM Plex Mono', ui-monospace, monospace;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--paper: #061417; --surface: #0C2126; --surface-2: #0A1C20;
		--ink: #E9F2F3; --muted: #9BB0B5; --faint: #6E888D;
		--deep: #4FC3D6; --teal: #3FB6C9; --aqua: #35C4D6; --aqua-bright: #54D6E6;
		--aira: #5AA6FF;
		--line: #1B353C; --line-soft: #142B31;
		--green: #3CC97E; --amber: #E7A64B; --red: #EA6376;
		--green-bg: #0F2C24; --amber-bg: #2A2215; --red-bg: #2C171B;
		--bar-base: #3B5A61;
		--shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 16px -8px rgba(0, 0, 0, .5);
		--shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 18px 44px -20px rgba(0, 0, 0, .6);
		--shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 40px 80px -30px rgba(0, 0, 0, .75);
		--on-deep: #04171B;
		--glass: rgba(10, 28, 32, .78);
		--logo-filter: invert(1) hue-rotate(180deg) brightness(1.15);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--paper: #061417; --surface: #0C2126; --surface-2: #0A1C20;
	--ink: #E9F2F3; --muted: #9BB0B5; --faint: #6E888D;
	--deep: #4FC3D6; --teal: #3FB6C9; --aqua: #35C4D6; --aqua-bright: #54D6E6;
	--aira: #5AA6FF;
	--line: #1B353C; --line-soft: #142B31;
	--green: #3CC97E; --amber: #E7A64B; --red: #EA6376;
	--green-bg: #0F2C24; --amber-bg: #2A2215; --red-bg: #2C171B;
	--bar-base: #3B5A61;
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 16px -8px rgba(0, 0, 0, .5);
	--shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 18px 44px -20px rgba(0, 0, 0, .6);
	--shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 40px 80px -30px rgba(0, 0, 0, .75);
	--on-deep: #04171B;
	--glass: rgba(10, 28, 32, .78);
	--logo-filter: invert(1) hue-rotate(180deg) brightness(1.15);
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
	margin: 0; background: var(--surface); color: var(--ink);
	font-family: var(--body); font-size: 16px; line-height: 1.65;
	-webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--aqua-bright); outline-offset: 3px; border-radius: 8px; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px;
	background: var(--aqua-bg); color: var(--teal); font-size: 13px; font-weight: 600; letter-spacing: .01em;
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--aira); box-shadow: 0 0 0 3px color-mix(in srgb, var(--aira) 20%, transparent); }

/* Orbe: el punto azul del logo de AIRA */
.orb { position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #7DBBFF, var(--aira) 55%, #1560C8); box-shadow: 0 6px 16px -4px rgba(34, 127, 243, .55); }
.orb::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--aira) 35%, transparent); animation: ring 2.4s ease-out infinite; }
.orb--sm { width: 18px; height: 18px; box-shadow: 0 3px 8px -2px rgba(34, 127, 243, .55); }
.orb--sm::after { inset: -4px; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

/* ---------- Botones ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 14px 24px;
	font: 600 15px/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer;
	transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s;
}
.btn .ic { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ic { transform: translateX(3px); }
.btn--sm { padding: 10px 18px; font-size: 14px; white-space: nowrap; }
.btn--primary { background: var(--deep); color: var(--on-deep); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--deep) 80%, transparent); }
.btn--primary:hover { box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--deep) 80%, transparent); }
.btn--ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--aqua); }
.btn--light { background: #fff; color: #0A4657; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .35); }
.btn.btn--line { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn.btn--line:hover { background: rgba(255, 255, 255, .12); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cta-row--center { justify-content: center; }

/* ---------- Sello Tech Analysis (igual que en techanalisis.co) ---------- */
.brand { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; --sym-a: var(--ink); }
.brand__sym { width: 26px; height: 22px; flex: none; }
.brand__word { display: inline-flex; flex-direction: column; line-height: 1; font-family: 'Poppins', var(--body); }
.brand__word b { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.brand__sub { display: flex; justify-content: space-between; margin-top: 2px; font-size: 4.7px; font-weight: 500; color: var(--teal); }
.brand__sub i { font-style: normal; }
.brand--lg .brand__sym { width: 40px; height: 34px; }
.brand--lg .brand__word b { font-size: 22px; }
.brand--lg .brand__sub { font-size: 7.2px; margin-top: 3px; }
:root[data-theme="dark"] .brand { --sym-a: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand { --sym-a: #fff; } }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.nav.is-scrolled { background: var(--glass); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line-soft); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo img { height: 40px; width: auto; filter: var(--logo-filter); }
.nav__links { display: flex; gap: 2px; margin: 0 auto; padding: 4px; border-radius: 999px; }
.nav.is-scrolled .nav__links { background: transparent; }
.nav__links a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-on { color: var(--teal); background: var(--aqua-bg); }
.nav__act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
/* Acceso a Tech Analysis: solo el símbolo, el nombre queda en el title */
.nav__tech { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
	text-decoration: none; --sym-a: var(--ink); transition: border-color .2s, transform .2s; }
.nav__tech:hover { border-color: var(--aqua); transform: translateY(-1px); }
.nav__tech .brand__sym { width: 22px; height: 18px; }
.nav__tech span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:root[data-theme="dark"] .nav__tech { --sym-a: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav__tech { --sym-a: #fff; } }
@media (max-width: 400px) { .nav__tech { display: none; } }
.theme { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.theme:hover { color: var(--ink); border-color: var(--aqua); }
.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme__moon { display: none; }
:root[data-theme="dark"] .theme__sun { display: none; }
:root[data-theme="dark"] .theme__moon { display: block; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme__sun { display: none; }
	:root:not([data-theme="light"]) .theme__moon { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: -72px; padding: calc(72px + clamp(32px, 5vw, 64px)) 0 clamp(40px, 5vw, 64px); overflow: hidden;
	background: linear-gradient(180deg, color-mix(in srgb, var(--aqua-bright) 7%, var(--surface)), var(--surface) 85%); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob--1 { width: 520px; height: 520px; right: -120px; top: -120px; background: color-mix(in srgb, var(--aira) 30%, transparent); }
.blob--2 { width: 420px; height: 420px; left: -160px; top: 30%; background: color-mix(in srgb, var(--aqua-bright) 30%, transparent); }
.blob--3 { width: 360px; height: 360px; right: 30%; bottom: -160px; background: color-mix(in srgb, var(--green) 16%, transparent); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 7px 16px 7px 12px; font-size: 13.5px; font-weight: 500; color: var(--teal); background: var(--surface); box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 55%, transparent); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero h1 { font-size: clamp(2.3rem, 4.3vw, 3.6rem); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; margin-bottom: 22px; }
.hero h1 .u { position: relative; white-space: nowrap; background: linear-gradient(90deg, var(--teal), var(--aira)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .soft { display: block; color: var(--muted); font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 46ch; margin-bottom: 30px; }
.lead b { color: var(--ink); font-weight: 600; }
.trust { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 13.5px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .ic { width: 18px; height: 18px; color: var(--teal); }
.trust__by { gap: 10px !important; padding-left: 22px; border-left: 1px solid var(--line); }

.hero__visual { position: relative; padding: 40px 0 24px 24px; }
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); animation: bob 7s ease-in-out infinite; }
.float b { display: block; font: 600 13.5px/1.2 var(--display); }
.float small { font-size: 12px; color: var(--muted); }
.float--1 { right: 72px; top: 0; }
.float--2 { right: -16px; bottom: -6px; animation-delay: -3.5s; }
.float__ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; }
.float__ic--green { background: var(--green-bg); color: var(--green); }
.float__ic--blue { background: var(--blue-bg); color: var(--aira); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Estadísticas bajo el hero */
.hstats { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
	background: var(--glass); border-radius: 28px; box-shadow: var(--shadow); position: relative; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hstats li { padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; border-radius: 20px; transition: background-color .25s; }
.hstats li:hover { background: var(--surface-2); }
.hstats__ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--aqua-bg); color: var(--teal); }
.hstats b { display: block; font: 700 1.6rem/1.1 var(--display); color: var(--deep); letter-spacing: -.03em; }
.hstats li div span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; margin-top: 2px; }

/* ---------- Consola en vivo (tarjeta clínica) ---------- */
.console { position: relative; z-index: 1; background: var(--surface); border-radius: 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft); padding: 18px; font-size: 13px; }
.console__bar { display: flex; align-items: center; gap: 12px; padding: 2px 4px 14px; }
.console__title b { display: block; font: 600 15px/1.2 var(--display); }
.console__title small { color: var(--muted); font-size: 12.5px; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--aira); background: var(--blue-bg); border-radius: 999px; padding: 6px 12px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.2s infinite; }
.console.is-done .live { color: var(--green); background: var(--green-bg); }
.console.is-done .live i { animation: none; }
@keyframes blink { 50% { opacity: .3; } }
.console__meta { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.console__meta div { padding: 10px 12px; border-radius: 14px; background: var(--surface-2); min-width: 0; }
.console__meta small { display: block; font-size: 11.5px; color: var(--faint); }
.console__meta b { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

.sheet { position: relative; border-radius: 18px; border: 1px solid var(--line-soft); overflow: hidden; }
.sheet__rows { min-height: 260px; }
.srow { display: grid; grid-template-columns: minmax(0, 1fr) auto 104px; gap: 12px; align-items: center; height: 52px; padding: 0 14px; border-bottom: 1px solid var(--line-soft); transition: background-color .4s; }
.srow:last-child { border-bottom: 0; }
.srow__name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow__name small { display: block; font-weight: 400; font-size: 11.5px; color: var(--faint); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow__val { font-size: 13px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.srow__val s { color: var(--faint); font-weight: 400; font-size: 11px; display: block; line-height: 1.1; }
.badge { justify-self: end; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; color: var(--faint); background: var(--surface-2); }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--ok { color: var(--green); background: var(--green-bg); }
.badge--a { color: var(--amber); background: var(--amber-bg); }
.badge--r { color: var(--red); background: var(--red-bg); }
.badge--plus { color: var(--aira); background: var(--blue-bg); }
.srow.is-a { background: color-mix(in srgb, var(--amber-bg) 55%, transparent); }
.srow.is-r { background: color-mix(in srgb, var(--red-bg) 55%, transparent); }
.srow.is-plus { background: color-mix(in srgb, var(--blue-bg) 70%, transparent); }
.srow.is-new { animation: rowIn .45s ease both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } }

/* Haz de lectura: el punto azul de AIRA recorre la cuenta */
.beam { position: absolute; left: 0; right: 0; top: 0; height: 52px; pointer-events: none; opacity: 0;
	background: linear-gradient(90deg, color-mix(in srgb, var(--aira) 14%, transparent), color-mix(in srgb, var(--aqua-bright) 10%, transparent) 60%, transparent);
	box-shadow: inset 3px 0 0 var(--aira);
	transition: transform .5s cubic-bezier(.5, 0, .2, 1), opacity .3s; }
.beam.is-on { opacity: 1; }
.beam i { position: absolute; left: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--aira); box-shadow: 0 0 0 4px color-mix(in srgb, var(--aira) 22%, transparent); }

.verdict { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 14px 16px; border-radius: 18px; background: var(--surface-2); min-height: 72px; transition: background-color .4s; }
.lamps { display: flex; gap: 5px; padding: 7px 8px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm); }
.lamps i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: background-color .3s, box-shadow .3s; }
.verdict[data-state="g"] { background: var(--green-bg); }
.verdict[data-state="a"] { background: var(--amber-bg); }
.verdict[data-state="r"] { background: var(--red-bg); }
.verdict[data-state="g"] .l-g { background: var(--green); box-shadow: 0 0 8px var(--green); }
.verdict[data-state="a"] .l-a { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.verdict[data-state="r"] .l-r { background: var(--red); box-shadow: 0 0 8px var(--red); }
.verdict[data-state="wait"] .lamps i { animation: blink 1.2s infinite; }
.verdict[data-state="wait"] .l-a { animation-delay: .2s; }
.verdict[data-state="wait"] .l-r { animation-delay: .4s; }
.verdict__txt { display: flex; flex-direction: column; min-width: 0; }
.verdict__txt b { font: 600 15px/1.3 var(--display); }
.verdict[data-state="g"] b { color: var(--green); }
.verdict[data-state="a"] b { color: var(--amber); }
.verdict[data-state="r"] b { color: var(--red); }
.verdict__txt span { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.verdict__code { margin-left: auto; align-self: flex-start; font: 500 11px/1 var(--mono); color: var(--muted); background: var(--surface); border-radius: 8px; padding: 6px 8px; white-space: nowrap; box-shadow: var(--shadow-sm); }
.verdict__code:empty { display: none; }
.verdict.is-swap .verdict__txt { animation: fadeUp .4s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }
.console__foot { display: flex; gap: 18px; padding: 12px 4px 0; font-size: 12px; color: var(--faint); }
.console__foot b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Secciones ---------- */
.sec { padding: var(--sec) 0; position: relative; }
.sec--soft { background: var(--soft); }
.head { max-width: 700px; margin-bottom: clamp(32px, 4vw, 52px); }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.12; margin: 16px 0 14px; }
.head p { font-size: 1.06rem; color: var(--muted); }
.head p b { color: var(--ink); }
.head--sub { margin-top: clamp(56px, 7vw, 92px); }
.card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line-soft); }

/* ---------- Sin / Con AIRA ---------- */
.versus { max-width: 980px; margin: 0 auto; background: var(--surface); border-radius: 32px; box-shadow: var(--shadow); border: 1px solid var(--line-soft); padding: clamp(20px, 3vw, 36px); text-align: center; }
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: var(--surface-2); margin-bottom: 26px; }
.switch button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 26px; font: 600 14px/1 var(--body); color: var(--muted); cursor: pointer; border-radius: 999px; transition: color .3s; }
.switch button[aria-selected="true"] { color: #fff; }
.switch__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--red); box-shadow: 0 6px 14px -6px var(--red); transition: transform .5s cubic-bezier(.6, 0, .2, 1), background-color .5s, box-shadow .5s; }
.versus[data-mode="con"] .switch__pill { transform: translateX(100%); background: var(--green); box-shadow: 0 6px 14px -6px var(--green); }

.track { position: relative; height: 44px; margin-bottom: 24px; }
.track__line { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 8px; transition: opacity .45s, transform .55s; }
.track__line li { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; height: 40px; padding: 0 10px; border-radius: 999px;
	font-size: 13px; font-weight: 600; background: var(--surface-2); color: var(--muted); line-height: 1.2; }
.track__line li.gap { flex: .7; background: none; border: 1.5px dashed var(--line); font-weight: 400; color: var(--faint); }
.track__line li.bad { color: var(--red); background: var(--red-bg); }
.track__line li.mid { color: var(--amber); background: var(--amber-bg); }
.track__line li.good { color: var(--green); background: var(--green-bg); }
.track__line li.ai { color: var(--aira); background: var(--blue-bg); }
.track__line--con { opacity: 0; transform: translateX(24px); pointer-events: none; }
.versus[data-mode="con"] .track__line--sin { opacity: 0; transform: translateX(-24px); }
.versus[data-mode="con"] .track__line--con { opacity: 1; transform: none; }

.versus__panes { display: grid; text-align: left; }
.vpane { grid-area: 1 / 1; border-radius: 24px; padding: clamp(22px, 3vw, 32px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; align-items: center; transition: opacity .45s, transform .5s; }
.vpane--sin { background: var(--red-bg); }
.vpane--con { background: var(--green-bg); opacity: 0; transform: translateY(10px); pointer-events: none; }
.versus[data-mode="con"] .vpane--sin { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.versus[data-mode="con"] .vpane--con { opacity: 1; transform: none; pointer-events: auto; }
.vpane .tag { font-size: 12.5px; font-weight: 600; }
.vpane--sin .tag, .vpane--sin .ic { color: var(--red); }
.vpane--con .tag, .vpane--con .ic { color: var(--green); }
.vpane h3 { font-size: 1.45rem; margin: 6px 0 14px; }
.vpane ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.vpane li { display: flex; align-items: center; gap: 12px; font-size: 15px; padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.vpane li .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.vpane .quote { font-size: 14.5px; font-style: italic; color: var(--muted); }

.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.role { background: var(--surface); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line-soft); }
.role header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.role__ic { width: 48px; height: 48px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--aqua-bg); color: var(--teal); }
.role__ic .ic { width: 22px; height: 22px; }
.role h3 { font-size: 1.15rem; line-height: 1.2; }
.role small { color: var(--muted); font-size: 13.5px; }
.role ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.role li { position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.role li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--amber-bg); }
.role li::after { content: ''; position: absolute; left: 7px; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--amber); }
.lift { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 32px auto 0; max-width: 820px; padding: 18px 26px; border-radius: 999px; background: var(--aqua-bg);
	font: 500 clamp(1rem, 1.7vw, 1.15rem)/1.4 var(--display); text-align: center; }
.lift b { color: var(--teal); font-weight: 600; }
.lift__ic { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--aira); box-shadow: var(--shadow-sm); }

/* ---------- Cómo funciona ---------- */
.pipe { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.pipe::before { content: ''; position: absolute; left: 12%; right: 12%; top: 32px; height: 2px; background: var(--line); border-radius: 2px; }
.pipe::after { content: ''; position: absolute; left: 12%; right: 12%; top: 32px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--aqua-bright), var(--aira));
	transform-origin: left; transform: scaleX(0); transition: transform 1.8s cubic-bezier(.4, 0, .2, 1) .2s; }
.pipe.in::after { transform: scaleX(1); }
.pipe li { position: relative; text-align: center; padding: 0 8px; }
.pipe__ic { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 22px; background: var(--surface); color: var(--teal); box-shadow: var(--shadow); transition: background-color .4s, color .4s; }
.pipe__ic .ic { width: 26px; height: 26px; }
.pipe.in .pipe__ic { animation: nodeOn .5s ease both; animation-delay: calc(var(--k) * .45s + .3s); }
.pipe li:nth-child(1) { --k: 0; } .pipe li:nth-child(2) { --k: 1; } .pipe li:nth-child(3) { --k: 2; } .pipe li:nth-child(4) { --k: 3; }
@keyframes nodeOn { to { background: linear-gradient(135deg, var(--aqua), var(--aira)); color: #fff; } }
.pipe h4 { font-size: 1.05rem; margin-bottom: 6px; }
.pipe p { font-size: 14px; color: var(--muted); max-width: 26ch; margin: 0 auto; }

.layers { display: grid; grid-template-columns: 1fr 1fr .95fr; gap: 20px; align-items: stretch; }
.layer { position: relative; background: var(--surface); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 12px; }
.layer--det { --accent: var(--teal); --accent-bg: var(--aqua-bg); }
.layer--ia { --accent: var(--aqua); --accent-bg: var(--aqua-bg); }
.layer--blue { --accent: var(--aira); --accent-bg: var(--blue-bg); }
.layer__ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-bg); color: var(--accent); }
.layer__ic .ic { width: 22px; height: 22px; }
.layer__n { font-size: 13px; font-weight: 600; color: var(--accent, var(--aira)); }
.layer h3 { font-size: 1.22rem; line-height: 1.25; }
.layer > p { color: var(--muted); font-size: 14.5px; }
.layer > p b { color: var(--ink); font-weight: 600; }
.layer__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 13.5px !important; }
.layer__foot b { color: var(--accent) !important; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12.5px; background: var(--surface-2); border-radius: 999px; padding: 6px 12px; color: var(--muted); }
.chip b { color: var(--ink); font-weight: 600; }

.concept { position: relative; overflow: hidden; border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 14px;
	background: linear-gradient(160deg, var(--amber-bg), var(--surface) 70%); box-shadow: var(--shadow); border: 1px solid color-mix(in srgb, var(--amber) 22%, var(--line-soft)); --accent: var(--amber); }
.concept__state { display: inline-flex; align-items: center; gap: 10px; font: 600 1.35rem/1.2 var(--display); color: var(--amber); }
.lamp { width: 14px; height: 14px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px color-mix(in srgb, var(--amber) 22%, transparent); animation: blink 2.2s infinite; }
.concept__cmp { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.concept__cmp small { display: block; font-size: 12px; color: var(--faint); }
.concept__cmp s { font: 600 1.05rem/1.3 var(--display); color: var(--faint); }
.concept__cmp b { font: 600 1.2rem/1.3 var(--display); color: var(--green); }
.concept__cmp .ic { color: var(--faint); }
.concept__fix { font-size: 14.5px; }
.concept__fix .code { display: inline-block; margin-bottom: 6px; font: 500 11.5px/1 var(--mono); color: var(--amber); background: var(--surface); border-radius: 8px; padding: 6px 8px; box-shadow: var(--shadow-sm); }
.concept__fix .code { display: table; }
.concept__src { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.concept__src .ic { width: 16px; height: 16px; }

/* ---------- Qué valida ---------- */
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.check { position: relative; background: var(--surface); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.check:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--aqua) 35%, var(--line-soft)); }
.check__ic { width: 48px; height: 48px; margin-bottom: 6px; border-radius: 16px; display: grid; place-items: center; background: var(--aqua-bg); color: var(--teal); transition: background-color .25s, color .25s; }
.check__ic .ic { width: 22px; height: 22px; }
.check:hover .check__ic { background: linear-gradient(135deg, var(--aqua), var(--aira)); color: #fff; }
.check h4 { font-size: 1.08rem; }
.check h4 i { font-style: normal; color: var(--aira); font-weight: 400; }
.check p { font-size: 14.5px; color: var(--muted); }
.cross { margin-top: auto; padding-top: 12px; font-size: 12.5px; color: var(--faint); border-top: 1px solid var(--line-soft); }

/* ---------- Bidireccional: espejo factura ↔ historia ---------- */
.mirror-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.mirror-grid .head { margin-bottom: 0; }
.legend { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.legend__i { display: flex; align-items: center; gap: 12px; }
.legend__i > span { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.legend__i b { display: block; font: 600 14.5px/1.3 var(--display); }
.legend__i small { font-size: 13px; color: var(--muted); }
.legend__i--over > span { background: var(--red-bg); color: var(--red); }
.legend__i--under > span { background: var(--green-bg); color: var(--green); }
.mirror { background: var(--surface); border-radius: 28px; padding: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft); }
.mirror__head, .mrow { display: grid; grid-template-columns: 1fr 44px 1fr; gap: 10px; align-items: center; }
.mirror__head { font: 600 13px/1 var(--display); color: var(--muted); padding: 0 4px 14px; }
.mirror__head span { display: inline-flex; align-items: center; gap: 7px; }
.mirror__head span:last-child { justify-content: flex-end; }
.mirror__head .ic { width: 17px; height: 17px; color: var(--teal); }
.mirror__core { justify-self: center; }
.mrow { position: relative; padding: 5px 0; }
.mrow::before { content: ''; position: absolute; left: 6%; right: 6%; top: 50%; height: 1.5px; background: var(--line-soft); }
.doc { position: relative; font-size: 13.5px; padding: 11px 14px; border-radius: 14px; background: var(--surface-2); line-height: 1.3; }
.mrow .doc:last-child { text-align: right; }
.doc--empty { background: var(--surface); border: 1.5px dashed var(--line); color: var(--faint); font-style: italic; font-size: 12.5px; }
.st { position: relative; width: 36px; height: 36px; justify-self: center; display: grid; place-items: center; border-radius: 50%; box-shadow: 0 0 0 4px var(--surface); }
.st .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.st--ok { color: var(--teal); background: var(--aqua-bg); }
.st--over { color: var(--red); background: var(--red-bg); }
.st--under { color: var(--green); background: var(--green-bg); }
.mrow:has(.st--over) .doc:first-child { background: var(--red-bg); color: var(--ink); }
.mrow:has(.st--under) .doc:last-child { background: var(--green-bg); }
.mirror__foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 13.5px; color: var(--muted); }
.js .mirror .mrow { opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; transition-delay: calc(var(--i) * .18s + .2s); }
.js .mirror.in .mrow { opacity: 1; transform: none; }
.js .mirror .st { transform: scale(.4); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--i) * .18s + .45s); }
.js .mirror.in .st { transform: none; }

/* ---------- Ciclo ---------- */
.cycle { list-style: none; margin: 0 auto 24px; padding: 8px; max-width: 900px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-radius: 999px; background: var(--surface-2); }
.cycle li { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm); }
.cycle__ic { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--aqua-bg); color: var(--teal); }
.cycle li:nth-child(n+2) .cycle__ic { background: var(--blue-bg); color: var(--aira); }
.cycle b { display: block; font: 600 1rem/1.25 var(--display); }
.cycle small { color: var(--muted); font-size: 12.5px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mini { margin: 0; padding: 0; list-style: none; counter-reset: m; display: flex; flex-direction: column; gap: 10px; }
.mini li { counter-increment: m; position: relative; padding-left: 36px; font-size: 14.5px; color: var(--muted); }
.mini li::before { content: counter(m); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
	background: var(--accent-bg); color: var(--accent); font: 600 12px/24px var(--display); text-align: center; }
.mini li b { color: var(--ink); font-weight: 600; }

/* ---------- Resultados ---------- */
.bens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ben { background: var(--surface); border-radius: var(--r); padding: 26px; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.ben:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ben__ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--aqua-bg); color: var(--teal); margin-bottom: 16px; }
.ben__ic--green { background: var(--green-bg); color: var(--green); }
.ben__ic--blue { background: var(--blue-bg); color: var(--aira); }
.ben .k { font: 700 2rem/1 var(--display); color: var(--deep); letter-spacing: -.03em; }
.ben h4 { font-size: 1.02rem; margin: 10px 0 6px; }
.ben p { font-size: 14px; color: var(--muted); }

.roi { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: stretch; }
.bars, .calc { padding: 30px; }
.bars { display: flex; flex-direction: column; justify-content: center; }
.bar-row { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; }
.bar-row .lab { width: 170px; flex: none; font-size: 14px; color: var(--muted); }
.bar-row--win .lab { color: var(--green); font-weight: 600; }
.bar-track { flex: 1; height: 36px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; width: var(--w); background: var(--c); display: flex; align-items: center; padding: 0 14px; color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; border-radius: 999px; }
:root[data-theme="dark"] .bar-fill { color: #05171B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bar-fill { color: #05171B; } }
.js .bars .bar-fill { width: 0; transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.js .bars.in .bar-fill { width: var(--w); }
.js .bars .bar-row:nth-child(2) .bar-fill { transition-delay: .15s; }
.js .bars .bar-row:nth-child(3) .bar-fill { transition-delay: .3s; }
.js .bars .bar-row:nth-child(4) .bar-fill { transition-delay: .5s; }
.note { font-size: 13px; color: var(--faint); margin-top: 6px; line-height: 1.5; }

.calc { display: flex; flex-direction: column; gap: 18px; background: linear-gradient(165deg, var(--aqua-bg), var(--surface) 65%); }
.calc h3 { font-size: 1.2rem; }
.calc__f { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--muted); }
.calc__f > span { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.calc__f output { color: var(--ink); font: 600 15px/1 var(--display); }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; cursor: pointer;
	background: linear-gradient(90deg, var(--aqua), var(--aira)) 0 / var(--p, 50%) 100% no-repeat, var(--line-soft); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--aira); box-shadow: 0 4px 10px -2px rgba(34, 127, 243, .5); }
.calc input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 5px solid var(--aira); box-shadow: 0 4px 10px -2px rgba(34, 127, 243, .5); }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc__out div { padding: 16px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.calc__out small { display: block; font-size: 12.5px; color: var(--muted); }
.calc__out b { display: block; margin-top: 4px; font: 700 clamp(1.3rem, 2.4vw, 1.7rem)/1.1 var(--display); color: var(--red); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc .note { margin-top: 0; }

/* ---------- Cierre ---------- */
.sec--close { padding-top: clamp(40px, 5vw, 64px); }
.close { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 36px; padding: clamp(44px, 6vw, 72px) clamp(20px, 5vw, 64px);
	background: radial-gradient(600px 300px at 90% 0%, rgba(34, 127, 243, .55), transparent 70%), linear-gradient(135deg, #0E7C8B, #0A4657 75%); box-shadow: var(--shadow-lg); }
:root[data-theme="dark"] .close { background: radial-gradient(600px 300px at 90% 0%, rgba(34, 127, 243, .35), transparent 70%), linear-gradient(135deg, #0B5A66, #08323D 75%); }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .close { background: radial-gradient(600px 300px at 90% 0%, rgba(34, 127, 243, .35), transparent 70%), linear-gradient(135deg, #0B5A66, #08323D 75%); }
}
.close > * { position: relative; }
.close__ecg { position: absolute !important; left: 0; right: 0; bottom: 6px; width: 100%; height: 90px; opacity: .18; pointer-events: none; }
.close__ecg path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2200; stroke-dashoffset: 2200; }
.close.in .close__ecg path { animation: draw 3.5s cubic-bezier(.4, 0, .2, 1) .3s forwards; }
.close__orb { display: block; width: 18px; height: 18px; margin: 0 auto 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #A9D2FF, #227FF3 60%); box-shadow: 0 0 0 8px rgba(255, 255, 255, .1), 0 0 0 18px rgba(255, 255, 255, .05); }
.close h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.15; margin: 0 auto 18px; max-width: 22ch; }
.close p { color: rgba(255, 255, 255, .85); max-width: 58ch; margin: 0 auto 14px; font-size: 1.05rem; }
.close p b { color: #fff; }
.close__small { font-size: .95rem !important; color: rgba(255, 255, 255, .7) !important; margin-bottom: 30px !important; }

/* ---------- Contacto ---------- */
#contacto { padding-top: clamp(24px, 3vw, 40px); }
.contact { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: 36px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft); }
.contact__aside { position: relative; padding: clamp(28px, 4vw, 48px); background: linear-gradient(165deg, var(--aqua-bg), color-mix(in srgb, var(--aira) 7%, var(--surface)) 70%); display: flex; flex-direction: column; gap: 18px; }
.contact__aside h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; }
.contact__aside > p { color: var(--muted); font-size: 15px; }
.steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.steps li > span { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--aqua), var(--aira)); color: #fff; font: 600 13px/1 var(--display); }
.steps b { display: block; font: 600 14.5px/1.3 var(--display); }
.steps small { display: block; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.person { margin-top: auto; padding: 18px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.person__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.person__avatar { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--aqua), var(--aira)); color: #fff; font: 600 16px/1 var(--display); letter-spacing: .02em; box-shadow: 0 0 0 4px var(--aqua-bg); }
.person__head b { display: block; font: 600 16px/1.25 var(--display); }
.person__head small { display: block; font-size: 12.5px; line-height: 1.35; color: var(--teal); font-weight: 500; }
.contact__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }
.contact__list li { display: flex; align-items: center; gap: 10px; }
.contact__list li > span { width: 32px; height: 32px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--aqua-bg); color: var(--teal); }
.contact__list a { overflow-wrap: anywhere; }
.contact__list .ic { width: 17px; height: 17px; }
.contact__list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact__list a:hover { color: var(--teal); }

.form { padding: clamp(24px, 3.6vw, 44px); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field__label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
	width: 100%; font: 400 15px/1.4 var(--body); color: var(--ink); background: var(--surface-2);
	border: 1.5px solid transparent; border-radius: 14px; padding: 12px 14px; outline: none;
	transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:hover, .field select:hover, .field textarea:hover { background: color-mix(in srgb, var(--aqua-bright) 6%, var(--surface-2)); }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--surface); border-color: var(--aqua); box-shadow: 0 0 0 4px color-mix(in srgb, var(--aqua-bright) 18%, transparent); }
.select { position: relative; }
.select::after { content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.select select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; }
.field__error { display: none; font-size: 12.5px; color: var(--red); }
.field.invalid .field__error { display: block; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--red); background: var(--red-bg); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); background: var(--surface-2); border: 1.5px solid transparent; transition: color .2s, background-color .2s, border-color .2s; }
.pill:hover span { color: var(--ink); }
.pill input:checked + span { color: var(--teal); background: var(--aqua-bg); border-color: color-mix(in srgb, var(--aqua) 55%, transparent); font-weight: 600; }
.pill input:checked + span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--aira); }
.pill input:focus-visible + span { outline: 2px solid var(--aqua-bright); outline-offset: 2px; }

.field .consent { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; font-weight: 400; color: var(--muted); cursor: pointer; line-height: 1.45; }
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent__box { width: 22px; height: 22px; flex: none; border-radius: 7px; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; color: transparent; transition: background-color .2s, border-color .2s, color .2s; }
.consent__box .ic { width: 14px; height: 14px; stroke-width: 3; }
.consent input:checked + .consent__box { background: var(--teal); border-color: var(--teal); color: #fff; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--aqua-bright); outline-offset: 2px; }
.field--check.invalid .consent__box { border-color: var(--red); }

.btn--block { width: 100%; justify-content: center; margin-top: 20px; padding: 16px 24px; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.alert { margin-top: 14px; padding: 12px 16px; border-radius: 14px; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.alert[hidden] { display: none; }
.alert--ok { background: var(--green-bg); color: var(--green); font-weight: 600; }
.alert--err { background: var(--red-bg); color: var(--red); }

/* ---------- Footer ---------- */
.foot { padding: 40px 0 26px; }
.foot__in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.foot__brand { display: flex; align-items: center; gap: 22px; }
.foot__aira { height: 42px; width: auto; filter: var(--logo-filter); }
.foot__div { width: 1px; height: 42px; background: var(--line); }
.foot__by { display: flex; flex-direction: column; gap: 6px; }
.foot__by small { font-size: 11.5px; color: var(--faint); }
.foot__contact { display: flex; flex-direction: column; gap: 2px; text-align: right; font-size: 13.5px; color: var(--muted); }
.foot__contact a { color: var(--teal); font-weight: 600; text-decoration: none; }
.foot__contact a:hover { text-decoration: underline; }
.foot__legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--faint); }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.layers { grid-template-columns: 1fr 1fr; }
	.concept { grid-column: 1 / -1; }
	.nav__links { display: none; }
}
@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__visual { max-width: 600px; padding-left: 0; }
	.hstats { grid-template-columns: repeat(2, 1fr); border-radius: 24px; }
	.checks, .bens { grid-template-columns: 1fr 1fr; }
	.mirror-grid, .roi, .contact { grid-template-columns: 1fr; }
	.vpane { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.roles, .duo, .layers, .checks { grid-template-columns: 1fr; }
	.pipe { grid-template-columns: 1fr 1fr; row-gap: 28px; }
	.pipe::before, .pipe::after { display: none; }
	.cycle { grid-template-columns: 1fr; border-radius: 28px; }
	.track { height: auto; }
	.track__line { position: static; flex-wrap: wrap; justify-content: center; }
	.track__line li { flex: 0 1 auto; height: 34px; font-size: 12.5px; padding: 0 14px; }
	.track__line li.gap { flex: 0 1 auto; }
	.track__line--con { display: none; }
	.versus[data-mode="con"] .track__line--sin { display: none; }
	.versus[data-mode="con"] .track__line--con { display: flex; }
	.lift { border-radius: 24px; flex-direction: column; gap: 10px; }
	.foot__contact { text-align: left; }
	.bar-row .lab { width: 120px; font-size: 13px; }
	.trust__by { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
	.wrap { padding: 0 16px; }
	.nav__in { gap: 12px; height: 64px; }
	.logo img { height: 32px; }
	.nav__act .btn { padding: 9px 14px; font-size: 13px; }
	.hero { margin-top: -64px; padding-top: calc(64px + 28px); }
	.console { padding: 12px; border-radius: 24px; }
	.console__meta { grid-template-columns: 1fr 1fr; }
	.console__meta div:first-child { grid-column: 1 / -1; }
	.srow { grid-template-columns: minmax(0, 1fr) auto 92px; padding: 0 10px; gap: 8px; }
	.badge { font-size: 10.5px; padding: 4px 8px; }
	.float { display: none; }
	.hstats { grid-template-columns: 1fr 1fr; padding: 6px; gap: 4px; }
	.hstats li { padding: 12px; flex-direction: column; gap: 8px; }
	.hstats b { font-size: 1.35rem; }
	.pipe { grid-template-columns: 1fr; }
	.checks { gap: 14px; }
	.bens { gap: 12px; }
	.ben { padding: 18px; }
	.ben .k { font-size: 1.5rem; }
	.mirror { padding: 14px; }
	.mirror__head, .mrow { grid-template-columns: 1fr 34px 1fr; gap: 6px; }
	.doc { font-size: 12px; padding: 9px 10px; }
	.st { width: 30px; height: 30px; }
	.foot__brand { flex-wrap: wrap; gap: 14px; }
	.calc__out { grid-template-columns: 1fr; }
	.vpane li { font-size: 14px; }
	.form__grid { grid-template-columns: 1fr; }
	.contact { border-radius: 28px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	html { scroll-behavior: auto; }
}
