/*! © Códice Studio. Todos los derechos reservados. */
:root {
  --bg: #050506; --bg-2: #0a0a0d; --bg-3: #101014;
  --panel: rgba(16, 16, 20, .72); --panel-2: rgba(24, 22, 18, .6);
  --line: rgba(233, 201, 119, .12); --line-2: rgba(233, 201, 119, .26);
  --gold: #cf952c; --gold-2: #e9c977; --gold-3: #fff1c7; --gold-dim: #8a6a2c;
  --text: #ebe8e2; --muted: #918d85; --muted-2: #6b6862;
  --ok: #5fd38d; --err: #ff6b6b;
  --f-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", Consolas, "Courier New", monospace;
  --r: 18px; --wrap: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--f-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(207, 149, 44, .35); color: #fff; }
.wrap { width: min(var(--wrap), 100%); margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- ambient layers ---------- */
#fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.noise { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.glow-cursor { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(207, 149, 44, .10), transparent 62%); transition: opacity .4s; will-change: transform; }
main, header, footer { position: relative; z-index: 2; }

/* ---------- progress + nav ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); z-index: 60;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-2), var(--gold-3)); box-shadow: 0 0 12px rgba(233, 201, 119, .6); }
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; transition: transform .4s var(--ease); }
.nav-in { display: flex; align-items: center; gap: 22px; height: 64px; padding: 0 12px 0 20px; border-radius: 16px;
  background: rgba(10, 10, 12, .55); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35); transition: background .3s, border-color .3s; }
.nav.solid .nav-in { background: rgba(8, 8, 10, .82); border-color: var(--line-2); }
.nav .logo { display: flex; align-items: center; text-decoration: none; }
.nav .logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { position: relative; padding: 8px 14px; border-radius: 10px; font: 500 14px var(--f-body); color: var(--muted); text-decoration: none; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--text); background: rgba(233, 201, 119, .06); }
.nav-links a.on::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 8px var(--gold-2); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.menu-btn i, .menu-btn i::before, .menu-btn i::after { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--gold-2); content: ""; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn i { top: 21px; } .menu-btn i::before { left: 0; right: 0; top: -6px; } .menu-btn i::after { left: 0; right: 0; top: 6px; }
.nav.open .menu-btn i { background: transparent; } .nav.open .menu-btn i::before { transform: translateY(6px) rotate(45deg); } .nav.open .menu-btn i::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { --x: 50%; --y: 50%; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 12px;
  font: 600 15px var(--f-body); letter-spacing: .01em; text-decoration: none; cursor: pointer; border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02);
  overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, background .25s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(160px circle at var(--x) var(--y), rgba(233, 201, 119, .22), transparent 70%); }
.btn:hover { border-color: rgba(233, 201, 119, .5); transform: translateY(-1px); }
.btn:hover::before { opacity: 1; }
.btn.gold { color: #170f02; border: 0; background: linear-gradient(135deg, #fff1c7 0%, #e9c977 28%, #cf952c 62%, #a8741d 100%); box-shadow: 0 10px 30px rgba(207, 149, 44, .28), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.gold::before { background: radial-gradient(140px circle at var(--x) var(--y), rgba(255, 255, 255, .55), transparent 70%); }
.btn.gold:hover { box-shadow: 0 14px 40px rgba(207, 149, 44, .42), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg.arr { transform: translateX(3px); }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
.hero .grid-floor { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%; z-index: -1; transform: perspective(600px) rotateX(62deg); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(233, 201, 119, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(233, 201, 119, .16) 1px, transparent 1px);
  background-size: 64px 64px; animation: floor 6s linear infinite;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 40%, transparent 85%); mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 40%, transparent 85%); }
@keyframes floor { to { background-position: 0 64px; } }
.hero .sun { position: absolute; left: 50%; top: 48%; width: 900px; height: 900px; margin: -450px 0 0 -450px; z-index: -2; border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 149, 44, .18) 0%, rgba(207, 149, 44, .05) 35%, transparent 62%); filter: blur(10px); }
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(207, 149, 44, .06);
  font: 500 12.5px var(--f-mono); letter-spacing: .06em; color: var(--gold-2); }
.kicker .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 0 rgba(233, 201, 119, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(233, 201, 119, 0); } 100% { box-shadow: 0 0 0 0 rgba(233, 201, 119, 0); } }
.hero h1 { margin: 22px 0 18px; font: 700 clamp(40px, 6.2vw, 78px)/1.02 var(--f-head); letter-spacing: -.035em; }
.foil { background: linear-gradient(100deg, #8a6a2c 0%, #cf952c 18%, #fff1c7 34%, #e9c977 46%, #cf952c 62%, #fff1c7 80%, #a8741d 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 7s linear infinite; }
@keyframes foil { to { background-position: -220% 0; } }
.hero .lead { max-width: 560px; margin: 0 0 32px; font-size: clamp(16px, 1.6vw, 18.5px); color: #b7b2a9; }
.hero .lead b { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-meta div { min-width: 0; flex: 1 1 140px; }
.hero-meta b { display: block; font: 700 26px var(--f-head); color: var(--gold-2); letter-spacing: -.02em; }
.hero-meta span { font-size: 13px; color: var(--muted); }
.hero-meta b span, .stat b span { font: inherit; color: inherit; letter-spacing: inherit; }
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.split-word > span { display: inline-block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
@keyframes rise { to { transform: none; } }

/* hero visual: code window + floating devices */
.stage { position: relative; height: 520px; perspective: 1400px; }
.stage-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .3s ease-out; }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(233, 201, 119, .14); transform: translate(-50%, -50%); }
.ring.r1 { width: 520px; height: 520px; border-style: dashed; animation: spin 60s linear infinite; }
.ring.r2 { width: 380px; height: 380px; border-color: rgba(233, 201, 119, .22); animation: spin 40s linear infinite reverse; }
.ring.r2::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 14px var(--gold-2); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.code-win { position: absolute; left: 4%; top: 12%; width: 74%; border-radius: 16px; overflow: hidden; transform: translateZ(40px);
  background: linear-gradient(180deg, rgba(20, 19, 17, .92), rgba(10, 10, 12, .92)); border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .4), 0 0 60px rgba(207, 149, 44, .08); }
.code-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.code-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c2a27; }
.code-bar i:nth-child(1) { background: #6d5426; } .code-bar i:nth-child(2) { background: #a07a2a; } .code-bar i:nth-child(3) { background: #e9c977; }
.code-bar span { margin-left: 10px; font: 500 12px var(--f-mono); color: var(--muted); }
.code { margin: 0; padding: 18px 18px 22px; min-height: 270px; font: 13px/1.75 var(--f-mono); color: #cfc9be; white-space: pre-wrap; word-break: break-word; }
.code .k { color: #e9c977; } .code .s { color: #b9d89a; } .code .c { color: #6b6862; font-style: italic; } .code .f { color: #f0b35a; } .code .n { color: #d9a6ff; } .code .p { color: #8fb8ff; }
.caret { display: inline-block; width: 8px; height: 16px; margin-left: 1px; vertical-align: -3px; background: var(--gold-2); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.device { position: absolute; border-radius: 26px; border: 1px solid var(--line-2); background: linear-gradient(160deg, #17150f, #0b0b0d); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); overflow: hidden; }
.device.phone { right: 2%; bottom: 4%; width: 170px; height: 330px; transform: translateZ(90px) rotate(4deg); padding: 12px; animation: float 6s ease-in-out infinite; }
.device.card { left: 0; bottom: 2%; width: 220px; padding: 16px; border-radius: 16px; transform: translateZ(70px); animation: float 7s ease-in-out -2s infinite; }
@keyframes float { 50% { translate: 0 -12px; } }
.ph-notch { width: 60px; height: 6px; margin: 2px auto 12px; border-radius: 4px; background: #24221d; }
.ph-row { height: 9px; border-radius: 5px; background: rgba(233, 201, 119, .12); margin: 8px 0; }
.ph-row.w6 { width: 60%; } .ph-row.w8 { width: 80%; } .ph-row.g { background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.ph-chart { display: flex; align-items: flex-end; gap: 6px; height: 90px; margin: 16px 0; padding: 0 2px; border-bottom: 1px solid var(--line); }
.ph-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--gold-2), rgba(207, 149, 44, .2)); animation: bar 3s ease-in-out infinite alternate; transform-origin: bottom; }
.ph-chart i:nth-child(2) { animation-delay: -.6s; } .ph-chart i:nth-child(3) { animation-delay: -1.2s; } .ph-chart i:nth-child(4) { animation-delay: -1.8s; } .ph-chart i:nth-child(5) { animation-delay: -2.4s; }
@keyframes bar { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.ph-btn { height: 30px; margin-top: 14px; border-radius: 9px; background: linear-gradient(135deg, #e9c977, #cf952c); }
.card-top { display: flex; align-items: center; gap: 10px; }
.card-top .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(207, 149, 44, .14); color: var(--gold-2); }
.card-top .dot svg { width: 18px; height: 18px; }
.card-top b { display: block; font: 600 13px var(--f-head); }
.card-top small { font-size: 11px; color: var(--muted); }
.card-val { margin: 12px 0 2px; font: 700 26px var(--f-head); letter-spacing: -.02em; }
.card-val em { font-style: normal; font-size: 12px; color: var(--ok); margin-left: 6px; }
.spark { width: 100%; height: 40px; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font: 500 11px var(--f-mono); letter-spacing: .2em; color: var(--muted-2); text-transform: uppercase; }
.scroll-hint i { width: 22px; height: 36px; border: 1.5px solid var(--line-2); border-radius: 12px; position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-2); animation: wheel 1.8s infinite; }
@keyframes wheel { to { transform: translateY(12px); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { position: relative; padding: 22px 0; border-block: 1px solid var(--line); background: rgba(10, 10, 12, .6); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 48px; font: 600 clamp(18px, 2.2vw, 26px) var(--f-head); letter-spacing: -.01em; color: #4d4a44; white-space: nowrap; transition: color .3s; }
.marquee span:hover { color: var(--gold-2); }
.marquee span::after { content: "✦"; font-size: 14px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: 120px 0; }
.sec-head { max-width: 760px; margin: 0 0 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2)); }
.sec-head.center .eyebrow::after { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--gold-2), transparent); }
.sec-head h2 { margin: 16px 0 14px; font: 700 clamp(32px, 4.4vw, 54px)/1.08 var(--f-head); letter-spacing: -.03em; }
.sec-head p { margin: 0; font-size: 17px; color: #a9a49b; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* glass card with mouse spotlight + gradient border */
.glass { --mx: 50%; --my: 50%; position: relative; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); isolation: isolate; overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.glass::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(233, 201, 119, .10), transparent 45%); }
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(233, 201, 119, .7), transparent 50%);
  -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); }
.glass:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.glass:hover::before, .glass:hover::after { opacity: 1; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { padding: 30px 28px 28px; min-height: 280px; display: flex; flex-direction: column; }
.svc .ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px; color: var(--gold-2);
  background: linear-gradient(145deg, rgba(233, 201, 119, .16), rgba(207, 149, 44, .03)); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.svc .ico svg { width: 26px; height: 26px; }
.svc h3 { margin: 0 0 10px; font: 600 20px var(--f-head); letter-spacing: -.01em; }
.svc p { margin: 0 0 18px; color: #a39e95; font-size: 15px; }
.svc ul { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 6px; }
.svc li { font: 500 11.5px var(--f-mono); color: var(--muted); padding: 4px 9px; border-radius: 6px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .05); }
.svc .num { position: absolute; top: 22px; right: 24px; font: 500 12px var(--f-mono); color: var(--muted-2); }
.svc.wide { grid-column: span 2; flex-direction: row; gap: 32px; align-items: center; }
.svc.wide > div { flex: 1; }
.svc.wide .mini-term { flex: 1; }
.mini-term { border-radius: 12px; background: #08080a; border: 1px solid var(--line); padding: 14px 16px; font: 12.5px/1.8 var(--f-mono); color: #a7a296; min-height: 150px; }
.mini-term .ok { color: var(--ok); } .mini-term .g { color: var(--gold-2); }

/* ---------- process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.process::before { content: ""; position: absolute; left: 6%; right: 6%; top: 37px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), var(--line-2), transparent); }
.process .beam { position: absolute; left: 6%; top: 36px; height: 3px; width: 88%; transform-origin: 0 50%; transform: scaleX(0); transition: transform 2.2s var(--ease);
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-2), var(--gold-3)); box-shadow: 0 0 16px rgba(233, 201, 119, .6); border-radius: 2px; }
.process.in .beam { transform: scaleX(1); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .node { position: relative; width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line-2);
  font: 700 22px var(--f-head); color: var(--gold-2); box-shadow: 0 0 0 8px var(--bg); transition: background .5s, color .5s, box-shadow .5s; }
.process.in .step .node { background: radial-gradient(circle at 30% 30%, #2b2316, #0f0e0b); box-shadow: 0 0 0 8px var(--bg), 0 0 30px rgba(207, 149, 44, .25); }
.step h3 { margin: 0 0 8px; font: 600 18px var(--f-head); }
.step p { margin: 0; font-size: 14.5px; color: #a39e95; }
.step small { display: inline-block; margin-top: 12px; font: 500 11.5px var(--f-mono); color: var(--gold); letter-spacing: .06em; }

/* ---------- portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -24px 0 36px; }
.filters.center { justify-content: center; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--muted); font: 500 13.5px var(--f-body); cursor: pointer; transition: all .25s var(--ease); }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.on { color: #170f02; background: linear-gradient(135deg, #fff1c7, #e9c977 40%, #cf952c); border-color: transparent; box-shadow: 0 6px 20px rgba(207, 149, 44, .25); }
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work { display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s, opacity .4s; }
.work.hide { display: none; }
.work.feature { grid-column: span 2; flex-direction: row; }
.work.feature .work-vis { flex: 1.15; min-height: 380px; }
.work.feature .work-body { flex: 1; }
.work-vis { position: relative; min-height: 270px; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 70% 0%, rgba(207, 149, 44, .16), transparent 55%), linear-gradient(160deg, #13110d, #09090b); }
.work.feature .work-vis { border-bottom: 0; border-right: 1px solid var(--line); }
.work-vis .gridlines { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(233, 201, 119, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(233, 201, 119, .06) 1px, transparent 1px); background-size: 28px 28px; }
.work-vis .badge-lock { position: absolute; top: 14px; left: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px;
  background: rgba(5, 5, 6, .75); border: 1px solid var(--line-2); font: 500 11px var(--f-mono); color: var(--gold-2); backdrop-filter: blur(6px); }
.work-vis .badge-lock svg { width: 12px; height: 12px; }
.work-body { padding: 28px 28px 30px; display: flex; flex-direction: column; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.work-tags span { font: 500 11px var(--f-mono); letter-spacing: .04em; color: var(--gold-2); padding: 4px 9px; border-radius: 6px; background: rgba(207, 149, 44, .08); border: 1px solid rgba(207, 149, 44, .2); }
.work h3 { margin: 0 0 4px; font: 600 22px/1.25 var(--f-head); letter-spacing: -.015em; }
.work .sector { margin: 0 0 12px; font-size: 13.5px; color: var(--muted); }
.work p.desc { margin: 0 0 16px; color: #a9a49b; font-size: 15px; }
.work ul.feat { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 16px; }
.work ul.feat li { position: relative; padding-left: 18px; font-size: 13.5px; color: #c9c4ba; }
.work ul.feat li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; transform: rotate(45deg); border: 1.5px solid var(--gold); }
.work .plat { display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); font: 500 12px var(--f-mono); color: var(--muted); }
.work .plat b { color: var(--gold-2); font-weight: 500; }
.portfolio-cta { margin-top: 38px; padding: 34px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.portfolio-cta .lock { width: 60px; height: 60px; flex: none; border-radius: 16px; display: grid; place-items: center; color: var(--gold-2); background: rgba(207, 149, 44, .1); border: 1px solid var(--line-2); }
.portfolio-cta .lock svg { width: 28px; height: 28px; }
.portfolio-cta div { flex: 1; min-width: 240px; }
.portfolio-cta h3 { margin: 0 0 6px; font: 600 21px var(--f-head); }
.portfolio-cta p { margin: 0; color: #a39e95; font-size: 15px; }

/* abstract mockups inside the portfolio visuals (no real screens) */
.mk { position: absolute; border-radius: 12px; background: linear-gradient(180deg, rgba(26, 24, 20, .95), rgba(14, 14, 16, .95)); border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .55); overflow: hidden; }
.mk .bar { height: 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 5px; padding: 0 10px; }
.mk .bar i { width: 6px; height: 6px; border-radius: 50%; background: #3a352b; }
.mk .bl { position: absolute; border-radius: 4px; background: rgba(233, 201, 119, .12); }
.mk .bl.g { background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.mk .bl.t { background: rgba(255, 255, 255, .08); }
.mk.phone { border-radius: 20px; }
.blur-veil { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(9, 9, 11, .85)); }
.ovalt { position: absolute; border-radius: 50%; border: 1px solid rgba(233, 201, 119, .25); background: radial-gradient(ellipse, rgba(207, 149, 44, .18), rgba(207, 149, 44, .03) 70%); }
.seat { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #1d1a14; border: 1px solid var(--gold-dim); }
.seat.on { background: var(--gold-2); box-shadow: 0 0 10px var(--gold-2); border-color: var(--gold-2); }
.clock { position: absolute; display: grid; place-items: center; font: 700 26px var(--f-mono); color: var(--gold-2); letter-spacing: .04em; text-shadow: 0 0 18px rgba(233, 201, 119, .5); }
.donut { position: absolute; border-radius: 50%; background: conic-gradient(var(--gold-2) 0 38%, var(--gold) 38% 64%, #6d5426 64% 82%, #2e2a22 82% 100%); }
.donut::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: #121114; }
.vis-anim .bl.g { animation: shimmerw 3.2s ease-in-out infinite alternate; transform-origin: left; }
@keyframes shimmerw { from { transform: scaleX(.55); } to { transform: scaleX(1); } }

/* ---------- capabilities / stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 28px 26px; }
.stat b { display: block; font: 700 clamp(34px, 4vw, 48px)/1 var(--f-head); letter-spacing: -.03em; margin-bottom: 10px; }
.stat span { font-size: 14.5px; color: #a39e95; }
.stack { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 18px; }
.stack div { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 10px; text-align: center; font: 500 12.5px var(--f-mono); color: var(--muted); }
.stack svg { width: 28px; height: 28px; color: var(--gold-2); }

/* ---------- order wizard ---------- */
.order { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; align-items: start; }
.order-side { position: sticky; top: 110px; padding: 32px; }
.order-side h3 { margin: 0 0 10px; font: 600 22px var(--f-head); }
.order-side p { margin: 0 0 22px; color: #a39e95; font-size: 15px; }
.order-side ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.order-side li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; color: var(--muted); font-size: 14.5px; transition: background .3s, color .3s; }
.order-side li i { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; font: 600 13px var(--f-mono); font-style: normal; border: 1px solid var(--line-2); color: var(--gold-2); transition: all .3s; }
.order-side li.on { background: rgba(207, 149, 44, .08); color: var(--text); }
.order-side li.on i { background: linear-gradient(135deg, #e9c977, #cf952c); color: #170f02; border-color: transparent; box-shadow: 0 0 18px rgba(207, 149, 44, .35); }
.order-side li.done i { background: rgba(95, 211, 141, .12); border-color: rgba(95, 211, 141, .4); color: var(--ok); }
.order-side .assure { margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line); display: grid; gap: 10px; font-size: 13.5px; color: #a39e95; }
.order-side .assure span { display: flex; gap: 10px; align-items: flex-start; }
.order-side .assure svg { width: 18px; height: 18px; flex: none; color: var(--gold-2); margin-top: 2px; }
.wizard { padding: 34px; }
.wz-progress { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .05); overflow: hidden; margin-bottom: 30px; }
.wz-progress i { display: block; height: 100%; width: 25%; border-radius: 4px; background: linear-gradient(90deg, var(--gold-dim), var(--gold-2)); box-shadow: 0 0 12px rgba(233, 201, 119, .5); transition: width .5s var(--ease); }
.wz-step { display: none; animation: stepIn .5s var(--ease); }
.wz-step.on { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } }
.wz-step h3 { margin: 0 0 6px; font: 600 22px var(--f-head); }
.wz-step > p { margin: 0 0 24px; color: var(--muted); font-size: 14.5px; }
.q { margin-bottom: 26px; }
.q > label, .q > span { display: block; margin-bottom: 10px; font: 500 13px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-2); }
.q > span small { text-transform: none; letter-spacing: 0; color: var(--muted); font-family: var(--f-body); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: #c3beb4; font-size: 14px; cursor: pointer; transition: all .2s var(--ease); user-select: none; }
.opts.cards .opt span { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; height: 100%; }
.opts.cards .opt svg { width: 22px; height: 22px; color: var(--gold-2); }
.opt span:hover { border-color: var(--line-2); color: var(--text); }
.opt input:checked + span { border-color: var(--gold); background: rgba(207, 149, 44, .1); color: var(--text); box-shadow: 0 0 0 1px var(--gold) inset, 0 8px 24px rgba(207, 149, 44, .12); }
.opt input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font: 500 13px var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--gold-2); }
.field label small { text-transform: none; letter-spacing: 0; color: var(--muted); font-family: var(--f-body); }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
input[type=text], input[type=email], input[type=tel], input[type=password], textarea, select {
  width: 100%; padding: 13px 15px; border-radius: 11px; border: 1px solid var(--line); background: rgba(5, 5, 6, .7); color: var(--text); font: 15px var(--f-body); transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(207, 149, 44, .15); }
input::placeholder, textarea::placeholder { color: #5b5852; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #a39e95; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex: none; }
.check a { color: var(--gold-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wz-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-msg { min-height: 22px; margin-top: 14px; font-size: 14px; color: var(--err); }
.summary { display: grid; gap: 10px; padding: 18px; border-radius: 14px; background: rgba(5, 5, 6, .6); border: 1px dashed var(--line-2); font-size: 14px; margin-bottom: 20px; }
.summary div { display: flex; gap: 12px; } .summary dt { flex: none; width: 130px; color: var(--muted); font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; } .summary dd { margin: 0; color: var(--text); }
.success { text-align: center; padding: 30px 10px 10px; }
.success .seal { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; color: #170f02; background: linear-gradient(135deg, #fff1c7, #e9c977 40%, #cf952c);
  box-shadow: 0 0 0 10px rgba(207, 149, 44, .1), 0 0 60px rgba(207, 149, 44, .4); animation: pop .7s var(--ease); }
.success .seal svg { width: 40px; height: 40px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.success h3 { margin: 0 0 8px; font: 700 26px var(--f-head); }
.success p { margin: 0 auto 8px; max-width: 440px; color: #a39e95; }
.success .folio { display: inline-block; margin: 14px 0 22px; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line-2); font: 600 18px var(--f-mono); color: var(--gold-2); letter-spacing: .08em; background: rgba(207, 149, 44, .06); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 14px; border: 1px solid var(--line); background: var(--panel); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: var(--line-2); background: var(--panel-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 22px; font: 600 16.5px var(--f-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; margin-left: auto; width: 12px; height: 12px; flex: none; border-right: 1.5px solid var(--gold-2); border-bottom: 1.5px solid var(--gold-2); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { margin: 0; padding: 0 22px 22px; color: #a39e95; font-size: 15px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
.contact-info { padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.contact-info h3 { margin: 0; font: 600 24px var(--f-head); letter-spacing: -.01em; }
.contact-info > p { margin: 0; color: #a39e95; }
.ci { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 14px; background: rgba(5, 5, 6, .55); border: 1px solid var(--line); }
.ci .ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--gold-2); background: rgba(207, 149, 44, .1); border: 1px solid var(--line-2); }
.ci .ico svg { width: 20px; height: 20px; }
.ci b { display: block; font: 600 15px var(--f-head); }
.ci span { font-size: 13.5px; color: var(--muted); }
.contact-form { padding: 34px; }
.status-line { margin-top: auto; display: flex; align-items: center; gap: 10px; font: 500 12.5px var(--f-mono); color: var(--muted); }
.status-line i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }

/* ---------- CTA band + footer ---------- */
.band { position: relative; margin: 0 0 100px; padding: 70px 40px; text-align: center; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2);
  background: radial-gradient(ellipse at 50% 120%, rgba(207, 149, 44, .35), transparent 60%), linear-gradient(180deg, #110f0b, #08080a); }
.band::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(233, 201, 119, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(233, 201, 119, .07) 1px, transparent 1px); background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 100%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 50% 100%, #000, transparent 70%); }
.band > * { position: relative; }
.band h2 { margin: 0 0 14px; font: 700 clamp(30px, 4.4vw, 52px)/1.1 var(--f-head); letter-spacing: -.03em; }
.band p { margin: 0 auto 30px; max-width: 560px; color: #b7b2a9; font-size: 17px; }
.band .hero-cta { justify-content: center; }
.foot { border-top: 1px solid var(--line); padding: 60px 0 34px; background: linear-gradient(180deg, transparent, rgba(207, 149, 44, .03)); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot .brand img { width: 200px; height: auto; margin-bottom: 16px; }
.foot .brand p { margin: 0; color: var(--muted); font-size: 14px; max-width: 320px; }
.foot h4 { margin: 4px 0 14px; font: 500 12.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot ul a { color: #a39e95; text-decoration: none; font-size: 14.5px; transition: color .2s; }
.foot ul a:hover { color: var(--gold-2); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-2); }
.foot-bottom nav { display: flex; gap: 10px; align-items: center; }
.foot-bottom nav a { color: var(--muted); text-decoration: none; }
.foot-bottom nav a:hover { color: var(--gold-2); }
.foot-bottom nav i { font-style: normal; color: #3a3833; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(10, 10, 12, .8); color: var(--gold-2); backdrop-filter: blur(10px); opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .35s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg); transition: opacity .7s var(--ease), visibility .7s; }
.loader.out { opacity: 0; visibility: hidden; }
.loader img { width: 120px; animation: ldIn 1s var(--ease) both; filter: drop-shadow(0 0 24px rgba(207, 149, 44, .35)); }
.loader .ld-bar { width: 160px; height: 2px; margin: 22px auto 0; border-radius: 2px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.loader .ld-bar i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); animation: ld 1.1s ease-in-out infinite; }
.loader small { display: block; margin-top: 14px; text-align: center; font: 500 11px var(--f-mono); letter-spacing: .3em; color: var(--muted-2); }
@keyframes ldIn { from { opacity: 0; transform: scale(.85); } }
@keyframes ld { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; gap: 30px; }
  .stage { height: 440px; max-width: 620px; width: 100%; margin: 0 auto; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .svc.wide { grid-column: span 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stack { grid-template-columns: repeat(3, 1fr); }
  .order { grid-template-columns: 1fr; }
  .order-side { position: static; }
  .order-side ol { grid-template-columns: repeat(4, 1fr); }
  .order-side li { flex-direction: column; text-align: center; gap: 8px; font-size: 12.5px; padding: 10px 6px; }
}
@media (max-width: 860px) {
  .nav { top: 10px; }
  .nav-in { height: 58px; }
  .nav-links { position: fixed; left: 12px; right: 12px; top: 78px; flex-direction: column; gap: 2px; padding: 12px; margin: 0; border-radius: 16px;
    background: rgba(8, 8, 10, .96); border: 1px solid var(--line-2); backdrop-filter: blur(18px); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: all .3s var(--ease); }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 16px; }
  .nav-in > .btn { display: none; }
  .menu-btn { display: block; }
  .works { grid-template-columns: 1fr; }
  .work.feature { grid-column: auto; flex-direction: column; }
  .work.feature .work-vis { border-right: 0; border-bottom: 1px solid var(--line); min-height: 300px; }
  .process { grid-template-columns: 1fr 1fr; gap: 38px 18px; }
  .process::before, .process .beam { display: none; }
  .contact { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot .brand { grid-column: span 2; }
  .sec { padding: 90px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 110px 0 80px; }
  .stage { height: 380px; }
  .code-win { left: 0; width: 92%; top: 4%; }
  .code { font-size: 11.5px; min-height: 220px; padding: 14px; }
  .device.phone { width: 130px; height: 250px; right: -2%; }
  .device.card { width: 180px; bottom: 0; }
  .ring.r1 { width: 380px; height: 380px; } .ring.r2 { width: 280px; height: 280px; }
  .services { grid-template-columns: 1fr; }
  .svc.wide { grid-column: auto; flex-direction: column; align-items: stretch; }
  .svc { min-height: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 22px 18px; }
  .stack { grid-template-columns: repeat(2, 1fr); }
  .work ul.feat { grid-template-columns: 1fr; }
  .work-body { padding: 22px 20px 24px; }
  .wizard, .contact-form, .contact-info, .order-side { padding: 22px 18px; }
  .fields-2 { grid-template-columns: 1fr; }
  .order-side ol { grid-template-columns: repeat(4, 1fr); gap: 2px; }
  .order-side li span { display: none; }
  .order-side p, .order-side h3, .order-side .assure { display: none; }
  .order-side { padding: 12px; }
  .summary div { flex-direction: column; gap: 2px; } .summary dt { width: auto; }
  .band { padding: 50px 20px; border-radius: 20px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot .brand { grid-column: auto; }
  .hero-meta { gap: 18px; } .hero-meta div { min-width: 0; flex: 1 1 40%; }
  .glow-cursor { display: none; }
  .process { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .split-word > span { transform: none; }
}

/* ---------- portfolio groups: success stories ---------- */
.works-group + .works-group { margin-top: 64px; }
.works-group.empty { display: none; }
.group-head { display: flex; align-items: center; gap: 18px; margin: 0 0 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.group-head .gh-ico { width: 52px; height: 52px; flex: none; border-radius: 15px; display: grid; place-items: center; color: #170f02;
  background: linear-gradient(135deg, #fff1c7, #e9c977 40%, #cf952c); box-shadow: 0 0 26px rgba(207, 149, 44, .3); }
.group-head .gh-ico svg { width: 26px; height: 26px; }
.works-group + .works-group .gh-ico { color: var(--gold-2); background: rgba(207, 149, 44, .1); border: 1px solid var(--line-2); box-shadow: none; }
.group-head h3 { margin: 0; font: 700 clamp(22px, 2.6vw, 30px)/1.15 var(--f-head); letter-spacing: -.02em; }
.group-head p { margin: 4px 0 0; color: #a39e95; font-size: 15px; }
.work-tags .done { display: inline-flex; align-items: center; gap: 5px; color: #0d2414; background: linear-gradient(135deg, #8ff0b3, #5fd38d); border-color: transparent; font-weight: 600; }
.work-tags .done svg { width: 11px; height: 11px; }
.story { display: grid; gap: 10px; margin: 2px 0 18px; padding: 14px 16px; border-radius: 12px; background: rgba(5, 5, 6, .5); border: 1px solid var(--line); }
.story div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: baseline; }
.story b { font: 600 11.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.story span { font-size: 14.5px; color: #c9c4ba; line-height: 1.5; }
@media (max-width: 600px) { .story div { grid-template-columns: 1fr; gap: 2px; } .group-head { align-items: flex-start; } }

/* ---------- sectors: health mockup, "en curso" tag, automation tiles ---------- */
.spine { position: absolute; left: 0; right: 0; top: 30px; bottom: 14px; display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; transform: rotate(-6deg); }
.spine i { display: block; width: var(--w); height: 9%; border-radius: 7px; background: linear-gradient(180deg, rgba(233, 201, 119, .35), rgba(207, 149, 44, .12)); border: 1px solid rgba(233, 201, 119, .35); }
.angle { position: absolute; height: 2px; background: var(--gold-2); box-shadow: 0 0 10px var(--gold-2); transform-origin: left center; }
.angle.a1 { left: 18%; top: 34%; width: 64%; transform: rotate(-9deg); }
.angle.a2 { left: 18%; top: 78%; width: 64%; transform: rotate(7deg); animation: tilt 3s ease-in-out infinite alternate; }
@keyframes tilt { to { transform: rotate(-2deg); } }
.work-tags .curso { color: #170f02; background: linear-gradient(135deg, #fff1c7, #e9c977); border-color: transparent; font-weight: 600; }
.autos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.autos .auto-tile { flex: 1 1 180px; max-width: calc((100% - 56px) / 5); }
.auto-tile { padding: 24px 18px 22px; text-align: center; align-items: center; }
.auto-tile .at-ico { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; color: var(--gold-2); background: linear-gradient(145deg, rgba(233, 201, 119, .16), rgba(207, 149, 44, .03)); border: 1px solid var(--line-2); }
.auto-tile .at-ico svg { width: 26px; height: 26px; }
.auto-tile h3 { margin: 0 0 4px; font: 600 16px/1.3 var(--f-head); }
.auto-tile p { margin: 0; font: 500 11.5px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1080px) { .autos .auto-tile { max-width: calc((100% - 28px) / 3); } }
@media (max-width: 600px) { .autos .auto-tile { flex-basis: 140px; max-width: calc((100% - 14px) / 2); } }

/* ---------- automation showcase: flow board + WhatsApp bot chat ---------- */
.auto-vis { min-height: 400px; background: radial-gradient(ellipse at 20% 10%, rgba(207, 149, 44, .18), transparent 55%), radial-gradient(ellipse at 90% 90%, rgba(37, 211, 102, .07), transparent 50%), linear-gradient(160deg, #12100c, #08080a); }
.auto-feature .work-vis { min-height: 400px; }
.dotgrid { position: absolute; inset: 0; opacity: .55; background-image: radial-gradient(rgba(233, 201, 119, .22) 1px, transparent 1.3px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 90%); mask-image: linear-gradient(90deg, #000 55%, transparent 90%); }
.flow-label { position: absolute; left: 16px; bottom: 14px; z-index: 3; font: 500 10.5px var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.flow { position: absolute; left: 3%; top: 15%; width: 56%; height: 74%; overflow: visible; }
.flow .wire { fill: none; stroke: rgba(233, 201, 119, .18); stroke-width: 2; stroke-dasharray: 4 5; }
.flow .wire-on { fill: none; stroke-width: 2.4; stroke-dasharray: 220; stroke-dashoffset: 220; animation: wire 1.8s ease-in-out infinite; filter: drop-shadow(0 0 4px rgba(233, 201, 119, .6)); }
@keyframes wire { 0% { stroke-dashoffset: 220; opacity: 0; } 15% { opacity: 1; } 60% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.flow .spark-dot { fill: #fff1c7; filter: drop-shadow(0 0 6px #e9c977); }
.flow .node rect:first-child { fill: rgba(20, 19, 16, .96); stroke: rgba(233, 201, 119, .35); stroke-width: 1; }
.flow .node.first rect:first-child { stroke: rgba(37, 211, 102, .55); }
.flow .node .ic-bg { fill: rgba(207, 149, 44, .14); stroke: rgba(233, 201, 119, .3); }
.flow .node.first .ic-bg { fill: rgba(37, 211, 102, .12); stroke: rgba(37, 211, 102, .45); }
.flow .node .ic { stroke: #e9c977; }
.flow .node.first .ic { stroke: #5fe39a; }
.flow .node text { fill: #ebe8e2; font: 600 11px var(--f-body); }
.flow .node text.sm { fill: #8a8680; font: 500 9px var(--f-mono); letter-spacing: .08em; }
.wa { position: absolute; right: 4%; top: 7%; bottom: 7%; width: 37%; min-width: 210px; z-index: 2; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px;
  background: #0b0d0c; border: 1px solid rgba(233, 201, 119, .35); box-shadow: 0 30px 70px rgba(0, 0, 0, .65), 0 0 0 5px rgba(20, 18, 14, .9), 0 0 0 6px rgba(233, 201, 119, .25); }
.wa-top { display: flex; align-items: center; gap: 9px; padding: 12px 12px 10px; background: linear-gradient(180deg, #17150f, #100f0c); border-bottom: 1px solid rgba(233, 201, 119, .15); }
.wa-av { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #170f02; background: linear-gradient(135deg, #fff1c7, #e9c977 45%, #cf952c); }
.wa-av svg { width: 17px; height: 17px; }
.wa-top b { display: block; font: 600 12px/1.2 var(--f-head); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-top small { font-size: 10px; color: #5fe39a; }
.wa-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 12px 10px; overflow: hidden;
  background: radial-gradient(rgba(233, 201, 119, .05) 1px, transparent 1.4px) 0 0 / 14px 14px, #0c0d0c; }
.wa .msg { display: flex; flex-direction: column; max-width: 86%; padding: 7px 10px 5px; border-radius: 12px; font-size: 11.5px; line-height: 1.4; color: #ece9e2;
  opacity: 0; transform: translateY(8px) scale(.97); transition: opacity .35s, transform .35s var(--ease); }
.wa .msg.show { opacity: 1; transform: none; }
.wa .msg.in { align-self: flex-end; background: linear-gradient(135deg, #1d3a2b, #173024); border-bottom-right-radius: 4px; }
.wa .msg.bot { align-self: flex-start; background: #17160f; border: 1px solid rgba(233, 201, 119, .3); border-bottom-left-radius: 4px; box-shadow: 0 0 18px rgba(207, 149, 44, .08); }
.wa .msg small { align-self: flex-end; margin-top: 2px; font-size: 8.5px; color: #8c8a83; }
.wa .msg.in small { color: #7fd1a3; }
.wa .msg.typing { display: none; padding: 9px 12px; }
.wa .msg.typing.show { display: flex; }
.wa .msg.typing span { display: flex; gap: 4px; }
.wa .msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #e9c977; animation: dot 1s infinite; }
.wa .msg.typing i:nth-child(2) { animation-delay: .15s; } .wa .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.wa-input { display: flex; align-items: center; gap: 8px; margin: 0 8px 9px; padding: 7px 7px 7px 12px; border-radius: 999px; background: #141411; border: 1px solid rgba(255, 255, 255, .05); font-size: 10.5px; color: #66635d; }
.wa-input span { flex: 1; }
.wa-input i { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #e9c977, #cf952c); }
.auto-vis { container-type: inline-size; }
.auto-vis .sizer { display: block; }
@container (max-width: 560px) {
  .sizer { padding-top: 128%; }
  .flow { left: 3%; top: 9%; width: 94%; height: 40%; }
  .dotgrid { -webkit-mask-image: none; mask-image: none; }
  .wa { left: 9%; right: 9%; width: auto; min-width: 0; top: auto; bottom: 4%; height: 46%; }
  .flow-label { display: none; }
}

/* ---------- automation carousel (loops sideways) ---------- */
.carousel { position: relative; }
.car-track { display: flex !important; gap: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 0 10px; border-radius: var(--r); }
.car-track::-webkit-scrollbar { display: none; }
.car-track > .work { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.car-track > .work:hover { transform: none; }
.car-btn { position: absolute; top: 50%; z-index: 5; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: var(--gold-2); background: rgba(10, 10, 12, .85); border: 1px solid var(--line-2); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: transform .25s var(--ease), background .25s, color .25s; }
.car-btn:hover { transform: scale(1.08); color: #170f02; background: linear-gradient(135deg, #fff1c7, #e9c977 45%, #cf952c); }
.car-btn svg { width: 20px; height: 20px; }
.car-btn.prev { left: -22px; } .car-btn.next { right: -22px; }
.car-foot { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 14px; }
.car-dots { display: flex; gap: 8px; }
.car-dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; cursor: pointer; background: rgba(233, 201, 119, .25); transition: width .35s var(--ease), background .3s; }
.car-dots button.on { width: 30px; background: linear-gradient(90deg, #cf952c, #fff1c7); box-shadow: 0 0 10px rgba(233, 201, 119, .5); }
.car-count { font: 500 12px var(--f-mono); letter-spacing: .12em; color: var(--muted); }
@media (max-width: 1260px) {
  .car-btn { top: auto; bottom: -60px; margin-top: 0; width: 44px; height: 44px; }
  .car-btn.prev { left: calc(50% - 150px); } .car-btn.next { right: calc(50% - 150px); }
  .car-foot { min-height: 44px; margin-top: 16px; }
}
@media (max-width: 600px) { .car-btn.prev { left: 0; } .car-btn.next { right: 0; } }

/* carousel v2: slides with transform (no scroll), swipe enabled */
.car-view { overflow: hidden; border-radius: var(--r); padding: 6px 0 10px; touch-action: pan-y; }
.car-view .car-track { overflow: visible; scroll-snap-type: none; padding: 0; border-radius: 0; transition: transform .75s cubic-bezier(.65, .02, .2, 1); will-change: transform; user-select: none; }

/* ---------- about (¿Quiénes somos?) ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about-text h2 { margin: 16px 0 18px; font: 700 clamp(32px, 4.4vw, 54px)/1.08 var(--f-head); letter-spacing: -.03em; }
.about-text p { margin: 0 0 14px; color: #a9a49b; font-size: 16px; }
.about-text p.big { font-size: clamp(17px, 1.7vw, 20px); color: var(--text); line-height: 1.55; }
.about-text p b { color: var(--gold-2); font-weight: 600; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pillar { padding: 24px 22px; }
.pillar:nth-child(2), .pillar:nth-child(4) { transform: translateY(28px); }
.pillar:nth-child(2):hover, .pillar:nth-child(4):hover { transform: translateY(24px); }
.pillar .pl-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; color: var(--gold-2); background: linear-gradient(145deg, rgba(233, 201, 119, .16), rgba(207, 149, 44, .03)); border: 1px solid var(--line-2); }
.pillar .pl-ico svg { width: 22px; height: 22px; }
.pillar h3 { margin: 0 0 6px; font: 600 17px var(--f-head); }
.pillar p { margin: 0; font-size: 14px; color: #a39e95; }
@media (max-width: 1080px) { .about { grid-template-columns: 1fr; gap: 34px; } .pillars { padding-bottom: 28px; } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; padding-bottom: 0; } .pillar:nth-child(2), .pillar:nth-child(4) { transform: none; } }

/* ---------- services: WhatsApp assistants (Tech Provider) ---------- */
.tp-badge { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 9px; border-radius: 999px; font: 600 10.5px var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  color: #170f02; background: linear-gradient(135deg, #fff1c7, #e9c977 45%, #cf952c); box-shadow: 0 0 14px rgba(207, 149, 44, .3); }
.mini-chat { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 0 12px 14px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(233, 201, 119, .3);
  background: radial-gradient(rgba(233, 201, 119, .05) 1px, transparent 1.4px) 0 0 / 14px 14px, #0b0d0c; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.mini-chat .mc-top { display: flex; align-items: center; gap: 9px; margin: 0 -12px 6px; padding: 10px 12px; background: linear-gradient(180deg, #17150f, #100f0c); border-bottom: 1px solid rgba(233, 201, 119, .15); }
.mini-chat .mc-top b { display: block; font: 600 12px var(--f-head); color: #fff; }
.mini-chat .mc-top small { font-size: 10px; color: #5fe39a; }
.mini-chat .msg { display: flex; flex-direction: column; max-width: 82%; padding: 7px 10px 5px; border-radius: 12px; font-size: 12px; line-height: 1.4; color: #ece9e2; }
.mini-chat .msg.in { align-self: flex-end; background: linear-gradient(135deg, #1d3a2b, #173024); border-bottom-right-radius: 4px; }
.mini-chat .msg.bot { align-self: flex-start; background: #17160f; border: 1px solid rgba(233, 201, 119, .3); border-bottom-left-radius: 4px; }
.mini-chat .msg small { align-self: flex-end; margin-top: 2px; font-size: 8.5px; color: #8c8a83; }
.mini-chat .msg.in small { color: #7fd1a3; }

/* ---------- ¿Qué automatizamos? (Meta Tech Provider + flow demos) ---------- */
.meta-strip { display: flex; align-items: center; gap: 24px; padding: 22px 26px; margin: -16px 0 28px; flex-wrap: wrap; }
.meta-strip:hover { transform: none; }
.ms-icons { display: flex; }
.ms-icons .mi { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 3px solid #0d0d10; margin-left: -10px; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }
.ms-icons .mi:first-child { margin-left: 0; }
.ms-icons .mi svg { width: 24px; height: 24px; }
.mi.wap { background: #1fae5b; } .mi.ig { background: linear-gradient(45deg, #f9a83a, #e1306c 50%, #833ab4); } .mi.fb { background: #1877f2; }
.ms-text { flex: 1; min-width: 240px; }
.ms-text b { display: block; font: 700 19px var(--f-head); color: var(--gold-2); margin-bottom: 4px; }
.ms-text p { margin: 0; color: #b4afa6; font-size: 15px; }
.ms-seal { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font: 600 13px var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
  color: #170f02; background: linear-gradient(135deg, #fff1c7, #e9c977 45%, #cf952c); box-shadow: 0 0 22px rgba(207, 149, 44, .3); }
.ms-seal svg { width: 18px; height: 18px; }
.flows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.flow-card { padding: 24px 22px 22px; display: flex; flex-direction: column; gap: 12px; }
.flow-card:hover { transform: translateY(-4px); }
.fl-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fl-head h3 { margin: 0; font: 700 18px/1.25 var(--f-head); }
.fl-badge { flex: none; padding: 5px 10px; border-radius: 999px; font: 700 10px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #170f02; background: linear-gradient(135deg, #fff1c7, #e9c977 45%, #cf952c); }
.fl-price { align-self: flex-start; padding: 4px 11px; border-radius: 999px; font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.fl-cta { margin-top: auto; padding-top: 10px; font: 600 15px var(--f-head); color: var(--gold-2); text-decoration: none; }
.fl-cta span { display: inline-block; transition: transform .25s var(--ease); }
.fl-cta:hover span { transform: translateX(4px); }
.demo-chat { border-radius: 16px; overflow: hidden; background: #0b0c0b; border: 1px solid rgba(233, 201, 119, .25); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.dc-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: linear-gradient(180deg, #17150f, #100f0c); border-bottom: 1px solid rgba(233, 201, 119, .14); }
.dc-av { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.dc-av svg { width: 18px; height: 18px; }
.dc-av.wap { background: #1fae5b; } .dc-av.ig { background: linear-gradient(45deg, #f9a83a, #e1306c 50%, #833ab4); }
.dc-top > div { flex: 1; min-width: 0; }
.dc-top b { display: block; font: 600 13px var(--f-head); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-check { font-style: normal; display: inline-grid; place-items: center; width: 14px; height: 14px; margin-left: 4px; border-radius: 50%; font-size: 9px; color: #fff; background: #3897f0; vertical-align: 1px; }
.dc-top small { font-size: 10.5px; color: #5fe39a; }
.dc-top small::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #5fe39a; vertical-align: 1px; }
.dc-replay { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 500 11.5px var(--f-body); cursor: pointer; }
.dc-replay:hover { color: var(--gold-2); border-color: var(--line-2); }
.dc-replay svg { width: 13px; height: 13px; }
.dc-body { height: 248px; overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; gap: 8px; padding: 12px; scroll-behavior: smooth;
  background: radial-gradient(rgba(233, 201, 119, .05) 1px, transparent 1.4px) 0 0 / 14px 14px, #0c0d0c; }
.dc-body::-webkit-scrollbar { display: none; }
.dmsg { display: none; max-width: 84%; padding: 8px 11px; border-radius: 13px; font-size: 13px; line-height: 1.42; color: #ece9e2; animation: dIn .35s var(--ease); }
.dmsg.show { display: block; }
@keyframes dIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.dmsg.in { align-self: flex-end; border-bottom-right-radius: 4px; }
.dmsg.bot { align-self: flex-start; border-bottom-left-radius: 4px; }
.demo-chat.wap .dmsg.in { background: #1d6b45; color: #fff; }
.demo-chat.wap .dmsg.bot { background: #17160f; border: 1px solid rgba(233, 201, 119, .28); }
.demo-chat.ig .dmsg.in { background: #262626; }
.demo-chat.ig .dmsg.bot { background: linear-gradient(135deg, #833ab4, #c13584 55%, #e1306c); color: #fff; }
.dmsg.note { align-self: center; max-width: 100%; padding: 4px 10px; border-radius: 999px; font: 500 10.5px var(--f-mono); color: var(--gold-2); background: rgba(207, 149, 44, .1); border: 1px solid rgba(207, 149, 44, .3); }
.dmsg.typing span { display: flex; gap: 4px; padding: 3px 0; }
.dmsg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #e9c977; animation: dot 1s infinite; }
.dmsg.typing i:nth-child(2) { animation-delay: .15s; } .dmsg.typing i:nth-child(3) { animation-delay: .3s; }
.dc-input { display: flex; align-items: center; gap: 8px; margin: 8px; padding: 7px 7px 7px 13px; border-radius: 999px; background: #141411; border: 1px solid rgba(255, 255, 255, .05); font-size: 12px; color: #66635d; }
.dc-input span { flex: 1; }
.dc-input i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #170f02; background: linear-gradient(135deg, #e9c977, #cf952c); }
.dc-input i svg { width: 14px; height: 14px; }
.mini-cal { border-radius: 14px; overflow: hidden; background: #0e0e10; border: 1px solid var(--line); }
.cal-top { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.cal-ico { width: 22px; height: 22px; border-radius: 5px; display: grid; place-items: center; font: 700 10px var(--f-mono); color: #170f02; background: linear-gradient(135deg, #e9c977, #cf952c); }
.cal-top b { flex: 1; font: 600 13px var(--f-head); }
.cal-top small { font-size: 11px; color: var(--gold-2); }
.cal-grid { position: relative; padding: 4px 12px 8px; }
.cal-row { height: 30px; border-top: 1px dashed var(--line); }
.cal-row:first-child { border-top: 0; }
.cal-row small { display: block; margin-top: -1px; font: 500 10px var(--f-mono); color: var(--muted-2); }
.cal-event { position: absolute; left: 58px; right: 12px; top: 64px; height: 30px; padding: 4px 10px; border-radius: 7px; border-left: 3px solid var(--gold); background: rgba(207, 149, 44, .14);
  opacity: 0; transform: scale(.94); transition: opacity .5s, transform .5s var(--ease); }
.cal-event.show { opacity: 1; transform: none; box-shadow: 0 0 18px rgba(207, 149, 44, .25); }
.cal-event b { display: block; font: 600 11px var(--f-head); color: var(--gold-2); line-height: 1.2; }
.cal-event small { font-size: 9.5px; color: var(--muted); }
@media (max-width: 1080px) { .flows { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .flows { grid-template-columns: 1fr; } .meta-strip { padding: 18px; } }
.flow-credit { margin: 26px 0 0; text-align: center; font-size: 13px; color: var(--muted-2); }
.flow-credit b { color: var(--muted); font-weight: 600; }
.flow-credit a { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); text-decoration: none; transition: color .2s; }
.flow-credit a:hover { color: var(--gold-2); }
.flow-credit svg { width: 13px; height: 13px; }

/* ---------- process: line fills node by node; each node plays its scene ---------- */
.process { --sh: 158px; }
.process::before { top: calc(var(--sh) + 55px); left: 4%; right: 4%; }
.process .beam { left: 4%; top: calc(var(--sh) + 54px); width: 0; transform: none !important; transition: width 1.5s cubic-bezier(.45, 0, .25, 1); }
.process.in .step .node { background: var(--bg-2); box-shadow: 0 0 0 8px var(--bg); }
.step .node { transition: background .5s, color .5s, box-shadow .5s, transform .5s var(--ease); }
.step.on .node { color: #170f02; background: linear-gradient(135deg, #fff1c7, #e9c977 45%, #cf952c) !important; box-shadow: 0 0 0 8px var(--bg), 0 0 34px rgba(233, 201, 119, .55) !important; animation: nodePop .6s var(--ease); }
@keyframes nodePop { 40% { transform: scale(1.18); } }
.scene { position: relative; height: var(--sh); max-width: 250px; margin: 0 auto 18px; border-radius: 14px; overflow: hidden; text-align: left;
  background: linear-gradient(180deg, #121115, #0a0a0c); border: 1px solid var(--line); opacity: .3; filter: grayscale(.85); transform: scale(.94);
  transition: opacity .6s, filter .6s, transform .6s var(--ease), border-color .6s, box-shadow .6s; }
.step.on .scene { opacity: 1; filter: none; transform: none; border-color: var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .5), 0 0 30px rgba(207, 149, 44, .14); }
.sc-bar { display: flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.sc-bar > i { width: 6px; height: 6px; border-radius: 50%; background: #3a352b; }
.sc-bar span { margin-left: 5px; font: 500 9px var(--f-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.sc-bar em { font: 600 8.5px var(--f-mono); font-style: normal; color: var(--muted); }
.sc-bar em.rec { color: #ff5a5a; }
.step.on .sc-bar em.rec { animation: blink 1.2s steps(1) infinite; }
/* 01 · video call */
.call { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 7px 8px 0; }
.tile { position: relative; height: 62px; border-radius: 8px; background: radial-gradient(circle at 50% 40%, #24222a, #141317); display: grid; place-items: center; border: 1.5px solid transparent; }
.tile small { position: absolute; left: 6px; bottom: 4px; font-size: 8.5px; color: #c9c4ba; }
.av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 11px var(--f-head); color: #fff; background: #4b5563; }
.av.gold { color: #170f02; background: linear-gradient(135deg, #fff1c7, #cf952c); }
.wave { position: absolute; right: 6px; bottom: 6px; display: flex; gap: 2px; align-items: flex-end; height: 10px; }
.wave i { width: 2px; height: 3px; border-radius: 1px; background: var(--gold-2); }
.step.on .t1 { animation: speak 3.2s infinite; } .step.on .t2 { animation: speak 3.2s 1.6s infinite; }
.step.on .t1 .wave i { animation: wv .5s infinite alternate; } .step.on .t2 .wave i { animation: wv .5s 1.6s infinite alternate; }
.wave i:nth-child(2) { animation-delay: .1s !important; } .wave i:nth-child(3) { animation-delay: .2s !important; } .wave i:nth-child(4) { animation-delay: .05s !important; } .wave i:nth-child(5) { animation-delay: .15s !important; }
@keyframes speak { 0%, 45% { border-color: var(--gold-2); box-shadow: 0 0 12px rgba(233, 201, 119, .4); } 50%, 100% { border-color: transparent; box-shadow: none; } }
@keyframes wv { to { height: 10px; } }
.caption { margin: 6px 8px 0; padding: 4px 7px; border-radius: 6px; background: rgba(0, 0, 0, .55); font-size: 9.5px; color: #ebe8e2; }
.caption b { display: inline-block; max-width: 100%; overflow: hidden; white-space: nowrap; vertical-align: bottom; font-weight: 500; width: 0; }
.step.on .caption b { animation: type 2.2s steps(34) .5s forwards; }
@keyframes type { to { width: 100%; } }
.ctrls { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; gap: 6px; }
.ctrls i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #26252b; color: #ddd; }
.ctrls i.end { background: #d93636; color: #fff; }
.ctrls svg { width: 11px; height: 11px; }
/* 02 · design → code → page */
.bld { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 9px 8px; height: calc(100% - 22px); }
.cd b { display: block; height: 5px; margin: 0 0 8px var(--x, 0); border-radius: 3px; background: #6b6862; width: 0; }
.cd b.k { background: var(--gold-2); } .cd b.s { background: #8fd18e; }
.step.on .cd b { animation: line .5s ease-out forwards; }
.step.on .cd b:nth-child(2) { animation-delay: .3s; } .step.on .cd b:nth-child(3) { animation-delay: .6s; } .step.on .cd b:nth-child(4) { animation-delay: .9s; } .step.on .cd b:nth-child(5) { animation-delay: 1.2s; } .step.on .cd b:nth-child(6) { animation-delay: 1.5s; }
@keyframes line { to { width: var(--w); } }
.pv { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 6px 30px 22px 9px; gap: 5px; padding: 6px; border-radius: 7px; background: #f4f1ea; }
.pv i { display: block; border-radius: 3px; transform: scale(0); }
.pv .p1 { grid-column: span 3; background: #1b1a1f; } .pv .p2 { grid-column: span 3; background: linear-gradient(135deg, #e9c977, #cf952c); }
.pv .p3, .pv .p4, .pv .p5 { background: #d8d2c4; } .pv .p6 { grid-column: 2; background: #1b1a1f; border-radius: 6px; }
.step.on .pv i { animation: pop .45s var(--ease) forwards; }
.step.on .pv .p1 { animation-delay: .5s; } .step.on .pv .p2 { animation-delay: .9s; } .step.on .pv .p3 { animation-delay: 1.3s; } .step.on .pv .p4 { animation-delay: 1.45s; } .step.on .pv .p5 { animation-delay: 1.6s; } .step.on .pv .p6 { animation-delay: 1.9s; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
/* 03 · review meeting with notes */
.rv { display: grid; grid-template-columns: 1.35fr 1fr; gap: 6px; padding: 7px 8px; height: calc(100% - 22px); }
.share { position: relative; border-radius: 7px; border: 1px dashed rgba(233, 201, 119, .45); padding: 5px; background: #141317; }
.share small { display: block; font: 500 7.5px var(--f-mono); color: var(--gold-2); margin-bottom: 4px; }
.sh-app i { display: block; height: 14px; margin-bottom: 4px; border-radius: 3px; background: #2b2930; }
.sh-app .s1 { height: 8px; background: linear-gradient(90deg, #cf952c, #e9c977); width: 70%; }
.sh-prog { position: absolute; left: 5px; right: 5px; bottom: 6px; height: 5px; border-radius: 3px; background: #2b2930; overflow: hidden; }
.sh-prog b { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, #5fd38d, #b6f0c9); }
.step.on .sh-prog b { animation: grow 2.6s ease-out .3s forwards; }
@keyframes grow { to { width: 85%; } }
.rv-side { display: flex; flex-direction: column; gap: 5px; }
.tile.mini { height: 40px; }
.tile.mini .av { width: 22px; height: 22px; font-size: 9px; }
.step.on .tile.mini { animation: speak 2.4s infinite; } .step.on .tile.mini .wave i { animation: wv .5s infinite alternate; }
.notes { list-style: none; margin: 0; padding: 5px 6px; border-radius: 6px; background: #fdf6d8; flex: 1; }
.notes li { position: relative; padding-left: 10px; font-size: 8.5px; line-height: 1.55; color: #3b3424; opacity: 0; transform: translateX(-4px); }
.notes li::before { content: "✓"; position: absolute; left: 0; color: #c08a1e; font-weight: 700; }
.step.on .notes li { animation: noteIn .4s ease-out forwards; }
.step.on .notes li:nth-child(1) { animation-delay: .7s; } .step.on .notes li:nth-child(2) { animation-delay: 1.5s; } .step.on .notes li:nth-child(3) { animation-delay: 2.3s; }
.notes li:nth-child(3) { color: #1f7a45; font-weight: 700; }
@keyframes noteIn { to { opacity: 1; transform: none; } }
/* 04 · delivery with app credentials */
.sc-deliver { display: grid; place-items: center; background: radial-gradient(ellipse at 50% 30%, rgba(207, 149, 44, .18), transparent 60%), linear-gradient(180deg, #121115, #0a0a0c); }
.cred { width: 84%; padding: 9px 10px; border-radius: 10px; background: #151418; border: 1px solid rgba(233, 201, 119, .4); box-shadow: 0 10px 26px rgba(0, 0, 0, .5); transform: translateY(10px); opacity: 0; }
.step.on .cred { animation: noteIn .5s var(--ease) .2s forwards; }
.cr-h { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.cr-ic { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #170f02; background: linear-gradient(135deg, #fff1c7, #cf952c); }
.cr-ic svg { width: 13px; height: 13px; }
.cr-h b { font: 600 11px var(--f-head); color: #fff; }
.cr-row { display: flex; justify-content: space-between; gap: 6px; padding: 3px 0; border-top: 1px solid rgba(255, 255, 255, .05); opacity: 0; }
.cr-row small { font: 500 8px var(--f-mono); color: var(--muted); text-transform: uppercase; }
.cr-row span { font: 500 9px var(--f-mono); color: var(--gold-2); }
.step.on .cr-row { animation: noteIn .35s ease-out forwards; }
.step.on .cr-row:nth-of-type(2) { animation-delay: .7s; } .step.on .cr-row:nth-of-type(3) { animation-delay: 1.1s; } .step.on .cr-row:nth-of-type(4) { animation-delay: 1.5s; }
.live-badge { position: absolute; right: 9px; bottom: 9px; display: flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font: 700 9px var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
  color: #0d2414; background: #5fd38d; transform: scale(0); }
.live-badge span { width: 6px; height: 6px; border-radius: 50%; background: #0d2414; }
.step.on .live-badge { animation: pop .45s var(--ease) 2.1s forwards; }
.conf i { position: absolute; left: 50%; top: 45%; width: 5px; height: 8px; border-radius: 1px; opacity: 0; }
.conf i:nth-child(odd) { background: var(--gold-2); } .conf i:nth-child(even) { background: #fff1c7; } .conf i:nth-child(3n) { background: #5fd38d; }
.step.on .conf i { animation: burst 1.1s ease-out 2.2s forwards; }
.conf i:nth-child(1) { --tx: -90px; --ty: -50px; } .conf i:nth-child(2) { --tx: 90px; --ty: -46px; } .conf i:nth-child(3) { --tx: -70px; --ty: 40px; } .conf i:nth-child(4) { --tx: 74px; --ty: 44px; }
.conf i:nth-child(5) { --tx: -20px; --ty: -66px; } .conf i:nth-child(6) { --tx: 30px; --ty: 62px; } .conf i:nth-child(7) { --tx: -104px; --ty: 6px; } .conf i:nth-child(8) { --tx: 104px; --ty: 0; }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(220deg); } }
@media (max-width: 860px) { .process { --sh: 150px; } .scene { max-width: 280px; } }
@media (prefers-reduced-motion: reduce) { .scene { opacity: 1; filter: none; transform: none; } .cd b { width: var(--w); } .pv i, .live-badge { transform: none; } .notes li, .cred, .cr-row { opacity: 1; transform: none; } .caption b { width: 100%; } }

/* scenes show their finished picture (dimmed) while waiting; the animation replays from the start when the line reaches them */
.cd b { width: var(--w); } .step.on .cd b { animation-name: lineIn; animation-fill-mode: both; }
@keyframes lineIn { from { width: 0; } }
.pv i { transform: none; } .step.on .pv i { animation-name: popIn; animation-fill-mode: both; }
@keyframes popIn { from { transform: scale(0); } }
.caption b { width: 100%; } .step.on .caption b { animation-name: typeIn; animation-fill-mode: both; }
@keyframes typeIn { from { width: 0; } }
.notes li, .cred, .cr-row { opacity: 1; transform: none; }
.step.on .notes li, .step.on .cred, .step.on .cr-row { animation-name: fadeUp; animation-fill-mode: both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }
.sh-prog b { width: 85%; } .step.on .sh-prog b { animation-name: growIn; animation-fill-mode: both; }
@keyframes growIn { from { width: 20%; } }
.live-badge { transform: none; } .step.on .live-badge { animation-name: popIn; animation-fill-mode: both; }

/* scenes stay invisible until the gold line reaches their number, then rise in */
.scene { opacity: 0; filter: blur(8px); transform: translateY(18px) scale(.92); border-color: transparent; box-shadow: none; transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease), border-color .9s, box-shadow .9s; }
.step.on .scene { opacity: 1; filter: none; transform: none; }
.scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(115deg, transparent 35%, rgba(255, 241, 199, .22) 50%, transparent 65%); background-size: 250% 100%; background-position: 120% 0; }
.step.on .scene::after { animation: sceneSheen 1.4s ease-out .25s both; }
@keyframes sceneSheen { from { background-position: 120% 0; } to { background-position: -40% 0; } }
@media (prefers-reduced-motion: reduce) { .scene { opacity: 1; filter: none; transform: none; } }

/* 01 caption length */
.step.on .caption b { animation-timing-function: steps(40); }
/* 02 · code for the app and the website, built side by side */
.tabs2 { display: flex; gap: 4px; margin-left: 5px; }
.tabs2 b { font: 500 8.5px var(--f-mono); padding: 2px 6px; border-radius: 4px; color: var(--muted); background: rgba(255, 255, 255, .04); }
.tabs2 b:first-child { color: var(--gold-2); background: rgba(207, 149, 44, .14); }
.sc-build .bld { grid-template-columns: 1.15fr .55fr 1fr; gap: 6px; align-items: start; }
.cd b { margin-bottom: 7px; }
.cd b.t { background: #8fb8ff; }
.step.on .cd b:nth-child(7) { animation-delay: 1.8s; }
.ph { height: 112px; padding: 9px 4px 5px; border-radius: 9px; background: #f4f1ea; border: 2px solid #2b2930; display: grid; grid-template-rows: 5px 20px 14px 14px 9px; gap: 5px; }
.ph i { display: block; border-radius: 3px; }
.ph .f1 { width: 50%; margin: 0 auto; background: #1b1a1f; } .ph .f2 { background: linear-gradient(135deg, #e9c977, #cf952c); }
.ph .f3, .ph .f4 { background: #d8d2c4; } .ph .f5 { background: #1b1a1f; border-radius: 5px; }
.step.on .ph i { animation: popIn .45s var(--ease) both; }
.step.on .ph .f1 { animation-delay: .4s; } .step.on .ph .f2 { animation-delay: .7s; } .step.on .ph .f3 { animation-delay: 1s; } .step.on .ph .f4 { animation-delay: 1.15s; } .step.on .ph .f5 { animation-delay: 1.4s; }
.sc-build .pv { margin-top: 18px; }
.step.on .pv .p1 { animation-delay: 1.5s; } .step.on .pv .p2 { animation-delay: 1.75s; } .step.on .pv .p3 { animation-delay: 2s; } .step.on .pv .p4 { animation-delay: 2.1s; } .step.on .pv .p5 { animation-delay: 2.2s; } .step.on .pv .p6 { animation-delay: 2.4s; }
/* 03 · longer notes */
.notes li { font-size: 8px; line-height: 1.4; margin-bottom: 3px; }
.sc-review .rv { grid-template-columns: .8fr 1.3fr; }
.sc-review .tile.mini { height: 28px; }
.sc-review .tile.mini .av { width: 18px; height: 18px; font-size: 8px; }
.sc-review .share small { font-size: 7px; }
.notes { padding: 4px 6px; }
.notes li { font-size: 7.8px; line-height: 1.35; margin-bottom: 2px; }
