/* Armirač Bogić — stilovi */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0f1113;
  --steel: #181b1f;
  --steel-2: #23272c;
  --line: rgba(255,255,255,.12);
  --concrete: #e8e4dd;
  --paper: #f5f3ef;
  --text: #16181b;
  --muted: #5d6167;
  --rust: #e2571e;
  --rust-hi: #ff6d2e;
  --rust-lo: #b8410f;
  --radius: 14px;
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2,.7,.1,1);
  --display: "Archivo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.6 var(--display); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); line-height: 1.02; letter-spacing: -.01em; }
h2 { font-size: clamp(36px, 6vw, 76px); font-weight: 850; font-stretch: 118%; text-transform: uppercase; }
h3 { font-size: 21px; font-weight: 750; font-stretch: 105%; line-height: 1.15; }
p { margin: 0 0 1em; }
::selection { background: var(--rust); color: #fff; }
:focus-visible { outline: 3px solid var(--rust-hi); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--rust); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* Gumbi */
.btn {
  --bg: transparent; display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.25em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: #fff; text-decoration: none; white-space: nowrap;
  font: 700 15px/1 var(--display); font-stretch: 108%; letter-spacing: .02em;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn--rust { --bg: var(--rust); box-shadow: 0 10px 30px -10px rgba(226,87,30,.7); }
.btn--rust:hover { --bg: var(--rust-hi); transform: translateY(-2px); }
.btn--ghost { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,.08); }
.btn--lg { font-size: 16px; padding: 1.05em 1.6em; }

/* Navigacija */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, transform .35s var(--ease); }
.nav__in { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--pad); display: flex; align-items: center; gap: 28px; }
.nav__logo img { width: clamp(170px, 18vw, 220px); height: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: 15px; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--rust); transition: right .3s var(--ease); }
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { right: 0; }
.nav.is-solid { background: rgba(15,17,19,.88); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .3s var(--ease), top .3s; }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.nav__mobile { background: var(--ink); padding: 8px var(--pad) 24px; display: grid; }
.nav__mobile[hidden] { display: none; }
.nav__mobile a { color: #fff; text-decoration: none; font-size: 26px; font-weight: 800; font-stretch: 115%; text-transform: uppercase; padding: 12px 0; border-bottom: 1px solid var(--line); }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-items: end;
  color: #fff; background: var(--ink); overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: kenburns 22s var(--ease) forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,17,19,.75) 0%, rgba(15,17,19,.25) 35%, rgba(15,17,19,.55) 65%, rgba(15,17,19,.96) 100%),
    linear-gradient(90deg, rgba(15,17,19,.8) 0%, rgba(15,17,19,0) 70%);
}
.hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; color: rgba(255,255,255,.18); mask-image: radial-gradient(ellipse at 80% 30%, #000 0%, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 80% 30%, #000 0%, transparent 60%); }
@keyframes kenburns { to { transform: scale(1); } }
.hero__in { max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 140px var(--pad) clamp(48px, 9vh, 110px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(15,17,19,.35); backdrop-filter: blur(6px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 0 rgba(226,87,30,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(226,87,30,0); } 100% { box-shadow: 0 0 0 0 rgba(226,87,30,0); } }
.hero__title { margin: 22px 0 22px; text-transform: uppercase; }
.hero__big {
  display: block; font-size: clamp(52px, 12.6vw, 196px); font-weight: 900; font-stretch: 125%;
  line-height: .9; letter-spacing: -.035em; padding-top: .12em; margin-top: -.12em;
  background: linear-gradient(180deg, #fff 30%, #d9d4cc 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__rest { display: block; max-width: 17ch; margin-top: 14px; font-size: clamp(24px, 3.6vw, 48px); font-weight: 800; font-stretch: 112%; line-height: 1.02; }
.hero__rest::first-line { color: var(--rust-hi); }
.hero__lede { max-width: 56ch; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.82); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 44px; }
.hero__facts { list-style: none; margin: 0; padding: 22px 0 0; display: flex; gap: clamp(24px, 6vw, 72px); border-top: 1px solid var(--line); }
.hero__facts li { display: grid; gap: 2px; }
.hero__facts strong { font-size: clamp(28px, 3.4vw, 44px); font-weight: 850; font-stretch: 120%; line-height: 1; }
.hero__facts span { font-size: 13px; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .08em; }
.hero__scroll { position: absolute; right: var(--pad); bottom: 40px; width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrolly 1.8s infinite; }
@keyframes scrolly { to { transform: translateY(16px); opacity: 0; } }

/* Ticker */
.ticker-wrap { overflow: hidden; margin: -44px 0 -40px; padding: 30px 0; position: relative; z-index: 2; pointer-events: none; }
.ticker { background: var(--rust); color: #fff; overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg) scale(1.03); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.ticker__track { display: flex; gap: 28px; width: max-content; animation: tick 38s linear infinite; font-size: clamp(18px, 2.2vw, 26px); font-weight: 850; font-stretch: 120%; text-transform: uppercase; white-space: nowrap; }
.ticker i { font-style: normal; opacity: .55; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Sekcije */
.sec { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.sec--dark { background: var(--steel); color: #fff; }
.sec--ink { background: var(--ink); color: #fff; }
.sec__intro { font-size: clamp(17px, 1.6vw, 20px); color: #3b3f45; max-width: 64ch; margin: -18px 0 46px; }

/* Stil nacrta: papir s mrežom, crne linije, oznake pozicija */
.paper {
  --line: #111; --grid: rgba(0,0,0,.055);
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  border-top: 1.5px solid #111;
}
.paper + .paper { border-top: 1.5px solid #111; }
.pos { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border: 2.5px solid currentColor; border-radius: 50%; font-weight: 800; font-size: 19px; font-stretch: 100%; line-height: 1; transition: background .25s, border-color .25s, color .25s; }
.pos--sm { width: 34px; height: 34px; font-size: 15px; border-width: 2px; }
.sheet { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 18px; margin-bottom: clamp(40px, 5vw, 60px); }
.sheet .pos { margin-bottom: 4px; }
.sheet__t small { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); margin-bottom: 8px; }
.sheet h2 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .16em; font-size: clamp(32px, 5.4vw, 70px); }
.sheet__scale { font-weight: 800; font-size: 16px; white-space: nowrap; padding-bottom: 8px; }
.sec--dark .sheet, .sec--ink .sheet { color: #fff; }
.sec--dark .sheet h2, .sec--ink .sheet h2 { text-decoration-color: var(--rust); }

/* Kartice usluga s crtežima */
.cards-dwg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-dwg { background: #fff; border: 1.5px solid #111; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card-dwg:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 #111; }
.dwg-wrap { margin: 0; position: relative; border-bottom: 1.5px solid #111; padding: 6px; }
.dwg-wrap figcaption { position: absolute; right: -1.5px; bottom: -1.5px; background: #fff; border: 1.5px solid #111; padding: 3px 9px; font-size: 12px; font-weight: 700; }
.card-dwg__body { padding: 22px 22px 26px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; }
.card-dwg__body .pos { grid-row: span 2; }
.card-dwg h3 { margin: 6px 0 8px; }
.card-dwg p { color: #4a4e54; margin: 0; font-size: 16px; }
.card-dwg:hover .pos { background: var(--rust); border-color: var(--rust); color: #fff; }

/* SVG crteži (kartice) */
svg.dwg { width: 100%; height: auto; display: block; overflow: visible; }
.dwg .ln { fill: none; stroke: #111; stroke-width: 2.2; stroke-linejoin: round; }
.dwg .rb { fill: none; stroke: #111; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.dwg .nsc { vector-effect: non-scaling-stroke; }
.dwg .bar { fill: #111; transition: fill .3s; }
.dwg .ld { fill: none; stroke: #111; stroke-width: .9; }
.dwg .kt { fill: none; stroke: #111; stroke-width: .9; }
.dwg .dash { fill: none; stroke: #111; stroke-width: .8; stroke-dasharray: 4 3; }
.dwg .hatch { fill: none; stroke: #111; stroke-width: .8; transition: stroke .3s; }
.dwg .lap { fill: rgba(226,87,30,.12); }
.dwg .pbox { fill: #fff; stroke: #111; stroke-width: .8; }
.dwg .bub { fill: #fff; stroke: #111; stroke-width: 1.3; }
.dwg text { font-family: var(--display); font-stretch: 100%; fill: #111; }
.dwg .t { font-size: 12px; font-weight: 700; }
.dwg .bn { font-size: 10px; font-weight: 800; }
.dwg .tt { font-size: 15px; font-weight: 800; }
.dwg .ts { font-size: 9.5px; font-weight: 600; fill: #555; }
.dwg .tm { font-size: 8.5px; font-weight: 700; }
.card-dwg:hover .dwg .rb, .card-dwg:hover .dwg .hatch { stroke: var(--rust); }
.card-dwg:hover .dwg .bar { fill: var(--rust); }
/* crtanje kad kartica uđe u ekran */
.dwg .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.dwg .pop, .dwg .fade, .dwg .co { opacity: 0; }
.dwg .pop { transform-box: fill-box; transform-origin: center; }
.is-in .dwg .draw { animation: dwdraw 1.1s cubic-bezier(.5,0,.2,1) var(--d, 0s) forwards; }
.is-in .dwg .co .draw { animation-delay: inherit; }
.is-in .dwg .pop { animation: dwpop .4s cubic-bezier(.2,1.5,.4,1) var(--d, 0s) forwards; }
.is-in .dwg .fade, .is-in .dwg .co { animation: dwfade .5s ease var(--d, 0s) forwards; }
.is-in .dwg .co .fade { animation: dwfade .5s ease calc(var(--d, 0s) + .3s) forwards; }
@keyframes dwdraw { to { stroke-dashoffset: 0; } }
@keyframes dwpop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
@keyframes dwfade { to { opacity: 1; } }

/* Interaktivni presjek (kako čitati nacrt) */
.read { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.read__dwg { background: #fff; border: 1.5px solid #111; padding: 18px; position: relative; }
.read__dwg::after { content: "Stropna greda · nacrt 7"; position: absolute; right: -1.5px; bottom: -1.5px; border: 1.5px solid #111; background: #fff; padding: 3px 10px; font-weight: 700; font-size: 12px; }
svg.dw { width: 100%; height: auto; display: block; }
.dw .ln { fill: none; stroke: #111; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.dw .thin { stroke-width: 3; }
.dw .bar { fill: #111; transition: fill .25s; }
.dw .lead { fill: none; stroke: #111; stroke-width: 2.6; transition: stroke .25s; }
.dw text { font: 700 44px var(--display); font-stretch: 100%; fill: #111; transition: fill .25s; }
.dw .tt { font-size: 62px; font-weight: 800; }
.dw circle.bub { fill: #fff; stroke: #111; stroke-width: 3; transition: fill .25s, stroke .25s; }
.dw g.callout { cursor: pointer; }
.dw .bar.hl { fill: var(--rust); }
.dw g.callout.hl .lead { stroke: var(--rust); }
.dw g.callout.hl text { fill: var(--rust); }
.dw g.callout.hl circle.bub { stroke: var(--rust); fill: var(--rust); }
.dw g.callout.hl .bubt { fill: #fff; }
.dw .stirrup.hl { stroke: var(--rust); }
.dw .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.dw.in .draw { animation: dwdraw 1.2s cubic-bezier(.5,0,.2,1) var(--d, 0s) forwards; }
.dw .pop { opacity: 0; transform-box: fill-box; transform-origin: center; }
.dw.in .pop { animation: dwpop .45s cubic-bezier(.2,1.5,.4,1) var(--d, 0s) forwards; }
.dw .fade { opacity: 0; }
.dw.in .fade { animation: dwfade .5s ease var(--d, 0s) forwards; }
.read__text h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 850; font-stretch: 112%; text-transform: uppercase; margin-bottom: 10px; }
.read__text > p { color: #3b3f45; margin: 0; }
.legend { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1.5px solid #111; }
.legend li { display: grid; grid-template-columns: 50px 1fr; gap: 12px; align-items: center; padding: 11px 6px; border-bottom: 1px solid #d6d2ca; cursor: pointer; transition: background .2s; }
.legend li:hover, .legend li.hl { background: #fff; }
.legend li.hl .pos { border-color: var(--rust); background: var(--rust); color: #fff; }
.legend .pos { width: 38px; height: 38px; font-size: 16px; border-width: 2px; }
.legend b { font-size: 19px; }
.legend span:not(.pos) { display: block; color: #6b6b6b; font-size: 14.5px; }

/* Oznake na fotografijama (kao na nacrtu) */
.tagx { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; background: #fff; color: #111; border: 2px solid #111; padding: 5px 12px 5px 5px; font-weight: 800; font-size: 14px; white-space: nowrap; transform: translate(-50%, -50%); box-shadow: 4px 4px 0 #111; }
.tagx i { font-style: normal; display: inline-grid; place-items: center; width: 24px; height: 24px; border: 2px solid #111; border-radius: 50%; font-size: 12px; }
.tagx--dark { box-shadow: 4px 4px 0 var(--rust); border-color: #fff; }
.dotx { position: absolute; z-index: 2; width: 14px; height: 14px; border-radius: 50%; background: var(--rust); border: 2.5px solid #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 6px rgba(226,87,30,.25); }
.hero__tags { position: absolute; inset: 0; pointer-events: none; opacity: 0; animation: dwfade .8s ease 1.2s forwards; }

/* O nama */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.annot { position: relative; margin: 0; border: 1.5px solid #111; background: #fff; padding: 12px; }
.annot > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.annot figcaption { position: absolute; right: -1.5px; bottom: -1.5px; background: #fff; border: 1.5px solid #111; padding: 3px 10px; font-weight: 700; font-size: 12px; }
.about__text > p { color: #3b3f45; font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 26px 0 40px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border: 2px solid #111; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23e2571e' stroke-width='3.5'/%3E%3C/svg%3E") center/14px no-repeat; }
/* brojke kao kote */
.kote { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.kota { position: relative; padding-top: 32px; text-align: center; }
.kota::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; border-top: 2px solid #111; }
.kota::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 20px; border-left: 2px solid #111; border-right: 2px solid #111; }
.kota strong { display: block; font-size: clamp(36px, 4.2vw, 58px); font-weight: 900; font-stretch: 125%; line-height: 1; }
.kota span { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; color: #6b6b6b; margin-top: 6px; }

/* Proces: koraci na kotnoj liniji */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; left: 23px; right: 23px; top: 23px; border-top: 2px solid #111; }
.steps li { position: relative; padding-right: 24px; }
.steps li .pos { background: var(--paper); position: relative; margin-bottom: 20px; }
.steps li:hover .pos { background: var(--rust); border-color: var(--rust); color: #fff; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: #4a4e54; font-size: 16px; margin: 0; }

/* Područje */
.area__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.area__in > p { color: #3b3f45; font-size: 18px; margin: 0; }
.places { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.places li { padding: 10px 16px; background: #fff; border: 2px solid #111; font-weight: 700; box-shadow: 3px 3px 0 #111; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.places li:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 #111; }
.places li:first-child { background: var(--rust); color: #fff; border-color: #111; }

/* FAQ */
.faq__list { max-width: 980px; border-top: 2px solid #111; }
.faq__list details { border-bottom: 1.5px solid #111; background: transparent; transition: background .2s; }
.faq__list details[open] { background: #fff; }
.faq__list summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 14px; position: relative; font-size: clamp(18px, 2vw, 23px); font-weight: 750; font-stretch: 108%; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 12px; top: 50%; width: 36px; height: 36px; margin-top: -18px; display: grid; place-items: center; border: 2px solid #111; border-radius: 50%; font-size: 22px; font-weight: 500; transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--rust); border-color: var(--rust); color: #fff; }
.faq__list p { max-width: 72ch; color: #3b3f45; font-size: 17px; padding: 0 14px 18px; margin: 0; }

/* Kontakt: pečat nacrta + obrazac */
.contact__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact__lead { font-size: 18px; color: #3b3f45; max-width: 52ch; margin: 0 0 26px; }
.stamp { display: grid; grid-template-columns: 1fr 1fr; border: 2.5px solid #111; background: #fff; }
.stamp__cell { display: block; padding: 14px 16px; border-right: 1.5px solid #111; border-bottom: 1.5px solid #111; text-decoration: none; color: #111; transition: background .2s, color .2s; }
.stamp__cell:nth-child(2n) { border-right: 0; }
.stamp__cell:nth-last-child(-n+2) { border-bottom: 0; }
.stamp small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #6b6b6b; font-weight: 700; margin-bottom: 4px; }
.stamp b { font-size: 18px; font-weight: 800; word-break: break-word; }
.stamp__logo img { height: 46px; width: auto; }
.stamp__tel b { font-size: clamp(22px, 2.4vw, 30px); font-stretch: 112%; }
a.stamp__cell:hover { background: var(--rust); color: #fff; }
a.stamp__cell:hover small { color: rgba(255,255,255,.8); }
.quote { background: #fff; border: 2.5px solid #111; box-shadow: 10px 10px 0 #111; padding: clamp(22px, 3vw, 34px); display: grid; gap: 13px; }
.quote h3 { font-size: 26px; font-weight: 850; font-stretch: 118%; text-transform: uppercase; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.quote__hint { color: #6b6b6b; font-size: 14px; margin: -4px 0 4px; }
.quote label { display: grid; gap: 5px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.quote input, .quote select, .quote textarea { font: 500 16px/1.4 var(--display); color: #111; background: var(--paper); border: 2px solid #111; border-radius: 0; padding: 11px 12px; width: 100%; transition: box-shadow .2s, background .2s; }
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: none; background: #fff; box-shadow: 4px 4px 0 var(--rust); }
.quote .is-invalid { border-color: #c62828; box-shadow: 4px 4px 0 #c62828; }
.quote button { justify-content: center; margin-top: 6px; border-radius: 0; box-shadow: 4px 4px 0 #111; }
.quote button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #111; }

/* Galerija */
.filters { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); align-self: end; margin-bottom: 6px; }
.filters button { border: 0; background: transparent; color: rgba(255,255,255,.75); font: 700 14px/1 var(--display); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.filters button.is-on { background: #fff; color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px; }
.g { position: relative; overflow: hidden; border-radius: 4px; background: var(--steel-2); display: block; transition: opacity .35s, transform .35s var(--ease); }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; grid-row: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.g::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.75)); opacity: .8; transition: opacity .3s; }
.g span { position: absolute; left: 14px; bottom: 12px; right: 14px; z-index: 1; color: #fff; font-weight: 700; font-size: 14px; transform: translateY(4px); transition: transform .35s var(--ease); }
.g:hover img { transform: scale(1.07); }
.g:hover span { transform: none; }
.g.is-out { display: none; }

/* Video reels */
.reels__nav { display: flex; gap: 10px; align-self: end; margin-bottom: 6px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; font-size: 20px; cursor: pointer; transition: background .25s, border-color .25s; }
.arrow:hover { background: var(--rust); border-color: var(--rust); }
.reels {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))) 10px;
  scroll-padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
}
.reels::-webkit-scrollbar { display: none; }
.reel { flex: 0 0 auto; width: clamp(220px, 24vw, 300px); aspect-ratio: 9/16; margin: 0; scroll-snap-align: start; position: relative; border-radius: 6px; overflow: hidden; background: var(--steel-2); cursor: pointer; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel--land { width: auto; }
.reel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; font-weight: 700; font-size: 15px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.8)); pointer-events: none; }
.reel::before { content: "▶"; position: absolute; z-index: 2; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(226,87,30,.95); color: #fff; font-size: 13px; padding-left: 2px; transition: opacity .3s, transform .3s; }
.reel.is-playing::before { opacity: 0; transform: scale(.6); }

/* Footer */
.foot { background: var(--ink); color: rgba(255,255,255,.7); padding: 80px 0 110px; font-size: 15px; }
.foot__in { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.3fr; gap: 40px; }
.foot__brand img { width: 190px; }
.foot h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; font-weight: 750; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--rust-hi); }
.foot__legal p { line-height: 1.7; margin: 0; }
.foot__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }

/* Mobilna traka */
.dock { display: none; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10,11,12,.94); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 82vh; width: auto; border-radius: 8px; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.lightbox__cap { position: fixed; bottom: 24px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; }
.lightbox__close, .lightbox__nav { position: fixed; border: 0; cursor: pointer; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 20px; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--rust); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 20px; top: 50%; margin-top: -26px; }

/* Animacije pri skrolanju */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: block; margin-left: 0; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .foot__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .cards-dwg { grid-template-columns: 1fr 1fr; }
  .read, .about, .area__in, .contact__in { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps::before { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__cta span { display: none; }
  .nav__cta { padding: .8em; }
  .hero__in { padding-top: 110px; }
  .hero__big { font-size: 14vw; }
  .kicker { font-size: 12px; letter-spacing: .05em; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__facts { gap: 20px; justify-content: space-between; }
  .hero__facts span { font-size: 11px; }
  .hero__scroll { display: none; }
  .cards-dwg { grid-template-columns: 1fr; }
  .sheet { grid-template-columns: auto 1fr; }
  .sheet__scale { display: none; }
  .sheet .pos { width: 38px; height: 38px; font-size: 16px; }
  .hero__tags { display: none; }
  .stamp { grid-template-columns: 1fr; }
  .stamp__cell { border-right: 0 !important; border-bottom: 1.5px solid #111 !important; }
  .stamp__cell:last-child { border-bottom: 0 !important; }
  .kote { gap: 14px; }
  .quote { box-shadow: 6px 6px 0 #111; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .g--wide { grid-column: span 2; }
  .reel { width: 68vw; }
  .reel--land { width: auto; }
  .reels__nav { display: none; }
  .steps { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr; }
  .foot__bottom { flex-direction: column; }
  .lightbox__nav { top: auto; bottom: 70px; margin: 0; }
  .dock {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; z-index: 60;
    left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    padding: 6px; border-radius: 999px; background: rgba(15,17,19,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); transition: transform .4s var(--ease);
  }
  .dock a { text-align: center; padding: 14px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 800; font-stretch: 110%; text-transform: uppercase; font-size: 15px; letter-spacing: .04em; }
  .dock__call { background: var(--rust); }
  .dock__wa { background: #1f9d55; }
  .dock.is-away { transform: translateY(140%); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Podstranice ---------- */
.nav__links a[aria-current="page"] { color: #fff; }
.nav__links a[aria-current="page"]::after { right: 0; }
.nav__mobile a[aria-current="page"] { color: var(--rust-hi); }
.btn--ink { --bg: #111; color: #fff; border-radius: 0; box-shadow: 4px 4px 0 var(--rust); }
.btn--ink:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--rust); }
.pos--xs { width: 26px; height: 26px; font-size: 12px; border-width: 2px; }

.page-hero {
  position: relative; color: #fff; background: var(--ink); padding: 150px 0 70px; overflow: hidden; isolation: isolate;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.page-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--rust); }
.crumbs { display: flex; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: var(--rust-hi); }
.page-hero h1 { font-size: clamp(40px, 7.4vw, 104px); font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: .92; letter-spacing: -.025em; max-width: 14ch; }
.page-hero__lead { max-width: 60ch; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.8); margin: 22px 0 0; }

/* poziv na kontakt */
.cta-band__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.cta-band h2 { font-size: clamp(32px, 4.6vw, 60px); }
.cta-band h2 em { font-style: normal; color: var(--rust); }
.cta-band p { color: #3b3f45; font-size: 18px; margin: 14px 0 0; max-width: 50ch; }
.cta-band__btns { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-band .btn--rust { border-radius: 0; box-shadow: 4px 4px 0 #111; }

/* početna: najava galerije i nacrta */
.gallery--teaser { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; }

.sec--dark .sheet .btn--ghost { align-self: end; margin-bottom: 6px; }
.notation-big { display: grid; grid-template-columns: auto 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; background: #fff; border: 1.5px solid #111; padding: clamp(24px, 4vw, 50px); }
.notation-big__code { display: flex; align-items: center; gap: 16px; font-size: clamp(56px, 9vw, 130px); font-weight: 900; font-stretch: 112%; line-height: 1; letter-spacing: -.02em; }
.notation-big__code .pos { width: 1em; height: 1em; font-size: .62em; border-width: 6px; color: var(--rust); }
.notation-big__parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; border-left: 2px solid #111; padding-left: 24px; }
.notation-big__parts li { display: flex; align-items: baseline; gap: 14px; }
.notation-big__parts li b { min-width: 58px; }
.notation-big__parts b { font-size: 26px; font-weight: 900; color: var(--rust); }
.notation-big__parts span { font-weight: 600; }
.notation-big__cta p { color: #3b3f45; margin: 0 0 18px; }

/* kako čitati nacrt: oznake i iskaz */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.note-card { background: #fff; border: 1.5px solid #111; padding: 22px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.note-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 #111; }
.note-card__code { display: flex; align-items: center; gap: 10px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 900; font-stretch: 106%; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 2px solid #111; white-space: nowrap; overflow-x: auto; }
.note-card:hover .pos { background: var(--rust); border-color: var(--rust); color: #fff; }
.note-card h3 { font-size: 18px; margin-bottom: 8px; }
.note-card p { color: #4a4e54; font-size: 15.5px; margin: 0; }
.iskaz-wrap { display: grid; grid-template-columns: 1.5fr .5fr; gap: 30px; align-items: start; }
.iskaz { width: 100%; border-collapse: collapse; background: #fff; border: 2px solid #111; font-variant-numeric: tabular-nums; }
.iskaz th { background: #111; color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 10px 12px; text-align: right; }
.iskaz th:first-child, .iskaz td:first-child { text-align: left; }
.iskaz td { padding: 10px 12px; border-bottom: 1px solid #d6d2ca; text-align: right; font-weight: 600; }
.iskaz tr.muted td { text-align: center; color: #888; font-weight: 500; font-style: italic; }
.iskaz tfoot td { font-weight: 900; font-size: 18px; border-top: 2px solid #111; border-bottom: 0; text-align: right; }
.iskaz tfoot td:first-child { text-align: left; text-transform: uppercase; font-size: 14px; letter-spacing: .06em; }
.iskaz-legend { margin: 0; display: grid; gap: 12px; }
.iskaz-legend div { display: grid; grid-template-columns: 56px 1fr; gap: 8px; border-bottom: 1px solid #d6d2ca; padding-bottom: 10px; }
.iskaz-legend dt { font-weight: 900; color: var(--rust); }
.iskaz-legend dd { margin: 0; color: #3b3f45; }
.video3d { display: grid; gap: 18px; }
.video3d video { width: 100%; height: auto; border: 1.5px solid rgba(255,255,255,.25); background: #000; }
.video3d p { color: rgba(255,255,255,.75); max-width: 70ch; margin: 0; }

@media (max-width: 1000px) {
  .cta-band__in, .iskaz-wrap { grid-template-columns: 1fr; }
  .notation-big { grid-template-columns: 1fr; }
  .notation-big__parts { border-left: 0; padding-left: 0; border-top: 2px solid #111; padding-top: 18px; }
  .notes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .page-hero { padding: 120px 0 50px; }
  .notes { grid-template-columns: 1fr; }
  .gallery--teaser { grid-auto-rows: 150px; }
  .sec--dark .sheet .btn--ghost { grid-column: 1 / -1; justify-self: start; }
  .iskaz { font-size: 13px; } .iskaz th, .iskaz td { padding: 8px 6px; }
}
.foot__right { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.credit a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--rust); text-underline-offset: 3px; }
.credit a:hover { color: var(--rust-hi); }
