/* ssc.ba — premium redizajn (29.10.2026).
   Svijetla osnova + noćno-plave sekcije; potpis = logo koji se okreće u „orbiti" (koncentrični prstenovi kao lukovi loga) + „Since 2012". */

@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(fonts/archivo-latin.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: 'Overpass Mono'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/overpass-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Overpass Mono'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/overpass-mono-latin.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: 'Mr Dafoe'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/mr-dafoe-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Mr Dafoe'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/mr-dafoe-latin.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;
}

:root {
  --paper: #F4F6F9;
  --surface: #FFFFFF;
  --ink: #0A1A33;
  --ink-2: #44536A;
  --ink-3: #74839A;
  --rule: #DCE3EC;
  --rule-strong: #C3CEDC;
  --blue: #1F6BDF;
  --sky: #6CC4FF;
  --night: #071428;
  --on-night: #EAF0F8;
  --on-night-2: rgba(234, 240, 248, 0.66);
  --on-night-3: rgba(234, 240, 248, 0.42);
  --on-night-rule: rgba(255, 255, 255, 0.11);

  --f-text: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Overpass Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --f-script: 'Mr Dafoe', cursive;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-text); font-size: 1.0625rem; line-height: 1.6; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sky); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip-link { position: absolute; left: 8px; top: -48px; z-index: 200; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; font-size: 0.9rem; text-decoration: none; }
.skip-link:focus { top: 8px; }

/* ---------- Tipografija ---------- */
.display { font-stretch: 114%; font-weight: 800; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -0.034em; text-wrap: balance; }
.h2 { font-stretch: 112%; font-weight: 780; font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.h3 { font-stretch: 108%; font-weight: 720; font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.012em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: 0.6; }
.lede { color: var(--ink-2); font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.55; max-width: 56ch; text-wrap: pretty; }
.mono { font-family: var(--f-mono); }

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 650; font-size: 1rem; letter-spacing: -0.005em; text-decoration: none;
  background: var(--ink); color: #fff; transition: background-color .25s ease, color .25s ease, transform .25s var(--ease);
}
.btn svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.btn:hover { background: var(--blue); text-decoration: none; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sky); color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 0.86rem; color: var(--ink); text-decoration: none; }
.text-link svg { width: 13px; height: 13px; color: var(--blue); transition: transform .3s var(--ease); }
.text-link:hover svg { transform: translate(2px, -2px); }

/* ---------- Zaglavlje ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 246, 249, 0.78);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, background-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); background: rgba(244, 246, 249, 0.9); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-stretch: 125%; font-weight: 800; font-size: 1.2rem; letter-spacing: 0.02em; }
.wordmark img { width: 30px; height: 30px; }
.wordmark small { font-family: var(--f-mono); font-stretch: 100%; font-weight: 400; font-size: 0.72rem; color: var(--ink-3); letter-spacing: 0.04em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: color .2s ease, background-color .2s ease; }
.nav a:hover { color: var(--ink); background: rgba(10, 26, 51, 0.05); }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(10, 26, 51, 0.06); }
.nav a.nav-cta { margin-left: 8px; background: var(--ink); color: #fff; padding: 9px 18px; font-weight: 600; }
.nav a.nav-cta:hover { background: var(--blue); }
.lang-switcher { display: flex; gap: 2px; margin-left: 12px; padding-left: 14px; border-left: 1px solid var(--rule); }
.lang-switcher .lang-btn { font-family: var(--f-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.05em; color: var(--ink-3); padding: 6px 8px; }
.lang-switcher .lang-btn.lang-active { color: var(--ink); background: rgba(10, 26, 51, 0.07); }
.nav-toggle { display: none; margin-left: auto; background: var(--surface); border: 1px solid var(--rule); border-radius: 999px; width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 20px; height: 20px; margin: auto; }

@media (max-width: 920px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 20px; box-shadow: 0 24px 48px rgba(10, 26, 51, 0.1);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .nav a[aria-current="page"] { background: none; box-shadow: inset 3px 0 0 var(--blue); padding-left: 14px; }
  .nav a.nav-cta { margin: 16px 0 0; text-align: center; border-radius: 999px; border: 0; padding: 14px; }
  .lang-switcher { margin: 16px 0 0; padding: 0; border: 0; }
  .lang-switcher .lang-btn { border-bottom: 0; padding: 8px 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 7vw, 96px); }
.hero::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 1400px; height: 1400px; right: -380px; top: -520px;
  background: repeating-radial-gradient(circle, transparent 0 55px, rgba(31, 107, 223, 0.07) 55px 56px);
  -webkit-mask: radial-gradient(circle, #000 0 35%, transparent 70%); mask: radial-gradient(circle, #000 0 35%, transparent 70%);
}
.hero::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 760px; height: 760px; right: -120px; top: -80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 196, 255, 0.28), rgba(108, 196, 255, 0) 65%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px;
  border: 1px solid var(--rule); border-radius: 999px; background: rgba(255, 255, 255, 0.7);
  font-family: var(--f-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2);
}
.hero-kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(31, 107, 223, 0.16); }
.hero h1 { margin-top: 26px; font-size: clamp(2.7rem, 6vw, 5.9rem); line-height: 0.96; letter-spacing: -0.04em; font-stretch: 112%; max-width: 13ch; }
.hero .lede { margin-top: 28px; max-width: 44ch; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }

.stage { position: relative; width: min(100%, 500px); aspect-ratio: 1; justify-self: end; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--rule-strong); }
.ring::after { content: ''; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); top: -5px; left: calc(50% - 5px); box-shadow: 0 0 0 5px rgba(31, 107, 223, 0.14); }
.ring-1 { inset: 0; animation: spin 48s linear infinite; }
.ring-2 { inset: 10%; border-style: dashed; border-color: rgba(31, 107, 223, 0.28); animation: spin 32s linear infinite reverse; }
.ring-2::after { background: var(--sky); width: 8px; height: 8px; top: auto; bottom: -4px; left: calc(50% - 4px); box-shadow: none; }
.ring-3 { inset: 20%; border-color: var(--rule); animation: spin 64s linear infinite; }
.ring-3::after { width: 6px; height: 6px; top: calc(50% - 3px); left: -3px; background: var(--ink); box-shadow: none; }
.hero-logo { position: relative; width: 56%; aspect-ratio: 1; opacity: 0; animation: logo-in 1.4s var(--ease) .1s forwards; }
.hero-logo img { width: 100%; height: 100%; animation: spin 20s linear infinite; filter: drop-shadow(0 24px 40px rgba(31, 107, 223, 0.22)); }
.hero-logo span { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; letter-spacing: 0.05em; color: var(--ink); opacity: 0.75; }
.signature {
  position: absolute; right: 2%; bottom: 3%;
  font-family: var(--f-script); font-size: clamp(1.8rem, 2.6vw, 2.4rem); color: var(--blue);
  transform: rotate(-8deg); white-space: nowrap; pointer-events: none;
  opacity: 0; animation: fade-in 1s ease-out 1.1s forwards;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes logo-in { 0% { opacity: 0; transform: scale(0.7) rotate(-40deg); } 100% { opacity: 1; transform: none; } }
@keyframes fade-in { to { opacity: 1; } }

.hero-brands {
  margin-top: clamp(56px, 7vw, 96px); padding: 24px 0 28px; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px;
}
.hero-brands .label { font-family: var(--f-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-right: 8px; }
.hero-brands a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-stretch: 106%; opacity: 0.6; filter: grayscale(1); transition: opacity .25s ease, filter .25s ease; }
.hero-brands a:hover { opacity: 1; filter: none; }
.hero-brands img { width: 24px; height: 24px; object-fit: contain; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .stage { order: -1; justify-self: center; width: min(78vw, 340px); }
  .hero h1 { font-size: clamp(2.5rem, 10.5vw, 3.6rem); }
  .hero::before { width: 900px; height: 900px; right: -420px; top: -360px; }
  .hero::after { width: 480px; height: 480px; right: -160px; top: -40px; }
}

/* ---------- Sekcije ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 136px) 0; }
.section + .section:not(.night):not(.statement) { border-top: 1px solid var(--rule); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 820px; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head-row .section-head { margin-bottom: 0; }

/* Izjava */
.statement { border-top: 1px solid var(--rule); }
.statement-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 48px; align-items: start; }
.statement-grid .eyebrow { padding-top: 0.9em; }
.statement-text { font-stretch: 108%; font-weight: 620; font-size: clamp(1.6rem, 3.1vw, 2.75rem); line-height: 1.18; letter-spacing: -0.024em; color: var(--ink-3); text-wrap: pretty; }
.statement-text em { font-style: normal; color: var(--ink); text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 0.09em; text-underline-offset: 0.12em; }
@media (max-width: 760px) { .statement-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Noćne sekcije ---------- */
.night { background: var(--night); color: var(--on-night); overflow: hidden; isolation: isolate; }
.night::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: 0.05; pointer-events: none; }
.night::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 1200px; height: 1200px; right: -500px; top: -560px;
  background: repeating-radial-gradient(circle, transparent 0 59px, rgba(108, 196, 255, 0.08) 59px 60px);
  -webkit-mask: radial-gradient(circle, #000 0 30%, transparent 68%); mask: radial-gradient(circle, #000 0 30%, transparent 68%);
}
.night .eyebrow { color: var(--on-night-3); }
.night .h2 { color: #fff; }
.night .lede { color: var(--on-night-2); }

/* Kartice brendova */
.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.group-label { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 14px; border-bottom: 1px solid var(--on-night-rule); }
.group-label:not(:first-child) { margin-top: 44px; }
.group-label .h3 { color: #fff; font-size: 1.1rem; }
.group-label span { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-night-3); }
.group-note { grid-column: 1 / -1; color: var(--on-night-2); font-size: 0.98rem; max-width: 68ch; margin-top: -4px; }
.card {
  position: relative; display: flex; flex-direction: column; min-height: 320px; padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--on-night-rule); border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: border-color .35s ease, transform .5s var(--ease);
}
.card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(108, 196, 255, 0.16), transparent 60%);
}
.card:hover { border-color: rgba(108, 196, 255, 0.4); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-icon { width: 60px; height: 60px; border-radius: 16px; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.card-icon img { width: 38px; height: 38px; object-fit: contain; }
.chip { font-family: var(--f-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-night-2); padding: 6px 11px; border: 1px solid var(--on-night-rule); border-radius: 999px; white-space: nowrap; }
.card-name { margin-top: auto; padding-top: 40px; font-stretch: 112%; font-weight: 780; font-size: clamp(1.7rem, 2.6vw, 2.25rem); line-height: 1.05; letter-spacing: -0.03em; color: #fff; }
.card-desc { margin-top: 12px; color: var(--on-night-2); max-width: 48ch; text-wrap: pretty; }
.card-link { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 0.86rem; color: #fff; text-decoration: none; }
.card-link::after { content: ''; position: absolute; inset: 0; }
.card-link svg { width: 13px; height: 13px; color: var(--sky); transition: transform .3s var(--ease); }
.card:hover .card-link svg { transform: translate(3px, -3px); }
@media (max-width: 760px) { .brand-grid { grid-template-columns: 1fr; } .card { min-height: 0; } }

/* Tri stuba */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.pillar { padding: 32px 32px 8px; border-left: 1px solid var(--rule); }
.pillar:first-child { padding-left: 0; border-left: 0; }
.pillar .eyebrow { color: var(--blue); }
.pillar .h3 { margin-top: 18px; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.pillar p { margin-top: 12px; color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:first-child { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}

/* ---------- Tim ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.person-photo { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--rule); }
.person img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; filter: grayscale(1) contrast(1.04); transform: scale(1.001); transition: filter .7s ease, transform 1s var(--ease); }
.person:hover img { filter: none; transform: scale(1.04); }
@media (hover: none) { .person img { filter: none; } }
.person-info { margin-top: 18px; }
.person-name { font-stretch: 110%; font-weight: 750; font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.015em; }
.person-role { font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.person a { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-family: var(--f-mono); font-size: 0.84rem; color: var(--ink); text-decoration: none; }
.person a svg { width: 12px; height: 12px; color: var(--blue); transition: transform .3s var(--ease); }
.person a:hover svg { transform: translate(2px, -2px); }
@media (max-width: 760px) {
  .team { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--rule); }
  .person { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .person-photo { flex: 0 0 92px; border-radius: 14px; }
  .person-info { margin-top: 0; min-width: 0; }
  .person-name { font-size: 1.15rem; }
  .person a { margin-top: 6px; }
}

/* ---------- Priča ---------- */
.story-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); }
.story-head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; display: grid; gap: 18px; }
.milestone { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 32px; align-items: baseline; padding: 30px 0; border-top: 1px solid var(--rule); }
.milestone:last-child { border-bottom: 1px solid var(--rule); }
.milestone-year { font-stretch: 116%; font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 3.9rem); line-height: 0.9; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.3px var(--blue); }
.milestone:last-child .milestone-year { color: var(--blue); -webkit-text-stroke: 0; }
.milestone-text { color: var(--ink-2); font-size: 1.1rem; max-width: 52ch; text-wrap: pretty; }
.milestone-text strong { color: var(--ink); font-weight: 680; }
@media (max-width: 860px) {
  .story-layout { grid-template-columns: 1fr; }
  .story-head { position: static; }
  .milestone { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
}

/* ---------- Podaci o firmi ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }
.facts div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin-top: 6px; font-weight: 550; }
.facts a { color: var(--ink); }

/* ---------- Poziv (CTA) + podnožje ---------- */
.cta { padding: clamp(96px, 13vw, 176px) 0 clamp(72px, 9vw, 120px); }
.cta-title { font-stretch: 116%; font-weight: 800; font-size: clamp(2.2rem, 9.4vw, 8.6rem); line-height: 0.92; letter-spacing: -0.05em; color: #fff; overflow-wrap: anywhere; }
.cta-row { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px; }
.cta-row p { color: var(--on-night-2); font-size: 1.15rem; max-width: 46ch; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 20px 48px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--on-night-rule); }
.cta-contacts a { color: #fff; text-decoration: none; font-stretch: 108%; font-weight: 650; font-size: clamp(1.1rem, 1.8vw, 1.45rem); letter-spacing: -0.01em; }
.cta-contacts a:hover { color: var(--sky); }
.cta-contacts span { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-night-3); display: block; margin-bottom: 4px; }

.site-footer { position: relative; background: var(--night); color: var(--on-night-2); padding: 56px 0 32px; font-size: 0.95rem; border-top: 1px solid var(--on-night-rule); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-name { color: #fff; font-stretch: 125%; font-weight: 800; font-size: 1.2rem; letter-spacing: 0.02em; }
.footer-grid p { margin-top: 10px; line-height: 1.75; }
.footer-title { font-family: var(--f-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-night-3); margin-bottom: 14px; }
.footer-grid ul { display: grid; gap: 9px; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { color: var(--sky); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--on-night-rule); font-family: var(--f-mono); font-size: 0.74rem; color: var(--on-night-3); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Podstrane: zaglavlje ---------- */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); background: linear-gradient(180deg, var(--surface), var(--paper)); }
.page-hero::before {
  content: ''; position: absolute; pointer-events: none; width: 1000px; height: 1000px; right: -420px; top: -480px;
  background: repeating-radial-gradient(circle, transparent 0 49px, rgba(31, 107, 223, 0.08) 49px 50px);
  -webkit-mask: radial-gradient(circle, #000 0 30%, transparent 68%); mask: radial-gradient(circle, #000 0 30%, transparent 68%);
}
.page-head { position: relative; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(48px, 6vw, 80px); }
.page-head .display { margin-top: 18px; max-width: 18ch; font-size: clamp(2.5rem, 5.6vw, 5rem); }
.page-head .lede { margin-top: 22px; }
.updated { font-family: var(--f-mono); font-size: 0.8rem; color: var(--ink-3); margin-top: 16px; }
.page-head .updated + .lede { margin-top: 22px; }

/* ---------- Usluge ---------- */
.offer { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); }
.offer-aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; display: grid; gap: 16px; }
.offer-items { display: grid; gap: 16px; }
.offer-item { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); transition: border-color .3s ease, box-shadow .4s ease; }
.offer-item:hover { border-color: var(--rule-strong); box-shadow: 0 24px 48px -24px rgba(10, 26, 51, 0.18); }
.offer-item > img, .offer-mark { width: 56px; height: 56px; border-radius: 14px; }
.offer-item > img { object-fit: contain; padding: 8px; background: var(--paper); border: 1px solid var(--rule); }
.offer-mark { display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--f-mono); font-size: 0.82rem; font-weight: 600; }
.offer-item .h3 { font-size: 1.5rem; }
.offer-item p { color: var(--ink-2); margin-top: 10px; max-width: 62ch; }
.offer-item .points { margin-top: 16px; display: grid; gap: 8px; }
.offer-item .points li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 0.98rem; }
.offer-item .points li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 10px; height: 2px; background: var(--blue); }
.offer-item .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--f-mono); font-size: 0.86rem; color: var(--ink); text-decoration: none; }
.offer-item .more svg { width: 13px; height: 13px; color: var(--blue); transition: transform .3s var(--ease); }
.offer-item .more:hover svg { transform: translate(2px, -2px); }
@media (max-width: 860px) {
  .offer { grid-template-columns: 1fr; gap: 24px; }
  .offer-aside { position: static; }
  .offer-item { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-info .facts { grid-template-columns: 1fr; }
.contact-info .facts dd { font-size: 1.15rem; }
.contact-brands { margin-top: 44px; }
.contact-brands ul { margin-top: 14px; border-top: 1px solid var(--rule); }
.contact-brands li { border-bottom: 1px solid var(--rule); }
.contact-brands a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; text-decoration: none; color: var(--ink); font-weight: 550; }
.contact-brands a span:last-child { color: var(--ink-3); font-size: 0.9rem; font-weight: 400; text-align: right; }
.contact-brands a:hover span:first-child { color: var(--blue); }
.form-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); box-shadow: 0 40px 80px -40px rgba(10, 26, 51, 0.22); }
.form-card .h3 { font-size: 1.6rem; margin-bottom: 28px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 14px 16px;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--surface); box-shadow: 0 0 0 4px rgba(31, 107, 223, 0.14); }
.form-feedback { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 0.95rem; border: 1px solid; }
.form-feedback.is-success { display: block; background: #EAF6EF; border-color: #A9D8BC; color: #14532D; }
.form-feedback.is-error { display: block; background: #FDF0EF; border-color: #EBB8B3; color: #7F1D1D; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Pravni tekstovi ---------- */
.legal { padding-top: clamp(48px, 6vw, 80px); padding-bottom: 112px; }
.legal > * { max-width: 760px; }
.legal > .table-scroll { max-width: 980px; }
.legal h2 { font-stretch: 108%; font-weight: 740; font-size: 1.4rem; line-height: 1.25; letter-spacing: -0.012em; margin: 52px 0 14px; }
.legal > h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 14px 0; display: grid; gap: 8px; }
.legal ul li { position: relative; padding-left: 22px; }
.legal ul li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--blue); }
.legal strong { color: var(--ink); font-weight: 650; }
.legal address { font-style: normal; color: var(--ink); margin-top: 12px; line-height: 1.75; }
.callout { margin-top: 28px; padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--rule); border-left: 3px solid var(--blue); background: var(--surface); color: var(--ink-2); }
.table-scroll { overflow-x: auto; margin: 20px 0; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface); }
.legal table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
.legal th { font-family: var(--f-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); background: var(--paper); }
.legal tr:last-child td { border-bottom: 0; }
.legal td { color: var(--ink-2); }
.legal td:first-child { color: var(--ink); font-weight: 600; }

/* ---------- 404 ---------- */
.notfound { min-height: 72vh; display: grid; place-items: center; text-align: center; padding-top: 64px; padding-bottom: 64px; }
.notfound .display { font-size: clamp(4rem, 14vw, 9rem); letter-spacing: -0.06em; }
.notfound p { color: var(--ink-2); margin-top: 8px; }
.notfound .btn { margin-top: 32px; }

/* ---------- Ulazak pri skrolanju (samo s JS-om) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Manje pokreta ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-logo, .signature { opacity: 1; animation: none; }
  .hero-logo img, .ring { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .card, .card::before, .person img, .btn, .btn svg { transition: none; }
}
