/* ==========================================================================
   Cuantico — ERP para empresas (versión compacta: 5 secciones)
   ========================================================================== */

.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.crumbs a { transition: color .25s; } .crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--brand-bright); }

/* ---------- 1 · Hero ---------- */
.ehero {
  position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 56px) 0 clamp(64px, 8vw, 110px);
  background: radial-gradient(50% 60% at 82% 38%, rgba(27, 79, 156, .5), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(59, 154, 225, .16), transparent 70%), var(--navy);
}
.ehero__glow { position: absolute; z-index: -1; left: 62%; top: 42%; width: 46vw; height: 46vw; max-width: 760px; max-height: 760px; transform: translate(-30%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(59, 154, 225, .26), transparent 62%); pointer-events: none; }
.ehero__quantum { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; touch-action: pan-y; }
.ehero__fallback { display: none; position: absolute; z-index: 0; right: 7%; top: 44%; width: min(30vw, 420px); transform: translateY(-50%); filter: drop-shadow(0 0 60px rgba(59, 154, 225, .5)); }
.ehero.no-webgl .ehero__fallback { display: block; }
.ehero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 4vw, 64px); align-items: center; min-height: min(78vh, 700px); }
.ehero__eyebrow { margin-top: 22px; color: #bfe6ff; }
.ehero__title { margin: 22px 0 26px; font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: .96; letter-spacing: -.055em; font-weight: 500; }
.ehero__title .split-line { padding-bottom: .12em; margin-bottom: -.12em; }
.ehero__title .serif-i { font-size: 1.08em; letter-spacing: -.03em; padding-right: .1em; }
.ehero__lead { max-width: 56ch; color: #c3d2e5; }
.ehero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ehero__trust { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #9fb6d3; }
.ehero__trust li { display: inline-flex; align-items: center; gap: 8px; } .ehero__trust svg { width: 14px; height: 14px; color: var(--ok); }
.ehero [data-hero-in] { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.ehero.is-ready [data-hero-in] { opacity: 1; transform: none; }
.ehero .split-line > span { transition-duration: 1.4s; }
.ehero.is-ready .split-line > span { transform: none; }
.ehero__visual { position: relative; align-self: stretch; min-height: 460px; perspective: 1400px; }
.ehs { position: absolute; margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 80px -30px rgba(0, 0, 0, .75); transform: translate3d(calc(var(--px, 0) * var(--k, 1) * 1px), calc(var(--py, 0) * var(--k, 1) * 1px), 0) rotateY(var(--ry, -8deg)); transition: transform .5s var(--ease-out); animation: ehs-float 9s ease-in-out infinite; }
.ehs img { display: block; width: 100%; height: auto; }
.ehs__bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: linear-gradient(180deg, #eef2f8, #dde5f0); }
.ehs__bar i { width: 8px; height: 8px; border-radius: 50%; background: #ff7a6b; } .ehs__bar i:nth-child(2) { background: #ffb547; } .ehs__bar i:nth-child(3) { background: #4fe3a8; }
.ehs__bar span { margin-left: 8px; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .08em; color: #55667f; }
.ehs--a { --k: .5; right: 0; top: 0; width: 78%; animation-delay: -2s; }
.ehs--b { --k: .9; left: 0; top: 34%; width: 62%; animation-delay: -5s; }
.ehs--c { --k: 1.4; right: 4%; bottom: 0; width: 40%; animation-delay: -7s; }
.ehs__cap { position: absolute; left: 0; bottom: -26px; margin: 0; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: #8fa7c6; }
@keyframes ehs-float { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }
@media (prefers-reduced-motion: reduce) { .ehs { animation: none; transition: none; } }
@media (max-width: 980px) { .ehero__visual { display: block; min-height: 0; margin-top: 12px; } .ehs { position: static; width: 100%; transform: none; animation: none; margin-bottom: 14px; } .ehs--b, .ehs--c { display: none; } .ehs__cap { position: static; } }
@media (max-width: 980px) { .ehero__grid { grid-template-columns: 1fr; min-height: 0; } }

/* ---------- 2 · Todo conectado ---------- */
.econ__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.econ .lead { margin-top: 18px; }
.econ__detail { margin-top: 26px; padding: 20px 22px; border-radius: 20px; background: linear-gradient(135deg, #0B1F3A, #16365f); color: #eaf2fc; box-shadow: 0 30px 50px -34px rgba(11, 31, 58, .8); display: grid; gap: 6px; min-height: 132px; }
.econ__k { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #8fc9f2; }
.econ__d { font-size: 1.12rem; color: #fff; }
.econ__tag { margin-top: 4px; width: fit-content; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 550; color: #0B1F3A; background: #bfe6ff; }
.econ__detail.is-pop { animation: ePop .45s var(--ease-out); }
@keyframes ePop { from { opacity: .3; transform: translateY(8px); } }
.econ__multi { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(11, 31, 58, .14); }
.econ__multi li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid rgba(11, 31, 58, .14); }
.econ__multi b { color: var(--navy); font-weight: 600; } .econ__multi span { font-size: .88rem; color: #55667f; }

.hub { position: relative; aspect-ratio: 1.08; width: 100%; max-width: 640px; margin-inline: auto; }
.hub::before { content: ""; position: absolute; inset: 11% 11%; border-radius: 50%; border: 1px dashed rgba(27, 79, 156, .3); animation: eSpin 60s linear infinite; }
@keyframes eSpin { to { transform: rotate(360deg); } }
.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub__lines path { fill: none; stroke: rgba(27, 79, 156, .28); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 4 5; transition: stroke .3s; animation: eDash 3s linear infinite; }
.hub__lines path.is-on { stroke: var(--blue); stroke-width: 2.4; stroke-dasharray: none; }
@keyframes eDash { to { stroke-dashoffset: -18; } }
.pk { fill: var(--sky); filter: drop-shadow(0 0 2px rgba(59, 154, 225, .8)); }
.hub__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; gap: 2px; width: clamp(92px, 17%, 130px); aspect-ratio: 1; border-radius: 34px; background: linear-gradient(160deg, #fff, #dcecfb); box-shadow: 0 0 0 10px rgba(59, 154, 225, .14), 0 30px 60px -20px rgba(27, 79, 156, .6); align-content: center; }
.hub__core img { width: 46%; height: auto; } .hub__core small { font-size: .62rem; letter-spacing: .2em; color: var(--blue); }
.hn { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; width: clamp(66px, 14%, 96px); transition: transform .4s var(--ease-spring); }
.hn svg { box-sizing: content-box; width: 46%; height: auto; aspect-ratio: 1; padding: 18%; border-radius: 22px; color: var(--blue); background: #fff; box-shadow: 0 0 0 1px rgba(11, 31, 58, .1), 0 18px 30px -16px rgba(11, 31, 58, .5); transition: background .3s, color .3s, box-shadow .3s; }
.hn b { font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.hn:hover { transform: translate(-50%, -50%) scale(1.08); }
.hn.is-on svg { color: #fff; background: linear-gradient(135deg, #3B9AE1, #1B4F9C); box-shadow: 0 0 0 6px rgba(59, 154, 225, .22), 0 20px 36px -12px rgba(27, 79, 156, .7); }
@media (max-width: 900px) { .econ__grid { grid-template-columns: 1fr; } .hn b { font-size: .56rem; } }

/* ---------- 3 · Por qué elegir ---------- */
.ewhy { position: relative; overflow: hidden; background: var(--navy); }
.ewhy__glow { position: absolute; right: -12%; top: 8%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 154, 225, .24), transparent 62%); pointer-events: none; }
.ewhy .container { position: relative; }
.stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 36px; align-self: end; }
.stats li { display: grid; gap: 2px; }
.stats strong { font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stats small { font-size: .5em; } .stats li > span { font-size: .84rem; color: #9fb6d3; }
.why { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.ai { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(18px, 3vw, 36px); align-items: center; padding: clamp(18px, 3vw, 34px); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(27, 79, 156, .55), rgba(11, 31, 58, .6)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 50px 90px -50px rgba(0, 0, 0, .8); }
.ai__img { position: relative; margin: 0; align-self: stretch; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); min-height: 260px; }
.ai__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ai__tag { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(11, 31, 58, .75); }
.ai__k { display: flex; align-items: center; gap: 8px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #8fc9f2; } .ai__k svg { width: 16px; height: 16px; }
.ai__copy h3 { margin: 10px 0 16px; font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.08; color: #fff; }
.ai__tabs { display: grid; gap: 6px; }
.ait { display: flex; align-items: baseline; gap: 12px; padding: 11px 14px; border-radius: 12px; text-align: left; font-size: .94rem; font-weight: 500; color: #dbe8f8; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); transition: background .3s, color .3s, transform .4s var(--ease-out), box-shadow .3s; }
.ait span { font-size: .66rem; color: #8fc9f2; }
.ait:hover { transform: translateX(5px); box-shadow: inset 0 0 0 1px #fff; }
.ait[aria-selected="true"] { background: #fff; color: var(--navy); transform: translateX(8px); } .ait[aria-selected="true"] span { color: var(--blue); }
.ai__d { margin-top: 14px; min-height: 3.6em; color: #e4eefb; }
.ai__d.is-pop { animation: ePop .45s var(--ease-out); }
.ai__note { margin-top: 8px; font-size: .8rem; color: #9fb6d3; } .ai__note a { color: #bfe6ff; text-decoration: underline; text-underline-offset: 3px; }
.diffs { list-style: none; margin: 0; padding: 0; display: grid; align-content: center; }
.diffs li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 4px; border-bottom: 1px solid rgba(255, 255, 255, .18); transition: padding .4s var(--ease-out); }
.diffs li:first-child { border-top: 1px solid rgba(255, 255, 255, .18); }
.diffs li:hover { padding-left: 14px; }
.diffs__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: .84rem; color: #fff; background: linear-gradient(135deg, #3B9AE1, #1B4F9C); }
.diffs h3 { font-size: 1.2rem; font-weight: 550; letter-spacing: -.03em; color: #fff; } .diffs p { margin-top: 4px; font-size: .94rem; color: #c9dcf4; }
@media (max-width: 1080px) { .why { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .ai { grid-template-columns: 1fr; } .ai__img { min-height: 200px; } }

/* ---------- 4 · Implementación ---------- */
.route { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.route::before { content: ""; position: absolute; left: 12%; right: 12%; top: 46px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--sky)); opacity: .35; }
.rt { position: relative; display: grid; gap: 8px; justify-items: start; padding: 28px 26px 30px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 31, 58, .08), 0 30px 50px -40px rgba(11, 31, 58, .5); transition: transform .5s var(--ease-out), box-shadow .4s; }
.rt:nth-child(2) { margin-top: 24px; } .rt:nth-child(3) { margin-top: 48px; }
.rt:hover { transform: translateY(-8px); box-shadow: 0 0 0 1px rgba(27, 79, 156, .45), 0 40px 64px -36px rgba(27, 79, 156, .6); }
.rt__i { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #3B9AE1, #1B4F9C); box-shadow: 0 16px 28px -12px rgba(27, 79, 156, .8); transition: transform .5s var(--ease-spring); } .rt:hover .rt__i { transform: rotate(-8deg) scale(1.1); } .rt__i svg { width: 26px; height: 26px; }
.rt__n { margin-top: 8px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.rt h3 { font-size: 1.4rem; font-weight: 550; letter-spacing: -.03em; line-height: 1.12; color: var(--navy); } .rt p { color: #23364f; }
@media (max-width: 860px) { .route { grid-template-columns: 1fr; } .route::before { display: none; } .rt:nth-child(n) { margin-top: 0; } }

/* ---------- 5 · Cierre ---------- */
.eend__in { display: grid; gap: 22px; justify-items: start; max-width: 920px; }
.eend .lead { color: #dbe8f8; }
.eend__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

@media (prefers-reduced-motion: reduce) { .hub::before, .hub__lines path { animation: none !important; } }
