/* ============================================================
   OPSHIFT STUDIO | style.css
   Temna izdaja: gozd, mah, mir.
   ============================================================ */

:root {
  --bg: #0b0c0a;
  --bg-soft: #101210;
  --card: #121412;
  --border: rgba(244, 246, 238, 0.07);
  --border-strong: rgba(244, 246, 238, 0.15);
  --text: #f2f4ec;
  --text-2: #b9beae;
  --text-3: #828877;
  --moss: #a8bf8f;
  --moss-deep: #7d9a64;
  --radius: 18px;
  --radius-lg: 28px;
  --font: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-padding-top: 90px; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
::selection { background: rgba(168, 191, 143, 0.3); color: var(--text); }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 880px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--moss); color: var(--bg);
  padding: 10px 18px; border-radius: 0 0 12px 0; font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--moss); outline-offset: 3px;
}

/* ---- grain ---- */
.grain {
  position: fixed; inset: 0; z-index: 80;
  pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ---- type ---- */
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.08; font-weight: 500; text-wrap: balance; }
h1 em, h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---- reveal ---- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.in { opacity: 1; transform: translateY(0); }
.js .reveal.lift { opacity: 1; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 15px; font-weight: 600; font-family: var(--font);
  letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-white { background: var(--text); color: #131510; }
.btn-white:hover { background: #ffffff; transform: translateY(-1px); }
.btn-glass {
  background: rgba(244, 246, 238, 0.08);
  color: var(--text);
  border-color: rgba(244, 246, 238, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.btn-glass:hover { background: rgba(244, 246, 238, 0.14); transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ============================================================
   NAV
   ============================================================ */
.nav-shell {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background 0.9s var(--ease), border-color 0.9s var(--ease);
}
.nav-shell.scrolled {
  background: rgba(11, 12, 10, 0.74);
  border-bottom-color: var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 24px;
  transition: padding 0.7s var(--ease);
}
.nav-shell.scrolled .nav { padding-top: 12px; padding-bottom: 12px; }

.brand {
  grid-column: 1; justify-self: start;
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--text);
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 24px; letter-spacing: 0.01em;
}
.brand svg { display: block; }

.nav-links {
  grid-column: 2; justify-self: center;
  display: flex; gap: 6px; align-items: center;
  background: rgba(11, 12, 10, 0.16);
  border: 1px solid rgba(244, 246, 238, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 100px;
  padding: 5px;
}
.nav-links a {
  color: var(--text-2); text-decoration: none;
  font-size: 14.5px; font-weight: 500;
  padding: 8px 16px; border-radius: 100px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(244, 246, 238, 0.08); }
.nav-links .lang-switch { color: var(--text); border: 1px solid var(--border-strong); padding: 6px 13px; }
.nav-cta-mobile { display: none !important; }
.nav > .nav-cta { grid-column: 3; justify-self: end; }

.nav-toggle {
  display: none;
  grid-column: 3; justify-self: end;
  width: 44px; height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(11, 12, 10, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 60%;
  opacity: 0; transform: scale(1.045);
  transition: opacity 1.9s var(--ease), transform 2.8s var(--ease);
}
.hero-media img.loaded { opacity: 1; transform: scale(1); }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,12,10,0.62) 0%, rgba(11,12,10,0.18) 34%, rgba(11,12,10,0.32) 62%, rgba(11,12,10,0.97) 100%);
}

.hero-core {
  flex: 1;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding-top: 130px; padding-bottom: 48px;
}
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.9rem);
  max-width: 17ch;
  text-shadow: 0 2px 40px rgba(11, 12, 10, 0.5);
}
.hero-core > p {
  margin-top: 22px;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: rgba(242, 244, 236, 0.84);
  max-width: 50ch;
  text-wrap: balance;
  text-shadow: 0 1px 24px rgba(11, 12, 10, 0.6);
}
.hero-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 36px 0 44px;
}
.hstat {
  display: flex; align-items: center;
  padding: 0 36px;
  border-left: 1px solid rgba(244, 246, 238, 0.16);
}
.hstat:first-child { border-left: none; padding-left: 0; }
.hstat-num {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hstat-label { font-size: 14px; color: rgba(242, 244, 236, 0.7); margin-top: 2px; max-width: 30ch; }

/* ============================================================
   MARQUEE
   ============================================================ */
.trust { padding: 68px 0 58px; border-bottom: 1px solid var(--border); }
.trust-label {
  text-align: center;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 38px;
  padding: 0 24px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; gap: 84px; width: max-content;
  animation: marquee 36s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-item {
  display: inline-flex; align-items: center;
  color: rgba(242, 244, 236, 0.5);
  font-family: var(--font);
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.logo-item:hover { color: rgba(242, 244, 236, 0.9); }

/* ============================================================
   SKUPNE GLAVE SEKCIJ
   ============================================================ */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.sec-head h2, .split-copy h2, .cta-inner h2, .numbers-inner h2, .contact-copy h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
}
.sec-head p {
  margin-top: 18px;
  color: var(--text-2); font-size: 17px;
  max-width: 56ch; margin-left: auto; margin-right: auto;
}

/* ============================================================
   BENTO
   ============================================================ */
.bento-sec { padding: 110px 0; }
.bento { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; }
.bento-row2 { grid-template-columns: 2fr 1fr; margin-top: 16px; }
.bento-row3 { grid-template-columns: repeat(3, 1fr); margin-top: 16px; }

.cell {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  min-height: 380px;
  display: flex; flex-direction: column;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), opacity 0.9s var(--ease);
}
.js .cell { opacity: 0; transform: translateY(28px); }
.js .cell.in { opacity: 1; transform: translateY(0); }
.cell:hover { border-color: var(--border-strong); transform: translateY(-3px) !important; }
.cell-compact { min-height: 0; }

.cell-pad { padding: 32px; }
.cell h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.cell .cell-sub { margin-top: 10px; font-size: 14.5px; color: var(--text-2); line-height: 1.55; max-width: 44ch; }

.cell-img { position: absolute; inset: 0; z-index: 0; }
.cell-img img { width: 100%; height: 100%; object-fit: cover; }
.cell-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,12,10,0.80) 0%, rgba(11,12,10,0.30) 45%, rgba(11,12,10,0.62) 100%);
}
.cell-over { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; }
.cell-img ~ .cell-over .cell-sub, .cell-wide .cell-sub { color: rgba(242, 244, 236, 0.78); }

/* steklen panel (skupno) */
.chat-panel, .rules-panel, .chart-frame {
  position: relative;
  background: linear-gradient(180deg, rgba(244,246,238,0.09), rgba(244,246,238,0.03) 40%, rgba(11,12,10,0.32));
  border: 1px solid rgba(244, 246, 238, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 24px 48px -20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-radius: 18px;
}

.live-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 600;
  color: rgba(242, 244, 236, 0.85);
  border: 1px solid rgba(244, 246, 238, 0.14);
  background: rgba(244, 246, 238, 0.06);
  border-radius: 100px;
  padding: 3px 11px;
  white-space: nowrap;
}
.live-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--moss);
  animation: breathe 2.4s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(168,191,143,0.45); }
  50% { opacity: 0.7; transform: scale(0.82); box-shadow: 0 0 0 6px rgba(168,191,143,0); }
}

.panel-head, .rules-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(242, 244, 236, 0.6);
}

/* celica A: pogovor */
.chat-panel { margin-top: 24px; padding: 16px 16px 14px; }
.chat-panel .panel-head { padding-bottom: 12px; }
.chat-msg { max-width: 88%; margin-top: 10px; }
.chat-msg p {
  font-size: 13px; line-height: 1.5;
  padding: 10px 13px;
  border-radius: 14px;
}
.chat-msg span { display: block; font-size: 10.5px; color: var(--text-3); margin-top: 4px; padding: 0 4px; }
.chat-msg.them p {
  background: rgba(244, 246, 238, 0.08);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--text-2);
}
.chat-msg.us { margin-left: auto; }
.chat-msg.us p {
  background: rgba(168, 191, 143, 0.14);
  border: 1px solid rgba(168, 191, 143, 0.28);
  border-bottom-right-radius: 4px;
  color: var(--text);
}
.chat-msg.us span { text-align: right; }
.chat-handoff {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid rgba(244, 246, 238, 0.1);
  font-size: 12px; color: var(--moss);
}

.spec-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 20px; }
.spec {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em;
  color: var(--text-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 11px;
}

/* celica B: pravila */
.rules-panel { margin-top: auto; padding: 14px 16px 5px; max-width: 420px; }
.rules-head { padding-bottom: 10px; }
.rules-count { color: var(--moss); letter-spacing: 0.04em; }
.rule {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 0;
  border-top: 1px solid rgba(244, 246, 238, 0.08);
  font-size: 12.5px;
  color: rgba(242, 244, 236, 0.78);
  white-space: nowrap;
  opacity: 0.45;
  animation: rulecycle 8s ease-in-out infinite;
}
.rule svg { flex-shrink: 0; }
.rule:nth-of-type(1) { animation-delay: 0s; }
.rule:nth-of-type(2) { animation-delay: 2s; }
.rule:nth-of-type(3) { animation-delay: 4s; }
.rule:nth-of-type(4) { animation-delay: 6s; }
@keyframes rulecycle {
  0%, 100% { opacity: 0.45; }
  4%, 22% { opacity: 1; }
  30% { opacity: 0.45; }
}

/* celica C: graf */
.chart-zone { margin-top: auto; position: relative; z-index: 1; padding: 0 32px 24px; }
.chart-frame { padding: 18px 20px 14px; overflow: hidden; }
.chart-frame::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.09), transparent 42%);
  pointer-events: none;
}
.chart-frame svg { display: block; width: 100%; height: auto; }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.chart-title { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242,244,236,0.6); }
.chart-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.chart-note { font-size: 11.5px; color: var(--moss); font-family: var(--mono); letter-spacing: 0.03em; }
.chart-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(242,244,236,0.55); padding-top: 10px; }
.draw-line {
  stroke-dasharray: 1200; stroke-dashoffset: 1200;
  transition: stroke-dashoffset 2.4s var(--ease) 0.3s;
}
.cell.in .draw-line { stroke-dashoffset: 0; }
.chart-area { opacity: 0; transition: opacity 1.6s ease 1.2s; }
.cell.in .chart-area { opacity: 1; }
.pulse-ring {
  transform-box: fill-box; transform-origin: center;
  animation: ringgrow 2.6s ease-out infinite;
}
@keyframes ringgrow {
  0% { transform: scale(0.35); opacity: 0.9; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* celica D: timeline */
.timeline { position: relative; margin-top: auto; padding-top: 22px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 11px; top: 46px; bottom: 30px;
  width: 1px;
  background: rgba(244, 246, 238, 0.12);
}
.t-step {
  position: relative;
  display: flex; gap: 14px; align-items: flex-start;
  padding: 10px 0;
  opacity: 0.42;
  animation: stepglow 9s ease-in-out infinite;
}
.t-step:nth-child(1) { animation-delay: 0s; }
.t-step:nth-child(2) { animation-delay: 2.25s; }
.t-step:nth-child(3) { animation-delay: 4.5s; }
.t-step:nth-child(4) { animation-delay: 6.75s; }
@keyframes stepglow {
  0%, 100% { opacity: 0.42; }
  5%, 27% { opacity: 1; }
  35% { opacity: 0.42; }
}
.t-ico {
  position: relative; z-index: 1;
  width: 23px; height: 23px; border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.t-time { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--moss); }
.t-title { font-size: 14.5px; font-weight: 600; margin-top: 1px; }
.t-sub { font-size: 12.5px; color: var(--text-3); }

/* ============================================================
   SPLIT
   ============================================================ */
.split-sec { padding: 50px 0 110px; }
.split {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 72px; align-items: center;
}
.split-body { margin-top: 20px; color: var(--text-2); font-size: 17px; max-width: 54ch; }
.split-list { list-style: none; margin-top: 30px; }
.split-list li {
  position: relative;
  padding: 16px 0 16px 30px;
  border-top: 1px solid var(--border);
  color: var(--text-2); font-size: 15.5px;
}
.split-list li:last-child { border-bottom: 1px solid var(--border); }
.split-list li::before {
  content: '';
  position: absolute; left: 2px; top: 24px;
  width: 14px; height: 2px; border-radius: 2px;
  background: var(--moss);
}
.split-list strong { color: var(--text); font-weight: 600; }

.split-media { position: relative; }
.split-media > img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
}
.split-media::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(11,12,10,0.05), rgba(11,12,10,0.4));
  pointer-events: none;
}
.float-card {
  position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  background: rgba(18, 20, 18, 0.6);
  border: 1px solid rgba(244, 246, 238, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 48px -16px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-radius: 16px;
  padding: 14px 16px;
}
.float-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--moss); flex-shrink: 0;
  animation: breathe 2.6s ease-in-out infinite;
}
.float-title { font-size: 14px; font-weight: 600; }
.float-sub { font-size: 12px; color: var(--text-3); }
.float-tag {
  margin-left: auto;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--moss);
  border: 1px solid rgba(168, 191, 143, 0.3);
  background: rgba(168, 191, 143, 0.08);
  padding: 4px 11px; border-radius: 100px;
  white-space: nowrap;
}

/* ============================================================
   KALKULATOR
   ============================================================ */
.calc-sec { padding: 110px 0; border-top: 1px solid var(--border); }
.calc { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 16px; }

.calc-inputs {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex; flex-direction: column; gap: 36px; justify-content: center;
}
.calc-field-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 16px;
}
.calc-field-head label { font-weight: 600; font-size: 15px; color: var(--text); }
.calc-field-head output {
  font-size: 17px; font-weight: 600;
  color: var(--moss);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 2px;
  background: linear-gradient(to right, var(--moss) var(--fill, 30%), rgba(244, 246, 238, 0.12) var(--fill, 30%));
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--text);
  border: 1px solid rgba(11, 12, 10, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.2s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.14); }
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--text); border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.calc-results {
  position: relative;
  background: linear-gradient(180deg, rgba(168,191,143,0.10), rgba(168,191,143,0.02) 45%, rgba(11,12,10,0.3));
  border: 1px solid rgba(168, 191, 143, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex; flex-direction: column; gap: 22px;
}
.calc-result-label { display: block; font-size: 13.5px; color: var(--text-2); margin-bottom: 4px; }
.calc-result-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.calc-result-save { padding-top: 20px; border-top: 1px solid rgba(244, 246, 238, 0.1); }
.calc-result-save .calc-result-num { color: var(--moss); }
.calc-note { font-size: 13px; color: var(--text-3); line-height: 1.55; }
.calc-results .btn { align-self: flex-start; }

/* ============================================================
   PROCES
   ============================================================ */
.process-sec { padding: 110px 0; border-top: 1px solid var(--border); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.p-step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.p-step:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.p-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.p-num {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-size: 19px;
  color: var(--bg);
  background: var(--moss);
}
.p-tag {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--moss);
  border: 1px solid rgba(168, 191, 143, 0.3);
  background: rgba(168, 191, 143, 0.07);
  padding: 4px 12px; border-radius: 100px;
}
.p-step h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.p-step p { font-size: 14.5px; color: var(--text-2); }

/* ============================================================
   STEVILKE
   ============================================================ */
.numbers-sec { position: relative; padding: 130px 0; overflow: hidden; isolation: isolate; }
.numbers-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.numbers-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,12,10,0.97) 0%, rgba(11,12,10,0.72) 45%, rgba(11,12,10,0.97) 100%);
}
.numbers-inner h2 { text-align: center; max-width: 18ch; margin: 0 auto 70px; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.nstat { text-align: center; padding: 0 12px; border-left: 1px solid rgba(244, 246, 238, 0.14); }
.nstat:first-child { border-left: none; }
.nstat-num {
  display: block;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 500; letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.nstat-label { display: block; margin-top: 12px; font-size: 13.5px; color: var(--text-2); max-width: 26ch; margin-left: auto; margin-right: auto; }

/* ============================================================
   PRIMERI
   ============================================================ */
.examples-sec { padding: 110px 0; }
.examples-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.example-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.example-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.example-industry {
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}
.example-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.example-card p { font-size: 14.5px; color: var(--text-2); flex: 1; }
.example-metric {
  margin-top: 24px; align-self: flex-start;
  font-family: var(--serif); font-style: italic; font-size: 16px;
  color: var(--moss);
  border: 1px solid rgba(168, 191, 143, 0.28);
  background: rgba(168, 191, 143, 0.07);
  padding: 6px 16px; border-radius: 100px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-sec { padding: 30px 0 110px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.faq-item[open] { border-color: rgba(168, 191, 143, 0.3); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px;
  font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg {
  width: 18px; height: 18px; flex: none;
  color: var(--moss);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { color: var(--text-2); font-size: 14.5px; max-width: 64ch; }

/* ============================================================
   CTA
   ============================================================ */
.cta-sec { position: relative; padding: 150px 0; overflow: hidden; isolation: isolate; text-align: center; }
.cta-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,12,10,0.96) 0%, rgba(11,12,10,0.55) 50%, rgba(11,12,10,0.96) 100%);
}
.cta-inner h2 { max-width: 16ch; margin: 0 auto; }
.cta-inner > p { margin: 20px auto 0; color: rgba(242, 244, 236, 0.85); font-size: 17px; max-width: 52ch; text-wrap: balance; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.cta-note { margin-top: 22px; font-size: 13px; color: var(--text-3); }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-sec { padding: 110px 0 130px; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.contact-copy > p { margin-top: 20px; color: var(--text-2); font-size: 16.5px; max-width: 46ch; }
.contact-alt { font-size: 14.5px; }
.contact-email {
  display: inline-block; margin-top: 6px;
  font-family: var(--serif); font-style: italic;
  font-size: 22px; color: var(--moss);
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 191, 143, 0.4);
  transition: border-color 0.25s;
}
.contact-email:hover { border-bottom-color: var(--moss); }

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; font-size: 13.5px; color: var(--text-2); margin-bottom: 8px; }
.form-field input, .form-field textarea {
  width: 100%;
  font-family: var(--font); font-size: 15px; color: var(--text);
  background: rgba(244, 246, 238, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 13px 16px;
  transition: border-color 0.2s, background 0.2s;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: rgba(168, 191, 143, 0.55);
  background: rgba(244, 246, 238, 0.06);
}
.form-field ::placeholder { color: var(--text-3); }
.form-check {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13px; color: var(--text-3);
  margin: 6px 0 24px; cursor: pointer;
}
.form-check input { margin-top: 3px; accent-color: var(--moss); width: 16px; height: 16px; flex: none; }
.contact-form .btn { width: 100%; justify-content: center; }
.form-status { margin-top: 14px; font-size: 14px; font-weight: 500; display: none; }
.form-status.ok { display: block; color: var(--moss); }
.form-status.err { display: block; color: #d49a89; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--border); padding: 70px 0 32px; background: var(--bg-soft); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; color: var(--text-3); max-width: 36ch; font-family: var(--serif); font-style: italic; font-size: 16px; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.footer-col a {
  display: block; text-decoration: none;
  font-size: 14.5px; color: var(--text-2);
  margin-bottom: 11px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--moss); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 28px;
  font-size: 12.5px; color: var(--text-3);
}

/* ============================================================
   ZASEBNOST
   ============================================================ */
.legal { padding: 140px 0 110px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 10px; }
.legal h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.legal-updated { color: var(--text-3); font-size: 13.5px; margin-bottom: 48px; }
.legal h2 { font-size: 21px; font-weight: 600; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text-2); font-size: 15px; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal a { color: var(--moss); }
.legal-back { display: inline-block; margin-top: 48px; text-decoration: none; font-weight: 600; color: var(--moss); }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
  .js .reveal, .js .cell { opacity: 1 !important; transform: none !important; }
  .hero-media img { opacity: 1 !important; transform: none !important; }
  .draw-line { stroke-dashoffset: 0 !important; }
  .chart-area { opacity: 1 !important; }
  .rule, .t-step { opacity: 1 !important; }
  .marquee-track { animation: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .bento, .bento-row2 { grid-template-columns: 1fr; }
  .bento-row3 { grid-template-columns: 1fr; }
  .cell { min-height: 0; }
  .cell-wide { min-height: 420px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
  .nstat:nth-child(3) { border-left: none; }
  .examples-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 860px) {
  .nav { grid-template-columns: auto auto; }
  .nav > .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 74px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(15, 17, 15, 0.92);
    border: 1px solid var(--border-strong);
    border-radius: 22px;
    padding: 12px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 18px; font-size: 16px; }
  .nav-links .lang-switch { align-self: flex-start; margin: 6px 0 4px 6px; }
  .nav-cta-mobile { display: inline-flex !important; justify-content: center; margin-top: 6px; color: #131510 !important; }

  .hero-core { padding-top: 110px; text-align: left; align-items: flex-start; }
  .hero h1, .hero-core > p { text-shadow: 0 2px 30px rgba(11, 12, 10, 0.7); }
  .hero-cta { justify-content: flex-start; }
  .hero-stats { grid-template-columns: 1fr; gap: 0; padding-bottom: 36px; }
  .hstat { padding: 16px 0; border-left: none; border-top: 1px solid rgba(244, 246, 238, 0.14); }
  .hstat:first-child { border-top: none; padding-top: 0; }

  .bento-sec, .calc-sec, .process-sec, .examples-sec, .contact-sec { padding: 80px 0; }
  .split-sec { padding: 30px 0 80px; }
  .numbers-sec { padding: 90px 0; }
  .cta-sec { padding: 100px 0; }
  .sec-head { margin-bottom: 44px; }

  .cell-pad { padding: 26px 22px; }
  .chart-zone { padding: 0 22px 20px; }
  .rule { white-space: normal; }

  .calc { grid-template-columns: 1fr; }
  .calc-inputs, .calc-results { padding: 30px 24px; }
  .process-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr; gap: 36px; }
  .nstat { border-left: none; text-align: left; padding: 0; }
  .nstat-label { margin-left: 0; }
  .numbers-inner h2 { text-align: left; margin: 0 0 52px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .cta-btns .btn { width: 100%; justify-content: center; }
  .contact-form { padding: 28px 20px; }
}

/* ============================================================
   V2.1 | storitvene kartice, podstrani, dodatni polish
   ============================================================ */

/* povezava v kartici */
.cell-link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: auto; padding-top: 22px;
  align-self: flex-start;
  font-size: 14px; font-weight: 600;
  color: var(--moss); text-decoration: none;
  position: relative; z-index: 2;
}
.cell-link svg { transition: transform 0.3s var(--ease); }
.cell-link:hover svg, .cell-clickable:hover .cell-link svg { transform: translateX(5px); }
.chat-panel ~ .cell-link, .funnel-panel ~ .cell-link, .rules-panel ~ .cell-link, .timeline ~ .cell-link { padding-top: 18px; }
.spec-row { margin-top: 18px; }
.spec-row ~ .cell-link { padding-top: 16px; }

.cell-clickable { text-decoration: none; color: inherit; cursor: pointer; }

/* izpostavljena kartica */
.cell-featured { border-color: rgba(168, 191, 143, 0.32); }
.cell-featured:hover { border-color: rgba(168, 191, 143, 0.5); }
.cell-featured::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(168, 191, 143, 0.12), transparent 38%);
  pointer-events: none;
}
.featured-tag {
  flex-shrink: 0;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bg);
  background: var(--moss);
  padding: 5px 13px; border-radius: 100px;
  box-shadow: 0 6px 18px -6px rgba(168, 191, 143, 0.5);
}
.spec-glass {
  color: var(--text-2);
  background: rgba(244, 246, 238, 0.07);
  border-color: rgba(244, 246, 238, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* foto v karticah: rahel zoom ob hoverju */
.cell-img img { transition: transform 1.6s var(--ease); will-change: transform; }
.cell:hover .cell-img img { transform: scale(1.045); }
.split-media > img { transition: transform 1.8s var(--ease); }
.split-media:hover > img { transform: scale(1.02); }

/* lijak (optimizacija prodaje) */
.funnel-panel {
  position: relative;
  margin-top: 24px;
  background: linear-gradient(180deg, rgba(244,246,238,0.09), rgba(244,246,238,0.03) 40%, rgba(11,12,10,0.32));
  border: 1px solid rgba(244, 246, 238, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 24px 48px -20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-radius: 18px;
  padding: 16px 16px 14px;
}
.funnel-panel .panel-head { padding-bottom: 14px; }
.f-row {
  display: grid;
  grid-template-columns: 96px 1fr 30px;
  align-items: center; gap: 12px;
  padding: 7px 0;
}
.f-label { font-size: 12px; color: var(--text-2); white-space: nowrap; }
.f-bar { display: block; height: 7px; border-radius: 4px; background: rgba(244, 246, 238, 0.08); overflow: hidden; }
.f-bar i {
  display: block; height: 100%; width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--moss-deep), var(--moss));
  transition: width 1.4s var(--ease);
}
.cell.in .f-bar i { width: var(--w, 0%); }
.f-row:nth-child(3) .f-bar i { transition-delay: 0.15s; }
.f-row:nth-child(4) .f-bar i { transition-delay: 0.3s; }
.f-val { font-family: var(--mono); font-size: 12px; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.funnel-panel .chat-handoff { font-size: 11.5px; color: var(--text-3); }

/* sijaj na belem gumbu */
.btn-white { position: relative; overflow: hidden; }
.btn-white::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: -80%;
  width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s var(--ease);
  pointer-events: none;
}
.btn-white:hover::after { left: 130%; }

/* FAQ: gladko odpiranje */
.faq-answer { overflow: hidden; }
.js .faq-answer { transition: height 0.45s var(--ease); }

/* ============================================================
   PODSTRAN STORITVE
   ============================================================ */
.svc-hero { min-height: 78dvh; }
.svc-hero .hero-core {
  align-items: flex-start; text-align: left;
  padding-top: 150px; padding-bottom: 90px;
}
.svc-hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.2rem);
  max-width: 20ch;
}
.svc-hero .hero-core > p {
  text-align: left; max-width: 62ch;
  text-wrap: pretty;
}
.svc-hero .hero-cta { justify-content: flex-start; }
.svc-hero .hero-veil {
  background: linear-gradient(180deg, rgba(11,12,10,0.7) 0%, rgba(11,12,10,0.42) 45%, rgba(11,12,10,0.97) 100%);
}

.crumbs {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; margin-bottom: 26px;
}
.crumbs a {
  color: rgba(242, 244, 236, 0.75); text-decoration: none;
  transition: color 0.2s;
}
.crumbs a:first-child { font-family: var(--serif); font-style: italic; font-size: 15px; }
.crumbs a:hover { color: var(--text); }
.crumbs span { color: var(--text-3); }

.svc-points { padding: 96px 0 30px; }
.points-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.point {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.point:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.point strong {
  display: block;
  font-size: 18px; font-weight: 600; letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.point p { font-size: 14.5px; color: var(--text-2); }

.svc-includes { padding: 80px 0; }
.includes-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; align-items: stretch; }
.includes-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
}
.includes-panel h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 26px; }
.includes-list { list-style: none; }
.includes-list li {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 13px 0;
  border-top: 1px solid var(--border);
  font-size: 15px; color: var(--text-2);
}
.includes-list li svg { flex-shrink: 0; margin-top: 4px; }

.fit-panel {
  background: linear-gradient(180deg, rgba(168,191,143,0.10), rgba(168,191,143,0.02) 45%, rgba(11,12,10,0.3));
  border: 1px solid rgba(168, 191, 143, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  display: flex; flex-direction: column;
}
.fit-panel h3 { font-size: 19px; font-weight: 600; margin-bottom: 20px; }
.fit-list { list-style: none; flex: 1; }
.fit-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid rgba(244, 246, 238, 0.09);
  font-size: 14.5px; color: var(--text-2);
}
.fit-list li::before {
  content: '';
  position: absolute; left: 2px; top: 20px;
  width: 13px; height: 2px; border-radius: 2px;
  background: var(--moss);
}
.fit-panel .btn { margin-top: 26px; align-self: flex-start; }

.svc-steps { padding: 40px 0 110px; }
.svc-cta { border-top: 1px solid var(--border); }

.svc-others { padding: 100px 0 110px; }
.others-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.others-grid .cell h3 { font-size: 18px; }
.others-grid .cell-sub { font-size: 13.5px; }

@media (max-width: 1080px) {
  .others-grid { grid-template-columns: repeat(2, 1fr); }
  .includes-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .points-grid { grid-template-columns: 1fr; }
  .others-grid { grid-template-columns: 1fr; }
  .svc-points { padding-top: 72px; }
  .svc-includes { padding: 60px 0; }
  .svc-steps { padding-bottom: 80px; }
  .svc-others { padding: 76px 0 80px; }
  .includes-panel, .fit-panel { padding: 30px 24px; }
  .svc-hero { min-height: 0; }
  .svc-hero .hero-core { padding-top: 130px; padding-bottom: 64px; }
  .f-row { grid-template-columns: 86px 1fr 26px; }
}


/* izpostavljena kartica: mocnejsa tancica za berljivost besedila */
.cell-featured .cell-img::after {
  background: linear-gradient(180deg, rgba(11,12,10,0.88) 0%, rgba(11,12,10,0.55) 48%, rgba(11,12,10,0.78) 100%);
}
.cell-featured .cell-sub { color: rgba(242, 244, 236, 0.86); }

/* ============================================================
   PISKOTKI | glass pasica
   ============================================================ */
.cookie-card {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 90;
  width: min(400px, calc(100vw - 40px));
  background: linear-gradient(180deg, rgba(244,246,238,0.10), rgba(244,246,238,0.04) 40%, rgba(11,12,10,0.45));
  border: 1px solid rgba(244, 246, 238, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 30px 60px -18px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  border-radius: 22px;
  padding: 22px 22px 20px;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.cookie-card.show { opacity: 1; transform: none; pointer-events: auto; }
.cookie-card.hide { opacity: 0; transform: translateY(14px) scale(0.98); pointer-events: none; }

.cookie-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.cookie-head strong { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.cookie-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
.cookie-card p a { color: var(--moss); text-decoration: none; border-bottom: 1px solid rgba(168,191,143,0.4); }
.cookie-card p a:hover { border-bottom-color: var(--moss); }
.cookie-actions { display: flex; gap: 9px; margin-top: 16px; flex-wrap: wrap; }

@media (max-width: 420px) {
  .cookie-card { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px 18px 16px; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* ============================================================
   OPSHIFT | brand in pozicioniranje
   ============================================================ */
.brand { font-family: var(--font); font-style: normal; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand-word { display: inline-flex; align-items: baseline; gap: 5px; }
.brand-word em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 0.95em; color: var(--moss); }
.brand svg { color: var(--text); }

.stmt-sec { padding: 110px 0 30px; }
.stmt-h { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 24ch; }
.stmt-sub { margin-top: 20px; color: var(--text-2); font-size: 17px; max-width: 58ch; }
.stmt-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.stmt-chip {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.stmt-chip:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.stmt-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--moss); margin-top: 7px; flex-shrink: 0; animation: breathe 2.8s ease-in-out infinite; }
.stmt-chip strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.stmt-chip p { font-size: 13.5px; color: var(--text-2); }
@media (max-width: 860px) {
  .stmt-sec { padding: 76px 0 10px; }
  .stmt-chips { grid-template-columns: 1fr; }
}

/* ============================================================
   AI ASISTENT | glass chat
   ============================================================ */
.chat-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 92;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 20px;
  border-radius: 100px;
  border: 1px solid rgba(244, 246, 238, 0.18);
  background: linear-gradient(180deg, rgba(244,246,238,0.12), rgba(244,246,238,0.05) 45%, rgba(11,12,10,0.5));
  color: var(--text);
  font-family: var(--font); font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 22px 44px -14px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  cursor: pointer;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.chat-fab:hover { transform: translateY(-2px); border-color: rgba(168, 191, 143, 0.45); }
.chat-fab svg { color: var(--moss); }
.chat-fab[aria-expanded="true"] { opacity: 0; pointer-events: none; }

.chat-widget {
  position: fixed; right: 20px; bottom: 20px; z-index: 95;
  width: min(390px, calc(100vw - 40px));
  height: min(560px, calc(100dvh - 100px));
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(20,22,19,0.92), rgba(13,14,12,0.96));
  border: 1px solid rgba(244, 246, 238, 0.16);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 40px 80px -24px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  opacity: 0; transform: translateY(16px) scale(0.98);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}
.chat-widget.open { opacity: 1; transform: none; pointer-events: auto; }

.chat-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--border);
}
.chat-top strong { display: block; font-size: 15.5px; font-weight: 600; }
.chat-sub { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--text-3); margin-top: 3px; }
.chat-sub .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--moss); animation: breathe 2.4s ease-in-out infinite; }
.chat-close {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(244, 246, 238, 0.05);
  color: var(--text-2); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.chat-close:hover { background: rgba(244, 246, 238, 0.1); color: var(--text); }

.chat-body { flex: 1; overflow-y: auto; padding: 16px 16px 8px; scrollbar-width: thin; }
.chat-bubble {
  max-width: 86%;
  margin-bottom: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13.5px; line-height: 1.55;
  white-space: pre-wrap; word-wrap: break-word;
  animation: bubblein 0.35s var(--ease);
}
@keyframes bubblein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chat-bubble.bot {
  background: rgba(244, 246, 238, 0.07);
  border: 1px solid var(--border);
  border-bottom-left-radius: 5px;
  color: var(--text);
}
.chat-bubble.user {
  margin-left: auto;
  background: rgba(168, 191, 143, 0.16);
  border: 1px solid rgba(168, 191, 143, 0.3);
  border-bottom-right-radius: 5px;
  color: var(--text);
}
.chat-typing { display: inline-flex; gap: 5px; padding: 13px 16px; }
.chat-typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-3);
  animation: typing 1.2s ease-in-out infinite;
}
.chat-typing i:nth-child(2) { animation-delay: 0.18s; }
.chat-typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

.chat-input {
  display: flex; gap: 8px;
  padding: 12px 14px 6px;
  border-top: 1px solid var(--border);
}
.chat-input input {
  flex: 1;
  font-family: var(--font); font-size: 14px; color: var(--text);
  background: rgba(244, 246, 238, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 11px 16px;
  transition: border-color 0.2s;
}
.chat-input input:focus { outline: none; border-color: rgba(168, 191, 143, 0.55); }
.chat-send {
  width: 42px; height: 42px; border-radius: 50%;
  border: none; cursor: pointer;
  background: var(--text); color: #131510;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s var(--ease), background 0.25s;
}
.chat-send:hover { background: #fff; transform: scale(1.06); }
.chat-send:disabled { opacity: 0.5; cursor: default; transform: none; }
.chat-note { padding: 6px 18px 14px; font-size: 11px; color: var(--text-3); text-align: center; }

@media (max-width: 480px) {
  .chat-widget { right: 10px; left: 10px; bottom: 10px; width: auto; height: min(560px, calc(100dvh - 80px)); }
  .chat-fab { right: 14px; bottom: 14px; }
  .chat-fab span { display: none; }
  .chat-fab { padding: 15px; }
  /* piskotek pasica naj ne prekriva faba */
  .cookie-card { bottom: 84px; }
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-head { padding: 160px 0 56px; }
.blog-head h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); max-width: 18ch; }
.blog-head h1 em, .post-head h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.blog-head p { margin-top: 18px; color: var(--text-2); font-size: 17px; max-width: 56ch; }

.blog-list { padding: 20px 0 110px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.blog-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.blog-card:hover .blog-card-img img { transform: scale(1.045); }
.blog-card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { font-size: 12px; color: var(--text-3); letter-spacing: 0.04em; }
.blog-card h2 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; margin: 10px 0 8px; }
.blog-card p { font-size: 14px; color: var(--text-2); flex: 1; }
.blog-card .cell-link { padding-top: 18px; }

.post-head { padding: 160px 0 30px; }
.post-head h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin: 18px 0 14px; }
.post-img { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong); margin: 26px 0 10px; }
.post-img img { width: 100%; height: auto; display: block; }

.post-body { padding: 26px 0 70px; }
.post-body p { color: var(--text-2); font-size: 16.5px; line-height: 1.75; margin: 0 0 22px; }
.post-body h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  margin: 44px 0 16px;
}
.post-body a { color: var(--moss); text-decoration: none; border-bottom: 1px solid rgba(168, 191, 143, 0.4); transition: border-color 0.2s; }
.post-body a:hover { border-bottom-color: var(--moss); }
.post-body ul { margin: 0 0 22px 22px; color: var(--text-2); }
.post-body li { margin-bottom: 8px; font-size: 16px; }

@media (max-width: 1080px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-head, .post-head { padding-top: 130px; }
  .blog-list { padding-bottom: 80px; }
}

/* ============================================================
   MOTION | brand shift
   ============================================================ */
.brand svg { transition: transform 0.7s var(--ease); }
.brand:hover svg { transform: rotate(180deg); }

.stmt-sec { position: relative; overflow: hidden; }
.stmt-mark {
  position: absolute;
  right: -90px; top: 50%;
  margin-top: -210px;
  color: var(--text);
  opacity: 0.035;
  pointer-events: none;
  will-change: transform;
}
.stmt-sec .wrap { position: relative; z-index: 1; }
@media (max-width: 860px) { .stmt-mark { right: -160px; opacity: 0.03; } }
@media (prefers-reduced-motion: reduce) {
  .brand:hover svg { transform: none; }
}

/* ============================================================
   MNENJA (Cairn postavitev)
   ============================================================ */
.ts-sec { padding: 110px 0 30px; }
.ts-cairn { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; margin-top: 48px; }
.ts-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }

.ts-feature {
  position: relative; margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 460px;
  display: flex;
}
.ts-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ts-feature-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,12,10,0.15) 0%, rgba(11,12,10,0.4) 45%, rgba(11,12,10,0.92) 100%);
}
.ts-feature-body { position: relative; margin-top: auto; padding: 40px; }
.ts-feature blockquote {
  margin: 0 0 26px;
  font-size: clamp(1.3rem, 2.3vw, 1.85rem);
  line-height: 1.32; letter-spacing: -0.015em;
  color: #fff; font-weight: 500;
  max-width: 22ch;
}

.ts-card {
  margin: 0;
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 32px 26px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.ts-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.ts-quote { color: var(--moss); opacity: 0.6; margin-bottom: 16px; }
.ts-card blockquote { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text); flex: 1; }

.ts-feature figcaption, .ts-card figcaption {
  display: flex; align-items: center; gap: 12px;
}
.ts-card figcaption { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.ts-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(168, 191, 143, 0.16);
  border: 1px solid rgba(168, 191, 143, 0.35);
  color: var(--moss);
  font-weight: 600; font-size: 15px;
  flex-shrink: 0;
}
.ts-feature .ts-avatar { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); color: #fff; }
.ts-feature figcaption strong, .ts-card figcaption strong { display: block; font-size: 14px; font-weight: 600; }
.ts-feature figcaption strong { color: #fff; }
.ts-feature figcaption em, .ts-card figcaption em { font-style: normal; font-size: 12.5px; color: var(--text-3); }
.ts-feature figcaption em { color: rgba(255,255,255,0.65); }

@media (max-width: 980px) {
  .ts-cairn { grid-template-columns: 1fr; }
  .ts-feature { min-height: 380px; }
  .ts-side { grid-template-rows: none; }
}
@media (max-width: 860px) { .ts-sec { padding: 76px 0 10px; } .ts-feature-body { padding: 30px; } }

/* ============================================================
   UCINEK (podstrani)
   ============================================================ */
.gain-sec { padding: 10px 0 40px; }
.gain-panel {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 46px;
  align-items: center;
}
.gain-left h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 28px; }
.gain-left h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.gain-bar + .gain-bar { margin-top: 18px; }
.gain-bar-label { display: block; font-size: 13px; color: var(--text-3); margin-bottom: 8px; }
.gain-bar-label.gain-moss { color: var(--moss); }
.gain-track { height: 10px; border-radius: 100px; background: rgba(244, 246, 238, 0.06); border: 1px solid var(--border); overflow: hidden; }
.gain-fill {
  display: block; height: 100%; width: 0;
  border-radius: 100px;
  transition: width 1.6s var(--ease) 0.25s;
}
.gain-fill.full { background: rgba(244, 246, 238, 0.32); }
.gain-fill.part { background: var(--moss); transition-delay: 0.55s; }
.reveal.in .gain-fill.full { width: 96%; }
.reveal.in .gain-fill.part { width: 38%; }
.gain-note { margin-top: 26px; font-size: 13.5px; color: var(--text-3); max-width: 52ch; }
.gain-right { text-align: center; border-left: 1px solid var(--border); padding-left: 40px; }
.gain-num { font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 700; letter-spacing: -0.04em; color: var(--text); line-height: 1; }
.gain-right p { margin-top: 12px; font-size: 14px; color: var(--text-2); max-width: 24ch; margin-left: auto; margin-right: auto; }
@media (max-width: 860px) {
  .gain-panel { grid-template-columns: 1fr; padding: 32px 26px; gap: 28px; }
  .gain-right { border-left: none; border-top: 1px solid var(--border); padding: 26px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .gain-fill { transition: none; }
  .reveal .gain-fill.full { width: 96%; }
  .reveal .gain-fill.part { width: 38%; }
}
