/* ==========================================================================
   GENERALPROMET d.o.o. Čačak — stilovi sajta
   Mobile-first · boje iz logoa (zelena #037520, plava #0077DD)
   ========================================================================== */

/* ---------- Fontovi (lokalno, bez Google Fonts) ---------- */
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("../assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"), url("../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800; src: url("../assets/fonts/jetbrains-mono-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../assets/fonts/jetbrains-mono-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800; src: url("../assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations"), url("../assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --green: #037520;
  --green-600: #025f19;
  --green-400: #12a043;
  --green-300: #46c36b;
  --blue: #0077dd;
  --blue-600: #0062b8;
  --blue-400: #2b93ee;
  --blue-300: #72b9f7;

  --ink: #07100d;
  --ink-2: #0c1814;
  --ink-3: #13211c;
  --ink-4: #1d2e28;
  --paper: #f2f4f3;
  --paper-2: #e6ebe8;
  --white: #ffffff;

  --text: #0a1411;
  --muted: #56645f;
  --muted-2: #8b9994;
  --line: rgba(7, 16, 13, 0.1);
  --line-2: rgba(7, 16, 13, 0.16);
  --line-dark: rgba(255, 255, 255, 0.1);
  --line-dark-2: rgba(255, 255, 255, 0.18);

  --grad: linear-gradient(100deg, var(--green) 0%, var(--blue) 100%);
  --grad-soft: linear-gradient(100deg, rgba(3, 117, 32, 0.14), rgba(0, 119, 221, 0.14));

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --frame: 10px;
  --radius: 22px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --gutter: 20px;
  --container: 1240px;
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow: 0 24px 60px -24px rgba(7, 16, 13, 0.35);
  --shadow-sm: 0 10px 30px -14px rgba(7, 16, 13, 0.28);
}

@media (min-width: 768px) {
  :root { --frame: 14px; --gutter: 32px; --radius: 26px; --header-h: 84px; }
}
@media (min-width: 1200px) {
  :root { --frame: 16px; --gutter: 40px; --radius: 30px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 10px; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.container-wide { width: min(1440px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section-sm { padding-block: clamp(56px, 8vw, 100px); position: relative; }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: #e9efec; }
.framed { margin: 0 var(--frame); border-radius: var(--radius); overflow: hidden; }

/* ---------- Typography ---------- */
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7;
}
.eyebrow .num { color: var(--green); font-weight: 700; }
.bg-ink .eyebrow, .on-dark .eyebrow { color: rgba(255, 255, 255, 0.62); }
.bg-ink .eyebrow .num, .on-dark .eyebrow .num { color: var(--green-300); }

.h-display {
  font-size: clamp(2.5rem, 8.4vw, 6.4rem); line-height: 0.98; letter-spacing: -0.04em; font-weight: 800;
}
.h1 { font-size: clamp(2.2rem, 6.2vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
.h2 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
.h4 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.bg-ink .lead, .on-dark .lead { color: rgba(233, 239, 236, 0.72); }
.text-grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bg-ink .text-grad, .on-dark .text-grad {
  background: linear-gradient(100deg, var(--green-300), var(--blue-300));
  -webkit-background-clip: text; background-clip: text;
}
.muted { color: var(--muted); }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 6vw, 72px); }
.section-head .h2 { max-width: 16ch; }
.section-head .lead { max-width: 56ch; }
@media (min-width: 1000px) {
  .section-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; column-gap: 64px; }
  .section-head.split .eyebrow { grid-column: 1 / -1; }
}

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: var(--bh); padding: 0 8px 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform .5s var(--ease), background .3s, color .3s, box-shadow .4s, border-color .3s;
  will-change: transform; isolation: isolate;
}
.btn .btn-ico {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none;
  transition: transform .5s var(--ease), background .3s;
  overflow: hidden;
}
.btn .btn-ico svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover .btn-ico svg { transform: translateX(3px) rotate(-45deg); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -12px rgba(0,0,0,.45); }
.btn-white .btn-ico { background: var(--ink); color: #fff; }
.btn-white:hover .btn-ico { background: var(--green); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark .btn-ico { background: #fff; color: var(--ink); }
.btn-dark:hover { background: var(--green-600); }
.btn-green { background: var(--green); color: #fff; }
.btn-green .btn-ico { background: #fff; color: var(--green); }
.btn-green:hover { background: var(--green-600); box-shadow: 0 18px 40px -16px rgba(3,117,32,.7); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue .btn-ico { background: #fff; color: var(--blue); }
.btn-blue:hover { background: var(--blue-600); }
.btn-ghost {
  padding: 0 22px; height: 46px; color: #fff; border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline { padding: 0 22px; border: 1px solid var(--line-2); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px;
  position: relative; padding-block: 6px;
}
.btn-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(.35); transform-origin: left; transition: transform .6s var(--ease); opacity: .7;
}
.btn-link:hover::after { transform: scaleX(1); }
.btn-link svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.btn-link:hover svg { transform: translateX(4px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: #fff;
  display: grid; place-items: center;
  transition: clip-path 1s var(--ease-io), visibility 0s linear 1s;
  clip-path: inset(0 0 0 0);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.preloader-inner { display: grid; justify-items: center; gap: 26px; width: min(320px, 70vw); }
.preloader-emblem { width: 96px; height: auto; overflow: visible; }
.preloader-emblem path {
  fill: transparent; stroke: var(--green); stroke-width: 6;
  stroke-dasharray: var(--len, 4000); stroke-dashoffset: var(--len, 4000);
  animation: plDraw 1.5s var(--ease-io) forwards, plFill .5s ease 1.25s forwards;
}
.preloader-word { width: 100%; overflow: hidden; }
.preloader-word img { width: 100%; transform: translateY(110%); animation: plUp .9s var(--ease) .7s forwards; }
.preloader-meta {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase;
}
.preloader-bar { position: relative; width: 100%; height: 2px; background: var(--paper-2); overflow: hidden; border-radius: 2px; }
.preloader-bar span { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.preloader.is-quick .preloader-emblem path { animation-duration: .7s, .3s; animation-delay: 0s, .45s; }
.preloader.is-quick .preloader-word img { animation-delay: .15s; animation-duration: .6s; }
@keyframes plDraw { to { stroke-dashoffset: 0; } }
@keyframes plFill { to { fill: var(--green); stroke-width: 0; } }
@keyframes plUp { to { transform: none; } }
html.no-js .preloader { display: none; }

/* ---------- Page transition ---------- */
.page-curtain {
  position: fixed; inset: 0; z-index: 9990; pointer-events: none;
  background: var(--ink); transform: translateY(100%);
  transition: transform .6s var(--ease-io);
  display: grid; place-items: center;
}
.page-curtain img { width: 64px; opacity: 0; transition: opacity .3s .2s; }
.page-curtain.is-in { transform: none; pointer-events: all; }
.page-curtain.is-in img { opacity: 1; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 120;
  background: var(--grad); transform-origin: left; transform: scaleX(0);
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; z-index: 100; left: 0; right: 0; top: 0;
  padding: calc(var(--frame) + 8px) calc(var(--frame) + 8px) 0;
  transition: padding .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 8px 0 10px; border-radius: 18px;
  border: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s, box-shadow .5s, height .5s var(--ease), backdrop-filter .5s;
  max-width: 1440px; margin-inline: auto;
}
.site-header.is-scrolled { padding-top: 10px; }
.site-header.is-scrolled .nav-wrap {
  background: rgba(7, 16, 13, 0.72); border-color: rgba(255,255,255,.08);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); height: 60px;
}
.site-header.is-hidden { transform: translateY(-120%); }
.site-header.is-light:not(.is-scrolled) .nav-link { color: var(--ink); }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand-chip {
  display: inline-flex; align-items: center; background: #fff; border-radius: 12px;
  padding: 9px 13px; box-shadow: 0 8px 24px -12px rgba(0,0,0,.4);
  transition: transform .5s var(--ease);
}
.brand:hover .brand-chip { transform: translateY(-2px); }
.brand-chip img { height: 22px; width: auto; }
@media (min-width: 768px) { .brand-chip img { height: 26px; } .brand-chip { padding: 10px 15px; } }

.nav-desktop { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn-ghost { display: none; }

.burger {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; transition: background .3s;
}
.burger:hover { background: rgba(255,255,255,.2); }
.burger-lines { width: 20px; height: 12px; position: relative; }
.burger-lines span {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .5s var(--ease), top .5s var(--ease), opacity .3s;
}
.burger-lines span:nth-child(1) { top: 0; }
.burger-lines span:nth-child(2) { top: 5px; width: 70%; left: auto; right: 0; }
.burger-lines span:nth-child(3) { top: 10px; }
.menu-open .burger-lines span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-open .burger-lines span:nth-child(2) { opacity: 0; }
.menu-open .burger-lines span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

@media (min-width: 1280px) {
  .burger { display: none; }
  .nav-actions .btn-ghost { display: inline-flex; }
  .nav-desktop { display: flex; align-items: center; gap: 2px; }
  .nav-wrap { padding: 0 10px 0 12px; height: 70px; }
}
.nav-item { position: relative; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 10px; color: rgba(255,255,255,.86);
  font-size: 14.5px; font-weight: 600; transition: color .3s, background .3s;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: #fff; }
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 1.5px;
  background: var(--green-300); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-link .chev { width: 10px; height: 10px; transition: transform .4s var(--ease); }
.nav-item.has-mega:hover .chev, .nav-item.has-mega:focus-within .chev { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(980px, 92vw);
  transform: translate(-42%, 10px); opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), transform .5s var(--ease), visibility 0s linear .35s;
  background: rgba(10, 20, 17, 0.94); border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-radius: 22px; padding: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
  display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 10px; color: #fff;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item.has-mega:hover .mega, .nav-item.has-mega:focus-within .mega {
  opacity: 1; visibility: visible; transform: translate(-42%, 0); transition-delay: 0s;
}
.mega-col h4, .mega-col .mega-h {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-300); font-weight: 600; padding: 6px 10px 10px;
}
.mega-col a {
  display: block; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; line-height: 1.35;
  color: rgba(255,255,255,.78); transition: background .25s, color .25s, padding .4s var(--ease);
}
.mega-col a:hover { background: rgba(255,255,255,.06); color: #fff; padding-left: 14px; }
.mega-feature {
  position: relative; border-radius: 16px; overflow: hidden; min-height: 260px; display: flex; align-items: flex-end;
  padding: 18px; isolation: isolate;
}
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.mega-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(4,10,8,.9)); }
.mega-feature:hover img { transform: scale(1.06); }
.mega-feature strong { display: block; font-size: 18px; letter-spacing: -0.02em; }
.mega-feature span { font-size: 13px; color: rgba(255,255,255,.7); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--ink); color: #fff;
  padding: calc(var(--frame) + 96px) calc(var(--gutter)) 28px;
  display: flex; flex-direction: column; gap: 22px; overflow-y: auto;
  clip-path: circle(0% at calc(100% - 46px) 46px);
  transition: clip-path .8s var(--ease-io), visibility 0s linear .8s; visibility: hidden;
}
.mobile-menu::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 46px) 46px); visibility: visible; transition-delay: 0s; }
.menu-open { overflow: hidden; }
.mm-links { position: relative; display: grid; gap: 2px; }
.mm-link {
  display: flex; align-items: baseline; gap: 14px; padding: 10px 0; font-size: clamp(28px, 8vw, 40px); font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.1; border-bottom: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s;
}
.mm-link small { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--green-300); letter-spacing: .1em; }
.mm-link[aria-current="page"] { color: var(--green-300); }
.menu-open .mm-link { opacity: 1; transform: none; }
.mm-acc { border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.menu-open .mm-acc { opacity: 1; transform: none; }
.mm-acc > button { width: 100%; justify-content: space-between; border-bottom: 0; opacity: 1; transform: none; }
.mm-acc > button svg { width: 18px; height: 18px; transition: transform .4s var(--ease); align-self: center; }
.mm-acc.is-open > button svg { transform: rotate(45deg); }
.mm-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.mm-acc.is-open .mm-sub { grid-template-rows: 1fr; }
.mm-sub > div { overflow: hidden; }
.mm-sub a { display: block; padding: 9px 0 9px 4px; color: rgba(255,255,255,.72); font-size: 15px; border-top: 1px dashed rgba(255,255,255,.08); }
.mm-sub a:first-child { border-top: 0; }
.mm-sub div > :last-child { margin-bottom: 14px; }
.mm-foot { position: relative; margin-top: auto; display: grid; gap: 14px; padding-top: 18px; }
.mm-foot a { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.8); font-size: 15px; }
.mm-foot svg { width: 18px; height: 18px; color: var(--green-300); }
.mm-foot .btn { justify-content: space-between; color: var(--ink); }

/* ---------- Hero (početna) ---------- */
.hero { padding: var(--frame); padding-bottom: 0; }
.hero-frame {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius);
  min-height: calc(100svh - var(--frame) * 2); background: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1.4s var(--ease), visibility 0s linear 1.4s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 60% center);
  transform: scale(1.14); transition: transform 7.5s cubic-bezier(.2,.6,.3,1);
}
.hero-slide.is-active img { transform: scale(1.02); }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,12,10,.62) 0%, rgba(5,12,10,.18) 28%, rgba(5,12,10,.25) 55%, rgba(5,12,10,.92) 100%),
    linear-gradient(90deg, rgba(5,12,10,.78) 0%, rgba(5,12,10,.35) 45%, rgba(5,12,10,0) 75%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: calc((100% - 2px) / 6) 100%;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero-content {
  position: relative; padding-top: calc(var(--header-h) + 70px);
  display: grid; gap: 22px; padding-bottom: 28px;
}
.hero-eyebrow { color: rgba(255,255,255,.75); }
.hero-eyebrow::before { background: var(--green-300); opacity: 1; }
.hero-titles { position: relative; display: grid; }
.hero-title {
  grid-area: 1 / 1; font-size: clamp(2.55rem, 9.6vw, 6.6rem); line-height: .98; letter-spacing: -0.045em;
  font-weight: 800; max-width: 12.5ch; text-wrap: balance;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span {
  display: block; transform: translateY(105%);
  transition: transform 1.1s var(--ease);
}
.hero-title.is-active .line > span { transform: none; }
.hero-title.is-leaving .line > span { transform: translateY(-105%); transition-duration: .7s; transition-timing-function: var(--ease-io); }
.hero-title .line:nth-child(2) > span { transition-delay: .08s; }
.hero-title .line:nth-child(3) > span { transition-delay: .16s; }
.hero-title em { font-style: normal; color: var(--green-300); }
.hero-title em.b { color: var(--blue-300); }
.hero-lead {
  max-width: 50ch; color: rgba(255,255,255,.84); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.65;
}
.hero-lead-wrap { display: grid; }
.hero-lead { grid-area: 1/1; opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .8s var(--ease); }
.hero-lead.is-active { opacity: 1; transform: none; transition-delay: .35s; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 6px; }
.hero-cta .btn-link { color: #fff; }

.hero-bottom { position: relative; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-block: 22px 26px; }
.stat-num {
  display: block; font-size: clamp(1.7rem, 6.4vw, 3.9rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-num sup { font-size: .5em; vertical-align: super; color: var(--green-300); margin-left: 2px; }
.stat-label { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.35; color: rgba(255,255,255,.72); }
@media (min-width: 768px) { .stat-label { font-size: 14.5px; } }

.hero-controls {
  position: absolute; right: calc(var(--frame) + 12px); top: calc(var(--header-h) + 40px);
  display: none; flex-direction: column; align-items: flex-end; gap: 14px; z-index: 2;
}
.hero-count { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: rgba(255,255,255,.75); }
.hero-count b { color: #fff; font-weight: 700; }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.hero-arrow:hover { background: #fff; color: var(--ink); }
.hero-arrow svg { width: 16px; height: 16px; }
.hero-dots { display: flex; gap: 6px; position: absolute; left: 0; right: 0; top: -1px; }
.hero-dot { position: relative; flex: 1; height: 2px; background: transparent; overflow: hidden; }
.hero-dot span { position: absolute; inset: 0; background: var(--green-300); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-done span { transform: scaleX(1); }
.hero-dot.is-active span { animation: dotFill var(--dur, 6.5s) linear forwards; }
.hero.is-paused .hero-dot.is-active span { animation-play-state: paused; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-scroll {
  display: none; position: absolute; right: calc(var(--frame) + 14px); bottom: 34px; z-index: 2;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7);
  writing-mode: vertical-rl; align-items: center; gap: 12px;
}
.hero-scroll i { display: block; width: 1px; height: 56px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: scrollLine 2.2s var(--ease-io) infinite; }
@keyframes scrollLine { to { top: 100%; } }
@media (min-width: 900px) {
  .hero-controls { display: flex; }
  .hero-scroll { display: flex; }
  .hero-content { padding-bottom: 46px; }
  .hero-stats { padding-block: 30px 38px; gap: 40px; }
}
.hero-mobile-nav { display: flex; gap: 8px; }
@media (min-width: 900px) { .hero-mobile-nav { display: none; } }
.hero-mobile-nav .hero-arrow { width: 42px; height: 42px; }

/* ---------- Page hero (podstranice) ---------- */
.page-hero { padding: var(--frame); padding-bottom: 0; }
.page-hero-frame {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius);
  min-height: clamp(420px, 62svh, 640px); background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.page-hero-frame > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  object-position: var(--pos, center); transform: scale(1.08); animation: phZoom 2.4s var(--ease) forwards;
}
@keyframes phZoom { to { transform: scale(1); } }
.page-hero-frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5,12,10,.7) 0%, rgba(5,12,10,.3) 40%, rgba(5,12,10,.92) 100%),
              linear-gradient(90deg, rgba(5,12,10,.65), transparent 70%);
}
.page-hero-frame.is-blueprint::before { background: radial-gradient(120% 90% at 85% 10%, rgba(0,119,221,.28), transparent 60%), radial-gradient(90% 70% at 0% 100%, rgba(3,117,32,.35), transparent 60%); }
.page-hero-frame.is-blueprint {
  background-color: var(--ink);
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero-content { padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(32px, 5vw, 56px); display: grid; gap: 18px; }
.page-hero .h1 { max-width: 18ch; text-wrap: balance; }
.page-hero .lead { color: rgba(255,255,255,.78); max-width: 60ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { opacity: .5; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-300); box-shadow: 0 0 0 4px rgba(70,195,107,.18); }
.chip-light { border-color: var(--line-2); color: var(--ink); background: #fff; backdrop-filter: none; }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-clip] { clip-path: inset(12% 6% 12% 6% round var(--radius)); transition: clip-path 1.4s var(--ease); }
.js [data-clip] img { transform: scale(1.2); transition: transform 1.8s var(--ease); }
.js [data-clip].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js [data-clip].is-in img { transform: scale(1); }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 28ms); }
.split-words.is-in .w > span { transform: none; }
.scrub-text .sw { color: rgba(10,20,17,.16); transition: color .3s; }
.scrub-text .sw.on { color: var(--ink); }
.bg-ink .scrub-text .sw { color: rgba(255,255,255,.18); }
.bg-ink .scrub-text .sw.on { color: #fff; }
.scrub-text .sw.hl.on { color: var(--green); }
.bg-ink .scrub-text .sw.hl.on { color: var(--green-300); }

/* ---------- Intro (početna) ---------- */
.intro-grid { display: grid; gap: 48px; }
.intro-statement { font-size: clamp(1.55rem, 3.6vw, 2.9rem); line-height: 1.18; letter-spacing: -0.03em; font-weight: 700; }
.intro-side { display: grid; gap: 28px; }
.media-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--paper-2); }
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.media-badge {
  position: absolute; left: 14px; bottom: 14px; right: auto; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 12px 16px 12px 12px; border-radius: 16px; box-shadow: var(--shadow-sm);
}
.media-badge .mb-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.media-badge .mb-ico svg { width: 22px; height: 22px; }
.media-badge strong { display: block; font-size: 15px; letter-spacing: -0.01em; line-height: 1.2; }
.media-badge span { font-size: 12.5px; color: var(--muted); }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.fact { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 16px; }
.fact b { display: block; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.04em; font-weight: 800; line-height: 1.05; }
.fact > span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
@media (min-width: 1000px) {
  .intro-grid { grid-template-columns: 1.25fr 1fr; gap: 80px; align-items: start; }
  .intro-side { position: sticky; top: 120px; }
}

/* ---------- Kategorije (tamna sekcija) ---------- */
.blueprint {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 40%, transparent 100%);
}
.glow { position: absolute; width: 50vw; height: 50vw; border-radius: 50%; filter: blur(90px); opacity: .22; pointer-events: none; z-index: 0; }
.glow.g1 { background: var(--green); left: -15vw; top: 10%; }
.glow.g2 { background: var(--blue); right: -18vw; bottom: -10%; }
.bg-ink > .container { position: relative; z-index: 1; }

.cat-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cat-grid { grid-template-columns: repeat(6, 1fr); } .cat-card:nth-child(-n+2) { grid-column: span 3; } .cat-card:nth-child(n+3) { grid-column: span 2; } }
.cat-card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; gap: 18px; min-height: 340px; padding: 24px;
  border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); overflow: hidden; isolation: isolate;
  transition: border-color .4s, transform .6s var(--ease);
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(70,195,107,.16), transparent 60%);
}
.cat-card:hover { border-color: rgba(70,195,107,.4); transform: translateY(-4px); }
.cat-card:hover::before { opacity: 1; }
.cat-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cat-idx { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: .1em; }
.cat-count { font-family: var(--mono); font-size: 11.5px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-dark-2); color: rgba(255,255,255,.8); white-space: nowrap; }
.cat-art { flex: 1; display: grid; place-items: center; min-height: 140px; color: rgba(255,255,255,.88); }
.cat-art svg { width: 100%; max-width: 280px; height: auto; max-height: 190px; }
.cat-card h3 { color: #fff; }
.cat-card p { color: rgba(255,255,255,.62); font-size: 14.5px; line-height: 1.55; }
.cat-list { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-list li { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.06); }
.cat-arrow {
  position: absolute; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--ink); transform: scale(.85) rotate(-45deg); opacity: .9;
  transition: transform .6s var(--ease), background .3s;
}
.cat-arrow svg { width: 16px; height: 16px; }
.cat-card:hover .cat-arrow { transform: scale(1) rotate(0); background: var(--green-300); }
.cat-card .cat-body { display: grid; gap: 10px; padding-right: 56px; }

/* Tehnički crteži */
.tech-art .s { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tech-art .s2 { fill: none; stroke: currentColor; stroke-width: 1; opacity: .55; }
.tech-art .dim { fill: none; stroke: var(--green-300); stroke-width: 1; }
.tech-art .dimb { fill: none; stroke: var(--blue-300); stroke-width: 1; }
.tech-art .fillc { fill: currentColor; opacity: .06; }
.tech-art text { font-family: var(--mono); font-size: 9px; fill: currentColor; opacity: .75; letter-spacing: .04em; }
.tech-art .tg { fill: var(--green-300); opacity: 1; }
.tech-art .tb { fill: var(--blue-300); opacity: 1; }
.on-light .tech-art .dim { stroke: var(--green); }
.on-light .tech-art .dimb { stroke: var(--blue); }
.on-light .tech-art .tg { fill: var(--green); }
.on-light .tech-art .tb { fill: var(--blue); }
.js .draw .s, .js .draw .s2, .js .draw .dim, .js .draw .dimb {
  stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 2.4s var(--ease-io);
}
.js .draw.is-in .s, .js .draw.is-in .s2, .js .draw.is-in .dim, .js .draw.is-in .dimb { stroke-dashoffset: 0; }
.js .draw .dim, .js .draw .dimb { transition-delay: .6s; }
.js .draw text { opacity: 0; transition: opacity .8s 1.4s; }
.js .draw.is-in text { opacity: .75; }

/* ---------- Spec explorer ---------- */
.explorer { display: grid; gap: 24px; }
.explorer-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--paper); overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button {
  flex: 1 0 auto; height: 42px; padding: 0 16px; border-radius: 10px; font-size: 13.5px; font-weight: 700; color: var(--muted);
  transition: background .3s, color .3s, box-shadow .3s; white-space: nowrap;
}
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 14px -6px rgba(0,0,0,.25); }
.len-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.len-chips button {
  height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 13px; font-weight: 600;
  transition: all .3s var(--ease);
}
.len-chips button:hover { border-color: var(--ink); }
.len-chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.explorer-stage { display: grid; gap: 18px; margin-top: 18px; }
.pole-viz {
  position: relative; border-radius: 18px; background: var(--ink); color: #fff; min-height: 340px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.pole-viz > svg { width: 100%; height: 100%; max-height: 420px; }
.pole-readout { padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 14px; border-left: 1px solid var(--line-dark); }
.pole-readout .ro-type { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.pole-readout .ro-row { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 12.5px; border-bottom: 1px dashed var(--line-dark-2); padding-bottom: 8px; }
.pole-readout .ro-row span { color: rgba(255,255,255,.55); }
.pole-readout .ro-row b { color: #fff; font-weight: 600; }
.pole-readout .btn { margin-top: 6px; align-self: flex-start; }
#poleShaft, #poleArrow, #poleLabelL, #poleTop { transition: all .8s var(--ease); }
.spec-table-wrap { border-radius: 16px; border: 1px solid var(--line); overflow: auto; max-height: 380px; background: #fff; -webkit-overflow-scrolling: touch; }
.spec-table { font-size: 13.5px; min-width: 560px; }
.spec-table th, .spec-table td { padding: 12px 14px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.spec-table thead th {
  position: sticky; top: 0; z-index: 1; background: var(--paper); font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em;
  color: var(--muted); font-weight: 600; text-transform: none;
}
.spec-table tbody tr { transition: background .25s; cursor: default; }
.spec-table tbody tr:hover { background: #f6f8f7; }
.spec-table tbody tr.is-active { background: rgba(3,117,32,.07); }
.spec-table tbody tr.is-active td:first-child { box-shadow: inset 3px 0 0 var(--green); }
.spec-table td.t { font-weight: 800; color: var(--ink); font-family: var(--mono); }
.spec-table td.n { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.spec-table.clickable tbody tr { cursor: pointer; }
.spec-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; line-height: 1.55; }
@media (min-width: 1000px) {
  .explorer { grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
  .explorer-panel { padding: 24px; }
}

/* ---------- Trafostanice ---------- */
.feature-split { display: grid; gap: 40px; align-items: center; }
.feature-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 12; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media .float-card {
  position: absolute; right: 14px; top: 14px; background: rgba(7,16,13,.78); color: #fff; border-radius: 16px; padding: 14px 16px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.1);
  display: grid; gap: 2px; min-width: 150px;
}
.float-card .mono { font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: .1em; text-transform: uppercase; }
.float-card b { font-size: 26px; letter-spacing: -0.04em; font-weight: 800; }
.type-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.type-chip {
  font-family: var(--mono); font-size: 12.5px; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .3s, background .3s, color .3s;
}
.type-chip:hover { transform: translateY(-3px); border-color: var(--green); color: var(--green); }
.type-chip b { color: var(--blue); }
.check-list { display: grid; gap: 12px; margin-top: 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; background: var(--grad-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23037520' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"), var(--grad-soft);
  background-size: 14px, 100%; background-repeat: no-repeat; background-position: center;
}
.bg-ink .check-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346c36b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"), linear-gradient(rgba(255,255,255,.06), rgba(255,255,255,.06)); }
@media (min-width: 1000px) {
  .feature-split { grid-template-columns: 1.1fr 1fr; gap: 80px; }
  .feature-split.rev > :first-child { order: 2; }
}

/* ---------- Isporuka / vozni park ---------- */
.fleet-banner { position: relative; border-radius: var(--radius); overflow: hidden; min-height: clamp(420px, 70vh, 680px); color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.fleet-banner > img { position: absolute; left: 0; width: 100%; height: 125%; top: -12%; object-fit: cover; z-index: -2; will-change: transform; }
.fleet-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,12,10,.1) 20%, rgba(5,12,10,.88)); }
.fleet-banner .inner { padding: clamp(22px, 4vw, 48px); display: grid; gap: 16px; width: 100%; }
.fleet-banner .h2 { max-width: 18ch; }
.process { display: grid; gap: 14px; margin-top: clamp(28px, 4vw, 48px); counter-reset: step; }
.step {
  position: relative; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s, border-color .3s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step-num { font-family: var(--mono); font-size: 12px; color: var(--green); font-weight: 700; letter-spacing: .1em; }
.step-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; color: var(--ink); transition: background .3s, color .3s; }
.step:hover .step-ico { background: var(--green); color: #fff; }
.step-ico svg { width: 22px; height: 22px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
@media (min-width: 700px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Reference ---------- */
.marquee { position: relative; overflow: hidden; padding-block: 8px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee var(--speed, 48s) linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.ref-pill {
  display: inline-flex; align-items: center; gap: 12px; height: 70px; padding: 0 26px; border-radius: 18px;
  border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); white-space: nowrap; color: #fff;
  font-weight: 800; font-size: clamp(16px, 2vw, 21px); letter-spacing: -0.02em; transition: background .3s, border-color .3s;
}
.ref-pill:hover { background: rgba(255,255,255,.07); border-color: var(--line-dark-2); }
.ref-pill small { font-family: var(--mono); font-weight: 500; font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .08em; }
.ref-pill .flag { width: 22px; height: 15px; border-radius: 3px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.ref-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: clamp(32px, 5vw, 56px); }
.ref-stat { padding: 20px 0; border-top: 1px solid var(--line-dark-2); }
.ref-stat b { display: block; font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -0.045em; line-height: 1; font-weight: 800; }
.ref-stat > span { display: block; margin-top: 8px; font-size: 13.5px; color: rgba(255,255,255,.6); }

.ref-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ref-grid { grid-template-columns: repeat(3, 1fr); } }
.ref-card {
  position: relative; display: grid; gap: 14px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s, border-color .3s;
}
.ref-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.ref-card .rc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ref-card .rc-mono { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 17px; letter-spacing: -0.03em; color: #fff; background: var(--grad); }
.ref-card h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
.ref-card p { font-size: 14px; color: var(--muted); }
.ref-card .rc-link { font-size: 13px; font-weight: 700; color: var(--blue); display: inline-flex; gap: 6px; align-items: center; }
.ref-card .rc-link svg { width: 12px; height: 12px; }
.country-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.country-tag .flag { width: 20px; height: 14px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.ref-group-title { display: flex; align-items: center; gap: 14px; margin: 44px 0 18px; }
.ref-group-title:first-child { margin-top: 0; }
.ref-group-title .flag { width: 34px; height: 23px; border-radius: 5px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }

/* ---------- Sertifikati ---------- */
.cert-grid { display: grid; gap: 14px; }
@media (min-width: 800px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
.cert-card {
  position: relative; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden;
  display: grid; gap: 14px; transition: transform .6s var(--ease), box-shadow .5s;
}
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cert-seal {
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(from 0deg, var(--green), var(--blue), var(--green)); padding: 3px;
}
.cert-seal > span { width: 100%; height: 100%; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--ink); letter-spacing: .04em; }
.cert-card:hover .cert-seal { animation: spin 6s linear infinite; }
.cert-card:hover .cert-seal > span { animation: spin 6s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.cert-card .mono { font-size: 11.5px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.cert-card p { color: var(--muted); font-size: 14.5px; }
.cert-card .cert-bg { position: absolute; right: -30px; bottom: -40px; font-size: 160px; font-weight: 800; letter-spacing: -0.06em; color: var(--paper); z-index: 0; line-height: 1; pointer-events: none; }
.cert-card > *:not(.cert-bg) { position: relative; z-index: 1; }
.bg-ink .cert-card { background: var(--ink-2); border-color: var(--line-dark); }
.bg-ink .cert-card p, .bg-ink .cert-card .mono { color: rgba(255,255,255,.6); }
.bg-ink .cert-card .cert-bg { color: rgba(255,255,255,.03); }
.bg-ink .cert-seal > span { background: var(--ink-2); color: #fff; }

/* ---------- CTA ---------- */
.cta-box {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius); background: var(--ink); color: #fff;
  padding: clamp(32px, 6vw, 80px); display: grid; gap: 28px;
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 80% at 100% 0%, rgba(0,119,221,.38), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(3,117,32,.45), transparent 60%);
}
.cta-box::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .6;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-box .h1 { max-width: 15ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-meta { display: grid; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,.75); }
.cta-meta a { display: inline-flex; gap: 10px; align-items: center; }
.cta-meta svg { width: 18px; height: 18px; color: var(--green-300); }
@media (min-width: 1000px) { .cta-box { grid-template-columns: 1.4fr 1fr; align-items: end; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin: var(--frame); margin-top: 0; border-radius: var(--radius); background: var(--ink); color: rgba(233,239,236,.75); overflow: hidden; isolation: isolate; }
.footer-top { display: grid; gap: 40px; padding-top: clamp(48px, 7vw, 90px); padding-bottom: 40px; }
.footer-brand { display: grid; gap: 18px; max-width: 420px; }
.footer-brand .brand-chip img { height: 30px; }
.footer-brand p { font-size: 14.5px; line-height: 1.65; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; }
.footer-col h4, .footer-col h2 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--green-300); font-weight: 600; margin-bottom: 16px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: 14.5px; transition: color .25s; position: relative; }
.footer-col a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; font-size: 14.5px; }
.footer-contact a, .footer-contact div { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--green-300); }
.footer-word {
  font-size: clamp(3rem, 12.4vw, 12.6rem); font-weight: 800; letter-spacing: -0.06em; line-height: .82; text-align: center;
  user-select: none; padding: 0 var(--gutter); white-space: nowrap; overflow: hidden; margin-top: 10px;
  color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(100deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.05) 38%, rgba(70,195,107,.42) 48%, rgba(114,185,247,.38) 54%, rgba(255,255,255,.05) 64%, rgba(255,255,255,.05) 100%);
  background-size: 260% 100%; animation: wordShine 10s ease-in-out infinite;
}
@keyframes wordShine { 0% { background-position: 120% 0; } 100% { background-position: -20% 0; } }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-block: 22px 26px; border-top: 1px solid var(--line-dark); font-size: 12.5px; color: rgba(233,239,236,.5); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (min-width: 900px) {
  .footer-top { grid-template-columns: 1fr 2fr; gap: 60px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Floating: AI asistent + nazad na vrh (u istoj liniji) ---------- */
.fab-row { position: fixed; left: 0; right: 0; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 95; pointer-events: none; }
.fab-row > * { pointer-events: auto; }
.ai-fab {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 95;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 8px 0 8px; border-radius: 999px;
  background: var(--ink); color: #fff; box-shadow: 0 18px 40px -14px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.1);
  transition: transform .5s var(--ease), padding .5s var(--ease), background .3s;
}
.ai-fab:hover { transform: translateY(-3px); }
.ai-fab .ai-orb {
  position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(from var(--a, 0deg), var(--green), var(--blue), var(--green-300), var(--green));
  animation: orbSpin 6s linear infinite;
}
.ai-fab .ai-orb::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--ink); }
.ai-fab .ai-orb svg { position: relative; z-index: 1; width: 20px; height: 20px; color: #fff; }
.ai-fab .ai-label { font-size: 14px; font-weight: 700; padding-right: 12px; display: none; letter-spacing: -0.01em; }
.ai-fab .ai-label small { display: block; font-size: 11px; font-weight: 500; color: rgba(255,255,255,.6); font-family: var(--mono); letter-spacing: .04em; }
.ai-fab .ai-ping { position: absolute; left: 8px; top: 8px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--green-300); animation: ping 2.4s var(--ease) infinite; pointer-events: none; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes orbSpin { to { --a: 360deg; } }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
@media (min-width: 700px) { .ai-fab .ai-label { display: block; } .ai-fab { left: 22px; bottom: calc(22px + env(safe-area-inset-bottom)); } }
.ai-open .ai-fab { transform: scale(.9); opacity: 0; pointer-events: none; }

.to-top {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 95;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); box-shadow: 0 18px 40px -14px rgba(0,0,0,.45); border: 1px solid var(--line);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .4s, transform .6s var(--ease), background .3s, color .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--green); color: #fff; }
.to-top svg.arrow { width: 18px; height: 18px; position: relative; z-index: 1; transition: transform .4s var(--ease); }
.to-top:hover svg.arrow { transform: translateY(-3px); }
.to-top .ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke-width: 2.5; }
.to-top .ring .bg { stroke: var(--paper-2); }
.to-top .ring .fg { stroke: url(#ttGrad); stroke-linecap: round; stroke-dasharray: 163.4; stroke-dashoffset: 163.4; }
@media (min-width: 700px) { .to-top { right: 22px; bottom: calc(22px + env(safe-area-inset-bottom)); } }

/* AI panel */
.ai-panel {
  position: fixed; z-index: 200; left: 0; right: 0; bottom: 0; height: min(86svh, 720px);
  display: flex; flex-direction: column; background: #fff; border-radius: 24px 24px 0 0; overflow: hidden;
  box-shadow: 0 -30px 80px -20px rgba(0,0,0,.45); transform: translateY(105%); visibility: hidden;
  transition: transform .7s var(--ease), visibility 0s linear .7s;
}
.ai-open .ai-panel { transform: none; visibility: visible; transition-delay: 0s; }
.ai-backdrop { position: fixed; inset: 0; z-index: 199; background: rgba(5,12,10,.45); opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s linear .5s; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.ai-open .ai-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
@media (min-width: 700px) {
  .ai-panel { left: 22px; right: auto; bottom: calc(22px + env(safe-area-inset-bottom)); width: 410px; height: min(680px, calc(100svh - 120px)); border-radius: 24px; transform: translateY(24px) scale(.96); opacity: 0; transform-origin: bottom left; transition: transform .6s var(--ease), opacity .4s, visibility 0s linear .6s; }
  .ai-open .ai-panel { opacity: 1; }
  .ai-backdrop { background: rgba(5,12,10,.18); backdrop-filter: none; }
}
.ai-head {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate;
}
.ai-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 140% at 100% 0%, rgba(0,119,221,.45), transparent 60%), radial-gradient(70% 140% at 0% 100%, rgba(3,117,32,.5), transparent 60%); }
.ai-avatar { width: 44px; height: 44px; border-radius: 14px; background: #fff; display: grid; place-items: center; flex: none; }
.ai-avatar img { width: 30px; }
.ai-title { flex: 1; min-width: 0; }
.ai-title strong { display: block; font-size: 15.5px; letter-spacing: -0.01em; }
.ai-title span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.7); }
.ai-title span i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-300); box-shadow: 0 0 0 3px rgba(70,195,107,.25); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .4; } }
.ai-head button { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); transition: background .3s; }
.ai-head button:hover { background: rgba(255,255,255,.2); }
.ai-head button svg { width: 18px; height: 18px; }
.ai-body { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 12px; background: var(--paper); scroll-behavior: smooth; overscroll-behavior: contain; }
.ai-msg { max-width: 88%; font-size: 14.5px; line-height: 1.55; animation: msgIn .5s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.ai-msg.bot { align-self: flex-start; }
.ai-msg.user { align-self: flex-end; }
.ai-bubble { padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 14px -10px rgba(0,0,0,.2); }
.ai-msg.bot .ai-bubble { border-top-left-radius: 6px; }
.ai-msg.user .ai-bubble { background: var(--ink); color: #fff; border-color: var(--ink); border-top-right-radius: 6px; }
.ai-bubble p + p, .ai-bubble p + ul, .ai-bubble ul + p { margin-top: 8px; }
.ai-bubble ul { display: grid; gap: 4px; }
.ai-bubble ul li { padding-left: 14px; position: relative; }
.ai-bubble ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.ai-bubble a { color: var(--blue); font-weight: 700; }
.ai-bubble b { font-weight: 800; }
.ai-spec { margin-top: 10px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; }
.ai-spec div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; }
.ai-spec div:nth-child(odd) { background: var(--paper); }
.ai-spec span { color: var(--muted); }
.ai-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ai-actions a, .ai-actions button {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: var(--ink); color: #fff; transition: background .3s;
}
.ai-actions a:hover, .ai-actions button:hover { background: var(--green); }
.ai-actions .alt { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.ai-actions .alt:hover { background: var(--paper); }
.ai-time { display: block; font-size: 10.5px; color: var(--muted-2); margin-top: 4px; font-family: var(--mono); }
.ai-msg.user .ai-time { text-align: right; }
.ai-typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); animation: typing 1.2s infinite ease-in-out; }
.ai-typing i:nth-child(2) { animation-delay: .15s; }
.ai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.ai-quick { display: flex; gap: 6px; padding: 10px 12px; overflow-x: auto; background: var(--paper); border-top: 1px solid var(--line); scrollbar-width: none; }
.ai-quick::-webkit-scrollbar { display: none; }
.ai-quick button { flex: none; height: 34px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 700; transition: all .3s; white-space: nowrap; }
.ai-quick button:hover { border-color: var(--green); color: var(--green); }
.ai-form { display: flex; gap: 8px; padding: 12px; background: #fff; border-top: 1px solid var(--line); }
.ai-form input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--paper); outline: none; font-size: 16px; transition: border-color .3s, background .3s; }
.ai-form input:focus { border-color: var(--green); background: #fff; }
.ai-form button { width: 46px; height: 46px; border-radius: 14px; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; transition: background .3s, transform .3s; }
.ai-form button:hover { background: var(--green-600); }
.ai-form button svg { width: 18px; height: 18px; }
.ai-foot { font-size: 10.5px; color: var(--muted-2); text-align: center; padding: 0 12px 10px; background: #fff; }

/* ---------- Katalog (proizvodni program) ---------- */
.catalog-tools { display: grid; gap: 14px; margin-bottom: 28px; }
.filter-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chips button {
  flex: none; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 700; background: #fff;
  display: inline-flex; align-items: center; gap: 8px; transition: all .35s var(--ease);
}
.filter-chips button span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.filter-chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-chips button[aria-pressed="true"] span { color: var(--green-300); }
.search-box { position: relative; }
.search-box input { width: 100%; height: 50px; border-radius: 14px; border: 1px solid var(--line-2); padding: 0 16px 0 46px; background: #fff; outline: none; font-size: 16px; transition: border-color .3s, box-shadow .3s; }
.search-box input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(3,117,32,.1); }
.search-box svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
@media (min-width: 900px) { .catalog-tools { grid-template-columns: 1fr 320px; align-items: center; } }
.product-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  overflow: hidden; transition: transform .6s var(--ease), box-shadow .5s, border-color .3s, opacity .4s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-card.is-hidden { display: none; }
.pc-art {
  position: relative; aspect-ratio: 16 / 10; background: var(--ink); color: rgba(255,255,255,.9); display: grid; place-items: center; overflow: hidden; isolation: isolate;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 20px 20px;
}
.pc-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(70,195,107,.25), transparent 60%); opacity: 0; transition: opacity .4s; }
.product-card:hover .pc-art::after { opacity: 1; }
.pc-art svg { width: 76%; height: 80%; transition: transform .8s var(--ease); }
.product-card:hover .pc-art svg { transform: scale(1.05); }
.pc-art .pc-tag { position: absolute; left: 14px; top: 14px; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.7); letter-spacing: .08em; text-transform: uppercase; }
.pc-art .pc-count { position: absolute; right: 14px; top: 12px; font-family: var(--mono); font-size: 11px; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; }
.pc-body { padding: 20px 20px 22px; display: grid; gap: 10px; flex: 1; align-content: start; }
.pc-body h3 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.02em; }
.pc-body p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.pc-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 700; }
.pc-foot .arr { width: 34px; height: 34px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; transition: background .3s, color .3s, transform .5s var(--ease); }
.pc-foot .arr svg { width: 14px; height: 14px; }
.product-card:hover .pc-foot .arr { background: var(--green); color: #fff; transform: rotate(-45deg); }
.empty-state { display: none; text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state.is-visible { display: block; }

/* ---------- Proizvod (detalj) ---------- */
.product-layout { display: grid; gap: 32px; }
.product-aside { display: grid; gap: 14px; align-content: start; }
.aside-card { border-radius: var(--radius); background: var(--ink); color: #fff; padding: 22px; display: grid; gap: 16px; position: relative; overflow: hidden; isolation: isolate; }
.aside-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 100% 0%, rgba(0,119,221,.35), transparent 60%), radial-gradient(80% 60% at 0% 100%, rgba(3,117,32,.4), transparent 60%); }
.aside-card .kv { display: grid; gap: 0; }
.aside-card .kv div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line-dark-2); font-size: 14px; }
.aside-card .kv span { color: rgba(255,255,255,.6); }
.aside-card .kv b { text-align: right; }
.aside-card .btn { justify-content: space-between; }
.aside-help { border-radius: var(--radius); border: 1px solid var(--line); padding: 20px; display: grid; gap: 10px; background: #fff; }
.aside-help p { font-size: 14px; color: var(--muted); }
.aside-help a.tel { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.product-main { display: grid; gap: 40px; min-width: 0; }
.prose { display: grid; gap: 16px; font-size: 16.5px; line-height: 1.75; color: #24302c; max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.15; color: var(--ink); margin-top: 8px; }
.prose ul { display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--green); }
.drawing-card { border-radius: var(--radius); background: var(--ink); color: rgba(255,255,255,.9); padding: clamp(20px, 4vw, 40px); position: relative; overflow: hidden;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 24px 24px; }
.drawing-card svg { width: 100%; max-height: 360px; margin-inline: auto; }
.drawing-card .dc-label { position: absolute; left: 18px; top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.55); text-transform: uppercase; }
.drawing-card .dc-label b { color: var(--green-300); }
.table-block { display: grid; gap: 14px; }
.table-block h3 { display: flex; align-items: center; gap: 12px; }
.table-block h3 .pill { font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.legend b { font-family: var(--mono); color: var(--ink); }
.ondemand { border-radius: var(--radius); border: 1px dashed var(--line-2); padding: 24px; display: grid; gap: 12px; background: var(--paper); }
.related { display: grid; gap: 12px; }
@media (min-width: 700px) { .related { grid-template-columns: repeat(3, 1fr); } }
.rel-card { display: grid; gap: 6px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.rel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.rel-card span { font-family: var(--mono); font-size: 11px; color: var(--green); letter-spacing: .08em; text-transform: uppercase; }
.rel-card b { font-size: 15px; line-height: 1.35; letter-spacing: -0.01em; }
.pn-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pn-nav a { display: grid; gap: 4px; padding: 18px; border-radius: 18px; background: var(--paper); transition: background .3s, color .3s; }
.pn-nav a:hover { background: var(--ink); color: #fff; }
.pn-nav a span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.pn-nav a b { font-size: 14px; line-height: 1.35; }
.pn-nav a.next { text-align: right; }
@media (min-width: 1000px) {
  .product-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; }
  .product-aside { order: 2; position: sticky; top: 110px; }
}

/* ---------- Forme ---------- */
.form-card { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { position: relative; display: grid; }
.field input, .field select, .field textarea {
  width: 100%; height: 58px; padding: 22px 16px 8px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--paper);
  outline: none; font-size: 16px; transition: border-color .3s, background .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { height: 140px; resize: vertical; padding-top: 28px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356645f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.field label { position: absolute; left: 17px; top: 19px; font-size: 15px; color: var(--muted); pointer-events: none; transition: all .3s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(3,117,32,.1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; font-size: 11.5px; font-weight: 700; color: var(--green); letter-spacing: .02em; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #d64545; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); flex: none; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 8px; }
.form-status { font-size: 14px; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #c03030; }
.hp { position: absolute; left: -5000px; opacity: 0; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-card { position: relative; display: grid; gap: 10px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; align-content: start; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.contact-card .ci { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 6px; }
.contact-card .ci svg { width: 22px; height: 22px; }
.contact-card .mono { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card b, .contact-card a.big { font-size: 17px; letter-spacing: -0.02em; font-weight: 800; line-height: 1.3; }
.contact-card a.big:hover { color: var(--green); }
.contact-card p { font-size: 14px; color: var(--muted); }
.contact-layout { display: grid; gap: 24px; margin-top: 24px; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 1.2fr 1fr; } }
.map-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--paper-2); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); transition: filter .6s; }
.map-card:hover iframe { filter: none; }
.map-pin { position: absolute; left: 14px; bottom: 14px; right: 14px; background: rgba(7,16,13,.86); color: #fff; padding: 16px; border-radius: 16px; display: flex; gap: 12px; align-items: center; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.map-pin .btn { margin-left: auto; height: 42px; }
.company-data { display: grid; gap: 0; margin-top: 18px; }
.company-data div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.company-data span { color: var(--muted); }
.company-data b { font-family: var(--mono); font-weight: 600; text-align: right; }

/* ---------- O firmi ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.timeline .tl-progress { position: absolute; left: 11px; top: 8px; width: 1px; height: 0; background: var(--grad); }
.tl-item { position: relative; display: grid; gap: 6px; padding: 0 0 36px 46px; }
.tl-item::before { content: ""; position: absolute; left: 4px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); transition: border-color .4s, background .4s, box-shadow .4s; }
.tl-item.is-in::before { border-color: var(--green); background: var(--green); box-shadow: 0 0 0 6px rgba(3,117,32,.12); }
.tl-item .mono { font-size: 12px; color: var(--green); font-weight: 700; letter-spacing: .1em; }
.tl-item p { color: var(--muted); max-width: 60ch; }
.values-grid { display: grid; gap: 14px; }
@media (min-width: 800px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card { padding: 26px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); display: grid; gap: 12px; transition: border-color .3s, transform .6s var(--ease); }
.value-card:hover { border-color: rgba(70,195,107,.4); transform: translateY(-4px); }
.value-card .vi { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(70,195,107,.12); color: var(--green-300); }
.value-card .vi svg { width: 24px; height: 24px; }
.value-card h3 { color: #fff; }
.value-card p { color: rgba(255,255,255,.62); font-size: 15px; }
.expert-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- Galerija ---------- */
.gallery { columns: 1; column-gap: 14px; }
@media (min-width: 640px) { .gallery { columns: 2; } }
@media (min-width: 1100px) { .gallery { columns: 3; } }
.g-item { position: relative; display: block; width: 100%; margin-bottom: 14px; border-radius: 20px; overflow: hidden; break-inside: avoid; cursor: zoom-in; background: var(--paper-2); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g-item.tall { aspect-ratio: 3 / 4; }
.g-item.wide { aspect-ratio: 16 / 10; }
.g-item.sq { aspect-ratio: 1; }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(7,16,13,.72); color: #fff; font-size: 13.5px; font-weight: 700; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateY(14px); opacity: 0; transition: all .5s var(--ease); }
.g-item:hover figcaption, .g-item:focus-visible figcaption { transform: none; opacity: 1; }
.g-item figcaption svg { width: 16px; height: 16px; }
@media (hover: none) { .g-item figcaption { opacity: 1; transform: none; } }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4,9,7,.94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s linear .4s; padding: 60px 12px; }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; border-radius: 14px; object-fit: contain; transform: scale(.96); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; transition: background .3s; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: rgba(255,255,255,.75); font-size: 14px; font-family: var(--mono); }

/* ---------- Cenovnik ---------- */
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 20px; background: var(--grad-soft); border: 1px solid rgba(3,117,32,.18); }
.notice .ni { width: 46px; height: 46px; border-radius: 14px; background: #fff; display: grid; place-items: center; flex: none; color: var(--green); }
.notice .ni svg { width: 22px; height: 22px; }
.notice p { font-size: 15.5px; line-height: 1.6; }
.quote-layout { display: grid; gap: 24px; }
@media (min-width: 1000px) { .quote-layout { grid-template-columns: 380px 1fr; gap: 40px; align-items: start; } .quote-layout > aside { position: sticky; top: 110px; } }
.quote-steps { display: grid; gap: 0; }
.qs { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.qs b { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; }
.qs h4, .qs h3 { font-size: 15.5px; margin-bottom: 2px; }
.qs p { font-size: 14px; color: var(--muted); }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 20px 60px; }
.nf .code { font-size: clamp(6rem, 26vw, 16rem); font-weight: 800; letter-spacing: -0.07em; line-height: .85; }

/* ---------- Custom cursor (samo desktop) ---------- */
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 10000; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor-dot { width: 6px; height: 6px; background: var(--green); margin: -3px 0 0 -3px; }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(3,117,32,.55); transition: opacity .3s, width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s, border-color .3s; }
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
.cursor-ring.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(3,117,32,.1); border-color: transparent; }
.cursor-ring.is-dark { border-color: rgba(255,255,255,.6); }

/* ---------- Pomoćno ---------- */
.mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 48px; }
.flex-between { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.grid-2 { display: grid; gap: 24px; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 56px; } }
.divider { height: 1px; background: var(--line); margin-block: 48px; }
.kbd { font-family: var(--mono); font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); }
.flag svg { width: 100%; height: 100%; display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-clip], .split-words .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee-track { animation: none !important; }
}
@media print {
  .site-header, .ai-fab, .to-top, .preloader, .ai-panel, .scroll-progress { display: none !important; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq-item { border-radius: 18px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, box-shadow .4s; }
.faq-item[open] { border-color: transparent; box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { width: 34px; height: 34px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; flex: none; transition: transform .5s var(--ease), background .3s, color .3s; }
.faq-item summary i svg { width: 16px; height: 16px; }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq-a { overflow: hidden; transition: height .4s var(--ease); }
.faq-a p { padding: 0 22px 22px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.faq-a a { color: var(--green); font-weight: 700; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 260; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; border-radius: 16px; background: var(--ink); color: #fff;
  box-shadow: 0 20px 50px -18px rgba(0,0,0,.6); font-size: 14px; font-weight: 600; max-width: calc(100vw - 32px);
  transition: opacity .35s, transform .6s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { flex: none; padding: 8px 12px; border-radius: 10px; background: var(--green); font-weight: 700; font-size: 13px; }
.toast a:hover { background: var(--green-400); }

/* ---------- Upit: dugmad u tabelama, badge, lista ---------- */
.row-add {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 9px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 12.5px; font-weight: 700; color: var(--ink); background: #fff; transition: all .3s var(--ease);
}
.row-add svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.row-add:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.row-add:hover svg { transform: rotate(90deg); }
.row-add.is-added { background: var(--green); border-color: var(--green); color: #fff; }
.spec-table td:last-child { text-align: right; }
.quote-badge {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 4px; border-radius: 999px;
  background: var(--green-300); color: var(--ink); font-size: 12px; font-weight: 800; font-family: var(--mono);
}
.quote-badge[hidden] { display: none; }
.quote-list { display: grid; gap: 8px; }
.quote-empty { padding: 18px; border-radius: 14px; background: var(--paper); color: var(--muted); font-size: 14px; border: 1px dashed var(--line-2); }
.q-row { display: grid; grid-template-columns: 1fr 86px 40px; gap: 10px; align-items: center; padding: 10px 10px 10px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); animation: msgIn .4s var(--ease) both; }
.q-info b { display: block; font-family: var(--mono); font-size: 14px; }
.q-info span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.q-qty input { width: 100%; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); text-align: center; font-family: var(--mono); font-weight: 700; background: #fff; }
.q-del { width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); font-size: 20px; line-height: 1; transition: all .3s; }
.q-del:hover { background: #c03030; color: #fff; border-color: #c03030; }
.q-clear { justify-self: start; font-size: 13px; font-weight: 700; color: var(--muted); padding: 6px 2px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Oznaka države ---------- */
.cc { display: inline-grid; place-items: center; min-width: 30px; height: 20px; padding: 0 6px; border-radius: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; background: rgba(70,195,107,.16); color: var(--green-300); }
.ref-card .cc, .country-tag .cc { background: rgba(3,117,32,.1); color: var(--green); }
.ref-stats.light { margin-top: 0; }
.ref-stats.light .ref-stat { border-top-color: var(--line-2); }
.ref-stats.light .ref-stat > span { color: var(--muted); }
.ref-stats.light .ref-stat b { font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* ---------- Page hero dekoracija ---------- */
.ph-deco { position: absolute; right: -4%; top: 14%; width: min(720px, 70%); color: rgba(255,255,255,.32); z-index: -1; pointer-events: none; opacity: .9; }
.ph-deco svg { width: 100%; height: auto; }
.ph-deco .tech-art .dim, .ph-deco .tech-art .dimb { opacity: .7; }
@media (max-width: 699px) { .ph-deco { right: -20%; top: 18%; width: 110%; opacity: .45; } }

/* ---------- Uporedna tabela ---------- */
.compare .spec-table { min-width: 640px; }
.compare .spec-table th[scope="row"] { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; background: var(--paper); }
.compare .spec-table thead a { color: var(--ink); font-family: var(--font); font-size: 14px; text-transform: none; letter-spacing: -0.01em; font-weight: 800; }
.compare .spec-table thead a:hover { color: var(--green); }
.compare .spec-table td { font-weight: 600; }
.compare { max-height: none; }

/* O firmi: 3 kartice osnovne delatnosti */
@media (min-width: 1100px) { .cat-grid.about-core .cat-card { grid-column: span 2 !important; } }
.cert-card.big .btn { justify-self: start; margin-top: 6px; }
.on-dark { color: #fff; }
.bg-ink .btn-link { color: #fff; }
.bg-ink { overflow: hidden; }
@media (max-width: 599px) {
  .pole-viz { grid-template-columns: 1fr; }
  .pole-viz > svg { max-height: 320px; }
  .pole-readout { border-left: 0; border-top: 1px solid var(--line-dark); }
}

@media (max-width: 1399px) { .hero-stats { padding-bottom: 92px; } }
@media (min-width: 700px) { body.at-top .ai-fab .ai-label { display: none; } body.at-top .ai-fab { padding-right: 8px; } }

/* tamni kontejneri: prigušene boje teksta */
.cta-box, .aside-card, .pole-viz, .page-hero-frame, .hero-frame, .site-footer, .mobile-menu, .fleet-banner, .drawing-card, .value-card, .cat-card { --muted: rgba(255,255,255,.62); }
.cta-box .lead { color: rgba(255,255,255,.75); }
/* gradijentni tekst unutar animiranih reči */
.split-words .text-grad { background: none; color: inherit; }
.split-words .text-grad .w > span {
  background: linear-gradient(100deg, var(--green) 0%, var(--blue) 100%);   -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bg-ink .split-words .text-grad .w > span, .on-dark .split-words .text-grad .w > span { background-image: linear-gradient(100deg, var(--green-300), var(--blue-300)); }
@media (max-width: 699px) { .footer-bottom { padding-bottom: 92px; } }
main { overflow-x: clip; }
@media (max-width: 999px) { .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(36px); } }
.hide-sm { display: none; }
@media (min-width: 600px) { .hide-sm { display: inline; } }
