/* ==========================================================================
   Aleksa Marjanović · webmarjanovic.rs
   Svetao i čist: papir, crni tekst, jedan narandžasti akcenat, preklopni telefon.
   ========================================================================== */
@font-face { font-family: "Jakarta"; src: url(jakarta.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(geist-mono.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --bg: #F6F5F1;
  --surface: #FFFFFF;
  --ink: #121211;
  --ink-2: #3B3B38;
  --muted: #6F6D67;
  --line: #E2E0D9;
  --accent: #FF4F1F;
  --accent-ink: #C83A12;
  --phone: #141414;
  --font: "Jakarta", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  --gut: clamp(18px, 4.5vw, 64px);
  --max: 1320px;
  --r: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tipografija ---------- */
.label {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.label i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.h1 { font-size: clamp(2.9rem, 8.2vw, 7.4rem); line-height: .93; letter-spacing: -.05em; font-weight: 700; }
.h2 { font-size: clamp(2.1rem, 4.8vw, 4rem); line-height: 1; letter-spacing: -.04em; font-weight: 700; text-wrap: balance; }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 650; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.muted { color: var(--muted); }
.accent { color: var(--accent-ink); }

/* ---------- dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s, color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--accent); }
.btn--line { box-shadow: inset 0 0 0 1.5px var(--line); background: transparent; }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.arrow::after { content: "↗"; font-weight: 500; }
.link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; transition: color .25s, border-color .25s; }
.link:hover { color: var(--accent-ink); border-color: var(--accent); }

/* ---------- zaglavlje ---------- */
.head { position: sticky; top: 0; z-index: 50; background: rgba(246,245,241,.86); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.head.is-stuck { border-bottom-color: var(--line); }
.head__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; font-size: 17px; }
.brand__mark { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; letter-spacing: .02em; position: relative; }
.brand__mark::after { content: ""; position: absolute; right: -1px; top: -1px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 15.5px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; color: var(--ink-2); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); border-radius: 2px; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.menu-btn span { display: block; width: 18px; height: 1.8px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(2.9px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-2.9px) rotate(-45deg); }
.mnav { display: none; }

/* ---------- PREKLOPNI TELEFON ---------- */
.fold-stage { position: relative; --p: 1; }
.js .fold-stage { height: 240vh; height: 240svh; }
.fold-stage__sticky { position: relative; min-height: calc(100svh - 72px); display: grid; place-items: center; padding: 28px 0 44px; overflow: hidden; }
.js .fold-stage__sticky { position: sticky; top: 72px; height: calc(100svh - 72px); }
.fold-stage__top { position: absolute; left: var(--gut); right: var(--gut); top: 18px; display: flex; justify-content: space-between; gap: 16px; z-index: 2; }
.fold-stage__hint { transition: opacity .4s; opacity: calc(1 - var(--p) * 1.6); }
.fold-stage__hint b { color: var(--ink); font-weight: 600; }

.phone {
  --pw: min(92vw, 1000px, calc((100svh - 190px) * 1.42));
  --ph: calc(var(--pw) / 1.42);
  position: relative; width: var(--pw); height: var(--ph);
  perspective: 2400px;
  transform: translateX(calc((1 - var(--p)) * var(--pw) * -0.25)) scale(calc(.94 + var(--p) * .06));
}
.phone__half {
  position: absolute; top: 0; width: 50%; height: 100%;
  transform-style: preserve-3d;
}
.phone__half--r { right: 0; }
.phone__half--l { left: 0; transform-origin: 100% 50%; transform: rotateY(calc((1 - var(--p)) * 179.9deg)); z-index: 2; }
.phone__face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--phone); padding: 11px; overflow: hidden;
}
.phone__half--l .phone__face--in { border-radius: 34px 6px 6px 34px; padding-right: 3px; }
.phone__half--r .phone__face--in { border-radius: 6px 34px 34px 6px; padding-left: 3px; box-shadow: 0 50px 90px -40px rgba(18,18,17,.55); }
.phone__face--cover { transform: rotateY(180deg); border-radius: 6px 34px 34px 6px; }
.phone__shade { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(90deg, rgba(0,0,0,.0), rgba(0,0,0,.55)); opacity: calc((1 - var(--p)) * .9); }
.phone__half--r .phone__shade { background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,0) 60%); opacity: calc(min(1, (1 - var(--p)) * 3) * (var(--p) * 1.2)); }
.phone__crease { position: absolute; left: 50%; top: 12px; bottom: 12px; width: 2px; margin-left: -1px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.08) 20%, rgba(255,255,255,.08) 80%, transparent); z-index: 3; pointer-events: none; opacity: var(--p); }
.screen { position: relative; height: 100%; border-radius: 25px; overflow: hidden; background: #FBFAF7; color: var(--ink); }
.phone__half--l .screen { border-radius: 25px 4px 4px 25px; }
.phone__half--r .screen { border-radius: 4px 25px 25px 4px; }
.phone__face--cover .screen { border-radius: 4px 25px 25px 4px; background: #0D0D0D; color: #fff; }

/* unutrašnji ekran: levo */
.scr-l { display: grid; grid-template-rows: auto 1fr auto; height: 100%; padding: clamp(14px, 3.2%, 30px) clamp(14px, 6%, 40px); }
.scr-bar { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: clamp(9px, 1.1vw, 12px); color: var(--muted); }
.scr-l__main { align-self: center; display: grid; gap: clamp(8px, 1.6vw, 18px); }
.scr-l__title { font-size: clamp(1.45rem, 4.4vw, 4rem); line-height: .95; letter-spacing: -.05em; font-weight: 700; }
.scr-l__title em { font-style: normal; color: var(--accent); }
.scr-l__text { font-size: clamp(11.5px, 1.35vw, 17px); color: var(--ink-2); max-width: 30em; }
.scr-l__cta { display: flex; flex-wrap: wrap; gap: 8px; }
.scr-l__cta .btn { min-height: clamp(34px, 3.8vw, 48px); padding: 0 clamp(12px, 1.6vw, 22px); font-size: clamp(12px, 1.2vw, 15.5px); }
.scr-l__foot { font-family: var(--mono); font-size: clamp(9px, 1vw, 12px); color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }

/* unutrašnji ekran: desno (aplikacije = projekti) */
.scr-r { display: grid; grid-template-rows: auto 1fr auto; height: 100%; padding: clamp(14px, 3.2%, 30px) clamp(12px, 5%, 36px); gap: 10px; }
.apps { align-self: center; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.4vw, 16px); }
.app { display: grid; gap: 6px; justify-items: center; text-align: center; font-size: clamp(10px, 1.05vw, 13.5px); font-weight: 600; letter-spacing: -.01em; }
.app__ic { width: clamp(46px, 7.2vw, 96px); aspect-ratio: 1; border-radius: 26%; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 28px -18px rgba(0,0,0,.45); transition: transform .3s var(--ease); }
.app__ic img { width: 100%; height: 100%; object-fit: cover; }
.app:hover .app__ic { transform: translateY(-3px) scale(1.04); }
.app small { display: block; font-family: var(--mono); font-weight: 400; font-size: .82em; color: var(--muted); }
.toast { display: flex; align-items: center; gap: 10px; padding: clamp(8px, 1.1vw, 12px) clamp(10px, 1.3vw, 14px); border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 30px -22px rgba(0,0,0,.4); font-size: clamp(10.5px, 1.1vw, 14px); }
.toast b { font-weight: 650; }
.toast__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 4px rgba(255,79,31,.18); }

/* spoljni ekran (zatvoren telefon) */
.cover { display: grid; grid-template-rows: auto auto 1fr auto; height: 100%; padding: clamp(14px, 4%, 28px) clamp(12px, 6%, 26px); gap: 6px; }
.cover .scr-bar { color: rgba(255,255,255,.6); }
.cover__date { margin-top: clamp(10px, 4%, 30px); text-align: center; font-size: clamp(11px, 1.3vw, 15px); color: rgba(255,255,255,.75); }
.cover__time { text-align: center; font-size: clamp(2.6rem, 8vw, 6.4rem); font-weight: 650; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.notes { align-self: end; display: grid; gap: 8px; }
.note { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; align-items: center; padding: clamp(8px, 1.2vw, 12px); border-radius: 16px; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); font-size: clamp(10px, 1.05vw, 13px); line-height: 1.3; }
.note__ic { grid-row: span 2; width: clamp(24px, 2.8vw, 34px); aspect-ratio: 1; border-radius: 9px; overflow: hidden; background: #fff; display: grid; place-items: center; color: var(--ink); font-weight: 700; font-size: .9em; }
.note__ic img { width: 100%; height: 100%; object-fit: cover; }
.note__ic--acc { background: var(--accent); color: #fff; }
.note b { font-weight: 650; }
.note span { color: rgba(255,255,255,.72); }
.cover__hint { margin-top: 10px; text-align: center; font-family: var(--mono); font-size: clamp(9.5px, 1vw, 12px); color: rgba(255,255,255,.6); letter-spacing: .04em; }
.cover__hint::after { content: ""; display: block; width: 36%; height: 4px; margin: 10px auto 0; border-radius: 4px; background: rgba(255,255,255,.4); }

/* ---------- sekcije ---------- */
.sec { padding-block: clamp(72px, 10vw, 136px); }
.sec--line { border-top: 1px solid var(--line); }
.sec--white { background: var(--surface); }
.sec__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec__head .label { grid-column: 1 / -1; }

/* uvod + brojevi */
.intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.intro__text { font-size: clamp(1.6rem, 3.2vw, 2.7rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 650; text-wrap: balance; }
.intro__text span { color: var(--muted); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 22px; }
.stat b { display: block; font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -.05em; font-weight: 700; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 22ch; }

/* lista radova */
.index { border-top: 1px solid var(--ink); }
.irow { position: relative; display: grid; grid-template-columns: 70px 1.3fr 1fr auto 40px; align-items: center; gap: 18px; padding: 24px 4px; border-bottom: 1px solid var(--line); transition: background-color .3s, padding .4s var(--ease); }
a.irow:hover { background: var(--surface); padding-inline: 16px; }
.irow__n { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.irow__t { font-size: clamp(1.25rem, 2.4vw, 2rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.1; }
.irow__c { color: var(--muted); font-size: 15.5px; }
.irow__go { justify-self: end; font-size: 20px; transition: transform .3s var(--ease); }
a.irow:hover .irow__go { transform: translate(3px, -3px); color: var(--accent-ink); }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.pill--live::before { background: #1FA35B; }
.pill--concept::before { background: #3D7BEA; }
.pill--wip::before { background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,79,31,.5); } 70%,100% { box-shadow: 0 0 0 7px rgba(255,79,31,0); } }
.preview { position: fixed; z-index: 40; left: 0; top: 0; width: 300px; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.9); transition: opacity .25s, transform .35s var(--ease); box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); background: #ddd; }
.preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* usluge */
.svc { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.svc__item { padding: 34px 32px 38px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 54px 1fr; gap: 6px 18px; }
.svc__item:nth-child(odd) { border-right: 1px solid var(--line); }
.svc__item:nth-child(even) { padding-left: 32px; }
.svc__n { grid-row: span 2; font-family: var(--mono); font-size: 13px; color: var(--accent-ink); padding-top: 6px; }
.svc__item p { color: var(--ink-2); max-width: 38ch; }
.svc__new { display: inline-block; margin-left: 8px; vertical-align: 3px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 3px 7px; border-radius: 6px; }

/* utisci */
.quotes { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.quote { background: var(--surface); border-radius: var(--r); padding: clamp(26px, 3.4vw, 44px); display: grid; gap: 26px; align-content: space-between; box-shadow: inset 0 0 0 1px var(--line); }
.quote p { font-size: clamp(1.3rem, 2.3vw, 2rem); line-height: 1.2; letter-spacing: -.03em; font-weight: 600; text-wrap: pretty; }
.quote p::before { content: "„"; color: var(--accent); }
.quote p::after { content: "“"; color: var(--accent); }
.quote footer { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.quote footer img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.quote footer span { color: var(--muted); display: block; font-size: 14px; }

/* poziv */
.cta { background: var(--ink); color: #fff; border-radius: clamp(24px, 3vw, 40px); padding: clamp(32px, 6vw, 80px); display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cta .label { color: rgba(255,255,255,.6); }
.cta .h2 { margin-top: 18px; }
.cta p { margin-top: 18px; color: rgba(255,255,255,.75); max-width: 34em; }
.cta__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--ink { background: #fff; color: var(--ink); }
.cta .btn--ink:hover { background: var(--accent); color: #fff; }
.cta .btn--line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); }
.cta .btn--line:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.call { background: #1E1E1C; border-radius: 30px; padding: 26px; display: grid; gap: 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.call__who { display: flex; align-items: center; gap: 14px; }
.call__av { width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-weight: 700; position: relative; }
.call__av::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); animation: ring 1.8s infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.call__who b { display: block; font-size: 18px; }
.call__who .call__av { color: var(--ink); font-size: 16px; }
.call__who span { color: rgba(255,255,255,.6); font-size: 14px; }
.slide { position: relative; height: 62px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.slide__txt { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; color: rgba(255,255,255,.6); pointer-events: none; padding-left: 40px; }
.slide input[type=range] { -webkit-appearance: none; appearance: none; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: transparent; cursor: grab; }
.slide input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 54px; height: 54px; border-radius: 50%; background: #1FA35B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / 22px no-repeat; border: 4px solid #1E1E1C; }
.slide input[type=range]::-moz-range-thumb { width: 50px; height: 50px; border-radius: 50%; background: #1FA35B; border: 4px solid #1E1E1C; }
.call__alt { font-size: 14px; color: rgba(255,255,255,.6); }
.call__alt a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }

/* ---------- strane: zaglavlje strane ---------- */
.phead { padding-block: clamp(48px, 8vw, 110px) clamp(32px, 5vw, 64px); }
.phead .h1 { margin-top: 18px; }
.phead .lead { margin-top: 22px; }

/* radovi: filter + kartice */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 600; transition: background-color .2s, color .2s; }
.filter span { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--muted); margin-left: 4px; }
.filter.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.filter.is-on span { color: rgba(255,255,255,.6); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.card { display: grid; gap: 16px; }
.card[hidden] { display: none; }
.card__img { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
a.card:hover .card__img img { transform: scale(1.03); }
.card__logo { position: absolute; left: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.card__logo img { width: 100%; height: 100%; object-fit: cover; }
.card__meta { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: start; }
.card__meta .h3 { transition: color .2s; }
a.card:hover .card__meta .h3 { color: var(--accent-ink); }
.card__meta p { grid-column: 1; color: var(--muted); font-size: 15.5px; }
.card__meta .pill { grid-row: 1; grid-column: 2; }
.card__soon { display: grid; place-items: center; height: 100%; background: repeating-linear-gradient(-45deg, #F1EFEA 0 14px, #ECEAE4 14px 28px); }
.card__soon span { display: grid; place-items: center; gap: 10px; color: var(--muted); font-weight: 600; }
.card__soon svg { width: 46px; height: 46px; color: var(--ink-2); }
.table { margin-top: clamp(56px, 7vw, 96px); }
.table h2 { margin-bottom: 18px; }
.trow { display: grid; grid-template-columns: 60px 1.4fr 1.4fr 1fr 32px; gap: 16px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.trow--h { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); }
.trow b { font-weight: 650; }
a.trow:hover b { color: var(--accent-ink); }

/* projekat */
.proj-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.back { font-weight: 600; font-size: 15px; color: var(--ink-2); }
.back:hover { color: var(--accent-ink); }
.meta { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.meta div { padding: 16px 16px 18px 0; border-bottom: 1px solid var(--line); }
.meta dt { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.meta dd { margin: 6px 0 0; font-weight: 600; }
.meta a { border-bottom: 1.5px solid var(--accent); }
.browser { border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(0,0,0,.45); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser__bar span { margin-left: 10px; }
.browser img { width: 100%; }
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.story__text { display: grid; gap: 18px; }
.story__text p { color: var(--ink-2); font-size: 1.08rem; max-width: 34em; }
.mphone { justify-self: center; width: min(320px, 78vw); border-radius: 44px; padding: 10px; background: var(--phone); box-shadow: 0 40px 80px -40px rgba(0,0,0,.5); }
.mphone img { border-radius: 34px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.next { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.next .h2 { transition: color .2s; }
.next:hover .h2 { color: var(--accent-ink); }

/* o meni */
.about { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.mono-av { width: clamp(120px, 16vw, 200px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 700; letter-spacing: -.04em; position: relative; }
.mono-av::after { content: ""; position: absolute; right: 8%; top: 8%; width: 18%; height: 18%; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px var(--bg); }
.about__text { display: grid; gap: 20px; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 40em; }
.about__text strong { color: var(--ink); font-weight: 650; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--surface); border-radius: var(--r); padding: 26px 24px 28px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 12px; align-content: start; }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--accent-ink); }
.step p { color: var(--ink-2); font-size: 15.5px; }
.step small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tools li { padding: 9px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 500; }

/* kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cbox { background: var(--surface); border-radius: var(--r); padding: 24px 26px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; }
.cbox .label { margin-bottom: 4px; }
.cbox a.big { font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 650; letter-spacing: -.02em; }
.cbox a.big:hover { color: var(--accent-ink); }
.copy { justify-self: start; margin-top: 4px; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; }
.copy.is-done { background: var(--ink); color: #fff; box-shadow: none; }

/* ---------- kalendar (Netlify forma) ---------- */
.book { position: relative; margin-top: clamp(28px, 4vw, 48px); background: var(--surface); border-radius: clamp(22px, 2.6vw, 32px); box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: 1.15fr .9fr 1fr; }
.book__col { padding: clamp(22px, 3vw, 36px); display: grid; align-content: start; gap: 16px; min-width: 0; }
.book__col + .book__col { border-left: 1px solid var(--line); }
.book__step { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; }
.book__step span { color: var(--accent-ink); }
.book__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cal { display: grid; gap: 12px; }
.cal__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cal__month { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; text-transform: capitalize; }
.cal__nav { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, opacity .2s; }
.cal__nav:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cal__nav:disabled { opacity: .35; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__dow span { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; color: var(--muted); text-align: center; }
.cal__day { position: relative; aspect-ratio: 1; min-height: 36px; border-radius: 12px; border: 0; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color .2s, color .2s, box-shadow .2s; }
.cal__day:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cal__day:disabled { background: transparent; box-shadow: none; color: #B7B4AC; font-weight: 500; cursor: default; }
.cal__day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.cal__day.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.cal__legend { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.cal__legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.slots__day { font-size: clamp(1.2rem, 1.7vw, 1.45rem); font-weight: 700; letter-spacing: -.02em; }
.slots__day.is-empty { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { min-height: 44px; border-radius: 999px; border: 0; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 14px; transition: background-color .2s, color .2s, box-shadow .2s; }
.slot:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.slot.is-on { background: var(--accent); color: #fff; box-shadow: none; }
.ways { border: 0; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ways legend { width: 100%; padding: 0; margin-bottom: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.way { position: relative; cursor: pointer; }
.way input { position: absolute; opacity: 0; pointer-events: none; }
.way span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 600; transition: background-color .2s, color .2s; }
.way input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.way input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.fld { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.fld__l small { font-weight: 400; color: var(--muted); }
.fld input, .fld textarea { width: 100%; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: var(--bg); border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: 14px; padding: 12px 14px; transition: box-shadow .2s; }
.fld textarea { resize: vertical; min-height: 76px; }
.fld input::placeholder { color: #A9A69E; }
.fld input:focus, .fld textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); background: #fff; }
.book__pick { margin-top: 4px; padding: 13px 15px; border-radius: 14px; background: var(--bg); font-size: 14.5px; color: var(--muted); }
.book__pick b { color: var(--ink); }
.book__pick.is-ready { background: rgba(255,79,31,.09); color: var(--ink); }
.book__submit { width: 100%; }
.book__submit[aria-busy="true"] { opacity: .6; pointer-events: none; }
.book__fine { font-size: 13.5px; color: var(--muted); }
.book__err { font-size: 14.5px; color: var(--accent-ink); }
.book__err a { font-weight: 700; border-bottom: 1.5px solid currentColor; }
.book__done { grid-column: 1 / -1; padding: clamp(32px, 5vw, 64px); display: grid; gap: 16px; justify-items: start; }
.book__done[hidden] { display: none; }
.book__done:focus { outline: none; }
.book__done-title { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.045em; font-weight: 700; }
.book__done-text { font-size: 1.08rem; color: var(--ink-2); max-width: 44ch; }
.book__done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.book.is-done > .book__col { display: none; }

/* ---------- podnožje ---------- */
.foot { margin-top: clamp(72px, 10vw, 136px); background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 104px) 0 36px; }
.foot__big { font-size: clamp(2.6rem, 8vw, 7rem); font-weight: 700; letter-spacing: -.055em; line-height: .92; display: inline-block; transition: color .25s; }
.foot__big:hover { color: var(--accent); }
.foot__big span { color: var(--accent); }
.foot__grid { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 400; margin-bottom: 12px; }
.foot li a { display: inline-block; padding: 4px 0; color: rgba(255,255,255,.85); }
.foot li a:hover { color: var(--accent); }
.foot__small { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,.5); }

/* ---------- ulazak ---------- */
.js [data-in] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-in].in { opacity: 1; transform: none; }

/* ---------- prilagođavanje ---------- */
@media (max-width: 1100px) {
  .book { grid-template-columns: 1.1fr .9fr; }
  .book__col--form { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line); grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .book__col--form > :is(.book__step, .fld--full, .book__pick, .book__submit, .book__fine, .book__err) { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav, .head .btn { display: none; }
  .menu-btn { display: block; }
  .mnav { display: block; position: fixed; inset: 72px 0 0; z-index: 45; background: var(--bg); padding: 28px var(--gut); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; }
  .mnav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .3s, transform .3s var(--ease); }
  .mnav a { display: block; padding: 12px 0; font-size: 2.2rem; font-weight: 700; letter-spacing: -.04em; border-bottom: 1px solid var(--line); }
  .mnav a[aria-current="page"] { color: var(--accent-ink); }
  .mnav .btn { margin-top: 28px; width: 100%; font-size: 17px; }
  .intro, .quotes, .cta, .story, .about, .contact { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc__item, .svc__item:nth-child(even) { padding: 28px 0 30px; border-right: 0 !important; }
  .irow { grid-template-columns: 44px 1fr auto; gap: 6px 12px; padding: 20px 2px; }
  .irow__c { grid-column: 2 / 4; grid-row: 2; font-size: 14.5px; }
  .irow .pill { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 6px; }
  .irow__go { grid-column: 3; grid-row: 1; }
  .cards { grid-template-columns: 1fr; }
  .meta { grid-template-columns: 1fr 1fr; }
  .trow { grid-template-columns: 40px 1fr auto; }
  .trow > :nth-child(3) { display: none; }
  .trow > :nth-child(5) { display: none; }
  .book { grid-template-columns: 1fr; }
  .book__col + .book__col { border-left: 0; border-top: 1px solid var(--line); }
  .book__col--form { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > :first-child { grid-column: 1 / -1; }
  .preview { display: none; }
  .phone { --pw: min(94vw, 560px); --ph: min(calc(var(--pw) * 1.3), calc(100svh - 200px)); }
  .scr-l__text { display: none; }
  .scr-l__foot { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .steps { grid-template-columns: 1fr; }
  .sec__head { grid-template-columns: 1fr; }
  .fold-stage__top .label:last-child { display: none; }
  .scr-l__cta .btn--line { display: none; }
  .apps { gap: 10px 6px; }
  .toast { font-size: 10.5px; padding: 8px; gap: 7px; }
  .toast__dot { width: 8px; height: 8px; }
  .cover__time { font-size: 2.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .fold-stage { height: auto; }
  .js .fold-stage__sticky { position: relative; top: 0; }
}
