/* ============================================================
   EUROBROKER — stylesheet
   Modern capital-markets aesthetic: deep navy + gold + teal
   ============================================================ */
:root {
  --navy: #0a2540;
  --navy-800: #0e2f52;
  --navy-700: #163f6b;
  --gold: #c8a24c;
  --gold-soft: #e8d9b0;
  /* Referentni bijelo-champagne-zlatni gradijent naslova (mijenja se na jednom mjestu). */
  --grad-gold: linear-gradient(92deg, #ffffff 2%, var(--gold-soft) 46%, var(--gold) 100%);
  --teal: #0e8a7d;
  --teal-soft: #d5efec;
  --ink: #17222e;
  --muted: #5b6b7c;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-softer: #eef3f9;
  --line: #e0e8f1;
  --line-strong: #cdd9e6;
  --white: #ffffff;
  --danger: #b23b3b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10,37,64,.06), 0 2px 8px rgba(10,37,64,.05);
  --shadow: 0 8px 30px rgba(10,37,64,.10);
  --shadow-lg: 0 24px 60px rgba(10,37,64,.18);
  --maxw: 1200px;
  --ff-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --ff-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --t: .25s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: var(--ff-head); line-height: 1.15; color: var(--navy); font-weight: 700; letter-spacing: -.01em; }
/* Bijelo-zlatni gradijent naslova — jedna reusable klasa za cijeli sajt (vidi --grad-gold). */
.accent, .grad-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
/* Fallback: pregledači bez background-clip:text prikazuju čvrsto zlato umjesto nevidljivog teksta. */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .accent, .grad-gold { color: var(--gold); -webkit-text-fill-color: var(--gold); background: none; }
}
a { color: inherit; text-decoration: none; }
img,svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
/* baseline size for inline icon SVGs injected into links/buttons/spans */
a svg, button svg, .link-arrow svg, .mq-val svg, .chip svg, .svc__no svg { width: 18px; height: 18px; display: inline-block; vertical-align: middle; flex: none; }
.link-arrow svg { width: 16px; height: 16px; }
.chip svg { width: 14px; height: 14px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--ff-head); text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 600; color: var(--teal); }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ff-head); font-weight: 600; font-size: .95rem;
  padding: .8rem 1.35rem; border-radius: 999px; border: 1.5px solid transparent; transition: var(--t); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(200,162,76,.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(200,162,76,.45); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }
.btn--block { width: 100%; justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--ff-head); font-weight: 600; font-size: .92rem; color: var(--teal); transition: var(--t); }
.link-arrow:hover { gap: .6rem; color: var(--navy); }

/* ---------- Header ---------- */
.utilitybar { background: var(--navy); color: #cdd9e6; font-size: .82rem; }
.utilitybar .wrap { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.utilitybar a { color: #cdd9e6; transition: var(--t); padding: 0 2px; }
.utilitybar a:hover { color: #fff; }
.utilitybar .u-links { display: flex; gap: 20px; align-items: center; }
.utilitybar .u-right { display: flex; gap: 18px; align-items: center; }
.lang { border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 3px 9px; font-weight: 600; letter-spacing: .04em; background: transparent; color: #cdd9e6; font-family: var(--ff-head); font-size: .78rem; cursor: pointer; transition: var(--t); }
.lang b { color: var(--gold); }
.lang:hover { border-color: rgba(255,255,255,.55); color: #fff; }

.header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); transition: box-shadow var(--t); }
.header.scrolled { box-shadow: var(--shadow-sm); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__logo { height: 38px; width: auto; display: block; }
.brand__name { font-family: var(--ff-head); font-weight: 700; font-size: 1.3rem; color: var(--navy); letter-spacing: -.02em; }
.brand__name b { color: var(--gold); font-weight: 700; }
/* Logo na tamnom podnožju — bijela podloga da ostane vidljiv */
.footer .brand__logo { height: 28px; background: #fff; padding: 8px 12px; border-radius: 9px; }
.drawer__panel .brand__logo { height: 34px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { font-family: var(--ff-head); font-weight: 500; font-size: .93rem; color: var(--navy-800); padding: 9px 12px; border-radius: 9px; transition: var(--t); white-space: nowrap; }
.nav a:hover, .nav a.active { background: var(--bg-softer); color: var(--navy); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px auto; transition: var(--t); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #eaf1f8; overflow: hidden; background-color: #0a2540; }
/* Video podloga (samo Početna). Sjedi na istom nivou kao mapa (z-index 0), zatamnjenje je iznad. */
.hero__video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; pointer-events: none; background-color: #0a2540; }
/* Kad je video prisutan, sakrij animiranu PNG mapu i „flow" impulse da se efekti ne dupliraju. */
.hero--video::after { display: none; }
.hero--video .hero__grid::before, .hero--video .hero__grid::after { display: none; }
/* Animirani sloj sa mapom svijeta (spor Ken Burns pan/zoom, GPU transform). */
.hero::after { content: ""; position: absolute; inset: -3.5%; z-index: 0;
  background: url("../img/hero-map.png") center right / cover no-repeat;
  transform: scale(1.04) translate3d(0,0,0);
  animation: eb-kenburns 78s ease-in-out infinite alternate;
  will-change: transform; }
/* Zatamnjenje + sjaj IZNAD mape (čuva čitljivost teksta i originalnu kompoziciju boja). */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(102deg, rgba(8,29,51,.95) 0%, rgba(10,37,64,.82) 46%, rgba(18,58,94,.50) 100%),
    radial-gradient(700px 380px at 82% 8%, rgba(200,162,76,.22), transparent 60%),
    radial-gradient(600px 420px at 12% 92%, rgba(14,138,125,.20), transparent 60%); }
.hero__grid { position: absolute; inset: 0; z-index: 1; opacity: .12; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%); }
/* Dva veoma diskretna svjetlosna impulsa koja sporo klize preko mape (utisak protoka podataka). */
.hero__grid::before, .hero__grid::after { content: ""; position: absolute; top: -10%; bottom: -10%; width: 34%; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(220,235,255,.05) 42%, rgba(232,217,176,.10) 56%, transparent);
  filter: blur(6px); mix-blend-mode: screen;
  animation: eb-flow 19s linear infinite; }
.hero__grid::after { animation-duration: 26s; animation-delay: 9.5s; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 88px 24px 96px; }
.hero__eyebrow { color: var(--gold-soft); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.8vw, 3.5rem); margin: 16px 0 20px; }
.hero__sub { font-size: 1.18rem; color: #c3d2e2; max-width: 560px; }
.hero__actions { display: flex; gap: 14px; margin: 30px 0 34px; flex-wrap: wrap; }
.hero__proofs { display: flex; gap: 10px; flex-wrap: wrap; }
.proof { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 12px; backdrop-filter: blur(4px); }
.proof b { display: block; font-family: var(--ff-head); font-size: 1.02rem; color: #fff; letter-spacing: .005em; }
.proof span { font-size: .78rem; color: #a9bccf; }

/* Hero visual card */
.hero__card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 26px; backdrop-filter: blur(8px); box-shadow: var(--shadow-lg); }
.hero__card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.hero__card p.tiny { color: #9fb4c9; font-size: .82rem; margin-bottom: 18px; }
.miniquote { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.miniquote:last-child { border-bottom: 0; }
.miniquote .mq-name { color: #dce7f2; font-weight: 500; font-size: .93rem; }
.mq-sub { color: #8fa6bd; font-size: .76rem; }
.mq-val { text-align: right; font-family: var(--ff-head); }
.mq-val b { color: #fff; font-size: 1rem; }
.mq-val span { display: block; font-size: .78rem; font-weight: 600; }
.up { color: #4fd1b6; } .down { color: #f0a3a3; }

/* ---------- Segment cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

.segcard { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; transition: var(--t); overflow: hidden; }
.segcard::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--gold), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.segcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.segcard:hover::after { transform: scaleX(1); }
.segcard__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 16px; }
.segcard__icon svg { width: 24px; height: 24px; }
.segcard h3 { font-size: 1.16rem; margin-bottom: 8px; }
.segcard p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }

/* ---------- Service list ---------- */
.svc { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: var(--t); height: 100%; }
.svc:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.svc__no { font-family: var(--ff-head); font-weight: 700; color: var(--gold); font-size: 1.1rem; flex: none; width: 34px; }
.svc h3 { font-size: 1.05rem; margin-bottom: 6px; }
.svc p { color: var(--muted); font-size: .9rem; margin-bottom: 10px; }

/* ---------- Why us ---------- */
.why { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.why__item { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; }
.why__num { font-family: var(--ff-head); font-weight: 700; font-size: 2.4rem; color: var(--gold-soft); line-height: 1; position: absolute; top: 18px; right: 22px; }
.why__item h3 { font-size: 1.12rem; margin: 6px 0 10px; max-width: 82%; min-height: 2.3em; }
.why__item p { color: var(--muted); font-size: .95rem; }

/* ---------- Split markets ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split__col { border-radius: var(--radius); padding: 34px; color: #fff; position: relative; overflow: hidden; }
.split__col.dom { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-700) 100%); }
.split__col.world { background: linear-gradient(150deg, #0d6f66 0%, var(--teal) 100%); }
.split__col h3 { color: #fff; font-size: 1.4rem; margin-bottom: 12px; }
.split__col p { color: rgba(255,255,255,.85); margin-bottom: 20px; }
.split__col ul { list-style: none; margin-bottom: 24px; }
.split__col li { padding: 7px 0 7px 26px; position: relative; color: #eaf1f8; font-size: .95rem; }
.split__col li::before { content: ""; position: absolute; left: 0; top: 15px; width: 10px; height: 10px; border: 1.5px solid var(--gold); border-radius: 3px; }
/* Kategorijski marker (tanka line-ikona) — scoped samo na ovaj blok, ne dira globalne SVG ikone. */
.split__icon { width: 60px; height: 60px; border-radius: 15px; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); margin-bottom: 20px; }
.split__glyph { width: 30px; height: 30px; display: block; color: var(--gold-soft); }
.split--mkt .split__col { transition: transform .28s ease, box-shadow .28s ease; }
.split__cta svg { transition: transform .25s ease; }
@media (hover: hover) {
  .split--mkt .split__col:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(10,37,64,.22); }
  .split__cta:hover svg { transform: translateX(3px); }
}
@media (max-width: 640px) {
  .split__icon { width: 52px; height: 52px; border-radius: 13px; margin-bottom: 16px; }
  .split__glyph { width: 26px; height: 26px; }
}
/* Ulazni blok (Za kompanije / Institucionalni): CTA poravnat pri dnu bez obzira na dužinu opisa. Scoped. */
.split--entry .split__col { display: flex; flex-direction: column; }
.split--entry .split__col .btn { margin-top: auto; align-self: flex-start; }

/* Stranica /o-nama/ — sve lokalno scoped (ne utiče na ostatak sajta). */
.onama__prose { max-width: 760px; }
.onama__prose p { color: var(--ink); line-height: 1.7; margin-bottom: 18px; }
.onama__promise { max-width: 760px; margin: 28px 0 4px; padding: 18px 24px; border-left: 3px solid var(--gold); background: rgba(232,217,176,.12); border-radius: 8px; font-size: 1.14rem; line-height: 1.6; font-weight: 500; color: var(--ink); }
.onama__principles { margin: 12px 0 0; max-width: 1040px; }
.onama__nav { max-width: 760px; margin-top: 28px; }
/* O nama — Misija i vizija (premium, scoped na ovu stranicu) */
.about-mv-section { margin: 44px 0 0; }
.about-mv__title { font-size: 1.6rem; margin: 0 0 20px; color: var(--navy); }
.about-mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1040px; }
.about-mv { position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-700) 100%);
  border: 1px solid rgba(232,217,176,.22); border-radius: 16px; padding: 34px 32px; color: #fff; }
.about-mv::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--gold), rgba(200,162,76,0)); }
.about-vision::before { background: linear-gradient(90deg, rgba(200,162,76,0), var(--gold)); }
.about-mv__deco { position: absolute; top: 14px; right: 14px; width: 116px; height: 116px; color: var(--gold-soft); opacity: .16; pointer-events: none; }
.about-mv__label { position: relative; font-family: var(--ff-head); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 600; color: var(--gold-soft); }
.about-mv__msg { position: relative; font-family: var(--ff-head); font-size: 1.22rem; font-weight: 600; color: #fff; line-height: 1.32; margin: 12px 0; max-width: 88%; }
.about-mv__desc { position: relative; color: rgba(255,255,255,.82); font-size: .98rem; line-height: 1.62; margin: 0; }
.onama__principles-h { font-size: 1.18rem; color: var(--navy); margin: 40px 0 0; }
.about-brand-statement { margin-top: 36px; }
@media (max-width: 760px) { .about-mission-vision { grid-template-columns: 1fr; } }

/* Hub /investiranje/ — CTA (link-arrow) poravnat pri dnu bez obzira na dužinu opisa. Scoped. */
.invhub .segcard { display: flex; flex-direction: column; }
.invhub .segcard .link-arrow { margin-top: auto; align-self: flex-start; }

/* Početna — „Naše usluge" / poslovne linije: numeracija 01–04 + CTA pri dnu. Scoped. */
.biz-lines { max-width: 1040px; grid-auto-rows: 1fr; }
.biz-lines .segcard { display: flex; flex-direction: column; }
.biz-lines .segcard .link-arrow { margin-top: auto; align-self: flex-start; }
.biz-lines .segcard__no { position: absolute; top: 22px; right: 24px; font-family: var(--ff-head); font-weight: 700; font-size: 1.9rem; line-height: 1; color: var(--bg-softer); pointer-events: none; }

/* /za-kompanije/ — konsultativni CTA blok (scoped, diskretan navy panel sa tankim zlatnim detaljem). */
.zk-consult { position: relative; overflow: hidden; max-width: 1040px; margin: 26px 0 0; padding: 34px 36px; border-radius: 18px; color: #fff; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-700) 100%); border: 1px solid rgba(232,217,176,.20); }
.zk-consult::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--gold), rgba(200,162,76,0)); }
.zk-consult h2 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.zk-consult p { color: rgba(255,255,255,.85); max-width: 720px; margin-bottom: 22px; }
@media (max-width: 640px) { .zk-consult { padding: 26px 22px; } }

/* ---------- Advisory band ---------- */
.band { background: linear-gradient(120deg, #fbf7ee, #fff); border: 1px solid var(--gold-soft); border-radius: 22px; padding: 42px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.band h2 { font-size: 1.8rem; margin-bottom: 12px; }
.band p { color: var(--muted); margin-bottom: 8px; }
.packages { display: flex; gap: 12px; flex-wrap: wrap; }
.pkg { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; flex: 1; min-width: 120px; text-align: center; }
.pkg b { display: block; font-family: var(--ff-head); color: var(--navy); }
.pkg span { font-size: .8rem; color: var(--muted); }

/* ---------- Content / insight cards ---------- */
.icard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: var(--t); height: 100%; display: flex; flex-direction: column; }
.icard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.icard__top { padding: 14px 20px; font-size: .76rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff; font-family: var(--ff-head); }
.icard__top.analiza { background: var(--navy); }
.icard__top.webinar { background: var(--teal); }
.icard__top.vodic { background: var(--gold); color: var(--navy); }
.icard__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.icard__date { display: block; font-size: .76rem; color: var(--muted); margin-bottom: 6px; letter-spacing: .01em; }
.icard__body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.icard__body p { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
.icard__body .link-arrow { margin-top: auto; }
/* Urednički plan: CTA grupa (Analiza + Zatražite pristup / Prijavite se) i „u pripremi" stanje */
.icard__cta { margin-top: auto; }
.icard__cta .link-arrow { margin-top: 0; }
.icard__access { display: inline-flex; align-items: center; gap: .3rem; margin-top: 8px; font-size: .8rem; font-family: var(--ff-head); font-weight: 600; color: var(--muted); transition: var(--t); }
.icard__access:hover { color: var(--navy); }
.link-arrow.is-muted { color: var(--muted); cursor: default; pointer-events: none; }
.cal__d { color: var(--muted); font-size: .85rem; margin: 0 0 12px; }
.cal__item.is-featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }

/* ---------- Trust strip ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.trust__item { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-size: .9rem; color: var(--navy); font-weight: 500; }
.trust__item svg { width: 18px; height: 18px; color: var(--teal); }

/* ---------- Final CTA ---------- */
.finalcta { background: linear-gradient(150deg, #0a2540, #163f6b); border-radius: 24px; padding: 56px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.finalcta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 50% 0%, rgba(200,162,76,.2), transparent 70%); }
.finalcta h2 { font-size: clamp(1.7rem,3.4vw,2.4rem); margin-bottom: 12px; position: relative;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .finalcta h2 { color: #fff; -webkit-text-fill-color: #fff; background: none; } }
.finalcta p { color: #c3d2e2; margin-bottom: 26px; position: relative; }
.finalcta .hero__actions { justify-content: center; position: relative; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #b9c9da; padding: 64px 0 0; }
.footer a { color: #b9c9da; transition: var(--t); }
.footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { font-size: .9rem; color: #91a6bc; margin-top: 14px; max-width: 300px; }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.footer__legal { padding: 24px 0 34px; font-size: .82rem; color: #7f95ac; }
.footer__legal .risk { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; color: #a9bccf; }
.footer__legal .cols { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Breadcrumb / inner hero ---------- */
.pagehero { --glow: rgba(200,162,76,.20); color: #eaf1f8; padding: 54px 0 46px; position: relative; overflow: hidden; background-color: #0a2540; }
/* Animirani sloj sa mapom (sporiji i suzdržaniji nego na Početnoj). */
.pagehero::after { content: ""; position: absolute; inset: -3%; z-index: 0;
  background: url("../img/hero-map.png") center right / cover no-repeat;
  transform: scale(1.05) translate3d(0,0,0);
  animation: eb-kenburns 96s ease-in-out infinite alternate;
  will-change: transform; }
.pagehero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(102deg, rgba(8,29,51,.95) 0%, rgba(10,37,64,.86) 50%, rgba(18,58,94,.64) 100%), radial-gradient(620px 320px at 86% 0%, var(--glow), transparent 66%); }
.pagehero .wrap { position: relative; z-index: 2; }
.pagehero--investiranje { --glow: rgba(14,138,125,.30); }
.pagehero--za-kompanije { --glow: rgba(200,162,76,.30); }
.pagehero--institucionalni-klijenti { --glow: rgba(90,140,200,.28); }
.pagehero--analize { --glow: rgba(126,116,224,.26); }
.pagehero--edukacija { --glow: rgba(70,184,146,.26); }
.pagehero--o-nama { --glow: rgba(200,162,76,.24); }
.crumb { display: flex; gap: 8px; font-size: .84rem; color: #9fb4c9; margin-bottom: 16px; position: relative; flex-wrap: wrap; }
.crumb a:hover { color: #fff; }
.crumb span { color: #6f88a1; }
.pagehero h1 { color: #fff; font-size: clamp(1.8rem,3.6vw,2.7rem); margin-bottom: 12px; position: relative; max-width: 780px; }
.pagehero p { color: #c3d2e2; font-size: 1.08rem; max-width: 680px; position: relative; }
.tag { display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #e8d9b0; font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; position: relative; font-family: var(--ff-head); }

/* ---------- Inner layout ---------- */
.pglayout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.prose h2 { font-size: 1.4rem; margin: 8px 0 14px; }
.prose p { color: #33465a; margin-bottom: 14px; }
.qblock { padding: 26px 0; border-bottom: 1px solid var(--line); }
.qblock:first-child { padding-top: 0; }
.qblock .qn { font-family: var(--ff-head); font-size: .8rem; font-weight: 700; color: var(--gold); letter-spacing: .04em; }
.qblock h2 { margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .85rem; color: var(--navy-800); }
.steps { counter-reset: s; display: grid; gap: 14px; margin-top: 6px; }
.step { display: flex; gap: 16px; padding: 16px 18px; background: var(--bg-soft); border-radius: 12px; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--navy); color: #fff; font-family: var(--ff-head); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.step h4 { font-size: 1rem; margin-bottom: 3px; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }
.step__cta { margin-top: 12px; }
/* /otvorite-racun/ — dokumentacija + uvod iznad obrasca (scoped) */
.oa-docs__h { font-size: 1.05rem; margin-bottom: 12px; }
.oa-formintro { margin: 28px 0 18px; }
.oa-formintro h3 { font-size: 1.15rem; margin-bottom: 6px; }
.oa-formintro p { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.roles { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 6px; }
.role { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.role b { font-family: var(--ff-head); color: var(--navy); font-size: .95rem; display: block; margin-bottom: 6px; }
.role p { font-size: .87rem; color: var(--muted); margin: 0; }
.risklist { list-style: none; margin-top: 6px; }
.risklist li { padding: 10px 0 10px 30px; position: relative; color: #33465a; border-bottom: 1px dashed var(--line); }
.risklist li::before { content: "!"; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; background: #fdeee9; color: var(--danger); border-radius: 6px; font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.notebox { background: #fbf7ee; border: 1px solid var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 10px; padding: 16px 18px; font-size: .92rem; color: #6a5a34; margin-top: 8px; }
.notebox--reg { background: #eef6f5; border-color: var(--teal-soft); border-left-color: var(--teal); color: #245b56; }

/* FAQ */
.faq { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: #fff; border: 0; border-bottom: 1px solid var(--line); padding: 18px 20px; font-family: var(--ff-head); font-weight: 600; color: var(--navy); font-size: 1rem; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq__item:last-child .faq__q { border-bottom: 0; }
.faq__q .ic { flex: none; transition: transform var(--t); color: var(--teal); }
.faq__item.open .faq__q { border-bottom: 0; }
.faq__item.open .faq__q .ic { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; background: var(--bg-soft); }
.faq__a p { padding: 4px 20px 20px; color: #33465a; font-size: .93rem; }

/* Sidebar */
.side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.side__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.side__card.dark { background: linear-gradient(150deg,var(--navy),var(--navy-700)); color: #fff; border: 0; }
.side__card.dark h3 { color: #fff; } .side__card.dark p { color: #c3d2e2; font-size: .9rem; margin-bottom: 16px; }
.side__card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.side__meta { display: flex; flex-direction: column; gap: 12px; }
.side__meta .row { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.side__meta .row:last-child { border-bottom: 0; padding-bottom: 0; }
.side__meta .row span { color: var(--muted); } .side__meta .row b { color: var(--navy); text-align: right; }
.related a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--navy); font-size: .92rem; }
.related a:last-child { border-bottom: 0; } .related a:hover { color: var(--teal); }

/* ---------- Pricelist table ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.price { width: 100%; border-collapse: collapse; min-width: 640px; }
table.price th { background: var(--navy); color: #fff; text-align: left; padding: 14px 18px; font-family: var(--ff-head); font-size: .85rem; letter-spacing: .02em; }
table.price td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
table.price tr:last-child td { border-bottom: 0; }
table.price tbody tr:hover { background: var(--bg-soft); }
table.price .cat { font-weight: 600; color: var(--teal); font-family: var(--ff-head); font-size: .82rem; }
table.price .fee { font-family: var(--ff-head); font-weight: 700; color: var(--navy); white-space: nowrap; }

/* ---------- Editorial calendar ---------- */
.cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 16px; }
.cal__item { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; transition: var(--t); }
.cal__item:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.cal__m { font-family: var(--ff-head); font-weight: 700; color: var(--gold); font-size: .82rem; }
.cal__item h4 { font-size: 1rem; margin: 4px 0 12px; }
.cal__row { font-size: .82rem; color: var(--muted); padding: 5px 0; display: flex; gap: 8px; }
.cal__row b { color: var(--navy-800); font-weight: 600; flex: none; }

/* ---------- Segment matrix (grid) ---------- */
.segmatrix { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 18px; }
.segm { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; transition: var(--t); }
.segm:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.segm__badge { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; }
.segm h3 { font-size: 1.02rem; margin-bottom: 8px; } .segm p { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-family: var(--ff-head); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; font-family: inherit; font-size: .95rem; background: #fff; transition: var(--t); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.field textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); }
.consent input { margin-top: 3px; }
.formnote { font-size: .82rem; color: var(--muted); }
.success { background: var(--teal-soft); border: 1px solid var(--teal); color: #1c5b55; padding: 18px; border-radius: 12px; font-size: .95rem; }

/* ---------- Readiness tool ---------- */
.tool { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.tool__bar { height: 6px; background: var(--bg-softer); }
.tool__fill { height: 100%; background: linear-gradient(90deg,var(--gold),var(--teal)); transition: width .4s ease; width: 0; }
.tool__body { padding: 32px; }
.tool__q { font-family: var(--ff-head); font-size: 1.25rem; color: var(--navy); margin-bottom: 6px; }
.tool__count { font-size: .82rem; color: var(--muted); margin-bottom: 20px; }
.tool__opts { display: grid; gap: 10px; }
.tool__opt { text-align: left; padding: 15px 18px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; font-size: .96rem; font-weight: 500; color: var(--navy); transition: var(--t); }
.tool__opt:hover { border-color: var(--teal); background: var(--teal-soft); transform: translateX(4px); }
.tool__result { text-align: center; padding: 12px; }
.tool__score { font-family: var(--ff-head); font-size: 3.4rem; font-weight: 700; color: var(--navy); line-height: 1; }
.tool__gauge { width: 160px; height: 160px; margin: 0 auto 18px; }

/* Electronic-trading platform cards */
.platgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.platcard { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(150deg, var(--navy), var(--navy-700)); color: #fff; transition: var(--t); }
.platcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.platcard__ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--gold); display: grid; place-items: center; }
.platcard__ic svg { width: 24px; height: 24px; }
.platcard__body { flex: 1; min-width: 0; }
.platcard__body b { display: block; font-family: var(--ff-head); font-size: 1.1rem; color: #fff; }
.platcard__body small { color: #c3d2e2; font-size: .86rem; }
.platcard__go { flex: none; display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-head); font-weight: 600; font-size: .84rem; color: var(--gold-soft); }
.platcard__go svg { width: 15px; height: 15px; }
@media (max-width: 560px){ .platgrid { grid-template-columns: 1fr; } .platcard__go span { display: none; } }

/* Documents list */
.docgroup { margin-bottom: 30px; }
.docgroup__h { font-size: 1.05rem; color: var(--navy); margin-top: 0; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--bg-softer); }
/* Regulatorni status — grupa lijevo, polja (label + vrijednost) desno */
.regtable { margin: 8px 0 22px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.regrow { display: grid; grid-template-columns: 240px 1fr; border-top: 1px solid var(--line); }
.regrow:first-child { border-top: 0; }
.regrow__grupa { padding: 18px 20px; background: var(--bg-soft); font-family: var(--ff-head); font-weight: 700; color: var(--navy); font-size: .95rem; border-right: 1px solid var(--line); }
.regrow__fields { padding: 6px 0; min-width: 0; }
.regfield { display: grid; grid-template-columns: 190px 1fr; gap: 14px; padding: 10px 20px; }
.regfield__label { color: var(--teal); font-family: var(--ff-head); font-weight: 600; font-size: .82rem; }
.regfield__value { color: var(--ink); font-size: .92rem; word-break: break-word; }
@media (max-width: 700px) {
  .regrow { grid-template-columns: 1fr; }
  .regrow__grupa { border-right: 0; border-bottom: 1px solid var(--line); }
  .regfield { grid-template-columns: 1fr; gap: 2px; padding: 8px 20px; }
}
.doclist { display: grid; gap: 10px; }
.docitem { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: var(--t); }
.docitem:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); transform: translateX(3px); }
.docitem__ic { flex: none; width: 40px; height: 40px; border-radius: 9px; background: var(--bg-soft); color: var(--teal); display: grid; place-items: center; }
.docitem__ic svg { width: 20px; height: 20px; }
.docitem__body { flex: 1; min-width: 0; }
.docitem__body b, .docitem__name { display: block; margin: 0; font-family: var(--ff-head); font-size: .96rem; font-weight: 700; color: var(--navy); }
.docitem__body small { display: block; color: var(--muted); font-size: .84rem; }
.docitem__eff { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; }
.docitem__meta { flex: none; display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-head); font-size: .78rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.docitem__meta svg { width: 16px; height: 16px; color: var(--gold); }
@media (max-width: 560px){ .docitem__body small { display: none; } .docitem__meta { font-size: .72rem; } }

/* Generic content page */
.simple p { color: #33465a; margin-bottom: 16px; }
.simple ul { margin: 0 0 18px 20px; color: #33465a; }
.simple li { margin-bottom: 8px; }

/* AI asistent (baza znanja) */
.ebasst-btn { position: fixed; right: 22px; bottom: 24px; z-index: 80; display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px; font-family: var(--ff-head); font-weight: 600; font-size: .92rem; box-shadow: var(--shadow); cursor: pointer; transition: var(--t); }
.ebasst-btn svg { width: 20px; height: 20px; color: var(--gold); }
.ebasst-btn:hover { transform: translateY(-2px); background: var(--navy-700); }
.ebasst-btn.hidden { display: none; }
.ebasst-panel { position: fixed; right: 22px; bottom: 24px; z-index: 81; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 90px)); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(12px) scale(.98); pointer-events: none; transition: var(--t); }
.ebasst-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.ebasst-head { background: linear-gradient(150deg, var(--navy), var(--navy-700)); color: #fff; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.ebasst-head b { font-family: var(--ff-head); display: block; font-size: 1rem; }
.ebasst-head small { color: #a9bccf; font-size: .76rem; }
.ebasst-x { background: transparent; border: 0; color: #c3d2e2; font-size: 1.1rem; cursor: pointer; }
.ebasst-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--bg-soft); }
.ebasst-b { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.5; }
.ebasst-b p { margin: 0 0 6px; } .ebasst-b p:last-child { margin: 0; }
.ebasst-bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 5px; color: #33465a; }
.ebasst-user { background: var(--navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.ebasst-lead { font-family: var(--ff-head); font-weight: 600; color: var(--navy); font-size: .84rem; margin: 0 0 6px; }
.ebasst-src { margin-top: 6px; font-size: .76rem; color: var(--muted); }
.ebasst-src b { color: var(--teal); }
.ebasst-extra { margin-top: 10px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.ebasst-extra > span { font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--teal); }
.ebasst-extra ul { margin: 6px 0 0; padding-left: 16px; }
.ebasst-extra li { font-size: .82rem; color: #33465a; margin-bottom: 5px; }
.ebasst-extra li:last-child { margin-bottom: 0; }
.ebasst-extra em { color: var(--muted); font-style: normal; font-size: .74rem; }
.ebasst-close { margin: 10px 0 0; font-size: .82rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; }
.ebasst-rel { margin-top: 8px; font-size: .8rem; }
.ebasst-rel span { color: var(--muted); }
.ebasst-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ebasst-chip { background: var(--bg-softer); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; font-size: .8rem; color: var(--navy); cursor: pointer; font-family: var(--ff-body); transition: var(--t); text-align: left; }
.ebasst-chip:hover { border-color: var(--teal); background: var(--teal-soft); }
.ebasst-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.ebasst-form input { flex: 1; border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 14px; font-family: inherit; font-size: .9rem; }
.ebasst-form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.ebasst-form button { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--gold); color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.ebasst-form button svg { width: 18px; height: 18px; }
.ebasst-disc { font-size: .68rem; color: var(--muted); text-align: center; padding: 0 12px 10px; background: #fff; }
.ebasst-link { color: var(--teal); font-weight: 600; }
.ebasst-typing { letter-spacing: 2px; color: var(--muted); }
@media (max-width: 820px) {
  .ebasst-btn { bottom: 84px; right: 14px; }
  .ebasst-panel { bottom: 12px; right: 8px; left: 8px; width: auto; height: min(72vh, 520px); }
}

/* Mobile bottom bar */
.mobar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); padding: 10px 14px; gap: 10px; box-shadow: 0 -8px 24px rgba(10,37,64,.1); }
.mobar .btn { flex: 1; justify-content: center; }

/* Mobile nav drawer */
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(10,37,64,.5); opacity: 0; pointer-events: none; transition: opacity var(--t); }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(340px, 86vw); background: #fff; transform: translateX(100%); transition: transform var(--t); padding: 24px; overflow-y: auto; }
.drawer.open .drawer__panel { transform: none; }
.drawer__panel a { display: block; padding: 14px 4px; font-family: var(--ff-head); font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); }
.drawer__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 1.2rem; color: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; padding-bottom: 72px; }
  .hero__card { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .pglayout { grid-template-columns: 1fr; }
  .side { position: static; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 980px) {
  .nav, .header__cta .btn--dark { display: none; }
  .hamburger { display: block; }
}
@media (max-width: 820px) {
  .utilitybar .u-links a.hide-sm, .utilitybar .u-right a.hide-sm { display: none; }
  .header__cta .btn--primary { display: none; }
  .mobar { display: flex; }
  body { padding-bottom: 70px; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4, .why, .split, .roles, .band, .footer__top, .form .row2 { grid-template-columns: 1fr; }
  .band, .finalcta { padding: 30px; }
  .wrap { padding: 0 18px; }
  .hero .wrap { padding-top: 60px; }
}
/* ---------- Suptilna animacija globalne pozadine ---------- */
@keyframes eb-kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.09) translate3d(-1.4%, -1.1%, 0); }
}
@keyframes eb-flow {
  0%   { transform: translate3d(-45%, 0, 0); opacity: 0; }
  12%  { opacity: .7; }
  50%  { opacity: .5; }
  88%  { opacity: .6; }
  100% { transform: translate3d(320%, 0, 0); opacity: 0; }
}
/* Ne troši GPU dok je hero van vidnog polja (postavlja IntersectionObserver u app.js). */
.hero.is-paused::after, .pagehero.is-paused::after,
.hero.is-paused .hero__grid::before, .hero.is-paused .hero__grid::after { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  /* Mapa ostaje mirna i puna (bez pomjeranja), impulsi ugašeni. */
  .hero::after, .pagehero::after { transform: none; inset: 0; }
  .hero__grid::before, .hero__grid::after { display: none; }
}

/* ============================================================
   PARTNERI — B2B stranica (scoped .pt-*; ne utiče na ostatak sajta)
   ============================================================ */
.pt-heroband { background: var(--navy); margin-top: -18px; padding: 0 0 52px; position: relative; z-index: 2; }
.pt-lead { max-width: 780px; }
.pt-grid { display: grid; gap: 20px; }
.pt-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Partner kartice */
.pt-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; transition: var(--t); }
.pt-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.pt-card__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-softer); color: var(--navy); margin-bottom: 16px; }
.pt-card__ic svg { width: 24px; height: 24px; }
.pt-card__no { position: absolute; top: 24px; right: 24px; font-family: var(--ff-head); font-weight: 700; font-size: .95rem; color: var(--gold); letter-spacing: .02em; }
.pt-card h3 { font-size: 1.05rem; margin-bottom: 8px; padding-right: 30px; }
.pt-card p { color: var(--muted); font-size: .93rem; line-height: 1.62; }

/* Kada uključiti — tamna sekcija */
.pt-dark { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%); color: #dfe8f2; }
.pt-dark .section-head .eyebrow { color: var(--gold-soft); }
.pt-dark .section-head h2 { color: #fff; }
.pt-dark .section-head p { color: #b9cadd; }
.pt-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pt-case { display: block; padding: 22px 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); transition: var(--t); }
.pt-case:hover { background: rgba(255,255,255,.09); border-color: rgba(200,162,76,.5); transform: translateY(-3px); }
.pt-case h3 { color: #fff; font-size: 1.04rem; margin-bottom: 6px; }
.pt-case p { color: #b9cadd; font-size: .92rem; line-height: 1.55; margin-bottom: 12px; }
.pt-case .link-arrow { color: var(--gold); }
.pt-case:hover .link-arrow { color: var(--gold-soft); gap: .6rem; }

/* Proces — horizontalni timeline */
.pt-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.pt-step { position: relative; }
.pt-step__n { font-family: var(--ff-head); font-weight: 700; font-size: 1rem; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 16px; position: relative; z-index: 2; }
.pt-step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.pt-step p { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.pt-flow .pt-step:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 56px; right: -12px; height: 2px; background: linear-gradient(90deg, var(--line-strong), var(--line)); z-index: 1; }

/* Vrijednost za partnera — benefit grid */
.pt-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pt-benefit { display: flex; gap: 16px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: var(--t); }
.pt-benefit:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.pt-benefit__ic { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-softer); color: var(--gold); }
.pt-benefit__ic svg { width: 22px; height: 22px; }
.pt-benefit h3 { font-size: 1.02rem; margin-bottom: 4px; }
.pt-benefit p { color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* Kompetencije — kompaktni link grid */
.pt-comp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pt-comp a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-family: var(--ff-head); font-weight: 600; color: var(--navy); font-size: .95rem; transition: var(--t); }
.pt-comp a:hover { border-color: var(--navy); background: var(--navy); color: #fff; transform: translateY(-2px); }
.pt-comp a .ar { color: var(--gold); display: inline-flex; transition: var(--t); }
.pt-comp a:hover .ar { transform: translateX(3px); }

/* Modeli saradnje — 3 kartice */
.pt-models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pt-model { padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; position: relative; overflow: hidden; transition: var(--t); }
.pt-model:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--line-strong); }
.pt-model::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--grad-gold); opacity: .9; }
.pt-model__no { font-family: var(--ff-head); font-weight: 700; color: var(--gold); font-size: .95rem; }
.pt-model h3 { font-size: 1.12rem; margin: 8px 0 10px; }
.pt-model p { color: var(--muted); font-size: .94rem; line-height: 1.62; }

/* Jasne uloge — miran trust blok */
.pt-roles { display: grid; grid-template-columns: 240px 1fr; gap: 34px; align-items: start; padding: 34px 36px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); background: #fff; }
.pt-roles__head .eyebrow { display: block; margin-bottom: 10px; }
.pt-roles h2 { font-size: 1.3rem; }
.pt-roles p { color: var(--muted); font-size: 1rem; line-height: 1.78; }

/* Završni CTA — tamni premium + forma */
.pt-final { background: linear-gradient(160deg, var(--navy) 0%, #071b30 100%); color: #dfe8f2; }
.pt-final__head { text-align: center; max-width: 700px; margin: 0 auto; }
.pt-final__head .eyebrow { color: var(--gold-soft); }
.pt-final__head h2 { color: #fff; font-size: 1.7rem; margin: 8px 0 10px; }
.pt-final__head p { color: #b9cadd; font-size: 1.05rem; }
.pt-final__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 24px 0 40px; }
.pt-form { max-width: 720px; margin: 0 auto; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px 30px; }
.pt-form h3 { color: #fff; font-size: 1.15rem; margin-bottom: 18px; }
.pt-form .field label { color: #c7d5e5; }
.pt-form .field input, .pt-form .field select, .pt-form .field textarea { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; }
.pt-form .field input::placeholder, .pt-form .field textarea::placeholder { color: #8ba1b8; }
.pt-form .field select option { color: #17222e; }
.pt-form .field input:focus, .pt-form .field select:focus, .pt-form .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,162,76,.22); }
.pt-form .consent { color: #b9cadd; }
.pt-form .formnote { color: #8ba1b8; }

@media (max-width: 1024px) {
  .pt-grid--3, .pt-comp, .pt-models { grid-template-columns: repeat(2, 1fr); }
  .pt-flow { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .pt-flow .pt-step:not(:last-child)::after { display: none; }
  .pt-roles { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 640px) {
  .pt-grid--3, .pt-cases, .pt-benefits, .pt-comp, .pt-models, .pt-flow { grid-template-columns: 1fr; }
  .pt-final__head h2 { font-size: 1.4rem; }
  .pt-final__actions { flex-direction: column; }
  .pt-final__actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   Institucionalni klijenti — scoped (.ik-*)
   Institucionalno, mirno, tamna paleta sa diskretnim zlatnim akcentima.
   ============================================================ */
/* Trust bar */
.ik-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 26px; }
.ik-trust__item { padding-left: 18px; border-left: 2px solid var(--gold); }
.ik-trust__k { font-family: var(--ff-head); font-weight: 700; color: var(--navy); font-size: 1.12rem; letter-spacing: -.01em; line-height: 1.2; }
.ik-trust__v { color: var(--muted); font-size: .88rem; margin-top: 5px; }
/* Ciljne grupe / opisne kartice (bez linka, diskretno) */
.ik-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.ik-card__ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-soft); color: var(--navy); margin-bottom: 14px; }
.ik-card__ic svg { width: 22px; height: 22px; }
.ik-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.ik-card p { color: var(--muted); font-size: .93rem; margin: 0; }
/* Program 01–04 */
.ik-prog { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 44px; margin-top: 8px; }
.ik-prog__item { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.ik-prog__no { font-family: var(--ff-head); font-weight: 700; font-size: 1.5rem; color: var(--gold); line-height: 1; padding-top: 2px; }
.ik-prog__b h3 { font-size: 1.04rem; margin-bottom: 6px; }
.ik-prog__b p { color: var(--muted); font-size: .93rem; margin: 0; }
/* Diferencijaciona tamna sekcija */
.ik-dark { background: var(--navy); color: #eaf1f8; border-radius: 24px; padding: 48px; position: relative; overflow: hidden; }
.ik-dark::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad-gold); }
.ik-dark .eyebrow { color: var(--gold-soft); }
.ik-dark h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 10px 0 14px; }
.ik-dark__lead { color: #c3d2e2; max-width: 760px; margin-bottom: 26px; font-size: 1.04rem; }
.ik-check { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 34px; }
.ik-check li { list-style: none; display: grid; grid-template-columns: auto 1fr; gap: 12px; color: #dbe6f1; font-size: .95rem; align-items: start; }
.ik-check svg { color: var(--gold); width: 18px; height: 18px; margin-top: 2px; flex: none; }
/* Proces / timeline 01–04 */
.ik-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 10px; }
.ik-steps__item { padding-top: 20px; border-top: 2px solid var(--line-strong); }
.ik-steps__no { font-family: var(--ff-head); font-weight: 700; color: var(--gold); font-size: 1.05rem; }
.ik-steps__item h3 { font-size: 1rem; margin: 7px 0 6px; }
.ik-steps__item p { color: var(--muted); font-size: .9rem; margin: 0; }
/* Regulatorna napomena (nizak intenzitet) */
.ik-reg { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; max-width: 960px; }
@media (max-width: 900px) {
  .ik-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .ik-trust { grid-template-columns: 1fr 1fr; }
  .ik-prog { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .ik-dark { padding: 32px 22px; }
  .ik-check { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ik-steps { grid-template-columns: 1fr; }
}

/* /vijesti/ — kartice vijesti + filter kategorija (koristi postojeći .icard/.cal) */
.icard__top.vijest { background: var(--navy); }
.icard__img { width: 100%; height: 168px; object-fit: cover; display: block; }
.vfilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.vfilter__b { font-family: var(--ff-head); font-size: .84rem; font-weight: 600; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--navy-800); cursor: pointer; transition: var(--t); }
.vfilter__b:hover { border-color: var(--navy); }
.vfilter__b.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* „Direktan kontakt" blok (side__meta u tamnoj kartici) — čitljivost na navy pozadini (WCAG) */
.side__card.dark .side__meta .row { border-color: rgba(255,255,255,.16); }
.side__card.dark .side__meta .row span { color: #c3d2e2; }
.side__card.dark .side__meta .row b { color: #fff; }

/* Greška pri slanju obrasca (uz .success iznad) */
.formerror:empty { display: none; }
.formerror { background: #fdf2f2; border: 1px solid #e0b4b4; color: #8a2b2b; padding: 12px 14px; border-radius: 10px; font-size: .9rem; margin: 0; }
.pt-form .formerror { background: rgba(224,120,120,.12); border-color: rgba(224,120,120,.45); color: #f3c9c9; }
.form .cf-turnstile { min-height: 65px; }
