/* ==========================================================================
   Udruga PSO — „Topla ruka, staklena svjetlost”
   Tamnoplava (#072F4B) i nebesko svijetle plohe, PSO plava #0E5C93,
   jedini sjajni akcent #4AB7FF. Bricolage Grotesque + Figtree.
   ========================================================================== */

:root {
    --navy-950: #041a2b;
    --navy-900: #072f4b;
    --navy-850: #07283f;
    --navy-800: #083452;
    --blue-700: #0e5c93;
    --blue-600: #1170b0;
    --blue-500: #1499ce;
    --sky-400: #4ab7ff;
    --sky-300: #86d0ff;
    --sky-100: #e3f3ff;
    --sky-50: #f2f9ff;
    --paper: #f6f9fb;
    --white: #ffffff;
    --ink: #0b2233;
    --ink-soft: #2c4558;
    --muted: #5a7082;
    --on-dark: #e8f3fb;
    --on-dark-muted: #a3baca;
    --line: rgba(7, 47, 75, .12);
    --line-dark: rgba(163, 186, 202, .18);
    --warm: #ffcf7a;

    --display: 'Bricolage Grotesque', 'Trebuchet MS', system-ui, sans-serif;
    --body: 'Figtree', 'Segoe UI', system-ui, sans-serif;

    --fs-base: 1.125rem;
    --radius-s: 12px;
    --radius: 22px;
    --radius-l: 34px;
    --wrap: 1240px;
    --gutter: clamp(1rem, 4vw, 2.5rem);

    --shadow-s: 0 1px 2px rgba(7, 47, 75, .06), 0 4px 12px -4px rgba(7, 47, 75, .12);
    --shadow: 0 2px 4px rgba(7, 47, 75, .04), 0 12px 32px -12px rgba(7, 47, 75, .22), 0 32px 64px -32px rgba(14, 92, 147, .28);
    --shadow-l: 0 4px 10px rgba(4, 26, 43, .08), 0 30px 60px -20px rgba(4, 26, 43, .45), 0 60px 120px -50px rgba(14, 92, 147, .5);
    --glow: 0 0 0 1px rgba(74, 183, 255, .35), 0 10px 40px -8px rgba(74, 183, 255, .55);

    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-reveal: cubic-bezier(.16, 1, .3, 1);
}

/* Veličina teksta (gumb A / A+ / A++) */
html[data-text='1'] { --fs-base: 1.25rem; }
html[data-text='2'] { --fs-base: 1.4rem; }

*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--body);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-700); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--blue-500); }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -.025em;
    margin: 0 0 .5em;
    color: inherit;
    text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.015em; }

:focus-visible {
    outline: 3px solid var(--sky-400);
    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 {
    position: fixed; left: 1rem; top: -4rem; z-index: 200;
    background: var(--white); color: var(--navy-900); padding: .8rem 1.2rem;
    border-radius: var(--radius-s); box-shadow: var(--shadow); font-weight: 700;
    transition: top .3s var(--ease);
}
.skip:focus { top: 1rem; }

.wrap {
    width: min(100% - var(--gutter) * 2, var(--wrap));
    margin-inline: auto;
}

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* Isticanje riječi u naslovima: *riječ* */
em.accent {
    font-style: normal;
    color: var(--blue-700);
    background: linear-gradient(100deg, var(--blue-700) 10%, var(--sky-400) 60%, var(--blue-500));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.is-dark em.accent, .on-dark em.accent, .hero em.accent, .page-hero em.accent, .help-cta em.accent, .quote-block em.accent {
    background: linear-gradient(100deg, var(--sky-300), var(--sky-400) 45%, #c5ebff);
    -webkit-background-clip: text;
    background-clip: text;
}

/* ---------- Atmosfera: zrno, točke, aurora ---------- */
.grain::after {
    content: '';
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    opacity: .5; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dots {
    position: absolute; pointer-events: none;
    background-image: radial-gradient(currentColor 1.4px, transparent 1.6px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent);
    mask-image: radial-gradient(closest-side, #000 30%, transparent);
}
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora span {
    position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
    animation: drift 22s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -18vw; background: radial-gradient(circle, #1499ce, transparent 65%); }
.aurora span:nth-child(2) { width: 38vw; height: 38vw; right: -10vw; top: 10%; background: radial-gradient(circle, #4ab7ff, transparent 62%); animation-duration: 28s; opacity: .4; }
.aurora span:nth-child(3) { width: 30vw; height: 30vw; left: 35%; bottom: -16vw; background: radial-gradient(circle, #0e5c93, transparent 65%); animation-duration: 34s; }
@keyframes drift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(4vw, 3vw, 0) scale(1.08); }
    100% { transform: translate3d(-3vw, 5vw, 0) scale(.96); }
}

/* ---------- Gumbi (sjajni / glossy) ---------- */
.btn {
    --bg: linear-gradient(180deg, #2a8fd6 0%, var(--blue-700) 55%, #0a4a78 100%);
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    min-height: 3.4rem; padding: .85rem 1.6rem;
    border: 0; border-radius: 999px;
    background: var(--bg);
    color: #fff; font-weight: 700; font-size: 1.02em; letter-spacing: .005em; text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 6px rgba(4, 26, 43, .25), 0 10px 24px -10px rgba(14, 92, 147, .9);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s;
}
.btn::before { /* gornji sjaj */
    content: ''; position: absolute; inset: 1px 1px 52% 1px; z-index: -1;
    border-radius: 999px 999px 40% 40% / 999px 999px 18px 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .04));
}
.btn::after { /* odbljesak koji prelazi gumb */
    content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -2px 6px rgba(4, 26, 43, .25), 0 18px 34px -12px rgba(14, 92, 147, .95), var(--glow); }
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }

.btn--sky { --bg: linear-gradient(180deg, #a7deff 0%, var(--sky-400) 50%, #2a9ee8 100%); color: var(--navy-950); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 6px rgba(14, 92, 147, .25), 0 10px 26px -10px rgba(74, 183, 255, .9); }
.btn--sky:hover { color: var(--navy-950); }
.btn--ghost {
    --bg: rgba(255, 255, 255, .06);
    color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--ghost::before { opacity: .35; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn--light {
    --bg: linear-gradient(180deg, #fff, #eef6fc);
    color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--line), 0 8px 20px -10px rgba(7, 47, 75, .35);
}
.btn--light:hover { color: var(--blue-700); }
.btn--small { min-height: 2.75rem; padding: .55rem 1.15rem; font-size: .95em; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .45em;
    font-weight: 700; text-decoration: none; color: var(--blue-700);
}
.link-arrow .icon { transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- Obavijesna traka i gornja traka ---------- */
.notice {
    position: relative; z-index: 60;
    background: linear-gradient(90deg, var(--blue-700), var(--blue-500), var(--blue-700));
    background-size: 200% 100%; animation: shimmer 8s linear infinite;
    color: #fff; text-align: center; font-weight: 600; font-size: .95em;
    padding: .55rem var(--gutter);
}
.notice a { color: #fff; }
@keyframes shimmer { to { background-position: -200% 0; } }

.topbar {
    background: var(--navy-950); color: var(--on-dark-muted);
    font-size: .88rem; position: relative; z-index: 55;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; }
.topbar__info { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; }
.topbar__info a:hover { color: #fff; }
.topbar__info .icon { color: var(--sky-400); width: 1.05em; height: 1.05em; }
.textsize { display: flex; align-items: center; gap: .3rem; }
.textsize__label { margin-right: .3rem; }
.textsize button {
    width: 2.1rem; height: 2.1rem; border-radius: 9px; border: 1px solid var(--line-dark);
    background: rgba(255, 255, 255, .04); color: #fff; font-family: var(--display); font-weight: 700; line-height: 1;
    transition: background .25s, border-color .25s;
}
.textsize button:nth-of-type(2) { font-size: 1.1em; }
.textsize button:nth-of-type(3) { font-size: 1.25em; }
.textsize button[aria-pressed='true'] { background: var(--sky-400); border-color: var(--sky-400); color: var(--navy-950); }
.textsize button:hover { border-color: var(--sky-400); }

/* ---------- Zaglavlje ---------- */
.header {
    position: sticky; top: 0; z-index: 50;
    transition: transform .45s var(--ease);
}
.header__bar {
    background: rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: saturate(1.6) blur(18px);
    backdrop-filter: saturate(1.6) blur(18px);
    border-bottom: 1px solid transparent;
    transition: background .35s, box-shadow .35s, border-color .35s;
}
.header.is-scrolled .header__bar { background: rgba(255, 255, 255, .9); border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(7, 47, 75, .35); }
.header.is-hidden { transform: translateY(-100%); }
.header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 5.25rem; transition: min-height .35s var(--ease); }
.header.is-scrolled .wrap { min-height: 4.4rem; }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--navy-900); flex: none; }
.brand__mark { width: 3rem; height: 3rem; border-radius: 15px; box-shadow: 0 10px 22px -10px rgba(14, 92, 147, .9); transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; color: var(--blue-700); text-transform: uppercase; }
.brand__tag { font-family: var(--display); font-weight: 600; font-size: .86rem; color: var(--blue-500); margin-top: .3rem; letter-spacing: .01em; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; }
.nav__link {
    position: relative; display: inline-flex; align-items: center; gap: .3rem;
    padding: .6rem .8rem; border-radius: 999px;
    color: var(--ink-soft); font-weight: 650; font-size: 1rem; text-decoration: none; white-space: nowrap;
    transition: color .25s, background .25s;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { color: var(--blue-700); background: var(--sky-50); }
.nav__link[aria-current='page'] { color: var(--blue-700); }
.nav__link[aria-current='page']::after {
    content: ''; position: absolute; left: 50%; bottom: .2rem; width: 18px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--blue-700), var(--sky-400)); transform: translateX(-50%);
}
.nav__item { position: relative; }
.nav__sub {
    position: absolute; top: calc(100% + .6rem); left: 50%; min-width: 300px;
    list-style: none; margin: 0; padding: .6rem;
    background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-l);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav__sub::before { content: ''; position: absolute; inset: -.8rem 0 auto; height: .8rem; }
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__sub a { display: flex; flex-direction: column; padding: .75rem .9rem; border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 700; line-height: 1.3; }
.nav__sub a small { font-weight: 500; color: var(--muted); font-size: .85rem; margin-top: .15rem; }
.nav__sub a:hover { background: var(--sky-50); color: var(--blue-700); }
.nav__chev { width: .85em; height: .85em; transition: transform .3s var(--ease); }
.nav__item:hover .nav__chev { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn {
    width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%;
    border: 1px solid var(--line); background: var(--white); color: var(--navy-900);
    box-shadow: var(--shadow-s); transition: transform .3s var(--ease), color .25s, border-color .25s;
}
.icon-btn:hover { transform: translateY(-2px); color: var(--blue-700); border-color: var(--sky-400); }
.header__phone { white-space: nowrap; }
.menu-toggle { display: none; }

/* Mobilni izbornik */
.mobile-nav {
    position: fixed; inset: 0; z-index: 90;
    background: radial-gradient(120% 80% at 100% 0%, rgba(74, 183, 255, .35), transparent 60%), var(--navy-900);
    color: #fff; padding: 1.25rem var(--gutter) 2rem;
    display: flex; flex-direction: column; gap: 1rem; overflow-y: auto;
    clip-path: circle(0 at calc(100% - 3rem) 3rem); visibility: hidden;
    transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.mobile-nav.is-open { clip-path: circle(150% at calc(100% - 3rem) 3rem); visibility: visible; transition: clip-path .7s var(--ease); }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav__top .brand__name { color: #fff; }
.mobile-nav__top .brand__tag { color: var(--sky-300); }
.mobile-nav ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.mobile-nav { overflow-x: hidden; }
.mobile-nav li { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + .15s); }
.mobile-nav.is-open li { opacity: 1; transform: none; }
.mobile-nav a.mobile-nav__link {
    display: flex; justify-content: space-between; align-items: center;
    padding: .9rem 0; border-bottom: 1px solid var(--line-dark);
    color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.7rem; letter-spacing: -.02em;
}
.mobile-nav a.mobile-nav__link small { font-family: var(--body); font-size: .9rem; color: var(--on-dark-muted); font-weight: 500; }
.mobile-nav__sub a { padding: .55rem 0 .55rem 1rem !important; font-size: 1.15rem !important; border-bottom: 0 !important; color: var(--sky-300) !important; }
.mobile-nav__cta { margin-top: auto; display: grid; gap: .7rem; }

/* ---------- Pretraga ---------- */
.search-dialog {
    width: min(680px, calc(100% - 2rem)); margin-top: 12vh; padding: 0; border: 0; border-radius: var(--radius-l);
    background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-l); color: var(--ink);
}
.search-dialog::backdrop { background: rgba(4, 26, 43, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.search-dialog[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.search-dialog__field { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.search-dialog__field input { flex: 1; border: 0; outline: 0; font-size: 1.3rem; background: transparent; color: var(--ink); }
.search-dialog__field .icon { color: var(--blue-700); width: 1.5rem; height: 1.5rem; }
.search-results { list-style: none; margin: 0; padding: .6rem; max-height: 55vh; overflow-y: auto; }
.search-results a { display: block; padding: .8rem 1rem; border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 650; }
.search-results a small { display: block; color: var(--muted); font-weight: 500; font-size: .85rem; }
.search-results a:hover, .search-results a.is-active { background: var(--sky-50); color: var(--blue-700); }
.search-empty { padding: 1.4rem; color: var(--muted); text-align: center; margin: 0; }

/* ---------- Sekcije ---------- */
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); isolation: isolate; overflow-x: clip; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--light { background: var(--paper); }
.section--white { background: var(--white); }
.section--sky { background: linear-gradient(180deg, var(--sky-50), var(--paper)); }
.is-dark { background: var(--navy-900); color: var(--on-dark); }
.is-dark.is-deeper { background: var(--navy-850); }
.is-dark h2, .is-dark h3 { color: #fff; }
.is-dark .sec-head__lead { color: var(--on-dark-muted); }

.sec-head { display: grid; gap: 1rem; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); max-width: 52rem; position: relative; z-index: 1; }
.sec-head--split { max-width: none; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 2rem 4rem; }
.sec-head h2 { margin: 0; }
.sec-head__lead { margin: 0; color: var(--muted); font-size: 1.08em; }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .65rem;
    font-family: var(--display); font-weight: 650; font-size: .92rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--blue-500);
}
.eyebrow::before {
    content: ''; width: 2.2rem; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--blue-700), var(--sky-400));
}
.is-dark .eyebrow, .on-dark .eyebrow, .eyebrow.on-dark, .hero .eyebrow, .page-hero .eyebrow { color: var(--sky-300); }
.help-cta .eyebrow { color: #fff; }
.help-cta .eyebrow::before { background: linear-gradient(90deg, #fff, var(--sky-300)); }

/* ---------- Hero ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    background: radial-gradient(120% 90% at 90% 10%, #0e4f80 0%, transparent 55%), linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%);
    color: var(--on-dark);
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(9rem, 14vw, 12rem);
}
.hero .dots { color: rgba(134, 208, 255, .35); width: 520px; height: 520px; right: -60px; bottom: -120px; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__copy { position: relative; min-height: 31rem; display: grid; }
.hero__slide-copy { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.hero__slide-copy.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.hero h1, .hero .h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); color: #fff; margin: 1.2rem 0 1.4rem; font-family: var(--display); font-weight: 780; line-height: 1.02; letter-spacing: -.035em; }
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__line > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-reveal); transition-delay: calc(var(--d, 0) * 90ms + .1s); }
.hero__slide-copy.is-active .hero__line > span { transform: none; }
.hero__text { font-size: 1.2em; color: var(--on-dark-muted); max-width: 34rem; margin-bottom: 2rem; opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease) .45s, transform .8s var(--ease) .45s; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease) .6s, transform .8s var(--ease) .6s; }
.hero__slide-copy.is-active .hero__text, .hero__slide-copy.is-active .hero__ctas { opacity: 1; transform: none; }

.hero__controls { display: flex; align-items: center; gap: 1.2rem; margin-top: 2.6rem; position: relative; z-index: 3; }
.hero__count { font-family: var(--display); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.hero__count span { color: var(--on-dark-muted); font-weight: 500; }
.hero__progress { display: flex; gap: .45rem; }
.hero__progress button {
    position: relative; width: 3.4rem; height: .5rem; padding: 0; border: 0; border-radius: 99px; overflow: hidden;
    background: rgba(255, 255, 255, .16);
}
.hero__progress button::before { content: ''; position: absolute; inset: -12px 0; }
.hero__progress button i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--sky-400), #c9eeff); border-radius: inherit; }
.hero__progress button.is-active i { animation: progress var(--dur, 7s) linear forwards; }
.hero.is-paused .hero__progress button.is-active i { animation-play-state: paused; }
.hero__progress button.is-done i { transform: scaleX(1); }
@keyframes progress { to { transform: scaleX(1); } }
.hero__arrows { display: flex; gap: .5rem; margin-left: auto; }
.hero__arrows button { width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); transition: background .3s, transform .3s var(--ease); }
.hero__arrows button:hover { background: rgba(255, 255, 255, .16); transform: scale(1.06); }

.hero__visual { position: relative; aspect-ratio: 4 / 4.3; }
.hero__frame {
    position: absolute; inset: 0; border-radius: 46% 54% 44% 56% / 38% 40% 60% 62%;
    overflow: hidden; box-shadow: var(--shadow-l);
    animation: blob 18s ease-in-out infinite alternate;
    background: var(--navy-800);
}
@keyframes blob {
    0% { border-radius: 46% 54% 44% 56% / 38% 40% 60% 62%; }
    50% { border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; }
    100% { border-radius: 40% 60% 60% 40% / 54% 44% 56% 46%; }
}
.hero__img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__img.is-active { opacity: 1; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 8s linear; }
.hero__img.is-active img { transform: scale(1); }
.hero__frame::after { /* staklo i sjaj na slici */
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 32%), linear-gradient(0deg, rgba(4, 26, 43, .45), transparent 45%);
    pointer-events: none;
}
.hero__ring { position: absolute; inset: -5%; border-radius: 50%; border: 1px dashed rgba(134, 208, 255, .35); animation: spin 60s linear infinite; pointer-events: none; }
.hero__ring::after { content: ''; position: absolute; top: 12%; left: 6%; width: 14px; height: 14px; border-radius: 50%; background: var(--sky-400); box-shadow: 0 0 20px 4px rgba(74, 183, 255, .7); }
@keyframes spin { to { transform: rotate(360deg); } }

.glass {
    background: linear-gradient(140deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08));
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    backdrop-filter: blur(18px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, .32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 20px 50px -20px rgba(4, 26, 43, .6);
}
.hero__call {
    position: absolute; left: -2.5rem; bottom: 8%; z-index: 3;
    display: flex; align-items: center; gap: .9rem; padding: 1rem 1.3rem 1rem 1rem;
    border-radius: 22px; color: #fff; text-decoration: none;
    animation: float 6s ease-in-out infinite;
}
.hero__call:hover { color: #fff; }
.hero__call-icon { width: 3.2rem; height: 3.2rem; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(180deg, #8fd5ff, var(--sky-400)); color: var(--navy-950); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 8px 18px -6px rgba(74, 183, 255, .8); }
.hero__call-icon .icon { width: 1.45rem; height: 1.45rem; }
.hero__call small { display: block; font-size: .85rem; color: var(--on-dark); opacity: .85; }
.hero__call strong { font-family: var(--display); font-size: 1.35rem; letter-spacing: -.01em; }
.hero__badge {
    position: absolute; right: -1rem; top: 6%; z-index: 3;
    width: 7.4rem; height: 7.4rem; border-radius: 50%; display: grid; place-content: center; text-align: center;
    color: #fff; animation: float 7s ease-in-out -2s infinite;
}
.hero__badge strong { font-family: var(--display); font-size: 2rem; line-height: 1; letter-spacing: -.03em; }
.hero__badge span { font-size: .8rem; color: var(--on-dark); }
@keyframes float { 50% { transform: translateY(-12px); } }

.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; color: var(--paper); height: clamp(60px, 9vw, 130px); width: 100%; }

/* ---------- Istaknuto (3 kartice preko vala) ---------- */
.features { position: relative; z-index: 5; margin-top: clamp(-9rem, -12vw, -7rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); }
.feature-box {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: var(--radius-l); padding: 1.1rem; color: #fff;
    background: linear-gradient(165deg, #2fb0ef 0%, var(--blue-500) 35%, var(--blue-700) 100%);
    box-shadow: var(--shadow-l); display: flex; flex-direction: column;
}
.feature-box::before { content: ''; position: absolute; inset: 0 0 55%; background: linear-gradient(180deg, rgba(255, 255, 255, .3), transparent); z-index: -1; }
.feature-box__img { border-radius: calc(var(--radius-l) - 10px); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 16px 30px -18px rgba(4, 26, 43, .8); }
.feature-box__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature-box:hover .feature-box__img img { transform: scale(1.06); }
.feature-box__body { padding: 1.4rem .7rem .6rem; display: flex; flex-direction: column; flex: 1; }
.feature-box h3 { font-size: 1.9rem; margin-bottom: .5rem; color: #fff; }
.feature-box p { color: rgba(255, 255, 255, .88); }
.feature-box .btn { margin-top: auto; align-self: flex-start; }

.card {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--white); border-radius: var(--radius-l);
    box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .7);
    display: flex; flex-direction: column;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky-100); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.07); }
.card__img::after { /* sjajni odbljesak */
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 48%, transparent 66%);
    transform: translateX(-120%); transition: transform 1s var(--ease);
}
.card:hover .card__img::after { transform: translateX(120%); }
.card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card__body h3 { margin: 0; }
.card__body h3 a { color: var(--ink); text-decoration: none; }
.card__body h3 a::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.card__body p { color: var(--muted); margin: 0; }
.card__body .link-arrow { margin-top: auto; padding-top: .6rem; position: relative; z-index: 3; }
.card__meta { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }

.tag {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .28rem .7rem; border-radius: 999px;
    background: color-mix(in srgb, var(--c, var(--blue-700)) 12%, white);
    color: color-mix(in srgb, var(--c, var(--blue-700)) 85%, black);
    font-size: .8rem; font-weight: 700; letter-spacing: .02em; text-decoration: none;
}
.tag::before { content: ''; width: .45rem; height: .45rem; border-radius: 50%; background: var(--c, var(--blue-700)); }

/* ---------- Brojke ---------- */
.stats { position: relative; z-index: 2; padding-top: 0 !important; }
.stats__grid {
    display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
    border-radius: var(--radius-l); overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(242, 249, 255, .82));
    border: 1px solid #fff; box-shadow: var(--shadow);
}
.stat { padding: clamp(1.4rem, 3vw, 2.2rem); position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.stat__value { white-space: nowrap; font-family: var(--display); font-weight: 780; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; letter-spacing: -.04em; color: var(--blue-700); font-variant-numeric: tabular-nums; }
.stat__value small { font-size: .55em; color: var(--sky-400); margin-left: .05em; }
.stat__label { margin-top: .5rem; color: var(--muted); font-weight: 600; line-height: 1.35; }
.is-dark .stats__grid { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); box-shadow: none; }
.is-dark .stat__value { color: #fff; }
.is-dark .stat__label { color: var(--on-dark-muted); }

/* ---------- Novosti ---------- */
.news { overflow: hidden; }
.news .aurora span { opacity: .3; }
.news__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.news-lead { position: relative; border-radius: var(--radius-l); overflow: hidden; min-height: 32rem; display: flex; align-items: flex-end; box-shadow: var(--shadow-l); isolation: isolate; color: #fff; }
.news-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.news-lead:hover img { transform: scale(1.05); }
.news-lead::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 26, 43, .95) 8%, rgba(4, 26, 43, .25) 58%, rgba(4, 26, 43, .05)); }
.news-lead__body { padding: clamp(1.5rem, 3vw, 2.4rem); display: grid; gap: .8rem; }
.news-lead h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin: 0; }
.news-lead h3 a { color: #fff; text-decoration: none; }
.news-lead h3 a::after { content: ''; position: absolute; inset: 0; }
.news-lead p { color: var(--on-dark); margin: 0; max-width: 38rem; }
.news__list { display: grid; gap: 1rem; align-content: start; }
.news-item {
    position: relative; display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.1rem; align-items: center;
    padding: .8rem; border-radius: var(--radius); text-decoration: none; color: var(--on-dark);
    background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark);
    transition: background .35s, transform .45s var(--ease), border-color .35s;
}
.news-item:hover { background: rgba(255, 255, 255, .09); border-color: rgba(74, 183, 255, .45); transform: translateX(6px); color: #fff; }
.news-item__img { aspect-ratio: 1; border-radius: 16px; overflow: hidden; }
.news-item__img img { width: 100%; height: 100%; object-fit: cover; }
.news-item time { font-size: .85rem; color: var(--sky-300); font-weight: 600; }
.news-item strong { display: block; font-family: var(--display); font-size: 1.15rem; line-height: 1.25; color: #fff; margin-top: .2rem; letter-spacing: -.01em; }
.news__more { margin-top: clamp(2rem, 4vw, 3rem); display: flex; justify-content: center; position: relative; z-index: 1; }

.date-chip {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    min-width: 4rem; padding: .45rem .6rem; border-radius: 14px; line-height: 1;
    font-family: var(--display); color: var(--navy-900);
}
.date-chip b { font-size: 1.6rem; letter-spacing: -.03em; }
.date-chip span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-top: .25rem; color: var(--blue-700); }
.card__img .date-chip { position: absolute; top: 1rem; left: 1rem; z-index: 2; }

/* ---------- Misija ---------- */
.mission__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.mission__head { position: sticky; top: 8rem; }
.mission__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; counter-reset: m; }
.mission__item {
    position: relative; counter-increment: m;
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.4rem; align-items: center;
    padding: 1.6rem 1.8rem; border-radius: var(--radius-l); background: var(--white);
    box-shadow: var(--shadow); overflow: hidden; isolation: isolate;
    transition: transform .5s var(--ease);
}
.mission__item:hover { transform: translateX(8px); }
.mission__item::after {
    content: '0' counter(m); position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); z-index: -1;
    font-family: var(--display); font-weight: 800; font-size: 6.5rem; line-height: 1; letter-spacing: -.05em;
    color: transparent; -webkit-text-stroke: 1.5px rgba(14, 92, 147, .12);
}
.mission__item p { margin: 0; font-size: 1.15em; font-weight: 600; color: var(--ink); line-height: 1.45; padding-right: 3rem; }

.gloss-tile {
    position: relative; width: 4.4rem; height: 4.4rem; flex: none; border-radius: 20px; display: grid; place-items: center;
    color: #fff; overflow: hidden;
    background: linear-gradient(160deg, #6cc6ff 0%, var(--blue-500) 45%, var(--blue-700) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -3px 8px rgba(4, 26, 43, .25), 0 12px 24px -10px rgba(14, 92, 147, .8);
}
.gloss-tile::before { content: ''; position: absolute; inset: 2px 2px 50%; border-radius: 18px 18px 50% 50% / 18px 18px 14px 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); }
.gloss-tile .icon { width: 2rem; height: 2rem; position: relative; }

/* ---------- Usluge — editorijalna numerirana lista ---------- */
.services { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.service-list { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--line); }
.service-row { counter-increment: s; border-bottom: 1px solid var(--line); }
.service-row__btn {
    width: 100%; display: grid; grid-template-columns: 3.4rem auto minmax(0, 1fr) auto; gap: 1.2rem; align-items: center;
    padding: 1.5rem .4rem; background: none; border: 0; text-align: left; color: var(--ink);
    transition: padding .45s var(--ease), color .3s;
}
.service-row__btn::before { content: '0' counter(s); font-family: var(--display); font-weight: 700; color: var(--muted); font-size: 1rem; font-variant-numeric: tabular-nums; }
.service-row__title { font-family: var(--display); font-weight: 720; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.025em; line-height: 1.1; }
.service-row__icon { width: 3rem; height: 3rem; border-radius: 14px; display: grid; place-items: center; color: var(--blue-700); background: var(--sky-100); transition: background .35s, color .35s, transform .45s var(--ease); }
.service-row__plus { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .45s var(--ease), background .3s, color .3s; color: var(--blue-700); }
.service-row.is-open .service-row__btn, .service-row__btn:hover { padding-left: 1.2rem; color: var(--blue-700); }
.service-row.is-open .service-row__icon, .service-row__btn:hover .service-row__icon { background: linear-gradient(160deg, #6cc6ff, var(--blue-700)); color: #fff; transform: rotate(-8deg); }
.service-row.is-open .service-row__plus { transform: rotate(45deg); background: var(--blue-700); color: #fff; border-color: transparent; }
.service-row__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.service-row.is-open .service-row__panel { grid-template-rows: 1fr; }
.service-row__panel > div { overflow: hidden; }
.service-row__text { padding: 0 0 1.6rem 4.6rem; color: var(--ink-soft); max-width: 44rem; }
.service-row__text img { display: none; border-radius: var(--radius); margin-top: 1rem; aspect-ratio: 16 / 10; object-fit: cover; }
.services__preview { position: sticky; top: 8rem; aspect-ratio: 4 / 5; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); background: var(--sky-100); }
.services__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.services__preview img.is-active { opacity: 1; transform: none; }
.services__preview::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .25), transparent 35%); pointer-events: none; }
.services__caption { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 2; padding: 1rem 1.2rem; border-radius: 18px; color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.2rem; }

/* ---------- Tim ---------- */
.team__people { display: contents; }
.team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr); gap: clamp(1rem, 2vw, 1.5rem); align-items: start; position: relative; z-index: 1; }
.person { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 3 / 4; background: linear-gradient(160deg, var(--blue-700), var(--navy-900)); box-shadow: var(--shadow-l); isolation: isolate; }
.person img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.95); }
.person:hover img { transform: scale(1.06); filter: saturate(1.08); }
.person__initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 4rem; color: rgba(255, 255, 255, .5); }
.person__tag { position: absolute; left: .8rem; right: .8rem; bottom: .8rem; padding: .9rem 1rem; border-radius: 18px; color: #fff; }
.person__tag strong { display: block; font-family: var(--display); font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.2; }
.person__tag span { font-size: .88rem; color: var(--on-dark); }
  .team__card { align-self: stretch;
    border-radius: var(--radius-l); padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1rem;
    background: linear-gradient(160deg, rgba(74, 183, 255, .22), rgba(14, 92, 147, .18)); border: 1px solid var(--line-dark);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.team__card h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 0; text-transform: uppercase; letter-spacing: -.01em; }
.team__card p { color: var(--on-dark-muted); margin: 0; }
.team__card .btn { margin-top: auto; align-self: flex-start; }
.team__count { display: flex; align-items: baseline; gap: .6rem; font-family: var(--display); color: #fff; }
.team__count b { font-size: 3.4rem; line-height: 1; letter-spacing: -.04em; background: linear-gradient(180deg, #fff, var(--sky-300)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Citat ---------- */
.quote-band { text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 62rem; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.12; letter-spacing: -.03em; position: relative; z-index: 1; }
.quote-band blockquote::before { content: '„'; display: block; font-size: 2.2em; line-height: .5; color: var(--sky-400); margin-bottom: .2em; }
.quote-band figcaption { margin-top: 1.4rem; color: var(--on-dark-muted); font-weight: 600; position: relative; z-index: 1; }

/* ---------- Poziv: zatražite pomoć ---------- */
.help-cta {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: clamp(28px, 4vw, 48px); padding: clamp(2.2rem, 6vw, 4.5rem);
    background: radial-gradient(90% 120% at 100% 0%, rgba(134, 208, 255, .65), transparent 55%), linear-gradient(140deg, var(--blue-500) 0%, var(--blue-700) 50%, var(--navy-900) 100%);
    color: #fff; box-shadow: var(--shadow-l);
    display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem 4rem; align-items: center;
}
.help-cta::before { content: ''; position: absolute; inset: 0 0 60%; background: linear-gradient(180deg, rgba(255, 255, 255, .18), transparent); z-index: -1; }
.help-cta .dots { color: rgba(255, 255, 255, .35); width: 380px; height: 380px; right: -40px; top: -60px; }
.help-cta h2 { color: #fff; margin: .8rem 0 1rem; }
.help-cta p { color: rgba(255, 255, 255, .85); font-size: 1.1em; margin: 0; }
.help-cta__side { display: grid; gap: 1rem; justify-items: start; position: relative; z-index: 1; }
.help-cta__phone { display: flex; align-items: center; gap: 1rem; color: #fff; text-decoration: none; padding: 1.1rem 1.4rem; border-radius: 24px; width: 100%; }
.help-cta__phone:hover { color: #fff; }
.help-cta__phone small { display: block; font-size: .9rem; opacity: .85; }
.help-cta__phone strong { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.02em; line-height: 1.1; }
.heart-beat { animation: beat 1.8s ease-in-out infinite; transform-origin: center; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(.96); } 45% { transform: scale(1.1); } }

/* ---------- Partneri (marquee) ---------- */
.partners { overflow: hidden; }
.marquee { position: relative; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 1.2rem; }
.marquee__track { display: flex; gap: 1.2rem; padding-right: 1.2rem; flex: none; list-style: none; margin: 0; padding-left: 0; animation: marquee 48s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.logo-tile {
    width: 13rem; height: 7rem; display: grid; place-items: center; padding: 1.1rem 1.4rem;
    border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s);
    transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.logo-tile img { max-height: 4.2rem; width: auto; object-fit: contain; filter: grayscale(1) contrast(.9); opacity: .78; transition: filter .4s, opacity .4s; }
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky-400); }
.logo-tile:hover img { filter: none; opacity: 1; }

/* ---------- Podnožje ---------- */
.footer { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-950); color: var(--on-dark-muted); padding-top: clamp(4rem, 8vw, 6rem); }
.footer .dots { color: rgba(74, 183, 255, .18); width: 600px; height: 600px; left: -200px; top: -200px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.2fr; gap: clamp(2rem, 4vw, 3rem); position: relative; z-index: 1; }
.footer h2 { font-size: 1.25rem; color: #fff; margin-bottom: 1.2rem; letter-spacing: -.01em; display: flex; align-items: center; gap: .6rem; }
.footer h2::before { content: ''; width: 1.2rem; height: 3px; border-radius: 3px; background: var(--sky-400); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: var(--sky-300); text-decoration: underline; }
.footer__contact li { display: flex; gap: .8rem; align-items: flex-start; }
.footer__contact .icon { color: var(--sky-400); margin-top: .2rem; }
.footer__links { grid-template-columns: 1fr 1fr; }
.hours { border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); overflow: hidden; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 1rem; font-size: .95rem; }
.hours span:last-child { white-space: nowrap; }
.hours div + div { border-top: 1px solid var(--line-dark); }
.hours .is-today { background: linear-gradient(90deg, rgba(74, 183, 255, .22), rgba(74, 183, 255, .06)); color: #fff; font-weight: 700; }
.hours .is-today span:first-child::after { content: ' · danas'; color: var(--sky-300); font-weight: 600; }
.footer__news a { display: block; font-weight: 650; line-height: 1.35; }
.footer__news time { display: block; font-size: .85rem; color: var(--on-dark-muted); margin-top: .2rem; }
.footer__news li + li { margin-top: .8rem; }
.footer__bottom { margin-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line-dark); padding-block: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .9rem; position: relative; z-index: 1; }
.social { display: flex; gap: .5rem; margin-top: 1.2rem; }
.social a { width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); transition: background .3s, transform .3s var(--ease); }
.social a:hover { background: var(--sky-400); color: var(--navy-950); transform: translateY(-3px); text-decoration: none; }

.to-top {
    position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40; width: 3.4rem; height: 3.4rem; border-radius: 50%; border: 0;
    display: grid; place-items: center; color: #fff;
    background: linear-gradient(180deg, #2a8fd6, var(--blue-700)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), var(--shadow);
    opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg.ring { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--sky-400); stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0)); stroke-linecap: round; }

/* ---------- Zaglavlje podstranice ---------- */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate;
    background: radial-gradient(90% 120% at 100% 0%, #0e4f80 0%, transparent 55%), linear-gradient(160deg, var(--navy-900), var(--navy-950));
    color: var(--on-dark); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(6rem, 10vw, 8rem);
}
.page-hero .dots { color: rgba(134, 208, 255, .3); width: 460px; height: 460px; right: -80px; top: -120px; }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__head { width: 100%; }
.page-hero__eyebrow { margin: 1.8rem 0 0; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 4.6rem); margin: 1rem 0 1.4rem; max-width: none; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
.page-hero__head > nav + h1 { margin-top: 1.6rem; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.page-hero--image .page-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.page-hero__intro { font-size: 1.2em; color: var(--on-dark-muted); max-width: 48rem; margin: 0; }
.page-hero__img { position: relative; aspect-ratio: 4 / 3; border-radius: 40% 60% 46% 54% / 46% 40% 60% 54%; overflow: hidden; box-shadow: var(--shadow-l); animation: blob 18s ease-in-out infinite alternate; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .28), transparent 35%); }
.page-hero .hero__wave { height: clamp(40px, 6vw, 90px); }

.crumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; color: var(--on-dark-muted); }
.crumbs li + li::before { content: '/'; margin-right: .4rem; opacity: .5; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: var(--sky-300); }

/* ---------- Sadržaj (prose) ---------- */
.prose { max-width: 46rem; color: var(--ink-soft); }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); margin: 1.6em 0 .2em; }
.prose h3 { color: var(--ink); margin: 1.4em 0 .2em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--blue-500); font-weight: 700; }
.prose blockquote { margin: 1.6em 0; padding: 1.2rem 1.6rem; border-left: 4px solid var(--sky-400); background: var(--sky-50); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.1em; color: var(--ink); }
.prose a { font-weight: 600; }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95em; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.prose strong { color: var(--ink); }
.lead { font-size: 1.22em; color: var(--ink); line-height: 1.55; }

/* ---------- Blokovi stranica ---------- */
.full-bleed { margin-inline: calc(50% - 50vw); }
.blocks > .block + .block { margin-top: clamp(3rem, 7vw, 6rem); }
.block-heading { display: grid; gap: .8rem; }
.block-heading h2 { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--left .split__media { order: -1; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-l); box-shadow: var(--shadow-l); aspect-ratio: 4 / 3.4; object-fit: cover; }
.split__media::before { content: ''; position: absolute; inset: 8% -6% -6% 8%; border-radius: var(--radius-l); background: linear-gradient(140deg, var(--sky-400), var(--blue-700)); opacity: .18; z-index: -1; }
.split__media .dots { color: var(--blue-500); width: 220px; height: 220px; right: -60px; top: -50px; z-index: -1; opacity: .5; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 1.4rem; }
.timeline::before { content: ''; position: absolute; left: 7.6rem; top: .6rem; bottom: .6rem; width: 2px; background: linear-gradient(180deg, var(--sky-400), var(--blue-700), transparent); }
.timeline li { display: grid; grid-template-columns: 6.4rem 2.4rem minmax(0, 1fr); align-items: start; gap: 0; }
.timeline__year { font-family: var(--display); font-weight: 780; font-size: 1.7rem; letter-spacing: -.03em; color: var(--blue-700); line-height: 1.15; padding-top: .6rem; }
.timeline__dot { width: 1.1rem; height: 1.1rem; margin: 1rem 0 0 .62rem; border-radius: 50%; background: #fff; border: 3px solid var(--sky-400); box-shadow: 0 0 0 6px rgba(74, 183, 255, .18); position: relative; z-index: 1; }
.timeline__card { background: var(--white); border-radius: var(--radius); padding: 1.2rem 1.5rem; box-shadow: var(--shadow-s); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s; }
.timeline__card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.timeline__card h3 { margin: 0 0 .3rem; font-size: 1.3rem; }
.timeline__card p { margin: 0; color: var(--muted); }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: .8rem; grid-auto-flow: dense; }
.gallery-grid a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--sky-100); box-shadow: var(--shadow-s); }
.gallery-grid a:nth-child(7n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-grid a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 26, 43, .5), transparent 50%); opacity: 0; transition: opacity .4s; }
.gallery-grid a:hover img { transform: scale(1.07); }
.gallery-grid a:hover::after { opacity: 1; }
.gallery-grid .zoom { position: absolute; right: .8rem; bottom: .8rem; z-index: 2; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; color: #fff; opacity: 0; transform: scale(.8); transition: opacity .35s, transform .35s var(--ease); }
.gallery-grid a:hover .zoom { opacity: 1; transform: none; }

.quote-block { position: relative; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-l); background: linear-gradient(140deg, var(--navy-900), var(--blue-700)); color: #fff; box-shadow: var(--shadow-l); overflow: hidden; }
.quote-block blockquote { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.2; letter-spacing: -.02em; }
.quote-block figcaption { margin-top: 1rem; color: var(--on-dark-muted); }

.faq { display: grid; gap: .8rem; max-width: 52rem; }
.faq details { border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 1.5rem; font-weight: 700; font-size: 1.1em; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--blue-700); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.3rem; margin: 0; color: var(--ink-soft); }

.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.doc {
    display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius);
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s); text-decoration: none; color: var(--ink);
    transition: transform .4s var(--ease), border-color .3s, box-shadow .3s;
}
.doc:hover { transform: translateY(-3px); border-color: var(--sky-400); box-shadow: var(--shadow); color: var(--blue-700); }
.doc__ext { width: 3rem; height: 3rem; border-radius: 12px; display: grid; place-items: center; flex: none; font-family: var(--display); font-weight: 800; font-size: .75rem; color: #fff; background: linear-gradient(160deg, #6cc6ff, var(--blue-700)); text-transform: uppercase; }
.doc strong { display: block; font-weight: 700; }
.doc small { color: var(--muted); }
.doc .icon { margin-left: auto; color: var(--blue-700); }

.cta-block { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.8rem, 4vw, 2.8rem); border-radius: var(--radius-l); background: linear-gradient(135deg, var(--sky-100), #fff); border: 1px solid #fff; box-shadow: var(--shadow); }
.cta-block h2 { margin: 0 0 .3rem; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-block p { margin: 0; color: var(--muted); }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); background: var(--navy-900); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Usluge (stranica) ---------- */
.service-cards { display: grid; gap: clamp(1.2rem, 3vw, 2rem); }
.service-card {
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: var(--radius-l); overflow: hidden;
    background: var(--white); box-shadow: var(--shadow); scroll-margin-top: 8rem;
}
.service-card:nth-child(even) .service-card__img { order: 2; }
.service-card__img { position: relative; min-height: 20rem; overflow: hidden; }
.service-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.service-card:hover .service-card__img img { transform: scale(1.05); }
.service-card__body { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
.service-card__num { font-family: var(--display); font-weight: 800; color: var(--sky-400); font-size: 1rem; letter-spacing: .1em; }
.service-card h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.service-card:target { box-shadow: 0 0 0 3px var(--sky-400), var(--shadow-l); }

/* ---------- Djelatnici (stranica) ---------- */
.staff-group + .staff-group { margin-top: clamp(3rem, 6vw, 5rem); }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.staff-lead { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.2rem, 3vw, 2rem); border-radius: var(--radius-l); background: var(--white); box-shadow: var(--shadow); }
.staff-lead .person { aspect-ratio: 4 / 5; }
.staff-lead h3 { font-size: clamp(2rem, 3.6vw, 3rem); margin: .4rem 0 .6rem; }
.staff-lead p { color: var(--muted); }

/* ---------- Novosti (popis i članak) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 2.4rem; }
.chip {
    display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border-radius: 999px;
    background: var(--white); border: 1px solid var(--line); color: var(--ink-soft); font-weight: 650; text-decoration: none;
    transition: background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.chip small { color: var(--muted); font-weight: 600; }
.chip:hover { border-color: var(--sky-400); color: var(--blue-700); }
.chip[aria-current='true'] { background: linear-gradient(180deg, #2a8fd6, var(--blue-700)); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -10px rgba(14, 92, 147, .9); }
.chip[aria-current='true'] small { color: rgba(255, 255, 255, .8); }
.filters form { margin-left: auto; display: flex; align-items: center; gap: .4rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .4rem .3rem 1rem; }
.filters input { border: 0; outline: 0; background: transparent; min-width: 12rem; }
.filters form button { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-700); }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 3rem; }
.pager a, .pager span { min-width: 3rem; height: 3rem; padding: 0 .9rem; display: inline-grid; place-items: center; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.pager a:hover { border-color: var(--sky-400); color: var(--blue-700); }
.pager [aria-current='page'] { background: var(--blue-700); color: #fff; border-color: transparent; }
.pager .is-disabled { opacity: .4; }

.article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.article__cover { margin: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem); position: relative; z-index: 3; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); aspect-ratio: 16 / 9; background: var(--sky-100); }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__meta { display: none; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 0 0 1.4rem; color: var(--muted); font-weight: 600; font-size: .95em; }
.article__meta span { display: inline-flex; align-items: center; gap: .45rem; }
.article__meta .icon { color: var(--blue-500); }
.article__aside { position: sticky; top: 7.5rem; display: grid; gap: 1rem; }
.aside-card { border-radius: var(--radius); padding: 1.4rem; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.aside-card h2 { font-size: 1.1rem; margin-bottom: .8rem; }
.aside-card dl { margin: 0; display: grid; gap: .7rem; }
.aside-card dt { font-size: .82rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.aside-card dd { margin: 0; font-weight: 650; }
.share { display: flex; gap: .5rem; flex-wrap: wrap; }
.share a, .share button { width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--white); color: var(--blue-700); transition: background .3s, color .3s; }
.share a:hover, .share button:hover { background: var(--blue-700); color: #fff; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.post-nav a { display: block; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; line-height: 1.35; transition: border-color .3s, transform .4s var(--ease); }
.post-nav a small { display: block; color: var(--muted); font-weight: 600; font-size: .85rem; margin-bottom: .3rem; }
.post-nav a:hover { border-color: var(--sky-400); transform: translateY(-3px); }
.post-nav a:last-child { text-align: right; grid-column: 2; }

/* ---------- Projekti ---------- */
.project-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--radius-l); overflow: hidden; background: var(--white); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .5s var(--ease), box-shadow .5s; position: relative; }
.project-card + .project-card { margin-top: 1.6rem; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); color: var(--ink); }
.project-card__img { position: relative; min-height: 22rem; overflow: hidden; background: var(--sky-100); }
.project-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.project-card:hover .project-card__img img { transform: scale(1.05); }
.project-card__body { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
.project-card h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.project-card p { color: var(--muted); margin: 0; }
.status { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .85rem; padding: .35rem .8rem; border-radius: 999px; background: #e6f7ec; color: #1d6b3a; align-self: flex-start; }
.status::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(29, 107, 58, .18); animation: pulse 2s infinite; }
.status--finished { background: var(--sky-100); color: var(--blue-700); }
.status--finished::before { animation: none; box-shadow: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(29, 107, 58, 0); } }
.facts { display: flex; flex-wrap: wrap; gap: 1.8rem; }
.facts div b { display: block; font-family: var(--display); font-weight: 780; font-size: 2rem; letter-spacing: -.03em; color: var(--blue-700); line-height: 1; }
.facts div span { font-size: .9rem; color: var(--muted); font-weight: 600; }

.beneficiaries { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.beneficiaries li { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--sky-50); font-weight: 650; color: var(--ink); }
.activities { list-style: none; margin: 0; padding: 0; counter-reset: a; display: grid; gap: 1rem; }
.activities li { counter-increment: a; position: relative; padding: 1.5rem 1.6rem 1.5rem 5rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.activities li::before { content: counter(a); position: absolute; left: 1.4rem; top: 1.4rem; width: 2.5rem; height: 2.5rem; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: #fff; background: linear-gradient(160deg, #6cc6ff, var(--blue-700)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.activities h3 { margin: 0 0 .3rem; font-size: 1.25rem; }
.activities p { margin: 0; color: var(--muted); }
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
.info-card { padding: 1.6rem; border-radius: var(--radius); background: linear-gradient(160deg, var(--white), var(--sky-50)); border: 1px solid var(--line); }
.info-card h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-500); margin: 0 0 .7rem; }
.info-card p { margin: 0; white-space: pre-line; color: var(--ink-soft); }
.logo-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.logo-row img { height: 5.5rem; width: auto; padding: .8rem 1.2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); object-fit: contain; }
.funding { display: grid; gap: 1rem; justify-items: center; text-align: center; padding: 2rem; border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--line); }
.funding img { max-height: 6rem; width: auto; }
.funding p { margin: 0; color: var(--muted); font-size: .95em; max-width: 46rem; }

/* ---------- Galerija ---------- */
.album-card { position: relative; display: block; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3.2; text-decoration: none; color: #fff; box-shadow: var(--shadow); isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s; }
.album-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-l); color: #fff; }
.album-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.album-card:hover img { transform: scale(1.06); }
.album-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 26, 43, .92), rgba(4, 26, 43, .1) 60%); }
.album-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.5rem; }
.album-card h2 { font-size: 1.45rem; margin: 0 0 .3rem; color: #fff; }
.album-card small { color: var(--on-dark); font-weight: 600; }
.album-card__count { position: absolute; top: 1rem; right: 1rem; padding: .4rem .8rem; border-radius: 999px; font-weight: 700; font-size: .85rem; color: #fff; display: inline-flex; align-items: center; gap: .4rem; }

.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1.2rem; background: rgba(4, 26, 43, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .4s; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: .8rem; height: 100%; align-content: center; }
.lightbox img { max-height: 82vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-l); animation: pop .45s var(--ease); }
.lightbox figcaption { color: var(--on-dark-muted); font-weight: 600; }
.lightbox button { width: 3.6rem; height: 3.6rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; transition: background .3s; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.2rem; }

/* ---------- Kontakt i obrasci ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-top: clamp(1.25rem, 3vw, 2.5rem); position: relative; z-index: 3; }
.contact-card { border-radius: var(--radius-l); padding: clamp(1.6rem, 3vw, 2.4rem); background: linear-gradient(160deg, var(--navy-900), var(--navy-950)); color: var(--on-dark); box-shadow: var(--shadow-l); position: relative; overflow: hidden; isolation: isolate; }
.contact-card .dots { color: rgba(134, 208, 255, .25); width: 300px; height: 300px; right: -80px; bottom: -80px; z-index: -1; }
.contact-card h2 { color: #fff; font-size: 1.6rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line-dark); }
.contact-list li:last-child { border: 0; }
.contact-list .gloss-tile { width: 2.8rem; height: 2.8rem; border-radius: 13px; }
.contact-list .gloss-tile .icon { width: 1.3rem; height: 1.3rem; }
.contact-list small { display: block; color: var(--on-dark-muted); font-size: .82rem; }
.contact-list a, .contact-list strong { color: #fff; font-weight: 650; text-decoration: none; }
.contact-list a:hover { color: var(--sky-300); }

.form-card { border-radius: var(--radius-l); padding: clamp(1.6rem, 3vw, 2.4rem); background: var(--white); box-shadow: var(--shadow-l); }
.tabs { display: inline-flex; padding: .35rem; border-radius: 999px; background: var(--sky-50); border: 1px solid var(--line); margin-bottom: 1.6rem; gap: .2rem; flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; padding: .7rem 1.2rem; border-radius: 999px; font-weight: 700; color: var(--ink-soft); display: inline-flex; gap: .5rem; align-items: center; transition: background .3s, color .3s, box-shadow .3s; }
.tabs button[aria-selected='true'] { background: linear-gradient(180deg, #2a8fd6, var(--blue-700)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 8px 18px -10px rgba(14, 92, 147, .9); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; color: var(--ink); font-size: .98em; }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select {
    width: 100%; padding: .95rem 1.1rem; border-radius: 16px; border: 1.5px solid #d4e1ea; background: var(--sky-50); color: var(--ink);
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--sky-400); background: #fff; box-shadow: 0 0 0 4px rgba(74, 183, 255, .2); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #d64545; }
.field .error { color: #c03030; font-size: .9rem; font-weight: 600; }
fieldset.field, .field fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: .45rem; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .3rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1rem; border-radius: 999px; border: 1.5px solid #d4e1ea; background: var(--sky-50); font-weight: 650; font-size: .95em; transition: all .25s; }
.choice input:checked + span { background: var(--blue-700); color: #fff; border-color: var(--blue-700); box-shadow: 0 6px 14px -8px rgba(14, 92, 147, .9); }
.choice input:focus-visible + span { outline: 3px solid var(--sky-400); outline-offset: 2px; }
.consent { display: flex; gap: .8rem; align-items: flex-start; font-size: .95em; color: var(--ink-soft); }
.consent input { width: 1.4rem; height: 1.4rem; margin-top: .15rem; accent-color: var(--blue-700); flex: none; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 1rem; padding: 1rem 1.2rem; border-radius: 16px; font-weight: 650; display: none; }
.form-status.is-ok { display: flex; gap: .8rem; align-items: center; background: #e6f7ec; color: #1d6b3a; }
.form-status.is-error { display: block; background: #fdeaea; color: #a52a2a; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading::after { content: ''; position: static; width: 1.1rem; height: 1.1rem; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; transform: none; background: none; }

.map-card { margin-top: 1.2rem; border-radius: var(--radius); overflow: hidden; position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(160deg, var(--sky-100), #fff); border: 1px solid var(--line); text-decoration: none; }
.map-card svg.mapbg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--sky-400); opacity: .45; }
.map-card__pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); color: var(--blue-700); }
.map-card__pin .icon { width: 3rem; height: 3rem; filter: drop-shadow(0 8px 10px rgba(14, 92, 147, .5)); animation: float 3s ease-in-out infinite; }
.map-card__label { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: .8rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, .9); color: var(--ink); font-weight: 700; display: flex; justify-content: space-between; gap: .5rem; align-items: center; box-shadow: var(--shadow-s); }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound b { font-family: var(--display); font-size: clamp(6rem, 20vw, 14rem); line-height: .9; letter-spacing: -.06em; background: linear-gradient(180deg, var(--blue-700), var(--sky-400)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; }

/* ---------- Kolačići ---------- */
.cookie { position: fixed; left: 1rem; bottom: 1rem; z-index: 80; max-width: 26rem; padding: 1.2rem 1.3rem; border-radius: var(--radius); color: var(--ink); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow-l); border: 1px solid var(--line); font-size: .95rem; transform: translateY(150%); transition: transform .6s var(--ease); }
.cookie.is-visible { transform: none; }
.cookie p { margin: 0 0 .9rem; }
.cookie div { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- Animacije pri pomicanju ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-reveal), transform 1s var(--ease-reveal); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--scale { transform: scale(.94); }
.reveal--left { transform: translateX(-40px); }
.no-js .reveal { opacity: 1; transform: none; }
.rise { animation: rise 1.1s var(--ease-reveal) both; animation-delay: calc(var(--d, 0) * 140ms + 80ms); }
.rise--scale { animation-name: rise-scale; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes rise-scale { from { opacity: 0; transform: scale(.92); } }

.heart-line { position: absolute; pointer-events: none; }
.heart-line path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease) .6s; }
.is-in .heart-line path, .heart-line.is-in path { stroke-dashoffset: 0; }

/* ==========================================================================
   Responzivnost
   ========================================================================== */
@media (max-width: 1180px) {
    .nav, .header__phone { display: none; }
    .menu-toggle { display: grid; }
    .header__actions { margin-left: auto; }
    .team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .team__card { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
    .hero__grid, .page-hero__grid, .page-hero--image .page-hero__grid, .news__grid, .mission__grid, .services, .split, .article, .contact-grid, .help-cta, .sec-head--split, .staff-lead { grid-template-columns: minmax(0, 1fr); }
    .hero__copy { min-height: 27rem; }
    .hero__visual { max-width: 30rem; width: 88%; margin: 0 auto; }
    .hero__call { left: -1rem; }
    .features__grid { grid-template-columns: minmax(0, 1fr); }
    .feature-box { order: -1; }
    .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat:nth-child(3)::before { display: none; }
    .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .mission__head, .services__preview, .article__aside { position: static; }
    .services__preview { display: none; }
    .service-row__text img { display: block; }
    .page-hero__img { max-width: 26rem; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .service-card, .project-card { grid-template-columns: minmax(0, 1fr); }
    .service-card:nth-child(even) .service-card__img { order: 0; }
    .service-card__img, .project-card__img { min-height: 16rem; }
    .split--left .split__media { order: 0; }
    .topbar__info span:nth-child(2) { display: none; }
}
@media (max-width: 640px) {
    :root { --radius-l: 26px; }
    body { line-height: 1.6; }
    .topbar__info { display: none; }
    .topbar .wrap { justify-content: center; }
    .brand__mark { width: 2.6rem; height: 2.6rem; border-radius: 13px; }
    .brand__name { font-size: 1.2rem; }
    .brand__tag { font-size: .75rem; }
    .header .wrap { gap: .8rem; min-height: 4.4rem; }
    .icon-btn { width: 2.75rem; height: 2.75rem; }
    .hero__badge { width: 5.8rem; height: 5.8rem; right: -.4rem; }
    .hero__badge strong { font-size: 1.5rem; }
    .hero__call { left: 50%; transform: translateX(-50%); bottom: -1.5rem; animation: none; width: max-content; }
    .hero__arrows { display: none; }
    .team__grid { grid-template-columns: minmax(0, 1fr); }
    .team__people { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: .4rem var(--gutter) .6rem; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
    .team__people::-webkit-scrollbar { display: none; }
    .team__people > * { scroll-snap-align: start; }
    .person { aspect-ratio: 4 / 5; }
    .person__tag { left: .6rem; right: .6rem; bottom: .6rem; padding: .7rem .85rem; border-radius: 14px; }
    .person__tag strong { font-size: 1.05rem; }
    .person__tag span { font-size: .82rem; }
    .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
    .staff-grid .person__tag { left: .4rem; right: .4rem; bottom: .4rem; padding: .55rem .65rem; }
    .staff-grid .person__tag strong { font-size: .92rem; }
    .staff-grid .person__tag span { font-size: .74rem; }
    .help-cta { padding: 1.8rem 1.3rem; }
    .help-cta__phone { padding: .9rem 1rem; gap: .8rem; }
    .help-cta__phone strong { font-size: 1.35rem; white-space: nowrap; }
    .hero__call strong { white-space: nowrap; }
    .news-lead { min-height: 26rem; }
    .news-lead p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .mission__item { gap: 1rem; }
    .mission__item p { padding-right: 0; font-size: 1.05em; }
    .mission__item::after { font-size: 4.5rem; top: 1.6rem; transform: none; }
    .page-hero { padding-top: 2.2rem; }
    .page-hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
    .page-hero__intro { font-size: 1.05em; }
    .section { padding-block: 3.6rem; }
    .sec-head { margin-bottom: 1.8rem; }
    .contact-card, .form-card { padding: 1.4rem 1.1rem; }
    .tabs { display: flex; width: 100%; }
    .tabs button { flex: 1; justify-content: center; padding: .7rem .6rem; font-size: .95em; }
    .project-card__body, .service-card__body { padding: 1.5rem 1.2rem; }
    .facts { gap: 1.1rem; }
    .activities li { padding: 1.2rem 1.1rem 1.2rem 4rem; }
    .activities li::before { left: 1rem; top: 1.1rem; }
    .cta-block { padding: 1.5rem 1.2rem; }
    .cta-block .btn { width: 100%; }
    .hours div { padding: .55rem .8rem; }
    .stats__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .news-lead { min-height: 24rem; }
    .news-item { grid-template-columns: 5.5rem minmax(0, 1fr); }
    .mission__item { grid-template-columns: minmax(0, 1fr); padding: 1.4rem; }
    .service-row__btn { grid-template-columns: auto minmax(0, 1fr) auto; gap: .9rem; }
    .service-row__btn::before { display: none; }
    .service-row__text { padding-left: 0; }
    .form-grid { grid-template-columns: minmax(0, 1fr); }
    .footer__grid { grid-template-columns: minmax(0, 1fr); }
    .timeline::before { left: 1.15rem; }
    .timeline li { grid-template-columns: 2.4rem minmax(0, 1fr); }
    .timeline__year { grid-column: 2; padding: 0 0 .3rem; font-size: 1.4rem; }
    .timeline__dot { grid-row: 1 / span 2; grid-column: 1; margin: .3rem 0 0 .62rem; }
    .timeline__card { grid-column: 2; }
    .filters form { margin-left: 0; width: 100%; }
    .filters input { min-width: 0; flex: 1; }
    .post-nav { grid-template-columns: minmax(0, 1fr); }
    .post-nav a:last-child { grid-column: auto; text-align: left; }
    .article__meta { display: flex; }
    .article__aside > .aside-card:first-child { display: none; }
    .to-top { width: 3rem; height: 3rem; right: .9rem; bottom: .9rem; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lightbox { grid-template-columns: minmax(0, 1fr); padding: 4.5rem .6rem 1rem; }
    .lightbox__prev, .lightbox__next { position: absolute; bottom: 1rem; }
    .lightbox__prev { left: 1rem; }
    .lightbox__next { right: 1rem; }
    .cookie { left: .6rem; right: .6rem; max-width: none; }
}

/* Smanjeno kretanje: sve prikazano odmah, bez animacija */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .hero__line > span { transform: none; }
    .marquee__track { animation: none; flex-wrap: wrap; }
    .marquee { -webkit-mask-image: none; mask-image: none; }
    .marquee[aria-hidden='true'] { display: none; }
}

@media print {
    .topbar, .header, .footer, .to-top, .cookie, .hero__controls { display: none !important; }
    body { background: #fff; }
}
