/* Partner Space — marketinška strana proizvoda (R02). Tamna „noćna knjiga"; statusna šina je struktura strane. */
@font-face { font-family: "Schib"; src: url(../shared/fonts/SchibstedGrotesk-var-latinext.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Schib"; src: url(../shared/fonts/SchibstedGrotesk-italic-var-latinext.woff2) format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
  --night: #111a29; --night-2: #18233a; --night-3: #22304b; --bone: #efebe3; --fog: #a2aaba; --line: rgb(239 235 227 / 0.14);
  --lamp: #f2a541; --lamp-ink: #1b1306; --r: 2px; --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: clamp(20px, 4vw, 56px); --max: 1360px;
  color-scheme: dark;
}
:root[data-theme=light] { color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--night); color: var(--bone); font: 430 18px/1.58 "Schib", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 820; letter-spacing: -0.022em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.9rem); }
h3 { font-size: 1.4rem; font-weight: 720; letter-spacing: -0.01em; line-height: 1.18; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: var(--r); border: 1.5px solid var(--lamp); background: var(--lamp); color: var(--lamp-ink); font: 700 17px/1 "Schib", sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 160ms var(--ease), background-color 160ms ease, color 160ms ease; }
.btn:active { transform: scale(0.97); }
.btn.line { background: transparent; border-color: rgb(239 235 227 / 0.5); color: var(--bone); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: #f6b964; } .btn.line:hover { background: var(--bone); color: var(--night); border-color: var(--bone); } }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgb(17 26 41 / 0.86); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.nav.stuck { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -0.015em; text-decoration: none; }
.brand-mark { display: inline-grid; gap: 4px; width: 22px; }
.brand-mark i { display: block; height: 4px; background: var(--bone); }
.brand-mark i + i { width: 62%; background: var(--lamp); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--fog); }
.nav-links a:not(.btn):hover { color: var(--bone); }

/* hero */
.hero { position: relative; padding-block: clamp(44px, 6vw, 84px) clamp(56px, 6vw, 88px); background: radial-gradient(90% 70% at 78% 30%, var(--night-3), var(--night) 70%); overflow: hidden; }
.hero[data-slot-ok] { background: var(--night) var(--plate) center / cover no-repeat; }
.hero-in { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy h1 { font-size: clamp(2.9rem, 5.6vw, 5.6rem); font-weight: 850; letter-spacing: -0.03em; line-height: 0.98; }
.hero-sub { margin-top: 26px; font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--fog); max-width: 30rem; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-visual { position: relative; padding-bottom: 7%; }
.hv-desk { margin: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 40px 90px -30px rgb(0 0 0 / 0.7), 0 0 0 1px var(--line); }
.hv-phone { position: absolute; right: -2%; bottom: -4%; width: 31%; margin: 0; border-radius: 28px; overflow: hidden; border: 7px solid #070b12; box-shadow: 0 30px 70px -18px rgb(0 0 0 / 0.75); }

/* statusna šina (stvarni statusi proizvoda) */
.rail-h { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.rail-h li { position: relative; padding-top: 26px; font-size: 15px; color: var(--fog); }
.rail-h li::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.rail-h li::after { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--night); border: 2px solid rgb(239 235 227 / 0.35); }
.rail-h li.done::before, .rail-h li.now::before { background: var(--lamp); }
.rail-h li.now::before { right: 100%; }
.rail-h li.done::after { background: var(--lamp); border-color: var(--lamp); }
.rail-h li.now::after { background: var(--lamp); border-color: var(--lamp); box-shadow: 0 0 0 6px rgb(242 165 65 / 0.22); }
.rail-h b { display: block; font-weight: 700; color: var(--bone); font-size: 16px; }
.rail-h li:not(.done):not(.now) b { color: var(--fog); font-weight: 560; }
.rail-h span { font-size: 13.5px; }
.rail-cap { margin-top: 18px; font-size: 14px; color: var(--fog); }

/* dva glasa */
.voices { padding-block: clamp(96px, 12vw, 168px); }
.voices h2 { max-width: 22ch; }
.voices-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.voices blockquote { margin: 0; padding: clamp(28px, 3.5vw, 48px) clamp(20px, 3vw, 44px) 0 0; }
.voices blockquote + blockquote { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--line); }
.voices blockquote p { font-size: clamp(1.45rem, 2.4vw, 2.2rem); font-style: italic; font-weight: 560; letter-spacing: -0.012em; line-height: 1.22; }
.voices cite { display: block; margin-top: 18px; font-style: normal; font-size: 15px; color: var(--fog); }
.v-firm p { color: var(--fog); }

/* film */
.film { padding-block: clamp(72px, 9vw, 120px); background: var(--night-2); }
.film-in { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.film-head { display: grid; gap: 16px; }
.film-head p { color: var(--fog); }
.film-note { font-size: 14px; }
.film-frame { aspect-ratio: 16 / 9; background: #070b12; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.film-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }

/* put preporuke: vremenska linija sa šinom */
.path { padding-block: clamp(96px, 12vw, 160px); }
.path-body { position: relative; margin-top: clamp(48px, 6vw, 80px); padding-left: clamp(40px, 5vw, 72px); }
.path-rail { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.path-fill { position: absolute; inset: 0; background: var(--lamp); transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform 500ms var(--ease); }
.stations { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(72px, 9vw, 128px); }
.station { position: relative; display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.station::before { content: ""; position: absolute; left: calc(-1 * clamp(40px, 5vw, 72px)); top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--night); border: 2px solid rgb(239 235 227 / 0.35); transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease; }
.station.lit::before { background: var(--lamp); border-color: var(--lamp); box-shadow: 0 0 0 6px rgb(242 165 65 / 0.2); }
.st-copy { display: grid; gap: 14px; align-self: start; }
.who { font-size: 14px; font-weight: 700; color: var(--lamp); }
.who.firm { color: #9cc3ff; }
.who.both { color: var(--bone); }
.st-copy h3 { font-size: clamp(1.6rem, 2.3vw, 2.2rem); letter-spacing: -0.022em; }
.st-copy p { color: var(--fog); max-width: 28rem; }
.st-shot { position: relative; margin: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 70px -30px rgb(0 0 0 / 0.8), 0 0 0 1px var(--line); }
.pin { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); outline: 3px solid var(--lamp); outline-offset: 5px; pointer-events: none; }
.station:nth-child(even) { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.62fr); }
.station:nth-child(even) .st-copy { order: 2; }

/* dogovor */
.deal { padding-block: clamp(80px, 10vw, 136px); background: var(--bone); color: var(--night); }
.deal h2 { max-width: 20ch; }
.deal-cols { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: clamp(24px, 3vw, 48px); margin-top: 44px; align-items: start; }
.deal h3 { font-size: 1.05rem; padding-bottom: 12px; border-bottom: 2px solid var(--night); }
.deal ul { list-style: none; margin: 8px 0 0; padding: 0; }
.deal li { padding: 10px 0; color: #3b4558; }
.deal li + li { border-top: 1px solid rgb(17 26 41 / 0.14); }
.deal-shot { margin: 8px 0 0; grid-column: 1 / -1; }
.deal-shot img { border: 1px solid rgb(17 26 41 / 0.16); }
.deal-shot figcaption { margin-top: 10px; font-size: 14px; color: #4f586a; }

/* demo */
.demo { padding-block: clamp(80px, 10vw, 128px); }
.demo-sub { margin-top: 14px; color: var(--fog); max-width: 46rem; }
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin: 32px 0 18px; }
.seg { display: inline-flex; border: 1px solid var(--line); }
.seg button { min-height: 46px; padding: 0 24px; border: 0; background: transparent; font: 700 16px/1 "Schib", sans-serif; color: var(--fog); cursor: pointer; }
.seg button[aria-pressed=true] { background: var(--bone); color: var(--night); }
.coach { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; font-size: 15px; color: var(--fog); }
.coach li { display: inline-flex; align-items: center; gap: 8px; }
.coach i { font-style: normal; display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1.5px solid var(--line); font-size: 13px; font-weight: 700; }
.coach li.now { color: var(--bone); }
.coach li.now i { background: var(--lamp); border-color: var(--lamp); color: var(--lamp-ink); }
.coach li.done { text-decoration: line-through; text-decoration-thickness: 1px; }
.coach li.done i { background: var(--bone); border-color: var(--bone); color: var(--night); }
.demo-frame { border: 1px solid var(--line); background: #fff; height: min(860px, 86vh); }
.demo-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.demo-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 16px; font-size: 15px; color: var(--fog); }

/* provereno */
.facts { padding-block: clamp(72px, 9vw, 120px); background: var(--night-2); }
.facts-in { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 64px); }
.facts-list { margin: 0; display: grid; }
.facts-list div { display: grid; grid-template-columns: 14rem 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.facts-list dt { font-weight: 700; }
.facts-list dd { margin: 0; color: var(--fog); }

.final { padding-block: clamp(88px, 11vw, 150px); }
.final .wrap { display: grid; gap: 22px; justify-items: start; }
.final h2 { font-size: clamp(2.4rem, 5vw, 4.8rem); max-width: 18ch; }
.final p { color: var(--fog); max-width: 34rem; }
.foot { padding-block: 28px; font-size: 14px; color: var(--fog); border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }


/* ---- enrichment R01 (O-7): real UI callout, section plates, lesson strip, icons ---- */
.ico { display: inline-block; width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.16em; margin-right: 9px; background: var(--lamp); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.callout { position: absolute; margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 70px -24px rgb(0 0 0 / 0.75), 0 0 0 1px var(--line); z-index: 3; }
.callout img { width: 100%; display: block; }
.c-partner { left: -9%; bottom: -12%; width: 52%; }
@media (prefers-reduced-motion: no-preference) { .callout { opacity: 0; transform: translateY(22px); animation: psrise 900ms var(--ease) 900ms forwards; } }
@keyframes psrise { to { opacity: 1; transform: none; } }
.plate-full { position: relative; isolation: isolate; }
.plate-full.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover no-repeat; }
.plate-full.has-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(17 26 41 / 0.94) 0%, rgb(17 26 41 / 0.7) 50%, rgb(17 26 41 / 0.35) 100%); }
.lessons { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.lessons li { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; font-size: 15px; color: var(--bone); }
.lessons img { border-radius: 4px; aspect-ratio: 23 / 10; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.path-intro { margin: clamp(32px, 4vw, 56px) 0 0; border-radius: 6px; aspect-ratio: 24 / 8; background: var(--night-2) var(--bg, none) center 60% / cover no-repeat; box-shadow: 0 0 0 1px var(--line); }
.path-intro:not(.has-bg) { display: none; }
.photo-card { margin: 8px 0 0; max-width: 320px; background: var(--night-2); padding: 8px 8px 10px; border-radius: 8px; box-shadow: 0 24px 50px -24px rgb(0 0 0 / 0.7), 0 0 0 1px var(--line); transform: rotate(-1.4deg); }
.photo-card img { border-radius: 5px; aspect-ratio: 23 / 9; object-fit: cover; }
.photo-card figcaption { margin-top: 8px; font-size: 14px; color: var(--fog); line-height: 1.35; }
.deal-photo { margin: clamp(28px, 4vw, 44px) 0 0; border-radius: 6px; aspect-ratio: 24 / 8; background: var(--night) var(--bg, none) center / cover no-repeat; }
.deal-photo:not(.has-bg) { display: none; }
.deal .ico { background: var(--night); }
.deal ul.ic-no .ico { background: rgb(17 26 41 / 0.45); }
.deal ul.ic-yes, .deal ul.ic-no { list-style: none; padding-left: 0; }
.deal ul.ic-yes li, .deal ul.ic-no li { display: flex; align-items: baseline; }
.facts-list dt { display: flex; align-items: center; }
@media (max-width: 860px) {
  .callout.c-partner { position: relative; left: auto; bottom: auto; width: 100%; margin-top: 20px; }
  .lessons li { grid-template-columns: 80px 1fr; }
  .path-intro, .deal-photo { aspect-ratio: 16 / 9; }
  .photo-card { transform: none; max-width: none; }
  .plate-full.has-bg::after { background: linear-gradient(180deg, rgb(17 26 41 / 0.9), rgb(17 26 41 / 0.72)); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { opacity: 0; transform: translateY(16px); animation: rise 700ms var(--ease) forwards; }
  .hero-copy > *:nth-child(2) { animation-delay: 90ms; } .hero-copy > *:nth-child(3) { animation-delay: 160ms; }
  .hv-desk { opacity: 0; transform: translateX(24px); animation: rise 900ms var(--ease) 240ms forwards; }
  .hv-phone { opacity: 0; transform: translateY(32px); animation: rise 900ms var(--ease) 520ms forwards; }
  .rail-h li::before { transform-origin: left; transform: scaleX(0); animation: grow 520ms var(--ease) forwards; }
  .rail-h li:nth-child(1)::before { animation-delay: 700ms; } .rail-h li:nth-child(2)::before { animation-delay: 900ms; } .rail-h li:nth-child(3)::before { animation-delay: 1100ms; }
  .rail-h li:nth-child(n+4)::before { animation-delay: 1200ms; }
  .rv { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 700ms var(--ease); }
  .rv.in { opacity: 1; transform: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes grow { to { transform: none; } }

.review [data-slot-wait]::after { content: attr(data-slot-wait); position: absolute; left: 12px; top: 12px; z-index: 5; background: #fff3c4; color: #4a3b00; font: 700 13px/1.3 "Schib", sans-serif; padding: 6px 10px; border: 1px dashed #b38f00; max-width: 80%; }

/* telefon: posebna režija */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .nav-links a:not(.btn) { display: none; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(2.5rem, 11vw, 3.6rem); }
  .cta-row .btn { flex: 1 1 auto; }
  .hero-visual { padding: 8px 0 0; display: grid; justify-items: center; }
  .hv-desk { display: none; }
  .hv-phone { position: static; width: min(72vw, 300px); }
  .rail-h { grid-template-columns: 1fr; gap: 0; padding-left: 30px; margin-top: 40px; }
  .rail-h li { padding: 0 0 18px; }
  .rail-h li::before { left: -23px; right: auto; top: 16px; bottom: -2px; width: 2px; height: auto; }
  .rail-h li.now::before { background: var(--line); }
  .rail-h li:last-child::before { display: none; }
  .rail-h li::after { left: -30px; top: 2px; }
  @media (prefers-reduced-motion: no-preference) { .rail-h li::before { transform-origin: top; } }
  .voices-grid { grid-template-columns: 1fr; }
  .voices blockquote + blockquote { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 28px; }
  .film-in, .facts-in { grid-template-columns: 1fr; }
  .path-body { padding-left: 34px; }
  .station { grid-template-columns: 1fr; }
  .station::before { left: -34px; }
  .station:nth-child(even) { grid-template-columns: 1fr; }
  .station:nth-child(even) .st-copy { order: 0; }
  .st-shot { width: min(78vw, 330px); border-radius: 26px; border: 7px solid #070b12; }
  .pin { display: none; }
  .deal-cols { grid-template-columns: 1fr; }
  .facts-list div { grid-template-columns: 1fr; gap: 6px; }
  .demo-frame { height: 780px; }
  .foot .wrap { flex-direction: column; }
}
@media (max-width: 420px) { .cta-row { flex-direction: column; } }
