/* Procesing d.o.o. — prototip redizajna */
:root {
  --ink: #17181b;
  --ink-2: #24262b;
  --steel: #3a3e45;
  --red: #cb2c4c;
  --red-dk: #a8213d;
  --orange: #ef8a2e;
  --paper: #f3f1ec;
  --paper-2: #e9e6df;
  --white: #fff;
  --muted: #5d6068;
  --muted-lt: #a3a6ad;
  --line: rgba(23, 24, 27, .14);
  --line-lt: rgba(255, 255, 255, .16);
  --f: 'Libre Franklin', system-ui, sans-serif;
  --fc: var(--f);
  --fm: var(--f);
  --wrap: 1240px;
  --r: 2px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--f); font-variant-numeric: tabular-nums; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--fc); letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }
/* podatak koji treba potvrditi sa klijentom */
.ph { text-decoration: underline dotted rgba(203, 44, 76, .8); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: help; }

/* tipografija */
.h1 { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.05; font-weight: 800; letter-spacing: -.025em; }
.h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; font-weight: 700; }
.h3 { font-size: 22px; line-height: 1.2; font-weight: 600; }
.lead { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.6; color: var(--muted); max-width: 40em; }
.prose { max-width: 44em; }
.prose p, .prose li { color: var(--ink-2); }
.prose h2 { margin: 1.6em 0 .6em; }
.prose h3 { margin: 1.4em 0 .5em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--red); }

/* dugmad */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border: 2px solid transparent; border-radius: var(--r); font: 600 16px/1 var(--f); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dk); }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--ink); }
.btn--ghost { border-color: var(--line-lt); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 1px; }
.link:hover { color: var(--red); }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.hdr__logo img { width: 172px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav__btn { padding: 10px 12px; font: 500 16px/1.2 var(--f); color: var(--ink); text-decoration: none; border: 0; background: none; border-radius: var(--r); cursor: pointer; }
.nav > a:hover, .nav__btn:hover { background: var(--paper); }
.nav > a[aria-current], .nav__grp[data-current] .nav__btn { box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.nav__btn::after { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); opacity: .6; }
.nav__grp { position: relative; }
.nav__sub { position: absolute; top: 100%; left: 0; min-width: 300px; padding: 8px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(23, 24, 27, .12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.nav__grp:hover .nav__sub, .nav__grp:focus-within .nav__sub, .nav__btn[aria-expanded="true"] + .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 600; border-radius: var(--r); }
.nav__sub a small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.nav__sub a:hover { background: var(--paper); }
.nav__sub a[aria-current] { box-shadow: inset 3px 0 0 var(--red); }
.lang { display: flex; font: 600 13px/1 var(--f); border: 1px solid var(--line); border-radius: var(--r); }
.lang a { padding: 8px 9px; text-decoration: none; color: var(--muted); }
.lang a[aria-current] { color: var(--ink); background: var(--paper); }
.hdr__cta { min-height: 44px; padding: 0 18px; font-size: 15px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 6px auto; transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero (početna) */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 40%; }
.hero__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 24, 27, .95) 0%, rgba(23, 24, 27, .82) 40%, rgba(23, 24, 27, .15) 78%); }
.hero__in { position: relative; padding: clamp(80px, 10vw, 140px) 28px clamp(64px, 8vw, 104px); }
.hero h1 { max-width: 12em; }
.hero p { max-width: 32em; margin: 26px 0 34px; font-size: clamp(18px, 1.45vw, 20px); color: rgba(255, 255, 255, .82); }
.hero__acts { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.hero__tel { font: 500 21px/1 var(--fm); text-decoration: none; }
.hero__tel small { display: block; margin-bottom: 7px; font: 500 13px/1 var(--f); color: var(--muted-lt); }
.hero__machines { position: relative; border-top: 1px solid var(--line-lt); }
.hero__machines ul { display: flex; flex-wrap: wrap; gap: 0; list-style: none; }
.hero__machines li { padding: 16px 22px 16px 0; margin-right: 22px; font-size: 15px; color: rgba(255, 255, 255, .72); border-right: 1px solid var(--line-lt); }
.hero__machines li:last-child { border: 0; }

/* sekcije */
.sec { padding: clamp(72px, 9vw, 116px) 0; }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: #fff; }
.sec--ink .lead, .sec--ink p { color: rgba(255, 255, 255, .76); }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.sec__head p { margin: 14px 0 0; max-width: 36em; color: var(--muted); }

/* šema peći */
.kiln { width: 100%; height: auto; overflow: visible; color: var(--ink); }
.kiln .k-ground { stroke: currentColor; stroke-opacity: .35; stroke-width: 1.5; }
.kiln .k-shell { fill: var(--white); stroke: currentColor; stroke-width: 2; }
.sec--paper .kiln .k-shell, .phead .kiln .k-shell { fill: var(--paper); }
.kiln .k-end, .kiln .k-seam { fill: none; stroke: currentColor; stroke-opacity: .35; stroke-width: 1.5; }
.kiln .k-base { fill: none; stroke: currentColor; stroke-opacity: .45; stroke-width: 1.5; }
.kiln .k-axis { stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 14 5 3 5; }
.kiln .k-hit { fill: transparent; }
.kiln .k-tyre, .kiln .k-roll, .kiln .k-gear, .kiln .k-drive { fill: var(--white); stroke: currentColor; stroke-width: 2; transition: fill .2s, stroke .2s; }
.sec--paper .kiln .k-tyre, .sec--paper .kiln .k-roll, .sec--paper .kiln .k-gear, .sec--paper .kiln .k-drive,
.phead .kiln .k-tyre, .phead .kiln .k-roll, .phead .kiln .k-gear, .phead .kiln .k-drive { fill: var(--paper); }
.kiln .k-shoe { fill: none; stroke: currentColor; stroke-opacity: .4; stroke-width: 1; }
.kiln .k-teeth { stroke: currentColor; stroke-opacity: .55; stroke-width: 1; }
.kiln .k-bear { fill: none; stroke: currentColor; stroke-width: 1.5; }
.kiln .k-shaft { stroke: currentColor; stroke-width: 2; }
.kiln .k-note { font: 400 13px var(--fm); fill: var(--muted); }
.kiln .k-call line { stroke: currentColor; stroke-opacity: .4; stroke-width: 1; stroke-dasharray: 3 3; }
.kiln .k-call circle { fill: var(--ink); transition: fill .2s; }
.kiln .k-num { font: 500 14px var(--fm); fill: #fff; text-anchor: middle; }
.kiln .k-lbl { font: 600 17px var(--fc); fill: var(--ink); }
.kiln a { cursor: pointer; outline: none; }
/* isticanje dela: hover na početnoj ili data-hl na stranici usluge */
.kiln-hl-prsten .k-prsten .k-tyre, .kiln-hl-rolne .k-rolne .k-roll, .kiln-hl-venac .k-venac :is(.k-gear, .k-drive),
.kiln a.k-part:is(:hover, :focus-visible) :is(.k-tyre, .k-roll, .k-gear, .k-drive),
.kiln[data-on="k-prsten"] .k-prsten .k-tyre, .kiln[data-on="k-rolne"] .k-rolne .k-roll, .kiln[data-on="k-venac"] .k-venac :is(.k-gear, .k-drive) { fill: var(--red) !important; stroke: var(--red-dk); }
.kiln-hl-osa .k-axis, .kiln[data-on="k-osa"] .k-axis { stroke-width: 3; }
.kiln-hl-prsten .k-call.k-prsten circle, .kiln-hl-rolne .k-call.k-rolne circle, .kiln-hl-venac .k-call.k-venac circle, .kiln-hl-osa .k-call.k-osa circle,
.kiln a.k-call:is(:hover, :focus-visible) circle, .kiln[data-on] .k-call.on circle { fill: var(--red); }
.kiln a:focus-visible .k-lbl { text-decoration: underline; }

/* početna: šta saniramo */
.anat { display: grid; grid-template-columns: 1fr; gap: 40px; }
.anat__fig { padding: 8px 0 0; }
.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.part { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 26px 26px 26px 0; text-decoration: none; border-right: 1px solid var(--line); transition: background .2s; }
.part + .part { padding-left: 26px; }
.part:last-child { border-right: 0; }
.part img { width: 120px; height: 120px; object-fit: cover; }
.part__n { font: 500 13px var(--fm); color: var(--red); }
.part h3 { margin: 4px 0 8px; font-size: 24px; }
.part p { margin: 0 0 10px; font-size: 15.5px; color: var(--muted); }
.part .link { font-size: 15px; }
.part:hover h3, .part.on h3 { color: var(--red); }

/* početna: merenja */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.svc__list { list-style: none; border-top: 1px solid var(--line); }
.svc__list li { border-bottom: 1px solid var(--line); }
.svc__list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 22px 0; text-decoration: none; }
.svc__list b { font: 600 22px/1.2 var(--fc); }
.svc__list span { grid-column: 1; color: var(--muted); font-size: 16px; }
.svc__list a::after { content: '→'; grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 22px; color: var(--red); transition: transform .2s; }
.svc__list a:hover b { color: var(--red); }
.svc__list a:hover::after { transform: translateX(4px); }
.states { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 28px; border: 1px solid var(--line); background: #fff; }
.states div { padding: 22px; }
.states div + div { border-left: 1px solid var(--line); }
.states h3 { font-size: 19px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.states h3 i { width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.states div + div h3 i { background: #5b8db8; }
.states p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* industrije */
.inds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.ind { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); color: #fff; }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: transform .5s, opacity .3s; }
.ind:hover img { transform: scale(1.04); opacity: .5; }
.ind div { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; background: linear-gradient(transparent, rgba(23, 24, 27, .85)); }
.ind h3 { font-size: 22px; }
.ind p { margin: 4px 0 0; font-size: 14.5px; color: rgba(255, 255, 255, .78); }

/* logoi klijenata */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { display: grid; place-items: center; height: 116px; padding: 18px; list-style: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.logos img { max-height: 54px; max-width: 100%; width: auto; filter: grayscale(1); mix-blend-mode: multiply; opacity: .8; transition: filter .2s, opacity .2s; }
.logos li:hover img { filter: none; opacity: 1; }

/* o firmi (početna) */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__img { position: relative; }
.about__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.facts { list-style: none; margin-top: 28px; border-top: 1px solid var(--line-lt); }
.facts li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-lt); font-size: 16px; }
.facts b { font: 500 15px var(--fm); color: #fff; }
.sec:not(.sec--ink) .facts, .sec:not(.sec--ink) .facts li { border-color: var(--line); }
.sec:not(.sec--ink) .facts b { color: var(--ink); }

/* zaglavlje unutrašnje strane */
.phead { background: var(--paper); border-bottom: 1px solid var(--line); }
.phead__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.phead__in--solo { grid-template-columns: 1fr; }
.crumbs { margin-bottom: 18px; font: 400 15px var(--f); color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.phead .lead { margin-top: 20px; }
.phead__fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.phead--photo { position: relative; background: var(--ink); color: #fff; border: 0; }
.phead--photo .phead__bg { position: absolute; inset: 0; }
.phead--photo .phead__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.phead--photo .phead__in { position: relative; }
.phead--photo .lead, .phead--photo .crumbs { color: rgba(255, 255, 255, .78); }

/* radovi (stranice sanacija) */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; list-style: none; }
.work img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 18px; }
.work h3 { margin-bottom: 8px; }
.work p { margin: 0; color: var(--muted); font-size: 16px; }
.spec { display: inline-block; margin-top: 12px; padding: 4px 9px; font: 500 13.5px var(--fm); background: var(--paper); border-left: 3px solid var(--red); }
.sec--paper .spec { background: #fff; }

/* kako radimo (koraci) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { padding: 22px 24px 0 0; counter-increment: s; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; margin-bottom: 10px; font: 500 14px var(--fm); color: var(--red); }
.steps b { display: block; margin-bottom: 6px; font: 600 19px/1.25 var(--fc); }
.steps p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* povezane usluge */
.rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; border-top: 1px solid var(--line); }
.rel a { display: block; height: 100%; padding: 24px 24px 24px 0; text-decoration: none; }
.rel li + li a { padding-left: 24px; border-left: 1px solid var(--line); }
.rel small { display: block; font: 400 13px var(--fm); color: var(--muted); margin-bottom: 6px; }
.rel b { font: 600 21px/1.2 var(--fc); }
.rel a:hover b { color: var(--red); }

/* matrica pregleda */
.mx-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.mx { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 16px; }
.mx th, .mx td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.mx thead th { font: 600 14px/1.3 var(--f); color: var(--muted); vertical-align: bottom; background: var(--paper); }
.mx thead tr:first-child th { border-bottom: 0; padding-bottom: 4px; color: var(--ink); }
.mx thead tr:first-child th + th { border-left: 1px solid var(--line); }
.mx td { text-align: center; width: 12%; }
.mx tbody th { font-weight: 500; }
.mx tbody tr:hover { background: var(--paper); }
.mx td + td, .mx th + td { border-left: 1px solid var(--line); }
.mx td:nth-child(4) { border-left: 1px solid var(--line); }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--red); }
.dash { display: inline-block; width: 14px; height: 2px; background: var(--line); vertical-align: middle; }
.mx-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.mx-legend span { display: inline-flex; align-items: center; gap: 8px; }

/* defektaže: simptomi */
.faults { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.fault { padding: 24px 22px; background: #fff; }
.fault h3 { font-size: 20px; margin-bottom: 4px; }
.fault > p { margin: 0 0 14px; font-size: 14px; color: var(--muted); font-family: var(--fm); }
.fault ul { list-style: none; }
.fault li { padding: 7px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.cols2 h3 { margin-bottom: 12px; }
.checks { list-style: none; counter-reset: c; }
.checks li { position: relative; padding: 10px 0 10px 40px; border-top: 1px solid var(--line); counter-increment: c; }
.checks li::before { content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 11px; font: 500 13px var(--fm); color: var(--red); }
.note { padding: 22px 24px; background: var(--paper); border-left: 3px solid var(--red); }
.note p:last-child { margin: 0; }
.big-num { font: 500 clamp(44px, 5vw, 64px)/1 var(--fm); color: var(--red); }

/* geodetska merenja */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin-bottom: 40px; }
.tabs button { flex: 0 0 auto; padding: 16px 22px 14px; border: 0; background: none; font: 600 19px/1 var(--fc); color: var(--muted); cursor: pointer; box-shadow: inset 0 -3px 0 transparent; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--red); }
.panel[hidden] { display: none; }
.geo { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.geo + .geo { margin-top: 56px; }
.figs { display: grid; gap: 16px; }
.figs--3 { grid-template-columns: repeat(3, 1fr); align-items: end; }
figure { margin: 0; }
.fig { padding: 16px; background: #fff; border: 1px solid var(--line); }
.fig img { margin: 0 auto; }
figcaption { margin-top: 10px; font: 400 13px/1.45 var(--fm); color: var(--muted); }
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.tools .fig img { height: 160px; width: auto; object-fit: contain; }

/* reference */
.reftabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.reftabs button { padding: 9px 14px; border: 1px solid var(--line); background: #fff; font: 500 15px var(--f); cursor: pointer; border-radius: var(--r); }
.reftabs button span { font-family: var(--fm); font-size: 13px; color: var(--muted); margin-left: 6px; }
.reftabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.reftabs button[aria-pressed="true"] span { color: var(--muted-lt); }
.refs { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ref { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.ref[hidden] { display: none; }
.ref__logo { display: grid; place-items: center; height: 64px; }
.ref__logo img { max-height: 56px; max-width: 96px; width: auto; mix-blend-mode: multiply; }
.ref__logo i { font: 600 22px var(--fc); font-style: normal; color: var(--muted-lt); }
.ref b { display: block; font: 600 18px/1.2 var(--fc); }
.ref span { display: block; font-size: 15px; color: var(--muted); }
.ref small { display: block; margin-top: 4px; font: 400 14px var(--f); color: var(--muted); }

/* o nama */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; border-top: 2px solid var(--ink); }
.values li { padding: 22px 24px 0 0; }
.values li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.values b { display: block; font: 600 24px var(--fc); margin-bottom: 6px; }
.values p { margin: 0; color: var(--muted); font-size: 16px; }
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; }
.cert { display: flex; flex-direction: column; padding: 22px; background: #fff; border: 1px solid var(--line); text-decoration: none; height: 100%; }
.cert b { font: 500 22px var(--fm); }
.cert span { margin: 6px 0 18px; font-size: 15px; color: var(--muted); }
.cert small { margin-top: auto; font: 400 13px var(--fm); color: var(--muted); }
.cert:hover { border-color: var(--ink); }
.cert:hover small { color: var(--red); }

/* kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.cinfo { list-style: none; border-top: 1px solid var(--line); }
.cinfo li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cinfo small { font: 400 13px/1.9 var(--fm); color: var(--muted); }
.cinfo a { text-decoration: none; font-weight: 500; }
.cinfo a:hover { color: var(--red); }
.map { margin-top: 28px; aspect-ratio: 4 / 3; border: 1px solid var(--line); background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(24px, 3vw, 36px); background: var(--paper); }
.form h2 { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 6px; font: 600 14px var(--f); }
.form label.full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font: 400 16px var(--f); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--red); outline-offset: -1px; border-color: transparent; }
.form textarea { min-height: 140px; resize: vertical; }
.form fieldset { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; }
.form legend { font: 600 14px var(--f); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { flex-direction: row; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; border: 1px solid var(--line); font-weight: 500; cursor: pointer; }
.chips input { width: auto; accent-color: var(--red); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form__foot p { margin: 0; font-size: 14px; color: var(--muted); max-width: 30em; }
.form__ok { display: none; grid-column: 1 / -1; padding: 16px; background: #fff; border-left: 3px solid var(--red); font-weight: 600; }
.form.sent .form__ok { display: block; }
.form.sent > :not(h2):not(.form__ok) { display: none; }

/* CTA + footer */
.cta { background: var(--paper-2); }
.cta__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.cta p { margin: 14px 0 0; color: var(--muted); max-width: 38em; }
.cta__acts { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: flex-end; }
.cta__tel { font: 500 21px/1 var(--fm); text-decoration: none; }
.cta__tel small { display: block; margin-bottom: 7px; font: 500 13px/1 var(--f); color: var(--muted); }
.ftr { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: 15.5px; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr .8fr; gap: 32px; padding-top: 64px; padding-bottom: 48px; }
.ftr__brand img { width: 168px; margin-bottom: 16px; }
.ftr__brand p { max-width: 22em; }
.ftr__iso { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.ftr__iso li { padding: 4px 8px; border: 1px solid var(--line-lt); font: 400 12.5px var(--fm); }
.ftr h3 { margin-bottom: 12px; font: 600 15px var(--f); color: var(--muted-lt); }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--line-lt); font-size: 14px; color: var(--muted-lt); }
.mbar { display: none; }

/* privatnost */
.legal { max-width: 46em; }
.legal h2 { font-size: 24px; margin: 1.6em 0 .5em; }

/* responsive */
@media (max-width: 1180px) {
  .hdr__cta { display: none; }
  .ftr__grid { grid-template-columns: 1fr 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  .faults { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .hdr { backdrop-filter: none; background: #fff; }
  .burger { display: block; margin-left: auto; }
  .lang { margin-left: auto; }
  .burger { order: 4; margin-left: 0; }
  .nav { position: fixed; inset: 76px 0 0; z-index: 40; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 28px 100px; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .3s; }
  .nav.open { transform: none; }
  .nav > a, .nav__btn { width: 100%; padding: 16px 0; font: 600 22px/1.2 var(--fc); text-align: left; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav > a:hover, .nav__btn:hover { background: none; }
  .nav > a[aria-current], .nav__grp[data-current] .nav__btn { box-shadow: none; color: var(--red); }
  .nav__btn::after { display: none; }
  .nav__sub { position: static; min-width: 0; padding: 4px 0 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav__sub a { padding: 10px 0 10px 16px; }
  .parts { grid-template-columns: 1fr; }
  .part, .part + .part { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .svc, .about, .phead__in, .contact, .geo, .cols2 { grid-template-columns: 1fr; }
  .works, .rel, .refs { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .inds { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .certs { grid-template-columns: 1fr 1fr; }
  .cta__in { grid-template-columns: 1fr; }
  .cta__acts { justify-content: flex-start; }
  .kiln .k-lbl { font-size: 22px; }
  .kiln .k-note { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 60px; }
  .wrap { padding: 0 18px; }
  .hdr__in { min-height: 64px; gap: 12px; }
  .hdr__logo img { width: 140px; }
  .nav { inset: 64px 0 0; padding: 8px 18px 100px; }
  .lang a { padding: 7px 7px; }
  .hero__in { padding-left: 18px; padding-right: 18px; }
  .hero__img::after { background: linear-gradient(180deg, rgba(23, 24, 27, .7), rgba(23, 24, 27, .94)); }
  .hero__machines li { padding: 10px 14px 10px 0; margin-right: 14px; font-size: 14px; }
  .sec__head { display: block; }
  .part { grid-template-columns: 88px 1fr; }
  .part img { width: 88px; height: 88px; }
  .works, .rel, .refs, .inds, .states, .values, .faults, .figs--3, .tools { grid-template-columns: 1fr; }
  .rel li + li a, .values li + li { padding-left: 0; border-left: 0; }
  .rel a { border-bottom: 1px solid var(--line); }
  .states div + div { border-left: 0; border-top: 1px solid var(--line); }
  .values { gap: 20px; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { padding-left: 0; border-left: 0; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .logos li { height: 88px; padding: 12px; }
  .certs { grid-template-columns: 1fr; }
  .facts li, .cinfo li { grid-template-columns: 1fr; gap: 2px; }
  .form { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); }
  .mbar a { padding: 18px 0; text-align: center; color: #fff; font-weight: 600; text-decoration: none; }
  .mbar a + a { background: var(--red); }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* u zaglavlju stranice usluge prikazuje se samo oznaka tog dela, krupnije */
.phead .kiln .k-call { display: none; }
.kiln-hl-prsten .k-call.k-prsten, .kiln-hl-rolne .k-call.k-rolne, .kiln-hl-venac .k-call.k-venac, .kiln-hl-osa .k-call.k-osa { display: inline; }
.phead .kiln .k-lbl { font-size: 26px; }
.phead .kiln .k-num { font-size: 18px; }
.phead .kiln .k-call circle { r: 17px; }
.phead .kiln .k-call.k-osa .k-lbl { transform: translateX(-40px); }
@media (max-width: 640px) {
  /* na telefonu šema ostaje samo sa brojevima (kartice ispod nose nazive) */
  .anat .kiln .k-lbl, .anat .kiln .k-call.k-osa { display: none; }
  .anat .kiln .k-call circle { r: 22px; }
  .anat .kiln .k-num { font-size: 22px; transform: translateY(3px); }
}
@media (max-width: 640px) {
  .mx { min-width: 0; font-size: 14px; }
  .mx th, .mx td { padding: 10px 4px; }
  .mx tbody th { padding-left: 12px; width: 46%; line-height: 1.3; }
  .mx thead th { font-size: 10.5px; letter-spacing: 0; text-align: center; }
  .mx thead tr:first-child th:first-child { text-align: left; padding-left: 12px; }
  .dot { width: 12px; height: 12px; }
}
