:root {
  --accent: #CBFB45;
  --black: #050505;
  --white: #F4F4F2;
  --muted: #9A9A96;
  --line: rgba(255, 255, 255, .12);
  --gutter: clamp(16px, 3.4vw, 56px);
  --content: 1380px;
  --header-h: 76px;
  --page: #FFFFFF;
  --frame: clamp(8px, 1.4vw, 20px);
  --radius: clamp(24px, 3.4vw, 52px);
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--page); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body { background: var(--page); color: var(--white); font: 400 16px/1.6 "DM Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.hero { position: relative; min-height: 80svh; margin: 0 var(--frame); border-radius: 0 0 var(--radius) var(--radius); background: var(--black); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }

/* pozadina: WebGL fluid + krug */
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero__circle-fallback { display: none; }
.no-gl .hero__bg { background: radial-gradient(120% 90% at 70% 30%, #1a1a1a 0%, #070707 55%, var(--black) 100%); }
.no-gl .hero__circle-fallback { display: block; position: absolute; z-index: -1; border-radius: 50%; background: radial-gradient(circle at 50% 20%, #e2ff8a, var(--accent) 60%); box-shadow: 0 0 120px rgba(203, 251, 69, .35); }

/* header: zajednički za sve stranice, leži preko tamnog prvog bloka */
.site-header { position: fixed; top: 0; left: var(--frame); right: var(--frame); z-index: 40; border-radius: 0 0 22px 22px; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.site-header .nav { transition: padding .35s cubic-bezier(.2, .8, .2, 1); }
.site-header.is-scrolled { background: rgba(8, 8, 8, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 12px 40px -20px rgba(0, 0, 0, .5); }
.site-header.is-scrolled .nav { padding-top: 12px; padding-bottom: 12px; }
.header-solid .site-header { transition: none; }
/* backdrop-filter bi fiksni mobilni izbornik vezao uz header umjesto uz ekran — dok je izbornik otvoren, nema ga */
/* dok je mobilni izbornik otvoren, plutajući gumbi i pop-upovi se ne prikazuju */
.menu-open .pfilter__fab, .menu-open .pask, .menu-open .pvisit { visibility: hidden; }
.site-header.is-open { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transition: none; }
.site-header .nav, .hero__body { width: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin-inline: auto; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px var(--gutter) 0; position: relative; z-index: 3; }
.nav__logo img { height: 34px; width: auto; display: block; }
.nav__menu { display: flex; gap: 4px; padding: 5px; list-style: none; border: 1px solid var(--line); border-radius: 999px; background: rgba(20, 20, 20, .45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__menu a { display: block; padding: 8px 16px; border-radius: 999px; font-size: 14px; color: #CFCFCB; transition: background .3s, color .3s; }
.nav__menu a:hover, .nav__menu a[aria-current] { background: rgba(255, 255, 255, .08); color: var(--white); }

/* veliki gumb: tekst se zakotrlja prema gore, strelica izleti gore-desno i vrati se odozdo-lijevo
   (na ulazak i izlazak miša, prema inspo/animacija gumba.mp4) */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 6px 6px 6px 22px; border-radius: 999px; background: var(--white); color: #111; font-weight: 500; font-size: 15px; white-space: nowrap; }
.btn--dark { background: #0A0A0A; color: var(--white); }
.btn__text { display: block; overflow: hidden; line-height: 1.35; }
.btn__text > span { display: block; position: relative; }
.btn__text > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.btn__arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #111; overflow: hidden; --d: 26px; }
.arrow { position: relative; display: block; width: 14px; height: 14px; }
.arrow svg { position: absolute; inset: 0; width: 14px; height: 14px; }
.arrow svg + svg { transform: translate(calc(-1 * var(--d)), var(--d)); }
.is-anim .btn__text > span { animation: roll .47s cubic-bezier(.7, 0, .25, 1); }
.is-anim .arrow { animation: fly .47s cubic-bezier(.7, 0, .25, 1); }
@keyframes roll { to { transform: translateY(-100%); } }
@keyframes fly { to { transform: translate(var(--d), calc(-1 * var(--d))); } }

/* mali gumb: podcrtavanje se skupi udesno i ponovo nacrta slijeva, strelica isto izleti
   (prema inspo/animacija malog gumba.mp4) */
.link { position: relative; display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; font-size: 15px; font-weight: 500; color: var(--white); white-space: nowrap; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; }
.link__arrow { display: block; overflow: hidden; --d: 16px; }
.is-anim.link::after { animation: line .6s cubic-bezier(.7, 0, .25, 1); }
@keyframes line {
  0% { transform: scaleX(1); transform-origin: right; }
  45% { transform: scaleX(0); transform-origin: right; }
  46% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}
@media (prefers-reduced-motion: reduce) { .is-anim *, .is-anim::after { animation: none !important; } }

/* sadržaj */
.hero__body { flex: 1; display: grid; grid-template-rows: 1fr auto; gap: 48px; padding: calc(var(--header-h) + clamp(48px, 10vh, 96px)) var(--gutter) clamp(28px, 5vh, 56px); position: relative; z-index: 2; }
.hero__content { align-self: center; max-width: min(900px, 62vw); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: #CFCFCB; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
h1 { font-weight: 600; font-size: clamp(40px, 5vw, 84px); line-height: 1; letter-spacing: -.035em; }
h1 span { display: block; white-space: nowrap; }
h1 em { font-style: normal; color: var(--accent); }
.hero__actions { display: flex; align-items: center; gap: 32px; margin-top: 36px; }
.hero__note { max-width: 380px; font-size: 16px; color: #B9B9B5; }


/* vlastiti kursor na slideru: sredina = „Više o projektu”, strane = strelica lijevo/desno */
.work__cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .work__stage .work__card { cursor: none; }
  .work__cursor { position: absolute; left: 0; top: 0; z-index: 3; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: var(--accent); color: #0A0A0A; pointer-events: none; opacity: 0; translate: var(--cx, 0) var(--cy, 0); transform: translate(-50%, -50%); scale: .4;
    transition: opacity .2s, scale .25s cubic-bezier(.2, .8, .2, 1), width .25s cubic-bezier(.2, .8, .2, 1), background .25s; }
  .work__cursor.is-on { opacity: 1; scale: 1; }
  .work__cursor svg { grid-area: 1 / 1; width: 20px; height: 20px; transition: opacity .2s, transform .35s cubic-bezier(.2, .8, .2, 1); }
  .work__cursor-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 15px; font-weight: 500; white-space: nowrap; opacity: 0; transition: opacity .2s; }
  .work__cursor.is-text { width: 172px; background: var(--white); }
  .work__cursor.is-text .work__cursor-label { opacity: 1; transition-delay: .1s; }
  .work__cursor.is-text svg { opacity: 0; }
  .work__cursor.is-prev svg { transform: rotate(180deg); }
}

/* projekti: slider (sredina desktop, strane mobitel) */
.work { padding: 0 0 clamp(80px, 10vw, 140px); color: #0A0A0A; overflow: hidden; }
.work__head, .work__foot { max-width: calc(var(--content) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.work__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.work__head h2 { font-weight: 500; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; letter-spacing: -.03em; }
.work__nav { display: flex; gap: 10px; }
.work__btn { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #DADAD6; border-radius: 50%; background: #FFFFFF; color: #0A0A0A; cursor: pointer; transition: background .3s, border-color .3s; }
.work__btn:hover { background: var(--accent); border-color: var(--accent); }
.work__btn svg { width: 16px; height: 16px; }
.work__stage { position: relative; overflow: hidden; outline: none; touch-action: pan-y; user-select: none; }
.work__track { position: relative; height: var(--h, 420px); }
.work__card { position: absolute; top: 0; left: 0; height: 100%; border-radius: 18px; overflow: hidden; background: #F4F4F2;
  transition: transform .9s cubic-bezier(.65, 0, .35, 1), width .9s cubic-bezier(.65, 0, .35, 1), opacity .6s; }
.work__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: opacity .7s cubic-bezier(.65, 0, .35, 1); -webkit-user-drag: none; }
.work__d { opacity: 0; }
.work__card.is-center .work__d { opacity: 1; }
.work__card.is-center .work__m { opacity: 0; }
.work__card.is-jump { transition: none; }
.work__card.is-hidden { opacity: 0; pointer-events: none; }
/* naziv i link preko srednje kartice, na tamnom gradijentu */
.work__stage .work__foot { position: absolute; left: 50%; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; width: var(--wd, 600px); max-width: none; margin: 0; padding: clamp(18px, 2.2vw, 34px) clamp(20px, 2.6vw, 40px); transform: translateX(-50%); color: var(--white); pointer-events: none; transition: opacity .35s; }
.work__foot.is-swapping { opacity: 0; }
.work__foot a { pointer-events: auto; }
.work__card::after { content: ""; position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(180deg, rgba(5, 5, 5, 0), rgba(5, 5, 5, .78)); opacity: 0; transition: opacity .7s; pointer-events: none; }
.work__card.is-center::after { opacity: 1; }
.work__title { font-size: clamp(16px, 1.5vw, 24px); font-weight: 500; letter-spacing: -.01em; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
@media (prefers-reduced-motion: reduce) { .work__card, .work__card img { transition-duration: .01s; } }
@media (max-width: 760px) {
  .work__btn { width: 44px; height: 44px; }
  .work__stage .work__foot { padding: 14px 16px; }
  .work__foot .btn { padding: 4px 4px 4px 14px; gap: 10px; font-size: 13px; }
  .work__foot .btn__arrow { width: 30px; height: 30px; }
}

/* zašto ja: 2 + fotografija + 2 */
.why { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 10vw, 140px); color: #0A0A0A; }
.why__head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.why__head h2 { text-wrap: balance; font-weight: 500; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.035em; }
.why__head p { max-width: 640px; text-wrap: pretty; margin: 18px auto 0; font-size: 16px; color: #5E5E5A; }
.why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); grid-auto-flow: column; gap: 20px; }
.why__cta { display: flex; justify-content: center; margin-top: clamp(36px, 4vw, 56px); }
.why__card { display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 34px); border-radius: 22px; background: #F4F4F2; }
.why__ico { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: clamp(40px, 5vw, 72px); border-radius: 16px; background: var(--bg, var(--accent)); color: #0A0A0A; box-shadow: inset 0 0 0 1px rgba(10, 10, 10, .06); }
.why__ico svg { width: 30px; height: 30px; }
.why__card h3 { font-weight: 500; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.2; letter-spacing: -.02em; }
.why__card p { margin-top: 12px; font-size: 15px; line-height: 1.55; color: #5E5E5A; }
.why__photo { position: relative; grid-row: span 2; margin: 0; min-height: 520px; border-radius: 22px; overflow: hidden; background: #111; }
.why__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 1080px) {
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-flow: row; }
  .why__photo { grid-column: 1 / -1; grid-row: 1; min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  .why__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .why__photo { aspect-ratio: 4 / 5; }
  .why__ico { margin-bottom: 28px; }
}

/* citat: ista animirana pozadina kao hero, 80vh */
.quote { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: 80svh; margin: 0 var(--frame) var(--frame); padding: clamp(64px, 9vw, 120px) var(--gutter); border-radius: var(--radius); background: var(--black); color: var(--white); }
.quote canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.no-gl .quote canvas { background: radial-gradient(90% 80% at 50% 50%, #1a1a1a, var(--black)); }
/* blok poravnat s lijevim rubom sadržaja (kao hero) */
.quote figure { width: 100%; max-width: var(--content); margin: 0 auto; }
.quote figure > * { max-width: 1000px; }
.quote blockquote { margin: 0; text-wrap: balance; font-weight: 500; font-size: clamp(24px, 2.9vw, 44px); line-height: 1.22; letter-spacing: -.025em; }
.quote blockquote em { font-style: normal; color: var(--accent); }
.quote figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: clamp(36px, 4vw, 56px); }
.quote figcaption img { width: clamp(150px, 13vw, 200px); height: auto; }
.quote figcaption span { font-size: 16px; color: #CFCFCB; }

/* recenzije */
.reviews { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--gutter); color: #0A0A0A; }
.reviews__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.reviews__head h2 { font-weight: 500; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; letter-spacing: -.03em; }
.reviews__score { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 15px; color: #5E5E5A; }
.reviews__score strong { color: #0A0A0A; font-weight: 600; }
.reviews__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.rev { display: flex; flex-direction: column; margin: 0; padding: clamp(26px, 2.6vw, 38px); border-radius: 22px; background: #F4F4F2; }
.rev--narrow { grid-column: span 5; }
.rev--wide { grid-column: span 7; }
.rev--lime { background: #DDFC86; }
.rev--blue { background: #B4E1F7; }
.rev__stars { display: flex; gap: 4px; }
.rev__stars svg { width: 18px; height: 18px; fill: #0A0A0A; }
.reviews__score .rev__stars svg { width: 16px; height: 16px; }
.rev blockquote { margin: 22px 0 0; font-size: clamp(18px, 1.45vw, 22px); font-weight: 500; line-height: 1.42; letter-spacing: -.015em; text-wrap: pretty; }
.rev figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: clamp(32px, 4vw, 56px); }
.rev figcaption span { display: flex; flex-direction: column; font-size: 14px; color: #5E5E5A; }
.rev figcaption strong { font-size: 17px; font-weight: 500; color: #0A0A0A; }
.rev figcaption img { width: auto; height: clamp(44px, 4.2vw, 60px); flex-shrink: 0; }
@media (max-width: 1080px) {
  .rev--narrow, .rev--wide { grid-column: span 6; }
}
@media (max-width: 760px) {
  .reviews__head { flex-direction: column; align-items: flex-start; }
  .reviews__grid { gap: 12px; }
  .rev--narrow, .rev--wide { grid-column: 1 / -1; }
}

/* tamni i mali tekstualni gumb (linkovi na Google recenzije) */
.link--dark { color: #0A0A0A; }
.link--sm { gap: 8px; padding-bottom: 4px; font-size: 14px; }
.link--sm .link__arrow { --d: 14px; }
.link--sm .arrow, .link--sm .arrow svg { width: 12px; height: 12px; }
.stat .link { align-self: flex-start; margin-top: 14px; }

/* glavni naslovi sekcija: prvi dio taman, drugi dio ispran */
h2 em { font-style: normal; color: #8A8A86; }

/* proces suradnje */
.process { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 10vw, 140px); color: #0A0A0A; }
.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); }
.process__intro { position: sticky; top: calc(var(--header-h) + clamp(24px, 6vh, 64px)); align-self: start; }
.process__intro h2 { font-weight: 500; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.process__intro p { max-width: 440px; margin-top: 22px; font-size: 16px; line-height: 1.6; color: #5E5E5A; }
.process__count { display: flex; align-items: baseline; gap: 12px; margin-top: clamp(40px, 6vw, 88px); font-weight: 500; letter-spacing: -.05em; }
.process__now { font-size: clamp(80px, 9vw, 150px); line-height: .9; }
.process__count span + span { font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; color: #A8A8A4; }
.process__steps { position: relative; margin: 0; padding: 0 0 0 clamp(64px, 6vw, 88px); list-style: none; }
.process__steps::before, .process__fill { content: ""; position: absolute; left: 23px; top: 24px; width: 2px; border-radius: 2px; }
.process__steps::before { bottom: 24px; background: #E6E6E2; }
.process__fill { height: calc((100% - 48px) * var(--p, 0)); background: #0A0A0A; transition: height .3s ease-out; }
.step { position: relative; padding-bottom: clamp(48px, 6vw, 80px); }
.step:last-child { padding-bottom: 0; }
.step__dot { position: absolute; left: calc(-1 * clamp(64px, 6vw, 88px)); top: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #F4F4F2; box-shadow: 0 0 0 6px var(--page); font-size: 14px; font-weight: 600; transition: background .4s, transform .4s cubic-bezier(.2, .8, .2, 1); }
.step.is-active .step__dot { background: var(--accent); transform: scale(1.08); }
.step h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 8px; font-weight: 500; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; letter-spacing: -.025em; }
.step__badge { padding: 4px 10px; border-radius: 999px; background: var(--accent); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.step p { max-width: 600px; margin-top: 14px; font-size: 16px; line-height: 1.65; color: #5E5E5A; }
.step__cta { margin-top: 22px; }
@media (max-width: 900px) {
  .process__grid { grid-template-columns: minmax(0, 1fr); }
  .process__intro { position: static; }
  .process__count { display: none; }
}

/* footer */
.footer { position: relative; isolation: isolate; overflow: hidden; margin: 0 var(--frame) var(--frame); border-radius: var(--radius); background: var(--black); color: var(--white); }
.footer canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.footer__inner { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(20px, 3vw, 48px) var(--gutter) 28px; }
.footer__cta { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 40px; padding: clamp(32px, 4.5vw, 64px); border-radius: clamp(20px, 2.4vw, 32px); background: var(--accent); color: #0A0A0A; }
.footer__eyebrow { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.footer__eyebrow::after { content: ""; width: 56px; height: 1px; background: currentColor; }
.footer__title { max-width: 760px; margin-top: clamp(16px, 2vw, 28px); font-size: clamp(34px, 4.6vw, 72px); font-weight: 500; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.footer__title em { font-style: normal; color: rgba(10, 10, 10, .5); }
.footer__go { display: grid; place-items: center; width: clamp(72px, 7vw, 108px); height: clamp(72px, 7vw, 108px); border: 1.5px solid #0A0A0A; border-radius: 50%; overflow: hidden; transition: background .35s, color .35s; --d: 64px; }
.footer__go .arrow, .footer__go .arrow svg { width: 32px; height: 32px; }
.footer__go .arrow svg + svg { transform: translate(-64px, 0); }
.footer__cta:hover .footer__go { background: #0A0A0A; color: var(--accent); }
.footer__cta.is-anim .arrow { animation: fly-r .47s cubic-bezier(.7, 0, .25, 1); }
@keyframes fly-r { to { transform: translateX(64px); } }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; padding: clamp(56px, 6vw, 88px) clamp(0px, 2vw, 32px) clamp(48px, 5vw, 72px); }
.footer__brand img { height: 36px; width: auto; }
.footer__lead { max-width: 420px; margin-top: 28px; font-size: 20px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.footer__brand p:not(.footer__lead) { max-width: 420px; margin: 14px 0 28px; font-size: 15px; color: #A8A8A4; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__col h3 { margin-bottom: 8px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #8A8A86; }
.footer__col a { font-size: 16px; color: #E4E4E0; transition: color .25s; }
.footer__col a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; transition: background .3s, color .3s, border-color .3s; }
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: #0A0A0A; }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px clamp(0px, 2vw, 32px) 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #8A8A86; }
.footer__bottom a:hover { color: var(--white); }
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .footer__cta { grid-template-columns: minmax(0, 1fr); }
  .footer__eyebrow { font-size: 12px; letter-spacing: .04em; }
  .footer__eyebrow::after { display: none; }
  .footer__go { justify-self: start; margin-top: 12px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; padding-inline: 0; }
  .footer__bottom { padding-inline: 0; }
}

/* sekcija: o meni */
.about { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(72px, 11vw, 140px) var(--gutter) clamp(64px, 8vw, 110px); color: #0A0A0A; }
.about__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.about__head h2 { max-width: 860px; font-weight: 500; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.14; letter-spacing: -.03em; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 6vw, 80px); list-style: none; padding: 0; }
.stat { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 230px; padding: 30px; border-radius: 22px; background: #F4F4F2; }
.stat__badge { position: absolute; top: 24px; right: 24px; padding: 3px 9px; border-radius: 999px; background: #FFFFFF; font-size: 12px; color: #6E6E6A; }
.stat__num { font-size: clamp(48px, 4.4vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.stat__num small { font-size: .42em; letter-spacing: -.02em; margin-left: .12em; }
.stat__num sup { font-size: .5em; vertical-align: .55em; }
.stat p { margin-top: 40px; max-width: 280px; font-size: 15px; line-height: 1.45; color: #3A3A38; }

/* fotografija */
.hero__photo { position: absolute; right: max(clamp(0px, 4vw, 80px), calc((100% - var(--content)) / 2)); bottom: 0; height: min(72svh, 860px); width: auto; z-index: 1; pointer-events: none; user-select: none; }

@media (max-width: 1080px) {
  .hero__content { max-width: 60vw; }
  .hero__photo { height: min(64svh, 640px); right: -6vw; }
  .stat { min-height: 200px; padding: 24px; }
}
@media (max-width: 760px) {
  .nav { padding-top: 18px; }
  .nav__logo img { height: 34px; }
  .nav .btn { padding: 4px 4px 4px 16px; font-size: 14px; }
  .nav .btn__arrow { width: 32px; height: 32px; }
  h1 span { display: inline; white-space: normal; }
  .hero__body { flex: none; grid-template-rows: auto; padding-top: calc(var(--header-h) + 32px) !important; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 48px; padding-bottom: 0; }
  .hero__content { max-width: none; }
  h1 { font-size: clamp(40px, 11.5vw, 60px); }
  .hero__actions { gap: 24px; margin-top: 28px; }
  .about__head { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .about__head .btn { justify-self: start; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .stat { min-height: 180px; padding: 24px; }
  .hero__photo { position: relative; right: auto; align-self: center; height: auto; width: min(74vw, 352px); margin: 8px 0 0; }
  .hero { margin-inline: 0; }   /* hero na mobitelu od ruba do ruba */
}

/* mobilni izbornik */
.nav__burger { display: none; }
.site-header .nav__menu .nav__mobile-cta, .nav__mobile-contact { display: none; }
@media (max-width: 1080px) {
  .nav__burger { position: relative; z-index: 2; display: block; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: rgba(20, 20, 20, .45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); cursor: pointer; }
  .nav__burger span { position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; margin: -.75px 0 0 -9px; background: var(--white); transition: transform .35s cubic-bezier(.65, 0, .35, 1); }
  .nav__burger span:first-child { transform: translateY(-3.5px); }
  .nav__burger span:last-child { transform: translateY(3.5px); }
  .is-open .nav__burger span:first-child { transform: rotate(45deg); }
  .is-open .nav__burger span:last-child { transform: rotate(-45deg); }
  .nav { gap: 12px; }
  .nav__logo { margin-right: auto; }
  /* mobilni izbornik: gornjih 70 % crno s podcrtanim stavkama i gumbom, donjih 30 % accent s kontaktom */
  .site-header .nav__menu { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 0; padding: 88px var(--gutter) calc(22svh + 20px); border: 0; border-radius: 0; background: none; visibility: hidden; transform: translateX(-100%); transition: transform .38s cubic-bezier(.2, .8, .2, 1), visibility 0s .38s; }
  .is-open .nav__menu { visibility: visible; transform: none; transition: transform .38s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
  .site-header .nav__menu > a:not(.btn) { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); border-radius: 0; background: none; font-size: clamp(28px, 7.5vw, 44px); font-weight: 500; line-height: 1.15; letter-spacing: -.03em; color: var(--white); }
  .site-header .nav__menu a[aria-current] { color: var(--accent); }
  .site-header .nav__menu .nav__mobile-cta { display: inline-flex; align-self: flex-start; margin-top: clamp(20px, 4svh, 32px); padding: 6px 6px 6px 22px; border-radius: 999px; background: var(--white); color: #111; font-size: 16px; }
  .site-header .nav__menu .nav__mobile-cta .btn__arrow { background: #0A0A0A; color: var(--white); }
  /* crni gornji dio sa zaobljenim dnom (kao hero) leži preko žutog kontakta */
  .site-header .nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: -1; height: 78svh; border-radius: 0 0 var(--radius) var(--radius); background: var(--black); }
  /* kontakt ulazi s desne strane (izbornik je pomaknut ulijevo, pa kontakt ide 200 % udesno) */
  .nav__mobile-contact { transform: translateX(200%); transition: transform .38s cubic-bezier(.2, .8, .2, 1); position: absolute; left: 0; right: 0; bottom: 0; z-index: -2; height: calc(22svh + var(--radius)); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; padding: calc(var(--radius) + 8px) var(--gutter) 16px; background: var(--accent); color: #0A0A0A; }
  .nav__mobile-contact p { margin-bottom: 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(10, 10, 10, .6); }
  .is-open .nav__mobile-contact { transform: none; }
  .site-header .nav__mobile-contact a { padding: 0; border-radius: 0; background: none; }
  .nav__mobile-contact > a { font-size: 16px; font-weight: 500; letter-spacing: -.02em; color: #0A0A0A; }
  .nav__mobile-social { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
  .site-header .nav__mobile-social a { display: grid; place-items: center; height: 32px; min-width: 32px; padding: 0 12px; border: 1px solid rgba(10, 10, 10, .25); border-radius: 999px; font-size: 12px; font-weight: 500; color: #0A0A0A; }
  .site-header .nav__mobile-social a[aria-label] { padding: 0; }
  .nav__mobile-social svg { width: 14px; height: 14px; }
  .nav__logo, .nav__cta { position: relative; z-index: 2; }
}
@media (max-width: 760px) {
  .nav__cta { display: none; }
  .hero__actions { flex-wrap: wrap; gap: 16px 24px; }
}

/* ========== stranica projekta ========== */
.project { color: #0A0A0A; }
.project > * { max-width: calc(var(--content) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* uvod */
.project > .phero { position: relative; isolation: isolate; overflow: hidden; max-width: none; margin: 0 var(--frame); padding: 0; border-radius: 0 0 var(--radius) var(--radius); background: var(--black); color: var(--white); }
.phero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.no-gl .phero canvas { background: radial-gradient(90% 80% at 50% 40%, #1a1a1a, var(--black)); }
.phero__inner { display: flex; flex-direction: column; align-items: center; max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: calc(var(--header-h) + clamp(56px, 10vh, 120px)) var(--gutter) clamp(48px, 6vw, 88px); text-align: center; }
.crumbs { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; font-size: 14px; color: #A8A8A4; }
.crumbs a { color: #CFCFCB; transition: color .25s; }
.crumbs a:hover { color: var(--accent); }
.phero h1 { font-weight: 600; font-size: clamp(52px, 8vw, 128px); line-height: .92; letter-spacing: -.045em; text-wrap: balance; }
.phero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px clamp(40px, 6vw, 88px); margin: clamp(36px, 4vw, 56px) 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.phero__meta div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.phero__meta dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8A8A86; }
.phero__meta dd { margin: 0; font-size: 16px; }

/* uvodni opis ispod uvoda */
.project > .pintro { max-width: 940px; padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(40px, 5vw, 72px); text-align: center; }
.pintro__logo { display: block; width: auto; height: clamp(64px, 6vw, 96px); margin: 0 auto clamp(32px, 4vw, 52px); }
.pintro p { font-size: 17px; line-height: 1.7; color: #5E5E5A; text-wrap: pretty; }
.pintro .pintro__lead { margin-bottom: 18px; font-size: clamp(22px, 2vw, 30px); font-weight: 500; line-height: 1.4; letter-spacing: -.02em; color: #0A0A0A; text-wrap: balance; }

/* slike */
.pshot { margin-top: clamp(20px, 2.4vw, 32px); margin-bottom: 0; }
.pshot img { display: block; width: 100%; height: auto; border-radius: 22px; background: #F4F4F2; }

/* poglavlja priče */
.pchapter { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(40px, 6vw, 96px); padding-top: clamp(72px, 9vw, 140px); padding-bottom: clamp(48px, 6vw, 88px); }
.pchapter__label h2 { font-weight: 500; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.05; letter-spacing: -.035em; }
.pchapter__text p { max-width: 760px; font-size: 17px; line-height: 1.7; color: #5E5E5A; text-wrap: pretty; }
.pchapter__text p + p { margin-top: 18px; }
.pchapter__text .pchapter__lead { font-size: clamp(20px, 1.7vw, 26px); font-weight: 500; line-height: 1.45; letter-spacing: -.015em; color: #0A0A0A; }

/* mockup + mobitel */
.pduo { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 20px; margin-top: clamp(20px, 2.4vw, 32px); }
.pduo .pshot { margin: 0; }
.pduo .pshot img { height: 100%; object-fit: cover; }
.pphone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; margin: 0; padding: clamp(24px, 3vw, 44px); border-radius: 22px; background: #F4F4F2; }
.pphone img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(560px, 46vw); border-radius: 26px; box-shadow: 0 0 0 6px #0A0A0A, 0 30px 60px -20px rgba(0, 0, 0, .45); }
.pphone figcaption { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #8A8A86; }

/* video */
.project > .pvideo { max-width: none; margin: clamp(20px, 2.4vw, 32px) var(--frame) 0; padding: clamp(40px, 6vw, 96px) var(--gutter); border-radius: var(--radius); background: #0A0A0A; color: var(--white); text-align: center; }
.pvideo__label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(24px, 3vw, 40px); font-size: 14px; color: #CFCFCB; }
.pvideo__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.browser { max-width: 1180px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #1A1A1A; box-shadow: 0 40px 100px -30px rgba(203, 251, 69, .18), 0 0 0 1px rgba(255, 255, 255, .08); }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3A3A38; }
.browser__bar span { flex: 1; margin-right: 47px; font-size: 12px; color: #8A8A86; }
.browser video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }


@media (max-width: 900px) {
  .pchapter { grid-template-columns: minmax(0, 1fr); }
  .pduo { grid-template-columns: minmax(0, 1fr); }
  .pphone img { max-height: 520px; }
}

/* recenzija klijenta na stranici projekta */
.project > .pquote { max-width: calc(980px + 2 * var(--gutter)); margin: clamp(56px, 7vw, 100px) auto 0; }
.pquote blockquote { margin: 0; padding: clamp(32px, 4vw, 56px); border-radius: 22px; background: var(--accent); font-size: clamp(22px, 2.2vw, 34px); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; text-wrap: pretty; }
.pquote figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; padding-left: clamp(32px, 4vw, 56px); }
.pquote figcaption strong { font-size: 17px; font-weight: 500; }
.pquote figcaption span { font-size: 14px; color: #8A8A86; }
.pduo--phone { grid-template-columns: minmax(0, 1fr); }
.pintro .pintro__logo + .pintro__lead { margin-top: 0; }

/* recenzije u slideru (stranica projekta) */
.ptesti { padding-top: clamp(80px, 10vw, 140px); }
.ptesti__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.ptesti__head h2, .pmore__head h2 { font-weight: 500; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; letter-spacing: -.03em; }
.ptesti__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.ptesti__track::-webkit-scrollbar { display: none; }
.ptesti__track .rev { flex: 0 0 calc((100% - 20px) / 2); scroll-snap-align: start; }

/* još projekata: dva sljedeća po redu */
.pmore { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.pmore__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.pmore__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pcard { display: block; }
.pcard__img { display: block; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: #F4F4F2; }
.pcard__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; font-size: clamp(20px, 1.8vw, 28px); font-weight: 500; letter-spacing: -.02em; }
.pcard__go { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); overflow: hidden; --d: 26px; }
.pcard.is-anim .arrow { animation: fly .47s cubic-bezier(.7, 0, .25, 1); }
@media (max-width: 760px) {
  .ptesti__head, .pmore__head { flex-direction: column; align-items: flex-start; }
  .ptesti__track .rev { flex-basis: 88%; }
  .pmore__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ========== stranica Projekti ========== */
.phero__sub { max-width: 640px; margin: 22px auto 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: #B9B9B5; text-wrap: balance; }
/* filteri lijevo, kartice desno; kartice se zalijepe pri vrhu i sljedeća se navuče preko prethodne */
.project > .pwrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(20px, 3vw, 40px); }
.pfilter { position: sticky; top: calc(var(--header-h) + 24px); }
.pfilter__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pfilter__head p { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8A8A86; }
.pfilter__close, .pfilter__toggle, .pfilter__scrim, .pfilter__fab { display: none; }
.pfilter ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid #E6E6E2; }
.pfilter li { border-bottom: 1px solid #E6E6E2; }
.pfilter li button { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 12px 0; border: 0; background: none; font: inherit; font-size: 15px; color: #5E5E5A; text-align: left; cursor: pointer; transition: color .25s, padding .3s cubic-bezier(.2, .8, .2, 1); }
.pfilter li button::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.pfilter li button span { font-size: 12px; color: #A8A8A4; }
.pfilter li button:hover { color: #0A0A0A; }
.pfilter li button[aria-pressed="true"] { padding-left: 16px; color: #0A0A0A; font-weight: 500; }
.pfilter li button[aria-pressed="true"]::before { transform: scale(1); }
.plist { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 36px); }
.plist__item { position: sticky; top: calc(var(--header-h) + 24px + var(--i) * 10px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 48px); align-items: center; padding: 14px; background: #FBFAF9; }
.plist__item[hidden] { display: none; }
.plist__info { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(10px, 1.6vw, 24px) 0 clamp(10px, 1.6vw, 24px) clamp(10px, 1.6vw, 24px); }
.plist__cats { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8A8A86; }
.plist__cats::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.plist__info h2 { margin-top: 12px; font-weight: 500; font-size: clamp(26px, 2.5vw, 40px); line-height: 1.05; letter-spacing: -.035em; }
.plist__desc { margin: 14px 0 22px; font-size: 15px; line-height: 1.65; color: #5E5E5A; text-wrap: pretty; }
.plist__img { display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #E6E6E2; }
.plist__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.plist__item:hover .plist__img img { transform: scale(1.03); }
.projects .reviews { padding-top: clamp(80px, 10vw, 140px); }
@media (max-width: 900px) {
  .project > .pwrap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .plist__item { position: static; grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .plist__img { order: -1; }
  .plist__info { padding: 4px 8px 10px; }
  /* filteri: mala oznaka, popis klizi s lijeve strane */
  .pfilter__toggle { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 500; color: #0A0A0A; cursor: pointer; }
  .pfilter__toggle svg { width: 16px; height: 16px; }
  .pfilter__current { padding-left: 10px; border-left: 1px solid #DADAD6; font-weight: 400; color: #8A8A86; }
  .pfilter { position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(320px, 84vw); padding: 28px 24px; background: var(--page); box-shadow: 20px 0 60px -30px rgba(0, 0, 0, .4); transform: translateX(-105%); transition: transform .45s cubic-bezier(.2, .8, .2, 1); overflow-y: auto; }
  .pfilter.is-open { transform: none; }
  .pfilter__close { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #F4F4F2; color: #0A0A0A; cursor: pointer; }
  .pfilter__close svg { width: 12px; height: 12px; }
  .pfilter li button { padding-block: 15px; font-size: 17px; }
  .pfilter__scrim { position: fixed; inset: 0; z-index: 55; display: block; background: rgba(5, 5, 5, .35); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .pfilter.is-open + .pfilter__scrim { opacity: 1; visibility: visible; }
  .pfilter__fab { position: fixed; left: 14px; bottom: 14px; z-index: 50; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: #0A0A0A; color: var(--accent); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); cursor: pointer; opacity: 0; transform: translateY(24px) scale(.8); pointer-events: none; transition: opacity .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1); }
  .pfilter__fab svg { width: 20px; height: 20px; }
  .pfilter__fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
}

/* ========== stranica Proces suradnje ========== */
.crumbs--dark { justify-content: flex-start; color: #8A8A86; }
.crumbs--dark a { color: #5E5E5A; }
.project > .pp-intro { padding-top: calc(var(--header-h) + clamp(56px, 8vw, 110px)); }
.pp-intro__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(40px, 6vw, 96px); align-items: end; }
.pp-intro h1 { font-weight: 600; font-size: clamp(44px, 6vw, 96px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.pp-intro h1 em { font-style: normal; color: #8A8A86; }
.pp-intro__text p { font-size: 17px; line-height: 1.65; color: #5E5E5A; }
.pp-intro__text p + p { margin-top: 14px; }
.pp-intro__text strong { font-weight: 600; color: #0A0A0A; background: linear-gradient(transparent 62%, var(--accent) 62%); }
/* pregled koraka: vodoravni timeline s točkama (mobitel: okomit) */
.pp-steps-nav { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: clamp(48px, 6vw, 88px) 0 0; padding: 0; list-style: none; }
.pp-steps-nav::before { content: ""; position: absolute; left: 6px; right: calc(20% - 6px); top: 6px; height: 1px; background: #D4D4D0; }
.pp-steps-nav a { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-right: 16px; font-size: 15px; font-weight: 500; transition: color .25s; }
.pp-steps-nav a::before { content: ""; position: relative; width: 13px; height: 13px; box-sizing: border-box; border: 1.5px solid #0A0A0A; border-radius: 50%; background: var(--page); transition: background .25s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.pp-steps-nav a:hover::before { background: var(--accent); transform: scale(1.25); }
.pp-steps-nav a:hover { color: #5E5E5A; }
.project > .pp-steps { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); padding-top: clamp(56px, 7vw, 100px); }
.pstep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(32px, 4vw, 56px); border-top: 1px solid #E6E6E2; }
.pstep:nth-child(even) .pstep__art { order: -1; }
.pstep__num { display: block; margin-bottom: 18px; font-size: 14px; font-weight: 600; color: #8A8A86; }
.pstep h2 { font-weight: 500; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.pstep p { max-width: 560px; margin-top: 16px; font-size: 16px; line-height: 1.7; color: #5E5E5A; text-wrap: pretty; }
.pstep .pstep__lead { margin-top: 22px; font-size: clamp(19px, 1.5vw, 22px); font-weight: 500; line-height: 1.45; letter-spacing: -.01em; color: #0A0A0A; }
.pstep__art { margin: 0; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: clamp(16px, 3vw, 40px); border-radius: 22px; background: #F4F4F2; color: #0A0A0A; }
.pstep__art svg { width: 100%; height: auto; overflow: visible; }
.pstep__art .acc { fill: var(--accent); }
.pstep__art .acc-line { stroke: #0A0A0A; stroke-width: 6; stroke-dasharray: 60 200; }
/* istaknuti okvir „Besplatan demo” u drugom koraku */
.pdemo { max-width: 560px; margin-top: 28px; padding: 22px 24px; border: 1px solid #0A0A0A; border-radius: 16px; background: var(--accent); }
.pdemo__label { margin: 0 0 12px !important; font-size: 12px !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #0A0A0A !important; }
.pdemo ul { margin: 0 0 18px; padding: 0; list-style: none; }
.pdemo li { position: relative; padding: 6px 0 6px 26px; font-size: 16px; font-weight: 500; }
.pdemo li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 12px; height: 7px; border-left: 1.6px solid #0A0A0A; border-bottom: 1.6px solid #0A0A0A; transform: rotate(-45deg); }
.project > .pp-cta { margin-top: clamp(40px, 5vw, 72px); }
/* česta pitanja: dvije kolone po četiri */
.project > .faq { padding-top: clamp(80px, 10vw, 140px); }
.faq h2 { margin-bottom: clamp(28px, 3vw, 44px); font-weight: 500; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; letter-spacing: -.03em; }
.faq__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 4vw, 64px); }
.faq details { border-top: 1px solid #E6E6E2; }
.faq__cols > div > details:last-child { border-bottom: 1px solid #E6E6E2; }
.faq summary { position: relative; display: block; padding: 22px 48px 22px 0; font-size: 18px; font-weight: 500; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; background: #0A0A0A; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open]:not(.is-closing) summary::after { transform: rotate(0); }
.faq__a { overflow: hidden; transition: height .45s cubic-bezier(.2, .8, .2, 1); }
.faq__a > * { transition: opacity .35s .05s; }
.faq details.is-closing .faq__a > *, .faq details.is-opening .faq__a > * { opacity: 0; }
.faq details p { margin: -6px 0 22px; padding-right: 48px; font-size: 16px; line-height: 1.65; color: #5E5E5A; }
.faq details p + p { margin-top: -10px; }
.faq .faq__cta { margin-top: -8px; }
.process-page .reviews { padding-top: clamp(80px, 10vw, 140px); }
@media (max-width: 900px) {
  .pp-intro__grid, .pstep, .faq__cols { grid-template-columns: minmax(0, 1fr); }
  .pstep:nth-child(even) .pstep__art { order: 0; }
  .pp-steps-nav { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .pp-steps-nav::before { left: 6px; right: auto; top: 14px; bottom: 14px; width: 1px; height: auto; }
  .pp-steps-nav a { flex-direction: row; align-items: center; gap: 14px; padding: 7px 0; font-size: 14px; }
  .faq__cols > div:first-child > details:last-child { border-bottom: 0; }
}

/* ========== stranica Kontakt ========== */
.project > .kboxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: clamp(40px, 5vw, 72px); }
.kbox { position: relative; display: flex; flex-direction: column; gap: 6px; padding: clamp(24px, 3vw, 40px); border-radius: 22px; background: #F4F4F2; transition: background .3s; }
.kbox:hover { background: var(--accent); }
.kbox .ico { margin-bottom: clamp(20px, 3vw, 40px); }
.kbox__label { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #8A8A86; }
.kbox:hover .kbox__label { color: rgba(10, 10, 10, .6); }
.kbox__value { font-size: clamp(26px, 3vw, 44px); font-weight: 500; letter-spacing: -.03em; }
.kbox__go { position: absolute; top: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 40px); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #0A0A0A; color: var(--white); overflow: hidden; --d: 26px; }
.kbox.is-anim .arrow { animation: fly .47s cubic-bezier(.7, 0, .25, 1); }
.project > .kforms { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.kforms__title { margin-bottom: clamp(24px, 3vw, 40px); font-weight: 500; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; letter-spacing: -.03em; }
.kforms__title em, .spanel__title em { font-style: normal; color: #8A8A86; }
.kchoices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kchoice { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; border: 1px solid #E6E6E2; border-radius: 18px; background: var(--page); font: inherit; color: #0A0A0A; text-align: left; cursor: pointer; transition: border-color .25s, background .25s; }
.kchoice .ico { margin-bottom: 12px; }
.kchoice:hover { border-color: #0A0A0A; }
.kchoice[aria-pressed="true"] { border-color: #0A0A0A; background: var(--accent); }
.kchoice__title { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.kchoice__text { font-size: 14px; line-height: 1.5; color: #5E5E5A; }
.kchoice[aria-pressed="true"] .kchoice__text { color: #2A2A28; }
.ico .a { stroke: #0A0A0A; stroke-width: 2.4; }
.kchoice .ico .a, .sopt .ico .a { stroke: var(--accent); }
.kchoice[aria-pressed="true"] .ico .a, .sopt input:checked ~ .ico .a { stroke: #0A0A0A; }

/* obrazac: velika polja jedno ispod drugoga, otkrivaju se redom (sljedeće je prigušeno) */
.spanel { max-width: 640px; margin: clamp(40px, 5vw, 72px) auto 0; }
.spanel__title { margin-bottom: 8px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #8A8A86; }
.sform { display: flex; flex-direction: column; }
.sform[hidden] { display: none; }
.sfield { display: block; margin: 0; padding: 26px 0 30px; border: 0; border-bottom: 1px solid #E6E6E2; transition: opacity .45s, transform .45s cubic-bezier(.2, .8, .2, 1); }
.sfield[hidden] { display: none; }
.sfield.is-next { opacity: .28; }
.sfield.is-next:hover { opacity: .5; }
.sfield.is-later { display: none; }
.sfield.is-in { animation: sfield-in .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes sfield-in { from { opacity: 0; transform: translateY(18px); } }
.sfield__label { display: block; margin-bottom: 14px; padding: 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.015em; }
.sfield__opt { font-size: 14px; font-weight: 400; color: #A8A8A4; }
.sfield input, .sfield textarea { display: block; width: 100%; padding: 6px 0 10px; border: 0; border-bottom: 1.5px solid #CFCFCB; border-radius: 0; background: none; font: inherit; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; color: #0A0A0A; outline: none; transition: border-color .25s; resize: vertical; }
.sfield textarea { min-height: 120px; line-height: 1.4; }
.sfield input::placeholder, .sfield textarea::placeholder { color: #C4C4C0; }
.sfield input:focus, .sfield textarea:focus { border-color: #0A0A0A; }
.sfield.is-error input, .sfield.is-error textarea { border-color: #D2452F; }
.sfield.is-error .sfield__label::after { content: "Obavezno polje"; margin-left: 12px; font-size: 13px; font-weight: 400; color: #D2452F; }
.sopts { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 12px; }
.sopt { --opt-bg: var(--page); position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; border: 1px solid #E6E6E2; border-radius: 16px; background: var(--opt-bg); cursor: pointer; transition: border-color .25s, background .25s; }
.sopt:hover { border-color: #0A0A0A; }
.sopt input { position: absolute; opacity: 0; pointer-events: none; }
.sopt span { font-size: 16px; font-weight: 500; line-height: 1.3; }
.sopt:has(input:checked) { --opt-bg: var(--accent); border-color: #0A0A0A; }
.sopt:has(input:focus-visible) { outline: 2px solid #0A0A0A; outline-offset: 2px; }
.sfield.is-error .sopt { border-color: #D2452F; }
.sfield--submit { border-bottom: 0; padding-top: 32px; }
.ssuccess { max-width: 620px; padding: clamp(32px, 4vw, 56px); border-radius: 22px; background: var(--accent); animation: sfield-in .6s cubic-bezier(.2, .8, .2, 1); }
.ssuccess[hidden] { display: none; }
.ssuccess__ico { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 24px; border-radius: 50%; background: #0A0A0A; color: var(--accent); }
.ssuccess h3 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.ssuccess p { margin: 12px 0 24px; font-size: 17px; line-height: 1.6; }
@media (max-width: 900px) {
  .project > .kboxes, .kchoices { grid-template-columns: minmax(0, 1fr); }
  .kchoice { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 18px; }
  .kchoice .ico { margin: 0; width: 34px; height: 34px; }
  .kchoice__text { flex-basis: 100%; }
  .sopts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sopt { padding: 16px; gap: 10px; }
  .sopt .ico { width: 32px; height: 32px; }
  .sopt span { font-size: 14px; }
}

/* ========== stranica O meni ========== */
/* zamjena za fotografije (placeholder) */
.ph { position: relative; display: grid; place-items: center; overflow: hidden; margin: 0; border-radius: 22px; background: repeating-linear-gradient(135deg, #EFEFEC 0 14px, #F6F6F4 14px 28px); }
.ph__label { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; background: var(--page); font-size: 13px; color: #5E5E5A; }

/* 1. poruka */
.project > .am-letter { padding-top: calc(var(--header-h) + clamp(56px, 8vw, 110px)); padding-bottom: clamp(64px, 8vw, 120px); }
.am-letter__hi { display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(32px, 4vw, 56px); font-size: 18px; font-weight: 500; }
.am-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(203, 251, 69, .25); animation: am-pulse 2.4s ease-in-out infinite; }
@keyframes am-pulse { 50% { box-shadow: 0 0 0 12px rgba(203, 251, 69, 0); } }
.am-letter__text { max-width: 1180px; margin-top: 22px; font-size: clamp(34px, 5.2vw, 84px); font-weight: 500; line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
/* opće pravilo „h1 span” s naslovnice ovdje ne vrijedi: riječi ostaju u retku */
.am-letter__text .w { display: inline; white-space: normal; }
.am-letter__text em { font-style: normal; color: #0A0A0A; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: .12em; text-underline-offset: .12em; text-decoration-skip-ink: none; }
.am-letter__text .w { opacity: .14; transition: opacity .25s; }
.am-letter__text .w.is-on { opacity: 1; }
.am-sign { display: flex; flex-direction: column; gap: 10px; margin-top: clamp(32px, 4vw, 56px); }
.am-sign img { width: clamp(160px, 16vw, 230px); height: auto; filter: invert(1); clip-path: inset(0 100% 0 0); transition: clip-path 1.6s cubic-bezier(.65, 0, .35, 1); }
.am-sign.is-on img { clip-path: inset(0 0 0 0); }
.am-sign span { font-size: 14px; color: #8A8A86; }

/* 2. priča */
.project > .am-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; padding-bottom: clamp(80px, 10vw, 140px); }
.am-story__photo { position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 4 / 5; }
.am-story__photo { margin: 0; overflow: hidden; border-radius: 22px; background: #0A0A0A; }
.am-story__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.am-story__text h2 { font-weight: 500; font-size: clamp(32px, 3.6vw, 56px); line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.am-story__text h2 em, .am-time__head h2 em, .am-values h2 em { font-style: normal; color: #8A8A86; }
.am-story__text h3 { margin-top: clamp(40px, 5vw, 64px); font-weight: 500; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; }
.am-story__text p { max-width: 620px; margin-top: 18px; font-size: 17px; line-height: 1.75; color: #5E5E5A; }
.am-story__text .am-lead { margin-top: 28px; font-size: clamp(20px, 1.7vw, 26px); font-weight: 500; line-height: 1.45; color: #0A0A0A; letter-spacing: -.015em; }
.am-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: clamp(40px, 5vw, 64px) 0 0; }
.am-facts div { padding-top: 16px; border-top: 1.5px solid #0A0A0A; }
.am-facts dt { font-size: 13px; color: #8A8A86; }
.am-facts dd { margin: 6px 0 0; font-size: clamp(30px, 3vw, 46px); font-weight: 500; letter-spacing: -.04em; }


/* 4. vremenska crta: zadržana sekcija s vodoravnim pomakom */
.project > .am-time { max-width: none; padding: 0; height: 320vh; }
.am-time__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
.am-time__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; width: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto clamp(28px, 4vw, 56px); padding-inline: var(--gutter); }
.am-time__head h2 { font-weight: 500; font-size: clamp(32px, 3.6vw, 56px); line-height: 1.05; letter-spacing: -.035em; }
.am-time__bar { position: relative; flex: 0 0 min(280px, 30vw); height: 2px; background: #E6E6E2; }
.am-time__bar span { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); background: #0A0A0A; }
.am-time__track { display: flex; gap: 20px; margin: 0; padding: 0 max(var(--gutter), calc((100vw - var(--content)) / 2)); list-style: none; width: max-content; will-change: transform; }
.am-card { position: relative; display: flex; flex-direction: column; width: clamp(300px, 34vw, 480px); min-height: clamp(340px, 46vh, 460px); padding: clamp(24px, 2.6vw, 40px); border-radius: 22px; background: #F4F4F2; }
.am-card::before { content: ""; position: absolute; left: clamp(24px, 2.6vw, 40px); right: clamp(24px, 2.6vw, 40px); top: 0; height: 3px; border-radius: 0 0 3px 3px; background: #0A0A0A; transform: scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.am-card.is-seen::before { transform: none; }
.am-card__years { font-size: clamp(26px, 2.2vw, 34px); white-space: nowrap; font-weight: 600; line-height: 1; letter-spacing: -.03em; color: #0A0A0A; }
.am-card h3 { margin-top: auto; padding-top: 32px; font-weight: 500; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.2; letter-spacing: -.02em; }
.am-card p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: #5E5E5A; }
.am-card--now { background: #0A0A0A; color: var(--white); }
.am-card--now .am-card__years { color: var(--accent); }
.am-card--now p { color: #B9B9B5; }
.am-card--now::before { background: var(--accent); }
.am-card--next { background: var(--accent); }
.am-card--next .btn { align-self: flex-start; margin-top: 24px; }

/* 5. vrijednosti */
.project > .am-values { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.am-values h2 { margin-bottom: clamp(24px, 3vw, 40px); font-weight: 500; font-size: clamp(32px, 3.6vw, 56px); line-height: 1.05; letter-spacing: -.035em; }
.am-values ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid #0A0A0A; }
.am-values li { position: relative; border-bottom: 1px solid #0A0A0A; overflow: hidden; }
.am-values li::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.am-values li.is-open::before { transform: none; }
.am-values button { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: clamp(18px, 2.4vw, 32px) 0; border: 0; background: none; font: inherit; color: #0A0A0A; text-align: left; cursor: pointer; }
.am-values button span { font-size: clamp(32px, 5vw, 80px); font-weight: 500; line-height: 1; letter-spacing: -.04em; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.am-values li.is-open button span { transform: translateX(clamp(12px, 2vw, 32px)); }
.am-values i { position: relative; flex: none; width: 48px; height: 48px; border: 1.5px solid #0A0A0A; border-radius: 50%; }
.am-values i::before, .am-values i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; margin: -.75px 0 0 -8px; background: #0A0A0A; transition: transform .35s; }
.am-values i::after { transform: rotate(90deg); }
.am-values li.is-open i::after { transform: rotate(0); }
.am-values p { position: relative; max-width: 820px; max-height: 0; margin: 0; padding-left: clamp(12px, 2vw, 32px); font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.01em; line-height: 1.6; opacity: 0; transition: max-height .45s cubic-bezier(.2, .8, .2, 1), opacity .3s, padding .45s; }
.am-values li.is-open p { max-height: 320px; padding-bottom: clamp(20px, 2.4vw, 32px); opacity: 1; }

/* 6. široka fotografija */
.project > .am-wide { max-width: none; padding: 0 var(--frame) clamp(80px, 10vw, 140px); }
.am-wide__photo { aspect-ratio: 16 / 9; max-height: 82vh; width: 100%; border-radius: var(--radius); }
.am-wide__photo { margin: 0; overflow: hidden; background: #0A0A0A; }
.am-wide__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.am-wide__quote { max-width: 980px; margin: clamp(-120px, -9vw, -64px) auto 0; position: relative; padding: clamp(28px, 3.4vw, 52px); border-radius: 22px; background: var(--page); font-size: clamp(26px, 3vw, 46px); font-weight: 500; line-height: 1.15; letter-spacing: -.03em; text-align: center; text-wrap: balance; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .3); }
.am-wide__quote em { font-style: normal; color: #8A8A86; }

@media (max-width: 900px) {
  .project > .am-story { grid-template-columns: minmax(0, 1fr); }
  .am-story__photo { position: relative; top: 0; }
  .project > .am-time { height: auto; padding: clamp(64px, 10vw, 100px) 0; }
  .am-time__sticky { position: static; height: auto; padding-top: 0; overflow: visible; }
  .am-time__bar { display: none; }
  .am-time__track { flex-direction: column; width: auto; padding: 0 var(--gutter); transform: none !important; }
  .am-card { width: auto; min-height: 0; }
  .am-card h3 { margin-top: 24px; padding-top: 0; }
  .am-facts dd { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .am-letter__text .w { opacity: 1; }
  .am-sign img { clip-path: none; transition: none; }
}

/* pop-up „Imate ideju za projekt?” (nakon 45 s gledanja, osim na stranicama projekata i kontaktu) */
.idea-pop { position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 45; width: min(360px, calc(100vw - 32px)); padding: 26px 24px 22px; border-radius: 22px; background: #0A0A0A; color: var(--white); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .55); touch-action: pan-y;
  opacity: 0; transform: translateY(60px) scale(.9); transform-origin: 100% 100%; pointer-events: none; transition: opacity .3s, transform .3s; }
.idea-pop.is-on { opacity: 1; transform: none; pointer-events: auto; animation: pask-pop .75s cubic-bezier(.34, 1.56, .64, 1) both; }
.idea-pop.is-drag { animation: none; transition: none; }
.idea-pop.is-settled { animation: none; }
.idea-pop__dot { display: inline-block; width: 10px; height: 10px; margin-bottom: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(203, 251, 69, .2); }
.idea-pop h3 { margin: 0 34px 8px 0; font-size: 24px; font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.idea-pop p { margin: 0 0 18px; font-size: 15px; line-height: 1.5; color: #B9B9B5; }
.idea-pop .btn { width: 100%; justify-content: space-between; }
.idea-pop__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--white); cursor: pointer; transition: background .25s; }
.idea-pop__close:hover { background: rgba(255, 255, 255, .2); }
.idea-pop__close svg { width: 12px; height: 12px; }
.menu-open .idea-pop { visibility: hidden; }
@media (max-width: 760px) {
  /* mobitel: kompaktna traka pri dnu, miče se povlačenjem udesno */
  .idea-pop { left: 10px; right: 10px; bottom: 10px; width: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 12px 12px 12px 16px; border-radius: 18px; }
  .idea-pop__dot, .idea-pop__close { display: none; }
  .idea-pop h3 { grid-column: 1; margin: 0; font-size: 15px; }
  .idea-pop p { grid-column: 1; margin: 0; font-size: 12px; line-height: 1.35; }
  .idea-pop .btn { grid-column: 2; grid-row: 1 / span 2; width: auto; padding: 4px 4px 4px 12px; gap: 8px; font-size: 13px; }
  .idea-pop .btn__arrow { width: 30px; height: 30px; }
}

/* pop-upovi na stranici projekta */
.project > .pvisit, .project > .pask { max-width: none; margin: 0; padding-inline: 0; }
.pvisit { position: fixed; left: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 30; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px !important; border-radius: 999px; background: rgba(10, 10, 10, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--white); font-size: 14px; font-weight: 500; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4);
  opacity: 0; transform: translateY(calc(100% + 40px)); transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .4s; pointer-events: none; }
.pvisit .link__arrow { --d: 16px; }
.pvisit.is-on { opacity: 1; transform: none; pointer-events: auto; }
.pask { position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 30; display: flex; align-items: center; gap: 8px; touch-action: pan-y;
  opacity: 0; transform: translateY(60px) scale(.85); transform-origin: 100% 100%; pointer-events: none; transition: opacity .3s, transform .3s; }
.pask.is-on { opacity: 1; transform: none; pointer-events: auto; animation: pask-pop .75s cubic-bezier(.34, 1.56, .64, 1) both; }
.pask.is-drag { animation: none; transition: none; }
.pask.is-settled { animation: none; }
@keyframes pask-pop { 0% { transform: translateY(60px) scale(.85); } 60% { transform: translateY(-6px) scale(1.03); } 100% { transform: none; } }
.pask__btn { padding: 8px 8px 8px 24px; gap: 16px; background: var(--accent); color: #0A0A0A; font-size: 16px; box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .5); }
.pask__btn .btn__arrow { width: 42px; height: 42px; background: #0A0A0A; color: var(--accent); }
.pask__close { order: -1; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(10, 10, 10, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--white); cursor: pointer; opacity: .7; transition: opacity .25s; }
.pask:hover .pask__close, .pask__close:focus-visible { opacity: 1; }
.pask__close svg { width: 12px; height: 12px; }
@media (max-width: 760px) {
  .pvisit { display: none !important; }
  .pask { right: 12px; bottom: 12px; }
  .pask__close { display: none; }      /* na mobitelu se miče povlačenjem udesno */
  .pask__btn { padding: 5px 5px 5px 16px; gap: 10px; font-size: 14px; }
  .pask__btn .btn__arrow { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .pask.is-on { animation: none; } .pvisit, .pask { transition: opacity .2s; } }

/* banner za kolačiće: plutajući, dolje na sredini, minimalan (inc/privatnost.php, assets/js/privola.js) */
.cc { position: fixed; left: 50%; bottom: 16px; z-index: 60; width: min(560px, calc(100vw - 24px)); padding: 8px 8px 8px 18px; border-radius: 18px; background: rgba(10, 10, 10, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--white); box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .6); font-size: 13px; line-height: 1.4; transform: translate(-50%, 16px); opacity: 0; transition: opacity .3s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.cc.is-on { opacity: 1; transform: translate(-50%, 0); }
.cc[hidden] { display: none; }
.cc__bar { display: flex; align-items: center; gap: 12px; }
.cc__text { flex: 1; margin: 0; color: #CFCFCB; }
.cc__text a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.cc__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.cc__btn { height: 34px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: transparent; color: var(--white); font: 500 13px/1 inherit; font-family: inherit; cursor: pointer; transition: background .2s, border-color .2s; }
.cc__btn:hover { background: rgba(255, 255, 255, .1); }
.cc__btn--ok { border-color: var(--accent); background: var(--accent); color: var(--black); }
.cc__btn--ok:hover { background: #d8ff6e; }
.cc__btn--link { border-color: transparent; padding: 0 8px; color: #CFCFCB; text-decoration: underline; text-underline-offset: 2px; }
.cc__btn--link:hover { background: none; color: var(--white); }
.cc__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cc__panel { display: grid; gap: 4px; margin: 10px 10px 6px 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .12); }
.cc__panel[hidden] { display: none; }
.cc__row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; cursor: pointer; color: #B9B9B5; }
.cc__row strong { display: block; color: var(--white); font-weight: 500; }
.cc__row input { position: absolute; opacity: 0; pointer-events: none; }
.cc__row i { position: relative; flex-shrink: 0; width: 36px; height: 20px; border-radius: 999px; background: rgba(255, 255, 255, .2); transition: background .2s; }
.cc__row i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); transition: transform .2s; }
.cc__row input:checked + i { background: var(--accent); }
.cc__row input:checked + i::after { transform: translateX(16px); background: var(--black); }
.cc__row input:disabled + i { opacity: .55; }
.cc__row input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.cc__save { justify-self: end; margin-top: 4px; }
/* dok je banner otvoren, plutajući pop-upovi čekaju */
.cc-open .idea-pop, .cc-open .pask, .cc-open .pvisit { visibility: hidden; }
@media (max-width: 600px) {
  .cc { bottom: 10px; padding: 12px 12px 10px 14px; border-radius: 16px; }
  .cc__bar { flex-wrap: wrap; gap: 8px; }
  .cc__text { flex-basis: 100%; }
  .cc__actions { width: 100%; }
  .cc__actions .cc__btn:not(.cc__btn--link) { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .cc { transition: opacity .2s; } }

/* tekstualne stranice: tablica (npr. kolačići u pravilima privatnosti) */
.sb-text .sb-table { width: 100%; margin: 8px 0 24px; overflow-x: auto; }
.sb-text table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; color: #3A3A38; }
.sb-text th, .sb-text td { padding: 10px 12px; border-bottom: 1px solid #E6E6E2; text-align: left; vertical-align: top; }
.sb-text th { color: var(--black); font-weight: 500; background: #F6F6F3; }
.sb-text td code { font-size: 13px; color: var(--black); }
.sb-text .sb-meta { color: #8A8A86; font-size: 14px; }
.sb-text h3 { font-size: 18px; font-weight: 500; margin: 24px 0 10px; color: var(--black); }
.footer__legal { display: inline-flex; flex-wrap: wrap; gap: 18px; }

/* stranica Cjenik: uvod + cjenik iz plugina Sidrene cijene ([striboss_hok_cjenik]) u bojama stranice */
.cjenik { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) var(--gutter) clamp(80px, 10vw, 140px); color: var(--black); }
.cjenik__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.cjenik__head .eyebrow { color: #5A5A56; }
.cjenik h1 { margin: 0 0 22px; font-size: clamp(44px, 6.4vw, 92px); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.cjenik h1 em { font-style: normal; color: #8A8A86; }
.cjenik__lead { margin: 0 0 32px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: #3A3A38; }
.cjenik__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.cjenik .shcu { --shcu-heading: #050505 !important; --shcu-head-bg: #050505 !important; --shcu-head-text: #F4F4F2 !important; --shcu-body-bg: #fff !important;
  --shcu-body-text: #3A3A38 !important; --shcu-border: #E6E6E2 !important; --shcu-archive-bg: #F7F7F4 !important; --shcu-archive-text: #3A3A38 !important; --shcu-accent: #050505 !important;
  margin: 0; font-size: 15px; }
.cjenik .shcu h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.02em; }
.cjenik .shcu-heading p { color: #8A8A86; }
.cjenik .shcu .shcu-download { gap: 10px; padding: 12px 20px; border: 0; border-radius: 999px; background: var(--accent); color: var(--black); font-weight: 500; text-decoration: none; transition: background .2s; }
.cjenik .shcu .shcu-download:hover { background: #d8ff6e; }
.cjenik .shcu-download span { font-size: 16px; }
.cjenik .shcu-scroll { border-radius: 20px; }
.cjenik .shcu thead th { padding-block: 16px; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.cjenik .shcu thead th:first-child { padding-left: 22px; }
.cjenik .shcu td { padding: 18px 16px; }
.cjenik .shcu td:first-child { padding-left: 22px; }
.cjenik .shcu td.shcu-col-name { color: var(--black); font-weight: 500; }
.cjenik .shcu td.shcu-col-price { color: var(--black); font-weight: 600; }
.cjenik .shcu tbody tr { transition: background .2s; }
.cjenik .shcu tbody tr:hover { background: #FAFAF7; }
.cjenik .shcu .shcu-col-note { color: #6A6A66; font-size: 14px; }
.cjenik .shcu a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.cjenik .shcu .shcu-tip-text { background: var(--black); border-radius: 10px; }
.cjenik .shcu .shcu-archive { margin-top: 28px; border-radius: 20px; }
.cjenik .shcu .shcu-archive > summary { font-weight: 500; }
.cjenik .shcu .shcu-archive-table { background: transparent; }
.cjenik .shcu .shcu-badge { border-color: transparent; background: var(--accent); color: var(--black); font-weight: 500; }
@media (max-width: 640px) { .cjenik .shcu td, .cjenik .shcu thead th { padding: 13px 12px; } .cjenik .shcu td:first-child, .cjenik .shcu thead th:first-child { padding-left: 14px; } }
