/* My Business Partner — site styles (v2)
   Layout concept: a corporate website built on photography of Belgrade and of the
   industries MBP serves, washed in brand navy. Light sections carry action titles,
   teal eyebrow labels and italic source notes. One brand family: Noto Sans. */

/* ---------- Fonts (self-hosted, variable weight) ---------- */
@font-face {
  font-family: "Noto Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/noto-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/noto-sans-sr-wght-normal.woff2") format("woff2");
  unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E;
}
@font-face {
  font-family: "Noto Sans"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("../fonts/noto-sans-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("../fonts/noto-sans-sr-wght-italic.woff2") format("woff2");
  unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #1E2761;          /* primary, also the logo background */
  --navy-2: #263070;        /* raised surfaces on navy */
  --navy-deep: #141A47;     /* photo overlays */
  --blue: #3D5A99;
  --blue-soft: #8FA6D9;
  --pale: #CADCFC;
  --pale-2: #EEF3FD;
  --teal: #17A2A8;          /* accent: rules, icons, large type */
  --teal-ink: #0E7C81;      /* teal for small text on light grounds (AA) */
  --teal-on-navy: #4FC3C8;  /* teal for small text on navy (AA) */
  --ink: #222533;
  --grey: #5A6472;
  --bg: #F4F7FC;
  --surface: #FFFFFF;
  --line: #DCE3F0;
  --line-navy: rgba(202, 220, 252, 0.18);
  --on-navy: #FFFFFF;
  --on-navy-soft: #D3E0FA;
  --shadow: 0 18px 44px rgba(20, 26, 71, 0.16);

  --font: "Noto Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.1rem, 1.25rem + 3.2vw, 3.5rem);
  --fs-h2: clamp(1.6rem, 1.15rem + 1.6vw, 2.25rem);
  --fs-h3: 1.1875rem;
  --fs-lead: clamp(1.075rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-eyebrow: 0.75rem;

  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --section: clamp(3.75rem, 2.5rem + 4.5vw, 7rem);
  --radius: 6px;
  --radius-lg: 10px;
  --container: 1180px;
  --header-h: 72px;

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.18; text-wrap: balance; color: var(--navy); }
h1 { font-size: var(--fs-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: var(--fs-h2); font-weight: 650; letter-spacing: -0.014em; }
h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--surface); color: var(--navy); padding: 0.6rem 1rem; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--navy); border-bottom: 1px solid var(--line-navy); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
@media (max-width: 1040px) { .brand img { height: 38px; } }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__list { display: flex; align-items: center; gap: 0.15rem; list-style: none; }
.nav__link { display: inline-block; padding: 0.55rem 0.8rem; color: var(--on-navy-soft); text-decoration: none; font-size: 0.95rem; font-weight: 500; border-radius: var(--radius); }
.nav__link:hover { color: var(--on-navy); background: var(--navy-2); }
.nav__link[aria-current="page"] { color: var(--on-navy); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav { margin-left: auto; }
.lang { display: inline-flex; align-items: center; flex-shrink: 0; gap: 2px; padding: 3px; border: 1px solid var(--line-navy); border-radius: 999px; }
.lang__opt { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 2.1rem; padding: 0 0.75rem 0 0.55rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; line-height: 1; color: var(--on-navy-soft); text-decoration: none; }
.lang__flag { display: block; flex-shrink: 0; width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }
.lang__opt.is-active .lang__flag { box-shadow: 0 0 0 1px rgba(30, 39, 97, 0.3); }
a.lang__opt:hover { color: var(--on-navy); background: var(--navy-2); }
.lang__opt.is-active { background: var(--on-navy); color: var(--navy); }
.lang-hint { background: var(--teal-ink, #0E6F74); color: #fff; font-size: 0.9rem; }
.lang-hint__inner { display: flex; align-items: center; gap: 0.5rem 1rem; flex-wrap: wrap; min-height: 2.75rem; padding-block: 0.4rem; }
.lang-hint a { display: inline-flex; align-items: center; gap: 0.35rem; color: #fff; font-weight: 650; text-underline-offset: 3px; }
.lang-hint a svg:not(.lang__flag) { width: 1em; height: 1em; }
.lang-hint .lang__flag { width: 18px; height: 12px; }
.lang-hint a:hover { color: #fff; text-decoration-thickness: 2px; }
.lang-hint__close { margin-left: auto; background: transparent; border: 0; color: #fff; font-size: 1.4rem; line-height: 1; width: 2.25rem; height: 2.25rem; border-radius: var(--radius); cursor: pointer; }
.lang-hint__close:hover { background: rgba(255, 255, 255, 0.15); }
.nav-toggle { display: none; align-items: center; gap: 0.5rem; background: transparent; border: 1px solid var(--line-navy); color: var(--on-navy); border-radius: var(--radius); padding: 0.5rem 0.75rem; font: inherit; font-size: 0.9rem; cursor: pointer; }
.nav-toggle__bars { display: inline-grid; gap: 4px; }
.nav-toggle__bars span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
@media (max-width: 920px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); border-bottom: 1px solid var(--line-navy); padding: 0.5rem var(--gutter) 1.25rem; }
  .js .nav:not(.is-open) { display: none; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { display: block; padding: 0.8rem 0.25rem; border-bottom: 1px solid var(--line-navy); border-radius: 0; }
  .nav__link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); padding-left: 0.75rem; }
  .js .lang { margin-left: auto; }
  .site-header__inner { gap: 0.6rem; }
  .site-header__inner { flex-wrap: wrap; }
  .js .site-header__inner { flex-wrap: nowrap; }
  .brand img { height: 38px; }
}

@media (max-width: 520px) {
  .nav-toggle { padding: 0.5rem 0.65rem; min-height: 2.6rem; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .brand img { height: 26px; }
  .lang__opt { gap: 0.3rem; padding: 0 0.5rem 0 0.4rem; font-size: 0.72rem; letter-spacing: 0.05em; }
  .lang__flag { width: 18px; height: 12px; }
}
@media (max-width: 380px) {
  .lang__opt { padding: 0 0.45rem; }
  .lang__opt span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- Photo layers ---------- */
.photo-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.photo-bg img { width: 100%; height: 100%; object-fit: cover; }
.photo-bg::after { content: ""; position: absolute; inset: 0; }
.photo-bg--hero::after {
  background:
    linear-gradient(90deg, rgba(20, 26, 71, 0.96) 0%, rgba(30, 39, 97, 0.88) 38%, rgba(30, 39, 97, 0.45) 72%, rgba(30, 39, 97, 0.25) 100%),
    linear-gradient(0deg, rgba(20, 26, 71, 0.55) 0%, rgba(20, 26, 71, 0) 40%);
}
.photo-bg--cover::after { background: linear-gradient(90deg, rgba(20, 26, 71, 0.95) 0%, rgba(30, 39, 97, 0.86) 50%, rgba(30, 39, 97, 0.62) 100%); }
.photo-bg--cta::after { background: linear-gradient(90deg, rgba(20, 26, 71, 0.9) 0%, rgba(20, 26, 71, 0.7) 55%, rgba(20, 26, 71, 0.4) 100%); }
@media (max-width: 820px) {
  .photo-bg--hero::after, .photo-bg--cover::after { background: linear-gradient(180deg, rgba(20, 26, 71, 0.82) 0%, rgba(30, 39, 97, 0.92) 100%); }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; isolation: isolate; color: var(--on-navy); background: var(--navy); }
.hero__inner { position: relative; z-index: 1; padding-block: clamp(4.5rem, 3rem + 7vw, 9rem) clamp(6.5rem, 5rem + 6vw, 10rem); }
.hero h1 { color: var(--on-navy); max-width: 24ch; }
.hero .lead { color: var(--on-navy-soft); max-width: 50ch; margin-top: 1.4rem; }
.hero .eyebrow { color: var(--teal-on-navy); margin-bottom: 1rem; }
.hero__actions, .cover__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.1rem; }

/* facts strip overlapping the hero */
.facts { position: relative; z-index: 2; margin-top: clamp(-4.5rem, -3rem - 2vw, -3.5rem); }
.facts__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; list-style: none; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.facts__item { padding: 1.6rem 1.6rem; background: var(--surface); min-width: 0; }
.facts__value { display: block; font-size: 1.5rem; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.facts__label { display: block; color: var(--grey); font-size: 0.92rem; line-height: 1.45; margin-top: 0.25rem; }
/* one row on wide screens: each value stays on one line; a longer value (EKOF · FCCA · EMBA) gets a wider column */
@media (min-width: 1181px) {
  .facts__list { grid-template-columns: repeat(4, minmax(min-content, 1fr)); }
  .facts__value { white-space: nowrap; }
}
@media (max-width: 1180px) {
  .facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .facts__list { grid-template-columns: minmax(0, 1fr); }
  .facts__item { padding: 1.1rem 1.25rem; }
  .facts__value { font-size: 1.3rem; }
}

/* ---------- Cover (inner pages) ---------- */
.cover { position: relative; isolation: isolate; background: var(--navy); color: var(--on-navy); }
.cover__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.cover h1 { color: var(--on-navy); max-width: 22ch; }
.cover .lead { color: var(--on-navy-soft); max-width: 56ch; margin-top: 1.25rem; }
.cover .eyebrow { color: var(--teal-on-navy); margin-bottom: 1rem; }
.cover--portrait .cover__inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: end; padding-bottom: 0; }
.cover--portrait .cover__text { padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 6rem); align-self: center; }
.cover__figure { position: relative; margin: 0; min-width: 0; }
.cover__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.cover__badge { position: absolute; left: -1.25rem; bottom: 1.5rem; max-width: calc(100% - 1rem); background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 0.85rem 1.1rem; box-shadow: var(--shadow); }
.cover__badge strong { display: block; color: var(--navy); font-size: 1rem; font-weight: 700; }
.cover__badge span { display: block; color: var(--grey); font-size: 0.85rem; }
@media (max-width: 820px) {
  .cover--portrait .cover__inner { grid-template-columns: minmax(0, 1fr); }
  .cover--portrait .cover__text { padding-bottom: 0; }
  .cover__figure { max-width: 380px; }
  .cover__badge { left: 1rem; }
}
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; list-style: none; }
.chips a { display: inline-block; padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35); color: var(--on-navy); text-decoration: none; font-size: 0.9rem; background: rgba(20, 26, 71, 0.35); backdrop-filter: blur(4px); }
.chips a:hover { border-color: var(--teal); background: var(--navy-2); color: var(--on-navy); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.85rem 1.35rem; border-radius: var(--radius); font: inherit; font-size: 0.98rem; font-weight: 600; text-decoration: none; line-height: 1.2; border: 1.5px solid transparent; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.btn svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }
.btn--light { background: var(--surface); color: var(--navy); }
.btn--light:hover { background: var(--pale); color: var(--navy); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.55); color: var(--on-navy); }
.btn--ghost-light:hover { border-color: var(--teal); color: var(--on-navy); background: rgba(38, 48, 112, 0.7); }
.btn--navy { background: var(--navy); color: var(--on-navy); }
.btn--navy:hover { background: var(--blue); color: var(--on-navy); }
.btn--ghost { border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--on-navy); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; text-decoration: none; color: var(--blue); }
.link-arrow svg { width: 1em; height: 1em; transition: transform 0.15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--white { background: var(--surface); }
.section--tint { background: var(--bg); }
.section__head { display: grid; gap: 0.85rem; max-width: 48rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section__head .lead { color: var(--grey); }
.section__head--row { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem 2rem; }
.section__head--row > div { display: grid; gap: 0.85rem; max-width: 48rem; }
@media (max-width: 720px) { .section__head--row { grid-template-columns: minmax(0, 1fr); } }
.eyebrow { font-size: var(--fs-eyebrow); font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-ink); }
.lead { font-size: var(--fs-lead); line-height: 1.6; }
.note { font-size: var(--fs-small); font-style: italic; color: var(--grey); margin-top: 1.75rem; }
.prose { max-width: 65ch; display: grid; gap: 1.1rem; }

/* tick lists */
.ticks { list-style: none; display: grid; gap: 0.6rem; }
.ticks li { position: relative; padding-left: 1.5rem; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.6rem; height: 0.6rem; border-radius: 2px; background: var(--teal); }
.ticks--sm li { font-size: 0.97rem; }

/* ---------- Service cards with photos ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.service { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(20, 26, 71, 0.07); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.service:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), var(--shadow); }
.service__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service:hover .service__media img { transform: scale(1.04); }
.service__tag { position: absolute; left: 1rem; top: 1rem; font-size: 0.7rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); background: var(--surface); border-radius: 999px; padding: 0.3rem 0.7rem; }
.service--flagship .service__tag { background: var(--teal); color: var(--navy-deep); }
.service__body { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.5rem 1.5rem 1.4rem; flex: 1; }
.service__sub { color: var(--grey); font-style: italic; font-size: 0.95rem; margin-top: -0.4rem; }
.service__foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--grey); display: grid; gap: 0.5rem; }
@media (max-width: 960px) { .services { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* ---------- Industry tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.tile { position: relative; isolation: isolate; min-height: 360px; border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: flex-end; color: var(--on-navy); background: var(--navy); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 26, 71, 0.05) 20%, rgba(20, 26, 71, 0.88) 78%); }
.tile:hover img { transform: scale(1.05); }
.tile__body { padding: 1.5rem; display: grid; gap: 0.4rem; }
.tile h3 { color: var(--on-navy); font-size: 1.3rem; }
.tile p { color: var(--on-navy-soft); font-size: 0.98rem; line-height: 1.5; }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiles { grid-template-columns: minmax(0, 1fr); } .tile { min-height: 280px; } }

/* ---------- Split (text + image) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }
.split--wide-text { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.split--portrait { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); }
.split__media--portrait img { max-height: 560px; }
.split__media { position: relative; min-width: 0; }
.split__media img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.split__media--portrait img { aspect-ratio: 4 / 5; object-position: 50% 18%; }
.split__media--photo img { aspect-ratio: 4 / 3; }
.split__text { display: grid; gap: 1.1rem; min-width: 0; }
@media (max-width: 860px) { .split, .split--wide-text, .split--portrait { grid-template-columns: minmax(0, 1fr); } .split__media--portrait { max-width: 420px; } }

/* Power BI showcase on home: screen in a browser-like frame */
.screen { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.screen__bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.8rem; background: #F0F3F9; border-bottom: 1px solid var(--line); }
.screen__bar span { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--line); }
.screen__bar em { margin-left: 0.6rem; font-style: normal; font-size: 0.78rem; color: var(--grey); }
.screen img { width: 100%; }
.stack { position: relative; padding: 0 2.5rem 2.5rem 0; }
.stack .screen + .screen { position: absolute; right: 0; bottom: 0; width: 62%; }
@media (max-width: 560px) { .stack { padding: 0; } .stack .screen + .screen { display: none; } }

/* "Are we the right fit for you?" */
.fit { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.fit__head { display: grid; gap: 0.9rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.fit__head .lead { color: var(--grey); }
.fit__close { margin-top: 1rem; padding-top: 1.25rem; border-top: 2px solid var(--navy); display: grid; gap: 1rem; justify-items: start; }
.fit__close p { font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.fit__list { list-style: none; display: grid; }
.fit__item { display: grid; gap: 0.5rem; padding: 1.5rem 0 1.5rem 1.5rem; border-top: 1px solid var(--line); position: relative; }
.fit__item:last-child { border-bottom: 1px solid var(--line); }
.fit__item::before { content: ""; position: absolute; left: 0; top: 1.85rem; width: 0.6rem; height: 0.6rem; border-radius: 2px; background: var(--teal); }
.fit__item h3 { font-size: 1.2rem; }
.fit__item p { color: var(--grey); }
@media (max-width: 860px) { .fit { grid-template-columns: minmax(0, 1fr); } .fit__head { position: static; } }

/* reasons */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
@media (max-width: 960px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-4, .grid-3 { grid-template-columns: minmax(0, 1fr); } }
.point { display: grid; gap: 0.5rem; align-content: start; min-width: 0; padding-top: 1.1rem; border-top: 2px solid var(--navy); }
.point p { color: var(--grey); }
.point__num { font-size: 0.8rem; font-weight: 650; letter-spacing: 0.12em; color: var(--teal-ink); }

.creds { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.creds li { font-size: 0.88rem; font-weight: 600; padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--pale-2); color: var(--navy); }

/* panels, groups */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; display: grid; gap: 0.9rem; min-width: 0; }
.section--white .panel { background: var(--bg); }
.panel + .panel { margin-top: 1.25rem; }
.panel h3 { font-size: 1.05rem; }
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
@media (max-width: 900px) { .groups { grid-template-columns: minmax(0, 1fr); } }
.group { display: grid; gap: 0.9rem; align-content: start; min-width: 0; padding-top: 1.1rem; border-top: 2px solid var(--navy); }
.service-block { scroll-margin-top: calc(var(--header-h) + 16px); }

/* process steps — a real sequence, so numbered */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; list-style: none; }
.step { position: relative; display: grid; gap: 0.75rem; align-content: start; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.3rem; }
.section--white .step { background: var(--bg); }
.step__num { font-size: 2rem; font-weight: 300; color: var(--blue-soft); line-height: 1; font-variant-numeric: tabular-nums; }
/* Završni korak je istaknut samo kada su svi koraci u jednom redu, sa strelicama */
@media (min-width: 961px) {
  .step:last-child { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
  .step:last-child h3 { color: var(--on-navy); }
  .step:last-child .step__num { color: var(--teal-on-navy); }
  .step:last-child .ticks li::before { background: var(--teal-on-navy); }
}
.step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -0.85rem; width: 0.7rem; height: 0.7rem; z-index: 1; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: translateY(-50%) rotate(45deg); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* engagement models on navy */
.section--navy { background: var(--navy); color: var(--on-navy); position: relative; isolation: isolate; }
.section--navy h2 { color: var(--on-navy); }
.section--navy .eyebrow { color: var(--teal-on-navy); }
.section--navy .lead { color: var(--on-navy-soft); }
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 760px) { .models { grid-template-columns: minmax(0, 1fr); } }
.model { background: rgba(38, 48, 112, 0.85); border: 1px solid var(--line-navy); border-radius: var(--radius-lg); padding: 1.6rem; display: grid; gap: 0.9rem; align-content: start; min-width: 0; }
.model h3 { color: var(--on-navy); }
.model .ticks li { color: var(--on-navy-soft); }
.model .ticks li::before { background: var(--teal-on-navy); }

/* ---------- Power BI report viewer ---------- */
.viewer { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.viewer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding: 0.7rem 1rem; background: var(--navy); color: var(--on-navy); }
.viewer__title { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.95rem; min-width: 0; }
.viewer__title svg { width: 1.2rem; height: 1.2rem; color: var(--teal-on-navy); flex-shrink: 0; }
.viewer__title small { color: var(--on-navy-soft); font-weight: 400; font-size: 0.85rem; }
.viewer__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.viewer__btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.75rem; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: var(--on-navy); font: inherit; font-size: 0.85rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.viewer__btn:hover { border-color: var(--teal); color: var(--on-navy); background: var(--navy-2); }
.viewer__btn svg { width: 1rem; height: 1rem; }
.viewer__btn--primary { background: var(--teal); border-color: var(--teal); color: var(--navy-deep); }
.viewer__btn--primary:hover { background: var(--teal-on-navy); color: var(--navy-deep); }
.viewer__stage { position: relative; background: #EEF1F7; aspect-ratio: 16 / 9; }
.viewer__stage img, .viewer__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; }
.viewer__stage img { cursor: zoom-in; }

.viewer__stage.is-live { aspect-ratio: 16 / 10; background: var(--surface); }
.viewer__stage iframe { z-index: 1; transition: opacity 0.3s ease; background: transparent; }
.viewer__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; display: inline-flex; align-items: center; gap: 0.7rem; padding: 1rem 1.6rem; border: 0; border-radius: 999px; background: var(--teal); color: var(--navy-deep); font: inherit; font-weight: 700; font-size: 1.05rem; cursor: pointer; box-shadow: 0 14px 40px rgba(20, 26, 71, 0.35); }
.viewer__play svg { width: 1.3rem; height: 1.3rem; }
.viewer__play:hover { background: var(--teal-on-navy); }
.viewer__live { display: inline-block; margin-left: 0.45rem; padding: 0.1rem 0.45rem; border-radius: 999px; background: var(--teal); color: var(--navy-deep); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 0.1em; }
.viewer__live--ai { background: #C9A227; color: var(--navy-deep); }
.viewer__dot { display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.45rem; border-radius: 50%; background: var(--teal); vertical-align: 0.05em; }
.viewer__dot--ai { background: #C9A227; }
.viewer__legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-top: 0.8rem; font-size: 0.82rem; color: var(--grey); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 560px) { .viewer__play { padding: 0.75rem 1.1rem; font-size: 0.92rem; } }
.viewer__tabs { display: flex; gap: 0; overflow-x: auto; background: #F3F5FA; border-top: 1px solid var(--line); scrollbar-width: thin; }
.viewer__tab { position: relative; flex: 0 0 auto; padding: 0.7rem 0.78rem; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--grey); font: inherit; font-size: 0.88rem; font-weight: 500; cursor: pointer; white-space: nowrap; border-top: 3px solid transparent; }
.viewer__tab:hover { background: var(--surface); color: var(--navy); }
.viewer__tab[aria-selected="true"] { background: var(--surface); color: var(--navy); font-weight: 650; border-top-color: var(--teal); }
.viewer__info { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem 3rem; margin-top: 2rem; }
.viewer__info h3 { margin-bottom: 0.5rem; }
.viewer__info p { color: var(--grey); }
@media (max-width: 760px) { .viewer__info { grid-template-columns: minmax(0, 1fr); } }

/* lightbox */
.lightbox { padding: 0; border: 0; max-width: min(96vw, 1700px); width: 100%; background: transparent; }
.lightbox::backdrop { background: rgba(20, 26, 71, 0.85); }
.lightbox img { width: 100%; border-radius: var(--radius); background: var(--surface); }
.lightbox__close { position: absolute; top: 0.6rem; right: 0.6rem; border: 0; border-radius: 999px; background: var(--navy); color: var(--on-navy); font: inherit; font-weight: 600; padding: 0.45rem 0.9rem; cursor: pointer; }

/* about: timeline */
.timeline { list-style: none; display: grid; }
.timeline li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1.25rem; padding-block: 1.1rem; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline__years { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--teal-ink); font-size: 0.95rem; padding-top: 0.1rem; }
.timeline__role { font-weight: 650; color: var(--navy); }
.timeline__org { color: var(--grey); font-size: 0.97rem; }
.timeline__note { color: var(--grey); font-size: 0.92rem; font-style: italic; margin-top: 0.25rem; }
@media (max-width: 560px) { .timeline li { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; } }
.quals { list-style: none; display: grid; gap: 1rem; }
.quals li { display: grid; gap: 0.15rem; padding-left: 1rem; border-left: 2px solid var(--pale); }
.quals strong { color: var(--navy); }
.quals span { color: var(--grey); font-size: 0.95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; }
.tags li { font-size: 0.88rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); }

/* contact */
.contact-list { list-style: none; display: grid; gap: 1rem; }
.contact-item { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1rem; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem 1.4rem; }
.contact-item__icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--pale-2); color: var(--navy); }
.contact-item__icon svg { width: 1.25rem; height: 1.25rem; }
.contact-item__label { font-size: 0.78rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.contact-item__value { font-size: 1.15rem; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.contact-item__value a { color: inherit; text-decoration: none; }
.contact-item__value a:hover { color: var(--teal-ink); text-decoration: underline; }
.contact-item__hint { font-size: 0.92rem; color: var(--grey); }
.legal { font-size: 0.92rem; color: var(--grey); display: grid; gap: 0.2rem; }
.legal strong { color: var(--navy); }

/* ---------- CTA with photo ---------- */
.cta { position: relative; isolation: isolate; background: var(--navy-deep); color: var(--on-navy); }
.cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 2rem 3rem; align-items: center; padding-block: clamp(4rem, 3rem + 4vw, 6.5rem); }
.cta h2 { color: var(--on-navy); }
.cta p { color: var(--on-navy-soft); margin-top: 0.9rem; max-width: 52ch; }
.cta__contact { display: grid; gap: 0.9rem; justify-items: start; min-width: 0; background: rgba(20, 26, 71, 0.55); border: 1px solid var(--line-navy); border-radius: var(--radius-lg); padding: 1.5rem; backdrop-filter: blur(6px); }
.cta__line { font-size: 1.05rem; color: var(--on-navy); font-weight: 600; overflow-wrap: anywhere; }
.cta__line a { color: inherit; text-decoration: none; }
.cta__line a:hover { color: var(--teal-on-navy); }
.cta__line span { display: block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-on-navy); font-weight: 650; margin-bottom: 0.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.4rem; }
@media (max-width: 820px) { .cta__inner { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-soft); font-size: 0.95rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr); gap: 2rem 3rem; padding-block: 3.25rem 2.5rem; }
.site-footer img { height: 52px; width: auto; }
.site-footer__about { margin-top: 1rem; max-width: 38ch; line-height: 1.55; }
.site-footer h2 { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-on-navy); margin-bottom: 0.9rem; font-weight: 650; }
.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--teal-on-navy); text-decoration: underline; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.25rem 1.75rem; border-top: 1px solid var(--line-navy); font-size: 0.85rem; }
@media (max-width: 820px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }

.error-page { min-height: 50vh; display: grid; align-content: center; gap: 1.25rem; padding-block: var(--section); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
