/* ============================================================
   BIRO 404 — SIGNAL WEBSITE SYSTEM (R404_SIGNAL_WEBSITE_R01)
   Jedan stylesheet za sve šablone. Tokeni = brand-tokens (R404_BRAND_SIGNAL_R01).
   Svet: mrak + svetlo signala. Archivo (display) + IBM Plex Mono (tehnički sloj).
   ============================================================ */

/* ---------- Fonts (self-hosted, latin + latin-ext) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/Archivo-100-900-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/Archivo-100-900-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/IBMPlexMono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/IBMPlexMono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/IBMPlexMono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/IBMPlexMono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens (brand-tokens R404_BRAND_SIGNAL_R01) ---------- */
:root {
  --bg: #050505;
  --bg-2: #0a0a0b;
  --panel: #101011;
  --line: rgba(244, 240, 230, 0.09);
  --line-strong: rgba(244, 240, 230, 0.16);

  --ink: #f4f0e6;
  --muted: #b7b2a6;
  --dim: #8b877b;
  --steel: #2e2d2a;

  --gold: #e9b850;
  --gold-hi: #ffe2a0;
  --gold-deep: #9a712c;
  --yellow: #f2c230;
  --live: #9ecf8e;

  --font-d: 'Archivo', 'Segoe UI', sans-serif;
  --font-m: 'IBM Plex Mono', 'Consolas', monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-lock: cubic-bezier(0.34, 1.4, 0.64, 1);
  --t-flash: 180ms;
  --t-activate: 650ms;
  --t-settle: 900ms;
  --t-pulse: 2400ms;
  --t-reveal: 700ms;

  --sig-line-w: 1.5px;
  --sig-glow: drop-shadow(0 0 8px rgba(233, 184, 80, 0.55))
              drop-shadow(0 0 32px rgba(233, 184, 80, 0.18));
  --sig-gradient: linear-gradient(90deg, var(--gold-hi), var(--gold) 40%, var(--gold-deep));

  --z-deep: 0;
  --z-behind: 5;
  --z-content: 10;
  --z-front: 20;
  --z-overlay: 30;

  --pad-x: clamp(20px, 5.2vw, 88px);
  --max-w: 1520px;
}
@media (max-width: 900px) {
  :root { --sig-line-w: 1.25px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #2e2c26 #0a0a0b;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-d);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: rgba(233, 184, 80, 0.28); color: var(--ink); }

.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.wrap-n { /* narrow measure for text-heavy layouts */
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.tag {
  font-family: var(--font-m);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-m);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 2px rgba(233, 184, 80, 0.55);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 999px;
  font-family: var(--font-d);
  font-weight: 640;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 17px 12px 17px 26px;
  transition: transform 180ms var(--ease-out), background-color 180ms ease, border-color 180ms ease, color 180ms ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn .arr {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 220ms var(--ease-out);
}
.btn .arr svg { width: 14px; height: 14px; }
.btn:active { transform: scale(0.97); }

.btn-gold { background: var(--yellow); color: #131208; }
.btn-gold .arr { background: rgba(19, 18, 8, 0.12); }
@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover { background: #ffd44d; }
  .btn:hover .arr { transform: translateX(2px); }
}

.btn-ghost {
  background: rgba(244, 240, 230, 0.02);
  border-color: var(--line-strong);
  color: var(--ink);
  backdrop-filter: blur(6px);
}
.btn-ghost .arr { background: rgba(244, 240, 230, 0.07); }
@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover { border-color: rgba(244, 240, 230, 0.34); background: rgba(244, 240, 230, 0.05); }
}

/* ============================================================
   SIGNAL SYSTEM (canvas + CSS stanja) — vidi SIGNAL_IMPLEMENTATION_SPEC
   ============================================================ */
.sig-host { position: relative; }
.sig-canvas {
  position: absolute;
  inset: 0;
  z-index: var(--z-behind);
  pointer-events: none;
}
.sig-host > .wrap, .sig-host > .wrap-n { position: relative; z-index: var(--z-content); }

/* Cilj signala: rađa se SLAB, signal ga pronađe → FOUND (jednosmerno) */
.sig-target { position: relative; }
.sig-target::after { /* rezidualna bela tačka — trag signala */
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 10px 2px rgba(233, 184, 80, 0.55);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity var(--t-activate) var(--ease-out), transform var(--t-activate) var(--ease-lock);
}
.sig-target.is-found::after { opacity: 1; transform: none; }
.sig-target.is-found::before { /* flash 180ms pri pronalasku */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(60% 60% at 50% 50%, rgba(255, 226, 160, 0.28), transparent 70%);
  opacity: 0;
  pointer-events: none;
  animation: sigFlash var(--t-flash) ease-out 1;
}
@keyframes sigFlash {
  0% { opacity: 0; }
  35% { opacity: 1; }
  100% { opacity: 0; }
}

/* Veliki broj/simbol kao cilj: čelik → zlatni gradijent + glow */
.sig-num {
  color: var(--steel);
  transition: color var(--t-activate) var(--ease-out), filter var(--t-activate) var(--ease-out);
}
.sig-num.is-found {
  color: transparent;
  background-image: var(--sig-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  filter: var(--sig-glow);
}
@supports not (background-clip: text) {
  .sig-num.is-found { color: var(--gold); background: none; }
}

/* Zlatna linija koja se iscrtava — statična posledica prolaska */
.sig-rule {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--sig-gradient);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-settle) var(--ease-io) 150ms;
  box-shadow: 0 0 14px rgba(233, 184, 80, 0.4);
}
.on .sig-rule, .sig-rule.on { transform: scaleX(1); }

/* HUD mono etiketa */
.hud {
  font-family: var(--font-m);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.hud.lit { color: var(--gold); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background-color 320ms ease, border-color 320ms ease, backdrop-filter 320ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-in {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: clamp(132px, 11vw, 158px); height: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 520;
  color: var(--muted);
  transition: color 160ms ease;
  padding: 6px 2px;
  position: relative;
}
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(233, 184, 80, 0.6);
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--ink); }
}

.nav-cta { padding: 13px 10px 13px 20px; font-size: 14px; }
.nav-cta .arr { width: 26px; height: 26px; }
.nav-cta .arr svg { width: 12px; height: 12px; }

.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.nav-burger span {
  display: block;
  width: 17px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 320ms var(--ease-io), opacity 200ms ease;
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad-x);
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 360ms var(--ease-out), visibility 0s 360ms;
}
.menu.open { opacity: 1; visibility: visible; transition: opacity 360ms var(--ease-out); }
.menu a {
  font-size: clamp(28px, 7.6vw, 40px);
  font-weight: 760;
  letter-spacing: -0.01em;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
}
.menu.open a { opacity: 1; transform: none; }
.menu.open a:nth-child(1) { transition-delay: 60ms; }
.menu.open a:nth-child(2) { transition-delay: 105ms; }
.menu.open a:nth-child(3) { transition-delay: 150ms; }
.menu.open a:nth-child(4) { transition-delay: 195ms; }
.menu.open a:nth-child(5) { transition-delay: 240ms; }
.menu.open a:nth-child(6) { transition-delay: 285ms; }
.menu a .tag { display: block; margin-bottom: 4px; }

/* ============================================================
   HERO — naslovna (scroll-scrub video)
   ============================================================ */
.hero-track { height: 360svh; position: relative; }
.hero {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: clip;
  background: var(--bg);
}
.hero-media { position: absolute; inset: 0; }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 46%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,5,0.82) 0%, rgba(5,5,5,0.44) 30%, rgba(5,5,5,0) 56%),
    linear-gradient(180deg, rgba(5,5,5,0.58) 0%, rgba(5,5,5,0) 24%, rgba(5,5,5,0) 74%, rgba(5,5,5,0.6) 100%),
    radial-gradient(125% 105% at 50% 46%, transparent 60%, rgba(5,5,5,0.4) 100%);
  pointer-events: none;
}
/* volumetrijski bloom — jača kako signal raste (—hp postavlja hero.js) */
.hero-atmo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 52% at 63% 44%, rgba(233, 184, 80, 0.17), transparent 68%),
    radial-gradient(90% 38% at 56% 98%, rgba(233, 184, 80, 0.1), transparent 72%);
  mix-blend-mode: screen;
  opacity: var(--hp, 0);
  pointer-events: none;
}
.hero-in {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy { max-width: 620px; display: grid; gap: 28px; }
.hero h1 {
  font-size: clamp(42px, 5vw, 86px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.hero h1 .q { color: var(--muted); font-weight: 640; }
.hero h1 .found {
  color: var(--muted);
  font-weight: 640;
  transition: color 900ms ease, text-shadow 900ms ease;
}
.hero h1 .found.lit {
  color: var(--gold-hi);
  text-shadow: 0 0 26px rgba(233, 184, 80, 0.45);
}
.hero-sub {
  font-size: clamp(16.5px, 1.25vw, 19px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 480px;
}
.hero-sub strong { color: var(--ink); font-weight: 620; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 1100ms var(--ease-out) forwards;
}
.hero-copy > *:nth-child(1) { animation-delay: 300ms; }
.hero-copy > *:nth-child(2) { animation-delay: 480ms; }
.hero-copy > *:nth-child(3) { animation-delay: 680ms; }
.hero-copy > *:nth-child(4) { animation-delay: 880ms; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-signal {
  position: absolute;
  z-index: 3;
  right: var(--pad-x);
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-m);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--dim);
  transition: color 500ms ease;
  text-shadow: 0 1px 10px rgba(5, 5, 5, 0.9), 0 0 22px rgba(5, 5, 5, 0.7);
}
.hero-signal .bar {
  width: 96px;
  height: 2px;
  background: rgba(244, 240, 230, 0.14);
  overflow: hidden;
}
.hero-signal .bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold);
  transform-origin: left center;
  transform: scaleX(0);
  box-shadow: 0 0 10px rgba(233, 184, 80, 0.8);
}
.hero-signal.done { color: var(--gold); }

.hero-hint {
  position: absolute;
  z-index: 3;
  left: var(--pad-x);
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-m);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
  transition: opacity 600ms ease;
}
.hero-hint .line {
  width: 52px;
  height: 1px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.hero-hint .line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  animation: hintSweep 2.2s var(--ease-io) infinite;
}
@keyframes hintSweep {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
.hero-hint.gone { opacity: 0; }

.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 46%;
  display: none;
}

/* Mobile hero: režirani stage (copy gore u mraku, scena dole — pun 404) */
@media (max-aspect-ratio: 1/1) {
  .hero-in { justify-content: flex-start; padding-top: max(96px, 13svh); }
  .hero-copy { gap: 20px; }
  .hero h1 { font-size: clamp(34px, 10vw, 54px); }
  .hero-sub { font-size: 15.5px; }
  .hero-media {
    inset: auto 0 0 0;
    height: auto;
    aspect-ratio: 1.067;
    max-height: min(52svh, calc(100svh - 450px));
    overflow: clip;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 16%);
  }
  .hero-video, .hero-poster {
    position: absolute;
    inset: 0 0 0 auto;
    height: 100%;
    width: auto;
    max-width: none;
  }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(5,5,5,0.62) 0%, rgba(5,5,5,0.1) 34%, rgba(5,5,5,0) 60%);
  }
  .hero-signal { bottom: 20px; left: var(--pad-x); right: auto; }
  .hero-signal .bar { width: 64px; }
  .hero-hint { display: none; }
}
@media (max-aspect-ratio: 1/1) and (max-height: 700px) {
  .hero-in { padding-top: 84px; }
  .hero-copy { gap: 14px; }
  .hero h1 { font-size: clamp(27px, 8.4vw, 38px); }
  .hero-sub { font-size: 14px; }
  .btn { padding: 13px 10px 13px 20px; font-size: 14px; }
  .btn .arr { width: 26px; height: 26px; }
}

/* ============================================================
   CHAPTERS (deljeno) + reveal
   ============================================================ */
.chapter { position: relative; padding: clamp(120px, 13vw, 205px) 0; }
.chapter-head { display: grid; gap: 22px; max-width: 760px; margin-bottom: clamp(48px, 6vw, 88px); }
.chapter-head.head-c { justify-items: center; text-align: center; margin-inline: auto; }
.chapter-head.head-c p { margin-inline: auto; }
/* tekst samo za čitače ekrana (broj u sceni je dekorativan) */
.sr-num {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.chapter-head h2 {
  font-size: clamp(32px, 3.4vw, 56px);
  font-weight: 780;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.chapter-head p { color: var(--muted); font-size: clamp(16px, 1.2vw, 18.5px); max-width: 560px; }

.rv {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(5px);
  transition:
    opacity 900ms var(--ease-out),
    transform 900ms var(--ease-out),
    filter 900ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.rv.on { opacity: 1; transform: none; filter: none; }

/* ============================================================
   NASLOVNA 01 — 54% MONUMENT (signal otkriva podatak)
   ============================================================ */
.stat {
  overflow: clip;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 20%, var(--bg-2) 80%, var(--bg) 100%);
}
.stat-stage {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: clamp(20px, 2.4vw, 32px);
}
/* svetlosni snop koji „otkriva“ podatak */
.stat-beam {
  position: absolute;
  inset: -16% -14% auto;
  height: 125%;
  background: radial-gradient(50% 72% at 50% 0%, rgba(233, 184, 80, 0.09), transparent 62%);
  opacity: 0;
  transition: opacity 1400ms var(--ease-out) 200ms;
  pointer-events: none;
}
.stat-stage.on .stat-beam { opacity: 1; }
.stat-num {
  position: relative;
  font-weight: 860;
  font-size: clamp(150px, 24vw, 400px);
  line-height: 0.86;
  letter-spacing: -0.035em;
}
/* SLAB stanje: čelik + treperenje; FOUND: tačkasti zlatni gradijent */
.stat-num.sig-num { color: var(--steel); }
.stat-num.sig-num:not(.is-found) { animation: sigWeak 1.9s ease-in-out infinite; }
@keyframes sigWeak {
  0%, 100% { opacity: 0.9; }
  42% { opacity: 0.68; }
  58% { opacity: 0.85; }
  71% { opacity: 0.62; }
}
.stat-num.sig-num.is-found {
  animation: none;
  color: transparent;
  background-image: radial-gradient(circle, var(--gold) 1.35px, rgba(233, 184, 80, 0.06) 1.75px);
  background-size: 7px 7px;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 32px rgba(233, 184, 80, 0.16));
}
@supports not (background-clip: text) {
  .stat-num.sig-num.is-found { color: var(--gold); background: none; }
}
.stat-stage h2 {
  font-size: clamp(26px, 2.7vw, 44px);
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: -0.018em;
  max-width: 640px;
  text-wrap: balance;
  margin-top: clamp(6px, 1vw, 14px);
}
.stat-stage > p { color: var(--muted); max-width: 560px; }
.stat-src {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--dim);
  text-transform: uppercase;
  margin-top: 8px;
}

/* ============================================================
   NASLOVNA 02 — SHOWROOM (radovi kao izlošci u prostoru + grananje)
   ============================================================ */
.showroom {
  overflow: clip;
  background:
    radial-gradient(72% 44% at 50% 106%, rgba(233, 184, 80, 0.05), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #070708 46%, var(--bg) 100%);
}
/* prostorija: mirne tople svetlosne tačke u dubini */
.showroom .room { position: absolute; inset: 0; z-index: var(--z-deep); pointer-events: none; }
.showroom .room .lp {
  position: absolute;
  width: var(--s, 5px);
  height: var(--s, 5px);
  border-radius: 50%;
  background: var(--gold);
  opacity: var(--o, 0.25);
  filter: blur(1.5px);
  box-shadow: 0 0 18px 4px rgba(233, 184, 80, 0.22);
}

/* scena: tri izloška u kadru, asimetrično, sa dubinom */
.stage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 56px);
  align-items: start;
  margin-bottom: clamp(64px, 8vw, 140px);
}
.ex-a { grid-column: 1 / 8; }
.ex-b { grid-column: 8 / 13; margin-top: clamp(70px, 9vw, 170px); }
.ex-c { grid-column: 4 / 10; margin-top: clamp(48px, 6vw, 110px); }

.exhibit { position: relative; display: block; }
.ex-shot {
  position: relative;
  z-index: 2;
  display: block;
  border: 1px solid rgba(244, 240, 230, 0.13);
  border-radius: 12px;
  overflow: hidden;
  background: #0d0d0e;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(244, 240, 230, 0.06);
  transition: transform 500ms var(--ease-out), border-color 500ms ease, box-shadow 500ms ease;
}
.ex-shot img { width: 100%; height: auto; }

/* odsjaj na podu — ekran stoji u prostoru, ne na kartici */
.ex-refl { display: block; position: relative; height: 0; pointer-events: none; }
.ex-refl img {
  position: absolute;
  left: 0;
  top: 3px;
  width: 100%;
  height: auto;
  transform: scaleY(-1);
  border-radius: 12px;
  opacity: 0.38;
  filter: blur(4px) brightness(0.5) saturate(0.85);
  -webkit-mask-image: linear-gradient(180deg, transparent 56%, rgba(0, 0, 0, 0.55) 100%);
  mask-image: linear-gradient(180deg, transparent 56%, rgba(0, 0, 0, 0.55) 100%);
}
.ex-refl::before { /* toplo svetlo ispod izloška */
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  top: -30px;
  height: 190px;
  background: radial-gradient(50% 62% at 50% 0%, rgba(233, 184, 80, 0.11), transparent 72%);
}

/* muzejska etiketa umesto UI kartice */
.ex-cap {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}
.ex-cap > span:first-child { min-width: 0; }
.ex-cap b { display: block; font-weight: 720; font-size: clamp(16px, 1.35vw, 19px); letter-spacing: 0.004em; }
.ex-cap i {
  font-style: normal;
  display: block;
  margin-top: 6px;
  font-family: var(--font-m);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.ex-status {
  flex: none;
  font-family: var(--font-m);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ex-status::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.ex-status.live { color: var(--live); }
.ex-status.soon { color: var(--gold); }

.exhibit.sig-target::after { top: 14px; right: 14px; z-index: 4; }
.exhibit.is-found .ex-shot {
  border-color: rgba(233, 184, 80, 0.3);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 54px rgba(233, 184, 80, 0.08),
    inset 0 1px 0 rgba(244, 240, 230, 0.08);
}
@media (hover: hover) and (pointer: fine) {
  .exhibit:hover .ex-shot { transform: translateY(-8px); border-color: rgba(233, 184, 80, 0.45); }
}

/* drugi red: mirniji, manji izlošci */
.stage-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(20px, 2.6vw, 44px);
}
.exhibit.sm .ex-cap b { font-size: 15px; }
.exhibit.sm .ex-cap { margin-top: 16px; }
.exhibit.sm .ex-shot { border-radius: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.exhibit.sm .ex-refl img { opacity: 0.28; }
.exhibit.sm .ex-refl::before { height: 120px; opacity: 0.8; }

.showroom .works-more { margin-top: clamp(70px, 8vw, 120px); }

@media (max-width: 860px) {
  .stage { display: block; margin-bottom: 30px; }
  .ex-a, .ex-b, .ex-c { margin: 0 0 clamp(46px, 9vw, 68px); }
  .stage-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad-x);
    gap: 18px;
    margin-inline: calc(var(--pad-x) * -1);
    padding: 4px var(--pad-x) 12px;
    scrollbar-width: none;
  }
  .stage-row::-webkit-scrollbar { display: none; }
  .stage-row .exhibit { flex: none; width: 78vw; scroll-snap-align: start; }
  .exhibit .ex-refl img { opacity: 0.28; }
  .showroom .works-more { margin-top: clamp(40px, 8vw, 70px); }
}

/* strelice-kružići (koristi i studija slučaja) */
.works-nav { display: flex; gap: 10px; flex: none; }
.works-nav button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(244, 240, 230, 0.02);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 180ms ease, background-color 180ms ease, transform 160ms var(--ease-out), opacity 180ms ease;
}
.works-nav button svg { width: 17px; height: 17px; }
.works-nav button:active { transform: scale(0.94); }
.works-nav button:disabled { opacity: 0.32; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .works-nav button:not(:disabled):hover { border-color: var(--gold); background: rgba(233, 184, 80, 0.06); }
}

.work-shot {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: #0d0d0e;
}
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.work-status {
  font-family: var(--font-m);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.work-status::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.work-status.live { color: var(--live); border-color: rgba(158, 207, 142, 0.32); }
.work-status.soon { color: var(--gold); border-color: rgba(233, 184, 80, 0.36); }

.works-more { display: flex; justify-content: center; margin-top: clamp(20px, 3vw, 36px); }

/* ============================================================
   NASLOVNA 02B — ZA SVAKU DELATNOST (rotator, mehanika R29B sa starog sajta)
   ============================================================ */
.trade {
  overflow: clip;
  padding: clamp(96px, 11vw, 160px) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 30%, var(--bg-2) 70%, var(--bg) 100%);
}
.trade-band {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: clamp(20px, 2.6vw, 32px);
}
.trade-stmt {
  display: grid;
  justify-items: center;
  width: 100%;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.trade-stmt .t-lead,
.trade-stmt .t-tail {
  display: block;
  font-size: clamp(25px, 2.9vw, 48px);
  font-weight: 740;
  color: var(--muted);
}
.trade-stmt .t-tail { margin-top: 0.12em; }
/* maskirana vertikalna smena — fiksna visina, bez CLS-a */
.t-rot {
  position: relative;
  display: block;
  width: 100%;
  height: 1.16em;
  overflow: hidden;
  margin: 0.04em 0;
  font-size: clamp(40px, 7.2vw, 122px);
  font-weight: 850;
  letter-spacing: -0.028em;
}
.t-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  color: var(--gold-hi);
  text-shadow: 0 0 34px rgba(233, 184, 80, 0.28);
  transform: translateY(112%);
  opacity: 0;
  transition: transform 560ms var(--ease-io), opacity 400ms ease;
}
.t-word.is-active { transform: none; opacity: 1; }
.t-word.is-exit { transform: translateY(-112%); opacity: 0; }
.t-word.no-anim { transition: none; }

/* ============================================================
   NASLOVNA 03 — SISTEM (jedan mehanizam: signal povezuje tri čvora)
   ============================================================ */
.system {
  background:
    radial-gradient(58% 52% at 50% 64%, rgba(233, 184, 80, 0.04), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sys-flow { position: relative; max-width: 1240px; margin-inline: auto; }

/* šina: jedna linija koja fizički povezuje tri čvora */
.sys-rail {
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: rgba(244, 240, 230, 0.08);
}
.sys-rail i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--sig-gradient);
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 14px rgba(233, 184, 80, 0.5);
  transition: transform 1600ms var(--ease-io) 150ms;
}
.sys-flow.on .sys-rail i { transform: scaleX(1); }

.sys-nodes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 72px);
}
.sys-node { position: relative; display: grid; gap: 13px; align-content: start; padding-top: 36px; }
.sys-node .dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--steel);
  border: 1px solid rgba(244, 240, 230, 0.14);
  transition: background-color 400ms ease, box-shadow 400ms ease, border-color 400ms ease;
}
.sys-flow.on .sys-node .dot {
  background: var(--gold-hi);
  border-color: transparent;
  box-shadow: 0 0 16px 3px rgba(233, 184, 80, 0.55);
}
.sys-node .idx {
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 400ms ease;
}
.sys-flow.on .sys-node .idx { color: var(--gold); }
.sys-flow.on .sys-node:nth-child(1) .dot, .sys-flow.on .sys-node:nth-child(1) .idx { transition-delay: 300ms; }
.sys-flow.on .sys-node:nth-child(2) .dot, .sys-flow.on .sys-node:nth-child(2) .idx { transition-delay: 800ms; }
.sys-flow.on .sys-node:nth-child(3) .dot, .sys-flow.on .sys-node:nth-child(3) .idx { transition-delay: 1300ms; }
.sys-node h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 740; letter-spacing: -0.01em; }
.sys-node p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* zaključak mehanizma — sistemski, monumentalno */
.sys-lock {
  margin-top: clamp(60px, 7vw, 100px);
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 700ms var(--ease-out) 1750ms, transform 700ms var(--ease-lock) 1750ms;
}
.sys-flow.on .sys-lock { opacity: 1; transform: none; }
.sys-lock .code {
  font-family: var(--font-m);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--gold);
}
.sys-lock .label {
  font-weight: 820;
  font-size: clamp(34px, 3.8vw, 62px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--gold-hi);
  text-shadow: 0 0 38px rgba(233, 184, 80, 0.33);
}
@media (max-width: 860px) {
  .sys-rail { top: 0; bottom: 0; left: 5px; right: auto; width: 1.5px; height: auto; }
  .sys-rail i {
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 1600ms var(--ease-io) 150ms;
  }
  .sys-flow.on .sys-rail i { transform: scaleY(1); }
  .sys-nodes { grid-template-columns: 1fr; row-gap: 46px; }
  .sys-node { padding-top: 0; padding-left: 36px; }
  .sys-node .dot { top: 3px; }
}

/* ============================================================
   NASLOVNA 04 — DOKAZ / CENE (editorial, bez kutija)
   ============================================================ */
.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(44px, 6vw, 110px);
  align-items: start;
}
.proof-grid > * { min-width: 0; }

.proof-quote {
  position: relative;
  display: grid;
  gap: 30px;
  padding-top: clamp(32px, 3.6vw, 56px);
}
.proof-quote .qmark {
  position: absolute;
  top: -12px;
  left: -10px;
  font-size: clamp(110px, 11vw, 180px);
  line-height: 1;
  font-weight: 860;
  color: rgba(233, 184, 80, 0.15);
  pointer-events: none;
  user-select: none;
}
.proof-quote blockquote {
  position: relative;
  font-size: clamp(18.5px, 1.65vw, 24px);
  line-height: 1.58;
  font-weight: 470;
  color: var(--ink);
  text-wrap: pretty;
}
.quote-who { display: grid; gap: 5px; }
.quote-who .qw-rule { max-width: 84px; margin-bottom: 10px; }
.quote-who .who { font-weight: 700; font-size: 15.5px; }
.quote-who .role {
  font-family: var(--font-m);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.proof-prices {
  display: grid;
  gap: 24px;
  border-left: 1px solid var(--line);
  padding-left: clamp(30px, 3.8vw, 68px);
}
.proof-prices .lead {
  font-weight: 760;
  font-size: clamp(21px, 1.9vw, 28px);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.price-rail { display: grid; }
.pr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 2vw, 26px) 0;
  border-bottom: 1px solid var(--line);
}
.pr:first-child { border-top: 1px solid var(--line); }
.pr .pn b { display: block; font-weight: 680; font-size: clamp(16px, 1.3vw, 18.5px); }
.pr .pn i {
  font-style: normal;
  display: block;
  margin-top: 6px;
  font-family: var(--font-m);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.pr .pv {
  flex: none;
  font-weight: 850;
  font-size: clamp(40px, 3.8vw, 62px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}
.pr .pv em { font-style: normal; font-size: 0.44em; font-weight: 640; color: var(--muted); }
.price-note { color: var(--muted); font-size: 14.5px; max-width: 440px; }
.proof-prices .btn { justify-self: start; margin-top: 4px; }
@media (max-width: 960px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-prices {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 36px;
  }
}

/* ============================================================
   FINAL CTA — povratak signala (ZAKLJUČANO)
   ============================================================ */
.final {
  position: relative;
  overflow: clip;
  border-top: 1px solid var(--line);
  padding: clamp(150px, 17vw, 260px) 0;
  text-align: center;
}
/* veliki tihi 404 — stvarna scena iz signala, prisutnija nego pre */
.final-bg {
  position: absolute;
  inset: 0;
  background-image: url('../video/poster-final.jpg');
  background-size: cover;
  background-position: 62% 42%;
  opacity: 0.62;
}
.final-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46% 56% at 50% 52%, rgba(5, 5, 5, 0.5), transparent 100%),
    linear-gradient(180deg, var(--bg) 0%, rgba(5,5,5,0.5) 28%, rgba(5,5,5,0.4) 62%, var(--bg) 100%);
}
.final-in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 30px; }
.final h2 {
  font-size: clamp(38px, 4.6vw, 76px);
  font-weight: 820;
  letter-spacing: -0.024em;
  line-height: 1.02;
  max-width: 820px;
  text-wrap: balance;
}
.final h2 em {
  font-style: normal;
  color: var(--gold-hi);
  text-shadow: 0 0 34px rgba(233, 184, 80, 0.4);
  position: relative;
}
/* ZAKLJUČANO: bela tačka + idle puls ±5% */
.final h2 em::after {
  content: '';
  display: inline-block;
  width: 0.09em;
  height: 0.09em;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 14px 3px rgba(233, 184, 80, 0.55);
  margin-left: 0.08em;
  vertical-align: 0.06em;
  animation: sigPulse var(--t-pulse) ease-in-out infinite;
}
@keyframes sigPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.05); }
}
.final p { color: var(--muted); max-width: 520px; font-size: clamp(16px, 1.2vw, 18px); }
.final-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   FOOTER (svi šabloni)
   ============================================================ */
.foot { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 34px; background: var(--bg); }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.foot-brand { display: grid; gap: 18px; align-content: start; }
.foot-brand img { width: 168px; height: auto; }
.foot-brand p { color: var(--muted); font-size: 15px; max-width: 340px; }
.foot h4 {
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 16px;
}
.foot-col ul { display: grid; gap: 10px; }
.foot-col a { color: var(--muted); font-size: 15px; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) {
  .foot-col a:hover { color: var(--ink); }
}
.foot-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
}
.foot-base .tag a { color: var(--muted); }
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* ============================================================
   INTERNE STRANE — zaglavlje
   ============================================================ */
.page-head {
  padding: clamp(140px, 16vw, 210px) 0 clamp(56px, 7vw, 96px);
  position: relative;
}
.page-head .crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: clamp(28px, 4vw, 44px);
}
.page-head .crumbs a { color: var(--dim); transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) {
  .page-head .crumbs a:hover { color: var(--ink); }
}
.page-head .crumbs .sep { color: var(--steel); }
.page-head-in { display: grid; gap: 26px; max-width: 900px; }
.page-head h1 {
  font-size: clamp(38px, 5vw, 82px);
  font-weight: 810;
  line-height: 1.02;
  letter-spacing: -0.024em;
  text-wrap: balance;
}
.page-head h1 em { font-style: normal; color: var(--gold-hi); text-shadow: 0 0 30px rgba(233, 184, 80, 0.35); }
.page-head .sub { color: var(--muted); font-size: clamp(16.5px, 1.3vw, 19.5px); max-width: 640px; line-height: 1.65; }
.page-head .page-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.page-head .sig-rule { max-width: 220px; margin-top: 10px; }

/* mono meta red ispod naslova */
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.meta-row .sep { color: var(--steel); }

/* CTA band — deljeni završni blok internih strana */
.cta-band {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 50% 115%, rgba(233, 184, 80, 0.1), transparent 60%),
    var(--bg-2);
  padding: clamp(90px, 10vw, 150px) 0;
  text-align: center;
}
.cta-band-in { display: grid; justify-items: center; gap: 26px; }
.cta-band h2 {
  font-size: clamp(30px, 3.4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.05;
  max-width: 760px;
  text-wrap: balance;
}
.cta-band p { color: var(--muted); max-width: 520px; }
.cta-band .final-ctas { margin-top: 4px; }

/* ============================================================
   ŠABLON: USLUGA
   ============================================================ */
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-m);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chip::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
}
.svc-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(244, 240, 230, 0.015);
  padding: clamp(24px, 2.6vw, 38px);
  display: grid;
  gap: 12px;
  align-content: start;
  transition: border-color 260ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .svc-item:hover { border-color: rgba(233, 184, 80, 0.3); }
}
.svc-item .idx { font-family: var(--font-m); font-size: 11px; letter-spacing: 0.2em; color: var(--gold); }
.svc-item h3 { font-size: clamp(19px, 1.6vw, 24px); font-weight: 740; letter-spacing: -0.01em; }
.svc-item p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* proces — veliki brojevi kao sidra poglavlja */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); }
.step { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line-strong); position: relative; }
.step .num {
  font-weight: 850;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.step h3 { font-size: clamp(19px, 1.6vw, 24px); font-weight: 740; }
.step p { color: var(--muted); font-size: 15.5px; }
.step .hud { margin-top: 2px; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
}

/* iskrenost — panel sa zlatnom ivicom */
.honest {
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(233, 184, 80, 0.05), transparent 60%);
  padding: clamp(24px, 3vw, 40px);
  border-radius: 0 14px 14px 0;
  max-width: 860px;
}
.honest p { color: var(--muted); font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.7; }
.honest strong { color: var(--ink); font-weight: 640; }

/* vezani paket */
.svc-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  border: 1px solid rgba(233, 184, 80, 0.3);
  border-radius: 16px;
  background:
    radial-gradient(100% 140% at 100% 0%, rgba(233, 184, 80, 0.09), transparent 55%),
    var(--panel);
  padding: clamp(28px, 3.4vw, 52px);
}
.svc-offer .price {
  font-weight: 850;
  font-size: clamp(48px, 5vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.svc-offer h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 780; letter-spacing: -0.015em; }
.svc-offer .body { display: grid; gap: 14px; }
.svc-offer .body p { color: var(--muted); max-width: 520px; }
.svc-offer .side { display: grid; gap: 18px; justify-items: end; text-align: right; }
@media (max-width: 820px) {
  .svc-offer { grid-template-columns: 1fr; }
  .svc-offer .side { justify-items: start; text-align: left; }
}

/* FAQ — details */
.faq { display: grid; gap: 0; max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-size: clamp(16.5px, 1.35vw, 20px);
  font-weight: 640;
  transition: color 160ms ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ind {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 18px;
  color: var(--muted);
  transition: transform 300ms var(--ease-out), color 200ms ease, border-color 200ms ease;
}
.faq details[open] summary .ind { transform: rotate(45deg); color: var(--gold); border-color: rgba(233, 184, 80, 0.4); }
@media (hover: hover) and (pointer: fine) {
  .faq summary:hover { color: var(--gold-hi); }
}
.faq .faq-a { padding: 0 44px 24px 4px; color: var(--muted); max-width: 720px; }

/* ============================================================
   ŠABLON: STUDIJA SLUČAJA
   ============================================================ */
.case-hero { position: relative; }
.case-shot {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #0d0d0e;
  transition: border-color var(--t-activate) ease, box-shadow var(--t-activate) ease;
}
.case-shot img { width: 100%; height: auto; }
.case-shot.sig-target.is-found {
  border-color: rgba(233, 184, 80, 0.4);
  box-shadow: 0 0 60px rgba(233, 184, 80, 0.1);
}
.case-shot .shot-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-family: var(--font-m);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  transition: color var(--t-activate) ease, border-color var(--t-activate) ease;
}
.case-shot.is-found .shot-label { color: var(--gold); border-color: rgba(233, 184, 80, 0.36); }
.case-shot.sig-target::after { top: 16px; right: 16px; width: 7px; height: 7px; }

.case-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 36px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(26px, 3vw, 40px) 0;
}
.case-meta div { display: grid; gap: 8px; align-content: start; }
.case-meta .k {
  font-family: var(--font-m);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.case-meta .v { font-size: 15px; font-weight: 560; color: var(--ink); line-height: 1.45; }
@media (max-width: 900px) {
  .case-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.case-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.case-col {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(244, 240, 230, 0.015);
  padding: clamp(24px, 2.8vw, 40px);
  display: grid;
  gap: 18px;
  align-content: start;
}
.case-col.plus { border-color: rgba(233, 184, 80, 0.22); }
.case-col h3 { font-size: clamp(19px, 1.6vw, 24px); font-weight: 740; }
.case-col ul { display: grid; gap: 12px; }
.case-col li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 15.5px;
}
.case-col li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--steel);
}
.case-col.plus li::before { background: var(--gold); box-shadow: 0 0 8px rgba(233, 184, 80, 0.5); }
@media (max-width: 760px) {
  .case-cols { grid-template-columns: 1fr; }
}

/* rezultati — monumentalne stvarne metrike */
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.metric {
  border-top: 1px solid var(--line-strong);
  padding-top: 22px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.metric .num {
  font-weight: 850;
  font-size: clamp(52px, 5.6vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.metric .what { font-weight: 640; font-size: 16.5px; }
.metric .how {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
@media (max-width: 760px) {
  .metrics { grid-template-columns: 1fr; gap: 36px; }
}

.case-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: clamp(24px, 3vw, 44px);
  transition: border-color 260ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .case-next:hover { border-color: rgba(233, 184, 80, 0.34); }
}
.case-next .lbl { display: grid; gap: 8px; }
.case-next .lbl .tag { color: var(--gold); }
.case-next .name { font-size: clamp(20px, 2vw, 30px); font-weight: 760; letter-spacing: -0.015em; }

/* ============================================================
   ŠABLON: RADOVI (portfolio grid)
   ============================================================ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}
.work-card {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
  transition: border-color 260ms ease, transform 400ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .work-card:hover { border-color: rgba(233, 184, 80, 0.42); transform: translateY(-4px); }
  .work-card:hover .work-shot img { transform: scale(1.02); }
}
.work-card .work-shot img { transition: transform 700ms var(--ease-out); }
.work-card-body { padding: clamp(20px, 2.2vw, 32px); display: grid; gap: 12px; }
.work-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.work-card .kind {
  font-family: var(--font-m);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.work-card h3 { font-size: clamp(20px, 1.8vw, 27px); font-weight: 760; letter-spacing: -0.012em; }
.work-card p { color: var(--muted); font-size: 15.5px; }
.work-card .links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 8px; }
.work-card .links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 620;
  font-size: 14.5px;
  color: var(--gold);
  transition: color 160ms ease;
}
.work-card .links a svg { width: 13px; height: 13px; }
@media (hover: hover) and (pointer: fine) {
  .work-card .links a:hover { color: var(--gold-hi); }
}
@media (max-width: 820px) {
  .works-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ŠABLON: CENE
   ============================================================ */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
  align-items: stretch;
}
.plan {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(244, 240, 230, 0.015);
  padding: clamp(26px, 2.8vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.plan .p-name { font-size: clamp(20px, 1.8vw, 26px); font-weight: 760; letter-spacing: -0.012em; }
.plan .p-for { color: var(--muted); font-size: 15px; min-height: 2.6em; }
.plan .p-price { display: flex; align-items: baseline; gap: 12px; }
.plan .p-price .num {
  font-weight: 850;
  font-size: clamp(46px, 4.4vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.plan .p-price .per {
  font-family: var(--font-m);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.plan ul { display: grid; gap: 11px; }
.plan li { position: relative; padding-left: 24px; color: var(--muted); font-size: 15px; }
.plan li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan.reco {
  border-color: rgba(233, 184, 80, 0.38);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(233, 184, 80, 0.09), transparent 60%),
    var(--panel);
  box-shadow: 0 0 60px rgba(233, 184, 80, 0.07);
}
.plan .reco-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-m);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #131208;
  background: var(--yellow);
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
}
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* besplatan pregled — 0 € */
.zero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  padding: clamp(26px, 3vw, 48px);
}
.zero .num {
  font-weight: 850;
  font-size: clamp(64px, 7vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.zero .body { display: grid; gap: 10px; }
.zero h3 { font-size: clamp(20px, 1.9vw, 28px); font-weight: 760; }
.zero p { color: var(--muted); max-width: 520px; }
@media (max-width: 820px) {
  .zero { grid-template-columns: 1fr; }
}

/* veći projekti — mono tabela */
.big-table { border-top: 1px solid var(--line); max-width: 980px; }
.big-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}
.big-row .n { font-weight: 640; font-size: clamp(16px, 1.3vw, 19px); }
.big-row .d {
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: right;
}
@media (max-width: 640px) {
  .big-row { grid-template-columns: 1fr; gap: 6px; }
  .big-row .d { text-align: left; }
}

.fine {
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 720px;
}

/* šta menja cenu */
.factors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; max-width: 980px; }
.factors li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15.5px;
}
.factors li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-family: var(--font-m);
}
@media (max-width: 700px) {
  .factors { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   ŠABLON: KONTAKT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}
.contact-acts { display: grid; gap: 14px; }
.act {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(244, 240, 230, 0.015);
  padding: clamp(20px, 2vw, 28px);
  transition: border-color 220ms ease, transform 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .act:hover { border-color: rgba(233, 184, 80, 0.38); transform: translateY(-2px); }
}
.act .ico {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.act .ico svg { width: 19px; height: 19px; }
.act .body { display: grid; gap: 3px; min-width: 0; }
.act .k {
  font-family: var(--font-m);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.act .v { font-weight: 700; font-size: clamp(16.5px, 1.4vw, 20px); letter-spacing: 0.002em; overflow-wrap: anywhere; }
.act .arr2 { margin-left: auto; color: var(--dim); flex: none; transition: color 200ms ease, transform 220ms var(--ease-out); }
.act .arr2 svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .act:hover .arr2 { color: var(--gold); transform: translateX(3px); }
}

.avail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 16px 4px 0;
}
.avail::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 10px rgba(158, 207, 142, 0.7);
  animation: sigPulse var(--t-pulse) ease-in-out infinite;
}

/* forma */
.cform {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: clamp(26px, 3vw, 46px);
  display: grid;
  gap: 20px;
}
.cform .frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 9px; }
.field label {
  font-family: var(--font-m);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(244, 240, 230, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--font-d);
  font-size: 15.5px;
  padding: 14px 16px;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: rgba(233, 184, 80, 0.55);
  background: rgba(244, 240, 230, 0.045);
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.cform .consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.5;
}
.cform .consent input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--yellow); flex: none; }
.cform .btn { justify-self: start; }
.cform .form-note { color: var(--dim); font-size: 13px; }
@media (max-width: 620px) {
  .cform .frow { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ŠABLON: VODIČ / ČLANAK
   ============================================================ */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 70;
  background: transparent;
  pointer-events: none;
}
.progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--sig-gradient);
  transform-origin: left center;
  transform: scaleX(0);
  box-shadow: 0 0 10px rgba(233, 184, 80, 0.7);
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
}
.article { max-width: 720px; }
.article > * + * { margin-top: 26px; }
.article h2 {
  font-size: clamp(25px, 2.3vw, 36px);
  font-weight: 770;
  line-height: 1.12;
  letter-spacing: -0.018em;
  margin-top: clamp(52px, 5vw, 76px);
  scroll-margin-top: 110px;
}
.article h2 .h-idx {
  display: block;
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 12px;
}
.article p { color: var(--muted); font-size: clamp(16.5px, 1.25vw, 18px); line-height: 1.75; }
.article p strong, .article li strong { color: var(--ink); font-weight: 640; }
.article .lead-p {
  color: var(--ink);
  font-size: clamp(18px, 1.5vw, 21.5px);
  font-weight: 460;
  line-height: 1.65;
}
.article ul { display: grid; gap: 12px; }
.article ul li { position: relative; padding-left: 26px; color: var(--muted); font-size: clamp(16px, 1.2vw, 17.5px); line-height: 1.65; }
.article ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.pull {
  border-left: 2px solid var(--gold);
  padding: 6px 0 6px clamp(20px, 2.4vw, 34px);
  margin-top: clamp(36px, 4vw, 52px);
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 620;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}

.keybox {
  border: 1px solid rgba(233, 184, 80, 0.3);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(233, 184, 80, 0.06), rgba(233, 184, 80, 0.015));
  padding: clamp(22px, 2.6vw, 36px);
  display: grid;
  gap: 14px;
  margin-top: clamp(36px, 4vw, 52px);
}
.keybox .k-title {
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.keybox p { color: var(--ink); font-weight: 500; font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.6; }

.toc {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 4px;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.toc .t-title {
  font-family: var(--font-m);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
}
.toc a {
  color: var(--dim);
  font-size: 14px;
  line-height: 1.45;
  padding: 6px 0;
  transition: color 180ms ease;
  position: relative;
}
.toc a.cur { color: var(--gold); }
.toc a.cur::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(233, 184, 80, 0.6);
}
@media (hover: hover) and (pointer: fine) {
  .toc a:hover { color: var(--ink); }
}
@media (max-width: 1020px) {
  .article-grid { grid-template-columns: 1fr; }
  .toc { display: none; }
}

/* povezani vodiči */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.rel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(244, 240, 230, 0.015);
  padding: clamp(20px, 2.2vw, 30px);
  display: grid;
  gap: 12px;
  align-content: start;
  transition: border-color 240ms ease, transform 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .rel:hover { border-color: rgba(233, 184, 80, 0.34); transform: translateY(-3px); }
}
.rel .kind { font-family: var(--font-m); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.rel h3 { font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; line-height: 1.3; letter-spacing: -0.008em; }
.rel p { color: var(--dim); font-size: 13.5px; }
@media (max-width: 760px) {
  .related { grid-template-columns: 1fr; }
}

/* ============================================================
   Sitne zajedničke stvari
   ============================================================ */
.sec { padding: clamp(72px, 8vw, 130px) 0; }
.sec-line { border-top: 1px solid var(--line); }
.sec-tint { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 4.6vw, 64px); }
.sec-head h2 {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 780;
  line-height: 1.07;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.sec-head p { color: var(--muted); font-size: clamp(15.5px, 1.2vw, 18px); max-width: 600px; }

/* Sićušni ekrani: CTA puna širina */
@media (max-width: 380px) {
  .hero-ctas .btn, .price-card .btn, .final-ctas .btn, .page-ctas .btn, .plan .btn, .cform .btn {
    width: 100%;
    justify-content: space-between;
    white-space: normal;
    text-align: left;
    font-size: 14px;
  }
  .hero-ctas, .final-ctas, .page-ctas { width: 100%; }
}

/* nav collapse */
@media (max-width: 940px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
}

/* ============================================================
   Reduced motion — pokret nestaje, NAĐENO stanje ostaje
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-track { height: 100svh; }
  .hero { position: relative; }
  .hero-video { display: none; }
  .hero-poster { display: block; }
  .hero-hint .line::after { animation: none; }
  .hero-copy > * { animation-duration: 1ms; animation-delay: 0ms; }
  .hero-atmo { opacity: 0.5; }
  .rv { transition-duration: 1ms; transition-delay: 0ms; transform: none; filter: none; }
  .btn, .ex-shot, .works-nav button, .work-card, .act, .rel { transition: none; }
  .stat-num.sig-num:not(.is-found) { animation: none; }
  .stat-beam, .sys-rail i, .sys-lock, .sys-node .dot, .sys-node .idx {
    transition-duration: 1ms;
    transition-delay: 0ms;
  }
  .sig-target::before { animation: none; }
  .final h2 em::after, .avail::before { animation: none; }
  .sig-rule { transition-duration: 250ms; transition-delay: 0ms; }
  .sig-canvas { display: none; }
}
