/* =============================================================
   HUMB Agency Technology — styles.css
   1. Tokens  2. Reset  3. Utilities  4. Typography  5. Components
   6. Sections  7. Effects  8. Responsive  9. Reduced motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Brand — tomado del logo oficial */
  --black: #030309;
  --bg: #05051a;
  --bg-2: #09092a;
  --bg-3: #10103d;
  --indigo-900: #14124a;
  --indigo-700: #1c1a6b;
  --indigo-500: #2c2ba8;
  --indigo: #3632cd;
  --indigo-2: #4f4bf2;
  --indigo-3: #8a87ff;
  --yellow: #f5fd33;
  --yellow-2: #fbff8a;

  --ink: #f2f2ff;
  --ink-2: #cdccf0;
  --mute: #9897c6;
  --line: rgba(150, 148, 255, 0.14);
  --line-2: rgba(150, 148, 255, 0.26);
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --wa: #25d366;

  --display: "Outfit", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 24px;
  --radius-sm: 14px;
  --nav-h: 76px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  background: var(--bg);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; line-height: 1.05; letter-spacing: -0.025em; font-weight: 700; }
::selection { background: var(--yellow); color: var(--black); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--yellow); color: var(--black);
  border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.i {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.i-fill { fill: currentColor; stroke: none; }
.hl {
  color: var(--yellow);
  background: linear-gradient(100deg, var(--yellow) 0%, var(--yellow-2) 50%, var(--yellow) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =============================================================
   4. Typography
   ============================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--indigo-3);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 14px rgba(245, 253, 51, .7);
}
.hero-eyebrow::before { display: none; }
.section-title { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 20ch; margin-top: 1rem; }
.section-lead { color: var(--mute); font-size: clamp(1rem, 1.3vw, 1.125rem); max-width: 46ch; }

/* =============================================================
   5. Components
   ============================================================= */
/* Buttons */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.4rem; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 1rem; line-height: 1;
  white-space: nowrap; isolation: isolate; overflow: hidden;
  transform: translate3d(var(--bx), var(--by), 0);
  transition: transform .35s var(--ease-out), background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.btn .i { transition: transform .35s var(--ease-out); }
.btn:hover .i { transform: translateX(3px); }
.btn-sm { padding: .7rem 1.1rem; font-size: .92rem; }
.btn-lg { padding: 1.1rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-yellow { background: var(--yellow); color: var(--black); box-shadow: 0 10px 40px -12px rgba(245, 253, 51, .55); }
.btn-yellow::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.75) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out);
}
.btn-yellow:hover { box-shadow: 0 16px 50px -10px rgba(245, 253, 51, .7); }
.btn-yellow:hover::after { transform: translateX(120%); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-2); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--indigo-3); background: rgba(79, 75, 242, .14); }

/* Tags & pills */
.tag {
  display: inline-flex; align-items: center; padding: .32rem .7rem; border-radius: 999px;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); border: 1px solid var(--line-2); background: var(--surface);
}
.tag-yellow { color: var(--black); background: var(--yellow); border-color: transparent; font-weight: 500; }

.checks { display: grid; gap: .55rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-2); font-size: .95rem; }
.checks .i { color: var(--yellow); margin-top: .2em; width: 1em; height: 1em; stroke-width: 2.4; }

/* Cards with spotlight */
.card {
  --x: 50%; --y: 50%;
  position: relative; display: flex; flex-direction: column; gap: .9rem;
  padding: clamp(1.4rem, 2.4vw, 2rem); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 18, 74, .55), rgba(9, 9, 42, .65));
  border: 1px solid var(--line);
  overflow: hidden; isolation: isolate;
  transition: border-color .4s var(--ease-out), transform .5s var(--ease-out);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--x) var(--y), rgba(79, 75, 242, .28), transparent 60%);
  transition: opacity .4s var(--ease-out);
}
.card:hover { border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); letter-spacing: -0.015em; }
.card p { color: var(--mute); font-size: .97rem; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.card-ico {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  color: var(--yellow); background: rgba(54, 50, 205, .25); border: 1px solid var(--line-2);
}
.card-ico .i { width: 22px; height: 22px; }

/* =============================================================
   6. Sections
   ============================================================= */
.section { position: relative; padding-block: clamp(5rem, 11vw, 9rem); }
.section-head { display: grid; gap: 0; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--split { gap: 1.5rem; }

/* ---------- Splash / intro ---------- */
.splash {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: radial-gradient(70% 60% at 50% 110%, var(--indigo), var(--indigo-900) 45%, var(--black) 80%);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s cubic-bezier(0.77, 0, 0.18, 1), visibility 1s;
  animation: splashSafety .01s 3.6s forwards;
}
.splash.is-out { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; }
@keyframes splashSafety { to { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; } }
.splash-inner { display: grid; justify-items: center; gap: 1.4rem; transition: transform 1s cubic-bezier(0.77, 0, 0.18, 1), opacity .6s; }
.splash.is-out .splash-inner { transform: translateY(-60px); opacity: 0; }
.splash-mark { position: relative; display: grid; place-items: center; width: 150px; height: 150px; animation: splashIn 1s var(--ease-out) both; }
.splash-mark img { width: 60px; height: auto; }
.splash-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.splash-ring circle { fill: none; stroke: var(--yellow); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(245, 253, 51, .6)); }
.splash-count { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 9vw, 5.5rem); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.splash-count small { font-size: .4em; color: var(--yellow); margin-left: .1em; }
.splash-tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
@keyframes splashIn { from { opacity: 0; transform: scale(.8) translateY(14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
html:not(.js) .splash { display: none; }

/* ---------- Cursor de marca ---------- */
.cursor { position: fixed; inset: 0; z-index: 1001; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease-out); }
.cursor.is-ready { opacity: 1; }
.cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--yellow); box-shadow: 0 0 12px rgba(245, 253, 51, .8); }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; display: grid; place-items: center;
  border: 1px solid rgba(245, 253, 51, .55);
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background-color .35s, border-color .35s;
}
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(245, 253, 51, .1); border-color: var(--yellow); }
.cursor.is-label .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--yellow); border-color: var(--yellow); }
.cursor.is-label .cursor-dot { opacity: 0; }
.cursor-label { font-family: var(--display); font-weight: 700; font-size: .95rem; color: var(--black); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ease-out); }
.cursor.is-label .cursor-label { opacity: 1; transform: none; }
.cursor.is-down .cursor-ring { transform: scale(.85); }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor summary, html.has-cursor [role="tab"] { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }

/* ---------- Grano sutil sobre toda la página ---------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--indigo-2), var(--yellow)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out), transform .45s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(5, 5, 26, .82); border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(16px)) {
  .nav.is-scrolled { background: rgba(5, 5, 26, .6); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); }
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner { width: 100%; max-width: calc(var(--container) + 80px); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { position: relative; display: none; align-items: center; gap: .25rem; padding: .35rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.nav-links a { position: relative; z-index: 1; padding: .5rem .95rem; border-radius: 999px; font-size: .92rem; color: var(--ink-2); transition: color .3s var(--ease-out); }
.nav-links a:hover, .nav-links a.is-current { color: var(--ink); }
.nav-indicator {
  position: absolute; z-index: 0; top: .35rem; left: 0; height: calc(100% - .7rem); width: 0;
  border-radius: 999px; background: rgba(79, 75, 242, .3); border: 1px solid var(--line-2);
  opacity: 0; transition: transform .45s var(--ease-out), width .45s var(--ease-out), opacity .3s;
}
.nav-actions { display: flex; align-items: center; gap: .6rem; }

/* Selector de idioma ES / EN */
.lang { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.lang a {
  position: relative; z-index: 1; display: grid; place-items: center; min-width: 38px; height: 34px; padding: 0 .55rem;
  border-radius: 999px; font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .06em; color: var(--mute);
  transition: color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.lang a:hover { color: var(--ink); }
.lang a.is-active { color: var(--black); background: var(--yellow); box-shadow: 0 6px 18px -8px rgba(245, 253, 51, .7); }
.nav-actions .btn { display: none; }
.nav-burger { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.nav-burger .i { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
  padding: calc(var(--nav-h) + 1rem) var(--gutter) 2rem;
  background: radial-gradient(80% 60% at 50% 100%, var(--indigo-700), var(--bg) 70%);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease-out), visibility .45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: grid; gap: .3rem; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 1rem; font-family: var(--display); font-weight: 600;
  font-size: clamp(1.8rem, 8vw, 2.6rem); letter-spacing: -0.02em; padding-block: .25rem;
  transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease-out), opacity .6s var(--ease-out), color .3s;
}
.mobile-menu nav a span { font-family: var(--mono); font-size: .8rem; color: var(--yellow); }
.mobile-menu.is-open nav a { transform: none; opacity: 1; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .04s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .12s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: .16s; }
.mobile-menu.is-open nav a:nth-child(6) { transition-delay: .2s; }
.mobile-menu.is-open nav a:nth-child(7) { transition-delay: .24s; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 5rem;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(180deg, var(--black) 0%, var(--bg) 45%, var(--indigo-900) 100%); }
.hero-glow {
  position: absolute; inset: -10%;
  background:
    radial-gradient(520px circle at var(--mx, 72%) var(--my, 38%), rgba(79, 75, 242, .55), transparent 62%),
    radial-gradient(760px circle at calc(100% - var(--mx, 72%)) calc(110% - var(--my, 38%)), rgba(54, 50, 205, .45), transparent 60%),
    radial-gradient(360px circle at 12% 18%, rgba(245, 253, 51, .07), transparent 60%);
  filter: blur(20px);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: .55;
}
/* Signature: el aro de la "b" con el punto amarillo orbitando */
.hero-orbit { position: absolute; width: min(78vw, 860px); aspect-ratio: 1; right: -18%; top: 50%; margin-top: calc(min(78vw, 860px) / -2); }
.orbit-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(150, 148, 255, .2);
  background: radial-gradient(closest-side, transparent 64%, rgba(54, 50, 205, .14) 82%, transparent 100%);
}
.orbit-ring--2 { inset: 17%; border-color: rgba(150, 148, 255, .12); background: radial-gradient(circle at 30% 50%, rgba(3, 3, 9, .6), rgba(54, 50, 205, .18)); }
.orbit-dot {
  position: absolute; inset: 0; border-radius: 50%;
  animation: orbit 26s linear infinite;
}
.orbit-dot::after {
  content: ""; position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 24px 4px rgba(245, 253, 51, .55);
}
@keyframes orbit { to { transform: rotate(360deg); } }

.hero-inner { display: grid; gap: 3.5rem; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-eyebrow {
  padding: .45rem .9rem .45rem .7rem; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03); color: var(--ink-2); letter-spacing: .08em; font-size: .72rem;
}
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--yellow); animation: ping 2.2s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.hero-title {
  margin-top: 1.4rem; font-size: clamp(2.4rem, 5.4vw, 4.9rem); font-weight: 700;
  line-height: 1; letter-spacing: -0.035em; max-width: 15ch;
}
/* La palabra rotativa va en su propia línea: así el titular no cambia de alto al rotar */
.hero-title .rotator { display: grid; justify-content: start; }
.hero-title .split-word.is-keep { display: block; }
/* Palabra que rota dentro del titular */
.rotator { position: relative; display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; transition: width .6s var(--ease-out); }
.rotator-word {
  grid-area: 1 / 1; justify-self: start; white-space: nowrap;
  color: var(--yellow);
  background: linear-gradient(100deg, var(--yellow) 0%, var(--yellow-2) 50%, var(--yellow) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transform: translateY(110%); opacity: 0;
  transition: transform .75s var(--ease-out), opacity .5s var(--ease-out);
}
.rotator-word.is-active { transform: none; opacity: 1; }
.rotator-word.is-leaving { transform: translateY(-110%); opacity: 0; }
.rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .07em; border-radius: 1em; background: var(--yellow); transform-origin: 0 50%; animation: rotLine 2.6s var(--ease-out) infinite; opacity: .9; }
@keyframes rotLine { 0% { transform: scaleX(0); } 30%, 80% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

.hero-proof { display: flex; align-items: center; gap: 1rem; margin-top: 2.2rem; color: var(--mute); font-size: .92rem; }
.hero-proof strong { color: var(--ink); font-weight: 600; }
.proof-logos { display: flex; flex: none; }
.proof-logos span {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; overflow: hidden;
  background: #fff; border: 2px solid var(--bg); margin-left: -10px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.6);
}
.proof-logos span:first-child { margin-left: 0; }
.proof-logos img { width: 78%; height: 78%; object-fit: contain; }

.tilt { position: relative; transform-style: preserve-3d; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease-out); }
.orbit-dot--2 { animation-duration: 40s; animation-direction: reverse; inset: 17%; }
.orbit-dot--2::after { width: 10px; height: 10px; margin-left: -5px; top: -5px; background: var(--indigo-3); box-shadow: 0 0 18px 2px rgba(138, 135, 255, .7); }
.hero-sub { margin-top: 1.5rem; color: var(--ink-2); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2rem; color: var(--mute); font-size: .9rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust .i { color: var(--yellow); stroke-width: 2.4; width: 1em; height: 1em; }

.hero-visual { position: relative; z-index: 2; justify-self: center; width: min(430px, 100%); }
.chat {
  position: relative; border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 18, 74, .92), rgba(9, 9, 42, .96));
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -30px rgba(54, 50, 205, .7), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.chat-head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); background: rgba(3, 3, 9, .35); }
.chat-head strong { display: block; font-family: var(--display); font-size: .98rem; font-weight: 600; }
.chat-avatar { width: 40px; height: 40px; border-radius: 12px; }
.chat-status { display: block; font-size: .78rem; color: var(--wa); }
.chat-badge { margin-left: auto; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; color: var(--mute); border: 1px solid var(--line-2); border-radius: 6px; padding: .2rem .45rem; }
.chat-body {
  display: flex; flex-direction: column; justify-content: flex-end; gap: .55rem;
  height: 470px; padding: 1rem; overflow: hidden;
  background-image: radial-gradient(rgba(150, 148, 255, .08) 1px, transparent 1px);
  background-size: 18px 18px;
}
.msg {
  position: relative; max-width: 84%; padding: .62rem .85rem; border-radius: 16px;
  font-size: .9rem; line-height: 1.42; flex: none;
}
.msg-in { align-self: flex-start; background: #1d1c4f; border-top-left-radius: 5px; color: var(--ink); }
.msg-out { align-self: flex-end; background: linear-gradient(135deg, var(--indigo-2), var(--indigo)); border-top-right-radius: 5px; color: #fff; }
.msg-meta { display: block; text-align: right; font-size: .66rem; opacity: .75; margin-top: .2rem; }
.msg-file { display: flex; align-items: center; gap: .7rem; }
.msg-file strong { display: block; font-size: .84rem; font-weight: 600; }
.msg-file small { display: block; font-size: .72rem; opacity: .8; }
.file-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.16); }
.msg-voice { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6rem; min-width: 76%; }
.voice-play { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--black); }
.voice-play .i { width: 16px; height: 16px; }
.voice-wave { display: flex; align-items: center; gap: 3px; height: 24px; }
.voice-wave i { width: 3px; border-radius: 3px; background: var(--indigo-3); height: 30%; animation: wave 1.2s ease-in-out infinite; }
.voice-wave i:nth-child(3n) { height: 80%; animation-delay: -.3s; }
.voice-wave i:nth-child(3n+1) { height: 50%; animation-delay: -.6s; }
.voice-wave i:nth-child(4n) { height: 95%; animation-delay: -.9s; }
@keyframes wave { 50% { transform: scaleY(.45); } }
.msg-voice small { font-size: .72rem; color: var(--mute); }
.voice-tr { grid-column: 1 / -1; font-size: .78rem; font-style: normal; color: var(--yellow); opacity: .9; }
.msg-img { padding: .35rem; }
.img-ph {
  display: flex; align-items: center; gap: .5rem; width: 200px; height: 84px; padding: .7rem; border-radius: 12px;
  font-size: .76rem; color: var(--ink-2); align-items: flex-end;
  background: linear-gradient(135deg, rgba(245, 253, 51, .14), rgba(79, 75, 242, .35)), repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 2px, transparent 2px 10px);
}
.typing { align-self: flex-end; display: none; gap: 4px; padding: .7rem .9rem; border-radius: 16px; border-top-right-radius: 5px; background: rgba(79, 75, 242, .5); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.chat.is-playing .typing.is-on { display: inline-flex; }
.chat.is-playing .msg:not(.is-shown), .chat.is-playing .msg.is-gone { display: none; }
.chat.is-playing .msg.is-shown { animation: msgIn .45s var(--ease-out) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px) scale(.97); } }

.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: .6rem;
  padding: .7rem .95rem; border-radius: 16px; font-size: .82rem; line-height: 1.3; color: var(--ink-2);
  background: rgba(16, 16, 61, .92); border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  transform: translateZ(60px);
  animation: bob 6s ease-in-out infinite;
}
@supports (backdrop-filter: blur(12px)) {
  .float-chip { background: rgba(16, 16, 61, .65); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
.float-chip b { color: var(--ink); font-weight: 600; }
.float-chip small { color: var(--mute); font-size: .72rem; }
.float-chip > .i { color: var(--yellow); width: 18px; height: 18px; }
.chip-a { top: -22px; left: -8px; }
.chip-b { right: -10px; top: 44%; animation-delay: -2s; }
.chip-c { bottom: -20px; left: 4%; animation-delay: -4s; }
@keyframes bob { 50% { translate: 0 -10px; } }

.hero-scroll { position: absolute; left: 50%; bottom: 1.6rem; width: 26px; height: 42px; margin-left: -13px; border-radius: 20px; border: 1px solid var(--line-2); display: none; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--yellow); animation: scrollHint 1.8s var(--ease-out) infinite; }
@keyframes scrollHint { to { transform: translateY(14px); opacity: 0; } }

/* ---------- Stack marquee ---------- */
.stack { position: relative; padding-block: 2.2rem; border-block: 1px solid var(--line); background: var(--bg); display: grid; gap: 1rem; }
.stack-label { text-align: center; font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.marquee {
  display: flex; overflow: hidden; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; flex: none; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--ink-2); white-space: nowrap; letter-spacing: -0.01em; }
.marquee-track i { font-style: normal; color: var(--yellow); font-size: .55rem; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Stats ---------- */
.stats { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.stat { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.stat:last-child { border-bottom: 0; }
.stat-num {
  display: block; font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; line-height: 1;
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  background: linear-gradient(180deg, #fff 30%, var(--indigo-3));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat p { margin-top: .7rem; color: var(--mute); font-size: .95rem; max-width: 30ch; }

/* ---------- Pillars ---------- */
.pillars { background: var(--bg-2); }
.pillar-list { border-top: 1px solid var(--line); counter-reset: p; }
.pillar {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.2rem; align-items: baseline;
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(.5rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--line); isolation: isolate; overflow: hidden;
  transition: padding .5s var(--ease-out);
}
.pillar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(54, 50, 205, .45), rgba(54, 50, 205, .08) 70%, transparent);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .55s var(--ease-out);
}
.pillar-num { font-family: var(--mono); font-size: .85rem; color: var(--yellow); }
.pillar-title { font-size: clamp(1.6rem, 3.6vw, 2.9rem); font-weight: 600; letter-spacing: -0.03em; }
.pillar-text { grid-column: 2; color: var(--mute); max-width: 52ch; font-size: 1rem; }
.pillar-arrow { display: none; }

/* ---------- Services bento ---------- */
.services { background: var(--bg); }
.bento { display: grid; grid-template-columns: 1fr; gap: 1rem; }

.card--wa { background: radial-gradient(120% 90% at 100% 0%, rgba(79, 75, 242, .45), transparent 55%), linear-gradient(180deg, rgba(28, 26, 107, .7), rgba(9, 9, 42, .8)); }
.card--wa h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); max-width: 16ch; }
.card--wa .card-ico { color: var(--wa); }
.mini-chat { display: grid; gap: .45rem; margin-top: auto; padding-top: 1rem; }
.mc { max-width: 78%; padding: .5rem .8rem; border-radius: 14px; font-size: .82rem; }
.mc-in { justify-self: start; background: rgba(255,255,255,.07); border-top-left-radius: 4px; color: var(--ink-2); }
.mc-out { justify-self: end; background: var(--indigo); border-top-right-radius: 4px; }

.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: auto; padding-top: .6rem; }
.kb-col { display: grid; align-content: start; gap: .4rem; padding: .5rem; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); min-height: 128px; }
.kb-h { font-family: var(--mono); font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.kb-card { display: block; height: 26px; border-radius: 7px; background: rgba(150, 148, 255, .16); }
.kb-card--s { height: 18px; opacity: .6; }
.kb-card--hl { background: rgba(79, 75, 242, .55); animation: kbMove 5s var(--ease-out) infinite; }
.kb-card--win { background: var(--yellow); }
@keyframes kbMove { 0%, 40% { transform: none; } 60%, 100% { transform: translateY(-4px); box-shadow: 0 8px 18px -6px rgba(79, 75, 242, .8); } }

.pills { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto; }
.pills span { padding: .4rem .75rem; border-radius: 999px; font-size: .82rem; color: var(--ink-2); border: 1px solid var(--line-2); background: rgba(255,255,255,.03); transition: background .3s, color .3s, border-color .3s; }
.pills span:hover { background: var(--yellow); color: var(--black); border-color: transparent; }

.code {
  margin-top: auto; padding: 1rem 1.1rem; border-radius: 14px; overflow-x: auto;
  background: rgba(3, 3, 9, .55); border: 1px solid var(--line);
  font-family: var(--mono); font-size: .78rem; line-height: 1.7; color: var(--ink-2);
}
.c-k { color: var(--indigo-3); } .c-f { color: var(--yellow); } .c-s { color: #9ff0c0; } .c-c { color: var(--mute); }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; margin-top: auto; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--indigo-2), rgba(54, 50, 205, .25)); transform-origin: 50% 100%; }
.bars i:last-child { background: linear-gradient(180deg, var(--yellow), rgba(245, 253, 51, .25)); }
.js .card--ads .bars i { transform: scaleY(.15); transition: transform 1s var(--ease-out); }
.js .card--ads.is-revealed .bars i { transform: none; }
.card--ads.is-revealed .bars i:nth-child(2) { transition-delay: .06s; }
.card--ads.is-revealed .bars i:nth-child(3) { transition-delay: .12s; }
.card--ads.is-revealed .bars i:nth-child(4) { transition-delay: .18s; }
.card--ads.is-revealed .bars i:nth-child(5) { transition-delay: .24s; }
.card--ads.is-revealed .bars i:nth-child(6) { transition-delay: .3s; }
.card--ads.is-revealed .bars i:nth-child(7) { transition-delay: .36s; }

.elite-nums { display: grid; gap: .45rem; margin-top: auto; }
.elite-nums span { display: flex; align-items: baseline; gap: .6rem; padding: .55rem .8rem; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: .86rem; color: var(--ink-2); line-height: 1.25; }
.elite-nums b { font-family: var(--display); font-size: 1.45rem; color: var(--yellow); line-height: 1; min-width: 1.6em; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: .5rem; margin-top: .4rem; }
.kpis span { display: grid; gap: .2rem; padding: .8rem .7rem; border-radius: 14px; background: rgba(3, 3, 9, .35); border: 1px solid var(--line); font-size: .76rem; color: var(--mute); line-height: 1.3; }
.kpis b { font-family: var(--display); font-size: 1.25rem; font-weight: 700; color: var(--ink); line-height: 1.1; }

.timeline-mock { position: relative; display: grid; gap: .45rem; margin-top: auto; padding: .9rem; border-radius: 14px; background: rgba(3, 3, 9, .5); border: 1px solid var(--line); overflow: hidden; }
.tl-row { display: flex; gap: 4px; }
.tl-row i { height: 22px; width: var(--w); border-radius: 5px; background: rgba(79, 75, 242, .55); }
.tl-row--b i { height: 14px; background: rgba(245, 253, 51, .35); }
.tl-head { position: absolute; top: 6px; bottom: 6px; left: 10%; width: 2px; background: var(--yellow); box-shadow: 0 0 10px var(--yellow); animation: playhead 6s linear infinite; }
@keyframes playhead { to { left: 92%; } }

.card--cta { justify-content: center; align-items: flex-start; background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-700) 100%); border-color: transparent; }
.card--cta h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.card--cta p { color: var(--ink-2); }
.card--cta .btn { margin-top: .5rem; }

/* ---------- Industries ---------- */
.industries { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.ind { display: grid; gap: 1.2rem; }
.ind-tabs { display: flex; gap: .5rem; overflow-x: auto; overflow-y: visible; padding-bottom: .4rem; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.ind-tabs::-webkit-scrollbar { display: none; }
.ind-tab {
  display: inline-flex; align-items: center; gap: .65rem; flex: none;
  padding: .85rem 1.1rem; border-radius: 16px; border: 1px solid var(--line);
  color: var(--mute); font-family: var(--display); font-weight: 500; font-size: 1rem; text-align: left;
  transition: color .3s var(--ease-out), background .3s var(--ease-out), border-color .3s var(--ease-out);
}
.ind-tab .i { width: 20px; height: 20px; }
.ind-tab:hover { color: var(--ink); border-color: var(--line-2); }
.ind-tab.is-active { color: var(--ink); background: linear-gradient(90deg, rgba(54, 50, 205, .5), rgba(54, 50, 205, .15)); border-color: rgba(138, 135, 255, .45); }
.ind-tab.is-active .i { color: var(--yellow); }
.ind-panels { position: relative; }
.ind-panel {
  display: grid; gap: 1.1rem; align-content: start;
  padding: clamp(1.5rem, 3vw, 2.6rem); border-radius: var(--radius);
  background: radial-gradient(90% 80% at 100% 0%, rgba(54, 50, 205, .35), transparent 60%), rgba(255,255,255,.025);
  border: 1px solid var(--line);
}
.ind-panel + .ind-panel { margin-top: 1rem; }
.js .ind.tabs-ready .ind-panel { display: none; margin-top: 0; }
.js .ind.tabs-ready .ind-panel.is-active { display: grid; animation: panelIn .55s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.ind-panel h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.ind-panel > p { color: var(--ink-2); max-width: 60ch; font-size: 1.05rem; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .6rem; padding-top: 1.2rem; border-top: 1px dashed var(--line-2); }
.flow span { position: relative; padding: .5rem .85rem; border-radius: 999px; font-size: .82rem; background: rgba(3, 3, 9, .45); border: 1px solid var(--line-2); color: var(--ink-2); }
.flow span:last-child { background: var(--yellow); color: var(--black); border-color: transparent; font-weight: 600; }
.flow span:not(:last-child)::after { content: "→"; margin-left: .55rem; color: var(--indigo-3); }

/* ---------- Process ---------- */
.process { background: var(--bg-2); }
.steps { position: relative; display: grid; gap: 1rem; padding-left: 2.2rem; }
.steps-line { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.steps-line span { position: absolute; inset: 0; background: linear-gradient(180deg, var(--yellow), var(--indigo-2)); transform-origin: 50% 0; border-radius: 2px; }
.js .steps-line span { transform: scaleY(0); }
.step { position: relative; padding: 1.4rem 1.4rem 1.5rem; border-radius: var(--radius-sm); background: rgba(255,255,255,.025); border: 1px solid var(--line); transition: border-color .4s var(--ease-out), background .4s var(--ease-out); }
.step::before {
  content: ""; position: absolute; left: calc(-2.2rem + 4px); top: 1.7rem; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--line-2); transition: background .4s, border-color .4s, box-shadow .4s;
}
.step.is-active { border-color: var(--line-2); background: rgba(54, 50, 205, .12); }
.step.is-active::before { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 16px rgba(245, 253, 51, .7); }
html:not(.js) .step::before { background: var(--yellow); border-color: var(--yellow); }
.step-num { font-family: var(--mono); font-size: .8rem; color: var(--yellow); }
.step h3 { margin-top: .5rem; font-size: 1.3rem; }
.step p { margin-top: .5rem; color: var(--mute); font-size: .95rem; }

/* ---------- Products ---------- */
.products { background: var(--bg); }
.product-grid { display: grid; gap: 1rem; }
.product { display: grid; gap: 0; padding: 0; }
.product-logo { display: grid; place-items: center; min-height: 240px; padding: 2rem; border-bottom: 1px solid var(--line); }
.product-logo--toga { background: radial-gradient(60% 70% at 50% 50%, rgba(212, 170, 80, .22), transparent 70%), linear-gradient(180deg, rgba(3, 3, 9, .6), rgba(20, 18, 74, .4)); }
.product-logo--toga img { width: 170px; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .6)); transition: transform .6s var(--ease-out); }
.product:hover .product-logo--toga img { transform: scale(1.05) rotate(-3deg); }
.product-logo--video { background: radial-gradient(70% 80% at 50% 50%, rgba(79, 75, 242, .4), transparent 70%), rgba(3, 3, 9, .5); }
.vid-frame {
  position: relative; width: 150px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, #2a2870 0%, #0c0b2e 60%), #111;
  border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  animation: zoomPunch 5s var(--ease-out) infinite;
}
.vid-frame::before { content: ""; position: absolute; left: 50%; top: 26%; width: 62px; height: 62px; margin-left: -31px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #5d5ab8, #23215f); }
.vid-frame::after { content: ""; position: absolute; left: 50%; top: 48%; width: 104px; height: 90px; margin-left: -52px; border-radius: 52px 52px 10px 10px; background: radial-gradient(circle at 50% 0%, #4a47a8, #1b1a52); }
.vid-sub { position: absolute; z-index: 2; left: 8px; right: 8px; bottom: 34px; text-align: center; font-family: var(--display); font-weight: 700; font-size: .72rem; line-height: 1.2; color: #fff; text-shadow: 0 2px 6px #000; }
.vid-sub b { color: var(--yellow); }
.vid-bar { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 14px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.2); overflow: hidden; }
.vid-bar i { display: block; height: 100%; width: 100%; background: var(--yellow); transform-origin: 0 50%; animation: vidBar 5s linear infinite; }
@keyframes vidBar { from { transform: scaleX(0); } }
@keyframes zoomPunch { 0%, 35% { transform: scale(1); } 45%, 70% { transform: scale(1.06); } 80%, 100% { transform: scale(1); } }
.product-body { display: grid; gap: 1rem; align-content: start; justify-items: start; padding: clamp(1.5rem, 3vw, 2.4rem); }
.product-body h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.product-body p { color: var(--mute); }

/* ---------- Why ---------- */
.why { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.why-grid { display: grid; gap: 3rem; }
.founder { margin-top: 2.4rem; padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--line-2); background: linear-gradient(135deg, rgba(54, 50, 205, .3), rgba(9, 9, 42, .4)); }
.founder blockquote { font-family: var(--display); font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }
.founder figcaption { display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; }
.founder-mono { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); color: var(--black); font-family: var(--display); font-weight: 700; }
.founder strong { display: block; font-family: var(--display); }
.founder small { display: block; color: var(--mute); font-size: .85rem; }
.why-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; align-self: start; }
.why-item { padding: 1.7rem; background: var(--bg-2); transition: background .4s var(--ease-out); }
.why-item:hover { background: #0e0e33; }
.why-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--yellow); background: rgba(54, 50, 205, .25); border: 1px solid var(--line-2); }
.why-ico .i { width: 20px; height: 20px; }
.why-item h3 { margin-top: 1rem; font-size: 1.2rem; }
.why-item p { margin-top: .5rem; color: var(--mute); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); }
.faq-grid { display: grid; gap: 2rem; }
.faq .section-head { align-content: start; justify-items: start; gap: 1.2rem; }
.faq .section-head .section-title { margin-top: 0; }
.faq-list { display: grid; gap: .7rem; }
.faq-item { border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255,255,255,.025); transition: border-color .3s, background .3s; }
.faq-item[open] { border-color: var(--line-2); background: rgba(54, 50, 205, .12); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.4rem; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .4s var(--ease-out), background .3s, color .3s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--yellow); color: var(--black); border-color: transparent; }
.faq-body { overflow: hidden; }
.faq-body p { padding: 0 1.4rem 1.4rem; color: var(--ink-2); max-width: 64ch; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(5rem, 12vw, 9rem); text-align: center;
  background: linear-gradient(180deg, var(--black) 0%, var(--indigo-900) 45%, var(--indigo) 100%);
}
.cta-bg { position: absolute; z-index: -1; width: min(110vw, 1100px); aspect-ratio: 1; left: 0; right: 0; margin-inline: auto; top: 18%; opacity: .9; }
.cta-inner { display: grid; justify-items: center; gap: 1.2rem; }
.cta-title { font-size: clamp(2.2rem, 5.6vw, 4.6rem); max-width: 16ch; letter-spacing: -0.035em; }
.cta-inner > p { color: var(--ink-2); font-size: 1.1rem; max-width: 46ch; }
.cta-inner .hero-ctas { justify-content: center; margin-top: 1rem; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact-grid { display: grid; gap: 3rem; }
.contact-info .section-lead { margin-top: 1.2rem; }
.contact-list { display: grid; gap: 1rem; margin-top: 2.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; color: var(--yellow); background: rgba(54, 50, 205, .22); border: 1px solid var(--line-2); }
.contact-list small { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.contact-list a { font-family: var(--display); font-size: 1.12rem; font-weight: 500; line-height: 1.4; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.contact-list a:hover { background-size: 100% 1px; }

.form { display: grid; gap: 1rem; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: var(--radius); background: linear-gradient(180deg, rgba(20, 18, 74, .55), rgba(9, 9, 42, .7)); border: 1px solid var(--line-2); align-self: start; }
.form-row { display: grid; gap: 1rem; }
.field { display: grid; gap: .45rem; }
.field > span { font-size: .85rem; color: var(--ink-2); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem; border-radius: 12px;
  background: rgba(3, 3, 9, .5); border: 1px solid var(--line-2); color: var(--ink);
  transition: border-color .3s, box-shadow .3s; outline: none;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4rem; }
.field select option { background: var(--bg-2); color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #6f6e9e; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--indigo-3); box-shadow: 0 0 0 4px rgba(79, 75, 242, .25); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff6b8a; box-shadow: 0 0 0 4px rgba(255, 107, 138, .15); }
.form-note { font-size: .82rem; color: var(--mute); text-align: center; }
.form-note.is-ok { color: var(--yellow); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding-top: clamp(4rem, 8vw, 6rem); background: var(--black); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2.4rem; }
.footer-brand img { width: 170px; }
.footer-brand p { margin-top: 1.2rem; color: var(--mute); max-width: 34ch; font-size: .95rem; }
.footer-col { display: grid; gap: .6rem; align-content: start; }
.footer-col h3 { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo-3); margin-bottom: .4rem; }
.footer-col a, .footer-col span { color: var(--ink-2); font-size: .95rem; transition: color .3s; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: 3.5rem; padding-block: 1.6rem; border-top: 1px solid var(--line); color: var(--mute); font-size: .85rem; position: relative; z-index: 1; }
.footer-word {
  font-family: var(--display); font-weight: 800; line-height: .8; letter-spacing: -0.06em; text-align: center;
  font-size: clamp(6rem, 26vw, 22rem); margin-top: -1rem; margin-bottom: -0.12em;
  background: linear-gradient(180deg, rgba(79, 75, 242, .35), rgba(79, 75, 242, 0) 85%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  user-select: none; pointer-events: none;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 14px 40px -10px rgba(37, 211, 102, .7);
  transition: transform .4s var(--ease-bounce);
}
.wa-float .i { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.6s var(--ease-out) infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); opacity: 0;
  padding: .5rem .8rem; border-radius: 10px; white-space: nowrap; font-size: .85rem; font-weight: 600;
  background: #fff; color: var(--black); pointer-events: none; transition: opacity .3s, transform .3s var(--ease-out);
}
.wa-float:hover .wa-tip { opacity: 1; transform: translate(0, -50%); }

/* ---------- Borde animado en la tarjeta estrella ---------- */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.card--wa::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--angle), transparent 0%, transparent 62%, var(--yellow) 78%, var(--indigo-2) 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spinAngle 6s linear infinite;
}
@keyframes spinAngle { to { --angle: 360deg; } }

/* ---------- Manifiesto ---------- */
.manifesto { padding-block: clamp(5rem, 12vw, 10rem); background: var(--bg-2); }
.manifesto-text {
  margin-top: 1.6rem; font-family: var(--display); font-weight: 600;
  font-size: clamp(1.7rem, 4.2vw, 3.6rem); line-height: 1.14; letter-spacing: -0.03em; max-width: 26ch;
}
.manifesto-text em { font-style: normal; color: var(--yellow); }
.lw { transition: opacity .25s linear, color .25s linear; }
.lit-ready .manifesto-text .lw { opacity: .14; }
.lit-ready .manifesto-text .lw.is-lit { opacity: 1; }

/* ---------- Clientes (hoja clara) ---------- */
.clients { position: relative; background: var(--bg); padding-top: 1rem; }
.clients-sheet {
  --ink-d: #0b0a26; --mute-d: #555479;
  position: relative; overflow: hidden; color: var(--ink-d);
  background: radial-gradient(90% 60% at 50% 0%, #ffffff 0%, #f1f1fa 60%, #e9e8f7 100%);
  border-radius: clamp(28px, 4vw, 56px);
  margin-inline: clamp(8px, 1.4vw, 20px);
  padding-block: clamp(4.5rem, 9vw, 7.5rem) clamp(3rem, 6vw, 5rem);
  transform-origin: 50% 0;
}
.eyebrow--dark { color: var(--indigo); }
.eyebrow--dark::before { box-shadow: none; background: var(--indigo); }
.clients-head { display: grid; justify-items: center; text-align: center; }
.clients-head .section-title { max-width: 18ch; margin-inline: auto; color: var(--ink-d); }
.mark {
  position: relative; white-space: nowrap; color: var(--indigo);
  background: linear-gradient(transparent 60%, rgba(245, 253, 51, .9) 60%, rgba(245, 253, 51, .9) 92%, transparent 92%);
}
.mark .split-inner { color: var(--indigo); }
.clients-lead { margin-top: 1.2rem; color: var(--mute-d); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 50ch; }
.logo-rows { display: grid; gap: 1rem; margin-top: clamp(2.8rem, 5vw, 4rem); }
/* Sin JS: cuadrícula centrada. Con JS: marquesina infinita */
.logo-row { display: flex; justify-content: center; padding-inline: var(--gutter); }
.logo-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.logo-row.is-marquee {
  justify-content: flex-start; overflow: hidden; padding-block: 14px 18px; padding-inline: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-row.is-marquee .logo-track { flex-wrap: nowrap; flex: none; padding-right: 1rem; will-change: transform; }
.logo-tile {
  position: relative; flex: none; display: grid; place-items: center;
  width: clamp(180px, 20vw, 240px); height: clamp(104px, 11vw, 128px); padding: 1.2rem 1.6rem;
  border-radius: 22px; background: #fff;
  border: 1px solid rgba(20, 18, 74, .08);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 18px 40px -26px rgba(20, 18, 74, .35);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.logo-tile img { max-width: 100%; max-height: 70px; width: auto; height: auto; object-fit: contain; transition: transform .5s var(--ease-out); }
.logo-tile--dark { background: linear-gradient(135deg, #1c1a6b, #0d0c33); border-color: transparent; }
.logo-tile figcaption {
  position: absolute; left: 50%; bottom: -10px; transform: translate(-50%, 6px); opacity: 0; white-space: nowrap;
  padding: .3rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 600; color: #fff; background: var(--indigo);
  transition: opacity .3s, transform .4s var(--ease-out); pointer-events: none; z-index: 2;
}
@media (hover: hover) {
  .logo-tile:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 28px 50px -24px rgba(54, 50, 205, .55); }
  .logo-tile:hover img { transform: scale(1.06); }
  .logo-tile:hover figcaption { opacity: 1; transform: translate(-50%, 0); }
  .logo-row:hover .logo-track { animation-play-state: paused; }
}
.clients-foot { margin-top: clamp(2.6rem, 5vw, 3.6rem); }
.sector-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
.sector-pills span { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink-d); background: rgba(255,255,255,.7); border: 1px solid rgba(20, 18, 74, .1); }
.sector-pills .i { color: var(--indigo); width: 1em; height: 1em; }

/* ---------- Proyectos (galería horizontal) ---------- */
.work { position: relative; background: var(--bg); padding-block: clamp(5rem, 10vw, 7rem) clamp(3rem, 6vw, 4rem); }
.work-pin { display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 3rem); }
.work-head { display: grid; gap: 1.5rem; align-items: end; }
.work-head .section-title { max-width: 17ch; }
.work-meter { display: flex; align-items: center; gap: 1rem; font-family: var(--mono); font-size: .8rem; color: var(--mute); }
.work-count b { color: var(--yellow); font-weight: 500; font-size: 1.1rem; }
.work-bar { position: relative; flex: 1; max-width: 220px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.work-bar i { position: absolute; inset: 0; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(.07); }
.work-hint { display: inline-flex; align-items: center; gap: .4rem; }
.work-hint .i { animation: nudge 1.6s var(--ease-out) infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }
.work-viewport { overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 1rem; -webkit-overflow-scrolling: touch; }
.work-viewport::-webkit-scrollbar { display: none; }
.work-track { display: flex; gap: clamp(1rem, 2vw, 1.6rem); padding-inline: var(--gutter); width: max-content; }
.work-card { flex: none; width: min(84vw, 560px); scroll-snap-align: center; }
.work-link { display: grid; grid-template-rows: auto 1fr; align-content: start; gap: 1.2rem; height: 100%; padding: .7rem .7rem 1.4rem; border-radius: 26px; background: linear-gradient(180deg, rgba(20, 18, 74, .6), rgba(9, 9, 42, .6)); border: 1px solid var(--line); transition: border-color .4s var(--ease-out), transform .6s var(--ease-out), background .4s; }
.work-link:hover { border-color: rgba(245, 253, 51, .45); }
.browser { border-radius: 18px; overflow: hidden; background: #0d0c2b; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: .55rem .8rem; background: #15143d; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: .6rem; flex: 1; text-align: center; font-family: var(--mono); font-size: .68rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: .2rem .6rem; border-radius: 6px; background: rgba(255,255,255,.04); }
.browser-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.browser-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transform: scale(1.001); transition: transform 1.2s var(--ease-out); }
.work-link:hover .browser-shot img { transform: scale(1.06); }
.work-meta { display: grid; align-content: start; gap: .55rem; padding-inline: .7rem; }
.work-logo { display: inline-flex; align-items: center; justify-content: center; justify-self: start; height: 52px; padding: .45rem .8rem; border-radius: 12px; background: #fff; margin-bottom: .3rem; }
.work-logo img { max-height: 36px; max-width: 150px; width: auto; height: auto; object-fit: contain; }
.work-logo--dark { background: linear-gradient(135deg, #1c1a6b, #0d0c33); border: 1px solid var(--line-2); }
.work-cat { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.work-meta h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -0.02em; }
.work-meta p { color: var(--mute); font-size: .95rem; }
.work-subs { font-size: .82rem; color: var(--ink-2); padding: .55rem .75rem; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px dashed var(--line-2); }
.work-subs b { color: var(--yellow); font-weight: 600; }
.work-card--cta { display: grid; }
.work-cta {
  position: relative; overflow: hidden; display: grid; align-content: center; justify-items: start; gap: 1rem; height: 100%; min-height: 420px;
  padding: clamp(1.8rem, 3vw, 2.6rem); border-radius: 26px;
  background: radial-gradient(100% 80% at 100% 0%, rgba(245, 253, 51, .22), transparent 60%), linear-gradient(135deg, var(--indigo) 0%, var(--indigo-900) 100%);
}
.work-cta h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 12ch; }
.work-cta p { color: var(--ink-2); max-width: 32ch; }
.work-cta-num { position: absolute; right: -0.1em; bottom: -0.25em; font-family: var(--display); font-weight: 800; font-size: 12rem; line-height: 1; color: rgba(255,255,255,.06); letter-spacing: -0.06em; }

/* Industrias: clientes del sector */
.ind-clients { font-size: .88rem; color: var(--mute); padding-top: .4rem; }
.ind-clients b { color: var(--yellow); font-weight: 600; }

/* =============================================================
   7. Effects — reveals & split text
   ============================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
/* Cada palabra sube desde una máscara */
.split-word { display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.split-inner { display: inline-block; }
.js [data-split].is-split .split-inner { transform: translateY(108%) rotate(3deg); transform-origin: 0 100%; transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms); }
.js [data-split].is-split.is-revealed .split-inner { transform: none; }
.split-word .hl { display: inline-block; }

.js .hero-copy > *:not(.hero-title) { opacity: 0; transform: translateY(24px); }
.js.is-ready .hero-copy > *:not(.hero-title) { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js.is-ready .hero-copy > *:nth-child(3) { transition-delay: .45s; }
.js.is-ready .hero-copy > *:nth-child(4) { transition-delay: .55s; }
.js.is-ready .hero-copy > *:nth-child(5) { transition-delay: .65s; }
.js.is-ready .hero-title.is-split .split-inner { transform: none; }
.js .hero-title.is-split .split-word .rotator { vertical-align: bottom; }

.js [data-footer-word] { transform: translateY(30%); opacity: 0; transition: transform 1.4s var(--ease-out), opacity 1.4s var(--ease-out); }
.js [data-footer-word].is-revealed { transform: none; opacity: 1; }
.js .hero-visual { opacity: 0; transform: translateY(30px) scale(.97); }
.js.is-ready .hero-visual { opacity: 1; transform: none; transition: opacity 1.2s var(--ease-out) .25s, transform 1.2s var(--ease-out) .25s; }

/* =============================================================
   8. Responsive (mobile-first)
   ============================================================= */
@media (max-width: 539px) {
  .hero-visual { padding-block: 34px 30px; }
  .chat-body { height: 420px; }
  .msg { font-size: .85rem; }
  .float-chip { padding: .55rem .8rem; font-size: .76rem; }
  .chip-a { left: 0; top: 0; }
  .chip-b { display: none; }
  .chip-c { left: auto; right: 6px; bottom: 0; }
  .hero-orbit { width: 130vw; right: -60%; top: 30%; margin-top: -65vw; opacity: .6; }
  .btn-lg { padding: 1rem 1.3rem; font-size: 1rem; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .kanban { gap: .35rem; }
  .kb-col { padding: .35rem; }
}

@media (min-width: 540px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0 2rem; }
  .stat:nth-last-child(2) { border-bottom: 0; }
  .why-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--wa, .card--cta, .card--video { grid-column: span 2; }
  .work-head { grid-template-columns: 1fr auto; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .pillar { grid-template-columns: 70px 1fr 1.1fr; align-items: center; }
  .pillar-text { grid-column: 3; }
  .section-head--split { grid-template-columns: 1.3fr 1fr; align-items: end; }
}

@media (min-width: 960px) {
  :root { --nav-h: 84px; }
  .nav-links { display: flex; }
  .nav-actions .btn { display: inline-flex; }
  .nav-burger { display: none; }
  .mobile-menu { display: none; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
  .hero-visual { justify-self: end; }
  .hero-scroll { display: block; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 0 2rem; border-bottom: 0; border-left: 1px solid var(--line); }
  .stat:first-child { border-left: 0; padding-left: 0; }

  .ind { grid-template-columns: 330px 1fr; gap: 1.5rem; align-items: start; }
  .ind-tabs { flex-direction: column; overflow: visible; -webkit-mask-image: none; mask-image: none; position: sticky; top: calc(var(--nav-h) + 24px); }
  .ind-tab { width: 100%; }
  .ind-panel { min-height: 100%; }

  .steps { max-width: 820px; }

  .product-logo { min-height: 280px; }

  .why-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .why-intro { position: sticky; top: calc(var(--nav-h) + 30px); align-self: start; }
  .why-list { grid-template-columns: 1fr; }

  .faq-grid { grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; }
  .faq .section-head { position: sticky; top: calc(var(--nav-h) + 30px); }

  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; }

  /* Galería de proyectos fijada: el scroll vertical la mueve en horizontal */
  .work.is-pinned { padding-block: 0; overflow: hidden; }
  .work.is-pinned .work-pin { flex-direction: row; align-items: center; gap: 0; height: 100vh; height: 100svh; padding-top: calc(var(--nav-h) * .5); }
  .work.is-pinned .work-head {
    flex: 0 0 34%; min-width: 330px; max-width: none; margin: 0; grid-template-columns: 1fr; align-items: start; gap: 2rem;
    padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); padding-right: 2.5rem;
  }
  .work.is-pinned .work-head .section-title { font-size: clamp(2rem, 3.2vw, 3.1rem); }
  .work.is-pinned .work-meter { flex-wrap: wrap; }
  .work.is-pinned .work-bar { flex-basis: 100%; max-width: 260px; order: 2; }
  .work.is-pinned .work-viewport {
    flex: 1; min-width: 0; overflow: hidden; scroll-snap-type: none; padding-block: 1.5rem;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 100%);
  }
  .work.is-pinned .work-track { padding-left: 3vw; padding-right: 6vw; }
  .work.is-pinned .work-card { width: min(31vw, 60vh, 480px); }
  .work.is-pinned .work-hint { display: none; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (min-width: 960px) and (hover: hover) {
  .pillar { grid-template-columns: 80px 1fr 1fr 56px; }
  .pillar-arrow {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    border: 1px solid var(--line-2); color: var(--ink-2);
    transition: transform .5s var(--ease-out), background .3s, color .3s, border-color .3s;
  }
  .pillar:hover { padding-left: 2.2rem; }
  .pillar:hover::before { transform: scaleY(1); }
  .pillar:hover .pillar-arrow { transform: rotate(45deg); background: var(--yellow); color: var(--black); border-color: transparent; }
  .card:hover { transform: translateY(-4px); }
}

@media (min-width: 1280px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card--wa { grid-column: span 2; grid-row: span 2; }
  .card--crm, .card--code, .card--video, .card--cta { grid-column: span 2; }

  .steps { max-width: none; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-left: 0; padding-top: 2.6rem; gap: 1rem; }
  .steps-line { left: 8px; right: 8px; top: 7px; bottom: auto; width: auto; height: 2px; }
  .steps-line span { background: linear-gradient(90deg, var(--yellow), var(--indigo-2)); transform-origin: 0 50%; }
  .js .steps-line span { transform: scaleX(0); }
  .step::before { left: 1.4rem; top: -2.6rem; }

  .why-list { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   9. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-dot::after, .wa-float::before { animation: none; }
  .orbit-dot { animation-duration: 60s; }
  .float-chip { animation: none; }
  .rotator::after { animation: none; }
}
