/* ==========================================================================
   WP Salad - main.css
   Svetla, mirna tema: topla bela, serif naslovi, nežne kartice.
   ========================================================================== */

:root {
	--ivory: #FAF9F5;
	--sand: #F0EEE6;
	--sand-2: #E8E5DA;
	--white: #FFFFFF;
	--ink: #1F1E1D;
	--ink-2: #3D3C39;
	--mut: #6F6E69;
	--mut-2: #9A9892;
	--ln: rgba(31, 30, 29, .1);
	--ln-2: rgba(31, 30, 29, .18);
	--ok: #4C9A6A;

	--acc: #D97757;
	--acc-ink: #FFFFFF;
	--acc-2: #B5583A;
	--acc-rgb: 217, 119, 87;
	--err: #C2412D;

	--f-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
	--f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--wrap: 1240px;
	--gut: clamp(16px, 4vw, 40px);
	--hdr: 68px;
	--r: 18px;
	--r-sm: 12px;
	--shadow: 0 1px 2px rgba(31, 30, 29, .04), 0 4px 16px rgba(31, 30, 29, .04);
	--shadow-lg: 0 2px 6px rgba(31, 30, 29, .04), 0 18px 48px rgba(31, 30, 29, .09);
	--ease: cubic-bezier(.22, 1, .36, 1);
	--sheet: clamp(20px, 2.6vw, 36px);
}

[data-theme="light"], [data-theme-hdr="light"] { --bg: var(--ivory); --card: var(--white); --fg: var(--ink); }
[data-theme="sand"], [data-theme-hdr="sand"] { --bg: var(--sand); --card: var(--ivory); --fg: var(--ink); }
.logo-svg { --lg1: var(--acc); --lg2: #8C8A85; --lg3: #C9C6BC; --lgs: var(--acc-ink); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ivory);
	color: var(--ink);
	font-family: var(--f-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
::selection { background: rgba(var(--acc-rgb), .25); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.mono { font-family: var(--f-mono); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }
.ico { width: 1.1em; height: 1.1em; flex: none; }

section[data-theme], footer[data-theme] { background: var(--bg); color: var(--fg); position: relative; }

/* Prelaz između svetle i peščane sekcije: zaobljen vrh */
:is([data-theme="light"] + [data-theme="sand"], [data-theme="sand"] + [data-theme="light"]) {
	border-radius: var(--sheet) var(--sheet) 0 0;
	margin-top: calc(var(--sheet) * -1);
	z-index: 1;
}

/* ---------- Tipografija ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--mut); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.sec-title, .hero-title, .phero-title, .cta-title, .case-title {
	font-family: var(--f-serif);
	font-weight: 400;
	letter-spacing: -.02em;
	line-height: 1.04;
	text-wrap: balance;
	font-optical-sizing: auto;
}
.sec-title { font-size: clamp(2.2rem, 4.4vw, 3.9rem); }
.sec-title em, .hero-title em, .phero-title em, .cta-title em, .case-title em, .about-quote em, .form-done h2 em { font-style: italic; color: var(--acc-2); }
.sec-lead { font-size: clamp(1.05rem, 1.25vw, 1.2rem); color: var(--mut); max-width: 48ch; line-height: 1.6; }
.sec-head { margin-bottom: clamp(40px, 5.5vw, 76px); }
.sec-head-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px 48px; align-items: end; }
.sec-head-split .sec-lead { justify-self: end; }

.split-line-mask { padding-bottom: .12em; margin-bottom: -.12em; }

html.js:not(.rm) [data-split], html.js:not(.rm) [data-reveal] { opacity: 0; }
html.js:not(.rm):not(.wps-ready) [data-split], html.js:not(.rm):not(.wps-ready) [data-reveal] { animation: wps-show .6s 2.5s forwards; }
html.wps-ready [data-split] { opacity: 1; }
@keyframes wps-show { to { opacity: 1; transform: none; } }

/* ---------- Dugmad ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: var(--r-sm); font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s, transform .25s var(--ease); }
.btn:active { transform: scale(.98); }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(3px); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn-acc, .btn-ink { background: var(--ink); color: #fff; }
.btn-acc:hover, .btn-ink:hover { background: #000; }
.btn-ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ln-2), var(--shadow); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink), var(--shadow); }

/* ---------- Status tačka ---------- */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--ok); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 80; height: var(--hdr); color: var(--ink); transition: transform .5s var(--ease); }
.hdr::before { content: ""; position: absolute; inset: 0; background: rgba(250, 249, 245, .82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.hdr[data-theme-hdr="sand"]::before { background: rgba(240, 238, 230, .85); }
.hdr.is-scrolled::before { border-bottom-color: var(--ln); }
.hdr.is-hidden { transform: translateY(-100%); }
html.menu-open .hdr { transform: none; }
.hdr-in { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; color: var(--ink); flex: none; }
.brand-svg { height: 34px; width: auto; }
.logo-svg .lg-wp { opacity: .55; }
.nav { margin-left: auto; }
.nav-list { display: flex; gap: 2px; }
.nav-list a { display: inline-flex; padding: 8px 13px; font-size: 15px; font-weight: 500; color: var(--ink-2); border-radius: 10px; transition: background .2s, color .2s; }
.nav-list a:hover { background: var(--sand); color: var(--ink); }
.nav-list .current-menu-item:not(.menu-item-type-custom) a { background: var(--sand); color: var(--ink); }
.hdr-r { display: flex; align-items: center; gap: 16px; }
.hdr-phone { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hdr-phone:hover { color: var(--ink); }
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--ln-2); position: relative; background: var(--white); }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 24px; }
html.menu-open .burger span:first-child { top: 20.5px; transform: rotate(45deg); }
html.menu-open .burger span:last-child { top: 20.5px; transform: rotate(-45deg); }

.mnav { position: fixed; inset: 0; z-index: 70; visibility: hidden; pointer-events: none; }
.mnav-bg { position: absolute; inset: 0; background: var(--ivory); opacity: 0; transition: opacity .35s; }
html.menu-open .mnav { visibility: visible; pointer-events: auto; }
html.menu-open .mnav-bg { opacity: 1; }
.mnav-in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: calc(var(--hdr) + 24px); padding-bottom: 28px; }
.mnav-list li { border-bottom: 1px solid var(--ln); overflow: hidden; }
.mnav-list a { display: block; padding: 14px 0; font-family: var(--f-serif); font-size: clamp(2rem, 9vw, 3rem); line-height: 1.1; transform: translateY(30%); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
html.menu-open .mnav-list a { transform: none; opacity: 1; }
html.menu-open .mnav-list li:nth-child(2) a { transition-delay: .04s; }
html.menu-open .mnav-list li:nth-child(3) a { transition-delay: .08s; }
html.menu-open .mnav-list li:nth-child(4) a { transition-delay: .12s; }
html.menu-open .mnav-list li:nth-child(5) a { transition-delay: .16s; }
.mnav-foot { display: flex; flex-direction: column; gap: 10px; font-size: 17px; color: var(--ink-2); opacity: 0; transition: opacity .4s .2s; }
.mnav-foot .btn { align-self: flex-start; margin-top: 8px; }
html.menu-open .mnav-foot { opacity: 1; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 9vh, 110px); overflow: clip; }
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--ln), var(--shadow); font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 30px; }
.hero-title { font-size: clamp(2.9rem, 7.2vw, 6.4rem); line-height: 1; max-width: 14ch; }
.hero-text { margin-top: 26px; font-size: clamp(1.08rem, 1.4vw, 1.3rem); color: var(--mut); max-width: 50ch; line-height: 1.55; }
.hero-for { margin-top: 18px; font-size: 14.5px; color: var(--mut-2); max-width: 70ch; }

.composer { margin-top: 40px; width: min(100%, 720px); background: var(--white); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--ln), var(--shadow-lg); padding: 18px 18px 14px; text-align: left; transition: box-shadow .3s; }
.composer:focus-within { box-shadow: inset 0 0 0 1px var(--ln-2), 0 2px 6px rgba(31, 30, 29, .05), 0 24px 60px rgba(31, 30, 29, .12); }
.composer textarea { width: 100%; border: 0; outline: none; resize: none; font: inherit; font-size: 17.5px; line-height: 1.5; color: var(--ink); background: transparent; min-height: 56px; padding: 4px 6px; }
.composer textarea::placeholder { color: var(--mut-2); }
.composer-bar { display: flex; align-items: flex-end; gap: 12px; margin-top: 8px; }
.composer-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.cchip { position: relative; cursor: pointer; }
.cchip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cchip span { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 9px; background: var(--ivory); box-shadow: inset 0 0 0 1px var(--ln); font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; }
.cchip:hover span { box-shadow: inset 0 0 0 1px var(--ln-2); }
.cchip input:checked + span { background: rgba(var(--acc-rgb), .12); color: var(--acc-2); box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .45); }
.cchip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.composer-send { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; transition: transform .2s var(--ease); }
.composer-send:hover { transform: translateY(-1px); }
.composer-send .ico { width: 20px; height: 20px; }

/* Lepeza projekata ispod heroja (interaktivna) */
.strip { margin-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(60px, 8vw, 100px); }
.strip-in { position: relative; height: clamp(220px, 27vw, 380px); perspective: 1600px; }
.strip-card {
	--c: calc(var(--i) - (var(--n) - 1) / 2);
	--ac: max(var(--c), calc(var(--c) * -1));
	--push: 0px; --lift: 0px; --rot: 1; --sc: 1;
	position: absolute;
	top: 0;
	left: 50%;
	width: clamp(240px, 30vw, 460px);
	transform: translateX(calc(-50% + var(--c) * clamp(90px, 13vw, 200px) + var(--push))) translateY(calc(var(--ac) * 16px + var(--lift))) rotate(calc(var(--c) * 3deg * var(--rot))) scale(var(--sc));
	z-index: calc(10 - var(--ac));
	transition: transform .55s var(--ease);
	outline-offset: 6px;
}
.strip-card-in { display: block; border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--ln), 0 30px 60px -24px rgba(31, 30, 29, .28); transition: box-shadow .4s; }
.strip-card.is-hot { z-index: 40; }
.strip-card.is-hot .strip-card-in { box-shadow: 0 0 0 1px var(--ln-2), 0 40px 80px -24px rgba(31, 30, 29, .4); }
.strip-in.is-hovering .strip-card:not(.is-hot) .strip-card-in { filter: saturate(.85) brightness(.97); }
.strip-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: var(--sand); border-bottom: 1px solid var(--ln); }
.strip-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--sand-2); }
.strip-bar span { margin-left: 8px; font-size: 11px; color: var(--mut); font-family: var(--f-mono); }
.strip-card img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; object-position: top; }
.strip-cap { margin-top: clamp(28px, 4vw, 48px); text-align: center; display: grid; gap: 2px; min-height: 52px; }
.strip-cap-t { font-family: var(--f-serif); font-size: clamp(1.3rem, 2vw, 1.7rem); transition: opacity .25s; }
.strip-cap-s { font-size: 14px; color: var(--mut); min-height: 1.4em; }

/* ---------- Radovi ---------- */
.work { padding: clamp(70px, 9vw, 130px) 0 clamp(90px, 11vw, 150px); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.work-more { margin-top: clamp(48px, 6vw, 80px); display: flex; justify-content: center; }
.pcard-link { display: block; }
.pcard-frame { position: relative; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--ln), var(--shadow); overflow: hidden; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.pcard-link:hover .pcard-frame { box-shadow: 0 0 0 1px var(--ln-2), var(--shadow-lg); transform: translateY(-4px); }
.pcard-bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 12px; background: var(--sand); border-bottom: 1px solid var(--ln); }
.pcard-dots { display: flex; gap: 6px; }
.pcard-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--sand-2); }
.pcard-url { flex: 1; max-width: 300px; margin-inline: auto; display: flex; align-items: center; justify-content: center; gap: 6px; height: 22px; border-radius: 6px; background: var(--ivory); font-size: 12px; color: var(--mut); font-family: var(--f-mono); }
.pcard-url .ico { width: 11px; height: 11px; color: var(--ok); }
.pcard-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.pcard-img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .9s var(--ease); }
.pcard-link:hover .pcard-img { transform: scale(1.03); }
.pcard-meta { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; padding-top: 20px; }
.pcard-num { display: none; }
.pcard-title { font-family: var(--f-serif); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 400; letter-spacing: -.015em; line-height: 1.1; }
.pcard-sector { color: var(--mut); font-size: 15px; margin-top: 4px; }
.pcard-arrow { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--white); box-shadow: inset 0 0 0 1px var(--ln); transition: background .3s, color .3s, transform .3s var(--ease); }
.pcard-arrow .ico { width: 18px; height: 18px; }
.pcard-link:hover .pcard-arrow { background: var(--ink); color: #fff; box-shadow: none; transform: rotate(45deg); }
.pcard-tags, .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard-tags { margin-top: 14px; }
.pcard-tags li, .chips li { font-size: 13px; padding: 5px 11px; border-radius: 8px; background: var(--sand); color: var(--ink-2); }
[data-theme="sand"] .chips li { background: var(--ivory); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(36px, 5vw, 64px); }
.chip-link { padding: 8px 14px; border-radius: 10px; background: var(--white); box-shadow: inset 0 0 0 1px var(--ln); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.chip-link:hover { box-shadow: inset 0 0 0 1px var(--ln-2); }
.chip-link.is-on { background: var(--ink); color: #fff; box-shadow: none; }

/* ---------- Detalji (video) ---------- */
.hl { padding: clamp(80px, 10vw, 140px) 0; }
.hl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hl-card-lg { grid-column: 1 / -1; }
.hl-link { display: grid; height: 100%; background: var(--card); border-radius: var(--r); box-shadow: 0 0 0 1px var(--ln), var(--shadow); overflow: hidden; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.hl-link:hover { box-shadow: 0 0 0 1px var(--ln-2), var(--shadow-lg); transform: translateY(-3px); }
.hl-card-lg .hl-link { grid-template-columns: 1.6fr 1fr; }
.hl-media { position: relative; aspect-ratio: 16 / 10; background: var(--sand-2); overflow: hidden; }
.hl-video { width: 100%; height: 100%; object-fit: cover; }
.hl-live { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.hl-live .dot { background: #E5484D; }
.hl-live .dot::after { border-color: #E5484D; }
.hl-txt { padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 8px; }
.hl-card-lg .hl-txt { justify-content: center; }
.hl-project { font-size: 13.5px; color: var(--mut); font-weight: 500; }
.hl-title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.45rem, 2.2vw, 2.1rem); line-height: 1.1; letter-spacing: -.015em; }
.hl-card-lg .hl-title { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.hl-outcome { color: var(--mut); font-size: 16px; }

/* ---------- Šta dobijate (slojevi) ---------- */
.layers { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(40px, 5vw, 60px); }
.layers-head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(24px, 3vw, 40px); }
.layers-head .sec-lead { margin-top: 18px; }
.layers-pin { position: relative; }
.layers-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: calc(100svh - var(--hdr)); padding-block: 24px; }
.layers-list { display: grid; gap: 6px; }
.layer { border-radius: 14px; transition: background .4s, box-shadow .4s; }
.layer.is-active { background: var(--white); box-shadow: 0 0 0 1px var(--ln), var(--shadow); }
.layer-h { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 11px 16px; color: var(--ink); }
.layer-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--sand); color: var(--ink-2); flex: none; transition: background .4s, color .4s; }
.layer-ico .ico { width: 18px; height: 18px; }
.layer.is-active .layer-ico { background: rgba(var(--acc-rgb), .14); color: var(--acc-2); }
.layer-title { font-size: clamp(1.05rem, 1.3vw, 1.2rem); font-weight: 600; letter-spacing: -.01em; color: var(--ink-2); }
.layer.is-active .layer-title, .layer-h:hover .layer-title { color: var(--ink); }
.layer-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.layer.is-active .layer-body, html:not(.js) .layer-body { grid-template-rows: 1fr; }
.layer-body-in { overflow: hidden; padding: 0 16px 0 66px; }
.layer-body-in > :last-child { margin-bottom: 16px; }
.layer-body p { color: var(--mut); font-size: 15.5px; line-height: 1.55; }
.layer-lead { color: var(--ink) !important; font-family: var(--f-serif); font-style: italic; font-size: 1.2rem !important; line-height: 1.25 !important; margin-bottom: 6px; }
.layer-body .chips { margin-top: 12px; }
.layers-scene { position: relative; height: min(70svh, 620px); }
.layers-scene canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.cstack { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1400px; }
.cstack-p { --y: calc((var(--i) - 2.5) * 32px); position: absolute; width: min(30vw, 380px); aspect-ratio: 1.45; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--ln), 0 20px 40px -20px rgba(31, 30, 29, .3); transform: translateY(var(--y)) rotateX(62deg) rotateZ(-42deg); }
.cstack-p:first-child { background: var(--acc); }
.cstack-l { position: absolute; left: 16px; bottom: 12px; font-size: 11px; color: var(--mut); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.scene-on .cstack { display: none; }

/* ---------- Zašto mi (bento) ---------- */
.why { padding: clamp(80px, 10vw, 140px) 0 clamp(90px, 10vw, 140px); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; grid-auto-rows: minmax(240px, auto); }
.b { position: relative; overflow: hidden; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--ln), var(--shadow); padding: clamp(20px, 2.2vw, 30px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.b h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.35rem, 1.8vw, 1.7rem); letter-spacing: -.015em; line-height: 1.12; margin-bottom: 6px; }
.b p { color: var(--mut); font-size: 15.5px; line-height: 1.55; max-width: 46ch; }
.b-one { grid-column: span 5; grid-row: span 2; }
.b-edit { grid-column: span 7; }
.b-ssl { grid-column: span 3; }
.b-mail { grid-column: span 4; }
.b-up { grid-column: span 7; }
.b-year { grid-column: span 5; justify-content: center; }
.b-orbit { position: relative; width: min(100%, 340px); aspect-ratio: 1; margin: 10px auto 0; border-radius: 50%; container-type: inline-size; animation: orbit 60s linear infinite; }
.b-orbit::before, .b-orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed var(--ln-2); }
.b-orbit::before { inset: 0; }
.b-orbit::after { inset: 22%; border-style: solid; border-color: var(--ln); }
.b-orbit-core { position: absolute; inset: 36%; display: grid; place-items: center; }
.b-orbit-core .logo-svg { width: 100%; height: auto; filter: drop-shadow(0 10px 20px rgba(var(--acc-rgb), .3)); }
.b-orbit-i { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px; display: grid; place-items: center; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px var(--ln), var(--shadow); color: var(--ink-2); transform: rotate(calc(var(--i) * 60deg)) translateX(50cqw) rotate(calc(var(--i) * -60deg)); }
.b-orbit-i .ico { width: 20px; height: 20px; }
.b-orbit-core, .b-orbit-i .ico { animation: orbit 60s linear infinite reverse; }
@keyframes orbit { to { rotate: 360deg; } }

.editor { border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px var(--ln), var(--shadow); overflow: hidden; }
.editor-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--ln); font-size: 13px; color: var(--mut); }
.editor-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.editor-save { margin-left: auto; font-size: 12px; padding: 3px 9px; border-radius: 6px; background: rgba(76, 154, 106, .12); color: #2F7A4D; font-weight: 600; opacity: 0; transition: opacity .3s; }
.editor.is-saved .editor-save { opacity: 1; }
.editor-body { padding: 18px 20px 20px; }
.b .editor-h { font-family: var(--f-serif); font-size: 1.5rem; line-height: 1.15; margin-bottom: 6px; color: var(--ink); }
.b .editor-p { font-size: 15.5px; color: var(--ink-2); min-height: 48px; max-width: none; }
.editor-caret { display: inline-block; width: 2px; height: 1.1em; background: var(--acc); vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.editor-img { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.editor-img span { aspect-ratio: 4 / 3; border-radius: 8px; background: linear-gradient(135deg, var(--sand), var(--sand-2)); }
.editor-img span:nth-child(2) { background: linear-gradient(135deg, rgba(var(--acc-rgb), .25), rgba(var(--acc-rgb), .08)); }
.b-lock { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: rgba(76, 154, 106, .12); color: #2F7A4D; }
.b-lock .ico { width: 34px; height: 34px; }
.inbox { display: grid; gap: 8px; }
.inbox li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--white); box-shadow: 0 0 0 1px var(--ln); opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.inbox.is-in li { opacity: 1; transform: none; }
.inbox.is-in li:nth-child(2) { transition-delay: .25s; }
.inbox.is-in li:nth-child(3) { transition-delay: .5s; }
html:not(.js) .inbox li, html.rm .inbox li { opacity: 1; transform: none; }
.inbox-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); font-size: 13px; font-weight: 600; color: var(--ink-2); flex: none; }
.inbox-t { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.inbox-t strong { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-t small { font-size: 12.5px; color: var(--mut); }
.inbox-tag { font-size: 11.5px; padding: 3px 8px; border-radius: 6px; background: rgba(76, 154, 106, .12); color: #2F7A4D; font-weight: 600; }
.b-up-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--mut); }
.uptime { display: flex; gap: 4px; height: 56px; align-items: flex-end; }
.uptime i { flex: 1; height: 100%; border-radius: 3px; background: var(--ok); opacity: .75; transform-origin: bottom; transform: scaleY(.15); transition: transform .8s var(--ease) calc(var(--d) * 15ms); }
.uptime.is-in i { transform: scaleY(1); }
html:not(.js) .uptime i, html.rm .uptime i { transform: none; }
.b .b-year-k { font-size: 14px; color: var(--mut); }
.b .b-year-v { font-family: var(--f-serif); font-size: clamp(4.5rem, 9vw, 8rem); line-height: .9; letter-spacing: -.03em; color: var(--ink); max-width: none; margin: 8px 0 12px; }

/* ---------- Proces ---------- */
.process { padding: clamp(80px, 10vw, 140px) 0; }
.process .sec-title { max-width: 18ch; }
.steps-line { position: relative; height: 2px; background: var(--ln); margin-bottom: 30px; border-radius: 2px; }
.steps-line span { position: absolute; inset: 0; background: var(--acc); transform-origin: left; transform: scaleX(0); border-radius: 2px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { padding: 24px; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--ln), var(--shadow); }
.step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--sand); font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 18px; transition: background .4s, color .4s; }
.step.is-on .step-num { background: rgba(var(--acc-rgb), .14); color: var(--acc-2); }
.step-title { font-family: var(--f-serif); font-weight: 400; font-size: 1.55rem; letter-spacing: -.015em; margin-bottom: 8px; }
.step p { color: var(--mut); font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 10vw, 140px) 0; }
.faq-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--hdr) + 30px); }
.faq-head .sec-lead { margin-top: 18px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--ln); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 20px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: 1.08rem; font-weight: 600; }
.faq-ico { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--sand); transition: transform .4s var(--ease); }
.faq-item[open] .faq-ico { transform: rotate(45deg); }
.faq-a { overflow: hidden; }
.faq-a p { color: var(--mut); padding: 0 20px 20px; max-width: 62ch; font-size: 16px; }

/* ---------- CTA ---------- */
.cta { padding: clamp(70px, 9vw, 120px) 0; }
.cta-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: var(--sand); box-shadow: 0 0 0 1px var(--ln); overflow: hidden; }
.cta-title { font-size: clamp(2.5rem, 5vw, 4.4rem); max-width: 12ch; }
.cta-note { color: var(--mut); margin-top: 18px; max-width: 46ch; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cta-art { display: grid; gap: 12px; }
.cta-msg { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--ln), var(--shadow); max-width: 380px; font-size: 15px; color: var(--ink-2); }
.cta-msg-2 { margin-left: 40px; }
.cta-msg-3 { margin-left: 14px; }
.cta-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--acc-rgb), .15); color: var(--acc-2); font-size: 13px; font-weight: 700; flex: none; }

/* ---------- Footer ---------- */
.ftr { padding: clamp(64px, 8vw, 100px) 0 28px; }
.ftr-top { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr; gap: 36px; }
.ftr-brand .logo-svg { height: 36px; width: auto; }
.ftr-about p { color: var(--mut); margin: 18px 0; max-width: 34ch; font-size: 15.5px; }
.ftr-h { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; font-family: var(--f-sans); }
.ftr-list { display: grid; gap: 8px; font-size: 15.5px; color: var(--ink-2); }
.ftr-list a, .ftr-list span { display: inline-flex; align-items: center; gap: 9px; }
.ftr-list a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ftr-contact .ico { color: var(--mut); }
.ftr-soc { display: flex; gap: 8px; margin-top: 18px; }
.ftr-soc a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--ivory); box-shadow: inset 0 0 0 1px var(--ln); }
.ftr-big { margin: clamp(48px, 7vw, 90px) 0 clamp(24px, 3vw, 40px); color: var(--ink); }
.ftr-big .logo-svg { width: 100%; height: auto; }
.ftr-bottom { border-top: 1px solid var(--ln); padding-top: 22px; display: grid; gap: 14px; }
.ftr-company { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 13.5px; }
.ftr-company div { display: flex; gap: 8px; }
.ftr-company dt { color: var(--mut); }
.ftr-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; font-size: 13.5px; color: var(--mut); }
.ftr-legal a:hover { color: var(--ink); }
.ftr-clock { margin-left: auto; font-size: 13px; font-family: var(--f-sans); }
.ftr-clock time { color: var(--ink); }
.ftr-top-btn { font-size: 13px; color: var(--ink-2); font-family: var(--f-sans); }

/* ---------- Unutrašnje strane ---------- */
.phero { padding: clamp(60px, 10vh, 120px) 0 clamp(40px, 6vw, 80px); }
.phero-glow { display: none; }
.phero-title { font-size: clamp(2.7rem, 6vw, 5.4rem); max-width: 16ch; }
.phero-lead { margin-top: 22px; font-size: clamp(1.08rem, 1.35vw, 1.28rem); color: var(--mut); max-width: 54ch; line-height: 1.55; }
.content-sec { padding: clamp(20px, 3vw, 40px) 0 clamp(80px, 10vw, 130px); }
.prose { max-width: 70ch; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -.015em; line-height: 1.15; margin-top: 1.6em; color: var(--ink); }
.prose h3 { font-size: 1.3rem; font-weight: 600; margin-top: 1.5em; color: var(--ink); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.2em; }
.prose img { border-radius: 14px; }
.prose blockquote { margin-left: 0; padding-left: 22px; border-left: 3px solid var(--acc); font-family: var(--f-serif); font-style: italic; font-size: 1.4em; line-height: 1.3; }
.single-img { margin-bottom: 50px; border-radius: var(--r); overflow: hidden; }
.prose-case { display: grid; grid-template-columns: 1fr 2fr; gap: 14px 56px; max-width: none; }
.prose-case > * + * { margin-top: 0; }
.prose-case h2 { margin-top: 0; grid-column: 1; font-size: clamp(1.4rem, 2vw, 1.9rem); }
.prose-case > :not(h2) { grid-column: 2; }
.prose-case h2:not(:first-child), .prose-case h2:not(:first-child) + * { margin-top: 36px; }

.case-hero { padding: clamp(50px, 9vh, 110px) 0 clamp(30px, 4vw, 60px); }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--mut); margin-bottom: 22px; font-family: var(--f-sans); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.case-title { font-size: clamp(2.8rem, 7vw, 6.4rem); max-width: 16ch; }
.case-intro { margin-top: clamp(26px, 3vw, 44px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.case-intro .phero-lead { margin-top: 0; }
.case-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; padding: 22px; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--ln); }
.case-meta dt { font-size: 13px; color: var(--mut); margin-bottom: 2px; font-family: var(--f-sans); }
.case-meta dd { font-size: 15.5px; font-weight: 500; }
.case-visit { display: inline-flex; align-items: center; gap: 5px; color: var(--acc-2); }
.case-shot { padding-bottom: clamp(50px, 7vw, 100px); }
.case-frame { border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--ln), var(--shadow-lg); }
.case-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.case-view img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-video-wrap { margin-top: 20px; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--ln), var(--shadow-lg); background: var(--sand); }
.case-video-wrap video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.case-cta { display: flex; justify-content: center; margin-top: 32px; }
.case-next { padding: clamp(60px, 8vw, 110px) 0; }
.case-next-link { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); grid-template-areas: "eye img" "title img" "arrow img"; align-items: start; gap: 10px clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: var(--white); box-shadow: 0 0 0 1px var(--ln), var(--shadow); overflow: hidden; transition: box-shadow .4s; }
.case-next-link:hover { box-shadow: 0 0 0 1px var(--ln-2), var(--shadow-lg); }
.case-next-link .eyebrow { grid-area: eye; margin-bottom: 0; }
.case-next-title { grid-area: title; font-family: var(--f-serif); font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
.case-next-img { grid-area: img; align-self: center; width: 100%; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--ln), var(--shadow-lg); transform: rotate(2deg); transition: transform .5s var(--ease); }
.case-next-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-next-link:hover .case-next-img { transform: rotate(0deg) scale(1.02); }
.case-next-arrow { grid-area: arrow; width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-top: 10px; }

/* Usluge */
.svc { padding: 0 0 clamp(70px, 9vw, 120px); }
.svc-bar { position: sticky; top: var(--hdr); z-index: 60; margin-bottom: 30px; background: rgba(250, 249, 245, .88); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--ln); transition: top .5s var(--ease); }
body:has(.hdr.is-hidden) .svc-bar { top: 0; }
.svc-nav { display: flex; gap: 4px; padding: 10px 0; overflow-x: auto; scrollbar-width: none; font-size: 14px; }
.svc-nav::-webkit-scrollbar { display: none; }
.svc-nav a { flex: none; padding: 7px 14px; border-radius: 9px; color: var(--ink-2); font-weight: 500; white-space: nowrap; transition: background .2s, color .2s; }
.svc-nav a:hover { background: var(--sand); }
.svc-nav a.is-on { background: var(--ink); color: #fff; }
.svc-row { display: grid; grid-template-columns: 76px minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); padding: clamp(28px, 4vw, 52px); margin-bottom: 16px; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px var(--ln), var(--shadow); scroll-margin-top: calc(var(--hdr) + 90px); }
.svc-num { display: grid; gap: 14px; align-content: start; color: var(--mut); font-size: 13px; }
.svc-num .mono { display: none; }
.svc-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(var(--acc-rgb), .12); color: var(--acc-2); }
.svc-ico .ico { width: 26px; height: 26px; }
.svc-title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.7rem); letter-spacing: -.02em; line-height: 1.05; }
.svc-lead { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.2rem, 1.6vw, 1.45rem); color: var(--acc-2); margin: 10px 0 14px; line-height: 1.2; }
.svc-main > p:last-child { color: var(--mut); max-width: 56ch; font-size: 16.5px; }
.svc-list { display: grid; align-content: start; }
.svc-list li { display: flex; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--ln); font-size: 15.5px; color: var(--ink-2); }
.svc-list li:first-child { padding-top: 0; }
.svc-list .ico { color: var(--ok); }
.svc-extra { padding: clamp(80px, 10vw, 130px) 0; }
.extra-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.extra { padding: 26px; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--ln), var(--shadow); display: grid; gap: 10px; align-content: start; }
.extra-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--sand); color: var(--ink-2); display: grid; place-items: center; margin-bottom: 10px; }
.extra-ico .ico { width: 22px; height: 22px; }
.extra h3 { font-family: var(--f-serif); font-weight: 400; font-size: 1.45rem; letter-spacing: -.015em; }
.extra p { color: var(--mut); font-size: 15.5px; }

/* O nama */
.about { padding: clamp(30px, 4vw, 50px) 0 clamp(80px, 10vw, 130px); }
.about-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; margin-bottom: clamp(60px, 8vw, 110px); }
.about-quote { font-family: var(--f-serif); font-size: clamp(1.8rem, 3.2vw, 2.9rem); letter-spacing: -.015em; line-height: 1.18; }
.about-txt .prose { font-size: 17px; color: var(--mut); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value { padding: 26px; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--ln), var(--shadow); display: grid; gap: 10px; align-content: start; }
.value-n { font-size: 13px; color: var(--mut); font-family: var(--f-sans); }
.value-t { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(1.9rem, 2.6vw, 2.4rem); line-height: 1; color: var(--acc-2); }
.value p { color: var(--mut); font-size: 15.5px; }

/* Kontakt */
.contact { padding: clamp(10px, 2vw, 30px) 0 clamp(80px, 10vw, 130px); }
.contact-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form { position: relative; padding: clamp(24px, 3.5vw, 44px); border-radius: 24px; background: var(--white); box-shadow: 0 0 0 1px var(--ln), var(--shadow-lg); }
.form-set { border: 0; padding: 0; margin: 0 0 clamp(30px, 3.5vw, 44px); min-width: 0; }
.form-legend { display: flex; align-items: center; gap: 12px; font-family: var(--f-serif); font-size: clamp(1.4rem, 2vw, 1.75rem); letter-spacing: -.015em; margin-bottom: 16px; padding: 0; }
.form-legend .mono { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--sand); font-family: var(--f-sans); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.pill span { display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: 11px; background: var(--ivory); box-shadow: inset 0 0 0 1px var(--ln); font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; }
.pill:hover span { box-shadow: inset 0 0 0 1px var(--ln-2); }
.pill input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.pill input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { position: relative; }
.field-full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16.5px; color: var(--ink); background: var(--ivory); border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--ln); padding: 24px 14px 9px; outline: none; transition: box-shadow .2s, background .2s; resize: vertical; }
.field textarea { min-height: 140px; }
.field label { position: absolute; left: 15px; top: 17px; font-size: 16px; color: var(--mut); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease); }
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--white); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-9px) scale(.78); }
.field.has-err input, .field.has-err textarea { box-shadow: inset 0 0 0 1.5px var(--err); }
.field-err { display: block; font-size: 13px; color: var(--err); padding-top: 4px; }
.field-err:empty { padding: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--mut); cursor: pointer; position: relative; max-width: 62ch; }
.consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.consent-box { flex: none; width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--ln-2); display: grid; place-items: center; color: #fff; transition: background .2s; margin-top: 1px; background: var(--white); }
.consent-box .ico { width: 15px; height: 15px; opacity: 0; transition: opacity .2s; }
.consent input:checked + .consent-box { background: var(--ink); box-shadow: none; }
.consent input:checked + .consent-box .ico { opacity: 1; }
.consent input:focus-visible + .consent-box { outline: 2px solid var(--ink); outline-offset: 2px; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.form-msg { font-size: 15px; color: var(--mut); }
.form-msg.is-err { color: var(--err); }
.form.is-sending .form-submit { pointer-events: none; opacity: .6; }
.form-done { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; text-align: center; gap: 14px; padding: 30px; background: var(--white); border-radius: inherit; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.form.is-done .form-done { opacity: 1; visibility: visible; }
.form-done-mark .logo-svg { width: 72px; height: 72px; }
.form-done h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.02em; line-height: 1.05; }
.form-done p { color: var(--mut); max-width: 40ch; }
.form-done a { color: var(--ink); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-side { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 14px; }
.contact-card { padding: 26px; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--ln), var(--shadow); }
.contact-card:first-child { background: var(--sand); box-shadow: 0 0 0 1px var(--ln); }
.contact-k { font-size: 13.5px; color: var(--mut); margin-bottom: 4px; font-family: var(--f-sans); }
.contact-big { display: block; font-family: var(--f-serif); font-size: clamp(1.6rem, 2.2vw, 2.1rem); letter-spacing: -.01em; margin-bottom: 18px; word-break: break-word; }
.contact-big:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.contact-mail { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
.contact-hours { font-size: 14px; }
.contact-company dl { display: grid; gap: 8px; font-size: 14.5px; }
.contact-company dl div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }
.contact-company dt { color: var(--mut); }

/* Blog */
.posts { padding: 0 0 clamp(70px, 9vw, 120px); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
.post-card-img { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 16px; box-shadow: 0 0 0 1px var(--ln); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card-link:hover .post-card-img img { transform: scale(1.04); }
.post-card-date { font-size: 13px; color: var(--mut); margin-bottom: 6px; font-family: var(--f-sans); }
.post-card-title { font-family: var(--f-serif); font-weight: 400; font-size: 1.6rem; letter-spacing: -.015em; line-height: 1.15; margin-bottom: 8px; }
.post-card-ex { color: var(--mut); font-size: 15.5px; }
.pager { margin-top: 50px; }
.pager .nav-links { display: flex; gap: 6px; }
.pager .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 10px; background: var(--white); box-shadow: inset 0 0 0 1px var(--ln); }
.pager .page-numbers.current { background: var(--ink); color: #fff; box-shadow: none; }

/* 404 */
.e404 { min-height: calc(100svh - var(--hdr)); display: grid; align-items: center; }
.e404-in { padding-bottom: 60px; }
.e404-mark .logo-svg { width: 84px; height: 84px; margin-bottom: 28px; animation: wobble 5s ease-in-out infinite; }
@keyframes wobble { 50% { transform: rotate(-10deg) translateY(-6px); } }
.e404 .hero-cta { margin-top: 34px; display: flex; gap: 10px; flex-wrap: wrap; }

@media (hover: none) { .hover-only { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.nav, .hdr-phone { display: none; }
	.burger { display: block; }
	.hdr-r { margin-left: auto; }
	.ftr-top { grid-template-columns: 1fr 1fr; }
	.extra-grid, .values { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: 1fr 1fr; }
	.b-one { grid-column: span 12; grid-row: auto; flex-direction: row; align-items: center; }
	.b-one .b-orbit { width: 260px; flex: none; margin: 0; }
	.b-edit { grid-column: span 12; }
	.b-ssl { grid-column: span 5; }
	.b-mail { grid-column: span 7; }
	.b-up { grid-column: span 7; }
	.b-year { grid-column: span 5; }
	.hl-card-lg .hl-link { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	:root { --hdr: 62px; }
	body { font-size: 16px; }
	.brand-svg { height: 30px; }
	.hdr-cta { display: none; }
	.sec-head-split { grid-template-columns: 1fr; gap: 18px; }
	.sec-head-split .sec-lead { justify-self: start; }
	.hero { padding-top: 40px; }
	.hero-title { font-size: clamp(2.6rem, 11vw, 4rem); }
	.composer { margin-top: 30px; padding: 14px 14px 12px; }
	.composer textarea { font-size: 16.5px; }
	.strip-card { width: 60vw; transform: translateX(calc(-50% + var(--c) * 17vw + var(--push))) translateY(calc(var(--ac) * 8px + var(--lift))) rotate(calc(var(--c) * 3deg * var(--rot))) scale(var(--sc)); }
	.strip-in { height: 44vw; }
	.work-grid, .hl-grid { grid-template-columns: 1fr; }
	.layers-in { grid-template-columns: 1fr; min-height: 0; }
	.layers-scene { display: none; }
	.layer-body-in { padding-left: 16px; }
	.bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
	.b, .b-one, .b-edit, .b-ssl, .b-mail, .b-up, .b-year { grid-column: auto; grid-row: auto; }
	.b-one { flex-direction: column; }
	.b-one .b-orbit { width: min(100%, 280px); margin: 6px auto 0; }
	.steps { grid-template-columns: 1fr; }
	.steps-line { display: none; }
	.faq-in { grid-template-columns: 1fr; }
	.faq-head { position: static; }
	.cta-card { grid-template-columns: 1fr; }
	.cta-msg-2, .cta-msg-3 { margin-left: 0; }
	.ftr-top { grid-template-columns: 1fr; gap: 30px; }
	.ftr-clock { margin-left: 0; }
	.case-intro { grid-template-columns: 1fr; }
	.case-next-link { grid-template-columns: 1fr; grid-template-areas: "eye" "title" "img" "arrow"; }
	.case-next-img { transform: none; margin-top: 10px; }
	.prose-case { grid-template-columns: 1fr; }
	.prose-case > :not(h2), .prose-case h2 { grid-column: 1; }
	.prose-case h2:not(:first-child) + * { margin-top: 0; }
	.svc-row { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
	.extra-grid, .values { grid-template-columns: 1fr; }
	.about-in { grid-template-columns: 1fr; }
	.contact-in { grid-template-columns: 1fr; }
	.contact-side { position: static; }
	.fields { grid-template-columns: 1fr; }
	.post-grid { grid-template-columns: 1fr; }
	.cstack-p { width: min(60vw, 320px); }
}
@media (max-width: 520px) {
	.composer-bar { flex-direction: column; align-items: stretch; }
	.composer-send { align-self: flex-end; }
	.cta-actions .btn { width: 100%; }
	.contact-company dl div { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media print {
	.hdr, .cta, .mnav { display: none !important; }
}

/* ---------- Više od sajta ---------- */
.beyond { padding: clamp(70px, 9vw, 120px) 0 clamp(90px, 10vw, 140px); }
.beyond-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.beyond-card { display: flex; flex-direction: column; gap: 10px; padding: clamp(26px, 3vw, 40px); border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px var(--ln), var(--shadow); }
.beyond-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: rgba(var(--acc-rgb), .12); color: var(--acc-2); margin-bottom: 8px; }
.beyond-ico .ico { width: 26px; height: 26px; }
.beyond-title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.5rem); letter-spacing: -.02em; line-height: 1.05; }
.beyond-lead { font-family: var(--f-serif); font-style: italic; font-size: 1.25rem; color: var(--acc-2); line-height: 1.2; }
.beyond-text { color: var(--mut); font-size: 16.5px; max-width: 54ch; }
.beyond-list { display: grid; gap: 8px; margin-top: 8px; }
.beyond-list li { display: flex; gap: 10px; align-items: center; font-size: 15.5px; color: var(--ink-2); }
.beyond-list .ico { color: var(--ok); }
.beyond-proof { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.beyond-proof .ico { transition: transform .3s var(--ease); }
.beyond-proof:hover .ico { transform: translateX(3px); }
.beyond-svc { padding-top: 0; }
@media (max-width: 860px) { .beyond-grid { grid-template-columns: 1fr; } }

/* ---------- Sajt za 7 dana ---------- */
.fast { padding: clamp(80px, 10vw, 140px) 0; }
.fast-in { display: grid; gap: clamp(36px, 5vw, 64px); }
.fast-copy { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0 48px; align-items: end; }
.fast-copy .eyebrow { grid-column: 1; }
.fast-title { grid-column: 1; }
.fast-side { grid-column: 2; grid-row: 2; padding-bottom: 10px; }
.fast-title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(3.2rem, 8vw, 7.4rem); line-height: .95; letter-spacing: -.03em; }
.fast-title em { font-style: italic; color: var(--acc-2); white-space: nowrap; }
.fast .sec-lead { margin-top: 0; }
.fast-cta { margin-top: 30px; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 170px; padding: 16px 16px; border-radius: 16px; background: var(--ivory); box-shadow: 0 0 0 1px var(--ln); transition: background .45s var(--ease), box-shadow .45s, transform .45s var(--ease); }
.day-n { font-size: 12px; font-weight: 600; color: var(--mut); }
.day-t { font-family: var(--f-serif); font-size: 1.35rem; line-height: 1.1; margin-top: auto; }
.day-s { font-size: 12.5px; color: var(--mut); line-height: 1.35; min-height: 2.7em; }
.day-check { position: absolute; top: 12px; right: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--sand-2); color: var(--white); transition: background .45s; }
.day-check .ico { width: 13px; height: 13px; opacity: 0; transition: opacity .3s; }
.day.is-on { background: var(--white); box-shadow: 0 0 0 1px var(--ln-2), var(--shadow); transform: translateY(-4px); }
.day.is-on .day-check { background: var(--ok); }
.day.is-on .day-check .ico { opacity: 1; }
.day-last.is-on { background: var(--acc); box-shadow: 0 12px 30px -10px rgba(var(--acc-rgb), .6); }
.day-last.is-on .day-n, .day-last.is-on .day-s, .day-last.is-on .day-t { color: var(--acc-ink); }
.day-last.is-on .day-check { background: var(--acc-ink); color: var(--acc); }
html:not(.js) .day, html.rm .day { background: var(--white); }
@media (max-width: 960px) {
	.fast-copy { grid-template-columns: 1fr; }
	.fast-side { grid-column: 1; grid-row: auto; margin-top: 22px; }
	.week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.week { grid-template-columns: 1fr; gap: 6px; }
	.day { min-height: 0; flex-direction: row; align-items: baseline; gap: 12px; padding: 12px 44px 12px 14px; }
	.day-t { margin-top: 0; font-size: 1.1rem; }
	.day-n { min-width: 44px; }
	.day-check { top: 50%; translate: 0 -50%; }
}
