/* ============================================================
   APRINT — "Papir & Mastilo" redesign
   Svetla editorial print-studio estetika:
   papir, mastilo, CMYK registracija, švajcarska tipografija.
   Fontovi: Archivo (display) · Inter (tekst) · IBM Plex Mono (oznake)
   ============================================================ */

:root {
    --paper:    #f5f1e8;
    --paper-2:  #ece7da;
    --surface:  #fffdf8;
    --ink:      #16150f;
    --ink-soft: #43413a;
    --muted:    #757164;
    --line:     #d9d3c2;
    --blue:     #2236ff;
    --blue-dark:#1726c4;
    --cyan:     #00b3e3;
    --magenta:  #e62e8a;
    --yellow:   #ffc400;
    --radius:   14px;
    --shadow-hard: 7px 7px 0 rgba(22, 21, 15, 0.92);
    --shadow-soft: 0 18px 40px -18px rgba(22, 21, 15, 0.25);
    --font-display: 'Archivo', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    --nav-h: 76px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
    /* fina papirna tekstura — sitne tačkice */
    background-image: radial-gradient(rgba(22,21,15,0.045) 1px, transparent 1.2px);
    background-size: 22px 22px;
}

::selection { background: var(--yellow); color: var(--ink); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.04;
    color: var(--ink);
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ------------------------------------------------------------
   POMOĆNE KLASE
   ------------------------------------------------------------ */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

.kicker {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
}
.kicker::before {
    content: '';
    width: 26px; height: 2px;
    background: var(--blue);
    display: inline-block;
}
.kicker .cmyk-dots { display: inline-flex; gap: 4px; }

.cmyk-dots i {
    width: 7px; height: 7px; border-radius: 50%;
    display: inline-block;
}
.cmyk-dots i:nth-child(1) { background: var(--cyan); }
.cmyk-dots i:nth-child(2) { background: var(--magenta); }
.cmyk-dots i:nth-child(3) { background: var(--yellow); }
.cmyk-dots i:nth-child(4) { background: var(--ink); }

.accent  { color: var(--blue); }
.outline-word {
    color: transparent;
    -webkit-text-stroke: 2px var(--ink);
}

/* žuti "marker" potez preko reči */
.mark-hl {
    background-image: linear-gradient(100deg, transparent 2%, var(--yellow) 2.5%, var(--yellow) 97%, transparent 98%);
    background-size: 100% 0.42em;
    background-position: 0 78%;
    background-repeat: no-repeat;
    padding: 0 0.08em;
}

/* ------------------------------------------------------------
   SCROLL PROGRESS — CMYK traka na vrhu
   ------------------------------------------------------------ */
#scrollInk {
    position: fixed; top: 0; left: 0; height: 4px; width: 100%;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--cyan) 0 25%, var(--magenta) 25% 50%, var(--yellow) 50% 75%, var(--ink) 75% 100%);
    z-index: 3000;
    pointer-events: none;
}

/* ------------------------------------------------------------
   NAVIGACIJA
   ------------------------------------------------------------ */
nav#mainNav {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-h);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 clamp(20px, 4vw, 48px);
    background: rgba(245, 241, 232, 0.88);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 2px solid var(--ink);
    z-index: 2000;
}

/* --- CMYK LOGO (ploče koje se registruju) --- */
.logo { text-decoration: none; display: inline-block; line-height: 1; }
.logo-stack {
    position: relative;
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.7rem;
    letter-spacing: -0.02em;
    isolation: isolate;
}
.logo-stack .plate {
    display: inline-block;
    mix-blend-mode: multiply;
    will-change: transform;
    transition: transform 0.38s cubic-bezier(0.22, 1.6, 0.36, 1);
}
.logo-stack .plate.c, .logo-stack .plate.m, .logo-stack .plate.y {
    position: absolute; top: 0; left: 0;
}
.logo-stack .plate.c { color: var(--cyan); }
.logo-stack .plate.m { color: var(--magenta); }
.logo-stack .plate.y { color: var(--yellow); }
.logo-stack .plate.k { color: var(--ink); position: relative; }
.logo-stack sup {
    font-size: 0.42em; font-weight: 700;
    color: var(--blue); margin-left: 2px;
    -webkit-text-stroke: 0;
}

/* ulazna animacija: ploče se "registruju" u tačan otisak */
@keyframes plate-in-c { 0% { transform: translate(-14px, -8px); opacity: 0; } 35% { opacity: 1; } 100% { transform: translate(0, 0); opacity: 1; } }
@keyframes plate-in-m { 0% { transform: translate(13px, -5px);  opacity: 0; } 35% { opacity: 1; } 100% { transform: translate(0, 0); opacity: 1; } }
@keyframes plate-in-y { 0% { transform: translate(-7px, 11px);  opacity: 0; } 35% { opacity: 1; } 100% { transform: translate(0, 0); opacity: 1; } }
@keyframes plate-in-k { 0% { transform: translate(9px, 7px);    opacity: 0; } 35% { opacity: 1; } 100% { transform: translate(0, 0); opacity: 1; } }

.plates-animate .plate.c { animation: plate-in-c 1.05s cubic-bezier(0.22, 1.45, 0.32, 1) 0.15s both; }
.plates-animate .plate.m { animation: plate-in-m 1.05s cubic-bezier(0.22, 1.45, 0.32, 1) 0.30s both; }
.plates-animate .plate.y { animation: plate-in-y 1.05s cubic-bezier(0.22, 1.45, 0.32, 1) 0.45s both; }
.plates-animate .plate.k { animation: plate-in-k 1.05s cubic-bezier(0.22, 1.45, 0.32, 1) 0.60s both; }

/* hover: otisak se "raskloni" nazad u ploče */
.logo:hover .plate.c, .plates-hover .plate.c { transform: translate(-4px, -3px); }
.logo:hover .plate.m, .plates-hover .plate.m { transform: translate(4px, -2px); }
.logo:hover .plate.y, .plates-hover .plate.y { transform: translate(-2px, 3px); }
.logo:hover .plate.k, .plates-hover .plate.k { transform: translate(2px, 2px); }

.nav-links {
    display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem);
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.93rem;
    color: var(--ink);
    position: relative;
    padding: 4px 0;
}
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute; left: 0; bottom: -2px;
    width: 100%; height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: 100% 50%;
    transition: transform 0.3s cubic-bezier(0.6, 0, 0.2, 1);
}
.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after {
    transform: scaleX(1);
    transform-origin: 0 50%;
}
.nav-links a.active { color: var(--blue); }
.nav-links a.btn-ink, .nav-links a.btn-ink:hover { color: var(--paper); }

/* hamburger */
#navToggle {
    display: none;
    background: none; border: 2px solid var(--ink); border-radius: 8px;
    width: 44px; height: 40px;
    cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
#navToggle span {
    width: 20px; height: 2px; background: var(--ink);
    transition: transform 0.3s, opacity 0.3s;
}
#navToggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#navToggle.open span:nth-child(2) { opacity: 0; }
#navToggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------
   DUGMAD
   ------------------------------------------------------------ */
.btn {
    display: inline-flex; align-items: center; gap: 0.55em;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    padding: 0.85rem 1.7rem;
    border-radius: 10px;
    border: 2px solid var(--ink);
    cursor: pointer;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s, background 0.22s, color 0.22s;
    position: relative;
}
.btn .arr { transition: transform 0.25s; display: inline-block; }
.btn:hover .arr { transform: translateX(4px); }

.btn-ink {
    background: var(--ink); color: var(--paper);
    box-shadow: 5px 5px 0 rgba(34, 54, 255, 0.95);
}
.btn-ink:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 rgba(34, 54, 255, 0.95);
    background: var(--blue); border-color: var(--blue);
}
.btn-ghost {
    background: transparent; color: var(--ink);
}
.btn-ghost:hover {
    background: var(--ink); color: var(--paper);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(255, 196, 0, 0.95);
}
.btn-paper {
    background: var(--paper); color: var(--ink);
    border-color: var(--paper);
}
.btn-paper:hover {
    background: var(--yellow); border-color: var(--yellow);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.85);
}

/* ------------------------------------------------------------
   HERO (index)
   ------------------------------------------------------------ */
.hero {
    padding: calc(var(--nav-h) + clamp(40px, 8vh, 90px)) 0 0 0;
    position: relative;
}
.hero-head { text-align: left; position: relative; }

.hero-meta-row {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
    padding-bottom: 1.2rem;
    border-bottom: 2px solid var(--ink);
    margin-bottom: clamp(1.4rem, 3vw, 2.6rem);
}
.hero-meta-row .meta {
    font-family: var(--font-mono);
    font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--ink-soft);
}

/* MEGA logotip — štampa se pred očima */
.mega-print { position: relative; display: inline-block; max-width: 100%; }
.mega-logo {
    font-size: clamp(4.2rem, 14.5vw, 12.5rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.9;
    white-space: nowrap;
}
.mega-wrap { position: relative; display: inline-block; overflow: visible; }

/* sloj koji se otkriva s leva na desno kao da prolazi glava štampača */
.print-reveal {
    clip-path: inset(-20% 100% -20% 0);
}
.print-reveal.go { animation: printSweep 1.5s cubic-bezier(0.6, 0.02, 0.3, 1) 0.1s forwards; }
@keyframes printSweep {
    to { clip-path: inset(-20% -2% -20% 0); }
}

/* glava štampača — vertikalna šipka koja prelazi preko teksta */
.print-head {
    position: absolute; top: -6%; bottom: -6%;
    left: 0; width: 14px;
    background: var(--ink);
    border-radius: 4px;
    opacity: 0;
    box-shadow: 0 0 0 2px var(--paper), 4px 0 0 2px var(--yellow);
}
.print-head.go { animation: headSweep 1.5s cubic-bezier(0.6, 0.02, 0.3, 1) 0.1s forwards; }
@keyframes headSweep {
    0%   { left: 0;    opacity: 1; }
    92%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.hero-sub {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: end;
    margin-top: clamp(1.6rem, 3.5vw, 3rem);
    /* desni koridor rezervisan za skicu zgrade koja niče */
    padding-right: min(28vw, 380px);
}
.hero-sub h1 {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.18;
}
.hero-sub .hero-note {
    color: var(--ink-soft);
    font-size: 1.02rem;
    max-width: 46ch;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* registraciona meta (krug + krst) — diskretan print detalj */
.reg-mark {
    position: absolute; width: 30px; height: 30px;
    opacity: 0.55;
}
.reg-mark::before, .reg-mark::after {
    content: ''; position: absolute; background: var(--ink);
}
.reg-mark::before { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.reg-mark::after  { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.reg-mark i {
    position: absolute; inset: 6px;
    border: 1.5px solid var(--ink); border-radius: 50%;
}

/* ------------------------------------------------------------
   PLOTER TRAKA — osnova sprata zgrade koja se iscrtava
   ------------------------------------------------------------ */
.plotter-strip {
    margin-top: clamp(2.5rem, 6vw, 4.5rem);
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    background: var(--surface);
    position: relative;
    overflow: hidden;
}
.plotter-strip svg { display: block; width: min(68%, 1080px); height: auto; margin: 0 auto; }

.plotter-strip .draw {
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}
.plotter-strip .draw.blue { stroke: var(--blue); stroke-width: 1.4; }
.plotter-strip .draw.thin { stroke-width: 0.9; opacity: 0.7; }
.plotter-strip .draw.wall    { stroke-width: 5; stroke-linecap: square; }
.plotter-strip .draw.wall-in { stroke-width: 3.2; stroke-linecap: square; }

.plotter-strip.in .draw {
    animation: drawLine 2.6s cubic-bezier(0.45, 0, 0.3, 1) forwards;
    animation-delay: calc(var(--i, 0) * 0.22s);
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* osovinska mreža — isprekidane linije i kružići */
.plotter-strip .axis {
    fill: none; stroke: var(--muted);
    stroke-width: 1; stroke-dasharray: 7 9;
    opacity: 0;
}
.plotter-strip .axc {
    fill: none; stroke: var(--muted);
    stroke-width: 1.1;
    opacity: 0;
}
.plotter-strip .plbl {
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
    fill: var(--ink-soft);
    opacity: 0;
}
.plotter-strip .plbl.small { fill: var(--muted); }
.plotter-strip .plbl.blue  { fill: var(--blue); }
.plotter-strip.in .axis,
.plotter-strip.in .axc,
.plotter-strip.in .plbl {
    animation: bpFade 0.7s ease forwards;
    animation-delay: calc(var(--i, 0) * 0.22s + 0.2s);
}

/* ------------------------------------------------------------
   ZGRADA KOJA NIČE — skica uz desnu ivicu hero sekcije
   ------------------------------------------------------------ */
.hero-tower {
    position: absolute;
    top: 0;
    bottom: 0;
    right: clamp(1rem, 3.5vw, 4rem);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 2;
    pointer-events: none;
}
.hero-tower svg {
    width: auto; height: 100%;
    max-width: min(28vw, 400px);
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s ease, transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-tower.in svg { opacity: 1; transform: none; }
.hero-tower .tw {
    fill: none;
    stroke: var(--ink);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}
.hero-tower .tw.thin { stroke-width: 1.1; opacity: 0.75; }
.hero-tower .tw.blue { stroke: var(--blue); stroke-width: 1.6; }
.hero-tower.in .tw {
    animation: drawLine 1.5s cubic-bezier(0.45, 0, 0.3, 1) forwards;
    animation-delay: calc(var(--i, 0) * 0.2s + 0.15s);
}

@media (max-width: 1100px) {
    .hero-tower { display: none; }
    .hero-sub { padding-right: 0; }
    .plotter-strip svg { width: 100%; }
}

/* ------------------------------------------------------------
   MARQUEE — pokretna traka
   ------------------------------------------------------------ */
.marquee {
    background: var(--blue);
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    overflow: hidden;
    padding: 0.85rem 0;
    transform: rotate(0deg);
}
.marquee-track {
    display: flex; gap: 0; width: max-content;
    animation: marqueeMove 26s linear infinite;
    will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--paper);
    white-space: nowrap;
    padding-right: 1.4rem;
}
.marquee span i {
    font-style: normal; color: var(--yellow); padding-right: 1.4rem;
}
@keyframes marqueeMove {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ------------------------------------------------------------
   SEKCIJE
   ------------------------------------------------------------ */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section.tight { padding-top: clamp(2.2rem, 5vw, 3.6rem); }

.sec-head {
    display: flex; align-items: end; justify-content: space-between;
    gap: 2rem; flex-wrap: wrap;
    margin-bottom: clamp(2rem, 5vw, 3.4rem);
}
.sec-head h2 {
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    max-width: 18ch;
}
.sec-head .sec-side {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: right;
    padding-bottom: 0.5rem;
}

/* otkrivanje na skrol */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
    transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   STATISTIKA
   ------------------------------------------------------------ */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-hard);
}
.stat {
    padding: clamp(1.4rem, 3vw, 2.4rem) 1.2rem;
    text-align: center;
    border-right: 2px solid var(--ink);
    position: relative;
}
.stat:last-child { border-right: none; }
.stat b {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--ink);
}
.stat b em { font-style: normal; color: var(--blue); }
.stat > span {
    display: block;
    margin-top: 0.55rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}
.stat::after {
    content: ''; position: absolute; top: 10px; right: 10px;
    width: 8px; height: 8px; border-radius: 50%;
}
.stat:nth-child(1)::after { background: var(--cyan); }
.stat:nth-child(2)::after { background: var(--magenta); }
.stat:nth-child(3)::after { background: var(--yellow); }
.stat:nth-child(4)::after { background: var(--blue); }

/* ------------------------------------------------------------
   KARTICE USLUGA
   ------------------------------------------------------------ */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.2rem, 2.5vw, 1.8rem);
}
.card {
    background: var(--surface);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    padding: 1.8rem 1.7rem 1.6rem 1.7rem;
    text-decoration: none;
    display: flex; flex-direction: column;
    position: relative;
    transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.5, 1), box-shadow 0.28s;
}
.card:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-hard);
}
.card .idx {
    font-family: var(--font-mono);
    font-size: 0.72rem; letter-spacing: 0.18em;
    color: var(--muted);
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1.3rem;
}
.card .icon {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border: 2px solid var(--ink);
    border-radius: 10px;
    background: var(--paper);
    margin-bottom: 1.1rem;
    transition: background 0.25s, transform 0.25s;
}
.card .icon svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.25s; }
.card:hover .icon { background: var(--blue); transform: rotate(-4deg); }
.card:hover .icon svg { stroke: #fff; }
.card h3 { font-size: 1.32rem; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.card p { color: var(--ink-soft); font-size: 0.93rem; flex-grow: 1; }
.card .go {
    margin-top: 1.4rem;
    font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
    display: inline-flex; align-items: center; gap: 0.45em;
    color: var(--ink);
}
.card .go i { font-style: normal; transition: transform 0.25s; }
.card:hover .go { color: var(--blue); }
.card:hover .go i { transform: translateX(5px); }

/* crop marks na hover (uglovi kao na pripremi za štampu) */
.card::before, .card::after {
    content: '';
    position: absolute;
    width: 14px; height: 14px;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}
.card::before {
    top: -8px; left: -8px;
    border-top: 2px solid var(--magenta);
    border-left: 2px solid var(--magenta);
}
.card::after {
    bottom: -8px; right: -8px;
    border-bottom: 2px solid var(--cyan);
    border-right: 2px solid var(--cyan);
}
.card:hover::before, .card:hover::after { opacity: 1; }

/* ------------------------------------------------------------
   PROCES — 01 → 04
   ------------------------------------------------------------ */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.2rem, 2.5vw, 2rem);
    position: relative;
}
.process::before {
    content: '';
    position: absolute;
    top: 31px; left: 4%; width: 92%;
    border-top: 2px dashed var(--ink);
    opacity: 0;
    transition: opacity 0.6s 0.3s;
}
.process.in::before { opacity: 0.3; }
.p-step { position: relative; z-index: 1; }
.p-step .num {
    width: 62px; height: 62px;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: 12px;
    display: grid; place-items: center;
    font-family: var(--font-display);
    font-weight: 900; font-size: 1.25rem;
    margin-bottom: 1.1rem;
    transform: rotate(-3deg);
    transition: transform 0.3s cubic-bezier(0.34, 1.6, 0.64, 1), background 0.3s, color 0.3s;
    box-shadow: 4px 4px 0 rgba(22,21,15,0.15);
}
.p-step:hover .num {
    transform: rotate(3deg) translateY(-4px);
    background: var(--yellow);
}
.p-step h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.p-step p { font-size: 0.9rem; color: var(--ink-soft); }
.p-step p a, .p-step p b { color: var(--blue); font-weight: 600; text-decoration: none; }
.p-step p a:hover { text-decoration: underline; }

/* ------------------------------------------------------------
   OPREMA — spec sheet
   ------------------------------------------------------------ */
.machines {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.4rem, 3vw, 2.2rem);
}
.machine {
    background: var(--surface);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.5, 1), box-shadow 0.3s;
}
.machine:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hard); }
.machine-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
    background: var(--ink); color: var(--paper);
    padding: 0.55rem 1.4rem;
    display: flex; justify-content: space-between;
}
.machine-tag i { font-style: normal; color: var(--yellow); }
.machine-body { padding: 1.8rem 1.8rem 0.6rem 1.8rem; flex-grow: 1; }
.machine-body h3 { font-size: 1.45rem; margin-bottom: 0.7rem; }
.machine-body > p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 1.2rem; }
.spec { list-style: none; margin-bottom: 1rem; }
.spec li {
    display: flex; align-items: baseline; gap: 0.8rem;
    font-size: 0.88rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--line);
}
.spec li:last-child { border-bottom: none; }
.spec b {
    font-family: var(--font-mono); font-weight: 500;
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--muted);
    flex-shrink: 0; min-width: 110px;
}
.spec span { color: var(--ink); font-weight: 500; }
.machine img {
    max-height: 250px; object-fit: contain;
    margin: 0 auto;
    padding: 0 1.5rem;
    filter: drop-shadow(0 16px 22px rgba(22,21,15,0.22));
}

/* ------------------------------------------------------------
   CENOVNIK
   ------------------------------------------------------------ */
.price-card {
    background: var(--surface);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.table-scroll { overflow-x: auto; }
table.pricing {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}
.pricing th {
    background: var(--ink); color: var(--paper);
    font-family: var(--font-display); font-weight: 700;
    font-size: 0.95rem; letter-spacing: 0.02em;
    padding: 1.05rem 1.2rem;
    text-align: right;
}
.pricing th:first-child { text-align: left; }
.pricing td {
    padding: 1.05rem 1.2rem;
    border-bottom: 1px solid var(--line);
    text-align: right;
    font-family: var(--font-mono);
    font-size: 0.92rem;
}
.pricing td:first-child {
    text-align: left;
    font-family: var(--font-body);
    font-weight: 600;
}
.pricing tbody tr { transition: background 0.2s; }
.pricing tbody tr:hover { background: rgba(34, 54, 255, 0.05); }
.pricing tr.deal td {
    background: rgba(255, 196, 0, 0.18);
    border-bottom: none;
    font-weight: 600;
}
.pricing tr.deal td:first-child::before {
    content: 'AKCIJA';
    font-family: var(--font-mono);
    font-size: 0.62rem; letter-spacing: 0.16em;
    background: var(--ink); color: var(--yellow);
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    margin-right: 0.7rem;
    vertical-align: 1px;
    animation: dealPulse 2.4s ease-in-out infinite;
}
@keyframes dealPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 196, 0, 0.55); }
    50%      { box-shadow: 0 0 0 6px rgba(255, 196, 0, 0); }
}
.price-note {
    padding: 1rem 1.4rem;
    font-size: 0.85rem; color: var(--muted);
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
.price-note a { color: var(--blue); font-weight: 600; text-decoration: none; }
.price-note a:hover { text-decoration: underline; }

/* ------------------------------------------------------------
   BIROI — inverzni panel
   ------------------------------------------------------------ */
.invert-panel {
    background: var(--ink);
    color: var(--paper);
    border-radius: calc(var(--radius) + 6px);
    padding: clamp(2.4rem, 6vw, 4.5rem);
    position: relative;
    overflow: hidden;
}
.invert-panel h2 {
    color: var(--paper);
    font-size: clamp(1.9rem, 4vw, 3rem);
    max-width: 22ch;
    margin-bottom: 1.1rem;
}
.invert-panel h2 .accent { color: var(--yellow); }
.invert-panel p {
    color: rgba(245, 241, 232, 0.78);
    max-width: 62ch;
    margin-bottom: 2rem;
    font-size: 1.02rem;
}
.invert-panel p b { color: #fff; }
.invert-panel::after {
    content: 'A0';
    position: absolute;
    right: -2%; bottom: -22%;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(10rem, 24vw, 20rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(245, 241, 232, 0.16);
    pointer-events: none;
}

/* ------------------------------------------------------------
   PODNOŽJE
   ------------------------------------------------------------ */
footer {
    background: var(--ink);
    color: var(--paper);
    margin-top: clamp(3rem, 7vw, 5rem);
    padding: clamp(3rem, 6vw, 5rem) 0 0 0;
    position: relative;
    overflow: hidden;
}
.foot-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: clamp(1.6rem, 4vw, 3rem);
    padding-bottom: 3rem;
}
.foot-brand .logo-stack { font-size: 2.1rem; }
.foot-brand .logo-stack .plate.k { color: var(--paper); }
/* na tamnoj podlozi multiply ne radi — koristimo screen blend */
footer .logo-stack .plate.c,
footer .logo-stack .plate.m,
footer .logo-stack .plate.y { mix-blend-mode: screen; }
.foot-brand p { color: rgba(245,241,232,0.65); font-size: 0.92rem; margin-top: 0.9rem; max-width: 30ch; }
.foot-col h4 {
    color: var(--paper);
    font-family: var(--font-mono); font-weight: 500;
    font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
    margin-bottom: 1.1rem;
    opacity: 0.6;
}
.foot-col a, .foot-col span {
    display: block;
    color: var(--paper);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.28rem 0;
    opacity: 0.9;
    transition: opacity 0.2s, transform 0.2s;
}
.foot-col a:hover { opacity: 1; transform: translateX(4px); color: var(--yellow); }

.foot-map {
    border-top: 1px solid rgba(245,241,232,0.18);
    padding: 2rem 0;
}
.foot-map iframe {
    width: 100%; height: 250px; border: 0; display: block;
    border-radius: 12px;
}

.foot-watermark {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(4.5rem, 17vw, 15rem);
    line-height: 0.78;
    text-align: center;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(245, 241, 232, 0.22);
    user-select: none;
    transform: translateY(0.16em);
    transition: -webkit-text-stroke-color 0.4s, color 0.4s;
}
.foot-watermark:hover { color: rgba(34, 54, 255, 0.35); }
.foot-bottom {
    border-top: 1px solid rgba(245,241,232,0.18);
    padding: 1.2rem 0;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.72rem; letter-spacing: 0.1em;
    color: rgba(245,241,232,0.55);
}
.foot-bottom .cmyk-dots { align-self: center; }

/* ------------------------------------------------------------
   PODSTRANICE — hero
   ------------------------------------------------------------ */
.page-hero {
    padding: calc(var(--nav-h) + clamp(46px, 9vh, 86px)) 0 clamp(2.4rem, 5vw, 4rem) 0;
    border-bottom: 2px solid var(--ink);
    position: relative;
    overflow: hidden;
}
.page-hero .crumbs {
    font-family: var(--font-mono);
    font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.4rem;
    display: flex; gap: 0.7em; align-items: center;
}
.page-hero .crumbs a { color: var(--muted); text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--blue); }
.page-hero .crumbs b { color: var(--blue); font-weight: 500; }
.page-hero h1 {
    font-size: clamp(2.6rem, 7vw, 5.2rem);
    max-width: 16ch;
    margin-bottom: 1.2rem;
}
.page-hero .lead {
    font-size: 1.08rem; color: var(--ink-soft); max-width: 60ch;
}
/* animirani tlocrt u heru (planovi.html) */
.page-hero .wrap { position: relative; z-index: 1; }
.hero-blueprint {
    position: absolute; inset: 0; z-index: 0;
    pointer-events: none;
    opacity: 0.55;
    -webkit-mask-image: linear-gradient(97deg, transparent 30%, rgba(0,0,0,0.5) 55%, #000 78%);
    mask-image: linear-gradient(97deg, transparent 30%, rgba(0,0,0,0.5) 55%, #000 78%);
}
.hero-blueprint svg {
    position: absolute;
    top: 50%; right: clamp(-40px, 1.5vw, 70px);
    transform: translateY(-50%);
    height: 125%;
}
.hero-blueprint .bp {
    fill: none;
    stroke: var(--ink);
    stroke-width: 2;
    stroke-linecap: square;
    stroke-linejoin: miter;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: drawLine var(--dur, 1.1s) cubic-bezier(0.45, 0, 0.3, 1) forwards;
    animation-delay: calc(var(--i, 0) * 0.45s + 0.25s);
}
.hero-blueprint .bp.wall    { stroke-width: 5; }
.hero-blueprint .bp.wall-in { stroke-width: 3.5; }
.hero-blueprint .bp.blue    { stroke: var(--blue); stroke-width: 1.4; stroke-linecap: round; }
.hero-blueprint .bp.thin    { stroke-width: 1.2; opacity: 0.8; }
.hero-blueprint .bp-label {
    font-family: var(--font-mono);
    font-size: 12px; letter-spacing: 0.1em;
    fill: var(--ink-soft);
    opacity: 0;
    animation: bpFade 0.7s ease forwards;
    animation-delay: calc(var(--i, 0) * 0.45s + 0.25s);
}
.hero-blueprint .bp-label.small { font-size: 10.5px; fill: var(--muted); }
.hero-blueprint .bp-label.blue  { font-size: 11px; fill: var(--blue); }
@keyframes bpFade { to { opacity: 1; } }

@media (max-width: 880px) {
    .hero-blueprint {
        opacity: 0.17;
        -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 96%);
        mask-image: linear-gradient(180deg, #000 55%, transparent 96%);
    }
    .hero-blueprint svg { height: 105%; right: -24%; }
}

/* ------------------------------------------------------------
   SERVISNI BLOKOVI (usluge)
   ------------------------------------------------------------ */
.svc {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: clamp(1.8rem, 4.5vw, 4rem);
    padding: clamp(2.6rem, 6vw, 4.5rem) 0;
    border-bottom: 2px dashed var(--line);
    align-items: start;
}
.svc:last-of-type { border-bottom: none; }
.svc.flip .svc-visual { order: 2; }
.svc-visual { position: sticky; top: calc(var(--nav-h) + 24px); }
.svc-frame {
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    box-shadow: var(--shadow-hard);
    transform: rotate(var(--tilt, -1.2deg));
    transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.5, 1);
}
.svc-frame:hover { transform: rotate(0deg) scale(1.015); }
.svc-frame img { width: 100%; height: 300px; object-fit: cover; }
.svc-frame .svc-frame-foot {
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-mono);
    font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
    padding: 0.75rem 1.2rem;
    border-top: 2px solid var(--ink);
    background: var(--paper);
}
.svc-frame .icon-pane {
    height: 240px;
    display: grid; place-items: center;
    background:
        radial-gradient(rgba(22,21,15,0.07) 1.5px, transparent 1.6px);
    background-size: 16px 16px;
}
.svc-frame .icon-pane svg { width: 92px; height: 92px; stroke: var(--ink); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.svc-content .kicker { margin-bottom: 0.9rem; }
.svc-content h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 0.8rem; }
.svc-content .svc-lead {
    color: var(--blue); font-weight: 600; font-size: 1.05rem;
    margin-bottom: 1.1rem;
}
.svc-content > p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 1rem; }
.svc-content > p strong { color: var(--ink); }

.variants { display: flex; flex-direction: column; gap: 0.7rem; margin: 1.4rem 0; }
.variant {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    background: var(--surface);
    border: 1.5px solid var(--ink);
    border-radius: 10px;
    padding: 0.85rem 1.2rem;
    transition: transform 0.22s, box-shadow 0.22s;
}
.variant:hover { transform: translateX(6px); box-shadow: -4px 4px 0 rgba(34,54,255,0.25); }
.variant b { font-size: 0.95rem; display: block; }
.variant small { color: var(--muted); font-size: 0.82rem; display: block; margin-top: 0.1rem; }
.variant .tag {
    font-family: var(--font-mono);
    font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
    border: 1.5px solid var(--ink);
    background: var(--yellow);
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    white-space: nowrap;
    font-weight: 500;
}
.variant .tag.blue { background: var(--blue); color: #fff; border-color: var(--blue-dark); }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.chip {
    font-family: var(--font-mono);
    font-size: 0.72rem; letter-spacing: 0.06em;
    border: 1.5px dashed var(--ink-soft);
    color: var(--ink-soft);
    border-radius: 999px;
    padding: 0.32rem 0.85rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { background: var(--ink); color: var(--paper); border-style: solid; }

/* ------------------------------------------------------------
   REASONS GRID (planovi, diplomski)
   ------------------------------------------------------------ */
.reasons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.4vw, 1.6rem);
}
.reason {
    background: var(--surface);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    padding: 1.5rem 1.4rem;
    transition: transform 0.26s cubic-bezier(0.34, 1.4, 0.5, 1), box-shadow 0.26s;
}
.reason:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 rgba(34, 54, 255, 0.9); }
.reason .icon {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border: 2px solid var(--ink); border-radius: 10px;
    background: var(--paper);
    margin-bottom: 0.95rem;
}
.reason .icon svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reason h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.reason p { font-size: 0.88rem; color: var(--ink-soft); }

/* prose / story blokovi */
.prose {
    max-width: 75ch;
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.85;
}
.prose strong { color: var(--ink); }
.prose .accent { font-weight: 600; }
.prose p + p { margin-top: 1.2rem; }

.note-box {
    background: var(--surface);
    border: 2px solid var(--ink);
    border-left-width: 10px;
    border-radius: 12px;
    padding: 1.5rem 1.8rem;
    margin-top: 2rem;
}
.note-box.blue { border-left-color: var(--blue); }
.note-box.yellow { border-left-color: var(--yellow); }
.note-box h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.note-box p { font-size: 0.95rem; color: var(--ink-soft); }
.note-box p strong { color: var(--ink); }

/* ------------------------------------------------------------
   POREĐENJE LASER / INKJET
   ------------------------------------------------------------ */
.tech-duel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.4rem, 3vw, 2.2rem);
    align-items: stretch;
}
.tech-card {
    background: var(--surface);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    padding: 1.8rem;
    position: relative;
}
.tech-card.winner {
    box-shadow: var(--shadow-hard);
    transform: rotate(-0.6deg);
}
.tech-card .tech-flag {
    font-family: var(--font-mono);
    font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
}
.tech-card.winner .tech-flag { background: var(--blue); color: #fff; }
.tech-card:not(.winner) .tech-flag { background: var(--paper-2); color: var(--muted); border: 1px solid var(--line); }
.tech-card h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.tech-card .sub { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.2rem; }
.tech-list { list-style: none; margin-top: 1.2rem; }
.tech-list li {
    display: flex; gap: 0.7rem; align-items: baseline;
    padding: 0.45rem 0;
    font-size: 0.92rem;
    color: var(--ink-soft);
    border-bottom: 1px dashed var(--line);
}
.tech-list li:last-child { border-bottom: none; }
.tech-list .y { color: var(--blue); font-weight: 800; }
.tech-list .n { color: var(--muted); font-weight: 800; }
.edge-demo {
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 0.9rem;
}
.edge-demo .cap {
    font-family: var(--font-mono); font-size: 0.68rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted); margin-top: 0.5rem;
}

table.compare {
    width: 100%; border-collapse: collapse; min-width: 600px;
    background: var(--surface);
}
.compare th {
    background: var(--ink); color: var(--paper);
    font-family: var(--font-display); font-weight: 700;
    padding: 0.95rem 1.1rem; text-align: left; font-size: 0.92rem;
}
.compare td {
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
    color: var(--ink-soft);
}
.compare td:first-child { font-weight: 600; color: var(--ink); }
.compare td.win { color: var(--blue); font-weight: 600; }

/* split blok */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.8rem, 4vw, 3.5rem);
    align-items: center;
    padding: clamp(2.2rem, 5vw, 3.6rem) 0;
}
.split h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 0.8rem; }
.split .lead-em { color: var(--blue); font-weight: 600; margin-bottom: 1rem; font-size: 1.02rem; }
.split p { color: var(--ink-soft); font-size: 0.97rem; }
.split p + p { margin-top: 0.9rem; }
.split p strong { color: var(--ink); }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-group {
    font-family: var(--font-mono);
    font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted);
    margin: 2.8rem 0 1rem 0;
    display: flex; align-items: center; gap: 1rem;
}
.faq-group::after { content: ''; flex-grow: 1; height: 1.5px; background: var(--line); }
.faq-item {
    background: var(--surface);
    border: 2px solid var(--ink);
    border-radius: 12px;
    margin-bottom: 0.8rem;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
}
.faq-item.open { box-shadow: 5px 5px 0 rgba(34, 54, 255, 0.85); transform: translate(-2px, -2px); }
.faq-q {
    width: 100%;
    background: none; border: none;
    font-family: var(--font-display);
    font-weight: 700; font-size: 1.02rem;
    text-align: left;
    color: var(--ink);
    padding: 1.15rem 1.4rem;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    cursor: pointer;
}
.faq-q .pm {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border: 2px solid var(--ink); border-radius: 8px;
    display: grid; place-items: center;
    font-weight: 800; font-size: 1rem;
    transition: transform 0.35s cubic-bezier(0.34, 1.5, 0.5, 1), background 0.25s, color 0.25s;
}
.faq-item.open .faq-q .pm {
    transform: rotate(135deg);
    background: var(--blue); border-color: var(--blue); color: #fff;
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a-inner {
    padding: 0 1.4rem 1.3rem 1.4rem;
    color: var(--ink-soft); font-size: 0.95rem;
}
.faq-a-inner strong { color: var(--ink); }
.faq-a-inner a { color: var(--blue); font-weight: 600; }
.faq-tip {
    margin-top: 0.9rem;
    background: rgba(255, 196, 0, 0.16);
    border-left: 4px solid var(--yellow);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
}

/* ------------------------------------------------------------
   CTA BAR (dno podstranica)
   ------------------------------------------------------------ */
.cta-bar {
    border: 2px solid var(--ink);
    border-radius: calc(var(--radius) + 6px);
    background: var(--surface);
    box-shadow: var(--shadow-hard);
    text-align: center;
    padding: clamp(2.2rem, 5vw, 3.6rem) clamp(1.4rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
}
.cta-bar::before {
    content: '';
    position: absolute; inset: 10px;
    border: 1.5px dashed var(--line);
    border-radius: calc(var(--radius) - 2px);
    pointer-events: none;
}
.cta-bar h3 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 0.7rem; }
.cta-bar > p { color: var(--ink-soft); max-width: 56ch; margin: 0 auto 1.8rem auto; }
.cta-bar .cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-bar .fine {
    margin-top: 1.6rem;
    font-family: var(--font-mono);
    font-size: 0.72rem; letter-spacing: 0.1em;
    color: var(--muted);
}

/* ------------------------------------------------------------
   FORMA (posalji)
   ------------------------------------------------------------ */
.form-shell {
    max-width: 880px; margin: 0 auto;
    background: var(--surface);
    border: 2px solid var(--ink);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow-hard);
    overflow: hidden;
}
.form-head {
    background: var(--ink); color: var(--paper);
    padding: 1.1rem 1.8rem;
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-mono);
    font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.form-head .cmyk-dots i { width: 9px; height: 9px; }
.form-body { padding: clamp(1.6rem, 4vw, 2.6rem); }

.f-section {
    font-family: var(--font-mono);
    font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted);
    margin: 1.8rem 0 1rem 0;
    display: flex; align-items: center; gap: 1rem;
}
.f-section:first-child { margin-top: 0; }
.f-section::after { content: ''; flex-grow: 1; height: 1.5px; background: var(--line); }
.f-section b { color: var(--blue); font-weight: 500; }

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-bottom: 1.1rem; }
.f-row.three { grid-template-columns: 1fr 1fr 1fr; }
.f-group { display: flex; flex-direction: column; }
.f-group.full { grid-column: 1 / -1; }
.f-group label {
    font-weight: 600; font-size: 0.88rem;
    margin-bottom: 0.45rem;
}
.f-group label .req { color: var(--magenta); }
.f-group input, .f-group select, .f-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: 10px;
    padding: 0.78rem 0.95rem;
    outline: none;
    transition: box-shadow 0.2s, background 0.2s;
    width: 100%;
}
.f-group input:focus, .f-group select:focus, .f-group textarea:focus {
    background: #fff;
    box-shadow: 4px 4px 0 rgba(34, 54, 255, 0.8);
}
.f-group textarea { resize: vertical; min-height: 110px; }
.f-err {
    display: none;
    color: var(--magenta);
    font-size: 0.78rem; font-weight: 600;
    margin-top: 0.35rem;
}
.f-group.has-err input, .f-group.has-err select { border-color: var(--magenta); }
.f-group.has-err .f-err { display: block; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* dropzona */
.dropzone {
    border: 2px dashed var(--ink);
    border-radius: 12px;
    background: var(--paper);
    padding: 2.4rem 1.4rem;
    text-align: center;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.dropzone:hover { background: rgba(34, 54, 255, 0.05); }
.dropzone.drag {
    background: rgba(34, 54, 255, 0.09);
    border-color: var(--blue);
    transform: scale(1.01);
}
.dropzone svg { width: 44px; height: 44px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 0.8rem auto; display: block; }
.dropzone .dz-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.dropzone .dz-title b { color: var(--blue); }
.dropzone .dz-hint {
    font-family: var(--font-mono);
    font-size: 0.72rem; letter-spacing: 0.08em;
    color: var(--muted); margin-top: 0.5rem;
}
.file-pill {
    display: none;
    margin-top: 1rem;
    background: var(--surface);
    border: 2px solid var(--ink);
    border-radius: 10px;
    padding: 0.8rem 1.1rem;
    text-align: left;
    align-items: center; gap: 0.9rem;
}
.file-pill.show { display: flex; }
.file-list { display: flex; flex-direction: column; }
.file-list .file-pill { margin-top: 0.7rem; }
.file-pill .fp-name { font-weight: 600; font-size: 0.92rem; word-break: break-all; }
.file-pill .fp-size { font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); }
.file-pill button {
    margin-left: auto;
    background: none; border: 2px solid var(--ink); border-radius: 8px;
    width: 30px; height: 30px;
    font-weight: 800; cursor: pointer;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}
.file-pill button:hover { background: var(--magenta); border-color: var(--magenta); color: #fff; }

.upload-progress { display: none; margin-top: 1.2rem; }
.upload-progress.show { display: block; }
.up-track {
    height: 14px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    overflow: hidden;
    background: var(--paper);
}
.up-fill {
    height: 100%; width: 0%;
    background: repeating-linear-gradient(-45deg, var(--blue) 0 12px, var(--blue-dark) 12px 24px);
    background-size: 34px 34px;
    transition: width 0.2s;
    animation: stripeMove 1s linear infinite;
}
@keyframes stripeMove { to { background-position: 34px 0; } }
.up-label {
    font-family: var(--font-mono); font-size: 0.72rem;
    letter-spacing: 0.1em; color: var(--muted);
    margin-top: 0.4rem;
    display: flex; justify-content: space-between;
}

.server-error {
    display: none;
    background: rgba(230, 46, 138, 0.1);
    border: 2px solid var(--magenta);
    color: var(--ink);
    border-radius: 10px;
    padding: 0.9rem 1.2rem;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}
.server-error.show { display: block; }

.submit-row { margin-top: 1.8rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.submit-row .micro {
    font-family: var(--font-mono); font-size: 0.7rem;
    color: var(--muted); letter-spacing: 0.06em;
}
button.btn[disabled] { opacity: 0.55; cursor: wait; transform: none !important; }

/* success card */
.success-card {
    display: none;
    text-align: center;
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
}
.success-card.show { display: block; }
.success-stamp {
    width: 92px; height: 92px;
    margin: 0 auto 1.4rem auto;
    border: 3px solid var(--blue);
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--blue);
    font-size: 2.4rem; font-weight: 900;
    transform: rotate(-8deg);
    animation: stampIn 0.55s cubic-bezier(0.2, 1.8, 0.4, 1) both;
}
@keyframes stampIn {
    0% { transform: rotate(-8deg) scale(2.4); opacity: 0; }
    100% { transform: rotate(-8deg) scale(1); opacity: 1; }
}
.success-card h2 { font-size: 1.9rem; margin-bottom: 0.7rem; }
.success-card p { color: var(--ink-soft); max-width: 50ch; margin: 0 auto 0.4rem auto; }
.success-card .s-mail { font-weight: 700; color: var(--blue); }

/* ------------------------------------------------------------
   PRISTUPAČNOST I RESPONSIVE
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
    .print-reveal { clip-path: none; }
    .plotter-strip .draw { stroke-dashoffset: 0; }
    .plotter-strip .plbl, .plotter-strip .axis, .plotter-strip .axc { opacity: 1; }
    .hero-tower .tw { stroke-dashoffset: 0; }
    .hero-tower svg { opacity: 1; transform: none; }
    .hero-blueprint .bp { stroke-dashoffset: 0; }
    .hero-blueprint .bp-label { opacity: 1; }
}

@media (max-width: 1020px) {
    .cards { grid-template-columns: 1fr 1fr; }
    .reasons { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
    .nav-links {
        position: fixed;
        top: var(--nav-h); right: 0; left: 0;
        background: var(--paper);
        border-bottom: 2px solid var(--ink);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0.6rem 0 1rem 0;
        transform: translateY(-130%);
        transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
        z-index: 1500;
        box-shadow: 0 30px 60px rgba(22,21,15,0.18);
    }
    .nav-links.open { transform: translateY(0); }
    .nav-links li { width: 100%; }
    .nav-links a:not(.btn) {
        display: block;
        padding: 0.85rem clamp(20px, 4vw, 48px);
        font-size: 1.05rem;
    }
    .nav-links a:not(.btn)::after { display: none; }
    .nav-links .btn { margin: 0.7rem clamp(20px, 4vw, 48px) 0; }
    #navToggle { display: flex; }

    .hero-sub { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 2px solid var(--ink); }
    .process { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .process::before { display: none; }
    .machines { grid-template-columns: 1fr; }
    .tech-duel { grid-template-columns: 1fr; }
    .tech-card.winner { transform: none; }
    .svc, .svc.flip { grid-template-columns: 1fr; }
    .svc.flip .svc-visual { order: 0; }
    .svc-visual { position: static; }
    .split { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .f-row, .f-row.three { grid-template-columns: 1fr; gap: 0; }
    .f-row .f-group, .f-row.three .f-group { margin-bottom: 1.1rem; }
}

@media (max-width: 560px) {
    .cards { grid-template-columns: 1fr; }
    .reasons { grid-template-columns: 1fr; }
    .process { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .mega-logo { white-space: normal; }
    .sec-head .sec-side { text-align: left; }
}
