/* Zajednički stil podstranica (3D / skrol smjer) — učitava se na svim stranicama */
.pz-glow { position: fixed; left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(closest-side, rgba(70, 130, 255, .12), transparent 70%); will-change: transform; }
@media (hover: none) { .pz-glow { display: none; } }
.pz-link { color: #8fb4ff; font-weight: 600; }
.sec--light .pz-link, .sec--white .pz-link { color: var(--link-light); }
.pz-btn { display: inline-block; padding: 18px 38px; border-radius: 980px; background: #0071e3; color: #fff; font-size: 1.2rem; font-weight: 600; box-shadow: 0 0 60px rgba(0, 113, 227, .5); transition: transform .3s, box-shadow .3s; }
.pz-btn:hover { transform: scale(1.04); box-shadow: 0 0 90px rgba(0, 113, 227, .7); }

/* Zaglavlje stranice: veći naslov, bez oznake, aurora */
.phero, .u-hero { padding-top: calc(52px + clamp(72px, 12vw, 170px)); padding-bottom: clamp(64px, 10vw, 130px); }
.phero .eyebrow { display: none; }
.phero .t-h1, .u-hero h1 { font-size: clamp(2.7rem, 7.4vw, 6.4rem); font-weight: 650; letter-spacing: -.055em; line-height: 1; text-shadow: 0 0 60px rgba(60, 120, 255, .3); }
.phero .t-lead { margin-top: 6px; }
.u-hero { position: relative; display: grid; place-content: center; text-align: center; overflow: hidden; background: var(--ink-0); }
.u-hero > * { position: relative; z-index: 1; }
.u-hero h1 { color: #f5f5f7; }
.u-hero p { margin-top: 18px; font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: rgba(245, 245, 247, .62); }
.u-hero .pz-beams { position: absolute; inset: -10% -10% 30% -10%; pointer-events: none; overflow: hidden; z-index: 0; }
.pz-beams i { position: absolute; top: -20%; width: 34vw; height: 140%; transform-origin: 50% 0; background: linear-gradient(180deg, rgba(90, 130, 255, .5), transparent 70%); filter: blur(40px); opacity: .4; }
.pz-beams i:nth-child(1) { left: 8%; transform: rotate(-24deg); animation: pzb1 14s ease-in-out infinite alternate; }
.pz-beams i:nth-child(2) { left: 38%; width: 22vw; transform: rotate(4deg); background: linear-gradient(180deg, rgba(150, 110, 255, .45), transparent 70%); animation: pzb2 18s ease-in-out infinite alternate; }
.pz-beams i:nth-child(3) { right: 6%; transform: rotate(26deg); animation: pzb3 16s ease-in-out infinite alternate; }
@keyframes pzb1 { to { transform: rotate(-14deg) translateX(4vw); opacity: .25; } }
@keyframes pzb2 { to { transform: rotate(-4deg); opacity: .6; } }
@keyframes pzb3 { to { transform: rotate(16deg) translateX(-4vw); opacity: .28; } }

/* Tamne staklene kartice unutar tamnih sekcija */
.sec--dark .fact, .sec--dark .why__i { background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); color: #f5f5f7; }
.sec--dark .fact span, .sec--dark .why__i p { color: rgba(245, 245, 247, .62); }
.sec--dark .why__i .ico { color: #8fb4ff; }
.sec--dark .statement { color: #f5f5f7; } .sec--dark .statement span { color: rgba(245, 245, 247, .5); }
.sec--dark .t-lead { color: rgba(245, 245, 247, .68); }
.sec--dark .post-card { background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .12); color: #f5f5f7; }
.sec--dark .post-card p, .sec--dark .post-card small { color: rgba(245, 245, 247, .6); }
.sec--dark .svc__list li { color: #f5f5f7; border-color: rgba(255, 255, 255, .14); }
.sec--dark .faq details { border-color: rgba(255, 255, 255, .14); }

/* Naslagane kartice (usluge, reference) */
.u-stack { position: relative; padding: 4vh 4vw 14vh; background: #02030a; }
.u-card { position: sticky; top: calc(11vh + var(--i) * 18px); height: 74vh; min-height: 480px; margin-bottom: 14vh; display: grid; grid-template-columns: 1fr 1fr; gap: 3vw; align-items: center; padding: clamp(28px, 4vw, 64px); border-radius: 36px; color: #f5f5f7; overflow: hidden; border: 1px solid rgba(255, 255, 255, .13); background: linear-gradient(155deg, #13224d, #070a1c 58%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 50px 120px rgba(0, 0, 0, .6); transform: scale(var(--s, 1)); transform-origin: 50% 0; filter: brightness(var(--b, 1)); will-change: transform; }
.u-card:last-child { margin-bottom: 0; }
.u-card::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(70, 130, 255, .38), transparent 70%); filter: blur(40px); pointer-events: none; }
.u-card__l, .u-card__r { position: relative; z-index: 1; }
.u-card__n { display: block; font-size: clamp(4rem, 9vw, 8rem); font-weight: 800; letter-spacing: -.07em; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(160, 185, 255, .6); margin-bottom: 2vh; }
.u-card h2 { font-size: clamp(1.9rem, 3.8vw, 3.4rem); font-weight: 650; letter-spacing: -.045em; line-height: 1.05; }
.u-card p { margin: 14px 0 20px; color: rgba(245, 245, 247, .68); font-size: 1.08rem; max-width: 460px; }
.u-card__r { display: grid; gap: 22px; justify-items: start; }
.u-orb { width: 120px; height: 120px; border-radius: 34px; display: grid; place-items: center; color: #8fb4ff; background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 80px rgba(60, 130, 255, .45); transform: rotate(-8deg); animation: uorb 7s ease-in-out infinite alternate; }
.u-orb .ico { width: 56px; height: 56px; }
@keyframes uorb { to { transform: rotate(6deg) translateY(-8px); } }
.u-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; width: 100%; }
.u-card li { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); color: rgba(245, 245, 247, .88); font-size: 1.02rem; display: flex; gap: 12px; }
.u-card li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 9px; border-radius: 50%; background: #2997ff; box-shadow: 0 0 10px #2997ff; }
.u-card__m { position: relative; width: 100%; height: min(52vh, 440px); }
.u-card__m .mock { display: block; position: absolute; inset: 0; opacity: 1; transform: none; height: auto; margin: 0; }
.u-end { position: relative; min-height: 70svh; display: grid; place-content: center; text-align: center; gap: 36px; padding: 10vh 6vw; background: radial-gradient(70% 60% at 50% 100%, rgba(40, 110, 255, .25), #02030a 70%); }
.u-end h2 { font-size: clamp(2.2rem, 6vw, 5.2rem); font-weight: 650; letter-spacing: -.05em; line-height: 1.04; color: #f5f5f7; max-width: 1000px; }
.u-end .pz-btn { justify-self: center; }

/* Radovi: pinned showcase */
.pz-work { position: relative; height: calc(var(--n) * 90vh + 100vh); background: #02030a; }
.pz-work__stick { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(300px, .8fr) 1.5fr; gap: 4vw; align-items: center; padding: 0 6vw; overflow: hidden; }
.pz-work__left h2 { font-size: clamp(2rem, 4.4vw, 4.2rem); line-height: 1.02; font-weight: 650; letter-spacing: -.05em; color: #f5f5f7; margin-bottom: 3vh; white-space: nowrap; }
.pz-work__list { list-style: none; display: grid; gap: 6px; margin-bottom: 4vh; padding: 0; }
.pz-work__list li { display: flex; gap: 16px; align-items: baseline; font-size: clamp(1.1rem, 1.9vw, 1.7rem); font-weight: 650; letter-spacing: -.035em; color: rgba(245, 245, 247, .28); transition: color .5s, transform .5s; }
.pz-work__list li span { font-size: 12px; letter-spacing: .2em; color: inherit; }
.pz-work__list li.on { color: #f5f5f7; transform: translateX(10px); }
.pz-work__list li.on span { color: #8fb4ff; }
.pz-work__info { position: relative; min-height: 150px; }
.pz-work__info > div { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; pointer-events: none; }
.pz-work__info > div.on { opacity: 1; transform: none; pointer-events: auto; }
.pz-work__info small { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #8fb4ff; }
.pz-work__info p { margin: 8px 0 10px; color: rgba(245, 245, 247, .66); max-width: 440px; }
.pz-work__all { display: inline-block; margin-top: 4vh; opacity: .8; }
.pz-work__stage { perspective: 1800px; }
.pz-work__frame { border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); background: #0a0f1e; box-shadow: 0 60px 140px rgba(20, 60, 200, .28), 0 30px 80px rgba(0, 0, 0, .6); transform: rotateY(calc(-9deg + var(--wp, 0) * 6deg)) rotateX(3deg); will-change: transform; }
.pz-work__bar { display: flex; gap: 7px; padding: 12px 16px; background: rgba(255, 255, 255, .06); }
.pz-work__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.pz-work__shots { position: relative; aspect-ratio: 1600 / 724; overflow: hidden; }
.pz-work__shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.12); filter: blur(12px); transition: opacity .7s, transform 1.6s cubic-bezier(.2, .7, .2, 1), filter .7s; }
.pz-work__shots img.on { opacity: 1; transform: scale(1); filter: none; }

@media (max-width: 860px) {
  .u-card { grid-template-columns: 1fr; height: auto; min-height: 0; top: 9vh; align-content: start; padding: 26px; } .u-card__n { font-size: 4rem; } .u-orb { display: none; } .u-card ul { margin-top: 6px; } .u-card__m { height: 34vh; }
  .pz-work { height: calc(var(--n) * 80vh + 60vh); } .pz-work__stick { grid-template-columns: 1fr; align-content: center; gap: 18px; } .pz-work__left h2 { margin-bottom: 1vh; } .pz-work__list, .pz-work__all { display: none; } .pz-work__frame { transform: none; } .pz-work__info { min-height: 130px; }
}
@media (prefers-reduced-motion: reduce) { .u-orb, .pz-beams i { animation: none; } .u-card { transform: none; filter: none; } }

.article table { display: block; overflow-x: auto; max-width: 100%; }

/* ---- Mobilni popravci ---- */
.pz-work__nm, .pz-work__dots { display: none; }
@media (max-width: 860px) {
  .pz-work__nm { display: block; font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 700; letter-spacing: -.04em; color: #f5f5f7; margin-bottom: 6px; line-height: 1.05; }
  .pz-work__dots { display: flex; gap: 8px; margin-top: 6px; }
  .pz-work__dots i { width: 22px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); transition: background .3s, width .3s; }
  .pz-work__dots i.on { width: 40px; background: linear-gradient(90deg, #2997ff, #8e7dff); }
  .pz-work__info { min-height: 250px; }
  .pz-work__all { display: none !important; }
  .pz-work__left h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); margin-bottom: 0; }
  .pz-row { grid-template-columns: 1fr 40px; row-gap: 6px; }
  .pz-row__d { display: block; grid-column: 1; font-size: .95rem; max-width: none; }
  .pz-row__a { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
}
/* veće površine za dodir */
.pz-link { display: inline-block; padding: 12px 0; }
@media (max-width: 860px) {
  .footer a, footer a { display: inline-block; padding: 10px 0; min-height: 44px; }
  .logo { min-height: 44px; display: inline-flex; align-items: center; }
}
.svc__list li:has(.ico)::before { display: none; }

/* Radovi na mobitelu: prikaz stranice u okviru telefona (stvarni mobilni screenshotovi) */
.pz-work__shots picture { display: contents; }
@media (max-width: 860px) {
  .pz-work__stage { display: flex; justify-content: center; }
  .pz-work__frame { width: fit-content; margin: 0 auto; border: 7px solid #1a2238; border-radius: 34px; background: #05070f; box-shadow: 0 30px 80px rgba(20, 60, 200, .35), 0 0 0 1px rgba(255, 255, 255, .12); transform: none; }
  .pz-work__bar { display: none; }
  .pz-work__shots { aspect-ratio: 375 / 844; height: 44svh; border-radius: 26px; }
  .pz-work__shots img { object-position: top center; }
}

.u-sub { font-size: .95rem; color: rgba(245, 245, 247, .62); margin-top: 6px; } .u-sub a { color: #8fb4ff; text-decoration: underline; text-underline-offset: 3px; }

.article__svc { margin: 28px 0 0; padding: 16px 20px; border-radius: 16px; background: var(--paper); font-size: 1rem; color: #515154; } .article__svc a { color: var(--link-light); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
