:root {
  --red: #C8414B;
  --red-d: #A8323B;
  --red-l: #E9A8A2;
  --cream: #F5F0E9;
  --cream-2: #ECE4D8;
  --sand: #E2D6C6;
  --ink: #231F1C;
  --ink-2: #4A423C;
  --muted: #8A7F75;
  --line: rgba(35, 31, 28, .12);
  --wood: url('');
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --pad: clamp(20px, 5vw, 80px);
  --display: 'Outfit', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--display); font-weight: 400; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--red); letter-spacing: 0; }
::selection { background: var(--red); color: #fff; }

/* ---------- PRELOADER ---------- */
#loader {
  position: fixed; inset: 0; z-index: 100; background: var(--red); color: #fff;
  display: grid; place-items: center;
  clip-path: inset(0 0 0 0);
}
.loader-inner { text-align: right; }
.loader-logo { font-weight: 600; font-size: clamp(40px, 9vw, 120px); letter-spacing: .02em; line-height: 1; overflow: hidden; display: flex; }
.loader-logo .ll { display: inline-block; transform: translateY(110%); }
.loader-sub { font-weight: 500; letter-spacing: .32em; text-transform: uppercase; font-size: clamp(12px, 1.6vw, 20px); margin-top: 6px; opacity: 0; }
.loader-bar { height: 2px; background: rgba(255,255,255,.25); margin-top: 34px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.loader-count { font-size: 13px; letter-spacing: .2em; margin-top: 10px; opacity: .8; font-variant-numeric: tabular-nums; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--pad);
  transition: transform .5s var(--ease), background .4s, box-shadow .4s, padding .4s;
}
.nav.scrolled { background: rgba(245, 240, 233, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding-top: 12px; padding-bottom: 12px; }
.nav.hide { transform: translateY(-110%); }
.logo { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.logo-word { font-weight: 600; font-size: 22px; letter-spacing: .02em; }
.logo-o { color: var(--red); }
.logo-sub { font-size: 9.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--red); font-weight: 600; margin-top: 3px; margin-right: -.34em; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 500; position: relative; padding: 4px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 23px; }
.nav.open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- DUGMAD ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 999px; font-weight: 500; font-size: 15px;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s;
}
.btn::before { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn .arr { font-style: normal; transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red::before { background: var(--ink); }
.btn-ghost { border: 1px solid var(--ink); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--cream); }
.btn-light { background: #fff; color: var(--red); }
.btn-light::before { background: var(--ink); }
.btn-light:hover { color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 22px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(200,65,75,.15); }
.eyebrow.light { color: rgba(255,255,255,.85); }
.eyebrow.light .dot { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.2); }
.muted { color: var(--muted); }

/* ---------- POZADINA / 3D ---------- */
#bg-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.glow {
  position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  left: 72%; top: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0) 70%);
}
.ghost {
  position: absolute; left: 72%; top: 50%; transform: translate(-50%, -50%);
  font-weight: 700; font-size: clamp(120px, 22vw, 380px); line-height: .8; letter-spacing: -.04em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(200, 65, 75, .16);
  transition: opacity .6s var(--ease);
}
.ghost .gch { display: inline-block; }
#stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; transition: opacity .6s var(--ease); }
#stage.off { opacity: 0; }
main { position: relative; z-index: 2; }
#callouts { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
#callouts svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.co-line { fill: none; stroke: var(--red); stroke-width: 1.2; }
.co { position: absolute; left: 0; top: 0; will-change: transform; }
.co-dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(200,65,75,.22); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(200,65,75,0); } }
.co-lbl { position: absolute; left: 0; top: 0; white-space: nowrap; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); padding: 9px 14px; border-radius: 12px; box-shadow: 0 10px 30px rgba(60,40,30,.12); border-left: 3px solid var(--red); }
.co-lbl.left { border-left: 0; border-right: 3px solid var(--red); text-align: right; }
.co-lbl b { display: block; font-size: 13.5px; font-weight: 600; }
.co-lbl small { display: block; font-size: 11.5px; color: var(--muted); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 140px var(--pad) 60px; display: flex; flex-direction: column; justify-content: center; }
.hero-copy { max-width: 600px; position: relative; z-index: 2; }
.hero-title { font-weight: 500; font-size: clamp(46px, 7vw, 108px); line-height: .98; letter-spacing: -.035em; margin: 0 0 28px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); }
.hero-title em { font-size: 1.08em; }
.hero-lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); max-width: 470px; margin: 0 0 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-feats { list-style: none; padding: 0; margin: 64px 0 0; display: flex; gap: clamp(20px, 4vw, 54px); }
.hero-feats li { display: flex; align-items: center; gap: 12px; }
.hero-feats b { font-size: 30px; font-weight: 600; color: var(--red); letter-spacing: -.03em; }
.hero-feats span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.hero-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px); padding: 10px 16px 10px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 500; box-shadow: 0 14px 40px rgba(60,40,30,.12); opacity: 0;
}
.hero-chip i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); }
.hero-chip i.wood, .swatch-strip i.wood { background: var(--wood) center/cover; }
.chip-a { right: 9vw; top: 30%; }
.chip-b { right: 33vw; bottom: 22%; }
.reveal-up { opacity: 0; transform: translateY(30px); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 44px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--red); animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- MARQUEE ---------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 22px 0; margin: 0; position: relative; z-index: 3; }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marq 28s linear infinite; }
.marquee span { font-size: clamp(26px, 3.4vw, 48px); font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.marquee b { font-size: 22px; opacity: .7; font-weight: 400; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- SEKCIJE ---------- */
.services, .coll-intro, .process { background: var(--cream); position: relative; padding: clamp(100px, 13vw, 180px) var(--pad); }
.sec-head { max-width: 860px; margin-bottom: 70px; }
h2 { font-weight: 500; font-size: clamp(34px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -.03em; margin: 0; }
h2.big { font-size: clamp(48px, 8vw, 128px); line-height: .95; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; transform: translateY(105%); }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  position: relative; padding: 38px 32px 34px; border-radius: 26px; background: #fff; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); min-height: 380px; display: flex; flex-direction: column;
  transition: color .6s var(--ease), transform .6s var(--ease);
}
.svc::before { content: ''; position: absolute; inset: 0; background: var(--red); z-index: -1; clip-path: circle(0% at 85% 12%); transition: clip-path .8s var(--ease); }
.svc:hover { color: #fff; transform: translateY(-6px); }
.svc:hover::before { clip-path: circle(150% at 85% 12%); }
.svc-no { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .1em; transition: color .5s; }
.svc:hover .svc-no, .svc:hover p { color: rgba(255,255,255,.85); }
.svc-ico { width: 64px; height: 64px; margin: 34px 0 auto; }
.svc-ico svg { width: 100%; height: 100%; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linejoin: round; transition: stroke .5s, transform .8s var(--ease); }
.svc:hover .svc-ico svg { stroke: #fff; transform: rotate(-8deg) scale(1.08); }
.svc h3 { font-size: 26px; font-weight: 500; letter-spacing: -.02em; margin: 40px 0 12px; }
.svc p { color: var(--ink-2); margin: 0 0 22px; font-size: 15px; transition: color .5s; }
.svc-more { font-size: 14px; font-weight: 600; }
.swatch-strip { display: flex; justify-content: center; gap: 14px; margin-top: 70px; flex-wrap: wrap; }
.swatch-strip i { width: 46px; height: 46px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 8px 20px rgba(60,40,30,.1); transform: scale(0); }

.coll-intro { text-align: center; padding-bottom: clamp(40px, 5vw, 70px); }
.coll-intro .eyebrow { justify-content: center; }
.coll-lead, .sec-lead { max-width: 620px; color: var(--ink-2); font-size: clamp(16px, 1.25vw, 18px); }
.coll-lead { margin: 30px auto 0; }
.sec-lead { margin: 26px 0 0; }

/* ---------- UZORCI BOJA / MATERIJALA ---------- */
/* --c = boja; .wood = drvo zatamnjeno tonom --c; f-gloss / f-supermat = obrada */
.wood { background-image: linear-gradient(var(--c, #fff), var(--c, #fff)), var(--wood) !important; background-size: auto, 220% !important; background-position: center !important; background-blend-mode: multiply; }
.f-gloss:not(.wood) { background-image: linear-gradient(140deg, rgba(255,255,255,.65) 0%, rgba(255,255,255,0) 42%), linear-gradient(var(--c), var(--c)); }
.f-supermat:not(.wood) { box-shadow: inset 0 0 0 1px rgba(0,0,0,.05) !important; filter: saturate(.9); }

/* ---------- IZDVOJENI PROIZVODI ---------- */
.feat {
  position: relative; overflow: hidden; background: var(--cream);
  display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(20px, 3vw, 48px); align-items: center;
  min-height: 100vh; padding: 110px var(--pad) 80px;
}
.feat.alt { background: var(--cream-2); }
.feat-ghost {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 0; pointer-events: none;
  font-weight: 700; font-size: clamp(140px, 24vw, 420px); line-height: .8; letter-spacing: -.05em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(200, 65, 75, .13);
}
.feat-info, .feat-stage, .feat-cfg { position: relative; z-index: 1; }
.f-head { display: flex; gap: 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.f-no { color: var(--red); }
.f-cat { color: var(--muted); }
.f-name { font-weight: 600; font-size: clamp(56px, 6.4vw, 108px); line-height: .86; letter-spacing: -.045em; margin: 0 0 16px; }
.f-tag { font-size: clamp(18px, 1.4vw, 22px); font-weight: 500; margin: 0 0 12px; letter-spacing: -.01em; }
.f-desc { color: var(--ink-2); font-size: 15px; margin: 0 0 24px; }
.f-dims { display: flex; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.f-dims div { flex: 1; padding: 12px 0; min-width: 0; }
.f-dims div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.f-dims small { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.f-dims b { font-weight: 500; font-size: 15px; }
.f-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.feat-stage { height: min(72vh, 680px); }
.feat-stage canvas { position: relative; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.feat-stage canvas.grab { cursor: grabbing; }
.feat-glow { position: absolute; inset: 6% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0)); }
.feat-hint { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; pointer-events: none; }

/* ---------- KONFIGURATOR ---------- */
.cfg { background: rgba(255,255,255,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 26px; padding: 24px; display: grid; gap: 18px; box-shadow: 0 30px 60px rgba(60,40,30,.07); }
.cfg-row { display: grid; gap: 10px; }
.cfg-lbl { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.cfg-lbl b { font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--red); font-size: 13px; }
.cfg-parts { display: flex; flex-wrap: wrap; gap: 6px; }
.cfg-part { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; background: #fff; transition: .35s var(--ease); }
.cfg-part:hover { border-color: var(--ink); }
.cfg-part.grp { font-weight: 600; }
.cfg-part.on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.cfg-mats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cfg-mat { display: flex; align-items: center; gap: 9px; padding: 7px 10px 7px 7px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; text-align: left; line-height: 1.2; transition: .35s var(--ease); }
.cfg-mat:hover { border-color: var(--ink); }
.cfg-mat.on { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.mat-dot { width: 26px; height: 26px; flex: none; border-radius: 8px; background-color: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.cfg-desc { margin: -4px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; min-height: 54px; }
.cfg-desc b { color: var(--ink); font-weight: 600; }
.cfg-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-sw { width: 34px; height: 34px; border-radius: 50%; position: relative; }
.cfg-sw i { position: absolute; inset: 0; border-radius: 50%; background-color: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1), 0 4px 10px rgba(60,40,30,.1); transition: transform .4s var(--ease); }
.cfg-sw::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--red); transform: scale(.8); opacity: 0; transition: .35s var(--ease); }
.cfg-sw:hover i { transform: scale(1.1); }
.cfg-sw.on::after { transform: none; opacity: 1; }
.cfg-sum { border-top: 1px dashed var(--line); padding-top: 14px; }
.cfg-sum ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; max-height: 150px; overflow: auto; }
.cfg-sum li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.cfg-sum li i { width: 16px; height: 16px; border-radius: 5px; flex: none; background-color: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.cfg-sum li span { color: var(--muted); }
.cfg-sum li b { margin-left: auto; font-weight: 500; text-align: right; line-height: 1.2; }
.cfg-sum li b small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); }

/* ---------- SVI PROIZVODI CTA ---------- */
.all-cta { padding: clamp(70px, 9vw, 130px) var(--pad); background: var(--cream); }
.all-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; background: var(--ink); color: var(--cream); border-radius: 34px; padding: clamp(30px, 5vw, 70px); overflow: hidden; position: relative; isolation: isolate; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.all-card::before {
  content: ''; position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background: radial-gradient(48% 60% at 82% 12%, var(--red) 0%, rgba(200,65,75,0) 68%);
  opacity: .5; transform: scale(1); transition: opacity .9s var(--ease), transform 1.1s var(--ease);
}
.all-card:hover { transform: translateY(-4px); box-shadow: 0 40px 90px rgba(35,31,28,.22); }
.all-card:hover::before { opacity: .85; transform: scale(1.18); }
.all-card h3 { font-size: clamp(34px, 4vw, 60px); font-weight: 500; letter-spacing: -.03em; line-height: 1; margin: 0 0 16px; }
.all-card p { color: rgba(245,240,233,.7); max-width: 420px; margin: 0 0 28px; }
.all-card .eyebrow { color: rgba(245,240,233,.7); }
.all-card .btn-red { position: relative; z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.all-card .btn-red::before { background: #fff; }
.all-card .btn-red:hover { color: var(--red); }
.all-stack { position: relative; height: clamp(240px, 26vw, 360px); }
.all-stack img { position: absolute; top: 50%; left: 50%; width: 42%; aspect-ratio: 1055 / 1491; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.35);
  transform: translate(calc(-50% + (var(--i) - 1.5) * 34%), -50%) rotate(calc((var(--i) - 1.5) * 7deg)); transition: transform .9s var(--ease); }
.all-card:hover .all-stack img { transform: translate(calc(-50% + (var(--i) - 1.5) * 48%), -54%) rotate(calc((var(--i) - 1.5) * 10deg)); }

/* ---------- O MENI ---------- */
.about { background: var(--cream); padding: clamp(90px, 11vw, 160px) var(--pad); display: grid; grid-template-columns: .85fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about-visual { position: relative; }
.about-photo { aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; position: relative; display: grid; place-items: center;
  background: radial-gradient(120% 80% at 30% 20%, #F1D7CF, transparent 60%), linear-gradient(160deg, var(--red) 0%, var(--red-d) 100%); }
.about-mono { font-size: clamp(180px, 22vw, 340px); font-weight: 600; color: rgba(255,255,255,.92); line-height: .8; letter-spacing: -.05em; }
.about-ph { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); white-space: nowrap; }
.about-badge { position: absolute; right: -24px; bottom: 60px; background: #fff; border-radius: 20px; padding: 16px 20px; box-shadow: 0 24px 50px rgba(60,40,30,.15); display: grid; }
.about-badge b { font-size: 20px; font-weight: 600; color: var(--red); }
.about-badge span { font-size: 13px; color: var(--muted); }
.about-copy h2 { margin-bottom: 28px; }
.about-copy > p { color: var(--ink-2); max-width: 560px; margin: 0 0 18px; }
.about-lead { font-size: clamp(17px, 1.4vw, 21px); color: var(--ink) !important; }
.about-lead b { font-weight: 600; }
.about-stats { list-style: none; padding: 0; margin: 36px 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; }
.about-stats b { display: block; font-size: clamp(34px, 3.4vw, 50px); font-weight: 500; letter-spacing: -.03em; color: var(--red); line-height: 1; }
.about-stats span { font-size: 13px; color: var(--muted); }
.about-sign { font-family: var(--serif); font-style: italic; font-size: 30px; margin: 0; }
.about-sign small { display: block; font-family: var(--display); font-style: normal; font-size: 12.5px; color: var(--muted); letter-spacing: .06em; }

/* ---------- MATERIJALI ---------- */
.materials { --mc: #C8414B; background: var(--cream-2); padding: clamp(100px, 12vw, 170px) var(--pad); position: relative; overflow: hidden; }
.mat-bg {
  position: absolute; inset: -20% -10%; z-index: 0; pointer-events: none;
  background: radial-gradient(42% 55% at 28% 18%, var(--mc) 0%, transparent 72%),
              radial-gradient(34% 46% at 86% 78%, var(--mc) 0%, transparent 70%);
  opacity: .22; filter: blur(70px); transition: opacity .6s;
}
.materials .sec-head, .materials .mat-wrap, .materials .mat-extra { position: relative; z-index: 1; }

.mat-wrap { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: stretch; }
.mat-tabs { display: flex; flex-direction: column; gap: 4px; }
.mat-tab {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; text-align: left; width: 100%;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.mat-tab:hover { background: #fff; transform: translateX(4px); }
.mat-tab.on { background: var(--ink); color: var(--cream); box-shadow: 0 18px 40px rgba(35,31,28,.18); }
.mat-tab-no { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--muted); flex: none; }
.mat-tab.on .mat-tab-no { color: rgba(245,240,233,.55); }
.mat-tab-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.mat-tab-txt b { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.mat-tab-txt small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mat-tab.on .mat-tab-txt small { color: rgba(245,240,233,.6); }
.mat-tab-dot { width: 30px; height: 30px; border-radius: 50%; flex: none; background-color: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: box-shadow .4s; }
.mat-tab.on .mat-tab-dot { box-shadow: 0 0 0 3px rgba(245,240,233,.3); }

.mat-stage {
  background: #fff; border-radius: 32px; padding: clamp(22px, 3vw, 44px); display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: clamp(22px, 3vw, 40px); align-items: center;
  box-shadow: 0 40px 90px rgba(60,40,30,.1); min-height: 360px;
}
.mat-stage-sample {
  aspect-ratio: 1; width: 100%; border-radius: 50%; background-color: var(--c); position: relative;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 20px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 30px 60px rgba(60,40,30,.22);
}
.mat-stage-sample span { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: rgba(255,255,255,.92); mix-blend-mode: difference; text-align: center; }
.mat-stage-kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 8px; }
.mat-stage-body h3 { font-size: clamp(28px, 2.6vw, 42px); font-weight: 500; letter-spacing: -.02em; margin: 0 0 12px; }
.mat-stage-desc { color: var(--ink-2); font-size: 15px; margin: 0 0 18px; max-width: 54ch; }
.mat-pros { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.mat-pros li { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--cream); }
.mat-use { margin: 0 0 20px; padding-top: 16px; border-top: 1px dashed var(--line); }
.mat-use small { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mat-use b { font-weight: 500; font-size: 14px; }
.mat-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.mat-dot-btn { width: 34px; height: 34px; border-radius: 50%; position: relative; }
.mat-dot-btn i { position: absolute; inset: 0; border-radius: 50%; background-color: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1), 0 4px 10px rgba(60,40,30,.1); transition: transform .4s var(--ease); }
.mat-dot-btn:hover i { transform: scale(1.12); }
.mat-dot-btn::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--red); transform: scale(.8); opacity: 0; transition: .35s var(--ease); }
.mat-dot-btn.on::after { transform: none; opacity: 1; }

.mat-extra { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.mat-extra div { background: var(--cream); padding: 22px; display: grid; gap: 4px; }
.mat-extra b { font-weight: 600; font-size: 14.5px; }
.mat-extra span { font-size: 13px; color: var(--muted); }

/* ---------- STRANA: SVI PROIZVODI ---------- */
.curtain { position: fixed; inset: 0; z-index: 100; background: var(--red); clip-path: inset(0 0 0 0); pointer-events: none; }
.pl-hero { padding: clamp(130px, 14vw, 200px) var(--pad) 50px; position: relative; }
.pl-back { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--muted); margin-bottom: 30px; transition: color .3s, transform .4s var(--ease); }
.pl-back:hover { color: var(--red); transform: translateX(-4px); }
.pl-hero h1 { font-weight: 600; font-size: clamp(64px, 11vw, 190px); line-height: .88; letter-spacing: -.05em; margin: 0; }
.pl-hero h1 em { font-weight: 400; }
.pl-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.pl-filter { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; background: #fff; transition: .35s var(--ease); }
.pl-filter sup { font-size: 10px; margin-left: 4px; color: var(--muted); }
.pl-filter:hover { border-color: var(--ink); }
.pl-filter.on { background: var(--red); border-color: var(--red); color: #fff; }
.pl-filter.on sup { color: rgba(255,255,255,.75); }

.pl-list { padding: 0 var(--pad) clamp(80px, 10vw, 140px); }
.pl-item {
  display: grid; grid-template-columns: 50px minmax(200px, 300px) minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: clamp(18px, 2.4vw, 40px); align-items: center;
  padding: 28px 0; border-top: 1px solid var(--line); position: relative;
}
.pl-item:last-child { border-bottom: 1px solid var(--line); }
.pl-item::before { content: ''; position: absolute; inset: 0 calc(var(--pad) * -1); background: #fff; z-index: -1; opacity: 0; transition: opacity .5s var(--ease); }
.pl-item:hover::before { opacity: 1; }
.pl-no { font-size: 13px; font-weight: 700; color: var(--red); letter-spacing: .1em; align-self: start; padding-top: 8px; }
.pl-thumb { position: relative; aspect-ratio: 32 / 26; border-radius: 20px; background: radial-gradient(closest-side, #fff, var(--cream-2)); overflow: hidden; display: grid; place-items: center; }
.pl-thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.pl-item:hover .pl-thumb img { transform: scale(1.06) rotate(-1deg); }
.pl-3d { position: absolute; right: 12px; top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 5px 9px; border-radius: 999px; background: var(--ink); color: var(--cream); transform: scale(.8); opacity: 0; transition: .4s var(--ease); }
.pl-item:hover .pl-3d { transform: none; opacity: 1; }
.pl-load { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--red); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pl-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.pl-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
.pl-name { font-size: clamp(38px, 4vw, 64px); font-weight: 600; letter-spacing: -.04em; line-height: .9; margin: 0 0 12px; }
.pl-tag { font-weight: 500; font-size: 17px; margin: 0 0 8px; }
.pl-desc { color: var(--ink-2); font-size: 14.5px; margin: 0; max-width: 520px; }
.pl-dims { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pl-dims div { padding: 10px 12px; }
.pl-dims div + div { border-left: 1px solid var(--line); }
.pl-dims dt { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pl-dims dd { margin: 0; font-size: 14px; font-weight: 500; }
.pl-mats { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pl-mats li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.pl-mats i { width: 18px; height: 18px; border-radius: 6px; flex: none; background-color: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.pl-act { display: grid; gap: 8px; }
.pl-act .btn { justify-content: center; }

.pl-cta { background: var(--red); color: #fff; padding: clamp(90px, 11vw, 150px) var(--pad); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; }
.pl-cta h2 { max-width: 820px; }
.pl-cta h2 em { color: #fff; }

/* modal konfigurator */
.cm { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: clamp(10px, 3vw, 40px); visibility: hidden; }
.cm.on { visibility: visible; }
.cm-backdrop { position: absolute; inset: 0; background: rgba(28,24,21,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s var(--ease); }
.cm.on .cm-backdrop { opacity: 1; }
.cm-panel { position: relative; width: min(1280px, 100%); height: min(820px, 100%); background: var(--cream); border-radius: 30px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 400px; box-shadow: 0 50px 120px rgba(0,0,0,.35); }
.cm-close { position: absolute; top: 18px; right: 18px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: 16px; transition: transform .5s var(--ease), background .3s; }
.cm-close:hover { transform: rotate(90deg); background: var(--red); }
.cm-stage { position: relative; min-height: 0; }
.cm-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.cm-stage canvas.grab { cursor: grabbing; }
.cm-head { position: absolute; left: 32px; top: 28px; z-index: 2; pointer-events: none; }
.cm-head h2 { font-size: clamp(44px, 5vw, 80px); font-weight: 600; letter-spacing: -.045em; line-height: .9; margin: 10px 0 8px; }
.cm-head p { margin: 0; color: var(--ink-2); }
.cm-head .f-cat { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.cm-side { background: #fff; border-left: 1px solid var(--line); overflow: auto; padding: 70px 22px 22px; display: grid; align-content: start; gap: 16px; }
.cm-side .cfg { background: none; border: 0; box-shadow: none; padding: 0; backdrop-filter: none; }
.cm-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- PROCES ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-top: 60px; }
.tl-line { position: absolute; left: 0; right: 0; top: 18px; height: 2px; background: var(--line); }
.tl-line i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
.tl-step { position: relative; }
.tl-step::before { content: ''; position: absolute; top: -49px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 2px solid var(--red); }
.tl-no { font-size: 56px; font-weight: 300; color: var(--red); letter-spacing: -.04em; line-height: 1; }
.tl-step h4 { font-size: 21px; font-weight: 500; margin: 18px 0 8px; }
.tl-step p { color: var(--ink-2); margin: 0; font-size: 15px; }

/* ---------- KONTAKT ---------- */
.contact { background: var(--red); color: #fff; padding: clamp(100px, 12vw, 170px) var(--pad); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; position: relative; }
.contact h2 em { color: #fff; }
.contact-copy > p { color: rgba(255,255,255,.85); max-width: 460px; margin: 26px 0 40px; font-size: 17px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; max-width: 460px; }
.contact-list li { display: flex; justify-content: space-between; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.25); }
.contact-list span { color: rgba(255,255,255,.7); font-size: 14px; }
.contact-form { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 28px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid rgba(255,255,255,.4); color: #fff; font: inherit; font-size: 17px; padding: 26px 0 10px; outline: none; resize: none; transition: border-color .3s; }
.field input:focus, .field textarea:focus { border-color: #fff; }
.field label { position: absolute; left: 0; top: 24px; color: rgba(255,255,255,.7); transition: .35s var(--ease); pointer-events: none; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.field.err input { border-color: #FFD3C9; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); font-size: 13.5px; transition: .35s var(--ease); }
.chip:hover { border-color: #fff; }
.chip.on { background: #fff; color: var(--red); border-color: #fff; }
.form-note { margin: 0; font-size: 12px; color: rgba(255,255,255,.6); }

.footer { background: var(--ink); color: var(--cream); padding: 80px var(--pad) 40px; display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: end; }
.footer-logo { font-size: clamp(48px, 9vw, 150px); font-weight: 600; letter-spacing: -.02em; line-height: .9; grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 14px; }
.footer-logo small { font-size: 14px; letter-spacing: .34em; text-transform: uppercase; color: var(--red); margin-bottom: .6em; }
.footer p { margin: 0; color: rgba(245,240,233,.6); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; }
@media (max-width: 700px) {
  .footer { grid-template-columns: 1fr; }
  .footer-logo { font-size: 13vw; flex-wrap: wrap; gap: 4px 10px; }
  .footer-logo small { font-size: 11px; }
}
.footer-links a:hover { color: var(--red); }
.footer .copy { grid-column: 1 / -1; font-size: 12.5px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.1); }

/* ---------- TOAST / LIGHTBOX ---------- */
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 80; transform: translate(-50%, 200%); visibility: hidden; background: var(--ink); color: var(--cream); padding: 14px 22px; border-radius: 999px; font-size: 14px; transition: transform .6s var(--ease), visibility 0s .6s; }
.toast.on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease); }
.lightbox { position: fixed; inset: 0; z-index: 85; background: rgba(28,24,21,.92); display: grid; place-items: center; padding: 30px; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.lightbox.on { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 92vh; width: auto; border-radius: 12px; transform: scale(.92) translateY(20px); transition: transform .7s var(--ease); box-shadow: 0 40px 100px rgba(0,0,0,.5); }
.lightbox.on img { transform: none; }
.lb-close { position: absolute; top: 22px; right: 26px; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; font-size: 18px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1240px) {
  .nav-links { gap: 20px; }
  .nav > .btn { display: none; }
  .feat { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); grid-template-rows: auto auto; }
  .feat-info { grid-column: 1; grid-row: 1; }
  .feat-stage { grid-column: 1; grid-row: 2; height: 52vh; }
  .feat-cfg { grid-column: 2; grid-row: 1 / span 2; }
  .mat-wrap { grid-template-columns: 1fr; }
  .mat-tabs { flex-direction: row; flex-wrap: wrap; }
  .mat-tab { width: auto; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
  .mat-tab-txt small { display: none; }
  .mat-extra { grid-template-columns: repeat(2, 1fr); }
  .pl-item { grid-template-columns: 40px minmax(180px, 260px) minmax(0, 1fr) minmax(0, 1fr); }
  .pl-act { grid-column: 3 / -1; display: flex; flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .pl-item { grid-template-columns: 1fr; gap: 16px; padding: 30px 0; }
  .pl-no { padding: 0; }
  .pl-thumb { max-width: 420px; }
  .pl-act { grid-column: auto; }
  .cm-panel { grid-template-columns: 1fr; grid-template-rows: 45% 55%; border-radius: 22px; }
  .cm-side { border-left: 0; border-top: 1px solid var(--line); padding: 20px 16px; }
  .cm-head { left: 18px; top: 16px; }
  .cm-head h2 { font-size: 38px; }
  .cm-head p { display: none; }
}
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 70px; }
  .tl-line { display: none; }
  .tl-step::before { top: -26px; }
}
@media (max-width: 900px) {
  .nav { gap: 12px; }
  .nav > .btn { display: none; }
  .nav-links { position: fixed; inset: 0 0 auto 0; top: 0; padding: 100px var(--pad) 40px; background: var(--cream); flex-direction: column; gap: 6px; transform: translateY(-105%); transition: transform .6s var(--ease); z-index: -1; box-shadow: 0 20px 40px rgba(0,0,0,.08); }
  .nav-links a { font-size: 32px; font-weight: 500; }
  .nav.open .nav-links { transform: none; }
  .burger { display: block; margin-left: auto; }
  .hero { justify-content: flex-end; padding-top: 52vh; padding-bottom: 90px; }
  .hero-feats { margin-top: 36px; }
  .hero-feats b { font-size: 22px; }
  .hero-chip { display: none; }
  .glow, .ghost { left: 50%; top: 32%; }
  .contact { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; min-height: 0; padding-top: 90px; }
  .feat-info, .feat-stage, .feat-cfg { grid-column: 1; grid-row: auto; }
  .feat-stage { height: 64vw; min-height: 300px; }
  .feat-ghost { top: 38%; }
  .f-name { font-size: 64px; }
  .all-card { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-badge { right: 12px; }
  .mat-stage { grid-template-columns: 1fr; text-align: center; }
  .mat-stage-sample { max-width: 180px; margin: 0 auto; }
  .mat-use { padding-top: 16px; }
  .mat-pros, .mat-colors { justify-content: center; }
}
@media (max-width: 560px) {
  .mat-extra { grid-template-columns: 1fr; }
  .about-stats { gap: 22px; }
  .cfg { padding: 18px; }
  .cfg-mats { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .hero-feats span { font-size: 11px; }
  .hero-cta .btn { height: 50px; padding: 0 22px; }
  .mat-tab { padding: 8px 12px; font-size: 13px; }
  .mat-tab-dot { width: 24px; height: 24px; }
}

/* Sprječava "zaljepljen" hover efekat kad se stranica skroluje bez pomjeranja miša */
html.is-scrolling .svc,
html.is-scrolling .all-card,
html.is-scrolling .mat-tab,
html.is-scrolling .mat-dot-btn,
html.is-scrolling .pl-item,
html.is-scrolling .pl-filter,
html.is-scrolling .cfg-part,
html.is-scrolling .cfg-mat,
html.is-scrolling .cfg-sw,
html.is-scrolling .chip,
html.is-scrolling .nav-links a,
html.is-scrolling .btn { pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
