/* FAMM base + components. Uses tokens.css variables only. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font: 400 var(--fs-base)/var(--lh-body) var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  margin: 0 0 var(--s-4);
  font-family: var(--font-head);
  font-weight: 800;
  line-height: var(--lh-snug);
  text-wrap: balance;
}
h1, h2, h3 {
  text-transform: uppercase;
  font-stretch: 112%;
  line-height: 1;
  letter-spacing: -0.005em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: 700; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
a { color: var(--c-brand); text-underline-offset: 3px; }
a:hover { color: var(--c-brand-hover); }
:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
::selection { background: var(--blue-200); }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -4rem; z-index: 100;
  background: var(--c-brand); color: var(--white);
  padding: var(--s-3) var(--s-4); border-radius: var(--r-md);
}
.skip-link:focus { top: var(--s-4); }

/* ---------- Layout ---------- */
.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--gutter);
}
.container-narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section-tint { background: var(--surface); }
.section-dark { background: var(--c-dark); color: var(--blue-100); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.stack > * + * { margin-top: var(--s-4); }
.grid { display: grid; gap: var(--s-5); }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%,
  22rem), 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%,
  17rem), 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%,
  13rem), 1fr)); }
.split {
  display: grid; gap: var(--s-7); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
}

/* ---------- Icon ---------- */
.icon {
  width: 1.5rem; height: 1.5rem; flex: none;
  fill: currentColor; stroke: none;
  stroke-width: 1; stroke-linecap: round; stroke-linejoin: round;
}
.icon-lg { width: 2.25rem; height: 2.25rem; stroke-width: 1; }

/* ---------- Text helpers ---------- */
.lead { font-size: var(--fs-lg); color: var(--ink-2); max-width: 40rem; }
.section-dark .lead { color: var(--blue-100); }
.muted { color: var(--c-text-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2); min-height: 3rem; padding: 0 var(--s-5);
  border: 2px solid transparent; border-radius: 0;
  font: 700 var(--fs-sm)/1 var(--font-head);
  letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast),
    border-color var(--t-fast), transform var(--t-fast);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.125rem; height: 1.125rem; }
.btn-primary { background: var(--c-brand); color: var(--white); }
.btn-primary:hover { background: var(--c-brand-hover); color:
  var(--white); }
.btn-secondary { border-color: var(--c-brand); color: var(--c-brand); }
.btn-secondary:hover { background: var(--c-brand); color: var(--white); }
.btn-ghost { color: var(--c-brand); padding-inline: var(--s-3); }
.btn-ghost:hover { background: var(--c-brand-tint); }
.btn-light { background: var(--white); color: var(--c-brand); }
.btn-light:hover { background: var(--blue-100); color: var(--blue-700); }
.btn-outline-light { border-color: var(--blue-300); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color:
  var(--c-brand); }
.btn-sm { min-height: 2.5rem; padding: 0 var(--s-4); }
.btn-lg { min-height: 3.5rem; padding: 0 var(--s-6); }
.link-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2); min-height: 2.75rem; padding: 0 var(--s-5);
  border: 2px solid transparent; border-radius: 0;
  background: var(--c-brand); color: var(--white); cursor: pointer;
  font: 700 var(--fs-sm)/1 var(--font-head);
  letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.link-arrow:hover { background: var(--c-brand-hover); color: var(--white); }
.link-arrow .icon {
  width: 1.125rem; height: 1.125rem; color: inherit;
  transition: transform var(--t-base) var(--ease);
}
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Badge ---------- */
.badge {
  display: inline-block; padding: 0.3rem 0.6rem;
  border-radius: var(--r-sm); background: var(--c-brand-tint);
  color: var(--c-brand);
  font: 700 var(--fs-xs)/1 var(--font-head);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }

/* ---------- Header ---------- */
.topbar {
  background: var(--surface);
  font-size: var(--fs-xs); color: var(--ink-2);
}
.topbar .container {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5);
  justify-content: space-between; align-items: center;
  min-height: 45px; padding-block: 0;
}
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--c-brand); }
.topbar-group { display: flex; flex-wrap: wrap; gap: var(--s-2)
  var(--s-5); }
.topbar-item { display: inline-flex; align-items: center; gap:
  var(--s-2); }
.topbar-item[hidden] { display: none; }
.topbar .icon { width: 18px; height: 18px; }
.site-head { position: sticky; top: 0; z-index: 50; }
.header {
  position: relative; z-index: 50;
  background: rgb(255 255 255 / 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 12px -10px rgb(19 26 59 / 0.14);
}
.header-inner {
  display: flex; align-items: center; gap: var(--s-6);
  min-height: var(--header-h);
}
.brand { display: block; flex: none; }
.brand img { height: 3.75rem; width: auto; }
.brand .logo-white { display: none; }
.nav { margin-left: auto; }
.nav-list {
  display: flex; align-items: center; gap: var(--s-1);
  margin: 0; padding: 0; list-style: none;
}
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: var(--s-1);
  min-height: var(--header-h); padding: 0 var(--s-4);
  font: 700 var(--fs-sm)/1 var(--font-head);
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  transition: color var(--t-fast), background-color var(--t-fast);
}
.nav-link .icon { width: 1rem; height: 1rem; }
.nav-link:hover, .nav-item:focus-within > .nav-link,
.nav-item:hover > .nav-link {
  color: var(--white); background: var(--c-brand);
}
.nav-link[aria-current="page"] { color: var(--c-brand); }
.mega {
  position: absolute; left: 50%; top: 100%; z-index: 60;
  width: min(44rem, 92vw); padding: var(--s-5);
  background: var(--white); border: var(--border); border-top: 0;
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity var(--t-base) var(--ease),
    transform var(--t-base) var(--ease), visibility var(--t-base);
}
.nav-item:hover > .mega, .nav-item:focus-within > .mega {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.mega-link {
  display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-3); border-radius: var(--r-md);
  color: var(--ink); text-decoration: none;
}
.mega-link:hover { background: var(--surface); }
.mega-thumb {
  width: 4.5rem; height: 3.5rem; flex: none; object-fit: cover;
  border-radius: var(--r-sm); background: var(--surface-2);
}
.mega-title { display: block; font: 700 var(--fs-sm)/1.2
  var(--font-head); }
.mega-desc { display: block; font-size: var(--fs-xs); color:
  var(--ink-3); }
.nav-toggle {
  display: none; margin-left: auto; width: 3rem; height: 3rem;
  align-items: center; justify-content: center;
  background: none; border: var(--border);
  border-radius: var(--r-md); color: var(--ink); cursor: pointer;
}
.header-cta { flex: none; }
@media (min-width: 62.0625rem) {
  .nav-list { gap: 0; }

  .nav-link { padding: 0 var(--s-5); }
}

@media (max-width: 62rem) {
  .header-inner { gap: var(--s-4); }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    margin: 0; background: var(--white); border-bottom: var(--border);
    box-shadow: var(--shadow-md); max-height: calc(100vh -
      var(--header-h));
    overflow: auto; display: none;
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch;
    padding: var(--s-3) var(--gutter) var(--s-5); }
  .nav-link { min-height: 3.25rem; padding: 0; border-bottom:
    var(--border);
    box-shadow: none; width: 100%; }
  .nav-link:hover, .nav-item:focus-within > .nav-link,
  .nav-link[aria-current="page"] { background: none;
    color: var(--c-brand); }
  .mega { position: static; width: auto; padding: var(--s-2) 0;
    border: 0; box-shadow: none; transform: none; opacity: 1;
    visibility: visible; display: none; grid-template-columns: 1fr; }
  .nav-item:hover > .mega, .nav-item:focus-within > .mega {
    transform: none; display: grid; }
}

/* ---------- Hero (full-bleed photo) ---------- */
.hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: min(calc(100svh - var(--header-h)), 46rem);
  color: var(--white); background: var(--blue-900);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: rgb(19 26 59 / 0.52);
}
.hero .container {
  position: relative; z-index: 2;
  padding-block: var(--s-9) var(--s-8);
}
.hero h1 span, .hero h2 span { display: block; }
.hero h1, .hero-backup h2 {
  max-width: none; margin-bottom: var(--s-5); color: var(--white);
  font-size: clamp(1.9rem, 0.5rem + 7.6vw, 6.25rem);
}
.hero .lead { color: var(--blue-100); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap;
  gap: var(--s-3) var(--s-7); margin-top: var(--s-6); }
.hero .link-arrow, .link-arrow.on-photo { background: #1c2655;
  color: var(--white); }
.hero .link-arrow:hover, .link-arrow.on-photo:hover {
  background: var(--blue-900); }
.hero-scroll {
  position: absolute; z-index: 2; right: var(--gutter);
  bottom: var(--s-6); color: var(--white);
}
.hero-scroll .icon { width: 2rem; height: 2rem; stroke-width: 1; }
@media (max-width: 40rem) { .hero-scroll { display: none; } }

/* ---------- Hero with building cut-out (light) ---------- */
.hero-cut {
  position: relative; display: flex; align-items: center;
  min-height: min(calc(100svh - var(--header-h)), 46rem);
  background: var(--white); color: var(--ink);
  overflow: hidden;
}
.hcut-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 52%;
  background: var(--blue-50);
}
.hcut-inner { position: relative; z-index: 3;
  padding-block: var(--s-8) var(--s-9); }
.hero-cut h1 {
  margin: 0 0 var(--s-5); color: var(--blue-800);
  font-size: clamp(1.9rem, 0.5rem + 6.2vw, 5rem);
}
.hero-cut h1 span { display: block; }
.hero-cut h1 span + span { color: var(--c-brand); }
.hero-cut .lead { color: var(--ink-3); max-width: 28rem; }
.hero-cut .hero-actions { align-items: center; }
.hcut-building {
  position: absolute; z-index: 2; right: 0; bottom: 0;
  width: min(54vw, 920px); height: auto; pointer-events: none;
  animation: hcut-rise 1.1s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes hcut-rise {
  from { opacity: 0; transform: translateY(3rem); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hcut-building { animation: none; }
}
.hero-cut .hero-scroll { color: var(--blue-800); }
@media (max-width: 52rem) {
  .hero-cut { flex-direction: column; align-items: stretch;
    min-height: 0; }
  .hcut-panel { width: 100%; top: auto; height: 40%; }
  .hcut-inner { padding-block: var(--s-8) var(--s-6); }
  .hcut-building { position: relative; width: 112%;
    max-width: none; margin: -4.5rem -6% 0 auto; }
}

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--surface); border-bottom: var(--border);
  padding-block: var(--s-7); }
.page-head h1 { font-size: var(--fs-h2); margin-bottom: var(--s-3); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--s-2);
  margin: 0 0 var(--s-4); padding: 0; list-style: none;
  font-size: var(--fs-xs); color: var(--ink-3); }
.breadcrumb li + li::before { content: '/'; margin-right: var(--s-2);
  color: var(--line-strong); }
.breadcrumb a { color: inherit; }

/* ---------- Section head ---------- */
.section-head { max-width: 44rem; margin-bottom: var(--s-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Product card ---------- */
.card {
  display: flex; flex-direction: column;
  background: var(--white); border: var(--border);
  border-radius: var(--r-md); overflow: hidden;
  transition: box-shadow var(--t-base) var(--ease),
    border-color var(--t-base), transform var(--t-base) var(--ease);
}
.card:hover { box-shadow: var(--shadow-md);
  border-color: var(--blue-200); transform: translateY(-2px); }
.card-media { background: var(--surface); aspect-ratio: 4 / 3;
  display: grid; place-items: center; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media.contain img { object-fit: contain; padding: var(--s-4); }
.card-body { display: flex; flex-direction: column; flex: 1;
  gap: var(--s-3); padding: var(--s-5); }
.card-body h3 { font-size: var(--fs-h4); margin: 0; }
.card-body p { margin: 0; color: var(--ink-3); font-size: var(--fs-base); }
.card-body .link-arrow { margin-top: auto; padding-top: var(--s-2); }
.card-stretch::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card-specs { display: flex; flex-wrap: wrap; gap: var(--s-2);
  margin: 0; padding: 0; list-style: none; }
.card-specs li { padding: 0.25rem 0.55rem; background: var(--surface);
  border-radius: var(--r-sm); font-size: var(--fs-xs); color:
    var(--ink-2); }

/* ---------- Numbered services (big numerals) ---------- */
.numbered { counter-reset: n; display: grid; gap: var(--s-9); }
.numbered-item {
  --num: clamp(4.5rem, 3rem + 7vw, 8rem);
  position: relative; max-width: 30rem;
  padding-top: calc(var(--num) * 0.55); counter-increment: n;
}
.numbered-item:nth-child(even) { margin-left: auto; }
.numbered-item::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; z-index: 0; left: -0.06em; top: 0;
  font: 800 var(--num)/1 var(--font-head);
  font-stretch: 112%; color: var(--blue-100);
}
.numbered-item > * { position: relative; z-index: 1; }
.numbered-item h3 { font-size: var(--fs-h3); margin-bottom: var(--s-4); }
.numbered-item p { color: var(--ink-3); }
@media (max-width: 40rem) {
  .numbered-item:nth-child(even) { margin-left: 0; }
}

/* ---------- Split section (title left, text right) ---------- */
.sec-split {
  display: grid; gap: var(--s-5) var(--s-8); align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  margin-bottom: var(--s-7);
}
.sec-split h2 { margin: 0; }
.sec-split p { margin: 0; max-width: 40rem; }
@media (max-width: 52rem) { .sec-split { grid-template-columns: 1fr; } }

/* ---------- Feature (icon + text) ---------- */
.feature { display: flex; flex-direction: column; gap: var(--s-3); }
.feature-icon {
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem;
  border-radius: var(--r-md); background: var(--c-brand-tint);
  color: var(--c-brand);
}
.feature-img { display: block; width: 3rem; height: 3rem; }
.feature-img .icon { width: 100%; height: 100%; stroke-width: 1; }
.features-big {
  gap: 0; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
#prednosti { overflow-x: clip; }
.features-big { position: relative; }
.features-big::before, .features-big::after {
  content: ''; position: absolute; width: 50vw; height: 1px;
  background: var(--line-strong);
}
.features-big::before { top: -1px; right: 100%;
  transform-origin: right; }
.features-big::after { bottom: 0; left: 100%;
  transform-origin: left; }
.features-big.reveal::before, .features-big.reveal::after {
  transform: scaleX(0); }
.features-big.reveal.in::before, .features-big.reveal.in::after {
  transform: scaleX(1);
  transition: transform 1.4s cubic-bezier(.22,.7,.2,1); }
.features-big .feature {
  position: relative; gap: var(--s-4); padding: var(--s-7);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  transition: background-color .2s;
}
.features-big .feature::before {
  content: ''; position: absolute; left: -1px; top: -1px;
  width: 3rem; height: 3px; background: var(--c-brand);
  transition: width .25s;
}
.features-big .feature:hover { background: var(--c-brand); }
.features-big .feature:hover::before { width: 0; }
.features-big .feature h3, .features-big .feature p,
.features-big .feature-img { transition: color .2s, filter .2s; }
.features-big .feature:hover h3,
.features-big .feature:hover p { color: var(--white); }
.features-big .feature:hover .feature-img .icon {
  color: var(--white); }
.features-big .feature-img { margin-bottom: var(--s-2); }
.features-big .feature p { font-size: var(--fs-base); }
@media (max-width: 62rem) {
  .features-big { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 40rem) {
  .features-big { grid-template-columns: 1fr; }
  .features-big .feature { padding: var(--s-6); }
}
.feature h3 { font-size: var(--fs-h4); margin: 0; }
.feature p { margin: 0; color: var(--ink-3); font-size: var(--fs-base); }

/* ---------- Stats ---------- */
.stats { display: grid; gap: var(--s-6);
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.stat { padding-left: var(--s-4); border-left: 3px solid
  var(--blue-400); }
.stat strong { display: block; font: 800 var(--fs-h2)/1 var(--font-head);
  color: var(--white); }
.stat span { font-size: var(--fs-sm); color: var(--blue-200); }
.stats-count { grid-template-columns: repeat(4, 1fr); }
.stats-count .stat strong { font-size: clamp(2.6rem, 1rem + 5vw, 5rem);
  margin-bottom: var(--s-2); font-variant-numeric: tabular-nums; }
.stats-count .stat span { text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 600; }
@media (max-width: 52rem) {
  .stats-count { grid-template-columns: repeat(2, 1fr); }
}
.section:not(.section-dark) .stat strong { color: var(--c-brand); }
.section:not(.section-dark) .stat span { color: var(--ink-3); }

/* ---------- Spec table ---------- */
.table-wrap { overflow-x: auto; border: var(--border);
  border-radius: var(--r-md); }
.spec-table { width: 100%; border-collapse: collapse; font-size:
  var(--fs-sm); }
.spec-table caption { text-align: left; padding: var(--s-4) var(--s-5);
  font: 700 var(--fs-h4)/1.2 var(--font-head); }
.spec-table th, .spec-table td { padding: var(--s-3) var(--s-5);
  text-align: left; border-top: var(--border); vertical-align: top; }
.spec-table thead th { background: var(--surface);
  font: 700 var(--fs-xs)/1.2 var(--font-head);
  letter-spacing: 0.08em; text-transform: uppercase; color:
    var(--ink-3); }
.spec-table tbody th { font-weight: 600; width: 40%; }
.spec-table tbody tr:hover { background: var(--surface); }
.spec-table .num { font-variant-numeric: tabular-nums; font-weight: 600; }

/* ---------- Swatches ---------- */
.swatches { display: flex; flex-wrap: wrap; gap: var(--s-3);
  margin: 0; padding: 0; list-style: none; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; inset: 0; cursor:
  pointer; }
.swatch-chip {
  display: block; width: 3.5rem; height: 3.5rem;
  border-radius: var(--r-md); border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 0 3px var(--white);
  transition: transform var(--t-fast), outline-color var(--t-fast);
  outline: 2px solid transparent; outline-offset: 2px;
}
.swatch input:hover + .swatch-chip { transform: scale(1.06); }
.swatch input:checked + .swatch-chip { outline-color: var(--c-brand); }
.swatch input:focus-visible + .swatch-chip {
  outline: 3px solid var(--c-focus); }
.swatch-name { display: block; margin-top: var(--s-1);
  font-size: var(--fs-xs); text-align: center; color: var(--ink-3); }

/* ---------- Gallery (mosaic) ---------- */
.mosaic { display: grid; gap: var(--s-2); grid-auto-flow: dense;
  grid-template-columns: repeat(2, 1fr); grid-auto-rows: 7.5rem; }
.m-tile { position: relative; display: block; overflow: hidden;
  background: var(--surface); cursor: pointer; }
.m-tile img { display: block; width: 100%; height: 100%;
  object-fit: cover; transition: transform 1.2s var(--ease); }
.m-tile::after { content: ''; position: absolute; inset: 0;
  background: rgb(19 26 59 / .5); opacity: 0;
  transition: opacity .55s ease; }
.m-tile::before { content: ''; position: absolute; z-index: 1;
  left: 50%; top: 50%; width: 3rem; height: 3rem;
  margin: -1.5rem 0 0 -1.5rem;
  background:
    linear-gradient(#fff, #fff) center / 3rem 1px no-repeat,
    linear-gradient(#fff, #fff) center / 1px 3rem no-repeat;
  opacity: 0; transform: scale(.75);
  transition: opacity .55s ease, transform .7s var(--ease); }
@media (hover: hover) {
  .m-tile:hover img { transform: scale(1.05); }
  .m-tile:hover::after { opacity: 1; }
  .m-tile:hover::before { opacity: 1; transform: none; }
}
.m-tile:focus-visible::after { opacity: 1; }
.m-tile:focus-visible::before { opacity: 1; transform: none; }
.m-tile[hidden] { display: none; }
.gal-more { display: flex; justify-content: center;
  margin-top: var(--s-8); }
.gal-more[hidden] { display: none; }
.m-tall { grid-row: span 2; }
.m-feat { grid-column: span 2; grid-row: span 2; }
@media (min-width: 40rem) {
  .mosaic { grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 10rem; }
}
@media (min-width: 62rem) {
  .mosaic { grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 12rem; }
}


/* ---------- Partner logos ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: var(--s-6) var(--s-8);
  margin: 0; padding: 0; list-style: none; }
.logos img { height: 3.25rem; width: auto; filter: grayscale(1);
  opacity: 0.65; transition: opacity var(--t-base), filter
    var(--t-base); }
.logos img:hover { filter: none; opacity: 1; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--c-brand); color: var(--white);
  padding-block: var(--s-8); }
.cta-band .container { display: flex; flex-wrap: wrap; gap: var(--s-5)
  var(--s-7);
  align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: var(--fs-h3); margin: 0 0 var(--s-2); color:
  var(--white); }
.cta-band p { margin: 0; color: var(--blue-100); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s-5); }
.form-row { display: grid; gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field label, .field legend { font: 600 var(--fs-sm)/1.2
  var(--font-body); }
.field .req { color: var(--err); }
.input, .select, .textarea {
  width: 100%; min-height: 3rem; padding: var(--s-3) var(--s-4);
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  font: inherit; transition: border-color var(--t-fast), box-shadow
    var(--t-fast);
}
.textarea { min-height: 8rem; resize: vertical; }
.form-sq .input, .form-sq .textarea { border-radius: 0; }
/* underline-only fields */
.form-sq .input, .form-sq .textarea {
  background: transparent; padding-inline: 0;
  border-width: 0 0 1px; border-color: var(--line-strong);
  min-height: 2.75rem; box-shadow: none; }
.form-sq .textarea { min-height: 6rem; }
.form-sq .input:hover, .form-sq .textarea:hover {
  border-color: var(--ink-3); }
.form-sq .input:focus, .form-sq .textarea:focus {
  border-color: var(--c-brand); box-shadow: 0 1px 0 0 var(--c-brand); }
.form-sq .field { gap: 0; }
.form-sq .input::placeholder, .form-sq .textarea::placeholder {
  color: var(--ink-3); opacity: 1; }
.form-sq .form-row { gap: var(--s-6); }
.form-sq { gap: var(--s-6); }
.input::placeholder, .textarea::placeholder { color: var(--ink-3);
  opacity: 0.7; }
.input:hover, .select:hover, .textarea:hover { border-color:
  var(--blue-300); }
.input:focus, .select:focus, .textarea:focus {
  outline: 0; border-color: var(--c-brand);
  box-shadow: 0 0 0 3px var(--blue-100); }
.field.is-error .input,
.field.is-error .textarea { border-color: var(--err); }
.check.is-error .hint { flex-basis: 100%; }
.field.is-error .hint, .check.is-error .hint {
  position: relative; margin: var(--s-2) 0 0; padding: var(--s-2) var(--s-4);
  background: var(--white); color: var(--ink); font-size: var(--fs-sm);
  border-left: 3px solid var(--err);
  box-shadow: 0 1px 2px rgb(22 26 58 / .06),
    0 8px 20px -6px rgb(22 26 58 / .2);
  animation: hint-in .18s ease-out; }
.field.is-error .hint::before {
  content: ""; position: absolute; top: -5px; left: var(--s-5);
  width: 10px; height: 10px; background: var(--white);
  transform: rotate(45deg); box-shadow: -2px -2px 3px -1px rgb(22 26 58 / .08); }
@keyframes hint-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  .field.is-error .hint, .check.is-error .hint { animation: none; } }
.hint { font-size: var(--fs-xs); color: var(--ink-3); }
.check { display: flex; gap: var(--s-3); align-items: flex-start;
  flex-wrap: wrap;
  font-size: var(--fs-sm); }
.check input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem;
  accent-color: var(--c-brand); }
.alert { display: flex; gap: var(--s-3); padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md); font-size: var(--fs-sm); }
.alert-ok { background: var(--ok-bg); color: var(--ok); }
.form.is-sent > :not(.form-done) { display: none; }
.form-done[hidden] { display: none; }
.form-done { display: grid; justify-items: start; gap: var(--s-4);
  padding: var(--s-7) 0; border-top: 2px solid #2e9e68;
  animation: hint-in .35s ease-out; }
.form-done:focus { outline: 0; }
.form-done-ico { display: block; color: #2e9e68; }
.form-done .form-done-ico .icon { width: 4.5rem; height: 4.5rem;
  color: #2e9e68; stroke-width: 1; }
.form-done h3 { margin: var(--s-2) 0 0; }
.form-done p { margin: 0; color: var(--ink-2); max-width: 28rem; }

.alert-err { background: var(--err-bg); color: var(--err); }

/* ---------- Accordion ---------- */
.accordion { border-top: var(--border); }
.accordion details { border-bottom: var(--border); }
.accordion summary {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s-4); padding: var(--s-5) 0; cursor: pointer;
  font: 700 var(--fs-lg)/1.3 var(--font-head); list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform var(--t-base)
  var(--ease);
  color: var(--c-brand); }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion .answer { padding: 0 0 var(--s-5); max-width: 42rem;
  color: var(--ink-3); }

/* ---------- Contact card ---------- */
.contact-card { padding: var(--s-6); background: var(--surface);
  border-radius: var(--r-md); border-left: 4px solid var(--c-brand); }
.contact-card h3 { font-size: var(--fs-h4); }
.contact-list { margin: 0; padding: 0; list-style: none; display: grid;
  gap: var(--s-3); }
.contact-list li { display: flex; gap: var(--s-3); align-items:
  flex-start; }
.contact-list .icon { color: var(--c-brand); margin-top: 0.1rem; }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { color: var(--c-brand); }

/* ---------- Footer ---------- */
.footer { background: var(--blue-900); color: var(--blue-100);
  padding-top: var(--s-9); font-size: var(--fs-sm); }
.footer a { color: var(--blue-100); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s-7);
  grid-template-columns: repeat(4, 1fr); }
@media (max-width: 62rem) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 36rem) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer h3 { font-size: 14px; letter-spacing: 0; font-stretch: 100%;
  line-height: var(--lh-snug); text-transform: uppercase;
  color: var(--white); margin-bottom: var(--s-4); }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid;
  gap: var(--s-2); }
.footer .brand img { height: 3.25rem; margin-bottom: var(--s-4); }
.footer-bottom { margin-top: var(--s-8); padding-block: var(--s-5);
  border-top: 1px solid rgb(221 226 243 / .25); font-size: var(--fs-xs);
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6);
  justify-content: space-between; }

/* ---------- Compact hero (inner pages) ---------- */
.hero-sm { min-height: clamp(18rem, 34vw, 26rem); }
.hero-sm .container { padding-block: var(--s-8) var(--s-7); }
.hero-sm h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 4.25rem);
  margin-bottom: var(--s-3); }
.hero .breadcrumb { color: var(--blue-100); margin-bottom: var(--s-5); }
.hero .breadcrumb a { color: var(--white); }
.hero .breadcrumb li + li::before { color: var(--blue-300); }

/* ---------- Image + text blocks ---------- */
.media-split {
  display: grid; gap: var(--s-7); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}
.media-split + .media-split { position: relative;
  margin-top: calc(var(--s-9) + var(--s-7)); }
.media-split + .media-split::before {
  content: ""; position: absolute; left: 0; right: 0; height: 3px;
  top: calc((var(--s-9) + var(--s-7)) / -2 - 1px);
  background:
    linear-gradient(#2e3d88, #2e3d88) center / 4rem 3px no-repeat,
    linear-gradient(var(--line), var(--line)) center / 100% 1px
      no-repeat;
}
.media-split.reverse > :first-child { order: 2; }
@media (max-width: 52rem) {
  .media-split.reverse > :first-child { order: 0; }
}
.media-split img { width: 100%; border-radius: var(--r-sm); }
.media-split .plain-img { background: var(--white); border: var(--border);
  padding: var(--s-5); }
.media-split h2, .media-split h3 { margin-bottom: var(--s-4); }
.media-split p { color: var(--ink-3); }
.ticks { margin: 0 0 var(--s-5); padding: 0; list-style: none;
  display: grid; gap: var(--s-2); }
.ticks li { display: flex; gap: var(--s-3); align-items: flex-start; }
.ticks .icon { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem;
  color: var(--c-brand); }

/* ---------- Misc inner-page bits ---------- */
.card-media.contain { background: var(--white); }
.card-media.tint { background: var(--surface-2); }
.plain-img.tint { background: var(--surface-2); border: 0; padding: 0; }
.card-media.tint img { object-fit: contain; padding: var(--s-4); }
.card-media img { aspect-ratio: auto; }
.brand-mark { display: block; height: 2.25rem; width: auto;
  margin-bottom: var(--s-5); }
.nav-cta { display: none; }
@media (max-width: 62rem) {
  .nav-cta { display: block; padding-top: var(--s-4); }
  .nav-cta .btn { width: 100%; }
}
.legal { max-width: var(--container-narrow); }
.legal h2 { font-size: var(--fs-h4); text-transform: none;
  font-stretch: 100%; line-height: 1.3;
  margin: var(--s-7) 0 var(--s-3); }
.legal p { color: var(--ink-2); }
.map { width: 100%; height: 26rem; border: 0; background: var(--surface);
  border-radius: var(--r-sm); }
.form-status { margin-top: var(--s-4); }
.form-status[hidden] { display: none; }
.hp { position: absolute; left: -9999px; }

/* ---------- Lightbox ---------- */
.lightbox { padding: 0; border: 0; background: transparent;
  max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgb(19 26 59 / 0.92); }
.lightbox-inner { position: relative; width: 100%; height: 100%;
  display: grid; place-items: center; padding: var(--s-7) var(--s-4); }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; width: 3rem; height: 3rem;
  display: grid; place-items: center; background: transparent;
  border: 1px solid var(--blue-300); color: var(--white);
  cursor: pointer; }
.lightbox button:hover {
  background: var(--white); color: var(--c-brand); }
.lightbox .lb-close { top: var(--s-4); right: var(--s-4); }
.lightbox .lb-prev { left: var(--s-4); top: 50%; }
.lightbox .lb-next { right: var(--s-4); top: 50%; }
.lightbox .lb-prev .icon { transform: rotate(180deg); }

/* ---------- Expertise (Oaks-style numbered blocks) ---------- */
.expertise-intro { padding-block: var(--s-8) var(--s-7); }
.expertise-intro .breadcrumb { margin-bottom: var(--s-7); }
.expertise-intro h1 {
  font-size: clamp(3rem, 1.5rem + 7vw, 7.5rem);
  line-height: 0.95; margin-bottom: var(--s-6);
}
.expertise-intro p { max-width: 38rem; color: var(--ink-3); }
.expertise-intro p strong { color: var(--ink); }
.expertise { position: relative; --exp-num: var(--blue-200); }
.expertise::before, .expertise::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px;
  background: var(--line); pointer-events: none;
}
.expertise-nolines::before, .expertise-nolines::after {
  content: none;
}
.expertise::before { left: 33.333%; }
.expertise::after { left: 66.666%; }
.exp-item {
  position: relative; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--s-8); padding-block: var(--s-8);
  counter-increment: n;
}
.expertise { counter-reset: n; }
.exp-item:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}
.exp-item:nth-child(even) .exp-media { order: 2; }
.exp-media {
  display: grid; align-items: start; gap: var(--s-3);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.exp-media img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--r-sm); background: var(--surface);
}
.exp-media img:nth-child(2) {
  aspect-ratio: 3 / 3.5; margin-top: var(--s-4);
}
.exp-text {
  --num: clamp(5rem, 3.5rem + 7vw, 9rem);
  position: relative; padding-top: calc(var(--num) * 0.5);
  background: var(--white);
}
.exp-text::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; z-index: 0; left: -0.06em; top: 0;
  font: 800 var(--num)/1 var(--font-head);
  font-stretch: 112%; color: var(--exp-num);
}
.exp-text > * { position: relative; z-index: 1; }
.exp-text h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem);
  line-height: 1.05; margin-bottom: var(--s-4);
  display: flex; flex-direction: column-reverse;
}
.exp-text h2 small {
  display: block; margin: var(--s-2) 0 0; font: 700 var(--fs-xs)/1 var(--font-head);
  letter-spacing: 0.22em; color: var(--ink-3);
}
.exp-text p { color: var(--ink-3); margin-bottom: var(--s-5); }
.sec-flush { padding-bottom: 0; }
.sec-flush + .section:not(.sec-flush) { padding-top: var(--s-8); }
@media (max-width: 52rem) {
  .expertise::before, .expertise::after { display: none; }
  .exp-item, .exp-item:nth-child(even) {
    grid-template-columns: minmax(0, 1fr); gap: var(--s-6);
    padding-block: var(--s-7);
  }
  .expertise-intro h1 { font-size: clamp(2rem, 10.5vw, 4rem); }
  .exp-item:nth-child(even) .exp-media { order: 0; }
}

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important;
    animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- CNC section ---------- */
#cnc .lead, #cnc .cnc-body > p { color: var(--blue-100); }
.cnc { display: grid; gap: var(--s-8); align-items: stretch;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cnc-photo { position: relative; margin: 0; }
.cnc-photo::before {
  content: ''; position: absolute; z-index: 0;
  inset: var(--s-5) calc(-1 * var(--s-5)) calc(-1 * var(--s-5))
    var(--s-5);
  border: 1px solid var(--blue-400);
}
.cnc-photo img { position: relative; z-index: 1; width: 100%;
  height: 100%; object-fit: cover; border-radius: var(--r-sm); }
.cnc-photo figcaption {
  position: absolute; z-index: 2; left: 0; bottom: var(--s-6);
  display: flex; gap: var(--s-3); align-items: center;
  padding: var(--s-3) var(--s-5); background: var(--white);
  color: var(--ink-3); font-size: var(--fs-sm);
}
.cnc-photo figcaption strong { font: 800 var(--fs-h4)/1
  var(--font-head); color: var(--c-brand); }
.cnc-body { display: flex; flex-direction: column;
  justify-content: space-between; gap: var(--s-6); }
.cnc-body > p { margin: 0; }
.ops { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgb(255 255 255 / .2);
  border-left: 1px solid rgb(255 255 255 / .2); }
.ops li {
  position: relative; display: flex; flex-direction: column;
  gap: var(--s-3); padding: var(--s-5) var(--s-5) var(--s-6);
  border-right: 1px solid rgb(255 255 255 / .2);
  border-bottom: 1px solid rgb(255 255 255 / .2);
  color: var(--white);
}
.ops .icon { width: 2rem; height: 2rem; stroke-width: 1; }
.ops strong { font: 700 var(--fs-lg)/1.2 var(--font-head);
  text-transform: uppercase; }
@media (max-width: 62rem) {
  .cnc { grid-template-columns: 1fr; }
  .cnc-photo { margin-right: var(--s-5); }
  .cnc-photo img { height: auto; }
}

/* ---------- Capacity strips ---------- */
.strips { display: flex; height: 36rem; gap: var(--s-2); }
.strip { position: relative; flex: 1 1 0; overflow: hidden; outline: 0;
  transition: flex-grow .6s cubic-bezier(.2,.7,.2,1); }
.strip img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; }
.strip::before { content: ''; position: absolute; inset: 0;
  z-index: 1; background: rgb(19 26 59 / .62);
  transition: background-color .4s; }
.strips .strip:first-child { flex-grow: 4; }
.strips:hover .strip:first-child:not(:hover) { flex-grow: 1; }
.strip:hover, .strip:focus { flex-grow: 4 !important; }
.strip:hover::before, .strip:focus::before {
  background: rgb(19 26 59 / .78); }
.strip-n { position: absolute; z-index: 2; top: var(--s-5);
  left: var(--s-5); color: var(--white);
  font: 800 var(--fs-h3)/1 var(--font-head); }
.strip-v { position: absolute; z-index: 2; bottom: var(--s-5);
  left: var(--s-5); writing-mode: vertical-rl;
  transform: rotate(180deg); color: var(--white);
  font: 800 var(--fs-base)/1 var(--font-head); text-transform: uppercase;
  white-space: nowrap; transition: opacity .3s; }
.strip-open { position: absolute; z-index: 2; left: var(--s-7);
  right: var(--s-7); bottom: var(--s-7); max-width: 34rem;
  opacity: 0; transform: translateY(1rem); pointer-events: none;
  transition: opacity .4s, transform .4s; color: var(--blue-100); }
.strip-open h2 { color: var(--white); font-size: var(--fs-h3);
  margin-bottom: var(--s-4); }
.strip-open p { margin: 0; }
.strip-open p + p { margin-top: var(--s-3); }
.strip:hover .strip-open, .strip:focus .strip-open,
.strips:not(:hover):not(:focus-within) .strip:first-child .strip-open {
  opacity: 1; transform: none; transition-delay: .25s; }
.strip:hover .strip-v, .strip:focus .strip-v,
.strips:not(:hover):not(:focus-within) .strip:first-child .strip-v {
  opacity: 0; }
@media (max-width: 62rem) {
  .strips { flex-direction: column; height: auto; }
  .strip, .strips .strip:first-child { flex: none; min-height: 22rem; }
  .strip-v { display: none; }
  .strip-open { opacity: 1; transform: none; left: var(--s-5);
    right: var(--s-5); bottom: var(--s-5); }
}

/* ---------- Counters (photo + panel) ---------- */
.cs strong { font-family: var(--font-head); font-weight: 800;
  font-variant-numeric: tabular-nums; }
.cs { display: grid; grid-template-columns: 1fr 1fr; }
.cs-photo { position: relative; min-height: 30rem; }
.cs-photo img { position: absolute; inset: 0; width: 100%;
  height: 100%; object-fit: cover; }
.cs-panel { background: var(--blue-50); display: flex;
  align-items: center;
  padding: var(--s-8) var(--gutter) var(--s-8) calc(var(--s-9) * 1.25); }
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; width: 100%;
  max-width: 40rem; }
.cs-cell { padding: var(--s-7) var(--s-6);
  border: 0 solid var(--line-strong); border-bottom-width: 1px; }
.cs-cell:nth-child(odd) { border-right-width: 1px; padding-left: 0; }
.cs-cell:nth-child(even) { padding-right: 0; }
.cs-cell:nth-child(n+3) { border-bottom-width: 0; }
.cs-cell strong { display: block; color: var(--blue-800);
  font-size: clamp(2.8rem, 1rem + 4vw, 5rem); line-height: 1;
  margin-bottom: var(--s-3); }
.cs-cell span { color: var(--ink);
  font: 700 var(--fs-sm)/1.3 var(--font-head); letter-spacing: .06em;
  text-transform: uppercase; }
@media (max-width: 52rem) {
  .cs-panel { padding: var(--s-8) var(--gutter); }
  .cs { grid-template-columns: 1fr; }
  .cs-photo { min-height: 16rem; }
}

/* ---------- Scrolled (dark) header ---------- */
.site-head .topbar, .site-head .header {
  transition: background-color .3s, color .3s; }
.site-head.is-scrolled .topbar { background: var(--blue-900);
  color: var(--blue-100); }
.site-head.is-scrolled .topbar a:hover { color: var(--white); }
.site-head.is-scrolled .header { background: #2e3d88;
  backdrop-filter: none; }
.site-head.is-scrolled .logo-blue { display: none; }
.site-head.is-scrolled .logo-white { display: block; }
.site-head.is-scrolled .nav-link { color: var(--white); }
.site-head.is-scrolled .nav-link[aria-current="page"] {
  color: var(--blue-300); }
.site-head.is-scrolled .nav-link:hover,
.site-head.is-scrolled .nav-item:hover > .nav-link,
.site-head.is-scrolled .nav-item:focus-within > .nav-link {
  background: var(--white); color: var(--blue-800); }
.site-head.is-scrolled .nav-toggle { color: var(--white);
  border-color: rgb(255 255 255 / .3); }
@media (max-width: 62rem) {
  .site-head.is-scrolled .nav { background: #2e3d88; }
  .site-head.is-scrolled .nav-link { border-color: rgb(255 255 255 / .14); }
  .site-head.is-scrolled .nav-link:hover,
  .site-head.is-scrolled .nav-item:focus-within > .nav-link {
    background: none; color: var(--blue-200); }
}

/* ---------- Anchor nav (usluge) ---------- */
.anchor-nav { border-bottom: 1px solid #dcdcdc; background: var(--white); }
.anchor-nav .container { display: flex; flex-wrap: wrap; }
.anchor-nav a { display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-5) var(--s-6); color: var(--ink);
  font: 700 var(--fs-sm)/1 var(--font-head); letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none;
  border-left: 1px solid #dcdcdc;
  transition: background-color .2s, color .2s; }
.anchor-nav a:last-child { border-right: 1px solid #dcdcdc; }
.anchor-nav a span { opacity: .5; }
.anchor-nav a:hover { background: var(--c-brand); color: var(--white); }
section[id] { scroll-margin-top: 8rem; }
@media (max-width: 40rem) {
  .anchor-nav a { flex: 1; justify-content: center;
    padding-inline: var(--s-3); }
  .anchor-nav a span { display: none; }
}

/* ---------- Sliced photo + window drawing ---------- */
.exp-slice { gap: var(--s-3); }
.exp-slice i {
  display: block; aspect-ratio: 1 / 1.9; border-radius: var(--r-sm);
  background: var(--surface) url("../img/photos/galerija-12-1280.webp")
    no-repeat; background-size: 300% auto;
}
.exp-slice i {
  box-shadow: 0 1px 2px rgb(22 26 58 / .06),
    0 8px 18px -6px rgb(22 26 58 / .16),
    0 22px 40px -16px rgb(22 26 58 / .22);
}
.exp-slice i:nth-child(1) { background-position: 0% 50%; }
.exp-slice i:nth-child(2) { background-position: 50% 50%;
  margin-top: var(--s-6); }
.exp-slice i:nth-child(3) { background-position: 100% 50%; }
.exp-slice-vrata i {
  background-image: url("../img/photos/vrata-kuca-950.webp");
}
.exp-slice-vrata i:nth-child(odd) { margin-top: var(--s-6); }
.exp-slice-vrata i:nth-child(2) { margin-top: 0; }
.exp-slice-roletne i {
  background-image: url("../img/photos/roletne-1179.webp");
}
.exp-slice-komarnik i {
  background-image: url("../img/photos/komarnik-1200.webp");
}
.exp-illu { grid-template-columns: 1fr; }
.exp-illu img {
  aspect-ratio: 4 / 3; margin-top: 0; object-fit: cover;
  border-radius: var(--r-sm);
}
.exp-item-svg .exp-text::before { content: none; }
.exp-item-svg .exp-text { padding-top: 0; }
.exp-house { display: block; width: clamp(12rem, 8rem + 12vw, 19rem);
  mix-blend-mode: multiply;
  height: auto; margin: -2rem 0 -0.5rem -2.5rem; }
.exp-svg { display: block; width: clamp(5rem, 3.5rem + 7vw, 9rem);
  height: auto; margin: 0 0 var(--s-5) -0.4rem; color: var(--exp-num); }

/* ---------- Product page ---------- */
.prod-hero { position: relative; overflow: hidden; background: var(--white); }
.prod-hero-panel { position: absolute; top: 0; right: 0; bottom: 0;
  width: 46%; background: var(--blue-50); }
.prod-hero-grid { position: relative; display: grid; align-items: center;
  gap: var(--s-8); grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  padding-block: var(--s-8); }
.prod-hero .breadcrumb { margin-bottom: var(--s-6); }
.prod-hero h1 { color: var(--blue-800); margin-bottom: var(--s-5);
  font-size: clamp(2rem, 1rem + 3.4vw, 3.75rem); }
.prod-hero .lead { color: var(--ink-2); }
.prod-hero-text p { color: var(--ink-3); }
.prod-hero-text p.lead { color: var(--ink-2); }
.prod-hero .hero-actions { display: flex; flex-wrap: wrap;
  align-items: center; gap: var(--s-4) var(--s-7);
  margin-top: var(--s-6); }
.prod-hero-img { display: flex; justify-content: center; }
.prod-hero-img img { width: auto; max-width: 100%; height: auto;
  max-height: 36rem; mix-blend-mode: multiply; }
@media (max-width: 62rem) {
  .prod-hero-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .prod-hero-panel { width: 100%; top: 50%; }
}
.kf-grid { display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #dcdcdc; border-bottom: 1px solid #dcdcdc; }
.kf { padding: var(--s-7) var(--s-6); border-left: 1px solid #dcdcdc; }
.kf:first-child { border-left: 0; padding-left: 0; }
.kf strong { display: block; white-space: nowrap;
  font: 800 clamp(2.2rem, 1rem + 3vw, 3.75rem)/1 var(--font-head); color: var(--blue-800); margin-bottom: var(--s-3); }
.kf strong small { font-size: .3em; margin-left: .35em; color: var(--c-brand);
  letter-spacing: .04em; }
.kf span { font: 700 var(--fs-sm)/1.3 var(--font-head); color: var(--ink);
  letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 52rem) {
  .kf-grid { grid-template-columns: repeat(2, 1fr); }
  .kf:nth-child(3) { border-left: 0; padding-left: 0; }
  .kf:nth-child(n+3) { border-top: 1px solid #dcdcdc; }
}
.spec-cols { display: grid; gap: var(--s-8); align-items: start;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.meters { display: grid; gap: var(--s-6); padding: var(--s-6);
  background: var(--white); border: var(--border); }
.meter-head { display: flex; justify-content: space-between;
  align-items: baseline; margin-bottom: var(--s-3); }
.meter-head span { font: 700 var(--fs-sm)/1.2 var(--font-head);
  letter-spacing: .08em; text-transform: uppercase; }
.meter-head strong { font: 800 var(--fs-h3)/1 var(--font-head);
  color: var(--c-brand); }
.meter-bar { display: grid; grid-template-columns: repeat(10, 1fr);
  gap: 4px; }
.meter-bar i { height: .75rem; background: var(--blue-100); }
.meter-bar i.on { background: var(--c-brand); }
@media (max-width: 62rem) { .spec-cols { grid-template-columns: 1fr; } }
.other-sys { display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #dcdcdc; border-left: 1px solid #dcdcdc; }
.other-sys a { display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-6); color: var(--ink); text-decoration: none;
  border-right: 1px solid #dcdcdc; border-bottom: 1px solid #dcdcdc;
  transition: background-color .2s, color .2s; }
.other-sys span { font: 700 var(--fs-xs)/1 var(--font-head);
  letter-spacing: .12em; text-transform: uppercase; opacity: .6;
  width: 7rem; }
.other-sys strong { font: 800 var(--fs-h3)/1.1 var(--font-head);
  text-transform: uppercase; }
.other-sys .icon { margin-left: auto; width: 1.5rem; height: 1.5rem; }
.other-sys a:hover { background: var(--c-brand); color: var(--white); }
@media (max-width: 40rem) { .other-sys { grid-template-columns: 1fr; } }

/* ---------- Door page ---------- */
.door-hero .prod-hero-grid { align-items: end; padding-bottom: 0; }
.door-hero .prod-hero-text { padding-bottom: var(--s-8); align-self: center; }
.door-trio { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3); align-items: end; padding-top: var(--s-8); }
.door-trio img { width: 100%; height: auto; mix-blend-mode: multiply; }
.door-trio img:nth-child(2) { margin-bottom: calc(-1 * var(--s-5)); }
@media (max-width: 62rem) {
  .door-hero .prod-hero-text { padding-bottom: var(--s-6); }
  .door-trio { padding-top: var(--s-6); max-width: 28rem; margin-inline: auto; }
}
.sw-legend { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6);
  list-style: none; margin: var(--s-5) 0 0; padding: 0;
  font: 700 var(--fs-sm)/1 var(--font-head); letter-spacing: .06em;
  text-transform: uppercase; }
.sw-legend li { display: flex; align-items: center; gap: var(--s-2); }
.sw-w, .sw-a, .sw-b { display: inline-block; width: 1.1rem; height: 1.1rem;
  border-radius: 50%; border: 1px solid #b9b9b9; }
.sw-w { background: #fff; }
.sw-a { background: #3f4349; border-color: #3f4349; }
.sw-b { background: #6f4a2e; border-color: #6f4a2e; }
.door-meta { display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-4) var(--s-5); border-top: 1px solid #dcdcdc; }
.door-meta strong { font: 800 var(--fs-h4)/1 var(--font-head); }
.swatches { display: flex; gap: var(--s-2); }
.swatches i { display: block; width: 1.1rem; height: 1.1rem;
  border-radius: 50%; border: 1px solid #b9b9b9; }
.swatches .sw-w { background: #fff; }
.swatches .sw-a { background: #3f4349; border-color: #3f4349; }
.swatches .sw-b { background: #6f4a2e; border-color: #6f4a2e; }
@media (max-width: 62rem) {
  .door-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .door-grid { grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-4); }
  .door-meta { padding: var(--s-3) var(--s-4); }
}
.door-card > a { aspect-ratio: 5 / 7.2; }
.door-card > a img { height: 100%; object-fit: cover; object-position: top; }

/* ---------- Door models carousel ---------- */
.door-meta { border-top: 0; }
.car-head { display: flex; align-items: end; justify-content: space-between;
  gap: var(--s-6); margin-bottom: var(--s-4); }
.car-head h2 { margin-bottom: var(--s-4); }
.car-head .lead { max-width: 34rem; margin: 0; }
.car-btns { display: flex; gap: var(--s-3); flex: none; }
.car-btn { display: grid; place-items: center; width: 3.5rem; height: 3.5rem;
  background: var(--white); border: 0; border-radius: 50%;
  box-shadow: 0 6px 18px -6px rgb(19 26 59 / .35); cursor: pointer;
  color: var(--ink); transition: background-color .2s, color .2s,
  transform .2s, box-shadow .2s; }
.car-btn:hover { background: var(--c-brand); color: var(--white);
  transform: translateY(-2px); }
.car-btn[data-car="-1"] .icon { transform: rotate(180deg); }
.car-track { display: flex; gap: var(--s-6); overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-block: var(--s-6) var(--s-8);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.car-track::-webkit-scrollbar { display: none; }
.car-item { flex: none; width: clamp(15rem, 24vw, 21rem);
  scroll-snap-align: start; background: var(--white);
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: 0 12px 30px -14px rgb(19 26 59 / .32);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.car-item:hover { transform: translateY(-6px);
  box-shadow: 0 22px 40px -16px rgb(19 26 59 / .42); }
.car-photo { display: block; aspect-ratio: 5 / 7.2; overflow: hidden; }
.car-photo img { width: 100%; height: 100%; object-fit: cover;
  object-position: top; display: block;
  transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.car-item:hover .car-photo img { transform: scale(1.04); }
@media (max-width: 40rem) {
  .car-head { align-items: start; flex-direction: column; }
}

/* ---------- Brochure content ---------- */
.sub-h { font-size: var(--fs-h4); margin: var(--s-7) 0 var(--s-5); }
.sys-grid { display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #dcdcdc; border-left: 1px solid #dcdcdc; }
.sys { display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-6); border-right: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc; scroll-margin-top: 9rem; }
.sys-brand { font: 700 var(--fs-xs)/1 var(--font-head);
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.sys h3 { margin: 0; font-size: var(--fs-h3); }
.sys-fig { display: flex; align-items: baseline; gap: var(--s-3);
  margin-top: var(--s-4); }
.sys-fig strong { font: 800 clamp(3.5rem, 1rem + 4.5vw, 5.5rem)/1
  var(--font-head); color: var(--blue-800); }
.sys-fig span { font: 700 var(--fs-sm)/1 var(--font-head);
  letter-spacing: .1em; text-transform: uppercase; }
.sys-ruler { display: block; height: 1rem; margin-top: auto;
  width: calc(var(--mm) * 0.12rem); max-width: 100%; }
.sys-w { margin: 0 0 var(--s-3); font: 800 var(--fs-h4)/1
  var(--font-head); color: var(--c-brand); }
@media (max-width: 62rem) { .sys-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 40rem) { .sys-grid { grid-template-columns: 1fr; } }

.schemes { display: flex; flex-wrap: wrap; gap: var(--s-6) var(--s-7);
  align-items: flex-end; }
.scheme { margin: 0; }
.scheme img { display: block; height: 9rem; width: auto; max-width: 100%; }
.scheme figcaption { margin-top: var(--s-4); text-align: center;
  font: 700 var(--fs-xs)/1 var(--font-head); letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 40rem) { .scheme img { height: 6.5rem; } }

.glaz { display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6); }
.glaz-item { padding: var(--s-6); background: var(--white);
  border-radius: var(--r-md);
  box-shadow: 0 10px 26px -14px rgb(19 26 59 / .3); }
.glaz-item span { display: block; font: 700 var(--fs-xs)/1 var(--font-head);
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: var(--s-3); }
.glaz-item strong { display: block; font: 800 clamp(2rem, 1rem + 3vw, 3.5rem)/1
  var(--font-head); color: var(--blue-800); }
.glaz-item small { display: block; margin-top: var(--s-3);
  font-size: var(--fs-base); color: var(--ink-3); }
@media (max-width: 40rem) { .glaz { grid-template-columns: 1fr; } }

.bars { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
.bars li { display: flex; flex-direction: column; gap: var(--s-4); }
.bars .bar-img, .bars img { width: 100%; height: 12rem; object-fit: cover;
  border-radius: var(--r-md); background: var(--white);
  box-shadow: 0 10px 26px -14px rgb(19 26 59 / .3); }
.bars strong { font: 700 var(--fs-sm)/1.2 var(--font-head);
  letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 62rem) { .bars { grid-template-columns: repeat(2, 1fr); } }

.std-col { list-style: none; margin: 0; padding: 0; display: flex;
  flex-wrap: wrap; gap: var(--s-6); }
.std-col li { display: flex; flex-direction: column; align-items: center;
  gap: var(--s-3); }
.std-col img { width: 4.5rem; height: 4.5rem; object-fit: cover;
  border-radius: 50%; box-shadow: 0 6px 16px -6px rgb(19 26 59 / .45);
  background: var(--white); }
.std-col span { font: 700 var(--fs-xs)/1 var(--font-head);
  letter-spacing: .12em; text-transform: uppercase; }
.note { font: 700 var(--fs-sm)/1.4 var(--font-head); letter-spacing: .04em;
  color: var(--c-brand) !important; }
.other-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 62rem) { .other-3 { grid-template-columns: 1fr; } }

.sec-split p + p { margin-top: var(--s-4); }

/* ---------- Colour picker ---------- */
.paint { display: grid; gap: var(--s-8); align-items: start;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.paint-stage { position: sticky; top: 9rem; display: flex;
  flex-direction: column; align-items: center; gap: var(--s-5);
  padding: var(--s-7) var(--s-6) var(--s-6); background: var(--white);
  border-radius: var(--r-md);
  box-shadow: 0 16px 36px -18px rgb(19 26 59 / .35); }
.paint-win { width: min(100%, 17rem); height: auto; --frame: #ffffff; }
.paint-win .pw-frame { fill: var(--frame); stroke: rgb(0 0 0 / .28);
  stroke-width: 1.5; transition: fill .25s; }
.paint-win .pw-glass { fill: #cfe3f1; stroke: rgb(0 0 0 / .3); stroke-width: 1.5; }
.paint-win .pw-shine { fill: rgb(255 255 255 / .55); }
.paint-win .pw-handle { fill: #9aa0a6; stroke: rgb(0 0 0 / .25); stroke-width: 1; }
.paint-win .pw-sill { fill: #d7dadf; }
.paint-win .pw-lines { stroke: rgb(0 0 0 / .22); stroke-width: 1.5; fill: none; }
.paint-cap { text-align: center; }
.paint-name { display: block; font: 800 var(--fs-h3)/1.1 var(--font-head);
  text-transform: uppercase; color: var(--blue-800); }
.paint-note { display: block; margin-top: var(--s-2);
  font-size: var(--fs-sm); color: var(--ink-3); }
.pk-row { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.pk { cursor: pointer; border: 0; padding: 0; transition: transform .2s,
  box-shadow .2s; }
.pk-std { position: relative; width: 4.5rem; height: 4.5rem;
  border-radius: 50%; background-color: var(--white);
  box-shadow: 0 6px 16px -6px rgb(19 26 59 / .45); }
.pk-std span { position: absolute; top: calc(100% + .6rem); left: 50%;
  transform: translateX(-50%); white-space: nowrap;
  font: 700 var(--fs-xs)/1 var(--font-head); letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink); }
.pk-row { padding-bottom: var(--s-6); }
.pk-grid { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.pk-tile { width: 3.1rem; height: 3.1rem; border-radius: var(--r-sm);
  background: var(--c); box-shadow: 0 4px 10px -4px rgb(19 26 59 / .4); }
.pk-tile.pk-w { box-shadow: inset 0 0 0 1px #cfd2d8,
  0 4px 10px -4px rgb(19 26 59 / .3); }
.pk:hover { transform: scale(1.06); }
.pk.is-active { box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--c-brand); }
.pk:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 4px; }
.pk-tag { margin: var(--s-5) 0 var(--s-3); font-size: var(--fs-sm);
  color: var(--ink-3); }
@media (max-width: 62rem) {
  .paint { grid-template-columns: 1fr; }
  .paint-stage { position: static; }
}

.izv { display: grid; gap: var(--s-7); }
.izv-brand { margin-bottom: var(--s-5); }
.izv-brand .brand-mark { margin: 0; }
.izv { gap: var(--s-8); }

/* ---------- Large spec table (single product) ---------- */
.spec-lg { border: 0; border-radius: 0; overflow: visible; }
.spec-lg .spec-table { font-size: 18px; }
.spec-lg .spec-table th, .spec-lg .spec-table td {
  padding: var(--s-5) 0; border-top: 0;
  border-bottom: 1px solid #dcdcdc; line-height: 1.4; }
.spec-lg .spec-table tr:first-child th,
.spec-lg .spec-table tr:first-child td { border-top: 2px solid var(--ink); }
.spec-lg .spec-table tbody th { width: 34%; padding-right: var(--s-6);
  font: 400 18px/1.4 var(--font-body); letter-spacing: 0;
  text-transform: none; color: var(--ink-3); }
.spec-lg .spec-table td { font-weight: 400; color: var(--ink); }
.spec-lg .spec-table .num { font-weight: 400; font-size: 1em;
  color: var(--ink); }
.spec-lg .spec-table tbody tr:hover { background: transparent; }
@media (max-width: 40rem) {
  .spec-lg .spec-table th, .spec-lg .spec-table td { display: block;
    width: 100%; }
  .spec-lg .spec-table tbody th { padding: var(--s-4) 0 0; border: 0; }
  .spec-lg .spec-table td { padding-top: var(--s-2); }
}

/* ---------- 2x2 brand grid (proposal) ---------- */
.vtag { margin: 0; font: 700 var(--fs-xs)/1 var(--font-head);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-brand); }
.bb-intro { padding-block: var(--s-6) 0; }
.bg { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.bg-card { border-top: 1px solid #dcdcdc; border-right: 0; }
.bg-card .sys-fig strong, .bg-card h3 { color: #2b2e36; }
.bg-dec { margin-top: var(--s-9); }
.bg-card { background: var(--white); outline-offset: -2px; }
.bg-top { display: flex; align-items: center; min-height: 3.25rem; }
.bg-top .brand-mark { margin: 0; height: 3.25rem; }
.bg-pop { grid-column: 1 / -1; display: flex; flex-direction: column;
  justify-content: center; gap: var(--s-6); min-height: 23rem;
  padding: var(--s-8) var(--s-7); color: var(--white); }
.bg-pop-sal, .bg-pop-dec { background: #2e3d88; }
.bg-pop-head { display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: var(--s-3); }
.bg-pop-head h3 { margin: 0; font-size: var(--fs-h3);
  color: var(--white); }
.bg-glaze { display: flex; align-items: baseline; gap: var(--s-3);
  margin: 0; color: var(--white); }
.bg-glaze span { font: 700 var(--fs-xs)/1 var(--font-head);
  letter-spacing: .16em; text-transform: uppercase;
  color: rgb(255 255 255 / .7); }
.bg-glaze strong { font: 800 var(--fs-h3)/1 var(--font-head); }
.bg-glaze em { font-style: normal; font-size: var(--fs-sm);
  color: rgb(255 255 255 / .85); }
.bg-pop .schemes { flex-wrap: nowrap; gap: var(--s-6);
  align-items: flex-end; }
.bg-pop .scheme img { height: 7.5rem; filter: brightness(0) invert(1); }
.bg-pop .scheme figcaption { color: rgb(255 255 255 / .8); }
@media (max-width: 62rem) {
  .bg-pop { padding: var(--s-7) var(--s-6); min-height: 0; }
  .bg-pop .schemes { flex-wrap: wrap; }
  .bg-pop .scheme img { height: 6rem; }
}
@media (max-width: 40rem) {
  .bg { grid-template-columns: 1fr; }
  .bg-dec:nth-child(4) { margin-top: var(--s-8); }
  .bg-dec:nth-child(5) { margin-top: 0; }
}

/* brand card hover */
.bg-card { transition: background-color var(--t-base) var(--ease); }
.bg-card .brand-mark, .bg-card .sys-ruler {
  transition: filter var(--t-base) var(--ease); }
.bg-sal:hover { background: #197e50; }
.bg-dec:hover { background: #303030; }
.bg-card:hover h3, .bg-card:hover .sys-fig strong,
.bg-card:hover .sys-fig span, .bg-card:hover .sys-w,
.bg-card:hover .link-arrow { background: var(--white);
  color: var(--c-brand); }
.bg-card:hover .brand-mark { filter: brightness(0) invert(1); }
.bg-card:hover .sys-ruler { filter: brightness(0) invert(1);
  opacity: .7; }

/* ---------- System detail pages ---------- */
.prod-hero h1, .kf strong { color: #2b2e36; }
.prod-hero-img img[src*="systems/"] { max-height: 32rem; }
.spec-src { margin: var(--s-5) 0 0; font-size: var(--fs-xs);
  color: var(--ink-3); }
.other-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.other-3 a { flex-wrap: wrap; row-gap: var(--s-2); }
.other-3 span { width: 100%; }
.other-3 strong { font-size: var(--fs-h4); }
.other-3 .icon { position: absolute; right: var(--s-5); }
.other-3 a { position: relative; }
@media (max-width: 62rem) {
  .other-3 { grid-template-columns: 1fr; }
}

/* hero colour swatches */
.hero-colors { margin-top: var(--s-6); }
.hero-colors-h { display: block; margin-bottom: var(--s-4);
  font: 700 var(--fs-xs)/1 var(--font-head); letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3); }
.hero-colors .std-col { gap: var(--s-5); }
.hero-colors-n { margin: var(--s-4) 0 0; font-size: var(--fs-sm);
  color: var(--ink-3); }

/* uniform hero on system pages */
.sys-hero .prod-hero-grid { min-height: 41rem; }
.sys-hero .prod-hero-img { height: 32rem; align-items: center; }
.sys-hero .prod-hero-img img { width: 100%; height: 100%;
  max-height: none; object-fit: contain; }
@media (max-width: 62rem) {
  .sys-hero .prod-hero-grid { min-height: 0; }
  .sys-hero .prod-hero-img { height: 22rem; }
}

/* key facts: one joined bar */
.kf-grid { gap: 0; background: #f9f9fb; border: 1px solid #e3e4ec;
  border-radius: var(--r-sm);
  box-shadow: 0 12px 18px -12px rgb(19 26 59 / .2); }
.kf, .kf:first-child { display: flex; align-items: center;
  gap: var(--s-4); padding: var(--s-5) var(--s-6);
  border: 0; border-left: 1px solid #e3e4ec; }
.kf:first-child { border-left: 0; }
.kf-ico { flex: none; display: block; width: 3rem; height: 3rem; }
.kf-ico .icon { width: 100%; height: 100%; stroke-width: 1; }
.kf strong { display: block; margin-bottom: var(--s-1);
  font: 600 clamp(1.4rem, 1.1rem + .8vw, 1.75rem)/1 var(--font-body);
  letter-spacing: 0; white-space: nowrap; }
.kf strong small { font-size: .6em; }
.kf span { font: 400 var(--fs-sm)/1.3 var(--font-body);
  letter-spacing: 0; text-transform: none; color: var(--ink-2); }
@media (max-width: 52rem) {
  .kf:nth-child(3) { border-left: 0; padding-left: var(--s-6); }
  .kf:nth-child(n+3) { border-top: 1px solid #e3e4ec; }
}

/* usluge */
.steps { list-style: none; margin: var(--s-7) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-8) var(--s-9); counter-reset: none; }
.steps li { position: relative; padding: var(--s-6);
  background: #f4f5f8; border-radius: var(--r-sm); }
.steps li::after { content: ""; position: absolute; width: 1.5rem;
  height: 1.5rem; right: calc(var(--s-9) / -2 - .75rem);
  top: calc(var(--s-6) - .1rem);
  background: url("../img/icons/us-arrow.svg") center / contain
  no-repeat; }
.steps li:nth-child(4n)::after, .steps li:last-child::after {
  display: none; }
.steps strong { display: block; margin-bottom: var(--s-2);
  font: 600 var(--fs-lg)/1.2 var(--font-body); color: #2b2e36; }
.steps p { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); }
.kf-3 { grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--s-7); margin-bottom: var(--s-7); }
.warranty { display: flex; align-items: center; gap: var(--s-5);
  margin-bottom: var(--s-6); padding: var(--s-5) var(--s-6);
  background: #2e3d88; color: var(--white); border-radius: var(--r-sm); }
.warranty strong { font: 800 4rem/1 var(--font-head); }
.warranty span { font: 600 var(--fs-lg)/1.2 var(--font-body); }
.warranty small { display: block; margin-top: var(--s-1);
  font: 400 var(--fs-sm)/1.3 var(--font-body);
  color: rgb(255 255 255 / .8); }
@media (max-width: 62rem) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-7) var(--s-8); }
  .steps li::after { right: calc(var(--s-8) / -2 - .75rem); }
  .steps li:nth-child(4n)::after { display: block; }
  .steps li:nth-child(3n)::after, .steps li:last-child::after {
    display: none; }
}
@media (max-width: 52rem) {
  .kf-3 { grid-template-columns: 1fr; }
  .kf-3 .kf, .kf-3 .kf:nth-child(3) { border-left: 0;
    padding-left: var(--s-6); }
  .kf-3 .kf + .kf { border-top: 1px solid #e3e4ec; }
}
@media (max-width: 40rem) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-6) var(--s-6); }
  .steps li::after { right: calc(var(--s-6) / -2 - .75rem); }
  .steps li:nth-child(3n)::after { display: block; }
  .steps li:nth-child(2n)::after, .steps li:last-child::after {
    display: none; }
}

/* ---------- Kontakt locations ---------- */
.loc-grid { display: grid; gap: var(--s-6);
  grid-template-columns: 1fr 1fr; }
.loc { display: flex; flex-direction: column; gap: var(--s-5);
  padding: var(--s-6); background: #f4f5f8; border-radius: var(--r-md); }
.loc h2 { font-size: var(--fs-h3); color: #2b2e36; }
.loc .contact-list { flex: 1; align-content: start; }
.loc .map { height: 18rem; border-radius: var(--r-md); }
@media (max-width: 52rem) {
  .loc-grid { grid-template-columns: 1fr; }
}
.loc .contact-list { gap: 0; }
.loc .contact-list li { display: grid; gap: var(--s-4);
  grid-template-columns: 8.5rem 1fr; padding: var(--s-4) 0;
  border-bottom: 1px solid #d5d8e0; }
.loc .contact-list li:first-child { border-top: 1px solid #d5d8e0; }
.loc .contact-list b { font-weight: 600; color: var(--ink-3); }
@media (max-width: 36rem) {
  .loc .contact-list li { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ---------- Roletne opcije ---------- */
.media-split .plain-img.bare { background: none; border: 0; padding: 0; }
.opt-group { margin-top: var(--s-8); }
.opt-group h3 { font-size: var(--fs-h4); margin-bottom: var(--s-5); }
.opt { margin: 0; padding: 0; list-style: none; display: grid;
  gap: var(--s-5); grid-template-columns: repeat(3, 1fr); }
.opt li { padding: var(--s-6); background: var(--white);
  border-radius: var(--r-md); }
.opt h3 { font-size: var(--fs-lg); color: #2b2e36;
  margin-bottom: var(--s-3); text-transform: none; font-stretch: 100%;
  line-height: var(--lh-snug); letter-spacing: 0; }
.opt p { margin: 0; color: var(--ink-3); }
@media (max-width: 52rem) {
  .opt { grid-template-columns: 1fr; }
}
.door-hero .door-slice { align-self: center; padding-block:
  var(--s-8); }
@media (max-width: 62rem) {
  .door-hero .door-slice { max-width: 28rem; margin-inline: auto;
    padding-block: var(--s-4) var(--s-7); }
}

/* ---------- Door scheme drawings ---------- */
.dr-wrap { --dc: #fff; --dl: 1; }
.dr-wrap:has(#dc-a:checked) { --dc: #3f4349; }
.dr-wrap:has(#dc-h:checked) { --dc: #b07a3c; }
.dr-wrap:has(#dc-o:checked) { --dc: #6f4a2e; }
.dr-wrap:has(label[for="dc-w"]:hover) { --dc: #fff; }
.dr-wrap:has(label[for="dc-a"]:hover) { --dc: #3f4349; }
.dr-wrap:has(label[for="dc-h"]:hover) { --dc: #b07a3c; }
.dr-wrap:has(label[for="dc-o"]:hover) { --dc: #6f4a2e; }
.dr-radio { position: absolute; opacity: 0; pointer-events: none; }
.dr-swatches { display: flex; flex-wrap: wrap; gap: var(--s-3);
  margin-bottom: var(--s-6); position: sticky; top: var(--head-h, 8rem);
  z-index: 20; background: var(--white, #fff);
  padding-block: var(--s-4); border-bottom: 1px solid #e7e9f0; }
.dr-sw { display: inline-flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-5) var(--s-3) var(--s-3);
  background: #f4f5f8; border-radius: 99px; cursor: pointer;
  font: 600 var(--fs-sm)/1 var(--font-body); color: #2b2e36;
  transition: background-color .2s; }
.dr-sw i { width: 1.6rem; height: 1.6rem; border-radius: 50%;
  display: block; border: 1px solid #c9ccd6; }
.dr-sw .sw-h { background: #b07a3c; border-color: #b07a3c; }
.dr-sw .sw-o { background: #6f4a2e; border-color: #6f4a2e; }
.dr-sw:hover { background: #e7e9f0; }
#dc-w:checked ~ .dr-swatches [for="dc-w"],
#dc-a:checked ~ .dr-swatches [for="dc-a"],
#dc-h:checked ~ .dr-swatches [for="dc-h"],
#dc-o:checked ~ .dr-swatches [for="dc-o"] {
  background: #2b2e36; color: #fff; }
.dr-grid { display: grid; gap: var(--s-6);
  grid-template-columns: repeat(4, 1fr); }
.dr { margin: 0; text-align: center; }
.dr-grid .dr { padding: var(--s-6) var(--s-6) var(--s-5);
  background: #f4f5f8; border-radius: var(--r-md); }
.dr-in { display: block; background: var(--dc); border-radius: 2px;
  transition: background-color .35s var(--ease), transform .3s
  var(--ease); box-shadow: 0 1px 3px rgb(30 34 50 / .18); }
.dr-in img { display: block; width: 100%; height: auto;
  filter: drop-shadow(0 0 .6px rgb(60 64 80 / .9)); }
.dr:hover .dr-in { transform: translateY(-6px); }
.dr-grid .dr-in { position: relative; }
.dr-in .dr-ph { position: absolute; inset: 0; opacity: 0;
  transition: opacity .35s var(--ease); filter: none;
  -webkit-mask-image: linear-gradient(to right, transparent 38%,
    #000 62%);
  mask-image: linear-gradient(to right, transparent 38%, #000 62%); }
.dr-wrap:has(#dc-w:checked) .dr[data-ph="w"]:hover .dr-ph,
.dr-wrap:has(#dc-a:checked) .dr[data-ph="a"]:hover .dr-ph,
.dr-wrap:has(#dc-h:checked) .dr[data-ph="h"]:hover .dr-ph,
.dr-wrap:has(#dc-o:checked) .dr[data-ph="o"]:hover .dr-ph { opacity: 1; }
.dr figcaption { margin-top: var(--s-4); font: 700 var(--fs-sm)/1
  var(--font-head); letter-spacing: .08em; color: #2b2e36; }
@media (max-width: 62rem) {
  .dr-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 40rem) {
  .dr-grid { grid-template-columns: repeat(2, 1fr);
    gap: var(--s-5); }
}
.dr-hero { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5); align-items: center; padding-block: var(--s-8);
  max-width: 34rem; margin-inline: auto; width: 100%; }
.dr-hero .dr-in { background: var(--hc, #fff); }
.dr-h2 .dr-in { background: var(--hc, #3f4349); }
.dr-h3 .dr-in { background: var(--hc, #b07a3c); }
.dr-h1:hover .dr-in { background: var(--hh, #3f4349); }
.dr-h2:hover .dr-in { background: var(--hh, #b07a3c); }
.dr-h3:hover .dr-in { background: var(--hh, #fff); }
.dr-h1, .dr-h3 { margin-top: var(--s-6); }
@media (max-width: 62rem) {
  .dr-hero { padding-block: var(--s-4) var(--s-7); max-width: 26rem; }
}
.dr-grid .dr { position: relative; }
.dr-grid .dr .dr-in, .dr-grid .dr figcaption {
  transition: opacity .3s var(--ease), background-color .35s
  var(--ease), transform .3s var(--ease); }
.dr-na { position: absolute; inset: 0; display: grid;
  place-items: center; padding: var(--s-5); text-align: center;
  pointer-events: none; opacity: 0; transition: opacity .3s;
  font: 700 var(--fs-sm)/1.3 var(--font-head); color: #2b2e36; }
.dr-wrap:has(#dc-w:checked) .dr:not([data-w]) .dr-in,
.dr-wrap:has(#dc-a:checked) .dr:not([data-a]) .dr-in,
.dr-wrap:has(#dc-h:checked) .dr:not([data-h]) .dr-in,
.dr-wrap:has(#dc-o:checked) .dr:not([data-o]) .dr-in,
.dr-wrap:has(#dc-w:checked) .dr:not([data-w]) figcaption,
.dr-wrap:has(#dc-a:checked) .dr:not([data-a]) figcaption,
.dr-wrap:has(#dc-h:checked) .dr:not([data-h]) figcaption,
.dr-wrap:has(#dc-o:checked) .dr:not([data-o]) figcaption { opacity: .25; }
.dr-wrap:has(#dc-w:checked) .dr:not([data-w]) .dr-na,
.dr-wrap:has(#dc-a:checked) .dr:not([data-a]) .dr-na,
.dr-wrap:has(#dc-h:checked) .dr:not([data-h]) .dr-na,
.dr-wrap:has(#dc-o:checked) .dr:not([data-o]) .dr-na { opacity: 1; }
.dr-wrap:has(label[for="dc-w"]:hover) .dr:not([data-w]) .dr-in,
.dr-wrap:has(label[for="dc-a"]:hover) .dr:not([data-a]) .dr-in,
.dr-wrap:has(label[for="dc-h"]:hover) .dr:not([data-h]) .dr-in,
.dr-wrap:has(label[for="dc-o"]:hover) .dr:not([data-o]) .dr-in,
.dr-wrap:has(label[for="dc-w"]:hover) .dr:not([data-w]) figcaption,
.dr-wrap:has(label[for="dc-a"]:hover) .dr:not([data-a]) figcaption,
.dr-wrap:has(label[for="dc-h"]:hover) .dr:not([data-h]) figcaption,
.dr-wrap:has(label[for="dc-o"]:hover) .dr:not([data-o]) figcaption {
  opacity: .25; }
.dr-wrap:has(label[for="dc-w"]:hover) .dr:not([data-w]) .dr-na,
.dr-wrap:has(label[for="dc-a"]:hover) .dr:not([data-a]) .dr-na,
.dr-wrap:has(label[for="dc-h"]:hover) .dr:not([data-h]) .dr-na,
.dr-wrap:has(label[for="dc-o"]:hover) .dr:not([data-o]) .dr-na {
  opacity: 1; }

/* ---------- Kalkulator prozora ---------- */
.calc { display: grid; gap: var(--s-8);
  grid-template-columns: 1fr 1fr; align-items: start; }
.calc-view { position: sticky; top: 7rem; display: grid;
  gap: var(--s-5); }
.calc-draw { background: #f4f5f8; border-radius: var(--r-md);
  padding: var(--s-5); aspect-ratio: 1 / 1; display: grid;
  place-items: center; }
.calc-draw svg { width: 100%; height: 100%; display: block; }
.calc-sum { margin: 0; display: grid; }
.calc-sum div { display: grid; grid-template-columns: 9rem 1fr;
  gap: var(--s-4); padding: var(--s-3) 0;
  border-bottom: 1px solid #d5d8e0; }
.calc-sum div:first-child { border-top: 1px solid #d5d8e0; }
.calc-sum dt { color: var(--ink-3); font-weight: 600; }
.calc-sum dd { margin: 0; color: #2b2e36; }
.calc-price dd { font-weight: 700; }
.calc-form { display: grid; gap: var(--s-7); }
.calc-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc-group legend { padding: 0; margin-bottom: var(--s-4);
  font: 700 var(--fs-h4)/1.2 var(--font-head); color: #2b2e36; }
.calc-dims { display: grid; gap: var(--s-5);
  grid-template-columns: 1fr 1fr; }
.calc-group .hint { margin: var(--s-3) 0 0; }
.cc-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.cc-row-4 { display: grid; grid-template-columns: repeat(2, 1fr); }
.cc { display: inline-flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-5); background: #f4f5f8;
  border-radius: 99px; cursor: pointer; color: #2b2e36;
  font: 600 var(--fs-sm)/1.2 var(--font-body);
  transition: background-color .2s, color .2s; }
.cc input { position: absolute; opacity: 0; pointer-events: none; }
.cc:hover { background: #e7e9f0; }
.cc:has(input:checked) { background: var(--c-brand); color: #fff; }
.cc:has(input:focus-visible) { outline: 2px solid var(--c-brand);
  outline-offset: 2px; }
.cc i { width: 1.4rem; height: 1.4rem; border-radius: 50%;
  display: block; border: 1px solid #c9ccd6; }
.cc .sw-h { background: #b07a3c; border-color: #b07a3c; }
.cc .sw-o { background: #6f4a2e; border-color: #6f4a2e; }
.cc-sys, .cc-lay { flex-direction: column; align-items: flex-start;
  border-radius: var(--r-md); gap: var(--s-2);
  padding: var(--s-4) var(--s-5); }
.cc-sys small { font: 600 var(--fs-xs)/1 var(--font-body);
  opacity: .65; letter-spacing: .06em; text-transform: uppercase; }
.cc-lay { align-items: center; text-align: center; }
.cc-lay svg { width: 2.6rem; height: 3.2rem; }
@media (min-width: 40rem) {
  .cc-row-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 62rem) {
  .calc { grid-template-columns: 1fr; gap: var(--s-7); }
  .calc-view { position: static; }
  .calc-draw { aspect-ratio: 4 / 3; }
}

/* ---------- Kalkulator: vise prozora ---------- */
.calc-bar { display: grid; gap: var(--s-3); }
.calc-tabs, .calc-acts { display: flex; flex-wrap: wrap;
  gap: var(--s-2); }
.calc-tab, .calc-act { padding: var(--s-2) var(--s-4); border: 0;
  border-radius: 99px; background: #f4f5f8; color: #2b2e36;
  cursor: pointer; font: 600 var(--fs-sm)/1.2 var(--font-body);
  transition: background-color .2s, color .2s; }
.calc-tab:hover { background: #e7e9f0; }
.calc-tab.is-on { background: var(--c-brand); color: #fff; }
.calc-act { background: none; color: var(--c-brand);
  padding-inline: var(--s-2); }
.calc-act:hover { text-decoration: underline; }
.calc-act:disabled { opacity: .35; cursor: default;
  text-decoration: none; }
.calc-order h3 { font-size: var(--fs-h4); margin-bottom: var(--s-4);
  color: #2b2e36; }
.calc-list { margin: 0 0 var(--s-4); padding: 0; list-style: none;
  display: grid; gap: var(--s-2); }
.calc-list button { width: 100%; display: grid; gap: var(--s-4);
  grid-template-columns: 6rem 1fr auto; text-align: left;
  padding: var(--s-3) var(--s-4); border: 0; border-radius: var(--r-md);
  background: #f4f5f8; color: #2b2e36; cursor: pointer;
  font: inherit; font-size: var(--fs-sm); }
.calc-list button:hover { background: #e7e9f0; }
.calc-list button.is-on { background: var(--c-brand); color: #fff; }
.calc-list em { font-style: normal; opacity: .75; }
@media (max-width: 40rem) {
  .calc-list button { grid-template-columns: 1fr auto; }
  .calc-list button span { grid-column: 1 / -1; order: 3; }
}
.cc.is-off { opacity: .35; cursor: not-allowed; }
.cc.is-off:hover { background: #f4f5f8; }
.cc .sw-x { background: #e3e6ec; border-style: dashed;
  border-color: #9ba1ae; }
.cc[hidden] { display: none; }

/* ---------- Kalkulator: plutajuci panel ---------- */
.calc-float { position: fixed; z-index: 40; right: var(--s-3);
  top: 50%; width: 6.25rem; display: grid; gap: var(--s-2);
  padding: var(--s-4) var(--s-3); background: var(--white);
  border-radius: var(--r-md); transform: translate(130%, -50%);
  box-shadow: 0 2px 6px rgb(22 26 58 / .08),
    0 14px 34px -8px rgb(22 26 58 / .22);
  transition: transform .35s var(--ease); }
.calc-float.is-on { transform: translate(0, -50%); }
.cf-h { margin: 0; text-align: center; color: var(--ink-3);
  font: 700 var(--fs-xs)/1.2 var(--font-body); }
.calc-float .calc-tabs { flex-direction: column; align-items: center;
  gap: var(--s-2); max-height: 40vh; overflow-y: auto;
  padding-block: var(--s-1); }
.calc-float .calc-tab { width: 2.75rem; height: 2.75rem; padding: 0;
  border-radius: 50%; font-size: var(--fs-base); }
.cf-btn { display: grid; justify-items: center; gap: var(--s-1);
  padding: var(--s-2) var(--s-1); border: 0; background: none;
  border-radius: var(--r-md); color: #2b2e36; cursor: pointer;
  font: 600 var(--fs-xs)/1.15 var(--font-body); text-align: center;
  transition: background-color .2s; }
.cf-btn:hover { background: #f4f5f8; }
.cf-btn:disabled { opacity: .3; cursor: default; }
.cf-btn:disabled:hover { background: none; }
.cf-add { background: #f4f5f8; margin-top: var(--s-1); }
.cf-add:hover { background: #e7e9f0; }
@media (min-width: 62rem) {
  .calc { padding-right: 7rem; }
}
@media (max-width: 62rem) {
  .calc-float { top: auto; bottom: 0; right: 0; left: 0; width: auto;
    transform: translateY(130%); border-radius: var(--r-md)
    var(--r-md) 0 0; grid-template-columns: 1fr auto auto auto;
    align-items: center; padding: var(--s-2) var(--s-3);
    gap: var(--s-1); }
  .calc-float.is-on { transform: none; }
  .cf-h { display: none; }
  .calc-float .calc-tabs { flex-direction: row; max-height: none;
    overflow-x: auto; overflow-y: visible; justify-content: flex-start; }
  .cf-btn { padding: var(--s-1) var(--s-2); }
  .cf-btn .icon { width: 1.4rem; height: 1.4rem; }
  .calc { padding-bottom: 5rem; }
}

.bg-card .link-arrow, .card-body .link-arrow { align-self: flex-start; }

/* ---------- CTA band: navy button (as hero Nase usluge) */
.cta-band .btn { min-height: 2.75rem; padding: 0 var(--s-5);
  background: #1c2655; color: var(--white); border: 2px solid transparent;
  border-radius: 0; }
.cta-band .btn:hover { background: var(--blue-900); color: var(--white); }
.cta-band .btn:active { transform: none; }
.cta-band .btn .icon { transition: transform var(--t-base) var(--ease); }
.cta-band .btn:hover .icon { transform: translateX(4px); }

/* ---------- Panorama pozadina (Naši proizvodi) ---------- */
.sec-pano { background:
  url("../img/bg/panorama.webp") no-repeat left top / 100% auto,
  linear-gradient(#f0f0f0 0, #f0f0f0 24%, #fff 42%); }
.sec-pano .exp-text { background: none; }


/* ---------- Boje (prozori): centrirano ---------- */
.bb-shared .sec-split { display: block; text-align: center;
  margin-bottom: var(--s-7); }
.bb-shared .sec-split h2 { margin-bottom: var(--s-4); }
.bb-shared .sec-split .lead { max-width: 40rem; margin-inline: auto; }
.bb-shared .std-col { justify-content: center; }
.bb-shared { padding-top: 0; }
.bg-pop .scheme figcaption { letter-spacing: 0; }
.bg-sec .sys-fig span, .bg-glaze span,
.bb-shared .std-col span { letter-spacing: 0; }

/* ---------- Brojaci (svijetle kartice uz tekst) ---------- */

.kf-sec { padding-bottom: 0; }

/* icons: brand blue, inherit on dark/filled surfaces */
.icon { color: #2e3d88; }
.btn-primary .icon, .cta-band .icon, .footer .icon, .section-dark .icon,
.lightbox .icon, .site-head.is-scrolled .icon,
.nav-link:hover .icon, .nav-item:hover > .nav-link .icon,
.nav-item:focus-within > .nav-link .icon { color: inherit; }
.site-head.is-scrolled .nav-link:hover .icon,
.site-head.is-scrolled .nav-item:hover > .nav-link .icon { color: #2e3d88; }
.other-sys a:hover .icon { color: var(--white); }
.bg-card { position: relative; }
.bg-card .link-arrow::after { content: ""; position: absolute; inset: 0; }
.bg-card:hover .link-arrow .icon { color: inherit; }

/* calculator page: blue topbar, white nav bar with shadow */
.calc-head .topbar, .calc-head .site-head.is-scrolled .topbar {
  background: #2e3d88; color: #fff; }
.calc-head .topbar a:hover { color: var(--blue-200); }
.calc-head .site-head.is-scrolled .header { background: #fff;
  backdrop-filter: blur(8px); }
.calc-head .site-head.is-scrolled .logo-blue { display: block; }
.calc-head .site-head.is-scrolled .logo-white { display: none; }
.calc-head .site-head.is-scrolled .nav-link { color: var(--ink); }
.calc-head .site-head.is-scrolled .nav-link[aria-current="page"] {
  color: var(--c-brand); }
.calc-head .site-head.is-scrolled .nav-link:hover,
.calc-head .site-head.is-scrolled .nav-item:hover > .nav-link,
.calc-head .site-head.is-scrolled .nav-item:focus-within > .nav-link {
  background: var(--c-brand); color: #fff; }
.calc-head .site-head.is-scrolled .icon { color: #2e3d88; }
.calc-head .site-head.is-scrolled .nav-link:hover .icon,
.calc-head .site-head.is-scrolled .nav-item:hover > .nav-link .icon { color: #fff; }
.calc-head .header { box-shadow: 0 8px 22px -6px rgb(19 26 59 / .35); }
.calc-head .topbar .icon { color: #fff; }

/* ---------- Trust band under hero ---------- */
.trust-band {
  position: relative; overflow: hidden; background: var(--blue-800);
  color: var(--white); padding-block: var(--s-7);
}
.trust-list {
  position: relative; margin: 0; padding: 0; list-style: none;
  display: grid; gap: var(--s-6);
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.trust-list li { display: flex; align-items: center; gap: var(--s-4); }
.trust-list .icon { flex: none; width: 2.5rem; height: 2.5rem;
  stroke-width: 1; color: var(--blue-200); }
.trust-list span { display: grid; gap: .15rem;
  font-size: var(--fs-sm); color: var(--blue-200); }
.trust-list b { font-family: var(--font-head); font-size: var(--fs-base);
  color: var(--white); text-transform: uppercase; letter-spacing: 0; }
.hero-cut .hero-actions .btn { border-radius: 0; }
.btn-navy { background: #1c2655; color: var(--white); }
.btn-navy:hover { background: var(--blue-900); color: var(--white); }
.hero-cut .hero-actions { gap: var(--s-3) var(--s-4); }
.btn-navy .icon { color: var(--white); }

/* ---------- Stats section (photo + navy panel) ---------- */
.ctr-c { overflow: hidden; }
.ctr-c { display: grid; grid-template-columns: 5fr 7fr;
  background: var(--blue-800); color: var(--white); }
.ctr-c-panel { display: flex; align-items: center;
  justify-content: flex-end; padding: var(--s-9) var(--s-7)
  var(--s-9) var(--gutter); }
.ctr-c-inner { width: min(100%, 34rem); }
.ctr-c h2 { color: var(--white); margin: 0 0 var(--s-4); }
.ctr-c-inner > p { color: var(--blue-200); margin-bottom: var(--s-6); }
.ctr-c-stats { display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgb(255 255 255 / .25); }
.ctr-c-stat { display: grid; gap: var(--s-1); padding: var(--s-5)
  var(--s-4) var(--s-5) 0; border-bottom: 1px solid rgb(255 255 255 / .25); }
.ctr-c-stat strong { font: 800 clamp(2rem, 3.4vw, 2.8rem)/1
  var(--font-head); color: var(--white); }
.ctr-c-stat span { color: var(--blue-200); font-size: var(--fs-sm); }
.ctr-c-photo { position: relative; min-height: 28rem;
  overflow: hidden; }
.ctr-c-photo img { position: absolute; inset: 0; width: 100%;
  height: 100%; object-fit: cover; transform-origin: 70% 55%;
  animation: kenburns 28s ease-in-out infinite alternate; }
.ctr-c-photo::after { content: ""; position: absolute; inset: 0;
  pointer-events: none; background:
    linear-gradient(0deg, rgb(19 26 59 / .55), transparent 45%),
    rgb(46 61 136 / .12); }
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.2) translate3d(-3%, -2%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ctr-c-photo img { animation: none; }
}

@media (max-width: 62rem) {
  .ctr-c { grid-template-columns: 1fr; }
  .ctr-c-panel { padding: var(--s-8) var(--gutter); justify-content:
    flex-start; }
  .ctr-c-photo { min-height: 0; aspect-ratio: 2 / 1; }
}

/* ---------- Contact locations ---------- */
.kc-rows { border-top: 2px solid #1c2655; }
.kc-row { border-bottom: 1px solid var(--line-strong); }
.kc-row summary { display: grid; gap: var(--s-5); align-items: center;
  padding: var(--s-6) 0; cursor: pointer; list-style: none;
  grid-template-columns: 1.2fr 1.6fr 1.6fr auto; }
.kc-row summary::-webkit-details-marker { display: none; }
.kc-row h3 { margin: 0; }
.kc-row summary a { color: inherit; text-decoration: none; }
.kc-more { display: inline-flex; gap: var(--s-2); align-items: center;
  font: 700 var(--fs-sm)/1 var(--font-head); text-transform: uppercase;
  letter-spacing: .04em; color: #2e3d88; }
.kc-row[open] .kc-more .icon { transform: rotate(180deg); }
.kc-row-map { padding-bottom: var(--s-6); }
.kc-row-map .map { height: 22rem; border-radius: 0; }

@media (max-width: 62rem) {
  .kc-row summary { grid-template-columns: 1fr auto; }
  .kc-row summary > span:nth-of-type(1),
  .kc-row summary > span:nth-of-type(2) { grid-column: 1 / -1; }
}

/* ---------- Front page motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .home .trust-list li { animation: home-up .8s var(--ease) both; }
  .home .trust-list li:nth-child(1) { animation-delay: .55s; }
  .home .trust-list li:nth-child(2) { animation-delay: .65s; }
  .home .trust-list li:nth-child(3) { animation-delay: .75s; }
  .home .trust-list li:nth-child(4) { animation-delay: .85s; }
  .home .hero-scroll { animation: home-up .9s .8s both,
    home-bob 2.8s 1.8s ease-in-out infinite; }
  .rv { opacity: 0; transform: translateY(1.5rem); }
  .rv.in { opacity: 1; transform: none;
    transition: opacity .9s cubic-bezier(.22,.7,.2,1) var(--d, 0s),
      transform .9s cubic-bezier(.22,.7,.2,1) var(--d, 0s),
      background-color .2s; }
  .btn .icon, .link-arrow .icon { transition: transform .25s ease; }
  .btn:hover .icon, .link-arrow:hover .icon {
    transform: translateX(4px); }
  .home .exp-slice i { transition: transform .5s var(--ease),
    box-shadow .5s ease; }
  .home .exp-item:hover .exp-slice i { transform: translateY(-.35rem); }
  /* inner pages: hovers */
  .prod-hero-img, .prod-hero-panel {
    animation: home-fade 1.1s .2s ease both; }
  .kf-ico { transition: transform .4s var(--ease); }
  .kf:hover .kf-ico { transform: translateY(-.25rem); }
  #dostava .kf:hover .kf-ico { transform: none; }
}
@keyframes home-up {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: none; }
}
@keyframes home-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes home-bob {
  50% { transform: translateY(.4rem); }
}

/* ---------- Export documentation band (homepage products) */
.export-band { display: grid; align-items: center;
  grid-template-columns: 1fr auto; gap: var(--s-6) var(--s-8);
  margin-top: var(--s-7); padding: var(--s-6) var(--s-7);
  background: var(--c-brand); color: var(--white); }
.export-band h3 { margin: 0; color: var(--white); max-width: 24rem;
  font: 400 var(--fs-base)/1.5 var(--font-body);
  text-transform: none; letter-spacing: 0; }
.export-pts { display: flex; margin: 0; padding: 0; list-style: none; }
.export-pts li { display: flex; align-items: center; gap: var(--s-4);
  padding-inline: var(--s-6); font-size: var(--fs-xs); line-height: 1.4;
  color: var(--blue-100); }
.export-pts li + li { border-left: 1px solid rgb(255 255 255 / .28); }
.export-pts li:last-child { padding-right: 0; }
.export-pts b { display: block; margin-bottom: 2px; color: var(--white);
  font-size: var(--fs-sm); font-weight: 600; }
.export-ico { display: grid; place-items: center; flex: none;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: rgb(255 255 255 / .12); }
.export-band .export-ico .icon { width: 1.5rem; height: 1.5rem;
  color: var(--white); stroke-width: 1; }
@media (max-width: 62rem) {
  .export-band { grid-template-columns: 1fr; }
  .export-pts li:first-child { padding-left: 0; }
}
@media (max-width: 40rem) {
  .export-band { padding: var(--s-5); }
  .export-pts { flex-direction: column; gap: var(--s-4); }
  .export-pts li { padding-inline: 0; }
  .export-pts li + li { border-left: 0; padding-top: var(--s-4);
    border-top: 1px solid rgb(255 255 255 / .28); }
}
.sec-alt { background: #f9f9fb; }
#zasto .media-split img {
  box-shadow: 0 1px 2px rgb(22 26 58 / .06),
    0 8px 18px -6px rgb(22 26 58 / .16),
    0 22px 40px -16px rgb(22 26 58 / .22);
}
.sec-tight { padding-block: var(--s-7); }
.sec-flush + .sec-tight { padding-top: var(--s-7); }

/* ---------- Mobile: no topbar, full-screen translucent menu ---------- */
.nt-open, .nt-close { display: inline-flex; }
@media (max-width: 62rem) {
  .topbar { display: none; }
  .brand, .nav-toggle { position: relative; z-index: 2; }
  .nav-toggle { border: 0; background: none; width: 3rem;
    height: 3rem; margin-right: -.75rem;
    transition: color .3s; }
  .nav-toggle .icon { width: 1.75rem; height: 1.75rem; }
  .nt-open, .nt-close { position: absolute; inset: 0;
    align-items: center; justify-content: center;
    transition: opacity .3s ease, transform .4s var(--ease); }
  .nt-close { opacity: 0; transform: rotate(-90deg); }
  .nav-toggle[aria-expanded="true"] .nt-open {
    opacity: 0; transform: rotate(90deg); }
  .nav-toggle[aria-expanded="true"] .nt-close {
    opacity: 1; transform: none; }
  .nav, .nav.is-open {
    display: block; position: fixed; inset: 0; z-index: 1;
    margin: 0; max-height: none; border: 0; box-shadow: none;
    padding-top: var(--header-h); overflow: auto;
    background: var(--blue-900);
    opacity: 0; visibility: hidden;
    transition: opacity .35s ease, visibility 0s .35s; }
  .nav:not(.is-open), .nav:not(.is-open) * { pointer-events: none;
    visibility: hidden; }
  .nav.is-open { opacity: 1; visibility: visible;
    transition: opacity .35s ease, visibility 0s; }
  .nav-list { padding: var(--s-6) calc(var(--gutter) - var(--s-3))
    var(--s-5); gap: 0; }
  .nav-item { opacity: 0; transform: translateY(.75rem);
    transition: opacity .35s ease, transform .45s var(--ease); }
  .nav.is-open .nav-item { opacity: 1; transform: none;
    transition-delay: calc(.08s + var(--i, 0) * .05s); }
  .nav-item:nth-child(2) { --i: 1; } .nav-item:nth-child(3) { --i: 2; }
  .nav-item:nth-child(4) { --i: 3; } .nav-item:nth-child(5) { --i: 4; }
  .nav-link, .site-head.is-scrolled .nav-link {
    color: var(--white); font-size: var(--fs-h4);
    min-height: 3.5rem; border: 0; padding: 0 var(--s-3); }
  .nav-link:hover, .nav-item:hover > .nav-link,
  .nav-item:focus-within > .nav-link {
    background: rgb(255 255 255 / .08); color: var(--white); }
  .nav-link[aria-current="page"] { color: var(--blue-200); }
  .nav-link .icon { display: none; }
  /* submenu: plain text list, no illustrations */
  .mega, .nav-item:hover > .mega, .nav-item:focus-within > .mega {
    display: grid; gap: 0; padding: 0 0 var(--s-3);
    background: none; }
  .mega-link { padding: .55rem var(--s-3) .55rem var(--s-6);
    border-radius: 0; color: var(--blue-200); background: none; }
  .mega-link:hover { background: rgb(255 255 255 / .08);
    color: var(--white); }
  .mega-desc { display: none; }
  .mega-title { font: 600 var(--fs-base)/1.3 var(--font-body);
    text-transform: none; letter-spacing: 0; }
  .site-head:has(.nav.is-open) .header {
    background: transparent; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-head:has(.nav.is-open) .logo-blue { display: none; }
  .site-head:has(.nav.is-open) .logo-white { display: block; }
  .site-head:has(.nav.is-open) .nav-toggle { color: var(--white); }
  .site-head:has(.nav.is-open) .icon { color: inherit; }
  html:has(.nav.is-open) { overflow: hidden; }
}

/* click-to-load map placeholder */
.map-ph { display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: var(--s-2); width: 100%; height: 22rem;
  padding: var(--s-5); border: 0; cursor: pointer; text-align: center;
  background: var(--surface); color: var(--ink); font: inherit;
  transition: background-color .2s; }
.map-ph:hover { background: var(--surface-2); }
.map-ph strong { font: 700 var(--fs-sm)/1 var(--font-head);
  text-transform: uppercase; letter-spacing: .06em; color: #2e3d88; }
.map-ph span { font-size: var(--fs-xs); color: var(--ink-3); }
.map-ph[hidden] { display: none; }

/* home hero buttons: equal width, full row on mobile */
@media (max-width: 52rem) {
  .hero-cut .hero-actions { display: grid; gap: var(--s-2);
    grid-template-columns: 1fr 1fr; }
  .hero-cut .hero-actions .btn { justify-content: center;
    min-height: 2.75rem; padding-inline: var(--s-3);
    font-size: .8125rem; gap: var(--s-1); }
  .hero-cut .hero-actions .icon { width: 1rem; height: 1rem; }
}
@media (max-width: 30rem) {
  .hero-cut .hero-actions .btn { white-space: nowrap;
    letter-spacing: .02em; }
  .hero-cut .hero-actions .icon { display: none; }
}

/* footer social links */
.social { display: flex; gap: var(--s-4); margin-top: var(--s-5); }
.footer .social a { display: inline-flex; color: var(--blue-100);
  transition: color .25s; }
.footer .social a:hover { color: var(--white); text-decoration: none; }
.footer .social .icon { width: 1.75rem; height: 1.75rem; }

/* header social links: topbar on desktop, menu on mobile */
.topbar-social { display: inline-flex; align-items: center;
  gap: var(--s-3); }
.topbar-social .icon { width: 20px; height: 20px; }
.nav-social { display: none; }
@media (max-width: 62rem) {
  .nav-social { display: flex; gap: var(--s-5);
    padding: var(--s-5) var(--gutter) var(--s-7);
    opacity: 0; transform: translateY(.75rem);
    transition: opacity .35s ease, transform .45s var(--ease); }
  .nav.is-open .nav-social { opacity: 1; transform: none;
    transition-delay: .4s; }
  .nav-social a { display: inline-flex; color: var(--white); }
  .nav-social .icon { width: 1.75rem; height: 1.75rem; }
}

/* CTA band: more line height on mobile */
@media (max-width: 40rem) {
  .cta-band h2 { line-height: 1.3; margin-bottom: var(--s-3); }
  .cta-band p { line-height: 1.6; }
}

/* system pages: mobile layout */
@media (max-width: 62rem) {
  .sys-hero .prod-hero-panel { display: none; }
  .sys-hero .prod-hero-grid { gap: 0; padding-block: var(--s-6) 0; }
  .sys-hero .breadcrumb { margin-bottom: var(--s-4); }
  .sys-hero h1 { margin-bottom: var(--s-4); }
  .sys-hero .hero-colors { margin: var(--s-6) 0; }
  .sys-hero .std-col { display: grid; gap: var(--s-3);
    grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sys-hero .std-col img { width: 3.5rem; height: 3.5rem; }
  .sys-hero .std-col span { font-size: .6875rem; letter-spacing: .04em;
    text-align: center; line-height: 1.2; }
  /* profile image right of title + intro (38%) */
  .sys-hero .prod-hero-grid { grid-template-columns: minmax(0, 1fr) 38%;
    column-gap: var(--s-4); padding-bottom: var(--s-7); }
  .sys-hero .prod-hero-text { display: contents; }
  .sys-hero .breadcrumb, .sys-hero .hero-colors,
  .sys-hero .prod-hero-text > p:not(.lead) { grid-column: 1 / -1; }
  .sys-hero h1 { grid-column: 1; grid-row: 2; align-self: end;
    font-size: min(2rem, 5.2vw); overflow-wrap: anywhere; }
  .sys-hero .lead { grid-column: 1; grid-row: 3; font-size: 1rem;
    line-height: 1.5; }
  .sys-hero .prod-hero-img { grid-column: 2; grid-row: 2 / span 2;
    height: 14rem; background: var(--blue-50); margin: 0;
    padding: var(--s-3); border-radius: var(--r-sm); }
  .sys-hero .prod-hero-text > p:not(.lead) { grid-row: 4;
    margin-top: var(--s-4); }
  .sys-hero .hero-colors { grid-row: 5; margin-bottom: 0; }
}
@media (max-width: 40rem) {
  /* key facts: plain 2x2 figures, no icons */
  .kf-sec { padding-top: var(--s-6); }
  .kf-grid { box-shadow: none; background: none; border: 0;
    border-top: 2px solid var(--ink); border-radius: 0; }
  .kf, .kf:first-child, .kf:nth-child(n) { display: block;
    padding: var(--s-4) 0; border: 0;
    border-bottom: 1px solid #e3e4ec; }
  .kf:nth-child(even) { padding-left: var(--s-4);
    border-left: 1px solid #e3e4ec; }
  .kf-ico { display: none; }
  .kf strong { font-size: 1.75rem; margin-bottom: var(--s-2); }
  .kf span { font-size: .8125rem; }

  /* specification: label | value rows */
  .spec-lg .spec-table { font-size: 15px; }
  .spec-lg .spec-table tbody tr { display: grid;
    grid-template-columns: 38% 1fr; gap: var(--s-4);
    padding: var(--s-3) 0; border-bottom: 1px solid #e3e4ec; }
  .spec-lg .spec-table th, .spec-lg .spec-table td {
    display: block; width: auto; padding: 0; border: 0; }
  .spec-lg .spec-table tbody th { padding: 0; font-size: .875rem;
    color: var(--ink-3); width: auto; }
  .spec-lg .spec-table td { padding: 0; }
  .spec-lg .spec-table tr:first-child th,
  .spec-lg .spec-table tr:first-child td { border-top: 0; }
  .spec-lg .spec-table tbody { display: block;
    border-top: 2px solid var(--ink); }

  /* execution schemes: swipe row */
  .schemes:not(.bg-pop .schemes) { display: flex; flex-wrap: nowrap;
    align-items: flex-end; gap: var(--s-6); overflow-x: auto;
    scroll-snap-type: x proximity; scrollbar-width: none;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) var(--s-2); }
  .schemes:not(.bg-pop .schemes)::-webkit-scrollbar { display: none; }
  .schemes:not(.bg-pop .schemes) .scheme { flex: none;
    scroll-snap-align: start; }
  .schemes:not(.bg-pop .schemes) .scheme img { width: auto;
    height: 8rem; max-width: none; }
  .schemes:not(.bg-pop .schemes) .scheme figcaption {
    font-size: .75rem; letter-spacing: .04em; line-height: 1.25; }
}

/* colour swatches: one centred row on mobile (roletne, komarnici) */
@media (max-width: 40rem) {
  .std-col { flex-wrap: nowrap;
    justify-content: center; gap: var(--s-3); }
  .std-col li { flex: 1 1 0; min-width: 0;
    max-width: 5rem; gap: var(--s-2); }
  .std-col img { width: 3rem; height: 3rem; }
  .std-col span { font-size: .625rem;
    letter-spacing: .02em; text-align: center; line-height: 1.2; }
}

/* doors page, mobile: doors on top, no panel; filters 2x2 */
@media (max-width: 62rem) {
  .door-hero .prod-hero-panel { display: none; }
  .door-hero .prod-hero-grid { display: flex; flex-direction: column;
    padding-top: 0; }
  .door-hero .dr-hero { order: -1; padding-block: var(--s-5) var(--s-6); }
  .door-hero .prod-hero-text { padding-bottom: var(--s-6); }
}
@media (max-width: 40rem) {
  .dr-swatches { display: grid; grid-template-columns: 1fr 1fr;
    gap: var(--s-3); }
  .dr-sw { justify-content: center; border-radius: var(--r-md); }
}

/* PVC windows page, mobile: 2x2 system cards, swipe schemes */
@media (max-width: 40rem) {
  .bg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bg-dec, .bg-dec:nth-child(4), .bg-dec:nth-child(5) {
    margin-top: var(--s-6); }
  .bg-card.sys { padding: var(--s-4); gap: var(--s-2); }
  .bg-top, .bg-top .brand-mark { min-height: 0; height: 2.25rem; }
  .bg-card h3 { font-size: .95rem; overflow-wrap: anywhere; }
  .bg-card .sys-fig { margin-top: var(--s-2); gap: var(--s-2); }
  .bg-card .sys-fig strong { font-size: 2.5rem; }
  .bg-card .sys-fig span { font-size: .6875rem; }
  .bg-card .sys-w { font-size: 1rem; margin-bottom: var(--s-2); }
  .bg-card .link-arrow { font-size: .6875rem; gap: var(--s-2);
    min-height: 2.25rem; padding-inline: var(--s-3); align-self: stretch; }
  .bg-pop { padding: var(--s-6) var(--s-5); gap: var(--s-5); }
  .bg-pop-head { flex-direction: column; align-items: flex-start;
    gap: var(--s-2); }
  .bg-pop .schemes { flex-wrap: nowrap; overflow-x: auto;
    scroll-snap-type: x proximity; scrollbar-width: none;
    scroll-padding-inline: var(--s-5);
    margin-inline: calc(var(--s-5) * -1);
    padding: 0 var(--s-5) var(--s-2); gap: var(--s-6); }
  .bg-pop .schemes::-webkit-scrollbar { display: none; }
  .bg-pop .scheme { flex: none; scroll-snap-align: start; }
  .bg-pop .scheme img { height: 6rem; max-width: none; width: auto; }
}

/* photo row (usluge: delivery fleet) */
.gallery { margin-top: var(--s-7); }
.gallery-row { display: grid; gap: var(--s-3); grid-auto-rows: 24rem;
  grid-template-columns: var(--cols, repeat(3, 1fr)); }
.gallery-row img { display: block; width: 100%; height: 100%;
  object-fit: cover; }
@media (max-width: 62rem) {
  .gallery-row { grid-template-columns: 1fr; grid-auto-rows: 16rem; }
}
