/* Public site. Source of the look: docs/dizajn/ (naslovnica.html, proizvod.html). Inline styles of the design are
   classes here, because the CSP allows no style attributes. Orange buttons always carry dark text (#111). */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/archivo-latin-ext.40023272b9.woff2') format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/archivo-latin.083498c72e.woff2') format('woff2');
  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;
}

:root {
  --acc: #f58220;
  --acc-dark: #c94f0a; /* text and focus on light backgrounds (4.56:1 on white, 4.1:1 on --grey: there use #ba4909) */
  --ink: #1a1a1a;
  --black: #0c0c0c;
  --grey: #f3f3f1;
  --stone: #e3e3df;
  --line: #e4e4e0;
  --muted: #5c5c58;
  --muted2: #6b6b67;
  --soft: #bdbdb8;
  --head: 76px;
}
html { scroll-padding-top: calc(var(--head) + 16px); }
body { margin: 0; font-family: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif; color: var(--ink); background: var(--grey); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3 { margin: 0; font-weight: 250; letter-spacing: -0.025em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
/* <picture> only chooses WebP or JPEG; the img inside is laid out as if the wrapper were not there. */
picture { display: contents; }
button { font: inherit; }
:is(a, button, input, textarea, summary):focus-visible { outline: 3px solid var(--acc-dark); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }
.sr, .visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; z-index: 50; padding: 12px 18px; background: var(--acc); color: #111; font-weight: 600; }
.skip:focus { left: 16px; top: 12px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-sm { width: 14px; height: 14px; }
.ic-18 { width: 18px; height: 18px; }
@media (max-width: 900px) { .only-desktop { display: none !important; } :root { --head: 64px; } }

/* Type and blocks */
.h2 { font-size: clamp(38px, 2.4vw + 16px, 60px); color: #5e5e5a; }
.bar { display: block; width: 56px; height: 3px; background: var(--acc); }
.sec { padding-block: clamp(72px, 8vw, 120px); }
.sec-white { background: #fff; }
.sec-grey { background: var(--grey); }
.sec-dark { background: var(--black); color: #fff; }
.block { display: flex; flex-direction: column; gap: 22px; }
.stack { display: flex; flex-direction: column; gap: 48px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sec-head > div { display: flex; flex-direction: column; gap: 22px; }
.sec-head p { max-width: 26em; color: var(--muted); }
.lead { color: var(--muted); max-width: 34em; }
.prose { max-width: 46em; display: flex; flex-direction: column; gap: 1em; font-size: 18px; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose a { color: var(--acc-dark); }
.prose h3 { margin-top: 0.6em; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }

/* Pills (buttons and button-like links) */
.pill { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; padding: 6px 6px 6px 26px; border-radius: 999px; border: 1px solid transparent; font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; line-height: 1.2; cursor: pointer; white-space: nowrap; transition: transform 0.15s ease; }
.pill:hover { transform: translateY(-1px); }
.pill:not(:has(.arr)) { justify-content: center; padding-inline: 24px; }
.pill .arr { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; flex: none; transition: transform 0.15s ease; }
.pill:hover .arr { transform: translateX(3px); }
.pill-acc { background: var(--acc); color: #111; }
.pill-acc .arr { background: #111; color: var(--acc); }
.pill-line { background: transparent; border-color: currentColor; color: var(--ink); }
.pill-line .arr { width: 52px; height: 32px; background: var(--acc); color: #111; }
.pill-solo { padding: 0 24px; min-height: 46px; justify-content: center; }
.pill-lg { min-height: 66px; padding: 8px 8px 8px 30px; font-size: 16px; }
.pill-lg .arr { width: 50px; height: 50px; }
.pill-line.pill-lg .arr { width: 62px; height: 40px; }
.pill-hero { min-height: 62px; padding: 8px 8px 8px 30px; font-size: 15px; }
.pill-hero .arr { width: 66px; height: 44px; background: #fff; color: #111; }
.pill-wide { width: 100%; }
/* A long label ("All aluminium and PVC machinery") wraps on a phone instead of running out of its card. */
.pill { max-width: 100%; }
@media (max-width: 599.98px) { .pill { white-space: normal; } }
.go { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid currentColor; flex: none; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }

/* Header: fixed on every page and never moves the page (the page keeps its full height free, or the hero lies under
   it). Pages with a dark hero (body.has-hero: home, about) have it transparent at the top; after a few pixels of
   scrolling (data-scrolled, src/shared/render/inline.ts) it is dark, as on every other page, and a little smaller. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; background: var(--black); color: #fff; transition: background-color 0.25s ease; }
body { padding-top: var(--head); }
.has-hero { padding-top: 0; }
/* Without JavaScript a transparent header must not float over light sections, so it scrolls away with the hero. */
.has-hero .site-header { position: absolute; background: transparent; }
.js .has-hero .site-header { position: fixed; }
.has-hero .site-header[data-scrolled], .site-header:has(.menu-pop:popover-open), .site-header:has(.menu-pop[data-open]) { background: var(--black); }
.head { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.head, .head-m, .navlink, .site-header .logo img { transition: min-height 0.25s ease, padding 0.25s ease, width 0.25s ease; }
.site-header[data-scrolled] .head { min-height: 60px; }
.site-header[data-scrolled] .navlink { padding-block: 20px 18px; }
.site-header[data-scrolled] .head .logo img { width: 160px; }
.site-header[data-scrolled] .head-m { min-height: 56px; }
.site-header[data-scrolled] .head-m .logo img { width: 130px; }
/* A page opened halfway down gets the scrolled header at once (inline.ts), and reduced motion never animates it. */
.head-still, .head-still * { transition: none !important; }
@media (prefers-reduced-motion: reduce) { .site-header, .head, .head-m, .navlink, .site-header .logo img { transition: none; } }
/* Phones and tablets: menu left, logo centred, language and a call icon right. */
.head-m { display: none; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; min-height: 64px; }
.head-m .menu-btn { justify-self: start; }
.head-m-end { justify-self: end; display: flex; align-items: center; gap: 6px; }
/* The full menu with the large logo at the top of the page needs about 1280 px in English (measured 26. 10. 2026.): a
   little tighter below 1400 px, the menu button below 1280 px. */
@media (max-width: 1399px) { .head .mainnav { gap: 12px; } .head .logo img { width: 160px; } .site-header[data-scrolled] .head .logo img { width: 130px; } }
@media (max-width: 1279px) { .head { display: none; } .head-m { display: grid; } :root { --head: 64px; } }
.logo { flex: none; display: block; }
.logo img { width: 200px; height: auto; }
.head-m .logo img { width: 150px; }
.mainnav { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 18px); margin-left: auto; }
.mainnav > li { position: relative; }
.navlink { display: inline-flex; align-items: center; gap: 6px; padding: 28px 0 26px; border-bottom: 2px solid transparent; color: #fff; font-size: 13px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.navlink:hover, .navlink[aria-current] { color: var(--acc); }
.navlink[aria-current] { border-bottom-color: var(--acc); }
.navlink-lang { color: #8c8c87; }
/* Over the hero video the header is transparent and grey gave 2.3-3.4:1 (final check 12. 11. 2026.): white like the other links. */
.has-hero .site-header:not([data-scrolled]) .navlink-lang { color: #fff; }
.sub { display: none; position: absolute; left: -20px; top: 100%; min-width: 280px; padding: 12px 20px; background: #1a1a1a; border-radius: 0 0 16px 16px; }
.mainnav > li:hover > .sub, .mainnav > li:focus-within > .sub { display: block; }
.sub a { display: block; padding: 10px 0; color: #e6e6e2; text-decoration: none; font-size: 15px; }
.sub a:hover { color: var(--acc); }
/* flex: none, so a long English menu never squeezes the round search button into an oval. */
.round { display: flex; flex: none; width: 44px; height: 44px; border: 1px solid #3a3a38; border-radius: 999px; background: transparent; color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn { display: flex; width: 44px; height: 44px; margin-left: -10px; border: 0; background: transparent; color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn .ic { width: 26px; height: 26px; }
.lang-m { width: 34px; text-align: right; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; color: #fff; text-decoration: none; }
/* Phone: search top right, as on a computer; the phone number is in the menu (owner, 3. 11. 2026.). */
.search-m { display: flex; width: 44px; height: 44px; margin-right: -10px; align-items: center; justify-content: center; color: #fff; }
.search-m .ic { width: 22px; height: 22px; }
/* Hidden by default in every browser; old ones (before Safari 17) drop the :popover-open rules and use [data-open] (site.js). */
.menu-pop { display: none; position: fixed; inset: 0 auto 0 0; width: min(360px, 88vw); height: 100%; max-height: none; margin: 0; padding: 24px; border: 0; background: var(--black); color: #fff; overflow: auto; }
.menu-pop:popover-open { display: block; }
.menu-pop[data-open] { display: block; z-index: 100; }
.menu-pop::backdrop { background: rgba(12, 12, 12, 0.6); }
.menu-pop a { display: block; padding: 12px 0; color: #fff; text-decoration: none; font-size: 18px; border-bottom: 1px solid #2a2a28; }
.menu-pop .sub-m a { padding-left: 16px; font-size: 16px; color: #bdbdb8; }
.menu-pop .close { margin-left: auto; }
.menu-pop .menu-call { display: flex; align-items: center; gap: 10px; }
.menu-pop .menu-call .ic { width: 20px; height: 20px; color: var(--acc); }

/* Hero: the video over the whole screen, under the transparent header, one even dark layer, the H1, a sentence and
   one button. 65 % of #0C0C0C: the sentence keeps 4.5:1 on 95 % of the picture behind it, the title 3:1 on 99 %. */
.hero { position: relative; display: flex; flex-direction: column; min-height: 100svh; overflow: hidden; background: var(--black); color: #fff; }
/* The poster's img, not its <picture> (display: contents above), so the picture never takes room in the flow. */
.hero-poster img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The poster shows until the video plays (site.js); while the end card shows the logo the dark layer lifts too. */
.hero-video { opacity: 0; transition: opacity 0.4s; }
.hero-video[data-playing] { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgb(12 12 12 / 0.65); transition: opacity 0.6s; }
.hero[data-logo]::after { opacity: 0; }
.hero-in { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 2vw, 32px); padding-block: calc(var(--head) + 32px) 32px; transition: opacity 0.6s; }
/* While the video shows the logo (site.js): the text fades out, unless the keyboard is on the button. */
.hero[data-logo] .hero-in:not(:focus-within) { opacity: 0; }
/* Phones: while the cookie notice rests on the bottom of the screen (html.consent-ask, set before the first paint by
   the inline script and kept by consent.js), the hero's text and button stay above it (final check 12. 11. 2026.: on
   360x800 the notice covered the whole button). The notice's height comes from consent.js (--consent-h); until it is
   measured these defaults are its heights at those widths (phone rules below), so nothing shifts on the first paint. */
@media (max-width: 599.98px) {
  html.consent-ask { --consent-h: 146px; }
  html.consent-ask[lang="en"] { --consent-h: 146px; }
  html.consent-ask .hero-in { padding-bottom: calc(32px + var(--consent-h)); }
}
@media (max-width: 383.98px) { html.consent-ask { --consent-h: 165px; } }
@media (max-width: 374.98px) { html.consent-ask { --consent-h: 213px; } html.consent-ask[lang="en"] { --consent-h: 194px; } }
@media (max-width: 359.98px) { html.consent-ask[lang="en"] { --consent-h: 213px; } }
@media (min-width: 540px) and (max-width: 599.98px) { html.consent-ask[lang="en"] { --consent-h: 127px; } }
/* Pause/play for the video (WCAG 2.2.2): a small, half-transparent white icon in the corner, full on hover and
   keyboard focus; hidden until site.js starts the video (never with less motion or Save-Data). */
.motion-pause { position: absolute; z-index: 2; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: rgb(0 0 0 / 0.12); color: #fff; opacity: 0.5; cursor: pointer; transition: opacity 0.2s; }
.motion-pause[hidden] { display: none; }
.motion-pause svg { width: 18px; height: 18px; fill: currentColor; }
.motion-pause:hover, .motion-pause:focus-visible { opacity: 1; }
.motion-pause:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.motion-pause[aria-pressed="false"] .ic-play, .motion-pause[aria-pressed="true"] .ic-pause { display: none; }
@media (max-width: 599.98px) { html.consent-ask .hero .motion-pause { bottom: calc(12px + var(--consent-h)); } }
.hero-lead { max-width: 34em; font-size: clamp(18px, 0.5vw + 15px, 22px); line-height: 1.5; color: #e6e6e2; }
.hero-in > div { margin-top: clamp(8px, 1vw, 12px); }
/* Phones: half the screen, or more if the title and button need it. */
.hero-h { max-width: 11em; font-size: clamp(46px, 4.2vw + 18px, 104px); font-weight: 200; line-height: 1.04; color: #fff; }
.long { width: 30px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Home: groups, tiles, spotlight */
.gcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(560px, 100%), 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden; }
.card-media { display: flex; align-items: center; justify-content: center; height: clamp(220px, 18vw, 300px); padding: 32px; background: #e9e9e6; }
.card-media img { width: auto; max-height: 100%; object-fit: contain; }
.card-body { display: flex; flex-direction: column; gap: 22px; flex: 1; padding: clamp(24px, 2.6vw, 40px); }
.card-body > div { display: flex; flex-direction: column; gap: 10px; }
.card-title { font-size: clamp(30px, 1vw + 22px, 40px); }
.card-title a { text-decoration: none; }
.card .pill-line { margin-top: auto; align-self: flex-start; }
.rows { border-bottom: 1px solid var(--line); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 17px; text-decoration: none; }
.row:hover .rowname { color: var(--acc-dark); }
.cnt { display: flex; align-items: center; gap: 14px; color: var(--muted2); font-variant-numeric: tabular-nums; }
.cnt .ic { color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 340px; padding: 32px; border-radius: 24px; overflow: hidden; text-decoration: none; }
.tile h3 { font-size: clamp(30px, 1vw + 22px, 38px); }
.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 16px; }
.tile-art { position: absolute; top: 28px; right: 28px; width: 96px; height: 96px; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile-art-wide { width: 128px; height: 92px; stroke-width: 1.2; }
.tile-acc { background: var(--acc); color: #111; }
.tile-acc .tile-art { stroke: #111; }
.tile-acc .tile-foot { font-weight: 500; }
.tile-dark { background: var(--black); color: #fff; }
.tile-dark .tile-art { stroke: var(--acc); }
.tile-dark .tile-foot span:first-child { color: #bdbdb8; }
.tile-grey { background: var(--stone); color: var(--ink); }
.tile-grey .tile-art { stroke: var(--ink); }
.tile-grey .tile-art .hl { stroke: var(--acc); stroke-width: 3; }
.tile-grey .tile-foot span:first-child { color: #4a4a47; }
.tile:hover .go { background: var(--acc); border-color: var(--acc); color: #111; }
.spot { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: clamp(40px, 5vw, 80px); align-items: center; }
.spot-text { display: flex; flex-direction: column; gap: 28px; }
.name-h { display: flex; flex-direction: column; gap: 14px; }
.name-model { font-size: clamp(60px, 5vw + 24px, 128px); font-weight: 200; line-height: 0.95; letter-spacing: -0.04em; color: var(--ink); overflow-wrap: anywhere; }
.name-desc::first-letter { text-transform: uppercase; }
.name-desc { font-size: clamp(20px, 0.5vw + 16px, 24px); font-weight: 400; letter-spacing: -0.01em; line-height: 1.3; color: #3a3a37; }
.name-long { font-size: clamp(36px, 2.4vw + 18px, 64px); font-weight: 250; line-height: 1.05; color: var(--ink); }
/* The figures grow with the block, not the window: a capped column on a wide screen kept them from fitting ("+0,2 / −0,2"). */
.keyspecs { container-type: inline-size; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.keyspecs > div { display: flex; flex-direction: column-reverse; gap: 4px; padding-left: 18px; border-left: 1px solid #dcdcd8; }
.keyspecs dt { font-size: 14px; color: var(--muted2); }
.keyspecs dd { font-size: clamp(20px, 6cqi, 48px); font-weight: 250; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.keyspecs .unit { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: #3a3a37; }
/* Owner photos have a background: they sit in a rounded white frame over the orange block. */
.frame { position: relative; display: flex; align-items: center; justify-content: center; min-height: clamp(260px, 30vw, 460px); text-decoration: none; }
.frame::before { content: ''; position: absolute; right: 0; top: 10%; width: 64%; height: 80%; background: var(--acc); border-radius: 28px; }
.frame-in { position: relative; width: 88%; padding: clamp(10px, 1.2vw, 16px); border-radius: 24px; background: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12); }
.frame-in img { width: 100%; border-radius: 16px; object-fit: contain; max-height: 560px; }
/* Home spotlight with the design picture: the machine cut out over the orange block. */
.spot-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: clamp(260px, 30vw, 460px); }
.spot-block { position: absolute; right: 0; top: 10%; width: 64%; height: 80%; background: var(--acc); border-radius: 28px; }
.spot-art img { position: relative; width: 94%; max-width: 660px; }

/* About split */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--grey); }
.split-media { position: relative; min-height: clamp(300px, 36vw, 580px); }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-body { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: clamp(48px, 6vw, 104px) clamp(16px, 5vw, 104px); max-width: 780px; }
.split-body > p { font-size: 19px; }
.checks { display: flex; flex-direction: column; gap: 12px; }
.check { display: flex; align-items: flex-start; gap: 14px; font-weight: 500; }
.check .ic { margin-top: 3px; color: var(--acc); stroke-width: 2.2; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split-home .split-media { display: none; } }

/* Product cards: one look everywhere. Every picture fills the same 4:3 area, the name has two lines reserved,
   so cards in a row are the same height. */
.ucards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 20px; }
/* A short row (home, similar machines) shares the full width, as in the design. */
.ucards.few { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
/* Grey cards on white sections (design), white cards on grey ones. */
.sec-white .ucard { background: var(--grey); }
.ucard { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.uimg { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.uimg img { width: 100%; height: 100%; object-fit: cover; }
.uimg .tags { position: absolute; top: 14px; left: 14px; }
/* Parts, tools and catalog pictures: the whole picture on white in the same 4:3 frame (thin tools and long lines
   would be cut into a strip). */
.fit .uimg { background: #fff; }
.fit .uimg img { padding: 14px; object-fit: contain; }
/* A card without a picture (brief 3.4, 26. 10. 2026.: consumables) keeps a grey frame, also among parts. */
.fit .uimg:empty { background: var(--stone); }
.ucard[hidden] { display: none; }
/* Material filter of the ALU i PVC subcategories (site.js shows it). */
.mfilter { display: flex; flex-wrap: wrap; gap: 10px; }
.mfilter[hidden] { display: none; }
.mfilter button { min-height: 44px; padding: 8px 20px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.mfilter button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ubody { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 22px 24px 24px; }
.uname { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; min-height: 2.5em; font-size: 22px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; }
.umeta { font-size: 15px; color: var(--muted2); }
.ufoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; font-size: 15px; font-weight: 600; }
.ufoot .go { width: 40px; height: 40px; }
@media (hover: hover) {
  .ucard:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09); }
  .ucard:hover .go { background: var(--acc); border-color: var(--acc); color: #111; }
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 12px; border-radius: 999px; background: var(--grey); color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.tag-acc { background: var(--acc); color: #111; }
.tag-dark { background: var(--ink); color: #fff; }
/* padding-top: the drawing ends 124 px from the top (1 px to spare); a text too tall for the space under it makes the tile taller instead of
   running over the drawing ("Staklo i usluge" at 320-412 px, test before launch 3. 11. 2026.). Shorter texts stay where they were. */
@media (max-width: 600px) { .tile { min-height: 240px; padding: 125px 24px 24px; } }

/* Call to action box and contact */
.ctabox { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(36px, 5vw, 72px); border-radius: 28px; background: var(--black); color: #fff; }
.ctabox > div { position: relative; display: flex; flex-direction: column; gap: 16px; max-width: 620px; }
.ctabox h2 { font-size: clamp(34px, 2vw + 18px, 54px); font-weight: 200; }
.ctabox p { font-size: 18px; color: var(--soft); }
.ctabox .buttons { flex-direction: row; flex-wrap: wrap; gap: 12px; }
.ctabox .pill-line { color: #fff; background: var(--black); }
.ctabox-art { position: absolute; right: -40px; top: -20px; width: 520px; height: 312px; fill: none; stroke: #2a2a28; stroke-width: 1.2; }
.ctabox-art .hl { stroke: var(--acc); stroke-width: 2.5; }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.addr { font-style: normal; font-size: 20px; font-weight: 300; line-height: 1.5; }
.cdl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 28px; font-size: 17px; }
.cdl dt { color: var(--muted2); }
.cdl a { font-weight: 600; overflow-wrap: anywhere; }
/* Map card (design "mapcard"): our OpenStreetMap picture (a link to the company's Google entry); site.js swaps in
   Google's iframe, the same size, after cookie consent. */
.map { display: flex; flex-direction: column; gap: 14px; }
.map-pic, .map .map-frame { display: block; aspect-ratio: 960 / 512; min-height: 260px; border-radius: 28px; }
/* width: WebKit sized the box from min-height × aspect-ratio (488 px on a 390 px iPhone; test before launch, 3. 11. 2026.). */
.map-pic { position: relative; width: 100%; background: var(--stone); overflow: hidden; }
.map-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.map-pic > .ic { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -92%); color: var(--acc); fill: #fff; stroke-width: 1.8; filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.35)); }
.map-attr { position: absolute; right: 0; bottom: 0; padding: 2px 8px; font-size: 11px; color: #3d3d3a; background: rgb(255 255 255 / 0.8); border-top-left-radius: 8px; }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map .map-frame { width: 100%; border: 0; }

/* Inquiry form */
.form-card { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 3vw, 44px); border-radius: 28px; background: #fff; color: var(--ink); }
.form-card h2, .form-card h3 { font-size: clamp(30px, 1vw + 22px, 40px); }
.form-intro { display: flex; flex-direction: column; gap: 8px; }
.form-intro p { color: var(--muted); }
.form-for { padding: 14px 18px; border-radius: 12px; background: var(--grey); font-weight: 500; }
.form-for span { color: var(--muted2); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea { width: 100%; font-family: inherit; font-size: 17px; color: var(--ink); background: var(--grey); border: 1px solid #d6d6d2; border-radius: 12px; padding: 14px 16px; min-height: 48px; }
.field textarea { min-height: 140px; resize: vertical; }
.hint, .form-privacy { font-size: 14px; color: var(--muted2); }
.form-privacy a { color: var(--ink); }
.form-status:empty { display: none; }
.form-status { padding: 14px 18px; border-radius: 12px; background: var(--grey); font-weight: 500; }
/* On this grey --acc-dark is 4.1:1; #ba4909 is 4.67:1, as .legal-note a (final check 12. 11. 2026.). */
.form-status a { color: #ba4909; font-weight: 600; }

/* Footer */
.site-footer { background: var(--black); color: #fff; }
.foot { display: flex; flex-direction: column; gap: 48px; padding-block: clamp(56px, 6vw, 88px) 32px; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px 32px; }
.foot-cols > div { display: flex; flex-direction: column; gap: 14px; }
.foot-cols .logo img { width: 210px; }
.foot-h { font-size: 13px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: #8c8c87; }
.foot-cols ul { display: flex; flex-direction: column; gap: 10px; color: #e6e6e2; }
.foot-cols a { color: #e6e6e2; text-decoration: none; }
.foot-cols a:hover { color: var(--acc); }
.foot-cols .strong { color: #fff; font-weight: 600; }
.foot-tag { color: var(--soft); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #8c8c87; }
.foot-bottom .langs { display: flex; gap: 16px; }
.foot-bottom .langs a { color: #8c8c87; text-decoration: none; }
.foot-bottom .langs [aria-current] { color: #fff; font-weight: 600; }
/* Touch screens: the footer links and the language switch are at least 44 px tall for a finger. Same text and
   colours; the rows of the footer lists get the room instead of the 10 px gap. A mouse keeps the compact footer. */
@media (pointer: coarse) {
  .foot-cols ul { gap: 0; }
  .foot-cols ul a, .foot-cols .logo { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-bottom .langs { gap: 4px; }
  .foot-bottom .langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  .lang-m { display: inline-flex; align-items: center; justify-content: flex-end; width: 44px; min-height: 44px; }
}


/* Page head (all inner pages) and breadcrumbs */
.crumbs { padding-block: 24px; font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--muted2); }
.crumbs li + li::before { content: '/'; margin-right: 10px; }
.crumbs a { color: var(--muted2); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page-head { background: #fff; padding-bottom: clamp(48px, 5vw, 80px); }
/* White on white (legal and EU pages): the heading's own bottom space is enough, not both. */
.page-head + .sec-white > .sec { padding-top: 0; }
.page-head .wrap > div { display: flex; flex-direction: column; gap: 22px; }
/* Error and thank-you pages: the buttons as wide as the search box above them, not the whole screen. */
.page-head .p-actions { max-width: 720px; }
.page-h { font-size: clamp(44px, 3vw + 20px, 88px); font-weight: 200; color: var(--ink); }

/* Product page (the design sets its section headings smaller than the home page) */
.pg-product .h2 { font-size: clamp(36px, 2vw + 18px, 54px); }
.p-hero { background: #fff; }
/* Phone: breadcrumbs, pictures, text, details (the two columns dissolve). Desktop: left column (breadcrumbs, title,
   description, buttons) beside the pictures and details; it stays in place while they scroll, under the header or,
   when taller than the screen, by its bottom (.stick, product.js). The grid starts 24 px under the header, where the sticky column sits, so it does not
   jump on load. The breadcrumbs keep one line of fixed height and the right column starts that much lower, and the
   text starts as far down as the photo inside its frame, so the title is level with the photo. */
.p-grid { --gal-pad: clamp(12px, 2vw, 28px); --crumbs-h: 46px; display: flex; flex-direction: column; padding-bottom: clamp(56px, 6vw, 96px); }
@media (max-width: 900px) {
  .p-left, .p-right { display: contents; }
  .p-media { order: 1; }
  .p-text { order: 2; margin-top: 32px; }
  .p-more { order: 3; margin-top: 40px; }
}
@media (min-width: 901px) {
  .p-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 4vw, 72px); align-items: start; padding-top: 24px; }
  .p-left.stick { position: sticky; } /* top: product.js */
  .p-left .crumbs { height: var(--crumbs-h); padding-top: 0; }
  .p-left .crumbs ol { flex-wrap: nowrap; line-height: 22px; }
  .p-left .crumbs li { flex: none; white-space: nowrap; }
  .p-left .crumbs li:last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .p-text { padding-top: var(--gal-pad); }
  .p-title { text-box-trim: trim-start; text-box-edge: cap alphabetic; }
  .p-right { padding-top: var(--crumbs-h); }
  .p-more { margin-top: 40px; }
}
.p-text { display: flex; flex-direction: column; }
.p-text > * + * { margin-top: 24px; }
.p-text > .p-actions { margin-top: 32px; }
.p-desc { font-size: 18px; color: #4a4a47; }
.p-more { display: flex; flex-direction: column; gap: 16px; }
.p-more .acc { background: var(--grey); }
.p-more .acc-h { font-size: clamp(24px, 0.8vw + 16px, 32px); }
.p-more .vbox { height: auto; aspect-ratio: 16 / 9; }
.p-more .vtitle { font-size: clamp(20px, 0.8vw + 12px, 28px); }
.p-head { display: flex; flex-direction: column; gap: 16px; }
.p-title { font-size: clamp(30px, 1.6vw + 20px, 56px); font-weight: 250; line-height: 1.1; color: var(--ink); overflow-wrap: break-word; }
.p-sub { display: block; font-size: clamp(18px, 0.4vw + 15px, 22px); font-weight: 400; letter-spacing: -0.01em; line-height: 1.35; color: #3a3a37; }
.p-title .p-sub { margin-top: 16px; }
.p-sub::first-letter { text-transform: uppercase; }
.p-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 16px; color: var(--muted2); }
.p-codes { display: flex; flex-direction: column; gap: 6px; font-variant-numeric: tabular-nums; }
.p-codes-h { font-size: 13px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted2); }
.p-summary { font-size: 18px; color: #4a4a47; max-width: 36em; }
.p-actions { display: flex; flex-direction: column; gap: 12px; }
.p-actions .pill { width: 100%; min-height: 60px; padding-block: 8px; }
.p-actions .pill .arr { width: 42px; height: 42px; }
.p-actions .pill-line .arr { width: 56px; height: 36px; }
/* Gallery: a white frame over the orange block in the ratio of the first picture (no empty band above or below it);
   the other pictures fit inside it whole (contain). One row of thumbnails. */
.gal { display: flex; flex-direction: column; gap: 12px; }
.gal-main { position: relative; padding-right: clamp(14px, 1.6vw, 22px); }
.gal-main::before { content: ''; position: absolute; right: 0; top: 8%; bottom: 8%; width: 64%; background: var(--acc); border-radius: 28px; }
.gal-box { position: relative; border-radius: 24px; background: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12); overflow: hidden; }
.gal-track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track:focus-visible { outline-offset: -3px; }
.gal-track.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.gal-slide { position: relative; flex: 0 0 100%; padding: var(--gal-pad, 16px); scroll-snap-align: center; scroll-snap-stop: always; }
/* A very tall first picture is limited to the screen and then shown whole with white at its sides. */
.gal-slide img { width: 100%; height: auto; max-height: min(78svh, 760px); object-fit: contain; }
.gal-slide + .gal-slide img { position: absolute; inset: var(--gal-pad, 16px); width: calc(100% - 2 * var(--gal-pad, 16px)); height: calc(100% - 2 * var(--gal-pad, 16px)); max-height: none; }
.gal-arrow { position: absolute; top: 50%; z-index: 1; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-top: -24px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; opacity: 0; transition: opacity 0.15s ease; }
.gal-arrow.prev { left: 14px; }
.gal-arrow.next { right: 14px; }
.gal-arrow:focus-visible { opacity: 1; }
.gal-count { position: absolute; right: 14px; bottom: 14px; padding: 2px 12px; border-radius: 999px; background: rgba(12, 12, 12, 0.72); color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .gal.many .gal-track { cursor: grab; } .gal-main:hover .gal-arrow { opacity: 1; } }
@media (hover: none) { .gal-arrow { display: none; } }
@media (min-width: 901px) { .gal-count { display: none; } }
@media (scripting: none) { .gal-arrow, .gal-count { display: none; } }
.gal-row { display: flex; align-items: center; gap: 8px; }
/* The 4 px padding keeps focus rings visible; scroll-padding keeps snapping from hiding it (row would start 4 px off). */
.gal-thumbs { flex: 1; min-width: 0; display: flex; gap: 12px; margin: -4px; padding: 4px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 4px; scrollbar-width: none; }
.gal-thumbs::-webkit-scrollbar { display: none; }
.gal-scroll { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; }
.gal-scroll[hidden] { display: none; }
@media (max-width: 900px) { .gal-scroll { display: none; } }
.thumb { flex: 0 0 140px; display: flex; align-items: center; justify-content: center; width: 140px; height: 140px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--grey); cursor: pointer; text-decoration: none; scroll-snap-align: start; }
@media (max-width: 900px) { .thumb { flex-basis: 72px; width: 72px; height: 72px; padding: 6px; border-radius: 10px; } }
.thumb[aria-current='true'] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.acc { background: #fff; border-radius: 24px; }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(22px, 2.4vw, 34px) clamp(22px, 3vw, 44px); cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc-t { display: flex; flex-direction: column; gap: 6px; }
.acc-h { font-size: clamp(28px, 1.4vw + 18px, 44px); color: var(--ink); }
.acc-n { font-size: 15px; color: var(--muted2); }
.acc-i { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; flex: none; border-radius: 999px; background: var(--acc); color: #111; transition: transform 0.2s ease; }
.acc-i .ic { width: 22px; height: 22px; stroke-width: 1.8; }
.acc[open] .acc-i { transform: rotate(45deg); }
.acc-b { padding: 0 clamp(22px, 3vw, 44px) clamp(24px, 3vw, 40px); }
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); column-gap: 48px; }
.feat { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-top: 1px solid #ededea; }
.feat .ic { margin-top: 3px; color: var(--acc); stroke-width: 2.2; }
.spec { width: 100%; border-collapse: collapse; font-size: 17px; border-bottom: 1px solid #ededea; }
.spec th { width: 44%; padding: 15px 16px 15px 0; text-align: left; vertical-align: top; font-weight: 400; color: var(--muted2); }
.spec td { padding: 15px 0; vertical-align: top; font-weight: 500; }
.spec tr { border-top: 1px solid #ededea; }
/* Size variants: a column per model; the label column gives up width so the values fit on a phone. */
.spec-var th[scope="row"] { width: auto; }
.spec-var th[scope="col"] { padding: 0 12px 12px 0; color: var(--ink); font-weight: 600; white-space: nowrap; }
.spec-var td { padding-right: 12px; }
@media (max-width: 600px) { .spec-var { font-size: 15px; } .spec-var th[scope="row"] { padding-right: 10px; } }
@media (max-width: 380px) { .spec-var { font-size: 14px; } .spec-var td, .spec-var th { padding-right: 8px; } }
/* Four models do not fit beside the row names on a phone, nor in the narrow right column just above 900 px: the name
   goes above its values. */
@media (max-width: 600px), (min-width: 901px) and (max-width: 1100px) {
  .spec-var.cols-4 tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 8px; }
  .spec-var.cols-4 thead tr { border-top: 0; }
  .spec-var.cols-4 thead td { display: none; }
  .spec-var.cols-4 th[scope="row"] { grid-column: 1 / -1; padding: 12px 0 2px; }
  .spec-var.cols-4 td { padding: 0 0 12px; }
  .spec-var.cols-4 td[colspan] { grid-column: 1 / -1; }
}
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 14px; }
.opts li { display: flex; flex-direction: column; gap: 18px; min-height: 130px; padding: 22px; border-radius: 20px; background: #fff; font-size: 18px; line-height: 1.3; }
.optdot { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid var(--acc); color: var(--acc-dark); }
.optdot .ic { width: 18px; height: 18px; stroke-width: 2; }
.vbox { position: relative; display: block; width: 100%; height: clamp(240px, 38vw, 560px); border-radius: 28px; background: var(--black); overflow: hidden; color: #fff; text-decoration: none; }
.vbox-art { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #232321; stroke-width: 1; }
.vbox-art .hl { stroke: var(--acc); stroke-width: 2.5; }
.vbox img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.vplay { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: clamp(72px, 6vw, 104px); height: clamp(72px, 6vw, 104px); transform: translate(-50%, -50%); border-radius: 999px; background: var(--acc); }
.vplay svg { width: 32%; height: 32%; fill: #111; }
.vtitle { position: absolute; left: clamp(24px, 3vw, 48px); bottom: clamp(20px, 3vw, 44px); right: 24px; font-size: clamp(20px, 2vw + 12px, 52px); /* long names stay below the play button on phones */ font-weight: 200; letter-spacing: -0.025em; line-height: 1.05; }
.vframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 28px; }
/* Video card of the product page (brief 3.3, 26. 10. 2026.): its own card right after Opcije, never by the pictures,
   in the look of the sections above it (grey card, the same heading and note); YouTube loads only on click. */
.vcard { display: flex; flex-direction: column; gap: 20px; padding: clamp(22px, 2.4vw, 34px) clamp(22px, 3vw, 44px) clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--grey); }
.vcard .vbox, .vcard .vframe { border-radius: 16px; }
.ask { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ask-text { display: flex; flex-direction: column; gap: 26px; }
.ask-text h2 { font-size: clamp(40px, 2.6vw + 18px, 64px); font-weight: 200; color: #fff; overflow-wrap: break-word; }
.ask-text p { font-size: 19px; color: var(--soft); }
.contacts { display: flex; flex-direction: column; gap: 14px; font-size: 18px; }
.contacts a { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contacts .ic { color: var(--acc); }
.modal { display: none; position: fixed; inset: auto 0; top: clamp(16px, 5svh, 80px); width: min(640px, calc(100% - 32px)); max-height: calc(100svh - 2 * clamp(16px, 5svh, 80px)); margin: 0 auto; padding: clamp(22px, 3vw, 40px); overflow: auto; border: 0; border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
.modal:popover-open { display: flex; flex-direction: column; gap: 18px; }
.modal::backdrop { background: rgba(12, 12, 12, 0.6); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal-head h2 { font-size: clamp(30px, 1.2vw + 20px, 42px); }
.close { display: flex; width: 48px; height: 48px; flex: none; border: 1px solid #d6d6d2; border-radius: 999px; background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.modal .form-card { padding: 0; }
/* The answer is scrolled into view with the popover's bottom padding under it, not flush with its edge (form.js). */
.modal .form-status { scroll-margin-bottom: clamp(22px, 3vw, 40px); }

/* About page (design docs/dizajn/canvas/o-nama). Hero: at least half the screen on every device, longer if the text needs it. */
.ab-hero { position: relative; display: flex; flex-direction: column; min-height: 50svh; padding-top: var(--head); overflow: hidden; background: var(--black); color: #fff; }
.ab-hero-in { flex: 1; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(40px, 5vw, 96px); align-items: center; padding-block: clamp(28px, 3vw, 48px) clamp(32px, 3.4vw, 56px); }
.ab-txt { position: relative; z-index: 1; display: flex; flex-direction: column; gap: clamp(20px, 2vw, 28px); }
.crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: #8c8c87; }
.crumb li + li::before { content: '/'; margin-right: 10px; color: #8c8c87; }
.crumb a { color: var(--soft); text-decoration: none; }
.crumb a:hover, .crumb [aria-current] { color: #fff; }
.ab-h1 { font-size: clamp(44px, 3.2vw + 22px, 92px); font-weight: 200; line-height: 1; letter-spacing: -0.035em; color: #fff; }
.ab-lead { max-width: 30em; font-size: clamp(18px, 0.35vw + 16px, 21px); line-height: 1.6; color: var(--soft); }
.ab-fig { margin: 0; }
/* Cutting plan: the cuts draw themselves one after another; without motion they are simply there. */
.plan-svg { display: block; width: 100%; height: auto; max-height: calc(50svh - 96px); overflow: visible; }
.sheet { fill: #161616; stroke: #5a5a56; stroke-width: 1.25; }
.plan { fill: none; stroke: #3a3a37; stroke-width: 1; stroke-dasharray: 4 5; }
.dim { fill: none; stroke: #8c8c87; stroke-width: 1; }
.dimt { fill: #b5b5b0; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-anchor: middle; }
.pc { fill: #7e7e78; font-size: 13px; text-anchor: middle; }
.cut { fill: none; stroke: var(--acc); stroke-width: 2.5; stroke-linecap: butt; stroke-dasharray: 1; stroke-dashoffset: 1; animation: bp-cut 0.9s cubic-bezier(0.6, 0, 0.2, 1) forwards; }
.cut-1 { animation-delay: 0.2s; }
.cut-2 { animation-delay: 1s; }
.cut-3 { animation-delay: 1.6s; }
.cut-4 { animation-delay: 2.3s; }
.cut-5 { animation-delay: 2.8s; }
.cut-6 { animation-delay: 3.4s; }
@keyframes bp-cut { to { stroke-dashoffset: 0; } }
.ab-who { display: flex; flex-direction: column; gap: clamp(48px, 5vw, 80px); padding-block: clamp(72px, 9vw, 140px) clamp(72px, 8vw, 120px); }
.statement { max-width: 24em; font-size: clamp(30px, 1.9vw + 16px, 58px); font-weight: 250; line-height: 1.16; letter-spacing: -0.025em; color: #767671; text-wrap: pretty; }
.statement b { font-weight: 250; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fact { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid #cfcfca; }
.fact strong { font-size: 20px; font-weight: 500; line-height: 1.3; }
.fact span { color: var(--muted); }
.photos { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; height: clamp(320px, 34vw, 500px); }
.photos div { position: relative; border-radius: 28px; overflow: hidden; background: var(--stone); }
.photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-sec { display: flex; flex-direction: column; gap: 48px; padding-block: clamp(72px, 8vw, 120px); }
.ab-sec-steps { gap: 56px; }
.ab-sec-brands { gap: 44px; }
.ab-sec-visit { gap: clamp(48px, 6vw, 96px); }
.ab-offers { display: flex; flex-direction: column; gap: 20px; }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.offer { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.4vw, 36px); border-radius: 28px; background: var(--grey); color: var(--ink); text-decoration: none; }
.offer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.offer h3 { font-size: clamp(30px, 1.2vw + 20px, 44px); font-weight: 250; }
.offer p { max-width: 28em; color: var(--muted); }
.offer-img { position: relative; flex: 1 0 auto; display: flex; align-items: flex-end; justify-content: center; height: clamp(220px, 20vw, 300px); margin-top: 12px; padding: 20px 20px 0; border-radius: 20px; overflow: hidden; background: var(--stone); }
.offer-acc { background: var(--acc); }
.offer-draw { align-items: center; padding: 20px; }
.offer-img img { width: auto; max-width: 92%; max-height: 100%; object-fit: contain; transition: transform 0.3s ease; }
.offer-art { width: auto; height: 92%; fill: none; stroke: #3d3d3a; stroke-width: 1.4; }
.offer-art .mid { stroke: #8c8c87; }
.offer-art .hl { stroke: var(--acc); }
.used-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(24px, 2.4vw, 36px); border-radius: 28px; background: var(--black); color: #fff; text-decoration: none; }
.used-row > div { display: flex; flex-direction: column; gap: 8px; }
.used-row h3 { font-size: clamp(30px, 1.2vw + 20px, 44px); font-weight: 250; color: #fff; }
.used-row p { color: var(--soft); }
.used-row .go { width: 52px; height: 52px; color: #fff; }
@media (hover: hover) {
  .offer:hover .offer-img img { transform: translateY(-6px); }
  .offer:hover .go, .used-row:hover .go { background: var(--acc); border-color: var(--acc); color: #111; }
}
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps::before { content: ''; position: absolute; left: 8px; right: 0; top: 8px; height: 1px; background: #cfcfca; }
.step { position: relative; display: flex; flex-direction: column; gap: 12px; padding-top: 42px; }
.step::before { content: ''; position: absolute; left: 0; top: 0; width: 17px; height: 17px; border: 2px solid var(--acc); border-radius: 999px; background: var(--grey); }
.step:first-child::before { background: var(--acc); }
.step h3 { font-size: clamp(26px, 0.8vw + 20px, 34px); font-weight: 250; }
.step p { color: var(--muted); }
/* Logo strip: two identical tracks, each slides by its own width, so the loop is seamless. */
.brands { display: flex; overflow: hidden; }
.brands-track { display: flex; flex: 0 0 auto; min-width: 100%; align-items: center; justify-content: space-around; animation: brands-run 40s linear infinite; }
.brands:hover .brands-track, .brands:focus-within .brands-track, .brands[data-paused] .brands-track { animation-play-state: paused; }
/* Its pause/play button (site.js, WCAG 2.2.2) sits in the corner under the strip; dark on the white section. */
.brands-box { position: relative; padding-bottom: 48px; }
.brands-box .motion-pause { color: #111; background: rgb(0 0 0 / 0.06); }
.brands-box .motion-pause:focus-visible { outline-color: #111; }
.brand { padding-inline: clamp(24px, 3vw, 48px); }
/* Every logo in its own colours and the same visual size (48 px high, at most 180 px wide); a little bigger under the mouse. */
.brand > a, .brand > span { display: flex; align-items: center; height: 48px; transition: transform 0.2s; }
.brand > :is(a:hover, a:focus-visible, span:hover) { transform: scale(1.08); }
.brand img { height: 48px; width: auto; max-width: 180px; object-fit: contain; }
@keyframes brands-run { to { transform: translateX(-100%); } }
.ab-visit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ab-visit-text { display: flex; flex-direction: column; gap: 28px; }
.ab-addr { font-style: normal; font-size: clamp(24px, 0.8vw + 18px, 32px); font-weight: 250; line-height: 1.35; }
@media (max-width: 900px) {
  .ab-hero-in { grid-template-columns: minmax(0, 1fr); padding-block: 24px 32px; }
  .ab-fig { position: absolute; right: -70px; bottom: -40px; width: 360px; opacity: 0.3; pointer-events: none; }
  .ab-fig .plan-svg { max-height: none; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 240px 260px; height: auto; }
  .photos div:first-child { grid-column: 1 / -1; }
  .offers { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .steps::before { left: 8px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .step { padding-top: 0; padding-left: 44px; }
}
@media (max-width: 600px) {
}

/* Search */
.search-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; max-width: 720px; }
.search-form .field { flex: 1 1 320px; }
/* Room for the results before they arrive: on a computer the footer was in view and jumped when they came (CLS 0.15-0.31 with ?q= in the address, final check 12. 11. 2026.). */
@media (min-width: 901px) { .search-results { min-height: 60vh; } }
.search-results ul { display: flex; flex-direction: column; margin-top: 24px; }
.search-results li { padding: 14px 0; border-top: 1px solid var(--line); }
.search-results a { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .pill, .pill .arr, .go, .acc-i, .ucard, .offer-img img { transition: none; }
  .cut { animation: none; stroke-dashoffset: 0; }
  .brands-track { animation: none; flex-wrap: wrap; }
  .brands-track[aria-hidden] { display: none; }
  .brands-box { padding-bottom: 0; }
  .brands-box .motion-pause { display: none; }
}

/* Company details (contact page), privacy policy headings and the cookie notice (consent.js, layout.ts consentNotice) */
.prose h2 { margin-top: 0.8em; font-size: clamp(26px, 0.8vw + 20px, 32px); }
.prose h2:first-child { margin-top: 0; }
/* Long English labels ("Company registration number (MBS)") would squeeze the values on a phone: label above value. */
@media (max-width: 599.98px) { .firm { grid-template-columns: minmax(0, 1fr); gap: 2px; } .firm dd { margin-bottom: 14px; } }
/* The notice is the last block of the page: at the very end it takes its own room, while scrolling it rests on the
   bottom of the screen like the footer it follows. Accept and decline are the same pill. Colours (Petar, 4. 11. 2026.):
   the site's orange with dark text; "Prihvati sve" black with white text, "Odbij sve", "Postavke" and "Spremi odabir"
   a black 2 px edge with dark text, so the three choices are equally easy to see (GDPR); focus is black (7:1). */
.consent { position: sticky; bottom: 0; z-index: 15; background: var(--acc); color: #111; border-top: 1px solid rgba(0, 0, 0, 0.18); }
.consent:focus-visible, .consent :focus-visible { outline: 3px solid #111; }
.consent:focus-visible { outline-offset: -3px; }
.consent-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 40px; padding-block: 18px; }
.consent-text { flex: 1 1 420px; max-width: 56em; display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.5; }
.consent-h { font-size: 13px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: #111; }
.consent a { color: #111; }
.consent-btns { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 1 540px; }
.consent-btns .pill { flex: 1 1 160px; }
.consent .pill { color: #111; border: 2px solid #111; }
.consent .pill[data-consent-choice="all"] { background: #111; color: #fff; }
/* Only with a real pointer: after a tap a touch screen keeps :hover, and "Postavke" stayed black like "Prihvati sve". */
@media (hover: hover) {
  .consent .pill:hover { background: #111; color: #fff; }
  .consent .pill[data-consent-choice="all"]:hover { background: #333; border-color: #333; }
}
.consent-opts:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 10px; }
.consent-opts label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.consent-opts input { width: 18px; height: 18px; margin: 0; accent-color: #111; }
.consent-opts input:disabled { opacity: 0.6; }
/* Phones: a tighter notice (the same words, the three buttons the same size and style, in one row where they fit), so
   the hero's button stays above it on 360x800 and 390x844 (final check 12. 11. 2026.: 307 px covered the button). */
@media (max-width: 599.98px) {
  .consent-in { padding-block: 12px; gap: 10px 16px; }
  .consent-text { font-size: 13px; line-height: 1.45; gap: 2px; }
  .consent-h { font-size: 12px; }
  .consent-btns { flex: 1 1 100%; gap: 8px; }
  .consent-btns .pill { flex: 1 1 auto; min-height: 40px; padding-inline: 10px; font-size: 13px; letter-spacing: 0.04em; }
}
/* A short phone screen (390x664) with the notice showing: the hero's paddings and gap give the English title room. */
@media (max-width: 599.98px) and (max-height: 700px) {
  html.consent-ask .hero-in { padding-block: calc(var(--head) + 16px) calc(16px + var(--consent-h)); gap: 12px; }
}
/* Keyboard focus never lands behind it, and the product page's buttons do not stay stuck under it (product.js). */
html:has(.consent:not([hidden])) { scroll-padding-bottom: calc(var(--consent-h, 200px) + 16px); }
.foot-btn { padding: 0; border: 0; background: none; color: #e6e6e2; font-size: inherit; text-align: left; cursor: pointer; }
.foot-btn:hover { color: var(--acc); }
@media (pointer: coarse) { .foot-btn { min-height: 44px; } }
/* Footer bottom row: © with the OIB, the legal links (and "Postavke kolačića"), languages, the maker. */
.foot-legal ul { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot-legal a, .foot-legal .foot-btn { color: #8c8c87; text-decoration: none; }
.foot-legal a:hover, .foot-legal .foot-btn:hover { color: #fff; }
@media (pointer: coarse) { .foot-legal a { display: inline-flex; align-items: center; min-height: 44px; } }
/* Legal pages (config/legal.ts): the note on English pages, the date of the last change, the cookie table (on a phone
   one card per row, the column name before each value), and both lists of the legal notice with the same label column. */
.legal-note { padding: 14px 18px; border-radius: 12px; background: var(--grey); font-size: 16px; }
/* The same orange, 3 % darker: --acc-dark is 4.1:1 on this grey, this is 4.67:1 (axe, test before launch 3. 11. 2026.). */
.legal-note a { color: #ba4909; }
.legal-date { margin-top: 1em; font-size: 15px; color: var(--muted2); }
.ctable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ctable th, .ctable td { padding: 12px 14px 12px 0; text-align: left; vertical-align: top; border-top: 1px solid #ededea; }
.ctable thead th { border-top: 0; color: var(--muted2); font-weight: 500; }
.ctable tbody th { font-weight: 600; }
@media (max-width: 767.98px) {
  .ctable, .ctable tbody, .ctable tr, .ctable th, .ctable td { display: block; }
  .ctable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .ctable tr { padding: 14px 0; border-top: 1px solid #ededea; }
  .ctable tbody th, .ctable td { padding: 2px 0; border: 0; }
  /* The second form keeps screen readers from reading the label twice (they get the column header); older browsers use the first. */
  .ctable td::before { content: attr(data-label) ": "; content: attr(data-label) ": " / ""; color: var(--muted2); }
}
@media (min-width: 600px) { .legal .cdl { grid-template-columns: 16em minmax(0, 1fr); } }
