/* Ctrl Logic — sistema visual */
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--navy: #0A1F44;
	--navy-deep: #06142E;
	--navy-2: #0E2A5A;
	--cobalt: #2563EB;
	--cobalt-600: #1D4ED8;
	--sky: #60A5FA;
	--sky-100: #DBEAFE;
	--ink: #0B1B3A;
	--text: #33415C;
	--muted: #64748B;
	--line: #E2E8F2;
	--bg: #FFFFFF;
	--bg-tint: #F4F7FC;
	--wa: #25D366;
	--wa-dark: #128C4B;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 2px rgba(10, 31, 68, .06);
	--shadow: 0 10px 30px -12px rgba(10, 31, 68, .18);
	--shadow-lg: 0 30px 70px -20px rgba(6, 20, 46, .55);
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.cl-page {
	margin: 0;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-decoration: none; }
button { font: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cl-skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.cl-skip:focus { top: 12px; }

.cl-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.cl-ico { width: 1.25em; height: 1.25em; flex: none; }

/* Tipografía */
.cl-h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 800; color: #fff; letter-spacing: -.035em; line-height: 1.04; }
.cl-h1 em, .cl-h2 em { font-style: normal; background: linear-gradient(90deg, #3B82F6, #60A5FA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cl-h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 750; }
.cl-h3 { font-size: 1.3rem; font-weight: 700; }
.cl-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(226, 236, 255, .86); max-width: 36em; margin-top: 1.25rem; }
.cl-body { font-size: 1.05rem; color: var(--text); }
.cl-eyebrow { display: flex; align-items: center; gap: 14px; font-size: .74rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.cl-eyebrow::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .45; }
.cl-eyebrow.is-light { color: rgba(191, 215, 255, .85); }
.cl-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: var(--cobalt); }
.cl-link .cl-ico { transition: transform .25s var(--ease); width: 1.1em; }
.cl-link:hover .cl-ico { transform: translateX(4px); }

/* Botones */
.cl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.cl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 10px; font-weight: 600; font-size: .98rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s, color .2s; white-space: nowrap; }
.cl-btn .cl-ico { width: 1.15em; height: 1.15em; }
.cl-btn:hover { transform: translateY(-2px); }
.cl-btn-primary { background: var(--cobalt); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .8); }
.cl-btn-primary:hover { background: var(--cobalt-600); }
.cl-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .03); }
.cl-btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.cl-btn-outline { color: var(--ink); border-color: var(--line); background: #fff; }
.cl-btn-outline:hover { border-color: var(--cobalt); color: var(--cobalt); }
.cl-btn-wa { background: var(--wa); color: #06301A; width: 100%; }
.cl-btn-wa:hover { background: #1FBE5B; }
.cl-btn-wa-outline { color: var(--wa-dark); border-color: #BBF0D0; background: #F0FDF5; }
.cl-btn-wa-outline:hover { border-color: var(--wa); }

/* Header */
.cl-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.admin-bar .cl-header { top: 32px; }
.cl-header.is-scrolled { background: rgba(6, 20, 46, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.cl-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; transition: height .3s; }
.cl-header.is-scrolled .cl-header-inner { height: 70px; }
.cl-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.cl-logo .cl-mark { width: 50px; height: auto; }
.cl-logo-text { display: flex; flex-direction: column; line-height: 1; }
.cl-logo-name { font-weight: 800; font-size: 1.28rem; letter-spacing: .06em; }
.cl-logo-tag { font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(191, 215, 255, .8); margin-top: 6px; white-space: nowrap; }
.cl-nav { display: flex; align-items: center; gap: 28px; }
.cl-menu { display: flex; list-style: none; gap: 4px; }
.cl-menu > li { position: relative; }
.cl-menu > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; color: rgba(235, 242, 255, .88); font-size: .94rem; font-weight: 500; border-radius: 8px; position: relative; }
.cl-menu > li > a:hover, .cl-menu > li > a[aria-current] { color: #fff; }
.cl-menu > li > a[aria-current]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--sky); }
.cl-caret { width: 14px; height: 14px; transition: transform .2s; }
.cl-mega { position: absolute; top: calc(100% + 10px); left: -120px; width: 620px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 12px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.cl-mega::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-mega:hover .cl-mega, .has-mega:focus-within .cl-mega { opacity: 1; visibility: visible; transform: none; }
.has-mega:hover .cl-caret { transform: rotate(180deg); }
.cl-mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.cl-mega-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; color: var(--ink); }
.cl-mega-item:hover { background: var(--bg-tint); }
.cl-mega-item strong { display: block; font-size: .92rem; font-weight: 600; }
.cl-mega-item small { display: block; font-size: .78rem; color: var(--muted); }
.cl-mega-item .cl-tile { width: 38px; height: 38px; border-radius: 9px; }
.cl-mega-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: var(--bg-tint); font-weight: 600; font-size: .9rem; }
.cl-nav-tools { display: flex; align-items: center; gap: 18px; }
.cl-lang { display: flex; align-items: center; gap: 2px; color: rgba(235, 242, 255, .7); }
.cl-lang .cl-ico { width: 18px; height: 18px; margin-right: 6px; }
.cl-lang a { color: rgba(235, 242, 255, .6); font-size: .85rem; font-weight: 600; padding: 4px 6px; border-radius: 6px; }
.cl-lang a[aria-current] { color: #fff; background: rgba(255, 255, 255, .1); }
.cl-lang a:hover { color: #fff; }
.cl-nav-tools .cl-btn { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.cl-burger { display: none; background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: #fff; width: 46px; height: 46px; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; }
.cl-burger .is-close { display: none; }

/* Hero */
.cl-hero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; isolation: isolate; }
.cl-hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(1200px 600px at 75% 10%, #123A7E 0%, rgba(10, 31, 68, 0) 60%), linear-gradient(180deg, #081935 0%, #06142E 100%); }
.cl-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(96, 165, 250, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(96, 165, 250, .07) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); }
.cl-glow { position: absolute; width: 520px; height: 520px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(37, 99, 235, .55), transparent 65%); filter: blur(20px); animation: cl-float 14s ease-in-out infinite; }
.cl-glow.is-2 { left: -200px; right: auto; top: auto; bottom: -300px; background: radial-gradient(circle, rgba(96, 165, 250, .25), transparent 65%); animation-delay: -7s; }
.cl-hero-inner { display: grid; gap: 48px; align-items: center; padding-block: 150px 90px; min-height: 520px; }
.cl-hero-home .cl-hero-inner { padding-block: 150px 100px; min-height: 760px; }
.cl-hero-inner.has-visual { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.cl-hero-page .cl-hero-inner:not(.has-visual) { min-height: 460px; }
.cl-hero-page .cl-hero-inner:not(.has-visual) .cl-hero-copy { max-width: 820px; }
.cl-hero-copy { position: relative; }
.cl-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 2.6rem; }
.cl-trust li { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: rgba(226, 236, 255, .8); }
.cl-trust .cl-ico { color: var(--sky); }
.cl-hero-visual { position: relative; }

/* Dashboard animado */
.cl-dash { display: grid; grid-template-columns: 150px 1fr; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08); transform: perspective(1600px) rotateY(-9deg) rotateX(4deg); transform-origin: left center; color: var(--ink); font-size: 12px; animation: cl-rise 1s var(--ease) both .2s; }
.cl-dash-side { background: #0B1F45; padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; }
.cl-dash-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; letter-spacing: .06em; font-size: 10.5px; padding: 0 6px 14px; }
.cl-dash-brand .cl-mark { width: 26px; }
.cl-dash-nav { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 8px; color: rgba(226, 236, 255, .65); font-size: 11px; }
.cl-dash-nav .cl-ico { width: 14px; height: 14px; }
.cl-dash-nav.is-active { background: rgba(96, 165, 250, .16); color: #fff; }
.cl-dash-main { padding: 18px; background: #F7F9FD; display: flex; flex-direction: column; gap: 12px; }
.cl-dash-top { display: flex; justify-content: space-between; align-items: center; }
.cl-dash-top strong { display: block; font-size: 15px; }
.cl-dash-top small { color: var(--muted); font-size: 11px; }
.cl-dash-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; color: var(--ink); }
.cl-dot { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); display: inline-block; animation: cl-pulse 2s infinite; }
.cl-dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cl-dash-kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.cl-dash-kpi-ico { width: 24px; height: 24px; border-radius: 7px; background: var(--sky-100); color: var(--cobalt); display: grid; place-items: center; margin-bottom: 4px; }
.cl-dash-kpi-ico .cl-ico { width: 14px; height: 14px; }
.cl-dash-kpi small { color: var(--muted); font-size: 10px; }
.cl-dash-kpi strong { font-size: 12.5px; }
.cl-bar { height: 4px; border-radius: 4px; background: #EAF0F8; margin-top: 6px; overflow: hidden; }
.cl-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--cobalt), var(--sky)); animation: cl-grow 1.6s var(--ease) both .8s; }
.cl-dash-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; }
.cl-dash-chart, .cl-dash-feed { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.cl-dash-chart small, .cl-dash-feed small { display: block; font-weight: 600; font-size: 11px; margin-bottom: 6px; color: var(--ink); }
.cl-dash-chart svg { width: 100%; height: 120px; display: block; }
.cl-line { stroke-dasharray: 420; stroke-dashoffset: 420; animation: cl-draw 2.2s var(--ease) forwards .9s; }
.cl-area { opacity: 0; animation: cl-fade 1s ease forwards 2s; }
.cl-line-dot { opacity: 0; animation: cl-fade .4s ease forwards 3s, cl-pulse 2s infinite 3s; }
.cl-feed-item { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; font-size: 10.5px; border-top: 1px solid #F0F3F8; opacity: 0; animation: cl-slide .6s var(--ease) forwards; }
.cl-feed-item:nth-of-type(1) { animation-delay: 1.2s; border-top: 0; }
.cl-feed-item:nth-of-type(2) { animation-delay: 1.6s; }
.cl-feed-item:nth-of-type(3) { animation-delay: 2s; }
.cl-feed-item:nth-of-type(4) { animation-delay: 2.4s; }
.cl-feed-item i { width: 8px; height: 8px; border-radius: 50%; margin-top: 4px; flex: none; }
.cl-feed-item i.is-green { background: #22C55E; }
.cl-feed-item i.is-blue { background: var(--cobalt); }
.cl-feed-item i.is-gray { background: #94A3B8; }
.cl-float-card { position: absolute; right: -8px; bottom: -34px; display: flex; align-items: center; gap: 14px; max-width: 260px; padding: 16px 18px; border-radius: 14px; background: rgba(10, 31, 68, .88); border: 1px solid rgba(96, 165, 250, .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-weight: 600; font-size: .92rem; line-height: 1.35; box-shadow: var(--shadow-lg); animation: cl-rise 1s var(--ease) both .9s; }
.cl-float-card .cl-ico { width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: rgba(96, 165, 250, .18); color: var(--sky); }

/* Torre 3D (Tecnología) */
.cl-tower { position: relative; height: 440px; display: grid; place-items: center; }
.cl-tower-stack { position: relative; width: 300px; height: 360px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-40deg); margin-top: 110px; }
.cl-slab { position: absolute; left: 0; top: 0; width: 240px; height: 240px; transform-style: preserve-3d; transform: translateZ(calc((3 - var(--i)) * 78px)); animation: cl-hover 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }
.cl-slab-top { position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(135deg, rgba(96, 165, 250, .5), rgba(37, 99, 235, .25)); border: 1px solid rgba(147, 197, 253, .8); box-shadow: 0 0 40px rgba(59, 130, 246, .45), inset 0 0 30px rgba(96, 165, 250, .35); }
.cl-slab-front { position: absolute; left: 0; bottom: 0; width: 240px; height: 58px; transform-origin: bottom; transform: rotateX(-90deg); background: linear-gradient(180deg, rgba(37, 99, 235, .75), rgba(10, 31, 68, .9)); border: 1px solid rgba(147, 197, 253, .6); display: grid; place-items: center; color: #DBEAFE; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; font-size: 13px; }
.cl-slab-side { position: absolute; right: 0; top: 0; width: 58px; height: 240px; transform-origin: right; transform: rotateY(90deg); background: linear-gradient(90deg, rgba(29, 78, 216, .8), rgba(10, 31, 68, .95)); border: 1px solid rgba(147, 197, 253, .45); }
.cl-tag { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: rgba(10, 31, 68, .7); border: 1px solid rgba(96, 165, 250, .45); color: #DBEAFE; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; backdrop-filter: blur(6px); box-shadow: 0 0 24px rgba(37, 99, 235, .25); animation: cl-float 8s ease-in-out infinite; }
.cl-tag .cl-ico { color: var(--sky); }
.cl-tag.t1 { left: 0; top: 30px; }
.cl-tag.t2 { right: 0; top: 10px; animation-delay: -2s; }
.cl-tag.t3 { left: -10px; bottom: 120px; animation-delay: -4s; }
.cl-tag.t4 { right: -10px; bottom: 90px; animation-delay: -6s; }

/* Órbita (Soluciones) */
.cl-orbit { position: relative; width: min(440px, 100%); aspect-ratio: 1; margin-inline: auto; }
.cl-orbit-core { position: absolute; inset: 34%; border-radius: 28px; background: linear-gradient(145deg, #0E2A5A, #06142E); border: 1px solid rgba(96, 165, 250, .35); display: grid; place-items: center; box-shadow: 0 0 80px rgba(37, 99, 235, .45); }
.cl-orbit-core .cl-mark { width: 62%; }
.cl-orbit-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(96, 165, 250, .3); }
.cl-orbit-ring.r1 { inset: 6%; animation: cl-spin 60s linear infinite; }
.cl-orbit-ring.r2 { inset: 22%; border-style: solid; border-color: rgba(96, 165, 250, .12); }
.cl-orbit-node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateY(-44%) ; }
.cl-orbit-node .cl-tile { position: absolute; transform: translate(-50%, calc(-1 * min(190px, 44vw))) rotate(calc(-1 * var(--a))); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); }

/* Visual de servicio */
.cl-service-visual { display: grid; justify-items: center; gap: 28px; padding: 40px; border-radius: 24px; background: linear-gradient(160deg, rgba(37, 99, 235, .18), rgba(10, 31, 68, .2)); border: 1px solid rgba(96, 165, 250, .25); }
.cl-service-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cl-service-visual .cl-chip { background: rgba(255, 255, 255, .96); }

/* Secciones */
.cl-section { padding-block: clamp(64px, 9vw, 112px); }
.cl-section.is-tight { padding-block: clamp(48px, 6vw, 80px); }
.cl-section.is-tinted { background: var(--bg-tint); }
.cl-head { display: grid; gap: 20px 64px; margin-bottom: clamp(32px, 5vw, 56px); }
.cl-head.has-aside { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; }
.cl-head-aside p { color: var(--muted); font-size: 1.02rem; margin-bottom: .6rem; }
.cl-head-main .cl-eyebrow { color: var(--cobalt); }

.cl-h2 + .cl-body, .cl-h2 + .cl-checks { margin-top: 1.1rem; }
.cl-solution-main .cl-h3 { margin-bottom: 10px; }

/* Tiles de color */
.cl-tile { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; flex: none; }
.cl-tile .cl-ico { width: 24px; height: 24px; }
.cl-tile.is-xl { width: 112px; height: 112px; border-radius: 28px; }
.cl-tile.is-xl .cl-ico { width: 54px; height: 54px; }
.tone-blue { background: #E0EBFF; color: #1D4ED8; }
.tone-violet { background: #EDE7FF; color: #6D28D9; }
.tone-green { background: #DCF5E8; color: #15803D; }
.tone-orange { background: #FFEBD9; color: #EA580C; }
.tone-red { background: #FFE2E5; color: #E11D48; }
.tone-teal { background: #D5F5F1; color: #0F766E; }
.tone-slate { background: #E6EBF3; color: #334155; }
.tone-soft { background: #fff; color: var(--cobalt); border: 1px solid var(--line); }

/* Tarjetas */
.cl-cards { display: grid; gap: 20px; }
.cl-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cl-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cl-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
a.cl-card, .cl-card.is-hover { color: inherit; }
a.cl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C9D8F2; }
.cl-card h3, .cl-card .cl-h3 { font-size: 1.12rem; margin: 18px 0 8px; }
.cl-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.cl-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.cl-card-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background-color .25s, color .25s, border-color .25s; }
.cl-card-arrow .cl-ico { width: 16px; height: 16px; }
a.cl-card:hover .cl-card-arrow { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.cl-card-tag { display: block; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cobalt); font-weight: 600; margin-top: 18px; }
.cl-service-card { display: flex; flex-direction: column; }
.cl-service-card p { flex: 1; }
.cl-service-card.is-compact h3 { margin-bottom: 0; }
.cl-service-card.is-compact .cl-card-tag { margin-top: 10px; }

/* Modelos de negocio */
.cl-models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cl-model { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform .3s var(--ease), box-shadow .3s; }
.cl-model:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cl-model .cl-ico { width: 34px; height: 34px; color: var(--navy); stroke-width: 1.4; margin-bottom: 8px; }
.cl-model strong { color: var(--ink); font-size: .92rem; font-weight: 600; line-height: 1.3; }
.cl-model small { color: var(--muted); font-size: .78rem; line-height: 1.4; }

/* Problema / Solución / Resultado */
.cl-psr { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: center; }
.cl-psr-col { border-radius: var(--radius); padding: 28px; height: 100%; border: 1px solid; }
.cl-psr-col.is-problem { background: #FFF5F6; border-color: #FFE0E4; }
.cl-psr-col.is-solution { background: #F1F6FF; border-color: #DCE7FB; }
.cl-psr-col.is-result { background: #F0FAF4; border-color: #D5F0E0; }
.cl-psr-title { display: flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.cl-psr-title .cl-ico { width: 28px; height: 28px; }
.is-problem .cl-psr-title { color: #E11D48; }
.is-solution .cl-psr-title { color: var(--cobalt); }
.is-result .cl-psr-title { color: #15803D; }
.cl-psr ul { list-style: none; display: grid; gap: 10px; }
.cl-psr li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: .95rem; }
.cl-psr li .cl-ico { width: 18px; height: 18px; margin-top: 3px; }
.is-problem li .cl-ico { color: #E11D48; }
.is-solution li .cl-ico { color: var(--cobalt); }
.is-result li .cl-ico { color: #16A34A; }
.cl-psr-arrow { color: #93A4C3; }
.cl-psr-arrow .cl-ico { width: 30px; height: 30px; }

/* Banda de tecnologías */
.cl-stackband { padding-block: 44px; border-block: 1px solid var(--line); background: #fff; }
.cl-stackband.is-flush { border-top: 0; padding-block: 28px; background: var(--bg-tint); }
.cl-stackband-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.cl-stackband-head .cl-eyebrow { margin: 0; }
.cl-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cl-marquee-track { display: flex; gap: 48px; width: max-content; animation: cl-marquee 45s linear infinite; }
.cl-marquee:hover .cl-marquee-track { animation-play-state: paused; }
.cl-marquee-item { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: #475569; font-size: 1.02rem; white-space: nowrap; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.cl-marquee-item:hover { filter: none; opacity: 1; }
.cl-tech-logo { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; }
.cl-tech-logo svg { width: 100%; height: 100%; }

/* Stack en portada */
.cl-stackhome { position: relative; background: linear-gradient(180deg, #06142E, #0A1F44); color: #fff; overflow: hidden; isolation: isolate; }
.cl-stackhome-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 85% 0%, rgba(37, 99, 235, .35), transparent 70%); }
.cl-stackhome .cl-h2 { color: #fff; }
.cl-stackhome .cl-head-main .cl-eyebrow { color: var(--sky); }
.cl-stackhome .cl-head-aside p { color: rgba(226, 236, 255, .78); }
.cl-stackhome .cl-link { color: var(--sky); }
.cl-stacktabs { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; }
.cl-stacktabs-list { display: flex; flex-direction: column; gap: 6px; }
.cl-stacktabs-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: rgba(226, 236, 255, .7); font-weight: 600; font-size: .95rem; text-align: left; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.cl-stacktabs-list button .cl-ico { width: 20px; height: 20px; color: var(--sky); }
.cl-stacktabs-list button:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.cl-stacktabs-list button[aria-selected="true"] { color: #fff; background: rgba(37, 99, 235, .22); border-color: rgba(96, 165, 250, .45); }
.cl-stacktabs-panel { background: rgba(255, 255, 255, .04); border: 1px solid rgba(96, 165, 250, .2); border-radius: 20px; padding: clamp(20px, 3vw, 32px); animation: cl-fade-in .35s var(--ease); }
.cl-stacktabs-intro { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; margin-bottom: 24px; }
.cl-stacktabs-intro .cl-tile { grid-row: span 2; }
.cl-stacktabs-intro h3 { color: #fff; font-size: 1.3rem; }
.cl-stacktabs-intro p { color: rgba(226, 236, 255, .75); margin: 2px 0 0; }
.cl-stacktabs-logos { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cl-stacktabs-logos li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 22px 8px; border-radius: 14px; background: #fff; color: var(--ink); font-size: .86rem; font-weight: 600; text-align: center; line-height: 1.25; transition: transform .25s var(--ease), box-shadow .25s; }
.cl-stacktabs-logos li:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6); }
.cl-stacktabs-logos .cl-tech-logo { width: 38px; height: 38px; }
@keyframes cl-fade-in { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 1024px) {
	.cl-stacktabs { grid-template-columns: 1fr; }
	.cl-stacktabs-list { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
	.cl-stacktabs-list::-webkit-scrollbar { display: none; }
	.cl-stacktabs-list button { width: auto; white-space: nowrap; flex: none; }
}
@media (max-width: 680px) {
	.cl-stacktabs-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Proyectos y núcleos */
.cl-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cl-filters button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.cl-filters button span { font-size: .75rem; padding: 1px 7px; border-radius: 999px; background: var(--bg-tint); color: var(--muted); }
.cl-filters button:hover { border-color: var(--cobalt); }
.cl-filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.cl-filters button[aria-pressed="true"] span { background: rgba(255, 255, 255, .15); color: #fff; }
.cl-project { display: flex; flex-direction: column; }
.cl-project[hidden] { display: none; }
.cl-project-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cl-badge { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.cl-badge.is-nucleos { background: #E0EBFF; color: #1D4ED8; }
.cl-badge.is-saas { background: #EDE7FF; color: #6D28D9; }
.cl-badge.is-operaciones { background: #DCF5E8; color: #15803D; }
.cl-project-list { list-style: none; display: grid; gap: 8px; margin: 16px 0 0; flex: 1; align-content: start; }
.cl-project-list li { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; color: var(--ink); line-height: 1.45; }
.cl-project-list .cl-ico { width: 16px; height: 16px; color: var(--cobalt); margin-top: 2px; stroke-width: 2.4; }
.cl-core { display: flex; flex-direction: column; }
.cl-core p { flex: 1; }
.cl-core-tech { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); }
.cl-core-tech span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--bg-tint); }
.cl-core-tech .cl-tech-logo { width: 22px; height: 22px; }

/* Fichas de caso */
.cl-case-visual { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: linear-gradient(135deg, #0E2A5A, #1D4ED8); }
.cl-case-visual img { width: 100%; height: 100%; object-fit: cover; }
.cl-case-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6, 20, 46, .8)); }
.cl-case-visual-chips { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.cl-case-visual-chips .cl-chip { background: rgba(255, 255, 255, .95); }
.cl-case-intro { display: grid; grid-template-columns: 1fr 1fr minmax(260px, .8fr); gap: 40px; align-items: start; }
.cl-case-facts { background: var(--bg-tint); border-radius: var(--radius); padding: 24px; }
.cl-case-facts h2 { font-size: 1rem; margin-bottom: 4px; }
.cl-arch-section { background: linear-gradient(180deg, #06142E, #0A1F44); color: #fff; }
.cl-arch-section .cl-h2 { color: #fff; }
.cl-arch-section .cl-head-main .cl-eyebrow { color: var(--sky); }
.cl-arch-section .cl-head-aside p { color: rgba(226, 236, 255, .75); }
.cl-diagram { display: flex; align-items: stretch; gap: 10px; }
.cl-diagram-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(96, 165, 250, .28); }
.cl-diagram-col:nth-child(3), .cl-diagram-col:nth-child(5) { background: rgba(37, 99, 235, .16); border-color: rgba(96, 165, 250, .5); }
.cl-diagram-step { font-size: .7rem; font-weight: 700; letter-spacing: .14em; color: var(--sky); }
.cl-diagram-col strong { font-size: 1.02rem; color: #fff; }
.cl-diagram-node { display: block; padding: 11px 12px; border-radius: 10px; background: #fff; color: var(--ink); font-size: .86rem; font-weight: 500; line-height: 1.3; }
.cl-diagram-arrow { display: grid; place-items: center; color: var(--sky); flex: none; }
.cl-diagram-arrow .cl-ico { width: 22px; height: 22px; }
.cl-diagram-tech { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cl-decisions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cl-decision { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.cl-decision-n { font-size: .72rem; font-weight: 700; color: var(--cobalt); letter-spacing: .12em; }
.cl-decision h3 { font-size: 1.02rem; margin: 8px 0 6px; }
.cl-decision p { color: var(--muted); font-size: .92rem; margin: 0; }
.cl-case-others { display: grid; gap: 12px; align-content: start; }
.cl-case-link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.cl-case-link strong { display: block; color: var(--ink); font-size: .98rem; }
.cl-case-link small { display: block; color: var(--muted); font-size: .85rem; }
.cl-case-link > .cl-ico { margin-left: auto; color: var(--cobalt); }
.cl-project-cta { margin-top: 18px; min-height: 44px; }
.cl-featured-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cl-featured-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); color: inherit; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.cl-featured-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cl-featured-media { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #0E2A5A, #1D4ED8); }
.cl-featured-media img { width: 100%; height: 100%; object-fit: cover; }
.cl-featured-body { display: flex; flex-direction: column; gap: 8px; padding: 18px; flex: 1; }
.cl-featured-body .cl-tile { width: 40px; height: 40px; margin-top: -38px; box-shadow: var(--shadow-sm); border: 3px solid #fff; box-sizing: content-box; }
.cl-featured-body strong { color: var(--ink); font-size: 1rem; line-height: 1.3; }
.cl-featured-body small { color: var(--muted); font-size: .88rem; flex: 1; }
.cl-core-link { margin-top: 14px; }

/* Sectores en detalle */
.cl-sector-nav { position: sticky; top: 70px; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .cl-sector-nav { top: 102px; }
.cl-sector-nav .cl-wrap { display: flex; gap: 4px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.cl-sector-nav .cl-wrap::-webkit-scrollbar { display: none; }
.cl-sector-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; color: var(--ink); font-size: .86rem; font-weight: 600; white-space: nowrap; }
.cl-sector-nav a:hover { background: var(--bg-tint); color: var(--cobalt); }
.cl-sector-nav .cl-ico { width: 16px; height: 16px; color: var(--cobalt); }
.cl-sectors { display: grid; gap: 24px; }
.cl-sector-row { scroll-margin-top: 150px; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 34px); background: #fff; }
.cl-sector-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; }
.cl-sector-head .cl-card-tag { margin: 0 0 6px; }
.cl-sector-head .cl-h3 { margin-bottom: 6px; }
.cl-sector-head p:last-child { color: var(--muted); margin: 0; max-width: 60em; }
.cl-sector-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cl-sector-col { border-radius: 16px; padding: 20px; }
.cl-sector-col.is-pain { background: #FFF5F6; }
.cl-sector-col.is-build { background: #F1F6FF; }
.cl-sector-col.is-proof { background: var(--bg-tint); }
.cl-sector-col h3 { display: flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.cl-sector-col.is-pain h3 { color: #E11D48; }
.cl-sector-col.is-build h3 { color: var(--cobalt); }
.cl-sector-col.is-proof h3 { color: var(--ink); }
.cl-sector-col h3 .cl-ico { width: 18px; height: 18px; }
.cl-sector-col ul { list-style: none; display: grid; gap: 10px; }
.cl-sector-col li { position: relative; padding-left: 16px; color: var(--ink); font-size: .93rem; line-height: 1.45; }
.cl-sector-col li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .35; }
.cl-sector-col.is-pain li::before { background: #E11D48; opacity: .7; }
.cl-sector-col.is-build li::before { background: var(--cobalt); opacity: .7; }
.cl-sector-projects li { padding: 0; }
.cl-sector-projects li::before { display: none; }
.cl-sector-projects a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .88rem; font-weight: 600; line-height: 1.3; }
.cl-sector-projects a:hover { border-color: var(--cobalt); color: var(--cobalt); }
.cl-sector-projects .cl-tile { width: 32px; height: 32px; border-radius: 8px; }
.cl-sector-projects .cl-tile .cl-ico { width: 17px; height: 17px; }
.cl-sector-projects a > .cl-ico { margin-left: auto; width: 16px; height: 16px; color: var(--cobalt); }

/* Nosotros: punta a punta */
.cl-e2e { position: relative; background: linear-gradient(180deg, #06142E, #0A1F44); color: #fff; overflow: hidden; isolation: isolate; }
.cl-e2e-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 15% 0%, rgba(37, 99, 235, .3), transparent 70%); }
.cl-e2e .cl-h2 { color: #fff; }
.cl-e2e .cl-head-main .cl-eyebrow { color: var(--sky); }
.cl-e2e .cl-head-aside p { color: rgba(226, 236, 255, .78); }
.cl-layers { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.cl-layer { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(96, 165, 250, .25); }
.cl-layer-n { position: absolute; top: 18px; right: 18px; font-size: .72rem; font-weight: 700; color: var(--sky); letter-spacing: .12em; }
.cl-layer strong { color: #fff; font-size: 1.05rem; }
.cl-layer small { color: rgba(226, 236, 255, .75); font-size: .88rem; line-height: 1.5; }
.cl-e2e-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(96, 165, 250, .2); }
.cl-e2e-foot p { margin: 0; color: rgba(226, 236, 255, .85); max-width: 46em; }

@media (max-width: 1180px) {
	.cl-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cl-layers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cl-decisions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.cl-case-intro { grid-template-columns: 1fr; gap: 24px; }
	.cl-diagram { flex-direction: column; }
	.cl-diagram-arrow { transform: rotate(90deg); }
	.cl-sector-cols { grid-template-columns: 1fr; }
	.cl-sector-nav { top: 70px; }
}
@media (max-width: 680px) {
	.cl-featured-grid, .cl-decisions, .cl-layers { grid-template-columns: 1fr; }
	.cl-sector-head { flex-direction: column; }
}

/* Split con imagen */
.cl-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.cl-split-media { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; max-width: 100%; background: linear-gradient(135deg, #0E2A5A, #1D4ED8); }
.cl-split-media img { width: 100%; height: 100%; object-fit: cover; }
.cl-split-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6, 20, 46, .55)); pointer-events: none; }
.cl-split-badge { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(10, 31, 68, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-weight: 600; }
.cl-split-badge .cl-mark { width: 40px; flex: none; }
.cl-stages { list-style: none; display: grid; gap: 14px; margin-top: 1.8rem; }
.cl-stages li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.cl-stages span { font-weight: 800; color: var(--cobalt); font-size: .9rem; min-width: 26px; padding-top: 2px; }
.cl-stages strong { display: block; color: var(--ink); }
.cl-stages small { color: var(--muted); font-size: .9rem; }

/* Proceso 9 pasos */
.cl-process { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; margin-top: clamp(40px, 6vw, 72px); counter-reset: step; }
.cl-process-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 14px; display: flex; flex-direction: column; gap: 6px; }
.cl-process-step::after { content: ""; position: absolute; top: 34px; right: -11px; width: 12px; height: 1px; background: #B8C6DE; }
.cl-process-step:last-child::after { display: none; }
.cl-process-n { font-size: .72rem; font-weight: 700; color: var(--muted); letter-spacing: .1em; }
.cl-process-step .cl-ico { width: 26px; height: 26px; color: var(--cobalt); }
.cl-process-step strong { font-size: .88rem; color: var(--ink); line-height: 1.25; }
.cl-process-step small { font-size: .78rem; color: var(--muted); line-height: 1.45; }

/* Impacto (sin cifras) */
.cl-impact { background: linear-gradient(90deg, #06142E, #0A1F44 60%, #0E2A5A); color: #fff; padding-block: 56px; }
.cl-impact-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 40px; align-items: center; }
.cl-impact .cl-h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cl-impact-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cl-impact-list li { padding: 6px 20px; min-width: 0; border-left: 1px solid rgba(96, 165, 250, .25); }
.cl-impact-list strong { display: block; font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 750; color: var(--sky); letter-spacing: -.01em; }
.cl-impact-list span { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(226, 236, 255, .78); margin-top: 6px; line-height: 1.5; }

/* CTA con cordillera */
.cl-cta { position: relative; background: #06142E; color: #fff; overflow: hidden; isolation: isolate; }
.cl-mountains { position: absolute; inset: auto 0 0; width: 100%; height: 78%; z-index: -1; opacity: .95; }
.cl-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 20, 46, .96) 0%, rgba(6, 20, 46, .7) 45%, rgba(6, 20, 46, .1) 100%); }
.cl-cta::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(800px 400px at 65% 20%, rgba(37, 99, 235, .35), transparent 70%); }
.cl-cta-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-block: clamp(72px, 10vw, 120px); }
.cl-cta .cl-h2 { color: #fff; max-width: 16em; }
.cl-cta-text { color: rgba(226, 236, 255, .8); margin-top: 1rem; max-width: 34em; }
.cl-cta .cl-actions { margin-top: 1.6rem; }
.cl-cta-motto { font-size: .78rem; letter-spacing: .34em; text-transform: uppercase; color: rgba(226, 236, 255, .85); line-height: 2.1; text-align: left; margin: 0; flex: none; }
.cl-cta-motto::after { content: ""; display: block; width: 28px; height: 2px; background: var(--sky); margin-top: 10px; }

/* Stack (Tecnología) */
.cl-cards-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cl-stack-card header { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.cl-stack-card header h3 { margin: 0 0 4px; }
.cl-logos { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cl-logos li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px 6px; border-radius: 12px; background: var(--bg-tint); font-size: .8rem; font-weight: 500; color: var(--ink); text-align: center; line-height: 1.25; transition: background-color .25s, transform .25s var(--ease); }
.cl-logos li:hover { background: #E8EFFB; transform: translateY(-2px); }
.cl-logos .cl-tech-logo { width: 32px; height: 32px; }
.cl-logos.is-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.cl-logos.is-grid li { background: #fff; border: 1px solid var(--line); padding: 20px 8px; }
.cl-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 7px; border-radius: 999px; background: var(--bg-tint); border: 1px solid var(--line); font-size: .8rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.cl-chip .cl-tech-logo { width: 18px; height: 18px; }
.cl-archs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cl-arch { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.cl-arch h3 { font-size: 1.08rem; }
.cl-arch > p { color: var(--muted); font-size: .92rem; margin: 8px 0 18px; }
.cl-arch dl { margin: auto 0 0; display: grid; gap: 10px; }
.cl-arch dl div { display: grid; grid-template-columns: 118px 1fr; gap: 10px; align-items: center; padding-top: 10px; border-top: 1px dashed var(--line); }
.cl-arch dt { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.cl-arch dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cl-criteria { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cl-criterion { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); }
.cl-criterion strong { color: var(--ink); font-size: 1rem; line-height: 1.3; }
.cl-criterion small { color: var(--muted); font-size: .88rem; }
.cl-flow { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.cl-flow-step { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.cl-flow-step strong { display: block; color: var(--ink); font-size: .95rem; }
.cl-flow-step small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.cl-flow-arrow { color: var(--cobalt); flex: none; }
.cl-principles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.cl-principle { display: flex; gap: 14px; align-items: flex-start; }
.cl-principle .cl-tile { box-shadow: var(--shadow-sm); }
.cl-principle strong { display: block; color: var(--ink); font-size: .98rem; }
.cl-principle small { color: var(--muted); font-size: .86rem; }

/* Soluciones */
.cl-solutions { display: grid; gap: 20px; }
.cl-solution { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 150px; gap: 40px; align-items: center; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: box-shadow .3s, border-color .3s; }
.cl-solution:hover { box-shadow: var(--shadow); border-color: #C9D8F2; }
.cl-solution-main .cl-card-tag { margin: 16px 0 4px; }
.cl-solution-main p { color: var(--muted); }
.cl-solution-tech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cl-solution-tech span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: var(--bg-tint); }
.cl-checks { list-style: none; display: grid; gap: 12px; margin-top: 1.4rem; }
.cl-checks.is-2col { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.cl-checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: .96rem; }
.cl-checks .cl-ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #E0EBFF; color: var(--cobalt); stroke-width: 2.4; margin-top: 1px; }
.cl-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-block: 18px 0; font-size: .86rem; color: var(--muted); }
.cl-crumbs a { color: var(--muted); }
.cl-crumbs a:hover { color: var(--cobalt); }
.cl-crumbs .cl-ico { width: 14px; height: 14px; }
.cl-crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* Sectores, casos, valores */
.cl-cards-sectors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cl-sector .cl-card-tag { margin: 0 0 10px; }
.cl-sector.is-cta { background: linear-gradient(160deg, #0E2A5A, #06142E); border-color: transparent; }
.cl-sector.is-cta .cl-h3 { color: #fff; }
.cl-sector.is-cta p { color: rgba(226, 236, 255, .8); margin-bottom: 18px; }
.cl-case { display: flex; flex-direction: column; }
.cl-case p { flex: 1; }
.cl-case-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.cl-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

/* Contacto */
.cl-contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: -120px; position: relative; z-index: 2; }
.cl-contact-form { padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.cl-contact-form .cl-h3 { margin: 0 0 20px; }
.cl-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cl-field { display: flex; flex-direction: column; gap: 6px; }
.cl-field.is-full { grid-column: 1 / -1; }
.cl-field span { font-size: .85rem; font-weight: 600; color: var(--ink); }
.cl-field input, .cl-field select, .cl-field textarea { width: 100%; font: inherit; font-size: .98rem; color: var(--ink); background: #F8FAFD; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.cl-field textarea { resize: vertical; min-height: 130px; }
.cl-field input:focus, .cl-field select:focus, .cl-field textarea:focus { outline: none; border-color: var(--cobalt); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.cl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cl-form-note { font-size: .82rem; color: var(--muted); margin: 16px 0 0; }
.cl-contact .cl-actions { margin-top: 18px; }
.cl-alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; font-size: .93rem; margin-bottom: 20px; }
.cl-alert.is-ok { background: #ECFDF3; color: #166534; }
.cl-alert.is-error { background: #FEF2F2; color: #991B1B; }
.cl-contact-info { display: grid; gap: 16px; }
.cl-contact-wa { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--radius); background: linear-gradient(135deg, #128C4B, #25D366); color: #fff; box-shadow: 0 16px 40px -18px rgba(18, 140, 75, .8); transition: transform .25s var(--ease); }
.cl-contact-wa:hover { transform: translateY(-3px); }
.cl-contact-wa-ico { width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; flex: none; }
.cl-contact-wa-ico .cl-ico { width: 28px; height: 28px; }
.cl-contact-wa strong { display: block; }
.cl-contact-wa small { opacity: .9; }
.cl-contact-wa > .cl-ico { margin-left: auto; }
.cl-contact-list { list-style: none; display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 20px; }
.cl-contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.cl-contact-list li:first-child { border-top: 0; }
.cl-contact-list .cl-tile { width: 40px; height: 40px; border-radius: 10px; }
.cl-contact-list .cl-tile .cl-ico { width: 20px; height: 20px; }
.cl-contact-list div { display: flex; flex-direction: column; font-size: .95rem; color: var(--ink); }
.cl-contact-list small { color: var(--muted); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.cl-contact-list a { color: var(--ink); }
.cl-contact-list a:hover { color: var(--cobalt); }
.cl-contact-next { background: var(--bg-tint); border-radius: var(--radius); padding: 22px; }
.cl-contact-next h3 { font-size: 1rem; margin-bottom: 12px; }
.cl-contact-next ol { padding-left: 1.2rem; display: grid; gap: 8px; color: var(--text); font-size: .93rem; }
.cl-route-contacto .cl-hero-inner, .cl-route-privacidad .cl-hero-inner { padding-bottom: 160px; }
.cl-route-privacidad .cl-hero-inner { padding-bottom: 90px; }
.cl-prose { max-width: 760px; }
.cl-prose h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; }
.cl-prose h2:first-child { margin-top: 0; }

/* Footer */
.cl-footer { background: #050F24; color: rgba(226, 236, 255, .72); padding-top: 72px; font-size: .93rem; }
.cl-footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.cl-footer-brand p { margin: 20px 0; max-width: 30em; }
.cl-footer h3 { color: #fff; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 18px; }
.cl-footer ul { list-style: none; display: grid; gap: 10px; }
.cl-footer a { color: rgba(226, 236, 255, .72); }
.cl-footer a:hover { color: #fff; }
.cl-footer-wa { display: inline-flex !important; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(37, 211, 102, .4); color: #fff !important; font-weight: 600; }
.cl-footer-wa .cl-ico { color: var(--wa); }
.cl-footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.cl-footer-contact .cl-ico { color: var(--sky); width: 18px; height: 18px; margin-top: 3px; }
.cl-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.cl-footer-bottom p { margin: 0; }
.cl-footer-links { display: flex; gap: 20px; }

/* WhatsApp flotante */
.cl-wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.cl-wa-fab { width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--wa); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -8px rgba(18, 140, 75, .7); transition: transform .25s var(--ease); position: relative; }
.cl-wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: cl-ring 2.4s infinite; }
.cl-wa-fab:hover { transform: scale(1.06); }
.cl-wa-fab .cl-ico { width: 32px; height: 32px; }
.cl-wa-card { position: relative; width: min(320px, calc(100vw - 44px)); background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); animation: cl-rise .35s var(--ease) both; }
.cl-wa-head { display: flex; align-items: center; gap: 12px; padding: 16px 44px 16px 16px; background: var(--navy); color: #fff; }
.cl-wa-head .cl-mark { width: 38px; padding: 6px; background: rgba(255, 255, 255, .08); border-radius: 10px; box-sizing: content-box; }
.cl-wa-head strong { display: block; }
.cl-wa-head small { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: rgba(226, 236, 255, .8); }
.cl-wa-close { position: absolute; top: 12px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.cl-wa-close:hover { background: rgba(255, 255, 255, .1); }
.cl-wa-bubble { margin: 16px; padding: 12px 14px; border-radius: 4px 14px 14px 14px; background: #F1F5F9; color: var(--ink); font-size: .93rem; }
.cl-wa-card .cl-btn-wa { margin: 0 16px 16px; width: calc(100% - 32px); min-height: 46px; }

/* Aparición al hacer scroll */
.cl-js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.cl-js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes cl-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes cl-hover { 0%, 100% { margin-top: 0; } 50% { margin-top: -8px; } }
@keyframes cl-rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes cl-grow { from { width: 0; } }
@keyframes cl-draw { to { stroke-dashoffset: 0; } }
@keyframes cl-fade { to { opacity: 1; } }
@keyframes cl-slide { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@keyframes cl-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes cl-ring { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 80%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } }
@keyframes cl-marquee { to { transform: translateX(-50%); } }
@keyframes cl-spin { to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 1180px) {
	.cl-menu > li > a { padding: 10px 10px; }
	.cl-nav { gap: 16px; }
	.cl-logo-tag { display: none; }
	.cl-models { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cl-process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cl-process-step::after { display: none; }
	.cl-criteria, .cl-principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cl-archs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cl-logos.is-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cl-flow { flex-wrap: wrap; }
	.cl-flow-arrow { display: none; }
	.cl-flow-step { flex: 1 1 30%; }
}

@media (max-width: 1024px) {
	.cl-burger { display: inline-flex; }
	.cl-nav { position: fixed; inset: 0; top: 0; z-index: -1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px; padding: 100px var(--gutter) 32px; background: #06142E; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
	.cl-nav-open .cl-nav { opacity: 1; visibility: visible; }
	.cl-nav-open { overflow: hidden; }
	.cl-nav-open .cl-burger .is-open { display: none; }
	.cl-nav-open .cl-burger .is-close { display: block; }
	.cl-nav-open .cl-header { background: #06142E; }
	.cl-menu { flex-direction: column; gap: 0; }
	.cl-menu > li > a { font-size: 1.25rem; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); width: 100%; justify-content: space-between; }
	.cl-menu > li > a[aria-current]::after { display: none; }
	.cl-menu > li > a[aria-current] { color: var(--sky); }
	.cl-caret { display: none; }
	.cl-mega { display: none; }
	.cl-nav-tools { justify-content: space-between; }
	.cl-hero-inner.has-visual { grid-template-columns: 1fr; }
	.cl-hero-home .cl-hero-inner { min-height: 0; padding-block: 130px 90px; }
	.cl-hero-inner { padding-block: 130px 70px; min-height: 0; }
	.cl-dash { transform: none; }
	.cl-float-card { right: 12px; }
	.cl-cards-4, .cl-cards-sectors, .cl-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cl-cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cl-head.has-aside { grid-template-columns: 1fr; }
	.cl-psr { grid-template-columns: 1fr; }
	.cl-psr-arrow { justify-self: center; transform: rotate(90deg); }
	.cl-split { grid-template-columns: 1fr; }
	.cl-impact-inner { grid-template-columns: 1fr; }
	.cl-cards-stack { grid-template-columns: 1fr; }
	.cl-solution { grid-template-columns: 1fr 1fr; }
	.cl-solution-tech { grid-column: 1 / -1; grid-template-columns: repeat(6, 1fr); max-width: 420px; }
	.cl-contact { grid-template-columns: 1fr; margin-top: -90px; }
	.cl-footer-top { grid-template-columns: 1fr 1fr; }
	.cl-cta-inner { flex-direction: column; align-items: flex-start; }
	.cl-cta-motto { display: none; }
	.cl-tower { height: 380px; }
}

@media (max-width: 782px) {
	.admin-bar .cl-header { top: 46px; }
}

@media (max-width: 680px) {
	body.cl-page { font-size: 15px; }
	.cl-header-inner { height: 70px; }
	.cl-logo .cl-mark { width: 42px; }
	.cl-logo-name { font-size: 1.08rem; }
	.cl-actions .cl-btn { width: 100%; }
	.cl-dash { grid-template-columns: 1fr; }
	.cl-dash-side { display: none; }
	.cl-dash-kpis { grid-template-columns: repeat(2, 1fr); }
	.cl-dash-row { grid-template-columns: 1fr; }
	.cl-float-card { position: relative; right: auto; bottom: auto; margin: -24px 16px 0; max-width: none; }
	.cl-cards-4, .cl-cards-3, .cl-cards-sectors, .cl-values { grid-template-columns: 1fr; }
	.cl-models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cl-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cl-criteria, .cl-principles, .cl-archs { grid-template-columns: 1fr; }
	.cl-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cl-logos.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cl-flow-step { flex: 1 1 100%; }
	.cl-impact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
	.cl-solution { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
	.cl-checks.is-2col { grid-template-columns: 1fr; }
	.cl-fields { grid-template-columns: 1fr; }
	.cl-footer-top { grid-template-columns: 1fr; }
	.cl-stackband-head { flex-direction: column; align-items: flex-start; }
	.cl-tower { height: 320px; transform: scale(.78); margin-block: -30px; }
	.cl-tag.t3, .cl-tag.t4 { display: none; }
	.cl-arch dl div { grid-template-columns: 1fr; gap: 6px; }
	.cl-wa { right: 16px; bottom: 16px; }
	.cl-wa-fab { width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.cl-line { stroke-dashoffset: 0; }
	.cl-area, .cl-line-dot, .cl-feed-item { opacity: 1; }
	.cl-js [data-reveal] { opacity: 1; transform: none; }
}
