/* Simple Look — tema (prototip). Boje i razmaci su tokeni na :root. */
:root {
  --ink: #0c0e0a; --ink-2: #14170f; --ink-3: #1d2117; --ink-line: rgba(255,255,255,.1);
  --paper: #f4f5ef; --paper-2: #eaece1; --white: #fff;
  --lime: #c6e545; --lime-2: #b2d42b; --sage: #d4dda2;
  --text: #0c0e0a; --muted: #565c4f; --muted-d: #a8ae9c; --line: rgba(12,14,10,.12);
  --brand: var(--ink); --accent: var(--lime);
  --r-s: 6px; --r: 8px; --r-l: 10px;
  --sh: 0 2px 4px rgba(12,14,10,.04), 0 24px 48px -24px rgba(12,14,10,.25);
  --f: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Fraunces", Georgia, serif;
  --wrap: 1200px; --gut: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 17px/1.6 var(--f); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.025em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
em, .serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--lime-2); outline-offset: 3px; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec--alt { background: var(--white); }
.sec--dark { background: var(--ink); color: #fff; }
.sec--tight { padding-top: 0; }
.head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.head--c { margin-inline: auto; text-align: center; }
.head p:last-child { color: var(--muted); font-size: 1.1rem; margin: 0; }
.sec--dark .head p:last-child, .phero .lead { color: var(--muted-d); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: var(--r); }
.eyebrow--lime { color: var(--lime); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 640px; }

/* Dugmad i oznake */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--r); border: 1.5px solid transparent; font: 600 1rem/1.2 var(--f); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #d3ef5a; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--ghost { border-color: currentColor; background: transparent; }
.sec--dark .btn--ghost, .phero .btn--ghost, .hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .94rem; }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 1.08rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: var(--r); background: var(--paper-2); font-size: .76rem; font-weight: 600; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding: 0; list-style: none; }
.sec--dark .tag { background: var(--ink-3); color: var(--muted-d); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--white); font: 500 .95rem var(--f); color: var(--text); cursor: pointer; transition: .2s; }
.chip b { font-weight: 600; color: var(--muted); font-size: .85em; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-on b { color: var(--lime); }

/* Zaglavlje */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(12,14,10,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); color: #fff; border-bottom: 1px solid transparent; transition: border-color .3s; }
.hdr.is-scrolled { border-bottom-color: var(--ink-line); }
.hdr__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; color: #fff; flex: none; }
.logo__svg { width: 150px; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__list > li > a, .nav__btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: var(--r); border: 0; background: none; color: rgba(255,255,255,.82); font: 500 .97rem var(--f); text-decoration: none; cursor: pointer; transition: color .2s, background .2s; }
.nav__list > li > a:hover, .nav__btn:hover, .nav__btn[aria-expanded="true"] { color: #fff; background: var(--ink-3); }
.nav__list a[aria-current="page"] { color: var(--lime); }
.nav__btn .i { width: 16px; height: 16px; transition: transform .2s; }
.nav__btn[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav__dd { position: relative; }
.nav__sub { position: absolute; top: calc(100% + 10px); left: -8px; width: 330px; margin: 0; padding: 8px; list-style: none; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease); }
.nav__dd.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 12px 14px; border-radius: var(--r); text-decoration: none; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--ink-3); }
.nav__sub b { display: block; font-weight: 600; color: #fff; }
.nav__sub a[aria-current="page"] b { color: var(--lime); }
.nav__sub span { font-size: .86rem; color: var(--muted-d); }
.nav__foot { display: none; }
.hdr__tel { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.82); text-decoration: none; font-weight: 500; font-size: .95rem; }
.hdr__tel:hover { color: var(--lime); }
.burger { display: none; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; color: #fff; cursor: pointer; position: relative; }
.burger span:first-child, .burger span:first-child::before, .burger span:first-child::after { position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; border-radius: var(--r); transition: .25s var(--ease); }
.burger span:first-child { top: 21px; }
.burger span:first-child::before { content: ""; left: 0; top: -7px; }
.burger span:first-child::after { content: ""; left: 0; top: 7px; }
.burger[aria-expanded="true"] span:first-child { background: transparent; }
.burger[aria-expanded="true"] span:first-child::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:first-child::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1060px) {
  .hdr__tel span { display: none; }
  .nav__list > li > a, .nav__btn { padding: 10px 10px; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .hdr__cta { display: none; }
  .hdr__tel { margin-left: auto; width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--ink-3); }
  .nav { position: fixed; inset: 72px 0 0; margin: 0; padding: 16px var(--gut) 32px; background: var(--ink); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s var(--ease); }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--ink-line); }
  .nav__list > li > a, .nav__btn { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.15rem; border-radius: 0; }
  .nav__list > li > a:hover, .nav__btn:hover, .nav__btn[aria-expanded="true"] { background: none; }
  .nav__sub { position: static; width: auto; padding: 0 0 12px; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav__dd.is-open .nav__sub { display: block; }
  .nav__sub a { padding: 10px 4px 10px 14px; }
  .nav__foot { display: grid; gap: 14px; margin-top: 28px; }
  .nav__foot a:not(.btn) { color: var(--muted-d); text-decoration: none; }
  body.nav-open { overflow: hidden; }
}

/* Hero (početna) i hero podstranica */
.hero, .phero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before, .phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 80% at 70% 0%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 0%, #000 10%, transparent 75%); opacity: .55; }
.hero::after, .phero::after { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(198,229,69,.2), transparent 65%); }
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em, .phero h1 em, .sec--dark h2 em, .cta h2 em { color: var(--lime); }
.hero .lead { color: var(--muted-d); }
.pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 6px 14px 6px 6px; border-radius: var(--r); border: 1px solid var(--ink-line); background: var(--ink-2); font-size: .9rem; color: var(--muted-d); }
.pill b { padding: 3px 9px; border-radius: var(--r); background: var(--lime); color: var(--ink); font-size: .75rem; letter-spacing: .04em; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 32px 0 0; padding: 0; list-style: none; font-size: .93rem; color: var(--muted-d); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0e0a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }
.phero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 88px); }
.phero h1 { max-width: 900px; font-size: clamp(2.1rem, 5vw, 3.8rem); }
.phero--post h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.phero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; font-size: .88rem; color: var(--muted-d); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted-d); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.byline { display: flex; align-items: center; gap: 12px; margin: 24px 0 0; color: var(--muted-d); font-size: .95rem; }
.byline b { color: #fff; font-weight: 600; }
.av { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 700; font-size: .85rem; }
.av--lg { width: 56px; height: 56px; font-size: 1.05rem; }

/* Panel „uživo” (dekorativni primer) */
.panel { position: relative; padding: 22px; border-radius: var(--r); background: linear-gradient(180deg, var(--ink-2), var(--ink)); border: 1px solid var(--ink-line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.panel__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--lime); letter-spacing: .04em; text-transform: none; font-size: .85rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(198,229,69,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(198,229,69,0); } 100% { box-shadow: 0 0 0 0 rgba(198,229,69,0); } }
.panel__rows { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.panel__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px; border-radius: var(--r); background: rgba(255,255,255,.04); border: 1px solid var(--ink-line); font-size: .95rem; }
.panel__rows li span:last-child { color: var(--muted-d); text-align: right; }
.panel__rows .ok { color: var(--lime) !important; }
.panel__note { margin: 14px 0 0; padding: 14px 16px; border-radius: var(--r); background: var(--lime); color: var(--ink); font-size: .92rem; }
.panel__note b { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.panel__score { position: absolute; left: -30px; top: -26px; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--paper); color: var(--ink); text-align: center; line-height: 1.1; font-size: .68rem; font-weight: 600; box-shadow: var(--sh); }
.panel__score b { display: block; font-size: 1.7rem; letter-spacing: -.03em; }
.panel__cap { margin: 12px 0 0; font-size: .78rem; color: var(--muted-d); text-align: right; opacity: .7; }

/* Traka klijenata */
.marquee { padding: 26px 0; background: var(--ink); color: var(--muted-d); border-top: 1px solid var(--ink-line); overflow: hidden; }
.marquee__label { margin: 0 0 14px; text-align: center; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.marquee__track { display: flex; width: max-content; animation: scroll 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 48px; margin: 0; padding: 0 24px; list-style: none; white-space: nowrap; font-size: 1.05rem; font-weight: 500; }
.marquee li::before { content: "∞"; margin-right: 14px; color: var(--lime); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Brojevi */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat { padding: 28px 26px; background: var(--white); }
.stat b { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; }
.stat span { color: var(--muted); font-size: .95rem; }
.sec--dark .stats { background: var(--ink-line); border-color: var(--ink-line); }
.sec--dark .stat { background: var(--ink-2); }
.sec--dark .stat span { color: var(--muted-d); }

/* Kartice i mreže */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; padding: clamp(24px, 3vw, 32px); border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.sec--alt .card { background: var(--paper); }
.sec--dark .card { background: var(--ink-2); border-color: var(--ink-line); }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); }
.sec--dark .card p { color: var(--muted-d); }
.card__ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: var(--r); background: var(--ink); color: var(--lime); }
.card__ico .i { width: 22px; height: 22px; }
.sec--dark .card__ico { background: var(--lime); color: var(--ink); }
.card__num { display: block; margin-bottom: 14px; font-family: var(--f-serif); font-style: italic; font-size: 1.6rem; color: var(--lime-2); }
.sec--dark .card__num { color: var(--lime); }
a.card { text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: transparent; }
.card__more { display: inline-flex; gap: 6px; margin-top: 18px; font-weight: 600; font-size: .95rem; }
a.card:hover .card__more { color: var(--lime-2); }

/* Usluge (bento) */
.svc { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.svc .card { grid-column: span 2; display: flex; flex-direction: column; }
.svc .card--big { grid-column: span 4; background: var(--ink); color: #fff; border-color: var(--ink); }
.svc .card--big p { color: var(--muted-d); }
.svc .card--big .tag { background: var(--ink-3); color: var(--muted-d); }
.svc .card--big .card__ico { background: var(--lime); color: var(--ink); }
.svc .card--wide { grid-column: span 3; }
.svc .card .tags { margin-top: auto; padding-top: 18px; }
.code { margin-top: auto; padding: 14px 16px; border-radius: var(--r); background: var(--ink); color: var(--sage); font: 500 .82rem/1.6 ui-monospace, "Cascadia Code", Consolas, monospace; overflow-x: auto; }
.code b { color: var(--lime); font-weight: 500; }

/* Manifest / AI stav */
.manifest { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.quote { margin: 0; position: relative; }
.quote .quote__big { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.2; color: #fff; margin-bottom: 28px; }
.quote__big span { color: var(--lime); }
.quote p { color: var(--muted-d); font-size: 1.05rem; }
.quote p strong { color: #fff; font-weight: 600; }
.quote footer { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: .92rem; color: var(--muted-d); }
.quote footer b { display: block; color: #fff; font-size: 1rem; }
.curves { display: grid; gap: 16px; }
.curve { padding: 22px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--ink-line); }
.curve__h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.curve__h b { font-size: 1.05rem; }
.curve__h span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: 3px 9px; border-radius: var(--r); }
.curve--bad .curve__h span { background: rgba(255,107,87,.15); color: #ff8a78; }
.curve--good .curve__h span { background: rgba(198,229,69,.15); color: var(--lime); }
.curve svg { width: 100%; height: 84px; margin-bottom: 14px; }
.curve ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .92rem; color: var(--muted-d); }
.curve li { display: flex; gap: 8px; }
.curve--bad li::before { content: "×"; color: #ff8a78; font-weight: 700; }
.curve--good li::before { content: "✓"; color: var(--lime); font-weight: 700; }
.analog { margin-top: clamp(40px, 6vw, 72px); }
.analog .card h3 { color: var(--lime); }

/* Krug ∞ */
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: loop; border-top: 1px solid var(--line); }
.loop li { position: relative; padding: 28px 24px 0 0; list-style: none; counter-increment: loop; }
.loop li::before { content: "0" counter(loop); display: block; margin-bottom: 14px; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .1em; }
.loop li::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--lime-2); }
.loop { padding: 0; margin: 0; }
.loop p { color: var(--muted); margin: 0; }
.loop__back { margin-top: 28px; font-size: .95rem; color: var(--muted); }
.loop__back b { color: var(--text); }

/* Reference */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work { display: flex; flex-direction: column; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); overflow: hidden; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.sec--alt .work { background: var(--paper); }
.work:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.work[hidden] { display: none; }
.work__shot { display: block; background: var(--paper-2); }
.work__bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: var(--ink); font-size: .74rem; color: var(--muted-d); }
.work__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.work__bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work__shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.work:hover .work__shot img { transform: scale(1.03); }
.work__ph { display: grid; place-items: center; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--ink-2), var(--ink-3)); color: var(--lime); font-family: var(--f-serif); font-style: italic; font-size: 1.6rem; }
.work__body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; flex: 1; }
.work__name { font-weight: 600; font-size: 1.08rem; }
.work__desc { color: var(--muted); font-size: .93rem; margin-bottom: 10px; }
.work__body .tag { margin-top: auto; align-self: flex-start; }
.more { display: flex; justify-content: center; margin-top: 36px; }

/* Simple Media */
.media { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.media .stats { grid-template-columns: repeat(3, 1fr); margin-top: 32px; }
.media .stat { padding: 20px; }
.media .stat b { font-size: 2.2rem; }
.portals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.portal { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--ink-line); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.portal:hover { border-color: var(--lime); transform: translateY(-2px); }
.portal--lead { grid-column: 1 / -1; padding: 26px; background: var(--lime); color: var(--ink); border-color: var(--lime); }
.portal__badge { align-self: flex-start; margin-bottom: 10px; padding: 3px 10px; border-radius: var(--r); background: var(--ink); color: var(--lime); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.portal__area { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--muted-d); }
.portal--lead .portal__area { color: rgba(12,14,10,.6); }
.portal__name { font-size: 1.1rem; font-weight: 600; }
.portal--lead .portal__name { font-size: 1.7rem; letter-spacing: -.02em; }
.portal__url { font-size: .88rem; color: var(--muted-d); }
.portal--lead .portal__url { color: var(--ink); }

/* Koraci */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps--6 { grid-template-columns: repeat(3, 1fr); }
.steps li { padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.sec--alt .steps li { background: var(--paper); }
.sec--dark .steps li { background: var(--ink-2); border-color: var(--ink-line); }
.steps b { display: block; margin-bottom: 14px; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 2rem; line-height: 1; color: var(--lime-2); }
.sec--dark .steps b { color: var(--lime); }
.steps h3 { font-size: 1.08rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.sec--dark .steps p { color: var(--muted-d); }

/* Citat + garancije */
.promise { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; margin-top: clamp(48px, 7vw, 88px); }
.promise blockquote { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; }
.promise blockquote footer { display: flex; align-items: center; gap: 12px; margin-top: 24px; font: 400 .92rem var(--f); color: var(--muted); }
.promise blockquote footer b { display: block; color: var(--text); font-weight: 600; }
.promise ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.promise li { padding: 20px 22px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.promise li b { display: block; margin-bottom: 4px; }
.promise li span { color: var(--muted); font-size: .95rem; }

/* Blog kartice */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.sec--alt .post { background: var(--paper); }
.post:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.post[hidden] { display: none; }
.post__cat { align-self: flex-start; padding: 4px 10px; border-radius: var(--r); background: var(--ink); color: var(--lime); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.post__title { font-size: 1.22rem; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.post__ex { color: var(--muted); font-size: .95rem; }
.post__meta { margin-top: auto; padding-top: 12px; font-size: .85rem; color: var(--muted); }

/* Pitanja */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 1.08rem; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0e0a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .25s var(--ease), background-color .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.faq__a { padding: 0 48px 22px 0; color: var(--muted); }
.faq__a p:last-child { margin: 0; }
.faq .head a { color: var(--text); font-weight: 600; }

/* Poređenje */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .97rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 600; }
.compare thead th:nth-child(2) { color: var(--lime); }
.compare tbody th { font-weight: 600; color: var(--muted); width: 26%; }
.compare tr:last-child > * { border-bottom: 0; }

/* Paketi */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { display: flex; flex-direction: column; padding: 30px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.price--hi { background: var(--ink); color: #fff; border-color: var(--ink); position: relative; }
.price__badge { position: absolute; top: -13px; left: 30px; padding: 5px 12px; border-radius: var(--r); background: var(--lime); color: var(--ink); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.price h3 { font-size: 1.4rem; margin-bottom: 4px; }
.price__for { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.price--hi .price__for, .price--hi .price__note { color: var(--muted-d); }
.price__amount { font-size: 2rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.price__note { margin: 8px 0 22px; font-size: .88rem; color: var(--muted); }
.price ul { margin: 0 0 26px; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 10px; font-size: .96rem; }
.price--hi ul { border-color: var(--ink-line); }
.price li { display: flex; gap: 10px; }
.price li::before { content: "✓"; color: var(--lime-2); font-weight: 700; }
.price--hi li::before { color: var(--lime); }
.price .btn { margin-top: auto; }
.price:not(.price--hi) .btn { background: var(--ink); color: #fff; }
.note { margin-top: 24px; padding: 18px 22px; border-radius: var(--r); background: var(--paper-2); color: var(--muted); font-size: .95rem; }

/* Tehnologije */
.stack { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.stack li { padding: 10px 18px; border-radius: var(--r); border: 1px solid var(--ink-line); background: var(--ink-2); font-weight: 500; }

/* Vremenska linija (O nama) */
.timeline { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 36px 32px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--lime-2); }
.timeline li:last-child { padding-bottom: 0; }
.timeline small { display: block; margin-bottom: 4px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-size: .76rem; }
.timeline p { margin: 0; color: var(--muted); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.story p { font-size: 1.08rem; }
.story aside { padding: 28px; border-radius: var(--r); background: var(--ink); color: #fff; align-self: start; }
.story aside p { font-family: var(--f-serif); font-style: italic; font-size: 1.35rem; line-height: 1.35; margin: 0; }
.story aside p span { color: var(--lime); font-family: var(--f); font-style: normal; font-size: 2.6rem; display: block; line-height: 1; margin-bottom: 12px; }
.founder { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.founder .av { width: 120px; height: 120px; font-size: 2.2rem; }

/* Mockup kartice u hero-u podstranica */
.mock { padding: 20px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--ink-line); }
.mock__search { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r); background: #fff; color: var(--ink); font-size: .95rem; margin-bottom: 14px; }
.mock__search .i { color: var(--muted); }
.mock ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.mock li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: rgba(255,255,255,.04); border: 1px solid var(--ink-line); font-size: .92rem; color: var(--muted-d); }
.mock li b { color: #fff; font-weight: 600; display: block; }
.mock li.is-you { border-color: var(--lime); background: rgba(198,229,69,.08); }
.mock .badge { padding: 3px 10px; border-radius: var(--r); background: var(--lime); color: var(--ink); font-size: .75rem; font-weight: 700; }
.mock .badge--mute { background: var(--ink-3); color: var(--muted-d); }
.mock__foot { display: flex; justify-content: space-between; margin-top: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--lime); color: var(--ink); font-weight: 600; }
.shots { position: relative; min-height: 340px; }
.shots img { position: absolute; width: 74%; border-radius: var(--r); border: 1px solid var(--ink-line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.shots img:nth-child(1) { top: 0; right: 0; }
.shots img:nth-child(2) { top: 26%; left: 0; }
.shots img:nth-child(3) { bottom: 0; right: 8%; width: 60%; }

/* Do/Don't */
.dodont .card { border-top: 4px solid var(--line); }
.dodont .card--no { border-top-color: #ff8a78; }
.dodont .card--yes { border-top-color: var(--lime-2); }
.dodont .card--measure { border-top-color: var(--ink); }

/* Članak */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.prose { max-width: 720px; font-size: 1.1rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 2em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--ink); text-decoration-color: var(--lime-2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--lime-2); }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--lime); font-family: var(--f-serif); font-style: italic; font-size: 1.25rem; line-height: 1.5; }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.6em 0; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.prose__fig { margin: 2em 0; }
.prose__fig img { width: 100%; border-radius: var(--r); }
.prose__fig figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.tldr { margin: 0 0 2em; padding: 22px 26px; border-radius: var(--r); background: var(--ink); color: #fff; }
.tldr b { display: block; margin-bottom: 6px; color: var(--lime); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.tldr p { margin: 0; color: #e4e8d8; }
.author { display: flex; gap: 18px; align-items: center; margin-top: 3em; padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); font-size: .98rem; line-height: 1.55; }
.author p { margin: 0; color: var(--muted); }
.author b { color: var(--text); }
.article__side { position: sticky; top: 100px; display: grid; gap: 20px; }
.toc { padding: 22px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.toc__t, .side-cta__t { margin: 0 0 12px; font-weight: 700; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: .93rem; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a.is-on { color: var(--text); }
.side-cta { padding: 22px; border-radius: var(--r); background: var(--ink); color: #fff; }
.side-cta p:not(.side-cta__t) { color: var(--muted-d); font-size: .95rem; }

/* Forma */
.form-wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form { padding: clamp(24px, 4vw, 40px); border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.form fieldset { margin: 0 0 32px; padding: 0; border: 0; }
.form legend { padding: 0; margin-bottom: 4px; font-size: 1.2rem; font-weight: 600; }
.form legend + p { margin: 0 0 18px; color: var(--muted); font-size: .95rem; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt span { display: block; height: 100%; padding: 14px 16px; border-radius: var(--r); border: 1.5px solid var(--line); cursor: pointer; transition: .2s; }
.opt span b { display: block; font-weight: 600; }
.opt span small { color: var(--muted); font-size: .86rem; }
.opt input:checked + span { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:focus-visible + span { outline: 3px solid var(--lime-2); outline-offset: 2px; }
.opts--pills { display: flex; flex-wrap: wrap; }
.opts--pills .opt span { padding: 9px 16px; border-radius: var(--r); font-weight: 500; font-size: .95rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field > span { font-size: .9rem; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 15px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--paper); font: inherit; font-size: 1rem; color: var(--text); transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field .err { display: none; color: #c0392b; font-size: .85rem; }
.field.is-bad input, .field.is-bad textarea { border-color: #c0392b; }
.field.is-bad .err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 24px; font-size: .93rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.check.is-bad { color: #c0392b; }
.hp { position: absolute; left: -9999px; }
.form__status { margin: 14px 0 0; font-weight: 500; }
.form__done { text-align: center; padding: 40px 10px; }
.form__done .av { width: 64px; height: 64px; margin: 0 auto 18px; font-size: 1.6rem; }
.contact-side { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); text-decoration: none; }
a.contact-card:hover { border-color: var(--ink); }
.contact-card small { display: block; color: var(--muted); font-size: .82rem; }
.contact-card b { font-weight: 600; }
.contact-card .card__ico { margin: 0; width: 44px; height: 44px; }
.next { margin: 0; padding: 26px; border-radius: var(--r); background: var(--ink); color: #fff; list-style: none; display: grid; gap: 18px; counter-reset: n; }
.next li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; gap: 4px 12px; }
.next li::before { content: counter(n); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 700; font-size: .9rem; }
.next span { color: var(--muted-d); font-size: .92rem; }

/* CTA traka */
.cta { background: var(--ink); color: #fff; padding: clamp(64px, 9vw, 112px) 0; position: relative; overflow: hidden; isolation: isolate; }
.cta::after { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; left: -250px; bottom: -420px; border-radius: 50%; background: radial-gradient(circle, rgba(198,229,69,.18), transparent 65%); }
.cta__in { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: end; }
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-bottom: 20px; }
.cta__text { color: var(--muted-d); font-size: 1.1rem; max-width: 600px; margin: 0; }
.cta__side { display: grid; gap: 16px; justify-items: start; }
.cta__tel { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.cta__tel:hover { color: var(--lime); }
.cta__facts { margin: 0; padding: 0; list-style: none; color: var(--muted-d); font-size: .93rem; display: grid; gap: 4px; }
.cta__facts a { text-decoration: none; }

/* Podnožje */
.ftr { background: var(--ink-2); color: var(--muted-d); padding: 64px 0 28px; font-size: .95rem; border-top: 1px solid var(--ink-line); }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.ftr__brand p { max-width: 380px; margin: 18px 0 0; }
.ftr__live { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-size: .9rem; }
.ftr__title { margin: 0 0 14px; color: #fff; font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.ftr ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--lime); }
.ftr__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ink-line); }

/* 404 */
.nf { min-height: 60vh; display: grid; align-items: center; }
.nf__inf { font-size: clamp(6rem, 18vw, 12rem); line-height: 1; color: var(--lime); margin-bottom: 8px; }

/* Pojavljivanje pri skrolu */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1060px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .article { grid-template-columns: 1fr; }
  .article__side { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__grid, .phero__grid, .manifest, .media, .faq, .promise, .story, .form-wrap, .cta__in { grid-template-columns: 1fr; }
  .grid--3, .grid--4, .work-grid, .post-grid, .prices { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: repeat(2, 1fr); }
  .svc .card, .svc .card--wide { grid-column: span 1; }
  .svc .card--big { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .loop { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .panel { max-width: 460px; margin-left: 26px; }
  .shots { min-height: 260px; max-width: 520px; }
  .prices .price--hi { order: -1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4, .work-grid, .post-grid, .prices, .svc, .steps, .steps--4, .steps--6, .portals, .loop, .opts, .fields, .article__side { grid-template-columns: 1fr; }
  .media .stats { grid-template-columns: repeat(3, 1fr); }
  .media .stat { padding: 16px 12px; }
  .media .stat b { font-size: 1.7rem; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .ftr__brand { grid-column: 1 / -1; }
  .btns .btn { flex: 1 1 100%; }
  .panel { margin-left: 0; }
  .panel__score { display: none; }
  .faq__a { padding-right: 0; }
  .founder { grid-template-columns: 1fr; }
  .founder .av { width: 88px; height: 88px; font-size: 1.6rem; }
  .crumbs [aria-current] { max-width: 22ch; }
}

/* Dopune */
.stats--2 { grid-template-columns: 1fr 1fr; }
.stats--3 { grid-template-columns: repeat(3, 1fr); }
.phero .stats { background: var(--ink-line); border-color: var(--ink-line); }
.phero .stat { background: var(--ink-2); }
.phero .stat span { color: var(--muted-d); }
.sec--flush { padding-top: 0; }
.fields--gap { margin-bottom: 24px; }
.founder__skills { margin-top: 40px; }
.contact-side .faq__list { margin-top: 12px; }
.card .tag + h3 { margin-top: 14px; }
.mock .code { margin-top: 14px; }
.sec--dark .head a { color: #fff; }
@media (max-width: 620px) { .stats--2, .stats--3 { grid-template-columns: 1fr 1fr; } }
.ftr__grid--short { grid-template-columns: 2fr 1fr; }
.promise--top { margin-top: 0; }
.sec--small { padding: 28px 0; }
.privacy summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.privacy .prose { margin-top: 18px; font-size: 1rem; }
@media (max-width: 620px) { .ftr__grid--short { grid-template-columns: 1fr; } }

/* ===== Početna: animacije i radionica uživo ===== */
.head--c { text-align: center; margin-inline: auto; }
.head--c .eyebrow { justify-content: center; }
.hero--x { padding-bottom: 0; }
.hero--x .hero__grid { padding-bottom: clamp(56px, 7vw, 88px); }
.hero--x h1 { font-size: clamp(2.3rem, 5.2vw, 4.3rem); }
.hero__glow { position: absolute; top: -30%; right: -15%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; z-index: -1; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(198,229,69,0), rgba(198,229,69,.22), rgba(212,221,162,.08), rgba(198,229,69,0) 70%); filter: blur(60px); border-radius: 50%; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pill .dot { width: 7px; height: 7px; }
/* Reč koja se menja ima svoj red fiksne visine — ništa ispod se ne pomera */
.rot { display: block; position: relative; height: 1.12em; white-space: nowrap; }
.rot em { position: relative; display: inline-block; color: var(--lime); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.rot.is-out em { opacity: 0; transform: translateY(.35em); }
.rot em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em; border-radius: var(--r); background: var(--lime); opacity: .35; transform-origin: left; animation: bar 2.6s var(--ease) infinite; }
@keyframes bar { 0% { transform: scaleX(0); } 40%, 100% { transform: scaleX(1); } }

/* Radionica uživo */
.ops { position: relative; padding: 20px; border-radius: var(--r); background: linear-gradient(180deg, rgba(29,33,23,.92), rgba(12,14,10,.96)); border: 1px solid rgba(198,229,69,.22); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }
.ops__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); }
.ops__title { display: inline-flex; align-items: center; gap: 8px; }
.logo-inf { color: var(--lime); font-size: 1.3rem; letter-spacing: 0; line-height: 1; }
.ops__list { position: relative; height: 312px; margin: 0; padding: 0; list-style: none; overflow: hidden; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.ops__item { position: absolute; left: 0; right: 0; top: 0; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r); background: rgba(255,255,255,.035); border: 1px solid var(--ink-line); transition: transform .6s var(--ease), opacity .6s var(--ease); }
.ops__item.is-new { opacity: 0; }
.ops__item b { display: block; color: #fff; font-weight: 600; font-size: .93rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ops__item small { color: var(--muted-d); font-size: .8rem; }
.ops__item > span:nth-child(2) { min-width: 0; }
.t { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r); font-style: normal; font-size: .95rem; }
.t--msg { background: rgba(120,170,255,.15); color: #9cc0ff; }
.t--sup { background: rgba(198,229,69,.15); color: var(--lime); }
.t--fix { background: rgba(255,138,120,.15); color: #ff9d8d; }
.t--req { background: rgba(212,180,255,.15); color: #d3b6ff; }
.t--upd { background: rgba(120,170,255,.15); color: #9cc0ff; }
.t--cfg { background: rgba(198,229,69,.15); color: var(--lime); }
.t--mon { background: rgba(212,180,255,.15); color: #d3b6ff; }
.st { padding: 4px 10px; border-radius: var(--r); font-size: .72rem; font-weight: 700; white-space: nowrap; transition: background .3s, color .3s; }
.st--0 { background: var(--ink-3); color: var(--muted-d); }
.st--1 { background: rgba(255,200,80,.15); color: #ffd36b; }
.st--2 { background: var(--lime); color: var(--ink); }
.ops__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.ops__stats div { padding: 12px; border-radius: var(--r); background: rgba(255,255,255,.035); border: 1px solid var(--ink-line); }
.ops__stats b { display: block; color: #fff; font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.ops__stats span { font-size: .76rem; color: var(--muted-d); }
.ops__cap, .board__cap { margin: 10px 0 0; font-size: .75rem; color: var(--muted-d); opacity: .65; text-align: right; }

.ticker { position: relative; border-top: 1px solid var(--ink-line); padding: 18px 0; overflow: hidden; background: rgba(0,0,0,.25); }
.ticker__track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 600; color: rgba(255,255,255,.85); white-space: nowrap; }
.ticker span::after { content: "∞"; color: var(--lime); font-weight: 400; }

/* Usluge sa reflektorom koji prati miš */
.svx { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svx__c { position: relative; padding: 30px 28px 28px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.svx__c::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(198,229,69,.28), transparent 60%); }
.svx__c:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: rgba(178,212,43,.6); }
.svx__c:hover::before { opacity: 1; }
.svx__n { position: absolute; top: 22px; right: 26px; font-family: var(--f-serif); font-style: italic; font-size: 1.5rem; color: var(--paper-2); transition: color .35s; }
.svx__c:hover .svx__n { color: var(--lime-2); }
.svx__i { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border-radius: var(--r); background: var(--ink); color: var(--lime); transition: transform .45s var(--ease); }
.svx__i .i { width: 24px; height: 24px; }
.svx__c:hover .svx__i { transform: rotate(-8deg) scale(1.06); }
.svx__c h3 { font-size: 1.28rem; margin-bottom: 10px; }
.svx__c p { margin: 0; color: var(--muted); }
.svx__c--hi { background: var(--ink); color: #fff; border-color: var(--ink); }
.svx__c--hi p { color: var(--muted-d); }
.svx__c--hi .svx__i { background: var(--lime); color: var(--ink); }
.svx__c--hi .svx__n { color: var(--ink-3); }

/* Tabla zahteva */
.board-sec { overflow: hidden; }
.board-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.board-head .head { margin: 0; }
.board-legend { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: .9rem; color: var(--muted-d); }
.board-legend li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: var(--r); border: 1px solid var(--ink-line); }
.board-legend .t { width: 22px; height: 22px; border-radius: var(--r); }
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.board__col { padding: 14px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--ink-line); min-height: 330px; }
.board__h { display: flex; justify-content: space-between; margin: 0 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); }
.board__h span { min-width: 24px; padding: 1px 8px; border-radius: var(--r); background: var(--ink-3); text-align: center; color: #fff; }
.board__col:last-child .board__h span { background: var(--lime); color: var(--ink); }
.board__list { display: grid; gap: 10px; }
.tk { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--ink-3); border: 1px solid var(--ink-line); animation: tkIn .55s var(--ease); }
.tk b { display: block; font-size: .9rem; font-weight: 600; line-height: 1.3; }
.tk small { color: var(--muted-d); font-size: .78rem; }
.tk .t { width: 30px; height: 30px; font-size: .85rem; }
.board__col:last-child .tk { border-color: rgba(198,229,69,.35); }
@keyframes tkIn { from { opacity: 0; transform: translateY(-10px) scale(.96); } to { opacity: 1; transform: none; } }

.stats--big .stat b { font-size: clamp(2.6rem, 5vw, 4rem); }

/* Beskonačnost */
.loopx { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.loopx .head { margin: 0; }

.stack--light { justify-content: center; }
.stack--light li { background: var(--white); border-color: var(--line); transition: transform .25s var(--ease), border-color .25s; }
.stack--light li:hover { transform: translateY(-3px); border-color: var(--ink); }

@media (max-width: 1060px) { .board { grid-template-columns: repeat(2, 1fr); } .board__col { min-height: 220px; } }
@media (max-width: 900px) { .svx { grid-template-columns: repeat(2, 1fr); } .loopx { grid-template-columns: 1fr; } .ops { max-width: 520px; } }
@media (max-width: 620px) {
  .svx { grid-template-columns: 1fr; }
  .board { grid-template-columns: 1fr 1fr; gap: 8px; }
  .board__col:nth-child(2), .board__col:nth-child(3) { display: none; }
  .board__col { padding: 10px; min-height: 0; }
  .tk { grid-template-columns: 1fr; padding: 10px; }
  .tk .t { display: none; }
  .ops__list { height: 280px; }
}

/* Ciklus ∞ — traka se puni, usluge zasvetle redom */
.inf3 { position: relative; }
.inf3__svg { width: 100%; height: auto; overflow: visible; }
.inf3__track { fill: none; stroke: var(--paper-2); stroke-width: 26; stroke-linecap: round; }
.inf3__fill { fill: none; stroke: var(--lime-2); stroke-width: 26; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; transition: opacity .5s; }
.inf3__fill.is-fading { opacity: 0; }
.inf3__head { fill: #fff; stroke: var(--lime-2); stroke-width: 4; filter: drop-shadow(0 0 6px rgba(178,212,43,.8)); transition: opacity .5s; }
.inf3__chip rect { fill: var(--ink); transition: fill .45s var(--ease); filter: drop-shadow(0 6px 10px rgba(12,14,10,.25)); }
.inf3__chip text { fill: #fff; font: 600 12.5px var(--f); letter-spacing: -.01em; transition: fill .45s var(--ease); }
.inf3__chip { transition: transform .45s var(--ease); }
.inf3__chip.is-on rect { fill: var(--lime); stroke: #fff; stroke-width: 2.5; }
.inf3__chip.is-on text { fill: var(--ink); }

/* Završno doterivanje: oštre ivice, tanke linije, sjaj */
.hero--x h1 { letter-spacing: -.045em; line-height: 1.04; }
.rot em { background: linear-gradient(90deg, #c6e545, #e4f59a 50%, #c6e545); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shine 4s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.btn--lime { box-shadow: 0 0 0 0 rgba(198,229,69,0); }
.btn--lime:hover { box-shadow: 0 10px 30px -8px rgba(198,229,69,.55); }
.pill { padding: 6px 14px 6px 6px; }
.svx { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svx__c { border: 0; }
.svx__c::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--lime-2); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.svx__c:hover { transform: none; box-shadow: 0 30px 60px -30px rgba(12,14,10,.35); z-index: 1; }
.svx__c:hover::after { transform: scaleX(1); }
.svx__c--hi::after { background: var(--lime); }
.ops { border-color: rgba(198,229,69,.28); }
.ops::after { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--lime), transparent); }
.board__col { border-top: 2px solid var(--ink-3); }
.board__col:last-child { border-top-color: var(--lime); }
.stats--big { border-radius: var(--r); }
.stats--big .stat b { letter-spacing: -.05em; }
.stack--light li { padding: 10px 16px; font-size: .95rem; }
@media (max-width: 620px) { .ops__item b { white-space: normal; line-height: 1.3; } .ops__list { height: 330px; } .ops__stats span { font-size: .7rem; } }

/* Mreža tačaka umesto mreže kvadrata */
.net { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.has-net::before { display: none; }

/* ===== Kontakt: brze akcije, pločice usluga, napredak ===== */
.phero--contact .phero__grid { align-items: end; }
.qa { display: grid; gap: 10px; }
.qa__c { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: rgba(255,255,255,.04); border: 1px solid var(--ink-line); text-decoration: none; overflow: hidden; transition: border-color .3s, transform .3s var(--ease), background .3s; }
.qa__c::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(198,229,69,.14), transparent 60%); transform: translateX(-100%); transition: transform .5s var(--ease); }
.qa__c:hover { border-color: rgba(198,229,69,.6); transform: translateX(4px); }
.qa__c:hover::before { transform: none; }
.qa__c small { display: block; color: var(--muted-d); font-size: .82rem; }
.qa__c b { font-size: 1.08rem; font-weight: 600; }
.qa__i { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r); background: var(--lime); color: var(--ink); }
.qa__i .i { width: 22px; height: 22px; }
.qa__c--hot .qa__i { background: #ff8a78; }
.qa__go { font-size: 1.2rem; color: var(--lime); transition: transform .3s var(--ease); }
.qa__c:hover .qa__go { transform: translateX(4px); }
/* animacije ikonica: telefon zvoni, koverta se klati, ključ se okreće */
[data-anim="ring"] .qa__i .i { animation: ring 2.4s ease-in-out infinite; transform-origin: 50% 50%; }
[data-anim="ring"] .qa__i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--lime); animation: ripple 2.4s ease-out infinite; }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 64% { transform: rotate(-14deg); } 68% { transform: rotate(12deg); } 72% { transform: rotate(-10deg); } 76% { transform: rotate(8deg); } 80% { transform: rotate(0); } }
@keyframes ripple { 0% { opacity: .8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.5); } }
[data-anim="mail"]:hover .qa__i .i { animation: wiggle .6s ease-in-out; }
@keyframes wiggle { 25% { transform: translateY(-3px) rotate(-6deg); } 75% { transform: translateY(-1px) rotate(5deg); } }
[data-anim="fix"] .qa__i .i { animation: wrench 3s ease-in-out infinite; transform-origin: 30% 70%; }
@keyframes wrench { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-28deg); } 86% { transform: rotate(10deg); } 92% { transform: rotate(-6deg); } }

.form--x { position: relative; padding-top: 30px; overflow: hidden; }
.prog { position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--paper-2); }
.prog__bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--lime-2), var(--lime)); transition: width .6s var(--ease); box-shadow: 0 0 12px rgba(178,212,43,.6); }
.prog__t { display: flex; justify-content: space-between; margin: 0 0 22px; font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.form legend { display: flex; align-items: center; gap: 12px; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: .9rem; font-weight: 700; flex: none; transition: background .3s, color .3s; }
fieldset.is-done .num { background: var(--lime); color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; inset: 0; }
.tile__in { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; height: 100%; padding: 16px 14px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--white); cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease), background .25s; }
.tile__in:hover { border-color: rgba(12,14,10,.35); transform: translateY(-2px); }
.tile__i { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 10px; border-radius: var(--r); background: var(--paper); color: var(--ink); transition: background .3s, color .3s, transform .4s var(--ease); }
.tile__in b { font-size: .98rem; font-weight: 600; line-height: 1.25; }
.tile__in small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.tile input:checked + .tile__in { border-color: var(--ink); background: var(--paper); box-shadow: 0 0 0 1px var(--ink), 0 14px 28px -18px rgba(12,14,10,.5); }
.tile input:checked + .tile__in .tile__i { background: var(--ink); color: var(--lime); transform: scale(1.06) rotate(-6deg); }
.tile input:focus-visible + .tile__in { outline: 3px solid var(--lime-2); outline-offset: 2px; }
.tile--hot input:checked + .tile__in .tile__i { background: #ff8a78; color: var(--ink); }
.btn--send { gap: 12px; }
.btn--send .i { transition: transform .45s var(--ease); }
.btn--send:hover .i { transform: translate(4px, -4px) rotate(8deg); }
.form__done { padding: 48px 10px; }
.done-check { width: 84px; height: 84px; margin: 0 auto 18px; }
.done-check circle { fill: var(--lime); opacity: .2; transform-origin: center; animation: pop .6s var(--ease) both; }
.done-check path { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .3s var(--ease) forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: .2; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.person { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.person b { display: block; }
.person small { color: var(--muted); font-size: .85rem; }
.person__av { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--lime); font-weight: 700; flex: none; }
.person__av i { position: absolute; right: 1px; bottom: 1px; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); border: 3px solid var(--white); animation: pulse 2s infinite; }
.next--x li::before { transition: transform .4s var(--ease); }
.next--x li:hover::before { transform: scale(1.15); }
.hours { padding: 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.hours p { margin: 0 0 10px; }
.hours p:last-child { margin: 0; }
.hours b { color: var(--text); }
.hours__t, .hours__a { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
@media (max-width: 1060px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tile__in { padding: 12px; } .tile__i { width: 36px; height: 36px; } }

/* ===== Ikonice se „crtaju” kad se pojave i na prelaz mišem ===== */
.draw-i .i * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .draw-i:not(.is-drawn) .i * { stroke-dashoffset: 1; }
.draw-i.is-drawn .i * { transition: stroke-dashoffset 1.1s var(--ease); }
.svx__c:hover .svx__i .i *, .tile__in:hover .tile__i .i * { animation: redraw 1s var(--ease); }
@keyframes redraw { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
.svx__c:hover .svx__i { animation: bob 1s var(--ease); }
@keyframes bob { 30% { transform: translateY(-4px) rotate(-8deg); } 60% { transform: translateY(0) rotate(4deg); } 100% { transform: rotate(-8deg) scale(1.06); } }

/* ===== Bočni panel sa opisom usluge ===== */
.svx__c { cursor: pointer; }
.svx__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 0; border: 0; background: none; font: 600 .92rem var(--f); color: var(--text); cursor: pointer; }
.svx__more::after { content: "→"; transition: transform .3s var(--ease); }
.svx__c:hover .svx__more::after { transform: translateX(5px); }
.svx__c--hi .svx__more { color: var(--lime); }
.oc { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.oc.is-open { visibility: visible; }
.oc__bg { position: absolute; inset: 0; background: rgba(12,14,10,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.oc.is-open .oc__bg { opacity: 1; }
.oc__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); display: flex; flex-direction: column; background: var(--white); box-shadow: -30px 0 80px -20px rgba(0,0,0,.45); transform: translateX(100%); transition: transform .5s cubic-bezier(.2,.8,.2,1); border-radius: var(--r-l) 0 0 var(--r-l); overflow: hidden; }
.oc.is-open .oc__panel { transform: none; }
.oc__head { position: relative; padding: 28px 28px 26px; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.oc__head::after { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(198,229,69,.28), transparent 65%); }
.oc__x { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink-line); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; transition: transform .3s var(--ease), background .3s; }
.oc__x:hover { transform: rotate(90deg); background: rgba(255,255,255,.14); }
.oc__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: var(--r); background: var(--lime); color: var(--ink); }
.oc__icon .i { width: 26px; height: 26px; }
.oc__head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 6px 0 10px; padding-right: 40px; }
.oc__head p { margin: 0; color: var(--muted-d); }
.oc__body { flex: 1; overflow-y: auto; padding: 26px 28px 8px; }
.oc__body h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.oc__list { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 10px; }
.oc__list li { display: flex; gap: 12px; align-items: flex-start; opacity: 0; transform: translateX(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.oc.is-open .oc__list li { opacity: 1; transform: none; }
.oc__list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0e0a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.oc__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.oc__facts div { padding: 14px; border-radius: var(--r); background: var(--paper); }
.oc__facts small { display: block; color: var(--muted); font-size: .78rem; }
.oc__facts b { font-size: 1rem; }
.oc__foot { display: flex; gap: 10px; flex-wrap: wrap; padding: 18px 28px 24px; border-top: 1px solid var(--line); background: var(--white); }
.oc__foot .btn { flex: 1; }
body.oc-open { overflow: hidden; }
@media (max-width: 620px) { .oc__panel { width: 100%; border-radius: 0; } .oc__head, .oc__body, .oc__foot { padding-left: 20px; padding-right: 20px; } }

/* ===== Ispravke: bočni panel ===== */
.oc [data-oc-content] { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.oc__x .i { width: 18px; height: 18px; }
.oc__x:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.oc__list { gap: 0; margin-bottom: 24px; border-top: 1px solid var(--line); }
.oc__list li { padding: 13px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.oc__foot { flex-wrap: nowrap; align-items: stretch; }
.oc__foot .btn { white-space: nowrap; min-height: 52px; padding: 12px 20px; }
.oc__foot .btn--lime { flex: 1 1 auto; justify-content: space-between; }
.oc__foot .btn--lime .arr { transition: transform .3s var(--ease); }
.oc__foot .btn--lime:hover .arr { transform: translateX(4px); }
.btn--line { flex: 0 0 auto; gap: 8px; border-color: var(--line); background: var(--white); color: var(--text); }
.btn--line:hover { border-color: var(--ink); }
.btn--line .i { width: 17px; height: 17px; }

/* ===== Nazad na vrh ===== */
.totop { position: fixed; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); z-index: 60; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: var(--lime); cursor: pointer; box-shadow: 0 14px 30px -10px rgba(12,14,10,.55); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9); transition: opacity .35s, transform .35s var(--ease), visibility .35s; }
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover .i { transform: translateY(-3px); }
.totop .i { position: relative; width: 20px; height: 20px; transition: transform .3s var(--ease); }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop__ring circle { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 3; }
.totop__ring .totop__p { stroke: var(--lime); stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
body.oc-open .totop, body.nav-open .totop { opacity: 0; visibility: hidden; }

/* ===== Zaglavlje: zamućenje u sloju, da meni (position: fixed) ne bude zarobljen u zaglavlju ===== */
.hdr { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12,14,10,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.nav__label { display: none; }
.nav-bg { display: none; }
@media (max-width: 900px) {
  .nav { position: fixed; inset: 0 0 0 auto; z-index: 70; width: min(380px, 88vw); margin: 0; padding: 22px 24px 28px; display: flex; flex-direction: column; background: var(--ink); border-left: 1px solid var(--ink-line); box-shadow: -30px 0 80px -20px rgba(0,0,0,.6); opacity: 1; visibility: hidden; transform: translateX(100%); transition: transform .45s cubic-bezier(.2,.8,.2,1), visibility .45s; overflow-y: auto; }
  .nav.is-open { visibility: visible; transform: none; }
  .nav__label { display: block; margin: 6px 0 18px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }
  .nav__list > li { opacity: 0; transform: translateX(20px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .nav.is-open .nav__list > li { opacity: 1; transform: none; }
  .nav.is-open .nav__list > li:nth-child(1) { transition-delay: .08s; }
  .nav.is-open .nav__list > li:nth-child(2) { transition-delay: .13s; }
  .nav.is-open .nav__list > li:nth-child(3) { transition-delay: .18s; }
  .nav.is-open .nav__list > li:nth-child(4) { transition-delay: .23s; }
  .nav__list > li > a { font-size: 1.35rem; font-weight: 600; padding: 18px 2px; }
  .nav__list > li > a::after { content: "→"; color: var(--lime); opacity: .5; transition: transform .3s var(--ease), opacity .3s; }
  .nav__list > li > a:hover::after { transform: translateX(4px); opacity: 1; }
  .nav__foot { margin-top: auto; padding-top: 28px; }
  .nav-bg { display: block; position: fixed; inset: 0; z-index: 65; background: rgba(12,14,10,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
  .nav-bg.is-on { opacity: 1; }
  .nav-bg[hidden] { display: none; }
  .nav-bg:not(.is-on) { pointer-events: none; }
  .burger { position: relative; z-index: 75; }
  body.nav-open .hdr { z-index: 80; }
}

/* Bez svetle linije ispod zaglavlja: border je bio providan, a pozadina je u ::before sloju */
.hdr { border-bottom: 0; }
.hdr.is-scrolled::before { box-shadow: 0 1px 0 rgba(255,255,255,.06); }

/* ===== CMS: sekcije za stranice napravljene u adminu (Stranice → sekcije) ===== */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt { background: var(--white); }
.section--tight { padding-top: 0; }
.container { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.container--narrow { max-width: calc(820px + 2 * var(--gut)); }
.section__head { margin-bottom: 32px; }
.section__head h2 { margin: 0; }
.prose { font-size: 1.06rem; line-height: 1.75; }
.prose h2 { margin: 1.6em 0 .5em; } .prose h3 { margin: 1.4em 0 .4em; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r); }
.prose a { color: inherit; text-decoration-color: var(--lime-2); text-underline-offset: 3px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__img { width: 100%; height: auto; border-radius: var(--r-l); }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gal img, .gal__video { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); display: block; }
.faq__body { padding: 0 0 20px; color: var(--muted); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-l); background: var(--ink); color: #fff; }
.cta-band h2 { margin: 0 0 6px; color: #fff; } .cta-band p { margin: 0; color: var(--muted-d); }
.phero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.phero__media img { width: 100%; height: auto; border-radius: var(--r-l); }
.center { text-align: center; } .muted { color: var(--muted); }
.btn--accent { background: var(--lime); color: var(--ink); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

/* ===== CMS: olovka (izmene na sajtu) iznad animiranih slojeva ===== */
[data-cms]:hover { outline-offset: 2px; }
