/* =========================================================================
   OP Digital — web (homepage)
   Staví na tokens.css + components.css z brand manuálu. Tady jsou jen
   rozvržení sekcí a prvky, které v knihovně komponent nejsou.
   ========================================================================= */

/* ---------- Písmo (self-hosted) ---------- */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/Geist-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/Geist-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/GeistMono-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/GeistMono-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--op-koral-200); color: var(--op-inkoust); }
:focus-visible { outline: 2px solid var(--op-focus-ring); outline-offset: 3px; }
[id] { scroll-margin-top: 96px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--op-inkoust); color: var(--op-papir); padding: 10px 16px; border-radius: var(--op-radius-sm); text-decoration: none; }
.skip-link:focus { top: 16px; }
.ico { flex: none; }
.op-container { width: 100%; }

/* Mřížka stránky: svislé linky na okrajích obsahu + vodorovné mezi sekcemi */
main { position: relative; }
/* Linky leží kousek vně obsahu (--rail-gap), aby se nedotýkaly textu ani karet */
main::before { --rail-gap: clamp(10px, calc(var(--op-gutter) - 16px), 28px);
  content: ""; position: absolute; inset: 0 auto 0 50%; z-index: 3; pointer-events: none;
  width: calc(min(calc(var(--op-container) - 2 * var(--op-gutter)), calc(100% - 2 * var(--op-gutter))) + 2 * var(--rail-gap)); translate: -50% 0;
  border-inline: 1px solid rgb(120 120 120 / .09); }
main > section + section { border-top: 1px solid var(--op-line); }

/* Sekce */
.section { padding-block: 88px; }
@media (min-width: 1024px) { .section { padding-block: 136px; } }

/* Štítek sekce: mono, jemný přechod do korálové a blikající kurzor (inspirace Promptwatch) */
.tag {
  position: relative; display: inline-flex; align-items: center; gap: 0;
  padding: 2px 0 2px 6px; width: fit-content;
  background: linear-gradient(90deg, transparent, rgb(253 91 56 / .14));
  font: 500 12px/1.5 var(--op-font-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--op-text-muted);
}
.tag::after { content: ""; align-self: stretch; width: 2px; margin: -2px 0 -2px 4px; background: var(--op-koral); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.op-dark .tag { color: var(--op-neutral-300); background: linear-gradient(90deg, transparent, rgb(253 91 56 / .22)); }

/* Klíčové slovo v nadpisu: korálové, čárkovaně podtržené */
.hl { font-style: normal; color: var(--op-koral); text-decoration: none; background: repeating-linear-gradient(90deg, rgb(253 91 56 / .6) 0 .32em, transparent .32em .5em) 0 100% / 100% max(1.5px, .03em) no-repeat; padding-bottom: 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.op-dark .hl { color: var(--op-koral); }

.section-head { position: relative; isolation: isolate; display: grid; gap: 20px; margin-bottom: 48px; }
/* Velké slovo v pozadí za nadpisem sekce */
[data-bg] { position: relative; isolation: isolate; }
[data-bg]::before {
  content: attr(data-bg); position: absolute; z-index: -1; top: -.42em; left: -.04em; pointer-events: none; white-space: nowrap;
  font: 600 clamp(84px, 15vw, 220px)/1 var(--op-font-sans); letter-spacing: -.06em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgb(20 20 20 / .07);
  background: linear-gradient(180deg, rgb(20 20 20 / .05), rgb(20 20 20 / 0) 80%); -webkit-background-clip: text; background-clip: text;
}
.section-head--center[data-bg]::before { left: 50%; translate: -50% 0; }
.op-dark [data-bg]::before { -webkit-text-stroke-color: rgb(255 255 255 / .07); background-image: linear-gradient(180deg, rgb(255 255 255 / .045), rgb(255 255 255 / 0) 80%); }
.section { overflow-x: clip; }
.section-head--center { justify-items: center; text-align: center; }
.section-head__title { max-width: 20ch; text-wrap: balance; margin-top: 4px; }
.section-head--center .section-head__title { max-width: 18ch; }
.section-head__lead { color: var(--op-text-muted); max-width: 46ch; }
@media (min-width: 1024px) {
  .section-head { margin-bottom: 72px; }
  .section-head--split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 48px; }
  .section-head--split > div { display: grid; gap: 20px; justify-items: start; }
}
@media (max-width: 1023px) { .section-head--split > div { display: grid; gap: 20px; justify-items: start; } }

/* Slova nadpisu odkrývaná scrollem */
.word { display: inline-block; }

/* =========================================================================
   00 — MENU (jeden řádek přes celou šířku, inspirace Pixelmate)
   ========================================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--op-neutral-100);
  box-shadow: 0 1px 0 rgb(255 255 255 / .06);
  transition: box-shadow var(--op-duration-slow) var(--op-ease);
}
/* Pozadí lišty je na samostatné vrstvě: backdrop-filter přímo na hlavičce by z ní udělal
   „rámeček“ pro position: fixed a mobilní menu by se po odscrollování zobrazilo jen ve výšce lišty. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--op-inkoust);
  transition: background var(--op-duration-slow) var(--op-ease);
}
.site-header__bar {
  display: flex; align-items: center; gap: 24px;
  height: 76px; padding-inline: var(--op-gutter);
  max-width: 1600px; margin: 0 auto;
  transition: height var(--op-duration-slow) var(--op-ease);
}
@media (min-width: 1024px) { .site-header__bar { height: 92px; } }
.site-header__logo { flex: none; display: block; }
.site-header__logo img { height: 34px; width: auto; transition: height var(--op-duration-slow) var(--op-ease); }
@media (min-width: 1024px) { .site-header__logo img { height: 38px; } }

/* Po odscrollování: Inkoust s rozmazáním */
.site-header.is-scrolled { box-shadow: 0 1px 0 rgb(255 255 255 / .08), 0 20px 40px -24px rgb(0 0 0 / .6); }
.site-header.is-scrolled::before { background: rgb(20 20 20 / .88); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); }
@media (min-width: 1024px) { .is-scrolled .site-header__bar { height: 72px; } .is-scrolled .site-header__logo img { height: 32px; } }

/* Položky */
.site-menu { margin-left: auto; }
.site-menu__list { display: flex; align-items: center; gap: 4px; }
.site-menu__item { position: relative; }
.site-menu__link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 10px 16px; border: 0; border-radius: var(--op-radius-full); background: none; cursor: pointer;
  color: var(--op-neutral-300); font-size: 15px; font-weight: 600; text-decoration: none; letter-spacing: -.005em;
  transition: background var(--op-duration-fast) var(--op-ease), color var(--op-duration-fast) var(--op-ease);
}
.site-menu__link:hover, .is-open > .site-menu__link { background: rgb(255 255 255 / .07); color: var(--op-bila); }
.site-menu__chevron { transition: transform var(--op-duration-base) var(--op-ease); }
.is-open > .site-menu__link .site-menu__chevron { transform: rotate(180deg); }
.site-header__cta { flex: none; margin-left: 12px; min-height: 46px; padding: 12px 20px; }

/* Dropdown „Řešení“ */
.drop {
  position: absolute; top: calc(100% + 12px); left: -16px; width: 420px;
  padding: 10px; border-radius: var(--op-radius-lg); background: var(--op-bila); color: var(--op-inkoust);
  --op-text-default: var(--op-inkoust); --op-text-muted: var(--op-neutral-600); --op-bg-surface: var(--op-bila); --op-border-default: var(--op-neutral-200);
  box-shadow: inset 0 0 0 1px var(--op-border-default), 0 30px 60px -24px rgb(20 20 20 / .35);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--op-duration-base) var(--op-ease), transform var(--op-duration-base) var(--op-ease), visibility 0s linear var(--op-duration-base);
}
.drop::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; } /* most pro hover */
.is-open > .drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drop__list { display: grid; gap: 2px; }
.drop__item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--op-radius-md); text-decoration: none; transition: background var(--op-duration-fast) var(--op-ease); }
.drop__item:hover, .drop__item:focus-visible { background: var(--op-neutral-100); }
.drop__icon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--op-radius-sm); background: var(--op-papir); color: var(--op-inkoust); transition: background var(--op-duration-fast) var(--op-ease); }
.drop__item:hover .drop__icon { background: var(--op-bila); box-shadow: inset 0 0 0 1px var(--op-neutral-200); }
.drop__item--main .drop__icon, .drop__item--main:hover .drop__icon { background: var(--op-inkoust); color: var(--op-papir); --op-bg-surface: var(--op-inkoust); }
.drop__text { display: grid; gap: 2px; }
.drop__text strong { font-size: 16px; }
.drop__text span { font-size: 14px; color: var(--op-text-muted); line-height: 1.4; }
.drop__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 8px; padding: 14px 12px 6px; border-top: 1px solid var(--op-border-default); font-size: 14px; color: var(--op-text-muted); text-decoration: none; }
.drop__foot strong { display: inline-flex; align-items: center; gap: 4px; color: var(--op-inkoust); }
.drop__foot:hover strong { color: var(--op-zar); }

/* Burger */
.site-header__burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: var(--op-radius-full); background: var(--op-neutral-800); color: var(--op-bila); cursor: pointer; place-items: center; }
.burger { position: relative; width: 20px; height: 12px; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--op-duration-base) var(--op-ease), top var(--op-duration-base) var(--op-ease); }
.burger i:first-child { top: 0; }
.burger i:last-child { top: 10px; }
[aria-expanded="true"] .burger i:first-child { top: 5px; transform: rotate(45deg); }
[aria-expanded="true"] .burger i:last-child { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .site-menu, .site-header__cta { display: none; }
  .site-header__burger { display: grid; }
}

/* Mobilní menu — tmavé, pod lištou */
.mobile-menu { position: fixed; inset: 0; z-index: -1; background: var(--op-inkoust); color: var(--op-neutral-100); padding-top: 96px; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__inner { display: grid; gap: 28px; padding-bottom: 40px; }
.mobile-menu__label { color: var(--op-neutral-400); }
.mobile-menu__services { display: grid; gap: 4px; margin-top: -12px; }
.mobile-menu__services a { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--op-neutral-800); font-size: 26px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.mobile-menu__services svg { color: var(--op-neutral-300); --op-bg-surface: var(--op-inkoust); }
.mobile-menu__links { display: grid; gap: 14px; }
.mobile-menu__links a { color: var(--op-neutral-200); text-decoration: none; font-size: 18px; font-weight: 500; }
.mobile-menu__cta { justify-self: stretch; width: 100%; justify-content: center; margin-top: 4px; }
.mobile-menu__contact { color: var(--op-neutral-400); font-size: 15px; }
.mobile-menu__contact a { text-decoration: none; }
.menu-open { overflow: hidden; }
.menu-open .site-header::before { background: var(--op-inkoust); backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .site-header { box-shadow: 0 1px 0 rgb(255 255 255 / .06); }

/* =========================================================================
   01 — HERO (vycentrovaný nadpis, pixelové pozadí, rozpad do bílé)
   ========================================================================= */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 140px 0 150px; background: var(--op-inkoust); }
@media (min-width: 1024px) { .hero { padding: 170px 0 150px; } }
/* Plynulý přechod do bílé: měkký přechod, který při scrollu vyjíždí odspodu */
.hero__fade { position: absolute; left: 0; right: 0; top: 100%; height: 220%; z-index: 2; pointer-events: none; will-change: transform;
  background: linear-gradient(180deg, rgb(255 255 255 / 0) 0%, rgb(255 255 255 / .55) 18%, #fff 42%); }
.hero__pixels { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: block; }
.hero__veil { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(46% 42% at 50% 46%, var(--op-inkoust) 0%, rgb(20 20 20 / .82) 45%, rgb(20 20 20 / 0) 100%); }
.hero__inner { display: grid; justify-items: center; text-align: center; gap: 26px; position: relative; }
.hero__title { display: grid; justify-items: center; gap: .06em; margin-top: 4px; font-family: var(--op-font-sans); font-weight: 500; font-size: clamp(42px, 7.2vw, 108px); line-height: .98; letter-spacing: -.05em; color: var(--op-bila); }
.hero__line { display: block; white-space: nowrap; }
.hero__rotator { position: relative; display: block; }
/* Měnící se slovo ve „výběrovém rámečku“ jako v návrhovém nástroji — šířka se plynule dopočítá */
.hero__box { position: relative; display: inline-grid; place-items: center; overflow: visible; padding: 0 .16em .06em; color: var(--op-koral); border: 1px dashed rgb(253 91 56 / .45); background: rgb(253 91 56 / .06); }
.hero__box > i, .hero__box::before, .hero__box::after { box-sizing: border-box; position: absolute; width: 9px; height: 9px; background: var(--op-inkoust); border: 1.5px solid var(--op-koral); }
.hero__box::before { content: ""; left: -5px; top: -5px; }
.hero__box::after { content: ""; right: -5px; bottom: -5px; }
.hero__box > .c1 { right: -5px; top: -5px; }
.hero__box > .c2 { left: -5px; bottom: -5px; }
.hero__word { display: inline-block; white-space: nowrap; font-variant-ligatures: none; }
.hero__word .g { color: rgb(253 91 56 / .55); font-family: var(--op-font-mono); font-weight: 400; letter-spacing: -.06em; }
.hero__lead { max-width: 54ch; color: var(--op-neutral-400); font-size: var(--op-text-lead-size); line-height: 1.55; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }
.hero .op-btn--secondary { --_bd: rgb(255 255 255 / .18); --_fg: var(--op-bila); }
.hero .op-btn--secondary:hover { --_bd: var(--op-bila); }
@media (max-width: 520px) { .hero__title { font-size: clamp(34px, 11vw, 48px); } }

/* Social proof — malý, pod tlačítky */
.proof { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.proof__avatars { display: flex; }
.proof__avatars li {
  display: grid; place-items: center; width: 38px; height: 38px; margin-left: -5px; border-radius: 50%;
  background: var(--op-bila); color: var(--op-inkoust); box-shadow: 0 0 0 2px var(--op-inkoust);
  font: 600 11px var(--op-font-sans); letter-spacing: -.02em;
}
.proof__avatars svg { display: block; width: 20px; height: 20px; fill: currentColor; overflow: hidden; }
.proof__avatars li:first-child { margin-left: 0; }
.proof__avatars .proof__more { background: var(--op-neutral-900); color: var(--op-neutral-300); box-shadow: 0 0 0 2px var(--op-inkoust), inset 0 0 0 1px var(--op-neutral-700); font-size: 11px; }
.proof__text { color: var(--op-neutral-400); font-size: 14px; }
.proof__text strong { color: var(--op-bila); font-weight: 500; }

/* Náznak scrollu */
.hero__scroll { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; display: grid; place-items: start center; width: 24px; height: 38px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); }
.hero__scroll span { width: 2px; height: 8px; margin-top: 8px; border-radius: 2px; background: var(--op-bila); animation: scrollcue 1.8s var(--op-ease) infinite; }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* =========================================================================
   02 — PROČ NA MÍRU + ČÍSLA + KLIENTI (bílá)
   ========================================================================= */
.shift { position: relative; padding-top: 56px; background: var(--op-bila); border-top: 0 !important; }
@media (min-width: 1024px) { .shift { padding-top: 128px; } }
.shift__grid { display: grid; gap: 8px; align-items: center; }
@media (min-width: 900px) { .shift__grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.shift__head { display: grid; justify-items: start; gap: 18px; text-align: left; position: relative; z-index: 1; }
.shift__title { max-width: 14ch; text-wrap: balance; }
.shift__mark { position: relative; height: clamp(220px, 26vw, 340px); margin: 0 0 28px; }
.shift__mark canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--op-line); border-left: 1px solid var(--op-line); }
@media (min-width: 1000px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { display: grid; gap: 10px; align-content: start; padding: 24px 20px 26px; border-right: 1px solid var(--op-line); border-bottom: 1px solid var(--op-line); }
@media (min-width: 1024px) { .stat { padding: 30px 28px 32px; } }
.stat strong { font-size: clamp(36px, 4vw, 52px); font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--op-inkoust); font-variant-numeric: tabular-nums; }
.stat > span { display: flex; align-items: center; gap: 12px; color: var(--op-text-muted); font-size: 14px; line-height: 1.35; }
.stat > span svg { flex: none; width: 30px; height: 30px; color: var(--op-neutral-500); --icon-accent: var(--op-koral); }

.clients { padding-block: 40px 56px; border-bottom: 1px solid var(--op-line); }
.clients__title { margin-bottom: 20px; text-align: center; font: 500 12px/1.5 var(--op-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--op-text-muted); }
.marquee { --gap: 56px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: var(--gap); width: max-content; padding-block: 8px; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { flex: none; font-size: 22px; font-weight: 500; letter-spacing: -.03em; color: var(--op-neutral-600); white-space: nowrap; display: flex; align-items: center; gap: var(--gap); transition: color var(--op-duration-fast) var(--op-ease); }
.marquee__track li:hover { color: var(--op-inkoust); }
.marquee__track li::after { content: ""; width: 6px; height: 6px; background: var(--op-koral); opacity: .7; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }

/* =========================================================================
   03 — SLUŽBY (bento)
   ========================================================================= */
.bento { display: grid; gap: 16px; }
@media (min-width: 900px) { .bento { grid-template-columns: 1fr 1fr; gap: 20px; } .svc--main { grid-column: 1 / -1; } }

.svc { position: relative; display: flex; flex-direction: column; border-radius: var(--op-radius-xl); background: var(--op-bila); box-shadow: inset 0 0 0 1px var(--op-border-default); overflow: hidden; }
.svc__body { display: grid; gap: 16px; justify-items: start; align-content: start; padding: 28px; }
@media (min-width: 1024px) { .svc__body { padding: 40px; } }
.svc__top { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.svc__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: var(--op-radius-lg); background: var(--op-inkoust); color: var(--op-bila); --op-bg-surface: var(--op-inkoust); box-shadow: 0 14px 28px -16px rgb(20 20 20 / .55); }
.svc__title { text-wrap: balance; }
.svc__claim { font-weight: 600; font-size: 18px; color: var(--op-text-default); }
.svc__text { color: var(--op-text-muted); max-width: 52ch; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.svc__tags li { padding: 6px 12px; border-radius: var(--op-radius-full); box-shadow: inset 0 0 0 1px var(--op-border-default); font-size: 14px; }
.svc__link, .svc__cta { margin-top: 8px; }

/* Hlavní karta — tmavá */
.svc--main { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .svc--main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.svc--main .svc__body { padding-block: 36px; }
@media (min-width: 1024px) { .svc--main .svc__body { padding: 56px; } }
.svc__icon--dark { background: var(--op-koral); color: var(--op-bila); box-shadow: none; --icon-accent: var(--op-inkoust); --op-bg-surface: var(--op-koral); }

/* Vizuál: orbit nástrojů */
.orbit { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto 32px; container-type: inline-size; --r: 34cqi; }
@media (min-width: 900px) { .orbit { margin: 40px auto; } }
.orbit__drawing, .orbit__links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__drawing circle { fill: none; stroke: var(--op-koral); stroke-opacity: .2; stroke-width: 1; }
.orbit__drawing .orbit__ring-main { stroke-opacity: .55; stroke-dasharray: 2 6; }
.orbit__axis { stroke: var(--op-koral); stroke-opacity: .35; stroke-width: .75; stroke-dasharray: 14 4 2 4; }
.orbit__drawing text { fill: var(--op-koral-300); font: 500 9px var(--op-font-mono); letter-spacing: .06em; }
.orbit__links path { stroke: var(--op-koral); stroke-width: 1; stroke-dasharray: 2 8; fill: none; opacity: .3; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.orbit__spin { position: absolute; inset: 0; animation: spin 220s linear infinite; }
.orbit__chip { position: absolute; left: 50%; top: 50%; transform: rotate(var(--a)) translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a))); }
.orbit__chip > span {
  display: flex; align-items: center; gap: 8px; translate: -50% -50%;
  padding: 6px 10px; border-radius: var(--op-radius-xs);
  background: var(--op-inkoust); box-shadow: inset 0 0 0 1px var(--op-neutral-800);
  color: var(--op-neutral-400); font: 500 11px/1.2 var(--op-font-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  animation: spin 220s linear infinite reverse;
}
.orbit__chip svg { color: var(--op-neutral-500); width: 16px; height: 16px; --op-bg-surface: var(--op-inkoust); --icon-accent: var(--op-neutral-500); }
.orbit__core {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 27%; aspect-ratio: 1; border-radius: 50%;
  background: var(--op-inkoust); color: var(--op-koral);
  box-shadow: inset 0 0 0 1px rgb(253 91 56 / .55);
}
.orbit__core svg { width: 48%; height: auto; }
.orbit__caption { position: absolute; left: 50%; bottom: -6px; translate: -50% 0; color: var(--op-neutral-500); white-space: nowrap; }
@keyframes spin { to { rotate: 360deg; } }
@media (max-width: 480px) { .orbit__chip > span { font-size: 12px; padding: 7px 11px 7px 8px; gap: 6px; } .orbit__chip svg { width: 16px; height: 16px; } }


/* Vizuál: náhled aplikace v kartě Systémy */
.svc__app { padding: 0 24px 28px; }
@media (min-width: 900px) { .svc__app { padding: 48px 48px 48px 0; } }
.svc__app .dash { min-height: 0; box-shadow: 0 40px 80px -40px rgb(0 0 0 / .9); }

/* Vizuály menších karet */
.svc:not(.svc--main) .svc__visual {
  position: relative; margin: 12px 12px 0; height: 260px; border-radius: var(--op-radius-lg); overflow: hidden;
  background-color: var(--op-neutral-100);
  background-image:
    linear-gradient(to right, rgb(20 20 20 / .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(20 20 20 / .05) 1px, transparent 1px);
  background-size: 32px 32px;
}
@media (min-width: 1024px) { .svc:not(.svc--main) .svc__visual { height: 300px; } }

/* Mock webu */
.browser { position: absolute; left: 10%; right: -6%; top: 36px; bottom: -40px; border-radius: 14px; background: var(--op-bila); box-shadow: inset 0 0 0 1px var(--op-border-default), var(--op-shadow-lg); overflow: hidden; transition: transform var(--op-duration-slow) var(--op-ease); }
.svc:hover .browser { transform: translateY(-6px); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding-inline: 14px; border-bottom: 1px solid var(--op-border-default); }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--op-neutral-200); }
.browser__bar span { margin-left: 12px; padding: 3px 12px; border-radius: var(--op-radius-full); background: var(--op-papir); font: 500 10px var(--op-font-mono); color: var(--op-text-muted); letter-spacing: .04em; }
.browser__body { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto 1fr; column-gap: 20px; row-gap: 10px; padding: 22px; height: calc(100% - 34px); }
.sk { grid-column: 1; height: 12px; border-radius: 6px; background: var(--op-inkoust); }
.sk--label { width: 40%; height: 8px; background: var(--op-neutral-300); }
.sk--h { width: 92%; height: 16px; }
.sk--short { width: 64%; }
.sk--btn { width: 44%; height: 26px; margin-top: 6px; border-radius: var(--op-radius-full); background: var(--op-koral); }
.browser__img { grid-column: 2; grid-row: 1 / span 5; border-radius: 10px; background: radial-gradient(60% 60% at 70% 30%, rgb(253 91 56 / .55), transparent 70%), var(--op-inkoust); }

.toast {
  position: absolute; left: 6%; bottom: 22px; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 14px; background: var(--op-inkoust); color: var(--op-papir);
  box-shadow: var(--op-shadow-lg);
}
.toast__icon, .order__ok { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--op-koral); color: var(--op-bila); flex: none; }
.toast strong, .order strong { display: block; font-size: 14px; line-height: 1.3; }
.toast small, .order small { display: block; font-size: 12px; color: var(--op-neutral-400); }

/* Mock e-shopu */
.shop-chart { position: absolute; left: 8%; right: 8%; top: 28px; padding: 18px 18px 14px; border-radius: 14px; background: var(--op-bila); box-shadow: inset 0 0 0 1px var(--op-border-default), var(--op-shadow-md); }
.shop-chart__head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 14px; }
.shop-chart__tag { font: 500 10px var(--op-font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--op-koral-600); background: var(--op-koral-50); padding: 4px 8px; border-radius: 6px; }
.shop-chart__bars { display: flex; align-items: flex-end; gap: 8%; height: 104px; margin-top: 16px; padding-bottom: 1px; border-bottom: 1px dashed var(--op-border-strong); }
.shop-chart__bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: var(--op-neutral-200); transform-origin: bottom; }
.shop-chart__bars i.is-accent { background: var(--op-koral); }
.shop-chart__days { display: flex; gap: 8%; margin-top: 8px; }
.shop-chart__days span { flex: 1; text-align: center; font: 500 9px var(--op-font-mono); color: var(--op-text-muted); }
@media (min-width: 1024px) { .shop-chart__bars { height: 128px; } }

.order {
  position: absolute; right: 6%; bottom: 18px; display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 14px; background: var(--op-inkoust); color: var(--op-papir); box-shadow: var(--op-shadow-lg);
}
.order__thumb { width: 38px; height: 38px; border-radius: 10px; background: repeating-linear-gradient(135deg, var(--op-neutral-800) 0 6px, var(--op-neutral-700) 6px 7px); flex: none; }
.order__ok { width: 26px; height: 26px; margin-left: 6px; }

/* =========================================================================
   04 — REALIZACE
   ========================================================================= */
.work { background: var(--op-neutral-100); }
.work__grid { display: grid; gap: 48px 24px; }
@media (min-width: 760px) { .work__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .work__grid { gap: 72px 32px; } .work__grid .case:nth-child(even) { margin-top: 88px; } }

.case { display: grid; gap: 14px; align-content: start; text-decoration: none; }
.case__media { position: relative; aspect-ratio: 16 / 10.5; border-radius: var(--op-radius-xl); overflow: hidden; background: var(--op-neutral-200); }
.case__metric {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: baseline; gap: 8px;
  padding: 10px 14px; border-radius: var(--op-radius-md); background: var(--op-inkoust); color: var(--op-papir);
  font-size: 14px; box-shadow: var(--op-shadow-md);
}
.case__metric strong { color: var(--op-koral); font-size: 20px; letter-spacing: -.02em; }
.case__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 6px; }
.case__title { max-width: 30ch; text-wrap: balance; transition: color var(--op-duration-base) var(--op-ease); }
.case:hover .case__title { color: var(--op-zar); }
.case__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.case__more svg { transition: transform var(--op-duration-base) var(--op-ease); }
.case:hover .case__more svg { transform: translate(3px, -3px); }

.work__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 56px; }
@media (min-width: 1024px) { .work__links { margin-top: 88px; } }

/* =========================================================================
   05 — O NÁS
   ========================================================================= */
.about__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: .85fr 1.15fr; gap: 40px 72px; align-items: center; } .about__photo { grid-column: 1 / -1; } }
.about__text { display: grid; gap: 20px; justify-items: start; }
.about__lead { color: var(--op-text-muted); max-width: 40ch; }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (min-width: 1024px) { .people { gap: 24px; } }
.person { display: grid; gap: 16px; align-content: start; }
.person__frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--op-radius-xl); overflow: hidden; background: linear-gradient(180deg, #FFFFFF 0%, #ECECEC 100%); box-shadow: inset 0 0 0 1px var(--op-line); }
.person__frame img { position: absolute; left: 50%; bottom: 0; width: 94%; height: 94%; translate: -50% 0; object-fit: contain; object-position: bottom center; transition: transform 900ms var(--op-ease); transform-origin: bottom center; }
.person:hover .person__frame img { transform: scale(1.025); }
.person__frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 22%; background: linear-gradient(0deg, #ECECEC, rgb(236 236 236 / 0)); pointer-events: none; }
/* drobný pixelový schod v rohu, stejný jazyk jako značka, bez rámečků */
.person__px { position: absolute; top: 20px; right: 20px; width: 6px; height: 6px; background: var(--op-koral); box-shadow: -10px 0 0 rgb(20 20 20 / .14), 0 10px 0 rgb(20 20 20 / .14), -20px 0 0 rgb(20 20 20 / .07), 0 20px 0 rgb(20 20 20 / .07), -10px 10px 0 rgb(20 20 20 / .07); transition: transform 600ms var(--op-ease); }
.person:hover .person__px { transform: translate(-3px, 3px); }
.person__info { display: grid; gap: 6px; }
.person__info .op-label { margin-bottom: 6px; }
.person__contact { display: grid; gap: 0; margin-top: 6px; border-top: 1px solid var(--op-line); }
.person__contact li { border-bottom: 1px solid var(--op-line); }
.person__contact a { display: flex; align-items: center; gap: 10px; padding: 11px 0; font-size: 15px; text-decoration: none; color: var(--op-text-muted); transition: color var(--op-duration-fast) var(--op-ease); word-break: break-all; }
.person__contact a:hover { color: var(--op-zar); }
.person__contact svg { flex: none; }
@media (max-width: 520px) { .person__contact a { font-size: 13px; } .person__contact svg { display: none; } }

/* Místo pro reálnou fotku */
.photo-slot { aspect-ratio: 16 / 9; border-radius: var(--op-radius-xl); padding: 10px; background: var(--op-bila); box-shadow: inset 0 0 0 1px var(--op-border-default); }
.photo-slot__inner {
  height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 20px;
  border-radius: calc(var(--op-radius-xl) - 8px); border: 1.5px dashed var(--op-border-strong); color: var(--op-text-muted);
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgb(20 20 20 / .05) 14px 15px);
}
.photo-slot__title { font-weight: 600; font-size: 20px; color: var(--op-text-default); }
@media (min-width: 1024px) { .photo-slot { aspect-ratio: 21 / 8; } }
@media (max-width: 600px) { .photo-slot { aspect-ratio: 4 / 3; } }

/* =========================================================================
   06 — SPOLUPRÁCE (skládané kartičky)
   ========================================================================= */
.process { position: relative; overflow: clip; }
.process::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 50% at 0% 0%, rgb(253 91 56 / .12), transparent 70%); }
.process__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .process__grid { grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; } }
.process__sticky { display: grid; gap: 20px; justify-items: start; }
@media (min-width: 1024px) { .process__intro { align-self: stretch; } .process__sticky { position: sticky; top: 160px; } }
.process__lead { color: var(--op-neutral-400); max-width: 40ch; }

.steps { display: grid; gap: 16px; }
.step { position: sticky; top: calc(96px + var(--i) * 14px); }
@media (min-width: 1024px) { .step { top: calc(150px + var(--i) * 18px); } .steps { gap: 28px; padding-bottom: 40px; } }
.step__card {
  display: grid; gap: 14px; padding: 28px; min-height: 260px; align-content: start;
  border-radius: var(--op-radius-xl); background: var(--op-neutral-900); box-shadow: inset 0 0 0 1px var(--op-neutral-800), 0 -20px 40px -24px rgb(0 0 0 / .8);
  transform-origin: top center; will-change: transform;
}
@media (min-width: 1024px) { .step__card { padding: 40px; min-height: 300px; } }
.step__card p { color: var(--op-neutral-400); max-width: 46ch; }
.step__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.step__num { font: 500 13px var(--op-font-mono); letter-spacing: .08em; color: var(--op-text-muted); padding: 6px 10px; border-radius: var(--op-radius-xs); box-shadow: inset 0 0 0 1px var(--op-border-strong); }
.step__icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: var(--op-radius-md); background: var(--op-inkoust); color: var(--op-neutral-100); box-shadow: inset 0 0 0 1px var(--op-neutral-800); --op-bg-surface: var(--op-inkoust); }
.step--last .step__card { background: var(--op-zar); color: var(--op-bila); box-shadow: 0 -20px 40px -24px rgb(0 0 0 / .8); }
.step--last .step__card p { color: var(--op-bila); }
.step--last .step__num { color: var(--op-bila); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .4); }
.step--last .step__icon { background: rgb(255 255 255 / .16); color: var(--op-bila); box-shadow: none; --icon-accent: var(--op-inkoust); --op-bg-surface: var(--op-koral); }

/* =========================================================================
   07 — KONTAKT
   ========================================================================= */
.contact { position: relative; isolation: isolate; }
/* Pixelové „CTA“: padající číslice a pixely po okrajích, střed čistý */
.contact__rain { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; pointer-events: none;
  mask-image: radial-gradient(70% 70% at 50% 45%, rgb(0 0 0 / .25) 30%, #000 100%); -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, rgb(0 0 0 / .25) 30%, #000 100%); }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(180deg, var(--op-bila), var(--op-neutral-100)); }
.contact__grid { display: grid; gap: 48px; }
/* Mobil: nadpis → formulář → kontakty a loga (CTA „Pojďme to probrat“ vede rovnou k formuláři).
   Desktop: vlevo nadpis a kontakty, vpravo formulář. */
.contact__grid { grid-template-areas: "intro" "form" "more"; }
.contact__intro { grid-area: intro; }
.contact__form-wrap { grid-area: form; }
.contact__more { grid-area: more; display: grid; gap: 22px; justify-items: start; }
@media (max-width: 1023px) { .contact__grid { gap: 32px; } .contact__more { margin-top: 16px; } }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: .95fr 1.05fr; grid-template-rows: auto 1fr; grid-template-areas: "intro form" "more form"; gap: 30px 72px; align-items: start; } }
.contact__intro { display: grid; gap: 22px; justify-items: start; }
.contact__lead { color: var(--op-text-muted); max-width: 40ch; }
.contact__people { display: grid; gap: 12px; margin-top: 8px; }
.contact__people li { display: flex; align-items: center; gap: 14px; }
.contact__people img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top center; background: var(--op-bila); box-shadow: inset 0 0 0 1px var(--op-border-default); }
.contact__people span { display: grid; }
.contact__people a { color: var(--op-text-muted); text-decoration: none; }
.contact__people a:hover { color: var(--op-zar); }
.contact__mail { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.contact__mail a { text-decoration: none; background: linear-gradient(var(--op-koral), var(--op-koral)) 0 100% / 100% 2px no-repeat; transition: color var(--op-duration-fast) var(--op-ease); }
.contact__mail a:hover { color: var(--op-zar); }
.contact__trust { display: grid; gap: 12px; margin-top: 20px; padding-top: 24px; border-top: 1px solid var(--op-border-default); width: 100%; }
.contact__trust ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.contact__trust li { font-weight: 600; letter-spacing: -.02em; color: var(--op-neutral-600); }

.contact__form-wrap { position: relative; }
.contact-form { gap: 20px; padding: 24px; box-shadow: inset 0 0 0 1px var(--op-border-default), var(--op-shadow-lg); }
@media (min-width: 1024px) { .contact-form { padding: 40px; } }
.contact-form__row { display: grid; gap: 20px; }
@media (min-width: 600px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }
.contact-form__choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.contact-form__choice legend { padding: 0; margin-bottom: 8px; }
.contact-form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.contact-form__status:empty { display: none; }
.contact-form__status { padding: 12px 14px; border-radius: var(--op-radius-sm); background: #FDECEA; color: var(--op-error); font-size: 14px; }
.op-field__hint:empty { display: none; }
.op-input[aria-invalid="true"], .op-textarea[aria-invalid="true"] { border-color: var(--op-error); }
.op-input[aria-invalid="true"] + .op-field__hint, .op-textarea[aria-invalid="true"] + .op-field__hint { color: var(--op-error); }
.op-muted { font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[data-submit][disabled] { opacity: .6; pointer-events: none; }
.contact-done { align-items: start; padding: 40px; box-shadow: inset 0 0 0 1px var(--op-border-default), var(--op-shadow-lg); }
.contact-done[hidden] { display: none; }
.contact-done__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--op-koral); color: var(--op-bila); }

/* =========================================================================
   08 — FOOTER
   ========================================================================= */
.site-footer { position: relative; overflow: hidden; padding-top: 80px; }
.footer__top { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; } }
.footer__brand { display: grid; gap: 20px; justify-items: start; max-width: 360px; }
.footer__brand p { color: var(--op-popel); }
.footer__col { display: grid; gap: 16px; align-content: start; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: var(--op-neutral-200); text-decoration: none; transition: color var(--op-duration-fast) var(--op-ease); }
.footer__col a:hover { color: var(--op-koral); }
.footer__social { display: flex !important; gap: 8px !important; margin-top: 8px; }
.footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--op-neutral-800); transition: box-shadow var(--op-duration-fast) var(--op-ease), color var(--op-duration-fast) var(--op-ease); }
.footer__social a:hover { box-shadow: inset 0 0 0 1px var(--op-koral); }
.footer__mark { width: 100%; height: auto; aspect-ratio: 874 / 669; max-height: 360px; margin: 64px auto -150px; color: transparent; stroke: var(--op-neutral-800); stroke-width: 2.5; }
.footer__mark use { fill: none; }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 28px 32px; border-top: 1px solid var(--op-neutral-800); font-size: 14px; color: var(--op-popel); background: var(--op-inkoust); }
.footer__bottom ul { display: flex; gap: 24px; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--op-papir); }

/* =========================================================================
   Animace — počáteční stavy (jen když běží JS a uživatel nechce omezit pohyb)
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.is-ready) [data-reveal],
  .js:not(.is-ready) [data-words],
  .js:not(.is-ready) [data-hero] { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track, .orbit__spin, .orbit__chip > span, .orbit__links path, .live-dot::after { animation: none; }
  .hero__drawing .hd-spin { animation: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; row-gap: 12px; }
  .marquee__track li[aria-hidden="true"] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .step { position: static; }
}

/* Hlavička: menu přesně uprostřed lišty, logo opticky zarovnané.
   Úsměv značky visí pod účařím, proto logo posouváme lehce dolů, aby
   „op Digital“ seděl na stejné ose jako položky menu. */
.site-header__logo img { translate: 0 13%; }
@media (min-width: 1081px) {
  .site-header__bar { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-header__logo { justify-self: start; }
  .site-menu { margin-left: 0; justify-self: center; }
  .site-header__cta { justify-self: end; margin-left: 0; }
}

/* ---------- Loga klientů (jednobarevná SVG, barva přes color) ---------- */
.clogo { display: block; height: calc(var(--h) * var(--k, 1)); width: calc(var(--h) * var(--r) * var(--k, 1)); fill: currentColor; flex: none; }
.marquee__track li .clogo { --k: 1.3; }
.marquee__track li { color: var(--op-neutral-500); }
.marquee__track li:hover { color: var(--op-inkoust); }
.marquee__track li.is-text { color: var(--op-neutral-500); font-size: 21px; font-weight: 600; letter-spacing: -.03em; }
.contact__trust ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; justify-items: start; gap: 26px 28px; margin-top: 6px; }
.contact__trust li { color: var(--op-neutral-600); }
.contact__trust .clogo { --k: 1.25; max-width: 100%; }

/* =========================================================================
   Showcase služeb: tmavě šedý panel se sloupci záběrů, které pomalu plují
   ========================================================================= */
.svc__visual--deck, .svc__visual--shot { padding: 10px; }
.svc:not(.svc--main) .svc__visual.svc__visual--deck { height: auto; background: none; box-shadow: none; padding: 0; overflow: visible; }
.deck { position: relative; overflow: hidden; height: 300px; border-radius: calc(var(--op-radius-xl) - 8px); background: #1F1F1F; isolation: isolate; }
@media (min-width: 1024px) { .deck { height: 340px; } }
.svc--main .deck { height: 100%; min-height: 380px; }
.deck::before, .deck::after { content: ""; position: absolute; left: 0; right: 0; height: 22%; z-index: 2; pointer-events: none; }
.deck::before { top: 0; background: linear-gradient(#1F1F1F, rgb(31 31 31 / 0)); }
.deck::after { bottom: 0; background: linear-gradient(rgb(31 31 31 / 0), #1F1F1F); }
.deck__cols { position: absolute; inset: -18% -6%; display: grid; grid-template-columns: 1fr .42fr 1fr; gap: 14px; transform: rotate(-7deg); }
.deck__col { overflow: visible; }
.deck__track { display: flex; flex-direction: column; animation: deck 70s linear infinite; will-change: transform; }
.deck__col:nth-child(2) .deck__track { animation-duration: 54s; animation-direction: reverse; }
.deck__col:nth-child(3) .deck__track { animation-duration: 84s; }
.deck__track img { display: block; width: 100%; height: auto; margin-bottom: 14px; border-radius: 8px; box-shadow: 0 0 0 1px rgb(255 255 255 / .07), 0 18px 30px -18px rgb(0 0 0 / .8); }
.deck__track img.m { border-radius: 14px; }
@keyframes deck { to { transform: translateY(-50%); } }
.deck:hover .deck__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .deck__track { animation: none; } }
/* jeden záběr (sekce Propojení) */
.deck--single { display: grid; place-items: center; padding: 6%; height: auto; aspect-ratio: 16 / 11; }
.deck--single::before, .deck--single::after { display: none; }
.deck--single img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 30px 50px -24px rgb(0 0 0 / .9); }

/* Pruh s logy klientů — bílý panel přes spodní hranu hera */
.logos-band { position: relative; background: var(--op-bila); border-bottom: 1px solid var(--op-line); }
.logos-band .clients { padding: 40px 0 44px; border: 0; }
.logos-band .clients__title { margin-bottom: 18px; }
.logos-band .marquee__track { animation-duration: 70s; }
.logos-band .marquee__track li .clogo { --k: 1.55; }
/* Odlehčená sekce Proč na míru */
.shift { padding-top: 88px; }
.shift__mark { height: clamp(200px, 22vw, 290px); }
.stats { border-left: 0; }
.stat { border-right: 0; }
.stat + .stat { border-left: 1px solid var(--op-line); }
.shift { padding-bottom: 24px; }
@media (max-width: 999px) { .stat:nth-child(odd) { border-left: 0; } }
@media (max-width: 640px) {
  .logos-band .clients { padding: 28px 0 32px; }
  .logos-band .marquee { --gap: 32px; }
  .logos-band .marquee__track li .clogo { --k: 1.05; }
  .shift { padding-top: 64px; }
}

/* =========================================================================
   Cookie lišta (vlevo dole, vlastní, assets/js/consent.js)
   ========================================================================= */
.cc { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: min(380px, calc(100vw - 32px)); padding: 20px; border-radius: var(--op-radius-lg); background: var(--op-bila); color: var(--op-inkoust); box-shadow: 0 0 0 1px var(--op-line), 0 24px 48px -20px rgb(20 20 20 / .35); font-size: 14px; line-height: 1.5; opacity: 0; translate: 0 12px; transition: opacity 300ms var(--op-ease), translate 300ms var(--op-ease); }
.cc.is-in { opacity: 1; translate: 0 0; }
.cc__title { font: 500 11px var(--op-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--op-text-muted); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.cc__title::before { content: ""; width: 6px; height: 6px; background: var(--op-koral); }
.cc__text { color: var(--op-neutral-700); }
.cc__text a { color: var(--op-inkoust); text-decoration-color: var(--op-koral); text-underline-offset: 3px; }
.cc__prefs { display: none; margin-top: 14px; border-top: 1px solid var(--op-line); }
.cc.is-settings .cc__prefs { display: block; }
.cc__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--op-line); cursor: pointer; }
.cc__row strong { display: block; font-weight: 500; font-size: 14px; }
.cc__row small { display: block; font-size: 12.5px; color: var(--op-text-muted); line-height: 1.4; }
.cc__switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 38px; height: 22px; margin: 0; border-radius: 999px; background: var(--op-neutral-300, #D6D6D6); cursor: pointer; transition: background var(--op-duration-fast) var(--op-ease); }
.cc__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .2); transition: translate var(--op-duration-fast) var(--op-ease); }
.cc__switch:checked { background: var(--op-koral); }
.cc__switch:checked::after { translate: 16px 0; }
.cc__switch:disabled { opacity: .55; cursor: not-allowed; }
.cc__switch:focus-visible { outline: 2px solid var(--op-inkoust); outline-offset: 2px; }
.cc__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cc__btn { flex: 1 1 auto; padding: 10px 14px; border: 0; border-radius: 999px; font: 500 13.5px var(--op-font-sans); background: var(--op-neutral-100, #F4F4F4); color: var(--op-inkoust); box-shadow: inset 0 0 0 1px var(--op-line); cursor: pointer; transition: background var(--op-duration-fast) var(--op-ease); }
.cc__btn:hover { background: var(--op-neutral-200, #EAEAEA); }
.cc__btn--primary { background: var(--op-inkoust); color: var(--op-bila); box-shadow: none; }
.cc__btn--primary:hover { background: #000; }
.cc__btn--ghost { flex: 0 0 auto; background: none; box-shadow: none; text-decoration: underline; text-decoration-color: var(--op-koral); text-underline-offset: 3px; padding-inline: 6px; }
.cc__btn--ghost:hover { background: none; }
.cc__save { display: none; }
.cc.is-settings .cc__save { display: block; flex-basis: 100%; }
.cc.is-settings [data-cc="all"], .cc.is-settings [data-cc="none"] { flex-basis: calc(50% - 4px); }
@media (max-width: 520px) { .cc { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .cc { transition: none; } }
.cc.is-settings [data-cc="settings"] { display: none; }
/* Čísla na úzkém mobilu: ikona nad popiskem, obojí zarovnané doleva jako číslo */
@media (max-width: 520px) { .stat > span { flex-direction: column; align-items: flex-start; gap: 8px; } }
@media (max-width: 480px) { .proof { flex-direction: column; gap: 10px; } .proof__text { text-align: center; } }
