/* =========================================================
   AVENTATOR TECH — black · chrome · gold
   ========================================================= */
@property --white { syntax: "<color>"; inherits: true; initial-value: #f5f5f5; }
@property --silver { syntax: "<color>"; inherits: true; initial-value: #d6d8db; }
@property --muted { syntax: "<color>"; inherits: true; initial-value: #a3a6ac; }
@property --line { syntax: "<color>"; inherits: true; initial-value: rgba(255,255,255,.12); }
@property --line-2 { syntax: "<color>"; inherits: true; initial-value: rgba(255,255,255,.22); }
@property --lg1 { syntax: "<color>"; inherits: true; initial-value: #ffffff; }
@property --lg2 { syntax: "<color>"; inherits: true; initial-value: #c4c7cc; }
@property --lg3 { syntax: "<color>"; inherits: true; initial-value: #7d8188; }
@property --lg4 { syntax: "<color>"; inherits: true; initial-value: #eceef1; }

:root {
  --bg: #050505;
  --white: #f5f5f5; --silver: #d6d8db; --muted: #a3a6ac; --dim: #5d6066;
  --line: rgba(255,255,255,.12); --line-2: rgba(255,255,255,.22);
  --gold: #d4af6a; --gold-hi: #f3dfa8; --gold-lo: #8c6a2e;
  --gold-grad: linear-gradient(115deg, #8c6a2e 0%, #f3dfa8 28%, #c9a24f 52%, #fff1c9 72%, #a07b35 100%);
  --chrome: linear-gradient(180deg, #ffffff 0%, #e2e4e7 40%, #9a9ea4 62%, #f1f2f3 100%);
  --gold-metal: linear-gradient(135deg, #f6e5b6 0%, #e2c27f 50%, #cfa65a 100%);
  --gold-metal-shadow: inset 0 1px 0 rgba(255,255,255,.55);
  --lg1: #ffffff; --lg2: #c4c7cc; --lg3: #7d8188; --lg4: #eceef1;
  --f: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(16px, 4vw, 64px);
  transition: --white 1.4s ease, --silver 1.4s ease, --muted 1.4s ease, --line 1.4s ease, --line-2 1.4s ease, --lg1 1.4s ease, --lg2 1.4s ease, --lg3 1.4s ease, --lg4 1.4s ease;
}
html.is-gold {
  --white: #fbeccb; --silver: #e9d29c; --muted: #c4a86e;
  --line: rgba(232,196,120,.2); --line-2: rgba(232,196,120,.38);
  --lg1: #fff3cf; --lg2: #e2bd6a; --lg3: #8c6a2e; --lg4: #f6dc97;
}
.lg1 { stop-color: var(--lg1); } .lg2 { stop-color: var(--lg2); } .lg3 { stop-color: var(--lg3); } .lg4 { stop-color: var(--lg4); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--white); font-family: var(--f); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.is-loading { overflow: hidden; }
::selection { background: var(--gold); color: #000; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img, svg { display: block; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Pozadina i FX ---------- */
#webgl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; }
#css3d { position: fixed; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
#css3d .pcard, #css3d .mpanel { pointer-events: auto; }
.no-webgl #webgl, .no-webgl #css3d { display: none; }
.fx-vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(130% 100% at 50% 45%, transparent 50%, rgba(0,0,0,.85) 100%); }
.fx-grain { position: fixed; inset: -50%; z-index: 2; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-5%,3%)} 40%{transform:translate(4%,-6%)} 60%{transform:translate(-3%,5%)} 80%{transform:translate(6%,2%)} 100%{transform:translate(0,0)} }
.fx-smoke { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; opacity: .45; }
/* desktop: bez sive izmaglice i bez animiranog šuma — čistija slika i glatkiji skrol */
@media (min-width: 768px) { .fx-grain { animation: none; inset: 0; } }
/* CSS izmaglica (veliki zamućeni slojevi preko 3D scene) samo kad WebGL ne radi — inače je skupa za telefon */
.fx-smoke { display: none; }
.no-webgl .fx-smoke { display: block; }
.fx-smoke i { position: absolute; width: 90vmax; height: 50vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(150,152,156,.10), transparent); filter: blur(40px); animation: drift 38s ease-in-out infinite alternate; }
.fx-smoke i:nth-child(1) { left: -30vmax; bottom: -22vmax; }
.fx-smoke i:nth-child(2) { right: -35vmax; bottom: -18vmax; animation-duration: 46s; animation-delay: -12s; }
.fx-smoke i:nth-child(3) { left: 10vmax; top: -30vmax; opacity: .5; animation-duration: 54s; }
@keyframes drift { from { transform: translate3d(-6vmax, 2vmax, 0) scale(1); } to { transform: translate3d(8vmax, -3vmax, 0) scale(1.25); } }
.no-webgl .fx-smoke { opacity: 1; }
/* arhitektonske linije u pozadini */
.fx-lines { position: fixed; inset: 0; z-index: 1; pointer-events: none; display: flex; justify-content: space-evenly; }
.fx-lines i { position: relative; width: 1px; height: 100%; background: linear-gradient(180deg, transparent, rgba(255,255,255,.045) 20%, rgba(255,255,255,.045) 80%, transparent); }
.fx-lines i::before, .fx-lines i::after { content: "+"; position: absolute; left: -4px; font: 300 10px/1 var(--mono); color: rgba(212,175,106,.35); }
.fx-lines i::before { top: 18%; } .fx-lines i::after { bottom: 18%; }

main, .footer { position: relative; z-index: 3; }

/* ---------- HUD + indikator skrola ---------- */
.hud { position: fixed; left: var(--pad); bottom: 22px; z-index: 40; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 10.5px; pointer-events: none; transition: opacity .6s; }
.hud__idx { color: var(--gold); }
.hud__sep { width: 26px; height: 1px; background: rgba(212,175,106,.6); }
.hud__name { color: var(--white); min-width: 80px; }
.hud__coord { margin-left: 18px; color: var(--dim); }
/* oznaka dolje desno: "SKROLUJ" + mali miš, uvijek vidljiva dok se skroluje */
.scrollhint { position: fixed; right: var(--pad); bottom: 22px; z-index: 40; display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 7px 8px 7px 16px; border-radius: 30px; border: 1px solid rgba(230,196,128,.45); background: rgba(8,8,9,.75); pointer-events: none; transition: opacity .6s; }
.scrollhint__label { font-size: 11.5px; font-weight: 600; letter-spacing: .26em; color: var(--gold-hi); }
.scrollhint__track { display: none; }
.scrollhint__track b { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--gold-grad); transform-origin: top; transform: scaleY(0); }
.scrollhint__mouse { position: relative; width: 20px; height: 31px; border: 2px solid var(--gold-hi); border-radius: 11px; box-shadow: 0 0 14px rgba(230,196,128,.35); }
.scrollhint__mouse i { position: absolute; left: 50%; top: 18px; width: 2px; height: 5px; margin-left: -1px; border-radius: 2px; background: var(--gold-hi); animation: wheel 1.8s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(-9px); opacity: 0; } 100% { opacity: 0; } }
.is-loading .hud, .is-loading .scrollhint, .is-end .scrollhint, .at-top .scrollhint { opacity: 0; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.scroll-progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--gold-grad); }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; padding: 28px var(--pad); display: flex; flex-direction: column; justify-content: space-between; pointer-events: all; }
.loader__corner { position: absolute; width: 26px; height: 26px; border: 0 solid var(--gold); opacity: .8; }
.loader__corner.tl { top: 16px; left: 16px; border-top-width: 1px; border-left-width: 1px; }
.loader__corner.tr { top: 16px; right: 16px; border-top-width: 1px; border-right-width: 1px; }
.loader__corner.bl { bottom: 16px; left: 16px; border-bottom-width: 1px; border-left-width: 1px; }
.loader__corner.br { bottom: 16px; right: 16px; border-bottom-width: 1px; border-right-width: 1px; }
.loader__top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); padding-top: 8px; }
.loader__brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-stretch: 125%; text-transform: uppercase; letter-spacing: .2em; font-size: 13px; }
.loader__brand svg { width: 24px; height: 21px; }
.loader__bottom { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 24px; }
.loader__phase { display: flex; gap: 18px; color: var(--white); }
.loader__phase span:first-child { color: var(--gold); }
.loader__pct { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 72px); line-height: .8; font-variant-numeric: tabular-nums lining-nums; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.loader__pct small { font-size: .35em; margin-left: 4px; vertical-align: top; }
.loader__line { position: absolute; left: var(--pad); right: var(--pad); bottom: 40px; height: 1px; background: rgba(255,255,255,.1); }
.loader__line span { display: block; height: 100%; width: 0; background: var(--gold-grad); box-shadow: 0 0 12px rgba(243,223,168,.7); }

/* ---------- Dugmad ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 56px; padding: 0 30px; border-radius: 2px; font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; overflow: hidden; isolation: isolate; white-space: nowrap; transition: color .5s var(--ease), border-color .4s, box-shadow .5s; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.btn:hover::before { transform: scaleY(1); }
.btn--gold { background: var(--gold-metal); color: #17110a; box-shadow: var(--gold-metal-shadow), 0 10px 30px -12px rgba(212,175,106,.6); }
.btn--gold::before { background: #fff6dc; }
.btn--gold::after { content: none; }
@keyframes sheen { 0%, 55% { transform: translateX(-160%) skewX(-20deg); } 100% { transform: translateX(330%) skewX(-20deg); } }
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.btn--line { border: 1px solid var(--line-2); color: var(--white); background: rgba(255,255,255,.04); backdrop-filter: blur(10px); }
.btn--line::before { background: #fff; }
.btn--line:hover { color: #0a0a0a; border-color: #fff; }
.btn--sm { height: 42px; padding: 0 20px; font-size: 11px; }

/* ---------- Tipografija ---------- */
.label { display: inline-flex; align-items: center; gap: 14px; color: var(--silver); margin-bottom: 22px; }
.label span:first-child { color: var(--gold); }
.label span:first-child::after { content: ""; display: inline-block; width: 46px; height: 1px; margin-left: 14px; vertical-align: middle; background: linear-gradient(90deg, var(--gold), transparent); }
.h2 { font-size: clamp(34px, 4.8vw, 80px); font-weight: 650; font-stretch: 112%; line-height: .98; letter-spacing: -.035em; text-transform: uppercase; color: var(--white); text-shadow: 0 6px 40px rgba(0,0,0,.85); }
.h2 em, .h3 em { font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: -.01em; background-size: 220% 100% !important; animation: goldflow 6s ease-in-out infinite alternate; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; padding-right: .06em; }
.h2--rail { font-size: clamp(28px, 3.2vw, 54px); max-width: 900px; }
.h3 { font-size: clamp(28px, 3.2vw, 52px); font-weight: 650; font-stretch: 112%; line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.lead { font-size: clamp(16px, 1.25vw, 19px); color: var(--silver); max-width: 600px; margin-top: 22px; text-shadow: 0 2px 20px rgba(0,0,0,.9); }

/* ---------- Navigacija ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 22px var(--pad); transition: transform .7s var(--ease), padding .4s, background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { padding-top: 14px; padding-bottom: 14px; background: rgba(5,5,5,.72); backdrop-filter: blur(16px); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { display: flex; align-items: center; gap: 12px; justify-self: start; }
.nav__logo { width: 32px; height: 28px; }
.nav__name { font-stretch: 125%; font-weight: 650; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; }
.nav__name em { font-weight: 400; color: var(--gold); }
.nav__links { display: flex; gap: 32px; }
.nav__links a { display: inline-flex; align-items: baseline; gap: 7px; font-size: 14px; font-weight: 500; color: var(--silver); transition: color .3s; }
.nav__links a i { font-style: normal; font-size: 10px; color: var(--gold); opacity: .7; }
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__gold span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__right { display: flex; align-items: center; gap: 18px; justify-self: end; }
.lang { display: flex; gap: 6px; color: var(--dim); }
.lang button { font: inherit; letter-spacing: inherit; transition: color .3s; }
.lang button.is-active { color: var(--gold); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); position: relative; border-radius: 50%; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--white); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 44px; padding: 100px var(--pad) 40px; background: rgba(5,5,5,.97); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); visibility: hidden; }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-stretch: 120%; font-weight: 650; text-transform: uppercase; font-size: clamp(28px, 8vw, 46px); letter-spacing: -.02em; }
.mobile-menu nav a i { font-style: normal; font-size: 12px; color: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; display: flex; flex-direction: column; justify-content: flex-start; padding: clamp(104px, 14vh, 150px) var(--pad) clamp(24px, 4vh, 44px); }
.hero__bottom { margin-top: auto; }
.hero__top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
/* naslov: tamna mekana sjenka iza teksta je gradijent (ne filter) — ne crta se ponovo svaki frejm */
.hero__title { position: relative; isolation: isolate; font-family: var(--serif); font-size: clamp(42px, min(6.2vw, 10.5vh), 124px); font-weight: 400; line-height: 1.02; letter-spacing: -.02em; perspective: 900px; }
.hero__title::before { content: ""; position: absolute; inset: -18% -10%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(0,0,0,.6), rgba(0,0,0,.25) 60%, transparent); }
.hero__title .line { display: block; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .03em .14em; margin: -.08em -.03em -.14em; }
.hero__title .wi { display: inline-block; background: linear-gradient(180deg, #ffffff 0%, #e9eaec 55%, #b5b8be 100%); -webkit-background-clip: text; background-clip: text; color: transparent; will-change: transform; }
.hero__title .wi.accent { font-style: italic; font-weight: 500; padding-right: .08em;
  background: linear-gradient(100deg, #b8892f 0%, #f3d38a 16%, #fffaf0 24%, #f3cf7f 32%, #c99a3e 52%, #fff1c9 68%, #b8892f 100%);
  background-size: 260% 100%; -webkit-background-clip: text; background-clip: text;
  animation: shimmer 4.2s linear infinite; }
.hero__title .w--glow { overflow: visible; }
/* sjaj iza "zasija": zlatni gradijent koji pulsira samo opacity/scale (radi ga grafička, glatko) */
.glowword { position: relative; display: inline-block; isolation: isolate; }
.glowword::before { content: ""; position: absolute; inset: -12% -8% -6%; z-index: -1; pointer-events: none; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,205,110,.42), rgba(255,185,70,.14) 55%, transparent 75%); animation: glowSoft 2.8s ease-in-out infinite; will-change: opacity, transform; }
@keyframes glowSoft { 0%, 100% { opacity: .45; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
.js .is-loading .glowword::before { opacity: 0; animation: none; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -160% 0; } }
.sparks { position: absolute; inset: -10% -6% -4% -4%; pointer-events: none; }
.sparks i { position: absolute; width: .22em; height: .22em; background: radial-gradient(circle, #fff 0 18%, #ffe6a8 30%, transparent 70%); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); opacity: 0; animation: spark 2.6s ease-in-out infinite; will-change: transform, opacity; }
.sparks i:nth-child(1) { top: 2%; right: 4%; animation-delay: .2s; }
.sparks i:nth-child(2) { top: 38%; left: -2%; width: .15em; height: .15em; animation-delay: 1.1s; }
.sparks i:nth-child(3) { bottom: 6%; right: 26%; width: .17em; height: .17em; animation-delay: 1.9s; }
.sparks i:nth-child(4) { top: -6%; left: 38%; width: .12em; height: .12em; animation-delay: 2.4s; }
@keyframes spark { 0%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 45% { opacity: 1; transform: scale(1) rotate(45deg); } 70% { opacity: 0; transform: scale(.4) rotate(90deg); } }
.hero__top::after { content: ""; width: 72px; height: 1px; margin-top: 4px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
@keyframes goldflow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.hero__bottom { display: flex; justify-content: center; align-items: flex-end; padding-bottom: 6px; }
.hero__spacer { display: none; }
/* mali, čist link ka Akademiji ispod slogana */
.ac-link { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 30px; border: 1px solid rgba(212,175,106,.35); color: var(--gold-hi); transition: border-color .4s, background .4s; }
.ac-link svg { width: 20px; height: 17px; }
.ac-link .mono { font-size: 10.5px; letter-spacing: .22em; }
.ac-link i { font-style: normal; font-size: 13px; transition: transform .4s var(--ease); }
.ac-link:hover { border-color: var(--gold-hi); background: rgba(212,175,106,.08); }
.ac-link:hover i { transform: translateX(4px); }
.hero__center { display: flex; flex-direction: column; align-items: center; gap: 22px; }
/* oznaka za skrol: jasna kapsula — miš, tekst i strelice u jednom redu */
.scrollcue { position: relative; display: inline-flex; align-items: center; gap: 16px; padding: 10px 22px 10px 12px; border-radius: 40px; color: #fff;
  border: 1px solid rgba(243,223,168,.75); background: rgba(8,8,9,.78); box-shadow: inset 0 1px 0 rgba(255,240,205,.25), 0 10px 30px -10px rgba(0,0,0,.9);
  transition: border-color .4s, background .4s; }
.scrollcue::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 6px rgba(230,196,128,.12), 0 0 26px rgba(230,196,128,.35); opacity: 0; animation: glowO 2.4s ease-in-out infinite; }
@keyframes glowO { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.scrollcue:hover { border-color: var(--gold-hi); background: rgba(30,24,12,.9); }
.scrollcue__mouse { position: relative; flex: none; width: 24px; height: 38px; border: 2px solid var(--gold-hi); border-radius: 13px; }
.scrollcue__mouse i { position: absolute; left: 50%; top: 20px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-hi); animation: wheelBig 1.6s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes wheelBig { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(-12px); opacity: 0; } 100% { opacity: 0; } }
.scrollcue__label { order: 2; font-size: 12.5px; font-weight: 600; letter-spacing: .26em; color: #fff; white-space: nowrap; }
.scrollcue__arrows { order: 3; display: flex; flex-direction: column-reverse; align-items: center; padding-top: 6px; }
.scrollcue__arrows i { width: 10px; height: 10px; border-left: 2px solid var(--gold-hi); border-top: 2px solid var(--gold-hi); transform: rotate(45deg); margin-top: -4px; opacity: 0; animation: chev 1.6s ease-in-out infinite; }
.scrollcue__arrows i:nth-child(2) { animation-delay: .18s; } .scrollcue__arrows i:nth-child(3) { animation-delay: .36s; }
@keyframes chev { 0% { opacity: 0; transform: translateY(6px) rotate(45deg); } 40% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(-6px) rotate(45deg); } }
.hero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.teaser { justify-self: start; display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border-radius: 18px; border: 1px solid rgba(212,175,106,.45); background: linear-gradient(120deg, rgba(212,175,106,.16), rgba(212,175,106,.03)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: border-color .4s, transform .5s var(--ease), box-shadow .5s; }
.teaser:hover { border-color: var(--gold-hi); transform: translateY(-3px); box-shadow: 0 16px 40px -14px rgba(212,175,106,.6); }
.teaser__logo { width: 38px; height: 34px; padding: 6px; border-radius: 12px; background: rgba(0,0,0,.5); box-sizing: content-box; }
.teaser__txt { display: flex; flex-direction: column; gap: 2px; }
.teaser__txt small { color: var(--gold-hi); font-size: 10px; }
.teaser__txt b { font-weight: 500; font-size: 14.5px; color: #fff; }
.teaser__arrow { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #120d04; }
.teaser__arrow svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.ticker { position: relative; z-index: 3; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(5,5,5,.6); padding: 16px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__group { display: flex; align-items: center; flex-shrink: 0; }
.ticker__item { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--silver); padding: 0 26px; white-space: nowrap; }
.ticker__dot { width: 5px; height: 5px; transform: rotate(45deg); background: var(--gold); flex-shrink: 0; }

/* ---------- Sekcije ---------- */
.section { position: relative; padding: clamp(110px, 16vh, 200px) 0; }

/* Usluge — šina sa karticama na stubovima */
.rail__head { max-width: 1400px; }
.rail__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 50px; padding: 0 var(--pad); max-width: 1400px; margin-left: auto; margin-right: auto; }
.rail__counter { display: none; }
html.rail3d .rail { padding: 0; }
html.rail3d .rail__head { position: sticky; top: 92px; padding-top: 10px; z-index: 2; }
html.rail3d .rail__cards { display: none; }
html.rail3d .rail__counter { display: flex; align-items: center; gap: 16px; position: sticky; top: calc(100vh - 80px); color: var(--silver); }
.rail__counter b { color: var(--white); font-weight: 500; }
.rail__counter .rail__idx { color: var(--gold); }
.rail__bar { position: relative; width: 140px; height: 1px; background: var(--line-2); }
.rail__bar span { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: var(--gold-grad); }
.rail__cards--sub { margin-top: 18px; }

/* Kartica — čisto staklo. Sve mjere u --u da se u 3D-u renderuje u dvostrukoj rezoluciji (oštar tekst). */
.pcard { --u: 1px; position: relative; width: 100%; padding: calc(28 * var(--u)) calc(28 * var(--u)) calc(22 * var(--u)); display: flex; flex-direction: column; gap: calc(14 * var(--u)); border-radius: calc(26 * var(--u)); color: #fff; overflow: hidden; cursor: pointer;
  background: linear-gradient(150deg, rgba(255,255,255,.17) 0%, rgba(255,255,255,.07) 45%, rgba(255,255,255,.04) 100%);
  border: var(--u) solid rgba(230,196,128,.55);
  box-shadow: inset 0 var(--u) 0 rgba(255,240,205,.45), inset 0 0 calc(24 * var(--u)) rgba(212,175,106,.08), 0 0 0 calc(3 * var(--u)) rgba(212,175,106,.07), 0 calc(30 * var(--u)) calc(80 * var(--u)) calc(-25 * var(--u)) rgba(0,0,0,.85);
  transition: border-color .4s; -webkit-font-smoothing: antialiased; }
.pcard:hover { border-color: rgba(250,220,150,.9); }
.pcard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 60% at 15% -10%, rgba(255,255,255,.22), transparent 55%); }
.pcard::after { content: ""; position: absolute; left: calc(28 * var(--u)); right: calc(28 * var(--u)); top: 0; height: calc(2 * var(--u)); background: linear-gradient(90deg, transparent, #fff1c9, #d4af6a, transparent); background-size: 200% 100%; animation: cardline 5s ease-in-out infinite alternate; }
@keyframes cardline { from { background-position: 0% 0; } to { background-position: 100% 0; } }
/* telefon: zlatna linija na kartici je mirna — animacija bi prekrtavala karticu u 3D sloju svaki frejm */
@media (hover: none) { .pcard::after { animation: none; background-position: 50% 0; } }
.rail__cards .pcard { backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
#css3d .pcard { --u: 2px; width: 720px; background: linear-gradient(150deg, rgba(64,64,68,.92) 0%, rgba(32,32,35,.92) 50%, rgba(20,20,22,.94) 100%); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
#css3d .pcard--sub { width: 660px; }
.pcard__top { position: relative; display: flex; justify-content: space-between; align-items: center; }
.pcard__ic { width: calc(48 * var(--u)); height: calc(48 * var(--u)); border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); border: var(--u) solid rgba(255,255,255,.25); box-shadow: inset 0 var(--u) 0 rgba(255,255,255,.3); }
.pcard__ic svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pcard__num, .pcard__kicker { font-family: var(--mono); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-hi); font-size: calc(12 * var(--u)); }
.pcard__num i { font-style: normal; color: rgba(255,255,255,.45); }
.pcard__kicker { font-size: calc(10.5 * var(--u)); text-align: right; max-width: calc(170 * var(--u)); }
.pcard h3 { position: relative; font-size: calc(28 * var(--u)); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; margin-top: calc(6 * var(--u)); color: #fff; }
.pcard--sub h3 { font-size: calc(25 * var(--u)); }
.pcard p { position: relative; color: rgba(255,255,255,.82); font-size: calc(15.5 * var(--u)); line-height: 1.55; }
.pcard .tags { position: relative; display: flex; flex-wrap: wrap; gap: calc(6 * var(--u)); }
.pcard .tags li { font-size: calc(10.5 * var(--u)); padding: calc(5 * var(--u)) calc(11 * var(--u)); border-radius: calc(20 * var(--u)); background: rgba(255,255,255,.08); border: var(--u) solid rgba(255,255,255,.16); color: rgba(255,255,255,.88); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 10.5px; padding: 5px 11px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.85); }
.pcard__inc { position: relative; display: flex; align-items: center; gap: calc(8 * var(--u)); padding: calc(10 * var(--u)) calc(14 * var(--u)); border-radius: calc(14 * var(--u)); background: rgba(212,175,106,.14); border: var(--u) solid rgba(212,175,106,.35); color: var(--gold-hi); font-size: calc(10.5 * var(--u)); }
.pcard__inc em { margin-left: auto; font-style: normal; font-size: calc(14 * var(--u)); }
.pcard__foot { position: relative; margin-top: calc(4 * var(--u)); padding-top: calc(14 * var(--u)); border-top: var(--u) solid rgba(255,255,255,.12); }
.pcard__cta { display: inline-flex; align-items: center; gap: calc(12 * var(--u)); padding: calc(6 * var(--u)) calc(6 * var(--u)) calc(6 * var(--u)) calc(16 * var(--u)); border-radius: calc(30 * var(--u)); background: #fff; color: #0c0c0c; font-family: var(--mono); font-size: calc(11 * var(--u)); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.pcard__cta i { width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: 50%; display: grid; place-items: center; background: #0c0c0c; color: var(--gold-hi); transition: transform .5s var(--ease); }
.pcard__cta svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); fill: none; stroke: currentColor; stroke-width: 2; }
.pcard:hover .pcard__cta i { transform: rotate(45deg); }
.pcard__wm { position: absolute; right: calc(-6 * var(--u)); bottom: calc(-40 * var(--u)); font-family: var(--serif); font-style: italic; font-weight: 500; font-size: calc(170 * var(--u)); line-height: 1; color: transparent; -webkit-text-stroke: var(--u) rgba(240,210,150,.22); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0)); -webkit-background-clip: text; background-clip: text; pointer-events: none; padding-right: .08em; }
/* dugme u stilu kartice — staklo sa zlatnom ivicom */
.pcard__cta { background: rgba(255,255,255,.07) !important; color: #fff !important; border: var(--u) solid rgba(230,196,128,.55); box-shadow: inset 0 var(--u) 0 rgba(255,255,255,.18); }
.pcard__cta i { background: rgba(212,175,106,.16) !important; border: var(--u) solid rgba(240,210,150,.6); color: #f6e3b0 !important; }
.pcard:hover .pcard__cta { border-color: rgba(250,220,150,.9); background: rgba(212,175,106,.12) !important; }
/* podkartice — samo naslov */
#css3d .pcard--sub { width: 520px; }
/* telefon: kartice u 3D sloju u 1x rezoluciji (pola dimenzija, isti izgled) */
html.cards1x #css3d .pcard { --u: 1px; width: 360px; }
html.cards1x #css3d .pcard--sub { width: 260px; }
.pcard--sub { gap: calc(18 * var(--u)); padding: calc(24 * var(--u)) calc(24 * var(--u)) calc(26 * var(--u)); }
.pcard--sub h3 { font-size: calc(30 * var(--u)) !important; margin-top: 0; }
.pcard--sub .pcard__kicker { max-width: none; }
/* ---------- Proces: 3D zlatne kapije + koraci vezani za skrol ---------- */
.process { position: relative; z-index: 3; height: 260vh; }
.proc__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.proc__head { padding-top: 110px; }
.proc__steps { position: absolute; left: 0; right: 0; bottom: 14vh; }
.proc__step { position: absolute; left: var(--pad); bottom: 0; display: flex; align-items: flex-end; gap: 30px; max-width: 760px; opacity: 0; }
.proc__num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(110px, 14vw, 220px); line-height: .8; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: .12em .22em .14em .04em; margin: -.12em -.22em -.14em -.04em; overflow: visible; }
.proc__txt h3 { font-size: clamp(26px, 3vw, 48px); font-stretch: 118%; font-weight: 700; text-transform: uppercase; letter-spacing: -.025em; line-height: 1; text-shadow: 0 4px 30px rgba(0,0,0,.95); }
.proc__txt p { margin-top: 14px; font-size: clamp(16px, 1.3vw, 19px); color: var(--silver); max-width: 440px; text-shadow: 0 2px 20px rgba(0,0,0,1); }
.proc__nav { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 34px; }
.proc__nav li { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 14px; color: var(--dim); transition: color .5s; flex-direction: row-reverse; }
.proc__nav li i { width: 12px; height: 12px; border: 1px solid var(--gold); transform: rotate(45deg); background: #050505; transition: background .5s, box-shadow .5s; position: relative; z-index: 1; }
.proc__nav li.is-on { color: var(--white); }
.proc__nav li.is-on i { background: var(--gold-grad); box-shadow: 0 0 16px rgba(212,175,106,.9); }
.proc__nav::before { content: ""; position: absolute; right: 5.5px; top: 6px; bottom: 6px; width: 1px; background: rgba(212,175,106,.25); }
.proc__fill { position: absolute; right: 5.5px; top: 6px; width: 1px; height: calc(100% - 12px); background: var(--gold-grad); transform-origin: top; transform: scaleY(var(--p, 0)); box-shadow: 0 0 8px var(--gold); }
.no-webgl .process { height: auto; }
.no-webgl .proc__stage { position: relative; height: auto; padding-bottom: 80px; }
.no-webgl .proc__steps { position: relative; bottom: auto; display: grid; gap: 40px; padding-top: 40px; }
.no-webgl .proc__step { position: relative; left: auto; opacity: 1; }
.no-webgl .proc__nav { display: none; }
/* ---------- Naši radovi ---------- */
.works { position: relative; z-index: 3; height: 420vh; }
.works__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 4vh, 44px); padding: 90px 0 40px; overflow: hidden; }
.works__head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.work { position: relative; display: grid; grid-template-columns: 1.4fr .8fr; align-items: center; gap: clamp(30px, 5vw, 80px); max-width: 1300px; width: 100%; margin: 0 auto; padding: 0 var(--pad); }
.work__stage { position: relative; perspective: 1800px; height: clamp(300px, 52vh, 560px); display: flex; align-items: center; justify-content: center; }
.laptop { position: relative; width: min(100%, 720px); transform-style: preserve-3d; will-change: transform; }
.laptop__lid { position: relative; transform-origin: 50% 100%; transform-style: preserve-3d; will-change: transform; }
.laptop__bezel { padding: 2.2% 2.2% 3%; border-radius: 18px 18px 6px 6px; background: linear-gradient(180deg, #2a2b2e, #111214); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px -20px rgba(0,0,0,.9); }
.laptop__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #000; }
.laptop__screen img, .phone__screen img { width: 100%; height: auto; will-change: transform; }
.laptop__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.12) 0%, transparent 35%); pointer-events: none; }
.laptop__base { position: relative; height: 16px; margin: 0 -7%; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #d6d8dc 0%, #8d9096 60%, #4b4d52 100%); box-shadow: 0 30px 50px -10px rgba(0,0,0,.8); }
.laptop__base i { position: absolute; left: 50%; top: 0; width: 16%; height: 6px; margin-left: -8%; border-radius: 0 0 8px 8px; background: #6c6f75; }
.phone { position: absolute; right: 2%; bottom: -2%; width: clamp(110px, 21%, 190px); aspect-ratio: 9 / 19.2; padding: 3.2%; border-radius: 30px; background: linear-gradient(160deg, #3a3b3f, #121315); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18), -20px 30px 60px -10px rgba(0,0,0,.9); will-change: transform; }
.phone__screen { width: 100%; height: 100%; overflow: hidden; border-radius: 22px; background: #000; }
.phone__notch { position: absolute; top: 5%; left: 50%; width: 30%; height: 3.4%; margin-left: -15%; border-radius: 10px; background: #000; }
.work__shadow { position: absolute; left: 10%; right: 10%; bottom: -4%; height: 40px; background: radial-gradient(closest-side, rgba(212,175,106,.35), transparent); filter: blur(10px); }
.work__info { display: flex; flex-direction: column; gap: 14px; }
.work__type { color: var(--gold-hi); }
.work__info h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4vw, 64px); line-height: 1; letter-spacing: -.02em; }
.work__info p { color: var(--silver); max-width: 420px; }
.work__cta { display: inline-flex; align-self: flex-start; align-items: center; gap: 12px; margin-top: 8px; padding: 8px 8px 8px 20px; border-radius: 40px; background: var(--gold-metal); box-shadow: var(--gold-metal-shadow); color: #120d04; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: box-shadow .4s; }
.work__cta i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #120d04; color: var(--gold-hi); transition: transform .5s var(--ease); }
.work__cta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.work:hover .work__cta { box-shadow: 0 14px 40px -10px rgba(212,175,106,.9); }
.work:hover .work__cta i { transform: rotate(45deg); }

/* ---------- Zatraži uslugu ---------- */
.contact__head { text-align: center; max-width: 820px; margin: 0 auto 56px; display: flex; flex-direction: column; align-items: center; }
.contact__head .lead { margin-left: auto; margin-right: auto; }
.form { position: relative; max-width: 1060px; margin: 0 auto; border-radius: 26px; border: 1px solid rgba(255,255,255,.16); background: linear-gradient(170deg, rgba(30,30,33,.85), rgba(10,10,11,.9)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 50px 140px -40px rgba(0,0,0,.95); overflow: hidden; }
.form::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); }
.form__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px clamp(22px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.form__head > div { display: flex; align-items: center; gap: 14px; font-stretch: 120%; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; }
.form__logo { width: 28px; height: 24px; }
.form__badge { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-hi); font-size: 11px; }
.form__badge i { width: 7px; height: 7px; border-radius: 50%; background: #5ee08a; box-shadow: 0 0 10px #5ee08a; animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .35; } }
/* --- forma u 3 koraka --- */
.wiz__steps { position: relative; list-style: none; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); padding: 26px clamp(22px, 4vw, 48px) 0; }
.wiz__steps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; cursor: pointer; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: color .4s; }
.wiz__steps li:nth-child(2) { align-items: center; text-align: center; } .wiz__steps li:nth-child(3) { align-items: flex-end; text-align: right; }
.wiz__steps li b { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: #0b0b0c; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--silver); transition: all .45s var(--ease); }
.wiz__steps li.is-on { color: var(--white); }
.wiz__steps li.is-on b { border-color: transparent; background: var(--gold-metal); color: #120d04; box-shadow: 0 0 0 5px rgba(230,196,128,.14), 0 0 24px rgba(230,196,128,.45); }
.wiz__steps li.is-done { color: var(--gold-hi); }
.wiz__steps li.is-done b { border-color: var(--gold); color: var(--gold-hi); }
.wiz__bar { position: absolute; left: calc(clamp(22px, 4vw, 48px) + 19px); right: calc(clamp(22px, 4vw, 48px) + 19px); top: 45px; height: 1px; background: rgba(255,255,255,.12); }
.wiz__bar i { position: absolute; inset: 0; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); transition: transform .7s var(--ease); box-shadow: 0 0 8px rgba(230,196,128,.6); }
.wiz__panels { position: relative; padding: 34px clamp(22px, 4vw, 48px) 8px; min-height: 340px; }
.wiz__panels > .wiz__panel { display: none; flex-direction: column; gap: 26px; border: 0; margin: 0; padding: 0; min-width: 0; }
.wiz__panels > .wiz__panel.is-on { display: flex; animation: wizIn .6s var(--ease) both; }
@keyframes wizIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
.wiz__q { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 38px); font-weight: 500; line-height: 1.1; color: var(--white); padding: 0; margin: 0; float: none; }
.wiz__hint { margin-top: -16px; color: var(--muted); font-size: 14.5px; }
.wiz__panel.is-invalid .wiz__hint { color: #ff8b8b; }
.svcpick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.svcopt { position: relative; cursor: pointer; }
.svcopt input { position: absolute; opacity: 0; pointer-events: none; }
.svcopt > span { position: relative; height: 100%; display: flex; flex-direction: column; gap: 22px; padding: 18px 18px 20px; border-radius: 16px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); transition: border-color .35s, background .35s, transform .35s var(--ease), box-shadow .35s; user-select: none; }
.svcopt > span::after { content: ""; position: absolute; top: 16px; right: 16px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(230,196,128,.55); transition: all .3s; }
.svcopt svg { width: 30px; height: 30px; fill: none; stroke: var(--gold-hi); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.svcopt b { font-size: 15.5px; font-weight: 600; color: var(--white); line-height: 1.2; }
.svcopt:hover > span { border-color: rgba(230,196,128,.6); transform: translateY(-3px); }
.svcopt input:checked + span { border-color: var(--gold-hi); background: linear-gradient(160deg, rgba(230,196,128,.2), rgba(230,196,128,.04)); box-shadow: inset 0 1px 0 rgba(255,240,205,.3), 0 14px 34px -16px rgba(230,196,128,.6); }
.svcopt input:checked + span::after { background: var(--gold-metal); border-color: transparent; box-shadow: inset 0 0 0 4px #1a140a; }
.svcopt input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }
.svcopt--gold > span { border-color: rgba(230,196,128,.4); }
.wiz__panel.is-invalid .svcopt > span { border-color: rgba(255,107,107,.45); }
.field legend em { font-style: normal; color: var(--gold-hi); }
.budget__custom { display: none; align-items: center; gap: 12px; margin-top: 14px; max-width: 260px; }
.budget__custom.is-on { display: flex; animation: wizIn .4s var(--ease) both; }
.budget__custom input { width: 100%; font: inherit; font-size: 20px; font-weight: 600; color: var(--white); background: rgba(230,196,128,.06); border: 1px solid var(--gold); border-radius: 14px; padding: 12px 16px; outline: none; -moz-appearance: textfield; }
.budget__custom input::-webkit-outer-spin-button, .budget__custom input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.budget__custom input:focus { box-shadow: 0 0 0 4px rgba(212,175,106,.14); }
.budget__custom span { color: var(--gold-hi); font-size: 13px; }
#budgetField.is-invalid .budget__custom input { border-color: #ff6b6b; }
#budgetField.is-invalid legend { color: #ff8b8b; }
.wiz__panel .consent { margin-top: 4px; }
.form__foot .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wiz__count { color: var(--muted); font-size: 12px; letter-spacing: .2em; }
.wiz__count b { color: var(--gold-hi); font-weight: 500; }
.form[data-step="0"] .wiz__back { visibility: hidden; }
.form:not([data-step="2"]) #submitBtn, .form[data-step="2"] .wiz__next { display: none; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.field--full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { color: var(--silver); padding: 0; }
.field legend { margin-bottom: 14px; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 16px; color: var(--white); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 14px 16px; outline: none; transition: border-color .4s, background .4s, box-shadow .4s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23d4af6a' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field select option { background: #0b0b0b; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #6c6f75; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); background: rgba(212,175,106,.05); box-shadow: 0 0 0 4px rgba(212,175,106,.12); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff6b6b; }
.field--chips.is-invalid legend { color: #ff8b8b; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 30px; border: 1px solid rgba(255,255,255,.2); font-size: 14.5px; font-weight: 500; color: var(--silver); transition: all .35s var(--ease); user-select: none; cursor: pointer; }
.chip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--gold); transition: all .3s; }
.chip:hover span { border-color: var(--gold); color: var(--white); }
.chip input:checked + span { background: var(--gold-metal); box-shadow: var(--gold-metal-shadow); color: #120d04; border-color: transparent; }
.chip input:checked + span::before { background: #120d04; border-color: #120d04; }
.chip input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }
.chip--gold span { border-color: rgba(212,175,106,.6); color: var(--gold-hi); }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px clamp(22px, 4vw, 48px); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--silver); max-width: 520px; cursor: pointer; }
.consent input { -webkit-appearance: none; appearance: none; flex-shrink: 0; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; border: 1px solid var(--gold); display: grid; place-items: center; transition: all .3s; }
.consent input:checked { background: var(--gold-grad); }
.consent input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #120d04; border-bottom: 2px solid #120d04; transform: rotate(-45deg) translate(1px, -1px); }
.consent.is-invalid input { border-color: #ff6b6b; }
.form__error { color: #ff9a9a; font-size: 14.5px; padding: 0 clamp(22px, 4vw, 48px) 24px; }
.form__error:empty { display: none; }
.btn__spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(0,0,0,.25); border-top-color: #000; animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.is-sending .btn__spinner { display: block; }
.is-sending svg { display: none; }
.is-sending { pointer-events: none; opacity: .85; }
.form__success { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 40px; background: rgba(6,6,6,.97); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.form.is-sent .form__success { opacity: 1; visibility: visible; }
.form__success h3 { font-size: clamp(26px, 2.6vw, 38px); font-stretch: 115%; text-transform: uppercase; }
.form__success p { color: var(--silver); margin-bottom: 10px; }
.form__check svg { width: 84px; height: 84px; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.form__check circle { stroke: rgba(212,175,106,.6); stroke-dasharray: 151; stroke-dashoffset: 151; }
.form__check path { stroke: var(--gold-hi); stroke-dasharray: 40; stroke-dashoffset: 40; }
.form.is-sent .form__check circle { animation: draw 1s .2s var(--ease) forwards; }
.form.is-sent .form__check path { animation: draw .6s .9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.contact__info { max-width: 1060px; margin: 64px auto 0; }
.contact__infoTitle { text-align: center; color: var(--silver); margin-bottom: 22px; }
.contact__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 20px; border: 1px solid rgba(255,255,255,.14); background: rgba(14,14,16,.75); backdrop-filter: blur(10px); transition: border-color .4s, transform .5s var(--ease), background .4s; overflow: hidden; }
.tile svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.tile small { color: var(--muted); }
.tile span { font-size: clamp(16px, 1.3vw, 19px); font-weight: 500; color: var(--white); word-break: break-word; }
a.tile:hover { border-color: var(--gold); transform: translateY(-4px); background: rgba(212,175,106,.06); }
.socials { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .4s, border-color .4s; }
.socials a:hover { background: var(--gold-grad); border-color: transparent; }
.socials svg { width: 18px; height: 18px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.socials a:hover svg { stroke: #120d04; }

/* ---------- Footer ---------- */
.footer { padding: 90px 0 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(5,5,5,.5), #050505 35%); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer__logo { width: 56px; height: 48px; margin-bottom: 22px; }
.footer__slogan { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 28px); max-width: 320px; line-height: 1.2; }
.footer h5 { color: var(--gold); margin-bottom: 18px; }
.footer ul { display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; color: var(--silver); }
.footer ul a:hover { color: var(--gold-hi); }
.footer__big { font-weight: 800; font-stretch: 125%; font-size: clamp(48px, 13.4vw, 230px); line-height: .8; letter-spacing: -.05em; text-align: center; white-space: nowrap; background: linear-gradient(180deg, rgba(212,175,106,.35), rgba(212,175,106,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; margin: 10px 0 30px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.to-top:hover { color: var(--gold-hi); }

/* ---------- Stranica Akademije ---------- */
.ac-hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 120px var(--pad) 12vh; }
.ac-small { font-family: var(--mono); font-size: clamp(12px, 1vw, 14px); font-weight: 500; letter-spacing: .4em; text-transform: uppercase; color: var(--gold-hi); text-shadow: 0 0 24px rgba(212,175,106,.6); }
.ac-big { margin-top: 16px; font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 8.4vw, 156px); line-height: .92; letter-spacing: -.02em; background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: goldflow 8s ease-in-out infinite alternate; }
.ac-big .line { display: block; } .ac-big .line + .line { font-style: italic; }
.ac-hero .lead { margin: 22px auto 30px; max-width: 640px; }
.ac-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ascent { position: relative; height: 560vh; }
.ascent__head { position: sticky; top: 92px; z-index: 2; }
.ascent__counter { position: sticky; top: calc(100vh - 80px); display: flex; align-items: center; gap: 16px; color: var(--silver); }
.ascent__counter b { color: var(--gold-hi); font-weight: 500; }
.mpanel { position: relative; width: 340px; padding: 26px 26px 22px; border-radius: 24px; color: #fff; display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(150deg, rgba(78,61,29,.96), rgba(34,26,12,.97) 55%, rgba(18,14,7,.98));
  border: 1px solid rgba(243,223,168,.45); box-shadow: inset 0 1px 0 rgba(255,240,200,.35), 0 30px 80px -25px rgba(0,0,0,.9); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.mpanel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 60% at 15% -10%, rgba(255,240,200,.25), transparent 55%); }
.mpanel__n { position: relative; font-family: var(--serif); font-style: italic; font-size: 54px; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mpanel h4 { position: relative; font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.mpanel p { position: relative; color: rgba(255,244,220,.85); font-size: 15px; }
.ac-modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; padding: 0 var(--pad); max-width: 1400px; margin: 40px auto 0; }
html.rail3d .ac-modules { display: none; }
.ac-box { position: relative; max-width: 960px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 26px; border: 1px solid rgba(212,175,106,.4); background: linear-gradient(160deg, rgba(28,21,9,.88), rgba(10,8,4,.9)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 40px 120px -30px rgba(0,0,0,.9), 0 0 80px -40px rgba(212,175,106,.5); }
.ac-box .lead { margin-top: 0; color: #f1e3c0; }
.ac-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0 32px; }
.ac-features li { padding: 9px 14px; border-radius: 20px; border: 1px solid rgba(212,175,106,.45); color: #f1dfb3; }

/* --- Akademija: glavna poruka — zarada online + poslodavci --- */
.academy-page .ac-big { font-size: clamp(44px, 7vw, 128px); }
.ac-promise { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 22px 12px 14px; border-radius: 40px; background: var(--gold-metal); color: #140f05; font-size: clamp(14px, 1.3vw, 18px); font-weight: 600; box-shadow: var(--gold-metal-shadow), 0 0 0 6px rgba(230,196,128,.12), 0 14px 40px -12px rgba(230,196,128,.7); }
.ac-promise svg { flex: none; width: 26px; height: 26px; fill: none; stroke: #140f05; stroke-width: 1.6; stroke-linejoin: round; }
.ac-promise b { font-weight: 800; }
.academy-page .ac-hero .lead { margin-top: 18px; }
.academy-page .ac-hero { padding-bottom: 6vh; }
.academy-page .ac-hero::before { content: ""; position: absolute; left: 50%; bottom: 4vh; width: min(1200px, 120vw); height: 70%; transform: translateX(-50%); z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(0,0,0,.55), rgba(0,0,0,.2) 60%, transparent); }
.academy-page .ac-hero { isolation: isolate; }
.ac-big2__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ac-pr { position: relative; padding: clamp(28px, 4vw, 52px); border-radius: 28px; border: 1px solid rgba(230,196,128,.45); background: linear-gradient(165deg, rgba(34,26,12,.92), rgba(10,8,4,.94)); box-shadow: inset 0 1px 0 rgba(255,240,205,.25), 0 40px 100px -40px rgba(0,0,0,.9); overflow: hidden; }
.ac-pr__k { color: var(--gold-hi); font-size: 13px; letter-spacing: .2em; }
.ac-pr h2 { margin: 18px 0 16px; font-size: clamp(34px, 3.8vw, 64px); font-weight: 700; font-stretch: 112%; line-height: 1; letter-spacing: -.03em; text-transform: uppercase; color: #fff; }
.ac-pr h2 em { font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: -.01em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.ac-pr p { color: rgba(255,244,220,.82); font-size: clamp(15px, 1.2vw, 18px); max-width: 520px; }
.ac-pr--gold { border-color: var(--gold-hi); background: linear-gradient(160deg, rgba(74,54,18,.95), rgba(16,11,4,.95)); box-shadow: inset 0 1px 0 rgba(255,240,205,.4), 0 0 0 6px rgba(230,196,128,.08), 0 40px 100px -40px rgba(0,0,0,.9), 0 0 90px -30px rgba(230,196,128,.55); }
@media (max-width: 767px) { .ac-big2__grid { grid-template-columns: 1fr; } .ac-promise { padding: 10px 16px 10px 12px; } }

/* --- Akademija: šta učiš / kako radi / prijava --- */
.ac-sec { position: relative; z-index: 2; }
.ac-sec .h2 { margin-top: 18px; max-width: 900px; }
.ac-learn { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.ac-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 30px; border-radius: 22px; border: 1px solid rgba(230,196,128,.4); background: linear-gradient(165deg, rgba(34,26,12,.9), rgba(10,8,4,.92)); box-shadow: inset 0 1px 0 rgba(255,240,205,.25), 0 30px 70px -30px rgba(0,0,0,.9); overflow: hidden; transition: transform .5s var(--ease), border-color .4s; }
.ac-card:hover { transform: translateY(-6px); border-color: var(--gold-hi); }
.ac-card__n { position: absolute; right: 18px; top: 6px; font-family: var(--serif); font-style: italic; font-size: 76px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(230,196,128,.3); }
.ac-card svg { width: 40px; height: 40px; fill: none; stroke: var(--gold-hi); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ac-card h3 { margin-top: 18px; font-size: 22px; font-weight: 650; letter-spacing: -.01em; line-height: 1.15; color: #fff; }
.ac-card p { color: rgba(255,244,220,.78); font-size: 15px; }
.ac-path { --fill: 0; position: relative; list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ac-path::before, .ac-path::after { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 1px; background: rgba(230,196,128,.2); }
.ac-path::after { background: var(--gold-grad); transform-origin: left; transform: scaleX(var(--fill)); box-shadow: 0 0 10px rgba(230,196,128,.7); }
.ac-path li { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; }
.ac-path li > b { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold); background: #0b0804; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 22px; color: var(--gold-hi); }
.ac-path li > div { padding: 24px; border-radius: 20px; border: 1px solid rgba(255,255,255,.1); background: rgba(10,8,4,.82); flex: 1; }
.ac-path h3 { font-size: 21px; font-weight: 650; color: #fff; margin-bottom: 10px; }
.ac-path p { color: rgba(255,244,220,.78); font-size: 15px; }
.ac-path li.is-gold > b { background: var(--gold-metal); color: #120d04; border-color: transparent; box-shadow: 0 0 0 6px rgba(230,196,128,.14), 0 0 30px rgba(230,196,128,.5); }
.ac-path li.is-gold > div { border-color: rgba(230,196,128,.6); background: linear-gradient(160deg, rgba(60,44,16,.9), rgba(14,10,4,.92)); }
.ac-form { position: relative; max-width: 860px; margin: 0 auto; padding: clamp(26px, 5vw, 56px); border-radius: 28px; border: 1px solid rgba(230,196,128,.5); background: linear-gradient(165deg, rgba(34,26,12,.94), rgba(10,8,4,.95)); box-shadow: inset 0 1px 0 rgba(255,240,205,.3), 0 50px 140px -40px rgba(0,0,0,.95), 0 0 90px -40px rgba(230,196,128,.5); overflow: hidden; }
.ac-form::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); }
.ac-form__head { text-align: center; margin-bottom: 36px; }
.ac-form__head .h2 { margin: 14px auto 12px; }
.ac-form__head p { color: rgba(255,244,220,.8); max-width: 560px; margin: 0 auto; }
.ac-form .form__error { padding: 18px 0 0; }
.ac-form__btn { width: 100%; margin-top: 26px; height: 62px; font-size: 14px; }
.ac-form__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ac-form.is-sent .form__success { opacity: 1; visibility: visible; }
.ac-form.is-sent .form__check circle { animation: draw 1s .2s var(--ease) forwards; }
.ac-form.is-sent .form__check path { animation: draw .6s .9s var(--ease) forwards; }
.ac-form .form__success { background: rgba(12,9,4,.97); }
.ig { position: relative; display: block; }
.ig i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--gold-hi); font-weight: 600; pointer-events: none; }
.field .ig input { padding-left: 36px; }
@media (max-width: 1100px) { .ac-learn { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .ac-learn { grid-template-columns: 1fr; }
  .ac-path { grid-template-columns: 1fr; }
  .ac-path::before, .ac-path::after { left: 28px; right: auto; top: 28px; bottom: 28px; width: 1px; height: auto; }
  .ac-path::after { transform-origin: top; transform: scaleY(var(--fill)); }
  .ac-path li { flex-direction: row; align-items: flex-start; }
  .ac-path li > b { flex: none; }
}

/* Reveal states */
.js .is-loading .nav, .js .is-loading .hero__title .wi, .js .is-loading .ac-link, .js .is-loading .sparks, .js .is-loading .hero__bottom > *, .js .is-loading .ticker, .js .is-loading .fx-lines { opacity: 0; }
body:not(.is-loading) .ticker, body:not(.is-loading) .fx-lines { transition: opacity 1.2s ease .6s; }
.js [data-reveal] { opacity: 0; }
.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }

/* ---------- Desktop: veći header i veća dugmad u hero sekciji ---------- */
@media (min-width: 1101px) {
  .nav { padding-top: 26px; padding-bottom: 26px; }
  .nav.is-scrolled { padding-top: 16px; padding-bottom: 16px; }
  .nav__logo { width: 40px; height: 35px; }
  .nav__name { font-size: 16.5px; }
  .nav__links { gap: 40px; }
  .nav__links a { font-size: 16.5px; }
  .nav__links a i { font-size: 11.5px; }
  .nav__right > .btn { height: 48px; padding: 0 24px; font-size: 13px; }
  .lang { font-size: 13px; }
  .hero__ctas { gap: 16px; }
  .hero__ctas .btn { height: 66px; padding: 0 40px; font-size: 15px; }
  .hero__sub-ctas { gap: 16px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .burger { display: block; }
  .svcpick { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .proc__row { grid-template-columns: 1fr 1fr; }
  .work { grid-template-columns: 1fr; gap: 26px; }
  .work__info { align-items: center; text-align: center; }
  .work__cta { align-self: center; }
  .hud__coord { display: none; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .nav { padding-top: 14px; padding-bottom: 14px; gap: 10px; }
  .nav__right { gap: 10px; }
  .nav__right > .btn { display: none; }
  .nav__logo { width: 26px; height: 22px; }
  .nav__name { font-size: 11px; letter-spacing: .14em; }
  .hero { padding-top: 100px; padding-bottom: 20px; }
  .hero__bottom { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding-bottom: 0; }
  .hero__center { gap: 14px; }
  .hero__ctas { width: 100%; flex-direction: column; gap: 10px; }
  .hero__ctas .btn { width: 100%; }
  .hero__center { width: 100%; }
  .scrollcue { align-self: center; gap: 12px; padding: 8px 16px 8px 10px; }
  .scrollcue__label { font-size: 10.5px; letter-spacing: .18em; }
  .scrollcue__mouse { width: 20px; height: 32px; }
  .scrollcue__mouse i { top: 16px; }
  .hud { display: none; }
  .hero__spacer { display: none; }
  .teaser__txt b { font-size: 13.5px; }
  html.rail3d .rail__head { top: 72px; }
  .h2--rail { font-size: 26px; }
  .rail__cards { grid-template-columns: 1fr; }
  .proc__head { padding-top: 84px; }
  .proc__steps { bottom: 13vh; }
  .proc__step { flex-direction: column; align-items: flex-start; gap: 10px; right: var(--pad); }
  .proc__num { font-size: 92px; }
  .proc__nav { top: auto; bottom: 5vh; left: var(--pad); right: var(--pad); transform: none; flex-direction: row; justify-content: space-between; gap: 0; }
  .proc__nav li { flex-direction: column; gap: 8px; font-size: 0; }
  .proc__nav::before { left: 6px; right: 6px; top: 5.5px; bottom: auto; width: auto; height: 1px; }
  .proc__fill { left: 6px; right: auto; top: 5.5px; width: calc(100% - 12px); height: 1px; transform-origin: left; transform: scaleX(var(--p, 0)); }
  .works { height: 360vh; }
  .work__stage { height: 38vh; }
  .work__info h3 { font-size: 34px; }
  .work__info p, .work__info .tags { display: none; }
  .form__grid { grid-template-columns: 1fr; }
  .form__head { flex-direction: column; align-items: flex-start; }
  .form__foot { gap: 10px; }
  .form__foot .btn { flex: 1; padding: 0 16px; }
  .form[data-step="0"] .wiz__back { display: none; }
  .wiz__count { display: none; }
  .wiz__steps li span { font-size: 10px; letter-spacing: .08em; }
  .wiz__steps li b { width: 34px; height: 34px; }
  .wiz__bar { top: 43px; left: calc(clamp(22px, 4vw, 48px) + 17px); right: calc(clamp(22px, 4vw, 48px) + 17px); }
  .wiz__panels { padding-top: 26px; min-height: 0; }
  .svcpick { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svcopt > span { gap: 14px; padding: 14px; }
  .svcopt svg { width: 26px; height: 26px; }
  .svcopt b { font-size: 14px; }
  .svcopt--gold { grid-column: 1 / -1; }
  .contact__tiles { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .loader__top > .mono { display: none; }
  .scrollhint { bottom: 16px; right: 14px; gap: 9px; padding: 5px 6px 5px 12px; }
  .scrollhint__label { font-size: 10px; letter-spacing: .2em; }
  .scrollhint__mouse { width: 17px; height: 26px; }
  .scrollhint__mouse i { top: 14px; }
  .hud { bottom: 20px; left: 16px; }
  .rail__cards .pcard h3 { font-size: 25px; }
  .mpanel { width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-grain, .fx-smoke i, .btn--gold::after, .hero__title .wi.accent, .ac-big { animation: none; }
}

/* ---------- Lagani režim (slabiji uređaji) — bez skupih efekata ---------- */
/* Bez backdrop blur-a nigdje: iza svega je 3D scena koja se mijenja svaki frejm,
   pa bi blur morao da se računa iznova svaki put. Pozadine su zato malo tamnije. */
*, *::before, *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.nav.is-scrolled { background: rgba(5,5,5,.9); }
.btn--line { background: rgba(10,10,12,.62); }
.tile { background: rgba(14,14,16,.9); }
.teaser { background: linear-gradient(120deg, rgba(40,31,14,.92), rgba(14,12,8,.9)); }
.rail__cards .pcard { background-color: rgba(14,14,16,.92); }
.form { background: linear-gradient(170deg, rgba(24,24,27,.96), rgba(9,9,10,.97)); }
.ac-box { background: linear-gradient(160deg, rgba(28,21,9,.95), rgba(10,8,4,.96)); }
.lowfx .fx-grain, .lowfx .fx-smoke { display: none; }
.lowfx .nav.is-scrolled { background: rgba(5,5,5,.94); }
.lowfx .btn--line, .lowfx .teaser { background-color: rgba(18,18,20,.85); }
.lowfx .proc__item, .lowfx .tile, .lowfx .form, .lowfx .ac-box { background-color: rgba(12,12,14,.94); }
.lowfx .ac-big { animation: none; }
@media (max-width: 767px) { .fx-grain { display: none; } .fx-smoke i { animation: none; } }
/* ---------- Život: suptilni sjajevi i hover efekti ---------- */
.proc__num, .work__info h3, .footer__big { background-size: 220% 100%; animation: goldflow 7s ease-in-out infinite alternate; }
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.label span:first-child::after { background-size: 200% 100%; animation: goldflow 4s ease-in-out infinite alternate; }
.tile, .socials a, .ac-link { will-change: transform; }
.tile:hover svg { animation: iconpop .6s var(--ease); }
@keyframes iconpop { 40% { transform: scale(1.18) rotate(-6deg); } }
.btn--line:hover { box-shadow: 0 10px 30px -12px rgba(255,255,255,.35); }
.ac-link { position: relative; }
.ac-link::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; box-shadow: 0 0 22px -4px rgba(212,175,106,.55); opacity: 0; animation: glowO 3.2s ease-in-out infinite; }
/* bljesak pri prolasku kroz zlatnu kapiju */
.fx-flash { position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: radial-gradient(70% 60% at 50% 50%, rgba(255,214,140,.55), rgba(255,180,80,.18) 55%, transparent 80%); mix-blend-mode: screen; }
/* hero: glavno dugme + Radovi / Kontakt */
.hero__sub-ctas { display: flex; gap: 12px; }
.hero__sub-ctas .btn { min-width: 150px; }
/* filmski "rez" pri direktnom skoku na sekciju */
.fx-cut { position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: 0; background: #050505; }
@media (max-width: 767px) {
  .hero__sub-ctas { width: 100%; gap: 10px; }
  .hero__sub-ctas .btn { flex: 1; min-width: 0; }
}
/* Radovi: dva projekta naslagana, smjenjuju se 3D prelazom */
.works__stack { position: relative; width: 100%; }
.works__stack .work--2 { position: absolute; left: 0; right: 0; top: 0; }
.work__type b { color: #fff; font-weight: 600; }