/* ==========================================================================
   GRUPO LAVEY — viasegura.io
   Sistema visual "Product OS": oscuro, preciso, con señales luminosas.
   Tipografía: Geist (texto/display) · Instrument Serif (acentos) · Geist Mono (sistema)
   ========================================================================== */

:root {
  --bg: #04060c;
  --bg-1: #070b16;
  --bg-2: #0b1222;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.045);
  --line: rgba(160, 180, 220, 0.11);
  --line-2: rgba(160, 180, 220, 0.2);
  --line-3: rgba(160, 180, 220, 0.32);

  --ink: #eef2fa;
  --ink-2: #c2cadb;
  --muted: #8a94a9;
  --dim: #5d6680;

  --blue: #3d7bff;
  --blue-2: #2a5bd6;
  --blue-deep: #0c2461;
  --blue-ink: #9fb9ff;
  --cyan: #39d0ff;
  --green: #2cf5a0;
  --green-2: #14c985;
  --amber: #ffcf6b;

  --grad: linear-gradient(100deg, #2cf5a0 0%, #39d0ff 48%, #6f95ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(44, 245, 160, 0.16), rgba(61, 123, 255, 0.16));

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 36px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  color-scheme: dark;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, figure, dl, dd, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: rgba(44, 245, 160, 0.28); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
body.menu-open { overflow: hidden; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--green); color: #02130b; font-weight: 600;
  transform: translateY(-160%); transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; }

.noise {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.035;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Tipografía de sistema ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.kicker-idx { color: var(--green); }
.kicker-idx::before { content: "["; color: var(--dim); }
.kicker-idx::after { content: "]"; color: var(--dim); }
.kicker-line { width: 36px; height: 1px; background: var(--line-3); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-2);
}
.pulse-dot {
  position: relative; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 12px var(--green);
}
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--green); opacity: 0;
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.2); opacity: 0; } }

.h-section {
  font-size: clamp(2.1rem, 4.6vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
  text-wrap: balance;
}
.h-sub {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.15; letter-spacing: -0.03em; font-weight: 500;
}
.accent {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; padding-right: 0.06em;
}
.lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.7; color: var(--ink-2); }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); }

/* ---------- Botones ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px; border: 0;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.3s, border-color 0.3s, color 0.3s;
}
.btn-arrow { width: 16px; height: 16px; transition: transform 0.4s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--green); color: #03150d;
  box-shadow: 0 0 0 1px rgba(44, 245, 160, 0.5), 0 12px 40px -12px rgba(44, 245, 160, 0.6);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.55) 45%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease-out);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(44, 245, 160, 0.8), 0 18px 50px -12px rgba(44, 245, 160, 0.75); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--line-3); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:active { transform: scale(0.98); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.is-scrolled, body.menu-open .site-header {
  background: rgba(4, 6, 12, 0.74);
  -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 40px; height: 32px; flex: none; filter: drop-shadow(0 0 10px rgba(46, 166, 255, 0.35)); transition: transform 0.5s var(--ease-out), filter 0.5s; }
.brand:hover .brand-mark { transform: translateY(-2px) rotate(-4deg); filter: drop-shadow(0 0 16px rgba(46, 230, 255, 0.55)); }
.brand-word { font-family: "Poppins", var(--f-sans); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; line-height: 1; color: #fff; }
.brand-word .lv, .footer-word--logo span {
  background: linear-gradient(90deg, #2f6bff, #2ee6ff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav {
  display: flex; align-items: center; gap: 2px; padding: 5px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.02);
}
.nav a {
  font-size: 14px; color: var(--ink-2); padding: 7px 14px; border-radius: 999px;
  transition: color 0.25s, background-color 0.25s;
}
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.nav a.is-active { color: var(--ink); background: rgba(255, 255, 255, 0.08); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03);
  align-items: center; justify-content: center;
}
.nav-toggle span { position: relative; width: 18px; height: 1.5px; background: var(--ink); transition: background-color 0.2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink);
  transition: transform 0.35s var(--ease-out);
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 16px) var(--gutter) 28px;
  background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(24px, 7vw, 36px); line-height: 1.2; letter-spacing: -0.03em; font-weight: 500;
}
.mobile-menu nav a span { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.mobile-menu .btn { margin-top: 24px; flex: none; }

@media (max-width: 1060px) {
  .nav, .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Revelado al hacer scroll ---------- */
.js .reveal {
  opacity: 0; transform: translate3d(0, 26px, 0);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(40px, 5vw, 64px);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 65% 35%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 65% 35%, #000 25%, transparent 75%);
  opacity: 0.55;
}
.aurora { position: absolute; border-radius: 50%; opacity: 0.55; will-change: transform; }
.aurora--blue {
  width: 62vw; height: 62vw; max-width: 900px; max-height: 900px;
  right: -18vw; top: -26vw;
  background: radial-gradient(circle, rgba(61, 123, 255, 0.55), rgba(12, 36, 97, 0.2) 55%, transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora--green {
  width: 40vw; height: 40vw; max-width: 620px; max-height: 620px;
  left: -14vw; bottom: -18vw;
  background: radial-gradient(circle, rgba(44, 245, 160, 0.28), transparent 65%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-4vw, 3vw, 0) scale(1.08); }
}
.hero-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px; align-items: center;
}
.hero-copy { grid-column: 1 / span 7; grid-row: 1; position: relative; z-index: 2; }
.hero-copy .eyebrow { margin-bottom: 32px; }
.hero-title { font-weight: 500; }
.hero-title .h1-pre {
  display: block; margin-bottom: 0.55em;
  font-size: clamp(1.2rem, 2vw, 1.75rem); line-height: 1.25;
  letter-spacing: -0.02em; color: var(--muted); font-weight: 400;
}
.hero-title .h1-main {
  display: block;
  font-size: clamp(2.5rem, 5.4vw, 5rem); line-height: 0.99;
  letter-spacing: -0.048em; color: var(--ink);
  text-wrap: balance;
}
.hero-title .accent { font-size: 1.08em; }
.caret {
  display: inline-block; width: 0.07em; height: 0.8em; margin-left: 0.08em;
  background: var(--green); vertical-align: -0.04em; border-radius: 2px;
  box-shadow: 0 0 18px var(--green);
  animation: caret 1.1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.hero-sub { max-width: 580px; margin: 30px 0 38px; font-size: clamp(1rem, 1.25vw, 1.14rem); line-height: 1.7; color: var(--ink-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { grid-column: 7 / span 6; grid-row: 1; position: relative; margin-right: calc(var(--gutter) * -0.5); }
.hero-meta {
  grid-column: 1 / -1; margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
}
.hero-meta li { padding-top: 18px; border-top: 1px solid var(--line-2); }
.hero-meta .mono { display: block; font-size: 11px; letter-spacing: 0.14em; color: var(--green); margin-bottom: 8px; }
.hero-meta p { font-size: 15px; color: var(--ink-2); line-height: 1.45; }

/* Visual del hero: ventana de producto con profundidad */
.hv {
  --tx: 0; --ty: 0;
  position: relative; aspect-ratio: 1 / 0.92; perspective: 1400px;
}
.hv-orbit {
  position: absolute; left: 50%; top: 50%; width: 118%; height: auto; aspect-ratio: 1;
  transform: translate(-50%, -50%); opacity: 0.7; pointer-events: none;
}
.hv-orbit circle { fill: none; stroke: var(--line-2); stroke-width: 1; }
.hv-orbit .dash { stroke-dasharray: 2 8; stroke: var(--line-3); }
.hv-orbit .node { stroke: none; fill: var(--blue-ink); }
.hv-orbit .node.g { fill: var(--green); filter: drop-shadow(0 0 6px var(--green)); }
.hv-orbit .spin { transform-origin: 300px 300px; animation: spin 40s linear infinite; }
.hv-orbit .spin.rev { animation-duration: 60s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hv-window {
  position: absolute; left: 7%; right: 0; top: 9%; bottom: 11%;
  display: flex; flex-direction: column;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 28, 52, 0.92), rgba(7, 11, 22, 0.96));
  border: 1px solid var(--line-2);
  box-shadow:
    0 70px 120px -40px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 0 120px -30px rgba(61, 123, 255, 0.45);
  transform: rotateY(calc(-13deg + var(--tx) * 6deg)) rotateX(calc(6deg - var(--ty) * 5deg));
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out);
}
.hv-bar {
  display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px;
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
}
.hv-dots { display: flex; gap: 6px; }
.hv-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.hv-url {
  flex: 1; max-width: 260px; margin-inline: auto; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); font-family: var(--f-mono); font-size: 10.5px;
  color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hv-badge { font-family: var(--f-mono); font-size: 10px; color: var(--green); letter-spacing: 0.1em; }
.hv-body { flex: 1; display: grid; grid-template-columns: 22% 1fr; min-height: 0; }
.hv-side { display: flex; flex-direction: column; gap: 12px; padding: 16px 12px; border-right: 1px solid var(--line); }
.hv-logo { width: 30px; height: 24px; margin-bottom: 6px; filter: drop-shadow(0 0 8px rgba(46, 166, 255, 0.45)); }
.sk-nav { display: flex; align-items: center; gap: 8px; }
.sk-nav i { width: 12px; height: 12px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); flex: none; }
.sk-nav b { height: 6px; flex: 1; border-radius: 4px; background: rgba(255, 255, 255, 0.08); }
.sk-nav.is-on i { background: var(--green); box-shadow: 0 0 10px rgba(44, 245, 160, 0.6); }
.sk-nav.is-on b { background: rgba(255, 255, 255, 0.22); }
.hv-main { display: flex; flex-direction: column; gap: 12px; padding: 16px; min-width: 0; }
.hv-head { display: flex; align-items: center; justify-content: space-between; }
.sk { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }
.sk-btn { width: 64px; height: 20px; border-radius: 999px; background: rgba(44, 245, 160, 0.18); box-shadow: inset 0 0 0 1px rgba(44, 245, 160, 0.4); }
.hv-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hv-kpi {
  display: flex; flex-direction: column; gap: 8px; padding: 12px;
  border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
}
.sk-num { display: block; width: 62%; height: 14px; border-radius: 4px; background: rgba(255, 255, 255, 0.2); }
.hv-trend { display: block; height: 4px; border-radius: 4px; width: 40%; background: var(--blue); }
.hv-trend.g { background: var(--green); width: 55%; }
.hv-chart {
  position: relative; flex: 1; min-height: 70px; border-radius: 10px; border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 100% 25%,
    rgba(255, 255, 255, 0.015);
  overflow: hidden;
}
.hv-chart svg { position: absolute; inset: 10px 0 0; width: 100%; height: calc(100% - 10px); }
.chart-line { fill: none; stroke: url(#hvStroke); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 620; stroke-dashoffset: 620; animation: draw 2.6s 0.6s var(--ease-out) forwards; }
.chart-area { fill: url(#hvFill); opacity: 0; animation: fadeIn 1.4s 1.6s forwards; }
.chart-dot { fill: var(--green); filter: drop-shadow(0 0 6px var(--green)); opacity: 0; animation: fadeIn 0.6s 2.8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.hv-rows { display: grid; gap: 8px; }
.hv-row { display: flex; align-items: center; gap: 10px; }
.hv-row .av { width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); flex: none; }
.hv-row .sk { flex: 1; }
.hv-row .pill { width: 44px; height: 14px; border-radius: 999px; flex: none; background: rgba(61, 123, 255, 0.25); }
.hv-row .pill.g { background: rgba(44, 245, 160, 0.22); }
.shimmer { position: relative; overflow: hidden; }
.shimmer::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: translateX(-100%); animation: shimmer 2.8s ease-in-out infinite;
}
@keyframes shimmer { 60%, 100% { transform: translateX(100%); } }

.ph-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 24px);
  padding: 6px 10px; border-radius: 8px; border: 1px dashed var(--line-3);
  background: rgba(4, 6, 12, 0.82);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.ph-tag::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--amber); flex: none; }

.hv-chip {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(10, 16, 32, 0.78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  font-size: 13px; color: var(--ink);
  transition: transform 0.6s var(--ease-out);
}
.hv-chip small { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.chip-ic {
  width: 32px; height: 32px; border-radius: 10px; flex: none;
  display: grid; place-items: center; background: var(--grad-soft); color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(44, 245, 160, 0.25);
}
.chip-ic svg { width: 16px; height: 16px; }
.hv-chip--ai { left: 0; top: 16%; transform: translate3d(calc(var(--tx) * -18px), calc(var(--ty) * -14px), 0); animation: float 7s ease-in-out infinite; }
.hv-chip--flow { right: -2%; top: 2%; transform: translate3d(calc(var(--tx) * 22px), calc(var(--ty) * 16px), 0); animation: float 8s 1s ease-in-out infinite; }
.hv-chip--graph { right: 8%; bottom: 0; transform: translate3d(calc(var(--tx) * 14px), calc(var(--ty) * 20px), 0); animation: float 9s 0.5s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.typing { display: inline-flex; gap: 4px; margin-left: 4px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.toggle { width: 30px; height: 18px; border-radius: 999px; background: var(--green); position: relative; flex: none; box-shadow: 0 0 14px rgba(44, 245, 160, 0.5); }
.toggle::after { content: ""; position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #03150d; }
.mini-graph { width: 96px; height: 28px; }
.mini-graph path { fill: none; stroke: var(--line-3); stroke-width: 1.2; stroke-dasharray: 3 4; animation: flow 1.2s linear infinite; }
.mini-graph circle { fill: var(--bg-2); stroke: var(--green); stroke-width: 1.5; }
.mini-graph circle.b { stroke: var(--blue-ink); }
@keyframes flow { to { stroke-dashoffset: -14; } }

/* ---------- Marquesina ---------- */
.marquee {
  border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.marquee li::after { content: ""; width: 6px; height: 6px; background: var(--green); transform: rotate(45deg); opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(96px, 12vw, 176px) 0; }
.section--tight { padding-top: clamp(48px, 6vw, 88px); }
.section-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px;
  align-items: end; margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .sh-title { grid-column: 1 / span 7; }
.section-head .sh-title .kicker { margin-bottom: 26px; }
.section-head .sh-text { grid-column: 9 / span 4; color: var(--ink-2); font-size: 1.05rem; line-height: 1.7; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* ---------- 01 · Quiénes somos ---------- */
.manifesto {
  max-width: 1120px;
  font-size: clamp(1.7rem, 3.5vw, 3.2rem); line-height: 1.14; letter-spacing: -0.035em; font-weight: 500;
  color: var(--ink);
}
.manifesto .hl { color: var(--green); }
.js .manifesto.is-split .w { color: rgba(238, 242, 250, 0.14); transition: color 0.45s var(--ease); }
.js .manifesto.is-split .w.is-lit { color: var(--ink); }
.js .manifesto.is-split .w.hl.is-lit { color: var(--green); }

.formula {
  margin-top: clamp(64px, 8vw, 112px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch; column-gap: 18px;
}
.f-item {
  position: relative; padding: 26px 0 0; border-top: 1px solid var(--line-2);
}
.f-item::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0;
  background: var(--grad); transition: width 0.9s var(--ease-out);
}
.f-item:hover::before, .f-item.is-in::before { width: 100%; }
.f-num { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.f-item h3 { margin: 14px 0 10px; font-size: 1.35rem; letter-spacing: -0.025em; font-weight: 500; }
.f-item p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.f-op {
  align-self: start; margin-top: 44px;
  font-family: var(--f-mono); font-size: 22px; color: var(--dim); font-weight: 300;
}
.f-result {
  grid-column: 1 / -1; margin-top: 40px; position: relative;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px); border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(44, 245, 160, 0.08), rgba(61, 123, 255, 0.08));
  border: 1px solid rgba(44, 245, 160, 0.22);
}
.f-result .eq { font-family: var(--f-mono); font-size: 28px; color: var(--green); line-height: 1; }
.f-result p { flex: 1; min-width: 240px; font-size: clamp(1.15rem, 1.9vw, 1.55rem); letter-spacing: -0.02em; line-height: 1.3; }

.principles {
  margin-top: clamp(96px, 11vw, 160px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px;
}
.principles-head { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--header-h) + 40px); }
.principles-head .h-sub { margin-top: 22px; }
.principles-head p { margin-top: 18px; color: var(--muted); }
.principles-list { grid-column: 6 / span 7; border-top: 1px solid var(--line); }
.principle {
  position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
  transition: padding-left 0.5s var(--ease-out);
}
.principle::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--green);
  transform: scaleY(0); transform-origin: top; transition: transform 0.5s var(--ease-out);
}
.principle:hover { padding-left: 16px; }
.principle:hover::before { transform: scaleY(1); }
.principle .mono { font-size: 12px; color: var(--green); padding-top: 6px; }
.principle h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.principle p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }

/* ---------- Tarjetas con foco de luz ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(44, 245, 160, 0.1), transparent 45%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(44, 245, 160, 0.65), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.spot:hover::before, .spot:hover::after, .spot:focus-visible::before, .spot:focus-visible::after { opacity: 1; }

/* ---------- 02 · Soluciones ---------- */
.sol-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px;
  grid-auto-rows: minmax(260px, auto);
}
.sol-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out), border-color 0.4s, background-color 0.4s;
  overflow: hidden;
}
.sol-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.sol-card--saas { grid-column: span 7; grid-row: span 2; }
.sol-card--mini { grid-column: span 5; }
.sol-card--ia { grid-column: span 5; }
.sol-card--auto { grid-column: span 5; }
.sol-card--eco { grid-column: span 7; }
.sol-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.sol-idx { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.sol-ic {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); color: var(--ink);
  transition: color 0.4s, border-color 0.4s, box-shadow 0.4s, transform 0.5s var(--ease-out);
}
.sol-ic svg { width: 22px; height: 22px; }
.sol-card:hover .sol-ic { color: var(--green); border-color: rgba(44, 245, 160, 0.45); box-shadow: 0 0 30px -6px rgba(44, 245, 160, 0.55); transform: rotate(-6deg); }
.sol-card h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); letter-spacing: -0.035em; font-weight: 500; line-height: 1.1; }
.sol-card--saas h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.sol-card p { margin-top: 12px; color: var(--muted); font-size: 15.5px; max-width: 46ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tag {
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-2);
}
.sol-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sol-more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color 0.3s; }
.sol-more svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease-out); }
.sol-card:hover .sol-more { color: var(--green); }
.sol-card:hover .sol-more svg { transform: translateX(5px); }

/* mini-visuales por tarjeta */
.viz { position: relative; flex: 1; min-height: 120px; }
.viz-stack { perspective: 900px; min-height: 230px; }
.viz-stack span {
  position: absolute; left: 8%; right: 8%; height: 58%; border-radius: 14px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(24, 36, 66, 0.9), rgba(8, 12, 24, 0.95));
  transition: transform 0.7s var(--ease-out);
}
.viz-stack span:nth-child(1) { top: 6%; transform: translateY(0) scale(0.86); opacity: 0.45; }
.viz-stack span:nth-child(2) { top: 18%; transform: scale(0.93); opacity: 0.7; }
.viz-stack span:nth-child(3) {
  top: 32%; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(61, 123, 255, 0.5);
  background:
    linear-gradient(90deg, rgba(44, 245, 160, 0.5), rgba(44, 245, 160, 0.5)) 16px 18px / 30% 6px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)) 16px 34px / 55% 6px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)) 16px 56px / 28% 44% no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)) 36% 56px / 28% 44% no-repeat,
    linear-gradient(rgba(61, 123, 255, 0.18), rgba(61, 123, 255, 0.18)) calc(100% - 16px) 56px / 28% 44% no-repeat,
    linear-gradient(180deg, rgba(24, 36, 66, 0.95), rgba(8, 12, 24, 0.98));
}
.sol-card:hover .viz-stack span:nth-child(1) { transform: translateY(-18px) scale(0.86); }
.sol-card:hover .viz-stack span:nth-child(2) { transform: translateY(-8px) scale(0.93); }
.sol-card:hover .viz-stack span:nth-child(3) { transform: translateY(6px); }

.viz-apps { display: grid; grid-template-columns: repeat(4, 38px); gap: 10px; align-content: center; min-height: 0; flex: none; }
.viz-apps i {
  width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03);
  transition: transform 0.5s var(--ease-out), background-color 0.4s, border-color 0.4s;
}
.viz-apps i.on { background: var(--grad-soft); border-color: rgba(44, 245, 160, 0.5); box-shadow: 0 0 24px -6px rgba(44, 245, 160, 0.6); }
.sol-card:hover .viz-apps i:nth-child(odd) { transform: translateY(-4px); }
.sol-card:hover .viz-apps i:nth-child(3n) { background: rgba(61, 123, 255, 0.18); border-color: rgba(61, 123, 255, 0.5); }

.viz-chat { display: grid; gap: 8px; max-width: 280px; flex: none; min-height: 0; }
.viz-chat span { display: block; height: 26px; border-radius: 10px 10px 10px 3px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.viz-chat span:nth-child(1) { width: 78%; }
.viz-chat span:nth-child(2) {
  width: 62%; justify-self: end; border-radius: 10px 10px 3px 10px;
  background: rgba(44, 245, 160, 0.1); border-color: rgba(44, 245, 160, 0.3);
  display: flex; align-items: center; padding-left: 10px;
}

.viz-flow svg { width: 100%; height: auto; max-height: 90px; }
.viz-flow path { fill: none; stroke: var(--line-3); stroke-width: 1.5; stroke-dasharray: 4 6; animation: flow 1.4s linear infinite; }
.viz-flow rect { fill: rgba(255, 255, 255, 0.03); stroke: var(--line-2); }
.viz-flow rect.g { stroke: rgba(44, 245, 160, 0.6); fill: rgba(44, 245, 160, 0.08); }
.viz-flow text { font-family: var(--f-mono); font-size: 10px; fill: var(--ink-2); letter-spacing: 0.06em; }
.viz-flow { flex: none; min-height: 0; }

.sol-eco-row { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 24px; align-items: center; }
.viz-hub svg { width: 100%; height: auto; }
.viz-hub line { stroke: var(--line-2); stroke-width: 1; }
.viz-hub circle { fill: var(--bg-1); stroke: var(--line-3); }
.viz-hub .core { fill: rgba(44, 245, 160, 0.14); stroke: var(--green); }
.viz-hub .orbit { transform-origin: 95px 95px; transition: transform 1.2s var(--ease-out); }
.sol-card:hover .viz-hub .orbit { transform: rotate(40deg); }

/* ---------- 03 · Ecosistema ---------- */
.eco-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: center; }
.eco-copy { grid-column: 1 / span 5; }
.eco-copy .kicker { margin-bottom: 26px; }
.eco-copy .lead { margin-top: 24px; }
.eco-allows { margin-top: 36px; display: grid; gap: 2px; }
.eco-allows li {
  display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line);
  font-size: 15.5px; color: var(--ink-2);
}
.eco-allows li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 6px;
  background: rgba(44, 245, 160, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232cf5a0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(44, 245, 160, 0.35);
}
.eco-visual { grid-column: 7 / span 6; }
.stack { position: relative; display: flex; flex-direction: column; align-items: center; }
.layer {
  position: relative; width: 100%; padding: 22px 24px; border-radius: 20px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
}
.layer:hover { transform: translateY(-4px); border-color: var(--line-3); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.layer--3 { width: 84%; }
.layer--2 { width: 92%; }
.layer--core {
  background:
    radial-gradient(120% 140% at 50% 120%, rgba(44, 245, 160, 0.22), transparent 55%),
    linear-gradient(180deg, rgba(20, 36, 78, 0.9), rgba(8, 14, 30, 0.95));
  border-color: rgba(44, 245, 160, 0.35);
  box-shadow: 0 0 80px -20px rgba(44, 245, 160, 0.3), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.layer-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.layer-label .mono { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.layer-title { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; }
.core-name { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 600; letter-spacing: 0.06em; }
.core-name span { color: var(--green); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px;
  border: 1px solid var(--line-2); background: rgba(4, 6, 12, 0.5);
  font-size: 13.5px; color: var(--ink-2);
}
.chip--live { border-color: rgba(44, 245, 160, 0.45); color: var(--ink); background: rgba(44, 245, 160, 0.07); }
.chip--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.chip--slot { border-style: dashed; color: var(--muted); }
.chip small { font-family: var(--f-mono); font-size: 10px; color: var(--muted); letter-spacing: 0.06em; }
.layer--3 .chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.layer--3 .chip { position: relative; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 12px; }
.layer--3 .chip--live { padding-left: 26px; }
.layer--3 .chip--live::before { position: absolute; left: 12px; top: 16px; }
.stack-link { position: relative; height: 38px; width: 60%; display: flex; justify-content: space-around; }
.stack-link i { position: relative; width: 1px; height: 100%; background: var(--line-2); overflow: hidden; }
.stack-link i::after {
  content: ""; position: absolute; left: -1px; width: 3px; height: 12px; border-radius: 3px;
  background: var(--green); box-shadow: 0 0 10px var(--green);
  animation: rise 2.2s linear infinite; bottom: -12px;
}
.stack-link i:nth-child(2)::after { animation-delay: 0.7s; }
.stack-link i:nth-child(3)::after { animation-delay: 1.4s; }
@keyframes rise { to { transform: translateY(-54px); } }

.catalog { margin-top: clamp(72px, 9vw, 120px); }
.catalog-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.catalog-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; }
.prod-card {
  display: flex; flex-direction: column; gap: 18px; min-height: 280px;
  padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.5s var(--ease-out), border-color 0.4s;
}
.prod-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.prod-card--featured {
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(61, 123, 255, 0.22), transparent 55%),
    radial-gradient(90% 100% at 0% 100%, rgba(44, 245, 160, 0.14), transparent 55%),
    var(--bg-1);
  border-color: rgba(44, 245, 160, 0.3);
}
.prod-card--slot { border-style: dashed; background: transparent; }
.prod-card--cta { background: var(--grad-soft); border-color: var(--line-2); }
.prod-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.prod-meta .mono { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.status {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); border: 1px solid rgba(44, 245, 160, 0.4); background: rgba(44, 245, 160, 0.06);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.status--soon { color: var(--muted); border-color: var(--line-2); background: transparent; }
.status--soon::before { box-shadow: none; }
.prod-card h3 { font-size: 1.9rem; letter-spacing: -0.03em; font-weight: 600; }
.prod-card--featured h3 { letter-spacing: 0.06em; }
.prod-card p { color: var(--muted); font-size: 15px; }
.prod-card .link-arrow { margin-top: auto; }

/* ---------- 04 · TARSIS ---------- */
.tarsis {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); border: 1px solid var(--line-2);
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(61, 123, 255, 0.3), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(44, 245, 160, 0.12), transparent 60%),
    linear-gradient(180deg, #081231, #050914 70%);
  padding: clamp(28px, 5vw, 72px);
}
.tarsis::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(160, 180, 220, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 180, 220, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.tarsis-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: center; }
.tarsis-intro { grid-column: 1 / span 5; }
.tarsis-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; }
.wordmark {
  font-size: clamp(3.4rem, 6.4vw, 6.4rem); line-height: 0.9; font-weight: 600; letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ffffff 30%, rgba(159, 185, 255, 0.55));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tarsis-tagline { margin-top: 18px; font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -0.025em; line-height: 1.2; font-weight: 500; }
.tarsis-intro .lead { margin-top: 18px; }
.tarsis-devices { grid-column: 6 / span 7; }

.devices { position: relative; aspect-ratio: 1.3; }
.device-browser {
  position: absolute; left: 0; top: 4%; width: 86%;
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(18, 28, 52, 0.95), rgba(7, 11, 22, 0.98));
  box-shadow: 0 60px 100px -40px rgba(0, 0, 0, 0.9);
  transition: transform 0.7s var(--ease-out);
}
.devices:hover .device-browser { transform: translate3d(-6px, -6px, 0); }
.device-browser .hv-bar { height: 32px; }
.agenda { display: grid; grid-template-columns: 34px repeat(5, minmax(0, 1fr)); gap: 6px; padding: 14px; aspect-ratio: 1.55; }
.agenda .day { height: 8px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); margin-bottom: 4px; }
.agenda .hour { height: 6px; width: 70%; border-radius: 3px; background: rgba(255, 255, 255, 0.06); align-self: start; }
.agenda .col { position: relative; border-radius: 8px; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line); grid-row: 2 / span 6; }
.agenda .hours { grid-row: 2 / span 6; display: grid; gap: 0; align-content: space-between; padding: 4px 0; }
.appt {
  position: absolute; left: 4px; right: 4px; border-radius: 6px; padding: 5px;
  background: rgba(61, 123, 255, 0.2); border-left: 2px solid var(--blue);
}
.appt.g { background: rgba(44, 245, 160, 0.14); border-left-color: var(--green); }
.appt.m { background: rgba(255, 255, 255, 0.07); border-left-color: var(--muted); }
.appt::before { content: ""; display: block; height: 4px; width: 70%; border-radius: 2px; background: rgba(255, 255, 255, 0.3); }
.device-phone {
  position: absolute; right: 0; bottom: 0; width: 31%; aspect-ratio: 9 / 18.5;
  border-radius: 30px; padding: 7px; background: #0b0f1a;
  border: 1px solid var(--line-3);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.95), 0 0 60px -20px rgba(44, 245, 160, 0.35);
  transition: transform 0.7s var(--ease-out);
}
.devices:hover .device-phone { transform: translate3d(6px, -10px, 0); }
.phone-screen {
  position: relative; height: 100%; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #0f1a36, #070b16);
  padding: 22px 12px 12px; display: flex; flex-direction: column; gap: 10px;
}
.phone-screen::before { content: ""; position: absolute; top: 7px; left: 50%; width: 34%; height: 6px; border-radius: 6px; background: #000; transform: translateX(-50%); }
.p-head { display: flex; align-items: center; gap: 8px; }
.p-head .av { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); flex: none; opacity: 0.85; }
.p-head div { flex: 1; display: grid; gap: 5px; }
.p-card { border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); padding: 9px; display: grid; gap: 6px; }
.p-tl { display: grid; gap: 9px; padding-left: 12px; border-left: 1px dashed var(--line-3); margin-left: 4px; }
.p-tl span { position: relative; display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); }
.p-tl span::before { content: ""; position: absolute; left: -16px; top: -1px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.p-tl span.g::before { background: var(--green); box-shadow: 0 0 8px var(--green); }
.p-btn { margin-top: auto; height: 26px; border-radius: 999px; background: var(--green); opacity: 0.9; }
.devices .ph-tag { bottom: auto; top: calc(100% + 12px); left: 0; }
.devices .ph-tag--phone { left: auto; right: 0; }

.tarsis-problem {
  margin-top: clamp(64px, 8vw, 104px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.pp-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: rgba(4, 6, 12, 0.45); }
.pp-card .mono { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.pp-card--sol .mono { color: var(--green); }
.pp-card h3 { margin-top: 14px; font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -0.025em; font-weight: 500; line-height: 1.2; }
.pp-card p { margin-top: 12px; color: var(--ink-2); }

.journey {
  margin-top: clamp(72px, 9vw, 120px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: center;
}
.journey-ring-wrap { grid-column: 1 / span 6; }
.journey-side { grid-column: 8 / span 5; }
.journey-side .h-sub { margin: 20px 0 26px; }
.ring { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1; }
.ring > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring .track { fill: none; stroke: var(--line-2); stroke-width: 1; }
.ring .track-dash { fill: none; stroke: var(--line-3); stroke-width: 1; stroke-dasharray: 2 7; }
.ring .comet { fill: none; stroke: url(#cometGrad); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 90 853; transform-origin: 200px 200px; animation: spin 7s linear infinite; }
.ring-center {
  position: absolute; left: 50%; top: 50%; width: 50%; transform: translate(-50%, -50%);
  text-align: center; display: grid; gap: 8px; justify-items: center;
}
.ring-center .loop-ic { width: 44px; height: 44px; color: var(--green); }
.ring-center strong { font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.ring-center span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ring-node {
  position: absolute; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px;
  border-radius: 999px; border: 1px solid var(--line-2); background: #070c1a;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
  transition: border-color 0.35s, color 0.35s, box-shadow 0.45s, background-color 0.35s;
}
.ring-node b {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 500;
  background: rgba(255, 255, 255, 0.06); color: var(--muted); transition: background-color 0.35s, color 0.35s;
}
.ring-node:hover, .ring-node.is-active { border-color: rgba(44, 245, 160, 0.6); color: var(--ink); box-shadow: 0 0 30px -6px rgba(44, 245, 160, 0.5); }
.ring-node.is-active b { background: var(--green); color: #03150d; }
.jlist { display: grid; }
.jstep {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 14px 0 14px 14px;
  border-bottom: 1px solid var(--line); border-left: 2px solid transparent; cursor: default;
  transition: border-color 0.35s, background-color 0.35s;
}
.jstep .mono { font-size: 12px; color: var(--muted); padding-top: 3px; transition: color 0.35s; }
.jstep h4 { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; }
.jstep p { font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.jstep.is-active { border-left-color: var(--green); background: linear-gradient(90deg, rgba(44, 245, 160, 0.07), transparent 70%); }
.jstep.is-active .mono { color: var(--green); }

.features { margin-top: clamp(72px, 9vw, 120px); }
.features-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.features-head .h-sub { margin-top: 18px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--line-2); }
.feat {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px;
  background: #060b18; transition: background-color 0.4s;
}
.feat:hover { background: #0a1224; }
.feat-top { display: flex; justify-content: space-between; align-items: center; }
.feat-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink); transition: color 0.35s, border-color 0.35s, transform 0.5s var(--ease-out); }
.feat-ic svg { width: 20px; height: 20px; }
.feat:hover .feat-ic { color: var(--green); border-color: rgba(44, 245, 160, 0.5); transform: translateY(-3px); }
.feat-tag { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.feat h4, .feat .h4 { font-size: 1.12rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.feat p { font-size: 14.5px; color: var(--muted); margin-top: -6px; }
.feat--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 22px; background: linear-gradient(90deg, rgba(44, 245, 160, 0.08), rgba(61, 123, 255, 0.08)), #060b18; }
.feat--wide p { margin-top: 4px; }
.feat--wide .feat-body { flex: 1; }
.note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 20px;
  font-size: 14px; color: var(--muted);
}
.note::before { content: "i"; flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-serif); font-style: italic; font-size: 14px; border: 1px solid var(--line-3); color: var(--ink-2); }
.tarsis-cta {
  margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.tarsis-cta p { font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -0.025em; max-width: 30ch; line-height: 1.25; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 05 · Proceso ---------- */
.process { --p: 0; position: relative; }
.process-rail { position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line-2); }
.process-fill { position: absolute; left: 0; top: 0; height: 100%; width: calc(var(--p) * 100%); background: var(--grad); box-shadow: 0 0 12px rgba(44, 245, 160, 0.6); }
.process-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.pstep { position: relative; padding-top: 0; }
.pstep-node {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-3);
  font-family: var(--f-mono); font-size: 12px; color: var(--muted);
  transition: border-color 0.5s, color 0.5s, box-shadow 0.6s, background-color 0.5s;
}
.pstep.is-active .pstep-node { border-color: var(--green); color: #03150d; background: var(--green); box-shadow: 0 0 0 6px rgba(44, 245, 160, 0.1), 0 0 30px rgba(44, 245, 160, 0.5); }
.pstep h3 { margin-top: 28px; font-size: 1.22rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.pstep p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.pstep .out {
  display: inline-flex; margin-top: 20px; padding: 6px 10px; border-radius: 8px;
  border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.05em; color: var(--ink-2);
  transition: border-color 0.5s, color 0.5s;
}
.pstep .out::before { content: "→ "; color: var(--green); white-space: pre; }
.pstep.is-active .out { border-color: rgba(44, 245, 160, 0.35); }

/* ---------- 06 · Demostraciones ---------- */
.demo-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.ph {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  min-height: 280px; padding: 24px; border-radius: var(--r-lg);
  border: 1px dashed var(--line-3);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 14px),
    rgba(255, 255, 255, 0.012);
  overflow: hidden; transition: border-color 0.4s, transform 0.5s var(--ease-out);
}
.ph:hover { border-color: rgba(44, 245, 160, 0.5); transform: translateY(-3px); }
.ph--shots { grid-column: span 7; grid-row: span 2; min-height: 560px; }
.ph--video { grid-column: span 5; }
.ph--mock { grid-column: span 5; }
.ph--flow { grid-column: span 6; }
.ph--cases { grid-column: span 6; }
.ph-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ph-top .mono { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ph h3 { font-size: 1.4rem; font-weight: 500; letter-spacing: -0.025em; }
.ph p { margin-top: 8px; color: var(--muted); font-size: 14.5px; max-width: 44ch; }
.ph-spec { font-family: var(--f-mono); font-size: 11px; color: var(--dim); letter-spacing: 0.04em; margin-top: 12px; }
.ph-center { flex: 1; display: grid; place-items: center; }
.ph-frame { width: 86%; aspect-ratio: 16 / 10; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(4, 6, 12, 0.5); position: relative; overflow: hidden; }
.ph-frame::before { content: ""; position: absolute; inset: 0 0 auto; height: 28px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.ph-frame::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -30%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6680' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center / contain no-repeat; }
.play {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-3); background: rgba(255, 255, 255, 0.04);
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
}
.play svg { width: 22px; height: 22px; margin-left: 3px; color: var(--ink); }
.ph:hover .play { transform: scale(1.08); border-color: var(--green); box-shadow: 0 0 40px -6px rgba(44, 245, 160, 0.6); }
.flow-demo { width: 100%; }
.flow-demo svg { width: 100%; height: auto; }
.mock-stack { position: relative; width: 70%; aspect-ratio: 1.4; }
.mock-stack span { position: absolute; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(4, 6, 12, 0.6); transition: transform 0.6s var(--ease-out); }
.mock-stack span:nth-child(1) { inset: 0 18% 22% 0; }
.mock-stack span:nth-child(2) { inset: 22% 0 0 30%; background: rgba(10, 18, 40, 0.9); }
.ph:hover .mock-stack span:nth-child(1) { transform: translate(-6px, -6px); }
.ph:hover .mock-stack span:nth-child(2) { transform: translate(6px, 6px); }
.cases-list { display: grid; gap: 8px; }
.cases-list span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(4, 6, 12, 0.4); font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; }
.cases-list span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; border: 1px solid var(--line-3); }

/* ---------- 07 · Testimonios ---------- */
.provisional {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 18px; margin-bottom: 20px; border-radius: 14px;
  border: 1px dashed rgba(255, 207, 107, 0.45); background: rgba(255, 207, 107, 0.05);
  font-size: 14px; color: var(--ink-2);
}
.provisional strong { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); font-weight: 500; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quote {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.5s var(--ease-out), border-color 0.4s;
}
.quote:nth-child(2) { transform: translateY(32px); }
.quote:hover { border-color: var(--line-2); }
.quote blockquote { font-family: var(--f-serif); font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.35; color: var(--ink); letter-spacing: -0.005em; }
.quote blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: 0.6; color: var(--green); margin-bottom: 12px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px dashed var(--line-3); font-family: var(--f-mono); font-size: 11px; color: var(--muted); flex: none; }
.quote cite { font-style: normal; display: grid; }
.quote cite b { font-weight: 500; font-size: 15px; }
.quote cite span { font-size: 13px; color: var(--muted); }
.quote .ex { margin-left: auto; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); padding: 4px 8px; border-radius: 6px; border: 1px solid rgba(255, 207, 107, 0.35); }

/* ---------- 08 · CTA final ---------- */
.final {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); border: 1px solid var(--line-2);
  padding: clamp(40px, 7vw, 104px) clamp(24px, 6vw, 88px);
  background: radial-gradient(80% 90% at 20% 0%, rgba(61, 123, 255, 0.28), transparent 60%), #050912;
}
.final-floor {
  position: absolute; left: -20%; right: -20%; bottom: -30%; height: 90%; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(44, 245, 160, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 245, 160, 0.35) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(600px) rotateX(62deg);
  transform-origin: 50% 0%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent 95%);
  mask-image: linear-gradient(180deg, transparent, #000 40%, transparent 95%);
  opacity: 0.35;
  animation: floor 6s linear infinite;
}
@keyframes floor { to { background-position: 0 64px, 0 0; } }
.final-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: end; }
.final-title { grid-column: 1 / span 8; font-size: clamp(2.3rem, 5.6vw, 5.2rem); line-height: 1; letter-spacing: -0.045em; font-weight: 500; text-wrap: balance; }
.final-side { grid-column: 9 / span 4; }
.final-side p { color: var(--ink-2); margin-bottom: 26px; }
.final-side .cta-row { flex-direction: column; align-items: stretch; }

/* ---------- 09 · Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.contact-info { grid-column: 1 / span 5; }
.contact-info .kicker { margin-bottom: 26px; }
.contact-info .lead { margin-top: 22px; }
.contact-list { margin-top: 36px; border-top: 1px solid var(--line); }
.contact-list div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-list dd { color: var(--ink); }
.placeholder-text { color: var(--muted); font-style: italic; }
.next-steps { margin-top: 36px; display: grid; gap: 14px; counter-reset: ns; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); font-size: 15px; }
.next-steps li::before {
  counter-increment: ns; content: counter(ns, decimal-leading-zero);
  font-family: var(--f-mono); font-size: 11px; color: var(--green); padding: 3px 7px; border-radius: 6px; border: 1px solid rgba(44, 245, 160, 0.35); flex: none;
}
.form-card {
  grid-column: 7 / span 6; position: relative;
  padding: clamp(22px, 3.4vw, 44px); border-radius: var(--r-xl);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.9);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.field label .opt { color: var(--dim); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--line-2); background: rgba(4, 6, 12, 0.6); color: var(--ink);
  font-size: 15px; line-height: 1.4;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field select option { background: #0b1222; color: var(--ink); }
.field ::placeholder { color: var(--dim); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(44, 245, 160, 0.12); background: rgba(4, 6, 12, 0.85); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff7a8a; }
.field-error { font-size: 12.5px; color: #ff9aa6; min-height: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--green); }
.check a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: grid; gap: 14px; margin-top: 6px; }
.form-status { font-size: 14px; min-height: 1.2em; color: var(--muted); }
.form-status.is-error { color: #ff9aa6; }
.btn.is-loading { pointer-events: none; opacity: 0.8; }
.btn.is-loading .btn-arrow { animation: spin 0.9s linear infinite; }
.form-success { display: none; text-align: left; }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-success { display: grid; gap: 16px; }
.success-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(44, 245, 160, 0.1); color: var(--green); border: 1px solid rgba(44, 245, 160, 0.4); }
.success-ic svg { width: 26px; height: 26px; }
.form-success h3 { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; }
.form-success p { color: var(--ink-2); }

/* ---------- Pie ---------- */
.site-footer { position: relative; padding: clamp(72px, 9vw, 120px) 0 32px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.footer-brand { grid-column: 1 / span 4; }
.footer-brand p { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 34ch; }
.footer-col { grid-column: span 2; }
.footer-col:first-of-type { grid-column: 6 / span 2; }
.footer-col h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: 14.5px; color: var(--ink-2); transition: color 0.25s; }
.footer-col a:hover { color: var(--green); }
.footer-word {
  margin-top: clamp(56px, 8vw, 104px);
  font-size: clamp(3.2rem, 15.5vw, 15rem); line-height: 0.8; font-weight: 600; letter-spacing: -0.02em;
  white-space: nowrap; text-align: center;
  background: linear-gradient(180deg, rgba(238, 242, 250, 0.16), rgba(238, 242, 250, 0));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer-word--logo {
  font-family: "Poppins", var(--f-sans); font-weight: 700; letter-spacing: -0.03em;
  background: none; color: rgba(238, 242, 250, 0.1);
}
.footer-word--logo span { opacity: 0.35; }
.footer-bottom {
  margin-top: 20px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.footer-bottom a:hover { color: var(--ink); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Páginas interiores ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(56px, 8vw, 112px)) 0 clamp(56px, 7vw, 96px); }
.breadcrumbs { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 28px; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span[aria-hidden] { color: var(--dim); }
.page-title { font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: 0.98; letter-spacing: -0.05em; font-weight: 500; max-width: 16ch; text-wrap: balance; }
.page-hero .lead { margin-top: 28px; max-width: 640px; }
.page-hero .cta-row { margin-top: 36px; }

.sol-detail-wrap { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 4px; }
.toc a { display: flex; gap: 12px; padding: 10px 14px; border-radius: 12px; font-size: 14.5px; color: var(--muted); transition: color 0.25s, background-color 0.25s; }
.toc a span { font-family: var(--f-mono); font-size: 11px; padding-top: 3px; }
.toc a:hover, .toc a.is-active { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.toc a.is-active span { color: var(--green); }
.sol-detail { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.018); }
.sol-detail + .sol-detail { margin-top: 20px; }
.sol-detail-head { display: flex; gap: 20px; align-items: center; margin-bottom: 22px; }
.sol-detail h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.035em; font-weight: 500; line-height: 1.1; }
.sol-detail > p { color: var(--ink-2); max-width: 64ch; }
.sol-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.sol-cols > div { padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: rgba(4, 6, 12, 0.4); }
.sol-cols h3 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.bullets { display: grid; gap: 10px; }
.bullets li { position: relative; padding-left: 20px; font-size: 15px; color: var(--ink-2); }
.bullets li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--green); transform: rotate(45deg); }
.sol-detail .cta-row { margin-top: 26px; }

.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 500; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); font-family: var(--f-mono); color: var(--muted); transition: transform 0.4s var(--ease-out), border-color 0.3s, color 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); border-color: var(--green); color: var(--green); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 70ch; }

.legal { max-width: 820px; }
.legal h2 { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.02em; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal .ph-inline { color: var(--amber); font-family: var(--f-mono); font-size: 0.92em; }

/* ---------- Imágenes editoriales ---------- */
.media-banner {
  position: relative; margin-top: clamp(56px, 7vw, 96px); aspect-ratio: 21 / 9;
  border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2);
}
.media-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.8s var(--ease-out); }
.js .media-banner.is-in img, html:not(.js) .media-banner img { transform: scale(1); }
.media-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 6, 12, 0.88) 0%, rgba(4, 6, 12, 0.35) 45%, transparent 70%), linear-gradient(0deg, rgba(4, 6, 12, 0.6), transparent 40%);
}
.media-banner figcaption { position: absolute; left: clamp(20px, 4vw, 48px); bottom: clamp(20px, 4vw, 44px); z-index: 1; max-width: 420px; }
.media-banner figcaption .mono { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.media-banner figcaption p { font-size: clamp(1.1rem, 1.9vw, 1.5rem); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; }

.tarsis-problem--photo { grid-template-columns: 0.85fr 1fr 1fr; }
.pp-photo { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); min-height: 320px; }
.pp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.2s var(--ease-out); }
.pp-photo:hover img { transform: scale(1.04); }
.pp-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 6, 12, 0.75), transparent 45%); }
.pp-photo figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }

.ph--img { border-style: solid; border-color: var(--line-2); }
.ph--img .ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: 0.7; transition: transform 1.2s var(--ease-out), opacity 0.6s; }
.ph--img { isolation: isolate; background: var(--bg-1); }
.ph--img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 6, 12, 0.78) 0%, rgba(4, 6, 12, 0.12) 35%, rgba(4, 6, 12, 0.35) 60%, rgba(4, 6, 12, 0.94) 100%); }
.ph--img:hover .ph-bg { transform: scale(1.05); opacity: 0.85; }
.concept { display: inline-flex; margin-top: 10px; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line-3); background: rgba(4, 6, 12, 0.6); font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.sol-media { position: relative; margin: -8px 0 26px; aspect-ratio: 21 / 8; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.sol-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.sol-detail:hover .sol-media img { transform: scale(1.04); }

/* ---------- Libro de Reclamaciones ---------- */
.lr-band { border-top: 1px solid var(--line); background: linear-gradient(90deg, rgba(47, 107, 255, 0.07), rgba(46, 230, 255, 0.04)); }
.lr-band-inner { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); padding-block: 26px; flex-wrap: wrap; }
.lr-badge { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.lr-badge strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.lr-badge small { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.lr-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: #0b1433; box-shadow: 0 0 0 1px var(--line-2), 0 10px 30px -10px rgba(46, 166, 255, 0.5); }
.lr-ic svg { width: 28px; height: 28px; }
.lr-band-inner p { flex: 1; min-width: 240px; font-size: 14px; color: var(--muted); }

.lr-provider { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.lr-provider div { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.lr-provider dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.lr-provider dd { margin-top: 6px; font-size: 15px; }
.lr-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.lr-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 14px; }
.lr-note { padding: 20px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02); font-size: 14px; color: var(--ink-2); }
.lr-note h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.lr-note p + p { margin-top: 8px; }
.lr-note--hl { border-color: rgba(46, 166, 255, 0.4); background: rgba(47, 107, 255, 0.07); }
.lr-form .form-card { grid-column: auto; }
.lr-fieldset { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.lr-fieldset:last-of-type { margin-bottom: 0; }
.lr-fieldset legend {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 0 0 14px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line); font-size: 1.08rem; font-weight: 500; letter-spacing: -0.01em;
}
.lr-fieldset legend span { font-family: var(--f-mono); font-size: 11px; color: var(--cyan); padding: 3px 8px; border-radius: 6px; border: 1px solid rgba(57, 208, 255, 0.35); }
.lr-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px dashed var(--line-3); font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.radio-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.radio-card {
  position: relative; display: grid; gap: 4px; padding: 16px 16px 16px 48px; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(4, 6, 12, 0.5); transition: border-color 0.25s, background-color 0.25s;
}
.radio-card input { position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; accent-color: var(--blue); }
.radio-card strong { font-weight: 600; font-size: 15px; }
.radio-card span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.radio-card:hover { border-color: var(--line-3); }
.radio-card:has(input:checked) { border-color: var(--blue); background: rgba(47, 107, 255, 0.1); }
.field.has-error .radio-cards .radio-card { border-color: #ff7a8a; }
.minor-fields { display: none; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.minor-fields.is-on { display: grid; }
html:not(.js) .minor-fields { display: grid; }
.lr-success-num { font-family: var(--f-mono); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--cyan); letter-spacing: 0.04em; }

/* ---------- Aviso de cookies (solo si hay analítica configurada) ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 520px;
  padding: 20px; border-radius: 18px; border: 1px solid var(--line-2);
  background: rgba(8, 12, 24, 0.95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
  font-size: 14px; color: var(--ink-2);
}
.consent p { margin-bottom: 14px; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent .cta-row { gap: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-copy { grid-column: 1 / -1; grid-row: auto; }
  .hero-visual { grid-column: 1 / -1; grid-row: auto; margin: 56px auto 0; width: 100%; max-width: 720px; }
  .hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head .sh-title { grid-column: 1 / -1; }
  .section-head .sh-text { grid-column: 1 / span 9; }
  .eco-copy, .eco-visual { grid-column: 1 / -1; }
  .tarsis-intro, .tarsis-devices { grid-column: 1 / -1; }
  .tarsis-devices { max-width: 760px; }
  .journey-ring-wrap, .journey-side { grid-column: 1 / -1; }
  .final-title, .final-side { grid-column: 1 / -1; }
  .final-side .cta-row { flex-direction: row; }
  .contact-info, .form-card { grid-column: 1 / -1; }
  .principles-head, .principles-list { grid-column: 1 / -1; }
  .principles-head { position: static; }
  .formula { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; column-gap: 24px; }
  .f-op { display: none; }
  .process-rail { display: none; }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .pstep:last-child { grid-column: 1 / -1; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod-card--featured { grid-column: 1 / -1; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col, .footer-col:first-of-type { grid-column: span 4; }
}

@media (max-width: 1100px) {
  .tarsis-problem--photo { grid-template-columns: 1fr 1fr; }
  .tarsis-problem--photo .pp-photo { grid-column: 1 / -1; min-height: 0; aspect-ratio: 16 / 9; }
  .lr-grid { grid-template-columns: 1fr; }
  .lr-aside { position: static; }
}

@media (max-width: 860px) {
  .media-banner { aspect-ratio: 4 / 3; }
  .media-banner::after { background: linear-gradient(0deg, rgba(4, 6, 12, 0.92) 5%, rgba(4, 6, 12, 0.2) 60%, transparent); }
  .tarsis-problem--photo { grid-template-columns: 1fr; }
  .tarsis-problem--photo .pp-photo { aspect-ratio: 1 / 1; }
  .lr-provider { grid-template-columns: 1fr; }
  .sol-card--saas, .sol-card--mini, .sol-card--ia, .sol-card--auto, .sol-card--eco { grid-column: 1 / -1; grid-row: auto; }
  .viz-stack { min-height: 190px; }
  .sol-eco-row { grid-template-columns: minmax(0, 1fr) 130px; }
  .tarsis-problem { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-grid > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .ph--shots { min-height: 380px; }
  .quotes { grid-template-columns: 1fr; }
  .quote:nth-child(2) { transform: none; }
  .sol-detail-wrap { grid-template-columns: 1fr; }
  .toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol-cols { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .brand-word { font-size: 18px; }
  .brand-mark { width: 36px; height: 29px; }
  .radio-cards, .minor-fields { grid-template-columns: 1fr; }
  .lr-band-inner .btn { width: 100%; }
  .sol-media { aspect-ratio: 16 / 9; }
  .eyebrow { border-radius: 14px; align-items: flex-start; font-size: 11.5px; }
  .eyebrow .pulse-dot { margin-top: 4px; flex: none; }
  .hero-meta { grid-template-columns: 1fr; gap: 0; }
  .hero-meta li { padding: 14px 0; }
  .hero-meta .mono { margin-bottom: 4px; }
  .hero-ctas .btn { width: 100%; }
  .hv { aspect-ratio: 1 / 1.02; }
  .hv-window { left: 0; right: 0; top: 12%; bottom: 14%; transform: none; }
  .hv-body { grid-template-columns: 1fr; }
  .hv-side { display: none; }
  .hv-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-kpi:nth-child(3) { display: none; }
  .hv-chip { padding: 8px 10px 8px 8px; font-size: 12px; }
  .hv-chip--ai { left: 2%; top: 0; }
  .hv-chip--flow { right: 0; top: auto; bottom: 2%; }
  .hv-chip--graph { display: none; }
  .hv-orbit { width: 130%; }
  .formula { grid-template-columns: 1fr; }
  .principle { grid-template-columns: 40px minmax(0, 1fr); }
  .sol-eco-row { grid-template-columns: 1fr; }
  .viz-hub { max-width: 160px; }
  .layer--3, .layer--2 { width: 100%; }
  .layer { padding: 18px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .devices { aspect-ratio: 1.05; }
  .device-browser { width: 100%; }
  .device-phone { width: 40%; }
  .ring-node { padding: 4px; gap: 0; font-size: 0; }
  .ring-node .lbl { display: none; }
  .ring-center strong { font-size: 0.92rem; }
  .ring-center .loop-ic { width: 32px; height: 32px; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat--wide { flex-direction: column; align-items: flex-start; }
  .process-steps { grid-template-columns: 1fr; row-gap: 36px; }
  .pstep { padding-left: 64px; }
  .pstep-node { position: absolute; left: 0; top: 0; }
  .pstep h3 { margin-top: 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }
  .footer-col, .footer-col:first-of-type { grid-column: span 6; }
  .toc { grid-template-columns: 1fr; }
  .tarsis-cta .cta-row, .tarsis-cta .btn, .final-side .cta-row { width: 100%; }
  .final-side .cta-row { flex-direction: column; }
  .cta-row .btn { flex: 1 1 auto; }
}

/* Movimiento reducido: solo se detienen los efectos continuos que desplazan contenido.
   Hover, fundidos, profundidad y degradados se mantienen (la web sigue viva). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation-duration: 140s; }
  .final-floor { animation: none; }
  .hv-chip { animation: none; }
}
