/* Sitio CISTI 1.0.2 · familia de marcas 1.2.0 */
:root {
	--cx-bg: #F4F6FA;
	--cx-surface: #FFFFFF;
	--cx-surface-2: #EEF2F8;
	--cx-ink: #0E1B33;
	--cx-text: #334155;
	--cx-muted: #5B6B82;
	--cx-line: #E2E8F0;
	--cx-blue: #0EA5E9;
	--cx-blue-2: #1D4ED8;
	--cx-gold: #F2B33D;
	--cx-primary: #6D28D9;
	--cx-primary-ink: #FFFFFF;
	--cx-icon: #4F46E5;
	--cx-band: #0B1324;
	--cx-shadow: 0 1px 2px rgba(14, 27, 51, .05), 0 8px 24px rgba(14, 27, 51, .06);
	--cx-radius: 16px;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root {
		--cx-bg: #0B1324;
		--cx-surface: #111C33;
		--cx-surface-2: #0F1A30;
		--cx-ink: #F1F5F9;
		--cx-text: #CBD5E1;
		--cx-muted: #94A3B8;
		--cx-line: #1F2C47;
		--cx-primary: #7C3AED;
		--cx-icon: #A5B4FC;
		--cx-band: #070D1A;
		--cx-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .25);
		color-scheme: dark;
	}
}

body.cx-site { margin: 0; background: var(--cx-bg); color: var(--cx-text); font: 400 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.cx-site *, .cx-site *::before, .cx-site *::after { box-sizing: border-box; }
.cx-site a { color: inherit; }
.cx-site h1, .cx-site h2, .cx-site h3 { color: var(--cx-ink); margin: 0; line-height: 1.15; font-family: Inter, system-ui, sans-serif; }
.cx-site p { margin: 0; }
.cx-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .cx-wrap { padding: 0 28px; } }
.cx-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--cx-surface); color: var(--cx-ink); padding: 8px 14px; border-radius: 10px; }
.cx-skip:focus { left: 12px; }
.cx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cx-site :focus-visible { outline: 3px solid var(--cx-blue); outline-offset: 2px; border-radius: 8px; }

/* Logos */
.cx-ico { display: block; flex: none; color: var(--cx-ink); }
.cx-logo { display: inline-flex; align-items: center; gap: .45em; color: var(--cx-ink); }
.cx-wm { font-family: Montserrat, "Arial Black", Arial, sans-serif; font-weight: 900; letter-spacing: .02em; line-height: 1; white-space: nowrap; color: var(--cx-ink); }
.cx-i { position: relative; display: inline-block; }
.cx-i::before { content: ""; position: absolute; left: 50%; top: -.34em; width: .24em; height: .22em; transform: translateX(-50%); background: var(--cx-blue); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.cx-tag { display: inline-block; margin-left: .25em; padding: .14em .32em .12em; border-radius: .2em; background: var(--cx-blue); color: #fff; font-size: .62em; letter-spacing: .08em; vertical-align: .22em; }

/* Botones CISTI: blancos, 10 px de radio, 40 px de alto, ícono a la izquierda; principal morado */
.cx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--cx-line); background: var(--cx-surface); color: var(--cx-ink) !important; font: 600 15px/1 Inter, system-ui, sans-serif; text-decoration: none !important; white-space: nowrap; transition: transform .15s, box-shadow .15s, border-color .15s; }
.cx-btn i { color: var(--cx-icon); }
.cx-btn:hover { transform: translateY(-1px); box-shadow: var(--cx-shadow); border-color: #CBD5E1; }
.cx-btn--primary { background: var(--cx-primary); border-color: var(--cx-primary); color: var(--cx-primary-ink) !important; }
.cx-btn--primary i { color: #fff; }
.cx-btn--ghost { background: transparent; }
.cx-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Encabezado */
html { scroll-padding-top: calc(var(--cx-top, 0px) + 80px); }
html:has(#ewc-fbar) { --cx-top: 36px; }
.cx-head { position: sticky; top: var(--cx-top, 0px); z-index: 50; background: color-mix(in srgb, var(--cx-bg) 95%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--cx-line); }
.cx-head__in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.cx-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 26px; }
.cx-brand .cx-ico { width: 38px; height: auto; }
.cx-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.cx-nav a:not(.cx-btn) { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--cx-text); }
.cx-nav a:not(.cx-btn):hover { color: var(--cx-ink); }
.cx-burger { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--cx-line); background: var(--cx-surface); color: var(--cx-ink); font-size: 18px; cursor: pointer; }
@media (max-width: 860px) {
	.cx-burger { display: inline-grid; place-items: center; }
	.cx-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 10px 16px 16px; background: var(--cx-bg); border-bottom: 1px solid var(--cx-line); }
	.cx-nav a:not(.cx-btn) { padding: 10px 4px; }
	.cx-nav-open .cx-nav { display: flex; }
}

/* Portada */
.cx-hero { padding: 56px 0 40px; background: radial-gradient(900px 420px at 85% 0%, rgba(14, 165, 233, .14), transparent 70%), radial-gradient(700px 360px at 0% 100%, rgba(109, 40, 217, .08), transparent 70%); }
.cx-hero__in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .cx-hero { padding: 88px 0 72px; } .cx-hero__in { grid-template-columns: 1.1fr .9fr; } }
.cx-kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cx-blue); margin-bottom: 12px !important; }
.cx-hero h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.cx-hero h1 .cx-grad { background: linear-gradient(90deg, var(--cx-blue), var(--cx-blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cx-lead { margin: 18px 0 26px !important; font-size: clamp(17px, 2.2vw, 20px); color: var(--cx-muted); max-width: 60ch; text-wrap: pretty; }
.cx-hero__art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 460px; justify-self: center; width: 100%; }
.cx-hex { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 8px 14px; background: var(--cx-surface); border: 1px solid var(--cx-line); border-radius: 20px; box-shadow: var(--cx-shadow); text-decoration: none; font: 800 13px/1 Montserrat, Arial, sans-serif; letter-spacing: .06em; color: var(--cx-ink); transition: transform .2s; }
.cx-hex:hover { transform: translateY(-3px); }
.cx-hex .cx-ico { width: 56px; height: auto; }

/* Secciones */
.cx-sec { padding: 64px 0; }
.cx-sec--alt { background: var(--cx-surface-2); }
.cx-sec__head { max-width: 680px; margin-bottom: 32px; }
.cx-sec__head h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -.015em; }
.cx-sec__head p:not(.cx-kicker) { margin-top: 10px; color: var(--cx-muted); font-size: 17px; }

.cx-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cx-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cx-grid { grid-template-columns: repeat(3, 1fr); } }
.cx-card { display: flex; flex-direction: column; padding: 26px 24px 22px; background: var(--cx-surface); border: 1px solid var(--cx-line); border-radius: var(--cx-radius); box-shadow: var(--cx-shadow); }
.cx-card__logo { text-decoration: none; font-size: 30px; margin-bottom: 16px; }
.cx-card__logo .cx-ico { width: 50px; height: auto; }
.cx-cat { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cx-muted); }
.cx-lema { margin-top: 6px !important; font-size: 17px; font-weight: 600; color: var(--cx-ink); }
.cx-lema--big { font-size: clamp(19px, 2.6vw, 24px); }
.cx-desc { margin-top: 12px !important; color: var(--cx-text); font-size: 15px; }
.cx-mini { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.cx-mini i { width: 20px; color: var(--cx-blue); text-align: center; margin-right: 6px; }
.cx-card__act { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }

/* Banda oscura con todos los logos */
.cx-band { background: var(--cx-band); padding: 34px 0; }
.cx-band__in { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
@media (max-width: 560px) { .cx-band__in { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .cx-band__in { grid-template-columns: repeat(3, 1fr); } }
.cx-band a { text-decoration: none; font-size: 24px; }
.cx-band .cx-logo, .cx-band .cx-wm, .cx-band .cx-ico { color: #fff; }
.cx-band .cx-ico { width: 38px; height: auto; }

/* Ventajas */
.cx-feats { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cx-feats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cx-feats { grid-template-columns: repeat(3, 1fr); } }
.cx-feat { padding: 22px; background: var(--cx-surface); border: 1px solid var(--cx-line); border-radius: var(--cx-radius); }
.cx-feat__ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--cx-blue) 14%, transparent); color: var(--cx-blue); font-size: 19px; margin-bottom: 14px; }
.cx-feat h3 { font-size: 17px; margin-bottom: 6px; }
.cx-feat p { color: var(--cx-muted); font-size: 15px; }

/* Llamado final */
.cx-cta__in { display: grid; gap: 24px; align-items: center; padding: 36px 28px; border-radius: 22px; background: linear-gradient(135deg, var(--cx-surface), var(--cx-surface-2)); border: 1px solid var(--cx-line); box-shadow: var(--cx-shadow); }
@media (min-width: 900px) { .cx-cta__in { grid-template-columns: 1fr auto; padding: 44px; } }
.cx-cta h2 { font-size: clamp(26px, 4vw, 36px); }
.cx-cta p:not(.cx-kicker) { margin-top: 8px; color: var(--cx-muted); }
@media (max-width: 520px) { .cx-cta .cx-btn { width: 100%; } }

/* Página de cada sistema */
.cx-hero--sys { padding-top: 32px; }
.cx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--cx-muted); margin-bottom: 26px; }
.cx-crumbs a { text-decoration: none; }
.cx-crumbs a:hover { color: var(--cx-ink); }
.cx-crumbs b { color: var(--cx-ink); font-weight: 600; }
.cx-sys__logo { font-size: clamp(38px, 8vw, 66px) !important; margin-bottom: 16px !important; }
.cx-sys__logo .cx-ico { width: clamp(60px, 11vw, 84px); height: auto; }
.cx-hero--sys .cx-lead { margin-top: 14px !important; }
.cx-facts { display: grid; gap: 16px; margin-top: 28px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .cx-facts { grid-template-columns: repeat(3, 1fr); } }
.cx-facts > div { padding: 20px 22px; border-left: 3px solid var(--cx-gold); background: var(--cx-surface); border-radius: 0 var(--cx-radius) var(--cx-radius) 0; }
.cx-facts h3 { font-size: 15px; margin-bottom: 6px; }
.cx-facts h3 i { color: var(--cx-blue); margin-right: 6px; }
.cx-facts p { color: var(--cx-muted); font-size: 15px; }
.cx-others { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cx-others { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cx-others { grid-template-columns: repeat(5, 1fr); } }
.cx-other { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--cx-surface); border: 1px solid var(--cx-line); border-radius: var(--cx-radius); text-decoration: none; font-size: 20px; transition: transform .15s, box-shadow .15s; }
.cx-other:hover { transform: translateY(-2px); box-shadow: var(--cx-shadow); }
.cx-other .cx-ico { width: 34px; height: auto; }
.cx-other > span:last-child { font-size: 13px; color: var(--cx-muted); font-weight: 500; }

/* Pie */
.cx-foot { border-top: 1px solid var(--cx-line); padding: 44px 0 24px; background: var(--cx-surface); }
.cx-foot__in { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cx-foot__in { grid-template-columns: 1.4fr 1fr 1fr; } }
.cx-foot__brand .cx-brand { font-size: 22px; }
.cx-foot__brand p { margin-top: 10px; color: var(--cx-muted); }
.cx-foot__col { display: flex; flex-direction: column; gap: 8px; }
.cx-foot__col h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--cx-muted); margin-bottom: 4px; }
.cx-foot__col a { text-decoration: none; font-size: 15px; }
.cx-foot__col a:hover { color: var(--cx-ink); }
.cx-foot__col i { width: 18px; color: var(--cx-icon); }
.cx-foot__legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--cx-line); font-size: 13px; color: var(--cx-muted); }

@media (prefers-reduced-motion: reduce) { .cx-site * { transition: none !important; } }
