/* ==========================================================================
   .dEVS — negro, cian #00f0ff y verde #00ff88 (como el sitio original)
   Cada sección tiene su propio fondo, relacionado con lo que muestra.
   ========================================================================== */

:root {
  --bg: #050505;
  --bg-2: #0a0a0a;
  --card: rgba(255, 255, 255, 0.04);
  --card-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --muted-2: #6b6b6b;
  --blue: #00c2ff;
  --cyan: #00f0ff;
  --violet: #00d4ff;
  --pink: #00ff88;
  --green: #00ff88;
  --ok: #00ff88;
  --grad: linear-gradient(100deg, #00f0ff 0%, #00ff88 100%);
  --cyber: "Orbitron", "Plus Jakarta Sans", sans-serif;

  --f: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1220px;
  --gutter: clamp(16px, 4vw, 32px);
  --r: 20px;
  --r-sm: 12px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--f); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
svg { flex: none; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: -9999px; top: 10px; z-index: 200; padding: 10px 14px; border-radius: 10px; background: #fff; color: var(--bg); font-weight: 700; }
.skip:focus { left: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad--pink { background: linear-gradient(100deg, #4fffad, #8affc8); -webkit-background-clip: text; background-clip: text; }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* ---------- Botones ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; }
.btn svg { width: 18px; height: 18px; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--grad { background: var(--grad); background-size: 160% 100%; color: #fff; box-shadow: 0 12px 30px -12px rgba(92,228,255, .8); }
.btn--grad:hover { background-position: 100% 0; box-shadow: 0 18px 44px -12px rgba(79,255,173, .8); }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.btn--line { width: 100%; border: 1px solid var(--line-2); }
.btn--line:hover { border-color: var(--blue); background: rgba(79,243,255,.14); }
.btn--light { background: #fff; color: var(--bg); }
.btn--light:hover { box-shadow: 0 14px 34px -12px rgba(255,255,255,.6); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); transition: height .3s var(--ease); }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14,14,14, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .3s; }
.nav.is-scrolled { height: 64px; }
.nav.is-scrolled::before { opacity: 1; }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { height: 40px; width: auto; transition: height .3s var(--ease); }
.nav.is-scrolled .logo img { height: 34px; }
.nav__links { display: flex; align-items: center; gap: 26px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.nav__links a:not(.btn) { position: relative; transition: color .2s; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__links a:not(.btn):hover, .nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after, .nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__menu-cta { display: none; }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 1080px) {
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .nav__links { position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; background: rgba(14,14,14, .98); font-size: 1.6rem; font-weight: 800; color: var(--text); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; }
  .nav.is-scrolled .nav__links { top: 64px; }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__menu-cta { display: inline-flex; margin-top: 28px; min-height: 56px; font-size: 1rem; }
}

/* ---------- Secciones y encabezados ---------- */
.section { position: relative; overflow: hidden; padding: clamp(80px, 11vw, 140px) 0; isolation: isolate; }
.section > .wrap { position: relative; z-index: 2; }
.head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font: 500 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; }
.head__lead { margin-top: 18px; color: var(--muted); font-size: 1.08rem; }
.head--center .head__lead { margin-inline: auto; max-width: 60ch; }
.head__lead a { color: var(--text); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Tarjetas con brillo que sigue al mouse */
.glowcard { position: relative; }
.glowcard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(92,228,255, .22), transparent 45%); z-index: 0; }
.glowcard:hover::before { opacity: 1; }
.glowcard > * { position: relative; z-index: 1; }

/* =========================================================================
   HERO — estilo del sitio original: grilla, .dEVS_ gigante, lema y arsenal
   ========================================================================= */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--nav-h) + 56px) 0 clamp(64px, 8vw, 110px);
  background: radial-gradient(900px 520px at 50% 28%, rgba(79,243,255,.18), transparent 65%), linear-gradient(180deg, #060606 0%, #050505 55%, #050505 100%); }
.hero__grid { position: absolute; inset: 0; z-index: -2; background-size: 44px 44px;
  background-image: linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 35%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 35%, transparent 100%); }
.hero__glow { position: absolute; left: 50%; top: 18%; width: 620px; height: 320px; margin-left: -310px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(92,228,255,.28), transparent); filter: blur(10px); }
.hero__center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); font: 500 .75rem var(--mono); letter-spacing: .14em; color: var(--muted); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(62,227,192,.15); }
.hero__brand { margin-top: 26px; font-family: "Orbitron", var(--f); font-weight: 900; font-size: clamp(4rem, 15vw, 11.5rem); line-height: .9; letter-spacing: -0.02em; color: #fff; text-shadow: 0 0 60px rgba(79,243,255,.35); }
.hero__dot { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.hero__caret { color: var(--pink); animation: caret 1.05s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero__motto { margin-top: 18px; font: 500 clamp(1.05rem, 2.2vw, 1.6rem) var(--mono); letter-spacing: .02em; color: #dffdff; }
.hero__lead { margin-top: 18px; max-width: 58ch; font-size: clamp(1rem, 1.3vw, 1.1rem); color: var(--muted); }
.hero__lead strong { color: var(--text); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.btn--white { background: #fff; color: #050505; border-radius: 6px; letter-spacing: .12em; font-family: var(--mono); font-weight: 700; }
.btn--white:hover { background: var(--cyan); }
.btn--outline { border: 1px solid rgba(255,255,255,.3); border-radius: 6px; letter-spacing: .12em; font-family: var(--mono); font-weight: 700; }
.btn--outline:hover { background: #fff; color: #050505; }
.arsenal { margin-top: 44px; }
.arsenal__label { font: 500 .72rem var(--mono); letter-spacing: .3em; color: var(--muted-2); }
.arsenal__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 16px; }
.arsenal__list li { opacity: .8; transition: transform .25s var(--ease), opacity .25s; }
.arsenal__list li:hover { opacity: 1; transform: translateY(-4px) scale(1.12); }
.arsenal__list img { width: 34px; height: 34px; }
.arsenal__list img.inv { filter: invert(1) hue-rotate(180deg); }
@media (max-width: 520px) {
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1; padding: 0 14px; }
  .arsenal__list { gap: 16px; }
  .arsenal__list img { width: 28px; height: 28px; }
}

/* Vitrina */
.showcase { min-width: 0; max-width: 1080px; margin: clamp(56px, 7vw, 88px) auto 0; }
.showcase__top { text-align: center; margin-bottom: 14px; }
.showcase__title { font-weight: 800; font-size: 1.05rem; }
.showcase__title span { font-weight: 500; color: var(--muted-2); font-size: .9rem; }
.showcase__tabs { display: flex; gap: 8px; margin-bottom: 12px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; justify-content: safe center; }
.showcase__tabs button { flex: none; white-space: nowrap; }
.showcase__tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: .85rem; font-weight: 700; color: var(--muted); transition: background .25s, color .25s, border-color .25s; }
.showcase__tabs button img { width: 16px; height: 16px; }
.showcase__tabs button:hover { color: var(--text); border-color: rgba(255,255,255,.35); }
.showcase__tabs button[aria-selected="true"] { background: var(--grad); border-color: transparent; color: #fff; }
.browser { overflow: hidden; border-radius: 16px; background: #1e1e1e; border: 1px solid var(--line-2); box-shadow: 0 50px 100px -40px rgba(0,0,0,.95), 0 0 0 6px rgba(255,255,255,.025), 0 0 80px -20px rgba(92,228,255, .35); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; background: #252525; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__url { flex: 1; min-width: 0; margin-left: 10px; padding: 5px 14px; border-radius: 999px; background: rgba(255,255,255,.07); font: .75rem var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__visit { flex: none; padding: 5px 10px; border-radius: 8px; font-size: .75rem; font-weight: 700; color: var(--text); background: rgba(255,255,255,.08); transition: background .2s; }
.browser__visit:hover { background: var(--grad); }
.browser__screen { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: #1e1e1e; }
.scrollshot { position: absolute; inset: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s .45s; }
.scrollshot.is-active { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.scrollshot img { width: 100%; height: auto; transform: translateY(0); transition: transform 1.2s cubic-bezier(.45,.05,.55,.95); }
.browser__screen:hover .scrollshot.is-active img { transform: translateY(var(--travel, -70%)); transition-duration: var(--dur, 9s); }
.scrollshot--cta { display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, rgba(92,228,255, .35), transparent 60%), #1e1e1e; }
.tuweb { display: grid; justify-items: center; gap: 12px; padding: 24px; text-align: center; }
.tuweb img { width: 84px; height: 84px; }
.tuweb__title { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 800; letter-spacing: -0.03em; }
.tuweb p:not(.tuweb__title) { max-width: 36ch; color: var(--muted); }
.showcase__hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; font-size: .8rem; color: var(--muted-2); }
.showcase__mouse { width: 14px; height: 22px; border: 2px solid var(--muted-2); border-radius: 8px; position: relative; }
.showcase__mouse::after { content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 5px; margin-left: -1px; border-radius: 2px; background: var(--muted-2); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(7px); } }
@media (hover: none) {
  .scrollshot { overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .showcase__hint { display: none; }
}
@media (max-width: 520px) {
  .hero__ctas .btn { width: 100%; white-space: normal; text-align: center; }
  .stats { gap: 14px 24px; }
  .showcase__tabs button { padding: 8px 11px; font-size: .78rem; }
}

/* ---------- Dispositivos (laptop + celular) ---------- */
.laptop { position: absolute; left: 0; right: 10%; top: 10%; }
.laptop__screen { position: relative; overflow: hidden; border-radius: 14px 14px 4px 4px; background: #1e1e1e; border: 8px solid #282828; border-bottom-width: 10px; box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); aspect-ratio: 16 / 10; }
.laptop__screen picture { display: block; position: absolute; inset: 30px 0 0 0; }
.laptop__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.laptop__bar { position: relative; z-index: 1; height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #262626; border-bottom: 1px solid var(--line); }
.laptop__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.laptop__bar i:nth-child(2) { background: #febc2e; }
.laptop__bar i:nth-child(3) { background: #28c840; }
.laptop__bar span { flex: 1; max-width: 60%; margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.07); font: .68rem var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.laptop__base { height: 12px; margin: 0 -6%; border-radius: 0 0 14px 14px; background: linear-gradient(#404040, #262626); box-shadow: 0 20px 30px -10px rgba(0,0,0,.7); }
.laptop__base::after { content: ""; display: block; width: 18%; height: 5px; margin: 0 auto; border-radius: 0 0 8px 8px; background: #181818; }
.phone { position: absolute; right: 0; bottom: 4%; width: 27%; border-radius: 30px; padding: 7px; background: #282828; box-shadow: 0 40px 80px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); transform: translateZ(40px); }
.phone picture { display: block; aspect-ratio: 390 / 800; border-radius: 24px; overflow: hidden; background: #1e1e1e; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; image-rendering: -webkit-optimize-contrast; }
.phone__notch { position: absolute; z-index: 2; top: 12px; left: 50%; width: 30%; height: 12px; margin-left: -15%; border-radius: 999px; background: #0a0a0a; }
.tilt { transform-style: preserve-3d; transition: transform .6s var(--ease); }

/* ---------- Cinta de tecnologías ---------- */
.ticker { position: relative; overflow: hidden; padding: 22px 0; background: rgba(255,255,255,.025); border-block: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { display: flex; gap: 44px; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: color .2s; }
.ticker__item:hover { color: var(--text); }
.ticker__item img { width: 28px; height: 28px; filter: grayscale(.4); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================================
   POR QUÉ — fondo "glitch": webs rotas que confunden
   ========================================================================= */
.bg-glitch { background: radial-gradient(700px 400px at 50% 0%, rgba(79,255,173, .12), transparent 60%), var(--bg); }
.bg-glitch::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px); pointer-events: none; }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain { padding: 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s; }
.pain:hover { transform: translateY(-6px) rotate(-.4deg); border-color: rgba(79,255,173, .4); }
.pain__emoji { font-size: 2rem; }
.pain__big { margin: 14px 0; font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.025em; }
.pain p:last-child { color: var(--muted); font-size: .96rem; }
@media (max-width: 880px) { .pains { grid-template-columns: 1fr; } }

/* =========================================================================
   SERVICIOS — fondo blueprint (plano técnico) con línea de escaneo
   ========================================================================= */
.bg-blueprint { background: linear-gradient(rgba(79,243,255,.07) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(79,243,255,.07) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(rgba(79,243,255,.04) 1px, transparent 1px) 0 0 / 8px 8px, linear-gradient(90deg, rgba(79,243,255,.04) 1px, transparent 1px) 0 0 / 8px 8px, #1c1c1c; }
.bg-blueprint::after { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at center, transparent 40%, #050505 95%); pointer-events: none; }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 120px; z-index: 1; background: linear-gradient(transparent, rgba(62, 227, 255, .08), transparent); animation: scan 7s linear infinite; pointer-events: none; }
@keyframes scan { from { transform: translateY(-120px); } to { transform: translateY(1400px); } }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1000px; }
.service { padding: 30px 26px; border-radius: var(--r); background: rgba(30,30,30, .78); border: 1px solid rgba(79,243,255,.25); backdrop-filter: blur(4px); transition: border-color .3s, box-shadow .3s; transform-style: preserve-3d; }
.service:hover { border-color: rgba(92,228,255, .6); box-shadow: 0 30px 60px -30px rgba(92,228,255, .6); }
.service__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--grad); box-shadow: 0 12px 26px -10px rgba(92,228,255, .9); transform: translateZ(30px); }
.service__icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { margin: 22px 0 8px; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.service p { color: var(--muted); font-size: .95rem; }
.mini { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.mini li { padding: 4px 10px; border-radius: 999px; background: rgba(79,243,255,.14); border: 1px solid rgba(79,243,255,.25); font: 500 .72rem var(--mono); color: #c3fbff; }
.mini--dark li { background: rgba(255,255,255,.05); border-color: var(--line-2); color: var(--muted); }
@media (max-width: 1080px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .services { grid-template-columns: 1fr; } }

/* =========================================================================
   PLAYGROUND — fondo de editor de código
   ========================================================================= */
.bg-code { background: #121212; }
.bg-code::before { content: "const web = crear({ negocio, color, estilo }); deploy(web); // .dEVS  function render(){ return <Hero/> + <Servicios/> + <Contacto/> }  await publicar('https://tunegocio.com.ar')  "; position: absolute; inset: -10% -10%; z-index: 0; font: 500 15px/2.2 var(--mono); color: rgba(92,228,255, .08); word-spacing: 14px; transform: rotate(-8deg); pointer-events: none; overflow: hidden; white-space: normal; }
.play { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
.play__controls { display: grid; gap: 18px; padding: 24px; border-radius: var(--r); background: rgba(30,30,30, .85); border: 1px solid var(--line-2); backdrop-filter: blur(8px); }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: .82rem; font-weight: 700; color: var(--muted); }
.field legend { margin-bottom: 8px; }
.field input[type="text"] { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field input[type="text"]:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(92,228,255,.18); }
.seg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg-grid--3 { grid-template-columns: repeat(3, 1fr); }
.seg-grid button { padding: 10px 8px; border-radius: 10px; border: 1px solid var(--line-2); font-size: .82rem; font-weight: 700; color: var(--muted); transition: all .2s; }
.seg-grid button[aria-pressed="true"] { border-color: transparent; background: var(--grad); color: #fff; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches button, .swatch-custom { width: 34px; height: 34px; border-radius: 50%; background: var(--c); border: 2px solid transparent; box-shadow: 0 0 0 2px rgba(255,255,255,.08); transition: transform .2s, box-shadow .2s; }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px #fff; transform: scale(1.08); }
.swatch-custom { position: relative; overflow: hidden; cursor: pointer; background: conic-gradient(#ff4f4f, #ffd34f, #3ee3c0, #4ff3ff, #4fffad, #ff4f4f); }
.swatch-custom input { position: absolute; inset: -10px; opacity: 0; cursor: pointer; }
.play__stage { min-width: 0; }
.play__tabs { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.play__tabs button { padding: 8px 14px; border-radius: 10px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.play__tabs button[aria-selected="true"] { background: rgba(255,255,255,.08); color: var(--text); }
.play__live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font: 500 .75rem var(--mono); color: var(--ok); }
.play__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: ping 2s infinite; }
.play__frame { overflow: hidden; border-radius: 16px; border: 1px solid var(--line-2); background: #1e1e1e; box-shadow: 0 50px 90px -40px rgba(0,0,0,.9); }
.mock { height: 470px; overflow: hidden; transition: background .4s; }
.code { height: 470px; margin: 0; padding: 20px; overflow: auto; font: .8rem/1.7 var(--mono); color: #cdfcff; background: #191919; }
.code .t { color: #79ffc0; } .code .a { color: #8be9fd; } .code .s { color: #f1fa8c; } .code .c { color: #838383; } .code .p { color: #93e8f9; }
@media (max-width: 960px) { .play { grid-template-columns: 1fr; } .mock, .code { height: 420px; } }

/* Sitio de ejemplo que genera el playground */
.m { --mc: #f59e0b; height: 100%; display: flex; flex-direction: column; font-family: var(--f); color: #1c1c1c; background: #fff; transition: background .4s, color .4s; }
.m--dark { background: #161616; color: #f2feff; }
.m--bold { background: var(--mc); color: #fff; }
.m__nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; font-size: .8rem; }
.m__brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .95rem; }
.m__brand i { width: 26px; height: 26px; border-radius: 8px; background: var(--mc); display: grid; place-items: center; font-style: normal; color: #fff; font-size: .75rem; }
.m--bold .m__brand i { background: #fff; color: var(--mc); }
.m__links { display: flex; gap: 16px; opacity: .7; }
.m__hero { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: center; padding: 10px 24px 24px; }
.m__kicker { display: inline-block; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--mc) 16%, transparent); color: var(--mc); font-size: .7rem; font-weight: 800; }
.m--bold .m__kicker { background: rgba(255,255,255,.2); color: #fff; }
.m__title { margin: 10px 0; font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; word-break: break-word; }
.m__sub { font-size: .88rem; opacity: .75; }
.m__btns { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.m__btn { padding: 9px 16px; border-radius: 999px; background: var(--mc); color: #fff; font-size: .78rem; font-weight: 800; }
.m__btn--alt { background: transparent; color: inherit; border: 1.5px solid currentColor; opacity: .8; }
.m--bold .m__btn { background: #fff; color: var(--mc); }
.m__art { position: relative; height: 100%; min-height: 180px; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, var(--mc), color-mix(in srgb, var(--mc) 40%, #2b2b2b)); display: grid; place-items: center; font-size: 4.2rem; }
.m--bold .m__art { background: rgba(255,255,255,.15); }
.m__art::after { content: ""; position: absolute; width: 140%; height: 60%; bottom: -30%; left: -20%; border-radius: 50%; background: rgba(255,255,255,.18); }
.m__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 24px 24px; }
.m__card { padding: 12px; border-radius: 12px; background: color-mix(in srgb, var(--mc) 9%, transparent); font-size: .72rem; font-weight: 700; }
.m--dark .m__card { background: rgba(255,255,255,.06); }
.m--bold .m__card { background: rgba(255,255,255,.16); }
.m__card b { display: block; font-size: 1.1rem; margin-bottom: 2px; }
@media (max-width: 560px) { .m__hero { grid-template-columns: 1fr; } .m__art { min-height: 110px; font-size: 3rem; } .m__links { display: none; } }

/* =========================================================================
   TEST — fondo con orbes que flotan (decisiones / opciones)
   ========================================================================= */
.bg-quiz { background: radial-gradient(800px 500px at 15% 30%, rgba(92,228,255, .22), transparent 60%), radial-gradient(700px 500px at 90% 80%, rgba(62, 227, 255, .14), transparent 60%), #121212; }
.quiz-orbs span { position: absolute; z-index: 0; border-radius: 50%; filter: blur(2px); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), rgba(92,228,255,.15) 40%, transparent 70%); animation: float 14s ease-in-out infinite; }
.quiz-orbs span:nth-child(1) { width: 140px; height: 140px; left: 6%; top: 12%; }
.quiz-orbs span:nth-child(2) { width: 80px; height: 80px; right: 10%; top: 18%; animation-delay: -5s; }
.quiz-orbs span:nth-child(3) { width: 200px; height: 200px; right: 30%; bottom: -60px; animation-delay: -9s; }
@keyframes float { 50% { transform: translate(20px, -30px) scale(1.05); } }
.quiz-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.quiz-wrap .head { margin-bottom: 0; }
.quiz-perks { display: grid; gap: 10px; margin-top: 26px; color: var(--muted); }
.quiz-perks li { display: flex; align-items: center; gap: 10px; }
.quiz-perks svg { width: 20px; height: 20px; color: var(--ok); }
.quiz { padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: rgba(28,28,28, .85); border: 1px solid rgba(92,228,255, .35); box-shadow: 0 40px 90px -40px rgba(92,228,255, .7); backdrop-filter: blur(10px); min-height: 440px; display: flex; flex-direction: column; }
.quiz__top { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.quiz__step { font: 500 .78rem var(--mono); color: var(--cyan); white-space: nowrap; }
.quiz__bar { flex: 1; height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width .5s var(--ease); }
.quiz__body { flex: 1; display: flex; flex-direction: column; }
.quiz__q { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 22px; }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); text-align: left; font-weight: 600; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.quiz__opt:hover { border-color: var(--violet); background: rgba(92,228,255,.12); transform: translateX(4px); }
.quiz__opt span:first-child { font-size: 1.4rem; }
.quiz__opt small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }
.quiz__back { align-self: flex-start; margin-top: 18px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.quiz__back:hover { color: var(--text); }
.quiz__anim { animation: qin .45s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateX(24px); } }
.result__label { font: 500 .78rem var(--mono); color: var(--ok); letter-spacing: .1em; text-transform: uppercase; }
.result__plan { margin: 8px 0 4px; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.result__price { font-size: 1.1rem; font-weight: 700; color: var(--muted); }
.result__price b { color: var(--text); font-size: 1.5rem; }
.result__why { margin: 18px 0; display: grid; gap: 8px; color: var(--muted); }
.result__why li { display: flex; gap: 10px; }
.result__why svg { width: 18px; height: 18px; margin-top: 4px; color: var(--ok); }
.result__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
@media (max-width: 960px) { .quiz-wrap { grid-template-columns: 1fr; } }

/* =========================================================================
   PLANES — fondo con foco de luz (como una vidriera)
   ========================================================================= */
.bg-pricing { background: radial-gradient(900px 420px at 50% 0%, rgba(79,243,255, .3), transparent 65%), linear-gradient(180deg, #1e1e1e, #050505 70%); }
.bg-pricing::before { content: ""; position: absolute; left: 50%; top: -10%; width: 60%; height: 70%; z-index: 0; transform: translateX(-50%); background: conic-gradient(from 160deg at 50% 0%, transparent, rgba(255,255,255,.08), transparent 40deg); filter: blur(20px); pointer-events: none; }
.plan-controls { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; }
.switcher { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); }
.switcher__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--grad); transition: transform .45s var(--ease); }
.switcher[data-active="buy"] .switcher__pill { transform: translateX(100%); }
.switcher button { position: relative; z-index: 1; border-radius: 999px; padding: 10px 22px; font-weight: 800; font-size: .92rem; color: var(--muted); transition: color .25s; }
.switcher button small { display: block; font-size: .68rem; font-weight: 500; opacity: .85; }
.switcher button[aria-pressed="true"] { color: #fff; }
.currency { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); }
.currency button { border-radius: 999px; padding: 10px 16px; font-weight: 800; font-size: .88rem; color: var(--muted); }
.currency button[aria-pressed="true"] { background: #fff; color: var(--bg); }
.plan-note { min-height: 1.5em; margin: 14px 0 40px; text-align: center; font-size: .86rem; color: var(--muted-2); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: var(--r); background: rgba(29,29,29, .82); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-6px); border-color: var(--line-2); }
.plan.is-recommended { border-color: var(--ok); box-shadow: 0 0 0 3px rgba(62,227,192,.25), 0 30px 60px -30px rgba(62,227,192,.5); }
.plan--hot { background: linear-gradient(rgba(38,38,38, .98), rgba(38,38,38, .98)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 70px -30px rgba(92,228,255, .7); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: var(--grad); font-size: .75rem; font-weight: 800; white-space: nowrap; z-index: 2; }
.plan__tier { font: 500 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.plan h3 { margin-top: 6px; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.plan__desc { margin-top: 6px; min-height: 3.2em; color: var(--muted); font-size: .93rem; }
.plan__price { margin-top: 20px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font-size: 2.7rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price small { font-size: .85rem; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price__per { font-size: .9rem; color: var(--muted); font-weight: 600; }
.plan__extra { margin-top: 8px; min-height: 1.4em; font-size: .8rem; color: var(--ok); font-weight: 700; }
.plan__list { margin: 22px 0 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 11px; flex: 1; }
.plan__list li { position: relative; padding-left: 28px; font-size: .93rem; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(79,243,255,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%239eb4ff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.price.is-flip { animation: flip .45s var(--ease); }
@keyframes flip { 0% { opacity: 0; transform: translateY(-12px); filter: blur(4px); } }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } .plan__desc { min-height: 0; } }
.compare { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 18px; }
.compare__col { padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.compare__col h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 14px; }
.compare__col ul { display: grid; gap: 10px; color: var(--muted); font-size: .93rem; }
.compare__col li { display: flex; gap: 10px; }
.compare__col svg { width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
.compare__cta { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 26px; border-radius: var(--r); background: var(--grad); }
.compare__cta b { display: block; font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.compare__cta .btn { align-self: flex-start; }
@media (max-width: 960px) { .compare { grid-template-columns: 1fr 1fr; } .compare__cta { grid-column: 1 / -1; } }
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }

/* =========================================================================
   PROYECTOS — fondo de escritorio de trabajo (superficie con luz)
   ========================================================================= */
.bg-showcase { background: radial-gradient(1000px 500px at 80% 10%, rgba(62, 227, 255, .12), transparent 60%), radial-gradient(900px 500px at 0% 60%, rgba(92,228,255, .14), transparent 60%), linear-gradient(180deg, #050505, #181818 50%, #050505); }
.bg-showcase::before { content: ""; position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); pointer-events: none; }
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: center; margin-bottom: clamp(72px, 9vw, 120px); }
.feature--flip .feature__info { order: 2; }
.feature__info h3 { margin: 14px 0 6px; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.feature__lead { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.feature__info > p:not(.feature__lead) { color: var(--muted); }
.feature__info .mini { margin: 18px 0 26px; }
.feature__devices { position: relative; aspect-ratio: 1.35; perspective: 1400px; }
.feature__devices .laptop { left: 0; right: 12%; top: 4%; }
.feature__devices .phone { width: 25%; bottom: 0; }
.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(79,243,255,.16); color: #b9faff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.tag--green { background: rgba(190, 242, 100, .14); color: #d6ff7a; }
.tag--violet { background: rgba(92,228,255, .2); color: #c2f5ff; }
@media (max-width: 960px) { .feature { grid-template-columns: 1fr; } .feature--flip .feature__info { order: 0; } }
.work-sub { margin-bottom: 22px; font-size: 1.4rem; font-weight: 800; }
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project { border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s; }
.project:hover { transform: translateY(-6px); border-color: var(--line-2); }
.project__media { aspect-ratio: 16 / 10; overflow: hidden; }
.project__media picture, .project__media img, .project__media .cover { width: 100%; height: 100%; }
.project__media img { object-fit: cover; transition: transform .9s var(--ease); }
.project:hover .project__media img, .project:hover .cover { transform: scale(1.06); }
.project__info { padding: 20px 22px 24px; }
.project__info h4 { margin-top: 10px; font-size: 1.15rem; font-weight: 800; }
.project__info p { margin-top: 4px; color: var(--muted); font-size: .93rem; }
@media (max-width: 960px) { .work { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .work { grid-template-columns: 1fr; } }
.cover { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 8%; overflow: hidden; transition: transform .9s var(--ease); }
.cover__eyebrow { position: relative; z-index: 1; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cover__title { position: relative; z-index: 1; font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; line-height: .95; letter-spacing: -0.04em; }
.cover--estate { background: radial-gradient(circle at 80% 20%, #2f6b52, #1e1e1e 70%); color: #efe2c4; }
.cover--estate::after { content: ""; position: absolute; right: 8%; top: 8%; width: 32%; aspect-ratio: 1; border: 1.5px solid rgba(239,226,196,.45); border-radius: 50% 50% 0 0; }
.cover--comex { background: repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,255,255,.07) 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, rgba(255,255,255,.07) 23px 24px), linear-gradient(135deg, #055d63, #212121); color: #fff; }
.cover--comex::after { content: ""; position: absolute; left: 8%; right: 8%; top: 52%; height: 2px; background: var(--grad); }
.cover--vega { background: linear-gradient(135deg, #e7e2d8, #c9c2b4); color: #1a1a1a; justify-content: flex-end; }
.cover__shape { position: absolute; right: 10%; top: 12%; width: 40%; height: 60%; background: #1a1a1a; clip-path: polygon(0 100%, 0 30%, 60% 0, 100% 0, 100% 100%); }

/* =========================================================================
   TECNOLOGÍAS — órbitas girando
   ========================================================================= */
.bg-orbit { background: radial-gradient(circle at 50% 45%, #044c51, #050505 65%); }
.orbits { position: absolute; left: 50%; top: 50%; z-index: 0; pointer-events: none; }
.orbits i { position: absolute; left: 0; top: 0; border: 1px dashed rgba(92,228,255, .25); border-radius: 50%; translate: -50% -50%; animation: spin 60s linear infinite; }
.orbits i::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 20px var(--pink); }
.orbits i:nth-child(1) { width: 420px; height: 420px; }
.orbits i:nth-child(2) { width: 720px; height: 720px; animation-duration: 90s; animation-direction: reverse; }
.orbits i:nth-child(2)::after { background: var(--cyan); box-shadow: 0 0 20px var(--cyan); }
.orbits i:nth-child(3) { width: 1040px; height: 1040px; animation-duration: 130s; }
.orbits i:nth-child(3)::after { background: var(--blue); box-shadow: 0 0 20px var(--blue); }
@keyframes spin { to { rotate: 360deg; } }
.stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stack__group { padding: 26px; border-radius: var(--r); background: rgba(29,29,29, .7); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.stack__group h3 { margin-bottom: 18px; font: 500 .8rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.techs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.tech { display: grid; justify-items: center; gap: 8px; padding: 16px 8px 12px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line); font-size: .78rem; font-weight: 700; color: var(--muted); text-align: center; transition: transform .3s var(--ease), border-color .3s, background .3s, color .3s; }
.tech img { width: 38px; height: 38px; transition: transform .4s var(--ease); }
.tech:hover { transform: translateY(-4px); border-color: rgba(92,228,255,.5); background: rgba(92,228,255,.1); color: var(--text); }
.tech:hover img { transform: scale(1.15) rotate(-6deg); }
.tech--invert img { filter: invert(1); }
@media (max-width: 800px) { .stack { grid-template-columns: 1fr; } }

/* =========================================================================
   PROCESO — línea de tiempo que se llena al bajar
   ========================================================================= */
.bg-timeline { background: linear-gradient(180deg, #050505, #191919); }
.bg-timeline::before { content: ""; position: absolute; inset: 0; z-index: 0; background: repeating-linear-gradient(90deg, transparent 0 119px, rgba(255,255,255,.035) 119px 120px); pointer-events: none; }
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 70px; display: grid; gap: 40px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 25px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; }
.timeline::before { background: rgba(255,255,255,.08); }
.timeline::after { background: var(--grad); transform-origin: top; transform: scaleY(var(--fill, 0)); }
.tl { position: relative; padding: 24px 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.tl__n { position: absolute; left: -70px; top: 18px; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #212121; border: 2px solid var(--line-2); font: 800 1rem var(--mono); transition: background .4s, border-color .4s, box-shadow .4s; }
.tl.is-in .tl__n { background: var(--grad); border-color: transparent; box-shadow: 0 0 30px rgba(92,228,255, .6); }
.tl h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.tl p { color: var(--muted); }

/* =========================================================================
   EQUIPO — luces de estudio fotográfico
   ========================================================================= */
.bg-team { background: radial-gradient(500px 500px at 25% 55%, rgba(79,243,255,.2), transparent 70%), radial-gradient(500px 500px at 75% 55%, rgba(79,255,173,.16), transparent 70%), #131313; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1040px; margin: 0 auto; }
.person { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: start; padding: 26px; border-radius: 24px; background: rgba(29,29,29, .8); border: 1px solid var(--line); }
.person__photo { position: relative; aspect-ratio: 1; border-radius: 50%; padding: 4px; background: var(--grad); }
.person__photo::after { content: ""; position: absolute; inset: -10px; z-index: -1; border-radius: 50%; background: var(--grad); filter: blur(24px); opacity: .45; }
.person__photo picture { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 3px solid #212121; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.person:hover .person__photo img { transform: scale(1.06); }
.person__role { font: 500 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.person h3 { margin: 6px 0 10px; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
.person__info > p:not(.person__role) { color: var(--muted); font-size: .95rem; }
.person__links { display: flex; gap: 8px; margin-top: 16px; }
.person__links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); transition: background .25s, border-color .25s; }
.person__links a:hover { background: var(--grad); border-color: transparent; }
.person__links svg { width: 18px; height: 18px; }
@media (max-width: 960px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .person { grid-template-columns: 1fr; justify-items: start; } .person__photo { width: 140px; } }

/* ---------- FAQ — fondo de burbujas de chat ---------- */
.bg-faq { background: #050505; }
.bg-faq::before { content: "💬"; position: absolute; right: 4%; top: 10%; z-index: 0; font-size: 18rem; opacity: .035; transform: rotate(-12deg); pointer-events: none; }
.faq-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(92,228,255, .45); background: var(--card-2); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 56px 20px 22px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: rgba(255,255,255,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } }

/* ---------- CTA — aurora ---------- */
.bg-cta { padding-top: 40px; }
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px); border-radius: 32px; text-align: center; background: #242424; }
.cta::before { content: ""; position: absolute; inset: -50%; z-index: -1; background: conic-gradient(from 0deg, #0bc3d0, #0dcbf1, #0ced84, #0bc3d0); animation: aurora 12s linear infinite; filter: blur(40px); opacity: .85; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255,255,255,.15) 1px, transparent 1px) 0 0 / 22px 22px; }
.cta__logo { width: 84px; margin: 0 auto 20px; filter: drop-shadow(0 0 24px rgba(255,255,255,.4)); animation: spin 30s linear infinite; }
.cta h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.cta p { margin: 14px auto 0; max-width: 46ch; font-size: 1.1rem; color: rgba(255,255,255,.88); }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta .btn--ghost { border-color: rgba(255,255,255,.45); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 28px; font-size: .9rem; color: var(--muted); background: #0a0a0a; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 32px; }
.footer__logo { height: 44px; width: auto; }
.footer__brand p { margin: 16px 0 18px; max-width: 36ch; }
.footer__h { margin-bottom: 14px; color: var(--text); font-weight: 800; }
.footer ul { display: grid; gap: 10px; }
.footer ul a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--text); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.socials a:hover { background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted-2); }
.footer__bottom a:hover { color: var(--text); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Flotantes ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }
.term-btn { position: fixed; left: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #212121; border: 1px solid var(--line-2); font: 800 .95rem var(--mono); color: var(--ok); box-shadow: 0 12px 30px -10px rgba(0,0,0,.8); transition: transform .25s var(--ease), border-color .25s; }
.term-btn:hover { transform: translateY(-3px); border-color: var(--ok); }
.term { position: fixed; left: 20px; bottom: 84px; z-index: 110; width: min(560px, calc(100vw - 40px)); border-radius: 16px; overflow: hidden; background: rgba(15,15,15, .97); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -20px rgba(0,0,0,.9); font: .85rem/1.6 var(--mono); animation: qin .3s var(--ease); }
.term[hidden] { display: none; }
.term__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #1e1e1e; border-bottom: 1px solid var(--line); }
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.term__bar i:nth-child(2) { background: #febc2e; }
.term__bar i:nth-child(3) { background: #28c840; }
.term__bar span { margin-left: 8px; color: var(--muted); font-size: .75rem; }
.term__bar button { margin-left: auto; width: 26px; height: 26px; border-radius: 8px; color: var(--muted); font-size: 1.2rem; line-height: 1; }
.term__bar button:hover { background: rgba(255,255,255,.08); color: var(--text); }
.term__out { height: 280px; overflow-y: auto; padding: 14px 16px 4px; color: #cdfcff; white-space: pre-wrap; word-break: break-word; }
.term__out .ok { color: var(--ok); } .term__out .pk { color: var(--pink); } .term__out .cy { color: var(--cyan); } .term__out .mu { color: var(--muted-2); }
.term__out a { color: var(--cyan); text-decoration: underline; }
.term__in { display: flex; align-items: center; gap: 10px; padding: 10px 16px 14px; color: var(--pink); }
.term__in input { flex: 1; border: 0; outline: 0; background: none; color: var(--text); font: inherit; }
.term__in input:focus-visible { outline: none; }

/* Efecto Matrix del comando "matrix" */
.matrix { position: fixed; inset: 0; z-index: 150; pointer-events: none; }

/* ---------- Páginas legales ---------- */
.legal { padding: calc(var(--nav-h) + 48px) 0 clamp(72px, 10vw, 120px); }
.legal .wrap { max-width: 820px; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.legal__back:hover { color: var(--text); }
.legal h1 { margin-top: 24px; font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
.legal__date { margin-top: 10px; color: var(--muted-2); font-size: .9rem; }
.legal__body { margin-top: 40px; color: #c3f8fc; }
.legal__body h2 { margin: 40px 0 12px; font-size: 1.3rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.legal__body p, .legal__body li { margin-bottom: 12px; }
.legal__body ul { list-style: disc; padding-left: 22px; }
.legal__body a { color: #b9faff; text-decoration: underline; text-underline-offset: 3px; }
.legal__box { margin: 28px 0; padding: 22px 24px; border-radius: var(--r-sm); background: var(--card-2); border: 1px solid var(--line-2); }
.legal__box p:last-child { margin-bottom: 0; }

/* =========================================================================
   FONDOS NUEVOS — estáticos y livianos, cada uno ligado a su sección
   ========================================================================= */
/* Por qué: antes y después — mitad apagada, mitad con color */
.bg-glitch { background: linear-gradient(90deg, #050505 0%, #050505 50%, transparent 50%), radial-gradient(700px 500px at 85% 40%, rgba(92,228,255,.22), transparent 65%), radial-gradient(500px 400px at 95% 90%, rgba(79,243,255,.18), transparent 60%), #050505; }
.bg-glitch::before { inset: 0 50% 0 0; opacity: .6; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E"); }
/* Servicios: haces de luz desde arriba, como en los posteos de Instagram */
.bg-blueprint { background: conic-gradient(from 180deg at 50% -20%, transparent 160deg, rgba(79,243,255,.18) 172deg, transparent 178deg, rgba(92,228,255,.16) 186deg, transparent 194deg, rgba(79,243,255,.12) 202deg, transparent 210deg), radial-gradient(900px 400px at 50% 0%, rgba(79,243,255,.18), transparent 70%), #141414; }
.bg-blueprint::after { background: radial-gradient(ellipse at center, transparent 55%, #050505 100%); }
/* Armado en vivo: lienzo de diseño (cuadrícula de puntos tipo editor) */
.bg-code { background: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px) 0 0 / 22px 22px, radial-gradient(800px 500px at 20% 50%, rgba(79,255,173,.12), transparent 60%), #121212; }
.bg-code::before { content: none; }
/* Test: anillos concéntricos (encontrar tu plan) */
.bg-quiz { background: repeating-radial-gradient(circle at 78% 50%, rgba(92,228,255,.10) 0 2px, transparent 2px 70px), radial-gradient(600px 400px at 78% 50%, rgba(92,228,255,.25), transparent 70%), #121212; }
/* Planes: foco de vidriera */
.bg-pricing { background: radial-gradient(700px 380px at 50% 0%, rgba(255,255,255,.08), transparent 70%), radial-gradient(1000px 500px at 50% 10%, rgba(79,243,255,.24), transparent 70%), linear-gradient(180deg, #1e1e1e, #050505 75%); }
.bg-pricing::before { content: none; }
/* Proyectos: el color de cada producto detrás de su captura */
.bg-showcase { background: linear-gradient(180deg, #050505, #161616 50%, #050505); }
.feature { position: relative; }
.feature::before { content: ""; position: absolute; z-index: -1; width: 60%; height: 90%; top: 5%; right: -6%; border-radius: 50%; filter: blur(90px); opacity: .5; background: radial-gradient(circle, rgba(214, 255, 58, .35), transparent 70%); }
.feature--flip::before { right: auto; left: -6%; background: radial-gradient(circle, rgba(92,228,255, .45), rgba(79,255,173, .2) 50%, transparent 70%); }
/* Tecnologías: circuito impreso */
.bg-orbit { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='none' stroke='%234f7bff' stroke-opacity='.16' stroke-width='1.2'%3E%3Cpath d='M0 40h40l20 20h40M100 60v40l20 20h40M40 160v-30l20-20h30M120 0v20l-20 20'/%3E%3C/g%3E%3Cg fill='%239b5cff' fill-opacity='.35'%3E%3Ccircle cx='100' cy='60' r='3'/%3E%3Ccircle cx='90' cy='110' r='3'/%3E%3Ccircle cx='100' cy='40' r='3'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 160px 160px, radial-gradient(circle at 50% 40%, #044c51, #050505 70%); }
/* Proceso: hoja de ruta */
.bg-timeline { background: radial-gradient(600px 600px at 50% 50%, rgba(79,243,255,.12), transparent 70%), linear-gradient(180deg, #050505, #191919); }
.bg-timeline::before { background: repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,.03) 39px 40px); }

/* =========================================================================
   ANTES / DESPUÉS
   ========================================================================= */
.ba { margin-top: clamp(48px, 7vw, 80px); }
.ba__head { text-align: center; margin-bottom: 22px; }
.ba__head h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.03em; }
.ba__head p { color: var(--muted); margin-top: 6px; }
.ba__frame { --pos: 50%; position: relative; height: clamp(320px, 42vw, 460px); overflow: hidden; border-radius: 18px; border: 1px solid var(--line-2); box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); user-select: none; }
.ba__side { position: absolute; inset: 0; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 20px rgba(255,255,255,.6); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: #1e1e1e; font-weight: 800; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba__label { position: absolute; bottom: 14px; padding: 5px 10px; border-radius: 8px; font-size: .75rem; font-weight: 800; pointer-events: none; }
.ba__label--l { left: 14px; background: #ddd; color: #333; }
.ba__label--r { right: 14px; background: var(--grad); color: #fff; }
/* sitio viejo */
.old { height: 100%; background: #c0c0c0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Crect width='4' height='4' fill='%23b8b8b8'/%3E%3C/svg%3E"); font-family: "Times New Roman", Times, serif; color: #000; padding: 14px; }
.old__top { background: #007780; color: #ffff00; font: bold 18px "Comic Sans MS", cursive, sans-serif; padding: 8px; text-align: center; }
.old__menu { background: #fff; padding: 6px; margin: 8px 0; font-size: 14px; color: #00deee; }
.old__body { background: #fff; padding: 12px; border: 3px ridge #888; font-size: 15px; line-height: 1.35; max-width: 640px; }
.old__body p + p { margin-top: 10px; }
.old__marquee { color: #ff0000; font-weight: bold; }
.old__counter { font-family: "Courier New", monospace; background: #000; color: #0f0; display: inline-block; padding: 2px 6px; }
.old__small { font-size: 12px; color: #555; }
/* sitio nuevo */
.new { height: 100%; background: linear-gradient(135deg, #fff7ec, #ffe9d2); color: #1c1c1c; font-family: var(--f); display: flex; flex-direction: column; }
.new__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 28px; font-size: .85rem; }
.new__nav b { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.new__nav b i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #d9822b; color: #fff; font-style: normal; font-size: .72rem; }
.new__nav span { opacity: .65; }
.new__nav em { font-style: normal; padding: 8px 14px; border-radius: 999px; background: #1c1c1c; color: #fff; font-weight: 700; }
.new__hero { flex: 1; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 20px; padding: 0 28px; }
.new__kicker { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(217,130,43,.15); color: #b5651d; font-size: .72rem; font-weight: 800; }
.new__title { margin: 10px 0 8px; font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.new__sub { opacity: .75; }
.new__btns { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.new__btns span { padding: 10px 16px; border-radius: 999px; background: #d9822b; color: #fff; font-weight: 800; font-size: .82rem; }
.new__btns span + span { background: transparent; color: #1c1c1c; border: 1.5px solid #1c1c1c; }
.new__art { display: grid; place-items: center; aspect-ratio: 1; border-radius: 28px; background: linear-gradient(135deg, #f3b25a, #d9822b); font-size: clamp(3rem, 7vw, 5.5rem); box-shadow: 0 30px 60px -30px rgba(217,130,43,.8); }
.new__cards { display: flex; gap: 10px; padding: 18px 28px 24px; }
.new__cards span { flex: 1; padding: 10px 12px; border-radius: 12px; background: #fff; font-size: .75rem; font-weight: 700; box-shadow: 0 6px 16px -10px rgba(0,0,0,.25); }
.new__cards b { display: block; font-size: 1rem; }
@media (max-width: 640px) { .new__hero { grid-template-columns: 1fr; } .new__art { display: none; } .new__nav span { display: none; } .old__body { font-size: 13px; } .new__cards { padding: 12px 16px 16px; } }

/* Proyectos: navegador con recorrido */
.browser--feature .browser__screen { aspect-ratio: 16 / 10.5; }

/* =========================================================================
   RENDIMIENTO EN CELULAR
   ========================================================================= */
@media (max-width: 760px) {
  .hero__light, .feature::before { display: none; }
  .service, .stack__group, .quiz, .play__controls, .chip, .pill { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .nav::before { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14,14,14, .96); }
  .cta::before, .cta__logo, .ticker__track, .hero__aurora { animation: none !important; }
  .cta::before { filter: none; opacity: .5; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (max-width: 600px) { .term-btn { display: none; } }

.project { display: block; color: inherit; }
.project__media.browser__screen { aspect-ratio: 16 / 11; border-bottom: 1px solid var(--line); }
.project:hover .scrollshot.is-active img { transform: translateY(var(--travel, -70%)); transition-duration: var(--dur, 9s); }
.project__go { display: inline-block; margin-left: 4px; color: var(--muted-2); transition: transform .25s var(--ease), color .25s; }
.project:hover .project__go { color: var(--text); transform: translate(3px, -3px); }
.work-sub span { font-size: .9rem; font-weight: 500; color: var(--muted-2); }

#showcase-screen { aspect-ratio: 16 / 9; }
.project__media .scrollshot picture { height: auto; }
.project__media .scrollshot img { height: auto; object-fit: initial; }
@media (hover: none) { .showcase__title span, .work-sub span { display: none; } }

/* =========================================================================
   HERO con video de fondo
   ========================================================================= */
.hero { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 24px) 0 96px; background: #060606; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #050505 url("/assets/video/code-fill-poster.jpg") center / cover no-repeat; }
.hero__video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 48%, rgba(8,8,8,.78) 0%, rgba(8,8,8,.62) 45%, rgba(8,8,8,.45) 100%), linear-gradient(180deg, rgba(14,14,14,.55) 0%, rgba(14,14,14,.25) 40%, rgba(14,14,14,.92) 92%, #050505 100%); }
.hero__center { width: 100%; }
.hero__brand { text-shadow: 0 0 40px rgba(0,0,0,.6), 0 0 80px rgba(79,243,255,.35); }
.hero__motto { color: #eefeff; text-shadow: 0 2px 20px rgba(0,0,0,.8); }
.hero__badge { background: rgba(14,14,14,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--outline { background: rgba(14,14,14,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero__down { position: absolute; left: 50%; bottom: 28px; width: 28px; height: 44px; margin-left: -14px; border: 2px solid rgba(255,255,255,.4); border-radius: 16px; }
.hero__down span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@media (max-width: 760px) {
  .hero__badge, .btn--outline { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero__down span { animation: none; }
}

/* Vitrina en su propia sección */
.section--vitrina { background: radial-gradient(900px 420px at 50% 0%, rgba(79,243,255,.16), transparent 70%), #050505; }
.section--vitrina .showcase { margin-top: 0; }
.showcase__hint-top { text-align: center; font-size: .82rem; color: var(--muted-2); margin-bottom: 12px; }
@media (hover: none) { .showcase__hint-top { display: none; } }

/* =========================================================================
   EFECTOS POR SECCIÓN
   Las animaciones que se repiten se pausan cuando la sección no está a la vista.
   ========================================================================= */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.section:not(.in-view) *, .section:not(.in-view)::before, .section:not(.in-view)::after { animation-play-state: paused !important; }

/* ---------- Lema: cada palabra se ilumina por turno ---------- */
.hero__motto .mw { position: relative; display: inline-block; opacity: 0; transform: translateY(10px); animation: mwIn .7s var(--ease) forwards, mwGlow 6s ease-in-out 1.6s infinite; }
.hero__motto .mw:nth-child(1) { animation-delay: .25s, 1.6s; }
.hero__motto .mw:nth-child(2) { animation-delay: .45s, 3.6s; }
.hero__motto .mw:nth-child(3) { animation-delay: .65s, 5.6s; }
.hero__motto .mw::after { content: ""; position: absolute; left: 0; right: .4em; bottom: -6px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; animation: mwLine 6s ease-in-out infinite; animation-delay: inherit; }
.hero__motto .mw:nth-child(1)::after { animation-delay: 1.6s; }
.hero__motto .mw:nth-child(2)::after { animation-delay: 3.6s; }
.hero__motto .mw:nth-child(3)::after { animation-delay: 5.6s; }
@keyframes mwIn { to { opacity: 1; transform: none; } }
@keyframes mwGlow { 0%, 34%, 100% { color: #eefeff; text-shadow: 0 2px 20px rgba(0,0,0,.8); } 8%, 26% { color: #fff; text-shadow: 0 0 18px rgba(92,228,255,.9), 0 0 40px rgba(79,243,255,.6); } }
@keyframes mwLine { 0%, 34%, 100% { transform: scaleX(0); } 8%, 26% { transform: scaleX(1); } }

/* ---------- Servicios: borde de luz que gira, íconos que se dibujan ---------- */
.services { counter-reset: none; }
.service { overflow: hidden; display: flex; flex-direction: column; }
.service::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--ang), transparent 0deg, transparent 250deg, #4ff3ff 290deg, #4fffad 330deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .4s; animation: spinAng 3.2s linear infinite; }
.service:hover::after { opacity: 1; }
@keyframes spinAng { to { --ang: 360deg; } }
.service__num { position: absolute; top: 14px; right: 18px; font: 800 3.2rem/1 var(--f); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); transition: -webkit-text-stroke-color .3s, transform .5s var(--ease); }
.service:hover .service__num { -webkit-text-stroke-color: rgba(92,228,255,.6); transform: translateY(-4px); }
.service__icon svg * { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease); }
.service.is-in .service__icon svg * { stroke-dashoffset: 0; transition-delay: calc(.25s + var(--i, 0) * .12s); }
.service__icon { transition: transform .5s var(--ease), box-shadow .4s; }
.service:hover .service__icon { transform: translateY(-4px) rotate(-6deg) scale(1.06); box-shadow: 0 18px 34px -12px rgba(92,228,255,1); }
.service:hover .service__icon svg * { animation: redraw 1.1s var(--ease); }
@keyframes redraw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.service .mini { margin-bottom: 18px; }
.service__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--muted); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease), color .2s; }
.service__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.service:hover .service__more, .service:focus-within .service__more { opacity: 1; transform: none; color: #fff; }
.service__more:hover svg { transform: translateX(4px); }
@media (hover: none) { .service__more { opacity: 1; transform: none; } }

/* ---------- Cómo trabajamos: cometa sobre la línea y pasos que se encienden ---------- */
.timeline__comet { position: absolute; left: 20px; top: calc(8px + (100% - 16px) * var(--fill, 0)); z-index: 2; width: 13px; height: 13px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(79,255,173,.35), 0 0 24px 6px rgba(79,255,173,.6), 0 -30px 40px -6px rgba(79,243,255,.5); list-style: none; pointer-events: none; }
.tl { transition: transform .5s var(--ease), border-color .4s, background .4s, box-shadow .4s; }
.tl.is-active { transform: translateX(8px); border-color: rgba(92,228,255,.55); background: rgba(92,228,255,.08); box-shadow: 0 24px 60px -30px rgba(92,228,255,.7); }
.tl.is-active .tl__n { animation: pulseRing 1.6s ease-out infinite; }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(79,255,173,.55), 0 0 30px rgba(92,228,255,.6); } 100% { box-shadow: 0 0 0 16px rgba(79,255,173,0), 0 0 30px rgba(92,228,255,.6); } }
.tl__ic { position: absolute; right: 22px; top: 18px; font-size: 1.6rem; opacity: .35; transition: opacity .4s, transform .5s var(--ease); }
.tl.is-active .tl__ic { opacity: 1; transform: scale(1.2) rotate(-8deg); }
.tl__out { display: inline-block; margin-top: 12px; padding: 5px 12px; border-radius: 999px; font: 500 .78rem var(--mono); color: var(--ok); background: rgba(62,227,192,.08); border: 1px solid rgba(62,227,192,.25); opacity: 0; transform: translateY(6px); transition: opacity .4s .15s, transform .4s .15s var(--ease); }
.tl.is-active .tl__out, .tl.was-active .tl__out { opacity: 1; transform: none; }

/* ---------- Equipo: tarjetas que se dan vuelta ---------- */
.people--flip { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 28px; }
.flip { perspective: 1400px; outline: none; }
.flip__inner { position: relative; height: 480px; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.flip:hover .flip__inner, .flip:focus-visible .flip__inner, .flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 24px; padding: 30px 26px; border: 1px solid var(--line-2); overflow: hidden; display: flex; flex-direction: column; }
.flip__front { align-items: center; text-align: center; justify-content: center; background: radial-gradient(400px 300px at 50% 0%, rgba(79,243,255,.25), transparent 70%), rgba(29,29,29,.92); }
.flip__back { transform: rotateY(180deg); justify-content: center; background: radial-gradient(400px 300px at 100% 100%, rgba(79,255,173,.2), transparent 70%), rgba(28,28,28,.96); }
.flip__photo { position: relative; width: 190px; height: 190px; margin-bottom: 22px; border-radius: 50%; padding: 5px; }
.flip__photo::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from var(--ang), #4ff3ff, #5ce4ff, #4fffad, #3ee3c0, #4ff3ff); animation: spinAng 6s linear infinite; }
.flip__photo::after { content: ""; position: absolute; inset: -14px; z-index: -1; border-radius: 50%; background: conic-gradient(from var(--ang), #4ff3ff, #4fffad, #4ff3ff); filter: blur(22px); opacity: .45; animation: spinAng 6s linear infinite; }
.flip__photo picture { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 4px solid #212121; }
.flip__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform .8s var(--ease), filter .5s; }
.flip:hover .flip__photo img { transform: scale(1.06); filter: saturate(1.1); }
.flip h3 { margin: 6px 0 8px; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; }
.flip__tag { color: var(--muted); font-size: .95rem; }
.flip__hint { margin-top: 18px; font: 500 .75rem var(--mono); color: var(--muted-2); animation: hintBob 2.4s ease-in-out infinite; }
@keyframes hintBob { 50% { transform: translateY(-4px); color: var(--text); } }
.flip__back > p:not(.person__role) { color: #c3f8fc; font-size: 1rem; margin-bottom: 16px; }
.flip__back .mini li { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); }
.flip:hover .flip__back .mini li, .flip:focus-visible .flip__back .mini li, .flip.is-flipped .flip__back .mini li { opacity: 1; transform: none; }
.flip__back .mini li:nth-child(2) { transition-delay: .35s; } .flip__back .mini li:nth-child(3) { transition-delay: .42s; } .flip__back .mini li:nth-child(4) { transition-delay: .49s; } .flip__back .mini li:nth-child(5) { transition-delay: .56s; } .flip__back .mini li:nth-child(1) { transition-delay: .28s; }
.flip .person__links { margin-top: 20px; }
@media (max-width: 860px) { .people--flip { grid-template-columns: minmax(0, 420px); } }
@media (hover: none) { .flip:hover .flip__inner { transform: none; } .flip.is-flipped .flip__inner { transform: rotateY(180deg); } .flip__hint { content: ""; } }

/* ---------- Preguntas: como un chat ---------- */
.faq summary { display: flex; align-items: center; }
.faq__q { display: inline-block; }
.faq details[open] summary .faq__q { color: #fff; }
.faq__a { display: flex; gap: 12px; align-items: flex-end; padding: 0 22px 20px; }
.faq__a img { width: 36px; height: 36px; flex: none; border-radius: 50%; background: #1e1e1e; padding: 3px; }
.faq__bubble { position: relative; padding: 14px 16px; border-radius: 16px 16px 16px 4px; background: linear-gradient(135deg, rgba(79,243,255,.18), rgba(92,228,255,.16)); border: 1px solid rgba(92,228,255,.3); }
.faq__bubble p { padding: 0 !important; color: #dffdff !important; }
.faq__typing { display: none; gap: 5px; padding: 4px 2px; }
.faq__typing i { width: 8px; height: 8px; border-radius: 50%; background: #c9fbff; animation: typingDot 1s infinite ease-in-out; }
.faq__typing i:nth-child(2) { animation-delay: .15s; } .faq__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typingDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.faq details.is-typing .faq__typing { display: inline-flex; }
.faq details.is-typing .faq__bubble p { display: none; }
.faq details[open] .faq__a { animation: bubbleIn .45s var(--ease); }
.faq details[open] .faq__bubble p { animation: textIn .4s ease; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@keyframes textIn { from { opacity: 0; } }

/* En celular: menos capas */
@media (max-width: 760px) {
  .flip__photo::after, .flip__hint { animation: none; }
  .flip__photo::after { display: none; }
  .flip__inner { height: 500px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__motto .mw { opacity: 1; transform: none; }
  .service__icon svg * { stroke-dashoffset: 0; }
}


/* =========================================================================
   CIERRE — prolijo: texto + accesos directos
   ========================================================================= */
.bg-cta { background: radial-gradient(800px 400px at 20% 50%, rgba(79,243,255,.14), transparent 70%), radial-gradient(700px 400px at 90% 50%, rgba(79,255,173,.10), transparent 70%), #050505; padding-top: clamp(72px, 9vw, 120px); }
.cta2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 28px; background: linear-gradient(180deg, rgba(36,36,36,.9), rgba(25,25,25,.9)); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -50px rgba(92,228,255,.6); }
.cta2 h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.cta2__copy > p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 1.08rem; max-width: 44ch; }
.cta2 .cta__actions { justify-content: flex-start; margin-top: 28px; }
.cta2__list { display: grid; gap: 10px; }
.cta2__list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line); transition: background .25s, border-color .25s, transform .3s var(--ease); }
.cta2__list a:hover { background: rgba(92,228,255,.1); border-color: rgba(92,228,255,.45); transform: translateX(6px); }
.cta2__ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: 1.1rem; }
.cta2__ic svg { width: 20px; height: 20px; }
.cta2__list b { display: block; font-size: .95rem; }
.cta2__list span:last-child { color: var(--muted); font-size: .88rem; overflow-wrap: anywhere; }
@media (max-width: 860px) { .cta2 { grid-template-columns: 1fr; } }

/* =========================================================================
   HERRAMIENTAS — cintas de logos con filtro por área
   ========================================================================= */
.stackx__filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.stackx__filters button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .88rem; font-weight: 700; color: var(--muted); transition: background .25s, color .25s, border-color .25s; }
.stackx__filters button:hover { color: var(--text); border-color: rgba(255,255,255,.35); }
.stackx__filters button[aria-pressed="true"] { background: var(--grad); color: #fff; border-color: transparent; }
.stackx__rows { display: grid; gap: 16px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.srow { overflow: hidden; }
.srow__track { display: flex; gap: 14px; width: max-content; animation: ticker 46s linear infinite; }
.srow--rev .srow__track { animation-direction: reverse; animation-duration: 52s; }
.stackx__rows:hover .srow__track { animation-play-state: paused; }
.tpill { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border-radius: 16px; background: rgba(29,29,29,.85); border: 1px solid var(--line); white-space: nowrap; transition: opacity .35s, filter .35s, transform .35s var(--ease), border-color .3s, background .3s; }
.tpill img { width: 34px; height: 34px; transition: transform .4s var(--ease); }
.tpill b { display: block; font-size: .98rem; }
.tpill small { display: block; font: 500 .7rem var(--mono); color: var(--muted-2); letter-spacing: .06em; text-transform: uppercase; }
.tpill:hover { border-color: rgba(92,228,255,.6); background: rgba(92,228,255,.12); transform: translateY(-3px); }
.tpill:hover img { transform: scale(1.15) rotate(-6deg); }
.stackx[data-filter]:not([data-filter="all"]) .tpill:not(.is-match) { opacity: .18; filter: grayscale(1); }
.stackx[data-filter]:not([data-filter="all"]) .tpill.is-match { border-color: rgba(62,227,192,.55); box-shadow: 0 0 0 1px rgba(62,227,192,.25), 0 10px 30px -14px rgba(62,227,192,.6); }
.stackx__note { margin-top: 22px; min-height: 1.6em; text-align: center; color: var(--muted); }
.stackx__note b { color: var(--text); }

/* =========================================================================
   QUIÉNES SOMOS — credenciales con brillo holográfico
   ========================================================================= */
.people--badge { grid-template-columns: repeat(2, minmax(0, 520px)); justify-content: center; gap: 26px; }
.badge { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 22px 24px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, rgba(4,80,86,.95), rgba(23,23,23,.95)); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 70px -35px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08); transition: transform .5s var(--ease), box-shadow .4s; transform-style: preserve-3d; }
.badge:hover { box-shadow: 0 40px 90px -35px rgba(92,228,255,.6), inset 0 1px 0 rgba(255,255,255,.12); }
.badge__holo { position: absolute; inset: 0; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .4s; mix-blend-mode: color-dodge;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.18), transparent 40%), linear-gradient(115deg, transparent 20%, rgba(79,243,255,.35) 35%, rgba(79,255,173,.35) 45%, rgba(62,227,192,.3) 55%, transparent 70%);
  background-size: 100% 100%, 250% 250%; background-position: center, var(--hx, 0%) 50%; }
.badge:hover .badge__holo { opacity: .55; }
.badge__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px dashed rgba(255,255,255,.14); }
.badge__top img { height: 26px; width: auto; }
.badge__chip { width: 42px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #e9d18a, #b8954a 60%, #f1e2a8); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); position: relative; }
.badge__chip::before { content: ""; position: absolute; inset: 6px 8px; border: 1px solid rgba(0,0,0,.25); border-radius: 3px; }
.badge__body { display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: start; }
.badge__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; border: 2px solid rgba(255,255,255,.15); }
.badge__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.badge:hover .badge__photo img { transform: scale(1.06); }
.badge__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(23,23,23,.6)); }
.badge__id { font: 500 .72rem var(--mono); color: var(--muted-2); letter-spacing: .08em; }
.badge__ok { color: var(--ok); }
.badge h3 { margin: 6px 0 2px; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
.badge__bio { margin-top: 10px; color: #c3f8fc; font-size: .93rem; }
.badge__skills li { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.badge.is-in .badge__skills li { opacity: 1; transform: none; }
.badge.is-in .badge__skills li:nth-child(2) { transition-delay: .08s; } .badge.is-in .badge__skills li:nth-child(3) { transition-delay: .16s; } .badge.is-in .badge__skills li:nth-child(4) { transition-delay: .24s; } .badge.is-in .badge__skills li:nth-child(5) { transition-delay: .32s; }
.badge__foot { display: flex; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.14); }
.badge__bar { flex: none; width: 92px; height: 28px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px, #fff 8px 11px, transparent 11px 12px); opacity: .6; }
.badge__since { flex: 1; font: 500 .68rem var(--mono); color: var(--muted-2); letter-spacing: .08em; }
.badge .person__links { margin-top: 0; }
@media (max-width: 960px) { .people--badge { grid-template-columns: minmax(0, 520px); } }
@media (max-width: 480px) { .badge__body { grid-template-columns: 96px 1fr; gap: 14px; } .badge h3 { font-size: 1.3rem; } .badge__bar { width: 60px; } }

/* =========================================================================
   PLANES — más vida
   ========================================================================= */
.plan { overflow: hidden; }
.plan::after { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 60%; background: radial-gradient(closest-side, rgba(92,228,255,.35), transparent); opacity: 0; transition: opacity .5s; pointer-events: none; }
.plan:hover::after { opacity: 1; }
.plan:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(79,243,255,.6); }
.plan__list li { opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .45s var(--ease); }
.plan.is-in .plan__list li { opacity: 1; transform: none; }
.plan.is-in .plan__list li:nth-child(2) { transition-delay: .1s; } .plan.is-in .plan__list li:nth-child(3) { transition-delay: .2s; } .plan.is-in .plan__list li:nth-child(4) { transition-delay: .3s; }
.plan--hot .plan__badge { animation: badgePulse 2.4s ease-in-out infinite; }
@keyframes badgePulse { 50% { box-shadow: 0 0 0 6px rgba(92,228,255,.18), 0 0 24px rgba(79,255,173,.5); } }
.plan--hot { animation: hotGlow 4s ease-in-out infinite; }
@keyframes hotGlow { 50% { box-shadow: 0 30px 80px -26px rgba(79,255,173,.75); } }
.plan.is-picked { border-color: var(--ok) !important; box-shadow: 0 0 0 3px rgba(62,227,192,.25), 0 30px 60px -30px rgba(62,227,192,.5); }

/* Calculadora comprar vs alquilar */
.calc { margin-top: 32px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: linear-gradient(180deg, rgba(36,36,36,.92), rgba(25,25,25,.92)); border: 1px solid var(--line-2); }
.calc__head h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; }
.calc__head p { color: var(--muted); margin-top: 4px; }
.calc__plans { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.calc__plans button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .85rem; font-weight: 700; color: var(--muted); transition: background .25s, color .25s, border-color .25s; }
.calc__plans button[aria-pressed="true"] { background: var(--grad); color: #fff; border-color: transparent; }
.calc__range { display: grid; gap: 10px; margin-bottom: 22px; font-weight: 600; color: var(--muted); }
.calc__range b { color: var(--text); }
.calc__range input { width: 100%; accent-color: #5ce4ff; height: 6px; cursor: pointer; }
.calc__bars { display: grid; gap: 14px; }
.calc__row { display: grid; grid-template-columns: 110px 1fr 120px; align-items: center; gap: 14px; font-weight: 700; }
.calc__row b { text-align: right; font-size: 1.1rem; }
.calc__track { height: 14px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.calc__track i { display: block; height: 100%; width: 0; border-radius: inherit; transition: width .6s var(--ease); }
#calc-bar-rent { background: linear-gradient(90deg, #4ff3ff, #3ee3ff); }
#calc-bar-buy { background: linear-gradient(90deg, #5ce4ff, #4fffad); }
.calc__verdict { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: rgba(62,227,192,.08); border: 1px solid rgba(62,227,192,.25); color: #c9fff1; }
@media (max-width: 560px) { .calc__row { grid-template-columns: 1fr auto; } .calc__row .calc__track { grid-column: 1 / -1; grid-row: 2; } }

/* =========================================================================
   AVISO DE COOKIES
   ========================================================================= */
.cookies { position: fixed; left: 50%; bottom: 20px; z-index: 120; width: min(760px, calc(100vw - 32px)); transform: translateX(-50%); display: flex; align-items: center; gap: 18px; padding: 16px 18px; border-radius: 18px; background: rgba(29,29,29,.97); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(0,0,0,.9); animation: cookieIn .5s var(--ease); }
.cookies[hidden] { display: none; }
.cookies p { flex: 1; font-size: .9rem; color: var(--muted); }
.cookies p b { color: var(--text); font-weight: 600; }
.cookies a { color: #c9fbff; text-decoration: underline; text-underline-offset: 3px; }
.cookies__actions { display: flex; gap: 8px; flex: none; }
@keyframes cookieIn { from { opacity: 0; transform: translate(-50%, 20px); } }
@media (max-width: 640px) { .cookies { flex-direction: column; align-items: stretch; bottom: 12px; } .cookies__actions .btn { flex: 1; } }
body:has(.cookies:not([hidden])) .wa-float, body:has(.cookies:not([hidden])) .term-btn { bottom: 110px; }
@media (max-width: 640px) { body:has(.cookies:not([hidden])) .wa-float { bottom: 190px; } }

@media (max-width: 760px) {
  .srow__track { animation-duration: 70s; }
  .plan--hot, .plan--hot .plan__badge { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .plan__list li, .badge__skills li { opacity: 1; transform: none; }
}

/* Herramientas filtradas: la cinta se frena y muestra solo esa área */
.stackx[data-filter]:not([data-filter="all"]) .stackx__rows { mask-image: none; -webkit-mask-image: none; }
.stackx[data-filter]:not([data-filter="all"]) .srow__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
.stackx[data-filter]:not([data-filter="all"]) .tpill:not(.is-match), .stackx[data-filter]:not([data-filter="all"]) .tpill.is-dup { display: none; }
.stackx[data-filter]:not([data-filter="all"]) .srow:not(:has(.is-match)) { display: none; }

/* Mensaje claro del inicio */
.hero__claim { margin-top: 30px; max-width: 26ch; font-size: clamp(1.4rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.85); }
.hero__claim b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 12px; font-size: clamp(.95rem, 1.3vw, 1.05rem); color: #bdf7fc; text-shadow: 0 2px 16px rgba(0,0,0,.9); }
.hero__sub b { color: #fff; }
.hero .hero__motto { margin-top: 16px; font-size: clamp(.85rem, 1.4vw, 1.05rem); color: var(--muted); }
.hero__brand { font-size: clamp(3.4rem, 12vw, 9rem); }

/* =========================================================================
   HERO SIMPLE — solo el mensaje
   ========================================================================= */
.hero--simple { min-height: 86svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 80px;
  background: radial-gradient(700px 420px at 50% 42%, rgba(92,228,255,.20), transparent 70%), radial-gradient(900px 500px at 50% 0%, rgba(79,243,255,.14), transparent 70%), #050505; }
.hero--simple .hero__center { max-width: 980px; margin-inline: auto; }
.hero__eyebrow { font: 500 .82rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__headline { margin-top: 22px; font-size: clamp(2.4rem, 6vw, 4.8rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.045em; }
.hero--simple .hero__lead { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }
.hero--simple .hero__lead strong { color: var(--text); }
.hero--simple .hero__ctas { margin-top: 36px; align-items: center; gap: 22px; }
.hero__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); transition: color .2s; }
.hero__link svg { width: 18px; height: 18px; color: #25d366; }
.hero__link:hover { color: var(--text); }
@media (max-width: 520px) { .hero--simple .hero__ctas { flex-direction: column; gap: 16px; } .hero--simple .hero__ctas .btn { width: 100%; } }

/* =========================================================================
   HERO — nombre de la marca + una frase (sin sobrecarga)
   ========================================================================= */
.hero--brand { min-height: 88svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 88px;
  background: radial-gradient(760px 420px at 50% 40%, rgba(79,243,255,.16), transparent 70%), linear-gradient(180deg, #060606, #050505); }
.hero--brand .hero__center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero--brand .hero__brand { margin-top: 0; font-size: clamp(4.2rem, 15vw, 11rem); }
.hero__motto2 { margin-top: 14px; font: 500 clamp(.95rem, 1.8vw, 1.25rem) var(--mono); letter-spacing: .04em; color: #dffdff; }
.hero__msg { margin-top: 26px; max-width: 34ch; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.4; color: var(--muted); }
.hero__msg b { color: #fff; font-weight: 700; }
.hero--brand .hero__ctas { margin-top: 34px; }

/* Video de código detrás del nombre */
.hero--brand .hero__media { background-position: center; }

.hero--brand .hero__shade { background:
  radial-gradient(ellipse 50% 55% at 50% 48%, rgba(14,14,14,.92) 0%, rgba(14,14,14,.78) 55%, rgba(14,14,14,.5) 100%),
  linear-gradient(180deg, rgba(14,14,14,.6) 0%, rgba(14,14,14,.2) 30%, rgba(14,14,14,.85) 92%, #050505 100%); }
.hero--brand .hero__brand { text-shadow: 0 0 50px rgba(0,0,0,.7), 0 0 90px rgba(92,228,255,.35); }
.hero--brand .hero__msg { color: #bdf7fc; text-shadow: 0 2px 18px rgba(0,0,0,.9); }

/* Inicio: centrado exacto y primera pantalla prolija */
.hero--brand { min-height: calc(100svh - 74px); padding: calc(var(--nav-h) + 24px) 0 48px; }
.hero__word { position: relative; display: inline-block; }
.hero__word .hero__dot { position: absolute; right: 100%; bottom: 0; }
.hero__word .hero__caret { position: absolute; left: 100%; bottom: 0; margin-left: .06em; }
.hero--brand .hero__media { filter: none; transform: none; background-position: center; }
.hero--brand .hero__shade { background:
  radial-gradient(ellipse 46% 50% at 50% 50%, rgba(16,16,16,.9) 0%, rgba(16,16,16,.72) 60%, rgba(16,16,16,.45) 100%),
  linear-gradient(180deg, rgba(16,16,16,.35) 0%, rgba(16,16,16,0) 25%, rgba(16,16,16,0) 70%, rgba(14,14,14,.95) 100%); }
.ticker { position: relative; z-index: 2; }
@media (max-width: 760px) {
  .hero--brand { min-height: 100svh; }
  .hero--brand .hero__shade { background: rgba(16,16,16,.86); }
}

/* Lema: cada palabra con su color y un brillo que la recorre por turno */
.hero__motto2 { letter-spacing: .06em; font-weight: 600; }
.mz { display: inline-block; background: linear-gradient(100deg, var(--c) 0%, var(--c) 42%, #fff 50%, var(--c) 58%, var(--c) 100%); background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 10px var(--g)); animation: mzShine 6s ease-in-out infinite; }
.mz--1 { --c: #3ee3ff; --g: rgba(62,227,255,.45); animation-delay: .4s; }
.mz--2 { --c: #7be9ff; --g: rgba(92,228,255,.5); animation-delay: 2.4s; }
.mz--3 { --c: #5affb2; --g: rgba(79,255,173,.5); animation-delay: 4.4s; }
@keyframes mzShine { 0% { background-position: 100% 0; } 18%, 100% { background-position: 0% 0; } }

/* Frase: palabras clave en degradé con subrayado tipo resaltador */
.hero__msg { color: #cff9fc; }
.kw { position: relative; display: inline-block; font-weight: 800; background: var(--k); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kw::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .02em; height: .38em; z-index: -1; border-radius: 4px; background: var(--k); opacity: .28; transform: scaleX(0); transform-origin: left; animation: kwMark .7s var(--ease) forwards; }
.kw--1 { --k: linear-gradient(90deg, #3ee3ff, #4ff3ff); }
.kw--2 { --k: linear-gradient(90deg, #6be6ff, #5ce4ff); }
.kw--3 { --k: linear-gradient(90deg, #4fffad, #ff8a5c); }
.kw--1::after { animation-delay: .5s; } .kw--2::after { animation-delay: .9s; } .kw--3::after { animation-delay: 1.3s; }
@keyframes kwMark { to { transform: scaleX(1); } }
.hero__msg { position: relative; z-index: 0; }
@media (prefers-reduced-motion: reduce) { .kw::after { transform: none; } .mz { background-position: 0 0; } }
.hero__msg .kw { color: transparent; -webkit-text-fill-color: transparent; }

/* Sin cinta de tecnologías: el inicio ocupa la pantalla completa */
.hero--brand { min-height: 100svh; }


/* =========================================================================
   RENDIMIENTO
   ========================================================================= */
/* Sin desenfoques de fondo: son lo más caro al scrollear, sobre todo en celular */
.nav::before, .service, .play__controls, .quiz, .btn--ghost, .btn--outline, .hero__badge, .stack__group, .pill, .chip, .cookies, .badge, .tpill {
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.nav::before { background: rgba(14,14,14, .94); }

/* Animaciones que redibujaban en cada cuadro: ahora solo cuando hace falta */
.service::after { animation: none; }
.service:hover::after { animation: spinAng 3.2s linear infinite; }
.plan--hot, .plan--hot .plan__badge { animation: none !important; }
.plan--hot { box-shadow: 0 30px 70px -30px rgba(92,228,255, .7); }
.mz { filter: none; animation-duration: 8s; }
.flip__photo::before, .flip__photo::after { animation: none; }

/* Tecnologías en celular: grilla quieta con todas visibles (sin cinta en movimiento) */
@media (max-width: 760px) {
  .stackx__rows { mask-image: none; -webkit-mask-image: none; gap: 10px; }
  .srow__track { animation: none !important; width: auto; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .tpill.is-dup { display: none; }
  .tpill { padding: 10px 14px 10px 10px; }
  .tpill img { width: 28px; height: 28px; }
}

/* Antes / después en celular: textos más compactos para que entren */
@media (max-width: 640px) {
  .ba__frame { height: 380px; }
  .new__nav { padding: 12px 14px; }
  .new__hero { padding: 0 14px; }
  .new__title { font-size: 1.25rem; }
  .new__sub { font-size: .8rem; }
  .new__btns span { padding: 8px 12px; font-size: .74rem; }
  .new__cards span { padding: 8px; font-size: .68rem; }
  .old { padding: 8px; }
  .old__top { font-size: 13px; padding: 6px; }
  .old__menu { font-size: 12px; }
}


/* =========================================================================
   HERO KNOCKOUT — el video se ve a través de las letras de .dEVS
   ========================================================================= */
.hero--knock { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 24px) 0 48px; background: #050505; overflow: hidden; isolation: isolate; }
.hero--knock .hero__media { position: absolute; inset: 0; z-index: 0; filter: none; transform: none; background-size: cover; }
.hero--knock .hero__video { opacity: 1; }
.hero--knock .hero__center { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; }
/* La capa tapa todo con azul noche; donde hay letras blancas, "multiply" deja ver el video */
.hero__knock { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; padding: calc(var(--nav-h) + 24px) 0 48px; background: #050505; mix-blend-mode: multiply; pointer-events: none; }
.hero__knock .hero__name { color: #fff; }
.hero__knock .hero__dot, .hero__knock .hero__caret, .hero__knock .hero__line, .hero__knock .hero__ctas, .hero__knock .sr-only { visibility: hidden; }
.hero__front { position: relative; z-index: 2; }
.hero__front .hero__name { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22); }
.hero--knock .hero__brand { margin: 0; font-size: clamp(5rem, 22vw, 17rem); line-height: .86; letter-spacing: -0.03em; text-shadow: none; }
.hero--knock .hero__word { display: inline-block; }
/* Luz suave detrás de las letras para que el video brille */
.hero--knock::after { content: ""; position: absolute; left: 50%; top: 46%; z-index: 0; width: min(90vw, 1100px); height: 50%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(92,228,255, .25), transparent); pointer-events: none; }
.hero__line { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 16px; font-size: clamp(1.05rem, 2.1vw, 1.5rem); }
.hero__line i { font-style: normal; color: var(--muted-2); }
.hero__line .kw { color: transparent; -webkit-text-fill-color: transparent; }
.hero--knock .hero__ctas { margin-top: 32px; }
/* Leve zoom del video para que se sienta vivo dentro de las letras */
.hero--knock .hero__video, .hero--knock .hero__media { transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .hero--knock .hero__media { animation: knockZoom 24s ease-in-out infinite alternate; }
}
@keyframes knockZoom { from { transform: scale(1); } to { transform: scale(1.12); } }
@media (max-width: 760px) {
  .hero--knock .hero__media { animation: none; filter: none; }
  .hero--knock .hero__brand { font-size: 25vw; }
}
/* Relleno de las letras: degradé de marca + código más brillante */
.hero--knock .hero__media { transform: scale(1.35); }
.hero--knock .hero__video { filter: brightness(1.9) contrast(1.25) saturate(1.3); }
.hero--knock .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, #2ff1ff 0%, #33d4f4 45%, #3fffa5 100%); mix-blend-mode: screen; opacity: .62; pointer-events: none; }
.hero__knock { background: #0a0a0a; }
@keyframes knockZoom { from { transform: scale(1.35); } to { transform: scale(1.5); } }
.hero__front .hero__name { -webkit-text-stroke: 1px rgba(255, 255, 255, .35); }
/* Relleno: video de código denso; sin zoom ni filtros, apenas un tinte de marca */
.hero--knock .hero__media { transform: none; animation: none !important; }
.hero--knock .hero__video { filter: none; }
.hero--knock .hero__media::after { opacity: .18; }
.hero--knock .hero__brand { font-size: clamp(5rem, 21vw, 16rem); }
@media (max-width: 760px) { .hero--knock .hero__brand { font-size: 21vw; } .hero__word .hero__caret { display: none; } }


/* =========================================================================
   HERO FILL — las letras de .dEVS rellenas de código que sube en loop
   (recorte de texto con CSS: sin video, sin capas mezcladas)
   ========================================================================= */
.hero--fill { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 24px) 0 48px; overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 460px at 50% 44%, rgba(92,228,255, .22), transparent 70%), radial-gradient(700px 400px at 50% 100%, rgba(79,255,173, .10), transparent 70%), #050505; }
.hero--fill .hero__center { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; }
.hero--fill .hero__brand { margin: 0; font-size: clamp(5rem, 21vw, 16rem); line-height: .86; letter-spacing: -0.03em; text-shadow: none; }
.hero--fill .hero__name {
  background: url("/assets/img/code-tile.webp") 0 0 / 820px auto repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .28);
  animation: codeScroll 16s linear infinite; }
@keyframes codeScroll { to { background-position: 0 -471.5px; } }
.hero--fill .hero__line { margin-top: 28px; }
.hero--fill .hero__ctas { margin-top: 32px; }
@media (max-width: 760px) {
  .hero--fill .hero__brand { font-size: 21vw; }
  .hero--fill .hero__name { background-size: 520px auto; animation-duration: 20s; }
  @keyframes codeScroll { to { background-position: 0 -299px; } }
  .hero--fill .hero__word .hero__caret { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero--fill .hero__name { animation: none; } }
/* Letras sólidas: código sobre el degradé de la marca */
.hero--fill .hero__name {
  background: url("/assets/img/code-tile.webp") 0 0 / 820px auto repeat, linear-gradient(120deg, #3df2ff 0%, #33d4f4 50%, #14f38b 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: 0; }
@keyframes codeScroll { to { background-position: 0 -471.5px, 0 0; } }
@media (max-width: 760px) {
  .hero--fill .hero__name { background-size: 520px auto, 100% 100%; }
  @keyframes codeScroll { to { background-position: 0 -299px, 0 0; } }
}

/* =========================================================================
   LÍNEA DEL INICIO — encendido neón, color que fluye y brillo
   ========================================================================= */
.hero__line { gap: 8px 22px; }
.hero__line .kw { position: relative; padding: 2px 4px; cursor: default; font-weight: 800; letter-spacing: -0.01em;
  background-size: 220% 100%; background-position: 0% 0;
  filter: drop-shadow(0 0 10px var(--glow));
  animation: neonOn 1.3s steps(1) both, gradFlow 4s linear infinite;
  transition: transform .35s var(--ease), filter .35s; }
.hero__line .kw--1 { --k: linear-gradient(90deg, #3ee3ff, #4ff3ff, #8becff, #3ee3ff); --glow: rgba(62, 227, 255, .55); animation-delay: .25s, 1.6s; }
.hero__line .kw--2 { --k: linear-gradient(90deg, #7be9ff, #5ce4ff, #5ce4ff, #7be9ff); --glow: rgba(123,233,255, .6); animation-delay: .65s, 1.6s; }
.hero__line .kw--3 { --k: linear-gradient(90deg, #4fffad, #ff8a5c, #ffd34f, #4fffad); --glow: rgba(79,255,173, .6); animation-delay: 1.05s, 1.6s; }
.hero__line .kw:hover { transform: translateY(-4px) scale(1.06); filter: drop-shadow(0 0 18px var(--glow)) drop-shadow(0 0 4px var(--glow)); }
/* El subrayado tipo resaltador arranca cuando la palabra ya se prendió */
.hero__line .kw--1::after { animation-delay: 1.1s; } .hero__line .kw--2::after { animation-delay: 1.5s; } .hero__line .kw--3::after { animation-delay: 1.9s; }
@keyframes neonOn {
  0% { opacity: .08; } 12% { opacity: 1; } 18% { opacity: .15; } 28% { opacity: 1; } 34% { opacity: .3; } 46% { opacity: 1; } 100% { opacity: 1; } }
@keyframes gradFlow { to { background-position: 220% 0; } }
/* Separadores que laten */
.hero__line i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #fff; font-size: 0; align-self: center; box-shadow: 0 0 10px rgba(255,255,255,.8); animation: dotPulse 2s ease-in-out infinite; }
.hero__line i:nth-of-type(2) { animation-delay: 1s; }
@keyframes dotPulse { 50% { transform: scale(1.6); opacity: .5; box-shadow: 0 0 16px rgba(92,228,255, .9); } }
@media (max-width: 760px) { .hero__line .kw { filter: none; } .hero__line { gap: 6px 16px; } }
@media (prefers-reduced-motion: reduce) { .hero__line .kw, .hero__line i { animation: none; } }

/* =========================================================================
   INICIO — fondo que reacciona al mouse: grilla de puntos que se ilumina
   alrededor del cursor, luz que lo sigue y dos manchas de color en paralaje
   ========================================================================= */
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; --px: 50%; --py: 45%; --mx: 0; --my: 0; }
.hero__bg > span { position: absolute; display: block; }
/* Grilla tenue en todo el fondo */
.hero__grid { inset: -40px; background-image: radial-gradient(rgba(255, 255, 255, .55) 1.2px, transparent 1.6px); background-size: 30px 30px; opacity: .14;
  transform: translate(calc(var(--mx) * -24px), calc(var(--my) * -24px)); transition: transform .5s var(--ease); }
/* Luz bajo el cursor: ilumina los puntos cercanos */
.hero__glow { left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(92,228,255, .32), rgba(62, 227, 255, .10) 55%, transparent);
  transform: translate(var(--px), var(--py)); transition: opacity .5s; }
.hero__bg.is-live .hero__grid { -webkit-mask: radial-gradient(300px circle at calc(var(--px) + 40px) calc(var(--py) + 40px), #000 0, rgba(0,0,0,.25) 60%, rgba(0,0,0,.25)); mask: radial-gradient(300px circle at calc(var(--px) + 40px) calc(var(--py) + 40px), #000 0, rgba(0,0,0,.25) 60%, rgba(0,0,0,.25)); opacity: .5; }
.hero__bg.is-on .hero__glow { opacity: 1; }
/* Manchas de color que se corren al revés del mouse */
.hero__orb { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; border-radius: 50%; transition: transform .9s var(--ease); }
.hero__orb--a { left: -8vw; top: 6%; background: radial-gradient(closest-side, rgba(61,242,255, .30), transparent); transform: translate(calc(var(--mx) * -70px), calc(var(--my) * -50px)); }
.hero__orb--b { right: -8vw; bottom: -6%; background: radial-gradient(closest-side, rgba(20,243,139, .26), transparent); transform: translate(calc(var(--mx) * 70px), calc(var(--my) * 50px)); }
/* Celular / sin mouse: la luz da una vuelta lenta sola */
@media (hover: none), (pointer: coarse) {
  .hero__glow { opacity: .8; width: 420px; height: 420px; margin: -210px 0 0 -210px; left: 50%; top: 40%; transform: none; animation: glowDrift 14s ease-in-out infinite alternate; }
  .hero--fill:not(.in-view) .hero__glow { animation-play-state: paused; }
}
@keyframes glowDrift { 0% { transform: translate(-30vw, -10vh); } 50% { transform: translate(25vw, 5vh); } 100% { transform: translate(-10vw, 18vh); } }
@media (prefers-reduced-motion: reduce) { .hero__glow { animation: none; } .hero__grid, .hero__orb { transition: none; } }

/* =========================================================================
   INICIO LIMPIO (estilo del sitio original): negro, cian y verde.
   Solo el nombre, una línea y la invitación a bajar. Sin botones.
   ========================================================================= */
.hero--fill { background: radial-gradient(800px 420px at 50% 42%, rgba(0, 240, 255, .10), transparent 70%), #050505; }
.hero--fill .hero__center { padding-bottom: 40px; }
.hero__badge { display: inline-flex; margin-bottom: 26px; padding: 7px 16px; border: 1px solid rgba(0, 240, 255, .3); border-radius: 999px; background: rgba(0, 240, 255, .05);
  font: 700 .72rem/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); }
.hero--fill .hero__name { background: url("/assets/img/code-tile.webp") 0 0 / 820px auto repeat, linear-gradient(120deg, #00f0ff 0%, #00c2ff 45%, #00ff88 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 1px rgba(255, 255, 255, .25); }
@media (max-width: 760px) { .hero--fill .hero__name { background-size: 520px auto, 100% 100%; } }
.hero--fill .hero__dot { color: #fff; }
.hero--fill .hero__caret { color: var(--cyan); text-shadow: 0 0 18px rgba(0, 240, 255, .8); }
/* Línea en mono, como el original, con el encendido neón en cian/blanco/verde */
.hero__line { font-family: var(--mono); font-size: clamp(.95rem, 1.7vw, 1.2rem); gap: 8px 18px; }
.hero__line .kw { font-weight: 600; letter-spacing: .02em; }
.hero__line .kw::after { display: none; }
.hero__line .kw--1 { --k: linear-gradient(90deg, #00f0ff, #9ffaff, #00f0ff); --glow: rgba(0, 240, 255, .55); }
.hero__line .kw--2 { --k: linear-gradient(90deg, #ffffff, #9ffaff, #ffffff); --glow: rgba(255, 255, 255, .35); }
.hero__line .kw--3 { --k: linear-gradient(90deg, #00ff88, #b6ffd9, #00ff88); --glow: rgba(0, 255, 136, .55); }
.hero__line i { width: 5px; height: 5px; background: var(--cyan); box-shadow: 0 0 10px rgba(0, 240, 255, .9); }
@keyframes dotPulse { 50% { transform: scale(1.6); opacity: .45; } }
/* Grilla cyber (líneas) como el original + luz que sigue al mouse */
.hero__grid { background-image: linear-gradient(rgba(0, 240, 255, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 240, 255, .5) 1px, transparent 1px); background-size: 48px 48px; opacity: .07; }
.hero__bg.is-live .hero__grid { opacity: .32; }
.hero__glow { background: radial-gradient(closest-side, rgba(0, 240, 255, .22), rgba(0, 255, 136, .06) 60%, transparent); }
.hero__orb--a { background: radial-gradient(closest-side, rgba(0, 240, 255, .14), transparent); }
.hero__orb--b { background: radial-gradient(closest-side, rgba(0, 255, 136, .10), transparent); }
/* Invitación a bajar */
.hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); transition: color .25s; }
.hero__scroll:hover { color: var(--cyan); }
.hero__mouse { width: 24px; height: 38px; border: 2px solid currentColor; border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.hero__mouse i { width: 3px; height: 8px; border-radius: 2px; background: var(--cyan); animation: scrollDot 1.8s var(--ease) infinite; }
.hero__scroll-t { font: 600 .66rem/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
.hero--fill:not(.in-view) .hero__mouse i { animation-play-state: paused; }
@media (max-width: 760px) { .hero__badge { font-size: .62rem; letter-spacing: .16em; margin-bottom: 20px; } .hero__scroll { bottom: 18px; } }
@media (prefers-reduced-motion: reduce) { .hero__mouse i { animation: none; } }

/* Títulos de sección en Orbitron, como el original */
.head h2 { font-family: var(--cyber); font-weight: 800; font-size: clamp(1.6rem, 3.3vw, 2.6rem); letter-spacing: -0.01em; line-height: 1.15; }
.nav__links a:not(.btn) { font: 600 .74rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 520px) { .hero__line { gap: 6px 14px; } .hero__line i { display: none; } }

/* "¿Necesitás algo distinto?": texto negro sobre el degradé cian → verde */
.compare__cta, .compare__cta p, .compare__cta b { color: #050505 !important; }
.compare__cta p { font-weight: 500; }
.compare__cta b { display: block; margin-bottom: 4px; font-size: 1.15rem; font-weight: 800; }
.compare__cta .btn--light { background: #050505; color: #fff; box-shadow: none; }
.compare__cta .btn--light:hover { background: #111; color: var(--cyan); }

/* =========================================================================
   SERVICIOS — cada tarjeta muestra el servicio funcionando (mini demos en
   CSS, solo transform/opacity, en pausa cuando la sección no se ve)
   ========================================================================= */
.svcs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.svc { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: #0a0a0a; border: 1px solid var(--line); transition: border-color .35s, transform .45s var(--ease), box-shadow .35s; }
.svc--web, .svc--ai { grid-column: span 3; } .svc--shop, .svc--sys { grid-column: span 2; }
.svc--web, .svc--ai { flex-direction: row; } .svc--web .svc__demo, .svc--ai .svc__demo { flex: 1.1; border-bottom: 0; border-right: 1px solid var(--line); }
.svc--web .svc__txt, .svc--ai .svc__txt { flex: 1; }
.svc:hover { border-color: rgba(0, 240, 255, .45); transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(0, 240, 255, .55); }
/* Línea de escaneo que recorre el borde de arriba al pasar el mouse */
.svc::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 40%; background: linear-gradient(90deg, transparent, var(--cyan), var(--green), transparent); transform: translateX(-110%); z-index: 3; }
.svc:hover::before { animation: svcScan 1.4s var(--ease) infinite; }
@keyframes svcScan { to { transform: translateX(260%); } }
.svc__demo { position: relative; min-height: 210px; display: grid; place-items: center; padding: 22px; border-bottom: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(rgba(0, 240, 255, .05) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(0, 240, 255, .05) 1px, transparent 1px) 0 0 / 22px 22px, radial-gradient(circle at 50% 120%, rgba(0, 240, 255, .12), transparent 60%); }
.svc__txt { display: flex; flex-direction: column; padding: 24px 24px 22px; }
.svc__path { margin-bottom: 10px; font: 500 .74rem/1 var(--mono); color: var(--muted-2); }
.svc__path b { color: var(--cyan); font-weight: 500; }
.svc__path::after { content: "_"; color: var(--cyan); animation: blink 1s steps(1) infinite; }
.svc h3 { margin-bottom: 8px; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.svc__txt > p:not(.svc__path) { color: var(--muted); font-size: .95rem; }
.svc .mini { margin: 16px 0 18px; }
.svc__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--muted); transition: color .2s; }
.svc__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.svc__more:hover { color: var(--cyan); } .svc__more:hover svg { transform: translateX(4px); }
@keyframes blink { 50% { opacity: 0; } }
/* Pausa todo cuando la sección no está en pantalla */
#servicios:not(.in-view) .svc__demo *, #servicios:not(.in-view) .svc__path::after { animation-play-state: paused !important; }

/* --- 1. Página web que se arma sola --- */
.mb { position: relative; width: min(100%, 340px); border-radius: 10px; background: #111; border: 1px solid var(--line-2); box-shadow: 0 20px 40px -20px #000; }
.mb__bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; border-bottom: 1px solid var(--line); }
.mb__bar i { width: 7px; height: 7px; border-radius: 50%; background: #333; }
.mb__bar span { margin-left: 8px; font: .62rem var(--mono); color: var(--muted-2); }
.mb__body { padding: 12px; display: grid; gap: 10px; }
.mb__body > *, .mb__hero > * > *, .mb__cards span { animation: mbIn 6s var(--ease) infinite both; }
.mb__nav { display: flex; gap: 6px; align-items: center; animation-delay: .1s !important; }
.mb__nav b { width: 26px; height: 8px; border-radius: 3px; background: var(--cyan); margin-right: auto; }
.mb__nav span { width: 18px; height: 5px; border-radius: 3px; background: #333; }
.mb__hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; align-items: center; animation: none !important; }
.mb__hero > div:first-child { display: grid; gap: 6px; }
.mb__t1 { height: 10px; width: 92%; border-radius: 3px; background: #e9e9e9; animation-delay: .5s !important; }
.mb__t2 { height: 10px; width: 64%; border-radius: 3px; background: var(--grad); animation-delay: .8s !important; }
.mb__btn { margin-top: 4px; height: 14px; width: 54px; border-radius: 999px; background: var(--cyan); animation-delay: 1.1s !important; }
.mb__img { height: 62px; border-radius: 7px; background: linear-gradient(135deg, rgba(0, 240, 255, .5), rgba(0, 255, 136, .35)); animation: mbIn 6s var(--ease) infinite both; animation-delay: 1.3s; }
.mb__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; animation: none !important; }
.mb__cards span { height: 30px; border-radius: 6px; background: #1c1c1c; border: 1px solid var(--line); }
.mb__cards span:nth-child(1) { animation-delay: 1.6s; } .mb__cards span:nth-child(2) { animation-delay: 1.75s; } .mb__cards span:nth-child(3) { animation-delay: 1.9s; }
@keyframes mbIn { 0% { opacity: 0; transform: translateY(8px) scale(.96); } 8%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-4px); } }
.mb__score { position: absolute; right: -8px; bottom: -12px; padding: 6px 10px; border-radius: 999px; background: #050505; border: 1px solid rgba(0, 255, 136, .5); font: 700 .66rem var(--mono); color: var(--green); box-shadow: 0 0 18px rgba(0, 255, 136, .25); animation: popIn 6s var(--ease) infinite both; animation-delay: 2.3s; }
@keyframes popIn { 0% { opacity: 0; transform: scale(.6); } 6%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: scale(.9); } }

/* --- 2. Tienda: agregar al carrito y pago aprobado --- */
.shop { position: relative; width: min(100%, 250px); height: 170px; }
.shop__item { position: absolute; left: 0; top: 0; width: 140px; padding: 10px; border-radius: 12px; background: #111; border: 1px solid var(--line-2); display: grid; gap: 3px; }
.shop__img { height: 64px; border-radius: 8px; margin-bottom: 4px; background: radial-gradient(circle at 40% 40%, rgba(0, 240, 255, .55), transparent 60%), #1a1a1a; }
.shop__item b { font-size: .74rem; } .shop__item span { font: .68rem var(--mono); color: var(--muted); }
.shop__add { margin-top: 4px; padding: 5px 0; border-radius: 999px; text-align: center; font: normal 700 .66rem/1 var(--f); background: var(--cyan); color: #050505; animation: tap 5s var(--ease) infinite; }
@keyframes tap { 0%, 18% { transform: none; } 22% { transform: scale(.88); box-shadow: 0 0 0 6px rgba(0, 240, 255, .25); } 28%, 40% { transform: none; } 44% { transform: scale(.88); box-shadow: 0 0 0 6px rgba(0, 240, 255, .25); } 50%, 100% { transform: none; } }
.shop__cart { position: absolute; right: 8px; top: 8px; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #111; border: 1px solid var(--line-2); }
.shop__cart svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shop__cart i { position: absolute; right: -6px; top: -6px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font: normal 800 .62rem/1 var(--f); background: var(--green); color: #050505; opacity: 0; }
.shop__n1 { animation: n1 5s var(--ease) infinite; } .shop__n2 { animation: n2 5s var(--ease) infinite; }
@keyframes n1 { 0%, 22% { opacity: 0; transform: scale(0); } 26% { opacity: 1; transform: scale(1.3); } 30%, 44% { opacity: 1; transform: none; } 46%, 100% { opacity: 0; } }
@keyframes n2 { 0%, 44% { opacity: 0; transform: scale(0); } 48% { opacity: 1; transform: scale(1.3); } 52%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.shop__toast { position: absolute; left: 30px; right: -10px; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: #050505; border: 1px solid rgba(0, 255, 136, .5); font-size: .72rem; font-weight: 700; box-shadow: 0 10px 30px -10px rgba(0, 255, 136, .5); animation: toast 5s var(--ease) infinite; }
.shop__toast span { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #050505; font-size: .66rem; }
@keyframes toast { 0%, 58% { opacity: 0; transform: translateY(14px); } 64%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }

/* --- 3. Sistema: panel con barras y filas que entran --- */
.dash { width: min(100%, 250px); padding: 12px; border-radius: 12px; background: #111; border: 1px solid var(--line-2); display: grid; gap: 10px; }
.dash__kpi { display: flex; justify-content: space-between; align-items: baseline; font-size: .68rem; color: var(--muted); }
.dash__kpi b { font: 800 1rem var(--mono); color: var(--green); }
.dash__bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.dash__bars i { flex: 1; height: 100%; border-radius: 4px 4px 2px 2px; background: linear-gradient(to top, rgba(0, 240, 255, .35), var(--cyan)); transform-origin: bottom; transform: scaleY(var(--h)); animation: bar 4s var(--ease) infinite; }
.dash__bars i:nth-child(2) { animation-delay: .15s; } .dash__bars i:nth-child(3) { animation-delay: .3s; } .dash__bars i:nth-child(4) { animation-delay: .45s; } .dash__bars i:nth-child(5) { animation-delay: .6s; } .dash__bars i:nth-child(6) { animation-delay: .75s; } .dash__bars i:nth-child(7) { animation-delay: .9s; background: linear-gradient(to top, rgba(0, 255, 136, .35), var(--green)); }
@keyframes bar { 0%, 100% { transform: scaleY(var(--h)); } 50% { transform: scaleY(calc(var(--h) * .55)); } }
.dash__rows { display: grid; gap: 5px; }
.dash__rows p { display: flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 6px; background: #181818; font: .62rem var(--mono); color: #ddd; animation: row 4.5s var(--ease) infinite both; }
.dash__rows p:nth-child(2) { animation-delay: .35s; } .dash__rows p:nth-child(3) { animation-delay: .7s; }
.dash__rows i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.dash__rows em { margin-left: auto; font-style: normal; color: var(--green); }
@keyframes row { 0% { opacity: 0; transform: translateX(-12px); } 10%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }

/* --- 4. IA: chat que responde y agenda --- */
.chat { width: min(100%, 300px); display: grid; gap: 8px; font-size: .74rem; }
.chat p { max-width: 82%; padding: 8px 12px; border-radius: 14px; opacity: 0; animation: 7s var(--ease) infinite both; }
.chat__u { justify-self: end; background: var(--cyan); color: #050505; font-weight: 600; border-bottom-right-radius: 4px; animation-name: c1 !important; }
.chat__typing { justify-self: start; display: flex; gap: 4px; background: #1a1a1a; animation-name: cTyping !important; }
.chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typingDot 1s ease-in-out infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; } .chat__typing i:nth-child(3) { animation-delay: .3s; }
.chat__b { justify-self: start; background: #1a1a1a; border: 1px solid var(--line-2); border-bottom-left-radius: 4px; animation-name: c3 !important; }
.chat__u2 { animation-name: c4 !important; }
.chat__ok { justify-self: center; max-width: none !important; padding: 6px 12px !important; border-radius: 999px !important; background: rgba(0, 255, 136, .1); border: 1px solid rgba(0, 255, 136, .45); color: var(--green); font: 600 .66rem var(--mono); animation-name: c5 !important; }
@keyframes c1 { 0%, 4% { opacity: 0; transform: translateY(8px); } 8%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes cTyping { 0%, 12% { opacity: 0; } 15%, 30% { opacity: 1; } 33%, 100% { opacity: 0; } }
@keyframes c3 { 0%, 31% { opacity: 0; transform: translateY(8px); } 35%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes c4 { 0%, 46% { opacity: 0; transform: translateY(8px); } 50%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes c5 { 0%, 58% { opacity: 0; transform: scale(.8); } 63%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes typingDot { 50% { transform: translateY(-3px); opacity: .4; } }
.chat__typing { position: relative; }
/* el "escribiendo" ocupa el lugar de la respuesta para que no salte */
.chat__typing { grid-row: 2; } .chat__b { grid-row: 2; } .chat__u2 { grid-row: 3; } .chat__ok { grid-row: 4; }

@media (max-width: 1080px) {
  .svcs { grid-template-columns: 1fr 1fr; }
  .svc--web, .svc--ai, .svc--shop, .svc--sys { grid-column: span 1; flex-direction: column; }
  .svc--web .svc__demo, .svc--ai .svc__demo { border-right: 0; border-bottom: 1px solid var(--line); flex: none; }
}
@media (max-width: 640px) { .svcs { grid-template-columns: 1fr; } .svc__demo { min-height: 190px; } }
@media (prefers-reduced-motion: reduce) {
  .svc__demo *, .svc::before, .svc__path::after { animation: none !important; opacity: 1 !important; transform: none !important; }
  .chat__typing, .shop__n1 { display: none; }
}
.chat > p { grid-column: 1; }

/* =========================================================================
   INICIO — piso de grilla en perspectiva que avanza, horizonte de luz y un
   haz que barre la pantalla. Todo con transform/opacity.
   ========================================================================= */
.hero__grid { -webkit-mask: linear-gradient(#000, transparent 55%); mask: linear-gradient(#000, transparent 55%); }
.hero__bg.is-live .hero__grid { -webkit-mask: radial-gradient(300px circle at calc(var(--px) + 40px) calc(var(--py) + 40px), #000, transparent 70%); mask: radial-gradient(300px circle at calc(var(--px) + 40px) calc(var(--py) + 40px), #000, transparent 70%); }
.hero__floor { left: -40%; right: -40%; bottom: 0; height: 46%; perspective: 420px; perspective-origin: 50% 0; overflow: hidden;
  -webkit-mask: linear-gradient(transparent, #000 30%, #000); mask: linear-gradient(transparent, #000 30%, #000); }
.hero__floor i { position: absolute; left: 0; right: 0; top: 0; height: 260%; transform-origin: 50% 0; transform: rotateX(68deg); overflow: hidden; }
.hero__floor i::before { content: ""; position: absolute; left: 0; right: 0; top: -60px; bottom: 0;
  background-image: linear-gradient(rgba(0, 240, 255, .55) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(0, 240, 255, .4) 1.5px, transparent 1.5px);
  background-size: 60px 60px; animation: floorRun 1.6s linear infinite; }
@keyframes floorRun { to { transform: translateY(60px); } }
.hero__horizon { left: 0; right: 0; bottom: 46%; height: 2px; background: linear-gradient(90deg, transparent, rgba(0, 240, 255, .9) 30%, rgba(0, 255, 136, .9) 70%, transparent);
  box-shadow: 0 0 24px 4px rgba(0, 240, 255, .35), 0 0 80px 20px rgba(0, 240, 255, .12); animation: horizon 4s ease-in-out infinite; }
@keyframes horizon { 50% { opacity: .55; } }
/* Haz de luz que cruza en diagonal cada tanto */
.hero__beam { top: -20%; bottom: -20%; left: 0; width: 18%; background: linear-gradient(90deg, transparent, rgba(0, 240, 255, .07), rgba(255, 255, 255, .06), rgba(0, 255, 136, .05), transparent);
  transform: translateX(-150%) skewX(-18deg); animation: beam 9s var(--ease) infinite 1.5s; }
@keyframes beam { 0% { transform: translateX(-150%) skewX(-18deg); } 35%, 100% { transform: translateX(700%) skewX(-18deg); } }
.hero--fill:not(.in-view) .hero__floor i::before, .hero--fill:not(.in-view) .hero__beam, .hero--fill:not(.in-view) .hero__horizon { animation-play-state: paused; }

/* Prompt de la terminal en el inicio */
.hero__cmd { margin-top: 30px; display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px 11px 18px; border-radius: 12px; background: rgba(5, 5, 5, .75); border: 1px solid rgba(0, 240, 255, .35);
  font: 500 .92rem/1 var(--mono); color: #fff; box-shadow: 0 20px 40px -20px rgba(0, 240, 255, .5); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; animation: cmdPulse 3s ease-in-out infinite 2.5s; }
.hero__cmd:hover { border-color: var(--cyan); transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(0, 240, 255, .12), 0 24px 50px -20px rgba(0, 240, 255, .7); }
.hero__cmd-p { color: var(--green); }
.hero__cmd-c { width: 9px; height: 17px; margin-left: -6px; background: var(--cyan); animation: blink 1s steps(1) infinite; }
.hero__cmd-h { margin-left: 8px; padding-left: 14px; border-left: 1px solid var(--line-2); color: var(--muted); font-size: .78rem; }
.hero__cmd kbd { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; border-radius: 5px; border: 1px solid var(--line-2); font: 600 .72rem var(--mono); color: var(--cyan); }
@keyframes cmdPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, .35), 0 20px 40px -20px rgba(0, 240, 255, .5); } 50% { box-shadow: 0 0 0 7px rgba(0, 240, 255, 0), 0 20px 40px -20px rgba(0, 240, 255, .5); } }
.hero--fill:not(.in-view) .hero__cmd, .hero--fill:not(.in-view) .hero__cmd-c { animation-play-state: paused; }
/* Botón flotante con etiqueta */
.term-btn { width: auto; padding: 0 16px; gap: 8px; display: inline-flex; align-items: center; background: #0a0a0a; border-color: rgba(0, 240, 255, .35); color: var(--green); }
.term-btn em { font: normal 600 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
@media (max-width: 640px) {
  .hero__cmd-h kbd { display: none; } .hero__cmd { font-size: .85rem; } .hero__cmd-h { font-size: .72rem; }
  .term-btn { padding: 0; width: 52px; justify-content: center; } .term-btn em { display: none; }
  .hero__floor { height: 38%; } .hero__horizon { bottom: 38%; }
}
@media (prefers-reduced-motion: reduce) { .hero__floor i::before, .hero__beam, .hero__horizon, .hero__cmd, .hero__cmd-c { animation: none; } }
.shop__toast { left: 12px; right: 0; white-space: nowrap; font-size: .68rem; }

/* Fondo 3D (WebGL): terreno de grilla. Reemplaza al piso en CSS cuando hay WebGL */
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__bg.has-gl .hero__floor, .hero__bg.has-gl .hero__horizon { display: none; }

/* =========================================================================
   INICIO — mini terminal con los servicios (se escribe el comando, sale la
   respuesta y queda un prompt que abre la terminal de verdad)
   ========================================================================= */
.hterm { width: min(100%, 560px); margin-top: 30px; border-radius: 14px; overflow: hidden; text-align: left; background: rgba(5, 5, 5, .82); border: 1px solid rgba(0, 240, 255, .3);
  box-shadow: 0 30px 70px -30px rgba(0, 240, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .05); font: 500 .95rem/1.5 var(--mono); }
.hterm__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid var(--line); }
.hterm__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.hterm__bar i:nth-child(2) { background: #febc2e; } .hterm__bar i:nth-child(3) { background: #28c840; }
.hterm__bar span { margin-left: 8px; font-size: .72rem; color: var(--muted-2); }
.hterm__body { padding: 14px 18px 16px; display: grid; gap: 8px; }
.hterm__p { color: var(--green); }
.hterm__l1 { color: #fff; white-space: nowrap; }
.hterm__type { display: inline-block; vertical-align: bottom; overflow: hidden; width: 0; animation: htType 1.1s steps(16) .5s forwards; }
@keyframes htType { to { width: 16ch; } }
.hterm__out { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-left: 0; }
.hterm__out li { color: #fff; opacity: 0; transform: translateY(4px); animation: htOut .4s var(--ease) forwards; }
.hterm__out li span { color: var(--green); margin-right: 4px; }
.hterm__o1 { animation-delay: 1.8s !important; } .hterm__o2 { animation-delay: 2.05s !important; } .hterm__o3 { animation-delay: 2.3s !important; }
.hterm__o1 { color: var(--cyan) !important; } .hterm__o3 { color: var(--green) !important; }
@keyframes htOut { to { opacity: 1; transform: none; } }
.hterm__prompt { display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px; margin-top: 4px; padding: 6px 8px; margin-inline: -8px; border-radius: 8px; color: #fff; text-align: left; opacity: 0; animation: htOut .4s var(--ease) 2.7s forwards; transition: background .2s; }
.hterm__prompt:hover { background: rgba(0, 240, 255, .08); }
.hterm__cur { width: 9px; height: 17px; margin-left: -4px; background: var(--cyan); animation: blink 1s steps(1) infinite; }
.hterm__prompt em { margin-left: 6px; font-style: normal; font-size: .76rem; color: var(--muted); }
.hterm__prompt:hover em { color: var(--cyan); }
.hterm__prompt kbd { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 8px; border-radius: 5px; border: 1px solid var(--line-2); font: 600 .72rem var(--mono); color: var(--cyan); }
.hero--fill:not(.in-view) .hterm__cur { animation-play-state: paused; }
@media (max-width: 640px) {
  .hterm { font-size: .84rem; margin-top: 24px; } .hterm__body { padding: 12px 14px 14px; }
  .hterm__out { flex-direction: column; gap: 2px; }
  .hterm__prompt kbd { display: none; } .hterm__prompt em { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .hterm__type { width: auto; animation: none; } .hterm__out li, .hterm__prompt { opacity: 1; transform: none; animation: none; } .hterm__cur { animation: none; } }

/* Ilustración 3D (generada con Figma IA): ventanas y tarjetas de una web flotando.
   Fondo negro + "screen" = solo se ven las luces. Se mueve con el mouse y flota. */
.hero__art { right: -2vw; top: 50%; width: min(56vw, 900px); transform: translate(calc(var(--mx) * -36px), calc(-50% + var(--my) * -26px)); transition: transform .8s var(--ease); z-index: 1; }
.hero__art img { width: 100%; height: auto; mix-blend-mode: screen; opacity: .85; animation: artFloat 9s ease-in-out infinite;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 38%); mask: linear-gradient(90deg, transparent 0%, #000 38%); }
@keyframes artFloat { 50% { transform: translateY(-14px) rotate(-.6deg); } }
/* Otra copia espejada y tenue a la izquierda para equilibrar */
.hero__bg::after { content: ""; position: absolute; left: -6vw; top: 50%; width: min(40vw, 640px); aspect-ratio: 1016 / 860; transform: translateY(-50%) scaleX(-1); background: url("/assets/img/hero-web3d-640.webp") center / contain no-repeat; mix-blend-mode: screen; opacity: .22; filter: blur(1.5px);
  -webkit-mask: linear-gradient(-90deg, transparent 10%, #000 60%); mask: linear-gradient(-90deg, transparent 10%, #000 60%); }
/* Sombra detrás del texto para que siempre se lea */
.hero--fill .hero__center { position: relative; z-index: 2; }
.hero--fill .hero__center::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1000px, 100%); height: 110%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(5, 5, 5, .78), rgba(5, 5, 5, .4) 60%, transparent); z-index: -1; pointer-events: none; }
.hero--fill:not(.in-view) .hero__art img { animation-play-state: paused; }
@media (max-width: 760px) {
  .hero__art { right: -18vw; top: 16%; width: 95vw; transform: none; }
  .hero__art img { opacity: .5; }
  .hero__bg::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero__art img { animation: none; } }

.footer { position: relative; z-index: 1; }

/* Terminal del inicio compacta en celular */
@media (max-width: 640px) {
  .hterm { width: 100%; margin-top: 16px; border-radius: 12px; font-size: .8rem; }
  .hterm__bar { display: none; }
  .hterm__body { padding: 10px 12px; gap: 3px; }
  .hterm__out { flex-direction: row; flex-wrap: wrap; gap: 0 12px; }
  .hterm__prompt { margin-top: 0; padding: 4px 8px; }
  .hterm__prompt em { display: none; }
  .hterm__prompt::after { content: "abrir ›"; margin-left: auto; font-size: .72rem; color: var(--cyan); }
  .term-btn { display: none; }
  .hero__badge { margin-bottom: 14px; }
}

/* =========================================================================
   CELULAR — desplegables (botón dentro del título, aria-expanded) para que
   no haya que scrollear de más. En PC no existen.
   ========================================================================= */
.fold__btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 0; margin: 0; border: 0; background: none;
  color: inherit; font: inherit; letter-spacing: inherit; line-height: inherit; text-transform: inherit; text-align: left; cursor: pointer; }
.fold__label { min-width: 0; }
.fold__chev { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .3s var(--ease), border-color .3s, background .3s; }
.fold__chev::before { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: translateY(-2px) rotate(45deg); }
.fold.is-open .fold__chev { transform: rotate(180deg); border-color: var(--cyan); background: rgba(0, 240, 255, .08); }
.fold:not(.is-open) .fold-hide { display: none !important; }
.fold.is-open.is-anim .fold-hide { animation: foldIn .35s var(--ease); animation-play-state: running !important; }
@keyframes foldIn { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 640px) {
  .fold .pain__big, .fold .fold__btn { font-size: inherit; }
  .pains, .svcs, .plans, .compare, .timeline { gap: 12px !important; }
  .fold.pain, .fold.compare__col { padding-top: 16px; padding-bottom: 16px; }
  .fold.svc .svc__txt { padding: 16px 18px; }
  .fold.svc:not(.is-open) .svc__path { margin-bottom: 4px; }
  .fold.plan:not(.is-open) { padding-bottom: 18px; }
  .footer .fold .footer__h { margin-bottom: 0; }
  .footer .fold.is-open .footer__h { margin-bottom: 10px; }
  .footer__grid > div:nth-child(2), .footer__grid > div:nth-child(3) { border-top: 1px solid var(--line); }
  /* Más trabajos: carrusel que se desliza de costado */
  .work { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scrollbar-width: none; }
  .work::-webkit-scrollbar { display: none; }
  .work > .project { flex: 0 0 82%; scroll-snap-align: center; }
  .work:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
}
@media (prefers-reduced-motion: reduce) { .fold.is-open.is-anim .fold-hide { animation: none; } .fold__chev { transition: none; } }

/* Inicio: frase corta y legible debajo del nombre (reemplaza al terminal) */
.hero__tag { margin-top: 22px; max-width: 34ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.45; color: #d9e6ea; text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
@media (max-width: 760px) { .hero__tag { margin-top: 14px; font-size: 1rem; } }
