/* ===================================================================
   Daniel Böttger — Landing page
   =================================================================== */

/* ---------- Fonty ---------- */
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter_18pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter_18pt-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* paleta */
  --cream:       #FCF8ED;
  --gray-50:     #F7F7F7;
  --gray-200:    #ECECEC;
  --gray-300:    #D9D9D9;
  --gray-500:    #555555;   /* sekundární text — ztmaveno z brandové #898989 kvůli čitelnosti (≈ 7 : 1 na krémové, AAA) */
  --charcoal:    #1A1A1A;
  --green:       #00834C;
  --green-dark:  #00643A;
  --green-soft:  #E3F1EA;
  --green-tint:  #EEF6F1;
  --white:       #FFFFFF;

  /* jemné tóny pozadí — krémová zůstává základ, tyhle jen „dýchají“ ze stran */
  --mesh-sand:   rgba(238, 221, 186, 0.50);   /* teplý písek */
  --mesh-sage:   rgba(214, 232, 218, 0.55);   /* šalvěj, odvozená z green-tint */
  --mesh-light:  rgba(255, 254, 249, 0.85);   /* světlo */

  /* AI — přechod jen pro obrys a drobné akcenty v bloku Automatizace a AI */
  --ai-gradient: linear-gradient(120deg, #00834C 0%, #2E9E8F 32%, #5B86D6 66%, #9B7BDA 100%);

  /* procesní linka v pozadí */
  --flow-line:   rgba(26, 26, 26, 0.10);
  --flow-node:   rgba(26, 26, 26, 0.26);
  --flow-radius: 18px;

  /* typografie */
  --font-display: 'Satoshi', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* radius & spacing */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* layout */
  --container: 1200px;
  --gutter: 24px;

  /* easing */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);    /* smooth out — pro reveal */
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);  /* mírný overshoot — pro hover */
  --ease-soft:   cubic-bezier(0.4, 0, 0.2, 1);      /* material standard */
}

/* ---------- Reset & základ ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* linky v pozadí sahají až k okrajům okna — ořízneme je na <main>,
   ne na body (overflow na body se na mobilu přenáší na viewport
   a stránka se pak oddálí na šířku přesahu) */
main { overflow-x: hidden; }
@supports (overflow: clip) {
  main { overflow-x: clip; }
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection { background: var(--green); color: var(--white); }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

h1, h2 { text-wrap: balance; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; color: var(--charcoal); }

.label {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.label--on-dark { color: rgba(255,255,255,0.6); }

.link {
  color: var(--charcoal);
  border-bottom: 1px solid var(--gray-300);
  transition: border-color .25s var(--ease-soft), color .25s var(--ease-soft);
}
.link:hover { border-color: var(--green); color: var(--green); }

/* textový odkaz se šipkou — druhá akce vedle plného tlačítka */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: 16px;
  line-height: 1.3;
  color: var(--charcoal);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gray-300);
  transition: color .25s var(--ease-soft), border-color .25s var(--ease-soft);
}
.text-link .ti {
  font-size: 18px;
  color: var(--green);
  transition: transform .35s var(--ease-spring);
}
.text-link:hover { color: var(--green); border-color: var(--green); }
.text-link:hover .ti { transform: translateX(3px); }

/* text jen pro čtečky obrazovky */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 24px;
}
.chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  transition:
    transform .35s var(--ease-spring),
    background .3s var(--ease-soft),
    color .3s var(--ease-soft),
    border-color .3s var(--ease-soft),
    box-shadow .35s var(--ease-soft);
  white-space: nowrap;
  position: relative;
  will-change: transform;
}
.btn .ti {
  font-size: 18px;
  transition: transform .35s var(--ease-spring);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover .ti { transform: translateX(2px); }
.btn:active { transform: translateY(0); }

.btn--lg { padding: 16px 24px; font-size: 16px; }
.btn--xl { padding: 20px 32px; font-size: 17px; }

.btn--primary {
  background: var(--charcoal);
  color: var(--cream);
  box-shadow: 0 6px 16px -8px rgba(26,26,26,0.4);
}
.btn--primary:hover {
  background: var(--green);
  box-shadow: 0 12px 24px -8px rgba(0,131,76,0.5);
}

.btn--accent {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 24px -8px rgba(0,131,76,0.5);
}
.btn--accent:hover {
  background: var(--green-dark);
  box-shadow: 0 14px 32px -8px rgba(0,131,76,0.6);
}

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--gray-300);
}
.btn--ghost:hover { border-color: var(--charcoal); background: var(--white); }

.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.5); }

/* =====================================================
   NAVIGACE
   ===================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 248, 237, 0);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-soft), background .3s var(--ease-soft);
}
.nav.is-scrolled {
  background: rgba(252, 248, 237, 0.88);
  border-bottom-color: var(--gray-200);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.nav__logo img {
  height: 28px;
  width: auto;
  transition: opacity .25s var(--ease-soft);
}
.nav__logo:hover img { opacity: 0.75; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 15px;
  color: var(--charcoal);
  position: relative;
  padding: 4px 0;
  transition: color .25s var(--ease-soft);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--green); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { font-size: 14px; padding: 10px 16px; }
.nav__cta .ti { font-size: 16px; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-300);
  border-radius: var(--r-md);
  align-items: center;
  justify-content: center;
  transition: background .25s var(--ease-soft), border-color .25s var(--ease-soft);
}
.nav__toggle:hover { background: var(--white); border-color: var(--charcoal); }
.nav__toggle .ti { font-size: 22px; }

@media (max-width: 960px) {
  .nav__menu { display: none; }
  .nav__toggle { display: inline-flex; }

  .nav.is-open .nav__menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    animation: dropIn .35s var(--ease) both;
  }
  .nav.is-open .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav.is-open .nav__links a {
    padding: 12px 14px;
    border-radius: var(--r-sm);
    text-align: center;
  }
  .nav.is-open .nav__links a::after { display: none; }
  .nav.is-open .nav__links a:hover { background: var(--cream); }

  .nav.is-open .nav__cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 4px;
    padding: 14px 18px;
    font-size: 15px;
  }
}

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

/* =====================================================
   POZADÍ — jemné tóny ze stran (mesh)
   Krémová zůstává základ. Každá sekce si přidá 2–3 měkké
   skvrny; vrstva přesahuje sekci nahoru i dolů a mizí do
   průhledna, takže na hranách sekcí nevznikají švy.
   ===================================================== */
.mesh { position: relative; }
.mesh::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14%;
  bottom: -14%;
  z-index: -1;
  pointer-events: none;
  background: var(--mesh-bg, none);
}

.mesh--hero {
  --mesh-bg:
    radial-gradient(46% 58% at 100% 14%, var(--mesh-sage),  transparent 70%),
    radial-gradient(40% 46% at 0% 62%,   var(--mesh-sand),  transparent 70%),
    radial-gradient(34% 40% at 42% 30%,  var(--mesh-light), transparent 70%);
}
.mesh--right {
  --mesh-bg:
    radial-gradient(38% 52% at 100% 55%, var(--mesh-sand),  transparent 70%),
    radial-gradient(30% 34% at 6% 28%,   var(--mesh-light), transparent 70%);
}
.mesh--left {
  --mesh-bg:
    radial-gradient(40% 54% at 0% 46%,   var(--mesh-sage),  transparent 70%),
    radial-gradient(32% 40% at 96% 66%,  var(--mesh-light), transparent 70%);
}
.mesh--right-low {
  --mesh-bg:
    radial-gradient(42% 42% at 100% 66%, var(--mesh-sage),  transparent 70%),
    radial-gradient(30% 40% at 4% 32%,   var(--mesh-sand),  transparent 70%);
}
.mesh--left-low {
  --mesh-bg:
    radial-gradient(42% 50% at 0% 58%,   var(--mesh-sand),  transparent 70%),
    radial-gradient(34% 40% at 100% 32%, var(--mesh-light), transparent 70%);
}

/* =====================================================
   PROCESNÍ LINKA — tenká čára s kostičkami (kroky)
   Jen dekorace v pozadí: tlumená, bez animace.
   ===================================================== */
.flow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.flow__seg {
  position: absolute;
  border: 0 solid var(--flow-line);
}
.flow__node {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--cream);
  border: 1px solid var(--flow-node);
  transform: translate(-50%, -50%);
}
/* výraznější krok — průsvitně bílý rámeček, uvnitř bílá kostička */
.flow__node--active {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(26, 26, 26, 0.10);
}
.flow__node--active::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 3px;
  background: var(--white);
  border: 1px solid var(--flow-node);
}

/* =====================================================
   SEKCE — společné
   ===================================================== */
.section {
  padding: clamp(56px, 7vw, 96px) 0;
}
.section--cream { background: var(--cream); }
.section--gray  { background: var(--gray-50); }

/* spárování dvou sekcí — sdílejí background, mají menší vnitřní mezery */
.section--pair-top    { padding-bottom: clamp(28px, 3vw, 40px); }
.section--pair-bottom { padding-top:    clamp(28px, 3vw, 40px); }

/* sekce, která přímo navazuje na předchozí (box AI pod dlaždicemi) */
.section--tight-top   { padding-top: 0; }

.section__head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section__title {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section__lede {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--gray-500);
  max-width: 640px;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  padding: clamp(16px, 2vw, 28px) 0 clamp(64px, 8vw, 112px);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  /* vlevo text a tlačítka, vpravo fotka a pod ní tři body */
  grid-template-rows: 1fr auto auto 1fr auto;
  grid-template-areas:
    ".       visual"
    "copy    visual"
    "actions visual"
    ".       visual"
    ".       badges";
  column-gap: 56px;
}
.hero__copy    { grid-area: copy; }
.hero__actions { grid-area: actions; }
.hero__badges  { grid-area: badges; }
.hero__visual  { grid-area: visual; }

/* text vždy nad dekorací z vizuálu (linka sahá pod levý sloupec) */
.hero__copy,
.hero__actions,
.hero__badges,
.hero__call { position: relative; z-index: 1; }

.hero__title {
  font-size: clamp(40px, 5.6vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
}
.hero__accent {
  display: inline;
  color: var(--charcoal);
  position: relative;
}
.hero__accent::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--green);
  border-radius: 4px;
  margin-top: 16px;
  transform-origin: left;
  animation: underlineIn 1s var(--ease) .25s both;
}
@keyframes underlineIn {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero__copy { margin-bottom: 36px; }
.hero__lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--charcoal);
  max-width: 560px;
}
.hero__lede strong { color: var(--green); }

/* jedno plné tlačítko + textový odkaz na hovor */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;   /* odkaz i s popiskem na ose tlačítka */
  gap: 16px 32px;
}
.hero__call {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero__note {
  font-size: 13px;
  color: var(--gray-500);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* na desktopu pod fotkou, na střed */
  gap: 14px 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  transition: color .25s var(--ease-soft);
}
.hero__badges li:hover { color: var(--charcoal); }
.hero__badges .ti {
  font-size: 16px;
  color: var(--green);
  transition: transform .35s var(--ease-spring);
}
.hero__badges li:hover .ti { transform: scale(1.2); }

/* hero visual */
.hero__visual {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: flex-start;   /* fotka blíž k textu */
  align-self: start;             /* a blíž k navigaci */
}
.hero__photo {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--gray-200);
  box-shadow: 0 30px 60px -30px rgba(26,26,26,0.25);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .9s var(--ease-soft);
}
.hero__photo:hover img { transform: scale(1.04); }

/* varianta „rozpuštěná do pozadí“ — výřez postavy bez rámečku,
   spodek se ztrácí do krémové, za postavou měkké světlo */
.hero__photo--blend {
  position: relative;
  max-width: 540px;
  overflow: visible;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.hero__photo--blend::before {
  content: "";
  position: absolute;
  inset: 0 -10% 6%;
  z-index: -1;
  background:
    radial-gradient(48% 40% at 50% 34%, rgba(238, 221, 186, 0.60), transparent 72%),
    radial-gradient(50% 42% at 58% 72%, rgba(214, 232, 218, 0.55), transparent 74%);
}
.hero__photo--blend img {
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 98%);
          mask-image: linear-gradient(to bottom, #000 68%, transparent 98%);
}
.hero__photo--blend:hover img { transform: none; }

/* procesní linka v hero — vede pod obsahem (ve spodním odsazení sekce),
   napříč celou šířkou, a vpravo se zaobleně stočí dolů k další sekci */
.flow--hero {
  --flow-gap-x: calc((100% - 56px) * 0.5238 + 28px);   /* střed mezery mezi sloupci 1.1fr : 1fr */
  inset: auto var(--gutter);   /* = obsahová šířka kontejneru */
  top: calc(100% + clamp(32px, 4vw, 56px));
  height: 0;
}
.flow--hero .flow__seg--main {
  left: -100vw;
  right: -48px;
  top: 0;
  height: 300px;
  border-top-width: 1px;
  border-right-width: 1px;
  border-top-right-radius: var(--flow-radius);
  /* svislá část se ztrácí směrem dolů */
  -webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent);
          mask-image: linear-gradient(to bottom, #000 25%, transparent);
}
.flow--hero .flow__node { top: 0.5px; }
.flow--hero .flow__node--start { left: -56px; }
.flow--hero .flow__node--gap   { left: var(--flow-gap-x); }
.flow--hero .flow__node--down  { left: calc(100% + 47.5px); top: 120px; }

/* stack obou badge na pravé straně — 12 px gap, lehký float */
.hero__floating-stack {
  position: absolute;
  bottom: 8%;
  right: -16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  animation: floatGentle 6s ease-in-out infinite;
}
@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.hero__floating {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--gray-200);
  box-shadow: 0 12px 30px -12px rgba(26,26,26,0.18);
  font-size: 13px;
  line-height: 1.3;
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease-soft);
}
.hero__floating:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -16px rgba(26,26,26,0.22);
}
.hero__floating .ti {
  font-size: 28px;
  color: var(--green);
  background: var(--green-soft);
  padding: 8px;
  border-radius: var(--r-sm);
  transition: transform .4s var(--ease-spring);
}
.hero__floating:hover .ti { transform: scale(1.08); }
.hero__floating strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--charcoal);
}
.hero__floating span {
  color: var(--gray-500);
  font-size: 12px;
}

/* mobil: claim, podnadpis, tlačítko a fotka; odkaz na hovor a body až pod fotkou */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas:
      "copy"
      "primary"
      "visual"
      "call"
      "badges";
  }
  .hero__actions { display: contents; }
  .hero__primary { grid-area: primary; justify-self: center; justify-content: center; margin-bottom: 40px; }
  .hero__call    { grid-area: call; justify-self: center; align-items: center; text-align: center; margin: 36px 0 28px; }
  .hero__copy    { margin-bottom: 28px; }

  .hero__visual { width: 100%; max-width: 400px; justify-self: center; justify-content: center; }
  /* badge u fotky na střed (mezi sebou dál zarovnané vlevo) */
  .hero__floating-stack {
    right: auto;
    left: 50%;
    bottom: 0;              /* usazené na spodku fotky */
    translate: -50% 0;
    width: max-content;
  }

  .hero__badges {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 0;
  }

  /* linka na mobilu jen jako rovná čára pod obsahem */
  .flow--hero .flow__seg--main {
    right: -100vw;
    height: 1px;
    border-right-width: 0;
    border-radius: 0;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .flow--hero .flow__node--start,
  .flow--hero .flow__node--down { display: none; }
  .flow--hero .flow__node--gap { left: 78%; }
}
@media (max-width: 600px) {
  .hero__primary { justify-self: stretch; }   /* CTA na celou šířku */
}
@media (max-width: 600px) {
  .hero__floating { padding: 14px 18px; gap: 14px; }
  .hero__floating strong { font-size: 18px; }
  .hero__floating span { font-size: 14px; }
  .hero__floating .ti { font-size: 28px; padding: 9px; }
}

/* =====================================================
   CO SPOLUPRACÍ ZÍSKÁTE — nadpis přes celou šířku, pod ním vlevo
   rozklikávací přínosy, vpravo animace týmu. Na mobilu nadpis,
   animace a pak přínosy.
   ===================================================== */
.collab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "head  head"
    "tiles team";
  gap: 0 clamp(32px, 4.5vw, 64px);
  align-items: start;
}
.collab > .section__head { grid-area: head; margin-bottom: 40px; }
.collab > .team          { grid-area: team; }
.collab__tiles           { grid-area: tiles; align-self: center; }   /* na střed boxu s animací */

@media (max-width: 1000px) {
  /* mobil a tablet: nadpis, animace, pod tím přínosy */
  .collab {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "team"
      "tiles";
    row-gap: 24px;
  }
  .collab > .section__head { margin-bottom: 8px; }
}

/* přínosy — rozklikávací jako FAQ (nativní details/summary,
   name="prinosy" = otevřený je vždy jen jeden) */
.gains {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gain {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  transition: border-color .25s var(--ease-soft), box-shadow .3s var(--ease-soft);
}
.gain:hover { border-color: var(--gray-300); }
.gain[open] {
  border-color: var(--charcoal);
  box-shadow: 0 16px 40px -24px rgba(26,26,26,0.2);
}
.gain summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  cursor: pointer;
  list-style: none;
  border-radius: var(--r-md);
}
.gain summary::-webkit-details-marker { display: none; }
.gain summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.gain__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--green-soft);
  color: var(--green);
  transition: transform .4s var(--ease-spring);
}
.gain:hover .gain__icon { transform: scale(1.06); }
.gain__svg { width: 26px; height: 26px; }   /* Tabler outline, tenčí čára 1,5 */
.gain__title {
  flex: 1;
  font-size: 19px;
  line-height: 1.25;
}
.gain summary .ti {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--gray-500);
}
.gain__minus { display: none; }
.gain[open] .gain__plus  { display: none; }
.gain[open] .gain__minus { display: inline-block; color: var(--green); }
/* text odsazený pod nadpis (ikona 44 px + mezera) */
.gain p {
  margin: 0;
  padding: 0 20px 18px 72px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--gray-500);
}

@media (max-width: 600px) {
  .gain p { padding: 0 18px 16px 18px; font-size: 16.5px; }
  .gain__title { font-size: 18px; }
}

/* =====================================================
   TÝM — animace „dnes → po spolupráci“
   Dnes: všechno vede přes VY (linky proudí k VY, u lidí červené !,
   VY pulzuje). Po spolupráci: lidé propojení napřímo, dostanou role,
   značky zezelenají, paprsky k VY zmizí (dva zůstanou) a VY se zmenší.
   Přepíná se samo, dokud je karta vidět (script.js); přechod „tam“
   je postupný (zpoždění z --i), „zpět“ rychlý.
   ===================================================== */
.team {
  margin: 0;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 36px) clamp(24px, 3vw, 32px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
}
.team__svg {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 0 auto;
  overflow: visible;
}
.team__caption {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--gray-500);
}
.team__caption strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.2;
}

/* paprsky k VY — dnes proudí ke středu */
.team__svg .spoke {
  fill: none;
  stroke: #A69E8C;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 4 7;
  animation: teamFlow .9s linear infinite;
  transition: opacity .3s var(--ease-soft);
}
@keyframes teamFlow { to { stroke-dashoffset: 22; } }
.team.is-after .spoke--keep {
  animation: none;
  stroke-dasharray: none;
  stroke: #CFC9BA;
  stroke-width: 1.6;
}
.team.is-after .spoke--drop {
  animation-play-state: paused;
  opacity: 0;
  transition: opacity .45s var(--ease-soft) .7s;
}

/* přímé vazby mezi lidmi */
.team__svg .peer {
  fill: none;
  stroke: var(--green);
  stroke-opacity: 0.85;
  stroke-width: 2.4;
  stroke-linecap: round;
  /* mezera o kousek delší než čára, jinak by kulatý konec nechal na začátku tečku */
  stroke-dasharray: 1 1.04;
  stroke-dashoffset: 1.02;
  transition: stroke-dashoffset .3s var(--ease-soft);
}
.team.is-after .peer {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .5s var(--ease-soft) calc(.25s + var(--i) * .06s);
}

/* lidé */
.team__svg .person__ring {
  fill: var(--white);
  stroke: #CFC8B8;
  stroke-width: 1.5;
  transition: stroke .3s var(--ease-soft), fill .3s var(--ease-soft), stroke-width .3s var(--ease-soft);
}
.team.is-after .person__ring {
  fill: #E9F5EE;
  stroke: rgba(0, 131, 76, 0.6);
  stroke-width: 2;
  transition: stroke .4s var(--ease-soft) calc(.2s + var(--i) * .06s), fill .4s var(--ease-soft) calc(.2s + var(--i) * .06s);
}
.team__svg .person__head,
.team__svg .person__body {
  fill: none;
  stroke: #7D7769;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.team__svg .role,
.team__svg .mark,
.team__svg .vy {
  transform-box: fill-box;
  transform-origin: center;
}
/* role — štítek se zelenou čárkou, objeví se po spolupráci */
.team__svg .role {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity .2s var(--ease-soft), transform .2s var(--ease-soft);
}
.team.is-after .role {
  opacity: 1;
  transform: none;
  transition: opacity .3s var(--ease-soft) calc(.55s + var(--i) * .05s), transform .45s var(--ease-spring) calc(.55s + var(--i) * .05s);
}
.team__svg .role__pill { fill: #DCEFE4; stroke: rgba(0, 131, 76, 0.45); stroke-width: 1; }
.team__svg .role__bar  { fill: rgba(0, 131, 76, 0.65); }

/* značky: dnes červený vykřičník, po spolupráci zelená fajfka */
.team__svg .mark circle:first-child { stroke: var(--white); stroke-width: 2.5; paint-order: stroke; }
.team__svg .mark--alert circle:first-child { fill: #D4513A; }
.team__svg .mark--alert rect,
.team__svg .mark--alert .mark__dot { fill: var(--white); }
.team__svg .mark--ok circle:first-child { fill: var(--green); }
.team__svg .mark--ok path {
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.team__svg .mark--alert {
  animation: teamAlert 1.3s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.22s);
  transition: opacity .25s var(--ease-soft), transform .25s var(--ease-soft);
}
@keyframes teamAlert {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.25); }
}
.team__svg .mark--ok {
  opacity: 0;
  transform: scale(0.3);
  transition: opacity .2s var(--ease-soft), transform .2s var(--ease-soft);
}
.team.is-after .mark--alert {
  animation: none;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity .2s var(--ease-soft) calc(var(--i) * .05s), transform .2s var(--ease-soft) calc(var(--i) * .05s);
}
.team.is-after .mark--ok {
  opacity: 1;
  transform: none;
  transition: opacity .25s var(--ease-soft) calc(.15s + var(--i) * .06s), transform .5s var(--ease-spring) calc(.15s + var(--i) * .06s);
}

/* VY — dnes přetížené (červený prstenec a pulz), po spolupráci se zmenší */
.team__svg .vy { transition: transform .4s var(--ease-soft); }
.team.is-after .vy { transform: scale(0.62); transition: transform .6s var(--ease-soft) .8s; }
.team__svg .vy__core { fill: var(--charcoal); }
.team__svg .vy__halo {
  fill: none;
  stroke: rgba(212, 81, 58, 0.45);
  stroke-width: 2;
  transition: stroke .4s var(--ease-soft);
}
.team.is-after .vy__halo { stroke: rgba(26, 26, 26, 0.12); stroke-width: 1; transition: stroke .5s var(--ease-soft) .8s; }
.team__svg .vy__t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-anchor: middle;
  dominant-baseline: central;
  fill: var(--cream);
}
.team__svg .vy__pulse {
  fill: none;
  stroke: #D4513A;
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: teamPulse 1.6s var(--ease) infinite;
}
@keyframes teamPulse {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0;   transform: scale(2.2); }
}
.team.is-after .vy__pulse { animation: none; opacity: 0; }

@media (max-width: 600px) {
  .team { padding: 20px 16px 22px; }
  .team__caption { font-size: 17.5px; }
}

/* =====================================================
   AUTOMATIZACE A AI — široký box pod dlaždicemi
   Bez výplně (krémová prosvítá), obrys v AI přechodu,
   uvnitř jen náznak barevného světla v rozích.
   ===================================================== */
.ai {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  grid-template-areas:
    "copy   visual"
    "points points";
  gap: 40px clamp(32px, 5vw, 64px);
  align-items: center;
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 56px);
}
.ai__copy   { grid-area: copy; }
.ai__visual { grid-area: visual; }
.ai__points { grid-area: points; }
/* obrys v přechodu — maska nechá jen 1,5px okraj, vnitřek zůstává průhledný */
.ai::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1.5px;
  border-radius: inherit;
  background: var(--ai-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: 0.9;
}
.ai::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  background:
    radial-gradient(36% 60% at 100% 0%,  rgba(155, 123, 218, 0.08), transparent 70%),
    radial-gradient(36% 60% at 0% 100%,  rgba(46, 158, 143, 0.07),  transparent 70%);
}
.ai__label { gap: 8px; }
.ai__label .ti,
.ai__arrow {
  background: var(--ai-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.ai__label .ti { font-size: 16px; }
.ai__title {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.ai__copy p {
  font-size: 16.5px;
  color: var(--gray-500);
  margin-bottom: 28px;
}
.ai__points {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ai__points li {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--gray-200);
}
.ai__points li:first-child { border-top: 0; padding-top: 0; }
.ai__points li:last-child  { padding-bottom: 0; }
.ai__arrow {
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
  margin-top: 3px;
}
.ai__points p {
  color: var(--gray-500);
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0;
}
.ai__points strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 4px;
}

/* desktop: tři body vedle sebe pod textem a animací */
@media (min-width: 901px) {
  .ai__points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
  }
  .ai__points li,
  .ai__points li:first-child,
  .ai__points li:last-child { padding: 0; border-top: 0; }
}

@media (max-width: 900px) {
  /* jeden sloupec: štítek, nadpis, text, animace, body se šipkami a až pak CTA */
  .ai { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .ai__copy { display: contents; }
  .ai__visual { margin-bottom: 28px; }
  .ai__copy > .btn { order: 2; align-self: flex-start; margin-top: 32px; }
}
@media (max-width: 600px) {
  .ai__copy > .btn { align-self: stretch; justify-content: center; }
}

/* ---------- animace vstup → agent → výstup ----------
   script.js střídá tři příklady (is-active) a pro každý znovu spustí
   .run: vstup se objeví, tečka doběhne k agentovi, agent blikne,
   tečka doběhne k výstupu a výstup naskočí. */
.ai-flow {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
}
.ai-flow__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px 60px 40px minmax(0, 1fr);
  align-items: center;
}
.ai-flow__col { display: grid; }
.ai-card {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 118px;
  padding: 16px 16px 18px;
  background: var(--cream);
  border: 1px solid #E2DBCB;
  border-radius: var(--r-md);
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  transition: opacity .2s var(--ease-soft), transform .2s var(--ease-soft);
}
.ai-card.is-active {
  opacity: 1;
  transform: none;
  transition: opacity .3s var(--ease-soft), transform .45s var(--ease-spring);
}
.ai-card--out { background: #EDF7F1; border-color: rgba(0, 131, 76, 0.3); }
.ai-card--out.is-active { transition-delay: 1.3s; }
/* výstup při příchodu krátce zazáří */
.ai-flow.run .ai-card--out.is-active { animation: aiGlow .9s var(--ease-soft) 1.3s both; }
@keyframes aiGlow {
  0%   { box-shadow: 0 0 0 0 rgba(0, 131, 76, 0.35); }
  100% { box-shadow: 0 0 0 12px rgba(0, 131, 76, 0); }
}

.ai-card__kind {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  line-height: 1.2;
  color: var(--charcoal);
}
.ai-card__kind .ti { font-size: 16px; color: var(--green); }

.ai-line {
  display: block;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #DDD7C9;
}
.ai-line--strong { width: 80%; background: #CFC8B8; }
.ai-line--short  { width: 55%; }
.ai-card--out .ai-line         { background: rgba(0, 131, 76, 0.2); }
.ai-card--out .ai-line--strong { background: rgba(0, 131, 76, 0.36); }

/* vlnovka hlasové zprávy / záznamu */
.ai-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 26px;
  overflow: hidden;
}
.ai-wave i {
  display: block;
  flex: none;
  width: 3px;
  height: 45%;
  border-radius: 2px;
  background: #A9A291;
}
.ai-wave i:nth-child(3n+2) { height: 85%; }
.ai-wave i:nth-child(4n+3) { height: 65%; }
.ai-wave i:nth-child(5n)   { height: 100%; }
.ai-wave i:nth-child(7n)   { height: 30%; }
.ai-card.is-active .ai-wave i { animation: aiWave .55s ease-in-out infinite alternate; }
.ai-wave i:nth-child(2n) { animation-delay: -.3s; }
.ai-wave i:nth-child(3n) { animation-delay: -.6s; }
@keyframes aiWave {
  from { transform: scaleY(0.4); }
  to   { transform: scaleY(1); }
}

.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-chips span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid rgba(0, 131, 76, 0.25);
  font-size: 12px;
  color: var(--green-dark);
}
.ai-chips .ti { font-size: 13px; }
.ai-check { display: flex; align-items: center; gap: 6px; }
.ai-check .ti { font-size: 15px; color: var(--green); }
.ai-check .ai-line { flex: 1; }

/* tečkovaná linka a tečka, která po ní proběhne */
.ai-flow__wire {
  position: relative;
  height: 0;
  border-top: 3px dotted #B8B1A1;
}
.ai-flow__packet {
  position: absolute;
  top: -7px;
  left: 0;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(0, 131, 76, 0.2), 0 0 14px rgba(0, 131, 76, 0.45);
  opacity: 0;
}
.ai-flow.run .ai-flow__packet { animation: aiPacket .45s var(--ease-soft) .3s both; }
.ai-flow.run .ai-flow__wire--out .ai-flow__packet { animation-delay: .9s; }
@keyframes aiPacket {
  0%   { left: 0;    opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* agent — kolečko s obrysem v AI přechodu */
.ai-flow__agent {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
}
.ai-flow__agent::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: var(--ai-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
}
.ai-flow__agent .ti {
  font-size: 32px;
  background: var(--ai-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.ai-flow.run .ai-flow__agent { animation: aiAgent .7s var(--ease-soft) .7s both; }
@keyframes aiAgent {
  0%   { box-shadow: 0 0 0 0 rgba(91, 134, 214, 0.5); transform: scale(1); }
  35%  { transform: scale(1.16); }
  100% { box-shadow: 0 0 0 22px rgba(91, 134, 214, 0); transform: scale(1); }
}

/* mobil: pod sebou — vstup, linka, agent, linka, výstup */
@media (max-width: 600px) {
  .ai-flow { padding: 20px 16px; }
  .ai-card { min-height: 96px; }
  .ai-flow__stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto 26px 60px 26px auto;
  }
  .ai-flow__wire {
    justify-self: center;
    width: 0;
    height: 26px;
    border-top: 0;
    border-left: 3px dotted #B8B1A1;
  }
  .ai-flow__packet { top: 0; left: -7px; margin: -5.5px 0 0; }
  .ai-flow.run .ai-flow__packet { animation-name: aiPacketV; }
  .ai-flow__agent { justify-self: center; }
  .ai-card__kind { font-size: 13.5px; }
}
@keyframes aiPacketV {
  0%   { top: 0;    opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* =====================================================
   PRŮBĚH SPOLUPRÁCE — 4 kroky
   ===================================================== */
.steps-wrap {
  --steps-gap: 32px;
  position: relative;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--steps-gap);
}
.steps__item {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition:
    transform .4s var(--ease-spring),
    box-shadow .4s var(--ease-soft);
}
.steps__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -16px rgba(26,26,26,0.16);
}
.steps__num {
  position: absolute;
  top: 26px;
  right: 26px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  transition: color .3s var(--ease-soft);
}
.steps__item:hover .steps__num { color: var(--green); }
.steps__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: 24px;
  transition: transform .4s var(--ease-spring);
}
.steps__item:hover .steps__icon { transform: scale(1.08); }
.steps__icon .ti { font-size: 26px; }
.steps__item h3 {
  font-size: 23px;
  margin-bottom: 8px;
}
.steps__meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 14px;
}
.steps__item p:not(.steps__meta) {
  color: var(--gray-500);
  font-size: 15.5px;
  line-height: 1.55;
}

/* linka za kroky — kostičky v mezerách = předání práce dál */
.flow--steps { --flow-y: 58px; }   /* osa ikon v kartách */
.flow--steps .flow__seg--line {
  left: -100vw;
  right: -100vw;
  top: var(--flow-y);
  height: 1px;
  border-top-width: 1px;
}
.flow--steps .flow__node { top: calc(var(--flow-y) + 0.5px); }
.flow--steps .flow__node--gap1 { left: calc(25% - var(--steps-gap) * 0.25); }
.flow--steps .flow__node--gap2 { left: 50%; }
.flow--steps .flow__node--gap3 { left: calc(75% + var(--steps-gap) * 0.25); }
.flow--steps .flow__node--end  { left: calc(100% + 48px); }

/* pod kartami: poznámka k délce a ceně + CTA na hovor */
.steps__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: 36px;
}
.steps__note {
  flex: 1 1 520px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 820px;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--gray-500);
}
.steps__note strong { color: inherit; white-space: nowrap; }   /* „6–8 týdnů“ se nezalomí za pomlčkou */
.steps__note .ti {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--green);
  margin-top: 1px;
}

@media (max-width: 1100px) {
  .steps-wrap { --steps-gap: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .flow--steps { display: none; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .steps__item { padding: 28px 24px; }
  .steps__footer > .btn { flex: 1 1 100%; justify-content: center; }
}

/* =====================================================
   STATS — čísla
   ===================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 32px;
  transition:
    transform .4s var(--ease-spring),
    box-shadow .4s var(--ease-soft);
}
.stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -16px rgba(26,26,26,0.16);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  margin-bottom: 16px;
  transition: color .3s var(--ease-soft);
}
.stat:hover .stat__num { color: var(--green); }
.stat__num span {
  font-size: 0.36em;
  color: var(--gray-500);
  letter-spacing: 0.05em;
  margin-left: 8px;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 400;
}
.stat p {
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr; max-width: 520px; }
}

/* =====================================================
   CTA BLOCK — úvodní hovor (s workshop foto vpravo)
   ===================================================== */
.cta-block {
  background: var(--charcoal);
  color: var(--cream);
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  overflow: hidden;
}
.cta-block__title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--cream);
  margin-bottom: 20px;
}
.cta-block p {
  color: rgba(252,248,237,0.78);
  font-size: 16.5px;
}
.cta-block strong { color: var(--white); }

.cta-block__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-block__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(252,248,237,0.9);
}
.cta-block__list .ti {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 15px;
}

.cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-block__visual {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--charcoal);
  aspect-ratio: 4 / 5;
}
.cta-block__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1s var(--ease-soft);
}
.cta-block__visual:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
  .cta-block { grid-template-columns: 1fr; gap: 36px; }
  .cta-block__visual { aspect-ratio: 16 / 10; max-height: 380px; }
}

/* =====================================================
   O MNĚ
   ===================================================== */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about__photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--gray-200);
  box-shadow: 0 30px 60px -30px rgba(26,26,26,0.25);
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1s var(--ease-soft);
}
.about__photo:hover img { transform: scale(1.04); }
.about__title {
  margin-bottom: 36px;
}
.about__copy p { color: var(--charcoal); font-size: 16.5px; }
.about__copy p + p { margin-top: 1em; }

.about__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
}
.about__tags li {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--r-pill);
  color: var(--gray-500);
  background: var(--white);
  transition: transform .35s var(--ease-spring), border-color .25s var(--ease-soft), color .25s var(--ease-soft);
}
.about__tags li:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  color: var(--green);
}

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__copy { order: -1; }
  .about__photo { max-width: 420px; margin: 0 auto; }
}

/* =====================================================
   PATIČKA — kontakty a odkazy
   ===================================================== */
.footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: clamp(48px, 6vw, 80px) 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
}
.footer__logo {
  height: 28px;
  margin-bottom: 14px;
  transition: opacity .25s var(--ease-soft);
}
.footer__brand:hover .footer__logo { opacity: 0.8; }
.footer__role {
  color: rgba(252,248,237,0.6);
  font-size: 14px;
  margin: 0;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col a {
  color: rgba(252,248,237,0.78);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  transition: color .25s var(--ease-soft), transform .3s var(--ease-spring);
}
.footer__col a:hover { color: var(--green); transform: translateX(3px); }
.footer__col .ti { font-size: 18px; color: var(--green); }
.footer__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(252,248,237,0.5);
  margin-bottom: 4px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: rgba(252,248,237,0.5);
}
.footer__legal-link {
  color: rgba(252,248,237,0.5);
  font-size: 13px;
  border-bottom: 1px solid rgba(252,248,237,0.15);
  padding-bottom: 2px;
  transition: color .25s var(--ease-soft), border-color .25s var(--ease-soft);
}
.footer__legal-link:hover {
  color: var(--cream);
  border-color: var(--green);
}

@media (max-width: 800px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* =====================================================
   MOBIL — o chlup větší texty a nadpisy, menší padding
   v bloku hovoru, tlačítka na celou šířku
   ===================================================== */
@media (max-width: 600px) {
  .label           { font-size: 12.5px; }
  .section__title  { font-size: 38px; }
  .ai__title,
  .cta-block__title { font-size: 32px; }

  .section__lede   { font-size: 18.5px; }
  .hero__lede      { font-size: 19.5px; }
  .hero__note      { font-size: 15px; }
  .hero__badges li { font-size: 14.5px; }
  .hero__badges .ti { font-size: 18px; }
  .text-link       { font-size: 18px; }

  .ai__copy p,
  .about__copy p,
  .cta-block p     { font-size: 17.5px; }
  .ai__points p,
  .steps__item p:not(.steps__meta) { font-size: 16.5px; }
  .ai__points strong { font-size: 19px; }
  .steps__meta     { font-size: 12.5px; }
  .steps__note     { font-size: 16px; }
  .stat p          { font-size: 16px; }
  .cta-block__list li { font-size: 16px; }
  .footer__col a   { font-size: 16px; }

  .cta-block { padding: 28px 22px; }
  .cta-block__actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* =====================================================
   ANIMACE — krátký reveal on scroll
   Kratší dráha i čas, ať prvky při rychlém posunu nedobíhají.
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity .45s var(--ease),
    transform .45s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* stagger uvnitř gridů — drobný, max. ~0,15 s */
.gain.reveal:nth-child(2)          { transition-delay: .04s; }
.gain.reveal:nth-child(3)          { transition-delay: .08s; }
.gain.reveal:nth-child(4)          { transition-delay: .12s; }

.steps__item.reveal:nth-child(2)   { transition-delay: .04s; }
.steps__item.reveal:nth-child(3)   { transition-delay: .08s; }
.steps__item.reveal:nth-child(4)   { transition-delay: .12s; }

.stat.reveal:nth-child(2)          { transition-delay: .05s; }
.stat.reveal:nth-child(3)          { transition-delay: .10s; }

/* hero — drobný vstup */
.hero__visual.reveal { transition-delay: .08s; }

/* respekt k systémovému nastavení — vypnout jen výrazné animace,
   plynulé barvy/transition necháme aby UI nepůsobilo mrtvě */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__floating-stack,
  .hero__accent::after,
  .team__svg .spoke,
  .team__svg .mark--alert,
  .team__svg .vy__pulse,
  .ai-wave i { animation: none !important; }
  *, *::before, *::after {
    transition-duration: .15s !important;
    animation-duration: .15s !important;
  }
  html { scroll-behavior: auto; }
}
