/* ==========================================================================
   Pendžer stolarija, design system
   Koncept: "Tehnički list". Svetla podloga kao papir za crtanje, kotne linije,
   pozicije kao u šemi stolarije. Grafit + narandžasta iz postojećeg logotipa.
   ========================================================================== */


:root {
  /* Boje, izvedene iz postojećeg logotipa (grafit #373737, narandžasta #D86E20) */
  --paper: #eaedec;
  --paper-2: #dfe3e2;
  --surface: #f8f9f8;
  --ink: #1c1f21;
  --graphite: #2f3235;
  --graphite-2: #26292c;
  --steel: #585e63;
  --mute: #7f868b;
  --line: #d2d7d6;
  --line-2: #bcc3c3;
  --orange: #d86e20;
  --orange-hover: #c4611a;
  --orange-ink: #a24e10;
  --orange-soft: #f8dfca;
  --ok: #2f6b43;
  --ok-soft: #dcebdf;
  --err: #b0281c;
  --err-soft: #f6dcd8;

  /* Tipografija */
  --f-display: "Red Hat Display", "Segoe UI", sans-serif;
  --f-body: "Red Hat Text", "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Ritam */
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --section: clamp(88px, 11vw, 160px);
  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);

  --shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 28px 56px -30px rgba(28, 36, 42, 0.32);
  --shadow-sm: 0 12px 24px -18px rgba(28, 36, 42, 0.32);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Blagi prelaz svetla, kao dnevno svetlo kroz staklo (fiksni sloj) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(255, 255, 255, 0.85), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(216, 110, 32, 0.05), transparent 60%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--orange); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografija ---------- */
.display, h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.9rem); font-weight: 850; letter-spacing: -0.045em; line-height: 0.96; }
h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); letter-spacing: -0.04em; line-height: 1.04; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); font-weight: 750; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--steel); max-width: 52ch; line-height: 1.55; }
.muted { color: var(--steel); }
.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.accent { color: var(--orange); }
.em-orange { color: var(--orange-ink); }

/* ---------- Oznaka pozicije (kao "POZ." u šemi stolarije) ---------- */
.poz {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
/* Mali "prozorski krst", 4 okna, gornje desno otvoreno (iz logotipa) */
.poz::before {
  content: "";
  width: 14px; height: 14px; flex: none;
  border: 1.5px solid currentColor;
  background:
    linear-gradient(var(--orange), var(--orange)) right 1.5px top 1.5px / 4px 4px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
  color: var(--ink);
}
.poz__n { color: var(--ink); font-weight: 500; }
.poz__n::before { content: "POZ. "; color: var(--orange-ink); }
.poz--dark { color: #a9afb3; }
.poz--dark::before { color: #fff; }
.poz--dark .poz__n { color: #fff; }
.poz--dark .poz__n::before { color: var(--orange); }


/* ---------- Kotna linija (dimension line) ---------- */
.dim {
  --c: var(--steel);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  color: var(--c);
}
.dim::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  border-top: 1px solid currentColor;
  transform-origin: left center;
}
.dim > i {
  position: absolute; top: 50%;
  width: 1px; height: 14px;
  background: currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.dim > i:first-of-type { left: 0; }
.dim > i:last-of-type { right: 0; }
.dim > b {
  position: relative;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 0 10px;
  background: var(--paper);
  color: var(--ink);
}
.dim--v { width: 22px; height: auto; flex-direction: column; }
.dim--v::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1px solid currentColor; }
.dim--v > i { left: 50% !important; right: auto !important; top: 0; transform: translateX(-50%) rotate(45deg); }
.dim--v > i:last-of-type { top: auto; bottom: 0; transform: translateX(-50%) rotate(45deg); }
.dim--v > b { writing-mode: vertical-rl; transform: rotate(180deg); padding: 10px 0; }
.dim--orange { --c: var(--orange); }

/* ---------- Dugmad ---------- */
.btn {
  --bg: var(--graphite);
  --fg: #fff;
  --ic-bg: var(--orange);
  --ic-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 6px 6px 6px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: background-color 0.4s var(--ease), transform 0.25s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 12px 24px -16px rgba(28, 31, 33, 0.75);
}
.btn__ic {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ic-bg);
  color: var(--ic-fg);
  transition: transform 0.45s var(--ease);
}
.btn__ic svg { width: 18px; height: 18px; }
.btn:hover { --bg: var(--graphite-2); }
.btn:hover .btn__ic { transform: translateX(3px) rotate(-45deg); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--orange { --bg: var(--orange); --fg: var(--ink); --ic-bg: var(--ink); --ic-fg: var(--orange); }
.btn--orange:hover { --bg: var(--orange-hover); }
.btn--ghost {
  --bg: transparent; --fg: var(--ink); --ic-bg: var(--surface); --ic-fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn--ghost:hover { --bg: var(--surface); }
.btn--plain { padding: 0 24px; }
.btn--sm { min-height: 42px; font-size: 15px; padding: 4px 4px 4px 16px; gap: 10px; }
.btn--sm .btn__ic { width: 34px; height: 34px; }
.btn--block { width: 100%; justify-content: space-between; }
.btn[disabled], .btn.is-loading { pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; color: var(--orange); }
.link-arrow:hover { border-color: var(--orange); gap: 12px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo__mark { width: 36px; height: 36px; flex: none; }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__word {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.01em;
  padding-top: 5px;
}
.logo__z { position: relative; display: inline-block; }
.logo__z::after {
  content: "";
  position: absolute;
  left: 50%; top: -0.13em;
  width: 0.3em; height: 0.3em;
  border-right: 0.1em solid var(--orange);
  border-bottom: 0.1em solid var(--orange);
  transform: translateX(-50%) rotate(45deg);
}
.logo__sub {
  margin-top: 5px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}
.logo--light { color: #f1f3f2; }
.logo--light .logo__sub { color: #9ba1a5; }

/* ---------- Header ---------- */
.topbar {
  background: var(--graphite);
  color: #c3c8cb;
  font-size: 13px;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar a:hover { color: #fff; }
.topbar__l, .topbar__r { display: flex; gap: 22px; align-items: center; }
.topbar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); display: inline-block; margin-right: 8px; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(234, 237, 236, 0.84);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.header.is-scrolled { border-color: var(--line); background: rgba(234, 237, 236, 0.94); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--graphite);
  border-radius: var(--r-sm);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav a:hover { background: rgba(55, 55, 55, 0.06); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px;
  height: 2px; background: var(--orange);
}
.header__cta { display: flex; align-items: center; gap: 18px; }
.header__tel { font-family: var(--f-mono); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; white-space: nowrap; }
.header__tel small { display: block; font-size: 10px; letter-spacing: 0.14em; color: var(--mute); text-transform: uppercase; }

.burger {
  display: none;
  position: relative;
  width: 48px; height: 48px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--surface);
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink);
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease), top 0.45s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; right: 19px; background: var(--orange); }
.burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.mnav {
  position: fixed;
  inset: 0;
  z-index: 39;
  padding: 108px var(--gutter) 32px;
  background: rgba(234, 237, 236, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
  overflow-y: auto;
}
.menu-open .mnav { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease); }
.mnav ol { list-style: none; margin: 0; padding: 0; counter-reset: m; border-top: 1px solid var(--line); }
.mnav li {
  counter-increment: m;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.menu-open .mnav li { opacity: 1; transform: none; }
.menu-open .mnav li:nth-child(2) { transition-delay: 0.04s; }
.menu-open .mnav li:nth-child(3) { transition-delay: 0.08s; }
.menu-open .mnav li:nth-child(4) { transition-delay: 0.12s; }
.menu-open .mnav li:nth-child(5) { transition-delay: 0.16s; }
.menu-open .mnav li:nth-child(6) { transition-delay: 0.2s; }
.menu-open .mnav li:nth-child(7) { transition-delay: 0.24s; }
.mnav a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 16px 0;
  font-family: var(--f-display); font-weight: 700;
  font-size: 26px; letter-spacing: -0.02em;
}
.mnav a::before {
  content: counter(m, decimal-leading-zero);
  font-family: var(--f-mono); font-size: 12px; font-weight: 400; color: var(--orange-ink);
  letter-spacing: 0.08em;
}
.mnav__foot { margin-top: auto; display: grid; gap: 12px; }

/* ---------- Mobilni "call" CTA ---------- */
.callbar {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 38;
  padding: 6px;
  gap: 6px;
  grid-template-columns: 1fr 1.25fr;
  background: var(--graphite);
  border-radius: 12px;
  box-shadow: 0 18px 40px -16px rgba(20, 20, 20, 0.55);
  transform: translateY(0);
  transition: transform 0.5s var(--ease);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; border-radius: 8px;
  font-weight: 600; font-size: 15px; color: #fff;
}
.callbar a svg { width: 18px; height: 18px; }
.callbar__call { background: rgba(255, 255, 255, 0.08); }
.callbar__call svg { color: var(--orange); }
.callbar__req { background: var(--orange); color: var(--ink) !important; }
.callbar.is-hidden { transform: translateY(140%); }

/* ---------- Sekcije ---------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section--dark { background: var(--graphite); color: #eef0ef; }
.section--dark .muted, .section--dark .lead { color: #a4abaf; }

.shead {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px 32px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.shead__t { grid-column: 1 / span 7; display: grid; gap: 22px; justify-items: start; }
.shead__d { grid-column: 9 / span 4; display: grid; gap: 18px; justify-items: start; }
.shead__d p { color: var(--steel); }
.section--dark .shead__d p { color: #a4abaf; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(64px, 8vw, 112px); position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: stretch;
}
.hero__copy {
  grid-column: 1 / span 6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding-top: 18px;
}
.hero__copy h1 { margin-top: 26px; font-size: clamp(2.4rem, 3.75vw, 3.6rem); }
.hero__copy h1 .ln { display: block; white-space: nowrap; }
.hero__copy .lead { margin-top: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-2);
}
.hero__facts div { padding: 16px 16px 0 0; }
.hero__facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.hero__facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.hero__facts dd { margin: 6px 0 0; font-weight: 500; font-size: 15px; line-height: 1.4; }

.hero__media { grid-column: 7 / span 6; position: relative; }

/* Prozor: fotografija iza štoka i krsta, jedno okno otvoreno (narandžasto) */
.win {
  --f: 14px;            /* štok */
  --m: 12px;            /* prečka */
  --x: 58%;             /* položaj vertikalne prečke */
  --y: 52%;             /* položaj horizontalne prečke */
  position: relative;
  min-height: 620px;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: var(--graphite);
  box-shadow: var(--shadow), 0 0 0 1px rgba(28, 31, 33, 0.06);
  isolation: isolate;
}
.win > .ph { position: absolute; inset: var(--f); border-radius: 2px; box-shadow: none; }
.win::before, .win::after { content: ""; position: absolute; z-index: 2; background: linear-gradient(90deg, #3a3e42, var(--graphite) 40%, #25282b); }
.win::before { left: calc(var(--x) - var(--m) / 2); top: 0; bottom: 0; width: var(--m); }
.win::after { left: 0; right: 0; top: calc(var(--y) - var(--m) / 2); height: var(--m); background: linear-gradient(180deg, #3a3e42, var(--graphite) 40%, #25282b); }
.win__sash {
  position: absolute; z-index: 3;
  left: calc(var(--x) + var(--m) / 2);
  top: var(--f);
  right: var(--f);
  bottom: calc(100% - var(--y) + var(--m) / 2);
  padding: clamp(18px, 2.2vw, 30px);
  background: var(--orange);
  color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  transform-origin: left center;
  transition: transform 0.9s var(--ease);
  overflow: hidden;
}
.win__sash > svg.win__open { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.35; }
.win__sash .mono { position: relative; color: rgba(28, 31, 33, 0.72); }
.win__sash strong { position: relative; display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(20px, 1.9vw, 27px); letter-spacing: -0.03em; line-height: 1.05; }
.win__sash p { position: relative; margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: rgba(28, 31, 33, 0.8); max-width: 30ch; }
.win__sash a { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; border-bottom: 1.5px solid currentColor; align-self: flex-start; padding-bottom: 2px; }
.win__sash a svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.win__sash a:hover svg { transform: translateX(3px); }
.win:hover .win__sash { transform: perspective(1400px) rotateY(-7deg); }
.win > .ph__tag { position: absolute; left: calc(var(--f) + 14px); bottom: calc(var(--f) + 14px); z-index: 5; }
.win__handle { position: absolute; z-index: 4; left: calc(var(--x) - 3px); top: calc(var(--y) + 40px); width: 6px; height: 46px; border-radius: 3px; background: #c9ced1; box-shadow: 0 2px 4px rgba(0,0,0,.3); }

/* Foto slot, mesto za autentičnu fotografiju */
.ph {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #d9d3c8;
  isolation: isolate;
  box-shadow: var(--shadow);
}
.ph > svg.ph__art, .ph > .ph__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph > .ph__img { object-fit: cover; }
.ph::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(35, 35, 34, 0.08);
}
.ph__tag {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(250, 249, 246, 0.9);
  border-radius: var(--r-sm);
}
.ph__tag::before { content: ""; width: 8px; height: 8px; border: 1.5px solid var(--orange); border-radius: 50%; }
.ph__note {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(35, 35, 34, 0.6);
}

/* ---------- Traka specifikacija ---------- */
.specbar { border-block: 1px solid var(--line-2); background: var(--surface); }
.specbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.specbar__i { display: flex; gap: 14px; align-items: center; padding: 22px 20px; }
.specbar__i + .specbar__i { border-left: 1px solid var(--line); }
.specbar__i:first-child { padding-left: 0; }
.specbar__ic { flex: none; width: 36px; height: 36px; color: var(--graphite); }
.specbar__i b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.specbar__i span { font-size: 13.5px; color: var(--steel); }

/* ---------- Izaberite rešenje (kategorije) ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.cat {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 460px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s var(--ease);
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.cat--a { grid-column: span 7; }
.cat--b { grid-column: span 5; }
.cat--c { grid-column: span 5; }
.cat--d { grid-column: span 7; }
.cat__vis {
  position: relative;
  background: radial-gradient(120% 90% at 70% 10%, #fff 0%, var(--surface) 45%, var(--paper-2) 100%);
  display: grid;
  place-items: center;
  padding: 56px 36px 36px;
  min-height: 280px;
  border-bottom: 1px solid var(--line);
}
.cat__vis svg { width: min(100%, 360px); height: auto; max-height: 260px; transition: transform 0.8s var(--ease); }
.cat:hover .cat__vis svg { transform: scale(1.03); }
.cat__vis .poz { position: absolute; left: 18px; top: 18px; }
.cat__lbl {
  position: absolute; right: 18px; top: 22px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute);
}
.cat__body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  align-items: end;
  padding: 26px 28px 28px;
}
.cat__body p { color: var(--steel); font-size: 15.5px; margin-top: 10px; max-width: 46ch; }
.cat__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 3px; background: var(--paper); border: 1px solid var(--line); color: var(--steel);
}
.go {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: var(--r);
  background: var(--graphite); color: #fff;
  transition: background-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.go svg { width: 20px; height: 20px; }
.cat:hover .go { background: var(--orange); color: var(--ink); transform: translateX(2px); }

/* ---------- Ugradnje ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  font-size: 14.5px;
  font-weight: 500;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.chip:hover { border-color: var(--graphite); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.chip small { font-family: var(--f-mono); font-size: 11px; opacity: 0.6; }

.projects {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px 24px;
  margin-top: 40px;
}
.proj { display: grid; gap: 20px; align-content: start; transition: opacity 0.4s var(--ease); }
.proj.is-out { display: none; }
.proj--xl { grid-column: 1 / span 7; grid-row: span 2; }
.proj--m { grid-column: 9 / span 4; }
.proj--m2 { grid-column: 8 / span 5; }
.proj--w { grid-column: 1 / span 5; }
.proj--w2 { grid-column: 7 / span 6; }
.proj .ph { aspect-ratio: 4 / 3; }
.proj--xl .ph { aspect-ratio: 5 / 6; }
.proj--m .ph { aspect-ratio: 4 / 5; }
.proj__meta { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.proj__meta .mono { color: var(--mute); }
.proj h3 { margin-top: 2px; }
.proj__spec {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  margin: 4px 0 0;
  font-size: 14.5px;
}
.proj__spec dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.proj__spec dd { margin: 0; color: var(--steel); }

/* ---------- Proces (vremenski tok) ---------- */
.process { position: relative; }

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.step {
  position: relative;
  padding: 28px 24px 8px 0;
  display: grid;
  gap: 14px;
  align-content: start;
}
.step + .step { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.step__win {
  display: grid; grid-template: 1fr 1fr / 1fr 1fr; gap: 3px;
  width: 30px; height: 30px; padding: 3px;
  border: 2px solid rgba(255, 255, 255, 0.55);
}
.step__win i { background: rgba(255, 255, 255, 0.08); transition: background-color 0.6s var(--ease); }
.step__win i.on { background: var(--orange); }
.step:last-child .step__win { border-color: var(--orange); }
.step__head { display: flex; align-items: center; justify-content: space-between; }
.step__n { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--orange); }
.step h3 { font-size: 1.3rem; color: #fff; }
.step p { font-size: 15px; color: #adb3b7; line-height: 1.55; }
.step__out { margin-top: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #858c91; }
.step__out b { color: #d6dadc; font-weight: 500; }
.process__note {
  margin-top: 48px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--r-lg);
}
.process__note p { color: #c3c8cb; max-width: 62ch; }

/* ---------- Poređenje PVC / ALU ---------- */
.compare {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  border-top: 2px solid var(--graphite);
}
.compare__h {
  display: flex; align-items: center; gap: 14px;
  padding: 26px 24px 22px;
  border-bottom: 1px solid var(--line-2);
}
.compare__h:first-child { padding-left: 0; }
.compare__h svg { width: 44px; height: 44px; flex: none; }
.compare__h b { display: block; font-family: var(--f-display); font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1; }
.compare__h span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--steel); }
.compare__k, .compare__v {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.compare__k { padding-left: 0; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); padding-top: 23px; }
.compare__v + .compare__v, .compare__h + .compare__h { border-left: 1px solid var(--line); }
.compare__v { color: var(--ink); }
.compare__foot { grid-column: 1 / -1; padding: 18px 0; font-size: 13.5px; color: var(--mute); display: flex; gap: 10px; align-items: flex-start; }
.compare__foot svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--orange); }

.choose { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; margin-top: clamp(64px, 8vw, 112px); }
.choose__l { grid-column: 1 / span 4; display: grid; gap: 18px; align-content: start; }
.choose__r { grid-column: 6 / span 7; }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none;
  display: grid;
  grid-template-columns: 44px 1fr 28px;
  gap: 12px;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 17.5px;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mono { color: var(--mute); }
.faq__x { position: relative; width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 4px; transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease); }
.faq__x::before, .faq__x::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 1.5px; background: var(--ink); transition: transform 0.45s var(--ease); }
.faq__x::after { transform: rotate(90deg); }
.faq details[open] .faq__x { background: var(--orange); border-color: var(--orange); }
.faq details[open] .faq__x::after { transform: rotate(0deg); }
.faq summary:hover .faq__x { border-color: var(--graphite); }
.faq__a { padding: 0 40px 26px 56px; color: var(--steel); max-width: 70ch; }

/* ---------- Upit / forma ---------- */
.inquiry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: start;
}
.inquiry__aside { grid-column: 1 / span 4; position: sticky; top: 100px; display: grid; gap: 20px; }
.inquiry__form { grid-column: 5 / span 8; }

.panel {
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--graphite);
  color: #eef0ef;
  display: grid;
  gap: 22px;
}
.panel .mono { color: #949a9e; }
.panel__row { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.panel__row a, .panel__row b { font-size: 18px; font-weight: 600; color: #fff; }
.panel__row a:hover { color: var(--orange); }
.panel__row span { color: #adb3b7; font-size: 14.5px; }

.sketch {
  padding: 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.sketch__stage { position: relative; height: 220px; display: grid; place-items: center; }
.sketch svg { width: 100%; height: 100%; overflow: visible; }
.sketch__cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.sketch__cap .mono { color: var(--mute); }

.form {
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form__steps { display: grid; gap: 36px; }
.fset { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; min-width: 0; }
.fset legend {
  display: flex; align-items: baseline; gap: 12px;
  padding: 0; margin-bottom: 16px;
  font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.015em;
}
.fset legend .mono { color: var(--orange-ink); }
.fset legend small { font-family: var(--f-body); font-stretch: 100%; font-weight: 400; font-size: 13.5px; color: var(--mute); letter-spacing: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt label {
  display: grid; gap: 10px;
  height: 100%;
  padding: 14px 14px 12px;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: var(--paper);
  cursor: pointer;
  font-weight: 600; font-size: 15px; line-height: 1.25;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.opt label svg { width: 34px; height: 34px; color: var(--steel); transition: color 0.3s var(--ease); }
.opt input:hover + label { border-color: var(--graphite); }
.opt input:checked + label { border-color: var(--graphite); background: var(--surface); box-shadow: inset 0 0 0 1px var(--graphite); }
.opt input:checked + label svg { color: var(--orange); }
.opt input:focus-visible + label { outline: 2px solid var(--orange); outline-offset: 2px; }

.field { display: grid; gap: 8px; align-content: start; }
.field > label, .field__l { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.field > label small, .field__l small { font-weight: 400; color: var(--mute); }
.req { color: var(--orange-ink); }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.textarea { min-height: 112px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #969ca0; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--mute); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--graphite); background: #fff; box-shadow: 0 0 0 3px rgba(216, 110, 32, 0.22); }
.help { font-size: 13px; color: var(--mute); line-height: 1.45; }
.err-msg { display: none; font-size: 13.5px; color: var(--err); font-weight: 500; align-items: center; gap: 6px; }
.err-msg::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--err) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 3.5v4.2M7 9.6v.9' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/14px; }
.field.is-invalid .input, .field.is-invalid .textarea { border-color: var(--err); background: #fff8f6; }
.field.is-invalid .err-msg { display: flex; }

.suffix { position: relative; }
.suffix .input { padding-right: 54px; font-family: var(--f-mono); font-size: 16px; }
.suffix::after {
  content: attr(data-suffix);
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-family: var(--f-mono); font-size: 12px; color: var(--mute); letter-spacing: 0.06em; pointer-events: none;
}

.stepper { display: grid; grid-template-columns: 52px 1fr 52px; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.stepper button { border: 0; background: transparent; font-size: 20px; min-height: 50px; transition: background-color 0.25s var(--ease); }
.stepper button:hover { background: rgba(55, 55, 55, 0.07); }
.stepper button:active { background: rgba(55, 55, 55, 0.12); }
.stepper input { border: 0; border-inline: 1px solid var(--line); text-align: center; font-family: var(--f-mono); font-size: 18px; font-weight: 500; background: transparent; min-width: 0; color: var(--ink); -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; background: #fff; }

.drop {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1.5px dashed var(--line-2);
  border-radius: var(--r);
  background: var(--paper);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop:hover, .drop.is-over { border-color: var(--orange); background: #fbf3ec; }
.drop__ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--orange); }
.drop__ic svg { width: 22px; height: 22px; }
.drop b { display: block; font-size: 15.5px; }
.drop span { font-size: 13.5px; color: var(--mute); }
.drop .btn { pointer-events: none; }
.files { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.files li {
  display: grid; grid-template-columns: 40px 1fr auto auto; align-items: center; gap: 12px;
  padding: 8px 10px 8px 8px;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  font-size: 14px;
  animation: rise 0.5s var(--ease) both;
}
.files__th { width: 40px; height: 40px; border-radius: 5px; background: var(--paper-2) center/cover; }
.files__n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.files__s { font-family: var(--f-mono); font-size: 12px; color: var(--mute); }
.files__x { width: 32px; height: 32px; border: 0; border-radius: 4px; background: transparent; color: var(--steel); }
.files__x:hover { background: var(--paper); color: var(--err); }
.files li.is-bad { border-color: var(--err); background: #fff8f6; }
.files li.is-bad .files__s { color: var(--err); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--steel); }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--graphite); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 28px; margin-top: 8px; border-top: 1px solid var(--line); }
.form__foot p { font-size: 13.5px; color: var(--mute); max-width: 40ch; }

/* Stanja forme */
.form-alert {
  display: none;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r);
  font-size: 15px;
  margin-bottom: 24px;
}
.form-alert svg { width: 22px; height: 22px; }
.form-alert b { display: block; }
.form-alert--err { background: var(--err-soft); color: #6d1810; }
.form-alert--err svg { color: var(--err); }
.form.has-error .form-alert--err { display: grid; animation: rise 0.5s var(--ease) both; }

.btn.is-loading .btn__lbl { opacity: 0.85; }
.btn.is-loading .btn__ic svg { display: none; }
.btn.is-loading .btn__ic::after {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin 0.8s linear infinite;
}
.form.is-loading .form__steps { opacity: 0.55; pointer-events: none; transition: opacity 0.4s var(--ease); }

.success {
  display: none;
  gap: 24px;
  text-align: left;
}
.form.is-sent .form__steps, .form.is-sent .form__foot, .form.is-sent .form-alert { display: none; }
.form.is-sent .success { display: grid; animation: rise 0.7s var(--ease) both; }
.success__ic { width: 64px; height: 64px; }
.success__ic path.check { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.8s 0.3s var(--ease) forwards; }
.success ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.success li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.success li .mono { color: var(--orange-ink); padding-top: 3px; }
.success__alt { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Footer ---------- */
.footer { background: #17191b; color: #bfc4c7; padding-top: clamp(64px, 8vw, 104px); position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer__brand { grid-column: 1 / span 5; display: grid; gap: 24px; align-content: start; justify-items: start; }
.footer__brand p { color: #969ca0; max-width: 40ch; }
.footer__col { grid-column: span 2; display: grid; gap: 10px; align-content: start; }
.footer__col:last-child { grid-column: span 3; }
.footer__col h4 { margin: 0 0 8px; font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #7a8084; }
.footer__col a { color: #e3e6e5; font-size: 15px; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--orange); }
.footer__col p { font-size: 15px; line-height: 1.55; }
.footer__big {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(64px, 16.5vw, 250px);
  letter-spacing: -0.035em;
  line-height: 0.8;
  color: #2a2d30;
  padding-top: 40px;
  margin-bottom: -0.1em;
  white-space: nowrap;
  user-select: none;
}
.footer__big .logo__z::after { border-color: var(--orange); }
.footer__bot a { color: #bfc4c7; transition: color 0.3s var(--ease); }
.footer__bot a:hover { color: var(--orange); }
.footer__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; font-size: 13px; color: #7a8084; border-top: 1px solid rgba(255, 255, 255, 0.1); position: relative; z-index: 1; background: #17191b; }

/* ---------- Unutrašnje stranice ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--line-2); }

.phero { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(56px, 7vw, 96px); }
.phero__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: end; margin-top: 36px; }
.phero__t { grid-column: 1 / span 6; display: grid; gap: 24px; }
.phero__t h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.phero__d { grid-column: 8 / span 5; display: grid; gap: 22px; }
.phero__media { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 7fr 5fr; gap: 20px; }
.phero__media .ph { min-height: 440px; }
.phero__draw {
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: radial-gradient(120% 90% at 70% 10%, #fff 0%, var(--surface) 45%, var(--paper-2) 100%);
  padding: 28px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
}
.phero__draw svg { width: 100%; height: 100%; max-height: 320px; }
.phero__draw .mono { color: var(--mute); }

.use { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--graphite); }
.use__i { padding: 28px 28px 28px 0; display: grid; gap: 12px; align-content: start; }
.use__i + .use__i { padding-left: 28px; border-left: 1px solid var(--line); }
.use__i svg { width: 44px; height: 44px; color: var(--graphite); }
.use__i p { color: var(--steel); font-size: 15.5px; }

.variants { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.var {
  display: grid;
  grid-template-columns: 90px 1.1fr 1.5fr 180px;
  gap: 32px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-2);
  transition: background-color 0.4s var(--ease);
}
.var:hover { background: rgba(250, 249, 246, 0.7); }
.var__n { font-family: var(--f-mono); font-size: 12px; color: var(--orange-ink); letter-spacing: 0.08em; }
.var p { color: var(--steel); font-size: 15.5px; }
.var__fig { height: 110px; display: grid; place-items: center end; }
.var__fig svg { height: 100%; width: auto; }

.datasheet {
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: var(--surface);
  overflow: hidden;
}
.datasheet__h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.datasheet table { width: 100%; border-collapse: collapse; font-size: 15px; }
.datasheet th, .datasheet td { text-align: left; padding: 16px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.datasheet th { width: 34%; font-family: var(--f-mono); font-weight: 400; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); padding-top: 19px; }
.datasheet tr:last-child th, .datasheet tr:last-child td { border-bottom: 0; }
.skel {
  display: inline-block; height: 12px; border-radius: 3px; vertical-align: middle;
  background: linear-gradient(90deg, var(--paper-2) 0%, #f6f4ef 50%, var(--paper-2) 100%) 0 0 / 200% 100%;
  animation: shimmer 2.4s var(--ease-soft) infinite;
}
.pending { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-ink); background: var(--orange-soft); padding: 5px 9px; border-radius: 3px; }
.pending::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: pulse 2s ease-in-out infinite; }

.cta-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-lg); background: var(--graphite); color: #eef0ef; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #adb3b7; margin-top: 16px; }
.cta-band__a { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-band svg.cta-band__arc { position: absolute; right: -60px; bottom: -120px; width: 360px; height: 360px; opacity: 0.5; pointer-events: none; }

/* Mapa radionice */
.map {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #e9e6df;
  min-height: 380px;
}
.map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__card { position: absolute; left: 18px; bottom: 18px; right: 18px; max-width: 360px; padding: 18px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); display: grid; gap: 6px; }
.map__card .mono { color: var(--mute); }


/* ---------- Dodatne komponente: stranice usluga, ugradnje, projekat, proces ---------- */
.win--plain { min-height: 460px; }
.win--plain::before, .win--plain::after { display: none; }

.proj__link { display: grid; gap: 20px; }
.proj__link h3 { transition: color 0.3s var(--ease); }
.proj__link:hover h3 { color: var(--orange-ink); }
.proj__link .ph__art, .proj__link .ph__img { transition: transform 1.2s var(--ease); }
.proj__link:hover .ph__art, .proj__link:hover .ph__img { transform: scale(1.035); }
.proj__open {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: var(--ink);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.proj__open svg { width: 18px; height: 18px; transform: rotate(-45deg); }
.proj__link:hover .proj__open, .proj__link:focus-visible .proj__open { opacity: 1; transform: none; }

.projects--grid { gap: 56px 24px; }
.proj--h { grid-column: span 6; }
.projects--grid .proj--h:nth-child(4n + 1) .ph, .projects--grid .proj--h:nth-child(4n) .ph { aspect-ratio: 4 / 3; }
.projects--grid .proj--h:nth-child(4n + 2) .ph, .projects--grid .proj--h:nth-child(4n + 3) .ph { aspect-ratio: 16 / 11; }
.projects--grid .proj--h:nth-child(even) { margin-top: 72px; }

.filterbar { display: flex; flex-wrap: wrap; gap: 18px 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line-2); }
.filterbar__g { display: flex; align-items: center; gap: 14px; min-width: 0; }
.empty { display: grid; justify-items: start; gap: 10px; padding: 56px 0; }
.empty[hidden] { display: none; }
.empty svg { width: 48px; height: 48px; color: var(--line-2); }
.empty:not([hidden]) { animation: rise 0.5s var(--ease) both; }

.btn--onDark { --bg: transparent; --fg: #fff; --ic-bg: rgba(255, 255, 255, 0.1); --ic-fg: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.btn--onDark:hover { --bg: rgba(255, 255, 255, 0.06); }

.others { display: grid; gap: 14px; margin-top: 40px; }
.others__l { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.other {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px;
  padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.other .mono { grid-column: 1; color: var(--mute); }
.other b { grid-column: 1; font-family: var(--f-display); font-weight: 750; font-size: 1.15rem; letter-spacing: -0.02em; }
.other svg { grid-column: 2; grid-row: 1 / span 2; width: 20px; height: 20px; color: var(--orange); transition: transform 0.4s var(--ease); }
.other:hover { border-color: var(--graphite); background: #fff; }
.other:hover svg { transform: translateX(4px); }

.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); margin: 0; }
.facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.facts dd { margin: 6px 0 0; font-weight: 600; }

.story { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--graphite); }
.story__i { display: grid; gap: 14px; align-content: start; padding: 28px 32px 0 0; }
.story__i + .story__i { padding-left: 32px; border-left: 1px solid var(--line); }
.story__i p { color: var(--steel); }

.gallery { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; }
.gallery figure { margin: 0; display: grid; gap: 12px; }
.gallery figcaption { color: var(--mute); }
.gallery figure:nth-child(1) .ph, .gallery figure:nth-child(4) .ph { aspect-ratio: 4 / 3; }
.gallery figure:nth-child(2) .ph, .gallery figure:nth-child(3) .ph { aspect-ratio: 4 / 3; }
.gallery figure:nth-child(3) { grid-column: 2; grid-row: 2; }
.gallery figure:nth-child(4) { grid-column: 1; grid-row: 2; }
.gallery figure:nth-child(odd) .ph { aspect-ratio: 16 / 11; }

.who { border-top: 2px solid var(--graphite); }
.who__h, .who__r { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; gap: 32px; }
.who__h { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.who__r { padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.who__r > div { display: grid; gap: 8px; }
.who__r p { color: var(--steel); }
.who__r p:last-child { color: var(--ink); }

.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.checklist svg { width: 22px; height: 22px; color: var(--orange); margin-top: 2px; }
.checklist b { display: block; font-size: 17px; }
.checklist span { color: var(--steel); font-size: 15px; }

.section--dark .steps { border-top-color: rgba(255, 255, 255, 0.14); }

@media (max-width: 1024px) {
  .others__l { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr; }
  .story__i, .story__i + .story__i { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .who__h { display: none; }
  .who__r { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 767px) {
  .proj--h { grid-column: 1; }
  .projects--grid .proj--h:nth-child(even) { margin-top: 0; }
  .projects--grid .proj--h .ph { aspect-ratio: 4 / 3 !important; }
  .filterbar { flex-direction: column; gap: 14px; }
  .filterbar__g { flex-direction: column; align-items: stretch; gap: 8px; width: 100%; }
  .others__l { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:nth-child(n) { grid-column: 1; grid-row: auto; }
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- Animacije (umerene, bez agresivnih efekata) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes dimIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dimInV { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.load > * { animation: rise 0.9s var(--ease) both; animation-delay: calc(var(--d, 0) * 100ms + 80ms); }
.win { animation: winIn 1.2s 0.15s var(--ease) both; }
.win__sash { animation: sashIn 1.1s 0.7s var(--ease) backwards; }
@keyframes winIn { from { opacity: 0; transform: translateY(24px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes sashIn { from { transform: perspective(1400px) rotateY(-28deg); opacity: 0; } to { transform: none; opacity: 1; } }

.draw-lines path, .draw-lines rect, .draw-lines line, .draw-lines polyline {
  stroke-dasharray: var(--len, 600);
  stroke-dashoffset: var(--len, 600);
  transition: stroke-dashoffset 1.8s var(--ease);
}
.is-in .draw-lines path, .is-in .draw-lines rect, .is-in .draw-lines line, .is-in .draw-lines polyline,
.draw-lines.is-in path, .draw-lines.is-in rect, .draw-lines.is-in line, .draw-lines.is-in polyline { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .draw-lines path, .draw-lines rect, .draw-lines line, .draw-lines polyline { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav a { padding: 10px 8px; font-size: 14.5px; }
  .header__tel { display: none; }
}

@media (max-width: 1024px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: block; }
  .topbar__l span:nth-child(2) { display: none; }

  .hero__copy { grid-column: 1 / -1; }
  .hero__copy h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
  .hero__copy h1 .ln { white-space: normal; display: inline; }
  .hero__media { grid-column: 1 / -1; }
  .win { min-height: 520px; }

  .specbar .wrap { grid-template-columns: repeat(2, 1fr); }
  .specbar__i:nth-child(3) { padding-left: 0; border-left: 0; }
  .specbar__i:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .shead__t { grid-column: 1 / -1; }
  .shead__d { grid-column: 1 / span 9; }

  .cat--a, .cat--b, .cat--c, .cat--d { grid-column: span 6; }

  .proj--xl { grid-column: 1 / -1; grid-row: auto; }
  .proj--xl .ph { aspect-ratio: 16 / 10; }
  .proj--m, .proj--m2, .proj--w, .proj--w2 { grid-column: span 6; }
  .proj--m .ph { aspect-ratio: 4 / 3; }

  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .step:nth-child(4) { padding-left: 0; border-left: 0; }

  .choose__l, .choose__r { grid-column: 1 / -1; }

  .inquiry__aside { grid-column: 1 / -1; position: static; grid-template-columns: 1fr 1fr; }
  .inquiry__form { grid-column: 1 / -1; order: -1; }

  .footer__brand { grid-column: 1 / -1; }
  .footer__col, .footer__col:last-child { grid-column: span 4; }

  .phero__t, .phero__d { grid-column: 1 / -1; }
  .var { grid-template-columns: 60px 1fr 1fr; }
  .var__fig { display: none; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__a { justify-content: flex-start; }
}

@media (max-width: 767px) {
  .hero__grid, .shead, .cats, .projects, .choose, .inquiry, .footer__top, .phero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__grid > *, .shead > *, .choose > *, .inquiry > *, .footer__top > *, .phero__grid > * { grid-column: 1 !important; }
  body { font-size: 16px; }
  .topbar { display: none; }
  .header .wrap { min-height: 66px; }
  .logo__mark { width: 32px; height: 32px; }
  .logo__word { font-size: 19px; }

  .callbar { display: grid; }
  body { padding-bottom: 84px; }

  .hero { padding-top: 24px; }
  .hero__grid { gap: 36px; }
  .hero__copy { gap: 32px; padding-top: 0; }
  .hero__copy h1 { margin-top: 18px; }
  .hero__actions { margin-top: 24px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .win { --f: 10px; --m: 9px; --x: 50%; --y: 56%; min-height: 470px; }
  .win::before { bottom: calc(100% - var(--y)); }
  .win__sash { left: var(--f); top: calc(var(--y) + var(--m) / 2); bottom: var(--f); padding: 18px; }
  .win__sash p { display: none; }
  .win > .ph__tag { top: calc(var(--f) + 10px); bottom: auto; }
  .win__handle { display: none; }
  .dim > b { font-size: 11px; padding: 0 6px; }

  .specbar .wrap { grid-template-columns: 1fr; }
  .specbar__i, .specbar__i:nth-child(3) { padding: 16px 0; border-left: 0 !important; }
  .specbar__i + .specbar__i { border-top: 1px solid var(--line); }

  .shead { grid-template-columns: 1fr; }
  .shead__t, .shead__d { grid-column: 1; }

  .cats { grid-template-columns: 1fr; }
  .cat--a, .cat--b, .cat--c, .cat--d { grid-column: 1; min-height: 0; }
  .cat__vis { min-height: 220px; padding: 48px 24px 24px; }
  .cat__body { padding: 22px 20px 22px; }
  .go { width: 46px; height: 46px; }

  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .projects { grid-template-columns: 1fr; gap: 40px; }
  .proj--xl, .proj--m, .proj--m2, .proj--w, .proj--w2 { grid-column: 1; }
  .proj .ph, .proj--xl .ph, .proj--m .ph { aspect-ratio: 4 / 3; }

  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.16); margin-left: 5px; }
  .step, .step + .step { padding: 0 0 32px 28px; border-left: 0; }


  .compare { grid-template-columns: 1fr 1fr; }
  .compare__h:first-child { display: none; }
  .compare__h { padding: 18px 12px 16px 0; flex-direction: column; align-items: flex-start; gap: 10px; }
  .compare__h + .compare__h { padding-left: 14px; }
  .compare__h svg { width: 36px; height: 36px; }
  .compare__k { grid-column: 1 / -1; padding: 18px 0 6px; border-bottom: 0; }
  .compare__v { padding: 0 12px 18px 0; font-size: 14.5px; }
  .compare__v + .compare__v { padding-left: 14px; }

  .faq summary { grid-template-columns: 32px 1fr 28px; font-size: 16px; }
  .faq__a { padding: 0 0 22px 44px; }

  .inquiry__aside { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .opts { grid-template-columns: 1fr 1fr; }
  .drop { grid-template-columns: auto 1fr; }
  .drop .btn { display: none; }
  .form__foot .btn { width: 100%; justify-content: space-between; }

  .footer__col, .footer__col:last-child { grid-column: 1 / -1; }
  .footer__top { gap: 28px; }

  .phero__media { grid-template-columns: 1fr; }
  .phero__media .ph { min-height: 300px; }
  .use { grid-template-columns: 1fr; }
  .use__i, .use__i + .use__i { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .var { grid-template-columns: 1fr; gap: 8px; }
  .datasheet th, .datasheet td { display: block; width: 100%; padding: 12px 18px; }
  .datasheet th { padding-bottom: 0; border-bottom: 0; }
}

.email { user-select: all; word-break: break-all; }
.footer__col .email { color: #e3e6e5; font-size: 15px; }
