/* ============================================================
   SIMONS · simons.rs · "Machined Paper" design system
   paper #F3F1EC · sand #E9E6DE · ink #111417 · graphite #17191D
   accent #FF4E1A · steel #8A8F98
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-100-900-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-100-900-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plexmono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plexmono-400-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plexmono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plexmono-500-latin-ext.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #F3F1EC;
  --paper-dim: #ECEAE3;
  --sand: #E9E6DE;
  --ink: #111417;
  --graphite: #17191D;
  --graphite-2: #1D2025;
  --orange: #FF4E1A;
  --steel: #8A8F98;
  --steel-dark: #6E747D;
  --line: rgba(17, 20, 23, 0.14);
  --line-strong: rgba(17, 20, 23, 0.3);
  --line-dark: rgba(243, 241, 236, 0.16);
  --paper-70: rgba(243, 241, 236, 0.7);

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Plex Mono", "SF Mono", Menlo, monospace;

  --pad: clamp(20px, 4vw, 56px);
  --sect: clamp(96px, 13vw, 180px);
  --max: 1600px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-reveal: 0.9s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

::selection { background: var(--orange); color: var(--paper); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.skip {
  position: fixed; top: -100px; left: 16px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 12px;
}
.skip:focus { top: 12px; }

/* ---------- Type utilities ---------- */
.mono {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.label {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink);
}
.label--dark { color: var(--paper); }
.label--center { justify-content: center; }

.h2 {
  font-size: clamp(2.3rem, 5.4vw, 4.5rem);
  font-weight: 640;
  font-stretch: 112%;
  line-height: 1.02;
  letter-spacing: -0.022em;
}

.sq {
  display: inline-block;
  width: 0.14em; height: 0.14em;
  margin-left: 0.07em;
  background: var(--orange);
}

/* ---------- Reveal system ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--t-reveal) var(--ease),
    transform var(--t-reveal) var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
[data-reveal].in-view { opacity: 1; transform: none; }

[data-load] { opacity: 0; transform: translateY(22px); }
body.loaded [data-load] {
  opacity: 1; transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
body.loaded [data-load="1"] { transition-delay: 0.15s; }
body.loaded [data-load="2"] { transition-delay: 0.25s; }
body.loaded [data-load="3"] { transition-delay: 0.35s; }
body.loaded [data-load="4"] { transition-delay: 0.55s; }
body.loaded [data-load="5"] { transition-delay: 0.7s; }
body.loaded [data-load="6"] { transition-delay: 1.1s; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 28px;
  padding: 18px var(--pad);
  mix-blend-mode: difference;
  color: #F3F1EC;
  transition: transform 0.5s var(--ease);
}
.nav.hidden { transform: translateY(-110%); }

.nav__logo {
  font-weight: 800;
  font-stretch: 125%;
  font-size: 19px;
  letter-spacing: 0.08em;
  margin-right: auto;
}

.nav__links { display: flex; gap: 26px; }
.nav__links a {
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.25s;
}
.nav__links a:hover { opacity: 1; }

.nav__tel {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em;
  border: 1px solid currentColor;
  padding: 8px 14px;
  transition: opacity 0.25s;
}
.nav__tel:hover { opacity: 0.7; }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  background: none; border: 0; cursor: pointer;
  position: relative;
  color: inherit;
}
.nav__burger span {
  position: absolute; left: 8px; right: 8px; height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 24px; }
body.menu-open .nav__burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--graphite);
  color: var(--paper);
  display: flex; flex-direction: column;
  padding: 84px var(--pad) 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
body.menu-open .menu { opacity: 1; pointer-events: auto; }

.menu nav { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.menu nav a {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(1.5rem, 6.2vw, 2.4rem);
  font-weight: 620; font-stretch: 110%;
  letter-spacing: -0.02em;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), color 0.2s;
  transition-delay: calc(var(--mi, 0) * 20ms);
}
body.menu-open .menu nav a { opacity: 1; transform: none; }
.menu nav a:hover { color: var(--orange); }
.menu nav a[aria-current="page"] { color: var(--orange); }
.menu nav a[aria-current="page"]::after { content: "·"; margin-left: auto; color: var(--orange); font-weight: 700; }
.menu nav a small {
  font-family: var(--mono); font-size: 11px; font-weight: 400;
  letter-spacing: 0.12em; color: var(--orange);
}
.menu__foot {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  margin-top: 28px; margin-bottom: auto;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em;
}
.menu__foot a { color: var(--steel); white-space: nowrap; }
.menu__foot a:hover { color: var(--paper); }

/* ---------- Hairline rules ---------- */
.rule { height: 1px; background: var(--line); margin: 0 var(--pad); }
.rule--labeled {
  height: auto; background: none;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
}
.mono-right { color: var(--steel); letter-spacing: 0.14em; }

/* ============================================================
   01 · HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--graphite);
  color: var(--paper);
  display: flex; align-items: flex-end;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
}

.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}
.hero__video.playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
html.noanim .hero__video { display: none; }

.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(23,25,29,0.22), rgba(23,25,29,0.22)),
    linear-gradient(180deg, rgba(23,25,29,0.42) 0%, rgba(23,25,29,0) 30%),
    linear-gradient(76deg, rgba(23,25,29,0.92) 0%, rgba(23,25,29,0.55) 42%, rgba(23,25,29,0.08) 78%);
}

.hero__content {
  position: relative; z-index: 2;
  padding: 0 var(--pad) clamp(56px, 9vh, 110px);
  max-width: 1100px;
}

.hero__kicker {
  color: var(--paper-70);
  letter-spacing: 0.18em;
  padding-bottom: 14px;
  margin-bottom: 26px;
  position: relative;
  display: inline-block;
}
.hero__kicker::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--line-dark);
}

.hero__title {
  font-size: clamp(2.2rem, 7.3vw, 6.9rem);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.18em; margin-bottom: -0.18em; }
.hero__title .line > span { display: inline-block; transform: translateY(112%); }
body.loaded .hero__title .line > span {
  transform: none;
  transition: transform 1.1s var(--ease);
}
body.loaded .hero__title .line:nth-child(1) > span { transition-delay: 0.2s; }
body.loaded .hero__title .line:nth-child(2) > span { transition-delay: 0.32s; }
.hero__title [data-load] { opacity: 1; }

.hero__lead {
  max-width: 46ch;
  margin-top: 28px;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  color: rgba(243, 241, 236, 0.82);
}

.hero__cta { margin-top: 34px; }

.hero__actions {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 20px 30px;
}
.hero__actions .btn { margin-top: 0; }

.ulink {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13.5px; letter-spacing: 0.08em;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(243, 241, 236, 0.5);
  transition: border-color 0.3s, color 0.3s;
}
.ulink svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform 0.35s var(--ease); }
.ulink:hover { color: var(--orange); border-color: var(--orange); }
.ulink:hover svg { transform: translateX(5px); }

.hero__side {
  position: absolute; right: calc(var(--pad) * 0.55); bottom: clamp(56px, 9vh, 110px);
  z-index: 2;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: rgba(243, 241, 236, 0.55);
  letter-spacing: 0.22em;
  font-size: 10.5px;
}


/* ============================================================
   02 · NAČINI PLAĆANJA
   ============================================================ */
.strip { padding: var(--sect) 0 calc(var(--sect) * 0.75); background: var(--paper); }

.strip .rule--labeled { margin: 0 var(--pad); }

.strip__row {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 40px 24px;
  padding: clamp(64px, 9vw, 130px) var(--pad);
  max-width: var(--max); margin: 0 auto;
}

.strip__item {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.strip__item:not(:last-child) .strip__word::after {
  content: "";
  display: inline-block;
  width: 0.16em; height: 0.16em;
  background: var(--orange);
  margin-left: 0.55em;
  vertical-align: 0.28em;
}

.strip__icon {
  width: 30px; height: 30px;
  fill: none; stroke: var(--ink); stroke-width: 1.4;
  stroke-dasharray: 130; stroke-dashoffset: 130;
}
.strip__item.in-view .strip__icon {
  animation: icondraw 1.4s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 80ms + 200ms);
}
@keyframes icondraw { to { stroke-dashoffset: 0; } }

.strip__word {
  font-size: clamp(1.65rem, 2.75vw, 2.7rem);
  font-weight: 680;
  font-stretch: 116%;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  line-height: 1;
}
.strip__cap { color: var(--steel); letter-spacing: 0.1em; font-size: 10.5px; }

.strip__foot {
  text-align: center; color: var(--steel);
  letter-spacing: 0.16em;
  padding-bottom: 36px;
}

/* ============================================================
   03 · OBLASTI (bento)
   ============================================================ */
.oblasti { padding: calc(var(--sect) * 0.7) 0 0; background: var(--paper); }

.oblasti__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px;
  padding: 0 var(--pad) clamp(48px, 6vw, 90px);
  max-width: var(--max); margin: 0 auto;
}
.oblasti__head .label { margin-bottom: 22px; }
.oblasti__intro {
  max-width: 34ch;
  color: var(--steel-dark);
  font-size: 15.5px;
  padding-bottom: 8px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.panel {
  position: relative;
  aspect-ratio: 3 / 4.15;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--graphite);
  color: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.panel:last-child { border-right: 0; }

.panel__media { position: absolute; inset: 0; }
.panel__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.1s var(--ease);
  filter: saturate(0.82) contrast(1.02);
}
.panel:hover .panel__media img { transform: scale(1.055); }
.panel__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,25,29,0.16) 0%, rgba(23,25,29,0) 34%, rgba(23,25,29,0.06) 55%, rgba(23,25,29,0.82) 100%);
}

.panel__arrow {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(243,241,236,0.35);
  transition: background 0.35s, border-color 0.35s, transform 0.5s var(--ease);
}
.panel__arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.panel:hover .panel__arrow { background: var(--orange); border-color: var(--orange); transform: translate(2px, -2px); }

.panel__meta { position: relative; z-index: 2; padding: 22px; }
.panel__idx { color: var(--orange); margin-bottom: 8px; letter-spacing: 0.14em; }
.panel__name {
  font-size: clamp(1.5rem, 1.9vw, 2rem);
  font-weight: 660; font-stretch: 114%;
  text-transform: uppercase; letter-spacing: -0.01em;
  line-height: 1;
}
.panel__sub { color: rgba(243,241,236,0.62); margin-top: 6px; letter-spacing: 0.16em; font-size: 10.5px; }
.panel__desc {
  font-size: 13.5px; line-height: 1.55;
  color: rgba(243,241,236,0.78);
  margin-top: 12px;
  max-width: 30ch;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.6s var(--ease), opacity 0.5s 0.05s;
}
.panel:hover .panel__desc, .panel:focus-visible .panel__desc { max-height: 120px; opacity: 1; }


/* ============================================================
   04 · KAKO RADI (flow)
   ============================================================ */
.flow {
  background: var(--graphite);
  color: var(--paper);
  padding: var(--sect) var(--pad);
}

.flow__head { text-align: center; max-width: 780px; margin: 0 auto; }
.flow__head .label { justify-content: center; margin-bottom: 22px; }
.flow__sub { color: var(--steel); margin-top: 16px; font-size: 15.5px; }

.flow__diagram {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr) minmax(195px, 1.1fr);
  gap: 0;
  align-items: start;
  max-width: 1280px;
  margin: clamp(64px, 8vw, 110px) auto 0;
}

.node { position: relative; text-align: center; padding: 0 8px; }

.node__card {
  width: 74px; height: 74px;
  margin: 0 auto;
  background: var(--paper);
  color: var(--ink);
  display: grid; place-items: center;
  position: relative; z-index: 2;
  opacity: 0; transform: translateY(20px) scale(0.94);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--n, 0) * 180ms);
}
.flow__diagram.play .node__card { opacity: 1; transform: none; }
.node__card svg { width: 32px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 1.4; }

.node__name {
  margin-top: 16px;
  font-weight: 500; letter-spacing: 0.14em; font-size: 11px;
  opacity: 0; transition: opacity 0.6s;
  transition-delay: calc(var(--n, 0) * 180ms + 200ms);
}
.node__sub {
  margin-top: 4px;
  font-size: 12px; color: var(--steel);
  opacity: 0; transition: opacity 0.6s;
  transition-delay: calc(var(--n, 0) * 180ms + 280ms);
}
.flow__diagram.play .node__name, .flow__diagram.play .node__sub { opacity: 1; }

/* the orange line through card centers */
.flow__line {
  position: absolute;
  left: 10%; top: 36px; height: 2px;
  width: 76%;
  background: var(--orange);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 1;
}
.flow__diagram.play .flow__line { animation: linedraw 1.7s var(--ease) 0.15s forwards; }
@keyframes linedraw { to { transform: scaleX(1); } }

/* receipt artifacts · payment slip + fiscal receipt, clearly separated */
.receipt {
  position: relative; z-index: 2;
  padding: 0 4px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.receipt__slip {
  position: relative;
  background: #FBFAF7;
  color: var(--ink);
  padding: 13px 14px 11px;
  text-align: center;
  width: 86%;
  align-self: flex-start;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  opacity: 0; transform: rotate(-2deg) translateY(30px);
  transition: opacity 0.7s var(--ease) 1.35s, transform 0.7s var(--ease) 1.35s;
}
.flow__diagram.play .receipt__slip { opacity: 1; transform: rotate(-2deg) translateY(0); }
.receipt__slip .mono {
  font-size: 9.5px; letter-spacing: 0.06em;
  display: flex; justify-content: space-between; gap: 8px;
  white-space: nowrap; line-height: 1.9;
}
.receipt__slip .mono.rc-b { justify-content: center; font-weight: 500; }
.receipt__paper {
  position: relative;
  background: #FBFAF7;
  color: var(--ink);
  padding: 18px 15px 16px;
  text-align: center;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.8s var(--ease) 1.5s, transform 0.8s var(--ease) 1.5s;
}
.flow__diagram.play .receipt__paper { opacity: 1; transform: none; }
.receipt__paper::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -7px; height: 8px;
  background:
    linear-gradient(-45deg, #FBFAF7 5.5px, transparent 0) 0 0 / 11px 8px repeat-x,
    linear-gradient(45deg, #FBFAF7 5.5px, transparent 0) 0 0 / 11px 8px repeat-x;
}
.receipt__paper .mono {
  font-size: 9px; letter-spacing: 0.04em;
  display: flex; justify-content: space-between; gap: 8px;
  text-align: left;
  white-space: nowrap;
  line-height: 1.95;
}
.receipt__paper .mono.rc-b, .receipt__paper .mono.rc-dash { justify-content: center; text-align: center; }
.receipt__paper .rc-b { font-weight: 500; }
.receipt__paper .rc-dash { color: var(--steel); font-size: 7.5px; letter-spacing: 0.2em; overflow: hidden; white-space: nowrap; }
.receipt__paper .qr { margin: 10px auto; }
.receipt__paper--real {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 16px 15px 15px;
  text-align: center;
}
.receipt__pre {
  display: block;
  margin: 0 auto;
  font-family: "SF Mono", Menlo, Consolas, "Liberation Mono", "DejaVu Sans Mono", monospace;
  font-size: 9.5px;
  line-height: 1.65;
  letter-spacing: 0;
  color: var(--ink);
  text-align: left;
  white-space: pre;
  overflow: hidden;
}
.receipt__paper--real .qr { width: 68px; height: 68px; margin: 10px auto 8px; }
.receipt__paper--real .receipt__foot {
  font-family: "SF Mono", Menlo, Consolas, "Liberation Mono", "DejaVu Sans Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.05em;
  color: var(--steel-dark);
  text-align: center;
}

/* decorative QR */
.qr { width: 74px; height: 74px; }
.qr--s { width: 52px; height: 52px; }
.qr svg { width: 100%; height: 100%; display: block; }

.flow__chips {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(56px, 7vw, 90px);
}
.chip {
  border: 1px solid var(--line-dark);
  padding: 9px 16px;
  letter-spacing: 0.14em;
  color: rgba(243, 241, 236, 0.85);
}

.flow__story {
  max-width: 52ch;
  margin: 44px auto 0;
  text-align: center;
  color: var(--steel);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ============================================================
   05 · MYWASH
   ============================================================ */
.mywash {
  display: grid;
  grid-template-columns: minmax(340px, 5fr) 7fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  padding: var(--sect) var(--pad);
  max-width: var(--max); margin: 0 auto;
}

.mywash__kicker { color: var(--steel); letter-spacing: 0.16em; margin-top: 26px; }
.mywash__text .h2 { font-size: clamp(2.8rem, 5.8vw, 5.2rem); margin-top: 10px; }
.mywash__sub {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 520; font-stretch: 106%;
  margin-top: 10px;
  letter-spacing: -0.01em;
}
.mywash__desc { color: var(--steel-dark); margin-top: 22px; max-width: 46ch; font-size: 15.5px; }

.mywash__rows { margin-top: 34px; border-top: 1px solid var(--line); }
.mywash__rows li {
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.12em; font-size: 11px;
  display: flex; align-items: center; gap: 12px;
}
.mywash__rows li::before {
  content: "";
  width: 6px; height: 6px; background: var(--orange);
  flex: none;
}

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 34px;
  padding: 15px 26px;
  border: 1px solid var(--ink);
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative; overflow: hidden;
  transition: color 0.35s var(--ease), border-color 0.35s;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.4s var(--ease);
  /* below the button's own text node: raw text can't be z-lifted like .btn > * */
  z-index: -1;
}
.btn:hover::before { transform: scaleY(1); }
.btn:hover { color: var(--paper); }
.btn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; position: relative; z-index: 1; }
.btn span, .btn { z-index: 1; }
.btn > * { position: relative; z-index: 1; }

.mywash__visual { position: relative; min-height: 480px; }
.frame { border: 0; background: transparent; overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }

.frame--lg {
  position: absolute; top: 0; right: 0;
  width: 88%;
  aspect-ratio: 3 / 2;
}
.frame--sm {
  position: absolute; left: 0; bottom: 0;
  width: 38%;
  box-shadow: 0 24px 60px rgba(17, 20, 23, 0.16);
}
.frame--sm img { aspect-ratio: 1; }
.frame--sm figcaption {
  padding: 10px 12px;
  font-size: 9.5px; letter-spacing: 0.14em;
  color: var(--steel-dark);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

/* ============================================================
   06 · SA TERENA
   ============================================================ */
.teren { background: var(--sand); padding: var(--sect) var(--pad); }

.teren__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  max-width: var(--max); margin: 0 auto;
}
.teren__head .label { margin-bottom: 22px; }
.teren__intro {
  max-width: 36ch; color: var(--steel-dark); font-size: 15.5px;
  padding-bottom: 8px;
}
.teren__intro .mono {
  display: block; margin-top: 14px;
  color: var(--orange);
  font-size: 10px; letter-spacing: 0.18em;
}

.teren__grid {
  display: grid;
  grid-template-columns: 4fr 5fr 3fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  max-width: var(--max);
  margin: clamp(56px, 7vw, 100px) auto 0;
}

.tframe img { border: 0; }
.tframe--a { margin-top: 40px; }
.tframe--a img { aspect-ratio: 4 / 5; object-fit: cover; }
.tframe--b { margin-top: 110px; }
.tframe--b img { aspect-ratio: 3 / 2; object-fit: cover; }
.tframe--c { margin-top: 0; }
.tframe--c img { aspect-ratio: 4 / 5; object-fit: cover; }

.tframe figcaption {
  margin-top: 14px;
  font-size: 10.5px; letter-spacing: 0.13em;
  line-height: 1.8;
  color: var(--ink);
}
.tframe .idx-l { color: var(--orange); margin-right: 10px; font-weight: 500; }
.tframe figcaption em {
  display: block; font-style: normal;
  color: var(--steel-dark); text-transform: none; letter-spacing: 0.06em;
}

/* ============================================================
   07 · GRUPA
   ============================================================ */
.grupa { padding: var(--sect) var(--pad); max-width: var(--max); margin: 0 auto; }

.grupa__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.grupa__head .label { margin-bottom: 22px; }

.grupa__tree { width: clamp(280px, 24vw, 360px); flex: none; margin-top: 8px; }
.grupa__tree path { stroke: var(--line-strong); stroke-width: 1; }
.grupa__tree circle { fill: var(--orange); }
.grupa__tree text {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em;
  fill: var(--steel-dark);
}
.grupa__tree .t-root { font-size: 10px; fill: var(--ink); font-weight: 500; }

.grupa__intro {
  max-width: 52ch;
  color: var(--steel-dark);
  margin: 26px 0 clamp(48px, 6vw, 80px);
  font-size: 15.5px;
}

.grupa__list { border-top: 1px solid var(--line); }
/* list directly after the head (hub pages, no intro paragraph between) */
.grupa__head + .grupa__list { margin-top: clamp(44px, 6vw, 76px); }
.row { border-bottom: 1px solid var(--line); transition: background 0.35s; }
.row__a {
  display: grid;
  grid-template-columns: 56px minmax(180px, 1.1fr) 2fr 160px;
  align-items: center; gap: 20px;
  padding: 26px 0;
}
.row:has(a.row__a):hover { background: var(--sand); }

.row__idx { color: var(--orange); letter-spacing: 0.12em; }
.row__name {
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  font-weight: 640; font-stretch: 115%;
  text-transform: uppercase; letter-spacing: -0.005em;
  line-height: 1;
  transition: transform 0.4s var(--ease);
}
.row:hover .row__name { transform: translateX(10px); }
.row__desc { color: var(--steel-dark); font-size: 14.5px; }
.row__link {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: 0.12em; font-size: 11px;
  color: var(--steel-dark);
}
.row__link svg { width: 12px; height: 12px; fill: none; stroke: var(--steel-dark); stroke-width: 1.5; transition: stroke 0.3s, transform 0.4s var(--ease); }
.row:hover .row__link svg { stroke: var(--orange); transform: translate(3px, -3px); }

.grupa__tail {
  margin-top: 36px;
  color: var(--steel-dark);
  font-size: 14px;
  max-width: 68ch;
  line-height: 1.6;
}

/* ============================================================
   08 · KONTAKT + footer
   ============================================================ */
.kontakt {
  background: var(--graphite);
  color: var(--paper);
  padding: calc(var(--sect) * 0.62) var(--pad) calc(var(--sect) * 0.55);
}
.kontakt__head {
  max-width: var(--max);
  margin: 0 auto clamp(44px, 5.5vw, 72px);
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--line-dark);
  padding-top: 16px;
}
.kontakt__head .label { margin: 0; }
.kontakt__head .mono-right { font-size: 10.5px; }

.kontakt__title {
  font-size: clamp(2.2rem, 4vw, 3.85rem);
  font-weight: 700; font-stretch: 110%;
  letter-spacing: -0.022em;
  line-height: 1.04;
  margin-top: 0;
  text-wrap: balance;
}
.kontakt__sub {
  color: var(--steel);
  margin-top: 22px;
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 42ch;
}

.kontakt__kanali {
  list-style: none;
  margin: clamp(36px, 4.5vw, 58px) 0 0;
  padding: 0;
  max-width: 410px;
  border-top: 1px solid var(--line-dark);
}
.kontakt__kanali li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
  padding: 14px 2px 15px;
  border-bottom: 1px solid var(--line-dark);
}
.kontakt__kanali .k {
  font-size: 9.5px; letter-spacing: 0.18em;
  color: var(--steel);
  flex: none;
}
.kontakt__kanali .v {
  font-size: 17px; font-weight: 480; font-stretch: 104%;
  letter-spacing: 0.005em;
  text-align: right;
  transition: color 0.3s;
}
.kontakt__kanali a.v:hover { color: var(--orange); }
.kontakt__kanali .v--txt { color: var(--paper-70); font-size: 13.5px; font-weight: 400; }

/* contact form: anchored panel */
.cform {
  max-width: 640px;
  margin: 0;
  text-align: left;
  background: var(--graphite-2);
  border: 1px solid var(--line-dark);
  padding: clamp(22px, 2.6vw, 34px);
}
.cform__label {
  text-align: center;
  color: var(--steel);
  letter-spacing: 0.2em;
  margin-bottom: 28px;
}
.cform__row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.cform__field { display: block; margin-bottom: 18px; }
.cform__gotcha {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.cform__field > span {
  display: block;
  font-size: 10.5px; letter-spacing: 0.16em;
  color: rgba(243, 241, 236, 0.62);
  margin-bottom: 8px;
}
.cform__legend {
  font-size: 10.5px; letter-spacing: 0.16em;
  color: rgba(243, 241, 236, 0.62);
  padding: 0;
  margin-bottom: 12px;
}
.cform__checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}
.cform__check {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(243, 241, 236, 0.26);
  padding: 11px 13px;
  cursor: pointer;
  font-size: 13.5px;
  line-height: 1.35;
  transition: border-color 0.25s, background 0.25s;
}
.cform__check:hover { border-color: var(--orange); }
.cform__check:has(input:checked) {
  border-color: var(--orange);
  background: rgba(255, 78, 26, 0.08);
}
.cform .cform__check input {
  appearance: none;
  width: 15px; height: 15px;
  flex: none;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(243, 241, 236, 0.4);
  border-radius: 0;
  display: grid; place-items: center;
  cursor: pointer;
}
.cform .cform__check input::after {
  content: "";
  width: 7px; height: 7px;
  background: var(--orange);
  opacity: 0;
  transition: opacity 0.15s;
}
.cform .cform__check input:checked::after { opacity: 1; }
.cform input, .cform textarea, .cform select {
  width: 100%;
  background: rgba(243, 241, 236, 0.055);
  border: 1px solid rgba(243, 241, 236, 0.26);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  padding: 13px 14px;
  border-radius: 0;
  resize: vertical;
  transition: border-color 0.3s, background 0.3s;
}
.cform select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--steel) 50%),
    linear-gradient(135deg, var(--steel) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 15px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
  cursor: pointer;
}
.cform select option { color: var(--ink); background: var(--paper); }
.cform input::placeholder, .cform textarea::placeholder { color: rgba(243, 241, 236, 0.38); }
.cform input:focus, .cform textarea:focus, .cform select:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(243, 241, 236, 0.085);
}
.cform .btn {
  margin-top: 10px;
  width: 100%;
  justify-content: space-between;
  background: var(--orange);
  border-color: var(--orange);
  color: var(--graphite);
  font-weight: 600;
  transition: background 0.3s, border-color 0.3s;
}
.cform .btn::before { display: none; }
.cform .btn:hover {
  background: #FF6B3D;
  border-color: #FF6B3D;
  color: var(--graphite);
}
.cform__hint {
  margin-top: 18px;
  max-width: 520px;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0;
  color: rgba(243, 241, 236, 0.68);
}

.btn--hero { border-color: rgba(243, 241, 236, 0.75); color: var(--paper); }
.btn--hero::before { background: var(--paper); }
.btn--hero:hover { color: var(--graphite); }

.btn--light { border-color: var(--paper); color: var(--paper); }
.btn--light::before { background: var(--paper); }
.btn--light:hover { color: var(--graphite); }


.foot { background: var(--graphite); color: var(--paper); position: relative; }

.thanks {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--graphite);
  color: var(--paper);
  text-align: center;
  padding: clamp(88px, 12vw, 160px) var(--pad);
}
.thanks__title {
  font-size: clamp(4rem, 15vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.thanks__text {
  max-width: 580px;
  color: var(--steel);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.55;
}
.thanks__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}
.thanks__actions .btn,
.thanks__actions .ulink { margin-top: 0; }
.foot__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  border-top: 1px solid var(--line-dark);
  padding: 22px 0 30px;
}
.foot__bar .mono { color: var(--steel); font-size: 10px; letter-spacing: 0.16em; }
.foot__bar a { transition: color 0.25s; }
.foot__bar a:hover { color: var(--paper); }
.foot__perf {
  height: 7px;
  background:
    linear-gradient(-45deg, #0D0F11 5px, transparent 0) 0 0 / 10px 7px repeat-x,
    linear-gradient(45deg, #0D0F11 5px, transparent 0) 0 0 / 10px 7px repeat-x;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .panel { border-bottom: 1px solid var(--line); }
  .panel:nth-child(2n) { border-right: 0; }
  .panel__desc { max-height: none; opacity: 1; }

  /* mobile flow: card left, text right, connectors between cards (never over text) */
  .flow__diagram {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 440px;
  }
  .flow__line { display: none; }
  .node {
    width: 100%;
    display: grid;
    grid-template-columns: 74px 1fr;
    grid-template-rows: auto auto;
    column-gap: 22px;
    align-items: center;
    align-content: center;
    text-align: left;
    padding: 0;
    position: relative;
  }
  .node__card { grid-row: 1 / 3; margin: 0; }
  .node__name { margin-top: 0; align-self: end; }
  .node__sub { margin-top: 3px; align-self: start; }
  .node + .node::before, .receipt::before {
    content: "";
    position: absolute;
    left: 36px; top: -40px;
    width: 2px; height: 40px;
    background: var(--orange);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    transition-delay: calc(var(--n, 0) * 180ms);
  }
  .receipt::before { transition-delay: 1s; }
  .flow__diagram.play .node + .node::before,
  .flow__diagram.play .receipt::before { opacity: 1; }
  .receipt { position: relative; padding: 0; width: auto; max-width: 100%; align-items: flex-start; margin-top: 0; }
  .receipt__paper--real { margin: 0; }
}

@media (max-width: 900px) {
  .nav__links, .nav__tel { display: none; }
  .nav__burger { display: block; }

  .oblasti__head, .teren__head, .grupa__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .grupa__tree { order: 2; width: min(100%, 360px); }

  .cform__row { grid-template-columns: 1fr; gap: 0; }

  .mywash { grid-template-columns: 1fr; }
  .mywash__visual { min-height: 0; margin-top: 12px; }
  .frame--lg { position: relative; width: 94%; margin-left: auto; }
  .frame--sm { bottom: -30px; width: 46%; }

  .teren__grid { grid-template-columns: 1fr 1fr; }
  .tframe--a, .tframe--b, .tframe--c { margin-top: 0; }
  .tframe--b { grid-column: 1 / -1; }

  /* mobile: everything in one left-aligned column next to the index */
  .row__a {
    grid-template-columns: 40px 1fr;
    row-gap: 6px;
    align-items: baseline;
    padding: 22px 0;
  }
  .row__idx { grid-column: 1; grid-row: 1; }
  .row__name { grid-column: 2; grid-row: 1; }
  .row__desc { grid-column: 2; grid-row: 2; }
  .row__link { grid-column: 2; grid-row: 3; justify-self: start; }
  .row__link:empty { display: none; }
}

@media (max-width: 640px) {
  .strip__row { flex-direction: column; gap: 34px; }
  .strip__item:not(:last-child) .strip__word::after { display: none; }
  .strip__item { border-bottom: 1px solid var(--line); padding-bottom: 26px; width: 100%; }
  .strip__item:last-child { border-bottom: 0; padding-bottom: 0; }

  .bento { grid-template-columns: 1fr; }
  .panel { border-right: 0; aspect-ratio: 3 / 3.4; }

  .teren__grid { grid-template-columns: 1fr; }
  .hero__side { display: none; }

  /* on phones anchor hero text near the top, under the nav, full 100svh stays */
  .hero { align-items: flex-start; }
  .hero__content { padding-top: clamp(190px, 28svh, 250px); padding-bottom: 56px; }

  .foot__bar { flex-direction: column; gap: 8px; padding: 20px 0 24px; text-align: center; }
}

/* ---------- No-anim test hook (?noanim) ---------- */
html.noanim *, html.noanim *::before, html.noanim *::after {
  transition: none !important;
  animation: none !important;
}
html.noanim [data-reveal], html.noanim [data-load],
html.noanim .hero__title .line > span,
html.noanim .node__card, html.noanim .node__name, html.noanim .node__sub,
html.noanim .receipt__paper, html.noanim .receipt__slip {
  opacity: 1 !important;
  transform: none !important;
}
html.noanim .flow__line { transform: scaleX(1) !important; }
html.noanim .strip__icon { stroke-dashoffset: 0 !important; }
html.noanim .hero__bg img { transform: none !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], [data-load],
  .hero__title .line > span,
  .node__card, .node__name, .node__sub,
  .receipt__paper, .receipt__slip, .flow__line {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .flow__diagram .flow__line { transform: scaleX(1) !important; }
  .hero__bg img { transform: none; transition: none; }
  .hero__scroll span::after { animation: none; }
  .strip__icon { stroke-dashoffset: 0; animation: none !important; }
}

/* ============================================================
   Solution-page template (resenja/*)
   ============================================================ */
.phero {
  position: relative;
  min-height: 74svh;
  background: var(--graphite);
  color: var(--paper);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.phero__bg { position: absolute; inset: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.phero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(23,25,29,0.30), rgba(23,25,29,0.30)),
    linear-gradient(180deg, rgba(23,25,29,0.45) 0%, rgba(23,25,29,0) 32%),
    linear-gradient(76deg, rgba(23,25,29,0.94) 0%, rgba(23,25,29,0.6) 46%, rgba(23,25,29,0.12) 80%);
}
.phero__content {
  position: relative; z-index: 2;
  padding: 140px var(--pad) clamp(48px, 7vh, 90px);
  max-width: 1000px;
}
.phero__crumb {
  color: var(--paper-70);
  letter-spacing: 0.18em;
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line-dark);
  display: inline-block;
}
.phero__crumb a { color: inherit; }
.phero__title {
  font-size: clamp(2rem, 4.6vw, 3.7rem);
  font-weight: 690;
  font-stretch: 108%;
  line-height: 1.04;
  letter-spacing: -0.022em;
  max-width: 20ch;
}
.phero__lead {
  max-width: 52ch;
  margin-top: 22px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  color: rgba(243, 241, 236, 0.85);
}
.phero .hero__actions,
.mywash__text .hero__actions,
.split__text .hero__actions,
.tabla .hero__actions,
.dnevnik .hero__actions { margin-top: 32px; }

/* four-item strip variant: locked to four columns, never wraps to a second row */
.strip__row--four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.strip__row--four .strip__word { font-size: clamp(1.3rem, 1.65vw, 1.85rem); }
.strip__row--four .strip__cap { max-width: 34ch; }
@media (max-width: 640px) {
  .strip__row--four { grid-template-columns: 1fr; gap: 34px; }
}

/* koraci (process steps) */
.koraci { padding: var(--sect) var(--pad); max-width: var(--max); margin: 0 auto; }
.koraci__head { margin-bottom: clamp(44px, 6vw, 72px); }
.koraci__head .label { margin-bottom: 20px; }
.koraci__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
  list-style: none;
}
.korak {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
}
.korak__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.korak__idx { color: var(--orange); letter-spacing: 0.14em; }
.korak__icon {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.78;
  flex: none;
}
.korak__name {
  margin-top: 30px;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 640; font-stretch: 110%;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.korak__desc { margin-top: 8px; color: var(--steel-dark); font-size: 14.5px; }

/* FAQ */
.faq { background: var(--sand); padding: var(--sect) var(--pad); }
.faq__head { max-width: 880px; margin: 0 auto clamp(40px, 5vw, 64px); }
.faq__head .label { margin-bottom: 20px; }
.faq__list { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 2px;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 560; font-stretch: 106%;
  letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i {
  position: relative;
  flex: none;
  width: 14px; height: 14px;
}
.faq__item summary i::before, .faq__item summary i::after {
  content: "";
  position: absolute;
  background: var(--orange);
  transition: transform 0.35s var(--ease);
}
.faq__item summary i::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq__item summary i::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq__item[open] summary i::after { transform: scaleY(0); }
.faq__item > p {
  padding: 0 2px 24px;
  max-width: 62ch;
  color: var(--steel-dark);
  font-size: 15px;
  line-height: 1.65;
}

/* related links embedded at the end of the FAQ section */
.faq__related {
  max-width: 880px;
  margin: clamp(44px, 6vw, 68px) auto 0;
}
.faq__related .label { margin-bottom: 18px; }

@media (max-width: 900px) {
  .koraci__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .koraci__list { grid-template-columns: 1fr; gap: 28px; }
  .korak__name { margin-top: 24px; }
  .phero { min-height: 88svh; }
  .phero__content { padding-top: 170px; }
}

/* resenja: perionice v2 sections
   full-bleed background, content constrained to --max via padding-inline */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  padding: var(--sect) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  background: var(--paper);
}
.split__media {
  border: 0;
  overflow: hidden;
}
.split__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.split__text .label { margin-bottom: 22px; }
.split__desc {
  max-width: 46ch;
  margin-top: 22px;
  color: var(--steel-dark);
  font-size: 15.5px;
}
.split__rows {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}
.split__rows li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.split__rows li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--orange);
}

.nadzor {
  padding: var(--sect) var(--pad);
  background: var(--graphite);
  color: var(--paper);
}
.nadzor__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}
.nadzor__text .label { margin-bottom: 22px; }
.nadzor__sub {
  max-width: 46ch;
  margin-top: 16px;
  color: var(--steel);
  font-size: 15.5px;
}
.nadzor__chips {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 34px;
}
.nadzor__media {
  border: 0;
  overflow: hidden;
}
.nadzor__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* split modifiers: mirrored + sand background (lojalnost) */
.split--sand { background: var(--sand); }
.split--sand .split__media { border-color: var(--line-strong); }
.split--rev .split__media { order: 2; }
.split--rev .split__text { order: 1; }
.split__media--square { max-width: 560px; justify-self: end; }
.split--rev .split__media--square { justify-self: end; }

.split__media,
.split__text,
.nadzor__text,
.nadzor__media { min-width: 0; }

@media (max-width: 900px) {
  .split,
  .nadzor__inner { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split--rev .split__text { order: 1; }
  .split__media--square { max-width: 100%; justify-self: stretch; }
}

/* ============================================================
   Sitewide template additions (hubs, guides, legal, footer)
   ============================================================ */

/* ---------- Light page head (text pages, hubs without photo) ---------- */
.pagehead {
  padding: clamp(150px, 18vh, 200px) var(--pad) clamp(44px, 6vw, 80px);
  max-width: var(--max);
  margin: 0 auto;
}
.pagehead__crumb {
  color: var(--steel-dark);
  letter-spacing: 0.18em;
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  display: inline-block;
}
.pagehead__crumb a:hover { color: var(--orange); }
.pagehead__title {
  font-size: clamp(2.2rem, 5.6vw, 4.6rem);
  font-weight: 690;
  font-stretch: 108%;
  line-height: 1.02;
  letter-spacing: -0.022em;
  max-width: 22ch;
}
.pagehead__lead {
  max-width: 56ch;
  margin-top: 22px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--steel-dark);
}
.pagehead .hero__actions { margin-top: 30px; }
.pagehead .ulink { border-bottom-color: var(--line-strong); }

/* ---------- Hub sections + card grid ---------- */
.hubsec {
  padding: 0 var(--pad) calc(var(--sect) * 0.8);
  max-width: var(--max);
  margin: 0 auto;
}
.hubsec__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  border-top: 1px solid var(--line-strong);
  padding: 16px 0 clamp(28px, 4vw, 44px);
}
.hubsec__head .mono-right { font-size: 10.5px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cards--four { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 10px;
  min-height: 218px;
  padding: 24px 26px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background 0.35s;
}
.card:hover { background: var(--sand); }
.card__idx { color: var(--orange); letter-spacing: 0.14em; }
.card__name {
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  font-weight: 650; font-stretch: 112%;
  line-height: 1.08;
  letter-spacing: -0.012em;
}
.card__desc { color: var(--steel-dark); font-size: 14px; line-height: 1.55; max-width: 36ch; }
.card__tag { margin-top: auto; padding-top: 14px; color: var(--steel); letter-spacing: 0.14em; font-size: 10px; }
.card__arrow {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  transition: background 0.35s, border-color 0.35s, transform 0.5s var(--ease);
}
.card__arrow svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.card:hover .card__arrow { background: var(--orange); border-color: var(--orange); color: var(--paper); transform: translate(2px, -2px); }
.card--static:hover { background: var(--paper); }

/* ---------- Generic bullet rows on light bg ---------- */
.rows { margin-top: 34px; border-top: 1px solid var(--line); }
.rows li {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.12em; line-height: 1.7;
}
.rows li::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--orange); }

/* ---------- Prose (guides, legal) — left-aligned under the pagehead ---------- */
.prose {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) calc(var(--sect) * 0.8);
  font-size: 16.5px;
  line-height: 1.72;
}
.prose > * { max-width: 74ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  margin-top: 2.1em;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 650; font-stretch: 110%;
  line-height: 1.12; letter-spacing: -0.015em;
}
.prose h3 {
  margin-top: 1.8em;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 620; font-stretch: 108%;
  line-height: 1.2;
}
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li { margin-top: 0.5em; }
.prose li::marker { color: var(--orange); }
.prose a { border-bottom: 1px solid var(--orange); transition: color 0.25s; }
.prose a:hover { color: var(--orange); }
.prose strong { font-weight: 640; }
.prose .prose__note { color: var(--steel-dark); font-size: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-dark); font-weight: 500; }
.prose__meta {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  margin: 0 auto;
  max-width: var(--max);
  padding: 0 var(--pad) 34px;
  color: var(--steel-dark);
  font-size: 10.5px; letter-spacing: 0.14em;
}

/* ---------- Related links ---------- */
.related {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--sect) * 0.5) var(--pad) calc(var(--sect) * 0.7);
}
.related__head { margin-bottom: 20px; }
.related__list { display: flex; flex-wrap: wrap; gap: 10px; }
.related__list a {
  border: 1px solid var(--line-strong);
  padding: 10px 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.related__list a:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- CTA band (compact dark call-to-action) ---------- */
.ctaband {
  background: var(--graphite);
  color: var(--paper);
  padding: clamp(56px, 8vw, 100px) var(--pad);
}
.ctaband__inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 28px 48px; flex-wrap: wrap;
}
.ctaband__title {
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  font-weight: 660; font-stretch: 110%;
  line-height: 1.06; letter-spacing: -0.02em;
  max-width: 24ch;
}
.ctaband__sub { color: var(--steel); margin-top: 12px; font-size: 15px; max-width: 52ch; }
.ctaband .btn { margin-top: 0; }

/* ---------- Footer: brand + contact, one nav row, legal bar ---------- */
.foot__top, .foot__nav, .foot__links, .foot__bar {
  margin-inline: var(--pad);
  max-width: calc(var(--max) - 2 * var(--pad));
}
@media (min-width: 1701px) { .foot__top, .foot__nav, .foot__links, .foot__bar { margin-inline: auto; } }

.foot__nav {
  display: flex; flex-wrap: wrap;
  gap: 14px 40px;
  border-top: 1px solid var(--line-dark);
  padding: clamp(26px, 3.5vw, 38px) 0;
}
.foot__nav a {
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel);
  transition: color 0.25s;
}
.foot__nav a:hover { color: var(--paper); }

.foot__top {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 36px 48px; flex-wrap: wrap;
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 5vw, 60px);
}
.foot__logo {
  font-weight: 800; font-stretch: 125%;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: 0.08em; line-height: 1;
}
.foot__tag {
  color: var(--steel);
  margin-top: 14px;
  font-size: 14.5px; line-height: 1.6;
  max-width: 38ch;
}
.foot__contact {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 9px; text-align: right;
}
.foot__tel {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 330; font-stretch: 105%;
  letter-spacing: -0.01em; line-height: 1;
  transition: color 0.3s;
}
.foot__tel:hover { color: var(--orange); }
.foot__mail {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  color: var(--steel);
  transition: color 0.25s;
}
.foot__mail:hover { color: var(--paper); }
.foot__addr { color: var(--steel); font-size: 10px; letter-spacing: 0.16em; }

.foot__links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 48px;
  padding: clamp(40px, 5vw, 60px) 0 clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line-dark);
}
.foot__col h3 {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.foot__col a {
  display: block;
  width: fit-content;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em;
  color: var(--steel);
  padding: 7px 0;
  transition: color 0.25s;
}
.foot__col a:hover { color: var(--paper); }

/* ---------- Kontakt page: split contact card ---------- */
.khero {
  display: grid;
  grid-template-columns: minmax(400px, 5fr) 7fr;
}
.khero__card {
  background: var(--graphite);
  color: var(--paper);
  padding: clamp(150px, 18vh, 200px) clamp(32px, 4vw, 72px) clamp(48px, 7vh, 88px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  display: flex; flex-direction: column;
}
.khero__crumb {
  color: rgba(243, 241, 236, 0.55);
  letter-spacing: 0.18em;
  padding-bottom: 14px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line-dark);
  align-self: flex-start;
}
.khero__crumb a:hover { color: var(--orange); }
.khero__title {
  font-size: clamp(2.3rem, 3.6vw, 3.7rem);
  font-weight: 700; font-stretch: 108%;
  line-height: 1.05; letter-spacing: -0.025em;
  text-wrap: balance;
}
.khero__lead {
  margin-top: 20px;
  max-width: 38ch;
  color: var(--steel);
  font-size: 15.5px; line-height: 1.65;
}
.kchan {
  margin-top: clamp(44px, 7vh, 80px);
  border-top: 1px solid var(--line-dark);
}
.kchan li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-dark);
}
.kchan .k { color: var(--steel); font-size: 10px; letter-spacing: 0.18em; flex: none; }
.kchan .v {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 330; font-stretch: 105%;
  letter-spacing: -0.01em;
  text-align: right;
  transition: color 0.3s;
}
.kchan a.v:hover { color: var(--orange); }
.kchan .v--m { font-size: clamp(1.1rem, 1.5vw, 1.4rem); }
.kchan .v--addr { font-size: clamp(0.95rem, 1.2vw, 1.1rem); color: rgba(243, 241, 236, 0.8); }
.khero__note { margin-top: auto; padding-top: 36px; color: var(--steel); letter-spacing: 0.16em; font-size: 10px; }

.khero__form {
  background: var(--paper);
  padding: clamp(150px, 18vh, 200px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) clamp(56px, 7vh, 90px) clamp(32px, 4vw, 72px);
}
.khero__form .label { margin-bottom: 14px; }
.khero__formtitle {
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  font-weight: 650; font-stretch: 110%;
  line-height: 1.12; letter-spacing: -0.015em;
  max-width: 24ch;
  margin-bottom: clamp(28px, 4vh, 44px);
}

/* light form variant (dark-on-paper) */
.cform--light { margin: 0; max-width: 640px; text-align: left; background: var(--paper); color: var(--ink); border-color: var(--line); }
.cform--light .cform__field > span { color: var(--steel-dark); }
.cform--light .cform__legend { color: var(--steel-dark); }
.cform--light .cform__check { border-color: rgba(17, 20, 23, 0.3); }
.cform--light .cform__check:has(input:checked) {
  border-color: var(--orange);
  background: rgba(255, 78, 26, 0.08);
}
.cform--light input, .cform--light textarea, .cform--light select {
  background-color: rgba(17, 20, 23, 0.03);
  border: 1px solid rgba(17, 20, 23, 0.3);
  color: var(--ink);
}
.cform--light select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--steel-dark) 50%),
    linear-gradient(135deg, var(--steel-dark) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 15px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.cform--light select option { color: var(--ink); background: var(--paper); }
.cform--light input::placeholder, .cform--light textarea::placeholder { color: #656970; }
.cform--light input:focus, .cform--light textarea:focus, .cform--light select:focus {
  border-color: var(--orange);
  background-color: rgba(17, 20, 23, 0.05);
}
.cform--light .cform__hint { color: var(--steel-dark); }

/* Field guidance stays visible while typing; optional details can be skipped. */
.cform__field > .cform__help {
  font-family: var(--sans); font-size: 13px; line-height: 1.5;
  letter-spacing: 0; color: var(--paper-70); margin: 7px 0;
}
.cform__field > span small { font-size: 11px; letter-spacing: 0; text-transform: none; }
.cform__required { font-size: 12px; color: var(--paper-70); margin: 0 0 8px; }
.cform__hint a { text-decoration: underline; text-underline-offset: 3px; }
.cform input::placeholder, .cform textarea::placeholder { color: #adb1b8; }
.cform--light .cform__field > span, .cform--light .cform__field > .cform__help,
.cform--light .cform__required, .cform--light .cform__hint { color: #555b63; }
.cform--light input::placeholder, .cform--light textarea::placeholder { color: #656970; }

@media (max-width: 1000px) {
  .khero { grid-template-columns: 1fr; }
  .khero__card { padding-top: 150px; padding-right: var(--pad); }
  .khero__form { padding-top: clamp(48px, 8vw, 72px); padding-left: var(--pad); }
  .kchan .v { text-align: left; }
  .kchan li { flex-direction: column; gap: 6px; align-items: flex-start; }
  .khero__note { margin-top: 40px; }
}

@media (max-width: 560px) {
  .cform__checks { grid-template-columns: 1fr; }
}

/* ---------- O nama: cornerstone hero, annotated story, chain ---------- */
.ohero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(150px, 18vh, 200px) var(--pad) clamp(56px, 8vw, 110px);
}
.ohero__crumb {
  color: var(--steel-dark);
  letter-spacing: 0.18em;
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  display: inline-block;
}
.ohero__crumb a:hover { color: var(--orange); }
.ohero__title {
  font-size: clamp(2.4rem, 5.8vw, 5rem);
  font-weight: 690;
  font-stretch: 108%;
  line-height: 1;
  letter-spacing: -0.024em;
}
.ohero__lead {
  max-width: 52ch;
  margin-top: 22px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--steel-dark);
}

.oplate {
  position: relative;
  padding: clamp(26px, 3vw, 44px) clamp(28px, 3.2vw, 48px);
  text-align: right;
}
.oplate__tick { position: absolute; width: 16px; height: 16px; }
.oplate__tick--tl { top: 0; left: 0; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.oplate__tick--tr { top: 0; right: 0; border-top: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); }
.oplate__tick--bl { bottom: 0; left: 0; border-bottom: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.oplate__tick--br { bottom: 0; right: 0; border-bottom: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); }
.oplate__pre { color: var(--steel-dark); font-size: 10.5px; letter-spacing: 0.22em; }
.oplate__year {
  font-size: clamp(5.4rem, 9.5vw, 9.5rem);
  font-weight: 700;
  font-stretch: 112%;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-top: 6px;
}
.oplate__year .sq { width: 0.11em; height: 0.11em; margin-left: 0.05em; }
.oplate__post {
  margin-top: 14px;
  color: var(--steel-dark);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.oprica { max-width: 1060px; }
.oprica__row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px 48px;
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
}
.oprica__row:last-child { border-bottom: 0; }
.oprica__note { color: var(--orange); font-size: 10.5px; letter-spacing: 0.2em; padding-top: 7px; }
.oprica__p {
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  line-height: 1.68;
  max-width: 62ch;
}
.oprica__legal {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--steel);
  font-size: 10px;
  letter-spacing: 0.16em;
}
.opolja__note {
  margin-top: 20px;
  color: var(--steel);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.lanac__intro {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  font-weight: 650;
  font-stretch: 110%;
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.lanac {
  border-left: 1px solid var(--line-strong);
  max-width: 1060px;
}
.lanac li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 220px minmax(0, 1fr);
  gap: 8px 32px;
  align-items: baseline;
  padding: clamp(20px, 2.6vw, 30px) 0 clamp(20px, 2.6vw, 30px) clamp(28px, 3vw, 44px);
  border-bottom: 1px solid var(--line);
}
.lanac li:last-child { border-bottom: 0; }
.lanac li::before {
  content: "";
  position: absolute;
  left: -4px;
  top: clamp(30px, 3.4vw, 41px);
  width: 7px; height: 7px;
  background: var(--orange);
}
.lanac__idx { color: var(--steel); letter-spacing: 0.16em; }
.lanac__name {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 650;
  font-stretch: 110%;
  letter-spacing: -0.012em;
  line-height: 1.1;
}
.lanac__desc { color: var(--steel-dark); font-size: 15px; line-height: 1.6; max-width: 52ch; }
.lanac__tail {
  margin-top: clamp(40px, 5vw, 64px);
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  font-weight: 630;
  font-stretch: 108%;
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 34ch;
}
.lanac__tail::before {
  content: "";
  display: inline-block;
  width: 0.5em; height: 0.5em;
  margin-right: 0.45em;
  background: var(--orange);
}

.opolja {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.opolja a {
  display: block;
  padding: clamp(24px, 2.8vw, 34px) clamp(24px, 2.8vw, 36px) clamp(28px, 3vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s;
}
.opolja a:hover { background: var(--sand); }
.opolja__name {
  display: flex; align-items: center; gap: 14px;
  font-size: clamp(1.4rem, 2.1vw, 1.9rem);
  font-weight: 660;
  font-stretch: 110%;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.opolja__name svg {
  width: 15px; height: 15px; flex: none;
  fill: none; stroke: var(--steel); stroke-width: 1.5;
  transition: stroke 0.3s, transform 0.5s var(--ease);
}
.opolja a:hover .opolja__name svg { stroke: var(--orange); transform: translate(2px, -2px); }
.opolja__desc { margin-top: 10px; color: var(--steel-dark); font-size: 14px; line-height: 1.55; max-width: 40ch; }

.onacela-sec { background: var(--sand); padding: calc(var(--sect) * 0.55) 0 calc(var(--sect) * 0.7); }
.onacela-sec__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.onacela {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.onacela > div {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding: clamp(28px, 3.2vw, 40px) clamp(26px, 3vw, 38px) clamp(32px, 3.6vw, 46px);
}
.onacela__gnum {
  position: absolute;
  top: -0.18em; right: 6px;
  font-size: clamp(5rem, 7vw, 7.5rem);
  font-weight: 700;
  font-stretch: 112%;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  opacity: 0.055;
  pointer-events: none;
}
.onacela__name {
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  font-weight: 650;
  font-stretch: 110%;
  letter-spacing: -0.012em;
  line-height: 1.15;
  max-width: 18ch;
}
.onacela__desc { margin-top: 12px; color: var(--steel-dark); font-size: 14.5px; line-height: 1.6; max-width: 44ch; }

@media (max-width: 1000px) {
  .ohero { grid-template-columns: 1fr; align-items: start; gap: 48px; }
  .oplate { justify-self: start; text-align: left; }
  .lanac li { grid-template-columns: 40px minmax(0, 1fr); }
  .lanac__desc { grid-column: 2; }
}
@media (max-width: 700px) {
  .oprica__row { grid-template-columns: 1fr; gap: 8px; }
  .oprica__note { padding-top: 0; }
  .opolja { grid-template-columns: 1fr; }
  .onacela { grid-template-columns: 1fr; }
}

/* ---------- Kartice sa žetonima: schematic card hero ---------- */
.zhero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(150px, 18vh, 200px) var(--pad) clamp(48px, 7vw, 96px);
}
.zhero .pagehead__title { max-width: 16ch; }
.zhero .hero__actions { margin-top: 30px; }
.zhero .ulink { border-bottom-color: var(--line-strong); }
.zhero__plate {
  position: relative;
  padding: clamp(26px, 3vw, 44px);
}
.zhero__card { display: block; width: 100%; height: auto; }
.zhero__card rect, .zhero__card path { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.zhero__card .zc-chip { stroke-width: 1.2; }
.zhero__card .zc-wave { stroke: var(--orange); stroke-width: 1.6; }
.zhero__card .zc-tok { stroke: var(--steel-dark); stroke-width: 1.2; }
.zhero__card .zc-tok--full { fill: var(--orange); stroke: var(--orange); }
.zhero__card text { font-family: var(--mono); fill: var(--ink); }
.zhero__card .zc-brand { font-size: 17px; letter-spacing: 0.3em; font-weight: 500; }
.zhero__card .zc-type { font-size: 9.5px; letter-spacing: 0.22em; fill: var(--steel-dark); }
.zhero__cap {
  margin-top: 18px;
  color: var(--steel-dark);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-align: center;
}

@media (max-width: 1000px) {
  .zhero { grid-template-columns: 1fr; gap: 44px; }
  .zhero__plate { max-width: 440px; }
}

/* ---------- Žetonjeri i menjači: money path, datasheets, counter band ---------- */
.tok {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 44px) var(--pad) calc(var(--sect) * 0.7);
}
.tok__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 clamp(16px, 2vw, 32px);
  margin-top: clamp(24px, 3vw, 40px);
}
.tok__step {
  position: relative;
  padding-top: 30px;
}
.tok__step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: calc(clamp(16px, 2vw, 32px) * -1);
  border-top: 1px dashed var(--line-strong);
}
.tok__step:last-child::before { right: 0; }
.tok__step::after {
  content: "";
  position: absolute;
  top: -3.5px; left: 0;
  width: 7px; height: 7px;
  background: var(--orange);
}
.tok__idx { margin-top: 16px; color: var(--orange); font-size: 10px; letter-spacing: 0.18em; }
.tok__name {
  margin-top: 6px;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 650; font-stretch: 110%;
  letter-spacing: -0.01em;
}
.tok__cap { margin-top: 8px; color: var(--steel-dark); font-size: 10px; letter-spacing: 0.12em; max-width: 24ch; }
.tok .strip__icon { width: 30px; height: 30px; }

/* ---------- Parking: naplatna stanica, rekreacije ekrana kioska ---------- */
.ekrani {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--sect) * 0.7) var(--pad) 0;
}
.ekrani__head .h2 { margin-top: 18px; }
.ekrani__intro {
  margin-top: 20px;
  max-width: 62ch;
  color: var(--steel-dark);
  font-size: 15.5px;
  line-height: 1.65;
}
.ekrani__row {
  margin-top: clamp(44px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
}

.igk-screen {
  position: relative;
  background: linear-gradient(165deg, var(--graphite-2), var(--graphite) 60%);
  border-radius: 14px;
  box-shadow:
    0 24px 50px rgba(17, 20, 23, 0.2),
    inset 0 0 0 1px rgba(243, 241, 236, 0.07);
  color: var(--paper);
  aspect-ratio: 10 / 13;
  padding: clamp(18px, 1.8vw, 28px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.igk-screen svg { max-width: 100%; }

.igk-top {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.08em;
  color: var(--paper-70);
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(243, 241, 236, 0.1);
}
.igk-clock, .igk-lang { min-width: 40px; }
.igk-lang { text-align: right; }
.igk-p {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: #2563eb;
  color: #fff;
  border-radius: 5px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12.5px;
}

.igk-hero {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 26px;
  text-align: center;
}
.igk-ring {
  position: relative;
  width: clamp(88px, 8.5vw, 124px);
  aspect-ratio: 1;
  border: 1.5px solid rgba(243, 241, 236, 0.3);
  border-radius: 50%;
  display: grid; place-items: center;
}
.igk-ring > svg {
  width: 56%;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.igk-badge {
  position: absolute;
  right: -3px; bottom: -3px;
  width: 30px; height: 30px;
  background: #2563eb;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--graphite);
  display: grid; place-items: center;
}
.igk-badge svg { width: 14px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.igk-h1 {
  font-size: clamp(1.25rem, 1.6vw, 1.65rem);
  font-weight: 650; font-stretch: 108%;
  line-height: 1.18; letter-spacing: -0.012em;
}
.igk-sub { margin-top: 8px; color: var(--steel); font-size: 12px; letter-spacing: 0.04em; }
.igk-foot {
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid rgba(243, 241, 236, 0.1);
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--paper-70);
}
.igk-foot b { font-weight: 700; color: var(--paper); }

.igk-plate {
  margin: 24px auto 0;
  display: flex; align-items: stretch;
  background: #fff;
  color: #14161a;
  border: 2px solid #14161a;
  border-radius: 7px;
  overflow: hidden;
  width: fit-content;
}
.igk-plate-band {
  background: #2151a3;
  color: #fff;
  font-size: 8.5px; font-weight: 600;
  letter-spacing: 0.04em;
  display: grid; place-items: end center;
  padding: 4px 4px 5px;
}
.igk-plate-num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.4vw, 1.45rem);
  letter-spacing: 0.05em;
  padding: 7px 13px 8px;
}
.igk-meta {
  margin-top: 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.igk-meta > div { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
.igk-meta .k { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; color: var(--steel); }
.igk-meta .v { font-size: 14.5px; font-weight: 550; }
.igk-due {
  margin-top: 18px;
  padding: 13px 0 15px;
  border-top: 1px solid rgba(243, 241, 236, 0.12);
  border-bottom: 1px solid rgba(243, 241, 236, 0.12);
  text-align: center;
}
.igk-due .k { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; color: var(--steel); }
.igk-due .v {
  margin-top: 5px;
  font-size: clamp(1.7rem, 2.2vw, 2.25rem);
  font-weight: 700; font-stretch: 110%;
  letter-spacing: -0.015em;
  line-height: 1;
}
.igk-due .v small {
  font-size: 0.42em; font-weight: 500;
  letter-spacing: 0.08em;
  margin-left: 7px; vertical-align: 0.32em;
  color: var(--paper-70);
}
.igk-pay { margin-top: 14px; display: flex; flex-direction: column; }
.igk-way { display: flex; align-items: center; gap: 13px; padding: 11px 0; }
.igk-way + .igk-way { border-top: 1px solid rgba(243, 241, 236, 0.09); }
.igk-way > svg { width: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; }
.igk-way .t { font-size: 13.5px; font-weight: 520; }
.igk-way .s { margin-top: 3px; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.14em; color: var(--steel); }

.igk-done {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
}
.igk-done-ring {
  width: clamp(64px, 6vw, 84px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #2563eb;
  display: grid; place-items: center;
}
.igk-done-ring svg { width: 44%; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.igk-done .h {
  margin-top: 20px;
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);
  font-weight: 680; font-stretch: 108%;
  letter-spacing: -0.012em;
}
.igk-done .s { margin-top: 6px; color: var(--steel); font-size: 12.5px; }
.igk-fiscal {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(243, 241, 236, 0.22);
  border-radius: 6px;
  padding: 9px 14px;
}
.igk-fiscal svg { width: 17px; height: 17px; }
.igk-fiscal span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; color: var(--paper-70); }

/* ulazni tiket: papirni isečak */
.split__media--free {
  border: 0;
  display: grid;
  place-items: center;
  overflow: visible;
}
.tkt {
  background: #FBFAF7;
  color: var(--ink);
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 26px 24px 30px;
  box-shadow: 0 22px 44px rgba(17, 20, 23, 0.18);
  transform: rotate(-1.5deg);
}
.tkt__pre {
  margin: 0;
  font-family: "SF Mono", Menlo, Consolas, "Liberation Mono", "DejaVu Sans Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.03em;
  line-height: 2;
  white-space: pre;
  overflow: hidden;
}
.tkt .tkt__qr { margin: 16px auto 14px; width: 92px; height: 92px; }

@media (max-width: 980px) {
  .ekrani__row {
    grid-template-columns: 1fr;
    max-width: 430px;
    margin: clamp(44px, 6vw, 72px) auto 0;
  }
}

.dvau {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) var(--pad) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 36px);
}
.dvau__panel {
  background: var(--graphite);
  color: var(--paper);
  padding: clamp(28px, 3vw, 42px);
  display: flex;
  flex-direction: column;
}
.dvau__kicker { color: var(--orange); font-size: 10px; letter-spacing: 0.2em; }
.dvau__name {
  margin-top: 10px;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 660; font-stretch: 110%;
  line-height: 1.05; letter-spacing: -0.015em;
}
.dvau__role { margin-top: 14px; color: var(--steel); font-size: 15px; line-height: 1.6; max-width: 40ch; }
.dvau__specs { margin-top: 26px; border-top: 1px solid var(--line-dark); }
.dvau__specs > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
}
.dvau__specs dt { color: var(--steel); font-size: 9.5px; letter-spacing: 0.16em; flex: none; }
.dvau__specs dd { font-size: 10.5px; letter-spacing: 0.12em; text-align: right; color: var(--paper-70); }

.ph {
  position: relative;
  margin-top: 26px;
  aspect-ratio: 5 / 3;
  border: 1px dashed rgba(243, 241, 236, 0.28);
  display: grid;
  place-items: center;
  background:
    linear-gradient(to top right, transparent calc(50% - 0.5px), rgba(243, 241, 236, 0.1) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(to bottom right, transparent calc(50% - 0.5px), rgba(243, 241, 236, 0.1) 50%, transparent calc(50% + 0.5px));
}
.ph__label {
  padding: 8px 14px;
  background: var(--graphite);
  color: var(--steel);
  font-size: 9.5px; letter-spacing: 0.18em;
  text-align: center;
}

.brojac {
  background: var(--graphite);
  color: var(--paper);
  padding: calc(var(--sect) * 0.55) var(--pad) calc(var(--sect) * 0.6);
}
.brojac__inner { max-width: var(--max); margin: 0 auto; }
.brojac__rows { margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line-dark); }
.brojac__rows li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: clamp(18px, 2.6vw, 30px) 0;
  border-bottom: 1px solid var(--line-dark);
}
.brojac__k { color: var(--steel); font-size: 10.5px; letter-spacing: 0.18em; flex: none; }
.brojac__v {
  font-size: clamp(1.5rem, 3.4vw, 2.8rem);
  font-weight: 650; font-stretch: 110%;
  line-height: 1.05; letter-spacing: -0.018em;
  text-align: right;
}
.brojac__v .sq { width: 0.12em; height: 0.12em; }
.brojac__note { margin-top: 26px; color: var(--steel); font-size: 15px; line-height: 1.65; max-width: 52ch; }

@media (max-width: 900px) {
  .tok__list { grid-template-columns: 1fr; border-left: 1px dashed var(--line-strong); gap: 0; margin-left: 3px; }
  .tok__step { padding: 20px 0 20px 26px; }
  .tok__step::before { display: none; }
  .tok__step::after { left: -4px; top: 24px; }
  .dvau { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .brojac__rows li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .brojac__v { text-align: left; }
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
  background: var(--graphite); color: var(--paper);
  text-align: center;
  padding: clamp(88px, 12vw, 160px) var(--pad);
}
.notfound__code {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em;
  color: var(--orange);
}
.notfound__title {
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  font-weight: 700; font-stretch: 110%;
  line-height: 0.95; letter-spacing: -0.03em;
}
.notfound__text { max-width: 520px; color: var(--steel); font-size: 15.5px; line-height: 1.6; }

/* ---------- Responsive for additions ---------- */
@media (max-width: 1100px) {
  .cards--four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .foot__links { grid-template-columns: repeat(2, 1fr); }
  .hubsec__head { flex-direction: column; gap: 8px; }
  .foot__top { flex-direction: column; align-items: flex-start; }
  .foot__contact { align-items: flex-start; text-align: left; }
}
@media (max-width: 640px) {
  .cards, .cards--four { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .pagehead { padding-top: 150px; }
  .ctaband__inner { flex-direction: column; align-items: flex-start; }
}



/* ============================================================
   v6 components (Codex): nav dropdown, minimal footer, new spokes
   --fs-ui compat token pinned to the original mono scale
   ============================================================ */
:root { --fs-ui: 11.5px; }


.menu__group { padding: 14px 0 18px; border-bottom: 1px solid var(--line-dark); }
.menu__kicker { font-size: 11px; letter-spacing: 0.2em; color: var(--steel); margin-bottom: 10px; }
.menu__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.menu nav .menu__sub a {
  font-family: var(--mono); font-size: 12.5px; font-weight: 400; font-stretch: 100%;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 0; padding: 5px 0;
  color: var(--paper-70);
  display: block;
}
.menu nav .menu__sub a:hover { color: var(--orange); }
.menu nav .menu__sub a[aria-current="page"] { color: var(--orange); text-decoration: underline; text-underline-offset: 4px; }
.menu nav .menu__sub a[aria-current="page"]::after { content: none; }

/* ---------- Nav dropdown: Rešenja ---------- */
.nav__drophost { display: inline-flex; align-items: center; gap: 7px; }
.nav__caret {
  width: 9px; height: 6px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  transition: transform 0.3s var(--ease);
}
body.drop-open .nav__caret { transform: rotate(180deg); }

.drop {
  position: fixed; inset: 0 0 auto 0; z-index: 99;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(17, 20, 23, 0.12);
  padding-top: 78px;
  opacity: 0; pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.28s var(--ease), transform 0.36s var(--ease);
}
body.drop-open .drop { opacity: 1; pointer-events: auto; transform: none; }

.drop__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px var(--pad) 46px;
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr minmax(220px, 300px);
  gap: 0;
}

.drop__kicker { font-size: 12px; letter-spacing: 0.16em; color: var(--steel-dark); }

.drop__lead { padding-right: clamp(28px, 3.5vw, 60px); }
.drop__all {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 16px;
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  font-weight: 620; font-stretch: 112%; letter-spacing: -0.01em;
  transition: color 0.25s;
}
.drop__all svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  transition: transform 0.3s var(--ease);
}
.drop__all:hover { color: var(--orange); }
.drop__all:hover svg { transform: translateX(3px); }

.drop__links {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 0 clamp(28px, 3.5vw, 60px);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px clamp(20px, 2.5vw, 44px);
  align-content: start;
}
.drop__links a {
  display: flex; flex-direction: column; gap: 3px;
  padding: 11px 12px;
  margin: 0 -12px;
  transition: background 0.25s;
}
.drop__links a:hover { background: rgba(17, 20, 23, 0.045); }
.drop__name { font-size: 15.5px; font-weight: 560; letter-spacing: -0.005em; transition: color 0.25s; }
.drop__links a:hover .drop__name { color: var(--orange); }
.drop__tag { font-size: 11px; letter-spacing: 0.12em; color: var(--steel); }

.drop__rail { padding-left: clamp(28px, 3.5vw, 60px); }
.drop__note { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--steel-dark); }
.drop .drop__btn { margin-top: 22px; padding: 12px 18px; font-size: 13px; letter-spacing: 0.1em; white-space: nowrap; }
.drop .drop__btn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* pitch left, form right */
.kontakt__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 6vw, 120px);
  align-items: start;
}
.cform__fieldset {
  border: 0;
  margin: 0 0 18px;
  padding: 0;
  min-width: 0;
}

@media (max-width: 900px) {
  .nav__links, .nav__tel, .drop { display: none; }
  .nav__burger { display: block; }

  .oblasti__head, .teren__head, .grupa__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .grupa__tree { order: 2; width: min(100%, 360px); }

  .cform__row { grid-template-columns: 1fr; gap: 0; }
  .kontakt__grid { grid-template-columns: 1fr; gap: 48px; }
  .kontakt__title { max-width: none; }

  .mywash { grid-template-columns: 1fr; }
  .mywash__visual { min-height: clamp(480px, 128vw, 720px); margin-top: 12px; }
  .frame--lg { position: relative; width: 94%; margin-left: auto; }
  .frame--sm { bottom: 0; width: min(46%, 250px); }

  .teren__grid { grid-template-columns: 1fr 1fr; }
  .tframe--a, .tframe--b, .tframe--c { margin-top: 0; }
  .tframe--b { grid-column: 1 / -1; }

  /* mobile: everything in one left-aligned column next to the index */
  .row__a {
    grid-template-columns: 40px 1fr;
    row-gap: 6px;
    align-items: baseline;
    padding: 22px 0;
  }
  .row__idx { grid-column: 1; grid-row: 1; }
  .row__name { grid-column: 2; grid-row: 1; }
  .row__desc { grid-column: 2; grid-row: 2; }
  .row__link { grid-column: 2; grid-row: 3; justify-self: start; }
  .row__link:empty { display: none; }
}
.cards--two { grid-template-columns: repeat(2, 1fr); }
.card--compare { min-height: 0; padding: 30px 32px 34px; }
.card--compare .rows { margin-top: 20px; width: 100%; }
.card--compare .rows li { font-size: var(--fs-ui); }
.card--compare .ulink { margin-top: 22px; border-bottom-color: var(--line-strong); }

/* light spec rows on paper sections */
.specrow { margin-top: clamp(30px, 4vw, 48px); max-width: 760px; border-top: 1px solid var(--line-strong); }
.specrow > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.specrow dt { color: var(--steel-dark); font-size: var(--fs-ui); letter-spacing: 0.16em; flex: none; }
.specrow dd { font-size: var(--fs-ui); letter-spacing: 0.12em; text-align: right; }

/* ---------- Nadzor i upravljanje: rekreacije panela, veza ---------- */
/* instrument text (machine output, like the fiscal receipt) stays true mono */
.tmono {
  font-family: "Plex Mono", "SF Mono", Menlo, monospace;
  font-weight: 400;
  font-size: var(--fs-ui);
  letter-spacing: 0.08em;
}

.tabla {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 44px) var(--pad) calc(var(--sect) * 0.55);
}
.tabla__head .label { margin-bottom: 22px; }
.tabla__intro { max-width: 54ch; margin-top: 18px; color: var(--steel-dark); font-size: 15.5px; }
/* window that hosts a faithful panel recreation */
.appwin { position: relative; min-width: 0; max-width: 1120px; }
.tabla .appwin, .appwin--paper { margin-top: clamp(44px, 5.5vw, 72px); }

.dnevnik {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--sect) * 0.55) var(--pad) calc(var(--sect) * 0.7);
}
.dnevnik__head .label { margin-bottom: 22px; }
.dnevnik__intro { max-width: 54ch; margin-top: 18px; color: var(--steel-dark); font-size: 15.5px; }
.dnevnik__facts {
  margin-top: clamp(26px, 3.4vw, 40px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(28px, 4vw, 64px);
}
.dnevnik__facts > div {
  display: flex; align-items: baseline; gap: 18px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
}
.dnevnik__facts dt { flex: none; width: 19ch; font-weight: 620; font-stretch: 105%; letter-spacing: -0.005em; }
.dnevnik__facts dd { color: var(--steel-dark); font-size: 15px; line-height: 1.5; }
@media (max-width: 560px) {
  .dnevnik__facts > div { flex-direction: column; gap: 4px; }
  .dnevnik__facts dt { width: auto; }
}

.split__media.phs {
  aspect-ratio: 1;
  border: 1px dashed var(--line-strong);
  display: grid; place-items: center;
  margin-block: 0;
  background:
    linear-gradient(to top right, transparent calc(50% - 0.5px), rgba(17, 20, 23, 0.09) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(to bottom right, transparent calc(50% - 0.5px), rgba(17, 20, 23, 0.09) 50%, transparent calc(50% + 0.5px));
}

.veza {
  background: var(--graphite);
  color: var(--paper);
  padding: calc(var(--sect) * 0.55) var(--pad) calc(var(--sect) * 0.6);
}
.veza__inner { max-width: var(--max); margin: 0 auto; }
.veza__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(28px, 4vw, 44px);
}
.veza__col {
  position: relative;
  border-left: 1px solid var(--line-dark);
  padding-left: clamp(16px, 2vw, 26px);
}
.veza__col::before {
  content: "";
  position: absolute;
  left: -1px; top: 0;
  width: 1px; height: 22px;
  background: var(--orange);
}
.veza__k { color: var(--steel); letter-spacing: 0.18em; }
.veza__v {
  margin-top: 12px;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 560; font-stretch: 108%;
  line-height: 1.35; letter-spacing: -0.005em;
  max-width: 30ch;
}

@media (max-width: 900px) {
  .dnevnik__facts { grid-template-columns: 1fr; }
  .veza__cols { grid-template-columns: 1fr; gap: 26px; }
}

/* ============================================================
   PANEL RECREATIONS (ivr-): faithful InterVend look, demo data
   Extracted from the real intervend-web-v2 theme; scoped ivr-.
   ============================================================ */
.ivr-preview-body {
      min-width: 320px;
      margin: 0;
      padding: 36px;
      background: #e8eef5;
    }

    .ivr-fragments {
      --ivr-primary: #2563eb;
      --ivr-primary-hover: #1d4ed8;
      --ivr-background: #f8fafc;
      --ivr-foreground: #0f172a;
      --ivr-card: #ffffff;
      --ivr-muted: #f1f5f9;
      --ivr-muted-foreground: #64748b;
      --ivr-border: #e2e8f0;
      --ivr-success: #22c55e;
      --ivr-destructive: #ef4444;
      --ivr-chart: #625afa;
      display: grid;
      width: min(100%, 1220px);
      margin: 0 auto;
      gap: 36px;
      color: var(--ivr-foreground);
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      font-size: 14px;
      line-height: 1.45;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    .ivr-fragments,
    .ivr-fragments *,
    .ivr-fragments *::before,
    .ivr-fragments *::after {
      box-sizing: border-box;
    }

    .ivr-fragments button {
      font: inherit;
    }

    .ivr-fragments svg {
      display: block;
    }

    .ivr-screen {
      position: relative;
      overflow: hidden;
      min-width: 0;
      border: 1px solid rgba(203, 213, 225, 0.82);
      border-radius: 26px;
      background: var(--ivr-background);
      box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 24px 60px rgba(15, 23, 42, 0.09);
    }

    .ivr-rail {
      position: absolute;
      inset: 0 auto 0 0;
      z-index: 4;
      width: 12px;
      background: #0f172a;
    }

    .ivr-rail-active {
      position: absolute;
      top: 94px;
      left: 3px;
      width: 6px;
      height: 48px;
      border-radius: 0 6px 6px 0;
      background: var(--ivr-primary);
      box-shadow: 0 0 18px rgba(37, 99, 235, 0.55);
    }

    .ivr-screen-content {
      position: relative;
      z-index: 1;
      padding: 28px 28px 30px 40px;
    }

    .ivr-page-header {
      margin: 0 0 24px;
    }

    .ivr-page-title {
      margin: 0;
      color: var(--ivr-foreground);
      font-size: 24px;
      font-weight: 700;
      letter-spacing: -0.025em;
      line-height: 1.2;
    }

    .ivr-page-subtitle {
      margin: 4px 0 0;
      color: var(--ivr-muted-foreground);
      font-size: 14px;
      font-weight: 400;
    }

    .ivr-controls {
      display: grid;
      grid-template-columns: minmax(240px, 1fr) auto;
      align-items: center;
      gap: 12px;
      padding: 12px;
      border: 1px solid rgba(203, 213, 225, 0.7);
      border-radius: 24px;
      background: rgba(248, 250, 252, 0.95);
      box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 12px 28px rgba(15, 23, 42, 0.04);
    }

    .ivr-search {
      position: relative;
      width: min(100%, 360px);
    }

    .ivr-search-icon {
      position: absolute;
      top: 50%;
      left: 12px;
      width: 16px;
      height: 16px;
      transform: translateY(-50%);
      color: var(--ivr-muted-foreground);
      pointer-events: none;
    }

    .ivr-search-field {
      display: flex;
      align-items: center;
      width: 100%;
      height: 40px;
      padding: 0 12px 0 36px;
      border: 1px solid var(--ivr-border);
      border-radius: 6px;
      background: transparent;
      color: var(--ivr-muted-foreground);
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
      font-size: 14px;
    }

    .ivr-control-groups {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
    }

    .ivr-segmented {
      display: flex;
      align-items: center;
      gap: 4px;
      min-width: 0;
      padding: 4px;
      border-radius: 18px;
      background: rgba(241, 245, 249, 0.92);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    }

    .ivr-segment {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 36px;
      min-width: 0;
      padding: 0 12px;
      border: 0;
      border-radius: 14px;
      background: transparent;
      color: #475569;
      font-size: 12px;
      font-weight: 500;
      line-height: 1;
      white-space: nowrap;
    }

    .ivr-segment-active {
      background: #ffffff;
      color: #0f172a;
      box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    }

    .ivr-view-segment .ivr-segment {
      width: 36px;
      padding: 0;
    }

    .ivr-view-icon {
      width: 16px;
      height: 16px;
    }

    .ivr-machine-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
      margin-top: 42px;
    }

    .ivr-machine-slot {
      position: relative;
      min-width: 0;
    }

    .ivr-status-tooltip {
      position: absolute;
      top: -34px;
      left: 42px;
      z-index: 6;
      padding: 6px 12px;
      border-radius: 8px;
      background: var(--ivr-primary);
      color: #ffffff;
      box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
      font-size: 12px;
      font-weight: 500;
      line-height: 1.35;
      white-space: nowrap;
    }

    .ivr-status-tooltip::after {
      position: absolute;
      bottom: -5px;
      left: 15px;
      width: 0;
      height: 0;
      border-top: 5px solid var(--ivr-primary);
      border-right: 5px solid transparent;
      border-left: 5px solid transparent;
      content: "";
    }

    .ivr-machine-card {
      height: 100%;
      min-width: 0;
      overflow: hidden;
      padding: 14px;
      border-radius: 22px;
      background: #f2f6f9;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
    }

    .ivr-machine-head {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
      margin-bottom: 12px;
    }

    .ivr-machine-icon-tile {
      display: flex;
      flex: 0 0 auto;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 14px;
      background: rgba(248, 250, 252, 0.95);
      color: #334155;
    }

    .ivr-package-icon {
      width: 18px;
      height: 18px;
    }

    .ivr-machine-copy {
      flex: 1 1 auto;
      min-width: 0;
    }

    .ivr-machine-name-row {
      display: flex;
      align-items: center;
      min-width: 0;
      gap: 6px;
    }

    .ivr-status-dot {
      flex: 0 0 auto;
      width: 8px;
      height: 8px;
      border-radius: 999px;
    }

    .ivr-status-online {
      background: var(--ivr-success);
      animation: ivr-pulse 2s ease-in-out infinite;
    }

    .ivr-status-offline {
      background: var(--ivr-destructive);
    }

    .ivr-machine-name {
      overflow: hidden;
      min-width: 0;
      margin: 0;
      color: var(--ivr-foreground);
      font-size: 14px;
      font-weight: 500;
      line-height: 1.35;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .ivr-payment-terminal-icon {
      flex: 0 0 auto;
      width: 14px;
      height: 14px;
      color: #3b82f6;
    }

    .ivr-machine-location {
      overflow: hidden;
      margin: 1px 0 0;
      color: var(--ivr-muted-foreground);
      font-size: 12px;
      line-height: 1.35;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .ivr-chevron {
      flex: 0 0 auto;
      width: 16px;
      height: 16px;
      color: var(--ivr-muted-foreground);
    }

    .ivr-soft-panel {
      border-radius: 20px;
      background: #f1f5f9;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    }

    .ivr-revenue-panel {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      min-height: 58px;
      margin-bottom: 12px;
      padding: 10px 12px;
    }

    .ivr-revenue-right {
      text-align: right;
    }

    .ivr-stat-label {
      display: block;
      color: var(--ivr-muted-foreground);
      font-size: 10px;
      font-weight: 400;
      line-height: 1.35;
    }

    .ivr-today-amount,
    .ivr-total-amount,
    .ivr-order-amount {
      font-variant-numeric: tabular-nums;
    }

    .ivr-today-amount {
      margin: 1px 0 0;
      color: var(--ivr-foreground);
      font-size: 16px;
      font-weight: 600;
      line-height: 1.25;
      white-space: nowrap;
    }

    .ivr-total-amount {
      margin: 1px 0 0;
      color: var(--ivr-muted-foreground);
      font-size: 14px;
      font-weight: 400;
      line-height: 1.25;
      white-space: nowrap;
    }

    .ivr-chart-panel {
      padding: 10px 12px;
    }

    .ivr-sparkline {
      width: 100%;
      height: 100px;
      overflow: visible;
    }

    .ivr-chart-dates {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 8px;
      color: var(--ivr-muted-foreground);
      font-size: 10px;
      line-height: 1.35;
    }

    .ivr-orders-card {
      overflow: hidden;
      border: 1px solid var(--ivr-border);
      border-radius: 16px;
      background: var(--ivr-card);
      color: var(--ivr-foreground);
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    .ivr-orders-toolbar {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      min-height: 68px;
      padding: 16px;
      border-bottom: 1px solid var(--ivr-border);
    }

    .ivr-payment-filter {
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      width: 184px;
      height: 40px;
      padding: 0 12px;
      border: 1px solid var(--ivr-border);
      border-radius: 8px;
      background: var(--ivr-background);
      color: var(--ivr-foreground);
      box-shadow: none;
      font-size: 14px;
      font-weight: 400;
      text-align: left;
    }

    .ivr-select-chevron {
      width: 16px;
      height: 16px;
      color: var(--ivr-muted-foreground);
      opacity: 0.5;
    }

    .ivr-table-scroll {
      width: 100%;
      overflow-x: auto;
    }

    .ivr-orders-table {
      width: 100%;
      min-width: 870px;
      border-collapse: collapse;
      border-spacing: 0;
      color: var(--ivr-foreground);
      font-size: 14px;
      line-height: 1.4;
    }

    .ivr-orders-table th {
      height: 36px;
      padding: 0 16px;
      border-bottom: 1px solid var(--ivr-border);
      color: var(--ivr-muted-foreground);
      font-size: 14px;
      font-weight: 500;
      text-align: left;
      vertical-align: middle;
      white-space: nowrap;
    }

    .ivr-orders-table td {
      height: 36px;
      padding: 6px 16px;
      border-bottom: 1px solid var(--ivr-border);
      font-size: 14px;
      vertical-align: middle;
    }

    .ivr-orders-table tbody tr:last-child td {
      border-bottom: 0;
    }

    .ivr-th-amount,
    .ivr-td-amount {
      text-align: right !important;
    }

    .ivr-td-machine {
      font-weight: 500;
      white-space: nowrap;
    }

    .ivr-td-items {
      overflow: hidden;
      max-width: 240px;
      color: var(--ivr-muted-foreground);
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .ivr-td-date,
    .ivr-td-payment,
    .ivr-td-amount {
      white-space: nowrap;
    }

    .ivr-order-amount {
      font-weight: 600;
    }

    .ivr-completed-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 2px 6px;
      border: 1px solid transparent;
      border-radius: 999px;
      background: var(--ivr-success);
      color: #ffffff;
      font-size: 12px;
      font-weight: 600;
      line-height: 1.35;
      white-space: nowrap;
    }

    .ivr-completed-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.9);
    }

    .ivr-mobile-orders {
      display: none;
    }

    .ivr-orders-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      min-height: 58px;
      padding: 12px 16px;
      border-top: 1px solid var(--ivr-border);
      color: var(--ivr-muted-foreground);
      font-size: 14px;
    }

    .ivr-pagination-info,
    .ivr-pagination-controls {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .ivr-per-page {
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      width: 58px;
      height: 32px;
      padding: 0 8px;
      border: 1px solid var(--ivr-border);
      border-radius: 8px;
      background: var(--ivr-background);
      color: var(--ivr-foreground);
      font-size: 13px;
    }

    .ivr-page-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      padding: 0;
      border: 1px solid var(--ivr-border);
      border-radius: 6px;
      background: transparent;
      color: var(--ivr-muted-foreground);
    }

    .ivr-page-button-active {
      border-color: var(--ivr-primary);
      background: var(--ivr-primary);
      color: #ffffff;
      box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
    }

    .ivr-page-button-disabled {
      opacity: 0.45;
    }

    .ivr-page-icon {
      width: 16px;
      height: 16px;
    }

    @media (prefers-reduced-motion: reduce) {
      .ivr-status-online {
        animation: none;
      }
    }

    @media (max-width: 1000px) {
      .ivr-controls {
        grid-template-columns: 1fr;
      }

      .ivr-search {
        width: 100%;
        max-width: none;
      }

      .ivr-control-groups {
        justify-content: space-between;
      }

      .ivr-machine-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .ivr-machine-slot:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 8px);
      }
    }

    @media (max-width: 820px) {
      .ivr-preview-body {
        padding: 16px;
      }

      .ivr-screen-content {
        padding: 24px 20px 24px 32px;
      }

      .ivr-control-groups {
        align-items: stretch;
        flex-direction: column;
      }

      .ivr-segmented {
        width: 100%;
      }

      .ivr-segmented .ivr-segment {
        flex: 1 1 0;
      }

      .ivr-view-segment {
        width: max-content;
      }

      .ivr-view-segment .ivr-segment {
        flex: 0 0 36px;
      }

      .ivr-machine-grid {
        grid-template-columns: 1fr;
      }

      .ivr-machine-slot:last-child {
        grid-column: auto;
        width: auto;
      }

      .ivr-table-scroll {
        display: none;
      }

      .ivr-mobile-orders {
        display: block;
      }

      .ivr-mobile-order {
        padding: 14px;
        border-bottom: 1px solid var(--ivr-border);
      }

      .ivr-mobile-order:last-child {
        border-bottom: 0;
      }

      .ivr-mobile-order-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
      }

      .ivr-mobile-order-machine {
        margin: 0;
        color: var(--ivr-foreground);
        font-size: 14px;
        font-weight: 500;
      }

      .ivr-mobile-order-items {
        margin: 1px 0 0;
        color: var(--ivr-muted-foreground);
        font-size: 12px;
      }

      .ivr-mobile-order-meta {
        display: grid;
        gap: 6px;
        margin-top: 10px;
      }

      .ivr-mobile-meta-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        font-size: 14px;
      }

      .ivr-mobile-meta-label {
        flex: 0 0 auto;
        color: var(--ivr-muted-foreground);
      }

      .ivr-orders-footer {
        align-items: flex-start;
        flex-direction: column;
      }
    }

    @media (max-width: 520px) {
      .ivr-preview-body {
        padding: 8px;
      }

      .ivr-fragments {
        gap: 20px;
      }

      .ivr-screen {
        border-radius: 20px;
      }

      .ivr-screen-content {
        padding: 22px 14px 22px 25px;
      }

      .ivr-page-title {
        font-size: 22px;
      }

      .ivr-segment {
        padding: 0 8px;
        font-size: 11px;
      }

      .ivr-status-tooltip {
        left: 26px;
        max-width: calc(100vw - 88px);
        white-space: normal;
      }

      .ivr-pagination-info {
        flex-wrap: wrap;
      }
    }

.ivr-set-screen {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 26px;
  background: var(--ivr-background);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 24px 60px rgba(15, 23, 42, 0.09);
}

.ivr-set-dialog {
  position: relative;
  width: min(100%, 460px);
  padding: 24px;
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 22px;
  background: var(--ivr-card);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 44px rgba(15, 23, 42, 0.1);
}

.ivr-set-header {
  margin: 0 0 22px;
  padding-right: 32px;
}

.ivr-set-title {
  margin: 0;
  color: var(--ivr-foreground);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

.ivr-set-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ivr-muted-foreground);
  opacity: 0.72;
}

.ivr-set-close-icon {
  width: 17px;
  height: 17px;
}

.ivr-set-form {
  display: grid;
  gap: 16px;
  margin: 0;
}

.ivr-set-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ivr-set-label {
  color: var(--ivr-foreground);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.ivr-set-input,
.ivr-set-price-wrap {
  width: 100%;
  height: 40px;
  border: 1px solid var(--ivr-border);
  border-radius: 8px;
  background: transparent;
  color: var(--ivr-foreground);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-size: 14px;
}

.ivr-set-input {
  min-width: 0;
  padding: 0 12px;
  outline: 0;
}

.ivr-set-price-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
}

.ivr-set-price-input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--ivr-foreground);
  outline: 0;
  font: inherit;
  font-variant-numeric: tabular-nums;
}

.ivr-set-currency {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 12px;
  border-left: 1px solid var(--ivr-border);
  background: var(--ivr-muted);
  color: var(--ivr-muted-foreground);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ivr-set-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.ivr-set-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.ivr-set-button-secondary {
  border: 1px solid var(--ivr-border);
  background: transparent;
  color: var(--ivr-foreground);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ivr-set-button-primary {
  border: 1px solid var(--ivr-primary);
  background: var(--ivr-primary);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 8px 18px rgba(37, 99, 235, 0.18);
}

@media (max-width: 520px) {
  .ivr-set-screen {
    aspect-ratio: auto;
    padding: 14px;
    border-radius: 20px;
  }

  .ivr-set-dialog {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .ivr-set-close {
    top: 14px;
    right: 12px;
  }

  .ivr-set-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .ivr-set-button {
    width: 100%;
  }
}

/* embedded fragments: left-anchored to the content column, own top air */
.appwin.ivr-fragments { width: 100%; margin: clamp(44px, 5.5vw, 72px) 0 0; }

/* settings recreation inside the split slot: fragment carries its own frame */
.split__media.appwin { border: none; overflow: visible; max-width: 560px; margin-top: 0; }
/* RULE: recreations float frameless, without stage or screen wrapper chrome */
.split__media .ivr-set-screen { background: transparent; border: none; box-shadow: none; padding: 0; aspect-ratio: auto; }

/* ---------- Fiskalizacija: verna rekreacija računa, PFR kartice, nalog ---------- */
.fisk {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 44px) var(--pad) calc(var(--sect) * 0.55);
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.fisk__text, .fisk__stage { min-width: 0; }
.fisk__text .label { margin-bottom: 22px; }
.fisk__intro { max-width: 46ch; margin-top: 22px; color: var(--steel-dark); font-size: 15.5px; }

.lestve { list-style: none; margin-top: 34px; }
.lestve__step {
  position: relative;
  padding: 14px 0 14px 26px;
  border-left: 1px dashed var(--line-strong);
}
.lestve__step::before {
  content: "";
  position: absolute;
  left: -3.5px; top: 22px;
  width: 7px; height: 7px;
  background: var(--orange);
}
.lestve__step:last-child { border-left-color: transparent; }
.lestve__name { font-weight: 640; font-stretch: 106%; letter-spacing: -0.005em; }
.lestve__desc { margin-top: 4px; color: var(--steel-dark); font-size: 15px; }

.fisk__stage {
  display: grid;
  justify-items: center;
  align-content: start;
}
.slip {
  margin: 0 auto;
  width: fit-content;
  max-width: 100%;
  background: #FDFDFB;
  box-shadow: 0 18px 44px rgba(17, 20, 23, 0.18), 0 2px 8px rgba(17, 20, 23, 0.08);
  padding: 20px 0 24px;
  clip-path: polygon(0 4px, 2% 0, 4% 4px, 6% 0, 8% 4px, 10% 0, 12% 4px, 14% 0, 16% 4px, 18% 0, 20% 4px, 22% 0, 24% 4px, 26% 0, 28% 4px, 30% 0, 32% 4px, 34% 0, 36% 4px, 38% 0, 40% 4px, 42% 0, 44% 4px, 46% 0, 48% 4px, 50% 0, 52% 4px, 54% 0, 56% 4px, 58% 0, 60% 4px, 62% 0, 64% 4px, 66% 0, 68% 4px, 70% 0, 72% 4px, 74% 0, 76% 4px, 78% 0, 80% 4px, 82% 0, 84% 4px, 86% 0, 88% 4px, 90% 0, 92% 4px, 94% 0, 96% 4px, 98% 0, 100% 4px, 100% calc(100% - 4px), 98% 100%, 96% calc(100% - 4px), 94% 100%, 92% calc(100% - 4px), 90% 100%, 88% calc(100% - 4px), 86% 100%, 84% calc(100% - 4px), 82% 100%, 80% calc(100% - 4px), 78% 100%, 76% calc(100% - 4px), 74% 100%, 72% calc(100% - 4px), 70% 100%, 68% calc(100% - 4px), 66% 100%, 64% calc(100% - 4px), 62% 100%, 60% calc(100% - 4px), 58% 100%, 56% calc(100% - 4px), 54% 100%, 52% calc(100% - 4px), 50% 100%, 48% calc(100% - 4px), 46% 100%, 44% calc(100% - 4px), 42% 100%, 40% calc(100% - 4px), 38% 100%, 36% calc(100% - 4px), 34% 100%, 32% calc(100% - 4px), 30% 100%, 28% calc(100% - 4px), 26% 100%, 24% calc(100% - 4px), 22% 100%, 20% calc(100% - 4px), 18% 100%, 16% calc(100% - 4px), 14% 100%, 12% calc(100% - 4px), 10% 100%, 8% calc(100% - 4px), 6% 100%, 4% calc(100% - 4px), 2% 100%, 0 calc(100% - 4px));
}
.slip__pre {
  margin: 0;
  padding: 0 22px;
  font-family: "SF Mono", Menlo, Consolas, "Liberation Mono", "DejaVu Sans Mono", monospace;
  font-size: 10.5px;
  line-height: 1.8;
  color: var(--ink);
  letter-spacing: 0.01em;
  overflow-x: auto;
}
.slip__qr {
  width: 104px; height: 104px;
  margin: 10px auto;
  display: grid;
}

.pfr__intro {
  margin: 14px 0 0;
  padding: 0;
  color: var(--steel-dark);
  font-size: 15.5px;
  max-width: 54ch;
}
.pfr {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) var(--pad) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 36px);
}
.pfr__card {
  position: relative;
  background: var(--sand);
  border: 1px solid var(--line-strong);
  padding: clamp(26px, 3vw, 40px);
}
.pfr__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 34px; height: 3px;
  background: var(--orange);
}
.pfr__kicker { color: var(--steel-dark); font-size: var(--fs-ui); letter-spacing: 0.2em; }
.pfr__name {
  margin-top: 10px;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 660; font-stretch: 108%;
  line-height: 1.08; letter-spacing: -0.012em;
}
.pfr__desc { margin-top: 14px; color: var(--steel-dark); font-size: 15px; line-height: 1.6; max-width: 44ch; }
.pfr__tag {
  display: inline-block;
  margin-top: 22px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: var(--fs-ui);
  letter-spacing: 0.12em;
}
.pfr__note {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad) calc(var(--sect) * 0.55);
  color: var(--steel-dark);
  font-size: 15px;
}

.fisk__note { margin-top: 26px; width: min(400px, 100%); }
.fisk__note .label { margin-bottom: 8px; }
.fisk__note-text { color: var(--steel-dark); font-size: 15px; line-height: 1.6; }

.fnalog {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--sect) * 0.55) var(--pad) calc(var(--sect) * 0.6);
}
.fnalog__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
}
.fnalog__head .label { margin-bottom: 22px; }
.fnalog__intro { max-width: 40ch; color: var(--steel-dark); font-size: 15.5px; padding-bottom: 8px; }
.fnalog__facts { margin-top: clamp(24px, 3vw, 36px); }

@media (max-width: 900px) {
  .fisk { grid-template-columns: 1fr; gap: clamp(32px, 6vw, 48px); }
  .slip__pre { font-size: 9px; padding: 0 14px; }
  .pfr { grid-template-columns: 1fr; }
  .fnalog__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .fnalog__intro { padding-bottom: 0; }
}

/* ---------- Analytics consent ---------- */
.consent {
  position: fixed;
  z-index: 1000;
  right: clamp(14px, 3vw, 36px);
  bottom: clamp(14px, 3vw, 32px);
  width: min(620px, calc(100vw - 28px));
  padding: 20px;
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  color: var(--paper);
  background: var(--graphite);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 20px 70px rgba(0,0,0,.36);
}
.consent__copy strong { font-size: 1rem; }
.consent__copy p { margin-top: 7px; color: var(--steel); font-size: .9rem; line-height: 1.5; }
.consent__copy a { display: inline-block; margin-top: 8px; color: var(--paper); font-size: .84rem; text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: 8px; flex: none; }
.consent button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.3);
  color: var(--paper);
  background: transparent;
  font: 600 .78rem var(--mono);
  letter-spacing: .04em;
  cursor: pointer;
}
.consent button:hover,
.consent button:focus-visible { border-color: var(--orange); }
.consent .consent__accept { color: var(--graphite); background: var(--paper); border-color: var(--paper); }
@media (max-width: 620px) {
  .consent { align-items: stretch; flex-direction: column; gap: 16px; }
  .consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards, .cards--four, .cards--two { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .teren__grid { grid-template-columns: 1fr; }
  .tframe--b { grid-column: auto; }
  .pagehead { padding-top: 150px; }
  .ctaband__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Evidence-led editorial sections ---------- */
.editorial {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--sect) var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}
.editorial--paper { background: var(--paper); }
.editorial__copy .label,
.process-section__head .label { margin-bottom: 22px; }
.editorial__text {
  max-width: 62ch;
  margin-top: 22px;
  color: var(--steel-dark);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.72;
}
.fact-list {
  border-top: 1px solid var(--line-strong);
}
.fact-list li {
  display: grid;
  grid-template-columns: minmax(110px, .55fr) 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-strong);
}
.fact-list span { color: var(--steel-dark); }
.fact-list strong {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 640;
  line-height: 1.25;
}

.process-section {
  padding: var(--sect) var(--pad);
  background: var(--sand);
}
.process-section__head,
.process-grid {
  width: min(var(--max), 100%);
  margin-inline: auto;
}
.process-section__head { max-width: var(--max); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-top: clamp(38px, 6vw, 72px);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.process-card {
  min-height: 245px;
  padding: clamp(24px, 3vw, 38px);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.process-card__index { color: var(--orange-ink); }
.process-card h3 {
  margin-top: clamp(34px, 5vw, 62px);
  font-size: clamp(1.22rem, 1.8vw, 1.65rem);
  line-height: 1.12;
}
.process-card p {
  margin-top: 14px;
  color: var(--steel-dark);
  line-height: 1.58;
}

.software-proof {
  padding: var(--sect) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  gap: clamp(48px, 9vw, 124px);
  align-items: center;
  background: var(--graphite);
  color: var(--paper);
}
.software-proof__copy .label { color: var(--orange); margin-bottom: 22px; }
.software-proof__copy p:not(.label) {
  max-width: 59ch;
  margin-top: 22px;
  color: var(--steel);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.7;
}
.software-proof__figure {
  width: min(100%, 520px);
  justify-self: center;
  border: 1px solid rgba(255,255,255,.18);
  background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.32);
  overflow: hidden;
}
.software-proof__figure--portrait { width: min(100%, 390px); }
.software-proof__figure picture { display: block; width: 100%; }
.software-proof__figure img {
  display: block;
  width: 100%;
  height: auto;
}
.software-proof__figure figcaption {
  padding: 14px 16px;
  color: #484d55;
  background: #f4f1e9;
  border-top: 1px solid #d7d3c9;
  font-size: var(--fs-ui);
  letter-spacing: .08em;
}
.capability-strip { align-items: stretch; }
.capability-strip .strip__item { flex: 1 1 0; min-width: 0; }
.capability-strip__index {
  display: block;
  margin-bottom: clamp(24px, 4vw, 52px);
  color: var(--orange-ink);
}
.capability-strip .strip__word { font-size: clamp(1.35rem, 2.3vw, 2.6rem); }
.ulink--light { color: var(--paper); border-bottom-color: rgba(255,255,255,.45); }

@media (max-width: 900px) {
  .editorial,
  .software-proof { grid-template-columns: 1fr; }
  .software-proof__figure { justify-self: start; }
}
@media (max-width: 640px) {
  .fact-list li { grid-template-columns: 1fr; gap: 8px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 0; }
  .process-card h3 { margin-top: 26px; }
}
.card--compare .rows li { font-size: var(--fs-ui); }
/* ---------- Panel vlasnika (MyWash v3): renderi pravog dizajna, ne CSS rekreacije ---------- */
.appshot {
  margin: clamp(44px, 5.5vw, 72px) 0 0;
  max-width: 1120px;
  background: transparent;
  border: 0;
  padding: 0;
  overflow: visible;
}
.appshot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(17, 20, 23, 0.12), 0 4px 12px rgba(17, 20, 23, 0.06);
}
.appshot--tight { margin-top: 0; }
.split__media--app { overflow: visible; display: grid; align-content: center; }
.split__media--app img { aspect-ratio: auto; object-fit: contain; }
.nadzor__media--app,
.split__media--phone {
  background: transparent;
  border: 0;
  display: grid; place-items: center;
  padding: clamp(8px, 1.5vw, 18px);
  overflow: hidden;
}
.nadzor__media--app img,
.split__media--phone img {
  width: auto; max-width: 100%;
  height: auto; max-height: 580px;
  aspect-ratio: auto; object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(9, 30, 51, 0.18);
}

/* ============================================================
   Launch additions: 5-col strip, product cutouts, dark nadzor panel,
   responsive spec table, accordion animation, cert bar
   ============================================================ */
.strip__row--five {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 36px 24px;
}
.strip__row--five .strip__word { font-size: clamp(1.15rem, 1.42vw, 1.6rem); line-height: 1.08; }
.strip__row--five .strip__item:not(:last-child) .strip__word::after { display: none; }
.strip__row--five .strip__cap { max-width: 28ch; }
@media (max-width: 1180px) {
  .strip__row--five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .strip__row--five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .strip__row--five { grid-template-columns: 1fr; gap: 30px; }
}

/* MyWash overlapping hand mockup (transparent cutout over real photo) */
.mywash__visual--hand { min-height: 500px; }
.frame--hand {
  position: absolute;
  left: 0;
  bottom: -18px;
  width: min(44%, 290px);
  border: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}
.frame--hand img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(17, 20, 23, 0.28));
}
@media (max-width: 900px) {
  .mywash__visual--hand { min-height: clamp(360px, 82vw, 520px); padding-bottom: 48px; }
  .frame--hand { width: min(46%, 220px); bottom: 0; left: 0; }
}

/* Product studio frames in teren grid */
.tframe--product img {
  background: transparent;
  object-fit: contain;
  padding: clamp(8px, 1.4vw, 18px);
  aspect-ratio: 4 / 4.3;
}
.tframe--product.tframe--b img { aspect-ratio: 16 / 10; }
.teren__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  align-items: end;
}
.teren__grid--two .tframe--a,
.teren__grid--two .tframe--b {
  margin-top: 0;
  grid-column: auto;
}
.teren__grid--two .tframe--product img,
.teren__grid--two .tframe--product.tframe--b img {
  aspect-ratio: 4 / 3.4;
}
@media (max-width: 640px) {
  .teren__grid--two { grid-template-columns: 1fr; }
}
.tframe--cutout img {
  background: transparent;
  object-fit: contain;
  padding: clamp(8px, 1.4vw, 18px);
}
.split__media--cutout {
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  overflow: visible;
  padding: clamp(8px, 1.5vw, 20px);
}
.split__media--cutout img {
  width: auto;
  max-width: 100%;
  max-height: 440px;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Dark-harmonized telemetry panel inside #nadzor (replaces bright white box) */
.nadzor__panel {
  background: var(--graphite-2);
  border: 1px solid var(--line-dark);
  padding: clamp(24px, 3vw, 38px);
}
.nadzor__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
}
.nadzor__panel-kicker { color: var(--orange); letter-spacing: 0.16em; }
.nadzor__panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 22px;
}
.nadzor__cfg {
  border: 1px solid var(--line-dark);
  background: rgba(243, 241, 236, 0.03);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nadzor__cfg-tag { color: var(--orange); font-size: 10px; letter-spacing: 0.16em; }
.nadzor__cfg h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 640;
  font-stretch: 108%;
  line-height: 1.15;
}
.nadzor__cfg p { color: var(--paper-70); font-size: 14px; line-height: 1.58; }
.nadzor__cfg ul { margin-top: 6px; border-top: 1px solid var(--line-dark); }
.nadzor__cfg li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--steel);
}
.nadzor__panel-foot {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.nadzor__panel-note { color: var(--steel); font-size: 13px; max-width: 46ch; }
@media (max-width: 700px) {
  .nadzor__panel-grid { grid-template-columns: 1fr; }
}

/* Dark studio stage for transparent cutouts or dark renders inside #nadzor */
.nadzor__media--dark {
  background: transparent;
  border: 0;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 24px);
  overflow: visible;
}
.nadzor__media--dark img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Hardware showcase cards (PAX IM25 Standard / Flush EVA, CARD PAY / CHANGE Duo) */
.hwgrid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) calc(var(--sect) * 0.45);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4.5vw, 68px);
}
.hwcard {
  background: transparent;
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hwcard__stage {
  background: transparent;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
}
.hwcard__stage img {
  max-height: 290px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.hwcard__kicker { color: var(--orange); font-size: 10.5px; letter-spacing: 0.16em; }
.hwcard__name {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 660;
  font-stretch: 110%;
  line-height: 1.08;
}
.hwcard__desc { color: var(--steel-dark); font-size: 15px; line-height: 1.6; }
.hwcard__meta { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 6px; }
.hwcard__meta span { font-size: 11px; letter-spacing: 0.1em; color: var(--ink); }
@media (max-width: 900px) {
  .hwgrid { grid-template-columns: 1fr; }
}

/* Seamless full-width owner panel screenshot inside dark #nadzor sections */
.nadzor__media--panel {
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.44);
  overflow: hidden;
}
.nadzor__media--panel img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* Clean borderless overlapping dual-phone stack (vendpay.it hero style: zero box, staggered depth) */
.appstack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
  padding: 12px 0;
  background: transparent;
  border: 0;
  min-width: 0;
}
.appstack__front,
.appstack__back {
  display: block;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.appstack__front {
  position: relative;
  z-index: 2;
  width: 57%;
  max-width: 268px;
  filter:
    drop-shadow(0 26px 46px rgba(17, 20, 23, 0.24))
    drop-shadow(0 6px 14px rgba(17, 20, 23, 0.10));
}
.appstack__back {
  position: relative;
  z-index: 1;
  width: 48%;
  max-width: 226px;
  margin-left: -13%;
  margin-top: 16px;
  filter:
    drop-shadow(0 18px 34px rgba(17, 20, 23, 0.16))
    drop-shadow(0 4px 10px rgba(17, 20, 23, 0.08));
}
.split--rev .appstack { order: 2; }
@media (max-width: 900px) {
  .split--rev .appstack { order: 0; }
  .appstack { max-width: 390px; }
}
@media (max-width: 560px) {
  .appstack { max-width: 320px; padding: 6px 0; }
  .appstack__front { width: 59%; }
  .appstack__back { width: 50%; margin-left: -14%; margin-top: 12px; }
}

/* Studio product cutout stage (2-col or 3-col hardware cards: transparent object floating on sand card) */
.hwcard__stage--studio {
  background: transparent;
  border: 0;
  padding: 6px 0 4px;
  aspect-ratio: 16 / 11;
  overflow: visible;
}
.hwcard__stage--studio img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 265px;
  object-fit: contain;
}
.hwgrid__note {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) var(--sect);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--steel-dark);
}

/* 3-column hardware option cards */
.hwgrid.hwgrid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hwgrid.hwgrid--three .hwcard__stage {
  aspect-ratio: 16 / 11;
  padding: 0;
  overflow: hidden;
  background: #17191d;
}
.hwgrid.hwgrid--three .hwcard__stage img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}
.hwgrid.hwgrid--three .hwcard__stage--studio {
  background: transparent;
  border: 0;
  padding: 6px 0 4px;
  overflow: visible;
}
.hwgrid.hwgrid--three .hwcard__stage--studio img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 255px;
  object-fit: contain;
}
@media (max-width: 980px) {
  .hwgrid.hwgrid--three { grid-template-columns: 1fr; }
}

/* Responsive specification table (container-query stacked fallback) */
.table-wrapper {
  overflow: auto;
  max-inline-size: 100%;
  container-type: inline-size;
  border-top: 1px solid var(--line-strong);
  margin-top: clamp(24px, 3.5vw, 40px);
}
.table-wrapper:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.spectable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14.5px;
}
.spectable caption {
  text-align: left;
  padding: 14px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-dark);
}
.spectable thead th {
  position: sticky;
  inset-block-start: 0;
  z-index: 1;
  background: var(--sand);
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.spectable tbody th,
.spectable tbody td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spectable tbody th {
  position: sticky;
  inset-inline-start: 0;
  background: var(--paper);
  font-weight: 600;
  color: var(--ink);
  min-width: 180px;
}
.spectable tbody td { color: var(--steel-dark); }
@container (width < 600px) {
  .spectable,
  .spectable caption,
  .spectable thead,
  .spectable tbody,
  .spectable tr,
  .spectable th,
  .spectable td { display: block; }
  .spectable thead { display: none; }
  .spectable tbody tr {
    margin-block-end: 14px;
    border: 1px solid var(--line-strong);
    background: var(--paper);
  }
  .spectable tbody th {
    position: static;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    padding: 10px 14px;
    min-width: 0;
  }
  .spectable tbody td {
    padding: 9px 14px;
    border-bottom: 1px solid var(--line);
  }
  .spectable tbody td:last-child { border-bottom: 0; }
  .spectable tbody td:nth-child(2)::before {
    content: var(--col-2, "Standard") ": ";
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    display: block;
    margin-bottom: 2px;
  }
  .spectable tbody td:nth-child(3)::before {
    content: var(--col-3, "Flush EVA") ": ";
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    display: block;
    margin-bottom: 2px;
  }
  .spectable.spectable--two tbody td:nth-child(2)::before { content: none; display: none; }
}

/* Dual app/dashboard screenshot grid */
.shots2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.6vw, 36px);
  margin-top: clamp(32px, 4.5vw, 56px);
}
.shots2 .appshot { margin-top: 0; }
.appshot figcaption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--steel-dark);
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .shots2 { grid-template-columns: 1fr; }
}

/* VendPay phone pair showcase */
.vpphones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.2vw, 28px);
  align-items: center;
  justify-items: center;
  padding: clamp(16px, 2.5vw, 32px);
  background: var(--sand);
  border: 1px solid var(--line-strong);
}
.vpphones img {
  width: 100%;
  max-width: 240px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(17, 20, 23, 0.2));
}
@media (max-width: 560px) {
  .vpphones { grid-template-columns: 1fr; }
}

/* Tax Authority certification strip */
.certbar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) calc(var(--sect) * 0.45);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}
.certcard {
  background: var(--graphite);
  color: var(--paper);
  padding: clamp(22px, 2.6vw, 34px);
  border-top: 3px solid var(--orange);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.certcard__kicker { color: var(--orange); font-size: 10.5px; letter-spacing: 0.16em; }
.certcard__title {
  font-size: clamp(1.3rem, 1.9vw, 1.75rem);
  font-weight: 660;
  font-stretch: 110%;
  line-height: 1.1;
}
.certcard__desc { color: var(--steel); font-size: 14.5px; line-height: 1.58; }
.certcard__meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-dark);
  color: var(--paper-70);
  font-size: 10.5px;
  letter-spacing: 0.12em;
}
@media (max-width: 800px) {
  .certbar { grid-template-columns: 1fr; }
}

.hwcard__stage--3d {
  padding: 0;
  aspect-ratio: auto;
  overflow: hidden;
  display: block;
}
.hwcard__stage--3d pax-im25-demo {
  width: 100%;
}
.hwcard__stage--3d img {
  max-height: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* MyWash 5-minute 3D installation stage */
.mw3d {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.mw3d__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.15;
  background: #8a8a88;
  overflow: hidden;
}
.mw3d__poster {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
}
.mw3d__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: rgba(17, 20, 23, 0.92);
  color: var(--paper);
  border: 1px solid rgba(243, 241, 236, 0.25);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: background 0.2s, transform 0.2s;
}
.mw3d__play:hover {
  background: var(--orange);
  transform: translate(-50%, -50%) scale(1.02);
}
.mw3d__play svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  flex: none;
}
.mw3d__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.mw3d__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0 0;
  background: transparent;
  border-top: 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--steel-dark);
}
.mw3d__foot a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.mw3d__foot a:hover { color: var(--orange); }
@media (max-width: 640px) {
  .mw3d__stage { aspect-ratio: 4 / 4.2; }
  .mw3d__play { padding: 11px 15px; font-size: 10px; white-space: normal; text-align: center; max-width: calc(100% - 28px); }
  .mw3d__foot { flex-wrap: wrap; }
}

/* Accordion progressive-enhancement disclosure animation */
.faq__item::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}
.faq__item:not([open])::details-content {
  block-size: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .faq__item::details-content {
    transition: block-size 0.3s var(--ease), content-visibility 0.3s allow-discrete, display 0.3s allow-discrete;
  }
}

/* ===== 2026-11-29 pre-launch fix pass ===== */

/* T3 · homepage flow: caption under the receipt paper */
.receipt__cap {
  font-size: 9.5px; letter-spacing: 0.14em; line-height: 1.6;
  color: var(--steel);
  text-align: center;
  max-width: 230px;
  opacity: 0; transition: opacity 0.8s var(--ease) 1.8s;
}
.flow__diagram.play .receipt__cap { opacity: 1; }
html.noanim .receipt__cap { opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) { .receipt__cap { opacity: 1 !important; transition: none !important; } }
@media (max-width: 1100px) { .receipt__cap { text-align: left; } }

/* T5 · card payment page: text-only "Postojeća naplata" block on sand */
.ostaje-sec { background: var(--sand); padding: var(--sect) 0; }
.ostaje-sec .hubsec { padding-bottom: 0; }
.ostaje-sec .split__rows { max-width: 68ch; }

/* T6 · perionice hub: three payment modes, step-grid language without numbers */
.nacini .split__desc { max-width: 60ch; }
.nacini__list { grid-template-columns: repeat(3, 1fr); }
.nacini .korak__name { margin-top: 24px; }
@media (max-width: 900px) { .nacini__list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .nacini__list { grid-template-columns: 1fr; gap: 28px; } }

/* T7 · loyalty page: bonus example ledger in the split media column (light bg) */
.split__media.bonus { overflow: visible; align-self: center; }
.bonus__head { font-size: 10.5px; letter-spacing: 0.18em; color: var(--steel-dark); }
.bonus__rows { margin-top: 18px; border-top-color: var(--line-strong); }
.bonus__rows li { border-bottom-color: var(--line-strong); padding: clamp(18px, 2.2vw, 26px) 0; }
.bonus__rows .brojac__k { color: var(--steel-dark); }
.bonus__rows .brojac__v { font-size: clamp(1.5rem, 2.6vw, 2.3rem); color: var(--ink); }

/* T7 · perionice hub: chip-less loyalty card drawing instead of the photo */
.split__media.loycard { display: flex; justify-content: center; align-items: center; overflow: visible; }
.loycard__svg { width: 100%; max-width: 440px; }

/* T11 · <change-model> host: the global reset beats its :host spacing, so set it here */
change-model {
  display: block;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(12px, 2vw, 24px) var(--pad) clamp(32px, 4vw, 56px);
}

/* T10 · six desktop nav links: a link never wraps; the burger takes over before they would collide */
.nav__links a, .nav__tel { white-space: nowrap; }
@media (max-width: 1000px) {
  .nav__links, .nav__tel, .drop { display: none; }
  .nav__burger { display: block; }
}

/* WP3 I1 · product line-up: equal boxes, one baseline, caption under a hairline (homepage, perionice hub, hardver) */
.lineup {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  max-width: var(--max);
  margin: clamp(36px, 4.5vw, 64px) auto 0;
}
.lineup--two { grid-template-columns: repeat(2, minmax(0, 560px)); justify-content: start; }
.pagehead + .teren--lineup .lineup { margin-top: 0; }
.lineup__item { min-width: 0; display: flex; flex-direction: column; }
/* square 1400px renders share one baseline: crop ~8% empty top and ~4% empty bottom of the canvas */
.lineup__shot { position: relative; aspect-ratio: 1 / 0.88; overflow: hidden; }
.lineup__shot img {
  position: absolute; left: 0; right: 0; bottom: -5%;
  width: 100%; height: 113.6%;
  object-fit: contain; object-position: 50% 100%;
}
.lineup__cap {
  margin-top: clamp(14px, 1.8vw, 22px);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  flex: 1;
}
.lineup__idx { color: var(--orange); font-size: 10.5px; letter-spacing: 0.16em; line-height: 1; }
.lineup__name {
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  font-weight: 680; font-stretch: 116%;
  text-transform: uppercase; letter-spacing: -0.012em; line-height: 1;
}
.lineup__desc { color: var(--steel-dark); font-size: 15px; line-height: 1.55; max-width: 36ch; }
.lineup__link {
  margin-top: auto; padding-top: 6px;
  font-size: 11px; letter-spacing: 0.12em; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px;
  transition: color 0.25s, text-decoration-color 0.25s;
}
.lineup__link:hover { color: var(--orange); text-decoration-color: var(--orange); }
@media (max-width: 759px) {
  .lineup, .lineup--two { grid-template-columns: 1fr; gap: 44px; }
  .lineup__shot { aspect-ratio: 4 / 3; max-height: 300px; width: 100%; }
}

/* WP3 I2 · card payment #opcije: same renders, equal boxes, devices on one baseline */
.hwgrid--lineup .hwcard__stage {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: auto; height: clamp(250px, 28vw, 380px); padding: 0;
}
.hwgrid--lineup .hwcard__stage img {
  position: absolute; left: 0; right: 0; bottom: -5%;
  width: 100%; max-width: none; height: 113.6%; max-height: none;
  object-fit: contain; object-position: 50% 100%;
}

/* WP3 I3 · card payment hero: lighter scrim so the CARD PAY device on the right stays bright */
.phero--cardpay .phero__bg img { object-position: 62% 72%; }
.phero--cardpay .phero__scrim {
  background:
    linear-gradient(180deg, rgba(23,25,29,0.40) 0%, rgba(23,25,29,0) 26%),
    linear-gradient(90deg, rgba(23,25,29,0.82) 0%, rgba(23,25,29,0.5) 34%, rgba(23,25,29,0) 56%);
}
@media (max-width: 700px) {
  /* portrait still sits at the top at its own ratio; the text starts below the device */
  .phero--cardpay .phero__bg img { height: auto; aspect-ratio: 1200 / 1500; object-position: 50% 0%; margin-top: 48px; }
  .phero--cardpay .phero__content { padding-top: calc(66vw + 64px); }
  .phero--cardpay .phero__scrim {
    background:
      linear-gradient(180deg, rgba(23,25,29,0.35) 0%, rgba(23,25,29,0) 18%),
      linear-gradient(180deg, rgba(23,25,29,0) 40%, rgba(23,25,29,0.78) 62%, rgba(23,25,29,0.92) 100%);
  }
}

/* WP3 I4 · proizvodi: frameless CHANGE + CARD PAY pair on the section background */
.split__media--par { overflow: visible; background: transparent; border: 0; align-self: center; }
.split__media--par img { aspect-ratio: auto; height: auto; object-fit: contain; }

/* WP3 I5 · MyWash app stack a little larger */
.appstack { max-width: 530px; }
.appstack__front { max-width: 300px; }
.appstack__back { max-width: 250px; }
@media (max-width: 900px) { .appstack { max-width: 420px; } }
@media (max-width: 560px) { .appstack { max-width: 330px; } }

/* WP3 I6 · owner panel phone capture on dark #nadzor sections (bezel is in the image) */
.nadzor__media--phone {
  border: 0; background: transparent; overflow: visible;
  display: grid; place-items: center;
}
.nadzor__media--phone img {
  width: 300px; max-width: 100%; height: auto;
  aspect-ratio: auto; object-fit: contain;
  filter: drop-shadow(0 30px 48px rgba(0, 0, 0, 0.55)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}
@media (max-width: 900px) { .nadzor__media--phone img { width: 270px; } }
/* promet page #kupovine: phone capture on small screens */
@media (max-width: 700px) {
  .appshot--phone-m img {
    width: 100%; max-width: 320px; margin: 0 auto;
    border-radius: 0; box-shadow: none;
    filter: drop-shadow(0 22px 36px rgba(17, 20, 23, 0.20)) drop-shadow(0 4px 10px rgba(17, 20, 23, 0.08));
  }
}

/* WP3 I7 · text-only blocks on sand (#ostaje, promet #podesavanja): two columns from 900px */
.tblock {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: grid; gap: 28px;
}
.tblock__l .label { margin-bottom: 22px; }
.tblock .lanac__intro { margin-bottom: 0; }
.tblock__r { min-width: 0; }
.tblock__r .grupa__tail,
.tblock__r .split__desc { margin-top: 0; font-size: 15.5px; max-width: 58ch; }
.ostaje-sec .tblock .split__rows { max-width: none; }
@media (min-width: 900px) {
  .tblock { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
}

/* Final pass · fiscalization tile: keep the top of the sticker in view when the tile is cropped */
.panel__media img[src*="fiskal-qr"] { object-position: 50% 14%; }

/* ===== 2026-11-29 round 2: live panel embeds ===== */
/* .pdemo = static HTML snapshot (assets/panel-demo, assets/app-demo) in an iframe rendered at its
   design width (--pw / data-w) and scaled to the box by main.js (--s). --ph = visible design height,
   --py = design px scrolled past (the iframe is shifted up inside the clipped view). */
.pdemo { position: relative; width: 100%; container-type: inline-size; }
.pdemo__frame { position: relative; }
.pdemo__screen { position: relative; }
.pdemo__view {
  position: relative; overflow: hidden;
  aspect-ratio: calc(var(--pw, 1280) - var(--px, 0)) / var(--ph, 850); /* --px = design px cropped from the left */
  background: #F2F6FA;
}
.pdemo__view iframe {
  position: absolute; top: 0; left: 0; display: block; border: 0;
  width: calc(var(--pw, 1280) * 1px);
  height: calc((var(--ph, 850) + var(--py, 0)) * 1px);
  transform-origin: 0 0;
  transform: scale(var(--s, 1)) translate(calc(var(--px, 0) * -1px), calc(var(--py, 0) * -1px));
  visibility: hidden; pointer-events: none;
}
.pdemo.is-ready .pdemo__view iframe { visibility: visible; }
/* no-JS fallback: the old raster (inside .pdemo__view = screen area; directly in .pdemo = whole device) */
.pdemo noscript img {
  position: absolute; inset: 0; z-index: 3; display: block;
  width: 100%; height: 100%; max-width: none; margin: 0;
  object-fit: cover; object-position: 50% 0;
  border-radius: 0; box-shadow: none; filter: none;
}
.pdemo > noscript img { object-fit: contain; }
@media (scripting: none) { .pdemo--js { display: none; } }

/* desktop: minimal window */
.pdemo--window .pdemo__frame {
  overflow: hidden; border-radius: 10px;
  border: 1px solid rgba(17, 20, 23, 0.14);
  background: #fff;
  box-shadow: 0 24px 60px rgba(17, 20, 23, 0.13), 0 4px 14px rgba(17, 20, 23, 0.06);
}
.pdemo--window .pdemo__frame::before {
  content: ""; display: block; height: 26px;
  border-bottom: 1px solid rgba(17, 20, 23, 0.08);
  background:
    radial-gradient(circle at 16px 50%, #D3D6DA 3.5px, transparent 4.2px),
    radial-gradient(circle at 30px 50%, #D3D6DA 3.5px, transparent 4.2px),
    radial-gradient(circle at 44px 50%, #D3D6DA 3.5px, transparent 4.2px),
    #FBFBFA;
}
.nadzor .pdemo--window .pdemo__frame {
  border-color: rgba(243, 241, 236, 0.18);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5), 0 6px 18px rgba(0, 0, 0, 0.3);
}
@media (max-width: 700px) {
  .pdemo--window .pdemo__frame { border-radius: 7px; }
  .pdemo--window .pdemo__frame::before {
    height: 16px;
    background:
      radial-gradient(circle at 10px 50%, #D3D6DA 2.3px, transparent 2.9px),
      radial-gradient(circle at 19px 50%, #D3D6DA 2.3px, transparent 2.9px),
      radial-gradient(circle at 28px 50%, #D3D6DA 2.3px, transparent 2.9px),
      #FBFBFA;
  }
}

/* phone: CSS bezel (sizes in cqw = % of the phone width) */
.pdemo--phone .pdemo__frame {
  padding: 2.6cqw; border-radius: 15cqw;
  background: #0E1013;
  box-shadow:
    inset 0 0 0 0.5cqw #2A2D33,
    0 26px 48px rgba(17, 20, 23, 0.22), 0 6px 14px rgba(17, 20, 23, 0.10);
}
.pdemo--phone .pdemo__screen {
  overflow: hidden; border-radius: 12.4cqw; isolation: isolate;
  background: #F2F6FA;
}
.pdemo--phone .pdemo__screen::before { /* island */
  content: ""; position: absolute; z-index: 4; top: 2.4cqw; left: 50%;
  width: 28cqw; height: 7.6cqw; transform: translateX(-50%);
  border-radius: 99px; background: #0E1013;
}
.pdemo--status .pdemo__screen { padding-top: 12cqw; } /* status strip above a page without its own */
.nadzor .pdemo--phone .pdemo__frame {
  box-shadow:
    inset 0 0 0 0.5cqw #2A2D33, 0 0 0 1px rgba(243, 241, 236, 0.14),
    0 30px 56px rgba(0, 0, 0, 0.55), 0 6px 14px rgba(0, 0, 0, 0.35);
}

/* desktop window + phone overlapping its lower right corner */
.pdevices { position: relative; width: 100%; padding: 0 12% 5% 0; }
.pdevices > .pdemo--phone { position: absolute; right: 0; bottom: 0; width: 23%; }
@media (max-width: 700px) {
  .pdevices { padding: 0 0 70% 0; }
  .pdevices > .pdemo--phone { width: 44%; right: 2%; }
}
.nadzor__media--devices { overflow: visible; border: 0; background: transparent; }

/* promet page: window from 701px, phone below */
.appshot--live { overflow: visible; }
.appshot--live .pdemo--phone { max-width: 340px; margin: 0 auto; }
.pdemo--m { display: none; }
@media (max-width: 700px) {
  .pdemo--d { display: none; }
  .pdemo--m { display: block; }
}

/* mywash #placanje: the live app home screen */
.appdemo { width: 100%; min-width: 0; padding: 12px 0; }
.appdemo > .pdemo--phone { max-width: 300px; margin: 0 auto; }
.split--rev .appdemo { order: 2; }
@media (max-width: 900px) { .split--rev .appdemo { order: 0; } .appdemo > .pdemo--phone { max-width: 280px; } }
@media (min-width: 901px) {
  .nadzor__inner:has(.pdevices) { grid-template-columns: 9fr 15fr; }
}

/* Round 2 · MyWash hero: dusk car wash (our 3D scene) with the app phone on the right */
.phero--mywash .phero__bg img { object-position: 62% 46%; }
.phero--mywash .phero__scrim {
  background:
    linear-gradient(180deg, rgba(23,25,29,0.42) 0%, rgba(23,25,29,0) 28%),
    linear-gradient(90deg, rgba(17,20,23,0.90) 0%, rgba(17,20,23,0.62) 38%, rgba(17,20,23,0.10) 68%, rgba(17,20,23,0.18) 100%);
}
.phero__phone {
  position: absolute; z-index: 1;
  right: clamp(28px, 8vw, 150px); bottom: -14%;
  width: clamp(210px, 20vw, 300px); height: auto;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.6)) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}
@media (max-width: 900px) { .phero__phone { display: none; } }
/* Round 3 · MyWash hero on phones: the scene sits on top as a band and the text starts below it.
   Before, a narrow slice of the wide picture filled the whole hero and the text ran over its busiest part.
   The band shows about 15% to 85% of the frame: the sign (lined up with the text), the bays, the car and the changer. */
@media (max-width: 700px) {
  .phero--mywash { min-height: 0; --mwband: min(80vw, 420px); }
  .phero--mywash .phero__bg { inset: 0 0 auto 0; height: var(--mwband); }
  .phero--mywash .phero__bg img { object-position: 51% 50%; }
  .phero--mywash .phero__scrim {
    background:
      linear-gradient(180deg, rgba(23,25,29,0.5) 0%, rgba(23,25,29,0) 26%) 0 0 / 100% calc(var(--mwband) + 1px) no-repeat,
      linear-gradient(180deg, rgba(23,25,29,0) 60%, rgba(23,25,29,0.62) 84%, #17191D 100%) 0 0 / 100% calc(var(--mwband) + 1px) no-repeat;
  }
  .phero--mywash .phero__content { padding-top: calc(var(--mwband) - 14px); }
}

/* Round 2 · page hero with a looping video of our 3D scene (card payment page): device on the right, text on the left */
.phero--video .phero__bg img, .phero--video .hero__video { object-position: 72% 50%; }
.phero--video .phero__scrim {
  background:
    linear-gradient(180deg, rgba(17,20,23,0.88) 0%, rgba(17,20,23,0.62) 9%, rgba(17,20,23,0) 24%),
    linear-gradient(90deg, rgba(17,20,23,0.88) 0%, rgba(17,20,23,0.55) 34%, rgba(17,20,23,0) 58%);
}
/* Round 3 · the same hero up to 1000px wide. The wide frame cannot be cropped well on a narrow screen
   (half a cone of light, cut by the screen edge), so these widths get an upright crop of the loop with the
   device in the middle (kartice-hero-v2-uspravno.*, the region x 874-1834, y 30-1020 of the wide frame), feathered into the page on all four sides.
   Phones: device on top, text below. 701 to 1000px: text left, device right.
   Device inside the crop: 25% to 75% across, 20% to 89% down; keep the feather outside that box. */
.phero__media { position: absolute; inset: 0; }
@media (max-width: 1000px) {
  .phero--video { display: block; min-height: 0; }
  .phero--video .phero__media {
    position: relative; inset: auto;
    width: min(100%, 460px); aspect-ratio: 960 / 990;
    /* the top of the device stays about 86px from the top on every phone, clear of the logo and the menu button */
    margin: clamp(0px, calc(84px - 20vw), 24px) auto 0;
  }
  .phero--video .phero__bg img, .phero--video .hero__video { object-position: 50% 50%; }
  .phero--video .phero__media::after {
    content: ""; position: absolute; inset: -1px; pointer-events: none;
    background:
      radial-gradient(ellipse 73% 62% at 50% 54.5%, rgba(23,25,29,0) 65%, rgba(23,25,29,0.5) 85%, rgba(23,25,29,0.92) 100%),
      linear-gradient(90deg,
        #17191D 0%, rgba(23,25,29,0.84) 4.5%, rgba(23,25,29,0.52) 9%, rgba(23,25,29,0.2) 14%, rgba(23,25,29,0) 19%,
        rgba(23,25,29,0) 81%, rgba(23,25,29,0.2) 86%, rgba(23,25,29,0.52) 91%, rgba(23,25,29,0.84) 95.5%, #17191D 100%),
      linear-gradient(180deg,
        #17191D 0%, #17191D 8%, rgba(23,25,29,0.9) 11%, rgba(23,25,29,0.55) 14%, rgba(23,25,29,0.2) 17%, rgba(23,25,29,0) 19.5%,
        rgba(23,25,29,0) 90%, rgba(23,25,29,0.45) 94.5%, rgba(23,25,29,0.86) 98%, #17191D 100%);
  }
  .phero--video .phero__scrim { display: none; }
  .phero--video .phero__content { padding-top: 0; margin-top: -8px; }
  /* browsers without aspect-ratio (Safari before 15): give the box its height the old way */
  @supports not (aspect-ratio: 1) {
    .phero--video .phero__media::before { content: ""; display: block; padding-top: 103.125%; }
  }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .phero--video { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr); align-items: center; }
  .phero--video .phero__media { order: 2; width: 100%; max-width: 460px; margin: 40px 0 0; justify-self: center; }
  .phero--video .phero__content { order: 1; margin-top: 0; padding: 120px 0 56px var(--pad); }
}

/* Round 2 · MyWash install: pre-rendered video instead of the heavy live 3D (plays when in view) */
.mw3d__stage { background: var(--paper); }
.mw3d__still, .mw3d__still img, .mw3d__video {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.mw3d__still img, .mw3d__video { object-fit: cover; aspect-ratio: auto; }
.mw3d__video { opacity: 0; transition: opacity 0.3s var(--ease); }
.mw3d__video.playing { opacity: 1; }
html.noanim .mw3d__video { display: none; }
