/* ==========================================================================
   MB FAPROMAL — glavni stil
   01 Fontovi            08 Mega meni              15 Forme i kontakt
   02 Tokeni             09 Mobilni meni           16 Futer
   03 Osnova             10 Hero slajder           17 Plutajući elementi
   04 Tipografija        11 Zaglavlje strana       18 Asistent
   05 Dugmad i čipovi    12 Paneli i sekcije       19 Preloader
   06 Staklo i "notch"   13 Komponente             20 Animacije
   07 Zaglavlje          14 Galerija i lightbox    21 Responsive
   ========================================================================== */

/* 01 — FONTOVI (lokalni woff2, latin + latin-ext zbog č ć š ž đ) */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../assets/fonts/outfit-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../assets/fonts/outfit-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("../assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("../assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 02 — TOKENI */
:root {
  --frame: #DCE6F0;
  --surface: #FFFFFF;
  --surface-2: #F4F7FB;
  --navy: #0B2545;
  --slate: #51607A;
  --accent: #004888;
  --accent-2: #5A93C4;
  --gold: #C9A24B;
  --hair: rgba(11, 37, 69, .12);
  --hair-strong: rgba(11, 37, 69, .2);

  --f-head: "Outfit", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --inset: 12px;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 18px;
  --r-sm: 12px;
  --notch: 22px;

  --glass: rgba(255, 255, 255, .28);
  --glass-strong: rgba(244, 247, 251, .62);
  --glass-line: rgba(255, 255, 255, .55);
  --blur: blur(18px) saturate(140%);
  --shadow: 0 30px 60px -28px rgba(11, 37, 69, .38), 0 10px 24px -14px rgba(11, 37, 69, .22);
  --shadow-soft: 0 18px 40px -26px rgba(11, 37, 69, .35);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --float-size: 54px;
  --float-gap: 20px;
  --header-h: 68px;
  --wrap: 1240px;
}

/* 03 — OSNOVA */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--frame);
  color: var(--slate);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  padding-bottom: calc(var(--float-size) + var(--float-gap) + 10px);
}
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; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-family: var(--f-head); font-weight: 300; line-height: 1.1; }
::selection { background: rgba(90, 147, 196, .3); color: var(--navy); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 14px; height: 14px; }
.i--lg { width: 26px; height: 26px; }
.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 { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--navy); color: #fff; transition: top .2s; }
.skip:focus { top: 16px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.wrap--narrow { width: min(880px, 100% - 48px); margin-inline: auto; }

/* 04 — TIPOGRAFIJA */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.kicker--light { color: var(--accent-2); }
.mono { font-family: var(--f-mono); font-feature-settings: "zero" 0; }
.h-display { font-size: clamp(2.2rem, 4.6vw, 4rem); letter-spacing: .005em; }
.h-section { font-size: clamp(1.9rem, 3.5vw, 3.05rem); letter-spacing: .005em; margin: 14px 0 18px; }
.h-section em, .h-display em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--slate); max-width: 44rem; }
.prose p { margin-bottom: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.3rem; font-weight: 400; margin: 1.4em 0 .5em; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose ul { margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: .45em; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 9px; height: 1px; background: var(--gold); }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(0, 72, 136, .3); }
.prose a:hover { border-color: var(--accent); }
.muted { color: var(--slate); }
.center { text-align: center; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 20px; } .mt-l { margin-top: 32px; } .mt-xl { margin-top: clamp(40px, 6vw, 72px); }
.mb-0 { margin-bottom: 0; }
[id] { scroll-margin-top: 100px; }

/* 05 — DUGMAD I ČIPOVI */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--navy); --ico-bg: var(--navy); --ico-fg: #fff;
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 50px; padding: 6px 6px 6px 22px;
  border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg);
  font-size: 14.5px; font-weight: 500; letter-spacing: .005em; white-space: nowrap;
  box-shadow: 0 10px 24px -14px rgba(11, 37, 69, .45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(11, 37, 69, .5); }
.btn__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ico-bg); color: var(--ico-fg); transition: transform .35s var(--ease); }
.btn__ico .i { width: 16px; height: 16px; stroke-width: 1.9; }
.btn:hover .btn__ico .i { transform: rotate(45deg); }
.btn__ico .i { transition: transform .35s var(--ease); }
.btn--navy { --btn-bg: var(--navy); --btn-fg: #fff; --ico-bg: #fff; --ico-fg: var(--navy); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: #fff; --ico-bg: #fff; --ico-fg: var(--accent); }
.btn--glass { --btn-bg: rgba(255, 255, 255, .42); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border: 1px solid var(--glass-line); }
.btn--ghost { --btn-bg: transparent; box-shadow: none; border: 1px solid var(--hair-strong); }
.btn--light-ghost { --btn-bg: rgba(255, 255, 255, .08); --btn-fg: #fff; --ico-bg: #fff; --ico-fg: var(--navy); border: 1px solid rgba(255, 255, 255, .22); box-shadow: none; }
.btn--sm { min-height: 42px; padding: 4px 4px 4px 16px; gap: 10px; font-size: 13.5px; }
.btn--sm .btn__ico { width: 32px; height: 32px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.circle-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; flex: none; transition: transform .35s var(--ease), background .3s; }
.circle-btn .i { width: 18px; height: 18px; stroke-width: 1.8; transition: transform .35s var(--ease); }
a:hover > .circle-btn .i, .circle-btn:hover .i { transform: rotate(45deg); }
.circle-btn--light { background: #fff; color: var(--navy); box-shadow: var(--shadow-soft); }
.circle-btn--glass { background: rgba(255, 255, 255, .45); color: var(--navy); border: 1px solid var(--glass-line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }

.chip { display: inline-flex; align-items: center; gap: 9px; padding: 5px 14px 5px 6px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--navy); background: rgba(255, 255, 255, .45); border: 1px solid var(--glass-line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 8px 20px -14px rgba(11, 37, 69, .4); }
.chip__ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--accent); }
.chip__ico .i { width: 13px; height: 13px; stroke-width: 2; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; color: var(--navy); background: var(--surface); border: 1px solid var(--hair); }
.tag--mono { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; }

/* 06 — STAKLO I NOTCH ELEMENTI */
.glass { background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: var(--shadow); }
.glass-light { background: var(--glass-strong); border: 1px solid var(--glass-line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: var(--shadow); }
/* "notch" = izrez u boji rama sa konkavnim uglovima (radial-gradient pseudo elementi) */
.notch { position: relative; background: var(--frame); }
.notch::before, .notch::after { content: ""; position: absolute; width: var(--notch); height: var(--notch); pointer-events: none; transition: opacity .3s; }
.notch--tl { border-bottom-right-radius: var(--notch); padding: 0 10px 10px 0; }
.notch--tl::before { left: 100%; top: 0; background: radial-gradient(circle at 100% 100%, transparent calc(var(--notch) - .5px), var(--frame) var(--notch)); }
.notch--tl::after { top: 100%; left: 0; background: radial-gradient(circle at 100% 100%, transparent calc(var(--notch) - .5px), var(--frame) var(--notch)); }
.notch--tr { border-bottom-left-radius: var(--notch); padding: 0 0 10px 10px; }
.notch--tr::before { right: 100%; top: 0; background: radial-gradient(circle at 0 100%, transparent calc(var(--notch) - .5px), var(--frame) var(--notch)); }
.notch--tr::after { top: 100%; right: 0; background: radial-gradient(circle at 0 100%, transparent calc(var(--notch) - .5px), var(--frame) var(--notch)); }
.notch--br { border-top-left-radius: var(--notch); padding: 10px 0 0 10px; }
.notch--br::before { right: 0; bottom: 100%; background: radial-gradient(circle at 0 0, transparent calc(var(--notch) - .5px), var(--frame) var(--notch)); }
.notch--br::after { right: 100%; bottom: 0; background: radial-gradient(circle at 0 0, transparent calc(var(--notch) - .5px), var(--frame) var(--notch)); }

/* tehnička mreža i nišanski motiv */
.grid-bg { position: relative; }
.grid-bg::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background-image: linear-gradient(rgba(11, 37, 69, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 37, 69, .05) 1px, transparent 1px);
  background-size: 36px 36px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 20%, transparent 75%); }
.grid-bg > * { position: relative; }
.crosshair { position: absolute; pointer-events: none; color: var(--accent-2); opacity: .22; }
.crosshair svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: .6; }
.hairline { height: 1px; background: linear-gradient(90deg, var(--gold), rgba(201, 162, 75, 0)); border: 0; margin: 0; }

/* 07 — ZAGLAVLJE */
.site-header { position: fixed; top: var(--inset); left: var(--inset); right: var(--inset); z-index: 60; height: var(--header-h); display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.site-header::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); background: rgba(244, 247, 251, .74); border: 1px solid rgba(255, 255, 255, .7); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 18px 40px -24px rgba(11, 37, 69, .35); opacity: 0; transform: translateY(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none; }
.site-header .notch { transition: background .3s, padding .3s; }
.brand { display: flex; align-items: center; height: 58px; padding: 0 22px 0 18px; border-radius: 22px 18px 18px 18px; background: var(--navy); box-shadow: 0 12px 26px -16px rgba(11, 37, 69, .7); transition: height .3s var(--ease), border-radius .3s; }
.brand img { width: 168px; height: auto; }
.header-cta { display: flex; align-items: center; gap: 8px; }
.header-cta .btn { min-height: 58px; padding-left: 24px; transition: min-height .3s var(--ease), transform .35s var(--ease); }
.burger { display: none; width: 58px; height: 58px; border-radius: 50%; background: var(--navy); color: #fff; place-items: center; }
.site-header.is-scrolled::before { opacity: 1; transform: none; }
.site-header.is-scrolled .notch { background: transparent; padding: 5px; }
.site-header.is-scrolled .notch::before, .site-header.is-scrolled .notch::after { opacity: 0; }
.site-header.is-scrolled .brand { height: 56px; border-radius: 18px; }
.site-header.is-scrolled .header-cta .btn { min-height: 56px; }
.site-header.is-scrolled .burger { width: 56px; height: 56px; }

/* jezički prekidač SR | EN | DE — mala staklena pilula (zaglavlje, mobilni meni, futer) */
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .85); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 10px 24px -18px rgba(11, 37, 69, .55); flex: none; }
.lang a { display: grid; place-items: center; min-width: 34px; height: 32px; padding: 0 7px; border-radius: 999px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; color: var(--navy); transition: background .2s, color .2s; }
.lang a:hover { background: rgba(255, 255, 255, .95); }
.lang a[aria-current] { background: var(--navy); color: #fff; }
.mnav__lang { width: min(640px, 100%); margin: 0 auto 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mnav__lang .mono { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.lang--dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.lang--dark a { color: rgba(255, 255, 255, .8); }
.lang--dark a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.lang--dark a[aria-current] { background: #fff; color: var(--navy); }
.footer__brand .lang { margin: 0 0 0 10px; vertical-align: middle; }
.site-header > .notch { flex: none; }
/* nemački: duge složenice se dele na kraju reda (dugmad, meni i oznake ostaju cele) */
html[lang="de"] body { -webkit-hyphens: auto; hyphens: auto; }
html[lang="de"] :is(.btn, .nav__link, .chip, .filter, .mono, .lang, .crumbs, input, textarea) { -webkit-hyphens: manual; hyphens: manual; }
html[lang="de"] body { overflow-wrap: break-word; }
/* EN / DE: brojevi sa separatorom hiljada su širi */
:is(html[lang="en"], html[lang="de"]) .stat__n--sm { font-size: clamp(1rem, 1.8vw, 1.75rem); }
:is(html[lang="en"], html[lang="de"]) .minfo .btn { white-space: normal; text-align: left; line-height: 1.2; }
:is(html[lang="en"], html[lang="de"]) .spec__row { grid-template-columns: minmax(min-content, 1fr) auto; }
html[lang="en"] .card__t { -webkit-hyphens: auto; hyphens: auto; }

/* navigacija je centrirana u prostoru između logotipa i desnog ureza (sa jezičkim prekidačem) */
.nav { flex: 1 1 auto; min-width: 0; margin: 0 10px; height: 58px; display: flex; justify-content: center; pointer-events: none; }
.site-header.is-scrolled .nav { margin-top: 5px; }
.nav__list { display: flex; align-items: center; gap: 2px; height: 58px; pointer-events: auto; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; font-weight: 450; color: var(--navy); letter-spacing: .01em; transition: background .25s, color .25s; }
.nav__link .i { width: 11px; height: 11px; stroke-width: 2.2; opacity: .6; transition: transform .3s var(--ease); }
.nav__item:hover .nav__link, .nav__item.is-open .nav__link { background: rgba(255, 255, 255, .62); }
.nav__item.is-open .nav__link .i { transform: rotate(180deg); }
.nav__link::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transform: translateX(-50%) scale(0); transition: transform .3s var(--ease); }
body[data-section="pocetna"] [data-sec="pocetna"]::after, body[data-section="onama"] [data-sec="onama"]::after, body[data-section="program"] [data-sec="program"]::after, body[data-section="usluge"] [data-sec="usluge"]::after, body[data-section="standardi"] [data-sec="standardi"]::after, body[data-section="galerija"] [data-sec="galerija"]::after, body[data-section="vesti"] [data-sec="vesti"]::after, body[data-section="kontakt"] [data-sec="kontakt"]::after { transform: translateX(-50%) scale(1); }
/* početna: dok je zaglavlje providno preko slajdera, linkovi su beli; posle skrola (svetla pozadina) vraćaju se u tamnoplavu */
body[data-section="pocetna"] .site-header:not(.is-scrolled) .nav__link { color: #fff; text-shadow: 0 1px 10px rgba(11, 37, 69, .55), 0 0 2px rgba(11, 37, 69, .4); font-size: clamp(14.5px, calc(14.5px + (100vw - 1441px) / 100), 15.5px); font-weight: 500; }
body[data-section="pocetna"] .nav__link { transition: background .25s, color .25s, font-size .25s; }
@media (max-width: 1440px) { body[data-section="pocetna"] .site-header:not(.is-scrolled) .nav__link { font-size: 14.5px; } }
@media (max-width: 1280px) { body[data-section="pocetna"] .site-header:not(.is-scrolled) .nav__link { font-size: 14px; } }
@media (max-width: 1199.98px) { body[data-section="pocetna"] .site-header:not(.is-scrolled) .nav__link { font-size: 13.4px; } }
body[data-section="pocetna"] .site-header:not(.is-scrolled) .nav__link .i { opacity: .85; }
body[data-section="pocetna"] .site-header:not(.is-scrolled) :is(.nav__item:hover, .nav__item.is-open) .nav__link { color: var(--navy); text-shadow: none; }
body[data-section="pocetna"] [data-sec="pocetna"], body[data-section="onama"] [data-sec="onama"], body[data-section="program"] [data-sec="program"], body[data-section="usluge"] [data-sec="usluge"], body[data-section="standardi"] [data-sec="standardi"], body[data-section="galerija"] [data-sec="galerija"], body[data-section="vesti"] [data-sec="vesti"], body[data-section="kontakt"] [data-sec="kontakt"] { font-weight: 600; color: var(--accent); }

/* 08 — MEGA MENI */
.mega { position: absolute; top: calc(100% + 8px); left: 50%; width: min(1240px, calc(100vw - 2 * var(--inset) - 16px)); transform: translate(-50%, 12px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .28s var(--ease), transform .38s var(--ease-out), visibility 0s .38s; z-index: 61; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition: opacity .28s var(--ease), transform .38s var(--ease-out), visibility 0s; }
.no-js .nav__item:hover .mega, .no-js .nav__item:focus-within .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega__inner { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) minmax(0, .9fr); gap: 16px; padding: 16px; border-radius: var(--r-xl); background: rgba(244, 247, 251, .8); border: 1px solid rgba(255, 255, 255, .75); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); box-shadow: 0 40px 80px -40px rgba(11, 37, 69, .55), 0 16px 32px -20px rgba(11, 37, 69, .3); }
.mega__inner--wide { grid-template-columns: minmax(0, 2.7fr) minmax(0, 1fr) minmax(0, .82fr); }
.mega__inner--wide .mfeat { min-height: 0; }
.mega__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 4px 8px 10px; border-bottom: 1px solid var(--hair); }
.mega__head .mono { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.mega__head a { font-size: 13px; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
.mega__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 6px; align-content: start; }
.mega__links--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px; }
.mega__group-t { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding: 8px 10px 6px; }
.mlink { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 14px; transition: background .25s, transform .25s; }
.mlink:hover, .mlink:focus-visible, .mlink.is-hot { background: rgba(255, 255, 255, .85); }
.mlink__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--accent); border: 1px solid var(--hair); flex: none; transition: background .25s, color .25s; }
.mlink:hover .mlink__ico, .mlink.is-hot .mlink__ico { background: var(--navy); color: #fff; }
.mlink__ico .i { width: 18px; height: 18px; }
.mlink__t { display: block; font-size: 14px; font-weight: 500; color: var(--navy); line-height: 1.3; }
.mlink__d { display: block; font-size: 12.2px; color: var(--slate); line-height: 1.4; margin-top: 2px; }
.mlink--compact { padding: 7px 10px; gap: 10px; align-items: center; }
.mlink--compact .mlink__ico { width: 32px; height: 32px; border-radius: 10px; }
.mlink--compact .mlink__ico .i { width: 16px; height: 16px; }
.mlink--compact .mlink__t { font-size: 13.4px; }
.mlink--compact .mlink__d { font-size: 11.6px; }
.mfeat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; border-radius: 20px; overflow: hidden; color: #fff; background: var(--navy); isolation: isolate; }
.mfeat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease), opacity .35s; }
.mfeat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 37, 69, 0) 35%, rgba(11, 37, 69, .82) 100%); }
.mfeat:hover img { transform: scale(1.05); }
.mfeat__body { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px; }
.mfeat__k { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.mfeat__t { display: block; font-family: var(--f-head); font-size: 19px; font-weight: 400; line-height: 1.2; margin-top: 4px; }
.mfeat .circle-btn { width: 40px; height: 40px; background: #fff; color: var(--navy); }
.minfo { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .8); }
.minfo__t { font-family: var(--f-head); font-size: 17px; font-weight: 400; color: var(--navy); line-height: 1.25; }
.minfo p { font-size: 13px; margin: 0; }
.minfo .btn { align-self: flex-start; }
.mini-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--hair); }
.mini-list li:last-child { border-bottom: 0; }
.mini-list .i { width: 16px; height: 16px; color: var(--accent); margin-top: 2px; }
.mini-list a:hover { color: var(--accent); }
.mini-tl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; position: relative; padding-top: 14px; }
.mini-tl::before { content: ""; position: absolute; left: 6px; right: 6px; top: 4px; height: 1px; background: var(--gold); }
.mini-tl li { position: relative; font-size: 11.5px; line-height: 1.35; }
.mini-tl li::before { content: ""; position: absolute; left: 0; top: -14px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); }
.mini-tl b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 13px; color: var(--navy); }
.mspecs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 16px 16px; }
.mspecs span { padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font-size: 10.5px; color: rgba(255, 255, 255, .8); line-height: 1.3; }
.mspecs b { display: block; font-family: var(--f-mono); font-size: 14px; font-weight: 500; color: #fff; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.mnews { display: flex; gap: 12px; padding: 10px; border-radius: 16px; align-items: center; transition: background .25s; }
.mnews:hover { background: rgba(255, 255, 255, .85); }
.mnews img { width: 96px; height: 72px; object-fit: cover; border-radius: 12px; flex: none; }
.mnews .mono { font-size: 11px; color: var(--accent); }
.mnews b { display: block; font-family: var(--f-head); font-weight: 400; font-size: 16px; color: var(--navy); line-height: 1.25; }
.mnews p { font-size: 12.5px; margin: 2px 0 0; }
.mcount { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; align-content: start; }
.mcount a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13.4px; color: var(--navy); border-bottom: 1px dashed var(--hair); transition: background .2s; }
.mcount a:hover { background: rgba(255, 255, 255, .85); }
.mcount .mono { font-size: 11px; color: var(--accent); }
.cert-mini { display: flex; gap: 12px; align-items: center; }
.cert-mini img { width: 88px; border-radius: 8px; box-shadow: var(--shadow-soft); border: 1px solid var(--hair); }

/* 09 — MOBILNI MENI */
.mnav { position: fixed; inset: 0; z-index: 58; display: flex; flex-direction: column; padding: calc(var(--inset) + 82px) 16px 24px; background: rgba(220, 230, 240, .82); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; overflow-y: auto; overscroll-behavior: contain; }
.mnav.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.mnav__list { width: min(640px, 100%); margin: 0 auto; }
.mnav__item { border-bottom: 1px solid var(--hair); transform: translateY(14px); opacity: 0; transition: transform .45s var(--ease-out), opacity .45s; }
.mnav.is-open .mnav__item { transform: none; opacity: 1; }
.mnav.is-open .mnav__item:nth-child(2) { transition-delay: .03s; } .mnav.is-open .mnav__item:nth-child(3) { transition-delay: .06s; } .mnav.is-open .mnav__item:nth-child(4) { transition-delay: .09s; } .mnav.is-open .mnav__item:nth-child(5) { transition-delay: .12s; } .mnav.is-open .mnav__item:nth-child(6) { transition-delay: .15s; } .mnav.is-open .mnav__item:nth-child(7) { transition-delay: .18s; } .mnav.is-open .mnav__item:nth-child(8) { transition-delay: .21s; }
.mnav__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mnav__link { flex: 1; padding: 15px 4px; font-family: var(--f-head); font-size: 22px; font-weight: 300; color: var(--navy); }
.mnav__toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .6); border: 1px solid var(--glass-line); color: var(--navy); }
.mnav__toggle .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.mnav__item.is-open .mnav__toggle .i { transform: rotate(180deg); }
.mnav__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.mnav__item.is-open .mnav__sub { grid-template-rows: 1fr; }
.mnav__sub > div { overflow: hidden; }
.mnav__sub ul { padding: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.mnav__sub a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; font-size: 14px; color: var(--navy); }
.mnav__sub a:hover { background: rgba(255, 255, 255, .7); }
.mnav__sub .i { width: 16px; height: 16px; color: var(--accent); }
.mnav__foot { width: min(640px, 100%); margin: 24px auto 0; display: grid; gap: 12px; }
.mnav__foot .mini-list { padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .55); border: 1px solid var(--glass-line); }
body[data-section="pocetna"] .mnav__item[data-sec="pocetna"] .mnav__link, body[data-section="onama"] .mnav__item[data-sec="onama"] .mnav__link, body[data-section="program"] .mnav__item[data-sec="program"] .mnav__link, body[data-section="usluge"] .mnav__item[data-sec="usluge"] .mnav__link, body[data-section="standardi"] .mnav__item[data-sec="standardi"] .mnav__link, body[data-section="galerija"] .mnav__item[data-sec="galerija"] .mnav__link, body[data-section="vesti"] .mnav__item[data-sec="vesti"] .mnav__link, body[data-section="kontakt"] .mnav__item[data-sec="kontakt"] .mnav__link { color: var(--accent); font-weight: 400; }
[aria-current="page"].mlink, .mnav__sub a[aria-current="page"] { background: rgba(255, 255, 255, .8); }

/* 10 — HERO SLAJDER (tačno jedna visina ekrana) */
.hero { height: 100vh; height: 100svh; padding: var(--inset); }
.hero__canvas { position: relative; height: 100%; border-radius: var(--r-xl); overflow: hidden; background: #c9d6e3; isolation: isolate; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 0s 1.2s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s var(--ease); z-index: 1; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7.5s linear; }
.hero__slide.is-active .hero__img { transform: scale(1.0); }
.hero__slide::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 37, 69, .34) 0, rgba(11, 37, 69, .14) 90px, rgba(11, 37, 69, 0) 170px),
    radial-gradient(ellipse 56% 40% at 50% 49%, rgba(244, 247, 251, .82) 0%, rgba(244, 247, 251, .5) 45%, rgba(244, 247, 251, 0) 78%),
    linear-gradient(180deg, rgba(240, 245, 251, .42) 0%, rgba(240, 245, 251, .44) 34%, rgba(228, 236, 245, .34) 56%, rgba(220, 230, 240, .08) 80%, rgba(11, 37, 69, .14) 100%),
    linear-gradient(0deg, rgba(90, 147, 196, .1), rgba(90, 147, 196, .1)); }
.hero__slide[data-veil="soft"]::after {
  background:
    linear-gradient(180deg, rgba(11, 37, 69, .34) 0, rgba(11, 37, 69, .14) 90px, rgba(11, 37, 69, 0) 170px),
    radial-gradient(ellipse 62% 48% at 50% 40%, rgba(244, 247, 251, .5) 0%, rgba(244, 247, 251, 0) 70%),
    linear-gradient(180deg, rgba(240, 245, 251, .34) 0%, rgba(240, 245, 251, .34) 34%, rgba(228, 236, 245, .22) 58%, rgba(220, 230, 240, 0) 82%, rgba(11, 37, 69, .1) 100%),
    linear-gradient(0deg, rgba(90, 147, 196, .1), rgba(90, 147, 196, .1)); }
.hero__content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 104px 96px 190px; }
.hero__title { font-size: clamp(2.3rem, 5.3vw, 5.1rem); font-weight: 300; letter-spacing: .012em; line-height: 1.04; color: var(--navy); margin: 20px 0 16px; max-width: 15.5em; text-wrap: balance; }
.hero__sub { max-width: 35rem; font-size: clamp(.98rem, 1.2vw, 1.1rem); line-height: 1.6; color: #3e4d66; margin: 0; text-wrap: balance; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.hero__actions .btn--glass { --btn-bg: rgba(255, 255, 255, .7); }
.hero__slide .hero__content > * { opacity: 0; transform: translateY(22px); }
.hero__slide.is-active .hero__content > * { animation: rise 1s var(--ease-out) forwards; }
.hero__slide.is-active .hero__content > :nth-child(2) { animation-delay: .12s; }
.hero__slide.is-active .hero__content > :nth-child(3) { animation-delay: .24s; }
.hero__slide.is-active .hero__content > :nth-child(4) { animation-delay: .36s; }
.hero__controls { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cbtn { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--navy); background: rgba(255, 255, 255, .42); border: 1px solid var(--glass-line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 10px 24px -16px rgba(11, 37, 69, .6); transition: background .25s, transform .3s var(--ease); }
.cbtn:hover { background: rgba(255, 255, 255, .78); }
.cbtn .i { width: 17px; height: 17px; stroke-width: 1.9; }
.cbtn__ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); pointer-events: none; }
.cbtn__ring circle { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 144.5; stroke-dashoffset: 144.5; }
.hero.is-running .cbtn__ring circle { animation: ring var(--slide-ms, 6000ms) linear forwards; }
.hero.is-paused .cbtn__ring circle { animation-play-state: paused; }
.cbtn .ico-play { display: none; }
.hero.is-paused .cbtn .ico-play { display: block; }
.hero.is-paused .cbtn .ico-pause { display: none; }
.hero__count { margin-top: 4px; padding: 6px 8px; border-radius: 999px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--navy); background: rgba(255, 255, 255, .42); border: 1px solid var(--glass-line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); white-space: nowrap; }
.hero__count b { font-weight: 600; }
.hero__stat { position: absolute; left: calc(var(--float-size) + var(--float-gap) + 10px); bottom: 22px; z-index: 4; width: 214px; padding: 18px 18px 16px; border-radius: var(--r-lg); }
.hero__stat-n { font-family: var(--f-head); font-weight: 300; font-size: 54px; line-height: 1; color: var(--navy); letter-spacing: -.01em; }
.hero__stat-l { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin: 6px 0 14px; }
.hero__stat .btn { min-height: 42px; padding: 4px 4px 4px 14px; font-size: 13px; gap: 10px; }
.hero__stat .btn__ico { width: 32px; height: 32px; }
.hero__notch { position: absolute; right: 0; bottom: 0; z-index: 4; }
.ref-card { display: flex; align-items: center; gap: 16px; width: 330px; padding: 16px 18px 16px 16px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-soft); transition: transform .35s var(--ease); }
.ref-card:hover { transform: translateY(-2px); }
.ref-card .circle-btn { width: 50px; height: 50px; background: var(--surface-2); color: var(--navy); border: 1px solid var(--hair); }
.ref-card__t { display: block; font-family: var(--f-head); font-size: 19px; font-weight: 400; color: var(--navy); line-height: 1.2; }
.ref-card__l { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--slate); margin-top: 3px; }
.ref-card__l .i { width: 12px; height: 12px; }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.hero__scroll span { width: 1px; height: 34px; background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }

/* 11 — ZAGLAVLJE UNUTRAŠNJIH STRANA */
.page-head { padding: var(--inset); }
.page-head__canvas { position: relative; min-height: clamp(520px, 74svh, 760px); display: flex; align-items: flex-end; padding: 118px 24px 24px; border-radius: var(--r-xl); overflow: hidden; background: #c9d6e3; isolation: isolate; }
.page-head__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: settle 2.4s var(--ease-out) both; }
.page-head__canvas::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(240, 245, 251, .86) 0%, rgba(240, 245, 251, .4) 20%, rgba(240, 245, 251, 0) 42%, rgba(11, 37, 69, .08) 100%), linear-gradient(0deg, rgba(90, 147, 196, .12), rgba(90, 147, 196, .12)); }
.page-head--plain .page-head__canvas { background: linear-gradient(140deg, #f4f7fb 0%, #e6eef6 55%, #d6e3ef 100%); min-height: clamp(420px, 56svh, 560px); }
.page-head--plain .page-head__canvas::after { display: none; }
.ph-panel { position: relative; width: min(700px, 100%); padding: 26px 28px 28px; border-radius: var(--r-lg); }
.ph-panel h1 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); font-weight: 300; letter-spacing: .01em; margin: 14px 0 12px; text-wrap: balance; }
.ph-panel .lead { margin: 0; color: #3e4d66; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--slate); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { opacity: .45; }
.crumbs [aria-current] { color: var(--navy); }
.ph-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.page-head .hero__notch .ref-card { width: 300px; }

/* 12 — PANELI I SEKCIJE */
.panel { margin: 0 var(--inset) var(--inset); border-radius: var(--r-xl); background: var(--surface-2); padding: clamp(64px, 8vw, 116px) 0; position: relative; overflow: hidden; }
.panel--white { background: var(--surface); }
.panel--navy { background: var(--navy); color: rgba(255, 255, 255, .74); }
.panel--navy h2, .panel--navy h3 { color: #fff; }
.panel--tight { padding: clamp(44px, 5vw, 72px) 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head > div { max-width: 46rem; }
.sec-head .lead { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split--wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.split--contact { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

/* 13 — KOMPONENTE */
/* fotografije: zaobljene, hladan ton, fiksni odnos */
.ph { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; background: #d4dfea; aspect-ratio: 4 / 3; isolation: isolate; }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.03); transition: transform .9s var(--ease); }
.ph::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(90, 147, 196, .08), rgba(11, 37, 69, .14)); mix-blend-mode: multiply; }
.ph--tall { aspect-ratio: 3 / 4; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--square { aspect-ratio: 1; }
a.ph:hover img, .card:hover .ph img { transform: scale(1.045); }

/* stat pločice */
.stat-stage { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 560px; padding: 18px; display: flex; align-items: flex-end; isolation: isolate; }
.stat-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.stat-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 37, 69, .05), rgba(11, 37, 69, .45)); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.stat { padding: 16px 18px; border-radius: var(--r-md); color: var(--navy); background: rgba(244, 247, 251, .6); border: 1px solid var(--glass-line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.stat__n { display: block; font-family: var(--f-head); font-weight: 300; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.05; color: var(--navy); }
.stat__n small { font-size: .5em; }
.stat__n--sm { font-size: clamp(1.45rem, 2.2vw, 2rem); white-space: nowrap; }
.stat__l { display: block; font-family: var(--f-mono); font-size: 10.8px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-top: 6px; line-height: 1.4; }
.stat--wide { grid-column: span 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* bento proizvodni program */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 12px; }
.bento__item { grid-column: span 1; grid-row: span 1; }
.bento__item--big { grid-column: span 2; grid-row: span 2; }
.bento__item--tall { grid-row: span 2; }
.bento__item--wide { grid-column: span 2; }
.pcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; background: var(--navy); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.9); transition: transform 1s var(--ease); }
.pcard:hover img { transform: scale(1.06); }
.pcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 37, 69, 0) 30%, rgba(11, 37, 69, .78) 100%), linear-gradient(0deg, rgba(90, 147, 196, .1), rgba(90, 147, 196, .1)); }
.pcard__top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: flex-start; }
.pcard__no { font-family: var(--f-mono); font-size: 11px; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pcard .circle-btn { width: 42px; height: 42px; background: rgba(255, 255, 255, .9); color: var(--navy); }
.pcard__body { padding: 18px; }
.pcard__t { display: block; font-family: var(--f-head); font-size: 20px; font-weight: 400; line-height: 1.2; }
.bento__item--big .pcard__t { font-size: clamp(24px, 2.4vw, 32px); font-weight: 300; }
.pcard__c { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: rgba(255, 255, 255, .78); margin-top: 6px; }

/* kartice */
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--hair); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .ph { border-radius: 0; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 22px; flex: 1; }
.card__k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.card__t { font-family: var(--f-head); font-size: 21px; font-weight: 400; color: var(--navy); line-height: 1.22; }
.card__body p { font-size: 14.5px; margin: 0; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.card__foot .circle-btn { width: 40px; height: 40px; }
.card--flat:hover { transform: none; box-shadow: none; }

/* usluge: staklene kartice na tamnoj podlozi */
.svc-stage { position: relative; isolation: isolate; }
.svc-stage__bg { position: absolute; inset: 0; z-index: -2; }
.svc-stage__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: saturate(.6) blur(2px); transform: scale(1.04); }
.svc-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 85% 10%, rgba(90, 147, 196, .35), transparent 60%), linear-gradient(180deg, rgba(11, 37, 69, .72), rgba(11, 37, 69, .94)); }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.svc { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 250px; padding: 22px; border-radius: var(--r-lg); color: rgba(255, 255, 255, .78); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); transition: transform .45s var(--ease), background .35s, border-color .35s; }
.svc:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .32); }
.svc__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; }
.svc__ico .i { width: 22px; height: 22px; }
.svc__no { position: absolute; top: 22px; right: 22px; font-family: var(--f-mono); font-size: 11px; color: rgba(255, 255, 255, .5); }
.svc__t { font-family: var(--f-head); font-size: 21px; font-weight: 400; color: #fff; line-height: 1.2; margin-top: 8px; }
.svc p { font-size: 14px; margin: 0; }
.svc__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #fff; }
.svc__more .i { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.svc:hover .svc__more .i { transform: rotate(45deg); }
.svc--feature { grid-column: span 2; grid-row: span 2; min-height: 512px; padding: 0; overflow: hidden; }
.svc--feature .svc__media { position: relative; flex: 1; min-height: 220px; }
.svc--feature .svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc--feature .svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 37, 69, 0) 40%, rgba(11, 37, 69, .65)); }
.svc--feature .svc__inner { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.svc--feature .svc__t { font-size: clamp(24px, 2.4vw, 30px); font-weight: 300; margin: 0; }
.spec-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .18); }
.spec-strip > * { display: block; padding: 14px 16px; border-right: 1px solid rgba(255, 255, 255, .12); }
.spec-strip > *:last-child { border-right: 0; }
.spec-strip b { display: block; font-family: var(--f-mono); font-size: 17px; font-weight: 500; color: #fff; }
.spec-strip span { font-size: 11.5px; color: rgba(255, 255, 255, .62); line-height: 1.35; display: block; margin-top: 2px; }

/* standardi traka */
.std-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.std { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--hair); transition: transform .4s var(--ease), box-shadow .4s var(--ease); overflow: hidden; }
.std::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.std:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.std__code { font-family: var(--f-mono); font-size: 15.5px; font-weight: 500; color: var(--navy); }
.std__d { font-size: 13px; line-height: 1.45; }
.std .i { color: var(--accent); width: 26px; height: 26px; margin-bottom: 6px; }

/* reference: tipografski marquee */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 6px; }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--f-head); font-size: clamp(1.4rem, 2.8vw, 2.3rem); font-weight: 300; color: var(--navy); white-space: nowrap; }
.marquee__track span::after { content: ""; width: 9px; height: 9px; border: 1px solid var(--gold); border-radius: 50%; }
.marquee--rev .marquee__track span { color: var(--accent-2); }
.markets { display: flex; flex-wrap: wrap; gap: 8px; }
.market { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hair); font-size: 14px; color: var(--navy); }
.market .mono { font-size: 10.5px; color: var(--accent); padding: 2px 6px; border-radius: 6px; background: var(--surface-2); }

/* vesti */
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.news-card .ph { aspect-ratio: 16 / 9; }
.news-card__date { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; color: var(--accent); letter-spacing: .04em; }

/* CTA traka */
.cta-band { position: relative; margin: 0 var(--inset) var(--inset); border-radius: var(--r-xl); overflow: hidden; padding: clamp(28px, 5vw, 64px); min-height: 460px; display: flex; align-items: center; isolation: isolate; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(220, 230, 240, .72) 0%, rgba(220, 230, 240, .32) 50%, rgba(11, 37, 69, .25) 100%); }
.cta-card { width: min(620px, 100%); padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); }
.cta-card h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin: 12px 0 18px; }
.cta-card h2 em { font-style: normal; color: var(--accent); }
.lead--light { color: rgba(255, 255, 255, .72); }
.panel--navy .h-section em { color: var(--accent-2); }
.contact-list { display: grid; gap: 2px; margin-bottom: 22px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--hair); font-size: 15px; color: var(--navy); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .i { color: var(--accent); margin-top: 3px; }
.contact-list small { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.contact-list a:hover { color: var(--accent); }

/* tabela specifikacija */
.spec { border-top: 1px solid var(--hair-strong); }
.spec__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: baseline; padding: 14px 2px; border-bottom: 1px solid var(--hair); }
.spec__k { color: var(--slate); font-size: 14.5px; }
.spec__v { font-family: var(--f-mono); font-size: 14.5px; color: var(--navy); text-align: right; }
.spec-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--hair); }
.spec-card h3 { font-size: 22px; font-weight: 400; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }

/* lista proizvoda (spec-stil) */
.plist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--hair-strong); }
.plist li { display: flex; gap: 14px; align-items: baseline; padding: 13px 2px; border-bottom: 1px solid var(--hair); color: var(--navy); font-size: 15px; }
.plist--1 { grid-template-columns: minmax(0, 1fr); }
.plist li::before { content: attr(data-n); font-family: var(--f-mono); font-size: 11px; color: var(--accent); min-width: 24px; }

/* reference lista */
.ref-ind { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ref-box { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--hair); display: flex; flex-direction: column; gap: 12px; }
.ref-box h3 { font-size: 20px; font-weight: 400; display: flex; gap: 10px; align-items: center; }
.ref-box h3 .i { color: var(--accent); }
.ref-box ul li { padding: 9px 0; border-bottom: 1px dashed var(--hair); font-size: 14.5px; color: var(--navy); }
.ref-box ul li:last-child { border-bottom: 0; }
.ref-box ul li small { display: block; color: var(--slate); font-size: 13px; }

/* vremenska linija */
.timeline { position: relative; display: grid; gap: 14px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--gold), rgba(201, 162, 75, .2)); }
.tl-item { position: relative; padding: 20px 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--hair); }
.tl-item::before { content: ""; position: absolute; left: -31px; top: 26px; width: 13px; height: 13px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--gold); box-shadow: 0 0 0 5px var(--surface-2); }
.tl-item__y { font-family: var(--f-mono); font-size: 13px; color: var(--accent); letter-spacing: .04em; }
.tl-item h3 { font-size: 20px; font-weight: 400; margin: 4px 0 6px; }
.tl-item p { margin: 0; font-size: 14.5px; }

/* vrednosti / misija */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.value { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--hair); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.value:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.value .mono { font-size: 11px; color: var(--accent); }
.value b { font-family: var(--f-head); font-weight: 400; font-size: 19px; color: var(--navy); line-height: 1.25; }
.quote-card { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--hair); overflow: hidden; }
.quote-card h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 12px 0 16px; }
.quote-card .crosshair { width: 260px; height: 260px; right: -60px; top: -60px; }

/* materijali */
.materials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.material { padding: 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--hair); }
.material .mono { font-size: 11px; color: var(--accent); }
.material b { display: block; font-family: var(--f-head); font-weight: 400; font-size: 19px; color: var(--navy); margin-top: 8px; }
.material span { font-size: 13px; }

/* srodne kategorije */
.related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.related .pcard { min-height: 220px; }

/* sertifikati */
.cert-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cert { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--hair); overflow: hidden; scroll-margin-top: 110px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cert__img { display: block; padding: 18px 18px 0; background: linear-gradient(180deg, var(--surface-2), #fff); }
.cert__img img { width: 100%; aspect-ratio: 420 / 594; object-fit: cover; object-position: top; border-radius: 8px; box-shadow: 0 14px 30px -18px rgba(11, 37, 69, .5); border: 1px solid var(--hair); }
.cert__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.cert__code { font-family: var(--f-mono); font-size: 15px; font-weight: 500; color: var(--navy); }
.cert__body p { font-size: 13.5px; margin: 0; }
.cert__by { font-family: var(--f-mono); font-size: 11px; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }

/* mapa */
.map { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--hair); background: #d4dfea; min-height: 420px; scroll-margin-top: 110px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(.75) contrast(1.02); }

/* stranica 404 */
.nf { text-align: center; display: flex; flex-direction: column; align-items: center; }
.nf__code { font-family: var(--f-mono); font-size: clamp(4rem, 14vw, 9rem); font-weight: 300; line-height: 1; color: var(--navy); letter-spacing: -.04em; }

/* 14 — GALERIJA I LIGHTBOX */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.gallery .ph { border-radius: 16px; cursor: zoom-in; }
.gallery .ph[hidden] { display: none; }
.gallery .ph:focus-visible { outline-offset: 2px; }
.gallery__cap { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; padding: 6px 10px; border-radius: 10px; font-size: 12px; line-height: 1.35; color: #fff; background: rgba(11, 37, 69, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.gallery .ph:hover .gallery__cap, .gallery .ph:focus-visible .gallery__cap { opacity: 1; transform: none; }
.gallery__more { display: flex; justify-content: center; margin-top: 22px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hair); font-size: 13.5px; color: var(--navy); transition: background .25s, color .25s, border-color .25s; }
.filter .mono { font-size: 10.5px; color: var(--accent); }
.filter:hover { border-color: var(--hair-strong); }
.filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.filter.is-active .mono { color: var(--accent-2); }

.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 70px 76px 96px; background: rgba(7, 22, 42, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lightbox__img { max-width: min(1600px, 100%); max-height: calc(100svh - 190px); width: auto; height: auto; border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); transition: opacity .25s; background: #1a2c45; }
.lightbox.is-loading .lightbox__img { opacity: .35; }
.lightbox__cap { display: flex; gap: 14px; align-items: baseline; justify-content: center; flex-wrap: wrap; color: rgba(255, 255, 255, .85); font-size: 14px; text-align: center; max-width: 60rem; }
.lightbox__count { font-family: var(--f-mono); font-size: 12px; color: var(--accent-2); }
.lb-btn { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .25s; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-btn--close { top: 18px; right: 18px; }
.lb-btn--prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-btn--next { right: 18px; top: 50%; transform: translateY(-50%); }

/* 15 — FORME I KONTAKT */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.field label b { color: var(--accent); font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--hair-strong); background: #fff; color: var(--navy); font-size: 15px; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(90, 147, 196, .2); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b4233a; box-shadow: 0 0 0 4px rgba(180, 35, 58, .1); }
.field__err { font-size: 12.5px; color: #b4233a; min-height: 0; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 6px; }
.form__note { font-size: 13px; max-width: 30rem; margin: 0; }
.form__status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 14px; background: rgba(0, 72, 136, .07); color: var(--navy); font-size: 14px; display: none; }
.form__status.is-visible { display: block; }
.contact-panel { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--hair); scroll-margin-top: 110px; }
.contact-tiles { display: grid; gap: 10px; }
.ctile { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--hair); }
.ctile__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--surface-2); color: var(--accent); flex: none; }
.ctile small { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.ctile b, .ctile a { font-weight: 500; color: var(--navy); font-size: 16px; }
.ctile a:hover { color: var(--accent); }

/* 16 — FUTER */
.site-footer { position: relative; margin: 0 var(--inset) var(--inset); border-radius: var(--r-xl); background: var(--navy); color: rgba(255, 255, 255, .66); overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: radial-gradient(ellipse 70% 90% at 90% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 70% 90% at 90% 0%, #000, transparent 70%); }
.site-footer .crosshair { width: 420px; height: 420px; right: -120px; top: -140px; color: var(--accent-2); opacity: .16; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr); gap: 32px; padding: clamp(48px, 6vw, 80px) 0 40px; }
.footer__brand img { width: 190px; margin-bottom: 20px; }
.footer__brand p { font-size: 14px; max-width: 22rem; }
.footer__t { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { font-size: 14px; color: rgba(255, 255, 255, .78); transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; font-size: 14px; margin-bottom: 12px; color: rgba(255, 255, 255, .78); }
.footer__contact .i { color: var(--accent-2); margin-top: 3px; width: 17px; height: 17px; }
.footer__contact a:hover { color: #fff; }
.footer__bar { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.footer__bar a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.footer__bar a:hover { border-color: #fff; }

/* 17 — PLUTAJUĆI ELEMENTI */
.fab { position: fixed; z-index: 55; bottom: var(--float-gap); display: grid; place-items: center; width: var(--float-size); height: var(--float-size); border-radius: 50%; color: var(--navy); background: rgba(244, 247, 251, .66); border: 1px solid rgba(255, 255, 255, .75); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 16px 34px -18px rgba(11, 37, 69, .6); transition: transform .4s var(--ease), opacity .4s var(--ease), visibility 0s, background .25s; }
.fab:hover { background: rgba(255, 255, 255, .92); }
.fab--assist { left: var(--float-gap); }
.fab--assist img { width: 70%; height: 70%; border-radius: 50%; }
.fab--assist::after { content: ""; position: absolute; right: 3px; top: 3px; width: 11px; height: 11px; border-radius: 50%; background: #2fb67c; border: 2px solid #fff; }
.fab--top { right: var(--float-gap); opacity: 0; visibility: hidden; transform: translateY(16px); transition: transform .4s var(--ease), opacity .4s var(--ease), visibility 0s .4s, background .25s; }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: none; transition: transform .4s var(--ease), opacity .4s var(--ease), visibility 0s, background .25s; }
.fab--top .i { width: 18px; height: 18px; stroke-width: 1.9; }
.fab__ring { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); transform: rotate(-90deg); }
.fab__ring circle { fill: none; stroke-width: 2; }
.fab__ring .bg { stroke: rgba(11, 37, 69, .1); }
.fab__ring .fg { stroke: var(--accent); stroke-dasharray: 150.8; stroke-dashoffset: 150.8; stroke-linecap: round; }

/* 18 — ASISTENT */
.assist { position: fixed; z-index: 75; left: var(--float-gap); bottom: calc(var(--float-gap) + var(--float-size) + 12px); width: min(390px, calc(100vw - 2 * var(--float-gap))); height: min(580px, calc(100svh - var(--float-size) - 2 * var(--float-gap) - 24px)); display: flex; flex-direction: column; border-radius: var(--r-xl); background: rgba(244, 247, 251, .86); border: 1px solid rgba(255, 255, 255, .8); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); box-shadow: 0 40px 80px -36px rgba(11, 37, 69, .6); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98); transform-origin: bottom left; transition: opacity .3s var(--ease), transform .4s var(--ease-out), visibility 0s .4s; overflow: hidden; }
.assist.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease-out); }
.assist__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--hair); }
.assist__head img { width: 40px; height: 40px; }
.assist__head b { display: block; font-family: var(--f-head); font-weight: 400; font-size: 17px; color: var(--navy); line-height: 1.2; }
.assist__head small { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.assist__head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fb67c; }
.assist__close { margin-left: auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--hair); color: var(--navy); }
.assist__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: 14px; line-height: 1.55; animation: rise .35s var(--ease-out); }
.msg p { margin: 0 0 .5em; } .msg p:last-child { margin: 0; }
.msg a { color: var(--accent); font-weight: 500; border-bottom: 1px solid rgba(0, 72, 136, .3); }
.msg ul { margin: .3em 0 .5em; } .msg li { padding-left: 14px; position: relative; } .msg li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 1px; background: var(--gold); }
.msg--bot { align-self: flex-start; background: #fff; color: var(--navy); border: 1px solid var(--hair); border-bottom-left-radius: 6px; }
.msg--user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 6px; }
.msg--typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.msg--typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); animation: blink 1.1s infinite; }
.msg--typing span:nth-child(2) { animation-delay: .15s; } .msg--typing span:nth-child(3) { animation-delay: .3s; }
.assist__chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 10px; }
.assist__chips button { padding: 7px 12px; border-radius: 999px; font-size: 12.5px; background: #fff; border: 1px solid var(--hair-strong); color: var(--navy); transition: background .2s, color .2s; }
.assist__chips button:hover { background: var(--navy); color: #fff; }
.assist__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--hair); }
.assist__form input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 999px; border: 1px solid var(--hair-strong); background: #fff; font-size: 14px; color: var(--navy); }
.assist__form input:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(90, 147, 196, .2); }
.assist__form button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; flex: none; }

/* 19 — PRELOADER */
.preloader { display: none; }
.js .preloader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--navy); transition: opacity .6s var(--ease), visibility 0s .6s; animation: preloader-out .6s var(--ease) 2.5s forwards; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__in { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.preloader img { width: 130px; height: auto; animation: rise .9s var(--ease-out) both; }
.preloader__line { width: 160px; height: 1px; background: rgba(255, 255, 255, .15); overflow: hidden; border-radius: 1px; }
.preloader__line span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent-2), var(--gold)); transform-origin: left; animation: load 2.2s var(--ease) forwards; }

/* 20 — ANIMACIJE */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes ring { from { stroke-dashoffset: 144.5; } to { stroke-dashoffset: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes preloader-out { to { opacity: 0; visibility: hidden; } }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }
.magnetic { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__img, .hero__slide.is-active .hero__img { transform: none; }
  .hero__slide .hero__content > * { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}

/* 21 — RESPONSIVE */
@media (max-width: 1360px) {
  .footer__top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
  .footer__brand img { margin-bottom: 0; }
  .footer__brand p { margin: 0; flex: 1 1 18rem; }
}
@media (min-width: 1280.02px) and (max-width: 1440px) {
  /* prostor za jezički prekidač pored dugmeta „Pošaljite upit” */
  .nav__link { padding: 0 9px; font-size: 13px; }
  .lang a { min-width: 30px; padding: 0 5px; }
}
@media (min-width: 1280.02px) and (max-width: 1365.98px) {
  .nav__link { gap: 0; }
  .nav__link .i { display: none; }
}
@media (max-width: 1280px) {
  .lang a { min-width: 30px; padding: 0 5px; }
  .brand img { width: 140px; }
  .brand { padding: 0 16px 0 14px; }
  .header-cta .btn__label { display: none; }
  .header-cta .btn { padding-left: 10px; gap: 0; }
  .nav__link { padding: 0 9px; font-size: 13px; }
  .mega__links--3 .mlink__d { display: none; }
}
@media (max-width: 1199.98px) {
  .nav__link { padding: 0 6px; font-size: 12.6px; gap: 3px; }
  .nav__link .i { width: 10px; height: 10px; }
  .brand img { width: 126px; }
}
@media (max-width: 1099.98px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: grid; }
  .brand img { width: 150px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .std-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .mnav { display: none; } }
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .split, .split--wide, .split--contact { grid-template-columns: minmax(0, 1fr); }
  .cols-3, .ref-ind { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-4, .materials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 210px; grid-auto-flow: dense; }
  .bento__item--wide { grid-column: span 2; }
  .stat-stage { min-height: 480px; }
  .page-head .hero__notch { display: none; }
  .hero__content { padding: 100px 100px 200px; }
  .ref-card { width: 310px; }
  .ref-card__t { font-size: 17px; }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --inset: 10px; --r-xl: 24px; --r-lg: 20px; --notch: 18px; --float-size: 48px; --float-gap: 14px; --header-h: 60px; }
  body { font-size: 15.5px; }
  .wrap, .wrap--narrow { width: calc(100% - 32px); }
  .brand { height: 52px; padding: 0 14px 0 12px; border-radius: 18px 16px 16px 16px; }
  .brand img { width: 128px; }
  .burger { width: 52px; height: 52px; }
  .header-cta .lang { display: none; }
  :is(html[lang="en"], html[lang="de"]) .btn-row .btn { white-space: normal; text-align: left; line-height: 1.25; }
  .site-header.is-scrolled .brand, .site-header.is-scrolled .burger { height: 50px; }
  .site-header.is-scrolled .burger { width: 50px; }
  .notch--tl { padding: 0 8px 8px 0; } .notch--tr { padding: 0 0 8px 8px; } .notch--br { padding: 8px 0 0 8px; }
  .mnav { padding-top: calc(var(--inset) + 74px); }
  .mnav__sub ul { grid-template-columns: 1fr; }
  .mnav__link { font-size: 20px; }
  /* hero na telefonu: kartice iznad plutajućih dugmadi, kontrole uz desnu ivicu */
  .hero__content { padding: 92px 56px 200px; }
  .hero__title { font-size: clamp(1.95rem, 8.6vw, 2.6rem); margin: 16px 0 12px; }
  .hero__sub { font-size: .95rem; }
  .hero__actions { margin-top: 20px; gap: 8px; flex-direction: column; align-items: center; }
  .hero__actions .btn { min-height: 44px; padding: 4px 4px 4px 16px; font-size: 13.5px; gap: 10px; }
  .hero__actions .btn__ico { width: 34px; height: 34px; }
  .chip { font-size: 11.5px; }
  .hero__controls { right: 8px; gap: 7px; }
  .cbtn { width: 36px; height: 36px; }
  .cbtn .i { width: 14px; height: 14px; }
  .hero__count { font-size: 9px; padding: 3px 5px; letter-spacing: 0; }
  .ref-card__l .i { display: none; }
  .hero__stat { left: 10px; bottom: calc(var(--float-size) + var(--float-gap) + 2px); width: 148px; padding: 12px 12px 12px; border-radius: 18px; }
  .hero__stat-n { font-size: 36px; }
  .hero__stat-l { font-size: 9.5px; margin: 4px 0 10px; }
  .hero__stat .btn { min-height: 36px; font-size: 12px; padding: 3px 3px 3px 11px; gap: 8px; }
  .hero__stat .btn__ico { width: 28px; height: 28px; }
  .hero__notch { right: 10px; bottom: calc(var(--float-size) + var(--float-gap) + 2px); background: transparent; padding: 0; }
  .hero__notch::before, .hero__notch::after { display: none; }
  .ref-card { width: auto; max-width: calc(100vw - 2 * var(--inset) - 20px - 148px - 20px); gap: 10px; padding: 11px 12px 11px 11px; border-radius: 18px; box-shadow: var(--shadow); }
  .ref-card .circle-btn { width: 36px; height: 36px; }
  .ref-card .circle-btn .i { width: 15px; height: 15px; }
  .ref-card__t { font-size: 14px; }
  .ref-card__l { font-size: 11.5px; }
  .hero__scroll { display: none; }
  .page-head__canvas { padding: 96px 12px 12px; min-height: clamp(480px, 78svh, 640px); }
  .ph-panel { padding: 20px 18px 22px; }
  .panel { padding: 56px 0; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 220px; }
  .bento__item--big, .bento__item--wide, .bento__item--tall { grid-column: span 1; grid-row: span 1; }
  .bento__item--big { grid-row: span 2; }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stat { padding: 13px 14px; }
  .stat-stage { min-height: 0; padding: 10px; aspect-ratio: auto; }
  .stat-stage > img { position: absolute; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc--feature { grid-column: span 1; grid-row: span 1; min-height: 0; }
  .spec-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-strip > *:nth-child(2) { border-right: 0; }
  .spec-strip > *:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .std-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .std:last-child { grid-column: span 2; }
  .news-grid, .cols-2, .cols-3, .ref-ind, .plist, .related { grid-template-columns: minmax(0, 1fr); }
  .cols-4, .materials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cert__img { padding: 10px 10px 0; }
  .cert__body { padding: 12px 12px 16px; }
  .cert__body p { display: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gallery .ph { border-radius: 12px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 18px; }
  .footer__contact-col { grid-column: 1 / -1; }
  .lightbox { padding: 64px 10px 120px; }
  .lb-btn--prev, .lb-btn--next { top: auto; bottom: 26px; transform: none; }
  .lb-btn--prev { left: calc(50% - 62px); } .lb-btn--next { right: calc(50% - 62px); }
  .lightbox__img { max-height: calc(100svh - 230px); }
  .cta-band { padding: 14px; min-height: 0; }
  .map, .map iframe { min-height: 340px; }
  .assist { width: calc(100vw - 2 * var(--float-gap)); }
}
@media (max-width: 380px) {
  .hero__content { padding-left: 50px; padding-right: 50px; }
  .hero__controls { right: 6px; }
  .cbtn { width: 34px; height: 34px; }
  .hero__stat { width: 132px; }
  .hero__stat-n { font-size: 32px; }
  .ref-card__l { display: none; }
  .brand img { width: 116px; }
}
/* niski ekrani (telefon položeno) — sve u jednom ekranu bez preklapanja */
@media (max-height: 560px) and (orientation: landscape) {
  .hero__content { padding: 74px 120px 76px; }
  .hero__title { font-size: clamp(1.6rem, 4.4vw, 2.3rem); margin: 10px 0 8px; }
  .hero__sub { font-size: .9rem; max-width: 32rem; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  .hero__actions { flex-direction: row; margin-top: 14px; }
  .hero__actions .btn { min-height: 40px; padding: 3px 3px 3px 14px; font-size: 13px; gap: 8px; }
  .hero__actions .btn__ico { width: 32px; height: 32px; }
  .chip { padding-block: 3px; }
  .hero__controls { gap: 6px; }
  .cbtn { width: 34px; height: 34px; }
  .hero__count { display: none; }
  .hero__stat { left: calc(var(--float-size) + var(--float-gap) + 8px); bottom: 10px; width: auto; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; }
  .hero__stat-n { font-size: 28px; }
  .hero__stat-l { margin: 0; max-width: 6.5em; font-size: 9.5px; }
  .hero__stat .btn { min-height: 34px; font-size: 12px; }
  .hero__stat .btn__ico { width: 26px; height: 26px; }
  .hero__notch { right: calc(var(--float-size) + var(--float-gap) + 8px); bottom: 10px; background: transparent; padding: 0; }
  .hero__notch::before, .hero__notch::after { display: none; }
  .ref-card { width: auto; padding: 8px 12px 8px 8px; gap: 10px; box-shadow: var(--shadow); }
  .ref-card .circle-btn { width: 34px; height: 34px; }
  .ref-card__t { font-size: 14px; }
  .ref-card__l { display: none; }
  .hero__scroll { display: none; }
  .page-head__canvas { min-height: 100svh; }
}
@media (max-height: 560px) and (orientation: landscape) and (max-width: 740px) {
  .hero__stat-l, .hero__stat .btn__label { display: none; }
  .hero__content { padding-left: 64px; padding-right: 64px; }
}
@media (max-width: 640px) and (max-height: 700px) and (orientation: portrait) {
  .hero__content { padding-top: 84px; padding-bottom: 186px; }
  .hero__title { font-size: clamp(1.7rem, 7.6vw, 2.2rem); }
  .hero__sub { font-size: .88rem; }
  .hero__stat { padding: 10px; }
  .hero__stat-n { font-size: 30px; }
}
