
/* Layout: temni b-s.si, fotografije čez celo širino, mega meni čez celo širino, plasti globine (steklo nad fotografijo). Max 1240px. */
:root {
  --ink-0: #1b1a1d;
  --ink-1: #242326;
  --ink-2: #2e2d31;
  --ink-3: #3b3a3f;
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);
  --fg: #f5f4f6;
  --fg-2: #bfbdc3;
  --fg-3: #8e8b93;
  --red: #ff0025;
  --red-ink: #ff3d55;
  --ok: #3ddc97;
  --warn: #ffb547;
  --font: "Titillium Web", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 4px;
  --spring: cubic-bezier(.22,1,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--ink-0); color: var(--fg); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 80; background: var(--ink-0); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); }
:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.6vw, 5.6rem); line-height: .98; letter-spacing: -.03em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.04; letter-spacing: -.022em; }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.005em; }
p { margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink); }
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--red); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--fg-2); font-weight: 300; max-width: 56ch; }
.muted { color: var(--fg-2); }
section { padding-block: clamp(80px, 10vw, 136px); }
.head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 760px; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 60px); }
.head-row .head { margin: 0; }

.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; font: 600 1rem/1 var(--font); border-radius: var(--r); border: 1px solid transparent; cursor: pointer; overflow: hidden; transition: transform .1s ease-out, background-color .2s, border-color .2s, color .2s; }
.btn:active { transform: scale(.97); }
.btn-red { background: var(--red); color: #fff; }
.btn-red::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease-out); }
.btn-red:hover::after { transform: translateX(120%); }
.btn-red:hover { background: #ec0022; }
.btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; background: rgba(20,20,22,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: #fff; }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .3s var(--spring); }
.btn:hover svg { transform: translateX(3px); }
.go { font-weight: 600; color: var(--red-ink); display: inline-flex; gap: 8px; align-items: center; }
.go svg { width: 14px; height: 14px; transition: transform .3s var(--spring); }
.go:hover svg { transform: translateX(4px); }
.todo { display: inline-flex; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); border: 1px dashed color-mix(in srgb, var(--warn) 60%, transparent); padding: 3px 8px; border-radius: 3px; width: fit-content; }

/* ============ NAVIGACIJA + VELIKI MEGA MENI ============ */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 70; background: color-mix(in srgb, var(--ink-0) 68%, transparent); backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%); border-bottom: 1px solid var(--line); transition: background-color .3s; }
.nav.solid, .nav.has-open { background: var(--ink-0); }
.nav-bar { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; height: 42px; flex: none; }
.logo svg { height: 42px; width: auto; }
.menu { display: flex; gap: 2px; margin: 0 0 0 auto; padding: 0; align-items: center; height: 100%; }
.menu > li { list-style: none; height: 100%; display: flex; align-items: center; }
.menu-btn { position: relative; font: 600 .95rem/1 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--fg); background: none; border: 0; padding: 10px 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; height: 100%; }
.menu-btn::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--spring); }
.menu-btn:hover::after, .menu-btn[aria-expanded="true"]::after { transform: scaleX(1); }
.menu-btn .chev { width: 10px; height: 10px; color: var(--red-ink); transition: transform .3s var(--spring); }
.menu-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-tools { display: flex; align-items: center; gap: 12px; }
.lang { font: 600 .9rem/1 var(--font); color: var(--fg-2); background: none; border: 1px solid var(--ink-3); border-radius: var(--r); padding: 10px 11px; }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.burger { display: none; background: none; border: 0; color: var(--fg); padding: 8px; cursor: pointer; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink-0); border-bottom: 1px solid var(--line); box-shadow: 0 40px 80px rgba(0,0,0,.55); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .45s var(--ease-out), visibility 0s .45s; }
.mega.open { clip-path: inset(0 0 -80px 0); visibility: visible; transition: clip-path .5s var(--ease-out), visibility 0s; }
.mega-in { padding-block: 36px 40px; }
.mega .st { opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .5s var(--ease-out); }
.mega.open .st { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 35ms + 80ms); }
.mega-close { position: absolute; right: max(32px, env(safe-area-inset-right, 0px)); top: 18px; background: none; border: 0; color: var(--red-ink); cursor: pointer; padding: 8px; }
.mega-close svg { width: 22px; height: 22px; transition: transform .3s var(--spring); }
.mega-close:hover svg { transform: rotate(90deg); }

/* Panoge v meniju: seznam + predogled */
.mp { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: stretch; }
.mp-list { display: grid; gap: 2px; align-content: start; }
.mp-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; margin-bottom: 10px; }
.mp-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 18px; border-radius: 6px; position: relative; transition: background-color .2s; }
.mp-item b { font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; transition: color .2s; }
.mp-item span { grid-column: 1; color: var(--fg-3); font-size: .95rem; }
.mp-item svg { grid-row: span 2; align-self: center; width: 18px; height: 18px; color: var(--red-ink); opacity: 0; transform: translateX(-8px); transition: opacity .2s, transform .35s var(--spring); }
.mp-item:hover, .mp-item.on { background: var(--ink-1); }
.mp-item.on svg, .mp-item:hover svg { opacity: 1; transform: none; }
.mp-item.on b { color: #fff; }
.mp-item.on::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; background: var(--red); border-radius: 2px; }
.mp-prev { position: relative; border-radius: 8px; overflow: hidden; min-height: 380px; background: var(--ink-1); }
.mp-prev img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .5s ease, transform 1.2s var(--ease-out); }
.mp-prev img.on { opacity: 1; transform: scale(1); }
.mp-prev::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(27,26,29,.95) 0%, rgba(27,26,29,.2) 60%); }
.mp-cap { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; display: grid; gap: 10px; }
.mp-cap p { color: #e4e2e7; max-width: 48ch; }
.mp-cap .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 3px; background: rgba(255,255,255,.1); color: #f0eff2; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.12); }

/* Rešitve v meniju */
.ms { display: grid; grid-template-columns: repeat(4, 1fr) 1.3fr; gap: 28px 32px; }
.ms h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.ms h4::before { content: ""; width: 8px; height: 8px; background: var(--red); border-radius: 1px; }
.ms ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.ms a { display: block; padding: 6px 0; color: var(--fg-2); font-size: .98rem; transition: color .15s, transform .3s var(--spring); }
.ms a:hover { color: #fff; transform: translateX(4px); }
.ms-col { display: grid; gap: 28px; align-content: start; }
.feat { grid-row: span 2; border-radius: 8px; overflow: hidden; position: relative; min-height: 300px; display: flex; align-items: end; }
.feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.feat:hover img { transform: scale(1.04); }
.feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(27,26,29,.96), rgba(27,26,29,.15) 70%); }
.feat div { position: relative; z-index: 1; padding: 24px; display: grid; gap: 8px; }
.feat small { color: var(--red-ink); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .74rem; }
.mega-foot { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--fg-2); }
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(10,10,12,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.scrim.on { opacity: 1; pointer-events: auto; }

/* ============ HERO ============ */
.hero { position: relative; margin-top: -77px; padding-block: calc(77px + clamp(64px, 9vw, 120px)) clamp(70px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -4% 0 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; animation: kb 18s ease-out both; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(27,26,29,.97) 0%, rgba(27,26,29,.88) 38%, rgba(27,26,29,.45) 70%, rgba(27,26,29,.35) 100%), linear-gradient(0deg, var(--ink-0) 0%, transparent 35%); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero-copy { display: grid; gap: 28px; }
.hero h1 em { font-style: normal; color: var(--red-ink); display: inline-block; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: inline-block; animation: rise .9s var(--ease-out) both; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .08s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero .lead { color: #d9d7dd; animation: fade .8s .25s ease both; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; animation: fade .8s .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.trust { display: flex; flex-wrap: wrap; gap: 8px; animation: fade .8s .45s ease both; }
.trust span { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: #e7e5ea; border: 1px solid rgba(255,255,255,.2); padding: 7px 11px; border-radius: 3px; background: rgba(0,0,0,.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.trust svg { width: 14px; height: 14px; color: var(--ok); }

/* UI kartice: ilustracija, kaj sistem dela */
.ui { position: relative; height: 470px; }
.ui-card { position: absolute; width: min(340px, 86%); padding: 18px 20px; border-radius: 10px; background: rgba(36,35,38,.72); border: 1px solid var(--line-2); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08); display: grid; gap: 10px; will-change: transform; animation: pop .9s var(--ease-out) both; }
.ui-card:nth-child(1) { top: 10px; right: 30px; animation-delay: .35s; }
.ui-card:nth-child(2) { top: 175px; left: 0; animation-delay: .5s; }
.ui-card:nth-child(3) { top: 330px; right: 0; animation-delay: .65s; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.ui-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; }
.ui-top i { font-style: normal; display: inline-flex; align-items: center; gap: 6px; color: var(--ok); letter-spacing: .04em; }
.ui-top i::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.5); } 80%, 100% { box-shadow: 0 0 0 8px rgba(61,220,151,0); } }
.ui-title { font-weight: 700; font-size: 1.08rem; }
.ui-row { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.ui-row b { color: var(--fg); font-weight: 600; }
.ui-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.ui-bar i { display: block; height: 100%; width: 83%; background: var(--red); border-radius: 3px; animation: fill 1.6s .8s var(--ease-out) both; transform-origin: left; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ui-scan { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.ui-scan span { height: 14px; border-radius: 2px; background: var(--ok); opacity: .85; animation: fade .3s both; }
.ui-ok { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 600; font-size: .9rem; }
.ui-ok svg { width: 16px; height: 16px; }
.ui-note { position: absolute; bottom: -26px; right: 0; font-size: .75rem; color: var(--fg-3); }
@media (max-width: 1039px) { .ui { height: auto; display: grid; gap: 12px; } .ui-card { position: static; width: 100%; } .ui-card:nth-child(3) { display: none; } .ui-note { position: static; } }

/* ============ ŠTEVILKE + STRANKE ============ */
.numbers { padding-block: 0 clamp(60px, 7vw, 90px); }
.num-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 900px) { .num-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.num { background: var(--ink-0); padding: 28px 22px 26px 0; display: grid; gap: 4px; align-content: end; }
.num + .num { padding-left: 22px; }
.num b { font-size: clamp(2.2rem, 3.8vw, 3.2rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.num b sup { color: var(--red-ink); font-size: .5em; vertical-align: .7em; margin-left: 2px; }
.num span { color: var(--fg-2); font-size: .95rem; }
.num.big b { font-size: clamp(3.4rem, 7vw, 6rem); }
.num.big span { font-size: 1.05rem; color: var(--fg); }
@media (max-width: 899px) { .num.big { grid-column: span 2; } .num:nth-child(2n) { padding-left: 0; } .num:nth-child(2n+1):not(.big) { padding-left: 22px; } }
.marquee { margin-top: 34px; display: flex; gap: 22px; align-items: center; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 52px; flex: none; animation: mq 42s linear infinite; padding-right: 52px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 1.35rem; font-weight: 700; color: var(--fg-3); white-space: nowrap; letter-spacing: -.01em; transition: color .2s; }
.marquee-track span:hover { color: var(--fg); }
@keyframes mq { to { transform: translateX(-100%); } }
.clients-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; margin-top: 34px; }

/* ============ RAZISKOVALEC PANOG ============ */
.ix { display: grid; gap: 28px; }
@media (min-width: 1000px) { .ix { grid-template-columns: 340px 1fr; gap: 40px; } }
.ix-tabs { display: grid; gap: 4px; align-content: start; }
.ix-tab { text-align: left; background: none; border: 0; color: var(--fg-2); padding: 18px 20px; border-radius: 6px; cursor: pointer; display: grid; grid-template-columns: 28px 1fr; gap: 2px 14px; align-items: center; position: relative; transition: background-color .2s, color .2s, transform .1s ease-out; }
.ix-tab:active { transform: scale(.985); }
.ix-tab svg { width: 26px; height: 26px; grid-row: span 2; color: var(--fg-3); transition: color .2s; }
.ix-tab b { font-size: 1.15rem; font-weight: 700; color: inherit; }
.ix-tab small { font-size: .88rem; color: var(--fg-3); }
.ix-tab:hover { background: var(--ink-1); color: var(--fg); }
.ix-tab[aria-selected="true"] { background: var(--ink-1); color: #fff; }
.ix-tab[aria-selected="true"] svg { color: var(--red-ink); }
.ix-tab .prog { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 2px; background: transparent; overflow: hidden; }
.ix-tab[aria-selected="true"] .prog { background: rgba(255,255,255,.08); }
.ix-tab[aria-selected="true"] .prog::after { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: top; animation: tick var(--dur, 8s) linear both; }
.ix.paused .ix-tab .prog::after { animation-play-state: paused; }
@keyframes tick { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 999px) { .ix-tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; } .ix-tabs::-webkit-scrollbar { display: none; } .ix-tab { grid-template-columns: 22px auto; padding: 12px 14px; } .ix-tab small { display: none; } .ix-tab svg { width: 20px; height: 20px; grid-row: auto; } .ix-tab .prog { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 3px; } .ix-tab[aria-selected="true"] .prog::after { transform-origin: left; animation-name: tickx; } }
@keyframes tickx { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ix-stage { display: grid; border-radius: 10px; overflow: hidden; background: var(--ink-1); border: 1px solid var(--line); }
@media (min-width: 760px) { .ix-stage { grid-template-columns: 1fr 1fr; } }
.ix-photo { position: relative; min-height: 300px; overflow: hidden; }
.ix-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s ease, transform 1.4s var(--ease-out); }
.ix-photo img.on { opacity: 1; transform: scale(1); }
.ix-photo .stat-badge { position: absolute; left: 20px; bottom: 20px; z-index: 1; padding: 14px 16px; border-radius: 8px; background: rgba(27,26,29,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); display: grid; max-width: calc(100% - 40px); }
.stat-badge b { font-size: 1.8rem; line-height: 1; }
.stat-badge span { font-size: .85rem; color: var(--fg-2); }
.ix-body { padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; align-content: start; }
.ix-body > * { animation: fade .5s var(--ease-out) both; }
.ix-body > *:nth-child(2) { animation-delay: .04s; } .ix-body > *:nth-child(3) { animation-delay: .08s; } .ix-body > *:nth-child(4) { animation-delay: .12s; } .ix-body > *:nth-child(5) { animation-delay: .16s; }
.ix-body h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: -.015em; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.feats li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--fg-2); }
.feats li:last-child { border-bottom: 1px solid var(--line); }
.feats svg { width: 18px; height: 18px; color: var(--red-ink); margin-top: 4px; }
.feats b { color: var(--fg); font-weight: 600; }
.ix-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; color: var(--fg-3); font-size: .92rem; }
.ix-foot b { color: var(--fg); font-weight: 600; }

/* ============ PLASTI SISTEMA (izometrično) ============ */
.layers { background: var(--ink-1); position: relative; overflow: hidden; }
.layers::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 30% 50%, #000 0%, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 0%, transparent 60%); opacity: .6; }
.ly { display: grid; gap: 56px; align-items: center; position: relative; }
@media (min-width: 1000px) { .ly { grid-template-columns: 1fr 1fr; } }
.iso-wrap { height: 470px; display: grid; place-items: center; }
.iso { position: relative; width: 250px; height: 250px; transform: rotateX(58deg) rotateZ(-42deg); transform-style: preserve-3d; margin-top: 150px; }
.slab { position: absolute; inset: 0; border-radius: 14px; transform: translateZ(calc(var(--z) * 58px)); transition: transform .55s var(--spring), background-color .3s, box-shadow .3s; background: rgba(60,59,64,.82); border: 1px solid rgba(255,255,255,.14); box-shadow: -16px 16px 30px rgba(0,0,0,.35); cursor: pointer; display: grid; place-items: center; }
.slab span { font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); transform: rotateZ(0deg); }
.slab.core { background: var(--red); border-color: rgba(255,255,255,.3); box-shadow: -16px 16px 40px rgba(255,0,37,.25); }
.slab.core span { color: #fff; }
.slab.on { transform: translateZ(calc(var(--z) * 58px + 26px)) translate(10px, -10px); background: rgba(90,88,96,.95); }
.slab.core.on { background: #ff1f3f; }
.iso.spread .slab { transform: translateZ(calc(var(--z) * 74px)); }
.iso.spread .slab.on { transform: translateZ(calc(var(--z) * 74px + 26px)) translate(10px, -10px); }
.ly-list { list-style: none; margin: 0; padding: 0; display: grid; }
.ly-list li { border-top: 1px solid var(--line); }
.ly-list li:last-child { border-bottom: 1px solid var(--line); }
.ly-list button { width: 100%; text-align: left; background: none; border: 0; color: var(--fg-2); padding: 16px 0; cursor: pointer; display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: baseline; transition: color .2s, padding-left .35s var(--spring); }
.ly-list button b { color: var(--fg); font-weight: 700; font-size: 1.05rem; }
.ly-list button:hover, .ly-list button.on { color: var(--fg); padding-left: 10px; }
.ly-list button.on b { color: var(--red-ink); }
@media (max-width: 999px) { .iso-wrap { height: 360px; } .iso { width: 200px; height: 200px; margin-top: 120px; } }
@media (max-width: 520px) { .ly-list button { grid-template-columns: 1fr; gap: 2px; } .iso-wrap { height: 300px; } .iso { width: 160px; height: 160px; margin-top: 100px; } .slab span { font-size: .8rem; } }
.quote { border-left: 2px solid var(--red); padding: 2px 0 2px 20px; display: grid; gap: 6px; margin-top: 8px; }
.quote p { font-size: 1.15rem; font-style: italic; font-weight: 300; }
.quote cite { font-style: normal; color: var(--fg-3); font-size: .9rem; }

/* ============ LOKALIZACIJA ============ */
.loc { position: relative; isolation: isolate; overflow: hidden; }
.loc-bg { position: absolute; inset: 0; z-index: -2; }
.loc-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); }
.loc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink-0) 0%, rgba(27,26,29,.9) 30%, rgba(27,26,29,.94) 100%); }
.cc { display: flex; gap: clamp(8px, 2vw, 24px); flex-wrap: wrap; margin-block: 8px 28px; }
.cc button { background: none; border: 0; cursor: pointer; padding: 0; display: grid; gap: 2px; text-align: left; color: var(--fg-3); transition: color .25s; }
.cc button b { font-size: clamp(3rem, 8vw, 6.4rem); line-height: .9; font-weight: 700; letter-spacing: -.04em; position: relative; }
.cc button b::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--spring); }
.cc button small { font-size: .85rem; font-weight: 600; letter-spacing: .04em; }
.cc button:hover { color: var(--fg-2); }
.cc button[aria-selected="true"] { color: #fff; }
.cc button[aria-selected="true"] b::after { transform: scaleX(1); }
.loc-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .loc-grid { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.loc-panel { display: grid; gap: 4px; }
.loc-panel > div { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line-2); animation: fade .45s var(--ease-out) both; }
.loc-panel > div:nth-child(2) { animation-delay: .05s; } .loc-panel > div:nth-child(3) { animation-delay: .1s; } .loc-panel > div:nth-child(4) { animation-delay: .15s; }
.loc-panel b { font-weight: 700; }
.loc-panel span { color: var(--fg-2); }
@media (max-width: 520px) { .loc-panel > div { grid-template-columns: 1fr; gap: 2px; } }
.loc-facts { display: grid; gap: 1px; background: var(--line-2); border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); }
.loc-facts div { background: rgba(36,35,38,.85); padding: 22px; display: grid; gap: 2px; }
.loc-facts b { font-size: 2.2rem; line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.loc-facts span { color: var(--fg-2); font-size: .95rem; }

/* ============ PIM ============ */
.pim-sec { background: var(--ink-0); }
.pim-photo { border-radius: 10px; overflow: hidden; position: relative; aspect-ratio: 21 / 8; margin-bottom: 48px; max-width: 100%; }
.pim-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.pim-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,26,29,.85), transparent 60%); }
.pim-photo div { position: absolute; left: clamp(20px, 4vw, 48px); top: 50%; transform: translateY(-50%); z-index: 1; display: grid; gap: 4px; }
.pim-photo b { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.03em; }
.pim-photo span { color: var(--fg-2); }
@media (max-width: 600px) { .pim-photo { aspect-ratio: 4 / 3; } }
.tl { position: relative; --p: 0; }
.tl-line { position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--ink-3); }
.tl-line i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--p)); }
.tl ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; position: relative; }
.tl li { display: grid; gap: 8px; align-content: start; padding-top: 0; }
.tl .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--ink-0); border: 2px solid var(--ink-3); display: grid; place-items: center; transition: border-color .3s, background-color .3s, transform .4s var(--spring); }
.tl .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); transition: background-color .3s; }
.tl li.on .dot { border-color: var(--red); transform: scale(1.1); }
.tl li.on .dot::after { background: var(--red); }
.tl li.d .dot { width: 24px; height: 24px; }
.tl .when { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-top: 10px; transition: color .3s; }
.tl li.on .when { color: var(--red-ink); }
.tl h3 { font-size: 1.02rem; line-height: 1.25; }
.tl p { font-size: .9rem; color: var(--fg-3); line-height: 1.45; }
@media (max-width: 999px) {
  .tl-line { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl-line i { transform-origin: top; transform: scaleY(var(--p)); }
  .tl ol { grid-template-columns: 1fr; gap: 22px; }
  .tl li { grid-template-columns: 24px 1fr; column-gap: 18px; row-gap: 2px; }
  .tl li > :not(.dot) { grid-column: 2; }
  .tl .dot { grid-row: span 3; }
  .tl .when { margin-top: 2px; }
}

/* ============ REFERENCE: vlečni vrtiljak ============ */
.refs { background: var(--ink-1); overflow: hidden; }
.car-ctrl { display: flex; gap: 8px; }
.car-ctrl button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink-3); background: none; color: var(--fg); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, transform .1s ease-out, opacity .2s; }
.car-ctrl button:hover { border-color: var(--fg-2); }
.car-ctrl button:active { transform: scale(.94); }
.car-ctrl button:disabled { opacity: .35; cursor: default; }
.car-ctrl svg { width: 16px; height: 16px; }
.car-ctrl .prev svg { transform: scaleX(-1); }
.car { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.car.drag { cursor: grabbing; }
.car-track { display: flex; gap: 20px; will-change: transform; }
.rc { flex: 0 0 min(460px, 84vw); background: var(--ink-0); border: 1px solid var(--line); border-radius: 10px; padding: 30px; display: grid; gap: 16px; align-content: start; min-height: 400px; position: relative; overflow: hidden; transition: border-color .2s; }
.rc:hover { border-color: var(--ink-3); }
.rc::before { content: attr(data-mono); position: absolute; right: -10px; bottom: -40px; font-size: 11rem; font-weight: 700; line-height: 1; color: rgba(255,255,255,.035); letter-spacing: -.05em; pointer-events: none; }
.rc .tag { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; }
.rc h3 { font-size: 1.7rem; letter-spacing: -.015em; }
.rc .fact { display: flex; gap: 30px; flex-wrap: wrap; padding: 6px 0; }
.rc .fact div { display: grid; }
.rc .fact b { font-size: 2rem; line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rc .fact span { font-size: .85rem; color: var(--fg-3); }
.rc .go { margin-top: auto; }
.rc img, .rc a { -webkit-user-drag: none; }
.car-dots { display: flex; gap: 6px; margin-top: 28px; }
.car-dots span { height: 3px; width: 28px; border-radius: 2px; background: var(--ink-3); transition: background-color .3s, width .4s var(--spring); }
.car-dots span.on { background: var(--red); width: 48px; }

/* ============ VLOGE ============ */
.roles { display: grid; gap: 16px; }
@media (min-width: 900px) { .roles { grid-template-columns: repeat(3, 1fr); } }
.role { background: var(--ink-1); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .45s var(--spring), border-color .2s; }
.role:hover { transform: translateY(-4px); border-color: var(--ink-3); }
.role figure { margin: 0; aspect-ratio: 16 / 8; overflow: hidden; position: relative; max-width: 100%; }
.role figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.role:hover figure img { transform: scale(1.05); }
.role figure figcaption { position: absolute; left: 20px; bottom: 16px; font-size: 1.5rem; font-weight: 700; z-index: 1; }
.role figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(36,35,38,.95), transparent 70%); }
.role-body { padding: 8px 22px 16px; }
.role ul { list-style: none; margin: 0; padding: 0; }
.role a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--fg-2); transition: color .15s, padding-left .35s var(--spring); }
.role li:first-child a { border-top: 0; }
.role a:hover { color: var(--fg); padding-left: 6px; }
.role a svg { width: 14px; height: 14px; flex: none; margin-top: 6px; color: var(--red-ink); }

/* ============ FAQ ============ */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 600; font-size: 1.12rem; position: relative; transition: color .2s; }
.faq summary:hover { color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; background: var(--red-ink); transition: transform .4s var(--spring); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq .a { padding: 0 0 24px; color: var(--fg-2); max-width: 64ch; animation: fade .4s var(--ease-out) both; }
.faq .a a { color: var(--red-ink); }

/* ============ REZERVACIJA ============ */
.book { position: relative; isolation: isolate; overflow: hidden; }
.book > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 30%; z-index: -2; }
.book::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(27,26,29,.97) 0%, rgba(27,26,29,.9) 50%, rgba(27,26,29,.55) 100%); }
.book-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .book-grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.book-copy { display: grid; gap: 22px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: k; }
.steps li { counter-increment: k; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: baseline; color: var(--fg-2); }
.steps li::before { content: counter(k); width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-weight: 700; color: var(--fg); font-size: .9rem; }
.card { background: rgba(36,35,38,.82); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); border: 1px solid var(--line-2); border-radius: 12px; padding: 28px; display: grid; gap: 16px; box-shadow: 0 40px 80px rgba(0,0,0,.4); }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--fg-2); }
.field input, .field select { font: 400 1rem/1.3 var(--font); color: var(--fg); background: var(--ink-0); border: 1px solid var(--ink-3); border-radius: var(--r); padding: 12px 14px; min-height: 48px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--red-ink); box-shadow: 0 0 0 4px rgba(255,0,37,.15); }
.row2 { display: grid; gap: 14px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.slot { font: 600 .9rem/1.2 var(--font); padding: 10px 6px; border-radius: var(--r); border: 1px solid var(--ink-3); background: var(--ink-0); color: var(--fg-2); cursor: pointer; text-align: center; transition: transform .1s ease-out, background-color .15s, border-color .15s; }
.slot small { display: block; font-weight: 400; color: var(--fg-3); font-size: .78rem; }
.slot:hover { border-color: var(--fg-3); }
.slot:active { transform: scale(.95); }
.slot[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.slot[aria-pressed="true"] small { color: rgba(255,255,255,.85); }
.ok { padding: 12px 14px; border-radius: 6px; background: rgba(61,220,151,.1); border: 1px solid rgba(61,220,151,.35); font-size: .95rem; animation: fade .35s var(--ease-out) both; }

/* ============ NOGA ============ */
footer { padding-block: 64px 40px; border-top: 1px solid var(--line); }
.foot { display: grid; gap: 32px; }
@media (min-width: 860px) { .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot h4 { margin-bottom: 14px; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; color: var(--fg-2); font-size: .95rem; }
.foot li { transition: color .15s; cursor: default; }
.foot li:hover { color: #fff; }
.certs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.cert { font-size: .8rem; font-weight: 600; padding: 7px 10px; border: 1px solid var(--ink-3); border-radius: 3px; color: var(--fg-2); }
.legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--fg-3); font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Pojav ob drsenju: element je viden tudi brez JS, animacija je samo dodatek */
.rv { transition: opacity .8s ease, transform .9s var(--ease-out); }
.js .rv.wait { opacity: 0; transform: translateY(26px); }

/* ============ MOBILNI MENI ============ */
@media (max-width: 1100px) {
  .menu { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
  .nav-tools .lang { display: none; }
  .nav.open .menu { display: grid; position: absolute; top: 76px; left: 0; right: 0; margin: 0; gap: 0; height: auto; background: var(--ink-0); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px)); max-height: calc(100vh - 76px); overflow: auto; }
  .menu > li { height: auto; display: block; }
  .menu-btn { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .menu-btn::after { display: none; }
  .mega { position: static; box-shadow: none; border: 0; clip-path: none; visibility: visible; display: none; }
  .mega.open { display: block; clip-path: none; }
  .mega-in { padding: 8px 0 16px; }
  .mega .wrap { padding: 0; }
  .mega-close, .mp-prev, .feat, .mega-foot { display: none; }
  .mp, .ms { grid-template-columns: 1fr; gap: 12px; }
  .mp-item { padding: 12px 10px; }
  .mp-item b { font-size: 1.1rem; }
  .ms-col { gap: 16px; }
  .scrim { display: none; }
}
@media (max-width: 560px) { .nav .btn { display: none; } .logo svg { height: 36px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none !important; flex-wrap: wrap; }
  .js .rv.wait { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) { .nav, .card, .ui-card, .trust span, .chip { background: var(--ink-1); backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* ================================================================
   v4: skupni sistem za vse strani
   ================================================================ */

/* Prehodi med stranmi (Chrome, Edge, Safari 18+); drugje se strani naložijo normalno */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s cubic-bezier(.4,0,1,1) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
.nav { view-transition-name: nav; }

/* Napredek branja v navigaciji */
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--sp, 0)); pointer-events: none; }

/* Zavihki: vsa vsebina je v HTML (berljiva za iskalnike), JS samo preklaplja */
.ix-panel { display: none; }
.ix-panel.on { display: grid; }
.ix-panel.on > * { animation: fade .5s var(--ease-out) both; }
.ix-panel.on > *:nth-child(2) { animation-delay: .05s; } .ix-panel.on > *:nth-child(3) { animation-delay: .1s; } .ix-panel.on > *:nth-child(4) { animation-delay: .15s; }
.ix-panel { padding: clamp(24px, 3vw, 40px); gap: 20px; align-content: start; }
.ix-panel h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: -.015em; }
.ix-badges { position: absolute; left: 20px; bottom: 20px; right: 20px; z-index: 1; }
.ix-badges .stat-badge { position: static; display: none; }
.ix-badges .stat-badge.on { display: grid; animation: fade .5s var(--ease-out) both; width: fit-content; }
.mp-cap .cap { display: none; gap: 10px; }
.mp-cap .cap.on { display: grid; animation: fade .4s var(--ease-out) both; }
.loc-pane { display: none; }
.loc-pane.on { display: grid; gap: 4px; }

/* Svetloba, ki sledi miški na karticah */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.07), transparent 45%); }
.spot:hover::after { opacity: 1; }

/* Razkritje fotografije z masko */
.clip { clip-path: inset(0 0 0 0 round 10px); transition: clip-path 1.1s var(--ease-out); }
.js .clip.wait { clip-path: inset(12% 8% 12% 8% round 10px); }
.clip img { transition: transform 1.4s var(--ease-out); }
.js .clip.wait img { transform: scale(1.15); }

/* Stopničasto pojavljanje seznamov */
.js .stagger.wait > * { opacity: 0; transform: translateY(16px); }
.stagger > * { transition: opacity .6s ease, transform .7s var(--ease-out); }
.stagger > *:nth-child(2) { transition-delay: .07s; } .stagger > *:nth-child(3) { transition-delay: .14s; } .stagger > *:nth-child(4) { transition-delay: .21s; } .stagger > *:nth-child(5) { transition-delay: .28s; } .stagger > *:nth-child(6) { transition-delay: .35s; }

/* Drobtine */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin: 0; padding: 0; font-size: .86rem; color: var(--fg-3); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--ink-3); }
.crumbs a:hover { color: var(--fg); }
.crumbs [aria-current] { color: var(--fg-2); }

/* Glava podstrani */
.phero { position: relative; margin-top: -77px; padding-block: calc(77px + clamp(48px, 7vw, 96px)) clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.phero .hero-bg img { object-position: 50% 45%; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(27,26,29,.97) 0%, rgba(27,26,29,.86) 45%, rgba(27,26,29,.4) 100%), linear-gradient(0deg, var(--ink-0) 0%, transparent 40%); }
.phero .wrap { display: grid; gap: 24px; }
.phero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 18ch; }
.phero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.phero h1 .ln > span { display: inline-block; animation: rise .9s var(--ease-out) both; }
.phero h1 em { font-style: normal; color: var(--red-ink); }
.phero .lead { color: #d9d7dd; animation: fade .8s .2s ease both; }
.phero .hero-ctas { animation: fade .8s .3s ease both; }
.phero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 6px; animation: fade .8s .4s ease both; }
.phero-facts div { display: grid; }
.phero-facts b { font-size: 1.7rem; line-height: 1.1; letter-spacing: -.02em; }
.phero-facts span { font-size: .85rem; color: var(--fg-2); }
.phero.compact { padding-bottom: clamp(40px, 5vw, 64px); }

/* Lepljiva podnavigacija */
.subnav { position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); z-index: 40; background: color-mix(in srgb, var(--ink-0) 82%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav ul a { display: block; white-space: nowrap; padding: 16px 14px; font-weight: 600; font-size: .95rem; color: var(--fg-3); position: relative; transition: color .2s; }
.subnav ul a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--spring); }
.subnav ul a:hover { color: var(--fg); }
.subnav ul a.on { color: #fff; }
.subnav ul a.on::after { transform: scaleX(1); }
.subnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.subnav .btn { min-height: 38px; padding: 0 14px; font-size: .88rem; flex: none; }
@media (max-width: 700px) { .subnav .btn { display: none; } }

/* Izzivi */
.pains3 { display: grid; gap: 16px; }
@media (min-width: 860px) { .pains3 { grid-template-columns: repeat(3, 1fr); } }
.pain { background: var(--ink-1); border: 1px solid var(--line); border-radius: 10px; padding: 28px; display: grid; gap: 12px; align-content: start; }
.pain .q { font-size: 1.25rem; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
.pain .q::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--red-ink); margin-bottom: 8px; font-weight: 700; }
.pain p { color: var(--fg-2); }
.pain .fix { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--fg-3); }
.pain .fix b { color: var(--fg); }

/* Posnetek zaslona produkta */
.shot { position: relative; }
.shot::before { content: ""; position: absolute; inset: 10% 8%; background: radial-gradient(closest-side, rgba(255,0,37,.22), transparent); filter: blur(30px); z-index: -1; }
.shot img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); }
.shot.float img { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.split2 { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .split2 { grid-template-columns: 1fr 1.1fr; gap: 72px; } .split2.rev > :first-child { order: 2; } }
.stack-text { display: grid; gap: 22px; }

/* Kartice produktov */
.pcards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .pcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .pcards.c4 { grid-template-columns: repeat(4, 1fr); } .pcards.c3 { grid-template-columns: repeat(3, 1fr); } }
.pcard { background: var(--ink-1); border: 1px solid var(--line); border-radius: 10px; padding: 26px; display: grid; gap: 12px; align-content: start; transition: border-color .2s, transform .45s var(--spring); }
.pcard:hover { border-color: var(--ink-3); transform: translateY(-4px); }
.pcard .own { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red-ink); }
.pcard .ms { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.pcard h3 { font-size: 1.25rem; }
.pcard p { color: var(--fg-2); font-size: .98rem; }
.pcard .go { margin-top: 6px; }

/* Pas s pozivom */
.cta-band { position: relative; overflow: hidden; border-radius: 14px; padding: clamp(32px, 5vw, 64px); background: var(--red); color: #fff; display: grid; gap: 24px; isolation: isolate; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.3fr auto; align-items: center; } }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -200px; border-radius: 50%; border: 80px solid rgba(255,255,255,.08); z-index: -1; animation: spin 40s linear infinite; }
.cta-band::after { content: ""; position: absolute; width: 260px; height: 260px; right: 160px; bottom: -150px; border-radius: 50%; border: 40px solid rgba(0,0,0,.08); z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.cta-band p { color: rgba(255,255,255,.88); max-width: 52ch; font-size: 1.1rem; }
.cta-band .btn-white { background: #fff; color: var(--ink-0); }
.cta-band .btn-white:hover { background: #f1f0f2; }
.cta-band .btn-line { border-color: rgba(255,255,255,.55); color: #fff; }
.cta-band .btn-line:hover { border-color: #fff; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* Povezane strani */
.rel { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
@media (min-width: 760px) { .rel { grid-template-columns: repeat(4, 1fr); } }
.rel a { background: var(--ink-0); padding: 22px; display: grid; gap: 6px; transition: background-color .2s; }
.rel a:hover { background: var(--ink-1); }
.rel b { font-size: 1.08rem; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.rel b svg { width: 14px; height: 14px; color: var(--red-ink); transition: transform .3s var(--spring); }
.rel a:hover b svg { transform: translateX(4px); }
.rel span { font-size: .9rem; color: var(--fg-3); }

/* Novice */
.news { display: grid; gap: 16px; }
@media (min-width: 860px) { .news { grid-template-columns: repeat(3, 1fr); } }
.news a { display: grid; gap: 12px; padding: 26px; border-radius: 10px; background: var(--ink-1); border: 1px solid var(--line); align-content: start; transition: border-color .2s, transform .45s var(--spring); }
.news a:hover { border-color: var(--ink-3); transform: translateY(-4px); }
.news time { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); }
.news h3 { font-size: 1.2rem; line-height: 1.3; }
.news p { color: var(--fg-2); font-size: .95rem; }
.news .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.news .tags span { font-size: .76rem; color: var(--fg-3); border: 1px solid var(--line); padding: 3px 8px; border-radius: 3px; }

/* Pisarne */
.cfilter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.cfilter button { font: 600 .92rem/1 var(--font); padding: 11px 15px; border-radius: 999px; border: 1px solid var(--ink-3); background: none; color: var(--fg-2); cursor: pointer; transition: background-color .2s, color .2s, transform .1s ease-out; }
.cfilter button:active { transform: scale(.96); }
.cfilter button[aria-pressed="true"] { background: var(--fg); color: var(--ink-0); border-color: var(--fg); }
.offices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.office { background: var(--ink-1); border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: grid; gap: 10px; align-content: start; transition: opacity .35s, transform .45s var(--spring); }
.office.hide { display: none; }
.office .co { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.office h3 { font-size: 1.3rem; }
.office address { font-style: normal; color: var(--fg-2); line-height: 1.5; }
.office .lines { display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.cp { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.cp span { user-select: all; -webkit-user-select: all; }
.cp button { background: none; border: 1px solid var(--ink-3); color: var(--fg-3); border-radius: 4px; font: 600 .74rem/1 var(--font); padding: 6px 8px; cursor: pointer; transition: color .2s, border-color .2s, transform .1s; flex: none; }
.cp button:hover { color: var(--fg); border-color: var(--fg-3); }
.cp button:active { transform: scale(.94); }
.cp button.done { color: var(--ok); border-color: var(--ok); }
.office.hq { border-color: rgba(255,0,37,.4); }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.dl dt { color: var(--fg-3); font-size: .9rem; }
.dl dd { margin: 0; font-variant-numeric: tabular-nums; }

/* O nas */
.values { display: grid; gap: 16px; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value { padding: 28px; border-radius: 10px; background: var(--ink-1); border: 1px solid var(--line); display: grid; gap: 10px; }
.value .n { font-size: .8rem; font-weight: 700; color: var(--red-ink); letter-spacing: .1em; }
.partners { display: flex; flex-wrap: wrap; gap: 10px; }
.partners span { padding: 12px 16px; border-radius: 6px; border: 1px solid var(--line-2); font-weight: 600; }
.jobs { display: grid; gap: 0; }
.job { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 20px 0; border-top: 1px solid var(--line); align-items: center; transition: padding-left .35s var(--spring); }
.job:last-child { border-bottom: 1px solid var(--line); }
.job:hover { padding-left: 8px; }
.job b { font-size: 1.15rem; }
.job span { color: var(--fg-3); font-size: .92rem; grid-column: 1; }
.job svg { grid-row: span 2; width: 18px; height: 18px; color: var(--red-ink); }

/* Reference: filter */
.rgrid { display: grid; gap: 16px; }
@media (min-width: 760px) { .rgrid { grid-template-columns: repeat(2, 1fr); } }
.rgrid .rc { flex: none; min-height: 0; }
.rgrid .rc.hide { display: none; }
.rgrid .rc.wide { grid-column: 1 / -1; }

/* Hero: pravi posnetki zaslona namesto izmišljenih kartic */
.hero-shot { position: relative; }
.hero-shot .shot { animation: pop 1.1s .3s var(--ease-out) both; }
.hero-shot .ui-card { position: absolute; width: 270px; }
.hero-shot .ui-card.a { left: -30px; bottom: 6%; animation-delay: .7s; }
.hero-shot .ui-card.b { right: -10px; top: -4%; animation-delay: .85s; }
@media (max-width: 1039px) { .hero-shot .ui-card { display: none; } }

/* Številke se preštejejo, končna vrednost je že v HTML */
.count { font-variant-numeric: tabular-nums; }

/* Tipografija dolgih besedil (SEO besedila na podstraneh) */
.prose { max-width: 68ch; display: grid; gap: 16px; color: var(--fg-2); font-size: 1.08rem; }
.prose strong { color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  .js .clip.wait, .js .clip.wait img { clip-path: none; transform: none; }
  .js .stagger.wait > * { opacity: 1; transform: none; }
  .shot.float img { animation: none; }
}
.hero-shot .ui-card { top: auto; right: auto; bottom: auto; left: auto; }
.hero-shot .ui-card.a { left: -30px; bottom: 4%; }
.hero-shot .ui-card.b { right: -10px; top: -6%; }
.num b .count { font-size: inherit; color: inherit; }
@media (min-width: 700px) { .feats2 { grid-template-columns: 1fr 1fr; column-gap: 28px; } .feats2 li:nth-last-child(2) { border-bottom: 1px solid var(--line); } }

/* Študija primera */
.cfacts { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .cfacts { grid-template-columns: repeat(4, 1fr); } }
.cfacts .num:first-child { padding-left: 0; }
.case-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .case-layout { grid-template-columns: 300px 1fr; gap: 64px; align-items: start; } .case-aside { position: sticky; top: 110px; } }
.case-aside { background: var(--ink-1); border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: grid; gap: 20px; }
.case-aside .dl { grid-template-columns: 1fr; gap: 2px; }
.case-aside .dl dd { margin-bottom: 12px; }
.case-aside .btn { justify-content: center; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.plain a { color: var(--red-ink); font-weight: 600; }
.case-main { display: grid; gap: clamp(40px, 5vw, 64px); min-width: 0; }
.bq { margin: 0; padding: clamp(24px, 3vw, 40px); border-radius: 12px; background: var(--ink-1); border: 1px solid var(--line); position: relative; display: grid; gap: 14px; overflow: hidden; }
.bq::before { content: "“"; position: absolute; right: 18px; top: -30px; font-size: 12rem; line-height: 1; font-weight: 700; color: rgba(255,0,37,.14); }
.bq p { font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; position: relative; max-width: 30ch; }
.bq cite { font-style: normal; color: var(--fg-3); font-size: .95rem; position: relative; }
.bq.small p { font-size: 1.25rem; font-weight: 400; font-style: italic; max-width: 48ch; }
.ctl { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.ctl::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--ink-3), var(--red)); }
.ctl li { display: grid; gap: 4px; padding-top: 26px; position: relative; padding-right: 12px; }
.ctl li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-0); border: 2px solid var(--red); }
.ctl li:last-child::before { background: var(--red); }
.ctl span { color: var(--fg-2); font-size: .95rem; }
.flow { list-style: none; margin: 0; padding: 0; counter-reset: f; display: grid; gap: 0; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--fg-2); align-items: center; }
.flow li:last-child { border-bottom: 1px solid var(--line); }
.flow li::before { content: counter(f); width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; }
@media (min-width: 1080px) { .rgrid.three { grid-template-columns: repeat(3, 1fr); } }

/* Vsebine */
.agrid { display: grid; gap: 16px; }
@media (min-width: 720px) { .agrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .agrid { grid-template-columns: repeat(3, 1fr); } }
.agrid .hide { display: none; }
.acard { display: grid; gap: 12px; align-content: start; grid-template-rows: auto auto 1fr auto; padding: 26px; border-radius: 10px; background: var(--ink-1); border: 1px solid var(--line); transition: border-color .2s, transform .45s var(--spring); }
.acard:hover { border-color: var(--ink-3); transform: translateY(-4px); }
.acard .atype { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red-ink); }
.acard h3 { font-size: 1.2rem; line-height: 1.3; transition: color .2s; }
.acard:hover h3 { color: #fff; }
.acard p { color: var(--fg-2); font-size: .95rem; }
.ameta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; font-size: .85rem; color: var(--fg-3); padding-top: 12px; border-top: 1px solid var(--line); }
.ameta .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ameta .tags span { border: 1px solid var(--line); padding: 2px 8px; border-radius: 3px; font-size: .76rem; }
.afeat { display: grid; gap: 16px; }
@media (min-width: 980px) { .afeat { grid-template-columns: 1.8fr 1fr; } }
.acard.big { padding: clamp(28px, 4vw, 48px); background: linear-gradient(135deg, rgba(255,0,37,.16), transparent 55%), var(--ink-1); }
.acard.big h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.015em; line-height: 1.15; }
.acard.big p { font-size: 1.08rem; max-width: 60ch; }
.nl { align-content: start; box-shadow: none; }
/* Članek */
.ahead { margin-top: -77px; padding-block: calc(77px + clamp(40px, 6vw, 80px)) clamp(32px, 4vw, 48px); background: radial-gradient(ellipse at 80% 0%, rgba(255,0,37,.14), transparent 55%), var(--ink-0); border-bottom: 1px solid var(--line); }
.ahead .wrap { display: grid; gap: 20px; max-width: 980px; }
.ahead h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.025em; animation: fade .7s var(--ease-out) both; }
.ahead .lead { animation: fade .7s .1s var(--ease-out) both; }
.ameta.big { border: 0; padding: 0; justify-content: flex-start; gap: 18px; font-size: .92rem; }
.ameta.big > * + *::before { content: "·"; margin-right: 18px; color: var(--ink-3); }
.author { display: flex; gap: 14px; align-items: center; }
.author .av { width: 46px; height: 46px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-weight: 700; color: #fff; flex: none; }
.author b { display: block; }
.author span { color: var(--fg-3); font-size: .9rem; }
.alayout { display: grid; gap: 40px; padding-block: clamp(40px, 6vw, 80px); }
@media (min-width: 1080px) { .alayout { grid-template-columns: 260px minmax(0, 720px); gap: 72px; justify-content: center; } .toc { position: sticky; top: 110px; align-self: start; } }
.toc p { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--fg-3); font-size: .92rem; line-height: 1.35; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--fg); }
.toc a.on { color: #fff; border-left-color: var(--red); }
@media (max-width: 1079px) { .toc { border: 1px solid var(--line); border-radius: 10px; padding: 18px; } }
.prose-l { font-size: 1.1rem; line-height: 1.75; color: #d7d5db; display: grid; gap: 18px; min-width: 0; overflow-wrap: anywhere; }
.prose-l h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 28px; line-height: 1.2; scroll-margin-top: 110px; color: #fff; }
.prose-l h3 { font-size: 1.25rem; margin-top: 12px; color: #fff; }
.prose-l h4 { font-size: 1.05rem; color: #fff; }
.prose-l ul, .prose-l ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose-l li::marker { color: var(--red-ink); }
.atags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.atags span { border: 1px solid var(--line-2); padding: 5px 10px; border-radius: 3px; font-size: .85rem; color: var(--fg-2); }
.src { font-size: .88rem; color: var(--fg-3); }
.src a { color: var(--red-ink); }

/* SEO in dostopnost (v8) */
.fh { margin: 0 0 14px; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.prod-bg { background: radial-gradient(ellipse at 75% 40%, rgba(255,0,37,.22), transparent 55%), radial-gradient(ellipse at 10% 100%, rgba(255,255,255,.05), transparent 50%), var(--ink-0); }
/* Bel tekst na rdečem: temnejši odtenek blagovne rdeče za kontrast AA (5:1); čista #FF0025 ostane za logotip in poudarke */
:root { --red-btn: #e0001f; }
.btn-red { background: var(--red-btn); }
.btn-red:hover { background: #c8001c; }
.cta-band { background: var(--red-btn); }
.slot[aria-pressed="true"] { background: var(--red-btn); border-color: var(--red-btn); }
.flow li::before, .author .av { background: var(--red-btn); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink-0); padding: 10px 14px; border-radius: 4px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }

/* Kariera */
.jlist { display: grid; gap: 10px; }
.jrow { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; border-radius: 10px; background: var(--ink-1); border: 1px solid var(--line); transition: border-color .2s, transform .45s var(--spring); }
.jrow:hover { border-color: var(--ink-3); transform: translateX(4px); }
.jrow b { font-size: 1.25rem; display: block; margin-bottom: 8px; }
.jtags { display: flex; gap: 6px; flex-wrap: wrap; }
.jtags span { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--fg-2); }
.jtags.big span { font-size: .9rem; padding: 6px 12px; }
.jtags span:first-child { border-color: rgba(255,61,85,.5); color: var(--red-ink); }
@media (max-width: 600px) { .jrow { flex-direction: column; align-items: flex-start; } }
.open-app { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; box-shadow: none; }
.jlayout { display: grid; gap: 40px; padding-block: clamp(40px, 6vw, 80px); }
@media (min-width: 1000px) { .jlayout { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; } .japply { position: sticky; top: 100px; align-self: start; } }
.japply .card { box-shadow: none; }
.field textarea { font: 400 1rem/1.4 var(--font); color: var(--fg); background: var(--ink-0); border: 1px solid var(--ink-3); border-radius: var(--r); padding: 12px 14px; width: 100%; resize: vertical; }
.field input[type=file] { padding: 10px; font-size: .9rem; }
.field input[type=file]::file-selector-button { font: 600 .85rem var(--font); background: var(--ink-2); color: var(--fg); border: 1px solid var(--ink-3); border-radius: 4px; padding: 8px 12px; margin-right: 10px; cursor: pointer; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .9rem; color: var(--fg-2); align-items: start; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); }
[aria-invalid] { border-color: var(--warn) !important; }

/* ================================================================
   v9: svetli in temni način, 3D plasti
   ================================================================ */

/* Žetoni, ki jih prej ni bilo (temni način je privzet) */
:root {
  --hi: #ffffff;
  --body: #d7d5db;
  --surf-glass: rgba(36,35,38,.82);
  --tint: rgba(255,255,255,.08);
  --mono: rgba(255,255,255,.035);
  --glow: rgba(255,255,255,.07);
  --ghost-b: rgba(255,255,255,.3);
  --ghost-bg: rgba(20,20,22,.25);
  --slab: rgba(60,59,64,.86);
  --slab-on: rgba(92,90,98,.96);
  --slab-text: rgba(255,255,255,.8);
  --slab-shadow: rgba(0,0,0,.4);
  --s3gap: 68px;
}
/* Svetli način: po sistemu, če obiskovalec ni izbral sam, in ob izrecni izbiri */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --ink-0: #f5f4f6; --ink-1: #ffffff; --ink-2: #ecebef; --ink-3: #d6d4da;
    --line: rgba(25,22,30,.10); --line-2: rgba(25,22,30,.18);
    --fg: #17161a; --fg-2: #46444b; --fg-3: #6b6870; --red-ink: #d1001d; --ok: #0b8f5a;
    --hi: #0d0c0f; --body: #2b2930; --surf-glass: rgba(255,255,255,.9); --tint: rgba(20,18,24,.06); --mono: rgba(20,18,24,.05);
    --glow: rgba(255,0,37,.06); --ghost-b: rgba(20,18,24,.25); --ghost-bg: rgba(255,255,255,.5);
    --slab: rgba(255,255,255,.94); --slab-on: #ffffff; --slab-text: #3a3840; --slab-shadow: rgba(40,20,50,.16);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --ink-0: #f5f4f6; --ink-1: #ffffff; --ink-2: #ecebef; --ink-3: #d6d4da;
  --line: rgba(25,22,30,.10); --line-2: rgba(25,22,30,.18);
  --fg: #17161a; --fg-2: #46444b; --fg-3: #6b6870; --red-ink: #d1001d; --ok: #0b8f5a;
  --hi: #0d0c0f; --body: #2b2930; --surf-glass: rgba(255,255,255,.9); --tint: rgba(20,18,24,.06); --mono: rgba(20,18,24,.05);
  --glow: rgba(255,0,37,.06); --ghost-b: rgba(20,18,24,.25); --ghost-bg: rgba(255,255,255,.5);
  --slab: rgba(255,255,255,.94); --slab-on: #ffffff; --slab-text: #3a3840; --slab-shadow: rgba(40,20,50,.16);
  color-scheme: light;
}
:root[data-theme="dark"] { color-scheme: dark; }

/* Fotografske in rdeče cone ostanejo temne v obeh načinih (besedilo je na fotografiji) */
.hero, .phero, .loc, .book, .pim-photo, .feat, .mp-prev, .ix-photo, .role figure, .cta-band {
  --ink-0: #1b1a1d; --ink-1: #242326; --ink-2: #2e2d31; --ink-3: #3b3a3f;
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16);
  --fg: #f5f4f6; --fg-2: #bfbdc3; --fg-3: #a29fa7; --red-ink: #ff3d55; --ok: #3ddc97;
  --hi: #ffffff; --body: #d7d5db; --surf-glass: rgba(36,35,38,.82); --tint: rgba(255,255,255,.08);
  --ghost-b: rgba(255,255,255,.3); --ghost-bg: rgba(20,20,22,.25);
  color: var(--fg); color-scheme: dark;
}

/* Barve, ki so bile zapisane neposredno, zdaj sledijo načinu */
.logo { color: var(--hi); }
.btn-ghost { border-color: var(--ghost-b); color: var(--hi); background: var(--ghost-bg); }
.btn-ghost:hover { border-color: var(--hi); }
.subnav ul a.on, .toc a.on, .acard:hover h3, .mp-item.on b, .ms a:hover, .ix-tab[aria-selected="true"], .faq summary:hover, .foot li:hover, .role a:hover { color: var(--hi); }
.ix-tab[aria-selected="true"] .prog { background: var(--tint); }
.prose-l { color: var(--body); }
.prose-l h2, .prose-l h3, .prose-l h4 { color: var(--hi); }
.rc::before { color: var(--mono); }
.card { background: var(--surf-glass); }
.spot::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 45%); }
.mega { box-shadow: 0 40px 80px var(--slab-shadow); }
.shot img { filter: drop-shadow(0 30px 50px var(--slab-shadow)); }
.nav { transition: background-color .3s, border-color .3s; }
body { transition: background-color .3s ease, color .3s ease; }

/* Preklopnik načina */
.theme { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink-3); background: none; color: var(--fg); cursor: pointer; display: grid; place-items: center; overflow: hidden; transition: border-color .2s, transform .1s ease-out; flex: none; }
.theme:hover { border-color: var(--fg-3); }
.theme:active { transform: scale(.92); }
.theme svg { position: absolute; width: 18px; height: 18px; transition: transform .5s var(--spring), opacity .3s; }
.theme .sun { transform: rotate(0) scale(1); opacity: 1; }
.theme .moon { transform: rotate(-90deg) scale(.4); opacity: 0; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .theme .sun { transform: rotate(90deg) scale(.4); opacity: 0; } :root:not([data-theme="dark"]) .theme .moon { transform: none; opacity: 1; } }
:root[data-theme="light"] .theme .sun { transform: rotate(90deg) scale(.4); opacity: 0; }
:root[data-theme="light"] .theme .moon { transform: none; opacity: 1; }
html.theming::view-transition-old(root), html.theming::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- 3D plasti (domača stran in rešitve) ---------- */
.s3wrap { height: 520px; display: grid; place-items: center; perspective: 1800px; }
.s3scene { transform-style: preserve-3d; transform: rotateX(calc(57deg + var(--ty, 0deg))) rotateZ(calc(-42deg + var(--tx, 0deg))); }
.s3 { position: relative; width: 250px; height: 250px; transform-style: preserve-3d; margin-top: calc(var(--n) * var(--s3gap) * .55); }
.s3slab { position: absolute; inset: 0; border-radius: 16px; background: var(--slab); border: 1px solid var(--line-2); box-shadow: -18px 18px 34px var(--slab-shadow); display: grid; place-items: center; cursor: pointer;
  transform: translateZ(0); opacity: .25;
  transition: transform .9s var(--spring) calc(var(--z) * 90ms), opacity .6s ease calc(var(--z) * 90ms), background-color .3s, border-color .3s, box-shadow .3s; }
.s3.in .s3slab, html:not(.js) .s3slab { transform: translateZ(calc(var(--z) * var(--s3gap))); opacity: 1; }
.s3.ready .s3slab { transition-delay: 0s; }
.s3.ready.has-on .s3slab:not(.on):not(.core) { opacity: .6; }
.s3.in .s3slab.on { transform: translateZ(calc(var(--z) * var(--s3gap) + 30px)) translate(8px, -8px); background: var(--slab-on); border-color: var(--red); box-shadow: -24px 24px 48px var(--slab-shadow), 0 0 0 1px var(--red); }
.s3slab.core { background: var(--red); border-color: rgba(255,255,255,.35); box-shadow: -18px 18px 44px rgba(255,0,37,.3); }
.s3.in .s3slab.core.on { background: #ff1f3f; box-shadow: -24px 24px 60px rgba(255,0,37,.45); }
.s3lab { font-weight: 700; font-size: 1rem; letter-spacing: .07em; text-transform: uppercase; color: var(--slab-text); text-align: center; padding: 0 18px; line-height: 1.2; transition: color .3s; }
.s3slab.on .s3lab { color: var(--hi); }
.s3slab.core .s3lab { color: #fff; }
/* Podatki potujejo skozi plasti */
.s3flow { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; pointer-events: none; }
.s3dot { position: absolute; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px 2px rgba(255,0,37,.7); opacity: 0; }
.s3.ready .s3dot { animation: s3rise 3.6s cubic-bezier(.45,0,.55,1) infinite; animation-delay: calc(var(--d) * 1.2s); }
@keyframes s3rise { 0% { transform: translateZ(-4px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateZ(calc((var(--n) - 1) * var(--s3gap) + 24px)); opacity: 0; } }
.ly-list button { position: relative; }
.ly-list button::before { content: ""; position: absolute; left: -14px; top: 50%; width: 4px; height: 0; background: var(--red); border-radius: 2px; transform: translateY(-50%); transition: height .35s var(--spring); }
.ly-list button.on::before { height: 60%; }
@media (max-width: 999px) { .s3wrap { height: 420px; } .s3 { width: 200px; height: 200px; } :root { --s3gap: 54px; } }
@media (max-width: 520px) { .s3wrap { height: 360px; } .s3 { width: 160px; height: 160px; } :root { --s3gap: 44px; } .s3lab { font-size: .78rem; } }
@media (prefers-reduced-motion: reduce) { .s3slab { transition: none; } .s3dot { display: none; } }

/* ================================================================
   v10: vse rešitve, nov meni, pripoved ob drsenju, mobilni prikaz
   ================================================================ */

/* Meni rešitev: področja + predogled produktov */
.mx { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; }
.mx-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 28px; align-content: start; }
.mx-g h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; margin-bottom: 8px; }
.mx-g ul, .mx-p ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.mx-a { display: block; padding: 7px 10px; margin-left: -10px; border-radius: 6px; font-weight: 600; color: var(--fg); transition: background-color .15s, color .15s; }
.mx-a:hover, .mx-a.on { background: var(--ink-1); color: var(--hi); }
.mx-a.on { box-shadow: inset 3px 0 0 var(--red); }
.mx-prev { position: relative; background: var(--ink-1); border: 1px solid var(--line); border-radius: 10px; padding: 24px; min-height: 340px; }
.mx-p { display: none; gap: 10px; align-content: start; }
.mx-p.on { display: grid; animation: mxin .35s var(--ease-out) both; }
@keyframes mxin { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.mx-pt { font-size: 1.35rem; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mx-pt svg { width: 16px; height: 16px; color: var(--red-ink); flex: none; }
.mx-p > p { color: var(--fg-2); font-size: .94rem; margin-bottom: 6px; }
.mx-p li a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); transition: transform .3s var(--spring); }
.mx-p li a:hover { transform: translateX(4px); }
.mx-p li b { font-weight: 600; font-size: .97rem; }
.mx-p li small { color: var(--fg-3); font-size: .74rem; white-space: nowrap; }

/* Stran z vsemi rešitvami */
.goals { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .goals { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .goals { grid-template-columns: repeat(3, 1fr); } }
.goal { position: relative; display: grid; gap: 6px; padding: 24px 52px 24px 24px; background: var(--ink-1); border: 1px solid var(--line); border-radius: 10px; transition: border-color .2s, transform .4s var(--spring); }
.goal:hover { border-color: var(--red); transform: translateY(-3px); }
.goal b { font-size: 1.2rem; line-height: 1.2; }
.goal span { color: var(--fg-2); font-size: .96rem; }
.goal svg { position: absolute; right: 22px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--red-ink); transition: transform .35s var(--spring); }
.goal:hover svg { transform: translateX(5px); }
.hub-c { margin-top: 36px; }
.hub-c:first-of-type { margin-top: 8px; }
.hub-t { font-size: 1.1rem; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.hub-t::before { content: ""; width: 8px; height: 8px; background: var(--red); border-radius: 1px; }
.acards2 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .acards2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .acards2 { grid-template-columns: repeat(3, 1fr); } }
.acard2 { position: relative; isolation: isolate; overflow: hidden; border-radius: 10px; min-height: 250px; display: flex; align-items: flex-end; color: #fff; background: #242326; }
.acard2 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease-out); }
.acard2::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20,19,22,.94) 12%, rgba(20,19,22,.25) 78%); }
.acard2:hover img { transform: scale(1.06); }
.acard2 > div { padding: 20px; display: grid; gap: 6px; }
.acard2 h3 { font-size: 1.3rem; color: #fff; }
.acard2 p { font-size: .92rem; color: #d7d5db; line-height: 1.35; }
.acard2 .chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.acard2 .chip { font-size: .72rem; padding: 3px 7px; }
.sfind { display: grid; gap: 12px; margin-bottom: 8px; }
@media (min-width: 900px) { .sfind { grid-template-columns: minmax(280px, 1fr) auto; align-items: center; } }
.sfind input { width: 100%; min-height: 48px; padding: 0 16px; font: 400 1rem var(--font); color: var(--fg); background: var(--ink-1); border: 1px solid var(--line-2); border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
.sfind input:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,0,37,.15); }
.sfind .fbtns { display: flex; flex-wrap: wrap; gap: 6px; }
.sfind .fbtns button { min-height: 40px; padding: 0 14px; font: 600 .9rem var(--font); color: var(--fg-2); background: none; border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.sfind .fbtns button[aria-pressed="true"] { background: var(--red-btn); border-color: var(--red-btn); color: #fff; }
.scount { color: var(--fg-3); font-size: .9rem; margin: 8px 0 14px; }
.srows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.srow { position: relative; display: grid; grid-template-columns: minmax(180px, 280px) 1fr 130px 18px; gap: 20px; align-items: center; padding: 15px 8px; border-bottom: 1px solid var(--line); transition: background-color .15s; }
.srow:hover { background: var(--ink-1); }
.srow b { font-weight: 600; }
.srow span { color: var(--fg-2); font-size: .95rem; line-height: 1.35; }
.srow small { color: var(--fg-3); font-size: .78rem; }
.srow svg { width: 16px; height: 16px; color: var(--red-ink); transition: transform .3s var(--spring); }
.srow:hover svg { transform: translateX(4px); }
.srow.hide { display: none; }
.snone { padding: 24px 0; color: var(--fg-2); }
.snone a { color: var(--red-ink); text-decoration: underline; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.areachips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.areachips span { color: var(--fg-3); font-size: .9rem; margin-right: 6px; }
.areachips a { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; font-size: .92rem; transition: border-color .15s, transform .3s var(--spring); }
.areachips a:hover { border-color: var(--red); transform: translateY(-2px); }

/* Besede se osvetlijo ob drsenju */
.statband { padding-block: clamp(48px, 7vw, 96px); }
.statband.intro { padding-bottom: 0; }
.wordrev { font-size: clamp(1.45rem, 3.2vw, 2.5rem); line-height: 1.25; font-weight: 600; letter-spacing: -.012em; max-width: 26em; color: var(--hi); }
.wordrev .w { transition: opacity .25s linear; }
.statband.intro .wordrev { font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 400; line-height: 1.4; color: var(--fg); }

/* Številke CRM */
.sbars { display: grid; gap: 26px; max-width: 820px; }
.sbar-top { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.sbar-top b { font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -.02em; min-width: 3.2ch; }
.sbar-top span { color: var(--fg-2); }
.sbar-line { height: 6px; background: var(--tint); border-radius: 3px; overflow: hidden; }
.sbar-line i { display: block; height: 100%; width: var(--w); background: var(--red); border-radius: 3px; transform-origin: left; transition: transform 1.4s var(--ease-out); }
.js .sbars.wait .sbar-line i { transform: scaleX(0); }

/* Navedki */
.pqs { display: grid; gap: 16px; }
@media (min-width: 860px) { .pqs { grid-template-columns: repeat(2, 1fr); } }
.pq { margin: 0; padding: 26px; background: var(--ink-1); border: 1px solid var(--line); border-radius: 10px; display: grid; gap: 16px; align-content: space-between; }
.pq blockquote { margin: 0; font-size: 1.12rem; line-height: 1.45; }
.pq figcaption { display: grid; gap: 2px; font-size: .92rem; }
.pq figcaption span { color: var(--fg-3); }
.pbadge { padding: 24px; border: 1px solid var(--line-2); border-left: 3px solid var(--red); border-radius: 8px; display: grid; gap: 6px; }
.pbadge p { color: var(--fg-2); }

/* Pripoved ob drsenju: slika stoji, prednosti tečejo mimo */
.story-grid { display: grid; gap: 28px; }
.story-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.story-step { display: grid; gap: 10px; }
.story-step .own { font-size: .78rem; font-weight: 600; letter-spacing: .1em; color: var(--red-ink); }
.story-step h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.15; }
.story-step p { color: var(--fg-2); font-size: 1.05rem; }
.story-stage { display: none; }
.story-mob { margin: 8px 0 0; }
.story-mob img { width: 100%; height: auto; display: block; }
@media (min-width: 1000px) {
  .story-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
  .story-stage { display: block; position: sticky; top: 148px; }
  .story-frame { position: relative; aspect-ratio: 16 / 10.4; }
  .story-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translateY(18px) scale(.975); transition: opacity .55s ease, transform .9s var(--spring); filter: drop-shadow(0 26px 44px var(--slab-shadow)); }
  .story-frame img.on { opacity: 1; transform: none; }
  .story-prog { height: 3px; background: var(--tint); border-radius: 2px; overflow: hidden; margin-top: 18px; }
  .story-prog i { display: block; height: 100%; background: var(--red); transform: scaleX(var(--sp, 0)); transform-origin: left; transition: transform .2s linear; }
  .story-steps { gap: 0; padding-block: 8vh 16vh; }
  .story-step { min-height: 52vh; align-content: center; opacity: .32; transition: opacity .4s ease; }
  .story-step.on { opacity: 1; }
  .story-mob { display: none; }
}

/* Mobilni poziv na dnu */
.mcta { display: none; }
@media (max-width: 899px) {
  .mcta { display: flex; gap: 8px; position: fixed; z-index: 55; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); padding: 8px; background: var(--surf-glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 14px 34px var(--slab-shadow); transform: translateY(140%); transition: transform .5s var(--spring); }
  .mcta.on { transform: none; }
  .mcta .btn { flex: 1; justify-content: center; min-height: 46px; display: inline-flex !important; }
  .mcta-tel { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 10px; color: var(--hi); }
  .mcta-tel svg { width: 20px; height: 20px; }
}

/* Pogled, ki sledi drsenju (samo kjer ga brskalnik podpira) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .phero .hero-bg img { animation: bgdrift linear both; animation-timeline: view(); animation-range: exit -20% exit 100%; }
    .acard2 img { animation: cardin linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    @keyframes bgdrift { to { transform: translateY(9%) scale(1.06); } }
    @keyframes cardin { from { transform: scale(1.16); } to { transform: scale(1); } }
    .head h2 { animation: headin linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes headin { from { opacity: .15; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  }
}

/* Mobilni meni in splošni popravki */
@media (max-width: 1100px) {
  .nav.open .menu { max-height: calc(100dvh - 76px); -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .mx { grid-template-columns: 1fr; gap: 0; }
  .mx-areas { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .mx-prev { display: none; }
  .mx-a { padding: 9px 8px; margin-left: -8px; font-size: .98rem; }
  .mx-a.on { background: none; box-shadow: none; }
  .mega-foot { display: flex !important; margin-top: 14px; padding-top: 12px; }
  .mega-foot span { display: none; }
  .mega-foot .go { min-height: 44px; display: inline-flex; align-items: center; }
  .mega { transform: none; }
  .mega.open { animation: mxdown .35s var(--ease-out) both; }
  @keyframes mxdown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 720px) {
  .srow { grid-template-columns: 1fr 18px; gap: 3px 10px; padding: 14px 4px; }
  .srow b { grid-column: 1; }
  .srow span { grid-column: 1; }
  .srow small { grid-column: 1; }
  .srow svg { grid-column: 2; grid-row: 1 / span 3; }
  .sbar-top { display: grid; gap: 4px; }
  .acard2 { min-height: 220px; }
  .subnav ul { scrollbar-width: none; }
  .subnav ul::-webkit-scrollbar { display: none; }
  .phero h1 { font-size: clamp(2.05rem, 9.5vw, 2.8rem); overflow-wrap: anywhere; }
  .hero-ctas .btn { min-height: 46px; }
  .pcard { padding: 22px; }
}
.mp-item.on b { color: var(--hi); }
.ms a:hover { color: var(--hi); }
@media (prefers-reduced-motion: reduce) { .story-frame img, .story-step { transition: none; } .wordrev .w { opacity: 1 !important; } }
.split2 > * { min-width: 0; }
.dl dd { overflow-wrap: anywhere; }
@media (min-width: 860px) { .foot { grid-template-columns: 1.3fr .9fr .9fr 1fr 1fr; } }
@media (max-width: 520px) { .s3wrap { height: 310px; } }
@media (max-width: 1100px) { .nav-tools { margin-left: auto; } .burger { margin-left: 0; } }

/* ================================================================
   v11: nove strani, piškotki, dodatne animacije
   ================================================================ */
.pagehead { padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px); }
.pagehead .wrap { display: grid; gap: 18px; }
.pagehead h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.legal-tabs a { padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; font-size: .92rem; }
.legal-tabs a.on { background: var(--red-btn); border-color: var(--red-btn); color: #fff; }
.legal-body { max-width: 780px; display: grid; gap: 14px; overflow-wrap: anywhere; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: .9rem; display: block; overflow-x: auto; }
.legal-body td, .legal-body th { border: 1px solid var(--line-2); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-body a { color: var(--red-ink); text-decoration: underline; }
.cc-open { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; }

/* Pasica s piškotki: obe izbiri enako vidni */
.ckb { position: fixed; z-index: 70; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); max-width: 620px; margin-inline: auto; display: grid; gap: 14px; padding: 18px; background: var(--surf-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 20px 50px var(--slab-shadow); animation: ccin .6s var(--spring) both; }
.ckb[hidden] { display: none; }
.ckb p { color: var(--fg-2); font-size: .93rem; margin-top: 3px; }
.ckb a { text-decoration: underline; }
.ckb-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ckb-btns .btn { justify-content: center; min-height: 46px; }
@keyframes ccin { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
html.cc-on .mcta { visibility: hidden; }

/* Počasen zoom naslovne fotografije ob prihodu */
.phero .hero-bg { overflow: hidden; }
.phero .hero-bg img:not(.noz) { transform-origin: 60% 40%; }
@media (prefers-reduced-motion: no-preference) {
  .phero .hero-bg { animation: kenburns 1.8s var(--ease-out) both; }
  @keyframes kenburns { from { transform: scale(1.09); opacity: .55; } to { transform: scale(1); opacity: 1; } }
  /* Svetloba sledi miški na naslovnem delu */
  .phero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px circle at var(--hx, 70%) var(--hy, 30%), rgba(255,0,37,.16), transparent 62%); transition: background .1s linear; }
  /* Tanka rdeča črta pri naslovih se nariše */
  .kicker::before { transform-origin: left; animation: kline .8s var(--ease-out) both; }
  @keyframes kline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  /* Vrstice poziva: svetlobni pas */
  .cta-band { position: relative; overflow: hidden; }
  .cta-band::after { content: ""; position: absolute; top: -60%; bottom: -60%; width: 28%; left: -35%; transform: rotate(14deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent); animation: bandsweep 6.5s ease-in-out infinite; pointer-events: none; }
  @keyframes bandsweep { 0%, 55% { left: -35%; } 100% { left: 115%; } }
  /* Vstop kartic: rahel 3D zasuk */
  .js .stagger > * { transition: opacity .7s ease, transform .9s var(--spring), border-color .2s; }
  .js .stagger.wait > * { transform: translateY(30px) rotateX(9deg) scale(.97); transform-origin: 50% 100%; }
}
/* Nagib kartic za miško */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ly, 0px)); }
/* Odziv na dotik */
@media (hover: none) {
  .pcard, .goal, .acard2, .srow, .rel a, .btn { transition: transform .25s var(--spring), background-color .15s; -webkit-tap-highlight-color: transparent; }
  .pcard:active, .goal:active, .acard2:active, .rel a:active { transform: scale(.975); }
  .btn:active, .srow:active { transform: scale(.97); }
}
/* Telefon: kartice prednosti se nalagajo ena na drugo */
@media (max-width: 679px) and (prefers-reduced-motion: no-preference) {
  .pcards.stackm { gap: 14px; }
  .pcards.stackm > * { position: sticky; top: calc(142px + var(--sk, 0) * 10px); background: var(--ink-1); box-shadow: 0 -10px 24px var(--slab-shadow); }
  .pcards.stackm > :nth-child(1) { --sk: 0; } .pcards.stackm > :nth-child(2) { --sk: 1; } .pcards.stackm > :nth-child(3) { --sk: 2; } .pcards.stackm > :nth-child(4) { --sk: 3; }
}
@media (max-width: 720px) { [data-filter-group] button, .fbtns button { min-height: 44px; } }

html, body { margin: 0; }
html { background: var(--ink-0); }
/* Telefon: 3D plasti so polne, napis ima samo izbrana plast (ostali so v seznamu pod njimi) */
@media (max-width: 999px) {
  .s3.ready.has-on .s3slab:not(.on):not(.core) { opacity: .95; }
  .s3slab { background: var(--slab-on); }
  .s3slab.core { background: var(--red); }
  .s3.ready .s3slab:not(.on) .s3lab { opacity: 0; }
  .s3lab { transition: opacity .3s, color .3s; }
}
main, footer { overflow-x: clip; }
.cp button { min-height: 44px; min-width: 64px; }
.s3wrap { position: relative; }
.s3cap { display: none; }
@media (max-width: 999px) { .s3cap { display: block; position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-weight: 700; letter-spacing: .04em; font-size: 1rem; color: var(--hi); } }

/* Lokalizacija: prikazana je samo izbrana država, vrstice so naslov + besedilo */
.loc-panel > .loc-pane { display: none; grid-template-columns: 1fr; gap: 0; padding: 0; border: 0; }
.loc-panel > .loc-pane.on { display: block; }
.loc-pane > div { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line-2); animation: fade .45s var(--ease-out) both; }
.loc-pane > div:nth-child(2) { animation-delay: .05s; } .loc-pane > div:nth-child(3) { animation-delay: .1s; } .loc-pane > div:nth-child(4) { animation-delay: .15s; } .loc-pane > div:nth-child(5) { animation-delay: .2s; }
@media (max-width: 520px) { .loc-pane > div { grid-template-columns: 1fr; gap: 2px; } }

/* ================================================================
   v13: iskanje, vloge, kazalo, gradiva
   ================================================================ */
.sbtn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink-3); background: none; color: var(--fg); cursor: pointer; display: grid; place-items: center; flex: none; transition: border-color .2s, transform .1s ease-out; }
.sbtn:hover { border-color: var(--fg-3); } .sbtn:active { transform: scale(.92); }
.sbtn svg { width: 18px; height: 18px; }
.sx { position: fixed; inset: 0; z-index: 80; background: rgba(10,10,12,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; justify-content: center; align-items: flex-start; padding: clamp(12px, 9vh, 90px) 12px 12px; animation: sxfade .2s ease both; }
.sx[hidden] { display: none; }
@keyframes sxfade { from { opacity: 0; } to { opacity: 1; } }
.sx-box { width: 100%; max-width: 680px; max-height: 100%; display: flex; flex-direction: column; background: var(--ink-1); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 30px 70px var(--slab-shadow); overflow: hidden; animation: sxin .4s var(--spring) both; }
@keyframes sxin { from { transform: translateY(-14px) scale(.98); } to { transform: none; } }
.sx-top { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 16px; border-bottom: 1px solid var(--line); flex: none; }
.sx-top > svg { width: 20px; height: 20px; color: var(--fg-3); flex: none; }
.sx-top input { flex: 1; min-width: 0; min-height: 50px; border: 0; background: none; color: var(--fg); font: 400 1.1rem var(--font); outline: 0; }
.sx-top button { width: 44px; height: 44px; background: none; border: 0; color: var(--fg-2); cursor: pointer; display: grid; place-items: center; flex: none; }
.sx-top button svg { width: 18px; height: 18px; }
.sx-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 16px; }
.sx-quick a { padding: 8px 12px; min-height: 40px; display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; font-size: .9rem; }
.sx-quick a:hover { border-color: var(--red); }
.sx-res { list-style: none; margin: 0; padding: 6px; overflow-y: auto; overscroll-behavior: contain; }
.sx-res a { display: grid; gap: 2px; padding: 11px 12px; border-radius: 8px; }
.sx-res a.on, .sx-res a:hover { background: var(--ink-2); }
.sx-res b { font-weight: 600; }
.sx-res small { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--red-ink); font-weight: 600; }
.sx-res span { font-size: .9rem; color: var(--fg-2); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sx-none { padding: 18px 18px 20px; color: var(--fg-2); } .sx-none a { color: var(--red-ink); text-decoration: underline; }
.fcontact { display: grid; gap: 4px; margin-top: 12px; font-weight: 600; }
.fcontact a { min-height: 32px; display: inline-flex; align-items: center; }
.hroles { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .hroles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .hroles { grid-template-columns: repeat(3, 1fr); } }
.hrole { padding: 22px; background: var(--ink-1); border: 1px solid var(--line); border-radius: 10px; }
.hrole h3 { margin-bottom: 10px; }
.hrole ul { list-style: none; margin: 0; padding: 0; }
.hrole a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; border-top: 1px solid var(--line); font-size: .97rem; }
.hrole a svg { width: 14px; height: 14px; color: var(--red-ink); flex: none; transition: transform .3s var(--spring); } .hrole a:hover svg { transform: translateX(4px); }
.artrel { margin-top: 30px; padding: 22px; border: 1px solid var(--line-2); border-radius: 10px; }
.artrel h2 { font-size: 1.2rem !important; margin: 0 0 8px !important; }
.artrel ul { list-style: none; margin: 0; padding: 0; }
.artrel li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; border-top: 1px solid var(--line); text-decoration: none; color: var(--hi); }
.artrel svg { width: 14px; height: 14px; color: var(--red-ink); flex: none; }
.kzs { columns: 1; column-gap: 40px; }
@media (min-width: 720px) { .kzs { columns: 2; } } @media (min-width: 1080px) { .kzs { columns: 3; } }
.kz { break-inside: avoid; margin-bottom: 30px; }
.kz h2 { font-size: 1.05rem; margin-bottom: 8px; }
.kz ul { list-style: none; margin: 0; padding: 0; }
.kz a { display: block; padding: 6px 0; color: var(--fg-2); font-size: .95rem; line-height: 1.3; } .kz a:hover { color: var(--hi); }
.srow.gr { grid-template-columns: minmax(180px, 1.4fr) 1fr 120px; }
.srow.gr span a { color: var(--red-ink); display: inline-flex; gap: 6px; align-items: center; min-height: 40px; font-weight: 600; } .srow.gr svg { width: 14px; height: 14px; }
@media (max-width: 720px) { .srow.gr { grid-template-columns: 1fr; } .nav-tools { gap: 6px; } }
.sx-quick[hidden] { display: none; }

/* ================================================================
   v14: 3D plasti brez prosojnosti, slike brez raztega
   ================================================================ */
img { height: auto; }
.photo { border-radius: 10px; overflow: hidden; }
.photo img { display: block; width: 100%; height: auto; }

/* Plasti so polne. Napis je ob sprednjem robu, ki ostane viden, izbrana plast zdrsne naprej v svoji ravnini */
:root { --slab: #37363b; --slab-on: #4a4950; }
:root[data-theme="light"] { --slab: #f1f0f3; --slab-on: #ffffff; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --slab: #f1f0f3; --slab-on: #ffffff; } }
.s3slab { background: var(--slab); opacity: .25; place-items: end start; padding: 0 18px 14px; box-shadow: -14px 14px 26px var(--slab-shadow);
  transition: transform .7s var(--spring), opacity .6s ease calc(var(--z) * 90ms), background-color .3s, border-color .3s, box-shadow .3s; }
.s3.in .s3slab { transition-delay: calc(var(--z) * 90ms), calc(var(--z) * 90ms), 0s, 0s, 0s; }
.s3.ready .s3slab { transition-delay: 0s; }
.s3.ready.has-on .s3slab:not(.on):not(.core) { opacity: 1; }
.s3.in .s3slab.on { transform: translateZ(calc(var(--z) * var(--s3gap))) translate(-26px, 26px); background: var(--slab-on); border-color: var(--red); box-shadow: -20px 20px 36px var(--slab-shadow), 0 0 0 1px var(--red); }
.s3slab.core { background: var(--red); border-color: rgba(255,255,255,.25); }
.s3.in .s3slab.core.on { background: #ff1f3f; box-shadow: -20px 20px 44px rgba(255,0,37,.4), 0 0 0 1px rgba(255,255,255,.5); }
.s3lab { padding: 0; text-align: left; font-size: .92rem; white-space: nowrap; }
.s3flow { display: none; }
@media (max-width: 999px) {
  .s3slab { padding: 0 12px 10px; }
  .s3.in .s3slab.on { transform: translateZ(calc(var(--z) * var(--s3gap))) translate(-16px, 16px); }
  .s3.ready .s3slab:not(.on) .s3lab { opacity: 1; }
  .s3lab { font-size: .68rem; letter-spacing: .05em; white-space: normal; line-height: 1.1; }
  .s3cap { display: none; }
}

/* ================================================================
   v15: logotip, telefon, članki, webinarji
   ================================================================ */
.nav { background: color-mix(in srgb, var(--ink-0) 88%, transparent); }
:root[data-theme="light"] .nav { background: color-mix(in srgb, var(--ink-0) 95%, transparent); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .nav { background: color-mix(in srgb, var(--ink-0) 95%, transparent); } }

/* Telefon: besedilo na fotografiji mora biti berljivo */
@media (max-width: 899px) {
  .hero::before, .phero::before { background: linear-gradient(180deg, rgba(27,26,29,.9) 0%, rgba(27,26,29,.82) 55%, rgba(27,26,29,.94) 100%); }
  .hero .lead, .phero .lead { color: #e6e4e9; }
  .kicker { align-items: flex-start; line-height: 1.5; }
  .kicker::before { flex: none; margin-top: .68em; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
}
/* Članki */
.afig { margin: 22px 0; }
.afig img { display: block; max-width: 100%; height: auto; border-radius: 8px; margin-inline: auto; background: #fff; }
.abody a:not(.go) { color: var(--red-ink); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.artrel a { color: var(--hi) !important; text-decoration: none !important; }
.toc summary { cursor: pointer; font-weight: 600; min-height: 32px; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--fg-2); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--red-ink); border-bottom: 2px solid var(--red-ink); transform: rotate(45deg); transition: transform .3s var(--spring); }
.toc details[open] summary::after { transform: rotate(-135deg); }
@media (min-width: 1080px) { .toc summary { pointer-events: none; } .toc summary::after { display: none; } }
@media (max-width: 719px) { .abody { font-size: 1.02rem; } .abody h2 { scroll-margin-top: 150px; } .ahead h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); } }
/* Webinarji */
.wbs { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .wbs { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1080px) { .wbs { grid-template-columns: repeat(3, 1fr); } }
.wb { background: var(--ink-1); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.wb > div { padding: 18px; display: grid; gap: 8px; } .wb h3 { font-size: 1.08rem; line-height: 1.25; }
.wb p { color: var(--fg-2); font-size: .93rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.wb-v { position: relative; display: block; aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.wb-v img, .wb-v iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; transition: transform .8s var(--ease-out); }
.wb-v:hover img { transform: scale(1.04); }
.wb-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px; border-radius: 50%; background: var(--red-btn); transition: transform .35s var(--spring); }
.wb-play::after { content: ""; position: absolute; left: 23px; top: 18px; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.wb-v:hover .wb-play { transform: scale(1.1); }
.wb-d { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 4px; background: rgba(0,0,0,.75); color: #fff; font-size: .78rem; font-weight: 600; }
a.srow.gr { grid-template-columns: 1fr auto 18px; } a.srow.gr span { color: var(--red-ink); font-weight: 600; font-size: .9rem; }
@media (max-width: 720px) { a.srow.gr { grid-template-columns: 1fr 18px; } a.srow.gr span { grid-column: 1; } a.srow.gr svg { grid-column: 2; grid-row: 1 / span 2; } }
/* Sklad plasti je točno na sredini svojega okvirja */
.s3 { margin-top: 0; transform: translateZ(calc((var(--n) - 1) * var(--s3gap) * -.5)); }
@media (max-width: 520px) { .s3wrap { height: 320px; } }

/* ================================================================
   v16: kontaktna stran
   ================================================================ */
.chero img { object-position: 70% 14% !important; }
.cquick { display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 10px; animation: fade .8s .35s ease both; }
@media (min-width: 620px) { .cquick { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cquick { grid-template-columns: repeat(4, 1fr); } }
.cq { display: grid; gap: 3px; padding: 16px 18px; background: rgba(27,26,29,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 10px; transition: border-color .2s, transform .4s var(--spring); }
.cq:hover { border-color: var(--red); transform: translateY(-3px); }
.cq small { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red-ink); }
.cq b { font-size: 1.12rem; overflow-wrap: anywhere; }
.cbook { background: var(--ink-1); }
.cbook .card { background: var(--ink-0); box-shadow: none; }
.cbook .book-grid { align-items: start; }
.cp a { color: var(--hi); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.cp a:hover { color: var(--red-ink); }
.omap { margin-top: 2px; min-height: 40px; display: inline-flex; align-items: center; font-size: .92rem; }
@media (min-width: 960px) { .offices { grid-template-columns: repeat(3, 1fr); } }

/* Dolgi napisi na plasteh gredo v dve vrstici in ostanejo znotraj plasti */
.s3slab { min-width: 0; }
.s3lab { white-space: normal; max-width: 100%; min-width: 0; line-height: 1.15; overflow-wrap: anywhere; }
