﻿/* ============================================
   B2Metrics Web 2026 — v2 Design System
   Inspired by semly.ai · Bento · Glow · Floating
   ============================================ */

:root {
  /* Brand colors */
  --brand-green-500: #0FAC3B;
  --brand-green-600: #0E9434;
  --brand-green-700: #0F6125;
  --brand-teal-400: #14D19A;
  --brand-lime-400: #B6F09C;

  /* Ink / Neutrals */
  --ink-950: #050607;
  --ink-900: #0A0D10;
  --ink-800: #13171C;
  --ink-700: #1F252B;
  --ink-600: #3A4450;
  --ink-500: #6B7480;
  --ink-400: #9AA3AE;
  --ink-300: #CFD4DA;
  --ink-200: #E8EBEE;
  --ink-100: #F4F5F7;
  --ink-50:  #FAFBFC;
  --white: #FFFFFF;

  /* Gradients & glows */
  --grad-green: linear-gradient(135deg, #0FAC3B 0%, #14D19A 100%);
  --grad-green-soft: linear-gradient(135deg, rgba(15,172,59,0.15) 0%, rgba(20,209,154,0.15) 100%);
  --grad-aurora: radial-gradient(1200px 600px at 20% 20%, rgba(15,172,59,0.12), transparent 60%),
                 radial-gradient(900px 500px at 80% 60%, rgba(20,209,154,0.10), transparent 60%),
                 radial-gradient(700px 400px at 50% 100%, rgba(182,240,156,0.08), transparent 70%);
  --grad-footer: radial-gradient(800px 400px at 10% 50%, rgba(15,172,59,0.15), transparent 60%),
                 radial-gradient(700px 300px at 90% 50%, rgba(20,209,154,0.12), transparent 60%);
  --glow-green: 0 0 0 1px rgba(15,172,59,0.15), 0 20px 60px -20px rgba(15,172,59,0.35);
  --glow-card: 0 0 0 1px rgba(255,255,255,0.06), 0 40px 80px -30px rgba(0,0,0,0.4);

  /* Typography */
  --font-display: 'Geologica', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Roboto', 'Inter', Arial, sans-serif;

  /* Layout */
  --section-py: 120px;
  --section-py-sm: 80px;
  --section-px: 40px;
  --content-max: 1280px;
  --content-narrow: 1080px;
  --content-prose: 720px;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.10);
  --shadow-nav: 0 8px 32px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
}

/* ============================================
   Reset + base
   ============================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--grad-aurora);
  pointer-events: none;
  z-index: -1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ============================================
   Typography
   ============================================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(15,172,59,0.08);
  color: var(--brand-green-700);
  border: 1px solid rgba(15,172,59,0.18);
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.eyebrow--light {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--ink-300);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-green-500);
  box-shadow: 0 0 8px rgba(15,172,59,0.6);
}

.gradient-text {
  background: var(--grad-green);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}

h2, .h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}

h3, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 34px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}

h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
  color: var(--ink-900);
}

.lead {
  font-size: 22px;
  line-height: 32px;
  color: var(--ink-500);
}

p {
  font-size: 16px;
  line-height: 24px;
  color: var(--ink-500);
}

.body-lg { font-size: 18px; line-height: 28px; }
.body-sm { font-size: 14px; line-height: 20px; }
.caption { font-size: 12px; line-height: 16px; }

/* ============================================
   Layout primitives
   ============================================ */

.container {
  max-width: calc(var(--content-max) + var(--section-px) * 2);
  margin: 0 auto;
  padding-left: var(--section-px);
  padding-right: var(--section-px);
  width: 100%;
}

.container--narrow {
  max-width: calc(var(--content-narrow) + var(--section-px) * 2);
}

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  position: relative;
}

.section--dark {
  background: var(--ink-950);
  color: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin: 0 24px;
  position: relative;
}

.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 20% 10%, rgba(15,172,59,0.15), transparent 50%),
              radial-gradient(600px 300px at 80% 90%, rgba(20,209,154,0.10), transparent 50%);
  pointer-events: none;
}

.section--dark > .container {
  position: relative;
  z-index: 1;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }

.section--dark p,
.section--dark .lead { color: var(--ink-300); }

.section-head {
  text-align: center;
  max-width: var(--content-prose);
  margin: 0 auto 80px;
}

.section-head .eyebrow {
  margin-bottom: 20px;
}

.section-head h2 {
  margin-bottom: 20px;
}

/* Nadpis, který má na jednom řádku držet pointu („PIM = 1 místo.").
   Dřív byl nowrap v inline stylu, takže ho nešlo na mobilu zmenšit. */
.title-nowrap { white-space: nowrap; }

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--brand-green-500);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(15,172,59,0.25);
}

.btn--primary:hover {
  background: var(--brand-green-600);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15,172,59,0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-200);
}

.btn--ghost:hover {
  background: var(--brand-green-500);
  border-color: var(--brand-green-500);
  color: #fff;
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}

.btn--ghost-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}

.btn--lg {
  padding: 18px 32px;
  font-size: 16px;
}

.btn__arrow {
  transition: transform 0.2s;
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* ============================================
   Floating pill navigation
   ============================================ */

.nav {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding: 0 24px;
  animation: navFadeIn 0.6s ease-out;
}

@keyframes navFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-max);
  margin: 0 auto;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--shadow-nav);
  border-radius: var(--r-pill);
  padding: 8px 8px 8px 24px;
  height: 64px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav__logo img {
  height: 24px;
}

.nav__links {
  display: flex;
  gap: 32px;
  margin: 0 32px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  transition: color 0.15s;
  white-space: nowrap;
}

.nav__links a:hover { color: var(--brand-green-500); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav__lang {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-500);
  border-radius: var(--r-pill);
  cursor: pointer;
}

.nav__lang strong { color: var(--ink-900); }

.nav__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-500);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--ink-200);
  background: rgba(255,255,255,0.5);
  margin-left: 12px;
}

.nav__back:hover {
  color: var(--brand-green-500);
  border-color: var(--brand-green-500);
}

/* ---- Hamburger (jen ≤900px, viz mobile sekce) ---- */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-pill);
  flex-shrink: 0;
}

.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink-800);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav--open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: 80px 0 120px;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero__text .eyebrow {
  margin-bottom: 32px;
}

.hero__text h1 {
  margin-bottom: 28px;
}

.hero__text .lead {
  max-width: 560px;
  margin-bottom: 40px;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-500);
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero__trust span::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--grad-green);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="currentColor" d="M6 12L2 8l1.5-1.5L6 9l6.5-6.5L14 4z"/></svg>') center/contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="currentColor" d="M6 12L2 8l1.5-1.5L6 9l6.5-6.5L14 4z"/></svg>') center/contain no-repeat;
}

/* Hero isometric diagram */
.iso-diagram {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  /* Karty a spojnice jsou absolutní, takže jediné in-flow dítě je
     .iso-core (160px). Bez width:100% se diagram scvrkne na obsah,
     tedy na 160px, a všech 6 karet se navrství na sebe. */
  width: 100%;
  /* Referenční kontejner pro proporcionální škálování vnitřku. */
  container-type: inline-size;
}

.iso-core {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--grad-green);
  box-shadow: 0 0 60px rgba(15,172,59,0.45), inset 0 2px 20px rgba(255,255,255,0.3);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  animation: pulse-core 3s ease-in-out infinite;
}

@keyframes pulse-core {
  0%, 100% { box-shadow: 0 0 60px rgba(15,172,59,0.45), inset 0 2px 20px rgba(255,255,255,0.3); }
  50% { box-shadow: 0 0 100px rgba(15,172,59,0.6), inset 0 2px 20px rgba(255,255,255,0.3); }
}

.iso-core__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  color: var(--white);
  letter-spacing: -0.02em;
}

.iso-core::before,
.iso-core::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(15,172,59,0.25);
  animation: pulse-ring 3s ease-out infinite;
}

.iso-core::after {
  inset: -40px;
  animation-delay: 1.5s;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

.iso-node {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 11px;
  box-shadow: var(--shadow-md);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-900);
  white-space: nowrap;
  z-index: 3;
}

.iso-node__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brand-green-500);
  flex-shrink: 0;
}

.iso-node__logo {
  height: 26px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
}

.iso-node__logo[src*="allegro"] { height: 18px; }

.iso-node--tl { top: 16%; left: 10%; animation: float 6s ease-in-out infinite; }
.iso-node--tr { top: 12%; right: 4%; animation: float 6s ease-in-out infinite 0.5s; }
.iso-node--l { top: 48%; left: -7%; animation: float 6s ease-in-out infinite 1s; }
.iso-node--r { top: 44%; right: -4%; animation: float 6s ease-in-out infinite 1.5s; }
.iso-node--bl { bottom: 12%; left: 4%; animation: float 6s ease-in-out infinite 2s; }
.iso-node--br { bottom: 12%; right: 5%; animation: float 6s ease-in-out infinite 2.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---- Proporcionální zmenšení hero diagramu -------------------
   Pozice uzlů jsou v procentech, ale rozměry byly pevné (jádro
   160px, font 18px, logo 26px), takže se na užším displeji karty
   překrývaly. Vnitřek se teď odvozuje od šířky diagramu — autorská
   reference je 500px, tj. 160px jádra = 32cqw. min()/clamp() drží
   původní desktopovou velikost jako strop, takže se nad 500px nic
   nemění a kompozice hubu s orbitujícími zdroji zůstává stejná.
   Hodnoty v px výše slouží jako fallback bez podpory cqw.        */
@supports (width: 1cqw) {
  .iso-core {
    width: min(160px, 32cqw);
    height: min(160px, 32cqw);
  }

  .iso-core__label { font-size: min(36px, 7.2cqw); }

  /* Záporné hodnoty: max() = „nikdy víc než −20px". */
  .iso-core::before { inset: max(-20px, -4cqw); }
  .iso-core::after  { inset: max(-40px, -8cqw); }

  .iso-node {
    font-size: clamp(11px, 3.6cqw, 18px);
    padding: min(14px, 2.8cqw) min(20px, 4cqw);
    gap: min(11px, 2.2cqw);
    border-radius: min(16px, 3.2cqw);
  }

  .iso-node__dot {
    width: min(11px, 2.2cqw);
    height: min(11px, 2.2cqw);
  }

  .iso-node__logo {
    height: min(26px, 5.2cqw);
    max-width: min(130px, 26cqw);
  }

  .iso-node__logo[src*="allegro"] { height: min(18px, 3.6cqw); }
}

.iso-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   Bento grid (hero showcase)
   ============================================ */

.bento {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin-top: 80px;
}

.bento-card {
  background: var(--ink-950);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--glow-card);
  transition: transform 0.3s;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 30% 20%, rgba(15,172,59,0.25), transparent 60%),
              radial-gradient(300px 150px at 80% 90%, rgba(20,209,154,0.15), transparent 60%);
  pointer-events: none;
  opacity: 0.9;
}

.bento-card:hover {
  transform: translateY(-4px);
}

.bento-card > * { position: relative; z-index: 1; }

.bento-card--wide { grid-column: span 2; grid-row: 1; }
.bento-card--tall { grid-row: span 2; }

.bento-card__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-teal-400);
  margin-bottom: 12px;
}

.bento-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 28px;
  color: var(--white);
  margin-bottom: 8px;
}

.bento-card__desc {
  font-size: 17px;
  line-height: 24px;
  color: var(--ink-300);
  margin-bottom: 24px;
}

/* Mini UI mockups inside bento */
.ui-mock {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 16px;
  margin-top: auto;
}

.ui-mock__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 19px;
  color: var(--ink-300);
}

.ui-mock__row:last-child { border-bottom: none; }

.ui-mock__label { font-weight: 500; color: var(--white); }

.ui-mock__badge {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 600;
  background: rgba(15,172,59,0.15);
  color: var(--brand-teal-400);
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-pill);
  overflow: hidden;
  margin-top: 16px;
}

.progress-bar__fill {
  height: 100%;
  background: var(--grad-green);
  border-radius: var(--r-pill);
  animation: progress 3s ease-out infinite;
}

@keyframes progress {
  0% { width: 0%; }
  80% { width: 85%; }
  100% { width: 85%; }
}

.metric-mini {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 67px;
  line-height: 1;
  background: var(--grad-green);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

/* ============================================
   Metrics (dark section 3 counters)
   ============================================ */

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.metric-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(15,172,59,0.15), transparent 70%);
  pointer-events: none;
}

.metric-card__number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-green);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}

.metric-card__label {
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 26px;
}

.metric-card__caption {
  font-size: 14px;
  color: var(--ink-400);
  line-height: 20px;
}

/* ============================================
   Integrations grid (reálná loga)
   ============================================ */

.integrations {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.integration {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  padding: 40px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  transition: all 0.25s;
}

.integration:hover {
  border-color: var(--brand-green-500);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15,172,59,0.12);
}

/* Výška a max-width log jdou přes --logo-h / --logo-mw, aby se
   daly na mobilu přepsat jedním pravidlem místo opakování celého
   seznamu atributových selektorů níž. */
.integration img {
  height: var(--logo-h, 64px);
  max-width: var(--logo-mw, 210px);
  object-fit: contain;
  transition: transform 0.2s;
}

/* compact glyph-style logos render larger to match wordmark visual weight */
.integration img[src*="amazon"],
.integration img[src*="magento"],
.integration img[src*="shopify"],
.integration img[src*="prestashop"],
.integration img[src*="googleads"],
.integration img[src*="meta"],
.integration img[src*="woocommerce"] {
  --logo-h: 84px;
}

.integration img[src*="pohoda"] {
  --logo-h: 84px;
  --logo-mw: 260px;
}

/* per-logo fine tuning */
.integration img[src*="allegro"],
.integration img[src*="heureka"] {
  --logo-h: 58px;
}

.integration img[src*="amazon"] {
  --logo-h: 88px;
}

.integration:hover img {
  transform: scale(1.05);
}

.integration__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  letter-spacing: -0.02em;
}

.integration__text--shoptet { color: #6AC530; }
.integration__text--allegro { color: #FF5A00; }
.integration__text--heureka { color: #FF6900; }
.integration__text--zbozi { color: #7CB342; }
.integration__text--mall { color: #F47B20; }
.integration__text--pohoda { color: #00A859; }
.integration__text--money { color: #00448C; }
.integration__text--amazon { color: #FF9900; }
.integration__text--magento { color: #F26322; }

.integrations__more {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 2px dashed var(--ink-200);
}

.integrations__more strong {
  color: var(--brand-green-500);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 52px;
  line-height: 1;
}

.integrations__more span {
  font-size: 20px;
  color: var(--ink-500);
}

.integrations__footer {
  text-align: center;
  margin-top: 48px;
  font-size: 20px;
  color: var(--ink-500);
}

.integrations__footer a {
  color: var(--brand-green-500);
  font-weight: 600;
}

.integrations__footer a:hover {
  text-decoration: underline;
}

/* ============================================
   Problem (before / after bento)
   ============================================ */

/* Problem split — stacked title + full-bleed two-color split */
.problem-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.08;
}

.problem-title__ln--green { color: var(--brand-green-500); }
.problem-title__ln--ink { color: var(--ink-900); }

.split {
  /* Přímý potomek .section (bez max-width a bez horizontálního
     paddingu) → 100 % už je full-bleed. Původní 100vw zahrnovalo
     i scrollbar, takže sekce přetékala o jeho šířku. */
  width: 100%;
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split__col {
  display: flex;
  padding: 80px clamp(28px, 6vw, 96px);
}

.split__col--before {
  background: #ffffff;
  justify-content: flex-end;
}

.split__col--after {
  background: var(--brand-green-500);
  color: #fff;
}

.split__inner {
  width: 100%;
  max-width: 560px;
}

.split__col--before .split__inner { text-align: right; }

.split__label {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 40px;
}

.split__col--before .split__label { color: #E0203A; }
.split__col--after .split__label { color: #fff; }

.split__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.split__list li {
  font-size: clamp(15px, 1.55vw, 25px);
  line-height: 1.35;
  position: relative;
  white-space: nowrap;
}

.split__col--before .split__list li {
  color: var(--ink-700);
  padding-right: 40px;
}

.split__col--after .split__list li {
  color: #fff;
  font-weight: 500;
  padding-left: 40px;
}

.split__col--before .split__list li::after {
  content: '✕';
  position: absolute;
  right: 0;
  top: 0.05em;
  font-size: 0.9em;
  font-weight: 700;
  color: #E0203A;
}

.split__col--after .split__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.05em;
  font-size: 0.9em;
  font-weight: 700;
  color: #fff;
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
  .split__col { padding: 48px 28px; }
  .split__col--before { justify-content: flex-start; }
  .split__col--before .split__inner { text-align: left; }
  .split__label { font-size: 30px; margin-bottom: 24px; }
  .split__list { gap: 18px; }
  .split__list li { font-size: 17px; white-space: normal; }
  .split__col--before .split__list li { padding-right: 0; padding-left: 34px; }
  .split__col--before .split__list li::after { content: none; }
  .split__col--before .split__list li::before {
    content: '✕'; position: absolute; left: 0; top: 0.05em; font-size: 20px; font-weight: 700; color: #E0203A;
  }
  .split__col--after .split__list li::before { font-size: 20px; }
}

/* Transform table — replaces problem-grid */
.transform-table {
  margin-top: 64px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--ink-200);
}

.transform-header {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  background: var(--ink-100);
  border-bottom: 1px solid var(--ink-200);
}

.transform-header__before,
.transform-header__after {
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.transform-header__before { color: var(--ink-500); }

.transform-header__after {
  color: var(--brand-green-500);
  background: rgba(15,172,59,0.06);
  border-left: 1px solid rgba(15,172,59,0.2);
}

.transform-header__divider {
  border-left: 1px solid var(--ink-200);
  border-right: 1px solid rgba(15,172,59,0.2);
}

.transform-row {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  border-bottom: 1px solid var(--ink-200);
  transition: background 0.15s;
}

.transform-row:last-child { border-bottom: none; }

.transform-row:hover { background: rgba(15,172,59,0.03); }

.transform-before,
.transform-after {
  padding: 22px 32px;
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

.transform-before {
  color: var(--ink-500);
  text-decoration-color: transparent;
}

.transform-before::before {
  content: '✕';
  margin-right: 12px;
  font-size: 12px;
  color: var(--ink-400);
  flex-shrink: 0;
}

.transform-after {
  color: var(--ink-800);
  background: rgba(15,172,59,0.04);
  border-left: 1px solid rgba(15,172,59,0.15);
  font-weight: 500;
}

.transform-after::before {
  content: '✓';
  margin-right: 12px;
  font-size: 12px;
  color: var(--brand-green-500);
  flex-shrink: 0;
}

.transform-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ink-300);
  border-left: 1px solid var(--ink-200);
  border-right: 1px solid rgba(15,172,59,0.15);
}

/* ============================================
   PIM architecture diagram
   ============================================ */

/* PIM Flow diagram */
.pim-flow {
  position: relative;
  display: grid;
  grid-template-columns: 540px 1fr 540px;
  align-items: stretch;
  max-width: 1300px;
  height: 760px;
  margin: -74px auto 0;
  transform: scale(0.85);
  transform-origin: center;
}

/* prevent wide node text from causing horizontal scroll / off-center look */
#jak-to-funguje { overflow-x: clip; }

.pim-flow__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.pim-flow__inputs,
.pim-flow__center,
.pim-flow__outputs {
  position: relative;
  z-index: 1;
}

.pim-flow__inputs {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 93px;
}

.pim-flow__outputs {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 19px;
}

.pim-flow__center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pim-node {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  height: 130px;
  padding: 0 8px;
  transition: opacity 0.2s;
}

.pim-node:hover { opacity: 0.8; }

.pim-node--in {
  align-items: flex-end;
  text-align: right;
  padding-right: 16px;
}

.pim-node--out {
  align-items: flex-start;
  padding-left: 16px;
}

.pim-node__head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.pim-node__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.pim-node__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 51px;
  color: var(--ink-900);
  line-height: 1.05;
  white-space: nowrap;
}

.pim-node__desc {
  font-size: 28px;
  color: var(--ink-500);
  line-height: 1.25;
  white-space: nowrap;
}

.pim-center {
  width: 171px;
  height: 171px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--grad-green);
  box-shadow: 0 0 60px rgba(15,172,59,0.5), inset 0 2px 30px rgba(255,255,255,0.25);
  display: grid;
  place-items: center;
  position: relative;
}

.pim-center::before,
.pim-center::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(15,172,59,0.25);
  animation: pulse-ring 4s ease-out infinite;
}

.pim-center::after { inset: -40px; animation-delay: 2s; }

/* Skupinový popisek vstupů/výstupů. Na desktopu ho nahrazuje samotné
   rozložení (vlevo zdroje, vpravo kanály, mezi nimi spojnice), proto
   se zobrazuje až v svislé mobilní variantě. */
.pim-flow__label { display: none; }

.pim-center__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  color: var(--white);
  letter-spacing: -0.02em;
}

/* ============================================
   Modules bento grid
   ============================================ */

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.module {
  padding: 36px;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

/* Colored module cards — fill in partner colors, white icon box, green pictogram */
.module { color: #fff; }

.module:has(.module__icon--pohoda)  { background: #00A859; }
.module:has(.module__icon--allegro) { background: #FF5A00; }
.module:has(.module__icon--money)   { background: #00448C; }
.module:has(.module__icon--magento) { background: #F26322; }
.module:has(.module__icon--woo)     { background: #96588A; }
.module:has(.module__icon--amazon)  { background: #FF9900; }

.module:hover { transform: translateY(-4px); }

.module__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: #fff;
  color: var(--brand-green-500);
}

/* pictogram in the card's own colour */
.module__icon--pohoda  { color: #00A859; }
.module__icon--allegro { color: #FF5A00; }
.module__icon--money   { color: #00448C; }
.module__icon--magento { color: #F26322; }
.module__icon--woo     { color: #96588A; }
.module__icon--amazon  { color: #FF9900; }

.module h3 {
  margin-bottom: 12px;
  color: #fff;
}

.module p {
  flex: 1;
  color: rgba(255,255,255,0.9);
}

.module__link {
  margin-top: 20px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.module__link:hover { gap: 10px; }

/* ============================================
   Steps (onboarding 3 kroky)
   ============================================ */

/* Horizontal timeline (onboarding) */
.timeline {
  position: relative;
  /* Viz .split — full-bleed přes 100 %, ne 100vw. */
  width: 100%;
  margin-top: 64px;
}

.timeline__track {
  position: absolute;
  left: 0;
  right: 0;
  top: 36px;
  height: 2px;
  background: var(--ink-900);
}

.timeline__row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.tl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.tl-step__dot {
  width: 104px;
  height: 72px;
  background: var(--grad-green);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  padding-right: 14px;
  clip-path: polygon(0 0, 70% 0, 100% 50%, 70% 100%, 0 100%);
  filter: drop-shadow(0 8px 16px rgba(15,172,59,0.3));
  position: relative;
  left: 12px;
  z-index: 1;
}

.tl-step__week {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translate(calc(-100% - 20px), -50%);
  z-index: 5;
  padding: 8px 15px;
  background: #eaf6ec;
  color: var(--brand-green-700);
  border-radius: 22px 0 0 22px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tl-step h3 { margin: 56px 0 16px; font-size: 39px; line-height: 1.1; }

.tl-step p {
  font-size: 21px;
  line-height: 31px;
  max-width: 448px;
}

@media (max-width: 768px) {
  .timeline__row { grid-template-columns: 1fr; gap: 36px; }
  .timeline__track { display: none; }
}

/* ============================================
   Comparison table
   ============================================ */

.compare-wrap {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 16px;
  /* Na úzkých displejích se tabulka nevejde — musí být posuvná,
     jinak by overflow:hidden nevratně odřízl sloupce konkurence. */
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  box-shadow: var(--shadow-md);
  max-width: 1080px;
  margin: 0 auto;
}

/* Nápověda, že je tabulka posuvná — jen tam, kde se nevejde. */
.compare-hint {
  display: none;
  margin: 0 auto 12px;
  max-width: 1080px;
  font-size: 13px;
  color: var(--ink-500);
  text-align: center;
}

.compare {
  width: 100%;
  border-collapse: collapse;
}

.compare th,
.compare td {
  padding: 20px 24px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--ink-200);
}

.compare tr:last-child th,
.compare tr:last-child td { border-bottom: none; }

.compare thead th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

.compare thead th:first-child { text-align: left; }

.compare td.feature {
  color: var(--ink-900);
  font-weight: 500;
}

.compare .col-b2 {
  text-align: center;
  background: linear-gradient(180deg, rgba(15,172,59,0.05), transparent);
}

.compare .col-b2.highlight {
  color: var(--brand-green-700);
  font-weight: 600;
}

.compare .col-other {
  text-align: center;
  color: var(--ink-500);
}

.compare thead .col-b2 {
  background: var(--grad-green);
  color: var(--white);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}

.compare thead th { vertical-align: middle; }

.compare__logo {
  height: 26px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.compare__logo[src*="akeneo"] { height: 23px; }
.compare__logo[src*="wiseporter"] { height: 27px; }

.compare__logo--icon { height: 98px; }

.compare__logo--b2 {
  height: 30px;
  filter: brightness(0) invert(1);
}

/* ============================================
   Personas
   ============================================ */

.personas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.persona {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.persona:hover {
  border-color: var(--brand-green-500);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15,172,59,0.08);
}

.persona::after {
  content: '"';
  position: absolute;
  top: -20px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 160px;
  font-weight: 700;
  color: rgba(15,172,59,0.08);
  line-height: 1;
  pointer-events: none;
}

.persona__quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink-900);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.persona__subtitle {
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 20px;
}

.persona__body {
  color: var(--ink-700);
  font-size: 15px;
  line-height: 22px;
  margin-bottom: 24px;
}

.persona__cta {
  color: var(--brand-green-500);
  font-weight: 600;
  font-size: 14px;
}

/* ============================================
   Testimonials (dark cards)
   ============================================ */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--ink-950);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-card);
  display: flex;
  flex-direction: column;
}

.testimonial::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 30% 10%, rgba(15,172,59,0.15), transparent 60%);
  pointer-events: none;
}

.testimonial > * { position: relative; z-index: 1; }

.testimonial__mark {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--brand-teal-400);
  line-height: 1;
  margin-bottom: 16px;
}

.testimonial__body {
  font-size: 16px;
  line-height: 24px;
  color: var(--white);
  flex: 1;
  margin-bottom: 24px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-green);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.testimonial__name {
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 2px;
}

.testimonial__role {
  font-size: 13px;
  color: var(--ink-400);
}

/* ============================================
   About (bento with photos)
   ============================================ */

.about-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.about-bento__text h2 { margin-bottom: 24px; }

.about-bento__text p {
  font-size: 17px;
  line-height: 28px;
  color: var(--ink-700);
  margin-bottom: 16px;
}

.about-bento__text p:last-child { margin-bottom: 0; }

.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-100);
  position: relative;
}

.about-photo--wide {
  grid-column: 1 / 3;
  aspect-ratio: 16 / 9;
}

.about-photo--single {
  grid-column: 1 / -1;
  aspect-ratio: 1080 / 980;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.about-photo:hover img { transform: scale(1.05); }

/* ============================================
   Pricing
   ============================================ */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing--5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-width: var(--content-max);
}

.tier {
  background: var(--white);
  border: 2px solid var(--ink-900);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: all 0.25s;
}

.tier:hover {
  border-color: var(--brand-green-500);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15,172,59,0.08);
}

.tier--highlight {
  background: var(--white);
  border-color: var(--brand-green-500);
  box-shadow: 0 0 0 4px rgba(15,172,59,0.18), 0 20px 60px rgba(15,172,59,0.18);
  transform: scale(1.04);
  z-index: 2;
}

.section--dark .tier--highlight {
  background: var(--white);
}

.tier--highlight:hover {
  transform: scale(1.04) translateY(-4px);
}

.tier__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-green);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(15,172,59,0.35);
}

.tier__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

.tier__audience {
  font-size: 18px;
  color: var(--ink-500);
  min-height: 40px;
}

.tier__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.tier__amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 52px;
  line-height: 1;
  background: var(--grad-green);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}

.tier__period {
  font-size: 14px;
  color: var(--ink-500);
  font-weight: 500;
}

/* „od" před částkou — cena je vstupní, ne fixní. */
.tier__from {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-500);
  align-self: center;
}

.tier__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding-top: 16px;
  border-top: 1px solid var(--ink-200);
}

.tier__features li {
  font-size: 18px;
  color: var(--ink-700);
  padding-left: 24px;
  position: relative;
  line-height: 26px;
}

.tier__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  background: var(--grad-green);
  border-radius: 50%;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="currentColor" d="M6 12L2 8l1.5-1.5L6 9l6.5-6.5L14 4z"/></svg>') center/60% no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="currentColor" d="M6 12L2 8l1.5-1.5L6 9l6.5-6.5L14 4z"/></svg>') center/60% no-repeat;
}

.tier .btn { width: 100%; }

.pricing-footnote {
  text-align: center;
  margin-top: 40px;
  color: var(--ink-500);
  font-size: 14px;
}

.pricing-footnote a {
  color: var(--brand-green-500);
  font-weight: 500;
  text-decoration: underline;
}

.pricing-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1080px;
  margin: 48px auto 0;
}

.pricing-info__card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 32px;
}

.pricing-info__card h4 { margin-bottom: 12px; }

.pricing-info__card p { margin-bottom: 20px; }

.pricing-info__link {
  color: var(--brand-green-500);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pricing-info__link:hover { gap: 10px; }

/* ============================================
   FAQ
   ============================================ */

.faq {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 8px 32px;
  box-shadow: var(--shadow-md);
}

.faq__item {
  border-bottom: 1px solid var(--ink-200);
}

.faq__item:last-child { border-bottom: none; }

.faq__q {
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink-900);
  list-style: none;
  gap: 24px;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
  content: '';
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink-100);
  flex-shrink: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><path fill="none" stroke="%230FAC3B" stroke-width="2" stroke-linecap="round" d="M2 6h8M6 2v8"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.2s;
}

.faq__item[open] .faq__q::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><path fill="none" stroke="%230FAC3B" stroke-width="2" stroke-linecap="round" d="M2 6h8"/></svg>');
  background-color: rgba(15,172,59,0.1);
}

.faq__a {
  padding: 0 0 24px;
  color: var(--brand-green-500);
  line-height: 26px;
  max-width: 780px;
  font-size: 16px;
}

/* ============================================
   Final CTA
   ============================================ */

.final-cta {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.final-cta h2 {
  margin-bottom: 24px;
  color: var(--white);
}

.final-cta .lead {
  color: var(--ink-300);
  margin: 0 auto 40px;
  max-width: 640px;
}

.final-cta__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.final-cta__trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-400);
}

.final-cta__trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.final-cta__trust span::before {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--grad-green);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="currentColor" d="M6 12L2 8l1.5-1.5L6 9l6.5-6.5L14 4z"/></svg>') center/contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="currentColor" d="M6 12L2 8l1.5-1.5L6 9l6.5-6.5L14 4z"/></svg>') center/contain no-repeat;
}

/* ============================================
   Footer as floating card
   ============================================ */

.footer-wrap {
  padding: 0 24px 24px;
  position: relative;
}

.footer-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-footer);
  pointer-events: none;
}

.footer {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-xl);
  padding: 64px 64px 32px;
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand img { height: 28px; margin-bottom: 20px; }

.footer__brand p {
  font-size: 14px;
  color: var(--ink-500);
  max-width: 320px;
  margin-bottom: 24px;
}

.footer__newsletter {
  display: flex;
  gap: 8px;
  max-width: 320px;
}

.footer__newsletter input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--white);
  min-width: 0;
}

.footer__newsletter input:focus {
  outline: none;
  border-color: var(--brand-green-500);
}

.footer__newsletter button {
  padding: 12px 20px;
  background: var(--brand-green-500);
  color: var(--white);
  border: none;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-display);
  white-space: nowrap;
}

.footer__newsletter button:hover { background: var(--brand-green-600); }

.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer__col a {
  font-size: 14px;
  color: var(--ink-500);
  transition: color 0.15s;
}

.footer__col a:hover { color: var(--brand-green-500); }

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--ink-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-500);
  flex-wrap: wrap;
}

.footer__social { display: flex; gap: 12px; }

.footer__social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink-100);
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--ink-700);
}

.footer__social a:hover {
  background: var(--brand-green-500);
  color: var(--white);
}

/* ============================================
   Feature split (pro modul page)
   ============================================ */

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-split--reverse {
  grid-template-areas: 'img text';
}

.feature-split--reverse .feature-split__text { grid-area: text; }
.feature-split--reverse .feature-split__img { grid-area: img; }

.feature-split__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  background: rgba(15,172,59,0.1);
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-split__text h2 {
  font-size: 40px;
  line-height: 46px;
  margin: 20px 0 20px;
}

.feature-split__text p {
  font-size: 17px;
  line-height: 28px;
  margin-bottom: 28px;
}

.feature-split__img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

/* Feature large (hero profit/integration on module) */
.feature-large {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.feature-large--reverse { grid-template-columns: 1.2fr 1fr; }

.feature-large h2 {
  font-size: 44px;
  line-height: 52px;
  margin: 20px 0;
}

.feature-large p {
  font-size: 17px;
  line-height: 28px;
}

.feature-large__img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

/* Hero module variant (centered) */
.hero--module {
  padding: 48px 0 80px;
  text-align: center;
}

.hero--module .eyebrow { margin-bottom: 32px; }

.hero--module h1 {
  font-size: clamp(48px, 7vw, 96px);
  max-width: 1100px;
  margin: 0 auto 16px;
}

.hero--module .hero-subtitle {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 36px);
  color: transparent;
  background: var(--grad-green);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 48px;
}

.hero--module .hero__ctas {
  justify-content: center;
  margin-bottom: 64px;
}

.hero--module__img {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   Contact form
   ============================================ */

.contact-form {
  max-width: 600px;
  margin: 48px auto 0;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-md);
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-green-500);
  box-shadow: 0 0 0 3px rgba(15,172,59,0.1);
}

.contact-form textarea { resize: vertical; min-height: 84px; }

.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] { border-color: #E0203A; }

.contact-form__gdpr {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-500);
}

.contact-form__gdpr input { width: auto; margin-top: 4px; }
.contact-form__gdpr label { margin-bottom: 0; font-weight: 400; }

/* Nepovinný souhlas (newsletter) — odsazený a světlejší, ať je na
   první pohled poznat, že bez něj lze formulář odeslat. */
.contact-form__gdpr--optional {
  margin-top: -6px;
  padding-top: 12px;
  border-top: 1px solid var(--ink-200);
  color: var(--ink-400);
}

/* Dvojice polí na jednom řádku */
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Honeypot. Záměrně NE display:none — část robotů skryté prvky
   přeskakuje, takhle pole vyplní a odhalí se. */
.contact-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-form__status {
  margin: 0;
  font-size: 14px;
  min-height: 1px;
}

.contact-form__status.is-error { color: #E0203A; }

.contact-form__alt {
  margin: 0;
  font-size: 13px;
  color: var(--ink-500);
  text-align: center;
}

.contact-form__alt a { color: var(--brand-green-600); font-weight: 500; }

/* Potvrzení po odeslání nahradí formulář na jeho místě */
.contact-form--done {
  align-items: center;
  text-align: center;
  gap: 12px;
}

.contact-form--done h3 {
  font-size: 24px;
  color: var(--ink-900);
}

.contact-form--done p {
  font-size: 15px;
  color: var(--ink-500);
  max-width: 42ch;
}

/* ============================================
   Děkovací stránka
   ============================================ */

.thanks {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.thanks__mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--grad-green);
  box-shadow: 0 0 50px rgba(15,172,59,0.35);
}

.contact-form--done .thanks__mark {
  width: 56px;
  height: 56px;
  margin-bottom: 4px;
}

.thanks h1 { margin: 20px 0 24px; }

.thanks__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 36px 0 28px;
}

.thanks__note { font-size: 14px; color: var(--ink-500); }
.thanks__note a { color: var(--brand-green-600); font-weight: 500; }

/* ============================================
   Modal s poptávkovým formulářem
   ============================================ */

/* Pod cookie lištou (--cc-z-index: 1000) — souhlas má přednost. */
.modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 7, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 40px 40px 36px;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.45);
}

.modal__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-bottom: 8px;
  padding-right: 40px;
}

.modal__lead {
  font-size: 15px;
  color: var(--ink-500);
  margin-bottom: 4px;
}

/* Formulář v modalu už nepotřebuje vlastní kartu ani odsazení */
.modal__panel .contact-form {
  max-width: none;
  margin: 16px 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink-200);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink-600);
  transition: color 0.15s, border-color 0.15s;
}

.modal__close:hover {
  color: var(--brand-green-500);
  border-color: var(--brand-green-500);
}

/* Zamknout scroll stránky pod modalem */
.has-modal, .has-modal body { overflow: hidden; }

.breadcrumb {
  background: var(--ink-50);
  padding: 12px 0;
  font-size: 13px;
  color: var(--ink-500);
  border-bottom: 1px solid var(--ink-200);
}

.breadcrumb a { color: var(--ink-500); }
.breadcrumb a:hover { color: var(--brand-green-500); }
.breadcrumb span.current { color: var(--ink-900); font-weight: 500; }
.breadcrumb .sep { margin: 0 8px; color: var(--ink-300); }

/* ============================================
   Mobile responsive
   ============================================ */

/* Šířka obsahu je min(1280px, viewport − 2×40px). Mřížka integrací
   potřebuje 1200 px a PIM diagram 1251 px, takže oba musí přepnout
   dřív než na 1200 px viewportu — jinak je jen skryje overflow.
   (Na live verzi byly proto uříznuté i na běžném 1280px notebooku.) */
@media (max-width: 1340px) {
  .integrations { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* Ve 3 a 2 sloupcích je karta užší než pevných 210px, na které
     jsou nastavená široká wordmark loga — bez tohoto by vylezla
     z karty do sousední. */
  .integration { --logo-mw: 100%; }

  /* POHODA má vlastních 260px přímo na <img>, což zdědění z karty
     přebíjí — musí se přepsat na stejné úrovni. */
  .integration img[src*="pohoda"] { --logo-mw: 100%; }

  /* Mall.cz je text, ne obrázek, takže ho --logo-mw neomezí.
     38px se do úzké karty nevejde. */
  .integration__text { font-size: 30px; }

  /* PIM diagram je scéna pevných 540+171+540 px (1251 px).
     Níž se překlápí do svislého seznamu — jinak přetéká
     a spojnice v SVG přestanou pasovat na uzly. */
  .pim-flow {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 0;
    transform: none;
    max-width: 100%;
    margin: 0 auto;
  }
  /* Spojnice v SVG jsou nakreslené na pevné souřadnice scény, ve
     svislé variantě by nepasovaly — směr toku proto nese popisek
     skupiny, svislá lišta a gradientní konektor u jádra. */
  .pim-flow__svg { display: none; }

  /* Vstupy a výstupy jako dva zřetelné svazky, ne jeden seznam.
     Bez toho nebylo na mobilu poznat, co do PIM teče a co z něj
     leze — obojí vypadalo stejně. */
  .pim-flow__inputs,
  .pim-flow__outputs {
    padding-top: 0;
    gap: 8px;
    padding-left: 18px;
    border-left: 2px solid rgba(15,172,59,0.16);
  }

  .pim-flow__label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 4px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-500);
  }

  /* Linka doprava dopoví, že popisek patří celé skupině pod ním. */
  .pim-flow__label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--ink-200), transparent);
  }

  /* Konektor jádra: gradient sílí směrem k PIM a nad výstupy zase
     slábne — stejná logika jako grad-in/grad-out v desktopním SVG. */
  .pim-flow__center {
    margin: 4px auto;
    flex-direction: column;
    gap: 0;
  }

  .pim-flow__center::before,
  .pim-flow__center::after {
    content: '';
    width: 2px;
    height: 30px;
    border-radius: 1px;
    flex-shrink: 0;
  }

  .pim-flow__center::before {
    background: linear-gradient(180deg, rgba(15,172,59,0.12), rgba(15,172,59,0.7));
  }

  .pim-flow__center::after {
    background: linear-gradient(180deg, rgba(15,172,59,0.7), rgba(15,172,59,0.12));
  }

  .pim-node {
    height: auto;
    min-height: 0;
    padding: 10px 0;
    gap: 2px;
  }
  .pim-node--in,
  .pim-node--out {
    align-items: flex-start;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
  }
  .pim-node--in { flex-direction: column; }
  .pim-node__head { gap: 8px; flex-wrap: wrap; }
  .pim-node__name { font-size: 30px; white-space: normal; }
  .pim-node__desc { font-size: 17px; white-space: normal; }
}

@media (max-width: 1200px) {
  .hero__grid { grid-template-columns: 1fr; gap: 64px; }
  .iso-diagram { max-width: 500px; margin-inline: auto; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .bento-card--wide { grid-column: span 2; }
}

@media (max-width: 900px) {
  :root {
    --section-py: 80px;
    --section-px: 24px;
  }

  /* Nav pill se zmenší a odkazy se přesunou do rozbalovacího panelu */
  html { scroll-padding-top: 80px; }

  .nav { top: 8px; padding: 0 12px; }
  .nav__inner { padding: 6px 6px 6px 16px; height: 56px; position: relative; }
  .nav__toggle { display: flex; }

  /* CZ/EN je statický span bez odkazu (EN verze webu neexistuje),
     na mobilu proto jen zabírá místo. */
  .nav__lang { display: none; }

  .nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 8px;
    /* Neprůhledné záměrně: panel překrývá libovolný obsah stránky
       a při 0.97 pod ním prosvítal duch nadpisu. Frosted efekt si
       drží samotný nav pill. */
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-nav);
  }

  .nav--open .nav__links { display: flex; }

  .nav__links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: var(--r-sm);
  }

  .nav__links a:hover,
  .nav__links a:focus-visible { background: rgba(15,172,59,0.08); }

  .nav__back { font-size: 12px; padding: 6px 10px; }

  /* Uzly l/r záměrně přečnívají o −7 % / −4 %. Když diagram vyplní
     celou šířku kontejneru, přesah spadne za hranu displeje —
     vnitřní odstup ho vrátí zpět, proporce zůstávají nedotčené.
     Nad ~530px se neuplatní, tam už diagram limituje max-width. */
  .iso-diagram { width: calc(100% - 32px); }

  .hero { padding: 48px 0 80px; }

  .bento,
  .metrics,
  .modules,
  .steps,
  .personas,
  .testimonials,
  .pricing,
  .pricing--5,
  .about-bento,
  .problem-grid,
  .feature-split,
  .feature-large,
  .pim-flow,
  .pricing-info {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bento-card--wide { grid-column: auto; }
  .tier--highlight { transform: none; }
  .tier--highlight:hover { transform: translateY(-4px); }

  /* Strukturu diagramu řeší už breakpoint 1200px, tady jen
     dotahujeme velikosti na šířku telefonu. Původní 51px/28px
     s nowrap přetékaly až 113px za viewport. */
  .pim-node__name { font-size: 22px; }
  .pim-node__desc { font-size: 15px; }
  .pim-center { width: 120px; height: 120px; }
  .pim-center__label { font-size: 28px; }

  .footer { padding: 40px 24px 24px; }
  /* minmax(0,1fr) — samotné 1fr má min-width:auto, takže se track
     nesmrskne pod min-content potomka a footer přetékal. */
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer__brand p,
  .footer__newsletter { max-width: 100%; }

  .section--dark { margin: 0 12px; border-radius: var(--r-lg); }

  /* Tabulka zůstane čitelná a posouvá se do strany */
  .compare th, .compare td { padding: 12px 10px; font-size: 13px; }
  .compare { min-width: 600px; }
  .compare-hint { display: block; }

  /* Delší text v akronymu se na úzkém displeji musí zlomit */
  .pim-acronym { white-space: normal; padding: 40px 12px; }
}


/* ============================================
   Marketing-data dashboard mockups (replace photos)
   ============================================ */
.mock {
  width: 100%;
  background: var(--ink-950);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  box-shadow: var(--glow-card, 0 30px 60px rgba(0,0,0,0.25));
  overflow: hidden;
  color: #fff;
}
.feature-large__img.mock,
.feature-split__img.mock { aspect-ratio: auto; }

.mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
}
.mock__dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mock__dot:nth-child(1) { background: #ff5f57; }
.mock__dot:nth-child(2) { background: #febc2e; }
.mock__dot:nth-child(3) { background: #28c840; }
.mock__bar-title {
  margin-left: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
}
.mock__body { padding: 24px; }

/* stat tiles */
.mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.mock__stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  padding: 16px;
}
.mock__stat-label { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.06em; }
.mock__stat-value { font-family: var(--font-display); font-weight: 700; font-size: 28px; margin-top: 6px; }
.mock__stat-value--green { color: var(--brand-green-500); }
.mock__stat-trend { font-size: 12px; color: var(--brand-teal-400); margin-top: 4px; }

/* bar chart */
.mock__chart { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding-top: 10px; }
.mock__chart-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; height: 100%; }
.mock__chart-bar {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--brand-green-500), rgba(15,172,59,0.35));
}
.mock__chart-bar--muted { background: rgba(255,255,255,0.12); }
.mock__chart-x { font-size: 11px; color: rgba(255,255,255,0.4); }

/* rows (report / costs / status) */
.mock__rows { display: flex; flex-direction: column; }
.mock__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 15px;
}
.mock__row:last-child { border-bottom: none; }
.mock__row-label { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); }
.mock__row-val { font-family: var(--font-display); font-weight: 600; }
.mock__row-val--green { color: var(--brand-green-500); }
.mock__row-val--red { color: #ff6b6b; }
.mock__pill {
  font-size: 13px; font-weight: 600; padding: 4px 11px; border-radius: var(--r-pill);
  background: rgba(15,172,59,0.15); color: var(--brand-teal-400);
}
.mock__sdot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.mock__sdot--ok { background: #28c840; }
.mock__sdot--wait { background: #febc2e; }
.mock__sdot--bad { background: #ff5f57; }
.mock__row-total {
  margin-top: 6px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
}

/* segment bars */
.mock__segs { display: flex; flex-direction: column; gap: 18px; }
.mock__seg-top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 7px; }
.mock__seg-name { color: rgba(255,255,255,0.85); }
.mock__seg-val { font-family: var(--font-display); font-weight: 600; color: var(--brand-green-500); }
.mock__seg-track { height: 10px; border-radius: 5px; background: rgba(255,255,255,0.08); overflow: hidden; }
.mock__seg-fill { height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--brand-green-500), var(--brand-teal-400)); }

/* logo grid */
.mock__logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mock__logo-cell {
  background: #fff; border-radius: var(--r-md);
  height: 64px; display: grid; place-items: center; padding: 12px;
}
.mock__logo-cell img { max-height: 30px; max-width: 90%; width: auto; object-fit: contain; }
.mock__logo-cell--more {
  background: rgba(255,255,255,0.05); color: var(--brand-green-500);
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  border: 1px dashed rgba(255,255,255,0.15);
}

@media (max-width: 768px) {
  .mock__stats { grid-template-columns: 1fr 1fr; }
  .mock__logos { grid-template-columns: repeat(3, 1fr); }
}

/* complex chart in marketing-data hero mock */
.mock__legend { display: flex; gap: 22px; margin-bottom: 14px; flex-wrap: wrap; }
.mock__leg { display: flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255,255,255,0.6); }
.mock__leg-dot { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.mock__leg-dot--bar { background: rgba(255,255,255,0.22); }
.mock__leg-dot--line { background: var(--brand-green-500); border-radius: 50%; }
.mock__leg-dot--pno { background: var(--brand-teal-400); border-radius: 50%; }
.mock__graph { width: 100%; height: auto; display: block; }

/* marketing-data: black text -> brand orange of the linking module */
.page-md h1,
.page-md h2,
.page-md h3,
.page-md h4,
.page-md .faq__q,
.page-md .breadcrumb .current,
.page-md .contact-form label,
.page-md .tier__name { color: #F26322; }

/* infinity symbol slightly larger */
.infinity-sym { font-size: 1.15em; }

/* tighten gap below PIM diagram section */
#jak-to-funguje { padding-bottom: 30px; }

/* dark highlighted pricing tier: make dark text white */
/* green CTA card */
.pricing-info__card--green {
  background: var(--grad-green, #0FAC3B);
  border-color: transparent;
}
.pricing-info__card--green h4,
.pricing-info__card--green p,
.pricing-info__card--green .pricing-info__link {
  color: #ffffff;
}

/* PIM acronym caption between bento and metrics */
.pim-acronym {
  text-align: center;
  padding: 56px 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 5.1vw, 63px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--ink-900);
}

/* ============================================
   Case study page
   ============================================ */
.cs-profile {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--ink-200);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}
.cs-profile__item { background: var(--white); padding: 24px 20px; display: flex; flex-direction: column; gap: 6px; }
.cs-profile__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-500); }
.cs-profile__value { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink-900); }

.cs-pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cs-pain { background: var(--white); border: 1px solid var(--ink-200); border-left: 4px solid #E0203A; border-radius: var(--r-md); padding: 28px; }
.cs-pain__num { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: #E0203A; margin-bottom: 10px; }
.cs-pain p { font-size: 15px; line-height: 24px; color: var(--ink-700); }

.cs-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cs-step { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-md); padding: 28px; }
.cs-step__no { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--brand-green-500); margin-bottom: 14px; }
.cs-step h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.cs-step p { font-size: 14px; line-height: 22px; color: var(--ink-300); }

.cs-results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cs-result { text-align: center; background: linear-gradient(180deg, rgba(15,172,59,0.06), transparent); border: 1px solid rgba(15,172,59,0.25); border-radius: var(--r-lg); padding: 36px 24px; }
.cs-result__big { font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 1; color: var(--brand-green-500); margin-bottom: 12px; }
.cs-result p { font-size: 14px; line-height: 22px; color: var(--ink-700); }

.cs-quote { max-width: 820px; margin: 0 auto; text-align: center; }
.cs-quote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 3vw, 34px); line-height: 1.3; color: var(--ink-900); margin-bottom: 24px; }
.cs-quote footer { font-size: 16px; color: var(--ink-500); }
.cs-quote footer span { color: var(--ink-400); }

@media (max-width: 900px) {
  .cs-profile { grid-template-columns: 1fr 1fr; }
  .cs-pains, .cs-steps, .cs-results { grid-template-columns: 1fr; }
}

.persona--link { text-decoration: none; color: inherit; display: block; cursor: pointer; }

/* testimonial -> case study link */
.testimonial__link {
  display: inline-block;
  margin-top: 18px;
  color: var(--brand-teal-400, #14D19A);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: gap 0.2s;
}
.testimonial__link:hover { text-decoration: underline; }


/* ============================================
   Dotykové cíle (WCAG 2.5.8) + malé displeje
   ============================================ */

@media (max-width: 900px) {
  /* Odkazy ve footeru měly jen 17px na výšku. Ve svislém
     seznamu je zvětšení zdarma. */
  .footer__col ul a,
  .footer__bottom a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .footer__social a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Inline odkazy v kartách — nesmí rozhodit layout, proto
     jen na minimum 24px podle WCAG 2.5.8 AA. */
  .module__link,
  .testimonial__link,
  .pricing-info__link {
    min-height: 24px;
    padding: 2px 0;
  }
}

/* Integrace na telefonu: dva sloupce místo jednoho. 15 karet
   à 200px na výšku v jednom sloupci znamenalo přes 3000px scrollu.
   Karta si drží poměr 4:3 a logo se odvozuje od její šířky, takže
   od 320 do 600px nikde nevznikne plochá karta s drobným logem.
   Stropem je --logo-h, tedy původní desktopová výška loga. */
@media (max-width: 600px) {
  .integrations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .integration {
    container-type: inline-size;
    aspect-ratio: 4 / 3;
    min-height: 0;
    padding: 12% 9%;
  }

  .integration img { height: min(var(--logo-h, 64px), 30cqw); }
  .integration__text { font-size: min(38px, 15cqw); }

  /* „+12 dalších systémů" uzavírá mřížku na celou šířku — po 15
     kartách by jinak zbyla viset sama v půlce řádku. Poměr 4:3 by
     ji přes dva sloupce zbytečně vytáhl do výšky. */
  .integrations__more {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    min-height: 96px;
    padding: 20px;
  }

  .integrations__more strong { font-size: 32px; }
  .integrations__more span { font-size: 14px; }

  /* Dvojice polí se na telefonu nevejde vedle sebe */
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }

  /* Safari na iOSu při fokusu automaticky přiblíží stránku, když má
     pole font menší než 16px. Přiblížení pak rozhodí i modal, ze
     kterého uživatel vyplňuje. */
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 16px; }

  /* Dotykový cíl podle WCAG 2.5.8 */
  .modal__close { width: 44px; height: 44px; }

  /* Modal jde do celé obrazovky — na 375px je vycentrovaná karta
     s odsazením zbytečný luxus a formulář se hůř vyplňuje. */
  .modal { padding: 0; place-items: stretch; }
  .modal__panel {
    max-width: none;
    max-height: 100%;
    border-radius: 0;
    padding: 24px 20px 32px;
  }
  .modal__title { font-size: 23px; }

  .thanks__ctas { flex-direction: column; align-items: stretch; }
  .thanks__ctas .btn { justify-content: center; }
}

/* Telefony do 480px — dosud web žádný breakpoint pod 768px neměl. */
@media (max-width: 480px) {
  :root {
    --section-py: 64px;
    --section-px: 18px;
  }

  /* Pill musí pobrat logo + hamburger + CTA na 320px */
  .nav { padding: 0 8px; }
  .nav__inner { padding: 6px 6px 6px 12px; }
  .nav__logo img { height: 22px; }
  .nav__right .btn { font-size: 13px; padding: 10px 14px; }
  .nav__back { display: none; }

  .title-nowrap { font-size: 38px; }

  .hero { padding: 32px 0 64px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; }
  .hero__trust { flex-wrap: wrap; gap: 8px 16px; }

  .split__col { padding: 40px 20px; }
  .metric-card { padding: 28px 24px; }
  .metric-card__number { font-size: 60px; }

  .pim-node__name { font-size: 19px; }
  .pim-node__desc { font-size: 14px; }

  .footer { padding: 32px 18px 20px; }
  .section--dark { margin: 0 8px; }

  /* Dlouhé e-maily a telefony ve footeru se nesmí roztáhnout */
  .footer__col ul a { overflow-wrap: anywhere; }
}

/* Respekt k systémovému nastavení omezení animací */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================
   Právní stránky (GDPR, NDA)
   ============================================ */

.legal {
  max-width: var(--content-prose);
  margin: 0 auto;
}

.legal__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  margin: 32px 0 40px;
  padding: 24px 28px;
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  font-size: 15px;
}

.legal__meta dt { color: var(--ink-500); }
.legal__meta dd { margin: 0; color: var(--ink-900); font-weight: 500; }

.legal h2 {
  font-size: 22px;
  margin: 40px 0 14px;
}

.legal h3 {
  font-size: 17px;
  margin: 28px 0 10px;
}

.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
}

.legal p { margin-bottom: 14px; }

.legal ul,
.legal ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal li { margin-bottom: 8px; }

.legal a { color: var(--brand-green-600); font-weight: 500; }
.legal a:hover { text-decoration: underline; }

.legal__updated {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-200);
  font-size: 14px;
  color: var(--ink-500);
}

/* Odkaz na PDF ke stažení */
.legal__download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 32px;
  padding: 14px 20px;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-900);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.legal__download:hover {
  border-color: var(--brand-green-500);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.legal__download svg { flex-shrink: 0; color: var(--brand-green-500); }
.legal__download span { color: var(--ink-500); font-weight: 400; }

/* Nevyplněná místa ve vzoru smlouvy */
.legal__blank {
  display: inline-block;
  min-width: 130px;
  border-bottom: 1px dashed var(--ink-400);
}

@media (max-width: 600px) {
  .legal__meta { grid-template-columns: 1fr; gap: 2px 0; padding: 20px; }
  .legal__meta dd { margin-bottom: 10px; }
  .legal h2 { font-size: 20px; }
}

/* ============================================
   Cookie lišta (CookieConsent v3) — do designu webu
   ============================================ */

#cc-main {
  --cc-font-family: var(--font-body);
  --cc-bg: var(--white);
  --cc-primary-color: var(--ink-800);
  --cc-secondary-color: var(--ink-500);
  --cc-link-color: var(--brand-green-600);

  --cc-btn-primary-bg: var(--brand-green-500);
  --cc-btn-primary-color: var(--white);
  --cc-btn-primary-border-color: var(--brand-green-500);
  --cc-btn-primary-hover-bg: var(--brand-green-600);
  --cc-btn-primary-hover-color: var(--white);
  --cc-btn-primary-hover-border-color: var(--brand-green-600);

  --cc-btn-secondary-bg: var(--ink-100);
  --cc-btn-secondary-color: var(--ink-800);
  --cc-btn-secondary-border-color: var(--ink-200);
  --cc-btn-secondary-hover-bg: var(--ink-200);
  --cc-btn-secondary-hover-color: var(--ink-900);
  --cc-btn-secondary-hover-border-color: var(--ink-300);

  --cc-toggle-on-bg: var(--brand-green-500);
  --cc-toggle-off-bg: var(--ink-400);
  --cc-toggle-readonly-bg: var(--ink-200);
  --cc-toggle-readonly-knob-bg: var(--white);
  --cc-toggle-readonly-knob-icon-color: var(--ink-400);

  --cc-cookie-category-block-bg: var(--ink-50);
  --cc-cookie-category-block-border: var(--ink-200);
  --cc-cookie-category-block-hover-bg: var(--ink-100);
  --cc-cookie-category-block-hover-border: var(--ink-300);
  --cc-cookie-category-expanded-block-bg: var(--white);

  --cc-separator-border-color: var(--ink-200);
  --cc-footer-bg: var(--ink-50);
  --cc-footer-color: var(--ink-500);
  --cc-footer-border-color: var(--ink-200);
  --cc-overlay-bg: rgba(5, 6, 7, 0.65);

  --cc-modal-border-radius: var(--r-lg);
  --cc-btn-border-radius: var(--r-pill);
  --cc-pm-toggle-border-radius: var(--r-pill);

  /* Nad floating nav (z-index 100) */
  --cc-z-index: 1000;
}

#cc-main .cm__title,
#cc-main .pm__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

#cc-main .cm__btn,
#cc-main .pm__btn {
  font-family: var(--font-display);
  font-weight: 600;
}

/* Odznak „Vždy aktivní" u nezbytných cookies */
#cc-main .pm__badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  background: rgba(15,172,59,0.10);
  color: var(--brand-green-700);
  border: 1px solid rgba(15,172,59,0.20);
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Na mobilu tlačítka na plnou šířku a pod sebe */
@media (max-width: 480px) {
  #cc-main .cm__btns .cm__btn-group { flex-direction: column; }
  #cc-main .cm__btn { width: 100%; }
}
