/* 1Klik web mockup v0.1 - shared styles.
   Layout: wide editorial bands (light / ink), 1200px content column, product UI drawn in CSS instead of photos. */
:root {
  --blue: #076ace;          /* brand blue from the current logo */
  --blue-ink: #0556a8;
  --blue-soft: #e7f0fb;
  --sun: #fbb710;           /* brand yellow, used only as a signal */
  --ink: #0f1a2b;
  --muted: #56667d;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --line: #d9e2ee;
  --band: #0b1f3a;          /* deep navy bands */
  --band-2: #10294b;
  --band-fg: #eaf1fb;
  --band-muted: #9db1cb;
  --ok: #18966a;
  --warn: #c98200;
  --err: #cf4040;
  --shadow: 0 1px 2px rgba(15, 26, 43, .06), 0 8px 24px rgba(15, 26, 43, .06);

  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Onest", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem);
  --step-4: clamp(2.2rem, 1.4rem + 3.2vw, 3.6rem);
  --r: 10px;
  --wrap: 1200px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blue: #4c9ff2; --blue-ink: #86bdf6; --blue-soft: #132a49; --sun: #fbc23d;
    --ink: #e7eef8; --muted: #9babc1; --bg: #0a111d; --surface: #111b2b; --line: #22324a;
    --band: #060c16; --band-2: #0d1a2c; --band-fg: #e7eef8; --band-muted: #8ea3bf;
    --ok: #3cc58f; --warn: #f0b13a; --err: #f07070;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --blue: #4c9ff2; --blue-ink: #86bdf6; --blue-soft: #132a49; --sun: #fbc23d;
  --ink: #e7eef8; --muted: #9babc1; --bg: #0a111d; --surface: #111b2b; --line: #22324a;
  --band: #060c16; --band-2: #0d1a2c; --band-fg: #e7eef8; --band-muted: #8ea3bf;
  --ok: #3cc58f; --warn: #f0b13a; --err: #f07070;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: var(--step-4); font-weight: 750; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 650; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-size: .86em; }
.muted { color: var(--muted); }
.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(56px, 7vw, 96px); }
.band--ink { background: var(--band); color: var(--band-fg); }
.band--ink .muted, .band--ink .lede { color: var(--band-muted); }
.band--surface { background: var(--surface); border-block: 1px solid var(--line); }
.eyebrow {
  font: 600 .78rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
}
.band--ink .eyebrow { color: var(--sun); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }
.stack { display: grid; gap: 16px; }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 40px; }
.tbd {
  border-bottom: 2px dashed var(--sun); cursor: help;
}

/* Mockup strip */
.mock-strip {
  background: var(--sun); color: #2a1d00; font: 500 .8rem/1.3 var(--f-body);
}
.mock-strip .wrap { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; padding-block: 6px; }
.mock-strip a { color: #2a1d00; font-weight: 600; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 62px; width: auto; display: block; }
.logo-on-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-on-light { display: none !important; }
  :root:not([data-theme="light"]) .logo-on-dark { display: block !important; }
}
:root[data-theme="dark"] .logo-on-light { display: none !important; }
:root[data-theme="dark"] .logo-on-dark { display: block !important; }
.band--ink .logo-on-light, .site-footer .logo-on-light { display: none !important; }
.band--ink .logo-on-dark, .site-footer .logo-on-dark { display: block !important; }

.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav > .nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav-link:hover, .nav-item:focus-within > .nav-link { background: var(--blue-soft); color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--blue); }
.nav-link svg { width: 14px; height: 14px; }
.mega {
  position: absolute; top: calc(100% + 8px); left: -12px; min-width: 620px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .15s ease;
}
.nav-item:hover > .mega, .nav-item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega h4 { font: 600 .74rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 6px 10px; }
.mega a { display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.mega a:hover { background: var(--blue-soft); }
.mega a svg { grid-row: span 2; width: 34px; height: 34px; padding: 7px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); }
.mega a b { font-weight: 600; font-size: .95rem; }
.mega a span { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.mega .col { display: grid; align-content: start; }

.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; }
.lang { font: 600 .8rem/1 var(--f-body); color: var(--muted); display: flex; gap: 2px; }
.lang a { padding: 6px; text-decoration: none; color: var(--muted); border-radius: 6px; }
.lang a[aria-current] { color: var(--ink); background: var(--blue-soft); }
.menu-btn { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font: 600 .95rem/1.1 var(--f-body);
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-ink); color: #fff; }
:root[data-theme="dark"] .btn--primary { color: #04121f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn--primary { color: #04121f; } }
.btn--sun { background: var(--sun); color: #231800; }
.btn--sun:hover { filter: brightness(1.05); color: #231800; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.band--ink .btn--ghost { background: transparent; color: var(--band-fg); border-color: rgba(255,255,255,.25); }
.band--ink .btn--ghost:hover { border-color: var(--sun); color: var(--sun); }
.btn--sm { padding: 9px 14px; font-size: .88rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 .hl { color: var(--blue); }
.hero-copy { display: grid; gap: 22px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: var(--muted); }
.trust-line span { display: inline-flex; align-items: center; gap: 6px; }
.trust-line svg { width: 16px; height: 16px; color: var(--ok); }

/* Audience router */
.router { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.router a {
  display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--surface); text-decoration: none; color: var(--ink); transition: .15s;
}
.router a:hover { border-color: var(--blue); transform: translateY(-1px); box-shadow: var(--shadow); color: var(--ink); }
.router svg { width: 36px; height: 36px; flex-shrink: 0; padding: 8px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); }
.router b { display: block; font-weight: 600; font-size: .95rem; line-height: 1.25; }
.router small { color: var(--muted); font-size: .8rem; }

/* Journey ticker (signature element) */
.journey {
  background: var(--band); color: var(--band-fg); border-radius: 18px; padding: 22px;
  box-shadow: 0 30px 60px -30px rgba(7, 106, 206, .55); position: relative; overflow: hidden;
}
.journey::after {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(76,159,242,.28), transparent 65%); pointer-events: none;
}
.journey-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; font-size: .82rem; color: var(--band-muted); }
.journey-head b { color: var(--band-fg); font-family: var(--f-display); font-size: 1.05rem; font-weight: 650; }
.live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .74rem; color: var(--sun); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.journey ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; position: relative; z-index: 1; }
.journey li {
  display: grid; grid-template-columns: 56px 30px minmax(0, 1fr); gap: 10px; align-items: start;
  padding: 9px 8px; border-radius: 10px; transition: background .3s;
}
.journey li.on { background: rgba(255, 255, 255, .07); }
.journey time { font-family: var(--f-mono); font-size: .78rem; color: var(--band-muted); padding-top: 3px; }
.journey .dot { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(76,159,242,.18); color: #8cc4ff; }
.journey .dot svg { width: 16px; height: 16px; }
.journey li.on .dot { background: var(--sun); color: #231800; }
.journey .ev b { display: block; font-weight: 600; font-size: .92rem; }
.journey .ev span { font-family: var(--f-mono); font-size: .74rem; color: var(--band-muted); overflow-wrap: anywhere; }
.journey-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: var(--band-muted); position: relative; z-index: 1; }
.journey-foot b { color: var(--band-fg); }

/* Logos strip */
.logos { display: flex; flex-wrap: wrap; gap: 10px 34px; align-items: center; justify-content: center; }
.logos span { font: 700 1.05rem/1 var(--f-display); color: var(--muted); opacity: .8; letter-spacing: -.01em; white-space: nowrap; }
.logos-cap { text-align: center; font-size: .85rem; color: var(--muted); margin-bottom: 22px; }

/* Platform map */
.platform { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pcard {
  background: var(--band-2); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 22px;
  display: grid; gap: 12px; align-content: start; color: var(--band-fg); text-decoration: none;
}
a.pcard:hover { border-color: var(--sun); color: var(--band-fg); }
.pcard .tag { font-family: var(--f-mono); font-size: .72rem; color: var(--sun); }
.pcard h3 { font-size: 1.35rem; }
.pcard p { color: var(--band-muted); font-size: .92rem; }
.pcard ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .88rem; }
.pcard li { display: flex; gap: 8px; }
.pcard li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: #4c9ff2; margin-top: .55em; flex-shrink: 0; }
.pcard { grid-template-rows: auto auto auto 1fr auto; }
.pcard-shot {
  margin: 6px 0 0; align-self: end; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden;
  background: #fff; border: 1px solid rgba(255,255,255,.12);
}
.pcard-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.pcard:hover .pcard-shot img { transform: scale(1.04); }
.pcard-shot--kliknet img { object-position: 0 0; }
.pcard-shot--ipoint { background: #f6f1f1; }
.pcard-shot--ipoint img { object-fit: cover; object-position: 50% 9%; }
.pcard-shot--naprave img { object-fit: contain; padding: 6px; }
@media (prefers-reduced-motion: reduce) { a.pcard:hover .pcard-shot img { transform: none; } }
.flowline {
  margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center;
  font: 500 .82rem/1 var(--f-mono); color: var(--band-muted);
}
.flowline span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: var(--band-fg); }
.flowline i { font-style: normal; color: var(--sun); }

/* Generic grids and cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.card .ic { width: 42px; height: 42px; padding: 9px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.card p { color: var(--muted); font-size: .95rem; }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .92rem; display: grid; gap: 4px; }
.feature { display: grid; gap: 8px; align-content: start; }
.feature .ic { width: 38px; height: 38px; padding: 8px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); }
.feature p { color: var(--muted); font-size: .94rem; }

/* Numbers band */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.numbers div { border-left: 2px solid var(--blue); padding-left: 16px; display: grid; gap: 4px; }
.numbers b { font: 750 clamp(1.8rem, 1.2rem + 2vw, 2.6rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.numbers span { color: var(--muted); font-size: .9rem; }

/* Case study */
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.case-visual { background: linear-gradient(160deg, #0d3b2a, #145c3f 55%, #1d7a52); color: #eafff4; padding: 32px; display: grid; align-content: space-between; gap: 24px; min-height: 320px; }
.case-visual .ticket { background: rgba(255,255,255,.95); color: #10261b; border-radius: 12px; padding: 16px; font-family: var(--f-mono); font-size: .8rem; display: grid; gap: 6px; max-width: 300px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.case-visual .ticket b { font-family: var(--f-display); font-size: 1rem; }
.case-body { padding: 32px; display: grid; gap: 16px; align-content: center; }
.case-body blockquote { margin: 0; font: 500 var(--step-1)/1.45 var(--f-display); }
.case-body cite { font-style: normal; color: var(--muted); font-size: .9rem; }
.kpis { display: flex; gap: 28px; flex-wrap: wrap; }
.kpis div { display: grid; }
.kpis b { font: 750 1.6rem/1.1 var(--f-display); color: var(--blue); }
.kpis span { font-size: .82rem; color: var(--muted); }

/* News list */
.news { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news a { display: grid; grid-template-columns: 110px 130px minmax(0, 1fr) auto; gap: 18px; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.news a:hover { background: var(--surface); }
.news time { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }
.news .prod { font: 600 .78rem/1 var(--f-body); color: var(--blue); letter-spacing: .04em; }
.news b { font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; font: 600 .72rem/1 var(--f-body); white-space: nowrap; }
.pill--ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.pill--soon { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.pill--blue { background: var(--blue-soft); color: var(--blue); }
.band--ink .pill--soon { background: rgba(251, 183, 16, .18); color: var(--sun); }

/* CTA band */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cta-person { display: flex; gap: 14px; align-items: center; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #4c9ff2, #076ace); display: grid; place-items: center; color: #fff; font: 700 1.1rem/1 var(--f-display); flex-shrink: 0; }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); background: var(--surface); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.crumbs { font-size: .82rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* Product UI mock (KlikNET shell) */
.ui {
  border-radius: 14px; border: 1px solid var(--line); background: var(--bg); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(15, 26, 43, .35); font-size: .72rem; min-width: 0;
}
.ui-top { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--blue); color: #fff; }
.ui-top .srch { flex: 1; background: rgba(255,255,255,.18); border-radius: 6px; padding: 5px 8px; font-family: var(--f-mono); font-size: .66rem; }
.ui-body { display: grid; grid-template-columns: 120px minmax(0, 1fr); min-height: 260px; }
.ui-side { background: var(--surface); border-right: 1px solid var(--line); padding: 10px 8px; display: grid; gap: 3px; align-content: start; }
.ui-side span { padding: 5px 8px; border-radius: 6px; color: var(--muted); }
.ui-side span.on { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.ui-side small { font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 8px 2px; }
.ui-main { padding: 12px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.ui-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ui-kpis div { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px; display: grid; gap: 2px; }
.ui-kpis b { font: 700 1rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.ui-kpis span { color: var(--muted); font-size: .62rem; }
.ui-table { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.ui-table div { display: grid; grid-template-columns: 1.4fr 1fr .8fr .7fr; gap: 6px; padding: 6px 8px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.ui-table div:first-child { border-top: 0; color: var(--muted); font-weight: 600; background: var(--bg); }
.ui-ai { background: var(--band); color: var(--band-fg); border-radius: 8px; padding: 8px 10px; display: flex; gap: 8px; align-items: flex-start; }
.ui-ai svg { width: 14px; height: 14px; color: var(--sun); flex-shrink: 0; margin-top: 1px; }

/* Phone mock (iPoint) */
.phone {
  width: 230px; max-width: 100%; aspect-ratio: 9 / 18.5; border-radius: 34px; background: #0b1424; padding: 10px;
  box-shadow: 0 30px 60px -25px rgba(15, 26, 43, .55); margin-inline: auto;
}
.phone-screen { height: 100%; border-radius: 26px; background: #f4f7fb; color: #0f1a2b; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; font-size: .72rem; }
.phone-top { background: #076ace; color: #fff; padding: 18px 14px 14px; display: grid; gap: 2px; }
.phone-top b { font: 700 .95rem/1.1 var(--f-display); }
.phone-qr { display: grid; place-items: center; gap: 8px; padding: 14px; }
.phone-qr canvas { width: 130px; height: 130px; background: #fff; border-radius: 10px; padding: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.phone-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #dfe6f0; background: #fff; text-align: center; padding: 8px 0 12px; color: #56667d; font-size: .6rem; }
.phone-tabs .on { color: #076ace; font-weight: 700; }

/* Device tiles (hardware) */
.device { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.device-art { background: linear-gradient(160deg, var(--blue-soft), var(--bg)); height: 190px; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.device-art svg { height: 150px; width: auto; }
.device-body { padding: 20px; display: grid; gap: 10px; align-content: start; }
.device-body p { color: var(--muted); font-size: .92rem; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; }
.specs span { font: 500 .74rem/1.2 var(--f-body); padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: #1f2a37; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .92rem; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-family: var(--f-display); font-size: 1rem; background: var(--bg); }
.compare thead th.us { color: var(--blue); }
.compare td.us { background: color-mix(in srgb, var(--blue-soft) 60%, transparent); font-weight: 500; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--ok); font-weight: 600; }
.no { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--f-body); color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--muted); max-width: 70ch; }

/* Steps (real sequences only) */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { list-style: none; counter-increment: step; display: grid; gap: 6px; align-content: start; border-top: 2px solid var(--line); padding-top: 14px; }
.steps li::before { content: counter(step); font: 700 .8rem/1 var(--f-mono); color: var(--blue); }
.steps li b { font-weight: 600; }
.steps li span { color: var(--muted); font-size: .88rem; }
.steps { padding: 0; margin: 0; }

/* Help centre */
.searchbox { display: flex; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow); max-width: 680px; }
.searchbox input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 1.05rem var(--f-body); color: var(--ink); padding: 8px 10px; }
.searchbox input:focus { outline: none; }
.topic { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; color: var(--ink); align-content: start; }
.topic:hover { border-color: var(--blue); color: var(--ink); }
.topic .ic { width: 38px; height: 38px; padding: 8px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); }
.topic span { color: var(--muted); font-size: .88rem; }
.article-list { display: grid; gap: 0; }
.article-list a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .95rem; }
.article-list a:hover { color: var(--blue); }
.article-list small { color: var(--muted); font-family: var(--f-mono); font-size: .72rem; white-space: nowrap; }
.status { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 12px; background: color-mix(in srgb, var(--ok) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); font-size: .92rem; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }

/* AI chat (inline and floating) */
.chat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; overflow: hidden; box-shadow: var(--shadow); min-width: 0; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--band); color: var(--band-fg); }
.chat-head .avatar { width: 34px; height: 34px; font-size: .9rem; }
.chat-head b { display: block; font-size: .95rem; }
.chat-head small { color: var(--band-muted); font-size: .74rem; }
.chat-log { padding: 16px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; min-height: 260px; max-height: 420px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.5; }
.msg--bot { background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--me { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
:root[data-theme="dark"] .msg--me { color: #04121f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .msg--me { color: #04121f; } }
.msg ol, .msg ul { margin: 6px 0 0; padding-left: 18px; }
.msg .src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg .src a { font: 500 .72rem/1 var(--f-mono); padding: 5px 8px; border-radius: 6px; background: var(--blue-soft); text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.chips button { font: 500 .8rem/1.2 var(--f-body); padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chips button:hover { border-color: var(--blue); color: var(--blue); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: .92rem; }
.chat-note { font-size: .72rem; color: var(--muted); padding: 0 16px 12px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: pulse 1s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }

.fab {
  position: fixed; z-index: 70;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--band); color: var(--band-fg); font: 600 .92rem/1 var(--f-body); box-shadow: 0 12px 30px -8px rgba(7,106,206,.6);
}
.fab svg { width: 18px; height: 18px; color: var(--sun); }
.chat-pop {
  position: fixed; z-index: 71; width: min(400px, calc(100vw - 32px));
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(80px + env(safe-area-inset-bottom, 0px));
}
.chat-pop .chat-log { max-height: min(380px, 50vh); }
.chat-close { margin-left: auto; background: none; border: 0; color: var(--band-fg); cursor: pointer; padding: 4px; }
.chat-close svg { width: 18px; height: 18px; }

/* Forms */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: .88rem; }
.field input, .field select, .field textarea {
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: transparent; }
.field fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.checks label { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-weight: 500; font-size: .9rem; cursor: pointer; background: var(--surface); }
.checks input { width: auto; accent-color: var(--blue); }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots label { position: relative; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; font: 500 .82rem/1 var(--f-mono); cursor: pointer; background: var(--surface); }
.slots input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.slots input:checked + span { color: var(--blue); }
.slots label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.form-ok { padding: 18px; border-radius: 12px; background: color-mix(in srgb, var(--ok) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); }

/* Sitemap page */
.tree { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tree section { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.tree h3 { font-size: 1.05rem; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.tree ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tree li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--line); font-size: .9rem; }
.tree li a { text-decoration: none; font-weight: 600; }
.tree code { font: .72rem var(--f-mono); color: var(--muted); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--band); color: var(--band-muted); padding-block: 56px 32px; font-size: .9rem; }
.site-footer a { color: var(--band-fg); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-grid h4 { font: 600 .74rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--band-muted); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand img { height: 84px; width: auto; }
.foot-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; }

/* Real photos: hero, projects, logos, screenshots */
.hero-visual { position: relative; min-width: 0; }
.hero-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo figcaption { position: absolute; top: 14px; left: 14px; background: rgba(6, 12, 22, .72); color: #fff; font: 500 .78rem/1.3 var(--f-body); padding: 6px 10px; border-radius: 8px; }
.hero-visual .journey { position: relative; margin: -120px 0 0 auto; width: min(400px, 92%); padding: 16px; }
.hero-visual .journey li { grid-template-columns: 64px 28px minmax(0, 1fr); padding: 6px 8px; }
.hero-visual .journey time { white-space: nowrap; }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink); min-width: 0; }
a.project:hover { border-color: var(--blue); color: var(--ink); box-shadow: var(--shadow); }
.project-img { aspect-ratio: 16 / 10; background: var(--blue-soft); overflow: hidden; max-width: 100%; position: relative; }
.project-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
a.project:hover .project-img img { transform: scale(1.03); }
.project-img .flag { position: absolute; top: 10px; left: 10px; background: rgba(6, 12, 22, .75); color: #fff; font: 600 .7rem/1 var(--f-mono); padding: 5px 7px; border-radius: 6px; }
.project-img.noimg { display: grid; place-items: center; color: var(--muted); font-size: .8rem; text-align: center; padding: 12px; border-bottom: 2px dashed var(--sun); }
.project-body { padding: 18px; display: grid; gap: 8px; align-content: start; }
.project-body .where { font: 500 .78rem/1.2 var(--f-mono); color: var(--muted); }
.project-body p { color: var(--muted); font-size: .92rem; }
.project-body .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.logo-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.logo-wall span { background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 72px; display: grid; place-items: center; padding: 10px; }
.logo-wall img { max-height: 46px; max-width: 100%; object-fit: contain; }
.shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 50px -28px rgba(15, 26, 43, .45); background: var(--surface); max-width: 100%; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 10px 14px; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.device-art.photo { background: #fff; overflow: hidden; position: relative; }
/* the photo must stay inside its 190 px box (it used to grow to its own height and cover the title and the tags) */
.device-art.photo img { position: absolute; inset: 0; display: block; height: 100%; width: 100%; object-fit: contain; padding: 10px; box-sizing: border-box; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font: 600 .85rem/1 var(--f-body); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter-row { display: grid; gap: 10px; }
.filter-row small { font: 600 .72rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Screen showcase (crossfading real screenshots) */
.showcase { display: grid; gap: 18px; }
.sc-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-tabs button { font: 600 .84rem/1 var(--f-body); padding: 9px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; position: relative; overflow: hidden; }
.sc-tabs button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.sc-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; background: var(--sun); animation: sc-progress var(--sc-ms, 4200ms) linear forwards; }
.showcase.paused .sc-tabs button::after { animation-play-state: paused; }
@keyframes sc-progress { from { width: 0; } to { width: 100%; } }
.sc-stage { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 28px; align-items: end; }
.sc-stage.no-phone { grid-template-columns: minmax(0, 1fr); }
.sc-browser { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 40px 80px -40px rgba(7, 40, 90, .55); min-width: 0; }
.sc-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--bg); border-bottom: 1px solid var(--line); }
.sc-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.sc-bar span { margin-left: 10px; flex: 1; font: 500 .74rem/1 var(--f-mono); color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sc-screens { position: relative; aspect-ratio: 1440 / 842; max-width: 100%; overflow: hidden; background: #f5f7fb; }
.sc-screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.025); transition: opacity .7s ease, transform 4.5s ease-out; }
.sc-screens img.on { opacity: 1; transform: scale(1); }
.sc-ai { position: absolute; right: 3%; bottom: 5%; width: min(340px, 60%); background: var(--band); color: var(--band-fg); border-radius: 12px; padding: 14px; font-size: .82rem; line-height: 1.45; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); opacity: 0; transform: translateY(12px); transition: .5s .5s; }
.sc-ai.on { opacity: 1; transform: none; }
.sc-ai b { color: var(--sun); display: flex; gap: 6px; align-items: center; margin-bottom: 4px; }
.sc-ai b svg { width: 14px; height: 14px; }
.sc-ai small { display: block; color: var(--band-muted); margin-top: 6px; font-size: .7rem; }
.sc-caption { font-size: .95rem; color: var(--muted); min-height: 1.6em; }
.sc-caption b { color: var(--ink); }
.sc-phone { margin: 0; width: 230px; max-width: 100%; aspect-ratio: 390 / 844; border-radius: 34px; background: #0b1424; padding: 9px; box-shadow: 0 30px 60px -25px rgba(15, 26, 43, .6); }
.sc-phone div { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #f4f7fb; }
.sc-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .7s ease; }
.sc-phone img.on { opacity: 1; }
.sc-phone figcaption { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 10px; }
.phones { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.phones figure { margin: 0; width: 210px; max-width: 46%; display: grid; gap: 10px; }
.phones .frame { aspect-ratio: 390 / 844; border-radius: 30px; background: #0b1424; padding: 8px; box-shadow: 0 24px 50px -24px rgba(15, 26, 43, .55); max-width: 100%; }
.phones .frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 23px; display: block; }
.phones figcaption { text-align: center; font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .sc-stage { grid-template-columns: minmax(0, 1fr); } .sc-stage .sc-phone { display: none; } }

/* Inquiry (povpraševanje) */
.need-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.need-grid label { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; font-weight: 500; font-size: .92rem; }
.need-grid label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.need-grid input { accent-color: var(--blue); width: 18px; height: 18px; flex-shrink: 0; }
.seg-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.seg-pick label { position: relative; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; display: grid; gap: 8px; font-weight: 600; font-size: .92rem; }
.seg-pick label svg { width: 28px; height: 28px; color: var(--blue); }
.seg-pick input { position: absolute; opacity: 0; pointer-events: none; }
.seg-pick label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.ai-box { background: var(--band); color: var(--band-fg); border-radius: 16px; padding: 20px; display: grid; gap: 12px; }
.ai-box textarea { width: 100%; min-height: 110px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: var(--band-fg); font: inherit; padding: 12px; }
.ai-box .muted { color: var(--band-muted); font-size: .85rem; }
.ai-understood { font-size: .88rem; color: var(--band-muted); }
.ai-understood b { color: var(--sun); }
.reco { display: grid; gap: 12px; }
.reco-group h3 { font-size: 1rem; color: var(--muted); font-family: var(--f-body); font-weight: 600; letter-spacing: .04em; margin-bottom: 8px; }
.reco-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.reco-item svg { grid-row: span 2; }
.reco-item svg { width: 34px; height: 34px; padding: 7px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); }
.reco-item b { display: block; }
.reco-item p { color: var(--muted); font-size: .88rem; }
.reco-item .price { grid-column: 2; font: 500 .78rem/1.3 var(--f-mono); color: var(--blue-ink, var(--muted)); }
.sticky-side { position: sticky; top: calc(100px + env(safe-area-inset-top, 0px)); }

/* Admin */
.admin { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0; min-height: 80vh; border-top: 1px solid var(--line); }
.admin-nav { background: var(--surface); border-right: 1px solid var(--line); padding: 20px 12px; display: grid; gap: 4px; align-content: start; }
.admin-nav button { text-align: left; padding: 10px 12px; border-radius: 9px; border: 0; background: none; font: 500 .92rem var(--f-body); color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 8px; }
.admin-nav button[aria-selected="true"] { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.admin-nav .count { font: 600 .72rem/1.6 var(--f-mono); background: var(--bg); border-radius: 999px; padding: 0 7px; color: var(--muted); }
.admin-main { padding: 24px max(16px, env(safe-area-inset-right, 0px)) 48px 28px; display: grid; gap: 20px; align-content: start; min-width: 0; }
.admin-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.admin-table th, .admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.admin-table th { font-size: .78rem; color: var(--muted); font-weight: 600; background: var(--bg); }
.admin-table img { width: 64px; height: 40px; object-fit: cover; border-radius: 6px; display: block; background: var(--blue-soft); }
.admin-table .act { display: flex; gap: 6px; justify-content: flex-end; }
.editor { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 16px; }
.editor .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.editor .row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs img { width: 120px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.inbox-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 8px; }
.inbox-item header { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.btn--danger { color: var(--err); border-color: color-mix(in srgb, var(--err) 40%, transparent); background: var(--surface); }

/* Mobile nav */
.mnav { display: none; }

@media (max-width: 1080px) {
  .nav, .header-tools .lang, .header-tools .btn { display: none; }
  .menu-btn { display: grid; }
  .mnav[data-open="true"] {
    display: grid; gap: 4px; position: fixed; inset: calc(84px + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 49;
    background: var(--surface); overflow-y: auto; align-content: start;
    padding: 16px max(16px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  }
  .mnav h4 { font: 600 .74rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 0 4px; }
  .mnav a { padding: 10px 0; text-decoration: none; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
  .mnav .btn { margin-top: 16px; border-bottom: 0; color: #fff; }
  .hero .wrap, .page-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .platform { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4, .numbers, .tree { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin { grid-template-columns: minmax(0, 1fr); }
  .admin-nav { display: flex; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--line); }
  .sticky-side { position: static; }
}
@media (max-width: 760px) {
  .grid-3, .grid-2, .case, .cta { grid-template-columns: minmax(0, 1fr); }
  .platform, .grid-4, .tree { grid-template-columns: minmax(0, 1fr); }
  .router { grid-template-columns: minmax(0, 1fr); }
  .news a { grid-template-columns: 1fr; gap: 6px; }
  .checks { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .ui-body { grid-template-columns: 1fr; }
  .ui-side { display: none; }
  .fab span { display: none; }
  .projects, .shots, .editor .row2, .editor .row3 { grid-template-columns: minmax(0, 1fr); }
  .hero-visual .journey { margin: -60px auto 0; }
  .brand img { height: 52px; }
  .reco-item { grid-template-columns: 34px minmax(0, 1fr); }
  .reco-item .price { grid-column: 2; text-align: left; }
}
/* ---------- Home story (index.html [data-story], driven by site.js) ---------- */
.story { display: grid; gap: 14px; --step-ms: 3600ms; }
.story-stage { position: relative; aspect-ratio: 1 / .96; isolation: isolate; }
.story-stage::before { content: ""; position: absolute; inset: 8% 0 0 10%; border-radius: 28px; z-index: -1;
  background: radial-gradient(120% 90% at 70% 30%, var(--blue-soft), transparent 70%); }
.story-gate { position: absolute; right: 0; bottom: 0; width: 60%; height: auto; filter: drop-shadow(0 24px 30px rgba(15, 26, 43, .22)); }
.story-glow { position: absolute; right: 7%; top: 17%; width: 18%; aspect-ratio: 1; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgba(60, 197, 143, .75), rgba(60, 197, 143, 0) 70%); pointer-events: none; }
.story-gate-msg { position: absolute; left: 0; top: 58%; z-index: 3; display: flex; gap: 10px; align-items: center; padding: 10px 14px;
  border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; transform: translateY(8px); }
.story-gate-msg b { display: block; font-size: .95rem; }
.story-gate-msg small { color: var(--muted); font-size: .78rem; }
.story-gate-msg .ok-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; flex: none; }
.story-gate-msg .ok-dot svg { width: 16px; height: 16px; }
.story-phone { position: absolute; left: 3%; top: 2%; width: 38%; margin: 0; aspect-ratio: 540 / 1169; padding: 7px; border-radius: 30px;
  background: #0f1a2b; box-shadow: 0 30px 50px -18px rgba(15, 26, 43, .55), inset 0 0 0 2px #2a3a52; transform-origin: 50% 0;
  transition: transform .9s cubic-bezier(.3, .7, .2, 1); z-index: 2; }
.story-screen { position: relative; width: 100%; height: 100%; border-radius: 23px; overflow: hidden; background: #f8f4f3; }
.story-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.story-screen img.on { opacity: 1; }
.story-tap { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 3px solid var(--sun);
  background: rgba(251, 183, 16, .22); opacity: 0; pointer-events: none; }
.story.run .story-tap.go { animation: storyTap 1.1s ease-out calc(var(--step-ms) * .4) both; }
.story.is-entry .story-tap { display: none; }
@keyframes storyTap { 0% { opacity: 0; transform: scale(1.6); } 35% { opacity: 1; transform: scale(1); } 70% { opacity: 1; transform: scale(.85); } 100% { opacity: 0; transform: scale(1); } }
/* step 4: the phone goes to the reader of KlikGate T17, the gate answers */
.story.is-entry .story-phone { transform: translate(92%, 14%) rotate(-12deg) scale(.56); }
.story.is-entry .story-gate-msg { opacity: 1; transform: none; }
.story.is-entry .story-glow { opacity: 1; }
.story.run.is-entry .story-phone { transform: none; animation: storyToGate var(--step-ms) cubic-bezier(.3, .7, .2, 1) both; }
.story.run.is-entry .story-gate-msg { opacity: 0; animation: storyMsg var(--step-ms) ease both; }
.story.run.is-entry .story-glow { opacity: 0; animation: storyGlow var(--step-ms) ease both; }
@keyframes storyToGate { 0%, 22% { transform: none; } 45%, 100% { transform: translate(92%, 14%) rotate(-12deg) scale(.56); } }
@keyframes storyMsg { 0%, 50% { opacity: 0; transform: translateY(8px); } 58%, 100% { opacity: 1; transform: none; } }
@keyframes storyGlow { 0%, 46% { opacity: 0; transform: scale(.6); } 54% { opacity: 1; transform: scale(1.15); } 70%, 100% { opacity: .85; transform: scale(1); } }
.story-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.story-steps button { position: relative; overflow: hidden; width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 0 8px; text-align: left;
  align-items: center; padding: 10px 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; font: inherit; }
.story-steps .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 600 .75rem var(--f-mono);
  background: var(--blue-soft); color: var(--blue); }
.story-steps b { font-size: .86rem; line-height: 1.2; }
.story-steps small { display: none; }
.story-steps button.on { border-color: var(--blue); }
.story-steps button.on .n, .story-steps button.done .n { background: var(--blue); color: #fff; }
.story-steps .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--blue); }
.story-steps button.on .bar { width: 100%; }
.story.run .story-steps button.on .bar { width: 0; animation: storyBar var(--step-ms) linear both; }
@keyframes storyBar { to { width: 100%; } }
.story-cap { margin: 0; min-height: 2.8em; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) {
  .story-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-phone { border-radius: 22px; padding: 5px; }
  .story-screen { border-radius: 17px; }
  .story-gate-msg { padding: 8px 10px; }
  .story-gate-msg b { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Member path game (assets/pot-clana.js, [data-member-path]) ---------- */
.pc { display: grid; gap: 12px; }
.pc-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.pc-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.pc-seg button { font: 600 .86rem/1 var(--f-body); padding: 9px 14px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.pc-seg button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.pc-play { display: inline-flex; align-items: center; gap: 6px; font: 600 .86rem/1 var(--f-body); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.pc-play svg { width: 16px; height: 16px; }
.pc-hud { display: grid; gap: 6px; }
.pc-row { display: grid; grid-template-columns: 12px auto auto auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; }
.pc-row i { width: 12px; height: 12px; border-radius: 50%; }
.pc-row .pc-mode { color: var(--muted); font-size: .82rem; }
.pc-row .pc-clock { font: 600 .95rem/1 var(--f-mono); padding: 4px 8px; border-radius: 6px; background: var(--bg); }
.pc-row .pc-now { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-stage { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #e9eef5; aspect-ratio: 1200 / 660; }
.pc-stage svg { display: block; width: 100%; height: 100%; }
.pc-out { fill: #d9e2ec; } .pc-curb { stroke: #c6d1de; stroke-width: 4; stroke-dasharray: 18 14; }
.pc-room { fill: #fbf8f1; } .pc-cafe { fill: #f6efe4; } .pc-studio { fill: #eef4fb; } .pc-lobby { fill: #fdf9f0; }
.pc-hall { fill: #f4f1ea; } .pc-locker { fill: #eef6f2; } .pc-gym { fill: #f3f0fa; }
.pc-wall { stroke: #34404f; stroke-width: 8; stroke-linecap: round; }
.pc-doorway { fill: #fbb710; opacity: .5; }
.pc-label { font: 700 22px var(--f-display); fill: #8593a6; letter-spacing: .02em; }
.pc-table { fill: #e3d5c0; } .pc-desk { fill: #c9b391; } .pc-desk-label { font: 700 15px var(--f-body); fill: #6d5a3e; letter-spacing: .1em; }
.pc-mat { fill: #cfe0f3; } .pc-lockerbox { fill: #b8c7d6; stroke: #8a9bb0; stroke-width: 1.5; transition: fill .3s; } .pc-bench { fill: #c9ced8; }
.pc-tread { fill: #8d96a8; } .pc-weight { fill: #4b5566; }
.pc-gate-body { fill: #1f2733; } .pc-arm { stroke: #a9b4c2; stroke-width: 4; stroke-linecap: round; }
.pc-gate-arms { transition: transform .6s ease; transform-box: view-box; transform-origin: 0 0; }
.pc-gate.ok .pc-gate-arms { transform: rotate(120deg); }
.pc-light { fill: #8692a3; transition: fill .2s; } .pc-gate.ok .pc-light { fill: #2fd27a; filter: drop-shadow(0 0 6px #2fd27a); }
.pc-tag { font: 600 14px var(--f-body); fill: #56637a; }
.pc-shadow { fill: rgba(15, 26, 43, .18); } .pc-body { stroke: #fff; stroke-width: 3; } .pc-head { stroke: rgba(0,0,0,.12); stroke-width: 1; }
.pc-name { font: 700 17px var(--f-body); fill: #1d2635; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.pc-closed { display: none; } .pc-closed rect { fill: #2a2f3a; } .pc-closed text { font: 700 16px var(--f-body); fill: #ffb4a8; letter-spacing: .12em; }
.pc-bubble, .pc-icon { position: absolute; transform: translate(-50%, -100%); padding: 6px 10px; border-radius: 10px; background: #fff; color: var(--ink);
  font: 600 .8rem/1.2 var(--f-body); box-shadow: 0 8px 18px -8px rgba(15,26,43,.45); white-space: nowrap; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 2; }
.pc-bubble.on, .pc-icon.on { opacity: 1; }
.pc-bubble.is-ok { background: #17804a; color: #fff; }
.pc-icon { transform: translate(-50%, 0); display: inline-flex; gap: 6px; align-items: center; background: #0b1f3a; color: #fff; }
.pc-icon svg { width: 16px; height: 16px; }
.pc-desk-bubble { transform: translate(-50%, -100%); }
.pc-phone { position: absolute; width: 15%; aspect-ratio: 540 / 1100; transform: translate(0, -50%) scale(.9); border-radius: 14px; padding: 4px; background: #0b1424;
  box-shadow: 0 20px 40px -14px rgba(0,0,0,.55), 0 0 0 3px var(--c, #076ace); overflow: hidden; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; z-index: 3; }
.pc-phone.is-left { transform: translate(-100%, -50%) scale(.9); }
.pc-phone.on { opacity: 1; transform: translate(0, -50%) scale(1); } .pc-phone.is-left.on { transform: translate(-100%, -50%) scale(1); }
.pc-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 10px; }
.pc-night { position: absolute; left: 1.5%; top: 2.5%; display: none; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(6,12,22,.82); color: #ffd56a; font: 600 .8rem/1 var(--f-body); z-index: 2; }
.pc-night svg { width: 15px; height: 15px; }
.pc-end { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, 88%); display: none; gap: 8px; padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.97); box-shadow: 0 30px 60px -20px rgba(15,26,43,.55); z-index: 4; color: var(--ink); }
.pc-end.on { display: grid; } .pc-end b { font: 700 1.15rem/1.3 var(--f-display); } .pc-end span { color: var(--muted); font-size: .92rem; }
.pc-end-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pc-cap { margin: 0; color: var(--muted); font-size: .95rem; min-height: 1.5em; }
.is-night .pc-stage { background: #1a2130; }
.is-night .pc-room, .is-night .pc-out { filter: brightness(.55) saturate(.7); }
.is-night .pc-gym, .is-night .pc-locker, .is-night .pc-hall, .is-night .pc-studio { filter: brightness(.85); }
.is-night .pc-label { fill: #9fb0c8; } .is-night .pc-staff, .is-night .pc-class { display: none; }
.is-night .pc-closed { display: block; } .is-night .pc-night { display: inline-flex; }
.pc-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pc-steps h3 { font-size: 1rem; display: flex; gap: 8px; align-items: center; } .pc-steps h3 i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.pc-steps ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; color: var(--muted); font-size: .9rem; }
.pc-steps li.on { color: var(--ink); font-weight: 600; } .pc-steps li.done { color: var(--ink); }
@media (max-width: 760px) {
  .pc-row { grid-template-columns: 12px auto auto minmax(0, 1fr); } .pc-row .pc-mode { display: none; } .pc-row .pc-clock { justify-self: start; } .pc-row .pc-now { grid-column: 1 / -1; white-space: normal; }
  .pc-bubble, .pc-icon { font-size: .62rem; padding: 3px 6px; }
  .pc-phone { width: 24%; border-radius: 9px; padding: 2px; }
  .pc-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pc-end { background: rgba(17,27,43,.97); } }
.story-more { display: inline-block; margin-top: 4px; font-weight: 600; font-size: .92rem; }

/* ---------- Gate catalogue (omejilniki-prehoda.html#ponudba) ---------- */
.gc-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.gc-filter button { font: 600 .86rem/1 var(--f-body); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.gc-filter button span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.gc-filter button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.gc-filter button[aria-pressed="true"] span { color: rgba(255,255,255,.8); }
.gc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gc-item { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.gc-item[hidden] { display: none; }
.gc-item img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border-bottom: 1px solid var(--line); }
.gc-item > div { display: grid; gap: 6px; align-content: start; padding: 14px 16px 16px; }
.gc-cat { font: 600 .72rem/1 var(--f-mono); color: var(--blue); text-transform: uppercase; letter-spacing: .04em; }
.gc-item h3 { font-size: 1.05rem; }
.gc-item p { color: var(--muted); font-size: .9rem; }
.gc-item ul { margin: 2px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.gc-item li { font-size: .76rem; padding: 3px 7px; border-radius: 6px; background: var(--bg); color: var(--ink); }

/* ---------- Entrance configurator (assets/vhod.js, [data-entry-config]) ---------- */
.ec { display: grid; gap: 14px; margin-bottom: 36px; }
.ec-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); justify-self: start; }
.ec-tabs button { font: 600 .9rem/1 var(--f-body); padding: 10px 16px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.ec-tabs button[aria-selected="true"] { background: var(--blue); color: #fff; }
.ec-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 18px; align-items: start; }
.ec-stage { border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: linear-gradient(rgba(7,106,206,.05) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(7,106,206,.05) 1px, transparent 1px) 0 0 / 24px 24px, #fbfcfe; }
.ec-stage svg { display: block; width: 100%; height: auto; aspect-ratio: 900 / 620; }
.ec-note { margin: 0; padding: 8px 14px 12px; font-size: .86rem; color: #5b6b82; }
.ec-note.is-over { color: #b42318; font-weight: 600; }
.ec-side { display: grid; gap: 12px; }
.ec-field { display: grid; gap: 6px; }
.ec-label { font: 600 .78rem/1 var(--f-body); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ec-seg { display: flex; flex-wrap: wrap; gap: 4px; }
.ec-seg button { font: 500 .84rem/1.1 var(--f-body); padding: 8px 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.ec-seg button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.ec-seg button:disabled { opacity: .38; cursor: not-allowed; }
.ec-hint { font-size: .82rem; color: var(--muted); margin: 0; }
.ec-side input[type=number], .ec-side select { font: 500 .92rem var(--f-body); padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; }
.ec-addrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.ec-fill { height: 8px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.ec-fill i { display: block; height: 100%; background: #17804a; } .ec-fill i.is-over { background: #b42318; }
.ec-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ec-items li { display: flex; gap: 4px; align-items: center; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: .85rem; }
.ec-items li.is-sel { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(7,106,206,.15); }
.ec-items li > button { flex: none; font: 600 .8rem/1 var(--f-body); min-width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.ec-items li > .ec-name { flex: 1; min-width: 0; text-align: left; border: 0; background: none; font-weight: 600; padding: 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-items li input { flex: none; width: 80px !important; padding: 5px 6px !important; }
.ec-w { flex: none; color: var(--muted); font: 500 .78rem var(--f-mono); padding: 0 4px; }
.ec-sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--band); color: var(--band-fg); }
.ec-sum b { font: 700 .95rem var(--f-display); }
.ec-sum pre { margin: 4px 0 0; white-space: pre-wrap; font: 500 .84rem/1.45 var(--f-body); color: var(--band-muted); }
.ec-stage svg * { vector-effect: non-scaling-stroke; }
.ec-lane { fill: rgba(7,106,206,.06); stroke: #9fb4cc; stroke-width: 1.2; stroke-dasharray: 5 4; }
.ec-floor { fill: #eef2f7; stroke: #c6d1de; stroke-width: 1; }
.ec-arrow { stroke: #076ace; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 7; }
.ec-arrow--back { stroke: #e0662f; }
.ec-hous { stroke: #1d2635; stroke-width: 1.6; stroke-linejoin: round; }
.ec-hous.side { fill: #2a3240; } .ec-hous.top { fill: #d4dbe4; } .ec-hous.slope { fill: #39434f; } .ec-hous.front { fill: #222a35; }
.ec-steel.side { fill: #c5ccd6; } .ec-steel.front { fill: #dde2e9; } .ec-steel.top { fill: #eef1f5; }
.ec-red.side { fill: #b9332b; } .ec-red.front { fill: #d6453b; } .ec-red.top { fill: #e8645a; }
.ec-steel, .ec-red { stroke: #4b5566; stroke-width: 1.2; stroke-linejoin: round; }
.ec-screen { fill: #0d2440; stroke: #5aa8ff; stroke-width: 1.5; } .ec-screen-arrow { fill: #2fd27a; }
.ec-led { fill: #101821; stroke: #2fd27a; stroke-width: 1.2; }
.ec-qr { fill: #111820; stroke: #8a96a8; stroke-width: 1.2; } .ec-qr-dot { fill: #e8edf3; } .ec-qr-win { fill: #b31f2a; opacity: .75; }
.ec-rfid { fill: #e9eef5; stroke: #8a96a8; stroke-width: 1.2; } .ec-rfid-wave { fill: none; stroke: #076ace; stroke-width: 1.3; }
.ec-coll { fill: #3c4654; stroke: #9aa5b5; stroke-width: 1.2; } .ec-coll-mouth { fill: #0b0f15; stroke: #fbb710; stroke-width: 1.2; }
.ec-bio { fill: #e9eef5; stroke: #8a96a8; stroke-width: 1.2; } .ec-bio-pad { fill: #9cc4ee; }
.ec-logo { fill: #076ace; opacity: .85; }
.ec-arm { stroke: #aab4c1; stroke-width: 4; stroke-linecap: round; }
.ec-glass { fill: rgba(150, 200, 235, .35); stroke: #7fa9c8; stroke-width: 1.2; }
.ec-bar { stroke: #b9332b; stroke-width: 2.5; } .ec-post { stroke: #6b7686; stroke-width: 3; stroke-linecap: round; } .ec-rail { stroke: #8a96a8; stroke-width: 2; }
.ec-wall.front { fill: #f1ece3; } .ec-wall.top { fill: #e3dccf; } .ec-wall.side { fill: #d7cfbf; } .ec-wall { stroke: #8d8270; stroke-width: 1.2; }
.ec-door { fill: #c79a6b; stroke: #7a5a38; stroke-width: 1.2; } .ec-frame { fill: #8a8f99; } .ec-handle { stroke: #2b2f36; stroke-width: 4; stroke-linecap: round; }
.ec-strike { fill: #fbb710; stroke: #9a6c00; stroke-width: 1.4; }
.ec-term { fill: #1b2230; stroke: #4b5566; stroke-width: 1.2; } .ec-btnplate { fill: #e9eef5; stroke: #8a96a8; } .ec-btn { fill: #17804a; }
.ec-cable { fill: none; stroke: #fbb710; stroke-width: 2; stroke-dasharray: 6 4; }
.ec-dim { stroke: #076ace; stroke-width: 1.5; } .ec-dim.is-over { stroke: #b42318; }
.ec-unit { cursor: pointer; } .ec-unit.is-sel { filter: drop-shadow(0 0 3px rgba(7,106,206,.75)); }
@media (max-width: 900px) { .ec-body { grid-template-columns: minmax(0, 1fr); } .ec-sum { grid-template-columns: minmax(0, 1fr); } }
.ec-dimtext { font: 600 13px var(--f-mono); fill: #076ace; }
/* Entrance configurator v2: full KlikGate (both heads), more gate families, picker with pictures, drag and drop */
.ec-hous.back { fill: #39434f; }
.ec-steel.back, .ec-steel.slope { fill: #cfd5de; }
.ec-inner { fill: #c5ccd6; stroke: #8a96a8; stroke-width: 1; }
.ec-seam { stroke: #3d4757; stroke-width: 1.2; } .ec-key { fill: #c9a227; stroke: none; }
.ec-hub.side, .ec-hub.front, .ec-hub.top { fill: #1d2635; } .ec-hub { stroke: #0f141b; stroke-width: 1; }
.ec-coll-led { fill: #2fd27a; }
.ec-ledstrip { stroke: #2fd27a; stroke-width: 3; stroke-linecap: round; }
.ec-panel { fill: #dfe4ea; fill-opacity: .92; stroke: #6b7686; stroke-width: 1.4; }
.ec-acryl { fill: rgba(255, 255, 255, .6); stroke: #8a96a8; stroke-width: 1.2; }
.ec-bar-thin { stroke: #a2392f; stroke-width: 1.4; }
.ec-bar-rotor { stroke: #6b7686; stroke-width: 1.6; }
.ec-cyl { fill: none; stroke: #7fa9c8; stroke-width: 1.4; }
.ec-glassfill { fill: rgba(150, 200, 235, .22); stroke: none; }
.ec-stanchion { stroke: #6b7686; stroke-width: 3; stroke-linecap: round; } .ec-base { fill: #aab4c1; stroke: #6b7686; stroke-width: 1; }
.ec-belt { stroke: #076ace; stroke-width: 3; stroke-linecap: round; }
.ec-gap { fill: rgba(7, 106, 206, .04); stroke: #9fb4cc; stroke-width: 1.2; stroke-dasharray: 4 4; }
.ec-gaptext { font: 600 11px var(--f-mono); fill: #5b6b82; }
.ec-planter.side { fill: #8a6a4a; } .ec-planter.front { fill: #a07b55; } .ec-planter.top { fill: #5b4632; } .ec-planter { stroke: #5b4632; stroke-width: 1.2; }
.ec-leaf { fill: #3f9a52; stroke: #2a6e39; stroke-width: 1; } .ec-leaf2 { fill: #57b468; stroke: #2a6e39; stroke-width: 1; } .ec-flower { fill: #f2b8c6; stroke: #c25a7a; stroke-width: 1; }
.ec-tag { font: 700 20px var(--f-body); fill: #076ace; letter-spacing: .06em; text-transform: uppercase; } .ec-tag--back { fill: #e0662f; }
.ec-wall-ghost { fill: rgba(141, 130, 112, .1); stroke: #8d8270; stroke-width: 1; stroke-dasharray: 6 4; pointer-events: none; }
.ec-marker polygon { fill: rgba(251, 183, 16, .18); stroke: #fbb710; stroke-width: 2; stroke-dasharray: 6 4; }
.ec-th svg *, .ec-stage svg * { vector-effect: non-scaling-stroke; }
.ec-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.ec-chips button { font: 500 .78rem/1 var(--f-body); padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.ec-chips button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.ec-pal { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; max-height: 300px; overflow-y: auto; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.ec-tile { display: grid; justify-items: center; align-content: start; gap: 3px; padding: 6px 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: grab; text-align: center; font: inherit; }
.ec-tile:hover, .ec-tile:focus-visible { border-color: var(--blue); }
.ec-th { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 8px; background: #fff; overflow: hidden; }
.ec-th img { width: 100%; height: 100%; object-fit: contain; }
.ec-th svg { width: 92%; height: 92%; }
.ec-th--s { width: 34px; height: 34px; flex: none; border: 1px solid var(--line); border-radius: 6px; }
.ec-tn { font: 600 .72rem/1.2 var(--f-body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ec-tw { font: 500 .7rem var(--f-mono); color: var(--muted); }
.ec-grip { flex: none; cursor: grab; color: var(--muted); padding: 0 2px; font-weight: 700; letter-spacing: -2px; user-select: none; }
.ec-items li[draggable="true"] { cursor: grab; }
.ec-items li.is-drop-before { box-shadow: 0 -3px 0 0 #fbb710; } .ec-items li.is-drop-after { box-shadow: 0 3px 0 0 #fbb710; }
.ec-items li.is-dragging { opacity: .45; }
.ec-items.is-drop-end { outline: 2px dashed #fbb710; outline-offset: 3px; border-radius: 10px; }
.ec-stage.is-row svg { touch-action: pan-y; } .ec-stage.is-row .ec-unit { cursor: grab; }
.ec-stage.is-dragging, .ec-stage.is-dragging .ec-unit { cursor: grabbing; }
.ec-stage.is-drop { outline: 2px dashed #fbb710; outline-offset: -4px; }
.ec-side, .ec-field { grid-template-columns: minmax(0, 1fr); min-width: 0; }
@media (max-width: 520px) { .ec-items li { flex-wrap: wrap; } .ec-items li > .ec-name { flex-basis: calc(100% - 90px); } }
.ec-stage { position: relative; }
.ec-tool { position: absolute; top: 10px; right: 10px; font: 600 .82rem/1 var(--f-body); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: 0 2px 8px rgba(13, 36, 64, .08); }
.ec-tool[aria-pressed="true"] { background: #fbb710; border-color: #fbb710; color: #1d2635; }
.ec-stage.is-meas svg, .ec-stage.is-meas .ec-unit { cursor: crosshair; }
.ec-dim--chain { stroke: #5b6b82; stroke-width: 1.2; } .ec-dim--free { stroke: #17804a; stroke-width: 1.2; stroke-dasharray: 5 4; }
.ec-chaintext { font: 600 11px var(--f-mono); fill: #5b6b82; } .ec-chaintext.is-sel { fill: #076ace; } .ec-chaintext.is-free { fill: #17804a; }
.ec-meas line { stroke: #e0662f; stroke-width: 2.5; stroke-linecap: round; } .ec-meas circle { fill: #e0662f; stroke: #fff; stroke-width: 1.5; }
.ec-meastext { font: 700 14px var(--f-mono); fill: #b5461b; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
/* Entrance configurator v3: RAL colours, photo of the room behind the custom row, view sliders */
.ec-col .ec-hous.side, .ec-col .ec-steel.side, .ec-col .ec-red.side { fill: var(--cs); }
.ec-col .ec-hous.front, .ec-col .ec-steel.front, .ec-col .ec-red.front { fill: var(--cf); }
.ec-col .ec-hous.top, .ec-col .ec-steel.top, .ec-col .ec-red.top { fill: var(--ct); }
.ec-col .ec-hous.slope, .ec-col .ec-hous.back, .ec-col .ec-steel.slope, .ec-col .ec-steel.back { fill: var(--cl); }
.ec-col .ec-bar, .ec-col .ec-bar-thin { stroke: var(--cb); }
.ec-sws { display: flex; flex-wrap: wrap; gap: 6px; }
.ec-sw { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: var(--sw); cursor: pointer; padding: 0; }
.ec-sw--std { background: linear-gradient(135deg, #eef1f5, #a9b2be 50%, #eef1f5); }
.ec-sw[aria-pressed="true"] { outline: 3px solid var(--blue); outline-offset: 2px; }
.ec-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; border: 1px solid rgba(0, 0, 0, .25); }
.ec-more { border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; background: var(--surface); }
.ec-more[open] { display: grid; gap: 10px; padding-bottom: 12px; }
.ec-more summary { cursor: pointer; font: 600 .78rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 6px 0; }
.ec-btnrow { display: flex; flex-wrap: wrap; gap: 6px; }
.ec-file { cursor: pointer; } .ec-file input { display: none; }
.ec-range { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 8px; align-items: center; font-size: .84rem; }
.ec-range input { width: 100%; accent-color: var(--blue); }
.ec-check { display: flex; gap: 6px; align-items: center; font-size: .85rem; }
.ec-stage.is-photo { background: #0d1117; }
.ec-stage.is-photo svg { max-height: 75vh; touch-action: none; cursor: move; }
.ec-stage.is-photo .ec-note { background: var(--surface); }
.ec-stage.is-photo .ec-wall, .ec-stage.is-photo .ec-wall-ghost { display: none; }
.ec-stage.is-photo .ec-floor { fill: rgba(7, 106, 206, .1); stroke: rgba(255, 255, 255, .7); }
.ec-stage.no-dims .ec-dims, .ec-stage.no-dims .ec-floor { display: none; }
/* Entrance configurator v4: Ozak shapes, custom RAL */
.ec-lid { fill: #10151c; stroke: none; }
.ec-tube { stroke: #8a96a8; stroke-width: 3; stroke-linecap: round; }
.ec-col .ec-tube { stroke: var(--cb); }
.ec-ralc { display: flex; gap: 6px; align-items: center; }
.ec-ralc input[type="text"] { width: 12em; font: 500 .88rem var(--f-body); padding: 7px 9px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.ec-ralc input[type="color"] { width: 42px; height: 34px; padding: 2px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.ec-ralc input[type="color"]:disabled { opacity: .35; cursor: not-allowed; }
.ec-bar { stroke: #7d8796; } .ec-bar-thin { stroke: #8f99a8; }
.ec-opts { display: grid; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }

/* ---------- 2026-11-25: overview links, packages, franchise page ---------- */
.mega a.mega-all { display: block; padding: 8px 10px; color: var(--blue); }
.mega a.mega-all b { font-size: .88rem; }
.foot-grid h4 a { color: inherit; text-decoration: none; }
.foot-grid h4 a:hover { color: var(--band-fg); }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pack { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 14px; grid-template-rows: auto auto auto 1fr auto; min-width: 0; }
.pack .amount { font: 750 clamp(2.1rem, 1.7rem + 1.4vw, 2.8rem)/1 var(--f-display); }
.pack .amount small { font: 500 .95rem var(--f-body); color: var(--muted); }
.pack ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; align-content: start; color: var(--muted); font-size: .94rem; }
.pack ul li b { color: var(--ink); font-weight: 600; }
.pack--main { background: var(--band); color: var(--band-fg); border-color: transparent; }
.pack--main .amount small, .pack--main ul { color: var(--band-muted); }
.pack--main ul li b { color: var(--band-fg); }
.pack--hi { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.pack--hi .pack-flag { position: absolute; top: -12px; left: 24px; }
.pack--flex { border-style: dashed; cursor: pointer; }
.pack--flex:hover { border-color: var(--blue); }
.pack .btn-row { margin-top: 4px; }
.pack small.note { color: var(--muted); font-size: .82rem; }
.pack--main small.note { color: var(--band-muted); }
@media (max-width: 980px) { .packs { grid-template-columns: minmax(0, 1fr); } }
.overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.overview a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.overview a.card:hover { border-color: var(--blue); transform: translateY(-2px); }
.overview a.card h3 { color: var(--ink); }
.overview a.card .go { color: var(--blue); font-weight: 600; font-size: .9rem; }
.overview .card img { width: 100%; height: 170px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.overview .card img.cover { object-fit: cover; }
@media (max-width: 980px) { .overview { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .overview { grid-template-columns: minmax(0, 1fr); } }
/* photo grid of installations (omejilniki-prehoda, resitve-fransize) */
.installs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.installs figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.installs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; max-width: 100%; }
.installs figcaption { padding: 12px 14px; font-size: .88rem; } .installs figcaption span { color: var(--muted); display: block; font-size: .8rem; }
@media (max-width: 1080px) { .installs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .installs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Home story on the reception photo (2026-11-25): klikgate-t17-fitnes.webp instead of the cut-out gate,
   the phone smaller and tilted on the right over the railing; step 4 moves it to the reader of the gate in the photo ---------- */
.story-stage { aspect-ratio: 1376 / 768; margin: 5% 0 6%; }
.story-stage::before { display: none; }
.story-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.story-badge { position: absolute; left: 12px; bottom: 12px; z-index: 1; background: rgba(6, 12, 22, .72); color: #fff;
  font: 500 .74rem/1.3 var(--f-body); padding: 5px 9px; border-radius: 8px; }
/* Matej 2026-11-25: bigger, upright, may stick out of the photo (top, right, bottom) */
.story-phone { left: auto; right: -3%; top: -9%; width: 29%; padding: 6px; border-radius: 26px; transform: none; transform-origin: 50% 50%; }
.story-phone .story-screen { border-radius: 20px; }
.story-glow { right: auto; left: 33.5%; top: 37%; width: 12%; }
.story-gate-msg { left: 3%; top: 60%; }
.story.is-entry .story-phone { transform: translate(-133%, 1%) scale(.45); }
.story.run.is-entry .story-phone { transform: none; }
@keyframes storyToGate { 0%, 22% { transform: none; } 45%, 100% { transform: translate(-133%, 1%) scale(.45); } }
@media (max-width: 760px) { .story-phone { right: 0; top: -8%; width: 29%; border-radius: 16px; padding: 4px; } .story-phone .story-screen { border-radius: 12px; } .story-badge { font-size: .68rem; }
  .story.is-entry .story-phone { transform: translate(-122%, 1%) scale(.45); }
  @keyframes storyToGate { 0%, 22% { transform: none; } 45%, 100% { transform: translate(-122%, 1%) scale(.45); } } }
.story { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.story-stage { width: 100%; min-width: 0; }
/* step 4: the phone is at the gate, so the gate's answer goes to the free right side (not over the gate) */
.story-gate-msg { left: auto; right: 3%; top: 64%; }
@media (max-width: 760px) { .story-gate-msg { top: 70%; padding: 6px 9px; gap: 7px; } .story-gate-msg small { display: none; } .story-gate-msg .ok-dot { width: 22px; height: 22px; } }

/* ---------- Presentation player (assets/predstavitev.js, [data-presentation]) ---------- */
.pv { display: grid; gap: 12px; }
.pv-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.pv-chips button { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: 600 .82rem/1 var(--f-body); cursor: pointer; }
.pv-chips button .n { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font: 600 .7rem var(--f-mono); }
.pv-chips button.on { border-color: var(--blue); background: var(--blue); color: #fff; }
.pv-chips button.on .n { background: #fff; color: var(--blue); }
.pv-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #0b1424; box-shadow: var(--shadow); outline: none; }
.pv:fullscreen { background: #0b1424; padding: 16px; align-content: center; }
.pv:fullscreen .pv-stage { width: min(100%, calc((100vh - 90px) * 16 / 9)); margin: 0 auto; }
.pv-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.pv-scene.on { opacity: 1; visibility: visible; }
.pv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pv-scene.on.go .pv-bg { animation: pvKen 14s ease-out both; }
.pv-bg--blur { filter: blur(6px) brightness(.55); transform: scale(1.06); }
.pv-scene.on.go .pv-bg--blur { animation: none; }
.pv-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 12, 22, .78) 0%, rgba(6, 12, 22, .35) 55%, rgba(6, 12, 22, .1) 100%); }
.pv-shade--low { background: linear-gradient(0deg, rgba(6, 12, 22, .7) 0%, rgba(6, 12, 22, 0) 55%); }
.pv-text { position: relative; z-index: 2; color: #fff; display: grid; gap: 10px; align-content: start; }
.pv-text h3 { margin: 0; font: 700 clamp(1.15rem, .8rem + 1.3vw, 1.9rem)/1.15 var(--f-display); color: #fff; }
.pv-text p { margin: 0; color: rgba(255, 255, 255, .86); font-size: clamp(.86rem, .75rem + .35vw, 1.05rem); line-height: 1.45; }
.pv-text ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; color: rgba(255, 255, 255, .86); font-size: clamp(.8rem, .72rem + .3vw, .98rem); }
.pv-text .eyebrow { color: var(--sun); }
.pv-text--big { position: absolute; left: 6%; top: 50%; transform: translateY(-50%); width: min(56%, 620px); }
.pv-text--big h3 { font-size: clamp(1.5rem, 1rem + 2.4vw, 3rem); }
.pv-text--card { background: rgba(6, 12, 22, .62); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); border-radius: 14px; padding: clamp(12px, 2vw, 24px); }
.pv-k-photo .pv-text--card { position: absolute; left: 4%; bottom: 12%; width: min(52%, 560px); }
.pv-text--corner { position: absolute; left: 3%; top: 5%; width: min(38%, 420px); }
.pv-split { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4%; align-items: center; padding: 4% 6% 6%; }
.pv-split--wide { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); padding: 3% 3% 6%; }
.pv-k-screen { background: radial-gradient(120% 90% at 80% 20%, #16325a, #0b1424 60%); }
.pv-phone { position: relative; justify-self: center; margin: 0; height: 88%; aspect-ratio: 540 / 1169; padding: 6px; border-radius: 26px; background: #0f1a2b;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .7), inset 0 0 0 2px #2a3a52; z-index: 2; }
.pv-k-phone .pv-phone { height: 94%; align-self: center; }
.pv-phone-screen { position: relative; width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: #f8f4f3; }
.pv-phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .5s ease; }
.pv-phone-screen img.on { opacity: 1; }
.pv-tap { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 3px solid var(--sun); background: rgba(251, 183, 16, .22); opacity: 0; pointer-events: none; }
.pv-scene.on.go .pv-tap { animation: storyTap 1.2s ease-out 1.6s both; }
.pv-browser { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); align-self: center; }
.pv-bar { display: flex; align-items: center; gap: 6px; padding: 7px 10px; background: #e9edf3; }
.pv-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c5cdd8; }
.pv-bar span { margin-left: 8px; flex: 1; padding: 3px 10px; border-radius: 6px; background: #fff; color: #5b6676; font: 500 .7rem var(--f-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #f4f6f9; }
.pv-view img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transform-origin: var(--zx, 0) var(--zy, 0); }
.pv-scene.on.go .pv-zoom .pv-view img { animation: pvZoom 7s cubic-bezier(.3, .7, .2, 1) .8s both; }
.pv-k-gate .pv-phone--gate { position: absolute; right: 5%; top: 10%; height: 64%; }
.pv-scene.on.go .pv-phone--gate { animation: pvToGate 6s cubic-bezier(.3, .7, .2, 1) both; }
.pv-glow { position: absolute; width: 10%; aspect-ratio: 1; margin: -5% 0 0 -5%; border-radius: 50%; opacity: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(60, 197, 143, .8), rgba(60, 197, 143, 0) 70%); }
.pv-scene.on.go .pv-glow { animation: storyGlow 6s ease both; }
.pv-msg { position: absolute; right: 4%; bottom: 14%; z-index: 3; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow); opacity: 0; }
.pv-msg b { display: block; }
.pv-msg small { color: var(--muted); }
.pv-msg .ok-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; flex: none; }
.pv-msg .ok-dot svg { width: 16px; height: 16px; }
.pv-scene.on.go .pv-msg { animation: storyMsg 6s ease both; }
.pv-cap { position: absolute; left: 12px; bottom: 52px; z-index: 3; background: rgba(6, 12, 22, .72); color: #fff; font: 500 .72rem/1.3 var(--f-body); padding: 5px 9px; border-radius: 8px; }
.pv-ctrl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 6px; padding: 8px 10px;
  background: linear-gradient(0deg, rgba(6, 12, 22, .8), rgba(6, 12, 22, 0)); color: #fff; }
.pv-btn { width: 34px; height: 30px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(6, 12, 22, .5); color: #fff; font: 600 .95rem/1 var(--f-body); cursor: pointer; }
.pv-btn:hover { background: rgba(255, 255, 255, .15); }
.pv-count { font: 500 .74rem var(--f-mono); white-space: nowrap; opacity: .9; margin-left: 4px; }
.pv-prog { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.pv-prog i { display: block; height: 100%; width: 0; background: var(--sun); }
@keyframes pvProg { from { width: 0; } to { width: 100%; } }
@keyframes pvKen { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes pvZoom { 0%, 15% { transform: scale(1); } 60%, 100% { transform: scale(var(--zs, 1.6)); } }
@keyframes pvToGate { 0%, 25% { transform: none; } 50%, 100% { transform: var(--pv-gate-to, translate(-160%, 6%) scale(.5)); } }
@media (max-width: 760px) {
  .pv-stage { aspect-ratio: 3 / 4; }
  .pv-split, .pv-split--wide { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); padding: 4% 4% 54px; gap: 10px; align-items: start; }
  .pv-k-phone .pv-phone { height: 100%; justify-self: center; }
  .pv-text--big { width: 86%; }
  .pv-k-photo .pv-text--card, .pv-text--corner { width: auto; left: 4%; right: 4%; }
  .pv-text--corner { top: 4%; }
  .pv-text ul { display: none; }
  .pv-k-gate .pv-phone--gate { height: 40%; top: auto; bottom: 16%; }
  .pv-count { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pv-scene.on.go .pv-bg, .pv-scene.on.go .pv-zoom .pv-view img { animation: none; } }
/* player: push notification on the phone (illustration) */
.pv-notify { position: absolute; left: 5%; right: 5%; top: 3%; z-index: 3; display: grid; gap: 2px; padding: 9px 11px; border-radius: 14px;
  background: rgba(250, 250, 252, .96); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); color: #111; font: 400 .7rem/1.3 var(--f-body); opacity: 0; transform: translateY(-120%); }
.pv-notify b { font-weight: 600; font-size: .74rem; }
.pv-notify-app { display: flex; align-items: center; gap: 6px; color: #666; font-size: .62rem; text-transform: uppercase; letter-spacing: .04em; }
.pv-notify-app i { width: 14px; height: 14px; border-radius: 4px; background: #e5332a; }
.pv-notify-app small { margin-left: auto; text-transform: none; letter-spacing: 0; }
.pv-scene.on.go .pv-notify { animation: pvNotify 7s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes pvNotify { 0%, 18% { opacity: 0; transform: translateY(-120%); } 28%, 100% { opacity: 1; transform: none; } }
.pv-k-phone, .pv-k-title { background: radial-gradient(120% 90% at 80% 20%, #16325a, #0b1424 60%); }

/* ---------- Home: solution previews (site.js HV, [data-hv-alt]) ---------- */
.router a.on { border-color: var(--blue); box-shadow: var(--shadow); }
.hv-alt { display: grid; gap: 12px; }
.hv-alt[hidden], .story[hidden] { display: none; }
.hv-stage { position: relative; aspect-ratio: 1376 / 768; border-radius: 20px; overflow: hidden; background: #0b1424; box-shadow: var(--shadow); margin-top: 5%; }
.hv-s { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s ease; }
.hv-s.on { opacity: 1; }
.hv-s > img { width: 100%; height: 100%; display: block; }
.hv-k-photo > img { object-fit: cover; }
.hv-k-screen { background: radial-gradient(120% 90% at 80% 20%, #16325a, #0b1424 60%); padding: 4%; box-sizing: border-box; }
.hv-k-screen > img { object-fit: contain; border-radius: 8px; }
.hv-blur { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(.5); transform: scale(1.1); }
.hv-phone { position: absolute; top: 6%; height: 88%; width: auto; left: 50%; transform: translateX(-50%); aspect-ratio: 9 / 19; padding: 5px; border-radius: 22px; background: #0f1a2b;
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .7), inset 0 0 0 2px #2a3a52; }
.hv-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 17px; display: block; }
.hv-s figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(6, 12, 22, .72); color: #fff; font: 500 .76rem/1.3 var(--f-body); padding: 5px 9px; border-radius: 8px; }
.hv-dots { display: flex; gap: 6px; justify-content: center; }
.hv-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .3s, width .3s; }
.hv-dots i.on { background: var(--blue); width: 18px; border-radius: 4px; }
.hv-text { margin: 0; color: var(--muted); font-size: .95rem; min-height: 2.8em; }
.hv-text b { color: var(--ink); }
.hv-k-phone .hv-phone { left: 68%; }
.hv-k-phone figcaption { left: 7%; right: 44%; top: 50%; bottom: auto; transform: translateY(-50%); background: none; padding: 0;
  font: 700 clamp(1rem, .7rem + 1vw, 1.45rem)/1.25 var(--f-display); color: #fff; }
/* home hero (2026-11-26): no eyebrow, the claim in one line + "Na en klik." under it */
.hero-h1 { font-size: clamp(1.9rem, 2.55vw, 2.45rem); text-wrap: initial; }
.hero-h1 .hl { display: block; }
@media (min-width: 1100px) { .hero-h1 .h1-a { white-space: nowrap; } }
/* home hero (Matej 2026-11-26): title, lede and buttons on top left; the solution tiles and the picture start on the same row.
   .hero-copy becomes display: contents, so its children are rows of the hero grid. */
@media (min-width: 1001px) {
  .hero .wrap { grid-template-rows: auto auto auto auto 1fr; row-gap: 22px; align-items: start; }
  .hero .hero-copy { display: contents; }
  .hero .hero-copy > * { grid-column: 1; }
  .hero .hero-copy > .router { grid-row: 4; }
  .hero .hero-copy > .trust-line { grid-row: 5; }
  .hero .hero-visual { grid-column: 2; grid-row: 4 / span 2; }
  .hero .hero-visual .story-stage, .hero .hero-visual .hv-stage { margin-top: 0; }
}
/* right column in the same rows: step caption next to the lede, steps next to the buttons, picture next to the tiles, link next to the ticks */
@media (min-width: 1001px) {
  .hero .hero-visual, .hero .story { display: contents; }
  .hero .story[hidden] { display: none; }
  .hero .story-cap { grid-column: 2; grid-row: 2; align-self: end; margin: 0; }
  .hero .story-steps { grid-column: 2; grid-row: 3; align-self: center; }
  .hero .story-stage { grid-column: 2; grid-row: 4; }
  .hero .story-more { grid-column: 2; grid-row: 5; margin: 0; }
  .hero .hv-alt { grid-column: 2; grid-row: 2 / span 4; align-self: end; }
  .hero .hv-alt .hv-text { order: -1; }
  .hero .story-phone { top: -3%; }
}
@media (min-width: 1001px) {
  .hero .hv-alt { display: contents; }
  .hero .hv-alt[hidden] { display: none; }
  .hero .hv-text { grid-column: 2; grid-row: 2; align-self: end; }
  .hero .hv-stage { grid-column: 2; grid-row: 4; }
  .hero .hv-dots { grid-column: 2; grid-row: 5; align-self: start; }
}
/* Franšize hero: chains that work with 1Klik, one card after another (CSS only) */
.logo-rot { position: relative; margin: 0; min-height: 300px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.lr-s { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px; padding: 32px 28px; text-align: center; opacity: 0;
  animation: lrFade 15s infinite; }
.lr-s:nth-child(2) { animation-delay: 5s; }
.lr-s:nth-child(3) { animation-delay: 10s; }
.lr-s img { width: min(300px, 78%); height: auto; max-height: 120px; object-fit: contain; }
.lr-s p { margin: 0; color: #334155; font-size: .95rem; line-height: 1.45; max-width: 440px; }
.lr-s b { color: #0f172a; }
@keyframes lrFade { 0% { opacity: 0; } 4%, 30% { opacity: 1; } 34%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lr-s { animation: none; } .lr-s:first-child { opacity: 1; } }
