/* =========================================================
   IISPOL – hlavní styly
   ========================================================= */

:root {
  --navy: #0a1a3f;
  --navy-2: #13254f;
  --text: #1c2a4a;
  --muted: #5a6784;
  --line: #e4eaf4;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --blue: #1463ff;
  --blue-2: #0b4fe0;
  --blue-3: #3d84ff;
  --blue-soft: #e8f0ff;
  --green: #18b26b;
  --amber: #f2a93b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 63, .05), 0 4px 14px -6px rgba(10, 26, 63, .08);
  --shadow: 0 2px 4px rgba(10, 26, 63, .04), 0 16px 40px -18px rgba(10, 40, 110, .22);
  --shadow-lg: 0 4px 10px rgba(10, 26, 63, .05), 0 28px 60px -22px rgba(10, 50, 140, .32);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--navy); margin: 0; line-height: 1.08; letter-spacing: -.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.accent {
  background: linear-gradient(100deg, var(--blue-2) 0%, var(--blue) 45%, var(--blue-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--muted); }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Tlačítka ---------- */
.btn {
  --pad-y: 13px; --pad-x: 22px;
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 10px;
  font-weight: 600; font-size: 15px; line-height: 1.2;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background-position .5s var(--ease), border-color .25s, color .25s, background-color .25s;
  will-change: transform;
}
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn-sm { --pad-y: 10px; --pad-x: 16px; font-size: 14px; }
.btn-lg { --pad-y: 16px; --pad-x: 24px; font-size: 15.5px; }

.btn-primary {
  color: #fff;
  background-image: linear-gradient(100deg, #0b4fe0 0%, #1463ff 40%, #3d84ff 70%, #1463ff 100%);
  background-size: 220% 100%;
  background-position: 0% 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 20px -8px rgba(20, 99, 255, .55);
}
.btn-primary:hover {
  background-position: 70% 0;
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 14px 30px -10px rgba(20, 99, 255, .6), 0 0 0 4px rgba(20, 99, 255, .1);
}
.btn-ghost {
  color: var(--navy);
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: #c7d6f5; box-shadow: var(--shadow); }
.btn-ghost .play { display: inline-grid; place-items: center; color: var(--blue); }
.btn-ghost .play .icon { width: 1.5em; height: 1.5em; }
.btn-outline { color: var(--blue); border: 1.5px solid #bcd0fb; background: #fff; }
.btn-outline:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: 0 10px 24px -12px rgba(20, 99, 255, .45); }
.btn-white { color: var(--blue-2); background: #fff; box-shadow: 0 10px 30px -10px rgba(0,0,0,.3); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(0,0,0,.35), 0 0 0 4px rgba(255,255,255,.18); }
.btn-white .icon:first-child { transform: none !important; }

.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--navy); transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--blue-soft); color: var(--blue); }
.icon-btn .icon { width: 20px; height: 20px; }

.round-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, opacity .25s;
}
.round-btn:hover:not(:disabled) { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-1px); }
.round-btn:disabled { opacity: .4; cursor: default; }
.round-btn.sm { width: 34px; height: 34px; color: var(--blue); background: var(--blue-soft); border-color: transparent; box-shadow: none; }
.round-btn .icon { width: 18px; height: 18px; }

/* ---------- Navigace ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 14px 0;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: rgba(20, 60, 140, .08);
  box-shadow: 0 8px 30px -18px rgba(10, 30, 80, .25);
}
.nav-inner { display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; flex-direction: column; line-height: 1; color: var(--navy); }
.logo-word { font-weight: 800; font-size: 30px; letter-spacing: .02em; }
.logo-ii { color: var(--navy); position: relative; }
.logo-sub { font-size: 8.5px; font-weight: 700; letter-spacing: .16em; margin-top: 4px; color: var(--navy-2); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav ul a {
  position: relative; display: block;
  padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: var(--navy);
  border-radius: 8px; transition: color .2s;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav ul a:hover, .main-nav ul a.is-active, .main-nav ul a[aria-current="page"] { color: var(--blue); }
.main-nav ul a:hover::after, .main-nav ul a.is-active::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle, .nav-cta-mobile { display: none; }
.nav-toggle .i-close { display: none; }

/* bílý „tab“ s logem jako v návrhu */
.site-header::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; z-index: -1;
  width: calc((100vw - min(100vw, var(--container) + 2 * var(--gutter))) / 2 + var(--gutter) + 250px);
  background: #fff;
  clip-path: polygon(0 0, 100% 0, calc(100% - 34px) 100%, 0 100%);
  transition: opacity .35s var(--ease);
}
.site-header { background: rgba(255,255,255,.42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header.is-scrolled::before { opacity: 0; }


/* ---------- Pozadí & efekty ---------- */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 70, 180, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 70, 180, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%);
}
[data-glow] { position: relative; overflow: hidden; isolation: isolate; }
.glow {
  position: absolute; left: 0; top: 0; z-index: 1;
  width: 720px; height: 720px; margin: -360px 0 0 -360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 110, 255, .09) 0%, rgba(40, 110, 255, .04) 35%, transparent 65%);
  opacity: 0; pointer-events: none;
  transition: opacity .8s ease;
  will-change: transform;
}
[data-glow].glow-on .glow { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }


/* =========================================================
   HERO – fotografická scéna (souřadnice obrázku 1024 × 545)
   ========================================================= */
.hero {
  --hh: min(53.22vw, 900px);
  position: relative;
  min-height: var(--hh);
  background: linear-gradient(90deg, #f7f9fc, #eef3f9);
}
.hero-stage {
  position: absolute; top: 0; right: 0; z-index: 0;
  height: var(--hh); width: calc(var(--hh) * 1024 / 545);
  overflow: hidden;
}
.stage {
  --mx: 0; --my: 0;
  position: absolute; inset: 0;
  container-type: inline-size;
}
.stage-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.4) 28%, rgba(255,255,255,0) 42%),
    linear-gradient(0deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 8%),
    url("../img/hero-bg.webp") center / 100% 100% no-repeat;
}
.layer {
  position: absolute; inset: 0; pointer-events: none;
  transform: translate3d(calc(var(--mx) * var(--depth) * 1px), calc(var(--my) * var(--depth) * 1px), 0);
  will-change: transform;
}
.layer > * { pointer-events: auto; }
.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none !important; }
.links path { fill: none; stroke-width: 1.2; stroke: rgba(47, 107, 255, .45); stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }

.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  min-height: var(--hh);
  padding-top: calc(var(--hh) * .15);
  padding-bottom: calc(var(--hh) * .055);
}
.hero-inner { pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.hero-copy { display: flex; flex-direction: column; flex: 1; max-width: min(46vw, 640px); }
.eyebrow {
  font-size: clamp(11px, .9vw, 14px); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--navy-2);
  margin-bottom: clamp(14px, 1.6vw, 26px);
}
.hero-title { font-size: min(5.1vw, 86px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.hero-lead { margin-top: clamp(16px, 2vw, 30px); max-width: 34em; font-size: clamp(15px, 1.42vw, 22px); line-height: 1.5; color: #2c3a58; }
.hero-lead strong { color: var(--navy); font-weight: 700; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(20px, 2.6vw, 40px); }
.hero .btn-lg { font-size: clamp(14px, 1.15vw, 17px); --pad-y: clamp(13px, 1.2vw, 18px); --pad-x: clamp(18px, 1.9vw, 28px); }

.process { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: clamp(16px, 3vw, 48px); margin-top: auto; padding-top: 24px; }
.process li { font-size: clamp(12px, 1.05vw, 15px); font-weight: 600; color: var(--navy); line-height: 1.3; }
.process em { font-style: normal; font-weight: 500; color: #3d4a66; }
.process-ico {
  display: grid; place-items: center; width: clamp(36px, 3.6vw, 52px); height: clamp(36px, 3.6vw, 52px); margin-bottom: 8px;
  border-radius: 10px; color: var(--blue);
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px -10px rgba(10, 40, 110, .35);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.process li:hover .process-ico { transform: translateY(-3px); box-shadow: 0 10px 20px -10px rgba(20, 99, 255, .45); }
.process-ico .icon { width: 55%; height: 55%; }

/* skleněné karty */
.gcard {
  position: absolute;
  display: flex; align-items: flex-start; gap: 1.1cqw;
  padding: 1.6cqw 1.7cqw;
  border-radius: 1.3cqw;
  font-size: 1.3cqw; line-height: 1.3; color: var(--navy);
  background: linear-gradient(135deg, rgba(255,255,255,.62), rgba(225,236,255,.34));
  -webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 18px 40px -22px rgba(20, 60, 160, .45), 0 0 26px -6px rgba(61, 132, 255, .3);
}
.gcard b { display: block; font-weight: 600; font-size: 1.35cqw; }
.gcard span:not(.gcard-ico) { display: block; font-size: 1.3cqw; color: var(--navy-2); }
.gcard-ico {
  display: grid; place-items: center; flex: none;
  width: 3.4cqw; height: 3.4cqw; border-radius: .8cqw;
  color: var(--blue); background: rgba(255,255,255,.8); border: 1px solid rgba(160, 190, 255, .6);
}
.gcard-ico .icon { width: 2cqw; height: 2cqw; }
.gcard-ico.spin .icon { animation: spin 14s linear infinite; }
.gcard-1 { left: 60.3%; top: 11.2%; width: 20.7%; rotate: -4deg; }
.gcard-2 { left: 47.9%; top: 28.8%; width: 16.4%; min-height: 18.4%; rotate: 5deg; align-items: center; }
.gcard-3 { left: 82%;   top: 23%;   width: 15.4%; min-height: 16.8%; rotate: -4deg; align-items: center; }
.gcard-4 { left: 87.4%; top: 43.4%; width: 12.2%; min-height: 21%; rotate: -2deg; flex-direction: column; }
.mini-bars { display: flex; align-items: flex-end; gap: 3%; height: 4.6cqw; margin-top: .6cqw; width: 11cqw; }
.mini-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #4d90ff, rgba(20, 99, 255, .25)); transform-origin: bottom; animation: bar-breathe 4s ease-in-out infinite; }
.mini-bars i:nth-child(2n) { animation-delay: -1.3s; }
.mini-bars i:nth-child(3n) { animation-delay: -2.4s; }
@keyframes bar-breathe { 50% { transform: scaleY(.82); } }
.float { animation: float var(--fd, 7s) ease-in-out infinite; animation-delay: var(--fdelay, 0s); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.7cqw; } }

/* monitor */
.monitor {
  position: absolute; left: 52.6%; top: 42.4%; width: 34.4%;
  transform: perspective(1600px) rotateY(-9deg);
  transform-origin: 50% 100%;
}
.monitor-frame {
  position: relative;
  padding: 1.1%; border-radius: 1cqw;
  background: linear-gradient(160deg, #2a3450, #0c1328);
  box-shadow: 0 30px 60px -28px rgba(10, 25, 70, .6), 0 0 0 1px rgba(255,255,255,.08) inset;
  transition: transform .6s var(--ease);
}
.screen {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10; border-radius: .6cqw;
  container-type: inline-size;
  background: #f4f7fc;
}

/* dashboard */
.screen {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10; border-radius: 1cqw;
  container-type: inline-size;
  background: #f4f7fc;
}
.dash { display: grid; grid-template-columns: 17% 1fr; font-size: 1.85cqw; color: var(--navy); line-height: 1.3; }
.dash-side { background: linear-gradient(180deg, #0d1b40, #0a1530); color: #a9b7d6; padding: 6% 8%; display: flex; flex-direction: column; }
.dash-logo { color: #fff; font-weight: 800; font-size: 3.2cqw; margin-bottom: 18%; letter-spacing: .02em; }
.dash-side ul { display: grid; gap: 4%; }
.dash-side li { display: flex; align-items: center; gap: 8%; padding: 7% 8%; border-radius: .8cqw; font-size: 1.7cqw; }
.dash-side li i, .dash-user i { width: 1.6cqw; height: 1.6cqw; border-radius: .4cqw; background: currentColor; opacity: .5; }
.dash-side li.on { background: rgba(61, 132, 255, .25); color: #fff; }
.dash-user { margin-top: auto; display: flex; align-items: center; gap: 8%; font-size: 1.6cqw; padding: 0 8%; }
.dash-main { padding: 2.6% 3%; display: flex; flex-direction: column; gap: 2.4cqw; min-width: 0; }
.dash-top { display: flex; align-items: center; gap: 2cqw; }
.dash-top b { font-size: 2.6cqw; margin-right: auto; }
.dash-search { width: 22cqw; height: 3.2cqw; border-radius: 2cqw; background: #fff; border: 1px solid var(--line); }
.dash-dot { width: 3cqw; height: 3cqw; border-radius: 50%; background: #fff; border: 1px solid var(--line); }
.dash-avatar { width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: linear-gradient(135deg, var(--blue-3), var(--blue-2)); }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6cqw; }
.kpi, .dash-card { background: #fff; border-radius: 1.2cqw; padding: 1.8cqw 2cqw; box-shadow: 0 1px 2px rgba(10, 26, 63, .06), 0 6px 18px -12px rgba(10, 26, 63, .25); }
.kpi small, .card-head small { display: block; color: var(--muted); font-size: 1.55cqw; }
.kpi strong { display: block; font-size: 2.9cqw; font-weight: 800; margin: .4cqw 0 .2cqw; letter-spacing: -.02em; white-space: nowrap; }
.kpi em { font-style: normal; font-size: 1.5cqw; font-weight: 700; }
.kpi .up { color: var(--green); }
.kpi .ok { color: var(--green); display: inline-flex; align-items: center; gap: .8cqw; }
.live { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(24, 178, 107, .6); animation: live 2s ease-out infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 1.2cqw rgba(24, 178, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(24, 178, 107, 0); } }
.dash-row { display: grid; grid-template-columns: 2.2fr 1fr; gap: 1.6cqw; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1cqw; }
.chip { display: inline-block; font-size: 1.4cqw; font-weight: 600; padding: .3cqw 1cqw; border-radius: 2cqw; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.line-chart { width: 100%; height: 13cqw; overflow: visible; }
.line-chart .gridlines path { stroke: #edf1f8; stroke-width: 1; vector-effect: non-scaling-stroke; }
.line-chart .line { fill: none; stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.line-chart .end-dot { fill: #fff; stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; }
.donut-card { display: flex; flex-direction: column; }
.donut { width: 72%; margin: auto; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 4.2; }
.donut .track { stroke: #e8eef9; }
.donut .val { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: calc(100 - var(--val)); }
.donut text { transform: rotate(90deg); transform-origin: 21px 21px; font-size: 6.5px; font-weight: 800; fill: var(--navy); font-family: var(--font); }
.dash-progress { grid-template-columns: 1.4fr 1fr; }
.prog { display: grid; grid-template-columns: 1fr auto; gap: .6cqw 1cqw; font-size: 1.55cqw; color: var(--muted); }
.prog + .prog { margin-top: 1.4cqw; }
.prog b { color: var(--navy); }
.prog i { grid-column: 1 / -1; position: relative; height: .9cqw; border-radius: 1cqw; background: #e8eef9; overflow: hidden; }
.prog i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue-2), var(--blue-3)); transform-origin: left; transform: scaleX(var(--v)); }
.tasks { display: grid; gap: 1.1cqw; align-content: center; font-size: 1.55cqw; }
.task { display: flex; align-items: center; gap: 1.2cqw; color: var(--muted); }
.task.done { color: var(--navy); }
.cb { position: relative; width: 2.1cqw; height: 2.1cqw; border-radius: .5cqw; border: 1.5px solid #c7d3ea; flex: none; transition: background .3s, border-color .3s; }
.task.done .cb { background: var(--blue); border-color: var(--blue); }
.cb::after { content: ""; position: absolute; left: 32%; top: 12%; width: 28%; height: 52%; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.task.done .cb::after { transform: rotate(45deg) scale(1); }

/* probuzení dashboardu */
.js .dash[data-wake] .w { opacity: 0; transform: translate3d(0, 1.4cqw, 0); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(150ms + var(--w) * 90ms); }
.js .dash[data-wake] .line-chart .line { stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease) .55s; }
.js .dash[data-wake] .line-chart .area, .js .dash[data-wake] .line-chart .end-dot { opacity: 0; transition: opacity .6s ease 1.1s; }
.js .dash[data-wake] .donut .val { stroke-dashoffset: 100; transition: stroke-dashoffset 1s var(--ease) .7s; }
.js .dash[data-wake] .prog i::after { transform: scaleX(0); transition: transform 1s var(--ease) .9s; }
.js .dash[data-wake] .task.done .cb { background: transparent; border-color: #c7d3ea; }
.js .dash[data-wake] .task.done .cb::after { transform: rotate(45deg) scale(0); }
.js .dash[data-wake] .task .cb { transition-delay: 1.2s; }
.js .dash[data-wake] .task + .task .cb { transition-delay: 1.35s; }
.js .dash[data-wake] .task .cb::after { transition-delay: 1.25s; }
.js .dash[data-wake] .task + .task .cb::after { transition-delay: 1.4s; }

.js .dash.is-awake .w { opacity: 1; transform: none; }
.js .dash.is-awake .line-chart .line { stroke-dashoffset: 0; }
.js .dash.is-awake .line-chart .area, .js .dash.is-awake .line-chart .end-dot { opacity: 1; }
.js .dash.is-awake .donut .val { stroke-dashoffset: calc(100 - var(--val)); }
.js .dash.is-awake .prog i::after { transform: scaleX(var(--v)); }
.js .dash.is-awake .task.done .cb { background: var(--blue); border-color: var(--blue); }
.js .dash.is-awake .task.done .cb::after { transform: rotate(45deg) scale(1); }


/* notebook */
.laptop {
  position: absolute; left: 84.8%; top: 69.6%; width: 21%;
  transform: perspective(900px) rotateY(-22deg) rotateX(3deg);
  transform-origin: 0 100%;
}
.laptop-screen {
  aspect-ratio: 16 / 10.2; border-radius: .8cqw .8cqw .2cqw .2cqw;
  background: #0b1430; border: .5cqw solid #1f2840; overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(10, 25, 70, .5);
  container-type: inline-size;
}
.code { padding: 6%; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 3.6cqw; line-height: 1.7; color: #c6d3f0; white-space: nowrap; }
.code p { margin: 0; }
.code .k { color: #c792ea; } .code .v { color: #82aaff; } .code .s { color: #c3e88d; } .code .f { color: #7fdbca; }
.caret { display: inline-block; width: .6em; height: 1.1em; margin-left: .2em; vertical-align: middle; background: #82aaff; animation: blink 1s steps(1) infinite; }
.laptop-base { position: relative; height: 1.2cqw; margin: 0 -6%; border-radius: 0 0 1cqw 1cqw; background: linear-gradient(180deg, #e9eef5, #b8c2d3); box-shadow: 0 12px 20px -8px rgba(10, 30, 80, .35); }


/* =========================================================
   STATISTIKY – celošířkový pás
   ========================================================= */
.stats-wrap { position: relative; z-index: 2; background: #f3f6fa; border-top: 1px solid #e8edf4; border-bottom: 1px solid #e8edf4; }
.stats { display: grid; grid-template-columns: repeat(4, auto) 1fr; align-items: center; padding: clamp(18px, 2.4vw, 30px) 0; }
.stat { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 20px); padding: 4px clamp(16px, 2.4vw, 36px); border-right: 1px solid #dfe5ee; }
.stat:first-child { padding-left: 0; }
.stat strong { display: block; font-size: clamp(20px, 1.9vw, 28px); font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat span:not(.stat-ico) { display: block; font-size: clamp(12px, 1.05vw, 15px); color: #3d4a66; }
.stat-ico { color: var(--blue); }
.stat-ico .icon { width: clamp(28px, 2.9vw, 40px); height: clamp(28px, 2.9vw, 40px); stroke-width: 1.6; }
.stat-ico.bars .icon { stroke-width: 3.4; }
.stat-note { padding-left: clamp(16px, 2.4vw, 36px); font-size: clamp(12px, 1.05vw, 15px); color: #3d4a66; max-width: 320px; }

/* =========================================================
   SEKCE – společné
   ========================================================= */
.section { padding: clamp(56px, 6.5vw, 100px) 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 22px;
  font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--navy-2);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 34px; height: 1.5px; background: #8aa4cf; }
.kicker span { color: var(--blue); }
.kicker.light { color: rgba(255,255,255,.85); }
.kicker.light::before { background: rgba(255,255,255,.7); }
h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; }

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.section-head h2 { padding-left: 14px; }
.section-head-side { display: flex; align-items: center; gap: 32px; max-width: 600px; }
.section-head-side p { color: #3d4a66; font-size: clamp(14px, 1.1vw, 16px); }
.btn-outline { color: var(--blue); border: 1.5px solid #9fbdf7; background: #fff; }
.btn-outline:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: 0 10px 24px -12px rgba(20, 99, 255, .45); }

/* =========================================================
   SLUŽBY
   ========================================================= */
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.1vw, 16px); }
.service-card {
  position: relative; display: flex; flex-direction: column;
  container-type: inline-size;
  background: #fff; border: 1px solid #e6ebf3; border-radius: 12px;
  overflow: hidden; box-shadow: 0 2px 10px -4px rgba(10, 26, 63, .08);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.js .service-card[data-reveal].is-in { transition: opacity .65s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; transition-delay: var(--d, 0ms), 0ms, 0ms, 0ms; }
.service-card:hover, .js .service-card.is-in:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #b9cff7; }
.service-media { aspect-ratio: 180 / 110; overflow: hidden; background: #e9eef6; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.03); }
/* bílý tab s ikonou – leží přes spodní okraj fotky */
.service-badge {
  position: absolute; left: 5.5cqw; top: calc(100cqw * 110 / 180 - 25cqw);
  display: grid; place-items: center; width: 30cqw; height: 25cqw;
  border-radius: 3.5cqw 3.5cqw 0 0; background: #fff; color: var(--blue);
}
.service-badge .icon { width: 13cqw; height: 13cqw; transition: transform .35s var(--ease); }
.service-card:hover .service-badge .icon { transform: rotate(-8deg) scale(1.08); }
.service-card.is-featured .service-badge .icon { width: 9cqw; height: 9cqw; padding: 2.4cqw; box-sizing: content-box; color: #fff; border-radius: 2.4cqw; background: linear-gradient(135deg, #2f78ff, #0b4fe0); }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 6cqw 9cqw 9cqw; }
.service-body h3 { font-size: clamp(16px, 1.35vw, 20px); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; margin-bottom: 12px; min-height: 2.4em; }
.service-body p { font-size: clamp(13px, 1.02vw, 14.5px); color: #3d4a66; line-height: 1.6; margin-bottom: 20px; }
.link-arrow { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: clamp(13px, 1.02vw, 14.5px); font-weight: 500; color: var(--blue); }
.link-arrow .icon { transition: transform .3s var(--ease); }
.service-card:hover .link-arrow .icon { transform: translateX(5px); }

/* =========================================================
   REFERENCE
   ========================================================= */
.projects { position: relative; z-index: 2; padding: clamp(20px, 2vw, 32px) 0 0; background: transparent; }
.projects-inner { position: relative; display: grid; grid-template-columns: minmax(240px, .6fr) minmax(0, 1.85fr); gap: clamp(20px, 2.4vw, 32px); align-items: start; }
.projects-head { padding-top: clamp(30px, 4vw, 56px); }
.carousel { position: relative; min-width: 0; }
.carousel-nav { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 12px; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 12px) / 3); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 4px 24px; margin: -6px -4px 0;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.project-card {
  scroll-snap-align: start;
  background: #fff; border: 1px solid #e6ebf3; border-radius: 10px;
  overflow: hidden; box-shadow: 0 10px 30px -14px rgba(10, 26, 63, .25);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.js .project-card[data-reveal].is-in { transition: opacity .65s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; transition-delay: var(--d, 0ms), 0ms, 0ms, 0ms; }
.project-card:hover, .js .project-card.is-in:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #b9cff7; }
.project-media { aspect-ratio: 210 / 93; overflow: hidden; background: #e9eef6; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 2.4s cubic-bezier(.25, .6, .3, 1), object-position 2.4s cubic-bezier(.25, .6, .3, 1); object-position: 50% 30%; }
.project-card:hover .project-media img { transform: scale(1.05); object-position: 50% 60%; }
.project-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: clamp(12px, 1.2vw, 18px) clamp(14px, 1.3vw, 20px) clamp(14px, 1.4vw, 20px); }
.project-body h3 { font-size: clamp(13.5px, 1.12vw, 16px); font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.project-body p { font-size: clamp(12px, .95vw, 13.5px); color: #4a5672; line-height: 1.45; }
.round-btn.sm { width: clamp(30px, 2.6vw, 38px); height: clamp(30px, 2.6vw, 38px); }
.project-body .round-btn .icon { transition: transform .3s var(--ease); }
.project-card:hover .project-body .round-btn { background: var(--blue); color: #fff; }
.project-card:hover .project-body .round-btn .icon { transform: translateX(2px); }

/* =========================================================
   O NÁS – fotografie s diagonálním přechodem
   ========================================================= */
.about {
  position: relative; z-index: 1;
  margin-top: clamp(-90px, -6vw, -50px);
  min-height: max(30vw, 500px);
  display: flex; align-items: center;
  padding: clamp(90px, 8vw, 130px) 0 clamp(110px, 9vw, 140px);
  clip-path: polygon(0 0, 100% clamp(30px, 3.4vw, 56px), 100% 100%, 0 100%);
}
.about-visual {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.6) 35%, rgba(255,255,255,0) 60%),
    url("../img/about-bg.webp?v=2") right bottom / cover no-repeat,
    #dfe9f5;
}
.about-visual { animation: about-drift 30s ease-in-out infinite alternate; transform-origin: 70% 60%; }
@keyframes about-drift { to { transform: scale(1.04); } }
.about-inner { position: static; }
.about-copy { max-width: 620px; }
.about-copy h2 { margin-bottom: 18px; font-size: clamp(1.9rem, 3.1vw, 3rem); }
.about-copy > p:not(.kicker) { color: #26324d; font-size: clamp(14.5px, 1.25vw, 18px); line-height: 1.55; max-width: 34em; }
.about .btn-ghost { background: rgba(255,255,255,.85); }
.trust {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  width: 50%;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: clamp(14px, 1.6vw, 24px) clamp(16px, 2.4vw, 40px);
  background: rgba(22, 24, 30, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.trust-item { display: flex; align-items: center; gap: 12px; padding: 4px clamp(8px, 1vw, 16px); color: #fff; font-size: clamp(12px, 1.02vw, 15px); font-weight: 500; line-height: 1.35; }
.trust-item .icon { width: clamp(24px, 2.4vw, 34px); height: clamp(24px, 2.4vw, 34px); stroke-width: 1.6; flex: none; }

/* =========================================================
   CTA + PATIČKA
   ========================================================= */
.cta { padding-top: 80px; }
.cta-box {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 24px; color: #fff;
  background: radial-gradient(ellipse at 85% 0%, rgba(120, 180, 255, .55), transparent 55%), linear-gradient(115deg, #0a3fd0, #1463ff 55%, #3d84ff);
  box-shadow: 0 30px 60px -30px rgba(20, 99, 255, .6);
}
.cta-box .bg-grid { background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); transform: none; }
.cta-box h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 12px; }
.cta-box p { color: rgba(255,255,255,.85); max-width: 520px; }
.cta-box > * { position: relative; }

.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.btn-glass { color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-glass:hover { transform: translateY(-2px); background: rgba(255,255,255,.2); }
.cta-actions .icon:first-child, .help-strip .btn .icon:first-child { transform: none !important; }

.help-strip {
  display: flex; align-items: center; gap: 18px;
  margin-top: 18px; padding: 18px 22px;
  border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.help-strip > div { flex: 1; display: flex; flex-direction: column; font-size: 14.5px; color: var(--muted); }
.help-strip strong { color: var(--navy); font-size: 16px; }
.help-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--blue); background: var(--blue-soft); flex: none; }
.help-ico .icon { width: 24px; height: 24px; animation: spin 12s linear infinite; }

.site-footer { padding: 80px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand p { margin-top: 16px; color: var(--muted); font-size: 14px; max-width: 320px; }
.site-footer h4 { font-size: 14px; letter-spacing: 0; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.site-footer ul a { transition: color .2s; }
.site-footer ul a:hover { color: var(--blue); }
.contact-list { display: grid; gap: 10px; margin-top: 20px; font-style: normal; font-size: 14px; color: var(--muted); line-height: 1.45; }
.contact-list > span { display: flex; align-items: flex-start; gap: 10px; }
.contact-list .icon { color: var(--blue); margin-top: 1px; }
.contact-list a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; font-size: 13px; color: var(--muted); }
.footer-bottom a:hover { color: var(--blue); }


/* =========================================================
   RESPONSIVITA
   ========================================================= */
/* =========================================================
   CENÍK
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(130px, 13vw, 180px) 0 clamp(36px, 4vw, 56px);
  background: radial-gradient(ellipse 60% 80% at 85% 0%, rgba(61, 132, 255, .14), transparent 70%), var(--bg-soft);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 800; margin-bottom: 18px; }
.page-lead { color: #3d4a66; font-size: clamp(15px, 1.25vw, 18px); max-width: 40em; }
.price-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.price-jump a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--navy);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: color .2s, border-color .2s, transform .2s var(--ease);
}
.price-jump a .icon { color: var(--blue); }
.price-jump a:hover { color: var(--blue); border-color: #bcd0fb; transform: translateY(-1px); }

.pricing { padding-top: clamp(32px, 4vw, 56px); }
.price-group { margin-bottom: clamp(28px, 3vw, 44px); scroll-margin-top: 96px; }
.price-group-title { display: flex; align-items: center; gap: 14px; font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 16px; }
.price-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--blue); background: var(--blue-soft); flex: none; }
.price-ico .icon { width: 22px; height: 22px; }

.price-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  overflow: hidden; font-size: 15px;
}
.price-table th {
  padding: 12px 20px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.price-table td { padding: 18px 20px; vertical-align: top; border-bottom: 1px solid var(--line); }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr { transition: background .2s; }
.price-table tbody tr:hover { background: #fafcff; }
.price-table th:nth-child(1), .price-table td.code { width: 84px; }
.price-table th:nth-child(n+3), .price-table td.amount { width: 150px; text-align: right; white-space: nowrap; }
.price-table td.code span {
  display: inline-block; min-width: 38px; padding: 3px 8px; border-radius: 8px; text-align: center;
  font-size: 13px; font-weight: 700; color: var(--blue-2); background: var(--blue-soft);
}
.price-table td.service strong { display: block; color: var(--navy); font-weight: 600; line-height: 1.4; }
.price-table td.service span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.price-table td.amount { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.price-table td.vat { color: var(--navy); font-weight: 700; }
.price-table .per { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.price-table .lbl { display: none; }

.price-note {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px; border-radius: var(--radius);
  background: #fff7ea; border: 1px solid #f6dcae;
}
.price-note > div { display: flex; flex-direction: column; font-size: 14.5px; color: #6b5532; }
.price-note strong { color: var(--navy); font-size: 16px; }
.price-note .help-ico { color: var(--amber); background: #fdebcc; }
.price-note .help-ico .icon { animation: none; }

@media (max-width: 720px) {
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr { display: block; }
  .price-table tbody tr {
    display: grid; grid-template-columns: auto 1fr 1fr; gap: 6px 14px;
    padding: 16px; border-bottom: 1px solid var(--line);
  }
  .price-table tbody tr:last-child { border-bottom: 0; }
  .price-table td { display: block; padding: 0; border: 0; }
  .price-table td.code { width: auto; grid-row: 1; grid-column: 1; }
  .price-table td.service { grid-row: 1; grid-column: 2 / -1; }
  .price-table td.amount { width: auto; grid-row: 2; text-align: left; white-space: normal; margin-top: 6px; }
  .price-table td.amount:not(.vat) { grid-column: 2; }
  .price-table td.vat { grid-column: 3; }
  .price-table .lbl { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .price-table .per { display: inline; margin-left: 4px; }
  .price-note { align-items: flex-start; }
}

/* =========================================================
   KAMEROVÉ SYSTÉMY
   ========================================================= */
.cam-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cam-hero .page-lead { margin-bottom: 22px; }
.cam-hero .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cam-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.cam-highlights li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--navy); }
.cam-highlights .icon { width: 20px; height: 20px; color: var(--blue); }
.cam-visual { position: relative; }
.cam-visual img {
  width: 100%; height: auto; aspect-ratio: 1200 / 733; object-fit: cover;
  border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.8);
}

.cam-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: none; }
.cam-steps li {
  position: relative; padding: 24px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.cam-step-no { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--blue); }
.cam-steps h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.cam-steps p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }

.cam-features-wrap { background: var(--bg-soft); }
.cam-features-wrap h2 { margin-bottom: clamp(28px, 3.4vw, 48px); }
.cam-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cam-feature {
  padding: 28px 26px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cam-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cam-feature .price-ico { margin-bottom: 18px; }
.cam-feature h3 { font-size: 19px; line-height: 1.25; margin-bottom: 10px; }
.cam-feature p { color: var(--muted); font-size: 15px; line-height: 1.6; }

@media (max-width: 1024px) {
  .cam-hero { grid-template-columns: 1fr; }
  .cam-visual { max-width: 560px; }
  .cam-steps { grid-template-columns: repeat(2, 1fr); }
  .cam-features { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cam-highlights, .cam-steps { grid-template-columns: 1fr; }
  .cam-hero .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   SOFTWARE NA ZAKÁZKU
   ========================================================= */
.cam-hero .page-lead + .page-lead { margin-top: -8px; }
.sw-approach { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.sw-approach h2 { margin-bottom: 20px; }
.sw-approach p { color: #3d4a66; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.65; }
.sw-approach p + p { margin-top: 14px; }
.sw-quote {
  margin-top: 28px !important; padding-left: 20px; border-left: 3px solid var(--blue);
  font-size: clamp(1.25rem, 2vw, 1.6rem) !important; font-weight: 800; line-height: 1.3 !important; color: var(--navy) !important; letter-spacing: -.02em;
}
.sw-callout {
  padding: clamp(24px, 3vw, 36px); border-radius: 22px; color: rgba(255,255,255,.88);
  background: radial-gradient(ellipse at 90% 0%, rgba(120, 180, 255, .45), transparent 60%), linear-gradient(135deg, #0a3fd0, #1463ff 60%, #3d84ff);
  box-shadow: 0 30px 60px -30px rgba(20, 99, 255, .6);
}
.sw-callout h3 { color: #fff; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.3; margin-bottom: 16px; }
.sw-callout p { color: inherit; font-size: 15.5px; }
.sw-callout strong { color: #fff; }

.sw-caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(28px, 3.4vw, 48px); }
.sw-caps .cam-feature h3 { font-size: 17px; }
.sw-caps .cam-feature p { font-size: 14.5px; }

.sw-projects { display: grid; gap: clamp(28px, 4vw, 56px); margin-top: clamp(28px, 3.4vw, 48px); }
.sw-project { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.sw-project.is-flipped .sw-project-media { order: 2; }
.sw-project-media { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 2 / 1; }
.sw-project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sw-project:hover .sw-project-media img { transform: scale(1.03); }
.sw-project-media.is-icon {
  display: grid; place-items: center; box-shadow: none; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 70% 20%, rgba(61, 132, 255, .18), transparent 65%), var(--bg-soft);
}
.sw-project-ico { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 26px; color: #fff; background: linear-gradient(135deg, #0b4fe0, #3d84ff); box-shadow: 0 20px 40px -18px rgba(20, 99, 255, .7); }
.sw-project-ico .icon { width: 44px; height: 44px; }
.sw-project-body .price-ico { margin-bottom: 16px; }
.sw-project-body h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.2; margin-bottom: 14px; }
.sw-project-body p { color: #3d4a66; font-size: 15.5px; line-height: 1.65; }
.sw-project-body p + p { margin-top: 10px; }
.sw-project-body .link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; color: var(--blue); }
.sw-project-body .link-arrow:hover .icon { transform: translateX(3px); }
.sw-project-body .link-arrow .icon { transition: transform .3s var(--ease); }

.sw-project-more {
  grid-column: 1 / -1; padding: clamp(22px, 3vw, 32px);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 22px;
}
.sw-project-more h4 { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--navy-2); margin-bottom: 18px; }
.sw-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 24px; }
.sw-areas li { display: flex; gap: 12px; align-items: flex-start; }
.sw-areas li > div { display: flex; flex-direction: column; }
.sw-areas strong { color: var(--navy); font-size: 15px; }
.sw-areas li > div > span { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin-top: 2px; }
.sw-area-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--blue); background: #fff; border: 1px solid var(--line); flex: none; }
.sw-area-ico .icon { width: 18px; height: 18px; }
.sw-tech { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.sw-tech li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #3d4a66; }
.sw-tech .icon { color: var(--green); margin-top: 2px; }

.sw-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sw-panel { padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.sw-panel h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 18px; }
.sw-panel p { color: #3d4a66; font-size: 15.5px; line-height: 1.65; }
.sw-panel p + p { margin-top: 12px; }
.sw-devices, .sw-stack { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.sw-devices li, .sw-stack li {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--navy); background: var(--blue-soft);
}
.sw-devices .icon, .sw-stack .icon { color: var(--blue); }
.sw-stack { counter-reset: none; }
.sw-stack li { position: relative; text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; }
.sw-stack li:not(:last-child)::after { content: "→"; position: absolute; right: -11px; transform: translateX(50%); color: #8aa4cf; font-weight: 700; letter-spacing: 0; }
.sw-stack { gap: 10px 22px; }

.sw-steps { grid-template-columns: repeat(5, 1fr); }

/* Správa serverů */
.sw-panel > .price-ico { margin-bottom: 16px; }
.srv-panel-title { font-size: clamp(1.25rem, 1.9vw, 1.55rem); margin-bottom: 12px; }
.sw-panel .sw-tech { grid-template-columns: 1fr; margin-top: 18px; }
.srv-price { margin-top: clamp(28px, 3.4vw, 44px); background: var(--blue-soft); border-color: #cddcfb; }
.srv-price > div { flex: 1; color: #3d4a66; }
.srv-price .help-ico { color: var(--blue); background: #fff; }
/* Zálohování 3-2-1 */
#zalohovani { scroll-margin-top: 80px; }
.bk-rule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bk-rule li {
  position: relative; overflow: hidden; padding: clamp(24px, 3vw, 34px);
  border-radius: 22px; color: rgba(255,255,255,.85);
  background: radial-gradient(ellipse at 90% 0%, rgba(120, 180, 255, .45), transparent 60%), linear-gradient(135deg, #0a3fd0, #1463ff 60%, #3d84ff);
  box-shadow: 0 24px 50px -28px rgba(20, 99, 255, .6);
}
.bk-num { display: block; font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 800; line-height: 1; color: #fff; letter-spacing: -.04em; }
.bk-rule h3 { color: #fff; font-size: clamp(1.15rem, 1.6vw, 1.35rem); margin: 6px 0 10px; }
.bk-rule p { font-size: 15px; line-height: 1.6; }
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.bk-threats { display: grid; gap: 16px; }
.bk-threats li { display: flex; gap: 12px; align-items: flex-start; }
.bk-threats li > div { display: flex; flex-direction: column; }
.bk-threats strong { color: var(--navy); font-size: 15px; }
.bk-threats li > div > span { color: var(--muted); font-size: 14px; }
.bk-threats .sw-area-ico { background: var(--blue-soft); border-color: transparent; }
.bk-where-title { margin-top: 22px; font-size: 12px !important; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--navy-2) !important; }
.bk-where-title + .sw-devices { margin-top: 10px; margin-bottom: 0; }
.cam-highlights a { color: inherit; text-decoration: underline; text-decoration-color: #bcd0fb; text-underline-offset: 3px; }
.cam-highlights a:hover { color: var(--blue); }
.cam-feature p a { color: var(--blue); font-weight: 600; }
@media (max-width: 1024px) { .bk-rule, .bk-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .srv-price { flex-wrap: wrap; } .srv-price .btn { width: 100%; justify-content: center; } }

@media (max-width: 1180px) {
  .sw-caps { grid-template-columns: repeat(2, 1fr); }
  .sw-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .sw-approach, .sw-duo, .sw-project { grid-template-columns: 1fr; }
  .sw-project.is-flipped .sw-project-media { order: 0; }
  .sw-steps, .sw-areas { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sw-caps, .sw-steps, .sw-areas, .sw-tech { grid-template-columns: 1fr; }
}

@media (min-width: 1692px) {
  /* široké monitory – scéna se zastaví a plynule navazuje na pozadí */
  .hero-stage { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%); mask-image: linear-gradient(90deg, transparent 0, #000 12%); }
}

@media (max-width: 1180px) {
  .main-nav ul a { padding: 8px 9px; font-size: 14px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .stat { padding-left: 0; }
  .stat:nth-child(2n) { border-right: 0; padding-left: 24px; }
  .stat-note { grid-column: 1 / -1; max-width: none; padding-left: 0; }
  .projects-inner { grid-template-columns: 1fr; }
  .projects-head { padding-top: 0; }
  .carousel-nav { position: absolute; right: 0; top: -58px; }
  .about { clip-path: none; margin-top: 40px; }
  .trust { position: relative; width: auto; margin-top: 32px; }
  .about-inner { display: flex; flex-direction: column; }
  .about { flex-direction: column; align-items: stretch; padding-bottom: 0; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: inline-grid; }
  .nav-cta { display: none; }
  .site-header::before { width: calc(var(--gutter) + 230px); }
  .main-nav {
    position: fixed; inset: 68px 12px auto 12px;
    padding: 12px; border-radius: 16px;
    background: rgba(255,255,255,.96);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .25s ease, transform .25s var(--ease);
  }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav ul a { padding: 12px 14px; font-size: 16px; }
  .main-nav ul a::after { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 8px; width: 100%; justify-content: center; }
  .nav-open .main-nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav-open .nav-toggle .i-open { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }
  .nav-open .site-header { background: rgba(255,255,255,.92); }

  /* hero: text nahoře, scéna pod ním (pravá část fotografie) */
  .hero { display: flex; flex-direction: column; min-height: 0; background: #f6f9fc; }
  .hero-inner { order: 1; min-height: 0; padding-top: 112px; padding-bottom: 24px; }
  .hero-copy { max-width: 640px; }
  .hero-title { font-size: clamp(2.4rem, 8.4vw, 4.2rem); }
  .hero-lead { font-size: clamp(15.5px, 2.2vw, 18px); }
  .hero .btn-lg { font-size: 15px; --pad-y: 15px; --pad-x: 22px; }
  .process { margin-top: 36px; }
  .process li { font-size: 13px; }
  .hero-stage { order: 2; position: relative; width: 100%; height: auto; aspect-ratio: 590 / 545; }
  .stage { left: auto; right: 0; width: calc(100% * 1024 / 590); }
  .stage-bg { background: linear-gradient(180deg, #f6f9fc 0%, rgba(246,249,252,0) 12%), url("../img/hero-bg.webp") center / 100% 100% no-repeat; }

  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-track { grid-auto-columns: 82%; }
  .section-head-side { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { justify-content: center; }
  .help-strip { flex-wrap: wrap; }
  .help-strip .btn { width: 100%; justify-content: center; }
  .trust { grid-template-columns: 1fr; gap: 8px; }
  .about-visual { background: linear-gradient(180deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,.55) 55%, rgba(255,255,255,0) 80%), url("../img/about-bg.webp?v=2") 80% bottom / cover no-repeat, #dfe9f5; }
}

@media (max-width: 560px) {
  .logo-word { font-size: 26px; }
  .site-header::before { width: calc(var(--gutter) + 190px); }
  .nav-actions .icon-btn:first-child { display: none; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .process { grid-template-columns: repeat(2, auto); row-gap: 20px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(2n) { border-right: 0; padding-left: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .carousel-nav { position: static; }
}

/* Dotyková zařízení – bez parallaxu a tiltu */
@media (hover: none), (pointer: coarse) {
  .layer { transform: none !important; }
  .glow { display: none; }
}

/* Omezení pohybu */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .float, .about-visual { animation: none; }
  .layer { transform: none !important; }
  .sparks, .glow { display: none; }
}
