:root {
  --ink: #041827;
  --paper: #ffffff;
  --ash: #d5d9e0;
  --mist: #f5f7fc;
  --soft: #eaeff6;
  --accent: #2e4acd;
  --muted: #5b6b7c;
  --sand: #fdf0d8;
  --ice: #dee3ff;
  --blush: #feeaee;
  --radius: 32px;
  --wrap: 1305px;
}

* { box-sizing: border-box; }
html { font-size: 16px; background: var(--ink); }
html.lenis, html.lenis body { height: auto; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: Poppins, Inter, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ink);
}

body.is-inner { background: var(--paper); }
body.is-home #hero,
body.is-home #story,
body.is-home #cta,
body.is-home #footer,
body.is-home .section,
body.is-home .section-mist {
  background: transparent;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.wrap {
  width: min(calc(100% - 192px), 1280px);
  margin-inline: auto;
}

.display {
  font-family: Satoshi, "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.kicker,
.work-year,
.foot-kicker {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}

.lead { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 760px; margin: 0 0 40px; }

h1, h2, h3 { font-weight: 700; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 16px 32px;
  border-radius: 32px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
}
.btn:focus-visible,
.icon-btn:focus-visible,
.nav-link:focus-visible,
.lang-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
.btn-swap .btn-b { position: absolute; opacity: 0; transform: translateY(8px); }
.btn-swap:hover .btn-a { opacity: 0; transform: translateY(-8px); }
.btn-swap:hover .btn-b { opacity: 1; transform: none; }
.btn-swap .btn-a,
.btn-swap .btn-b { transition: opacity 220ms ease, transform 220ms ease; }
.btn.btn-cycle {
  perspective: 480px;
  perspective-origin: center center;
}
.btn.btn-cycle:hover { transform: none; filter: none; }
.btn-cube {
  position: relative;
  width: 100%;
  height: 65px;
  overflow: hidden;
}
.btn-cycle .btn-a,
.btn-cycle .btn-b {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-origin: center center;
  transition: transform 640ms cubic-bezier(.55, .08, .25, 1);
}
.btn-cycle.is-instant .btn-a,
.btn-cycle.is-instant .btn-b { transition: none; }
.btn-cycle .btn-a { transform: translateY(0) rotateX(0deg); }
.btn-cycle .btn-b { transform: translateY(100%) rotateX(90deg); }
.btn-cycle.is-flip .btn-a { transform: translateY(-100%) rotateX(-90deg); }
.btn-cycle.is-flip .btn-b { transform: translateY(0) rotateX(0deg); }
.btn:hover { transform: translateY(-1px); }
.btn-accent:hover { filter: brightness(1.06); }

.icon-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
}

#header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  color: #fff;
  background: var(--ink);
  pointer-events: auto;
  transition: min-height 220ms ease, box-shadow 220ms ease;
}
#header a,
#header button {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}
#header .header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 118px;
  padding-block: 16px;
  transition: min-height 220ms ease;
}
#header.is-compact .header-bar { min-height: 76px; }
body.is-home #header.is-under-story {
  z-index: 65;
  pointer-events: none;
}
body.is-home #header.is-above-story {
  z-index: 90;
}
#header .brand-light { display: block; height: 28px; }
#header .brand-dark { display: none; height: 28px; }

.nav-desk { display: none; align-items: center; gap: 28px; }
.nav-link { font-size: 16px; font-weight: 500; color: #fff; opacity: .86; }
.nav-link:hover, .nav-link.is-active { opacity: 1; }

.lang { position: relative; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 88px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(4, 24, 39, .14);
}
.lang-item {
  width: 100%;
  display: flex;
  justify-content: center;
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
}
.lang-item[aria-current="true"] { background: var(--ice); }
.flag { width: 22px; height: 15px; display: block; border-radius: 2px; }

#mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(4, 24, 39, .4);
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 380px);
  height: 100dvh;
  background: #fff;
  color: var(--ink);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: drawer-in 280ms ease;
}
@keyframes drawer-in {
  from { transform: translateX(100%); }
  to { transform: none; }
}
.drawer-panel a { font-size: 22px; font-family: Satoshi, sans-serif; }

#hero {
  min-height: 0;
  padding: 182px 0 64px;
  background: var(--ink);
  color: #fff;
}
body.is-home #hero { background: transparent; }
.hero-title {
  margin: 0;
  font-size: clamp(52px, 7.2vw, 104px);
  font-weight: 700;
  line-height: .92;
  max-width: none;
}
.hero-line { display: block; }
.hero-lower {
  margin-top: 72px;
  max-width: calc(100% - min(436px, 42vw) - 28px);
}
.hero-sub {
  margin: 22px 0 0;
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .88);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 22px;
}
.hero-more {
  color: #fff;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 50px 0 0;
  padding: 44px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
  list-style: none;
}
.hero-stats strong {
  display: block;
  font-family: Satoshi, sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}
.hero-stats span {
  display: block;
  margin-top: 22px;
  max-width: 28ch;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .72);
}

#story {
  position: relative;
  height: 340vh;
  background: transparent;
}
.story-video-flip {
  position: fixed;
  right: 48px;
  bottom: 48px;
  z-index: 70;
  width: min(436px, 42vw);
  height: min(246px, 28vw);
  border-radius: 16px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform-origin: 100% 100%;
  box-shadow: 0 18px 48px rgba(4, 24, 39, .28);
}
.story-video-flip.is-on { opacity: 1; }
.story-video-flip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-video-flip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 24, 39, 0.4);
  opacity: var(--story-veil, 0);
  pointer-events: none;
}
.story-overlay {
  position: fixed;
  inset: 0;
  z-index: 71;
  pointer-events: none;
  opacity: 0;
  color: #fff;
}
.story-title {
  position: absolute;
  top: 132px;
  left: max(96px, calc((100vw - 1280px) / 2));
  margin: 0;
  max-width: 18ch;
  font-size: clamp(40px, 5.4vw, 80px);
  color: #fff;
}
.story-title .is-excel {
  background-image: linear-gradient(115deg, #7DDEA6 0%, #33C481 42%, #21A366 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.story-lead {
  position: absolute;
  right: max(96px, calc((100vw - 1280px) / 2));
  bottom: 80px;
  margin: 0;
  max-width: min(46ch, calc(100vw - 120px));
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, .9);
}

@keyframes wash {
  from { filter: saturate(1); }
  to { filter: saturate(1.15) brightness(1.06); }
}

.section { padding: 140px 0; background: var(--paper); color: var(--ink); position: relative; z-index: 0; }
.section-mist { background: var(--mist); }
.section h1,
.section h2 {
  margin: 14px 0 48px;
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: -1px;
  max-width: 16ch;
}
#approach .display { max-width: 20ch; margin-bottom: 80px; }
body.is-home #approach,
body.is-home #picks,
body.is-home #sluzby,
body.is-home #reference,
body.is-home #cta,
body.is-home #footer {
  z-index: 75;
}
body.is-home #approach {
  background: #f5f5f5;
}
body.is-home #picks,
body.is-home #sluzby {
  background: #f4f6f8;
}
body.is-home #reference,
body.is-home #testimonials,
body.is-home #cta,
body.is-home #footer {
  background: #f4f6f8;
}

.build-grid {
  display: grid;
  align-items: stretch;
  gap: 24px;
  margin: 28px 0 56px;
}
.build-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100%;
  padding: 40px 36px 36px;
  background: #fff;
  color: var(--ink);
  border: 0;
  border-radius: 16px;
  box-shadow: none;
}
.counter-head {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  min-height: 80px;
}
.counter-num {
  display: flex;
  align-items: flex-start;
  flex: 0 0 auto;
}
.counter-viewport {
  height: 80px;
  overflow: hidden;
}
.counter-col span {
  display: flex;
  align-items: center;
  height: 80px;
  font-family: Satoshi, sans-serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
}
.counter-plus {
  font-family: Satoshi, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 72px;
}
.counter-label {
  margin: 10px 0 0;
  color: #4e4e4e;
  font-size: 16px;
  line-height: 1.7;
}
.counter-copy {
  margin: 0;
  max-width: 28ch;
  color: #4e4e4e;
  font-size: 16px;
  line-height: 1.7;
}
.build-badge {
  position: absolute;
  top: 0;
  left: 24px;
  z-index: 2;
  display: inline-flex;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid var(--soft);
  border-radius: 999px;
  background: var(--ice);
  color: #1a2f8f;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
  transform: translateY(-50%);
}
.build-num {
  margin: 0;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}
.build-card h3 {
  margin: 0;
  font-family: Satoshi, sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.26px;
  line-height: 1.15;
}
.build-sub {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.build-prose {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.build-prose-lead {
  margin: 0;
  color: var(--ink);
  font-family: Satoshi, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.build-prose-body { margin: 0; }
.build-prose-body strong {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-weight: 600;
}
.build-prose-intro {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.build-pairs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--soft);
  border-bottom: 1px solid var(--soft);
}
.build-pairs p {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 10px 0;
}
.build-pairs p + p { border-top: 1px solid var(--soft); }
.build-pair-and {
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.build-pairs span:last-child {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}
.build-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.build-list li {
  display: grid;
  grid-template-columns: 7px 1fr;
  gap: 14px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.build-list li::before { display: none; }
.build-dot {
  width: 7px;
  height: 7px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--ink);
}
.build-foot {
  margin: auto 0 0;
  padding-top: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}
.build-cta {
  display: inline-flex;
  align-items: center;
  align-self: start;
  margin-top: auto;
  gap: 6px;
  padding-bottom: 4px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}
.build-cta:hover { filter: brightness(1.08); }

.copy p { font-size: 20px; color: var(--muted); max-width: 52ch; }
.copy p + p { margin-top: 18px; }

.cards-3 { display: grid; gap: 20px; }
.cards-4 {
  display: grid;
  width: 90%;
  margin-inline: auto;
  gap: 20px;
  align-items: stretch;
}
.card {
  min-height: 520px;
  padding: 48px;
  border-radius: var(--radius);
  transition: transform 420ms ease, box-shadow 420ms ease;
}
.section-erp { background: #f4f6f8; padding-top: 168px; }
.card.card-erp {
  position: relative;
  top: 0;
  z-index: 0;
  min-height: 352px;
  height: 100%;
  display: grid;
  grid-template-rows: 66px minmax(120px, 1fr) auto;
  align-items: start;
  color: inherit;
  padding: 28px 24px 32px;
  background: #fff;
  border: 1px solid rgba(4, 24, 39, .08);
  border-radius: 28px;
  box-shadow: none;
}
.card.card-erp:hover {
  transform: none;
  box-shadow: none;
}
.card.card-erp img {
  display: block;
  align-self: center;
  width: auto;
  height: 44px;
  max-width: 156px;
  max-height: 44px;
  margin: 0;
  object-fit: contain;
  object-position: left center;
  transform: none;
}
.card.card-erp h3 {
  position: static;
  width: auto;
  height: auto;
  margin: 0 0 12px;
  align-self: end;
  padding: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.card.card-erp p {
  margin: 0;
  min-height: calc(1.45em * 2);
  font-size: 16px;
  line-height: 1.45;
  color: var(--muted);
}
.card.card-erp ul { display: none; }
.card-ico { width: 48px; height: 48px; margin-bottom: 28px; }
.card h3 { margin: 0 0 14px; font-size: 28px; font-family: Satoshi, sans-serif; }
.card p { margin: 0 0 22px; font-size: 20px; color: var(--ink); }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
}
.card li + li { margin-top: 10px; }
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--ink);
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(4, 24, 39, .08);
}
.card-ice { background: var(--ice); }
.card-sand { background: var(--sand); }
.card-blush { background: var(--blush); }
.card-mist { background: var(--mist); }
.card-abra,
.card-pohoda,
.card-helios,
.card-money,
.card-bc,
.card-k2,
.card-odoo,
.card-karat { background: var(--paper); }

.work-list { display: grid; gap: 72px; }
.work-row { display: grid; gap: 18px; color: inherit; }
.work-row h3 {
  margin: 10px 0 14px;
  font-size: clamp(32px, 3vw, 44px);
  font-family: Satoshi, sans-serif;
}
.work-row > div > p { font-size: 20px; color: var(--muted); max-width: 46ch; }

.logo-rail { position: relative; margin-top: 36px; }
.logo-swiper { padding: 8px 48px 0; }
.logo-slide {
  height: 84px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(4,24,39,.06);
  display: grid;
  place-items: center;
  padding: 16px;
}
.logo-slide img { max-height: 40px; width: auto; }
.logo-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(4,24,39,.12);
  border-radius: 999px;
  background: #fff;
  transform: translateY(-50%);
}
.logo-prev { left: 0; }
.logo-next { right: 0; }

.work-lead { margin-bottom: 56px; }
.work-how { max-width: 68ch; margin: 0; }
.work-grid {
  display: grid;
  gap: 64px 40px;
}
.work-card { color: inherit; }
.work-card h3 {
  margin: 10px 0 14px;
  font-size: clamp(32px, 3vw, 44px);
  font-family: Satoshi, sans-serif;
}
.work-card > p { font-size: 20px; color: var(--muted); max-width: 46ch; }
.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin: 22px 0 28px;
}
.work-meta span {
  display: grid;
  gap: 4px;
  font-size: 16px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.work-meta strong {
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.work-shot {
  overflow: hidden;
  border-radius: 28px;
  background: var(--soft);
}
.work-shot img {
  width: 100%;
  min-height: 420px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 700ms ease;
}
.work-card:hover .work-shot img { transform: scale(1.04); }

.picks { padding: 0; }
.picks-bleed { width: 100%; margin-inline: 0; }
#reference .wrap { width: calc(100% - 24px); max-width: none; }
.ref-swiper { position: relative; padding-bottom: 0; }
.ref-slide {
  height: 110dvh;
  border-radius: 0;
  overflow: hidden;
  background: #10202c center / cover no-repeat;
  color: #fff;
}
.ref-slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 24, 39, .62) 0%, rgba(4, 24, 39, .18) 42%, rgba(4, 24, 39, .78) 100%);
}
.ref-slide-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  gap: 36px;
  padding: 96px max(96px, calc((100vw - 1280px) / 2)) 168px;
}
.ref-slide-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  width: 100%;
  max-width: none;
  min-width: 0;
  flex: 1;
  padding: 12px 0 8px;
}
.ref-brand { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 28px; }
.ref-brand img,
.ref-logo {
  height: 48px;
  width: auto;
  max-height: 48px;
  max-width: 280px;
  object-fit: contain;
  object-position: left center;
  background: none;
  flex: none;
  filter: brightness(0) invert(1);
}
.ref-name {
  margin: 0;
  width: 100%;
  max-width: none;
  color: rgba(255, 255, 255, .78);
  font-family: Satoshi, sans-serif;
  font-size: clamp(48px, 4.53vw, 85px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.04em;
}
.ref-name-brand {
  color: var(--brand, #8eb6ff);
  font-size: 1em;
  line-height: inherit;
}
.ref-mark {
  display: grid;
  place-items: center;
  min-width: 52px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: Satoshi, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
}
.ref-brand h3 {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-family: Satoshi, sans-serif;
  letter-spacing: -.03em;
}
.ref-brand p { margin: 2px 0 0; font-size: 24px; color: rgba(255,255,255,.82); }
.ref-pick {
  margin: 0;
  color: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
}
a.ref-pick:hover { text-decoration: underline; }
.ref-glass {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  will-change: transform;
}
.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 210px;
  padding: 26px 24px 28px;
  border: 0;
  border-radius: 22px;
  background: rgba(18, 22, 28, .42);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
  color: #fff;
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}
.stat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 20px;
  line-height: 1.2;
  text-align: left;
}
.stat-label::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #8eb6ff;
}
.stat-foot { margin-top: auto; padding-top: 18px; }
.stat-note {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  line-height: 1.3;
}
.stat-card strong {
  display: block;
  margin: 0;
  font-family: Satoshi, sans-serif;
  font-size: clamp(56px, 4.4vw, 72px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: .9;
  color: #fff;
}
.stat-card strong.stat-word {
  font-size: clamp(28px, 2.4vw, 40px);
  letter-spacing: -.03em;
}
.ref-swiper .swiper-pagination { bottom: 28px; }
.ref-swiper .swiper-pagination-bullet { background: #fff; opacity: .4; }
.ref-swiper .swiper-pagination-bullet-active { opacity: 1; background: #fff; }

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: calc(100% - 56px);
  margin: 28px auto 0;
}
.case-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 0;
  color: #fff;
  background: #10202c;
}
.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-card img.case-servis { object-position: center 13.5%; }
.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}
.case-card:hover::after,
.case-card:focus-visible::after { opacity: 1; }
.case-more {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
  max-width: 36ch;
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 420ms ease, transform 420ms ease;
}
.case-card:hover .case-more,
.case-card:focus-visible .case-more {
  opacity: 1;
  transform: none;
}
.case-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 64px 28px 28px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .55));
}
.case-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.85);
  font-size: 17px;
  color: rgba(255,255,255,.78);
}
.case-card h3 {
  margin: 0;
  font-family: Satoshi, sans-serif;
  font-size: clamp(24px, calc(1.7vw + 2px), 30px);
  letter-spacing: -.03em;
  line-height: 1.05;
}
.case-card p {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.35;
  color: rgba(255,255,255,.86);
}
.case-card .case-more { font-size: 17px; }

.contact-page {
  padding: calc(148px + 10vh) 0 80px;
  background: #f3f5f8;
}
.contact-split {
  display: grid;
  gap: 36px;
  align-items: start;
}
.contact-page h1 {
  margin: 10px 0 16px;
  font-size: clamp(40px, 5vw, 72px);
  max-width: 12ch;
}
.contact-intro { margin: 0 0 28px; max-width: 42ch; color: var(--muted); font-size: 18px; }
.contact-id { display: grid; gap: 14px; margin-top: 72px; }
.contact-people { display: grid; gap: 18px; margin-bottom: 10px; }
.contact-person { display: flex; align-items: center; gap: 14px; }
.contact-person strong { font-family: Satoshi, sans-serif; font-size: 18px; font-weight: 700; }
.contact-person p { margin: 2px 0 0; font-size: 15px; color: var(--muted); }
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e4e9f0;
  color: var(--ink);
}
.avatar svg { width: 28px; height: 28px; }
.contact-line { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 18px; }
.contact-line svg { width: 20px; height: 20px; flex: none; }
.contact-panel {
  padding: 32px 28px;
  border-radius: 36px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(4, 24, 39, .06);
}
.contact-panel h2 {
  margin: 0 0 8px;
  font-family: Satoshi, sans-serif;
  font-size: 32px;
  letter-spacing: -.03em;
}
.contact-panel .lead { margin-bottom: 22px; }
.more-services {
  display: none;
  width: 100%;
  margin: 88px 0 0;
}
.svc-panel {
  padding: 42px 48px 72px;
  border-radius: 0;
  background: #0c0c0c;
  color: #fff;
}
.svc-kicker {
  margin: 0;
  font-size: 15px;
  letter-spacing: .04em;
}
.svc-panel h2 {
  margin: 6px 0 56px;
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 700;
  letter-spacing: -.04em;
  text-align: center;
}
.svc-grid {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) 1.28fr;
  gap: 48px;
  align-items: start;
}
.svc-shot, #svc-shot {
  width: min(240px, 100%);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  background: #1a1a1a;
}
.svc-preview h3 {
  margin: 18px 0 8px;
  font-family: Satoshi, sans-serif;
  font-size: 22px;
  font-weight: 700;
}
.svc-preview p {
  margin: 0;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .82);
}
.svc-list { min-width: 0; }
.svc-item {
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  padding: 14px 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  background: none;
  color: rgba(255, 255, 255, .34);
  font-family: Satoshi, sans-serif;
  font-size: clamp(36px, 4.4vw, 68px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .95;
  text-align: left;
  cursor: pointer;
}
.svc-item sup {
  margin-left: 6px;
  font-size: .28em;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}
.svc-item.is-active { color: #fff; }

.quote {
  margin: 0;
  max-width: 760px;
  padding: 0 48px 0 0;
}
.quote p {
  margin: 0 0 24px;
  font-family: Satoshi, sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}
.quote footer { font-size: 16px; color: var(--muted); }
.quote-swiper { position: relative; }
.quote-nav { position: relative; height: 56px; margin-top: 28px; }
.quote-prev { left: 0; }
.quote-next { left: 56px; }

#cta { background: #f4f6f8; padding: 40px 0 80px; }
.cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 420px;
  padding: 84px 48px 64px;
  border-radius: 40px;
  background: var(--ink);
  color: #fff;
  gap: 28px;
}
.cta-card h2 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 56px);
  max-width: none;
  white-space: nowrap;
}
.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  gap: 24px;
  text-align: center;
}
.cta-card .btn {
  min-height: 65px;
  padding: 19px 38px;
  font-size: 19px;
}
.cta-card .btn.btn-cycle {
  height: 65px;
  padding-top: 0;
  padding-bottom: 0;
}
.cta-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}
.cta-contacts p {
  margin: 0;
  font-size: 22px;
  font-family: Satoshi, sans-serif;
}

#footer {
  background: #f4f6f8;
  color: var(--ink);
  padding: 80px 0 32px;
}
.footer-grid { display: grid; gap: 32px; }
.footer-grid .phone,
.footer-grid .mail {
  font-size: 22px;
  font-family: Satoshi, sans-serif;
  margin: 14px 0 0;
}
.footer-grid p { font-size: 16px; color: var(--muted); }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links button {
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  padding: 0;
  font-size: 16px;
}
.footer-cookie {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.copyright {
  margin: 40px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(4,24,39,.08);
  font-size: 16px;
  color: var(--muted);
}

.page-banner {
  height: 300px;
  display: grid;
  align-items: end;
  padding: 118px 0 36px;
  background: var(--ink);
  color: #fff;
}
.page-banner h1 { margin: 8px 0 0; font-size: clamp(36px, 5vw, 60px); }
.page-banner .kicker { color: #c5d0ff; }

.contact-cols { display: grid; gap: 22px; margin: 48px 0; }
.contact-cols article { padding: 24px; border-radius: var(--radius); background: var(--mist); }
.contact-cols h2 { margin: 0 0 8px; font-size: 20px; }
.contact-cols p, .contact-cols a { font-size: 20px; }

.form { display: grid; gap: 16px; margin-bottom: 48px; }
.form-row { display: grid; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 16px; }
.form input, .form textarea {
  width: 100%;
  border: 1px solid rgba(4,24,39,.14);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
  font-size: 16px;
}
.form textarea { min-height: 160px; resize: vertical; }
.form .error { color: #b42318; font-size: 16px; }
.form-status { padding: 16px 18px; border-radius: 14px; background: #e8f5e9; font-size: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: 3px; }
#map { height: 360px; border-radius: var(--radius); }

.systems-grid { display: grid; gap: 18px; }
.system-card { padding: 28px; border-radius: var(--radius); background: var(--mist); }
.system-card img { height: 40px; object-fit: contain; margin-bottom: 16px; }
.system-card h3 { margin: 0 0 10px; font-size: 24px; font-family: Satoshi, sans-serif; }
.system-card ul { margin: 0; padding-left: 18px; font-size: 16px; }

#cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 50px rgba(4,24,39,.18);
  font-size: 16px;
}
#cookie-bar[hidden],
#cookie-modal[hidden],
#mobile-drawer[hidden],
.lang-menu[hidden] {
  display: none !important;
}
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }

#cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 24, 39, .45);
}
.cookie-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(4, 24, 39, .2);
}
.cookie-dialog h2 {
  margin: 0 40px 12px 0;
  font-size: clamp(28px, 4vw, 36px);
  max-width: none;
}
.cookie-lead {
  margin: 0 0 24px;
  font-size: 16px;
  color: var(--muted);
}
.cookie-list { display: grid; gap: 12px; margin-bottom: 24px; }
.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background: var(--mist);
}
.cookie-name {
  margin: 0 0 6px;
  font-size: 18px;
  font-family: Satoshi, sans-serif;
}
.cookie-desc { margin: 0; font-size: 16px; color: var(--muted); }
.cookie-switch {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 16px;
  flex-shrink: 0;
}
.cookie-switch input {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}
.cookie-switch.is-locked { color: var(--muted); }
.cookie-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--ink);
}

@media (min-width: 900px) {
  .nav-desk { display: flex; flex: 1; justify-content: flex-end; margin-left: 32px; }
  .burger { display: none; }
  .build-grid { grid-template-columns: repeat(3, 1fr); }
  #hero {
    min-height: 100dvh;
    padding-bottom: 48px;
    display: flex;
    flex-direction: column;
  }
  #hero > .wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .hero-lower { margin-top: auto; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 20px;
  }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-card-shift { margin-top: 96px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .contact-cols { grid-template-columns: repeat(3, 1fr); }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .contact-split { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .systems-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1100px) {
  .nav-desk { justify-content: space-between; margin-left: clamp(40px, 5vw, 96px); }
}

@media (max-width: 899px) {
  .wrap { width: min(calc(100% - 32px), var(--wrap)); }
  .section { padding: 80px 0; }
  #problemy { padding-bottom: 48px; }
  #hero { padding-top: 178px; }
  .hero-lower { max-width: none; margin-top: 40px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .story-video-flip {
    right: 20px;
    bottom: 20px;
    width: min(240px, 62vw);
    height: min(136px, 36vw);
  }
  .story-title {
    top: 108px;
    left: 16px;
  }
  .story-lead {
    right: 16px;
    bottom: 24px;
    max-width: min(46ch, calc(100vw - 32px));
  }
  .card { min-height: 0; padding: 32px 24px; }
  .build-card { padding: 32px 24px 28px; }
  .cta-card { min-height: 320px; padding: 64px 24px 48px; }
  .cta-card h2 { white-space: normal; }
  .ref-slide { height: auto; min-height: 110dvh; border-radius: 0; }
  .ref-slide-inner { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 28px; padding: 96px 20px 72px; }
  .ref-slide-copy, .ref-glass { max-width: none; width: 100%; }
  .ref-glass { grid-template-columns: 1fr 1fr; }
  .ref-slide-copy { align-self: auto; min-height: 180px; }
  .stat-card { min-height: 168px; padding: 18px 16px 20px; }
  .stat-note { font-size: 14px; }
  .stat-card strong { margin-top: 0; font-size: 48px; }
  .case-grid { grid-template-columns: 1fr; width: 100%; }
  .contact-page { padding-top: calc(120px + 10vh); }
  .contact-panel { padding: 24px 18px; }
  .more-services { width: 100%; }
  .svc-panel { padding: 28px 20px 40px; }
  .svc-panel h2 { margin-bottom: 32px; }
  .svc-grid { grid-template-columns: 1fr; gap: 28px; }
  .svc-item { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  #story { height: auto; min-height: 72dvh; }
  .story-video-flip,
  .story-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    right: auto;
    bottom: auto;
    border-radius: 0;
    opacity: 1;
    box-shadow: none;
  }
  .story-video-flip::after { opacity: 1; }
}

@media (min-width: 700px) and (max-width: 899px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}

#problemy { padding-bottom: 84px; }
#problemy .display { max-width: 16ch; margin-bottom: 16px; }
#problemy .lead { margin-bottom: 28px; }
.problem-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 22px;
}
.problem-cat {
  height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(4, 24, 39, .16);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.problem-cat.is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.problem-empty {
  margin: 8px 0 0;
  color: var(--muted);
}
.problem-more {
  margin-top: 22px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(4, 24, 39, .16);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.problem-more[hidden] { display: none; }
.problem-search {
  display: grid;
  gap: 8px;
  max-width: 560px;
  margin: 0 0 28px;
  font-size: 14px;
  font-weight: 600;
}
.problem-search-row {
  display: flex;
  gap: 8px;
}
.problem-search input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(4, 24, 39, .16);
  border-radius: 16px;
  background: #fff;
  font: inherit;
  font-weight: 400;
}
.problem-search button {
  flex: none;
  height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.problem {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 180px;
  padding: 28px 24px 22px;
  border: 1px solid rgba(4, 24, 39, .16);
  border-radius: 22px;
  background: transparent;
  transition: background 220ms ease, border-color 220ms ease;
}
.problem:hover,
.problem:focus-within {
  background: #fff;
  border-color: transparent;
}
.problem p { margin: 0; }
.problem .problem-title {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.problem-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--muted);
}
.problem-star {
  position: static;
  align-self: flex-start;
  width: auto;
  height: auto;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.problem-star svg { display: none; }
.problem-star::after { content: "Mám zájem"; }
.contact-stack { display: grid; gap: 22px; margin: 28px 0; }
.contact-stack p { margin: 0; }
.contact-stack a { color: inherit; }
.problem[hidden] { display: none; }

#interest {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 24, 39, .46);
}
#interest[hidden] { display: none; }
.interest-dialog {
  position: relative;
  width: min(560px, 100%);
  padding: 36px 32px 32px;
  border-radius: 28px;
  background: #fff;
}
.interest-dialog h2 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 48px); }
.interest-note { margin: 0 0 24px; color: var(--muted); }
.interest-form { display: grid; gap: 14px; }
.interest-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.interest-form input,
.interest-form textarea {
  width: 100%;
  border: 1px solid rgba(4, 24, 39, .16);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 400;
}
.interest-close { position: absolute; top: 16px; right: 16px; }

.faq { display: grid; }
.faq-item { border-top: 1px solid rgba(4, 24, 39, .12); }
.faq-item:last-child { border-bottom: 1px solid rgba(4, 24, 39, .12); }
.faq-q {
  width: 100%;
  padding: 28px 48px 28px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: Satoshi, sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
  text-align: left;
  cursor: pointer;
}
.faq-q::after {
  content: "+";
  float: right;
  margin-right: -48px;
  font-weight: 500;
  transition: transform 360ms cubic-bezier(.22, .8, .2, 1);
}
.faq-item.is-open .faq-q::after { content: "+"; transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  max-width: 62ch;
  opacity: 0;
  transition: grid-template-rows 480ms cubic-bezier(.22, .8, .2, 1), opacity 280ms ease;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; opacity: 1; }
.faq-a p {
  overflow: hidden;
  min-height: 0;
  margin: 0;
  padding-bottom: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
  transition: padding-bottom 480ms cubic-bezier(.22, .8, .2, 1);
}
.faq-item.is-open .faq-a p { padding-bottom: 28px; }
@media (prefers-reduced-motion: reduce) {
  .faq-a, .faq-a p, .faq-q::after { transition: none; }
}

@media (max-width: 899px) {
  .problem-grid { grid-template-columns: 1fr; }
}
