:root {
  --bg: #FBFCFA;
  --ink: #10130E;
  --muted: #5a6154;
  --muted-2: #8a9180;
  --accent: #80CC33;
  --accent-dark: #5c9e1f;
  --accent-darker: #4a8016;
  --accent-tint: rgba(128, 204, 51, .14);
  --alt-bg: #F1F3EE;
  --dark-bg: #10130E;
  --border: rgba(16, 19, 14, .1);
  --border-soft: rgba(16, 19, 14, .07);
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1240px;
  --section-x: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #ECEAE3;
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--bg);
}

h1, h2, h3, h4 {
  font-family: 'Comfortaa', sans-serif;
  margin: 0;
}

p { margin: 0; }

a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent-darker); }

img { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 22px 24px 0;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  width: 100%;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 10px 9px 22px;
  box-shadow: 0 14px 34px rgba(16, 19, 14, .09);
  transition: border-radius .25s ease, box-shadow .25s ease, transform .25s ease;
}

.nav-row { display: contents; }

.nav-logo img { height: 20px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links-inner { display: contents; }

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #3a4034;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav-links a:hover { background: rgba(16, 19, 14, .06); color: var(--ink); }

.nav-cta {
  margin-left: 6px !important;
  font-weight: 600 !important;
  color: #0B2200 !important;
  background: var(--accent);
  padding: 10px 18px !important;
}
.nav-cta:hover { background: var(--accent-dark); color: #0B2200 !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(16, 19, 14, .06);
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- SHARED ---------- */
.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 10px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -.8px;
  line-height: 1.15;
  max-width: 640px;
  margin: 0 0 12px;
}

.section-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 40px;
}

.alt-bg { background: var(--alt-bg); }

.accent-text { color: var(--accent-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  padding: 15px 26px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  color: #0B2200;
  background: var(--accent);
  box-shadow: 0 12px 26px rgba(128, 204, 51, .4);
}
.btn-primary:hover { background: var(--accent-dark); color: #0B2200; }

.btn-block { width: 100%; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px var(--section-x) 88px;
}

.hero-deco {
  position: absolute;
  right: 24px;
  top: 44px;
  width: 470px;
  max-width: 48%;
  opacity: .95;
  animation: bpfloat 7s ease-in-out infinite;
}
.hero-deco .deco-svg { width: 100%; height: auto; display: block; }
.hero-deco[data-anim="dots"] .deco-docs { display: none; }
.hero-deco[data-anim="docs"] .deco-dots { display: none; }

@keyframes bpfloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(6px, -12px) rotate(-1.2deg); }
}

/* shared strokes / dots / trail keyframes */
@keyframes bpdraw { to { stroke-dashoffset: 0; } }
@keyframes bppop { to { transform: scale(1); } }
@keyframes bptrailin { to { opacity: .5; } }
@keyframes bptrailflow { to { stroke-dashoffset: -15; } }

.deco-svg .pl {
  stroke: #c9d3bf;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.deco-svg .pl-4 { stroke: var(--accent); stroke-width: 1.8; }
.deco-svg .pl-crease { stroke: var(--accent); }
.deco-svg .pd {
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
}
.deco-svg .pd-1 { fill: var(--accent); }
.deco-svg .pd-2 { fill: #c9d3bf; }
.deco-svg .pd-3 { fill: #10130E; }
.deco-svg .pd-4 { fill: var(--accent); }
.deco-svg .plane-trail {
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 2 13;
  opacity: 0;
}

/* ---- Variant 1: dots pop, then lines connect ---- */
.deco-dots .pl { animation: bpdraw .55s ease forwards; }
.deco-dots .pl-1 { animation-delay: .85s; }
.deco-dots .pl-2 { animation-delay: 1.15s; }
.deco-dots .pl-3 { animation-delay: 1.4s; }
.deco-dots .pl-4 { animation-delay: 1.65s; }
.deco-dots .pl-crease { animation-delay: 1.95s; }
.deco-dots .pd { animation: bppop .5s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.deco-dots .pd-1 { animation-delay: 0s; }
.deco-dots .pd-2 { animation-delay: .2s; }
.deco-dots .pd-3 { animation-delay: .4s; }
.deco-dots .pd-4 { animation-delay: .6s; }
.deco-dots .plane-trail { animation: bptrailin .9s ease 2.2s forwards, bptrailflow 1s linear 2.2s infinite; }

/* ---- Variant 2: papers fall, morph to dots, then lines connect ---- */
.deco-docs .doc {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 6px 13px rgba(16, 19, 14, .16));
  animation: docfall .75s cubic-bezier(.22, 1, .36, 1) forwards, docout .4s ease forwards;
}
.deco-docs .doc-1 { --dx: 66px;  --dr: 16deg;  animation-delay: .1s, 1.7s; }
.deco-docs .doc-2 { --dx: -54px; --dr: -18deg; animation-delay: .3s, 1.9s; }
.deco-docs .doc-3 { --dx: 34px;  --dr: 11deg;  animation-delay: .5s, 2.1s; }
.deco-docs .doc-4 { --dx: -42px; --dr: -13deg; animation-delay: .7s, 2.3s; }
@keyframes docfall {
  from { opacity: 0; transform: translate(var(--dx, 0), -180px) rotate(var(--dr, -14deg)); }
  55%  { opacity: 1; }
  to   { opacity: 1; transform: translate(0, 0) rotate(0deg); }
}
@keyframes docout { to { opacity: 0; transform: scale(.35); } }

.deco-docs .pd { animation: bppop .5s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.deco-docs .pd-1 { animation-delay: 1.78s; }
.deco-docs .pd-2 { animation-delay: 1.98s; }
.deco-docs .pd-3 { animation-delay: 2.18s; }
.deco-docs .pd-4 { animation-delay: 2.38s; }
.deco-docs .pl { animation: bpdraw .55s ease forwards; }
.deco-docs .pl-1 { animation-delay: 2.75s; }
.deco-docs .pl-2 { animation-delay: 3.0s; }
.deco-docs .pl-3 { animation-delay: 3.25s; }
.deco-docs .pl-4 { animation-delay: 3.5s; }
.deco-docs .pl-crease { animation-delay: 3.8s; }
.deco-docs .plane-trail { animation: bptrailin .9s ease 4.2s forwards, bptrailflow 1s linear 4.2s infinite; }

/* ---- Animation switcher ---- */
.deco-switch {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 26px;
  padding: 5px;
  background: var(--accent-tint);
  border-radius: 999px;
}
.deco-switch-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7263;
  padding: 0 8px 0 10px;
}
.deco-switch-btn {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #4a5044;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.deco-switch-btn:hover { color: var(--accent-darker); }
.deco-switch-btn.is-active {
  background: #fff;
  color: var(--accent-darker);
  box-shadow: 0 2px 7px rgba(16, 19, 14, .12);
}

.hero-inner {
  position: relative;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-tint);
  color: var(--accent-darker);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-weight: 700;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -1.5px;
  margin: 0 0 24px;
}

.hero .lead {
  font-size: 20px;
  line-height: 1.55;
  color: #4a5044;
  max-width: 560px;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-hint { font-size: 15px; color: #6b7263; }

/* ---------- AUDIENCE ---------- */
.audience { padding: 0 var(--section-x) 84px; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.audience-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 4px 16px rgba(16, 19, 14, .04);
  transition: transform .18s ease, box-shadow .18s ease;
}
.audience-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(16, 19, 14, .1);
}

.tile-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.tile-title {
  font-family: 'Comfortaa', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.tile-q {
  font-size: 14.5px;
  line-height: 1.5;
  color: #5a6154;
}

/* ---------- PILLARS ---------- */
.pillars { padding: 82px var(--section-x); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.pillar-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
}

.pillar-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-tint);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.pillar-card h3 { font-size: 22px; font-weight: 600; margin: 0 0 12px; }
.pillar-card p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* ---------- FLOW ---------- */
.flow { padding: 88px var(--section-x); }

.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  list-style: none;
  margin: 0;
  padding: 0;
}

.flow-step {
  padding: 26px 22px 26px 0;
  border-top: 2px solid var(--accent);
  margin-top: -1px;
}

.flow-n {
  font-family: 'Comfortaa', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

.flow-step h4 { font-size: 17px; font-weight: 700; margin: 12px 0 8px; }
.flow-step p { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- MONTY ---------- */
.monty { padding: 88px var(--section-x); }

.monty-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.monty-copy { min-width: 280px; }
.monty-copy .section-lead { margin-bottom: 20px; }
.monty-hint { font-size: 15px; line-height: 1.6; color: var(--muted); margin-bottom: 28px; }
.monty-hint strong { color: var(--ink); }

.monty-diagram-wrap {
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.monty-diagram {
  position: relative;
  width: 100%;
  max-width: 480px;
  font-family: inherit;
}

/* The circle's own square positioning context — see the comment in
   monty-diagram.js on why this is split from .monty-diagram. */
.md-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.roles { margin-top: 64px; }
.roles h3 { font-size: 24px; font-weight: 600; margin: 0 0 6px; }
.roles-lead { font-size: 15px; color: var(--muted); margin: 0 0 24px; }

.roles-table {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  overflow: hidden;
}

.roles-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 18px 24px;
  border-top: 1px solid rgba(16, 19, 14, .06);
}
.roles-row:first-child { border-top: none; }
.roles-row strong { font-size: 15.5px; color: var(--ink); font-weight: 700; }
.roles-row span { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ---------- MONTY DIAGRAM ---------- */
@keyframes mdPop {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes mdCard {
  from { opacity: 0; transform: translateY(-50%) translateX(8px); }
  to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

.md-glow {
  position: absolute; left: 50%; top: 50%;
  width: 46%; height: 46%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128, 204, 51, .27) 0%, rgba(128, 204, 51, 0) 70%);
  filter: blur(6px);
  pointer-events: none;
}

.md-ring {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}
.md-ring-outer { width: 92%; height: 92%; border: 1.5px dotted var(--border); }
.md-ring-mid { width: 56%; height: 56%; border: 1px dashed var(--border); opacity: .5; transition: opacity .3s ease; }

.md-center {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(112px, 30%, 150px);
  height: clamp(112px, 30%, 150px);
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border-soft);
  box-shadow: 0 22px 55px rgba(16, 19, 14, .12);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  z-index: 8;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
}
.md-center-word { font-family: 'Comfortaa', sans-serif; font-weight: 700; font-size: clamp(19px, 4.6vw, 25px); color: var(--ink); letter-spacing: -.5px; }
.md-center-dash { width: 26px; height: 3px; border-radius: 2px; background: var(--accent); margin: 2px 0; }
.md-center-sub { font-size: 9.5px; font-weight: 600; letter-spacing: .2px; color: var(--muted); }

.md-dir {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 86px;
  background: none; border: none; padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .25s ease;
}
.md-dir-icon {
  width: clamp(42px, 10vw, 52px); height: clamp(42px, 10vw, 52px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1.5px solid var(--border-soft);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(16, 19, 14, .07);
  transition: transform .2s cubic-bezier(.4,1.3,.5,1), box-shadow .2s ease, background .2s ease;
}
.md-dir-label {
  font-size: clamp(9.5px, 2.2vw, 11.5px);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .2px;
  line-height: 1.15;
  text-align: center;
  transition: color .2s ease;
}
@keyframes mdAttract {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(16, 19, 14, .07); }
  45% { transform: scale(1.16); box-shadow: 0 12px 28px rgba(128, 204, 51, .55); }
}
.md-dir-attract .md-dir-icon {
  animation: mdAttract 1.2s ease;
  border-color: var(--accent);
  color: var(--accent-darker);
}
.md-dir-attract .md-dir-label { color: var(--accent-darker); }

.md-sub {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  width: 70px;
  background: none; border: none; padding: 0;
  cursor: pointer;
  font-family: inherit;
  z-index: 5;
  animation: mdPop .34s cubic-bezier(.2,.8,.3,1.3) both;
}
.md-sub.is-active { z-index: 7; }
.md-sub-bubble {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #EAF3DC;
  border: 1.5px solid #CFE3B6;
  color: var(--accent-dark);
  transition: transform .18s ease, background .18s ease;
}
.md-sub-label {
  font-size: 9.5px; font-weight: 600;
  color: var(--muted);
  line-height: 1.1; text-align: center; max-width: 74px;
}

.md-card {
  position: absolute; top: 50%; right: calc(100% + 22px);
  transform: translateY(-50%);
  width: 250px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 22px 48px rgba(16, 19, 14, .16);
  box-sizing: border-box;
  z-index: 20;
  animation: mdCard .22s ease both;
}
.md-card-pointer {
  position: absolute; right: -6.5px; top: 50%;
  width: 12px; height: 12px;
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
  border-top: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
}
.md-card-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent-dark); }
.md-card-head { display: flex; align-items: center; gap: 11px; margin-bottom: 9px; }
.md-card-icon { width: 38px; height: 38px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #0B2200; }
.md-card-name { font-family: 'Comfortaa', sans-serif; font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.1; display: block; }
.md-card-modtitle { font-family: 'Comfortaa', sans-serif; font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 0 5px; display: block; }
.md-card-desc { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.md-card-hintline { margin: 9px 0 0; font-size: 12px; line-height: 1.4; color: var(--accent-dark); font-weight: 600; }

@media (max-width: 700px) {
  /* Below this width the card can no longer float beside the circle (no
     room), so it drops into normal flow right after .md-stage — since
     .md-stage is a real in-flow block (not absolutely positioned), the
     card just lands underneath it, whatever its own height. */
  .md-card {
    position: static;
    margin: 18px auto 0;
    width: min(92%, 340px);
    transform: none;
    animation: mdCardMobile .25s ease both;
  }
  .md-card-pointer { display: none; }
  .monty-diagram-wrap { padding-bottom: 8px; }
}

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

/* ---------- PROC ---------- */
.proc { padding: 88px var(--section-x); }

.proc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.proc-col {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 8px 24px;
}

.proc-col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #9aa08f;
  padding: 18px 0 6px;
}

.proc-col-head img { height: 14px; width: auto; }

.proc-row {
  font-size: 15px;
  color: #6b7263;
  padding: 14px 0;
  border-top: 1px solid rgba(16, 19, 14, .06);
}
/*
.proc-col-us {
  background: var(--dark-bg);
  color: #fff;
  border: none;
}
.proc-col-us .proc-col-head { color: var(--accent); }
.proc-col-us .proc-row {
  color: #eef1e8;
  font-weight: 500;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
*/

/* Bezpapírově — zelená (brand) */
.proc-col-us {
  background: var(--accent-tint);
  border: 1px solid var(--accent);
}
.proc-col-us .proc-col-head {
  color: var(--accent-darker);
  border-bottom: 2px solid var(--accent);
}
.proc-col-us .proc-row {
  color: #33421f;
  font-weight: 500;
  border-top: 1px solid rgba(128, 204, 51, .3);
}

/* Velká firma — červená */
.proc-col-big {
  background: #fdf1f0;
  border: 1px solid #eec7c2;
}
.proc-col-big .proc-col-head {
  color: #b03a2e;
  border-bottom: 2px solid #b03a2e;
}
.proc-col-big .proc-row {
  color: #6b4a46;
  border-top: 1px solid rgba(176, 58, 46, .15);
}
/* ---------- REFERENCE ---------- */
.reference { padding: 88px var(--section-x); }

.reference-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.badge-placeholder {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #b06a00;
  background: rgba(230, 150, 0, .14);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.reference-card {
  background: #fff;
  border: 1px dashed rgba(16, 19, 14, .22);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ref-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #9aa08f;
  border: 1px solid rgba(16, 19, 14, .15);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 6px;
  width: fit-content;
}

.reference-card h4 { font-size: 19px; font-weight: 600; margin: 0 0 6px; }

.reference-card p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 3px 0 0; }

.ref-label { font-size: 12px; font-weight: 700; }
.ref-problem { color: #c05555; }
.ref-solution { color: var(--accent-dark); }
.ref-result { color: var(--ink); }
.ref-result-text { color: var(--ink); font-weight: 600; }

/* ---------- O NAS ---------- */
.onas { padding: 88px var(--section-x); }

.onas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.onas-copy .section-lead { margin-bottom: 28px; }

.values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
}

.values-list li { display: flex; gap: 12px; }

.check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(128, 204, 51, .18);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
}

.values-list strong { font-size: 15.5px; color: var(--ink); }
.values-list p { font-size: 14.5px; line-height: 1.5; color: var(--muted); margin: 2px 0 0; }

.team-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.team-head h3 { font-size: 20px; font-weight: 600; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: var(--alt-bg);
  border-radius: 18px;
  padding: 24px 16px;
  min-width: 0;
}

.avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 3px solid #fff; */
  box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.2);
}
.avatar img {
  /* the image clips its own border-radius directly instead of relying on
     overflow:hidden on .avatar — combining overflow:hidden + border-radius
     + box-shadow on one element is what produced the jagged/broken seam
     around the circle's edge */
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.team-card strong { font-size: 15.5px; color: var(--ink); }
.team-card p { font-size: 13px; color: var(--muted); margin: 2px 0 0; max-width: 100%; overflow-wrap: anywhere; }
.team-contact { font-size: 12px; line-height: 1.5; margin-top: 6px !important; }
.team-contact a { color: var(--accent-dark); }

/* ---------- KONTAKT ---------- */
.kontakt {
  background: var(--dark-bg);
  color: #fff;
  padding: 82px var(--section-x) 44px;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
}

.kontakt .section-title { color: #fff; }
.kontakt .section-lead { color: rgba(255, 255, 255, .7); max-width: 440px; margin-bottom: 32px; }

.kontakt-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .78);
}
.kontakt-details strong {
  display: block;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.kontakt-details a { color: #eef1e8; }
.kontakt-details .muted { color: rgba(255, 255, 255, .55); }

.kontakt-form {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.kontakt-form input,
.kontakt-form textarea {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  padding: 13px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  width: 100%;
}
.kontakt-form input::placeholder,
.kontakt-form textarea::placeholder { color: rgba(255, 255, 255, .45); }
.kontakt-form textarea { resize: none; }

.kontakt-form input:focus,
.kontakt-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-status {
  font-size: 13.5px;
  min-height: 1.4em;
  color: var(--accent);
}

.dev-link {
  text-align: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .6) !important;
}
.dev-link:hover { color: #fff !important; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .72) !important;
  transition: color .2s ease;
}
.footer-links a:hover { color: var(--accent) !important; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer-bottom img { height: 20px; width: auto; opacity: .85; }
.footer-bottom span { font-size: 13px; color: rgba(255, 255, 255, .45); }

/* ---------- RESPONSIVE ---------- */
/* Mobile/tablet nav: the floating pill itself grows open instead of a
   hamburger + dropdown box — toggle row stays put, links unfold below it
   inside the same pill (grid-template-rows trick animates height without
   a hard px value). */
@media (max-width: 900px) {
  .site-header { padding: 16px 16px 0; }

  .nav {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 8px 8px 18px;
  }
  .nav.is-open {
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(16, 19, 14, .14);
  }

  .nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
  }

  .nav-toggle { display: flex; }

  .nav-links {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .28s ease, opacity .2s ease;
  }
  .nav.is-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    margin-top: 8px;
  }
  .nav-links-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 2px;
  }
  .nav-links a { padding: 13px 14px; width: 100%; }
  .nav-cta { margin-left: 0 !important; margin-top: 6px; text-align: center; }
}

@media (max-width: 860px) {
  .monty-top { grid-template-columns: 1fr; }
  .onas-grid { grid-template-columns: 1fr; }
  .values-list { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .kontakt-grid { grid-template-columns: 1fr; }
  .proc-grid { grid-template-columns: 1fr; }
  .kontakt-details { gap: 20px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .roles-row { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 56px; padding-bottom: 64px; }
  .hero h1 { letter-spacing: -1px; }
  .hero-deco { opacity: .35; width: 80%; }
  .audience-grid { gap: 12px; }
  .pillars, .flow, .monty, .proc, .reference, .onas, .kontakt { padding-top: 56px; padding-bottom: 56px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Respect user motion preference — floats and pops become instant fades */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-deco { animation: none; }
  .deco-svg .pl { stroke-dashoffset: 0; animation: none; }
  .deco-svg .pd { transform: scale(1); animation: none; }
  .deco-svg .plane-trail { opacity: .5; animation: none; }
  .deco-docs .doc { display: none; animation: none; }
  .md-sub { animation: none; }
  .md-card { animation: none; }
  .audience-tile:hover,
  .nav,
  .nav-links,
  .nav-toggle-bar { transition: none; }
}
