:root {
  /* Brend boje (preuzete sa sertifikata) */
  --navy: #002f6c;
  --navy-dark: #00265a;
  --navy-deep: #001c47;
  --lime: #ff0000;
  --lime-dark: #d60000;

  /* Boje ciklusa */
  --c1: #00265a;
  --c2: #2358b0;
  --c3: #4f86d8;
  --c3-ink: #fff;

  --ink: #1b2547;
  --text: #3d4766;
  --muted: #6b7491;
  --line: #e1e5ef;
  --soft: #f5f7fb;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(0, 32, 76, .10);
  --heading: "Manrope", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* Ikonice (Hugeicons, img/icons.svg) */
.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.btn:has(> .ico), .icon-btn:has(> .ico), .link-btn:has(> .ico), .back-link:has(> .ico), .admin-tab:has(> .ico) {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-family: var(--heading); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.accent { color: var(--c2); }
.eyebrow {
  display: inline-block; font-family: var(--heading); font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 18px; height: 3px; background: var(--lime);
  vertical-align: middle; margin-right: 8px; border-radius: 2px;
}

/* ---------- Brend logo ---------- */
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 34px; width: auto; }

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: .95rem;
  transition: transform .15s, background .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn:hover, .btn:active { transform: none; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); }
.btn-lime { background: #fff; color: var(--navy-deep); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.btn-lime:hover { background: #e9edf8; }
.btn-outline-light { border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .12); color: #fff; }
.btn-block { width: 100%; }

.btn-cycle { padding: 8px 14px; font-size: .85rem; border: 1.5px solid var(--line); color: var(--ink); }
.btn-cycle[data-cycle="1"]:hover { background: var(--c1); border-color: var(--c1); color: #fff; }
.btn-cycle[data-cycle="2"]:hover { background: var(--c2); border-color: var(--c2); color: #fff; }
.btn-cycle[data-cycle="3"]:hover { background: var(--c3); border-color: var(--c3); color: var(--c3-ink); }

/* ---------- Zaglavlje ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.main-nav { display: flex; gap: 22px; margin-right: auto; }
.main-nav a { font-weight: 600; font-size: .93rem; color: var(--text); }
.main-nav a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.login-group { display: flex; align-items: center; gap: 8px; }
.login-label { font-size: .85rem; font-weight: 600; color: var(--muted); margin-right: 4px; }

.menu-toggle { display: none; padding: 8px; margin-left: auto; color: var(--ink); border-radius: 8px; }
.menu-toggle:hover { background: var(--soft); }
.menu-toggle .ico { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 72px 0 64px; color: #d5def0;
  background: linear-gradient(160deg, #001c47 0%, #00265a 55%, #002f6c 100%);
}
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: #fff; }
.hero .accent { color: #8fb4ff; }
.hero .btn-primary { background: #fff; color: var(--navy); }
.hero .btn-primary:hover { background: #e9edf8; }
.hero .btn-outline-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.hero .btn-outline-dark:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.section-dark .eyebrow::before, .page-hero .eyebrow::before { background: #fff; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 22px; }
.lead { font-size: 1.12rem; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* KPI u hero-u */
.hero-kpis {
  position: relative; z-index: 1; margin-top: 40px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.hero-kpis .kpi {
  padding: 22px 20px; text-align: left; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 10px 28px rgba(0, 28, 71, .07);
}
.hero-kpis .kpi-value { color: var(--navy); font-size: clamp(1.9rem, 3vw, 2.5rem); }
.hero-kpis .kpi-value .suffix { color: var(--c2); }
.hero-kpis .kpi-label { margin-top: 10px; font-size: .92rem; color: var(--muted); line-height: 1.4; }
.hero-cards { position: relative; z-index: 1; margin-top: 24px; }
.hero-cards {
  background: var(--white); border-radius: 16px; border: 1px solid var(--line);
  padding: 24px 28px 28px; box-shadow: 0 24px 56px rgba(0, 28, 71, .14);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px;
}
.hero-inner .hero-cards { margin-top: 0; grid-template-columns: 1fr; padding: 28px 30px 32px; gap: 14px; }
.hero-inner .cycle-card { padding: 18px 20px; }
.hero-inner .cycle-num { width: 52px; height: 52px; }
.hero-cards-title, .hero-cards-sub { grid-column: 1 / -1; }
.hero-cards-title { font-family: var(--heading); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.hero-cards-sub { color: var(--muted); font-size: .9rem; margin: -8px 0 6px; }
.cycle-card {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.cycle-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cycle-card[data-cycle="1"]:hover { border-color: var(--c1); }
.cycle-card[data-cycle="2"]:hover { border-color: var(--c2); }
.cycle-card[data-cycle="3"]:hover { border-color: var(--c3); }
.cycle-num {
  display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 10px; color: #fff; font-family: var(--heading); font-weight: 700;
}
.cycle-card[data-cycle="1"] .cycle-num { background: var(--c1); }
.cycle-card[data-cycle="2"] .cycle-num { background: var(--c2); }
.cycle-card[data-cycle="3"] .cycle-num { background: var(--c3); color: var(--c3-ink); }
.cycle-info { display: flex; flex-direction: column; flex: 1; }
.cycle-info strong { color: var(--ink); }
.cycle-info small { color: var(--muted); }
.arrow { display: grid; color: var(--muted); }
.arrow .ico { width: 20px; height: 20px; }

.facts {
  position: relative; z-index: 1; margin-top: 48px;
  display: grid; grid-template-columns: 1.2fr 1.4fr 1fr;
  border-top: 1px solid #cdd6ec;
}
.facts > div { padding: 22px 20px 8px 0; }
.facts > div + div { padding-left: 20px; border-left: 1px solid #cdd6ec; }
.facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c2); margin-bottom: 4px; }
.fact-logos { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 10px; }
.fact-logo {
  display: grid; place-items: center; height: 76px; padding: 8px 16px; background: var(--white);
  border: 1px solid var(--line); border-radius: 10px; transition: box-shadow .2s, transform .2s;
}
.fact-logo:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.fact-logo img { display: block; max-width: 190px; max-height: 60px; width: auto; height: auto; object-fit: contain; }
.facts dd { color: var(--ink); font-weight: 600; font-size: .95rem; }

/* ---------- Sekcije ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: #c9d0e6; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); font-weight: 700; margin-bottom: 16px; }
.section-head p { font-size: 1.05rem; }

/* O projektu */
.about { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.about h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); font-weight: 700; }
.about-text { display: grid; gap: 16px; font-size: 1.08rem; border-left: 4px solid var(--lime); padding-left: 28px; }
.about-text strong { color: var(--ink); }

/* Aktivnosti */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--white); padding: 28px 24px; border-radius: var(--radius);
  border: 1px solid var(--line); transition: box-shadow .2s, transform .2s;
}
.step:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.step-num {
  display: inline-block; font-family: var(--heading); font-weight: 700; font-size: 1.6rem;
  color: var(--navy); border-bottom: 4px solid var(--lime); margin-bottom: 16px; line-height: 1.3;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: .94rem; }
.note {
  margin-top: 28px; padding: 20px 24px; border-radius: var(--radius);
  background: var(--navy); color: #d6dcef; font-size: .98rem;
}
.note strong { color: #fff; }

/* KPI */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.kpi {
  padding: 32px 24px; text-align: center; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
.kpi-value {
  font-family: var(--heading); font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 700; color: #fff; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.kpi-value .suffix { color: #fff; }
.kpi-label { margin-top: 12px; font-size: .95rem; }

/* Ciklusi */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.timeline-item {
  display: flex; gap: 16px; padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--line);
}
.timeline-badge {
  flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--c1); color: #fff; font-family: var(--heading); font-weight: 700; font-size: .9rem;
}
.timeline-item:nth-child(2) .timeline-badge { background: var(--c2); }
.timeline-item:nth-child(3) .timeline-badge { background: var(--c3); color: var(--c3-ink); }
.timeline-item h3 { font-size: 1.12rem; margin-bottom: 6px; }

/* Partneri */
.partners { display: grid; grid-template-columns: 1fr; gap: 32px; }
.partner-group .partner-logo-wide { max-width: 420px; }
.partner-group:not(.partner-group-wide) { justify-self: center; text-align: center; }
.partner-group:not(.partner-group-wide) .partner-logo { margin: 0 auto; }
.partner-group h4 {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.partner-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner-logo {
  display: grid; place-items: center; height: 130px; padding: 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .2s, transform .2s;
}
.partner-logo:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.partner-logo img { max-width: 100%; max-height: 90px; object-fit: contain; }
.partner-logo-wide { padding: 12px; }
.partner-logo-wide img { max-height: 110px; }

/* Logotipi učesnika */
.filter { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem;
  border: 1.5px solid var(--line); background: var(--white);
}
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.logo-tile {
  height: 88px; display: grid; place-items: center; padding: 14px; position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .2s;
}
.logo-tile:hover { box-shadow: var(--shadow); }
.logo-tile img { width: 100%; max-width: 124px; height: 42px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .2s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-placeholder { font-family: var(--heading); font-weight: 700; font-size: 1rem; color: #9aa2bb; text-align: center; }
.logo-tile:hover .logo-placeholder { color: var(--ink); }
.logo-cycles { position: absolute; top: 8px; right: 8px; display: flex; gap: 3px; }
.logo-cycles i { width: 7px; height: 7px; border-radius: 50%; }
.logo-cycles i[data-c="1"] { background: var(--c1); }
.logo-cycles i[data-c="2"] { background: var(--c2); }
.logo-cycles i[data-c="3"] { background: var(--lime-dark); }

/* CTA */
.cta { background: var(--navy-deep); color: #c9d0e6; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: 1.7rem; margin-bottom: 8px; }

/* Footer */
.site-footer { background: #121a3a; color: #9099b7; padding: 64px 0 24px; font-size: .93rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-inner > div:first-child p { max-width: 340px; margin-top: 16px; }
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: .9rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.brand-footer:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 24px; }

/* ---------- Dugme za prijavu u zaglavlju ---------- */
/* Prekidač jezika SR / EN (landing i portal) */
/* Izbor jezika */
.lang-menu { position: relative; flex-shrink: 0; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--white); color: var(--navy); cursor: pointer; transition: background .2s, border-color .2s;
}
.lang-btn .lang-flag { width: 24px; height: 16px; }
.lang-code { font-weight: 700; font-size: .82rem; letter-spacing: .06em; color: var(--ink); }
.lang-caret { width: 14px; height: 14px; color: var(--muted); transition: transform .2s; }
.lang-btn[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-check { margin-left: auto; width: 18px; height: 18px; color: var(--navy); }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: var(--soft); border-color: var(--navy); }
.lang-btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.lang-ico { width: 24px; height: 24px; }
.lang-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 70; min-width: 190px; padding: 8px;
  display: grid; gap: 2px; background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(16, 22, 48, .14);
}
.lang-dropdown[hidden] { display: none; }
.lang-dropdown button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-radius: 10px;
  background: none; font: inherit; font-size: .95rem; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer;
}
.lang-dropdown button:hover, .lang-dropdown button:focus-visible { background: var(--soft); outline: none; }
.lang-dropdown button[aria-checked="true"] { font-weight: 700; color: var(--navy); background: var(--tint, #eef1f9); }
.lang-flag { width: 26px; height: 18px; flex-shrink: 0; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(16, 22, 48, .12); }

.btn-login { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; font-size: .9rem; }
.btn-login .ico { width: 18px; height: 18px; color: currentColor; }

/* ---------- Bočni panel za prijavu ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s linear .3s; }
.drawer.open { visibility: visible; transition: none; }
.drawer-backdrop {
  position: absolute; inset: 0; background: rgba(18, 26, 58, .55); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s ease;
}
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  display: flex; flex-direction: column; background: var(--white);
  box-shadow: -24px 0 60px rgba(16, 22, 48, .25);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.drawer.open .drawer-panel { transform: none; }
.drawer-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 28px 28px 4px;
}
.drawer-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime-dark); }
.drawer-head h3 { font-size: 1.6rem; color: var(--ink); }
.drawer-close {
  flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--muted);
}
.drawer-close:hover { background: var(--soft); color: var(--ink); }
.drawer-close .ico { width: 22px; height: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 28px 28px; display: grid; align-content: start; gap: 18px; }
.drawer-body > .muted { font-size: .92rem; margin-bottom: 4px; }

/* Izbor ciklusa – tri niska dugmeta u redu */
.cycle-field { border: 0; display: grid; gap: 6px; }
.cycle-field legend { padding: 0; margin-bottom: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.cycle-options { display: grid; grid-template-columns: 1fr; gap: 8px; }
.cycle-option {
  position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 10px; height: 46px; padding: 0 12px;
  border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; white-space: nowrap;
  font-size: .88rem; font-weight: 600; color: var(--text); transition: border-color .15s, background .15s, color .15s;
}
.cycle-option:hover { border-color: #c9d0e6; color: var(--ink); }
.cycle-option input { position: absolute; opacity: 0; pointer-events: none; }
.opt-num {
  flex-shrink: 0; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 6px;
  font-family: var(--heading); font-size: .72rem; font-weight: 700; background: var(--c1); color: #fff;
}
.cycle-option[data-c="2"] .opt-num { background: var(--c2); }
.cycle-option[data-c="3"] .opt-num { background: var(--c3); color: var(--c3-ink); }
.cycle-option:has(input:checked) { border-color: var(--navy); background: #f3f5fb; color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 47, 108, .1); }
.cycle-option:has(input:focus-visible) { outline: 3px solid var(--lime); outline-offset: 2px; }

#login-form .field { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
#login-form input[type="email"], #login-form input[type="password"], #login-form input[type="text"] {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; font-weight: 400;
}
#login-form input:focus { outline: none; border-color: #8aa3d1; box-shadow: 0 0 0 2px rgba(0, 47, 108, .09); }
.password-wrap { position: relative; display: block; }
.password-wrap input { padding-right: 84px !important; }
.password-toggle {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  padding: 6px 10px; border-radius: 6px; font-size: .8rem; font-weight: 600; color: var(--navy);
}
.password-toggle:hover { background: var(--soft); }
.form-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .85rem; }
.checkbox { display: flex !important; align-items: center; gap: 6px; font-weight: 600 !important; }
.link { color: var(--navy); font-weight: 600; }
.form-error { color: #c62828; font-size: .85rem; min-height: 1em; margin-top: -8px; }
.form-error:empty { display: none; }
.btn-block { width: 100%; }
.drawer-body .btn-block { padding: 14px; font-size: 1rem; }

.drawer-foot { padding: 18px 28px 24px; border-top: 1px solid var(--line); font-size: .85rem; }
.drawer-foot strong { color: var(--ink); }
.drawer-foot p { color: var(--muted); margin-top: 2px; }

@media (prefers-reduced-motion: reduce) {
  .drawer-panel, .drawer-backdrop { transition: none; }
}
@media (max-width: 560px) {
  .drawer-head { padding: 22px 20px 4px; }
  .drawer-body { padding: 14px 20px 24px; }
  .cycle-option { font-size: .82rem; gap: 6px; }
  .drawer-foot { padding: 16px 20px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .menu-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--white);
    padding: 16px 24px; border-bottom: 1px solid var(--line); flex-direction: column; gap: 12px;
  }
  .site-header.nav-open .main-nav { display: flex; }
  .login-group { margin-left: auto; }
  .menu-toggle { margin-left: 0; }
  .header-inner { gap: 12px; }
}
@media (max-width: 1024px) {
  .steps, .kpis, .hero-kpis { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .partners { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .hero { padding: 48px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { width: 100%; max-width: 640px; margin: 0 auto; }
  .hero-cards { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand-logo { height: 28px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .steps, .kpis, .hero-kpis, .facts { grid-template-columns: 1fr; }
  .hero-kpis { gap: 10px; }
  .facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid #cdd6ec; }
  .partner-row { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .about-text { padding-left: 18px; }
  /* Zaglavlje na telefonu: prijava samo kao ikonica, uži prekidač jezika */
  .header-inner { gap: 8px; }
  .login-group { gap: 6px; }
  .lang-btn { height: 36px; padding: 0 8px; gap: 5px; }
  .lang-caret { display: none; }
  .btn-login { padding: 10px; }
  .btn-login-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* =========================================================
   Dugmad (dopune)
   ========================================================= */
.btn-outline-dark { border: 1.5px solid var(--line); color: var(--ink); background: var(--white); }
.btn-outline-dark:hover { border-color: var(--navy); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.main-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }

/* =========================================================
   Vesti
   ========================================================= */
.section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  max-width: none; margin: 0 0 32px; text-align: left;
}
.section-head-row h2 { margin-bottom: 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; color: inherit; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #c9d0e6; }
.news-card:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.news-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #e6ebf7, #f3f5fb); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-media img { transform: scale(1.04); }
.news-media-empty { display: grid; place-items: center; width: 100%; height: 100%; color: var(--navy); opacity: .35; }
.news-media-empty .ico { width: 44px; height: 44px; }
.news-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 22px 22px; }
.news-body time { font-size: .8rem; font-weight: 600; color: var(--muted); }
.news-body h3 { font-size: 1.12rem; line-height: 1.35; color: var(--ink); }
.news-summary {
  color: var(--text); font-size: .93rem; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--navy); }
.news-more .ico { width: 16px; height: 16px; transition: transform .2s; }
.news-card:hover .news-more .ico { transform: translateX(3px); }
.news-state {
  grid-column: 1 / -1; display: grid; justify-items: center; gap: 6px; padding: 44px 20px; text-align: center;
  background: var(--white); border: 1px dashed #c9d0e6; border-radius: var(--radius); color: var(--muted);
}
.news-state strong { color: var(--ink); font-family: var(--heading); font-size: 1.05rem; }

/* Članak */
.article { max-width: 780px; margin: 0 auto; }
.article-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; font-weight: 600; font-size: .92rem; color: var(--navy); }
.article-back .ico { width: 16px; height: 16px; transform: rotate(180deg); }
.article-back:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.article time { display: block; font-size: .86rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.article h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.2; margin-bottom: 24px; }
.article-figure { position: relative; margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.article-image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--soft); }
.article-text { font-size: 1.05rem; line-height: 1.8; color: var(--text); }
.article-text p + p { margin-top: 1.1em; }

/* =========================================================
   Menadžment tim
   ========================================================= */
.team { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 20px; }
.team-group {
  display: flex; flex-direction: column; gap: 20px; padding: 22px 22px 26px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.team-org {
  display: grid; place-items: center; height: 72px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.team-org img { max-width: 78%; max-height: 54px; object-fit: contain; }
.team-members { display: grid; grid-template-columns: repeat(var(--members), 1fr); gap: 18px; align-items: start; flex: 1; }
.team-member { display: grid; justify-items: center; gap: 4px; text-align: center; }
.team-photo {
  width: 112px; height: 112px; margin-bottom: 8px; border-radius: 50%; object-fit: cover; object-position: 50% 15%;
  border: 3px solid var(--navy); background: var(--soft);
}
.team-photo-initials {
  display: grid; place-items: center; background: var(--navy); color: #fff;
  font-family: var(--heading); font-weight: 700; font-size: 2rem;
}
.team-member h3 { font-size: 1.02rem; line-height: 1.3; }
.team-member p { font-size: .88rem; line-height: 1.5; color: var(--muted); }

/* =========================================================
   Podstranice (Vesti, Galerija)
   ========================================================= */
.page-hero {
  position: relative; background: var(--navy-deep); color: #fff; padding: 64px 0 56px; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none' stroke='white' stroke-opacity='.09' stroke-linejoin='round'><polygon points='398,200 101,28.6 101,371.4'/><polygon points='350,200 125,70 125,330'/><polygon points='300,200 150,113.4 150,286.6'/></svg>") right -80px top -140px / 520px 520px no-repeat;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-hero p { color: #c3cae3; max-width: 620px; font-size: 1.05rem; }
.page-section { padding: 56px 0 88px; min-height: 50vh; }

/* Galerija */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.gallery-filter button {
  padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white);
  font-weight: 600; font-size: .88rem; color: var(--text); transition: border-color .15s, background .15s, color .15s;
}
.gallery-filter button:hover { border-color: var(--navy); color: var(--navy); }
.gallery-filter button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 16px; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-empty { column-span: all; display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0; padding: 56px 20px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--soft); color: var(--muted, #5b6478); text-align: center; font-weight: 600; }
.gallery-empty .ico { width: 44px; height: 44px; color: var(--navy); opacity: .55; }
.gallery-item {
  position: relative; display: block; width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden;
  border-radius: var(--radius); background: var(--soft); text-align: left; cursor: zoom-in;
  box-shadow: 0 1px 0 rgba(16, 22, 48, .04); transition: box-shadow .2s, transform .2s;
}
.gallery-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.gallery-item:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.gallery-art { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-ph {
  display: grid; place-items: center; align-content: center; gap: 8px; color: rgba(255, 255, 255, .85);
  background: var(--ph, linear-gradient(135deg, #002f6c, #4a6db5));
}
.gallery-ph .ico { width: 38px; height: 38px; opacity: .7; }
.gallery-ph span { font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: #fff; font-size: .86rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(16, 22, 48, .72)); opacity: 0; transform: translateY(6px);
  transition: opacity .2s, transform .2s;
}
.gallery-item:hover .gallery-cap, .gallery-item:focus-visible .gallery-cap { opacity: 1; transform: none; }
.ph-1 { --ph: linear-gradient(135deg, #002f6c, #4a6db5); }
.ph-2 { --ph: linear-gradient(135deg, #4a6db5, #7d98d6); }
.ph-3 { --ph: linear-gradient(135deg, #2f6bc4, #4f86d8); color: #fff; }
.ph-4 { --ph: linear-gradient(135deg, #001c47, #002f6c); }
.ph-3 .ico, .ph-3 span { color: var(--navy); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(10, 14, 32, .88); }
.lightbox-inner { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 56px 72px; }
.lightbox figure { display: grid; gap: 14px; justify-items: center; max-width: min(960px, 100%); margin: 0; }
.lightbox figure .gallery-art { width: min(960px, 86vw); height: auto; aspect-ratio: 4 / 3; max-height: 72vh; border-radius: 12px; }
.lightbox figure img.gallery-art { width: auto; max-width: min(1200px, 90vw); max-height: 80vh; aspect-ratio: auto; object-fit: contain; }
.lightbox figcaption { color: #fff; font-weight: 600; text-align: center; }
.lightbox-btn {
  position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff; transition: background .15s;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, .28); }
.lightbox-btn .ico { width: 20px; height: 20px; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-prev .ico { transform: rotate(180deg); }

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: 1fr 1fr; }
  .team-group:first-child { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .team-members { grid-template-columns: repeat(var(--members), 1fr); }
  .gallery { gap: 10px; grid-auto-rows: 130px; }
  .lightbox-inner { padding: 64px 12px 24px; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
  .page-hero { padding: 48px 0 40px; }
}
@media (max-width: 420px) {
  .team-members { grid-template-columns: 1fr; }
}


/* Avatar sa inicijalima je plav – bez zelenog okvira */
.team-photo-initials { border-color: var(--navy); }

/* Hero ilustracija: slika portala; ivice se utapaju u pozadinu */
.hero-art { position: relative; width: 118%; max-width: none; justify-self: end; margin-right: -6%; }
.hero-art img {
  display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 88%, transparent 100%);
          mask-composite: intersect;
}


/* =========================================================
   CTA „Sertifikuj se“, najava drugog ciklusa, stranica Drugi ciklus
   ========================================================= */
.btn-lg { padding: 16px 30px; font-size: 1rem; letter-spacing: .04em; }
.certify {
  position: relative; overflow: hidden; padding: 72px 0; color: #d6dcef;
  background: var(--navy-dark);
}
.certify::before, .certify::after { content: ""; position: absolute; pointer-events: none; background-repeat: no-repeat; background-position: center; background-size: contain; }
.certify::before { width: 520px; height: 520px; right: -150px; top: -190px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none' stroke='white' stroke-opacity='.08' stroke-linejoin='round'><polygon points='260,200 170,148.0 170,252.0'/><polygon points='310,200 145,104.7 145,295.3'/><polygon points='360,200 120,61.4 120,338.6'/><polygon points='398,200 101,28.5 101,371.5'/></svg>"); }
.certify::after { width: 300px; height: 300px; left: -90px; bottom: -150px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none' stroke='white' stroke-opacity='.06' stroke-linejoin='round'><polygon points='280,200 160,130.7 160,269.3'/><polygon points='350,200 125,70.1 125,329.9'/><polygon points='398,200 101,28.5 101,371.5'/></svg>"); }
.certify-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.certify-text { max-width: 680px; }
.certify .eyebrow { color: #fff; }
.certify .eyebrow::before { background: #fff; }
.certify h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.15; margin-bottom: 12px; }
.certify p { font-size: 1.05rem; }

.announce {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 32px 36px;
  background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--navy); border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 28, 71, .08);
  background-image: radial-gradient(circle at 100% 0%, #eef1f9, transparent 45%);
}
.announce-date {
  display: grid; place-items: center; gap: 6px; width: 104px; height: 104px; border-radius: 20px;
  background: var(--navy); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.announce-date .ico { width: 34px; height: 34px; }
.announce-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 8px; }
.announce-when { color: var(--ink); margin-bottom: 6px; }
.announce-when strong { color: var(--navy); }

/* Stranica Drugi ciklus (placeholder program) */
.c2-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 56px; }
.c2-info div { padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.c2-info dt { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c2); margin-bottom: 6px; }
.c2-info dd { color: var(--ink); font-weight: 600; }
.c2-block { margin-bottom: 56px; }
.c2-block > h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 20px; }
.agenda { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.agenda-level { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.agenda-level h3 { font-size: 1.1rem; margin-bottom: 4px; }
.agenda-level > p { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.agenda-level ol { list-style: none; display: grid; gap: 10px; counter-reset: a; }
.agenda-level li {
  counter-increment: a; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--soft); font-size: .92rem; color: var(--muted);
}
.agenda-level li::before { content: counter(a, decimal-leading-zero); font-family: var(--heading); font-weight: 700; font-size: .8rem; color: var(--navy); }
.speakers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.speaker { padding: 22px 16px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.speaker-photo {
  display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 12px; border-radius: 50%;
  background: linear-gradient(135deg, #e3e8f6, #cfd7ee); color: var(--navy); font-family: var(--heading); font-weight: 700; font-size: 1.5rem;
}
.speaker h3 { font-size: 1rem; margin-bottom: 4px; }
.speaker p { font-size: .86rem; color: var(--muted); }
.c2-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 32px 36px; border-radius: 18px; background: var(--navy); color: #d6dcef; }
.c2-cta h2 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.btn[aria-disabled="true"] { opacity: .65; pointer-events: none; }

@media (max-width: 1024px) {
  .announce { grid-template-columns: 1fr; text-align: left; gap: 20px; }
  .announce-date { width: auto; height: auto; grid-auto-flow: column; justify-content: start; padding: 10px 16px; border-radius: 12px; justify-self: start; }
  .announce-date .ico { width: 22px; height: 22px; }
  .c2-info { grid-template-columns: repeat(2, 1fr); }
  .agenda { grid-template-columns: 1fr; }
  .speakers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .certify { padding: 56px 0; }
  .announce { padding: 24px 20px; }
  .c2-info { grid-template-columns: 1fr; }
}


/* Znak INNOLEADERS u donjem desnom uglu slike vesti (blaga senka + beli logotip) */
.news-media, .article-figure { position: relative; }
/* Beli vodeni žig samo u samoj vesti (ne na karticama) */
.article-figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("/img/innoleaders-logo-white.svg") no-repeat right 18px bottom 16px / min(130px, 21%) auto;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .45));
  opacity: .95;
}


/* Deljenje vesti */
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.share-label { margin-right: 4px; font-weight: 700; font-size: .92rem; color: var(--ink); }
.share-btn {
  display: grid; place-items: center; width: 42px; height: 42px; border: 1.5px solid var(--line); border-radius: 50%;
  background: var(--white); color: var(--navy); cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.share-btn .ico { width: 19px; height: 19px; }
.share-btn:hover, .share-btn:focus-visible { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-2px); }
.share-btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.share-msg { font-size: .86rem; font-weight: 600; color: var(--navy); }

/* Kategorije vesti */
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.news-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid #d7dce6; background: #fff; color: var(--navy); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
}
.news-chip span { font-size: .75rem; color: var(--muted); font-weight: 700; }
.news-chip:hover { border-color: var(--navy); }
.news-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.news-chip.active span { color: #fff; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.news-cat {
  display: inline-block; padding: 3px 10px; border-radius: 999px; background: #e8ecf8; color: var(--navy);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.article .news-meta { margin-bottom: 10px; }
.article .news-meta time { margin: 0; display: inline; }

/* Zelena traka o drugom ciklusu (beskonačna petlja) */
.ticker {
  display: block; overflow: hidden; background: var(--lime); color: #fff;
  font-weight: 600; font-size: .92rem; white-space: nowrap; text-decoration: none;
}
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; flex-shrink: 0; }
.ticker-item { padding: 10px 28px; display: inline-flex; align-items: center; gap: 10px; }
.ticker-item::after { content: "◆"; font-size: .6rem; margin-left: 28px; opacity: .55; }
.ticker-item strong { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; background: var(--navy); color: #fff; padding: 3px 10px; border-radius: 999px; }
.ticker-cta { text-decoration: none; font-weight: 700; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* =========================================================
   Početna – nov izgled (inspirisan Severstal: mirno, ravno, dvobojni naslovi)
   Prethodna verzija je sačuvana u verzije/v1-zelena-caea44
   ========================================================= */
.home .hl, .hl { color: var(--lime); }
.home .eyebrow { color: var(--muted); font-weight: 600; letter-spacing: .08em; font-size: .74rem; margin-bottom: 14px; }
.home .eyebrow::before { display: none; }
.home .hero .eyebrow, .home .kb .eyebrow { color: rgba(255, 255, 255, .75); }
.home .section-head { max-width: none; margin: 0 0 48px; text-align: left; }
.home .section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
.home .section-head p { max-width: 640px; }
.home .section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.home .step, .home .kpi, .home .team-group, .home .logo-tile { box-shadow: none; }

/* Dugme sa tankim obrubom i strelicom */
.btn-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px; border: 1px solid var(--navy);
  border-radius: 999px; color: var(--navy); font-weight: 600; font-size: .92rem; background: transparent;
  transition: background .2s, color .2s, gap .2s;
}
.btn-pill:hover { background: var(--navy); color: #fff; gap: 14px; }
.btn-pill .ico { width: 18px; height: 18px; }

/* Hero: geometrija (koncentrični krugovi) */
.home .hero::before {
  content: ""; position: absolute; right: -14%; top: -30%; width: 980px; height: 980px; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none' stroke='white' stroke-opacity='.08' stroke-linejoin='round'><polygon points='260,200 170,148.0 170,252.0'/><polygon points='310,200 145,104.7 145,295.3'/><polygon points='360,200 120,61.4 120,338.6'/><polygon points='398,200 101,28.5 101,371.5'/></svg>") center / contain no-repeat;
}

/* Aktuelnosti: horizontalni klizač */
.rail-btns { display: flex; gap: 10px; }
.rail-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy);
  display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background .2s;
}
.rail-btn:hover { border-color: var(--navy); }
.rail-btn[data-rail="-1"] .ico { transform: rotate(180deg); }
.news-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-bottom: 36px; }
.news-rail::-webkit-scrollbar { display: none; }
.rail-card {
  flex: 0 0 clamp(250px, 27%, 340px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px;
  padding: 4px 28px 8px; border-left: 1px solid var(--line); min-height: 200px;
}
.rail-card:first-child { padding-left: 0; border-left: 0; }
.rail-card .news-meta { gap: 10px; }
.rail-card time { color: var(--muted); font-size: .84rem; }
.rail-card h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.35; color: var(--ink); transition: color .2s; }
.rail-card:hover h3 { color: var(--lime); }
.rail-card .news-summary { font-size: .92rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* O projektu */
.home #o-projektu { background: #fff; }
.home .about { align-items: start; }
.home .about h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; color: var(--navy); line-height: 1.12; }
.home .about-text { border-left: 0; padding-left: 0; gap: 18px; }
.home .about-text .btn-pill { justify-self: start; margin-top: 8px; }

/* Tamna traka sa geometrijom */
.about-band, .kb {
  position: relative; overflow: hidden; color: #d5def0;
  background: linear-gradient(160deg, #001c47 0%, #00265a 55%, #002f6c 100%);
}
.about-band::before, .kb::before {
  content: ""; position: absolute; left: -12%; bottom: -55%; width: 900px; height: 900px; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none' stroke='white' stroke-opacity='.07' stroke-linejoin='round'><polygon points='250,200 175,156.7 175,243.3'/><polygon points='300,200 150,113.4 150,286.6'/><polygon points='350,200 125,70.1 125,329.9'/><polygon points='398,200 101,28.5 101,371.5'/></svg>") center / contain no-repeat;
}
.about-band .container { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 0; }
.band-text { max-width: 560px; margin-left: auto; display: grid; gap: 24px; font-size: 1.05rem; color: #fff; padding-bottom: 72px; }
.band-text strong { color: #fff; }
.band-tiles, .kb-tiles { display: grid; gap: 16px; }
.band-tiles { grid-template-columns: repeat(3, 1fr); margin-bottom: -1px; }
.band-tile, .kb-tile {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; padding: 18px 20px;
  font-weight: 700; font-size: 1.02rem; transition: transform .2s;
}
.band-tile .ico, .kb-tile .ico { width: 26px; height: 26px; align-self: flex-end; }
.band-tile:hover { transform: translateY(-4px); }
.tile-light { background: #fff; color: var(--navy); }
.tile-blue { background: #1d4aa0; color: #fff; }
.tile-dark { background: #00183d; color: #fff; }
.band-tile { border-radius: 0; }
.about-band { padding-top: 0; }
.about-band .band-tiles .band-tile { min-height: 190px; }

/* Aktivnosti: ravno, sa linijom na vrhu */
.home .step { border: 0; border-radius: 0; background: transparent; padding: 6px 4px 0; }
.home .note { border-radius: 0; }

/* Nivoi kao velike pločice */
.level-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.level-tile {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 280px; padding: 28px 26px 70px;
  overflow: hidden; transition: transform .2s;
}
.level-tile:hover { transform: translateY(-4px); }
.level-tile::before {
  content: ""; position: absolute; right: -110px; top: -110px; width: 340px; height: 340px; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none' stroke='white' stroke-opacity='.16' stroke-linejoin='round'><polygon points='280,200 160,130.7 160,269.3'/><polygon points='340,200 130,78.8 130,321.2'/><polygon points='398,200 101,28.5 101,371.5'/></svg>") center / contain no-repeat;
}
.level-1::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none' stroke='%23002f6c' stroke-opacity='.14' stroke-linejoin='round'><polygon points='280,200 160,130.7 160,269.3'/><polygon points='340,200 130,78.8 130,321.2'/><polygon points='398,200 101,28.5 101,371.5'/></svg>"); }
.level-1 { background: #dbe7fa; color: var(--navy); }
.level-2 { background: #2358b0; color: #fff; }
.level-3 { background: #00265a; color: #fff; }
.level-num { font-family: var(--heading); font-weight: 700; font-size: 3.4rem; line-height: 1; margin-bottom: 10px; }
.level-1 .level-num { color: #2358b0; }
.level-tile h3 { color: inherit; }
.level-tile h3 { font-size: 1.25rem; position: relative; }
.level-tile p { position: relative; font-size: .95rem; opacity: .85; }
.level-arrow { position: absolute; right: 22px; bottom: 20px; width: 28px; height: 28px; }

/* Baza znanja */
.kb { padding: 96px 0; }
.kb-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.kb-text h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; line-height: 1.15; margin-bottom: 18px; }
.kb-text p { max-width: 460px; margin-bottom: 28px; }
.kb-tiles { grid-template-columns: repeat(2, 1fr); }
.kb-tile { min-height: 130px; }
.kb .tile-dark { background: rgba(0, 12, 38, .65); }

/* Podnožje: velika poruka */
.footer-slogan { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-slogan p { font-family: var(--heading); font-weight: 700; color: #fff; font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1.05; letter-spacing: -.02em; }
.site-footer {
  background: linear-gradient(160deg, #001c47 0%, #00265a 100%); padding-top: 72px; position: relative; overflow: hidden;
}

@media (max-width: 960px) {
  .home .section-head-row { align-items: flex-start; flex-direction: column; }
  .band-text { margin-left: 0; }
  .band-tiles { grid-template-columns: 1fr; }
  .level-tiles { grid-template-columns: 1fr; }
  .kb-inner { grid-template-columns: 1fr; gap: 32px; }
  .rail-card { flex-basis: 78%; }
}
@media (max-width: 560px) { .kb-tiles { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .about-band .band-tiles .band-tile, .band-tile { min-height: 96px; } .level-tile { min-height: 200px; } }

.rail-card .news-media { margin-bottom: 4px; border-radius: 4px; }
.rail-card:hover .news-media img { transform: scale(1.04); }
.rail-card { flex-basis: clamp(260px, 29%, 360px); }
.rail-card h3 { font-size: 1.05rem; }
.rail-card .news-summary { -webkit-line-clamp: 2; }

/* Beli tekst na tamnim pozadinama */
.hero, .hero .lead, .hero p, .about-band, .about-band p, .kb, .kb p, .kb-text p, .cta, .cta p, .certify, .certify p,
.section-dark, .page-hero p, .site-footer, .site-footer p, .site-footer a, .site-footer small { color: #fff; }
.hero .accent, .hero .hl, .about-band .hl, .kb .hl, .certify .hl, .site-footer .hl, .footer-slogan .hl { color: #fff; }
.site-footer a { opacity: .85; }
.site-footer a:hover { opacity: 1; }
.tile-light { color: var(--navy); }
.hero .hero-cards .hero-cards-title { color: var(--ink); }
.hero .hero-cards .hero-cards-sub { color: var(--muted); }

/* CTA newsletter sa slikom u pozadini */
.cta-news {
  position: relative; padding: 96px 0; color: #fff;
  background: linear-gradient(90deg, rgba(0, 28, 71, .92) 0%, rgba(0, 38, 90, .78) 55%, rgba(0, 47, 108, .6) 100%), url("/assets/newsletter-bg.jpg") center / cover no-repeat;
}
.cta-news h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; line-height: 1.15; max-width: 560px; text-transform: none; }
.cta-news p { max-width: 520px; color: #fff; }
.news-form { display: flex; flex-wrap: wrap; gap: 10px; width: min(460px, 100%); }
.news-form input {
  flex: 1 1 240px; min-width: 0; padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .95); font: inherit; color: var(--ink);
}
.news-form input:focus { outline: none; border-color: #8aa3d1; box-shadow: 0 0 0 2px rgba(0, 47, 108, .12); }
.news-form .form-msg { flex-basis: 100%; margin: 0; min-height: 1.2em; font-size: .9rem; color: #fff; }

/* Telefon: prijava i jezik su na dnu otvorenog menija */
@media (max-width: 760px) {
  .main-nav .login-group { margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .main-nav .btn-login { padding: 13px 18px; width: 100%; justify-content: center; color: #fff; }
  .main-nav .btn-login-text { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .main-nav .lang-menu { width: 100%; }
  .main-nav .lang-btn { width: 100%; height: 46px; justify-content: flex-start; padding: 0 14px; gap: 10px; }
  .main-nav .lang-caret { display: inline-block; margin-left: auto; }
  .main-nav .lang-dropdown { position: static; width: 100%; margin-top: 6px; box-shadow: none; }
  .main-nav { max-height: calc(100vh - 72px); overflow-y: auto; }
}
@media (max-width: 760px) { .site-header .menu-toggle { margin-left: auto; } }

/* Logotipi organizacija: isti okvir, a linkovi vode na sajtove centara */
a.logo-tile { color: inherit; }
a.logo-tile:hover { border-color: var(--navy); }
.logo-tile img[src*="biznis-inkubator-krusevac"] { max-width: 150px; height: 54px; }

/* Newsletter CTA: naslov u jednom redu, svetlija pozadina da fotografija dođe do izražaja */
.cta-news {
  background: linear-gradient(90deg, rgba(0, 28, 71, .78) 0%, rgba(0, 38, 90, .5) 60%, rgba(0, 47, 108, .3) 100%), url("/assets/newsletter-bg.jpg") center / cover no-repeat;
}
.cta-news .cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
.cta-news h2 { max-width: none; white-space: nowrap; font-size: clamp(1.5rem, 3.2vw, 2.5rem); }
.cta-news p { text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
@media (max-width: 760px) { .cta-news h2 { white-space: normal; } }

/* ===== KPI na telefonu: 2 × 2, bez belih kutija, tanke linije ===== */
@media (max-width: 760px) {
  .home .hero-kpis { grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 32px; }
  .home .hero-kpis .kpi { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 20px 16px; }
  .home .hero-kpis .kpi:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .22); padding-left: 0; }
  .home .hero-kpis .kpi:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .22); }
  .home .hero-kpis .kpi-value { color: #fff; font-size: 2rem; }
  .home .hero-kpis .kpi-value .suffix { color: #fff; }
  .home .hero-kpis .kpi-label { color: rgba(255, 255, 255, .85); font-size: .85rem; }
}

/* ===== Sertifikacija: atraktivniji blok ===== */
.certify-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.certify-text { max-width: 560px; }
.certify-perks { list-style: none; display: grid; gap: 12px; margin: 22px 0 30px; }
.certify-perks li { display: flex; gap: 12px; align-items: flex-start; color: #fff; font-weight: 600; }
.certify-perks .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; margin-top: 1px; }
.certify-visual { position: relative; padding: 0 0 36px 36px; }
.cv-photo {
  aspect-ratio: 4 / 3; border-radius: 10px; background: url("/assets/certify-photo.jpg") center / cover no-repeat;
  box-shadow: 0 30px 60px rgba(0, 12, 38, .45); outline: 1px solid rgba(255, 255, 255, .25); outline-offset: 10px;
}
.cv-cert {
  position: absolute; left: 0; bottom: 0; width: 230px; padding: 18px 20px 20px; background: #fff; color: var(--navy);
  border-radius: 8px; box-shadow: 0 20px 44px rgba(0, 12, 38, .4); display: grid; gap: 8px; transform: rotate(-3deg);
}
.cv-cert img { height: 26px; width: auto; justify-self: start; }
.cv-cert-title { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 6px; }
.cv-cert-line { height: 2px; background: linear-gradient(90deg, var(--lime) 0 44px, var(--line) 44px); }
.cv-cert strong { font-family: var(--heading); font-size: 1.05rem; color: var(--navy); }
.cv-seal {
  position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--navy);
}
.cv-seal .ico { width: 20px; height: 20px; }
.cv-chip {
  position: absolute; right: -18px; top: 22px; display: grid; gap: 3px; max-width: 221px; padding: 16px 21px; background: #fff; color: var(--navy);
  border-radius: 8px; box-shadow: 0 14px 30px rgba(0, 12, 38, .35);
}
.cv-chip strong { font-family: var(--heading); font-size: 2.34rem; line-height: 1; color: var(--lime); }
.cv-chip span { font-size: 1.01rem; line-height: 1.35; color: var(--navy); }
@media (max-width: 960px) {
  .certify-grid { grid-template-columns: 1fr; gap: 40px; }
  .certify-visual { padding-left: 14px; max-width: 520px; }
  .cv-chip { right: 6px; }
}

/* ===== Tamna traka: naslov ===== */
.band-text h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.2; margin-bottom: 4px; }

/* ===== Najava drugog ciklusa ===== */
.announce2 {
  position: relative; overflow: hidden; padding: 56px clamp(24px, 6vw, 72px); border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, #001c47 0%, #00265a 55%, #1d4aa0 130%);
}
.announce2::before {
  content: ""; position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none' stroke='white' stroke-opacity='.09' stroke-linejoin='round'><polygon points='260,200 170,148.0 170,252.0'/><polygon points='310,200 145,104.7 145,295.3'/><polygon points='360,200 120,61.4 120,338.6'/><polygon points='398,200 101,28.5 101,371.5'/></svg>") center / contain no-repeat;
}
.a2-num {
  position: absolute; right: clamp(16px, 6vw, 80px); top: 50%; transform: translateY(-50%); font-family: var(--heading); font-weight: 700;
  font-size: clamp(11rem, 26vw, 22rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .22); pointer-events: none;
}
.a2-body { position: relative; z-index: 1; max-width: 640px; display: grid; gap: 16px; justify-items: start; }
.a2-badge { background: var(--lime); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.announce2 h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; line-height: 1.15; }
.a2-when { display: flex; gap: 12px; align-items: center; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; color: #fff; }
.a2-when .ico { width: 22px; height: 22px; }
.a2-when strong { color: #fff; }
.a2-text { color: #fff; max-width: 560px; }
.a2-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.a2-facts li { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: .86rem; font-weight: 600; }
.a2-body .btn { margin-top: 6px; }
@media (max-width: 760px) { .a2-num { opacity: .6; right: -10px; font-size: 12rem; } .announce2 { padding: 40px 22px; } }

/* ===== Newsletter traka: niža; tekst levo, forma desno ===== */
.cta-news { padding: 40px 0; }
.cta-news .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
.cta-news h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); margin-bottom: 6px; }
.cta-news p { margin: 0; font-size: .95rem; }
.news-form { flex-wrap: nowrap; align-items: stretch; width: min(480px, 100%); position: relative; }
.news-form input { flex: 1 1 auto; height: 48px; padding: 0 16px; border: 0; border-radius: 8px; background: #fff; }
.news-form .btn { height: 48px; padding: 0 22px; white-space: nowrap; }
.news-form .form-msg { position: absolute; left: 0; top: calc(100% + 6px); flex-basis: auto; }
@media (max-width: 760px) {
  .cta-news .cta-inner { flex-direction: column; align-items: stretch; }
  .news-form { width: 100%; margin-bottom: 22px; }
}
@media (min-width: 900px) {
  .cta-news .cta-inner { flex-wrap: nowrap; }
  .cta-news .cta-inner > div { flex: 1 1 auto; min-width: 0; }
  .cta-news h2 { font-size: clamp(1.25rem, 2.1vw, 1.8rem); }
  .news-form { flex: 0 0 400px; width: 400px; }
}
@media (max-width: 899px) { .cta-news .cta-inner { flex-direction: column; align-items: stretch; } .news-form { width: 100%; flex-basis: auto; margin-bottom: 22px; } .cta-news h2 { white-space: normal; } }

/* Baza znanja: kartice istog dizajna kao u portalu (bez strelica) */
.kb-card {
  --sc-tint: #e9edf8; --sc-solid: var(--navy); --sc-ink: #fff;
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; min-height: 130px; padding: 20px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--text); text-align: left;
}
.kb-card::before, .kb-card::after { content: ""; position: absolute; border-radius: 50%; background: var(--sc-tint); pointer-events: none; }
.kb-card::before { width: 130px; height: 130px; right: -38px; top: -52px; }
.kb-card::after { width: 64px; height: 64px; right: 62px; bottom: -34px; opacity: .6; }
.kb-card > * { position: relative; z-index: 1; }
.kb-card.sc-cert { --sc-tint: #e3e9f7; --sc-solid: var(--c3); }
.kb-card.sc-deliv { --sc-tint: #e3e9f7; --sc-solid: var(--c2); }
.kb-card.sc-community { --sc-tint: #eef1f9; --sc-solid: #dfe6f6; --sc-ink: var(--navy); }
.kb-ico { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--sc-solid); color: var(--sc-ink); }
.kb-ico svg { width: 21px; height: 21px; }
.kb-card-text { display: grid; gap: 2px; min-width: 0; }
.kb-card-text strong { font-family: var(--heading); font-size: 1rem; color: var(--ink); }
.kb-card-text span { font-size: .84rem; line-height: 1.4; color: var(--muted); }

/* ===== KPI: isti dizajn i na desktopu (bez kutija, tanke linije, beli tekst) ===== */
.home .hero-kpis { grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; }
.home .hero-kpis .kpi { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 12px 28px; }
.home .hero-kpis .kpi:first-child { padding-left: 0; }
.home .hero-kpis .kpi:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, .22); }
.home .hero-kpis .kpi-value { color: #fff; }
.home .hero-kpis .kpi-value .suffix { color: #fff; }
.home .hero-kpis .kpi-label { color: rgba(255, 255, 255, .85); }
/* 2 × 2 (tablet i telefon) */
@media (max-width: 1024px) {
  .home .hero-kpis { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
  .home .hero-kpis .kpi { padding: 20px 16px; }
  .home .hero-kpis .kpi:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .22); padding-left: 0; }
  .home .hero-kpis .kpi:nth-child(even) { border-right: 0; }
  .home .hero-kpis .kpi:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .22); }
}

/* Centriranje: dugme „Sve vesti“, menadžment tim i partneri */
.home .news-rail + .btn-pill { display: flex; width: fit-content; margin: 0 auto; }
.home #tim .section-head, .home #partneri .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.home #tim .section-head p { margin-left: auto; margin-right: auto; }
.home #partneri .partners { text-align: center; justify-items: center; }
.home #partneri .partner-group { width: 100%; }
.home #partneri .partner-group h4 { text-align: center; }
.home #partneri .partner-group-wide .partner-row { max-width: 960px; margin: 0 auto; }

/* Hero: blaga, staklasta kartica za prijavu (umesto čisto bele) */
.home .hero .hero-cards {
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .22); border-top: 1px solid rgba(255, 255, 255, .22);
  box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero .hero-cards .hero-cards-title { color: #fff; }
.hero .hero-cards .hero-cards-sub { color: rgba(255, 255, 255, .75); }
.home .hero .cycle-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); box-shadow: none; }
.home .hero .cycle-card:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .55); box-shadow: none; }
.home .hero .cycle-info strong { color: #fff; }
.home .hero .cycle-info small { color: rgba(255, 255, 255, .72); }
.home .hero .cycle-card .arrow { color: rgba(255, 255, 255, .8); }
.home .hero .cycle-card[data-cycle="1"] .cycle-num { background: #fff; color: var(--navy); }

/* =========================================================
   Jedinstvena dugmad (stil dugmeta iz navigacionog menija)
   ========================================================= */
.btn, .btn-pill, .btn-outline-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 8px; font-weight: 600; font-size: .92rem; line-height: 1.2; box-shadow: none;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn .ico, .btn-pill .ico { width: 18px; height: 18px; }
.btn-lg { padding: 13px 26px; font-size: 1rem; }
.btn-sm { padding: 8px 14px; font-size: .86rem; }
/* svetle pozadine: bez ispune, plavi obris; na hover plavo */
.btn-primary, .btn-pill { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-primary:hover, .btn-pill:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-primary:disabled, .btn-primary[disabled] { opacity: .55; cursor: not-allowed; }
.btn-primary .ico { color: currentColor; }
/* tamne pozadine: isti oblik, belo dugme */
.btn-lime { background: #fff; color: var(--navy); border-color: #fff; box-shadow: none; }
.btn-lime:hover { background: #e9edf8; border-color: #e9edf8; }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.home .hero .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.home .hero .btn-primary:hover { background: #e9edf8; border-color: #e9edf8; }
.home .hero .btn-outline-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.home .hero .btn-outline-dark:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-login { padding: 10px 18px; font-size: .9rem; }
.news-form .btn { height: 48px; padding: 0 22px; }
.cv-cert { width: 260px; }
.cv-cert strong { padding-right: 52px; font-size: 1rem; }

/* ===== Najava drugog ciklusa: trouglovi (kao u logotipu) ===== */
.announce2::before {
  right: -30px; top: 50%; width: 600px; height: 600px; transform: translateY(-50%);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none' stroke='white' stroke-opacity='.22' stroke-width='2' stroke-linejoin='round'><polygon points='270,200 165,139.4 165,260.6'/><polygon points='315,200 142.5,100.4 142.5,299.6'/><polygon points='360,200 120,61.4 120,338.6'/><polygon points='398,200 101,28.5 101,371.5'/></svg>") center / contain no-repeat;
}
.announce2::after {
  content: ""; position: absolute; right: clamp(28px, 7vw, 96px); bottom: 34px; width: 104px; height: 28px; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 28'><polygon points='0,0 24,14 0,28' fill='white' fill-opacity='.9'/><polygon points='36,0 60,14 36,28' fill='white' fill-opacity='.55'/><polygon points='72,0 96,14 72,28' fill='%23ff0000'/></svg>") center / contain no-repeat;
}
.a2-num { right: clamp(60px, 11vw, 150px); -webkit-text-stroke: 2px rgba(255, 255, 255, .3); }
@media (max-width: 760px) { .announce2::before { right: -200px; opacity: .8; } .announce2::after { display: none; } }

/* ===== Animirana traka: svetlija crvena oznaka ===== */
.ticker-item strong { background: #ff7f7f; color: #fff; letter-spacing: .08em; }

/* ===== Najava: diskretni, raštrkani trouglovi (različiti položaji i veličine) ===== */
.announce2::before {
  right: 0; top: 0; bottom: 0; left: auto; width: min(58%, 640px); height: auto; transform: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='220 0 400 400'><polygon points='539.3,219.7 426.9,265.2 443.8,145.1' fill='none' stroke='white' stroke-opacity='0.07' stroke-width='1.3' stroke-linejoin='round'/><polygon points='523.5,75.0 492.6,102.8 483.9,62.2' fill='none' stroke='white' stroke-opacity='0.2' stroke-width='1.3' stroke-linejoin='round'/><polygon points='559.4,227.2 542.2,212.7 563.4,205.0' fill='white' fill-opacity='0.13' stroke='none'/><polygon points='442.9,305.4 406.2,355.8 380.9,298.8' fill='none' stroke='white' stroke-opacity='0.14' stroke-width='1.3' stroke-linejoin='round'/><polygon points='590.0,341.7 557.4,337.1 577.6,311.2' fill='none' stroke='white' stroke-opacity='0.2' stroke-width='1.3' stroke-linejoin='round'/><polygon points='319.2,93.1 337.1,86.6 333.8,105.3' fill='white' fill-opacity='0.1' stroke='none'/><polygon points='254.5,270.7 247.9,233.1 283.7,246.2' fill='none' stroke='white' stroke-opacity='0.12' stroke-width='1.3' stroke-linejoin='round'/><polygon points='596.5,73.1 581.1,75.8 586.4,61.1' fill='white' fill-opacity='0.16' stroke='none'/><polygon points='393.7,164.9 382.7,141.4 408.6,143.7' fill='none' stroke='white' stroke-opacity='0.16' stroke-width='1.3' stroke-linejoin='round'/><polygon points='527.7,343.6 521.7,359.8 510.6,346.6' fill='white' fill-opacity='0.1' stroke='none'/><polygon points='353.0,330.0 341.0,336.9 341.0,323.1' fill='white' fill-opacity='0.12' stroke='none'/></svg>") right center / cover no-repeat;
}
.announce2::after { display: none; }
.a2-num { right: clamp(70px, 12vw, 170px); font-size: clamp(9rem, 20vw, 16rem); -webkit-text-stroke: 1.5px rgba(255, 255, 255, .16); }
@media (max-width: 760px) { .announce2::before { width: 100%; opacity: .7; } .a2-num { opacity: .5; } }

/* ===== Najava: bez velikog trougla; tri sitna bela trougla ===== */
.announce2::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='220 0 400 400'><polygon points='523.5,75.0 492.6,102.8 483.9,62.2' fill='none' stroke='white' stroke-opacity='0.2' stroke-width='1.3' stroke-linejoin='round'/><polygon points='559.4,227.2 542.2,212.7 563.4,205.0' fill='white' fill-opacity='0.13' stroke='none'/><polygon points='442.9,305.4 406.2,355.8 380.9,298.8' fill='none' stroke='white' stroke-opacity='0.14' stroke-width='1.3' stroke-linejoin='round'/><polygon points='590.0,341.7 557.4,337.1 577.6,311.2' fill='none' stroke='white' stroke-opacity='0.2' stroke-width='1.3' stroke-linejoin='round'/><polygon points='319.2,93.1 337.1,86.6 333.8,105.3' fill='white' fill-opacity='0.1' stroke='none'/><polygon points='254.5,270.7 247.9,233.1 283.7,246.2' fill='none' stroke='white' stroke-opacity='0.12' stroke-width='1.3' stroke-linejoin='round'/><polygon points='596.5,73.1 581.1,75.8 586.4,61.1' fill='white' fill-opacity='0.16' stroke='none'/><polygon points='393.7,164.9 382.7,141.4 408.6,143.7' fill='none' stroke='white' stroke-opacity='0.16' stroke-width='1.3' stroke-linejoin='round'/><polygon points='527.7,343.6 521.7,359.8 510.6,346.6' fill='white' fill-opacity='0.1' stroke='none'/><polygon points='353.0,330.0 341.0,336.9 341.0,323.1' fill='white' fill-opacity='0.12' stroke='none'/></svg>"); }
.announce2::after {
  content: ""; display: block; position: absolute; right: clamp(28px, 6vw, 80px); bottom: 30px; width: 50px; height: 12px; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 12'><polygon points='0,0 11,6 0,12' fill='white'/><polygon points='17,0 28,6 17,12' fill='white'/><polygon points='34,0 45,6 34,12' fill='white'/></svg>") center / contain no-repeat;
}
@media (max-width: 760px) { .announce2::after { right: 22px; bottom: 22px; } }

/* Newsletter: viša traka, tamnija pozadina */
.cta-news { padding: 62px 0; background: linear-gradient(90deg, rgba(0, 20, 52, .9) 0%, rgba(0, 30, 72, .78) 60%, rgba(0, 38, 90, .62) 100%), url("/assets/newsletter-bg.jpg") center / cover no-repeat; }
.cta-news p { color: #fff; }
/* Dugme: razmak ikonice i teksta se ne menja na hover */
.btn, .btn:has(> .ico), .btn-login, .btn-pill, .btn-pill:has(> .ico) { gap: 8px; }
.btn:hover, .btn:has(> .ico):hover, .btn-login:hover, .btn-pill:hover, .btn-pill:has(> .ico):hover { gap: 8px; }
/* Podnožje: više prostora između linkova */
.site-footer .footer-inner p { margin: 0 0 14px; }
.site-footer .footer-inner h4 { margin-bottom: 18px; }
.site-footer .footer-inner p:last-child { margin-bottom: 0; }
.site-footer .footer-inner > div:first-child p { margin-top: 16px; }

/* ===== Tamna traka: Cilj / Kako / Održivost sa piktogramima ===== */
.about-band .container { padding-top: 72px; }
.band-title { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.15; margin-bottom: 40px; max-width: 640px; }
.band-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 56px; }
.band-point { padding: 4px 32px; border-left: 1px solid rgba(255, 255, 255, .2); display: grid; gap: 10px; align-content: start; }
.band-point:first-child { padding-left: 0; border-left: 0; }
.band-point h3 { color: #fff; font-size: 1.15rem; font-weight: 700; }
.band-point p { color: rgba(255, 255, 255, .88); font-size: .98rem; line-height: 1.6; margin: 0; }
.bp-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); color: #fff; margin-bottom: 6px; }
.bp-svg { width: 26px; height: 26px; }
.about-band .band-text { display: none; }
@media (max-width: 960px) {
  .band-points { grid-template-columns: 1fr; gap: 28px; }
  .band-point, .band-point:first-child { padding: 0 0 0 0; border-left: 0; grid-template-columns: 52px 1fr; column-gap: 16px; }
  .band-point .bp-ico { grid-row: 1 / span 2; }
}

/* ===== Pločice u traci: niže, sa paternom i ilustracijom ===== */
.about-band .band-tiles .band-tile, .band-tile { min-height: 112px; position: relative; overflow: hidden; padding: 18px 20px; justify-content: flex-start; }
.band-tile > span { position: relative; z-index: 1; font-size: 1.05rem; }
.band-tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16;
  background-image: radial-gradient(currentColor 1.1px, transparent 1.4px); background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 70%); mask-image: linear-gradient(to left, #000 0%, transparent 70%);
}
.band-tile .bt-art { position: absolute; right: 52px; bottom: 12px; width: 76px; height: 76px; opacity: .55; }
.band-tile .ico { position: absolute; right: 18px; bottom: 16px; align-self: auto; width: 24px; height: 24px; }

.about-band::before { left: -34%; }
.band-tile .bt-art { display: none; }

/* Traka: mali trougao između ponavljajućih elemenata */
.ticker-item::after {
  content: ""; width: 9px; height: 10px; margin-left: 28px; opacity: .8; background: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%); font-size: 0;
}

/* Hero: FON ▸ NALED ▸ TUM */
.hero-orgs { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .16em; }
.home .hero .hero-orgs { color: #fff; }
.hero-orgs .tri { display: inline-block; width: 7px; height: 8px; background: #fff; opacity: .75; clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* Meni: stavke desno, uz izbor jezika */
@media (min-width: 1241px) { .main-nav { margin-left: auto; margin-right: 8px; } }

/* Slično iz kategorije (ispod vesti) */
.related { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.related-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.related-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; color: var(--navy); }
.related .news-rail { margin-bottom: 0; }

/* ===== Dizajn obuke: šest koraka ===== */
.design-steps { grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
.design-steps .step h3 { color: var(--navy); }
.design-areas { list-style: none; display: grid; gap: 6px; margin: 0; padding: 0; }
.design-areas li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--text); }
.design-areas b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--navy); color: #fff; font-size: .72rem; flex-shrink: 0; }
.design-areas li:nth-child(2) b { background: #1d4aa0; }
.design-areas li:nth-child(3) b { background: #2c63b8; }
.design-areas li:nth-child(4) b { background: #4a7fd1; }
.design-areas li:nth-child(5) b { background: #6a97dc; }
.design-areas li:nth-child(6) b { background: #8aaee6; color: var(--navy); }
@media (max-width: 960px) { .design-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .design-steps { grid-template-columns: 1fr; } }
/* Najava: dva dugmeta */
.a2-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
/* Tamna traka: samo pločice */
.about-band .container { padding-top: 40px; }
/* Partneri: kratak opis ispod naslova */
.home #partneri .section-head p { max-width: 640px; margin-left: auto; margin-right: auto; }
/* Futer: slogan u jednom ili dva reda */
.footer-slogan p { font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.15; }
/* Iste visine slika vesti */
.rail-card .news-media { aspect-ratio: auto; height: 190px; }
.rail-card .news-media img { height: 100%; width: 100%; object-fit: cover; }

/* ===== Dizajn obuke: 3D model (izometrijske stepenice) ===== */
.design3d { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: stretch; }
.d3-stage {
  position: relative; overflow: hidden; min-height: 460px; border-radius: 12px; perspective: 1500px; perspective-origin: 50% 40%;
  background: linear-gradient(160deg, #001c47 0%, #00265a 55%, #002f6c 100%);
}
.d3-scene {
  position: absolute; left: 50%; top: 58%; width: 0; height: 0; transform-style: preserve-3d;
  transform: rotateX(60deg) rotateZ(-32deg) scale(var(--k, 1));
}
.d3-scene::before {
  content: ""; position: absolute; left: -440px; top: -190px; width: 880px; height: 380px; border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 55px 55px, linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 55px 55px;
  transform: translateZ(-2px);
}
.d3-block {
  position: absolute; left: calc(var(--i) * 128px - 375px); top: -55px; width: 110px; height: 110px; padding: 0; border: 0; background: none;
  cursor: pointer; transform-style: preserve-3d; transform: translateZ(0); transition: transform .5s cubic-bezier(.2, .9, .3, 1.1);
}
.d3-block:nth-child(1) { --s: .45; --tc: #a9c2ee; } .d3-block:nth-child(2) { --s: .68; --tc: #8aaee6; }
.d3-block:nth-child(3) { --s: .9; --tc: #6a97dc; }  .d3-block:nth-child(4) { --s: 1.12; --tc: #4a7fd1; }
.d3-block:nth-child(5) { --s: 1.34; --tc: #2c63b8; } .d3-block:nth-child(6) { --s: 1.56; --tc: #1d4aa0; }
.d3-cube {
  position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 50% 0; transform: scale3d(1, 1, .02);
  transition: transform .95s cubic-bezier(.2, 1, .3, 1.15) calc(var(--i) * 120ms);
}
.design3d.in .d3-cube { transform: scale3d(1, 1, var(--s)); }
.d3-face { position: absolute; display: block; backface-visibility: visible; }
.d3-top { inset: 0; transform: translateZ(100px); background: var(--tc); display: grid; place-items: center; transition: background .4s; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.d3-top b { font-family: var(--heading); font-weight: 700; font-size: 1.7rem; color: #fff; transform: rotateZ(32deg); text-shadow: 0 1px 6px rgba(0, 20, 60, .35); }
.d3-block:nth-child(1) .d3-top b, .d3-block:nth-child(2) .d3-top b { color: var(--navy); text-shadow: none; }
.d3-front { left: 0; top: 100%; width: 100%; height: 100px; transform-origin: 50% 0; transform: rotateX(90deg); background: var(--tc); filter: brightness(.74); }
.d3-side { left: 100%; top: 0; width: 100px; height: 100%; transform-origin: 0 50%; transform: rotateY(-90deg); background: var(--tc); filter: brightness(.55); }
.d3-block:hover { transform: translateZ(14px); }
.d3-block.active { transform: translateZ(26px); animation: d3-bob 2.8s ease-in-out infinite alternate; }
.d3-block.active .d3-top { background: var(--lime); }
.d3-block.active .d3-top b { color: #fff; }
@keyframes d3-bob { from { transform: translateZ(26px); } to { transform: translateZ(40px); } }
.d3-block:focus-visible { outline: none; }
.d3-block:focus-visible .d3-top { box-shadow: inset 0 0 0 3px #fff; }

.d3-panel { display: grid; align-content: center; gap: 14px; padding: 8px 4px; transition: opacity .18s, transform .18s; }
.d3-panel.swap { opacity: 0; transform: translateY(10px); }
.d3-num { font-family: var(--heading); font-weight: 700; font-size: clamp(3.6rem, 7vw, 5.5rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--navy); }
.d3-panel h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--navy); }
.d3-panel p { font-size: 1.02rem; max-width: 460px; }
.d3-panel .design-areas { gap: 9px; }
.d3-panel .design-areas li { font-size: .98rem; }
.d3-dots { display: flex; gap: 8px; margin-top: 8px; }
.d3-dots button { width: 34px; height: 4px; border: 0; border-radius: 2px; background: var(--line); cursor: pointer; padding: 0; transition: background .3s, width .3s; }
.d3-dots button.on { background: var(--lime); width: 56px; }

@media (max-width: 960px) {
  .design3d { grid-template-columns: 1fr; gap: 24px; }
  .d3-stage { min-height: 380px; }
}
@media (max-width: 560px) { .d3-stage { min-height: 320px; } }
@media (prefers-reduced-motion: reduce) {
  .d3-cube { transition: none; transform: scale3d(1, 1, var(--s)); }
  .d3-block.active { animation: none; }
}
/* Najava: dve prednosti */
.a2-facts li { white-space: nowrap; }

.footer-slogan p { font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.15; }

/* Futer: veći slogan, trouglovi */
.footer-slogan p { font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: 1.1; }
.footer-slogan .hl { opacity: .8; }
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; right: 0; top: 0; width: min(46%, 560px); height: 360px; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='40 20 440 320'><polygon points='363.0,131.1 258.9,169.0 278.1,59.9' fill='none' stroke='white' stroke-opacity='0.12' stroke-width='1.3' stroke-linejoin='round'/><polygon points='207.2,63.2 172.3,96.9 160.5,49.9' fill='none' stroke='white' stroke-opacity='0.2' stroke-width='1.3' stroke-linejoin='round'/><polygon points='426.0,261.9 368.1,251.6 405.9,206.5' fill='none' stroke='white' stroke-opacity='0.16' stroke-width='1.3' stroke-linejoin='round'/><polygon points='95.5,215.0 74.2,197.2 100.3,187.7' fill='white' fill-opacity='0.12'/><polygon points='438.2,87.9 457.7,80.8 454.1,101.3' fill='white' fill-opacity='0.14'/><polygon points='246.5,279.7 234.7,247.1 268.8,253.2' fill='none' stroke='white' stroke-opacity='0.14' stroke-width='1.3' stroke-linejoin='round'/><polygon points='347.8,295.5 340.0,309.0 332.2,295.5' fill='white' fill-opacity='0.12'/><polygon points='140.7,307.5 103.1,314.1 116.2,278.3' fill='none' stroke='white' stroke-opacity='0.12' stroke-width='1.3' stroke-linejoin='round'/></svg>") right top / contain no-repeat;
}
.site-footer > .container { position: relative; z-index: 1; }

/* ===== 3D model v2: pravi izometrijski prikaz ===== */
.d3-scene { transform: rotateX(54.7deg) rotateZ(-45deg) scale(var(--k, 1)); top: 60%; }
.d3-top b { transform: rotateZ(45deg); }
.d3-scene::before {
  left: -520px; top: -260px; width: 1040px; height: 520px; border: 0; transform: translateZ(-2px);
  background: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 55px 55px, linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 55px 55px;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
.d3-front { filter: none; background: linear-gradient(rgba(0, 18, 56, .30), rgba(0, 18, 56, .30)), linear-gradient(180deg, rgba(255, 255, 255, .10), transparent), var(--tc); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.d3-side { filter: none; background: linear-gradient(rgba(0, 18, 56, .52), rgba(0, 18, 56, .52)), linear-gradient(180deg, rgba(255, 255, 255, .08), transparent), var(--tc); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.d3-top { background: linear-gradient(135deg, rgba(255, 255, 255, .22), transparent 55%), var(--tc); }
.d3-block.active .d3-top { background: linear-gradient(135deg, rgba(255, 255, 255, .25), transparent 55%), var(--lime); }
/* senka na podu i svetleća ploča ispod aktivnog bloka */
.d3-block::after { content: ""; position: absolute; left: 14px; top: 14px; width: 118px; height: 118px; background: rgba(0, 8, 36, .5); filter: blur(12px); transform: translateZ(1px); pointer-events: none; }
.d3-block::before { content: ""; position: absolute; left: -22px; top: -22px; width: 154px; height: 154px; border: 2px solid rgba(255, 0, 0, .85); transform: translateZ(2px); opacity: 0; pointer-events: none; }
.d3-block.active::before { opacity: 1; animation: d3-pad 2s ease-out infinite; }
@keyframes d3-pad { from { transform: translateZ(2px) scale(.82); opacity: .95; } to { transform: translateZ(2px) scale(1.14); opacity: 0; } }
.d3-block.active { animation: none; transform: translateZ(0); }
.d3-block.active .d3-cube { animation: d3-lift 2.8s ease-in-out infinite alternate; }
@keyframes d3-lift { from { translate: 0 0 18px; } to { translate: 0 0 30px; } }
/* zastava-trougao na poslednjem stepeniku */
.d3-pole, .d3-flag { position: absolute; display: block; backface-visibility: visible; transform-origin: 50% 0; opacity: 0; transition: opacity .6s ease 1.2s; }
.d3-pole { left: calc(50% - 1.5px); top: 50%; width: 3px; height: 74px; background: #fff; transform: translateZ(calc(100px * var(--s))) rotateX(90deg); }
.d3-flag { left: calc(50% + 1.5px); top: 50%; width: 46px; height: 30px; background: var(--lime); clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translateZ(calc(100px * var(--s) + 44px)) rotateX(90deg); }
.design3d.in .d3-pole, .design3d.in .d3-flag { opacity: 1; }
.d3-block.active { z-index: 2; }
/* plutajući trouglovi u pozadini scene */
.d3-float { position: absolute; width: 14px; height: 16px; background: rgba(255, 255, 255, .22); clip-path: polygon(0 0, 100% 50%, 0 100%); pointer-events: none; animation: d3-floaty 7s ease-in-out infinite alternate; }
.d3-float.f1 { left: 10%; top: 18%; } .d3-float.f2 { left: 78%; top: 14%; width: 20px; height: 22px; animation-duration: 9s; opacity: .7; }
.d3-float.f3 { left: 88%; top: 56%; animation-duration: 8s; } .d3-float.f4 { left: 6%; top: 70%; width: 10px; height: 12px; animation-duration: 6s; }
.d3-float.f5 { left: 46%; top: 8%; width: 9px; height: 10px; animation-duration: 10s; } .d3-float.f6 { left: 62%; top: 82%; width: 18px; height: 20px; animation-duration: 8.5s; opacity: .6; }
@keyframes d3-floaty { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(-16px) rotate(40deg); } }
@media (prefers-reduced-motion: reduce) { .d3-float, .d3-block.active .d3-cube, .d3-block.active::before { animation: none; } }

/* =========================================================
   Dizajn obuke v3: akordeon + izometrijski slojevi
   ========================================================= */
.stackdesign { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.stack-list { display: grid; }
.stack-item { border-bottom: 1px solid var(--line); }
.stack-item:first-child { border-top: 1px solid var(--line); }
.stack-head { width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 4px; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink); font: inherit; }
.stack-head b { font-family: var(--heading); font-size: .85rem; color: var(--muted); min-width: 24px; transition: color .3s; }
.stack-head span { flex: 1; font-weight: 600; font-size: 1.02rem; transition: color .3s; }
.stack-plus { position: relative; width: 22px; height: 22px; flex-shrink: 0; border: 1.5px solid #9aa3bd; border-radius: 50%; transition: border-color .3s, transform .35s; }
.stack-plus::before, .stack-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: #7d86a3; transform: translate(-50%, -50%); transition: transform .35s, background .3s; }
.stack-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.stack-item.open .stack-head b, .stack-item.open .stack-head span { color: var(--navy); }
.stack-item.open .stack-plus { border-color: var(--navy); }
.stack-item.open .stack-plus::before, .stack-item.open .stack-plus::after { background: var(--navy); }
.stack-item.open .stack-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.stack-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease; }
.stack-body > div { overflow: hidden; padding: 0 4px 0 44px; }
.stack-item.open .stack-body { grid-template-rows: 1fr; }
.stack-body p { font-size: .98rem; color: var(--text); padding-bottom: 18px; max-width: 480px; }
.stack-body .design-areas { padding-bottom: 18px; gap: 8px; }

.stack-stage { position: relative; min-height: 480px; perspective: 1600px; perspective-origin: 50% 35%; }
.stack-scene { position: absolute; left: 44%; top: 48%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-45deg) scale(var(--k, 1)); }
.plate {
  position: absolute; left: -130px; top: -130px; width: 260px; height: 260px; cursor: pointer; transform-style: preserve-3d;
  transform: translateZ(calc((5 - var(--i)) * 8px)); transition: transform .9s cubic-bezier(.2, .9, .3, 1.1) calc(var(--i) * 90ms);
}
.stackdesign.in .plate { transform: translateZ(calc((5 - var(--i)) * 58px)); }
.stackdesign.in .plate.active { transform: translateZ(calc((5 - var(--i)) * 58px + 30px)); transition-delay: 0s; }
.pl-face { position: absolute; display: block; backface-visibility: visible; }
.pl-top {
  inset: 0; transform: translateZ(10px); display: grid; place-items: center; border: 1.5px solid #c9d2ea; border-radius: 6px;
  background:
    radial-gradient(circle at 14px 14px, #b5bfdc 3px, transparent 3.5px), radial-gradient(circle at calc(100% - 14px) 14px, #b5bfdc 3px, transparent 3.5px),
    radial-gradient(circle at 14px calc(100% - 14px), #b5bfdc 3px, transparent 3.5px), radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), #b5bfdc 3px, transparent 3.5px),
    linear-gradient(135deg, #ffffff, #eef2fb);
  transition: background .4s, border-color .4s;
}
.pl-top b { font-family: var(--heading); font-weight: 700; font-size: 2.1rem; color: #c5cde3; transform: rotateZ(45deg); transition: color .4s; }
.pl-front { left: 0; top: 100%; width: 100%; height: 10px; transform-origin: 50% 0; transform: rotateX(90deg); background: #dde3f3; border: 1px solid #c9d2ea; }
.pl-side { left: 100%; top: 0; width: 10px; height: 100%; transform-origin: 0 50%; transform: rotateY(-90deg); background: #c9d1e8; border: 1px solid #b9c3de; }
.plate.active .pl-top { border-color: var(--navy); background: radial-gradient(circle at 14px 14px, #fff 3px, transparent 3.5px), radial-gradient(circle at calc(100% - 14px) 14px, #fff 3px, transparent 3.5px), radial-gradient(circle at 14px calc(100% - 14px), #fff 3px, transparent 3.5px), radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), #fff 3px, transparent 3.5px), linear-gradient(135deg, #2358b0, #002f6c); }
.plate.active .pl-top b { color: #fff; }
.plate.active .pl-front { background: #00265a; border-color: #00265a; }
.plate.active .pl-side { background: #001c47; border-color: #001c47; }
.stack-note { position: absolute; right: 0; top: calc(30% + var(--n, 0) * 6%); display: flex; align-items: center; gap: 12px; max-width: 46%; transition: top .6s ease; }
.stack-note i { flex: 0 0 56px; height: 1px; background: #9aa3bd; position: relative; }
.stack-note i::before { content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.stack-note span { font-size: .82rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 960px) {
  .stackdesign { grid-template-columns: 1fr; gap: 20px; }
  .stack-stage { min-height: 400px; order: -1; }
  .stack-scene { left: 50%; }
  .stack-note { display: none; }
}
@media (prefers-reduced-motion: reduce) { .plate, .stack-body { transition: none; } .stackdesign .plate { transform: translateZ(calc((5 - var(--i)) * 58px)); } }
.stack-scene { top: 63%; }
.stack-stage { min-height: 500px; }
@media (max-width: 960px) { .stack-scene { top: 62%; } }

/* aktivni sloj ostaje vidljiv: slojevi iznad njega se podižu (razvučen prikaz) */
.stackdesign.in .plate { transform: translateZ(calc((5 - var(--i)) * 52px)); }
.stackdesign.in .plate.above { transform: translateZ(calc((5 - var(--i)) * 52px + 92px)); }
.stackdesign.in .plate.active { transform: translateZ(calc((5 - var(--i)) * 52px + 24px)); }
.stack-scene { top: 66%; }
.stack-scene { left: 38%; }
.stack-note { max-width: 34%; }
@media (max-width: 960px) { .stack-scene { left: 50%; } }

/* =========================================================
   Dizajn obuke: cik-cak timeline
   ========================================================= */
.design-section {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, #001c47 0%, #00265a 55%, #002f6c 100%);
}
.design-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 400'><polygon points='165.0,99.6 89.2,124.2 105.8,46.3' fill='none' stroke='white' stroke-opacity='0.1' stroke-width='1.2' stroke-linejoin='round'/><polygon points='75.0,194.5 57.2,215.8 47.7,189.7' fill='white' fill-opacity='0.08'/><polygon points='262.1,51.8 248.7,35.9 269.2,32.3' fill='none' stroke='white' stroke-opacity='0.14' stroke-width='1.2' stroke-linejoin='round'/><polygon points='356.0,195.0 304.0,195.0 330.0,150.0' fill='none' stroke='white' stroke-opacity='0.09' stroke-width='1.2' stroke-linejoin='round'/><polygon points='196.5,279.7 184.7,247.1 218.8,253.2' fill='white' fill-opacity='0.07'/><polygon points='390.7,291.0 382.4,313.8 366.8,295.2' fill='none' stroke='white' stroke-opacity='0.12' stroke-width='1.2' stroke-linejoin='round'/><polygon points='115.6,334.5 73.3,349.9 81.1,305.6' fill='none' stroke='white' stroke-opacity='0.09' stroke-width='1.2' stroke-linejoin='round'/><polygon points='305.0,358.7 290.0,350.0 305.0,341.3' fill='white' fill-opacity='0.1'/></svg>") center / 560px auto repeat;
}
.design-section > .container { position: relative; z-index: 1; }
.design-section .eyebrow { color: rgba(255, 255, 255, .75); }
.design-section .section-head h2, .design-section .section-head h2 .hl { color: #fff; }
.design-section .section-head p { color: rgba(255, 255, 255, .85); }
.zig-wrap { position: relative; max-width: 1040px; margin: 0 auto; }
.zig-lines { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.zig-seg { stroke: rgba(255, 255, 255, .55); stroke-width: 1.4; stroke-dasharray: 5 7; opacity: 0; transition: opacity .8s ease .3s; animation: zig-dash 1.4s linear infinite; }
.zig-seg.on { opacity: 1; }
@keyframes zig-dash { to { stroke-dashoffset: -24; } }
.zig { list-style: none; margin: 0; padding: 0; }
.zig-step { position: relative; padding: 18px 0 26px; opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .3, 1); }
.zig-step.in { opacity: 1; transform: none; }
.zig-dot {
  position: absolute; top: 44px; width: 18px; height: 18px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 5px rgba(255, 0, 0, .22), 0 0 18px rgba(255, 0, 0, .55); transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) .25s;
}
.zig-step.in .zig-dot { transform: scale(1); animation: zig-pulse 2.6s ease-in-out infinite 1s; }
@keyframes zig-pulse { 50% { box-shadow: 0 0 0 9px rgba(255, 0, 0, .12), 0 0 22px rgba(255, 0, 0, .65); } }
.zig-step.odd .zig-dot { left: calc(50% - 120px); }
.zig-step.even .zig-dot { left: calc(50% + 112px); }
.zig-step.odd .zig-text { margin-right: calc(50% + 150px); text-align: right; }
.zig-step.even .zig-text { margin-left: calc(50% + 150px); }
.zig-step.even:nth-child(n) { margin-top: -4px; }
.zig-n { display: block; font-family: var(--heading); font-weight: 700; font-size: 1.35rem; color: rgba(255, 255, 255, .6); line-height: 1; margin-bottom: 8px; }
.zig-text h3 { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.zig-text p { color: rgba(255, 255, 255, .88); font-size: 1rem; line-height: 1.6; }
.zig-text .design-areas { gap: 8px; }
.zig-text .design-areas li { color: rgba(255, 255, 255, .9); justify-content: flex-start; }
.zig-step.odd .zig-text .design-areas li { flex-direction: row-reverse; text-align: right; }
.zig-text .design-areas b { background: #fff; color: var(--navy); }
.zig-text .design-areas li:nth-child(n) b { background: #fff; color: var(--navy); }
@media (max-width: 760px) {
  .zig-step .zig-dot, .zig-step.odd .zig-dot, .zig-step.even .zig-dot { left: 4px; top: 40px; }
  .zig-step.odd .zig-text, .zig-step.even .zig-text { margin: 0 0 0 44px; text-align: left; }
  .zig-step.odd .zig-text .design-areas li { flex-direction: row; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .zig-step, .zig-dot { transition: none; opacity: 1; transform: none; animation: none; } .zig-seg { animation: none; opacity: 1; } }

/* Oznaka NOVO na slici vesti */
.news-media, .article-figure { position: relative; }
.news-new {
  position: absolute; top: 12px; right: 12px; z-index: 2; padding: 5px 12px; border-radius: 999px; background: var(--lime); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; line-height: 1.2; box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

/* Debljine fontova: 400 tekst, 600 oznake/dugmad/meni, 700 naslovi i brojevi */
body { font-weight: 400; }
h1, h2, h3 { font-weight: 700; }
h4, h5, strong, b, th, label { font-weight: 600; }
.btn, .btn-pill, .eyebrow, .main-nav a, .lang-btn, .cycle-pill, .news-cat, .news-chip { font-weight: 600; }

/* Izvor vesti (na dnu) */
.article-source { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.article-source a { color: var(--navy); font-weight: 600; }
.article-source a:hover { text-decoration: underline; }

/* Dizajn obuke: manje bele tačke i znatno sitniji trouglovi */
.design-section::before { background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 400'><polygon points='72.7,72.7 51.3,79.7 56.0,57.6' fill='none' stroke='white' stroke-opacity='0.16' stroke-width='1' stroke-linejoin='round'/><polygon points='201.0,45.9 194.4,37.9 204.6,36.1' fill='white' fill-opacity='0.14'/><polygon points='338.7,125.0 321.3,125.0 330.0,110.0' fill='none' stroke='white' stroke-opacity='0.14' stroke-width='1' stroke-linejoin='round'/><polygon points='114.7,208.3 109.1,214.9 106.2,206.8' fill='white' fill-opacity='0.12'/><polygon points='258.4,258.9 253.1,244.2 268.5,246.9' fill='none' stroke='white' stroke-opacity='0.13' stroke-width='1' stroke-linejoin='round'/><polygon points='47.9,331.4 34.9,336.1 37.3,322.5' fill='none' stroke='white' stroke-opacity='0.12' stroke-width='1' stroke-linejoin='round'/><polygon points='382.5,334.3 375.0,330.0 382.5,325.7' fill='white' fill-opacity='0.12'/><polygon points='198.4,362.9 191.9,380.8 179.7,366.2' fill='none' stroke='white' stroke-opacity='0.13' stroke-width='1' stroke-linejoin='round'/></svg>") center / 460px auto repeat; }
.zig-dot { width: 10px; height: 10px; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .16), 0 0 10px rgba(255, 255, 255, .45); }
@keyframes zig-pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 255, 255, .08), 0 0 14px rgba(255, 255, 255, .55); } }
.zig-step.odd .zig-dot { left: calc(50% - 116px); }
.zig-step.even .zig-dot { left: calc(50% + 108px); }
.zig-dot { top: 49px; }
@media (max-width: 760px) { .zig-step .zig-dot, .zig-step.odd .zig-dot, .zig-step.even .zig-dot { left: 8px; top: 45px; } }

/* Dizajn obuke: kompaktniji timeline */
.design-section { padding: 64px 0 56px; }
.design-section .section-head { margin-bottom: 28px; }
.zig-wrap { max-width: 920px; }
.zig-step { padding: 10px 0 14px; }
.zig-step + .zig-step { margin-top: -58px; }
.zig-dot { top: 34px; }
.zig-n { font-size: 1.05rem; margin-bottom: 5px; }
.zig-text h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); margin-bottom: 7px; }
.zig-text p { font-size: .92rem; line-height: 1.5; }
.zig-text .design-areas { gap: 5px; }
.zig-text .design-areas li { font-size: .88rem; }
.zig-text .design-areas b { width: 19px; height: 19px; font-size: .66rem; }
.zig-step.odd .zig-dot { left: calc(50% - 96px); }
.zig-step.even .zig-dot { left: calc(50% + 88px); }
.zig-step.odd .zig-text { margin-right: calc(50% + 126px); }
.zig-step.even .zig-text { margin-left: calc(50% + 126px); }
@media (max-width: 760px) {
  .zig-step + .zig-step { margin-top: 0; }
  .zig-step .zig-dot, .zig-step.odd .zig-dot, .zig-step.even .zig-dot { left: 8px; top: 30px; }
  .zig-step.odd .zig-text, .zig-step.even .zig-text { margin: 0 0 0 40px; }
}
.zig-text .design-areas { grid-template-columns: repeat(2, max-content); column-gap: 20px; }
.zig-step { padding: 8px 0 10px; }
.design-section { padding: 56px 0 48px; }
@media (max-width: 760px) { .zig-text .design-areas { grid-template-columns: 1fr; } }

/* =========================================================
   Dizajn obuke v4: kompaktna mreža koraka (3 × 2) sa isprekidanom linijom
   ========================================================= */
.design-section { padding: 64px 0 60px; }
.design-section .section-head { margin-bottom: 36px; }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 44px; }
.s3-item { position: relative; padding-top: 30px; opacity: 0; transform: translateY(18px); transition: opacity .6s ease calc(var(--i) * 90ms), transform .6s cubic-bezier(.2, .8, .3, 1) calc(var(--i) * 90ms); }
.s3-item.in { opacity: 1; transform: none; }
.s3-item::before { content: ""; position: absolute; left: 0; right: -44px; top: 5px; border-top: 1px dashed rgba(255, 255, 255, .4); }
.s3-item:nth-child(3n)::before { right: 0; }
.s3-dot { position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .16); }
.s3-n { display: block; font-family: var(--heading); font-weight: 700; font-size: .85rem; letter-spacing: .12em; color: rgba(255, 255, 255, .6); margin-bottom: 6px; }
.s3-item h3 { color: #fff; font-size: 1.15rem; font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
.s3-item p { color: rgba(255, 255, 255, .86); font-size: .95rem; line-height: 1.55; margin: 0; }
.s3-areas span { display: inline; }
.s3-areas span + span::before { content: " · "; color: rgba(255, 255, 255, .5); }
@media (max-width: 960px) { .steps3 { grid-template-columns: repeat(2, 1fr); } .s3-item:nth-child(3n)::before { right: -44px; } .s3-item:nth-child(2n)::before { right: 0; } }
@media (max-width: 600px) {
  .steps3 { grid-template-columns: 1fr; gap: 28px; }
  .s3-item:nth-child(n)::before { right: 0; }
}
@media (prefers-reduced-motion: reduce) { .s3-item { opacity: 1; transform: none; transition: none; } }
.s3-areas span { display: inline-block; white-space: nowrap; }
.s3-areas span + span::before { content: "·"; margin: 0 7px; }

/* =========================================================
   Popup najave
   ========================================================= */
.popup { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .25s ease; }
.popup[hidden] { display: none; }
.popup.open { opacity: 1; }
.popup-backdrop { position: absolute; inset: 0; background: rgba(0, 18, 52, .62); }
.popup-card {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 10, 36, .5); transform: translateY(18px) scale(.98); transition: transform .35s cubic-bezier(.2, .9, .3, 1.1);
}
.popup.open .popup-card { transform: none; }
.popup-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.popup-x {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--navy); cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}
.popup-x:hover { background: #fff; }
.popup-body { padding: 24px 28px 28px; display: grid; gap: 14px; }
.popup-tag { justify-self: start; padding: 4px 12px; border-radius: 999px; background: var(--lime); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.popup-body h2 { font-size: clamp(1.35rem, 3.4vw, 1.7rem); line-height: 1.2; color: var(--navy); }
.popup-meta { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.popup-meta li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: .98rem; }
.popup-meta .ico { width: 20px; height: 20px; color: var(--navy); margin-top: 2px; }
.popup-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .popup, .popup-card { transition: none; } }

/* =========================================================
   Dizajn obuke: koraci jedan ispod drugog, poslednji istaknut
   ========================================================= */
.steps3.vlist { grid-template-columns: 1fr; gap: 0; max-width: 760px; margin: 0 auto; position: relative; }
.steps3.vlist .s3-item { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding: 0 0 26px; }
.steps3.vlist .s3-item::before { left: 5px; right: auto; top: 22px; bottom: -6px; border-top: 0; border-left: 1px dashed rgba(255, 255, 255, .4); }
.steps3.vlist .s3-item:last-child::before { display: none; }
.steps3.vlist .s3-dot { left: 0; top: 7px; }
.steps3.vlist .s3-n { grid-column: 1; align-self: start; padding-left: 22px; margin: 2px 0 0; }
.steps3.vlist .s3-text { grid-column: 2; }
.steps3.vlist .s3-item h3 { margin-bottom: 6px; }
.s3-groups { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; }
.s3-groups li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .92); font-size: .95rem; }
.s3-groups b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #fff; color: var(--navy); font-size: .7rem; flex-shrink: 0; }
/* poslednji korak: istaknut */
.steps3.vlist .s3-last { margin-top: 4px; padding: 18px 22px 20px 18px; border-radius: 10px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .35); }
.steps3.vlist .s3-last .s3-dot { left: 18px; top: 26px; width: 13px; height: 13px; background: var(--lime); box-shadow: 0 0 0 5px rgba(255, 0, 0, .25); }
.steps3.vlist .s3-last .s3-n { padding-left: 22px; color: #fff; }
.steps3.vlist .s3-last h3 { font-size: 1.3rem; }
.steps3.vlist .s3-last p { color: #fff; }
.steps3.vlist .s3-item:nth-last-child(2)::before { bottom: 6px; }
@media (max-width: 600px) { .steps3.vlist .s3-item { grid-template-columns: 44px 1fr; column-gap: 12px; } .steps3.vlist .s3-n { padding-left: 16px; } }

/* =========================================================
   Newsletter: još 20% viši, crveni naziv
   ========================================================= */
.cta-news { padding: 80px 0; }
.cta-news .red { color: var(--lime); }

/* Popup: pri zatvaranju se skuplja ka dugmetu dole desno */
.popup.closing { opacity: 0; }
.popup.closing .popup-card { transform: translate(38vw, 42vh) scale(.12); transform-origin: 100% 100%; transition: transform .32s ease-in; }
.popup-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 150; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px;
  border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 20, 60, .35); opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .35s ease, transform .35s cubic-bezier(.2, .9, .3, 1.2), background .2s;
}
.popup-fab.show { opacity: 1; transform: none; }
.popup-fab:hover { background: var(--navy-dark); }
.popup-fab .ico { width: 20px; height: 20px; }
.popup-fab::after { content: ""; position: absolute; top: 4px; right: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--navy); }
body:has(.drawer.open) .popup-fab { display: none; }
@media (max-width: 560px) { .popup-fab { right: 14px; bottom: 14px; padding: 10px 16px 10px 12px; gap: 8px; font-size: .88rem; } }
@media (prefers-reduced-motion: reduce) { .popup-fab, .popup.closing .popup-card { transition: none; } }

/* Dizajn obuke: 3 kolone × 2 reda; poslednji korak istaknut */
.steps3 .s3-text h3 { margin-bottom: 8px; }
.steps3:not(.vlist) .s3-last { margin-top: 18px; padding: 22px 20px 20px; border-radius: 10px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .35); }
.steps3:not(.vlist) .s3-last::before { display: none; }
.steps3:not(.vlist) .s3-last .s3-dot { left: 20px; top: 14px; background: var(--lime); box-shadow: 0 0 0 5px rgba(255, 0, 0, .25); }
.steps3:not(.vlist) .s3-last .s3-n { margin-top: 10px; color: #fff; }
.steps3:not(.vlist) .s3-last h3 { font-size: 1.25rem; }
.steps3:not(.vlist) .s3-last p { color: #fff; }

/* Popup: plavo primarno dugme, dvoredni naslov */
.popup .btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.popup .btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.popup-body h2 .sub { display: block; margin-top: 4px; font-size: .62em; font-weight: 600; color: var(--muted); letter-spacing: 0; }

/* Dizajn obuke: poslednji korak samo sa crvenom tačkom (bez okvira) */
.steps3:not(.vlist) .s3-last { margin-top: 0; padding: 30px 0 0; border: 0; border-radius: 0; background: none; }
.steps3:not(.vlist) .s3-last::before { display: block; }
.steps3:not(.vlist) .s3-last .s3-dot { left: 0; top: 0; background: var(--lime); box-shadow: 0 0 0 4px rgba(255, 0, 0, .28); }
.steps3:not(.vlist) .s3-last .s3-n { margin-top: 0; color: rgba(255, 255, 255, .6); }
.steps3:not(.vlist) .s3-last h3 { font-size: 1.15rem; }
.steps3:not(.vlist) .s3-last p { color: rgba(255, 255, 255, .86); }

/* Eyebrow oznake: isti intenzitet boje svuda */
.eyebrow, .home .eyebrow { color: var(--muted); font-weight: 600; letter-spacing: .08em; font-size: .74rem; }
.hero .eyebrow, .home .hero .eyebrow, .kb .eyebrow, .home .kb .eyebrow, .design-section .eyebrow, .certify .eyebrow, .page-hero .eyebrow, .section-dark .eyebrow { color: rgba(255, 255, 255, .75); }
/* Partneri: naslov ceo teget; tim: samo „Serbia“ crveno */
.home h2.plain { color: var(--navy); }
.home #tim .section-head h2 .hl { color: var(--lime); }
/* Crvena traka: dve najave naizmenično */
.ticker { cursor: default; }
a.ticker-item { color: inherit; text-decoration: none; }
a.ticker-item:hover .ticker-cta { opacity: .85; }

/* Popup: dugme „Zatvori“ bez plavog hovera */
.popup .btn-outline-dark:hover { background: #f1f3f9; color: var(--navy); border-color: var(--navy); }

/* Telefon: Baza znanja – kartice u 2 × 2, dugme ide posle kartica */
@media (max-width: 960px) {
  .kb-inner { display: flex; flex-direction: column; gap: 14px; }
  .kb-text { display: contents; }
  .kb-text .eyebrow { order: 1; }
  .kb-text h2 { order: 2; margin-bottom: 0; }
  .kb-text p { order: 3; margin-bottom: 8px; }
  .kb-tiles { order: 4; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .kb-text .btn { order: 5; align-self: flex-start; margin-top: 10px; }
}
@media (max-width: 560px) {
  .kb-tiles { grid-template-columns: repeat(2, 1fr); }
  .kb-card { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 0; padding: 16px 14px; }
  .kb-card-text strong { font-size: .95rem; }
  .kb-card-text span { font-size: .8rem; }
}
@media (max-width: 960px) { .kb-text .eyebrow { align-self: flex-start; } }
@media (max-width: 960px) { .kb-text .btn { align-self: stretch; width: 100%; justify-content: center; } }

/* Baza znanja: kartice u stilu kartica iz hero sekcije (staklaste) */
.kb-card {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius);
  padding: 18px 20px; min-height: 0; gap: 16px; box-shadow: none; color: #fff;
}
.kb-card::before, .kb-card::after { display: none; }
.kb-ico { width: 46px; height: 46px; border-radius: 10px; background: #fff; color: var(--navy); }
.kb-card.sc-cert .kb-ico { background: #2358b0; color: #fff; }
.kb-card.sc-deliv .kb-ico { background: #4f86d8; color: #fff; }
.kb-card.sc-community .kb-ico { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.kb-ico svg { width: 22px; height: 22px; }
.kb-card-text strong { color: #fff; font-size: 1rem; }
.kb-card-text span { color: rgba(255, 255, 255, .72); font-size: .85rem; }
@media (max-width: 560px) { .kb-card { padding: 16px 14px; } }

/* Eyebrow: bez linije ispred, isto na svim stranicama; link „nazad“ bez hovera */
.eyebrow::before, .hero .eyebrow::before, .section-dark .eyebrow::before, .page-hero .eyebrow::before, .certify .eyebrow::before { display: none !important; content: none; }
.article-back:hover { text-decoration: none; }

/* Usklađivanje stilova */
main h2 { color: var(--navy); }                       /* naslovi sekcija: isto teget svuda */
.c2-info dt, .facts dt { color: var(--muted); font-weight: 600; letter-spacing: .08em; font-size: .74rem; }   /* oznake kao eyebrow */
.popup-tag { text-transform: uppercase; }

/* Dizajn obuke: još manje trouglova */
.design-section::before { background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 400'><polygon points='101.7,82.5 82.0,88.9 86.3,68.6' fill='none' stroke='white' stroke-opacity='0.16' stroke-width='1' stroke-linejoin='round'/><polygon points='331.0,175.9 324.4,167.9 334.6,166.1' fill='white' fill-opacity='0.14'/><polygon points='208.7,325.0 200.0,340.0 191.3,325.0' fill='none' stroke='white' stroke-opacity='0.13' stroke-width='1' stroke-linejoin='round'/></svg>") center / 640px auto repeat; }

/* Sertifikacija: crveni progres bar se puni, pa se pojavi pečat sa čekom */
.cv-cert-line { position: relative; height: 5px; border-radius: 3px; background: var(--line); margin: 6px 0; }
.cv-cert-line::after { content: ""; position: absolute; inset: 0; width: 0; border-radius: 3px; background: var(--lime); }
.certify-visual.play .cv-cert-line::after { width: 100%; transition: width 1.8s cubic-bezier(.4, 0, .2, 1); }
.cv-seal { transform: scale(0); opacity: 0; }
.certify-visual.play .cv-seal { transform: scale(1); opacity: 1; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) 1.9s, opacity .2s linear 1.9s; }
.cv-seal .ico { clip-path: inset(0 100% 0 0); }
.certify-visual.play .cv-seal .ico { clip-path: inset(0 0 0 0); transition: clip-path .45s ease-out 2.3s; }
@media (prefers-reduced-motion: reduce) {
  .cv-cert-line::after { width: 100%; }
  .cv-seal { transform: none; opacity: 1; }
  .cv-seal .ico { clip-path: none; }
}

/* Pečat sa čekom: tačno na sredini bara, na njegovom kraju, manji */
.cv-cert-line .cv-seal { z-index: 2; right: 0; bottom: auto; top: 50%; width: 22px; height: 22px; margin: -11px -4px 0 0; box-shadow: 0 0 0 3px #fff; }
.cv-cert-line .cv-seal .ico { width: 12px; height: 12px; }

/* Program obuke: duži opisi nivoa */
.level-tile { min-height: 0; padding-bottom: 64px; }
.level-tile p { font-size: .92rem; line-height: 1.6; opacity: .92; }

.level-tile h3 { text-transform: uppercase; letter-spacing: .04em; }

/* =========================================================
   Telefon (dorade)
   ========================================================= */
/* Dugme za prijavu u otvorenom meniju: popunjeno teget, beli tekst (ranije beli tekst na providnoj pozadini) */
@media (max-width: 760px) {
  .main-nav .btn-login, .main-nav .btn-login:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
}

/* Vesti: kartica zauzima skoro celu širinu, sledeća samo malo viri */
@media (max-width: 760px) {
  .rail-card { flex-basis: 84%; padding: 4px 16px 8px; }
  .rail-card:first-child { padding-left: 0; }
}

/* Sertifikacija: kartice ne pokrivaju sredinu fotografije */
@media (max-width: 560px) {
  .certify-visual { padding: 26px 0 64px; max-width: none; }
  .cv-photo { outline-offset: 6px; }
  .cv-chip { top: 0; right: 8px; max-width: 160px; padding: 10px 14px; gap: 2px; }
  .cv-chip strong { font-size: 1.6rem; }
  .cv-chip span { font-size: .78rem; line-height: 1.3; }
  .cv-cert { width: 190px; left: 8px; padding: 12px 14px 14px; gap: 5px; }
  .cv-cert img { height: 20px; }
  .cv-cert-title { font-size: .6rem; margin-top: 2px; }
  .cv-cert strong { font-size: .88rem; padding-right: 0; }
}

/* Galerija: kolone (masonry) – svaka fotografija u svom prirodnom formatu, bez sečenja i praznina */
.gallery { display: block; columns: 3; column-gap: 16px; }
.gallery-item, .gallery-item.tall, .gallery-item.wide { display: block; height: auto; margin: 0 0 16px; break-inside: avoid; }
.gallery-item .gallery-art { height: auto; }
.gallery-item .gallery-ph { aspect-ratio: 3 / 2; }
@media (max-width: 900px) { .gallery { columns: 2; } }
@media (max-width: 560px) { .gallery { column-gap: 10px; } .gallery-item, .gallery-item.tall, .gallery-item.wide { margin-bottom: 10px; } }
