/* =========================================================
   MTO Systems — hoja de estilos
   Paleta tomada del sitio original (#e24c4a rojo, #386bb7 azul)
   llevada a un tema oscuro corporativo-tecnológico.
   ========================================================= */

:root {
  --bg: #070a14;
  --bg-2: #0b1022;
  --bg-3: #10172e;
  --card: #0e1530;
  --surface: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef1f8;
  --muted: #9aa4bc;
  --dim: #6b7590;

  --red: #f14f44;
  --violet: #a855f7;
  --blue: #4f86e6;
  --wa: #25d366;
  --grad: linear-gradient(100deg, var(--red) 0%, var(--violet) 50%, var(--blue) 100%);
  --grad-soft: linear-gradient(135deg, rgba(241, 79, 68, 0.18), rgba(168, 85, 247, 0.12), rgba(79, 134, 230, 0.18));

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
/* sin scroll-behavior: smooth en CSS: interfiere con ScrollTrigger; las anclas se desplazan suave desde JS */
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(168, 85, 247, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 600px) { .container { padding-inline: 16px; } }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 400; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Grano, cursor y progreso ---------- */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 160; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 170; pointer-events: none; border-radius: 50%; opacity: 0; }
.cursor {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255, 255, 255, 0.55);
  display: grid; place-items: center;
  transition: opacity 0.3s, width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background-color 0.4s, border-color 0.4s;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; transition: opacity 0.3s; }
.has-cursor .cursor, .has-cursor .cursor-dot { opacity: 1; }
.has-cursor .cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(168, 85, 247, 0.14); border-color: rgba(168, 85, 247, 0.7); }
.has-cursor .cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--grad); border-color: transparent; }
.cursor__label { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: #fff; opacity: 0; transform: scale(0.6); transition: opacity 0.3s, transform 0.4s var(--ease); }
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.has-cursor .cursor.is-label + .cursor-dot, .has-cursor .cursor.is-hover + .cursor-dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--bg); }
.preloader > * { grid-area: 1 / 1; }
.preloader__logo { width: 92px; height: auto; animation: pulse 1.6s ease-in-out infinite; }
.preloader__ring {
  width: 160px; height: 160px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 30%, var(--red), var(--violet), var(--blue));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 1.1s linear infinite;
}
.preloader__count { align-self: end; margin-bottom: 12vh; font-family: var(--font-mono); font-size: 13px; color: var(--muted); letter-spacing: 0.2em; }
.preloader.is-done { opacity: 0; visibility: hidden; transition: opacity 0.6s, visibility 0.6s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(0.92); opacity: 0.7; } }

/* ---------- Botones ---------- */
.btn {
  --pad: 15px 26px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px; letter-spacing: 0.01em;
  white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: box-shadow 0.35s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.45s var(--ease); flex-shrink: 0; }
.btn svg.wa-ico { fill: currentColor; stroke: none; width: 20px; height: 20px; }
.btn:hover svg:not(.wa-ico) { transform: translateX(4px) rotate(-45deg); }
.btn--sm { --pad: 11px 20px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn--primary { color: #fff; background: var(--grad); background-size: 180% 100%; box-shadow: 0 10px 30px -10px rgba(168, 85, 247, 0.6); transition: box-shadow 0.35s var(--ease), background-position 0.6s var(--ease); }
.btn--primary:hover { box-shadow: 0 14px 40px -10px rgba(241, 79, 68, 0.7); background-position: 100% 0; }
.btn--ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(8px); }
.btn--ghost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; border-radius: inherit; transform: translateY(101%); transition: transform 0.5s var(--ease); }
.btn--ghost:hover { color: #0a0f22; border-color: #fff; }
.btn--ghost:hover::before { transform: none; }
.btn--wa { color: #fff; background: linear-gradient(100deg, #1fb85a, #128c7e); box-shadow: 0 12px 30px -12px rgba(37, 211, 102, 0.7); }
.btn--wa:hover { box-shadow: 0 16px 40px -12px rgba(37, 211, 102, 0.9); }

/* Texto que rueda al pasar el cursor */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.25; }
.roll__in { position: relative; display: block; transition: transform 0.55s var(--ease); }
.roll__in::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
a:hover .roll__in, button:hover .roll__in { transform: translateY(-100%); }

/* ---------- Encabezado ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s, height 0.4s var(--ease), border-color 0.4s, transform 0.5s var(--ease);
}
.header.is-scrolled { --header-h: 64px; background: rgba(7, 10, 20, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 40px; height: auto; transition: transform 0.6s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand__text { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: 0.04em; }
.brand__text b { font-weight: 400; margin-left: 6px; color: var(--muted); letter-spacing: 0.22em; font-size: 13px; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__link { position: relative; display: block; padding: 8px 14px; font-size: 14.5px; color: var(--muted); border-radius: 999px; transition: color 0.3s; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; border-radius: 12px; border: 1px solid var(--line-2); z-index: 2; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; padding: 110px 24px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: rgba(7, 10, 20, 0.96); backdrop-filter: blur(20px);
  clip-path: circle(0 at calc(100% - 44px) 38px); visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0.7s;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
.mobile-menu ul li { overflow: hidden; }
.mobile-menu ul a { display: block; padding: 8px 0; font-family: var(--font-head); font-size: clamp(30px, 8vw, 44px); font-weight: 600; transform: translateY(110%); transition: transform 0.6s var(--ease), color 0.3s; }
.mobile-menu ul a:hover { color: var(--red); }
.mobile-menu.is-open ul a { transform: none; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: 0.05s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: 0.1s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: 0.15s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: 0.2s; }
.mobile-menu.is-open li:nth-child(6) a { transition-delay: 0.25s; }
.mobile-menu.is-open li:nth-child(7) a { transition-delay: 0.3s; }
.mobile-menu__foot { display: grid; gap: 6px; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
@media (max-width: 1080px) { .nav, .header__cta { display: none; } .burger { display: block; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 90px; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__grid-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
}
.hero__blob { position: absolute; z-index: -3; border-radius: 50%; filter: blur(90px); }
.hero__blob--a { width: 520px; height: 520px; background: #f14f44; top: -160px; right: -120px; opacity: 0.28; animation: float1 14s ease-in-out infinite; }
.hero__blob--b { width: 600px; height: 600px; background: #386bb7; bottom: -260px; left: -180px; opacity: 0.35; animation: float2 18s ease-in-out infinite; }
@keyframes float1 { 50% { transform: translate(-80px, 60px) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(90px, -50px) scale(0.92); } }

.hero__inner { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; margin-bottom: 26px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.04); font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); backdrop-filter: blur(6px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; animation: ping 2s infinite; flex-shrink: 0; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(61, 220, 151, 0); } }
.hero__title { font-size: clamp(42px, 5.6vw, 78px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.hero__typed { margin-top: 22px; font-family: var(--font-mono); font-size: clamp(15px, 1.6vw, 19px); color: var(--muted); min-height: 1.6em; }
.typed { color: var(--text); }
.caret { display: inline-block; width: 10px; height: 1.1em; margin-left: 3px; vertical-align: -0.18em; background: var(--red); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__lead { margin-top: 18px; max-width: 560px; font-size: 17px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__kpis { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__kpis li { display: grid; }
.hero__kpis strong { font-family: var(--font-head); font-size: 30px; font-weight: 700; line-height: 1.1; }
.hero__kpis li > span { font-size: 13.5px; color: var(--muted); }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.emblem { position: relative; width: min(460px, 82vw); aspect-ratio: 1; display: grid; place-items: center; }
.emblem__ring { position: absolute; border-radius: 50%; }
.emblem__ring--1 {
  inset: 0;
  background: conic-gradient(from 0deg, transparent 0 20%, rgba(241, 79, 68, 0.9), rgba(168, 85, 247, 0.9), rgba(79, 134, 230, 0.9), transparent 80%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: spin 9s linear infinite;
}
.emblem__ring--2 { inset: 12%; border: 1px dashed rgba(255, 255, 255, 0.16); animation: spin 40s linear infinite reverse; }
.emblem__ring--3 { inset: 24%; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 60px rgba(168, 85, 247, 0.18), 0 0 80px rgba(79, 134, 230, 0.15); }
.emblem__core { position: relative; width: 52%; display: grid; place-items: center; }
.emblem__core::before { content: ""; position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, 0.38), rgba(241, 79, 68, 0.12) 45%, transparent 70%); animation: breathe 4s ease-in-out infinite; }
.emblem__core img { position: relative; width: 100%; filter: drop-shadow(0 0 22px rgba(168, 85, 247, 0.45)); animation: hover 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: 0.7; } }
@keyframes hover { 50% { transform: translateY(-10px); } }
.orbit { position: absolute; inset: 0; animation: spin 26s linear infinite; pointer-events: none; }
.orbit .chip { position: absolute; top: 0; left: 50%; animation: spin 26s linear infinite reverse; }
.orbit--b, .orbit--b .chip { animation-delay: -5.2s; }
.orbit--c, .orbit--c .chip { animation-delay: -10.4s; }
.orbit--d, .orbit--d .chip { animation-delay: -15.6s; }
.orbit--e, .orbit--e .chip { animation-delay: -20.8s; }
.chip { translate: -50% -50%; padding: 6px 13px; border-radius: 999px; white-space: nowrap; font-family: var(--font-mono); font-size: 12.5px; color: var(--text); background: rgba(16, 23, 46, 0.85); border: 1px solid var(--line-2); backdrop-filter: blur(8px); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.6); }

.terminal { position: absolute; right: -8px; bottom: 6px; width: 290px; z-index: 2; border-radius: 14px; overflow: hidden; background: rgba(11, 16, 34, 0.86); border: 1px solid var(--line-2); backdrop-filter: blur(12px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); }
.terminal__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.terminal__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.terminal__bar i:nth-child(2) { background: #febc2e; } .terminal__bar i:nth-child(3) { background: #28c840; }
.terminal__bar span { margin-left: 8px; font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); }
.terminal__body { margin: 0; padding: 12px 14px 14px; min-height: 128px; font-family: var(--font-mono); font-size: 12px; line-height: 1.7; color: var(--muted); white-space: pre-wrap; }
.terminal__body .ok { color: #3ddc97; } .terminal__body .k { color: #c792ea; } .terminal__body .s { color: #f78c6c; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: grid; justify-items: center; gap: 8px; }
.scroll-cue span { position: relative; width: 24px; height: 38px; border: 1.5px solid var(--line-2); border-radius: 14px; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: wheel 1.8s var(--ease) infinite; }
.scroll-cue em { font-style: normal; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.3em; color: var(--dim); text-transform: uppercase; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: 400px; order: -1; margin-top: 10px; }
  .emblem { width: min(360px, 76vw); }
  .terminal { right: 0; bottom: -10px; width: 250px; }
  .scroll-cue { display: none; }
}
@media (max-width: 600px) {
  .hero { padding-top: calc(var(--header-h) + 16px); }
  .hero__visual { min-height: 320px; }
  .terminal { display: none; }
  .chip { font-size: 11px; padding: 5px 10px; }
  .hero__kpis { gap: 14px 26px; }
  .hero__kpis strong { font-size: 26px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Marquesinas ---------- */
.marquees { position: relative; padding: 26px 0; border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.marquee { overflow: hidden; -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; will-change: transform; }
.marquee ul { display: flex; flex-shrink: 0; }
.marquee li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-head); font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; color: var(--muted); white-space: nowrap; }
.marquee li::after { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--grad); }
.marquee--outline { margin-top: 6px; }
.marquee--outline li { font-size: clamp(30px, 4.4vw, 58px); font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22); }
.marquee--outline li::after { width: 10px; height: 10px; }
.no-gsap .marquee__track { animation: marquee 38s linear infinite; }
.no-gsap .marquee--outline .marquee__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg) 100%); }
.section--alt::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), transparent); }
.section__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 70px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px 60px; align-items: end; }
@media (max-width: 860px) { .section__head--split { grid-template-columns: 1fr; } }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--red); }
.kicker::before { content: ""; width: 26px; height: 1.5px; background: var(--grad); }
.section__head--center .kicker::after { content: ""; width: 26px; height: 1.5px; background: var(--grad); }
.section__title { font-size: clamp(32px, 4.6vw, 58px); font-weight: 600; }
.section__title--md { font-size: clamp(28px, 3.8vw, 46px); }
.section__sub { margin-top: 18px; font-size: 17px; color: var(--muted); }
.section__head--split .section__sub { margin-top: 0; }

/* Palabras y letras divididas */
.w { display: inline-block; white-space: nowrap; }
.w-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.w-in, .ch { display: inline-block; will-change: transform; }
.grad-piece { background-image: var(--grad); background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Tarjetas base ---------- */
.spot { position: relative; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(168, 85, 247, 0.16), transparent 45%); }
.spot::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s; padding: 1px; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(241, 79, 68, 0.9), rgba(79, 134, 230, 0.6) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot:hover::before, .spot:hover::after { opacity: 1; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: var(--grad-soft); border: 1px solid var(--line-2); }
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card__icon svg.fill { fill: #fff; stroke: none; }

/* ---------- Beneficios: recorrido horizontal ---------- */
.hjourney { position: relative; background: radial-gradient(ellipse at 20% 50%, rgba(241, 79, 68, 0.08), transparent 50%), radial-gradient(ellipse at 90% 40%, rgba(79, 134, 230, 0.1), transparent 50%), var(--bg); }
.hjourney__pin { position: relative; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hjourney__track { display: flex; align-items: center; gap: 32px; padding: 0 max(24px, calc((100vw - var(--container)) / 2 + 24px)); will-change: transform; }
.hpanel { flex: 0 0 auto; }
.hpanel--intro { width: min(520px, 40vw); padding-right: 30px; }
.hpanel__hint { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--dim); }
.hpanel__hint i { position: relative; width: 70px; height: 1px; background: var(--line-2); overflow: hidden; }
.hpanel__hint i::after { content: ""; position: absolute; inset: 0; background: var(--grad); animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.hcard {
  position: relative; width: min(440px, 34vw); height: min(560px, 68vh); padding: 36px; border-radius: 30px; overflow: hidden;
  display: flex; flex-direction: column; border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.012) 60%), var(--card);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.hcard::after { content: ""; position: absolute; inset: auto -30% -40% -30%; height: 70%; background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.22), transparent 65%); pointer-events: none; }
.hcard__num { position: absolute; right: 18px; top: -26px; font-family: var(--font-head); font-weight: 700; font-size: 200px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1); pointer-events: none; }
.hcard__visual { position: relative; flex: 1; display: grid; place-items: center; min-height: 200px; }
.hcard__body { position: relative; z-index: 1; }
.hcard__tag { font-family: var(--font-mono); font-size: 12.5px; color: var(--red); margin-bottom: 12px; }
.hcard h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 12px; }
.hcard p:not(.hcard__tag) { color: var(--muted); font-size: 15.5px; }
.hjourney__bar { position: absolute; left: 50%; bottom: 7vh; width: min(320px, 50vw); height: 2px; translate: -50% 0; background: var(--line); border-radius: 2px; overflow: hidden; }
.hjourney__bar span { position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* Ilustraciones animadas de los beneficios */
.viz-target { position: relative; width: 190px; height: 190px; display: grid; place-items: center; }
.viz-target i { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); animation: ripple 3s var(--ease) infinite; }
.viz-target i:nth-child(1) { inset: 0; border-style: dashed; animation: spin 18s linear infinite; }
.viz-target i:nth-child(2) { inset: 22%; border-color: rgba(168, 85, 247, 0.6); }
.viz-target i:nth-child(3) { inset: 40%; border-color: rgba(241, 79, 68, 0.8); animation-delay: -1.5s; }
.viz-target b { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 30px rgba(241, 79, 68, 0.8); }
.viz-target b::before, .viz-target b::after { content: ""; position: absolute; background: rgba(255, 255, 255, 0.3); }
.viz-target b::before { width: 190px; height: 1px; left: -84px; top: 11px; }
.viz-target b::after { width: 1px; height: 190px; top: -84px; left: 11px; }
@keyframes ripple { 50% { transform: scale(1.12); opacity: 0.6; } }

.viz-bulb { position: relative; width: 190px; height: 190px; display: grid; place-items: center; animation: spin 20s linear infinite; }
.viz-bulb span { position: absolute; left: 50%; top: 50%; width: 3px; height: 70px; margin-left: -1.5px; border-radius: 3px; background: linear-gradient(to bottom, transparent, var(--violet)); transform-origin: 50% 0; animation: ray 2.4s ease-in-out infinite; }
.viz-bulb span:nth-child(1) { rotate: 0deg; } .viz-bulb span:nth-child(2) { rotate: 60deg; animation-delay: -0.4s; }
.viz-bulb span:nth-child(3) { rotate: 120deg; animation-delay: -0.8s; } .viz-bulb span:nth-child(4) { rotate: 180deg; animation-delay: -1.2s; }
.viz-bulb span:nth-child(5) { rotate: 240deg; animation-delay: -1.6s; } .viz-bulb span:nth-child(6) { rotate: 300deg; animation-delay: -2s; }
.viz-bulb b { position: relative; width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--violet) 45%, var(--blue)); box-shadow: 0 0 50px rgba(168, 85, 247, 0.9); animation: breathe 2.4s ease-in-out infinite; }
@keyframes ray { 0%, 100% { translate: 0 34px; opacity: 1; } 50% { translate: 0 44px; opacity: 0.25; } }

.viz-team { position: relative; width: 200px; height: 200px; }
.viz-team::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.18); }
.viz-team i { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px; border-radius: 50%; background: var(--card); border: 2px solid var(--blue); animation: orbitTeam 10s linear infinite; }
.viz-team i::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--blue); }
.viz-team i:nth-child(2) { animation-delay: -2s; border-color: var(--red); } .viz-team i:nth-child(2)::after { background: var(--red); }
.viz-team i:nth-child(3) { animation-delay: -4s; border-color: var(--violet); } .viz-team i:nth-child(3)::after { background: var(--violet); }
.viz-team i:nth-child(4) { animation-delay: -6s; }
.viz-team i:nth-child(5) { animation-delay: -8s; border-color: var(--red); } .viz-team i:nth-child(5)::after { background: var(--red); }
.viz-team b { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px; border-radius: 18px; background: var(--grad); box-shadow: 0 0 40px rgba(168, 85, 247, 0.7); animation: spin 8s linear infinite; }
@keyframes orbitTeam { from { transform: rotate(0deg) translateX(72px) rotate(0deg); } to { transform: rotate(360deg) translateX(72px) rotate(-360deg); } }

.viz-loop { position: relative; width: 200px; height: 120px; transform: scale(1.15); }
.viz-loop svg { width: 100%; height: 100%; overflow: visible; }
.viz-loop path { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 2; }
.viz-loop b { position: absolute; left: 0; top: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 24px rgba(241, 79, 68, 0.9); offset-path: path("M100 60c-25-38-80-38-80 0s55 38 80 0 80-38 80 0-55 38-80 0z"); offset-rotate: 0deg; animation: loop 4s linear infinite; }
@keyframes loop { from { offset-distance: 0%; } to { offset-distance: 100%; } }

@media (max-width: 900px) {
  .hjourney { padding: 80px 0 40px; }
  .hjourney__pin { height: auto; display: block; overflow: visible; }
  .hjourney__track { flex-direction: column; align-items: stretch; gap: 20px; padding: 0 16px; }
  .hpanel--intro { width: auto; padding: 0 0 20px; }
  .hpanel__hint, .hjourney__bar { display: none; }
  .hcard { width: auto; height: auto; min-height: 420px; padding: 28px; }
  .hcard__num { font-size: 150px; }
}

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; min-height: 640px; }
.bento__item { border-radius: var(--radius); overflow: hidden; }
.bento__item--tall { grid-row: span 2; }
.media-card { position: relative; border: 1px solid var(--line); display: flex; align-items: flex-end; isolation: isolate; min-height: 300px; }
.media-card__img { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: filter 0.6s; will-change: transform; }
.media-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 10, 20, 0.05) 20%, rgba(7, 10, 20, 0.92) 85%); }
.media-card:hover .media-card__img { filter: saturate(1.3) brightness(1.1); }
.media-card__body { padding: 30px; transition: transform 0.6s var(--ease); }
.media-card:hover .media-card__body { transform: translateY(-8px); }
.media-card h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 10px; }
.media-card p { color: #c6cde0; font-size: 15px; max-width: 360px; }
.tag { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 12px; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--line-2); backdrop-filter: blur(8px); }
.ring-card { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; padding: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); }
.ring-card > div:last-child { flex: 1 1 170px; }
.ring-card h3 { font-size: 22px; margin-bottom: 6px; }
.ring-card p { color: var(--muted); font-size: 15px; }
.ring { position: relative; width: 124px; flex-shrink: 0; display: grid; place-items: center; }
.ring svg { width: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring__track { stroke: rgba(255, 255, 255, 0.07); }
.ring__bar { stroke: url(#gRing); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 0; }
.js .ring__bar { stroke-dashoffset: 327; transition: stroke-dashoffset 2.2s var(--ease); }
.js .ring.is-in .ring__bar { stroke-dashoffset: calc(327 - 327 * var(--p) / 100); }
.ring strong { position: absolute; font-family: var(--font-head); font-size: 28px; }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: 0; } .bento__item--tall { grid-row: auto; min-height: 420px; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento__item--tall { min-height: 380px; } .ring-card { flex-direction: column; text-align: center; } }

/* ---------- Cifras ---------- */
.stats { position: relative; padding: 80px 0; border-block: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, rgba(168, 85, 247, 0.14), transparent 60%), var(--bg); overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000, transparent); mask-image: linear-gradient(90deg, transparent, #000, transparent); }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: grid; gap: 8px; padding: 10px 28px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { font-family: var(--font-head); font-size: clamp(38px, 5.4vw, 72px); font-weight: 700; line-height: 1; color: #b46cf0; white-space: nowrap; }
.stat > span { color: var(--muted); font-size: 14.5px; }
.digit { display: inline-block; height: 1em; overflow: hidden; padding: 0 0.05em; margin: 0 -0.02em; vertical-align: top; }
.digit__col { display: block; will-change: transform; }
.digit__col span { display: block; height: 1em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 860px) { .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; } .stat { padding: 10px 12px; } .stat:nth-child(3) { border-left: 0; } }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; padding: 0 40px 50px 0; }
.about__frame { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); }
.about__frame img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.about__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(56, 107, 183, 0.25), transparent 40%, rgba(241, 79, 68, 0.25)); mix-blend-mode: overlay; }
.about__scan { position: absolute; left: 0; right: 0; height: 30%; top: 0; transform: translateY(-100%); background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.22), transparent); animation: scan 5s ease-in-out infinite; z-index: 1; }
@keyframes scan { 60%, 100% { transform: translateY(340%); } }
.about__badge { position: absolute; left: -24px; bottom: 90px; z-index: 2; max-width: 210px; padding: 18px 20px; border-radius: 18px; background: rgba(11, 16, 34, 0.82); border: 1px solid var(--line-2); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.about__badge strong { display: block; font-family: var(--font-head); font-size: 42px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__badge > span { font-size: 13.5px; color: var(--muted); }
.about__robot { position: absolute; right: 0; bottom: 0; width: 42%; border-radius: 22px; overflow: hidden; border: 4px solid var(--bg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); }
.about__robot img { aspect-ratio: 1; object-fit: cover; filter: grayscale(0.3) contrast(1.05); }
.highlight { margin-top: 26px; font-family: var(--font-head); font-size: clamp(19px, 1.9vw, 24px); line-height: 1.5; color: var(--text); }
.hl-word { opacity: 0.16; transition: opacity 0.25s linear; }
.hl-word.is-on { opacity: 1; }
.stack-box { margin-top: 32px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.stack-box__label { font-family: var(--font-mono); font-size: 13px; color: var(--red); margin: 0 0 12px; }
.stack-box__label + .pills { margin-bottom: 20px; }
.stack-box .pills:last-child { margin-bottom: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 6px 13px; border-radius: 999px; font-size: 13.5px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); transition: transform 0.3s var(--ease), border-color 0.3s, background-color 0.3s; }
.pills li:hover { transform: translateY(-3px) rotate(-2deg); border-color: rgba(168, 85, 247, 0.6); background: rgba(168, 85, 247, 0.12); }
.pills--soft li { color: var(--muted); }
@media (max-width: 920px) { .about { grid-template-columns: 1fr; } .about__media { max-width: 560px; } }
@media (max-width: 600px) { .about__media { padding: 0 20px 40px 0; } .about__badge { left: 10px; bottom: 60px; max-width: 170px; padding: 14px; } .about__badge strong { font-size: 32px; } }

/* ---------- Visión y misión ---------- */
.mission { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 11vw, 140px); overflow: hidden; }
.mega { display: grid; gap: 4px; margin-bottom: clamp(40px, 6vw, 80px); pointer-events: none; user-select: none; }
.mega__row { white-space: nowrap; font-family: var(--font-head); font-weight: 700; font-size: clamp(70px, 12vw, 190px); line-height: 1.05; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14); will-change: transform; }
.mega__row i { font-style: normal; -webkit-text-stroke: 0; color: var(--red); font-size: 0.4em; vertical-align: middle; }
.mega__row--fill { -webkit-text-stroke: 0; background: var(--grad); background-size: 50% 100%; -webkit-background-clip: text; background-clip: text; opacity: 0.85; }
.mega__row--fill i { color: var(--blue); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1200px; }
.value { position: relative; padding: 34px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); overflow: hidden; transition: border-color 0.4s; }
.value__num { position: absolute; right: 22px; top: 18px; font-family: var(--font-head); font-size: 64px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18); transition: color 0.5s, -webkit-text-stroke-color 0.5s; }
.value:hover .value__num { -webkit-text-stroke-color: transparent; color: rgba(241, 79, 68, 0.9); }
.value__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 14px 30px -10px rgba(168, 85, 247, 0.7); transition: transform 0.6s var(--ease); }
.value:hover .value__icon { transform: rotate(-10deg) scale(1.1); }
.value__icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { margin: 26px 0 10px; font-size: 22px; }
.value p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---------- Servicios: tarjetas apiladas ---------- */
.stack { display: grid; gap: 30px; }
.scard { position: sticky; top: calc(var(--header-h) + 24px + var(--i) * 22px); height: min(540px, calc(100vh - 140px)); }
.scard__inner {
  height: 100%; display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; border-radius: 30px;
  border: 1px solid var(--line-2); background: linear-gradient(160deg, #141c3a, #0a0f22 70%);
  box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, 0.9); transform-origin: 50% 0; will-change: transform; position: relative;
}
.scard__inner::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #05070f; opacity: var(--shade, 0); pointer-events: none; z-index: 2; }
.scard:nth-child(2) .scard__inner { background: linear-gradient(160deg, #1a1638, #0b0f24 70%); }
.scard:nth-child(3) .scard__inner { background: linear-gradient(160deg, #101d3a, #0a0f22 70%); }
.scard:nth-child(4) .scard__inner { background: linear-gradient(160deg, #1e1430, #0b0f24 70%); }
.scard__copy { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.scard__head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.scard__num { font-family: var(--font-mono); font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); }
.scard__line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.scard h3 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 16px; }
.scard__copy > p { color: var(--muted); font-size: 16.5px; max-width: 440px; }
.checks { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.checks li { position: relative; padding: 7px 14px 7px 34px; font-size: 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 10px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--grad); }
.checks li::after { content: ""; position: absolute; left: 15.5px; top: 50%; width: 4px; height: 7px; margin-top: -5px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.scard__viz { position: relative; display: grid; place-items: center; padding: 30px; border-left: 1px solid var(--line); background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.12), transparent 65%); overflow: hidden; }
.scard__viz--img { background-size: cover; background-position: center; }
.scard__viz--img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 15, 34, 0.7), rgba(10, 15, 34, 0.2)); }
@media (max-width: 860px) {
  .scard { height: auto; top: calc(var(--header-h) + 12px + var(--i) * 12px); }
  .scard__inner { grid-template-columns: 1fr; }
  .scard__viz { border-left: 0; border-top: 1px solid var(--line); min-height: 260px; }
}

/* Editor de código */
.viz-editor { position: relative; width: min(420px, 100%); border-radius: 14px; border: 1px solid var(--line-2); background: rgba(7, 10, 20, 0.85); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); overflow: hidden; }
.viz-editor__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.viz-editor__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.viz-editor__bar i:nth-child(2) { background: #febc2e; } .viz-editor__bar i:nth-child(3) { background: #28c840; }
.viz-editor__bar span { margin-left: 8px; font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); }
.viz-editor__code { padding: 18px 18px 8px; display: grid; gap: 11px; counter-reset: ln; }
.viz-editor__code p { position: relative; height: 9px; margin-left: calc(var(--x, 0) * 22px + 22px); }
.viz-editor__code p::before { counter-increment: ln; content: counter(ln); position: absolute; left: calc(-22px - var(--x, 0) * 22px); top: -4px; font-family: var(--font-mono); font-size: 10px; color: var(--dim); }
.viz-editor__code p::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: var(--w); border-radius: 5px; background: var(--c); opacity: 0.85; transform-origin: 0 50%; transform: scaleX(0); animation: typeLine 5.6s var(--ease) infinite; animation-delay: var(--d); }
@keyframes typeLine { 0% { transform: scaleX(0); } 12%, 82% { transform: scaleX(1); } 92%, 100% { transform: scaleX(0); } }
.viz-editor__preview { margin: 10px 18px 18px; padding: 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px dashed var(--line-2); display: grid; gap: 8px; animation: previewIn 5.6s var(--ease) infinite; }
.viz-editor__preview b { height: 12px; width: 50%; border-radius: 4px; background: var(--grad); }
.viz-editor__preview span { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); }
.viz-editor__preview span:last-of-type { width: 70%; }
.viz-editor__preview em { justify-self: start; width: 70px; height: 18px; border-radius: 999px; background: var(--violet); }
@keyframes previewIn { 0%, 45% { opacity: 0.15; transform: translateY(8px); } 55%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0.15; } }

/* APIs */
.viz-api { width: min(420px, 100%); height: auto; overflow: visible; }
.viz-api__lines path { stroke: rgba(168, 85, 247, 0.6); stroke-width: 2; stroke-dasharray: 6 8; animation: flow 1.2s linear infinite; }
.viz-api__lines path:nth-child(even) { stroke: rgba(79, 134, 230, 0.7); animation-direction: reverse; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.viz-api circle { fill: #10172e; stroke: rgba(255, 255, 255, 0.25); stroke-width: 1.5; }
.viz-api text { fill: #fff; font-family: var(--font-mono); font-size: 13px; text-anchor: middle; dominant-baseline: central; }
.viz-api__nodes g > * { animation: nodeFloat 4s ease-in-out infinite; }
.viz-api__nodes g:nth-child(2) > * { animation-delay: -1s; } .viz-api__nodes g:nth-child(3) > * { animation-delay: -2s; } .viz-api__nodes g:nth-child(4) > * { animation-delay: -3s; }
@keyframes nodeFloat { 50% { transform: translateY(-6px); } }
.viz-api__hub circle:first-child { fill: url(#gRing); stroke: none; }
.viz-api__hub .pulse { fill: none; stroke: rgba(168, 85, 247, 0.8); transform-box: fill-box; transform-origin: center; animation: hubPulse 2s ease-out infinite; }
.viz-api__hub text { font-size: 16px; font-weight: 600; }
@keyframes hubPulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* Nube */
.viz-cloud { position: relative; width: min(340px, 100%); padding: 18px; border-radius: 16px; background: rgba(7, 10, 20, 0.78); border: 1px solid var(--line-2); backdrop-filter: blur(12px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); display: grid; gap: 10px; }
.viz-cloud__row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); font-family: var(--font-mono); font-size: 12.5px; }
.viz-cloud__row i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; animation: ping 2s infinite; }
.viz-cloud__row:nth-child(2) i { animation-delay: -0.7s; } .viz-cloud__row:nth-child(3) i { animation-delay: -1.4s; }
.viz-cloud__row em { margin-left: auto; font-style: normal; font-size: 11px; color: #3ddc97; }
.viz-cloud__bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; padding-top: 8px; }
.viz-cloud__bars b { flex: 1; height: 100%; border-radius: 3px 3px 0 0; background: var(--grad); opacity: 0.85; transform-origin: 50% 100%; transform: scaleY(0.3); animation: bar 2.4s ease-in-out infinite alternate; }
.viz-cloud__bars b:nth-child(3n) { animation-delay: -0.6s; animation-duration: 1.8s; }
.viz-cloud__bars b:nth-child(3n+1) { animation-delay: -1.2s; animation-duration: 2.8s; }
.viz-cloud__bars b:nth-child(4n) { animation-delay: -0.3s; }
@keyframes bar { 0% { transform: scaleY(0.2); } 50% { transform: scaleY(0.85); } 100% { transform: scaleY(0.45); } }

/* Automatización */
.viz-flow { position: relative; width: min(420px, 100%); display: grid; justify-items: center; gap: 22px; }
.viz-flow__orb { width: 150px; height: 150px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 60px rgba(168, 85, 247, 0.55); animation: spin 30s linear infinite; }
.viz-flow__steps { position: relative; display: flex; justify-content: space-between; width: 100%; }
.viz-flow__steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 50%; height: 1px; background: var(--line-2); }
.viz-flow__steps span { position: relative; padding: 6px 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 11.5px; background: #10172e; border: 1px solid var(--line-2); }
.viz-flow__packet { position: absolute; top: 50%; left: 8%; width: 82%; height: 12px; margin-top: -6px; pointer-events: none; animation: packet 3s var(--ease) infinite; }
.viz-flow__packet::before { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 16px rgba(241, 79, 68, 0.9); }
@keyframes packet { 0% { transform: translateX(0); opacity: 0; } 10%, 90% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }
.viz-flow__chat { width: 100%; display: grid; gap: 8px; font-size: 13px; }
.viz-flow__chat p { max-width: 75%; padding: 8px 12px; border-radius: 14px; animation: chatIn 6s var(--ease) infinite; }
.viz-flow__chat .in { justify-self: start; background: rgba(255, 255, 255, 0.07); border-bottom-left-radius: 4px; }
.viz-flow__chat .out { justify-self: end; background: linear-gradient(100deg, rgba(168, 85, 247, 0.5), rgba(79, 134, 230, 0.5)); border-bottom-right-radius: 4px; animation-delay: 0.8s; }
@keyframes chatIn { 0%, 5% { opacity: 0; transform: translateY(10px) scale(0.95); } 15%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }

.banner-cloud { position: relative; margin-top: 60px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); min-height: 340px; display: flex; align-items: center; isolation: isolate; }
.banner-cloud__img { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.banner-cloud::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 10, 20, 0.95) 10%, rgba(7, 10, 20, 0.55) 60%, rgba(7, 10, 20, 0.2)); }
.banner-cloud__body { padding: clamp(30px, 5vw, 60px); max-width: 640px; }
.banner-cloud h3 { font-size: clamp(26px, 3.4vw, 42px); margin-bottom: 28px; }

/* ---------- Proceso: camino animado ---------- */
.journey { position: relative; height: 680px; }
.journey__svg { position: absolute; left: 0; top: 190px; width: 100%; height: auto; overflow: visible; }
.journey__base { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 2; stroke-dasharray: 0.004 0.008; }
.journey__draw { fill: none; stroke: url(#gPath); stroke-width: 3.5; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.7)); }
.journey__comet { position: absolute; left: 0; top: 0; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(168, 85, 247, 0.3), 0 0 30px 8px rgba(241, 79, 68, 0.7); z-index: 2; opacity: 0; }
.jstep { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.jstep__dot { position: absolute; left: -28px; top: -28px; z-index: 3; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 14px; background: var(--bg); border: 1px solid var(--line-2); transition: background 0.5s, border-color 0.5s, box-shadow 0.5s, transform 0.5s var(--ease); }
.jstep__card { position: absolute; left: 0; width: 220px; translate: -50% 0; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)), var(--bg); opacity: 0.3; transform: translateY(16px) scale(0.96); transition: opacity 0.6s, transform 0.7s var(--ease), border-color 0.6s; }
.jstep:nth-child(odd) .jstep__card { bottom: 44px; transform: translateY(-16px) scale(0.96); }
.jstep:nth-child(even) .jstep__card { top: 44px; }
.jstep__card h3 { font-size: 18px; margin-bottom: 6px; }
.jstep__card p { color: var(--muted); font-size: 14px; }
.jstep.is-active .jstep__dot { background: var(--grad); border-color: transparent; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(168, 85, 247, 0.15), 0 0 30px rgba(241, 79, 68, 0.5); }
.jstep.is-active .jstep__card { opacity: 1; transform: none; border-color: rgba(168, 85, 247, 0.45); }
.no-gsap .jstep__card { opacity: 1; transform: none; }
@media (max-width: 980px) {
  .journey { height: auto; }
  .journey__svg, .journey__comet { display: none; }
  .journey__steps { position: relative; display: grid; gap: 22px; padding-left: 4px; }
  .journey__steps::before { content: ""; position: absolute; left: 31px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
  .journey__steps::after { content: ""; position: absolute; left: 31px; top: 10px; width: 2px; height: calc(var(--progress, 0) * (100% - 20px)); background: var(--grad); box-shadow: 0 0 12px rgba(168, 85, 247, 0.7); }
  .jstep { position: relative; width: auto; height: auto; display: grid; grid-template-columns: 56px 1fr; gap: 18px; left: auto !important; top: auto !important; }
  .jstep__dot { position: relative; left: 0; top: 0; }
  .jstep__card, .jstep:nth-child(odd) .jstep__card, .jstep:nth-child(even) .jstep__card { position: relative; left: auto; top: auto; bottom: auto; width: auto; translate: none; transform: translateX(16px); }
  .jstep.is-active .jstep__card { transform: none; }
}

/* ---------- Tecnologías: esfera ---------- */
.tech { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.tech__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.tech__group { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: border-color 0.4s, background-color 0.4s, transform 0.4s var(--ease); }
.tech__group:hover { border-color: rgba(168, 85, 247, 0.45); background: rgba(168, 85, 247, 0.06); transform: translateY(-4px); }
.tech__group h3 { display: flex; align-items: center; gap: 10px; font-size: 16.5px; margin-bottom: 6px; }
.tech__group h3 span { font-family: var(--font-mono); font-size: 13px; color: var(--red); }
.tech__group p { font-size: 13.5px; color: var(--muted); }
.sphere-wrap { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin-inline: auto; }
.sphere-glow { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(241, 79, 68, 0.35), rgba(168, 85, 247, 0.25) 40%, rgba(79, 134, 230, 0.15) 70%, transparent 72%); filter: blur(10px); animation: breathe 6s ease-in-out infinite; }
.sphere-wrap::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.1); animation: spin 60s linear infinite; }
.sphere { position: absolute; inset: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-content: center; padding: 12%; }
.sphere li { padding: 6px 13px; border-radius: 999px; white-space: nowrap; font-family: var(--font-mono); font-size: 13px; color: var(--text); background: rgba(16, 23, 46, 0.9); border: 1px solid var(--line-2); transition: background-color 0.3s, border-color 0.3s; cursor: default; }
.sphere.is-ready { display: block; padding: 0; }
.sphere.is-ready li { position: absolute; left: 50%; top: 50%; will-change: transform, opacity; }
.sphere li:hover { background: var(--violet); border-color: transparent; }
@media (max-width: 900px) { .tech { grid-template-columns: 1fr; } .sphere-wrap { max-width: 420px; } }
@media (max-width: 480px) { .tech__groups { grid-template-columns: 1fr; } .sphere li { font-size: 11.5px; padding: 5px 10px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head .btn { margin-top: 30px; }
.accordion { display: grid; gap: 14px; }
.acc { position: relative; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); transition: border-color 0.4s, background-color 0.4s; overflow: hidden; }
.acc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform 0.6s var(--ease); }
.acc[open] { border-color: rgba(168, 85, 247, 0.45); background: rgba(168, 85, 247, 0.06); }
.acc[open]::before { transform: scaleY(1); }
.acc summary { display: flex; align-items: center; gap: 16px; padding: 22px 24px; font-family: var(--font-head); font-weight: 500; font-size: 18px; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc__n { font-family: var(--font-mono); font-size: 12.5px; color: var(--red); flex-shrink: 0; }
.acc summary i { position: relative; width: 30px; height: 30px; margin-left: auto; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-2); transition: transform 0.5s var(--ease), background 0.4s; }
.acc summary i::before, .acc summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -0.8px 0 0 -5.5px; background: currentColor; border-radius: 2px; transition: transform 0.4s var(--ease); }
.acc summary i::after { transform: rotate(90deg); }
.acc[open] summary i { transform: rotate(180deg); background: var(--grad); border-color: transparent; }
.acc[open] summary i::after { transform: rotate(0); }
.acc__body { overflow: hidden; }
.acc__body p { padding: 0 24px 24px 56px; color: var(--muted); }
.acc__body strong { color: var(--text); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq__head { position: static; } .acc__body p { padding-left: 24px; } }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(80px, 10vw, 120px); }
.cta__inner { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(50px, 8vw, 100px) clamp(20px, 5vw, 60px); border-radius: 32px; border: 1px solid var(--line-2); background: linear-gradient(135deg, #1a1030, #0d1430 50%, #1c0f1f); }
.cta__inner::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--angle, 0deg), var(--red), var(--violet), var(--blue), var(--red)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rotateAngle 6s linear infinite; }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes rotateAngle { to { --angle: 360deg; } }
.cta__glow { position: absolute; z-index: -1; width: 600px; height: 600px; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, 0.3), transparent 60%); animation: breathe 5s ease-in-out infinite; }
.cta__spot { position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px circle at var(--sx, 50%) var(--sy, 50%), rgba(241, 79, 68, 0.25), transparent 50%); opacity: 0; transition: opacity 0.4s; }
.cta__inner:hover .cta__spot { opacity: 1; }
.cta h2 { font-size: clamp(30px, 4.6vw, 58px); max-width: 860px; margin: 0 auto; }
.cta p { margin: 18px auto 0; max-width: 560px; color: #c6cde0; font-size: 17px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; }
.contact__info { display: grid; gap: 14px; }
.info { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); transition: border-color 0.4s, transform 0.5s var(--ease); }
.info h3 { font-size: 13px; font-family: var(--font-mono); font-weight: 400; color: var(--muted); margin-bottom: 2px; }
.info p { font-family: var(--font-head); font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.info:hover { transform: translateX(6px); }
.info--wa .card__icon { background: linear-gradient(135deg, #1fb85a, #128c7e); border-color: transparent; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 230px; background: var(--bg-3); }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(180deg) saturate(0.6) brightness(0.9); }

.form { padding: clamp(26px, 4vw, 40px); display: grid; gap: 18px; border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); }
.form__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.form h3 { font-size: 26px; }
.form__hint { color: var(--muted); font-size: 15px; margin-top: 6px; }
.form__badge { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; color: #3ddc97; background: rgba(61, 220, 151, 0.1); border: 1px solid rgba(61, 220, 151, 0.3); }
.form__badge i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; animation: ping 2s infinite; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.chips legend { width: 100%; margin-bottom: 10px; padding: 0; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: block; padding: 9px 15px; border-radius: 999px; font-size: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); transition: background 0.35s, border-color 0.35s, transform 0.35s var(--ease); }
.chips label:hover span { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.35); }
.chips input:checked + span { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 20px -8px rgba(168, 85, 247, 0.8); }
.chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } .form__top { flex-direction: column; } }
.field { position: relative; }
.field input, .field textarea { width: 100%; padding: 24px 16px 10px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(7, 10, 20, 0.5); color: var(--text); font: inherit; font-size: 16px; resize: vertical; transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s; }
.field textarea { min-height: 120px; }
.field label { position: absolute; left: 17px; top: 17px; color: var(--muted); font-size: 15.5px; pointer-events: none; transform-origin: 0 0; transition: transform 0.3s var(--ease), color 0.3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(168, 85, 247, 0.8); box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15); background: rgba(7, 10, 20, 0.75); }
.field input:focus + label, .field textarea:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(0.78); color: #c9b6ff; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.wa-preview { padding: 16px; border-radius: 16px; background-color: #0b141a; background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 18px 18px; border: 1px solid var(--line); }
.wa-preview__label { font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.12em; }
.wa-preview__bubble { position: relative; margin-left: auto; margin-right: 8px; max-width: 92%; width: fit-content; min-width: 130px; padding: 9px 12px 22px; border-radius: 12px 0 12px 12px; background: #005c4b; color: #e9edef; font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.wa-preview__bubble::before { content: ""; position: absolute; right: -8px; top: 0; width: 0; height: 0; border-top: 10px solid #005c4b; border-right: 8px solid transparent; }
.wa-preview__bubble::after { content: "ahora ✓✓"; position: absolute; right: 10px; bottom: 4px; font-size: 10.5px; color: #8fd3c2; }
.form__status { min-height: 1.4em; font-size: 14.5px; color: var(--muted); }
.form__status.is-ok { color: #3ddc97; } .form__status.is-error { color: #ff8a80; }
.form__alt { font-size: 14px; color: var(--dim); margin-top: -8px; }
.form__alt a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.footer { position: relative; padding: 40px 0 30px; background: var(--bg-2); overflow: hidden; }
.footer__line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--grad); opacity: 0.7; }
.footer__mega { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 0 50px; margin-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer__mega-text {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(60px, 14vw, 210px); line-height: 1; letter-spacing: -0.05em;
  background-image: var(--grad), linear-gradient(#eef1f8, #eef1f8); background-repeat: no-repeat; background-size: 0% 100%, 100% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; transition: background-size 0.9s var(--ease);
}
.footer__mega:hover .footer__mega-text { background-size: 100% 100%, 100% 100%; }
.footer__mega-arrow { flex-shrink: 0; width: clamp(64px, 10vw, 140px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--grad); transition: transform 0.6s var(--ease); }
.footer__mega-arrow svg { width: 40%; height: 40%; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer__mega:hover .footer__mega-arrow { transform: rotate(45deg) scale(1.05); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1.4fr; gap: 40px; }
.footer__brand p { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 340px; }
.footer h4 { font-size: 15px; font-family: var(--font-mono); font-weight: 500; color: var(--text); margin-bottom: 18px; letter-spacing: 0.04em; }
.footer ul { display: grid; gap: 10px; }
.footer li { color: var(--muted); font-size: 14.5px; }
.footer li a { transition: color 0.3s; }
.footer li a:hover { color: var(--text); }
.footer__bottom { padding-right: 70px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.footer__top:hover { color: var(--text); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } .footer__bottom { padding-right: 0; padding-bottom: 60px; } }

/* ---------- Flotantes ---------- */
.whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6); transition: transform 0.35s var(--ease); }
.whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waRing 2.4s ease-out infinite; }
@keyframes waRing { to { transform: scale(1.6); opacity: 0; } }
.whatsapp svg { width: 29px; height: 29px; fill: currentColor; }
.whatsapp:hover { transform: scale(1.08) rotate(-6deg); }
.whatsapp__tip { position: absolute; right: 70px; top: 50%; translate: 0 -50%; white-space: nowrap; padding: 8px 14px; border-radius: 12px 12px 4px 12px; font-size: 14px; font-weight: 500; color: #0a0f22; background: #fff; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6); opacity: 0; transform: translateX(10px) scale(0.9); transform-origin: right center; transition: opacity 0.4s, transform 0.5s var(--ease); pointer-events: none; }
.whatsapp:hover .whatsapp__tip, .whatsapp.show-tip .whatsapp__tip { opacity: 1; transform: none; }
.to-top { position: fixed; right: 27px; bottom: 94px; z-index: 80; width: 48px; height: 48px; border-radius: 50%; background: rgba(11, 16, 34, 0.85); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 0.4s, visibility 0.4s, transform 0.4s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 2; }
.to-top__track { stroke: var(--line-2); }
.to-top__bar { stroke: var(--violet); stroke-dasharray: 132; stroke-dashoffset: 132; stroke-linecap: round; }
.to-top__arrow { fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); transform-origin: 24px 24px; }
@media (max-width: 600px) { .whatsapp { right: 16px; bottom: 16px; } .whatsapp__tip { display: none; } .to-top { right: 21px; bottom: 86px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .grain { display: none; }
  .hl-word { opacity: 1; }
}
