/* ==========================================================================
   Ship Shift — Home v4 · "Un universo de operaciones inteligentes"
   Requiere corporate.css (tokens, nav, botones, pie) y catalog.css (FAQ, tablas).
   ========================================================================== */

body.home { background: var(--bg); }
.home main { display: block; position: relative; z-index: 1; }

/* ── Superficies: profunda (siempre oscura) y papel (siempre clara) ───── */
.surface-deep {
  --t1: #eef3ff; --t2: #aebbdb; --t3: #8090b4;
  --b1: rgba(140, 170, 255, 0.14); --b2: rgba(140, 170, 255, 0.26);
  --ac: #6f95ff; --ac-rgb: 111, 149, 255; --cy: #22d3ee; --cy-rgb: 34, 211, 238;
  --glass: linear-gradient(180deg, rgba(24, 38, 80, 0.56), rgba(10, 18, 42, 0.52));
  --glass-solid: rgba(10, 18, 42, 0.88); --glass-hi: rgba(255, 255, 255, 0.07);
  --overlay-soft: rgba(140, 170, 255, 0.06);
  color: var(--t1); background-color: var(--deep); color-scheme: dark;
}
.surface-paper {
  --t1: #0a1430; --t2: #3b4868; --t3: #5f6d90;
  --b1: rgba(16, 38, 96, 0.1); --b2: rgba(16, 38, 96, 0.18);
  --ac: #2457f5; --ac-rgb: 36, 87, 245; --cy: #0891b2; --cy-rgb: 8, 145, 178;
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74));
  --glass-solid: rgba(255, 255, 255, 0.96); --glass-hi: #fff;
  --overlay-soft: rgba(16, 38, 96, 0.04);
  color: var(--t1); color-scheme: light;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(59, 109, 255, 0.10), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(34, 211, 238, 0.10), transparent 60%),
    linear-gradient(180deg, #eef3fd, #f7f9fe);
}

/* Cabeceras de sección */
.sec-head { margin-bottom: clamp(2.2rem, 5vw, 3.75rem); max-width: 880px; }
.sec-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); align-items: end; }
.sec-head--split .section-lead { margin-bottom: 0.4rem; }
.sec-h, .home .band h2.sec-h {
  font-size: clamp(2.2rem, 4.8vw, 4.1rem); font-weight: 750; letter-spacing: -0.048em; line-height: 1.02;
  margin-bottom: 1.15rem; text-wrap: balance; color: var(--t1);
}
.sec-head .section-lead { margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════════════════
   1 · HÉROE — constelación 3D sobre rutas de luz
   ══════════════════════════════════════════════════════════════════════ */
.hx {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(700px, 100svh); display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 64px) 0 150px; color: #eef3ff; background: var(--deep);
}
.hx-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hx-photo, .hx-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx-photo img {
  object-fit: cover; object-position: 72% 55%; opacity: 0.78;
  transform: scale(1.1) translate3d(var(--hx-px, 0px), var(--hx-py, 0px), 0);
  transition: transform 1.2s var(--ease-out);
}
.hx-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 8, 22, 0.97) 0%, rgba(4, 8, 22, 0.86) 34%, rgba(4, 8, 22, 0.3) 62%, rgba(4, 8, 22, 0.42) 100%),
    linear-gradient(180deg, rgba(4, 8, 22, 0.55) 0%, transparent 22%, transparent 70%, var(--bg) 100%),
    radial-gradient(60% 70% at 72% 45%, rgba(59, 109, 255, 0.28), transparent 70%);
}
.hx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx-grain { position: absolute; inset: 0; opacity: 0.35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }

.hx-stage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hx-node, .hx-core {
  position: absolute; left: 0; top: 0; display: grid; place-items: center; border-radius: 50%;
  will-change: transform, opacity; transform: translate3d(-200px, -200px, 0);
}
.hx-node {
  width: 52px; height: 52px; margin: -26px 0 0 -26px;
  background: radial-gradient(circle at 35% 30%, #ffffff, #e8eefc);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 0 0 6px rgba(140, 170, 255, 0.08), 0 14px 30px -10px rgba(0, 0, 0, 0.7);
  transition: box-shadow 0.4s var(--ease);
}
.hx-node img { width: 26px; height: 26px; object-fit: contain; }
.hx-node.is-hot { box-shadow: 0 0 0 1px #fff, 0 0 0 8px rgba(34, 211, 238, 0.25), 0 0 34px rgba(34, 211, 238, 0.7); }
.hx-core {
  width: 104px; height: 104px; margin: -52px 0 0 -52px; z-index: 5;
  background: radial-gradient(circle at 40% 35%, rgba(40, 60, 120, 0.95), rgba(6, 12, 32, 0.96) 70%);
  box-shadow: 0 0 0 1px rgba(140, 170, 255, 0.4), 0 0 0 12px rgba(59, 109, 255, 0.10), 0 0 80px rgba(59, 109, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.hx-core::before, .hx-core::after { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(34, 211, 238, 0.55); animation: ss-spin 24s linear infinite; }
.hx-core::after { inset: -30px; border: 1px solid rgba(140, 170, 255, 0.18); border-top-color: rgba(34, 211, 238, 0.9); animation-duration: 6s; }
.hx-core img { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(255, 138, 61, 0.6)); }

.hx-inner { position: relative; z-index: 2; }
.hx-copy { max-width: min(800px, 60%); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1.6rem;
  padding: 0.5rem 0.9rem 0.5rem 0.7rem; border-radius: 999px;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #cfe0ff;
  background: rgba(10, 18, 42, 0.55); border: 1px solid rgba(140, 170, 255, 0.22);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.hero-kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.2), 0 0 14px rgba(34, 211, 238, 0.9); animation: hx-blink 2.4s ease-in-out infinite; }
.hero-display {
  font-size: clamp(2.9rem, 5.2vw, 5.4rem); font-weight: 750; letter-spacing: -0.052em; line-height: 0.96;
  margin: 0 0 1.75rem; color: #fff; text-wrap: balance;
}
.hero-line { display: block; }
.hero-line-end {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.025em; line-height: 1.02;
  padding: 0 0.06em 0.06em 0; width: fit-content;
  background: linear-gradient(100deg, #6f95ff 0%, #22d3ee 45%, #a5f3fc 60%, #22d3ee 75%, #6f95ff 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hx-shine 7s ease-in-out infinite;
}
.hero-display.is-active .hero-line-end { animation-duration: 2.4s; }
.hero-lead { font-size: clamp(1.04rem, 1.35vw, 1.2rem); line-height: 1.72; color: #b8c4e2; max-width: 50ch; margin: 0 0 2.2rem; }
.hero-lead strong { color: #fff; font-weight: 700; background: linear-gradient(90deg, rgba(59, 109, 255, 0.5), rgba(34, 211, 238, 0.5)) 0 100% / 100% 2px no-repeat; }
.hx .hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hx .btn { min-height: 56px; padding: 0 1.7rem; font-size: 1rem; border-radius: 17px; }
.hx .btn-ghost { color: #eef3ff; background: rgba(10, 18, 42, 0.5); border-color: rgba(140, 170, 255, 0.3); }
.hero-scroll {
  position: absolute; left: 50%; bottom: 96px; z-index: 3; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: #8fa2cf;
  transition: color 0.3s;
}
.hero-scroll:hover { color: #fff; }
.hero-scroll-line { position: relative; width: 1px; height: 46px; background: rgba(140, 170, 255, 0.25); overflow: hidden; }
.hero-scroll-line::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: linear-gradient(180deg, transparent, #22d3ee); animation: hx-drop 2s var(--ease) infinite; }

/* Entrada coreografiada (el script original añade .is-ready) */
html.js .hx .hero-kicker, html.js .hx .hero-line, html.js .hx .hero-lead, html.js .hx .hero-ctas, html.js .hx .hero-scroll, html.js .hx-stage { opacity: 0; }
.hx.is-ready .hero-kicker { animation: hx-rise 0.9s var(--ease-out) 0.05s both; }
.hx.is-ready .hero-line { animation: hx-rise-line 1.1s var(--ease-out) 0.15s both; }
.hx.is-ready .hero-line-end { animation: hx-rise-line 1.1s var(--ease-out) 0.3s both, hx-shine 7s ease-in-out 1.4s infinite; }
.hx.is-ready .hero-lead { animation: hx-rise 1s var(--ease-out) 0.45s both; }
.hx.is-ready .hero-ctas { animation: hx-rise 1s var(--ease-out) 0.58s both; }
.hx.is-ready .hero-scroll { animation: hx-fade 1.2s var(--ease) 1s both; }
.hx.is-ready .hx-stage { animation: hx-fade 1.6s var(--ease) 0.2s both; }
@keyframes hx-rise { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
@keyframes hx-rise-line { from { opacity: 0; transform: translate3d(0, 0.5em, 0); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(-10% -5% -20% -5%); } }
@keyframes hx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hx-shine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes hx-blink { 50% { opacity: 0.35; } }
@keyframes hx-drop { to { top: 110%; } }

/* ══════════════════════════════════════════════════════════════════════
   2 · STACK — dock de cristal sobre el borde del héroe
   ══════════════════════════════════════════════════════════════════════ */
.tb { position: relative; z-index: 4; margin-top: -82px; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.tb-dock {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1.25rem 2rem;
  padding: 1.1rem 1.1rem 1.1rem 1.6rem; border-radius: 26px;
  background: var(--glass-solid); border: 1px solid var(--nav-border);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 30px 70px -36px rgba(0, 0, 0, 0.7);
}
.tb-head { display: grid; gap: 0.7rem; justify-items: start; }
.tb .label { margin: 0; }
.meta-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.8rem; border-radius: 999px;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t1);
  background: linear-gradient(var(--glass-solid), var(--glass-solid)) padding-box, linear-gradient(120deg, #0866ff, #22d3ee, #8b7bff) border-box;
  border: 1px solid transparent;
}
.meta-badge::before { content: ''; width: 16px; height: 9px; border-radius: 6px; border: 2px solid #0866ff; border-right-color: #22d3ee; }
.tb .logo-marquee { margin: 0; }
.tb .logo-marquee-item { height: 56px; min-width: 104px; }

/* ══════════════════════════════════════════════════════════════════════
   3 · NECESIDADES — módulos con lenguaje visual propio (bento)
   ══════════════════════════════════════════════════════════════════════ */
.nd { position: relative; overflow: hidden; isolation: isolate; }
.nd-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(36, 87, 245, 0.16) 1px, transparent 1.3px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%); }
.need-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.15rem; }
.need-card {
  --acc: #22d3ee; --acc-rgb: 34, 211, 238;
  position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  border-radius: 28px; background: #fff; color: #0a1430;
  border: 1px solid rgba(16, 38, 96, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 24px 60px -36px rgba(18, 40, 110, 0.45);
  transition: transform 0.6s var(--ease-out), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.need-card[data-accent="violet"] { --acc: #8b7bff; --acc-rgb: 139, 123, 255; }
.need-card[data-accent="emerald"] { --acc: #10b981; --acc-rgb: 16, 185, 129; }
.need-card[data-accent="rose"] { --acc: #fb7185; --acc-rgb: 251, 113, 133; }
.need-card[data-accent="sky"] { --acc: #38bdf8; --acc-rgb: 56, 189, 248; }
.need-card[data-accent="amber"] { --acc: #f59e0b; --acc-rgb: 245, 158, 11; }
.need-card:hover { transform: translateY(-8px); border-color: rgba(var(--acc-rgb), 0.45); box-shadow: 0 1px 0 #fff inset, 0 40px 80px -40px rgba(var(--acc-rgb), 0.75); }
.need-card.ss-spot::after { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--acc-rgb), 0.14), transparent 50%); }
.nd-docs { grid-column: span 7; grid-row: span 2; }
.nd-chat, .nd-plan { grid-column: span 5; }
.nd-dash, .nd-int, .nd-ui { grid-column: span 4; }
.need-media { position: relative; flex: 1 1 auto; min-height: 250px; overflow: hidden; background: #0b1631; }
.nd-docs .need-media { min-height: 430px; }
.need-media picture, .need-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.need-media img { object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease-out); }
.need-card:hover .need-media img { transform: scale(1.12); }
.need-media::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 8, 22, 0.15), transparent 30%, rgba(4, 8, 22, 0.35) 75%, rgba(4, 8, 22, 0.55)); }
.need-chip {
  position: absolute; z-index: 3; left: 1rem; top: 1rem; display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.35rem 0.65rem; border-radius: 10px;
  font-family: var(--mono); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; color: #fff;
  background: rgba(4, 8, 22, 0.55); border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.need-chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.need-viz {
  position: absolute; z-index: 2; right: 1rem; bottom: 1rem; width: min(78%, 330px); aspect-ratio: 16 / 10;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(8, 16, 40, 0.84), rgba(5, 10, 26, 0.9));
  border: 1px solid rgba(140, 170, 255, 0.22);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 50px -20px rgba(0, 0, 0, 0.7);
  transition: transform 0.6s var(--ease-out), box-shadow 0.5s;
}
.nd-docs .need-viz { width: min(64%, 420px); right: 1.25rem; bottom: 1.25rem; }
.need-card:hover .need-viz { transform: translateY(-6px) scale(1.02); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 30px 60px -20px rgba(var(--acc-rgb), 0.55); }
.need-viz > svg, .need-viz > .nv { position: absolute; inset: 0; width: 100%; height: 100%; }
.need-body { position: relative; z-index: 2; display: grid; gap: 0.45rem; padding: 1.35rem 1.45rem 1.5rem; }
.need-body h3 { font-size: 1.22rem; font-weight: 750; letter-spacing: -0.03em; line-height: 1.25; color: #0a1430; }
.nd-docs .need-body h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.need-body p { color: #4a5677; font-size: 0.97rem; line-height: 1.6; }
.need-go { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.35rem; font-weight: 700; font-size: 0.92rem; color: var(--acc); filter: saturate(1.1) brightness(0.85); transition: gap 0.35s var(--ease-out); }
.need-card:hover .need-go { gap: 0.75rem; }
.nd .need-card.fade-up:nth-child(2) { transition-delay: 0.06s; } .nd .need-card.fade-up:nth-child(3) { transition-delay: 0.12s; }
.nd .need-card.fade-up:nth-child(4) { transition-delay: 0.1s; } .nd .need-card.fade-up:nth-child(5) { transition-delay: 0.16s; } .nd .need-card.fade-up:nth-child(6) { transition-delay: 0.22s; }

/* Visualizaciones de módulo (SVG). Se pausan fuera de pantalla: home.js añade .viz-on */
.nv { overflow: visible; }
.nv * { transform-box: fill-box; }
.need-card:not(.viz-on) .nv *, .caso-stage:not(.viz-on) .cv *, .pr-stage:not(.viz-on) .pv * { animation-play-state: paused !important; }
/* docs */
.nv-paper { fill: #f3f6ff; }
.nv-ln { fill: #cbd6f2; } .nv-ln-h { fill: #3b6dff; opacity: 0.85; }
.nv-field { fill: #e3eafc; stroke: transparent; stroke-width: 1.5; animation: nv-field 5s var(--ease) infinite; }
.nv-f2 { animation-delay: 0.35s; } .nv-f3 { animation-delay: 0.7s; }
.nv-scan { fill: #22d3ee; filter: drop-shadow(0 0 6px #22d3ee); animation: nv-scan 5s var(--ease) infinite; }
.nv-path { fill: none; stroke: rgba(140, 170, 255, 0.35); stroke-width: 1.5; stroke-dasharray: 3 5; }
.nv-chip { fill: #22d3ee; opacity: 0; animation: nv-chip 5s var(--ease) infinite; }
.nv-c2 { fill: #6f95ff; animation-delay: 0.3s; } .nv-c3 { fill: #a5f3fc; animation-delay: 0.6s; }
.nv-db-body { fill: rgba(91, 140, 255, 0.16); stroke: #8fb0ff; stroke-width: 1.5; }
.nv-db-top { fill: rgba(111, 149, 255, 0.4); stroke: #8fb0ff; stroke-width: 1.5; }
.nv-db-ring { fill: none; stroke: rgba(143, 176, 255, 0.55); stroke-width: 1.2; }
.nv-ok circle { fill: #34d399; } .nv-ok path { fill: none; stroke: #052e1f; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nv-ok { opacity: 0; animation: nv-ok 5s var(--ease-out) infinite; transform-origin: center; }
@keyframes nv-scan { 0% { transform: translateY(0); opacity: 0; } 6% { opacity: 1; } 52% { transform: translateY(160px); opacity: 1; } 58%, 100% { transform: translateY(160px); opacity: 0; } }
@keyframes nv-field { 0%, 18% { fill: #e3eafc; stroke: transparent; } 26%, 74% { fill: rgba(34, 211, 238, 0.22); stroke: #22d3ee; } 86%, 100% { fill: #e3eafc; stroke: transparent; } }
@keyframes nv-chip { 0%, 40% { opacity: 0; transform: translate(0, 0); } 46% { opacity: 1; } 70% { opacity: 1; transform: translate(92px, 6px); } 76%, 100% { opacity: 0; transform: translate(96px, 6px); } }
@keyframes nv-ok { 0%, 70% { opacity: 0; transform: scale(0.4); } 78% { opacity: 1; transform: scale(1.12); } 84%, 94% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
/* chat */
.nv-human .nv-hring { fill: rgba(139, 123, 255, 0.14); stroke: #8b7bff; stroke-width: 1.5; }
.nv-hpulse { fill: none; stroke: #8b7bff; stroke-width: 1; animation: nv-pulse 2.8s ease-out infinite; transform-origin: center; }
.nv-hhead, .nv-hbody { fill: #c4bbff; }
.nv-link { stroke: rgba(139, 123, 255, 0.6); stroke-width: 1.5; stroke-dasharray: 3 4; animation: nv-dash 1.2s linear infinite; }
.nv-phone { fill: #0d1834; stroke: rgba(140, 170, 255, 0.3); stroke-width: 1.5; }
.nv-phone-top { fill: #0b6b5a; }
.nv-av { fill: #dcfce7; } .nv-ln-w { fill: rgba(255, 255, 255, 0.85); } .nv-ln-w2 { fill: rgba(255, 255, 255, 0.5); }
.nv-b { opacity: 0; animation: nv-bubble 6s var(--ease-out) infinite; transform-origin: left center; }
.nv-bin { fill: #23305a; } .nv-bout { fill: #25d366; transform-origin: right center; }
.nv-b2 { animation-delay: 0.9s; } .nv-b3 { animation-delay: 1.8s; } .nv-b4 { animation-delay: 2.7s; }
.nv-typing circle { fill: #8fb0ff; animation: nv-type 1.2s ease-in-out infinite; transform-origin: center; }
.nv-typing circle:nth-child(2) { animation-delay: 0.15s; } .nv-typing circle:nth-child(3) { animation-delay: 0.3s; }
.nv-wave rect { fill: #22d3ee; transform-origin: center; animation: nv-wave 1.1s ease-in-out infinite; }
.nv-wave rect:nth-child(2) { animation-delay: 0.1s; } .nv-wave rect:nth-child(3) { animation-delay: 0.2s; fill: #6f95ff; } .nv-wave rect:nth-child(4) { animation-delay: 0.3s; }
.nv-wave rect:nth-child(5) { animation-delay: 0.4s; fill: #6f95ff; } .nv-wave rect:nth-child(6) { animation-delay: 0.5s; } .nv-wave rect:nth-child(7) { animation-delay: 0.6s; }
@keyframes nv-bubble { 0% { opacity: 0; transform: scale(0.6); } 6%, 80% { opacity: 1; transform: scale(1); } 90%, 100% { opacity: 0; transform: scale(1); } }
@keyframes nv-type { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes nv-wave { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
@keyframes nv-pulse { 0% { transform: scale(0.85); opacity: 0.9; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes nv-dash { to { stroke-dashoffset: -14; } }
/* plan */
.nv-bp { fill: rgba(59, 109, 255, 0.12); stroke: rgba(140, 170, 255, 0.3); }
.nv-gridline { fill: none; stroke: rgba(140, 170, 255, 0.14); stroke-width: 0.8; }
.nv-room { fill: none; stroke: #b8ccff; stroke-width: 2.2; stroke-linejoin: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: nv-draw 6s var(--ease) infinite; }
.nv-room2 { stroke: #8fb0ff; animation-delay: 0.4s; }
.nv-door { fill: none; stroke: #8fb0ff; stroke-width: 1.2; stroke-dasharray: 2 3; }
.nv-dim path { fill: none; stroke: #22d3ee; stroke-width: 1.4; }
.nv-dim { opacity: 0; animation: nv-dim 6s var(--ease) infinite; } .nv-dim2 { animation-delay: 0.3s; }
.nv-tbl { fill: #f3f6ff; } .nv-th { fill: #3b6dff; }
.nv-row rect { fill: #cbd6f2; } .nv-row .nv-num { fill: #6f95ff; }
.nv-row { opacity: 0.22; animation: nv-row 6s var(--ease-out) infinite; }
.nv-r1 { animation-delay: 1.4s; } .nv-r2 { animation-delay: 1.7s; } .nv-r3 { animation-delay: 2s; } .nv-r4 { animation-delay: 2.3s; }
.nv-total { fill: url(#nvArea); fill: #10b981; opacity: 0; animation: nv-row 6s var(--ease-out) 2.7s infinite; }
@keyframes nv-draw { 0% { stroke-dashoffset: 520; } 35%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes nv-dim { 0%, 25% { opacity: 0; } 35%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes nv-row { 0% { opacity: 0.22; transform: translateX(-10px); } 8%, 60% { opacity: 1; transform: none; } 72%, 100% { opacity: 0.22; transform: none; } }
/* dash */
.nv-win { fill: rgba(255, 255, 255, 0.03); stroke: rgba(140, 170, 255, 0.22); }
.nv-kpi > rect:first-child { fill: rgba(255, 255, 255, 0.05); stroke: rgba(140, 170, 255, 0.16); }
.nv-klbl { fill: rgba(200, 215, 255, 0.45); }
.nv-kbar { transform-origin: left center; animation: nv-kbar 3.2s ease-in-out infinite alternate; }
.nv-k1 { fill: #22d3ee; } .nv-k2 { fill: #8b7bff; animation-delay: 0.6s; } .nv-k3 { fill: #fb7185; animation-delay: 1.1s; }
.nv-line { fill: none; stroke: #22d3ee; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: nv-line 5s var(--ease) infinite; filter: drop-shadow(0 0 4px rgba(34, 211, 238, 0.7)); }
.nv-area { opacity: 0; animation: nv-area 5s var(--ease) infinite; }
.nv-tip { fill: #fff; opacity: 0; animation: nv-area 5s var(--ease) infinite; }
.nv-bars rect { fill: #3b6dff; transform-origin: bottom center; animation: nv-bar 2.6s ease-in-out infinite alternate; }
.nv-bars rect:nth-child(2n) { fill: #6f95ff; animation-delay: 0.4s; } .nv-bars rect:nth-child(3n) { fill: #22d3ee; animation-delay: 0.8s; }
.nv-bars rect:nth-child(4) { animation-delay: 1.2s; } .nv-bars rect:nth-child(7) { animation-delay: 0.2s; }
.nv-live { fill: #34d399; } .nv-live-ring { fill: none; stroke: #34d399; animation: nv-pulse 1.8s ease-out infinite; transform-origin: center; }
@keyframes nv-kbar { from { transform: scaleX(0.45); } to { transform: scaleX(1); } }
@keyframes nv-line { 0% { stroke-dashoffset: 260; } 45%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0.2; } }
@keyframes nv-area { 0%, 30% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes nv-bar { from { transform: scaleY(0.4); } to { transform: scaleY(1); } }
/* int */
.nv-int { position: absolute; inset: 0; }
.nv-int-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.nv-int-lines path { fill: none; stroke: rgba(140, 170, 255, 0.4); stroke-width: 1.4; stroke-dasharray: 4 5; animation: nv-dash 1.4s linear infinite; }
.nv-pk { fill: #22d3ee; filter: drop-shadow(0 0 4px #22d3ee); } .nv-pk2 { fill: #fbbf24; filter: drop-shadow(0 0 4px #fbbf24); }
.nv-hub, .nv-logo { position: absolute; display: grid; place-items: center; border-radius: 50%; transform: translate(-50%, -50%); }
.nv-hub { left: 50%; top: 50%; width: 22%; aspect-ratio: 1; background: radial-gradient(circle at 40% 35%, #1d2c5c, #0a1330); box-shadow: 0 0 0 1px rgba(140, 170, 255, 0.4), 0 0 30px rgba(59, 109, 255, 0.6); animation: nv-hub 3s ease-in-out infinite; }
.nv-hub img { width: 56%; height: auto; }
.nv-logo { width: 17%; aspect-ratio: 1; background: #fff; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6); animation: ss-float 4s ease-in-out infinite; }
.nv-logo img { width: 58%; height: 58%; object-fit: contain; }
.nv-l1 { left: 19.4%; top: 23%; } .nv-l2 { left: 80.6%; top: 23%; animation-delay: 0.8s; } .nv-l3 { left: 19.4%; top: 77%; animation-delay: 1.6s; } .nv-l4 { left: 80.6%; top: 77%; animation-delay: 2.4s; }
@keyframes nv-hub { 50% { box-shadow: 0 0 0 1px rgba(140, 170, 255, 0.6), 0 0 46px rgba(34, 211, 238, 0.75); } }
/* ui */
.nv-d1 { fill: #ff5f57; } .nv-d2 { fill: #febc2e; } .nv-d3 { fill: #28c840; }
.nv-url { fill: rgba(255, 255, 255, 0.08); } .nv-sep { fill: rgba(140, 170, 255, 0.2); }
.nv-blk { fill: rgba(91, 140, 255, 0.16); stroke: rgba(140, 170, 255, 0.35); stroke-width: 1; opacity: 0; transform-origin: center; animation: nv-blk 6s var(--ease-out) infinite; }
.nv-k1 { animation-delay: 0.1s; } .nv-ui .nv-k2 { animation-delay: 0.4s; } .nv-ui .nv-k3 { animation-delay: 0.7s; fill: rgba(34, 211, 238, 0.2); } .nv-ui .nv-k4 { animation-delay: 1s; fill: rgba(139, 123, 255, 0.22); } .nv-k5 { animation-delay: 1.3s; }
.nv-line-s { fill: rgba(200, 215, 255, 0.4); opacity: 0; animation: nv-blk 6s var(--ease-out) 0.6s infinite; }
.nv-cursor { fill: #fff; stroke: #0a1430; stroke-width: 1; animation: nv-cursor 6s var(--ease) infinite; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5)); }
@keyframes nv-blk { 0% { opacity: 0; transform: scale(0.85) translateY(8px); } 10%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }
@keyframes nv-cursor { 0% { transform: translate(250px, 170px); } 25% { transform: translate(150px, 110px); } 35% { transform: translate(150px, 110px) scale(0.85); } 40% { transform: translate(150px, 110px); } 65% { transform: translate(245px, 112px); } 72% { transform: translate(245px, 112px) scale(0.85); } 78%, 100% { transform: translate(245px, 112px); } }

/* ══════════════════════════════════════════════════════════════════════
   4 · CASOS — sección estrella (teatro de operaciones)
   ══════════════════════════════════════════════════════════════════════ */
.cs { position: relative; isolation: isolate; overflow: hidden; padding: clamp(5rem, 11vw, 9rem) 0; }
.cs-ambient { position: absolute; inset: -10%; z-index: -1; opacity: 0.38; }
.cs-ambient img { width: 100%; height: 100%; object-fit: cover; filter: blur(70px) saturate(1.35); transform: scale(1.1); transition: opacity 0.9s var(--ease); }
.cs::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(80% 60% at 50% 0%, transparent, rgba(4, 8, 22, 0.75) 80%), linear-gradient(180deg, var(--deep) 0%, rgba(4, 8, 22, 0.55) 18%, rgba(4, 8, 22, 0.55) 82%, var(--deep) 100%); }
.cs::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(rgba(140, 170, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 170, 255, 0.06) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent 75%); }
.caso-stage { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr); gap: clamp(1rem, 2vw, 1.5rem); align-items: stretch; }
.caso-feature { position: relative; display: block; border-radius: 32px; overflow: hidden; min-height: clamp(460px, 44vw, 640px);
  border: 1px solid rgba(140, 170, 255, 0.18); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9); }
.caso-feature-media { position: absolute; inset: 0; }
.caso-feature-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: cs-kb 18s ease-in-out infinite alternate; transition: opacity 0.6s var(--ease); }
.caso-stage.is-swap .caso-feature-media > img { opacity: 0.2; }
.caso-feature-media::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 8, 22, 0.35) 0%, transparent 30%, transparent 45%, rgba(4, 8, 22, 0.88) 100%), linear-gradient(90deg, rgba(4, 8, 22, 0.5), transparent 55%); }
.caso-window {
  position: absolute; z-index: 2; right: clamp(1rem, 2.5vw, 2rem); top: clamp(1rem, 2.5vw, 2rem); width: min(48%, 440px);
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 18, 42, 0.8), rgba(5, 10, 26, 0.86));
  border: 1px solid rgba(140, 170, 255, 0.26);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 60px -24px rgba(0, 0, 0, 0.8);
  transform: perspective(1200px) rotateY(var(--cw-ry, -6deg)) rotateX(var(--cw-rx, 3deg)); transition: transform 0.8s var(--ease-out);
}
.caso-feature:hover .caso-window { --cw-ry: 0deg; --cw-rx: 0deg; }
.caso-window-bar { display: flex; gap: 6px; padding: 0.65rem 0.85rem; border-bottom: 1px solid rgba(140, 170, 255, 0.14); }
.caso-window-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(140, 170, 255, 0.3); }
.caso-window-bar i:first-child { background: #ff5f57; } .caso-window-bar i:nth-child(2) { background: #febc2e; } .caso-window-bar i:nth-child(3) { background: #28c840; }
.caso-scenes { position: relative; aspect-ratio: 360 / 220; }
.caso-scene { position: absolute; inset: 0; opacity: 0; transform: scale(0.97); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease-out); }
.caso-stage[data-scene="plan"] .caso-scene[data-scene="plan"], .caso-stage[data-scene="route"] .caso-scene[data-scene="route"], .caso-stage[data-scene="energy"] .caso-scene[data-scene="energy"] { opacity: 1; transform: none; }
.caso-scene svg { width: 100%; height: 100%; }
.caso-feature-copy {
  position: absolute; z-index: 2; left: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); width: min(62%, 560px);
  display: grid; gap: 0.55rem; padding: clamp(1.25rem, 2.4vw, 1.9rem); border-radius: 22px;
  background: linear-gradient(180deg, rgba(10, 18, 42, 0.62), rgba(6, 12, 30, 0.78));
  border: 1px solid rgba(140, 170, 255, 0.2); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transition: transform 0.6s var(--ease-out);
}
.caso-feature:hover .caso-feature-copy { transform: translateY(-4px); }
.card-k { display: inline-flex; align-items: center; gap: 0.5rem; width: fit-content; font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #8be9ff; }
.card-k::before { content: ''; width: 6px; height: 6px; transform: rotate(45deg); background: #22d3ee; box-shadow: 0 0 10px #22d3ee; }
.caso-feature-copy h3 { font-size: clamp(1.45rem, 2.4vw, 2.2rem); font-weight: 750; letter-spacing: -0.04em; line-height: 1.1; color: #fff; text-wrap: balance; }
.caso-feature-copy p { color: #b8c4e2; font-size: 1rem; line-height: 1.6; }
.card-go { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.35rem; font-weight: 700; color: #8fb0ff; transition: gap 0.35s var(--ease-out), color 0.2s; }
.caso-feature:hover .card-go { gap: 0.8rem; color: #fff; }
.caso-stage.is-swap .caso-feature-copy [data-caso] { opacity: 0; transform: translateY(8px); }
.caso-feature-copy [data-caso] { transition: opacity 0.45s var(--ease), transform 0.6s var(--ease-out); }
.caso-rail { display: grid; gap: 0.75rem; align-content: stretch; grid-auto-rows: 1fr; }
.caso-rail-btn {
  position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 1rem; align-items: center; text-align: left;
  padding: 0.85rem; border-radius: 22px; cursor: pointer; overflow: hidden;
  background: rgba(10, 18, 42, 0.5); border: 1px solid rgba(140, 170, 255, 0.16); color: #eef3ff; font: inherit;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background 0.35s, border-color 0.35s, transform 0.5s var(--ease-out);
}
.caso-rail-btn:hover { background: rgba(20, 32, 70, 0.62); border-color: rgba(140, 170, 255, 0.32); transform: translateX(-4px); }
.caso-rail-btn.is-on { background: linear-gradient(120deg, rgba(59, 109, 255, 0.32), rgba(34, 211, 238, 0.1)); border-color: rgba(111, 149, 255, 0.6); box-shadow: 0 20px 50px -30px rgba(59, 109, 255, 0.9); }
.caso-rail-thumb { display: block; width: 92px; aspect-ratio: 1; border-radius: 15px; overflow: hidden; }
.caso-rail-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.caso-rail-btn:hover .caso-rail-thumb img, .caso-rail-btn.is-on .caso-rail-thumb img { transform: scale(1.1); }
.caso-rail-meta { display: grid; gap: 0.4rem; }
.caso-rail-meta strong { font-size: 0.98rem; font-weight: 650; line-height: 1.35; color: #eef3ff; }
.caso-progress { position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.45rem; height: 2px; border-radius: 2px; background: rgba(140, 170, 255, 0.14); overflow: hidden; opacity: 0; }
.caso-progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #3b6dff, #22d3ee); }
.caso-rail-btn.is-on .caso-progress { opacity: 1; }
.caso-stage.is-auto .caso-rail-btn.is-on .caso-progress i { animation: cs-prog var(--cs-dur, 5.6s) linear forwards; }
@keyframes cs-prog { to { transform: scaleX(1); } }
@keyframes cs-kb { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }

/* Escenas de caso */
.cv { overflow: visible; }
.cv * { transform-box: fill-box; }
.cv-gridline { fill: none; stroke: rgba(140, 170, 255, 0.14); stroke-width: 0.8; }
.cv-bp { stroke: rgba(140, 170, 255, 0.28); }
.cv-wall { fill: rgba(59, 109, 255, 0.08); stroke: #b8ccff; stroke-width: 2.2; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: cv-draw 7s var(--ease) infinite; }
.cv-wall2 { fill: none; animation-delay: 0.3s; }
.cv-pipe { fill: none; stroke: #22d3ee; stroke-width: 2; stroke-dasharray: 400; stroke-dashoffset: 400; animation: cv-draw 7s var(--ease) 0.9s infinite; filter: drop-shadow(0 0 3px rgba(34, 211, 238, 0.8)); }
.cv-pipe2 { stroke: #fbbf24; filter: drop-shadow(0 0 3px rgba(251, 191, 36, 0.8)); animation-delay: 1.3s; }
.cv-meas circle { fill: #fff; opacity: 0; animation: cv-pop 7s var(--ease-out) infinite; transform-origin: center; }
.cv-meas circle:nth-child(1) { animation-delay: 1.6s; } .cv-meas circle:nth-child(2) { animation-delay: 1.9s; } .cv-meas circle:nth-child(3) { animation-delay: 2.2s; } .cv-meas circle:nth-child(4) { animation-delay: 2.5s; }
.cv-flow { fill: none; stroke: #8fb0ff; stroke-width: 2; stroke-dasharray: 4 4; animation: nv-dash 0.8s linear infinite; }
.cv-sheet-bg { fill: #f3f6ff; } .cv-sh-h { fill: #3b6dff; }
.cv-li rect { fill: #cbd6f2; } .cv-li .cv-li-n { fill: #6f95ff; }
.cv-li { opacity: 0.22; animation: cv-li 7s var(--ease-out) infinite; }
.cv-li1 { animation-delay: 2.6s; } .cv-li2 { animation-delay: 2.85s; } .cv-li3 { animation-delay: 3.1s; } .cv-li4 { animation-delay: 3.35s; } .cv-li5 { animation-delay: 3.6s; } .cv-li6 { animation-delay: 3.85s; }
.cv-seal { opacity: 0; animation: cv-seal 7s var(--ease-out) 4.2s infinite; transform-origin: center; }
.cv-seal circle { fill: #34d399; } .cv-seal path { fill: none; stroke: #052e1f; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes cv-draw { 0% { stroke-dashoffset: 600; } 30%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0.15; } }
@keyframes cv-pop { 0% { opacity: 0; transform: scale(0); } 8%, 70% { opacity: 1; transform: scale(1); } 85%, 100% { opacity: 0; } }
@keyframes cv-li { 0% { opacity: 0.22; transform: translateX(-12px); } 6%, 55% { opacity: 1; transform: none; } 66%, 100% { opacity: 0.22; } }
@keyframes cv-seal { 0% { opacity: 0; transform: scale(0.3) rotate(-30deg); } 8%, 40% { opacity: 1; transform: none; } 52%, 100% { opacity: 0; } }
/* ruta LogIA */
.cv-streets path { fill: none; stroke: rgba(140, 170, 255, 0.1); stroke-width: 10; }
.cv-messy { fill: none; stroke: #fb7185; stroke-width: 1.5; stroke-dasharray: 5 5; opacity: 0.7; animation: cv-messy 9s var(--ease) infinite; }
.cv-path { fill: none; stroke: rgba(140, 170, 255, 0.25); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cv-path-glow { fill: none; stroke: #22d3ee; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: cv-route 9s linear infinite; filter: drop-shadow(0 0 4px rgba(34, 211, 238, 0.9)); }
.cv-depot rect { fill: #3b6dff; stroke: #b8ccff; stroke-width: 1.5; }
.cv-depot-pulse { fill: none; stroke: #6f95ff; animation: nv-pulse 2.4s ease-out infinite; transform-origin: center; }
.cv-stop-ring { fill: rgba(251, 191, 36, 0.14); stroke: #fbbf24; stroke-width: 1.5; }
.cv-stop-core { fill: #fbbf24; }
.cv-done-c { fill: #34d399; } .cv-done path { fill: none; stroke: #052e1f; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cv-wa path { fill: #25d366; stroke: #0b6b5a; stroke-width: 1; }
.cv-van rect { fill: #fff; } .cv-van .cv-van-win { fill: #3b6dff; }
.cv-van { filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6)); }
@keyframes cv-route { 0% { stroke-dashoffset: 1; } 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
@keyframes cv-messy { 0%, 6% { opacity: 0.75; } 22%, 92% { opacity: 0; } 100% { opacity: 0.75; } }
/* energía */
.cv-pg { fill: #e6edff; stroke: rgba(16, 38, 96, 0.15); }
.cv-pg3 { opacity: 0.55; } .cv-pg2 { opacity: 0.75; }
.cv-pg1 > rect:first-child { fill: #f3f6ff; }
.cv-pl { fill: #cbd6f2; } .cv-pl-hit { fill: rgba(34, 211, 238, 0.35); stroke: #22d3ee; animation: cv-hit 6s var(--ease) infinite; }
.cv-pg1 { animation: cv-flip 6s var(--ease) infinite; transform-origin: left center; }
.cv-chart-bg { fill: rgba(255, 255, 255, 0.03); stroke: rgba(140, 170, 255, 0.2); }
.cv-axis { fill: none; stroke: rgba(140, 170, 255, 0.35); stroke-width: 1.2; }
.cv-pt { fill: #8fb0ff; opacity: 0; animation: cv-pt 6s var(--ease-out) infinite; animation-delay: calc(0.9s + var(--i) * 0.14s); transform-origin: center; }
.cv-fit { fill: none; stroke: #22d3ee; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: cv-fit 6s var(--ease) infinite; filter: drop-shadow(0 0 4px rgba(34, 211, 238, 0.8)); }
.cv-fore { fill: none; stroke: #fbbf24; stroke-width: 2.2; stroke-dasharray: 4 4; opacity: 0; animation: cv-fore 6s var(--ease) infinite; }
.cv-band { fill: rgba(251, 191, 36, 0.15); opacity: 0; animation: cv-fore 6s var(--ease) infinite; }
@keyframes cv-flip { 0%, 8% { transform: none; opacity: 1; } 18% { transform: translateX(26px) rotate(4deg); opacity: 0; } 19%, 100% { transform: none; opacity: 1; } }
@keyframes cv-hit { 0%, 10% { opacity: 0.4; } 20%, 80% { opacity: 1; } 100% { opacity: 0.4; } }
@keyframes cv-pt { 0% { opacity: 0; transform: scale(0); } 6%, 70% { opacity: 1; transform: scale(1); } 85%, 100% { opacity: 0; } }
@keyframes cv-fit { 0%, 38% { stroke-dashoffset: 200; } 58%, 86% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0.2; } }
@keyframes cv-fore { 0%, 56% { opacity: 0; } 66%, 86% { opacity: 1; } 100% { opacity: 0; } }

/* ══════════════════════════════════════════════════════════════════════
   5 · SITUACIONES — teléfonos en perspectiva
   ══════════════════════════════════════════════════════════════════════ */
.st { overflow: hidden; }
.pos-quote { margin: 0; }
.shots-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); perspective: 1600px; padding: 1rem 0 2rem; }
.phone-shot {
  position: relative; display: flex; flex-direction: column; min-height: 470px; border-radius: 38px; overflow: hidden;
  background: linear-gradient(180deg, #0c1630, #070e22); color: #eef3ff;
  border: 1px solid rgba(140, 170, 255, 0.22);
  box-shadow: 0 0 0 6px rgba(10, 18, 42, 0.9), 0 0 0 7px rgba(140, 170, 255, 0.18), 0 50px 90px -40px rgba(0, 0, 0, 0.85);
  transform-style: preserve-3d; transition: transform 0.8s var(--ease-out), box-shadow 0.6s;
  margin: 8px;
}
.shots-rail .phone-shot:nth-child(1) { transform: rotateY(16deg) rotateX(4deg) translateZ(-20px); }
.shots-rail .phone-shot:nth-child(2) { transform: translateY(-26px) translateZ(30px); }
.shots-rail .phone-shot:nth-child(3) { transform: rotateY(-16deg) rotateX(4deg) translateZ(-20px); }
.shots-rail .phone-shot:hover { transform: translateY(-14px) translateZ(40px) rotateY(0) rotateX(0); box-shadow: 0 0 0 6px rgba(10, 18, 42, 0.9), 0 0 0 7px rgba(34, 211, 238, 0.45), 0 60px 100px -40px rgba(37, 211, 102, 0.35); }
html.js .shots-rail .phone-shot.fade-up:not(.visible) { opacity: 0; }
.phone-status { display: flex; justify-content: space-between; padding: 0.85rem 1.4rem 0.4rem; font-family: var(--mono); font-size: 0.68rem; color: #a9b6d6; }
.phone-top { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1.1rem 0.9rem; background: linear-gradient(180deg, #0b5d4e, #084a3e); }
.phone-avatar { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; color: #064e3b; background: linear-gradient(135deg, #bbf7d0, #6ee7b7); }
.phone-meta { display: grid; line-height: 1.3; min-width: 0; }
.phone-meta strong { font-size: 0.9rem; color: #fff; }
.phone-meta span { font-size: 0.72rem; color: #a7f3d0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-body { flex: 1; display: flex; flex-direction: column; gap: 0.75rem; padding: 1.1rem 1rem 1rem;
  background: radial-gradient(rgba(140, 170, 255, 0.06) 1px, transparent 1.4px) 0 0 / 16px 16px, linear-gradient(180deg, #0a1428, #08101f); }
.bubble { position: relative; max-width: 86%; padding: 0.7rem 0.85rem 1.35rem; border-radius: 16px; font-size: 0.9rem; line-height: 1.45; }
.bubble.in { align-self: flex-start; background: #1b2747; color: #eef3ff; border-top-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: linear-gradient(135deg, #1fa855, #25d366); color: #052e1f; font-weight: 600; border-top-right-radius: 4px; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out); }
html.js .bubble.out { opacity: 0; transform: translateY(10px) scale(0.96); }
html.js .bubble.out.is-shown { opacity: 1; transform: none; }
.bubble-time { position: absolute; right: 0.7rem; bottom: 0.35rem; font-family: var(--mono); font-size: 0.6rem; opacity: 0.7; font-weight: 500; }
.bubble-caret { display: none; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.15em; background: #22d3ee; animation: hx-blink 0.9s steps(1) infinite; }
.bubble.in.is-typing .bubble-caret { display: inline-block; }
.shot-tag { margin-top: auto; padding: 0.75rem 0.85rem; border-radius: 14px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8fb0ff;
  background: rgba(140, 170, 255, 0.06); border: 1px dashed rgba(140, 170, 255, 0.25); transition: color 0.3s, border-color 0.3s, background 0.3s; }
.phone-shot:hover .shot-tag { color: #fff; border-style: solid; border-color: rgba(34, 211, 238, 0.6); background: rgba(34, 211, 238, 0.1); }

/* ══════════════════════════════════════════════════════════════════════
   6 · CÓMO LO RESOLVEMOS — flujo interactivo en cuatro estaciones
   ══════════════════════════════════════════════════════════════════════ */
.pr { position: relative; overflow: hidden; isolation: isolate; }
.pr-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 15% 20%, rgba(59, 109, 255, 0.22), transparent 70%), radial-gradient(40% 50% at 90% 80%, rgba(34, 211, 238, 0.14), transparent 70%); }
.pr-track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.pr-line { position: absolute; left: 12.5%; right: 12.5%; top: 25px; width: 75%; height: 8px; pointer-events: none; overflow: visible; }
.pr-line-base { fill: none; stroke: rgba(140, 170, 255, 0.18); stroke-width: 2; vector-effect: non-scaling-stroke; }
.pr-line-fill { fill: none; stroke: url(#none); stroke: #22d3ee; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--pr-p, 0)); transition: stroke-dashoffset 0.9s var(--ease-out); filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.9)); }
.pw-leg {
  position: relative; display: grid; justify-items: center; gap: 0.55rem; padding: 0 0.5rem 1rem; cursor: pointer;
  background: none; border: 0; color: #8090b4; font: inherit; text-align: center; transition: color 0.3s;
}
.pw-node { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10, 18, 42, 0.92); border: 1px solid rgba(140, 170, 255, 0.28); transition: border-color 0.4s, box-shadow 0.5s, transform 0.5s var(--ease-out); }
.pw-node i { width: 12px; height: 12px; border-radius: 50%; background: rgba(140, 170, 255, 0.35); transition: background 0.4s, box-shadow 0.4s, transform 0.5s var(--ease-out); }
.pw-leg:hover .pw-node { transform: scale(1.06); border-color: rgba(140, 170, 255, 0.55); }
.pw-leg.is-done .pw-node i { background: #6f95ff; }
.pw-leg.is-on .pw-node { border-color: #22d3ee; box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.12), 0 0 30px rgba(34, 211, 238, 0.5); transform: scale(1.08); }
.pw-leg.is-on .pw-node i { background: #22d3ee; box-shadow: 0 0 14px #22d3ee; transform: scale(1.2); }
.pw-leg.is-on .pw-node::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid #22d3ee; animation: nv-pulse 2s ease-out infinite; }
.pw-leg-n { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; color: #6f95ff; }
.pw-leg-label { font-size: 1rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
.pw-leg.is-on { color: #fff; }
.pw-bar { position: absolute; left: 20%; right: 20%; bottom: 0; height: 2px; border-radius: 2px; background: rgba(140, 170, 255, 0.12); overflow: hidden; opacity: 0; }
.pw-bar i { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #3b6dff, #22d3ee); }
.pw-leg.is-on .pw-bar { opacity: 1; }
.pr-stage.is-auto .pw-leg.is-on .pw-bar i { animation: cs-prog var(--pr-dur, 5s) linear forwards; }
.pw-card {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 0; overflow: hidden; border-radius: 32px;
  background: linear-gradient(180deg, rgba(20, 32, 70, 0.6), rgba(8, 14, 34, 0.7)); border: 1px solid rgba(140, 170, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 50px 100px -50px rgba(0, 0, 0, 0.9);
}
.pw-card-media { position: relative; min-height: clamp(340px, 36vw, 480px); overflow: hidden; }
.pw-card-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s var(--ease), transform 1.4s var(--ease-out); }
.pr-stage.is-swap .pw-card-media > img { opacity: 0; transform: scale(1.05); }
.pw-card-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 55%, rgba(8, 14, 34, 0.9)), linear-gradient(180deg, transparent 50%, rgba(4, 8, 22, 0.5)); }
.pw-scene {
  position: absolute; z-index: 2; left: clamp(1rem, 2vw, 1.5rem); bottom: clamp(1rem, 2vw, 1.5rem); width: min(70%, 360px); aspect-ratio: 300 / 180;
  border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, rgba(10, 18, 42, 0.82), rgba(5, 10, 26, 0.88));
  border: 1px solid rgba(140, 170, 255, 0.24); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
}
.pw-scene svg { width: 100%; height: 100%; }
.pw-card-body { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 0.6rem; padding: clamp(1.75rem, 4vw, 3.25rem); }
.pw-hub { display: flex; align-items: baseline; gap: 0.85rem; margin-bottom: 0.4rem; }
.pw-hub-n { font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 7vw, 6rem); line-height: 0.85; background: linear-gradient(120deg, #6f95ff, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pw-hub-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8fb0ff; }
.pw-n { display: none; }
.pw-kicker { font-family: var(--mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #22d3ee; }
.pw-card h3 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 750; letter-spacing: -0.04em; line-height: 1.08; color: #fff; text-wrap: balance; }
.pw-card p { color: #b8c4e2; font-size: 1.06rem; line-height: 1.7; max-width: 46ch; }
.pw-card-body > * { transition: opacity 0.45s var(--ease), transform 0.6s var(--ease-out); }
.pr-stage.is-swap .pw-card-body > * { opacity: 0; transform: translateY(10px); }
/* Escenas por etapa */
.pv * { transform-box: fill-box; }
.pv-s { opacity: 0; transition: opacity 0.5s var(--ease); }
.pr-stage[data-step="0"] .pv-s1, .pr-stage[data-step="1"] .pv-s2, .pr-stage[data-step="2"] .pv-s3, .pr-stage[data-step="3"] .pv-s4 { opacity: 1; }
.pv-src rect { fill: rgba(91, 140, 255, 0.14); stroke: rgba(140, 170, 255, 0.45); }
.pv-src path { fill: none; stroke: #b8ccff; stroke-width: 1.6; stroke-linecap: round; }
.pv-in { fill: none; stroke: #22d3ee; stroke-width: 1.8; stroke-dasharray: 4 6; animation: nv-dash 0.9s linear infinite; }
.pv-hubc { fill: #3b6dff; stroke: #b8ccff; animation: nv-hub 2.4s ease-in-out infinite; }
.pv-map { fill: none; stroke: rgba(140, 170, 255, 0.6); stroke-width: 1.6; stroke-dasharray: 200; stroke-dashoffset: 200; animation: cv-draw 5s var(--ease) infinite; }
.pv-mn { fill: #22d3ee; opacity: 0; animation: cv-pop 5s var(--ease-out) 1.2s infinite; transform-origin: center; }
.pv-box { fill: rgba(91, 140, 255, 0.12); stroke: #8fb0ff; stroke-width: 1.4; stroke-dasharray: 220; stroke-dashoffset: 220; animation: cv-draw 6s var(--ease) infinite; }
.pv-box:nth-child(2) { animation-delay: 0.4s; } .pv-box:nth-child(3) { animation-delay: 0.6s; } .pv-box-k { animation-delay: 0.9s; stroke: #22d3ee; }
.pv-arrow { fill: none; stroke: #22d3ee; stroke-width: 1.6; stroke-dasharray: 300; stroke-dashoffset: 300; animation: cv-draw 6s var(--ease) 1.2s infinite; }
.pv-seal { opacity: 0; animation: cv-seal 6s var(--ease-out) 2.6s infinite; transform-origin: center; }
.pv-seal circle { fill: #34d399; } .pv-seal path { fill: none; stroke: #052e1f; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pv-pipe { stroke: rgba(140, 170, 255, 0.35); stroke-width: 3; stroke-linecap: round; }
.pv-node { fill: rgba(10, 18, 42, 0.95); stroke: #6f95ff; stroke-width: 2; }
.pv-node:nth-of-type(2) { stroke: #22d3ee; } .pv-node:nth-of-type(3) { stroke: #34d399; }
.pv-pkt { fill: #22d3ee; filter: drop-shadow(0 0 5px #22d3ee); animation: pv-run 2.4s linear infinite; }
.pv-pkt2 { animation-delay: 0.8s; fill: #a5f3fc; } .pv-pkt3 { animation-delay: 1.6s; fill: #fbbf24; filter: drop-shadow(0 0 5px #fbbf24); }
.pv-livebadge rect { fill: rgba(52, 211, 153, 0.16); stroke: #34d399; } .pv-livebadge circle { fill: #34d399; animation: hx-blink 1.2s ease-in-out infinite; }
.pv-panel { fill: rgba(255, 255, 255, 0.04); stroke: rgba(140, 170, 255, 0.25); }
.pv-bars rect { fill: #6f95ff; transform-origin: bottom center; animation: nv-bar 2.2s ease-in-out infinite alternate; }
.pv-bars rect:nth-child(2n) { fill: #22d3ee; animation-delay: 0.4s; } .pv-bars rect:nth-child(3) { animation-delay: 0.8s; } .pv-bars rect:nth-child(5) { animation-delay: 1.1s; }
.pv-toggle rect { fill: rgba(52, 211, 153, 0.25); stroke: #34d399; } .pv-knob { fill: #fff; animation: pv-knob 3s var(--ease) infinite; }
.pv-person circle, .pv-person path { fill: #c4bbff; }
@keyframes pv-run { from { transform: translateX(24px); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { transform: translateX(276px); opacity: 0; } }
@keyframes pv-knob { 0%, 30% { transform: translateX(0); } 45%, 85% { transform: translateX(24px); } 100% { transform: translateX(0); } }

/* ══════════════════════════════════════════════════════════════════════
   7 · SECTORES — escenario fotográfico con HUD
   ══════════════════════════════════════════════════════════════════════ */
.sec-spot { position: relative; }
.sec-spot-stage { position: relative; overflow: hidden; border-radius: 34px; min-height: clamp(460px, 46vw, 640px); background: #0b1631;
  box-shadow: 0 50px 100px -50px rgba(4, 8, 22, 0.7); touch-action: pan-y; }
.sec-spot-media, .sec-spot-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sec-spot-media img { object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.1s var(--ease), transform 7s linear; }
.sec-spot-media img.is-on { opacity: 1; transform: scale(1.0); }
.sec-spot-stage::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 8, 22, 0.78) 0%, rgba(4, 8, 22, 0.35) 45%, transparent 70%), linear-gradient(180deg, transparent 55%, rgba(4, 8, 22, 0.55)); }
.sec-spot-hud { position: absolute; inset: clamp(1rem, 2vw, 1.75rem); z-index: 2; pointer-events: none; }
.hud-c { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(255, 255, 255, 0.7); }
.hud-tl { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 10px; }
.hud-tr { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 10px; }
.hud-bl { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 10px; }
.hud-br { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 10px; }
.hud-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.9), transparent); box-shadow: 0 0 18px rgba(34, 211, 238, 0.7); animation: sx-scan 6s var(--ease) infinite; opacity: 0.8; }
@keyframes sx-scan { 0% { top: 0; opacity: 0; } 10% { opacity: 0.9; } 90% { opacity: 0.9; } 100% { top: 100%; opacity: 0; } }
.sec-spot-copy {
  position: absolute; z-index: 3; left: clamp(1.25rem, 3.5vw, 3rem); bottom: clamp(5.75rem, 9vw, 7rem); width: min(520px, calc(100% - 2.5rem));
  display: grid; gap: 0.65rem; padding: clamp(1.25rem, 2.5vw, 1.9rem); border-radius: 24px; color: #fff;
  background: linear-gradient(180deg, rgba(10, 18, 42, 0.55), rgba(6, 12, 30, 0.72)); border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
}
.sec-spot-copy > * { transition: opacity 0.4s var(--ease), transform 0.55s var(--ease-out); }
.sec-spot.is-swap .sec-spot-copy > * { opacity: 0; transform: translateY(8px); }
.sec-spot-index { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; color: #8be9ff; }
.sec-kicker { font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #b8c4e2; }
.sec-spot-copy h3 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); font-weight: 750; letter-spacing: -0.045em; line-height: 1.04; color: #fff; }
.sec-spot-copy p { color: #d3dcf2; font-size: 1.04rem; line-height: 1.6; }
.sec-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sec-chip { padding: 0.35rem 0.7rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; color: #eef3ff; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); }
.sec-cta { display: inline-flex; align-items: center; gap: 0.5rem; width: fit-content; margin-top: 0.35rem; padding: 0.7rem 1.1rem; border-radius: 13px; font-weight: 700; font-size: 0.92rem; color: #fff; background: var(--grad); box-shadow: 0 12px 30px -12px rgba(59, 109, 255, 0.9); transition: translate 0.3s var(--ease), box-shadow 0.3s; }
.sec-cta:hover { translate: 0 -2px; box-shadow: 0 16px 36px -12px rgba(34, 211, 238, 0.8); }
.sec-spot-nav {
  position: relative; z-index: 4; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.35rem;
  width: calc(100% - clamp(2rem, 5vw, 4rem)); margin: -4.5rem auto 0; padding: 0.4rem; border-radius: 22px;
  background: var(--glass-solid); border: 1px solid var(--nav-border);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 24px 50px -24px rgba(0, 0, 0, 0.6);
}
.sec-spot-tab { position: relative; display: grid; gap: 0.15rem; justify-items: start; text-align: left; padding: 0.75rem 0.85rem 0.95rem; border-radius: 16px; cursor: pointer; overflow: hidden;
  background: transparent; border: 0; font: inherit; color: var(--t2); transition: background 0.3s, color 0.3s; }
.sec-spot-tab .n { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; color: var(--ac); }
.sec-spot-tab-l { font-size: 0.86rem; font-weight: 650; line-height: 1.25; }
.sec-spot-tab:hover { background: var(--overlay-soft); color: var(--t1); }
.sec-spot-tab.is-on { color: var(--t1); background: rgba(var(--ac-rgb), 0.12); }
.sec-spot-prog { position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.4rem; height: 2px; border-radius: 2px; background: var(--b1); overflow: hidden; opacity: 0; }
.sec-spot-prog i { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--grad); }
.sec-spot-tab.is-on .sec-spot-prog { opacity: 1; }
.sec-spot.is-auto .sec-spot-tab.is-on .sec-spot-prog i { animation: cs-prog var(--sx-dur, 4.8s) linear forwards; }

/* ══════════════════════════════════════════════════════════════════════
   8 · POR QUÉ — manifiesto tipográfico + atributos conectados
   ══════════════════════════════════════════════════════════════════════ */
.wy { overflow: hidden; background: linear-gradient(180deg, transparent, rgba(var(--ac-rgb), 0.05) 40%, transparent); }
#por-que .why-manifesto { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; padding: 0; background: none; border: 0; color: var(--t1); overflow: visible; }
#por-que .why-manifesto::before { display: none; }
#por-que .why-quote { font-size: clamp(2.3rem, 5vw, 4.6rem); font-weight: 750; letter-spacing: -0.05em; line-height: 1.02; color: var(--t1); margin: 0 0 1.75rem; max-width: 18ch; }
.why-word { display: inline-block; white-space: nowrap; }
.why-br { display: block; height: 0.2em; }
.why-quote .ch { display: inline-block; opacity: 0.12; filter: blur(4px); transform: translateY(0.12em); transition: opacity 0.6s var(--ease), filter 0.7s var(--ease), transform 0.7s var(--ease-out), color 0.6s; }
.why-quote.is-on .ch { opacity: 1; filter: none; transform: none; }
.why-quote .ch.is-hit { color: var(--ac); }
.why-quote.is-on .ch.is-hit { text-shadow: 0 0 30px rgba(var(--ac-rgb), 0.45); }
.why-lead { color: var(--t2); font-size: 1.12rem; line-height: 1.75; max-width: 56ch; margin-bottom: 1.6rem; }
.why-gc-cta { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.2rem; border-radius: 14px; font-weight: 700; color: var(--t1);
  background: var(--glass); border: 1px solid var(--b2); box-shadow: inset 0 1px 0 var(--glass-hi); transition: border-color 0.3s, translate 0.3s var(--ease), box-shadow 0.3s; }
.why-gc-cta:hover { translate: 0 -2px; border-color: rgba(var(--ac-rgb), 0.6); box-shadow: 0 16px 36px -18px rgba(var(--ac-rgb), 0.8); }
.why-attrs { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.why-net { position: absolute; inset: -10px; width: calc(100% + 20px); height: calc(100% + 20px); z-index: 0; pointer-events: none; }
.why-attr { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; padding: 1.25rem 1.2rem; border-radius: 20px;
  background: var(--glass-solid); border: 1px solid var(--b1); box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-sm);
  transition: transform 0.5s var(--ease-out), border-color 0.3s, box-shadow 0.4s; }
.why-attr:hover, .why-attr.is-lit { transform: translateY(-4px); border-color: rgba(var(--ac-rgb), 0.55); box-shadow: inset 0 1px 0 var(--glass-hi), 0 24px 50px -30px rgba(var(--ac-rgb), 0.9); }
.why-attr-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(59, 109, 255, 0.9); }
.why-attr-ico svg { width: 21px; height: 21px; }
.why-attr strong { display: block; font-size: 1rem; font-weight: 750; letter-spacing: -0.01em; margin-bottom: 0.2rem; }
.why-attr p { color: var(--t2); font-size: 0.9rem; line-height: 1.55; }

/* ══════════════════════════════════════════════════════════════════════
   9 · CONSTRUIR — configurador conectado
   ══════════════════════════════════════════════════════════════════════ */
.bd { position: relative; overflow: hidden; isolation: isolate; }
.bd::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 85% 50%, rgba(59, 109, 255, 0.25), transparent 70%), radial-gradient(40% 50% at 0% 0%, rgba(139, 123, 255, 0.16), transparent 70%); }
.build-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.build-badge { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.85rem; border-radius: 999px; margin-bottom: 1.4rem;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #cfe0ff;
  background: rgba(140, 170, 255, 0.08); border: 1px solid rgba(140, 170, 255, 0.24); }
.build-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); animation: hx-blink 2s ease-in-out infinite; }
.build-copy h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); font-weight: 750; letter-spacing: -0.048em; line-height: 1.03; margin-bottom: 1.2rem; color: #fff; text-wrap: balance; }
.build-lead { color: #b8c4e2; font-size: 1.06rem; line-height: 1.75; margin-bottom: 1.8rem; max-width: 60ch; }
.build-lead a { color: #fff; font-weight: 650; background: linear-gradient(90deg, #3b6dff, #22d3ee) 0 100% / 100% 1.5px no-repeat; }
.build-ask { font-size: 1.3rem; font-weight: 750; letter-spacing: -0.02em; color: #fff; }
.build-ask-sub { color: #8090b4; font-size: 0.88rem; margin: 0.15rem 0 1rem; }
.build-pills { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.build-pill {
  --pc: #22d3ee; display: inline-flex; align-items: center; gap: 0.55rem; min-height: 46px; padding: 0 1.05rem 0 0.9rem; border-radius: 14px; cursor: pointer;
  font: inherit; font-size: 0.92rem; font-weight: 650; color: #dbe5ff; background: rgba(140, 170, 255, 0.07); border: 1px solid rgba(140, 170, 255, 0.24);
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.build-pill[data-accent="violet"] { --pc: #8b7bff; } .build-pill[data-accent="emerald"] { --pc: #34d399; } .build-pill[data-accent="amber"] { --pc: #fbbf24; }
.build-pill[data-accent="rose"] { --pc: #fb7185; } .build-pill[data-accent="sky"] { --pc: #38bdf8; }
.build-pill-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--pc); transition: background 0.3s, box-shadow 0.3s, transform 0.4s var(--ease-out); }
.build-pill:hover { transform: translateY(-2px); border-color: var(--pc); color: #fff; }
.build-pill.is-on { color: #fff; background: color-mix(in srgb, var(--pc) 22%, rgba(10, 18, 42, 0.6)); border-color: var(--pc); box-shadow: 0 10px 30px -14px var(--pc), inset 0 0 0 1px color-mix(in srgb, var(--pc) 40%, transparent); }
.build-pill.is-on .build-pill-dot { background: var(--pc); box-shadow: 0 0 12px var(--pc); transform: scale(1.15); }
.build-hint { color: #8090b4; font-size: 0.86rem; margin: 1rem 0 1.4rem; }
.build-cta { transition: opacity 0.4s var(--ease), translate 0.3s var(--ease), box-shadow 0.3s, filter 0.4s; }
.build-cta.is-dim { opacity: 0.55; }
.build-cta:not(.is-dim) { animation: bd-ready 0.8s var(--ease-out); }
@keyframes bd-ready { 0% { transform: scale(0.94); } 60% { transform: scale(1.04); } 100% { transform: none; } }
.build-visual { position: relative; aspect-ratio: 1; border-radius: 36px; overflow: hidden; border: 1px solid rgba(140, 170, 255, 0.22); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9); }
.build-photo, .build-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.build-photo img { object-fit: cover; transform: scale(1.06); }
.build-visual::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 50%, rgba(4, 8, 22, 0.2), rgba(4, 8, 22, 0.75) 75%); }
.build-graph { position: absolute; inset: 6%; z-index: 2; }
.bg-svg { width: 100%; height: 100%; overflow: visible; }
.bg-orbit { fill: none; stroke: rgba(140, 170, 255, 0.25); stroke-dasharray: 2 6; animation: ss-spin 60s linear infinite; transform-box: fill-box; transform-origin: center; }
.bg-orbit2 { stroke: rgba(34, 211, 238, 0.2); animation-direction: reverse; animation-duration: 40s; }
.bg-ring { stroke: rgba(140, 170, 255, 0.12); stroke-width: 1; transition: stroke 0.4s; }
.bg-ring.on { stroke: rgba(34, 211, 238, 0.55); }
.bg-spoke path { stroke: rgba(140, 170, 255, 0.22); stroke-width: 1.5; stroke-dasharray: 3 5; transition: stroke 0.4s; }
.bg-spoke .bg-pk { fill: #22d3ee; opacity: 0; transition: opacity 0.3s; filter: drop-shadow(0 0 5px #22d3ee); }
.bg-spoke.on path { stroke: #22d3ee; stroke-dasharray: none; filter: drop-shadow(0 0 4px rgba(34, 211, 238, 0.8)); }
.bg-spoke.on .bg-pk { opacity: 1; }
.bg-core-glow { fill: rgba(59, 109, 255, 0.25); animation: nv-hub 3s ease-in-out infinite; }
.bg-core-disc { fill: rgba(8, 14, 34, 0.9); stroke: rgba(140, 170, 255, 0.5); }
.bg-node { cursor: pointer; }
.bg-node .bg-halo { fill: transparent; transition: fill 0.4s; }
.bg-node .bg-disc { fill: rgba(8, 14, 34, 0.85); stroke: rgba(140, 170, 255, 0.4); stroke-width: 1.5; transition: fill 0.4s, stroke 0.4s; }
.bg-node .bg-ico { fill: none; stroke: #b8ccff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.4s; }
.bg-node:hover .bg-disc { stroke: #fff; }
.bg-node.on .bg-halo { fill: rgba(34, 211, 238, 0.14); }
.bg-node.on .bg-disc { fill: #2a5bff; stroke: #a5f3fc; }
.bg-node.on .bg-ico { stroke: #fff; }
.build-graph::before { content: ''; position: absolute; left: 50%; top: 50%; width: 19%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 1;
  background: url(/images/favicon-shipshift.png) center / 62% no-repeat; pointer-events: none; filter: drop-shadow(0 4px 14px rgba(255, 138, 61, 0.55)); }

/* ══════════════════════════════════════════════════════════════════════
   10 · EDITORIAL — qué hace / comparativa / dónde / FAQ
   ══════════════════════════════════════════════════════════════════════ */
.qh-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.qh-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.qh-head h2 { margin-bottom: 2rem; }
.qh-body .section-lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--t1); line-height: 1.6; margin-bottom: 1.6rem; max-width: none; }
.qh-body p { color: var(--t2); font-size: 1.06rem; line-height: 1.85; margin-bottom: 1.25rem; }
.qh-body p strong { color: var(--t1); }
.qh-body a { color: var(--t1); font-weight: 650; background: linear-gradient(90deg, var(--blue), var(--cyan)) 0 100% / 100% 1.5px no-repeat; transition: background-size 0.35s var(--ease), color 0.2s; }
.qh-body a:hover { color: var(--ac); }
.qh-stack { position: relative; width: min(100%, 340px); aspect-ratio: 1; margin-top: 1rem; perspective: 1200px; }
.qh-layer {
  position: absolute; left: 12%; top: 12%; width: 76%; height: 76%; border-radius: 26px;
  background: var(--glass); border: 1px solid rgba(var(--ac-rgb), 0.35);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 30px 60px -30px rgba(var(--ac-rgb), 0.6);
  transform: rotateX(58deg) rotateZ(-42deg) translateZ(var(--z, 0px)); transform-style: preserve-3d;
  transition: transform 0.9s var(--ease-out), box-shadow 0.6s;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.qh-l1 { --z: 90px; background: linear-gradient(135deg, rgba(59, 109, 255, 0.55), rgba(34, 211, 238, 0.35)); }
.qh-l2 { --z: 45px; }
.qh-l3 { --z: 0px; }
.qh-stack:hover .qh-l1, .qh-stack.is-open .qh-l1 { --z: 150px; }
.qh-stack:hover .qh-l2, .qh-stack.is-open .qh-l2 { --z: 75px; }
.qh-layer i { position: absolute; border-radius: 50%; width: 12px; height: 12px; background: var(--cy); box-shadow: 0 0 14px var(--cy); }
.qh-l1 i { left: 50%; top: 50%; width: 30%; height: 30%; margin: -15% 0 0 -15%; background: radial-gradient(circle, #fff, rgba(255, 255, 255, 0.2) 60%, transparent 70%); box-shadow: none; animation: nv-hub 3s ease-in-out infinite; }
.qh-l2 i:nth-child(1) { left: 20%; top: 25%; } .qh-l2 i:nth-child(2) { left: 70%; top: 30%; } .qh-l2 i:nth-child(3) { left: 45%; top: 72%; }
.qh-l3 i:nth-child(1) { left: 12%; top: 12%; } .qh-l3 i:nth-child(2) { left: 82%; top: 14%; } .qh-l3 i:nth-child(3) { left: 14%; top: 82%; } .qh-l3 i:nth-child(4) { left: 84%; top: 84%; }
.qh-l3::before, .qh-l2::before { content: ''; position: absolute; inset: 14%; border-radius: 14px; border: 1px dashed rgba(var(--ac-rgb), 0.45); }
.qh--pad .qh-head { position: static; }

/* Comparativa */
.cmp-wrap { border-radius: 26px; background: #fff; border: 1px solid rgba(16, 38, 96, 0.1); box-shadow: 0 30px 70px -40px rgba(18, 40, 110, 0.45); }
.cmp-wrap .svc-table { min-width: 720px; font-size: 0.98rem; }
.cmp-wrap .svc-table thead th { background: transparent; color: #5f6d90; padding-top: 1.3rem; padding-bottom: 1.1rem; }
.cmp-wrap .svc-table th, .cmp-wrap .svc-table td { padding: 1.05rem 1.35rem; border-bottom: 1px solid rgba(16, 38, 96, 0.08); }
.cmp-wrap .svc-table tbody th { color: #0a1430; font-weight: 700; white-space: nowrap; }
.cmp-wrap .svc-table td { color: #4a5677; }
.cmp-wrap .svc-table th:last-child, .cmp-wrap .svc-table td:last-child { position: relative; color: #0a1430; font-weight: 700; background: linear-gradient(180deg, rgba(59, 109, 255, 0.08), rgba(34, 211, 238, 0.08)); }
.cmp-wrap .svc-table thead th:last-child { color: #fff; background: var(--grad); border-radius: 18px 18px 0 0; letter-spacing: 0.12em; }
.cmp-wrap .svc-table td:last-child::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 0.55rem; vertical-align: 0.1em; transform: rotate(45deg); background: #22d3ee; box-shadow: 0 0 8px #22d3ee; }
.cmp-wrap .svc-table tbody tr:hover td:last-child { background: linear-gradient(180deg, rgba(59, 109, 255, 0.16), rgba(34, 211, 238, 0.14)); }

/* Dónde trabajamos */
.dw-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.dw-copy .section-lead { margin-bottom: 1.8rem; }
.dw-copy .section-lead a { color: var(--t1); font-weight: 650; background: linear-gradient(90deg, var(--blue), var(--cyan)) 0 100% / 100% 1.5px no-repeat; transition: color 0.2s, background-size 0.35s; padding-bottom: 1px; }
.dw-copy .section-lead a:hover, .dw-copy .section-lead a.is-hot { color: var(--ac); background-size: 100% 100%; background-image: linear-gradient(90deg, rgba(var(--blue-rgb), 0.16), rgba(var(--cyan-rgb), 0.16)); }
.dw-photo { position: relative; margin: 0; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.dw-photo img, .dw-photo picture { width: 100%; height: 100%; }
.dw-photo img { object-fit: cover; transition: transform 1.4s var(--ease-out); }
.dw-photo:hover img { transform: scale(1.06); }
.dw-map { position: relative; padding: clamp(1rem, 3vw, 2.25rem); border-radius: 32px; background: var(--glass); border: 1px solid var(--b1);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow); overflow: hidden; }
.dw-map::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 60% at 85% 25%, rgba(var(--cyan-rgb), 0.12), transparent 70%); }
.mp-svg { width: 100%; height: auto; overflow: visible; transform-origin: 82% 25%; transition: transform 1.2s var(--ease-out); }
.dw-map:hover .mp-svg, .dw-map.is-zoom .mp-svg { transform: scale(1.12); }
.mp-d { fill: none; stroke: rgba(var(--ac-rgb), 0.55); stroke-width: 3.2; stroke-linecap: round; }
.mp-pt { stroke: rgba(var(--ac-rgb), 0.16); }
.mp-glow { opacity: 0.9; }
.mp-arc { fill: none; stroke: var(--cy); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 4 6; opacity: 0.85; animation: nv-dash 1.6s linear infinite; }
.mp-end { fill: var(--cy); opacity: 0.85; }
.mp-pin .mp-core { fill: #fff; stroke: var(--blue); stroke-width: 2.4; }
.mp-pin .mp-ring { fill: rgba(var(--blue-rgb), 0.25); stroke: rgba(var(--blue-rgb), 0.6); }
.mp-pin .mp-pulse { fill: none; stroke: var(--cy); stroke-width: 1.5; animation: nv-pulse 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.mp-pin.is-hq .mp-core { fill: var(--brand); stroke: #fff; }
.mp-pin.is-link { cursor: pointer; }
.mp-pin.is-link .mp-ring { transition: transform 0.4s var(--ease-out); transform-box: fill-box; transform-origin: center; }
.mp-pin.is-link:hover .mp-ring, .mp-pin.is-hot .mp-ring { transform: scale(1.6); fill: rgba(var(--cyan-rgb), 0.3); }
.dw-tip { position: absolute; left: 0; top: 0; z-index: 3; padding: 0.4rem 0.7rem; border-radius: 10px; pointer-events: none; white-space: nowrap;
  font-size: 0.82rem; font-weight: 700; color: #fff; background: rgba(8, 14, 34, 0.92); border: 1px solid rgba(140, 170, 255, 0.3);
  transform: translate(-50%, calc(-100% - 14px)); opacity: 0; transition: opacity 0.25s; }
.dw-tip.is-on { opacity: 1; }

/* FAQ */
.fq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.fq-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.fq-list { margin-top: 0; }

/* ══════════════════════════════════════════════════════════════════════
   11 · CTA FINAL
   ══════════════════════════════════════════════════════════════════════ */
.fc { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(560px, 80vh, 820px); display: flex; flex-direction: column; justify-content: center;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(6rem, 10vw, 8rem); color: #fff; background: var(--deep); }
.fc-bg { position: absolute; inset: 0; z-index: -1; }
.fc-photo, .fc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.fc-photo img { object-fit: cover; transform: scale(1.08) translate3d(0, var(--py, 0px), 0); }
.fc-tint { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(4, 8, 22, 0.92) 0%, rgba(4, 8, 22, 0.7) 40%, rgba(4, 8, 22, 0.15) 75%, rgba(4, 8, 22, 0.25) 100%),
  linear-gradient(180deg, var(--bg) 0%, transparent 16%, transparent 72%, rgba(4, 8, 22, 0.85) 100%); }
.fc-inner { position: relative; }
.fc h2 { font-size: clamp(2.6rem, 6.6vw, 6rem); font-weight: 750; letter-spacing: -0.055em; line-height: 0.98; max-width: 14ch; margin-bottom: 1.4rem; text-wrap: balance; }
.fc p { color: #c9d4ee; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.65; max-width: 50ch; margin-bottom: 2.2rem; }
.fc .btn { min-height: 60px; padding: 0 2.2rem; font-size: 1.05rem; border-radius: 18px; }
.cta-ticker { position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; padding: 1rem 0; border-top: 1px solid rgba(140, 170, 255, 0.16);
  background: rgba(4, 8, 22, 0.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.cta-ticker-track { display: flex; width: max-content; animation: ss-marquee 40s linear infinite; }
.cta-ticker-track span { display: inline-flex; align-items: center; gap: 1.5rem; padding-right: 1.5rem; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #b8c4e2; white-space: nowrap; }
.cta-ticker-track span::after { content: ''; width: 6px; height: 6px; transform: rotate(45deg); background: #22d3ee; box-shadow: 0 0 10px #22d3ee; }

.more-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.5rem; padding: 2rem var(--gutter); }
.more-links .svc-p { margin: 0; font-size: 0.92rem; }

/* ══════════════════════════════════════════════════════════════════════
   12 · INTRO + espina de navegación
   ══════════════════════════════════════════════════════════════════════ */
.ss-intro { display: none; }
html.js .ss-intro { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 50%, #0b1838, #040816 70%); transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s; }
.ss-intro-inner { display: grid; justify-items: center; gap: 1.25rem; }
.ss-intro-logo { width: min(260px, 56vw); height: auto; opacity: 0; transform: scale(0.92); transition: opacity 0.8s var(--ease), transform 1.2s var(--ease-out); }
.ss-intro-line { width: min(320px, 70vw); height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #3b6dff, #22d3ee, transparent); transform: scaleX(0); transition: transform 1.1s var(--ease-out) 0.25s; box-shadow: 0 0 18px rgba(34, 211, 238, 0.7); }
.ss-intro-tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: #8fb0ff; opacity: 0; transform: translateY(8px); transition: opacity 0.7s var(--ease) 0.5s, transform 0.8s var(--ease-out) 0.5s; }
.ss-intro.is-ready .ss-intro-logo { opacity: 1; transform: none; }
.ss-intro.is-ready .ss-intro-line { transform: scaleX(1); }
.ss-intro.is-ready .ss-intro-tag { opacity: 1; transform: none; }
.ss-intro.is-exit { opacity: 0; visibility: hidden; }
.ss-intro.is-exit .ss-intro-inner { transform: scale(1.04); transition: transform 0.6s var(--ease); }
body.ss-intro-lock { overflow: hidden; }

.hm-spine { position: fixed; right: 22px; top: 50%; z-index: 150; transform: translateY(-50%); display: none; flex-direction: column; align-items: flex-end; gap: 14px; padding: 6px 0; }
.hm-spine::before { content: ''; position: absolute; right: 5px; top: 0; bottom: 0; width: 1px; background: var(--b2); }
.hm-spine::after { content: ''; position: absolute; right: 5px; top: 0; width: 1px; height: calc(var(--sp, 0) * 100%); background: linear-gradient(180deg, var(--cyan), var(--blue)); box-shadow: 0 0 8px rgba(34, 211, 238, 0.8); }
.hm-spine button { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 0; background: none; border: 0; cursor: pointer; }
.hm-spine button i { width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--b2); transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease-out); }
.hm-spine button span { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t2); padding: 0.3rem 0.55rem; border-radius: 8px;
  background: var(--glass-solid); border: 1px solid var(--b1); opacity: 0; transform: translateX(6px); transition: opacity 0.25s, transform 0.35s var(--ease-out); white-space: nowrap; pointer-events: none; }
.hm-spine button:hover span, .hm-spine button:focus-visible span { opacity: 1; transform: none; }
.hm-spine button:hover i { transform: scale(1.3); border-color: var(--cyan); }
.hm-spine button.is-on i { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18), 0 0 12px rgba(34, 211, 238, 0.9); }
.hm-spine.is-dark button i { background: #040816; }
@media (min-width: 1360px) { .hm-spine { display: flex; } }

/* ══════════════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hx-copy { max-width: 100%; }
  .hx { --hx-band: clamp(240px, 50vw, 360px); justify-content: flex-start; padding-top: calc(var(--nav-h) + 48px + var(--hx-band)); padding-bottom: 170px; }
  .hx-tint { background:
    linear-gradient(180deg, rgba(4, 8, 22, 0.45) 0%, rgba(4, 8, 22, 0.2) 22%, rgba(4, 8, 22, 0.86) 42%, rgba(4, 8, 22, 0.92) 85%, var(--bg) 100%),
    radial-gradient(70% 34% at 50% 22%, rgba(59, 109, 255, 0.32), transparent 70%); }
  .hx-photo img { object-position: 60% 20%; }
  .sec-head--split { grid-template-columns: 1fr; align-items: start; }
  .nd-docs { grid-column: span 12; grid-row: auto; }
  .nd-chat, .nd-plan, .nd-dash, .nd-int, .nd-ui { grid-column: span 6; }
  .caso-stage { grid-template-columns: 1fr; }
  .caso-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
  .caso-rail-btn { grid-template-columns: 1fr; }
  .caso-rail-thumb { width: 100%; aspect-ratio: 16 / 9; }
  .pw-card { grid-template-columns: 1fr; }
  .pw-card-media::after { background: linear-gradient(180deg, transparent 55%, rgba(8, 14, 34, 0.9)); }
  .sec-spot-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0.75rem; width: 100%; }
  .sec-spot-copy { bottom: clamp(1.25rem, 3vw, 2rem); }
  #por-que .why-manifesto, .build-stage, .qh-grid, .dw-grid, .fq-grid { grid-template-columns: 1fr; }
  .qh-head, .fq-head { position: static; }
  .qh-stack { width: min(260px, 70%); margin: 0 auto; }
  .build-visual { max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 760px) {
  .hx { min-height: 100svh; padding-bottom: 150px; }
  .hx { --hx-band: clamp(260px, 62vw, 360px); }
  .hx-node { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
  .hx-node img { width: 18px; height: 18px; }
  .hx-core { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .hx-core img { width: 34px; height: 34px; }
  .hx-core::after { inset: -20px; }
  .hero-display { font-size: clamp(2.5rem, 11.5vw, 3.6rem); }
  .hero-kicker { font-size: 0.62rem; letter-spacing: 0.1em; }
  .hero-scroll { bottom: 98px; }
  .hx .btn { width: 100%; }
  .tb { margin-top: -70px; }
  .tb-dock { grid-template-columns: 1fr; padding: 1rem; gap: 0.9rem; }
  .tb-head { grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .need-grid { display: flex; gap: 0.85rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0.5rem var(--gutter) 1.5rem; scrollbar-width: none; }
  .need-grid::-webkit-scrollbar { display: none; }
  .need-card { flex: 0 0 84%; scroll-snap-align: center; }
  .need-media, .nd-docs .need-media { min-height: 250px; }
  .need-viz, .nd-docs .need-viz { width: 82%; right: 0.75rem; bottom: 0.75rem; }
  .caso-feature { min-height: 0; display: flex; flex-direction: column; border-radius: 26px; }
  .caso-feature-media { position: relative; height: 300px; }
  .caso-window { width: 74%; right: 0.75rem; top: 0.75rem; transform: none; }
  .caso-feature-copy { position: relative; left: auto; bottom: auto; width: auto; border-radius: 0; border: 0; border-top: 1px solid rgba(140, 170, 255, 0.16); background: rgba(8, 14, 34, 0.94); }
  .caso-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .caso-rail::-webkit-scrollbar { display: none; }
  .caso-rail-btn { flex: 0 0 74%; scroll-snap-align: start; }
  .shots-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.75rem; margin: 0 calc(var(--gutter) * -1); padding: 1.5rem var(--gutter) 2rem; scrollbar-width: none; perspective: none; }
  .shots-rail::-webkit-scrollbar { display: none; }
  .shots-rail .phone-shot, .shots-rail .phone-shot:nth-child(n) { flex: 0 0 82%; scroll-snap-align: center; transform: none; min-height: 440px; }
  .pr-track { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; }
  .pr-line { display: none; }
  .pw-leg { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; padding: 0.6rem; border-radius: 16px; background: rgba(140, 170, 255, 0.05); border: 1px solid rgba(140, 170, 255, 0.12); }
  .pw-leg.is-on { border-color: rgba(34, 211, 238, 0.45); }
  .pw-node { width: 40px; height: 40px; grid-row: span 2; }
  .pw-bar { left: 0.6rem; right: 0.6rem; bottom: 0.3rem; }
  .pw-card-media { min-height: 280px; }
  .pw-scene { width: calc(100% - 2rem); }
  .sec-spot-stage { min-height: 600px; border-radius: 26px; }
  .sec-spot-stage::after { background: linear-gradient(180deg, transparent 20%, rgba(4, 8, 22, 0.88) 70%); }
  .sec-spot-copy { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; width: auto; }
  .sec-spot-nav { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .sec-spot-nav::-webkit-scrollbar { display: none; }
  .sec-spot-tab { flex: 0 0 auto; scroll-snap-align: start; }
  .hud-c { width: 18px; height: 18px; }
  .why-attrs { grid-template-columns: 1fr; }
  .build-visual { border-radius: 28px; }
  .fc h2 { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .fc .btn { width: 100%; }
  .fc-tint { background: linear-gradient(180deg, var(--bg) 0%, rgba(4, 8, 22, 0.6) 18%, rgba(4, 8, 22, 0.75) 60%, rgba(4, 8, 22, 0.92) 100%); }
}

@media (prefers-reduced-motion: reduce) {
  html.js .hx .hero-kicker, html.js .hx .hero-line, html.js .hx .hero-lead, html.js .hx .hero-ctas, html.js .hx .hero-scroll, html.js .hx-stage { opacity: 1; animation: none !important; clip-path: none; }
  .hero-line-end { animation: none; }
  .why-quote .ch { opacity: 1; filter: none; transform: none; }
  .bubble.out { opacity: 1; transform: none; }
  .nv-scan, .nv-chip, .nv-hpulse, .cv-messy { display: none; }
  .nv-b, .nv-row, .nv-total, .nv-dim, .nv-blk, .nv-line-s, .nv-ok, .cv-li, .cv-seal, .cv-pt, .cv-meas circle, .pv-mn, .pv-seal, .nv-area, .nv-tip, .cv-fore, .cv-band { opacity: 1 !important; }
  .nv-room, .nv-line, .cv-wall, .cv-pipe, .cv-fit, .pv-map, .pv-box, .pv-arrow { stroke-dashoffset: 0 !important; }
  .cv-path-glow { stroke-dashoffset: 0 !important; }
  .caso-feature-media > img, .sec-spot-media img { animation: none; transition: opacity 0.3s; transform: none; }
}
