/* ==========================================================================
   GALA software – moderni dizajnerski sloj (2026)
   Učitava se ZADNJI, nakon postojećih stilova teme, i nadjačava ih.
   Boje: brand plava (#2c72dc), tamnoplava (#0f3661) i narančasta iz loga.
   ========================================================================== */

:root {
  --g-navy-900: #071a33;
  --g-navy-800: #0b2545;
  --g-navy-700: #0f3661;
  --g-blue-700: #1d56b3;
  --g-blue-600: #2363c9;
  --g-blue-500: #2c72dc;
  --g-blue-100: #e6effc;
  --g-blue-50:  #f3f7fe;
  --g-accent:   #f39200;      /* narančasta iz GALA loga / sigurnosna boja */
  --g-accent-600: #d97f00;
  --g-accent-100: #fff1dc;
  --g-ink:   #0f172a;
  --g-text:  #334155;
  --g-muted: #64748b;
  --g-line:  #e2e8f0;
  --g-bg:    #f6f8fb;
  --g-white: #ffffff;
  --g-success: #16a34a;

  --g-radius-sm: 8px;
  --g-radius: 14px;
  --g-radius-lg: 22px;
  --g-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --g-shadow:    0 6px 24px -6px rgba(15, 23, 42, .12), 0 2px 6px rgba(15, 23, 42, .05);
  --g-shadow-lg: 0 24px 60px -18px rgba(11, 37, 69, .35);

  --g-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --g-font-head: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --g-container: 1220px;
  --g-gutter: clamp(16px, 4vw, 32px);
  --g-section: clamp(56px, 8vw, 104px);
  --g-header-h: 72px;
  --g-ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   Osnova
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--g-font) !important;
  font-size: clamp(15.5px, .25vw + 14.8px, 17px);
  line-height: 1.7;
  color: var(--g-text);
  background: var(--g-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--g-font-head) !important;
  color: var(--g-ink);
  letter-spacing: -.015em;
  line-height: 1.25;
  font-weight: 700;
  text-transform: none;
}
h1 { font-size: clamp(30px, 3.2vw + 14px, 52px); letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: clamp(24px, 1.8vw + 14px, 38px); letter-spacing: -.02em; }
h3 { font-size: clamp(20px, .9vw + 14px, 26px); }
h4 { font-size: clamp(18px, .5vw + 14px, 21px); }
h5 { font-size: 17px; }
h6 { font-size: 15px; }

p { color: var(--g-text); }
a { color: var(--g-blue-600); transition: color .2s var(--g-ease); text-decoration: none; }
a:hover, a:focus { color: var(--g-blue-700); }
img { max-width: 100%; height: auto; }
strong, b { color: var(--g-ink); font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--g-line); margin: 28px 0; }
::selection { background: var(--g-blue-500); color: #fff; }

:focus-visible { outline: 3px solid rgba(44, 114, 220, .45); outline-offset: 2px; border-radius: 6px; }

.g-skip {
  position: absolute; left: 12px; top: -60px; z-index: 10000;
  background: var(--g-navy-800); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.g-skip:focus { top: 12px; color: #fff; }

.g-container { width: 100%; max-width: var(--g-container); margin: 0 auto; padding-left: var(--g-gutter); padding-right: var(--g-gutter); }

/* Neutraliziraj stare omotače teme */
.boxed, .flat-box { background: transparent !important; overflow: visible !important; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
button { text-transform: none; letter-spacing: normal; }
#loading-overlay { display: none !important; }
.flat-quote:empty, section.flat-quote:not(:has(*)) { display: none !important; }

/* --------------------------------------------------------------------------
   Gumbi
   -------------------------------------------------------------------------- */
.g-btn,
.flat-button,
.flat-button.style1,
.flat-button.style2 {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--g-font) !important;
  font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none;
  line-height: 1.2; padding: 13px 22px !important; min-height: 46px;
  border-radius: 10px !important; border: 1px solid transparent;
  background: var(--g-blue-500) !important; color: #fff !important;
  box-shadow: 0 6px 18px -8px rgba(44, 114, 220, .8);
  transition: transform .2s var(--g-ease), box-shadow .2s var(--g-ease), background-color .2s var(--g-ease), color .2s;
  cursor: pointer; white-space: nowrap; position: relative; overflow: hidden;
}
.flat-button::before, .flat-button.style2::before { display: none !important; }
.g-btn:hover, .flat-button:hover { background: var(--g-blue-700) !important; color: #fff !important; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(29, 86, 179, .9); }
.g-btn:active, .flat-button:active { transform: translateY(0); }
.g-btn svg { width: 18px; height: 18px; flex: none; }

.g-btn--accent { background: var(--g-accent) !important; color: var(--g-navy-900) !important; box-shadow: 0 8px 22px -10px rgba(243, 146, 0, .9); }
.g-btn--accent:hover { background: #ffa41f !important; color: var(--g-navy-900) !important; }
.g-btn--ghost { background: transparent !important; color: var(--g-navy-800) !important; border-color: var(--g-line); box-shadow: none; }
.g-btn--ghost:hover { background: var(--g-blue-50) !important; color: var(--g-blue-700) !important; border-color: #c9d8f3; box-shadow: none; }
.g-btn--light { background: rgba(255, 255, 255, .1) !important; color: #fff !important; border-color: rgba(255, 255, 255, .3); box-shadow: none; }
.g-btn--light:hover { background: rgba(255, 255, 255, .18) !important; color: #fff !important; }
.g-btn--sm { min-height: 38px; padding: 8px 16px !important; font-size: 14px; border-radius: 9px !important; }
.g-btn--lg { min-height: 54px; padding: 16px 28px !important; font-size: 16px; }

/* --------------------------------------------------------------------------
   Gornja traka
   -------------------------------------------------------------------------- */
.g-topbar { background: var(--g-navy-900); color: #c7d3e6; font-size: 13.5px; line-height: 1; }
.g-topbar .g-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.g-topbar ul { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.g-topbar a { color: #c7d3e6; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.g-topbar a:hover { color: #fff; }
.g-topbar svg { width: 15px; height: 15px; opacity: .8; }
.g-topbar bdo { unicode-bidi: bidi-override; }
.g-lang { display: inline-flex; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 2px; }
.g-lang a, .g-lang span { padding: 5px 10px; border-radius: 999px; font-weight: 600; font-size: 12px; letter-spacing: .04em; }
.g-lang span { background: rgba(255, 255, 255, .14); color: #fff; }
@media (max-width: 767px) {
  .g-topbar .g-hide-sm { display: none; }
  .g-topbar ul { gap: 14px; }
}

/* --------------------------------------------------------------------------
   Header i navigacija
   -------------------------------------------------------------------------- */
.g-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, .8);
  transition: box-shadow .25s var(--g-ease), background-color .25s;
}
.g-header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(15, 23, 42, .18); background: rgba(255, 255, 255, .95); }
.g-header__inner { display: flex; align-items: center; gap: 24px; height: var(--g-header-h); }
.g-logo { display: inline-flex; align-items: center; flex: none; }
.g-logo img { height: 40px; width: auto; display: block; }

.g-nav { margin-left: auto; }
.g-nav > ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.g-nav li { position: relative; list-style: none; }
.g-nav > ul > li > a,
.g-nav > ul > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 9px; border: 0; background: none;
  font: 600 15px/1.2 var(--g-font); color: var(--g-ink); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.g-nav > ul > li > a:hover,
.g-nav > ul > li > button:hover,
.g-nav > ul > li:focus-within > button { background: var(--g-blue-50); color: var(--g-blue-600); }
.g-nav > ul > li.is-active > a,
.g-nav > ul > li.is-active > button { color: var(--g-blue-600); }
.g-nav > ul > li.is-active > a::after,
.g-nav > ul > li.is-active > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--g-accent);
}
.g-caret { width: 14px; height: 14px; transition: transform .2s; }

.g-dropdown {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 280px;
  margin: 0; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius);
  box-shadow: var(--g-shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--g-ease), transform .18s var(--g-ease), visibility .18s;
}
.g-dropdown::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.g-nav li:hover > .g-dropdown,
.g-nav li:focus-within > .g-dropdown,
.g-nav li.is-open > .g-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.g-nav li:hover > button .g-caret,
.g-nav li.is-open > button .g-caret { transform: rotate(180deg); }
.g-dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; color: var(--g-ink); }
.g-dropdown a:hover { background: var(--g-bg); color: var(--g-ink); }
.g-dropdown a strong { display: block; font-size: 14.5px; font-weight: 650; line-height: 1.3; }
.g-dropdown a small { display: block; color: var(--g-muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.g-dropdown .g-ico { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--g-blue-50); color: var(--g-blue-600); }
.g-dropdown .g-ico svg { width: 18px; height: 18px; }

.g-header__cta { display: flex; align-items: center; gap: 10px; flex: none; }
.g-burger {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--g-line);
  background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--g-ink); margin-left: auto;
}
.g-burger { padding: 0 !important; }
.g-burger svg { width: 22px; height: 22px; flex: none; }
.g-burger .g-close { display: none; }
.g-nav-open .g-burger .g-open { display: none; }
.g-nav-open .g-burger .g-close { display: block; }

@media (max-width: 1100px) {
  .g-nav > ul > li > a, .g-nav > ul > li > button { padding: 10px 10px; font-size: 14.5px; }
  .g-header__cta .g-btn--ghost { display: none; }
}
@media (max-width: 991px) {
  :root { --g-header-h: 64px; }
  .g-logo img { height: 34px; }
  .g-burger { display: inline-flex; }
  .g-header__cta { display: none; }
  .g-nav {
    position: fixed; inset: calc(var(--g-header-h) + 0px) 0 0 0; margin: 0;
    background: #fff; overflow-y: auto; padding: 16px var(--g-gutter) 32px;
    transform: translateX(100%); transition: transform .3s var(--g-ease); visibility: hidden;
    border-top: 1px solid var(--g-line);
  }
  .g-nav-open .g-nav { transform: none; visibility: visible; }
  .g-nav-open { overflow: hidden; }
  .g-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .g-nav > ul > li > a, .g-nav > ul > li > button { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 16.5px; }
  .g-nav > ul > li.is-active > a::after, .g-nav > ul > li.is-active > button::after { display: none; }
  .g-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    padding: 0 0 8px 8px; min-width: 0; display: none;
  }
  .g-nav li:hover > .g-dropdown, .g-nav li:focus-within > .g-dropdown { display: none; }
  .g-nav li.is-open > .g-dropdown { display: block; }
  .g-nav .g-mobile-cta { display: grid !important; gap: 10px; margin-top: 18px; }
  .g-nav .g-mobile-cta .g-btn { width: 100%; }
}
.g-nav .g-mobile-cta { display: none; }

/* --------------------------------------------------------------------------
   Hero (početna)
   -------------------------------------------------------------------------- */
.g-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 520px at 85% -10%, rgba(44, 114, 220, .55), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(243, 146, 0, .18), transparent 60%),
    linear-gradient(160deg, var(--g-navy-800) 0%, var(--g-navy-900) 100%);
  padding: clamp(48px, 7vw, 96px) 0 0;
  isolation: isolate;
}
/* "blueprint" mreža */
.g-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%);
}
.g-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 3.5vw, 56px); align-items: center; }
.g-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  font-size: 13.5px; font-weight: 600; color: #dbe6f7; margin-bottom: 22px;
}
.g-eyebrow b { background: var(--g-accent); color: var(--g-navy-900); padding: 3px 9px; border-radius: 999px; font-size: 12px; letter-spacing: .02em; }
.g-hero h1 { color: #fff; margin: 0 0 20px; font-size: clamp(32px, 2.2vw + 16px, 50px); line-height: 1.1; text-wrap: balance; }
.g-hero h1 .g-hl { color: var(--g-accent); }
.g-hero__lead { color: #c9d6ea; font-size: clamp(16.5px, .5vw + 14px, 19.5px); line-height: 1.6; max-width: 600px; margin: 0 0 30px; }
.g-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.g-hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; color: #b6c5dd; font-size: 14.5px; }
.g-hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.g-hero__trust svg { width: 18px; height: 18px; color: var(--g-accent); flex: none; }
.g-hero__media { position: relative; align-self: end; }
.g-hero__media .g-frame {
  border-radius: 16px 16px 0 0; overflow: hidden; background: #fff;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .12);
}
/* na širim ekranima slika "izlazi" do desnog ruba prozora */
@media (min-width: 992px) {
  .g-hero__media { margin-right: clamp(-160px, calc((var(--g-container) - 100vw) / 2 - var(--g-gutter)), -24px); }
}
@media (min-width: 992px) and (max-width: 1500px) {
  .g-hero__media .g-frame { border-radius: 16px 0 0 0; }
}
.g-hero__media .g-frame img { display: block; width: 100%; height: auto; }
.g-frame__bar { height: 30px; background: #eef2f7; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #e2e8f0; }
.g-frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; display: block; }
.g-frame__bar i:nth-child(1) { background: #f87171; } .g-frame__bar i:nth-child(2) { background: #fbbf24; } .g-frame__bar i:nth-child(3) { background: #34d399; }
.g-hero__badge {
  position: absolute; left: -28px; bottom: 44px; background: #fff; color: var(--g-ink);
  border-radius: 14px; padding: 12px 16px; display: flex; gap: 12px; align-items: center;
  box-shadow: var(--g-shadow-lg); font-size: 14px; line-height: 1.3;
}
.g-hero__badge .g-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--g-accent-100); color: var(--g-accent-600); }
.g-hero__badge .g-ico svg { width: 20px; height: 20px; }
.g-hero__badge strong { display: block; font-size: 15px; }
.g-hero__badge span { color: var(--g-muted); font-size: 13px; }
/* "hazard" traka na dnu */
.g-hazard { height: 8px; background: repeating-linear-gradient(-45deg, var(--g-accent) 0 14px, var(--g-navy-900) 14px 28px); opacity: .95; }

@media (max-width: 991px) {
  .g-hero__grid { grid-template-columns: 1fr; }
  .g-hero__media { margin-top: 8px; }
  .g-hero__media .g-frame { transform: none; }
  .g-hero__badge { left: 12px; bottom: 16px; }
}
@media (max-width: 479px) { .g-hero h1 .g-hl { white-space: normal; } .g-hero__actions .g-btn { width: 100%; } }

/* --------------------------------------------------------------------------
   Sekcije
   -------------------------------------------------------------------------- */
.g-section { padding: var(--g-section) 0; position: relative; }
.g-section--alt { background: var(--g-bg); }
.g-section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.g-head { max-width: 760px; margin: 0 auto clamp(32px, 4vw, 56px); text-align: center; }
.g-head--left { margin-left: 0; text-align: left; }
.g-kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--g-blue-600); margin-bottom: 12px;
}
.g-kicker::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--g-accent); }
.g-head h2 { margin: 0 0 14px; }
.g-head p { font-size: clamp(16px, .4vw + 14px, 18.5px); color: var(--g-muted); margin: 0; }

.g-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991px) { .g-grid--3, .g-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .g-grid--2, .g-grid--3, .g-grid--4 { grid-template-columns: 1fr; } }

/* Kartice */
.g-card {
  position: relative; background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius);
  padding: clamp(20px, 2.2vw, 28px); box-shadow: var(--g-shadow-sm);
  transition: transform .25s var(--g-ease), box-shadow .25s var(--g-ease), border-color .25s;
  display: flex; flex-direction: column;
}
a.g-card { color: inherit; }
a.g-card:hover, .g-card--hover:hover { transform: translateY(-4px); box-shadow: var(--g-shadow); border-color: #cfdcf2; color: inherit; }
.g-card h3 { font-size: 19px; margin: 14px 0 8px; }
.g-card p { margin: 0; color: var(--g-muted); font-size: 15.5px; line-height: 1.6; }
.g-card .g-more { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: 14.5px; color: var(--g-blue-600); display: inline-flex; align-items: center; gap: 6px; }
.g-card .g-more svg { width: 16px; height: 16px; transition: transform .2s; }
a.g-card:hover .g-more svg { transform: translateX(3px); }
.g-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--g-blue-50), var(--g-blue-100)); color: var(--g-blue-600);
  box-shadow: inset 0 0 0 1px rgba(44, 114, 220, .12);
}
.g-icon svg { width: 24px; height: 24px; }
.g-icon--accent { background: linear-gradient(135deg, #fff7ea, var(--g-accent-100)); color: var(--g-accent-600); box-shadow: inset 0 0 0 1px rgba(243, 146, 0, .18); }

/* Verzije (Desktop / Web) */
.g-version { padding: 0; overflow: hidden; }
.g-version__media { background: linear-gradient(180deg, var(--g-blue-50), #fff); padding: 22px 22px 0; border-bottom: 1px solid var(--g-line); }
/* Izrez u prirodnoj veličini (1:1) – bez smanjivanja, pa je sitan tekst sučelja oštar */
/* Unaprijed izrezane i kvalitetno smanjene slike 522x280 (1x) + @2x za retina ekrane */
.g-version__media img {
  display: block; width: 100%; height: auto; aspect-ratio: 522 / 280;
  object-fit: cover; object-position: left top;
  border-radius: 10px 10px 0 0; box-shadow: var(--g-shadow); background: #fff;
}
.g-version__body { padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; flex: 1; }
.g-version__body h3 { margin: 6px 0 10px; font-size: 23px; }
.g-tag { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--g-blue-50); color: var(--g-blue-700); letter-spacing: .02em; }
.g-tag--accent { background: var(--g-accent-100); color: #9a5a00; }
.g-check { list-style: none; margin: 14px 0 22px; padding: 0; display: grid; gap: 9px; }
.g-check li { position: relative; padding-left: 30px; color: var(--g-text); font-size: 15.5px; line-height: 1.5; }
.g-check li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--g-blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232363c9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.g-version__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }

/* Statistike */
.g-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius-lg); box-shadow: var(--g-shadow); overflow: hidden; }
.g-stat { padding: clamp(20px, 3vw, 34px) clamp(16px, 2vw, 28px); text-align: center; border-left: 1px solid var(--g-line); }
.g-stat:first-child { border-left: 0; }
.g-stat strong { display: block; font-family: var(--g-font-head); font-size: clamp(30px, 2.4vw + 16px, 46px); font-weight: 800; color: var(--g-navy-800); letter-spacing: -.03em; line-height: 1.1; }
.g-stat strong span { color: var(--g-accent); }
.g-stat p { margin: 6px 0 0; color: var(--g-muted); font-size: 14.5px; line-height: 1.45; }
.g-stats-wrap { margin-top: calc(var(--g-section) * -0.5); position: relative; z-index: 2; }
@media (max-width: 767px) {
  .g-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-stat:nth-child(3) { border-left: 0; }
  .g-stat:nth-child(n+3) { border-top: 1px solid var(--g-line); }
}

/* Split (tekst + slika) */
.g-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.g-split--rev > :first-child { order: 2; }
.g-split__media img { border-radius: var(--g-radius); box-shadow: var(--g-shadow-lg); border: 1px solid var(--g-line); display: block; width: 100%; }
@media (max-width: 991px) { .g-split { grid-template-columns: 1fr; } .g-split--rev > :first-child { order: 0; } }
/* šira slika koja izlazi do desnog ruba (kao u heru) */
@media (min-width: 992px) {
  .g-split--wide { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 4vw, 64px); }
  .g-split--wide .g-split__media { margin-right: clamp(-160px, calc((var(--g-container) - 100vw) / 2 - var(--g-gutter)), -24px); }
}
.g-split--wide .g-split__media img { border-radius: var(--g-radius); }
.g-quote--wide { max-width: 880px; margin: clamp(40px, 5vw, 64px) auto 0; text-align: center; padding-top: clamp(34px, 4vw, 52px); }
.g-quote--wide::before { left: 50%; transform: translateX(-50%); }

/* Mobilne aplikacije */
.g-apps {
  background: linear-gradient(135deg, var(--g-blue-600), var(--g-navy-700)); color: #fff;
  border-radius: var(--g-radius-lg); padding: clamp(28px, 4vw, 56px); position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
}
.g-apps::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 46px solid rgba(255, 255, 255, .06);
}
.g-apps h2 { color: #fff; margin: 10px 0 12px; }
.g-apps p { color: #d6e2f5; margin: 0; }
.g-apps .g-tag { background: var(--g-accent); color: var(--g-navy-900); }
.g-apps__stores { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; position: relative; z-index: 1; }
.g-apps__stores a { display: block; border-radius: 12px; transition: transform .2s var(--g-ease); }
.g-apps__stores a:hover { transform: translateY(-3px); }
.g-apps__stores img { height: 56px; width: auto; display: block; }
.g-apps small a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .g-apps { grid-template-columns: 1fr; } .g-apps__stores { justify-content: flex-start; } }

/* Koraci / citat / partner */
.g-quote {
  background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius-lg); padding: clamp(26px, 4vw, 48px);
  box-shadow: var(--g-shadow-sm); position: relative;
}
.g-quote blockquote { margin: 0; font-family: var(--g-font-head); font-size: clamp(18px, .8vw + 14px, 23px); line-height: 1.5; color: var(--g-ink); font-weight: 600; letter-spacing: -.01em; border: 0; padding: 0; }
.g-quote::before { content: "“"; position: absolute; top: -18px; left: 28px; font-size: 96px; line-height: 1; font-family: Georgia, serif; color: var(--g-accent); }
.g-quote footer { margin-top: 18px; color: var(--g-muted); font-size: 15px; background: none; padding: 0; }

.g-industries { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding: 0; list-style: none; }
.g-industries li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--g-line); font-size: 14.5px; color: var(--g-ink); font-weight: 500; }

/* CTA traka */
.g-cta {
  position: relative; overflow: hidden; border-radius: var(--g-radius-lg); padding: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(243, 146, 0, .22), transparent 60%),
    linear-gradient(135deg, var(--g-navy-800), var(--g-navy-900));
  color: #fff; display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
}
.g-cta::before {
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.g-cta > * { position: relative; }
.g-cta h2 { color: #fff; margin: 0 0 10px; }
.g-cta p { color: #c9d6ea; margin: 0; font-size: 17px; }
.g-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 767px) { .g-cta { grid-template-columns: 1fr; } }

/* Otkrivanje pri skrolanju (samo ako JS radi) */
.g-js .g-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--g-ease), transform .6s var(--g-ease); }
.g-js .g-reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Podstranice – zaglavlje stranice
   -------------------------------------------------------------------------- */
.g-page-hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(900px 360px at 90% -20%, rgba(44, 114, 220, .55), transparent 60%),
    linear-gradient(160deg, var(--g-navy-800), var(--g-navy-900));
  padding: clamp(34px, 5vw, 64px) 0 clamp(30px, 4.5vw, 56px);
}
.g-page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.g-page-hero h1 { color: #fff; margin: 0; max-width: 900px; font-size: clamp(28px, 2.4vw + 14px, 46px); line-height: 1.12; }
.g-page-hero p { color: #c9d6ea; margin: 14px 0 0; max-width: 760px; font-size: clamp(16px, .4vw + 14px, 18.5px); line-height: 1.6; }
.g-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 14px; color: #9fb3d1; }
.g-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.g-crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; margin-right: 4px; }
.g-crumbs a { color: #c9d6ea; }
.g-crumbs a:hover { color: #fff; }
.g-crumbs [aria-current] { color: #fff; font-weight: 600; }

/* --------------------------------------------------------------------------
   Postojeći sadržaj podstranica – modernizacija
   -------------------------------------------------------------------------- */
.flat-row { padding: clamp(40px, 6vw, 80px) 0 !important; }
.bg-section { background: #fff !important; }
.container, .container1 { max-width: var(--g-container) !important; width: 100% !important; margin-left: auto !important; margin-right: auto !important; padding-left: var(--g-gutter) !important; padding-right: var(--g-gutter) !important; }
.container .container, .container .container1, .container1 .container { padding-left: 0 !important; padding-right: 0 !important; }
.wrap-formcontact > .row { margin-left: 0; margin-right: 0; }
.g-page-hero + .flat-row, .g-page-hero + .flat-quote + .flat-row, .g-page-hero + .flat-quote + br + br + .flat-row { padding-top: clamp(32px, 4vw, 56px) !important; }
@media (max-width: 400px) { .g-topbar li:nth-child(2) { display: none; } }

/* Bočni izbornik modula */
.sidebar { position: sticky; top: calc(var(--g-header-h) + 20px); }
.widget.widget-nav-menu { margin-bottom: 22px; }
.widget-nav-menu ul.widget-menu {
  margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--g-line);
  border-radius: var(--g-radius); box-shadow: var(--g-shadow-sm);
}
.widget-nav-menu ul li { border: 0 !important; margin: 0 !important; padding: 0 !important; background: none !important; }
.widget-nav-menu ul li::before, .widget-nav-menu ul li::after, .widget.widget-nav-menu ul li a::before { display: none !important; }
.widget.widget-nav-menu ul li a {
  display: flex !important; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px !important; border-radius: 10px; font-size: 15px !important; font-weight: 550; line-height: 1.35 !important;
  color: var(--g-text) !important; background: transparent !important; text-transform: none !important; height: auto !important;
}
.widget.widget-nav-menu ul li a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); opacity: .35; flex: none; }
.widget.widget-nav-menu ul li a:hover { background: var(--g-bg) !important; color: var(--g-ink) !important; }
.widget.widget-nav-menu ul li.active a { background: var(--g-blue-50) !important; color: var(--g-blue-700) !important; font-weight: 700; box-shadow: inset 3px 0 0 var(--g-accent); }
.widget.widget-nav-menu ul li.active a::after { opacity: .8; }

.widget.widget-help {
  background: linear-gradient(160deg, var(--g-navy-800), var(--g-navy-900)) !important; color: #c9d6ea;
  border-radius: var(--g-radius); padding: 22px !important; overflow: hidden; border: 0 !important; text-align: left !important;
}
.widget.widget-help .featured-widget { display: none; }
.widget.widget-help h3 { color: #fff !important; font-size: 19px !important; margin: 0 0 8px !important; }
.widget.widget-help p { color: #c9d6ea !important; font-size: 14.5px; line-height: 1.55; margin-bottom: 16px !important; }
.widget.widget-help .flat-button { width: 100%; background: var(--g-accent) !important; color: var(--g-navy-900) !important; }

@media (max-width: 991px) {
  .sidebar { position: static; margin-bottom: 28px; }
  .widget-nav-menu ul.widget-menu { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .widget-nav-menu ul.widget-menu li { flex: none; }
  .widget.widget-nav-menu ul li a { white-space: nowrap; }
  .widget.widget-nav-menu ul li a::after { display: none; }
  .widget.widget-help { display: none; }
}

/* Tipografija sadržaja */
.post-wrap { font-size: clamp(15.5px, .25vw + 14.8px, 17px); }
.post-wrap > h3:first-child, .post-wrap h3 { margin: 0 0 16px; font-size: clamp(22px, 1vw + 15px, 30px); }
.post-wrap h4 { margin: 28px 0 10px; color: var(--g-navy-800); }
.post-wrap h4:first-child { margin-top: 0; }
.post-wrap p { margin: 0 0 14px; line-height: 1.75; }
/* Povijest izmjena – kompaktan prikaz */
.g-changelog { line-height: 1.6; font-size: 15.5px; }
.g-changelog p { margin: 0 0 3px; line-height: 1.6; }
.g-changelog .g-release {
  margin: 34px 0 12px; padding-top: 22px; border-top: 1px solid var(--g-line);
  font-size: 18px; color: var(--g-navy-800); display: flex; align-items: center; gap: 10px;
}
.g-changelog .g-release::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--g-accent); box-shadow: 0 0 0 4px var(--g-accent-100); flex: none; }
.g-changelog > h3 + .g-release { border-top: 0; padding-top: 0; margin-top: 8px; }
.post-wrap ul, .post-wrap ol { padding-left: 1.3em; margin: 0 0 16px; }
.post-wrap li { margin-bottom: 6px; line-height: 1.65; }
.post-wrap img, .page-contact img, .flat-row .wrap-formcontact img:not([src*="ios"]):not([src*="google"]) {
  border-radius: 12px; border: 1px solid var(--g-line); box-shadow: var(--g-shadow); margin: 14px 0 24px; background: #fff;
}
.post-wrap img[src*="ios.png"], .post-wrap img[src*="google.png"] { box-shadow: none; border: 0; margin: 0; border-radius: 10px; height: 52px; width: auto; }
.post-wrap a:not(.flat-button) { text-decoration: underline; text-decoration-color: rgba(44, 114, 220, .35); text-underline-offset: 3px; }
.post-wrap a:not(.flat-button):hover { text-decoration-color: currentColor; }

/* Info lista (telefon, e-mail) */
.flat-information { list-style: none; padding: 0; margin: 0 0 16px; }
.flat-information li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 0 !important; }
.flat-information li i { width: 34px; height: 34px; border-radius: 9px; display: inline-grid !important; place-items: center; background: var(--g-blue-50); color: var(--g-blue-600) !important; font-size: 15px; position: static !important; }
.flat-information li::before { display: none !important; }

/* Kontakt i opće sekcije */
.page-contact h4, .page-contact h3 { margin-bottom: 14px; }
.page-contact h5 { display: inline; font-size: inherit; font-family: var(--g-font) !important; font-weight: 700; color: var(--g-blue-600); }
.page-contact .col-lg-6:first-child > div {
  background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--g-shadow-sm);
}
.margin-left40 { margin-left: 0 !important; }
@media (min-width: 992px) { .page-contact .margin-left40 { padding-left: 16px; } }

/* FAQ harmonika */
.flat-accordion { display: grid; gap: 12px; margin-top: 18px; }
.flat-toggle {
  background: #fff; border: 1px solid var(--g-line) !important; border-radius: var(--g-radius) !important; margin: 0 !important;
  box-shadow: var(--g-shadow-sm); overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.flat-toggle:hover { border-color: #cfdcf2 !important; }
.flat-toggle .toggle-title {
  position: relative; cursor: pointer; padding: 18px 56px 18px 22px !important; margin: 0 !important; background: none !important;
  font-family: var(--g-font-head) !important; font-size: 16.5px !important; font-weight: 700 !important; line-height: 1.45 !important;
  color: var(--g-ink) !important; text-transform: none !important; border: 0 !important;
}
.flat-toggle .toggle-title::before { display: none !important; }
.flat-toggle .toggle-title::after {
  content: "" !important; position: absolute; left: auto !important; right: 20px; top: 50% !important; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: var(--g-blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232363c9' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s var(--g-ease); font-family: inherit !important;
}
.flat-toggle .toggle-title.active::after { transform: rotate(45deg); background-color: var(--g-accent-100); }
.flat-toggle .toggle-content { padding: 0 22px 20px !important; color: var(--g-text); }
.flat-toggle .toggle-content p { margin-bottom: 10px; }

/* Cjenik */
.pricing-section { padding: clamp(28px, 4vw, 56px) 0 !important; color: var(--g-text) !important; }
.pricing-section .row { row-gap: 24px; }
.pricing-card {
  height: 100%; display: flex; flex-direction: column; text-align: left !important;
  border: 1px solid var(--g-line); border-radius: var(--g-radius-lg) !important; padding: clamp(24px, 3vw, 34px) !important;
  box-shadow: var(--g-shadow-sm) !important; transition: transform .25s var(--g-ease), box-shadow .25s var(--g-ease), border-color .25s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--g-shadow) !important; border-color: #cfdcf2; }
.pricing-section .col-lg-4:nth-child(2) .pricing-card { border: 2px solid var(--g-blue-500); box-shadow: var(--g-shadow) !important; position: relative; }
.pricing-section .row:last-child .col-lg-4:nth-child(2) .pricing-card::before {
  content: "★"; position: absolute; top: -14px; right: 22px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--g-accent); color: var(--g-navy-900); font-size: 14px;
}
.pricing-card h3 { font-size: 19px !important; color: var(--g-navy-800) !important; margin: 0 0 10px; }
.pricing-card .price { font-family: var(--g-font-head); font-size: clamp(26px, 1.4vw + 16px, 36px) !important; font-weight: 800; color: var(--g-ink) !important; letter-spacing: -.02em; margin-bottom: 18px !important; }
.pricing-card ul { flex: 1; display: grid; gap: 10px; align-content: start; }
.pricing-card ul li { position: relative; padding-left: 28px; margin: 0 !important; color: var(--g-text) !important; line-height: 1.5; }
.pricing-card ul li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--g-blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232363c9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.pricing-card .flat-button { width: 100%; }
.row-centered { height: auto !important; margin: 18px 0 28px !important; flex-wrap: wrap; gap: 16px 0; }
.row-centered h3[style*="red"] { color: var(--g-success) !important; font-size: 22px; margin: 0; }
.row-centered img { height: 54px; width: auto; }
@media (max-width: 992px) { .row-centered { margin-bottom: 28px !important; } }

/* Tablice */
.table { border-collapse: separate; border-spacing: 0; }
.table-borderless td { padding: 16px 18px 16px 0 !important; vertical-align: top; }
.table td h3 { font-size: 18px; margin: 0 0 6px; color: var(--g-navy-800); }
@media (max-width: 767px) { .table-borderless td { display: block; width: 100% !important; } }

/* Modal (pravila privatnosti) */
.modal-content { border-radius: var(--g-radius-lg) !important; border: 0 !important; box-shadow: var(--g-shadow-lg); }
.modal-body h1, .modal-body h2, .modal-body h3 { font-size: 20px !important; margin: 22px 0 10px !important; }

/* Gumb "na vrh" */
.go-top {
  width: 46px !important; height: 46px !important; line-height: 46px !important; border-radius: 12px !important;
  right: 20px !important; bottom: 20px !important; background: var(--g-navy-800) !important; box-shadow: var(--g-shadow);
}
.go-top:hover { background: var(--g-blue-600) !important; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.g-footer { background: var(--g-navy-900); color: #a9b8cf; padding: clamp(48px, 6vw, 80px) 0 0; font-size: 15px; position: relative; }
.g-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--g-blue-500), var(--g-accent)); }
.g-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); }
.g-footer h2 { color: #fff; font-size: 14px !important; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 18px; font-family: var(--g-font) !important; font-weight: 700; }
.g-footer p { color: #a9b8cf; margin: 0 0 14px; line-height: 1.65; }
.g-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.g-footer a { color: #d3ddec; }
.g-footer a:hover { color: #fff; }
.g-footer__logo img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 18px; }
.g-footer__contact li { display: flex; align-items: center; gap: 10px; }
.g-footer__contact svg { width: 17px; height: 17px; color: var(--g-accent); flex: none; }
.g-footer__bottom { margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: 14px; }
.g-footer__bottom .g-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.g-footer__bottom p { margin: 0; color: #8597b2; }
.g-footer .g-btn { margin-top: 4px; }
@media (max-width: 991px) { .g-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .g-footer__grid { grid-template-columns: 1fr; } }

/* Statcounter piksel ne smije zauzimati prostor */
.statcounter { position: absolute; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   Ispis
   -------------------------------------------------------------------------- */
@media print {
  .g-topbar, .g-header, .g-footer, .go-top, .sidebar, .g-hazard { display: none !important; }
  .g-page-hero, .g-hero { background: none !important; color: #000 !important; }
  .g-page-hero h1, .g-hero h1 { color: #000 !important; }
}
