/* ─────────────────────────────────────────────────────────────
   Services page. Builds on css/home.css (shared type, mockups,
   reveals, FAQ, CTA box) and the --nz-* tokens from css/layout.css.
   ───────────────────────────────────────────────────────────── */

/* ── Hero: service shortcuts (the short hero itself is shared, in css/home.css) ── */
.nz-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.nz-jump a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 20px 9px 9px;
    border-radius: 999px;
    border: 1px solid var(--nz-line);
    background: var(--nz-surface);
    box-shadow: var(--nz-shadow-sm);
    font-weight: 600;
    transition: border-color 0.3s, background-color 0.3s, transform 0.4s var(--nz-ease);
}
.nz-jump b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 192, 127, 0.14); color: var(--nz-green-soft); font-size: 12px; transition: background-color 0.3s, color 0.3s; }
@media (hover: hover) { .nz-jump a:hover { border-color: rgba(0, 192, 127, 0.45); background: var(--nz-tint); transform: translateY(-2px); }
.nz-jump a:hover b { background: var(--nz-green); color: var(--nz-ink-on-green); } }

/* ── Service rows: copy and a bare mockup, alternating sides; the cursor glow covers the whole section ── */
.nz-svcs { display: grid; gap: clamp(96px, 12vw, 170px); }
.nz-svc { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; scroll-margin-top: 110px; }
.nz-svc:nth-child(even) .nz-svc__copy { order: 2; }
.nz-svc__copy { display: grid; gap: 22px; justify-items: start; }
.nz-svc__idx { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: var(--nz-ink-3); }
.nz-svc__title { font-size: clamp(40px, 5vw, 68px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: var(--nz-green-soft); }
.nz-svc__sub { max-width: 30ch; font-size: clamp(19px, 1.6vw, 23px); font-weight: 700; line-height: 1.35; }
.nz-svc__fit { display: grid; gap: 12px; }
.nz-svc__fit small { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--nz-ink-3); }
.nz-svc__fit .nz-tag { padding: 7px 13px; }
/* the mockup floats over a soft green glow; it drifts with the scroll (--drift from js/services.js) */
.nz-svc__media { position: relative; display: grid; place-items: center; min-height: clamp(440px, 42vw, 580px); }
.nz-svc__media::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 92%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 192, 127, 0.2), transparent);
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.nz-svc__float { position: relative; width: 100%; display: grid; place-items: center; transform: translateY(calc(var(--drift, 0) * 1px)); transition: transform 0.6s var(--nz-ease); }
.nz-svc__media .nz-mk { zoom: 1.22; transition: transform 0.8s var(--nz-ease); }
@media (hover: hover) { .nz-svc:hover .nz-svc__media .nz-mk { transform: translateY(-8px) rotate(-1deg) scale(1.02); } }
/* mockup details play when it comes into view (two-way, like the rest of the page) */
.nz-svc__media.is-in .nz-bars i { animation: nz-bar-grow 1.2s calc(0.3s + var(--i, 0) * 0.08s) var(--nz-ease) both; }
.nz-svc__media.is-in .nz-mk__toast, .nz-svc__media.is-in .nz-mk__push, .nz-svc__media.is-in .nz-mk__seo { animation: nz-pop 0.6s 0.8s var(--nz-spring) both; }

/* ── In every project: a deep-green band (the tone of the old "Qualidade" page) ── */
.nz-inc-sec { background: var(--nz-green-deep); --nz-glow: rgba(var(--nz-gs), 0.14); }
.nz-inc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nz-inc__item {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: clamp(26px, 3vw, 36px);
    border-radius: 28px;
    border: 1px solid rgba(var(--nz-gs), 0.14);
    background: rgba(2, 12, 8, 0.38);
    box-shadow: var(--nz-shadow-sm);
    transition: border-color 0.3s, background-color 0.3s;
}
.nz-inc__item:nth-child(3n + 2) { transition-delay: 0.08s; }
.nz-inc__item:nth-child(3n) { transition-delay: 0.16s; }
@media (hover: hover) { .nz-inc__item:hover { border-color: rgba(var(--nz-gs), 0.4); background: rgba(2, 12, 8, 0.5); } }
.nz-inc__ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 14px; background: var(--nz-green); color: var(--nz-ink-on-green); font-size: 19px; box-shadow: var(--nz-shadow-green); }
.nz-inc__item h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.nz-inc__item p { color: rgba(var(--nz-ink-rgb), 0.72); line-height: 1.6; }

/* ── Process: the block grows in from the centre (data-clip), then pins while the scroll walks the
   seven steps (js/services.js sets the section height, .is-pinned, the active step and --jy-p). ── */
.nz-jy { position: relative; }
.nz-jy__pin { display: grid; align-items: center; padding: clamp(96px, 11vw, 140px) 0 clamp(72px, 8vw, 110px); background: var(--nz-section-alt); --clip-r: 0px; }
.nz-jy.is-pinned .nz-jy__pin { position: sticky; top: 0; min-height: 100vh; padding: 84px 0 24px; }
/* pinned: the stage takes what the screen leaves (the navbar hides while scrolling down) */
.nz-jy.is-pinned .nz-jy__stage { height: clamp(330px, calc(100vh - 305px), 470px); }
.nz-jy__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.nz-jy__left { display: grid; gap: 18px; justify-items: start; }
.nz-jy__left .nz-h2 { max-width: 16ch; font-size: clamp(32px, 3.6vw, 50px); }
/* the stage: fixed height, scenes fill it; one progress bar for the whole process */
.nz-jy__stage {
    position: relative;
    width: 100%;
    height: clamp(410px, 50vh, 470px);
    margin-top: 8px;
    border-radius: 32px;
    border: 1px solid rgba(var(--nz-gs), 0.16);
    background: var(--nz-green-deep);
    box-shadow: var(--nz-shadow-md);
    overflow: hidden;
    perspective: 1000px;
}
.nz-jy__count { position: absolute; z-index: 3; top: 18px; left: 24px; display: flex; align-items: baseline; gap: 8px; color: rgba(var(--nz-ink-rgb), 0.5); font-size: 13px; font-weight: 700; }
.nz-jy__count b { font-size: 32px; letter-spacing: -0.03em; color: var(--nz-green-soft); font-variant-numeric: tabular-nums; }
.nz-jy__bar { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 18px; height: 3px; border-radius: 3px; background: rgba(var(--nz-gs), 0.15); overflow: hidden; }
.nz-jy__bar i { position: absolute; inset: 0; background: var(--nz-green-soft); box-shadow: 0 0 10px rgba(var(--nz-gs), 0.6); transform-origin: left; transform: scaleX(var(--jy-p, 0)); }
.nz-jy__scenes { position: absolute; inset: 0; }
/* scenes come up from below (blurred, tilted) and leave upwards */
.nz-jy__scene {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 64px 26px 42px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px) scale(0.94) rotateX(10deg);
    filter: blur(6px);
    transition: opacity 0.55s, transform 0.9s var(--nz-ease), filter 0.55s, visibility 0s linear 0.9s;
}
.nz-jy__scene.is-past { transform: translateY(-40px) scale(0.94) rotateX(-10deg); }
.nz-jy__scene.is-on { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity 0.6s 0.12s, transform 1s 0.12s var(--nz-ease), filter 0.7s 0.12s, visibility 0s; }
/* step list with a rail that fills up to the active step */
.nz-jy__list { position: relative; display: grid; gap: 4px; }
.nz-jy__rail { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; background: rgba(var(--nz-w), 0.08); }
.nz-jy__rail i { display: block; width: 100%; height: calc(var(--jy-rail, 0) * 1px); border-radius: inherit; background: var(--nz-green-soft); box-shadow: 0 0 10px rgba(var(--nz-gs), 0.6); transition: height 0.12s linear; }
.nz-jy__step button { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; width: 100%; padding: 10px 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.nz-jy__n { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--nz-line); background: var(--nz-section-alt); color: var(--nz-ink-3); font-size: 13px; font-weight: 700; transition: background-color 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--nz-ease); }
.nz-jy__t { display: grid; gap: 6px; padding-top: 10px; }
.nz-jy__t b { font-size: 18px; font-weight: 700; color: var(--nz-ink-3); transition: color 0.4s; }
.nz-jy__t span { max-height: 0; overflow: hidden; color: var(--nz-ink-2); line-height: 1.55; opacity: 0; transition: max-height 0.6s var(--nz-ease), opacity 0.4s; }
.nz-jy__step.is-on .nz-jy__t span { max-height: 120px; opacity: 1; transition: max-height 0.7s var(--nz-ease), opacity 0.5s 0.1s; }
.nz-jy__step.is-done .nz-jy__n { border-color: rgba(0, 192, 127, 0.45); background: #082d1f; /* solid, so the rail never shows through */ color: var(--nz-green-soft); }
.nz-jy__step.is-on .nz-jy__n { background: var(--nz-green); border-color: var(--nz-green); color: var(--nz-ink-on-green); transform: scale(1.1); box-shadow: 0 0 0 6px rgba(0, 192, 127, 0.15), 0 0 30px rgba(0, 192, 127, 0.5); }
.nz-jy__step.is-on .nz-jy__t b, .nz-jy__step.is-done .nz-jy__t b, .nz-jy__step button:hover .nz-jy__t b { color: var(--nz-ink); }

/* ── Process scenes: each one sits on its own panel, as wide as the stage allows ── */
.nz-jv { position: relative; display: grid; gap: 12px; width: 100%; max-width: 480px; padding: 18px; border-radius: 20px; border: 1px solid var(--nz-line); background: #07130e; box-shadow: 0 30px 60px -30px rgba(var(--nz-k), calc(0.85 * var(--nz-ka))); font-size: 13px; }
.nz-jv__head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.nz-jv__chat { justify-self: start; max-width: 82%; padding: 11px 15px; border-radius: 16px 16px 16px 4px; background: rgba(var(--nz-w), 0.08); }
.nz-jv__chat--me { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--nz-green); color: var(--nz-ink-on-green); font-weight: 600; }
.nz-jv__flow { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.nz-jv__flow span { padding: 7px 10px; border-radius: 10px; background: rgba(var(--nz-w), 0.06); font-size: 12px; white-space: nowrap; }
.nz-jv__flow span.hot { background: rgba(0, 192, 127, 0.2); color: var(--nz-green-soft); }
.nz-jv__flow i { flex: 1; min-width: 8px; height: 2px; border-radius: 2px; background: rgba(var(--nz-w), 0.18); }
.nz-jv__notes { display: flex; flex-wrap: wrap; gap: 6px; }
.nz-jv__notes em { padding: 5px 10px; border-radius: 999px; background: rgba(var(--nz-amber-rgb), 0.14); color: var(--nz-amber); font-style: normal; font-size: 11px; font-weight: 700; }
.nz-jv__gantt { display: grid; gap: 9px; margin-top: 4px; }
.nz-jv__gantt div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; align-items: center; }
.nz-jv__gantt small { color: var(--nz-ink-2); font-size: 12px; }
.nz-jv__gantt i { height: 13px; border-radius: 7px; background: var(--nz-green); transform-origin: left; }
.nz-jv__gantt div:nth-child(1) i { width: 35%; }
.nz-jv__gantt div:nth-child(2) i { width: 40%; margin-left: 22%; }
.nz-jv__gantt div:nth-child(3) i { width: 34%; margin-left: 42%; }
.nz-jv__gantt div:nth-child(4) i { width: 30%; margin-left: 58%; }
.nz-jv__gantt i.alt { width: 26%; margin-left: 70%; background: var(--nz-green-soft); }
.nz-jv__months { display: grid; grid-template-columns: 82px repeat(4, 1fr); color: var(--nz-ink-3); font-size: 11px; }
.nz-jv__months span:first-child { grid-column: 2; }
.nz-jv--ux { grid-template-columns: 0.75fr auto 1.25fr; align-items: center; gap: 12px; }
.nz-jv__wire { display: grid; gap: 7px; padding: 14px; border-radius: 14px; border: 1.5px dashed rgba(var(--nz-w), 0.22); }
.nz-jv__wire i { height: 9px; border-radius: 4px; background: rgba(var(--nz-w), 0.14); }
.nz-jv__wire i.a { height: 14px; width: 60%; }
.nz-jv__wire i.s { width: 70%; }
.nz-jv__wire i.c { height: 22px; }
.nz-jv__arrow { color: var(--nz-green-soft); }
.nz-jv__screen { position: relative; display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: var(--nz-surface-2); border: 1px solid var(--nz-line); box-shadow: var(--nz-shadow-md); }
.nz-jv__sh { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.nz-jv__sh b { width: 20px; height: 20px; border-radius: 7px; background: var(--nz-green); }
.nz-jv__field { display: grid; padding: 7px 10px; border-radius: 10px; background: rgba(var(--nz-w), 0.05); font-size: 12px; }
.nz-jv__field small { color: var(--nz-ink-3); font-size: 10px; }
.nz-jv__btn { padding: 9px; border-radius: 10px; background: var(--nz-green); color: var(--nz-ink-on-green); font-size: 12px; font-weight: 700; text-align: center; }
.nz-jv__cursor { position: absolute; right: 26px; bottom: 6px; color: #fff; font-size: 16px; filter: drop-shadow(0 2px 4px rgba(var(--nz-k), calc(0.6 * var(--nz-ka)))); }
.nz-jv--code { gap: 0; padding: 0; overflow: hidden; }
.nz-jv--code .nz-mk__browser { border: 0; border-bottom: 1px solid var(--nz-line); border-radius: 0; }
.nz-jv--code pre { margin: 0; padding: 16px 18px; font: 12.5px/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--nz-ink-2); white-space: pre; overflow: hidden; }
.nz-jv--code code span { display: block; }
.nz-jv--code code em { font-style: normal; color: var(--nz-amber); }
.nz-jv--code code b { font-weight: 600; color: var(--nz-green-soft); }
.nz-jv__build { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--nz-line); background: var(--nz-sunk); color: var(--nz-ink-3); }
.nz-jv__build i { position: relative; height: 6px; border-radius: 3px; background: rgba(var(--nz-w), 0.08); overflow: hidden; }
.nz-jv__build i::after { content: ""; position: absolute; inset: 0; background: var(--nz-green); transform-origin: left; transform: scaleX(0); }
.nz-jv__build b { color: var(--nz-green-soft); opacity: 0; }
.nz-jv--test ul { display: grid; gap: 7px; }
.nz-jv--test li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(var(--nz-w), 0.05); }
.nz-jv--test li::before {
    content: "";
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(var(--nz-w), 0.25);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23020C08' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 0 no-repeat;
    transition: background-color 0.4s, border-color 0.4s, background-size 0.4s var(--nz-spring);
}
.nz-jv--launch { justify-items: center; gap: 16px; padding: 22px 18px; text-align: center; }
.nz-jv__ring { position: relative; display: grid; place-items: center; width: 132px; height: 132px; }
/* overflow visible so the ring's glow is never clipped by the svg box */
.nz-jv__ring svg { position: absolute; inset: 0; overflow: visible; transform: rotate(-90deg); }
.nz-jv__ring circle { fill: none; stroke-width: 6; }
.nz-jv__ring circle.bg { stroke: rgba(var(--nz-gs), 0.12); }
.nz-jv__ring circle.p { stroke: var(--nz-green-soft); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 8px rgba(var(--nz-gs), 0.6)); }
.nz-jv__ring b { font-size: 24px; color: var(--nz-green-soft); }
.nz-jv__team { display: flex; }
.nz-jv__team span { display: grid; place-items: center; width: 38px; height: 38px; margin-left: -8px; border-radius: 50%; border: 2px solid #07130e; background: #1d5c45; font-size: 11px; font-weight: 700; }
.nz-jv__team span:first-child { margin-left: 0; }
.nz-jv__team span:last-child { background: var(--nz-green); color: var(--nz-ink-on-green); }
.nz-jv--launch p { color: var(--nz-ink-2); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.nz-jv__line { width: 100%; height: 96px; overflow: visible; }
.nz-jv__line path { fill: none; stroke: var(--nz-green-soft); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(var(--nz-gs), 0.5)); }
.nz-jv__ticket { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(var(--nz-w), 0.04); border: 1px solid rgba(0, 192, 127, 0.3); }
.nz-jv__ticket > i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--nz-green); color: var(--nz-ink-on-green); }
.nz-jv__ticket span { display: grid; color: var(--nz-ink-3); font-size: 12px; }
.nz-jv__ticket b { color: var(--nz-ink); font-size: 13px; }
.nz-jv__ticket em { padding: 4px 10px; border-radius: 999px; background: rgba(0, 192, 127, 0.16); color: var(--nz-green-soft); font-style: normal; font-size: 11px; font-weight: 700; }

/* scene pieces appear one after another (transitions, so they also reset when the scene leaves) */
.nz-jv__chat, .nz-jv__flow > *, .nz-jv__notes em, .nz-jv__wire, .nz-jv__arrow, .nz-jv__screen, .nz-jv--test li, .nz-jv__ticket, .nz-jv__team span, .nz-jv--launch p {
    opacity: 0;
    translate: 0 14px;
    transition: opacity 0.5s, translate 0.7s var(--nz-ease);
}
.nz-jy__scene.is-on :is(.nz-jv__chat, .nz-jv__flow > *, .nz-jv__notes em, .nz-jv__wire, .nz-jv__arrow, .nz-jv__screen, .nz-jv--test li, .nz-jv__ticket, .nz-jv__team span, .nz-jv--launch p) {
    opacity: 1;
    translate: 0;
    transition-delay: calc(0.25s + var(--k, 0) * 0.12s);
}
.nz-jv__chat--me { --k: 3; }
.nz-jv__flow > :nth-child(1) { --k: 6; } .nz-jv__flow > :nth-child(2) { --k: 6.5; } .nz-jv__flow > :nth-child(3) { --k: 7; } .nz-jv__flow > :nth-child(4) { --k: 7.5; }
.nz-jv__flow > :nth-child(5) { --k: 8; } .nz-jv__flow > :nth-child(6) { --k: 8.5; } .nz-jv__flow > :nth-child(7) { --k: 9; }
.nz-jv__notes em { --k: 11; } .nz-jv__notes em:nth-child(2) { --k: 12; } .nz-jv__notes em:nth-child(3) { --k: 13; }
.nz-jv__arrow { --k: 2; } .nz-jv__screen { --k: 3; }
.nz-jv--test li:nth-child(2) { --k: 1.5; } .nz-jv--test li:nth-child(3) { --k: 3; } .nz-jv--test li:nth-child(4) { --k: 4.5; } .nz-jv--test li:nth-child(5) { --k: 6; }
.nz-jv__team span:nth-child(1) { --k: 7; } .nz-jv__team span:nth-child(2) { --k: 7.5; } .nz-jv__team span:nth-child(3) { --k: 8; } .nz-jv__team span:nth-child(4) { --k: 8.5; } .nz-jv__team span:nth-child(5) { --k: 9; }
.nz-jv--launch p { --k: 11; }
.nz-jv__ticket { --k: 9; }
.nz-jy__scene.is-on .nz-jv--test li::before { border-color: var(--nz-green); background-color: var(--nz-green); background-size: 11px; transition-delay: calc(0.55s + var(--k, 0) * 0.12s); }
/* roadmap bars grow, code is typed line by line, the build fills, the ring and the health line draw */
.nz-jv__gantt i { transform: scaleX(0); transition: transform 0.9s var(--nz-ease); }
.nz-jy__scene.is-on .nz-jv__gantt i { transform: none; transition-delay: calc(0.3s + var(--g, 0) * 0.15s); }
.nz-jv__gantt div:nth-child(2) i { --g: 1; } .nz-jv__gantt div:nth-child(3) i { --g: 2; } .nz-jv__gantt div:nth-child(4) i { --g: 3; } .nz-jv__gantt div:nth-child(5) i { --g: 4; }
.nz-jv--code code span { clip-path: inset(0 100% 0 0); transition: clip-path 0.55s steps(24, end); }
.nz-jy__scene.is-on .nz-jv--code code span { clip-path: inset(0); transition-delay: calc(0.3s + var(--l, 0) * 0.5s); }
.nz-jv--code code span:nth-child(2) { --l: 1; } .nz-jv--code code span:nth-child(3) { --l: 2; } .nz-jv--code code span:nth-child(4) { --l: 3; } .nz-jv--code code span:nth-child(5) { --l: 4; }
.nz-jv__build i::after { transition: transform 1s var(--nz-ease); }
.nz-jy__scene.is-on .nz-jv__build i::after { transform: none; transition-delay: 2.6s; }
.nz-jv__build b { transition: opacity 0.4s; }
.nz-jy__scene.is-on .nz-jv__build b { opacity: 1; transition-delay: 3.5s; }
.nz-jv__ring circle.p, .nz-jv__line path { transition: stroke-dashoffset 1.6s var(--nz-ease); }
.nz-jy__scene.is-on :is(.nz-jv__ring circle.p, .nz-jv__line path) { stroke-dashoffset: 0; transition-delay: 0.3s; }
.nz-jy__scene.is-on .nz-jv__cursor { animation: nz-click 2.4s 0.9s var(--nz-ease) both; }
.nz-jy__scene.is-on .nz-jv__btn { animation: nz-press 0.5s 2.2s ease both; }
@keyframes nz-click { 0% { transform: translate(-40px, -70px); opacity: 0; } 20% { opacity: 1; } 55%, 100% { transform: none; opacity: 1; } }
@keyframes nz-press { 50% { transform: scale(0.95); filter: brightness(1.2); } }

/* ── Responsive ── */
/* big screens: scale the scene panels up to fill the stage */
@media (min-width: 1200px) and (min-height: 820px) {
    .nz-jv { zoom: 1.12; }
}
/* short laptop screens: smaller title and scenes so the pinned block still fits */
@media (min-width: 961px) and (max-height: 819px) {
    .nz-jy__left .nz-h2 { font-size: clamp(28px, 2.8vw, 38px); }
    .nz-jy.is-pinned .nz-jv { zoom: 0.84; }
    .nz-jy.is-pinned .nz-jy__scene { padding: 56px 24px 34px; }
}
@media (max-width: 1100px) {
    .nz-inc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nz-inc__item:nth-child(n) { transition-delay: 0s; }
}
@media (max-width: 960px) {
    .nz-svc { grid-template-columns: minmax(0, 1fr); }
    .nz-svc:nth-child(even) .nz-svc__copy { order: 0; }
    .nz-svc__media { min-height: 0; padding: 40px 0 20px; }
    .nz-svc__media .nz-mk { zoom: 1; }
    .nz-jy__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .nz-jump { display: grid; grid-template-columns: minmax(0, 1fr); }
    .nz-inc { grid-template-columns: minmax(0, 1fr); }
    .nz-jy__stage { height: 380px; }
    .nz-jy__scene { padding: 62px 14px 40px; }
    .nz-jv { padding: 14px; }
    .nz-jv--ux { grid-template-columns: minmax(0, 1fr); }
    .nz-jv__wire, .nz-jv__arrow { display: none; }
    .nz-jv__flow span { padding: 6px 7px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .nz-services *, .nz-services *::before, .nz-services *::after { animation: none !important; transition-delay: 0s !important; }
}
