@charset "UTF-8";
/* ============================================================
   TruckManager — sdílené styly
   Moderní redesign, responzivní, světlý/tmavý režim
   ============================================================ */

:root {
  --color-primary: #f28a49;
  --color-primary-dark: #d9722f;
  --color-heart: #d6333f;
  --color-accent: #0d5fd7;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f7fb;
  --color-surface: #ffffff;
  --color-text: #16212e;
  --color-text-muted: #5b6b7c;
  --color-border: #e2e8f0;
  --color-header-bg: rgba(14, 20, 28, 0.95);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.10);
  --shadow-lg: 0 20px 48px rgba(16, 24, 40, 0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --font: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

img { max-width: 100%; height: auto; }

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--alt { background: var(--color-bg-alt); }

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section__head p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: var(--color-header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.site-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.site-logo:hover { text-decoration: none; }
.site-logo img { height: 32px; width: auto; max-width: 160px; display: block; }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.98rem;
}
.main-nav a:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  text-decoration: none;
}
.main-nav a.active {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch { position: relative; }
.lang-switch > button {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  height: 38px;
  padding: 0 12px;
  font: inherit;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}
.lang-switch ul {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 200;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 110px;
}
.lang-switch.open ul { display: block; }
.lang-switch ul a {
  display: block;
  padding: 7px 12px;
  border-radius: 6px;
  color: var(--color-text);
}
.lang-switch ul a:hover { background: var(--color-bg-alt); text-decoration: none; }

.theme-toggle {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  width: 38px;
  height: 38px;
  font-size: 1.05rem;
  cursor: pointer;
  color: var(--color-text);
  line-height: 1;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 38px;
  font-size: 1.2rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--color-primary-dark); color: #fff; box-shadow: var(--shadow-md); }
.btn--outline {
  border-color: var(--color-border);
  color: var(--color-text);
  background: var(--color-surface);
}
.btn--outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn--lg { padding: 16px 36px; font-size: 1.1rem; }
.btn--sm { padding: 8px 18px; font-size: 0.92rem; }

/* ---------- Hero ---------- */.hero {
  padding: 16px 0 40px;
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(242, 138, 73, 0.10), transparent 60%),
    radial-gradient(700px 380px at 5% 0%, rgba(242, 138, 73, 0.06), transparent 55%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero .badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(242, 138, 73, 0.10);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.hero p.lead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin: 0 0 32px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hero vizual — rámečky kolem H1 ---------- */
.hero__center { position: relative; }

/* ---------- Varianta C: diagram funkcí propojený se středem ---------- */
.hero-diagram {
  position: relative;
  margin: 8px auto 40px;
  max-width: 1000px;
  aspect-ratio: 10 / 5.6;
}
.hero-diagram__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  z-index: 5;
  pointer-events: none;
}
.hero-diagram__tag {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg);
  padding: 2px 10px;
  z-index: 6;
}
.hero-diagram__hub {
  position: absolute;
  left: 50%;
  top: 57.2%;
  transform: translate(-50%, -50%);
  width: 30%;
  z-index: 7;
}
.hero-diagram__hub-inner {
  position: relative;
  width: 100%;
  min-height: 150px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
  animation: heroHubBeat 2.6s ease-in-out infinite;
}
.hero-diagram__hub:hover .hero-diagram__hub-inner,
.hero-diagram__hub.flipped .hero-diagram__hub-inner { transform: rotateY(180deg); }
@keyframes heroHubBeat {
  0%, 28%, 70%, 100% { scale: 1; }
  14% { scale: 1.035; }
  42% { scale: 1.05; }
  56% { scale: 1.015; }
}
.hero-diagram__hub-front,
.hero-diagram__hub-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 18px 20px;
  background: #fff;
  border: 2px solid var(--color-heart);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(214, 51, 63, 0.22);
  backface-visibility: hidden;
}
.hero-diagram__hub-front strong { font-size: 1.05rem; color: var(--color-text); line-height: 1.25; }
.hero-diagram__hub-front small { color: var(--color-text-muted); font-size: 0.8rem; }
.hero-diagram__logo { height: 33px; }
.hero-diagram__hub-back {
  transform: rotateY(180deg);
  background: var(--color-primary);
  border-color: var(--color-primary-dark);
  text-decoration: none;
  cursor: pointer;
}
.hero-diagram__hub-back strong { color: #fff; font-size: 1.05rem; }
.hero-diagram__hub-back span { color: #fff; font-weight: 700; font-size: 0.9rem; text-decoration: underline; }

.hero-diagram__card {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: var(--w, 17%);
  z-index: 3;
  animation: heroCardPulse 7s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.45s);
}
@keyframes heroCardPulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(242, 138, 73, 0)); }
  50% { filter: drop-shadow(0 0 12px rgba(242, 138, 73, 0.55)); }
}
.hero-diagram__card-inner {
  position: relative;
  width: 100%;
  min-height: 64px;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}
.hero-diagram__card:hover .hero-diagram__card-inner,
.hero-diagram__card.flipped .hero-diagram__card-inner { transform: rotateY(180deg); }
.hero-diagram__card-front,
.hero-diagram__card-back {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 10px;
  border-radius: 10px;
  backface-visibility: hidden;
  line-height: 1.25;
}
.hero-diagram__card-front {
  background: #fff;
  border: 1.5px solid var(--color-primary);
  color: var(--color-text);
  font-size: 0.82rem;
}
.hero-diagram__card-back {
  background: var(--color-primary);
  border: 1.5px solid var(--color-primary-dark);
  color: #fff;
  font-size: 0.68rem;
  transform: rotateY(180deg);
  text-decoration: none;
  cursor: pointer;
}
@media (max-width: 960px) {
  .hero-diagram {
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 0;
  }
  .hero-diagram__lines,
  .hero-diagram__tag { display: none; }
  .hero-diagram__hub {
    position: static;
    transform: none;
    width: 100%;
    grid-column: 1 / -1;
    order: -1;
  }
  .hero-diagram__card {
    position: static;
    transform: none;
    width: 100%;
  }
  .hero-diagram__card-front { font-size: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-diagram__card,
  .hero-diagram__hub-inner { animation: none; }
  .hero-diagram__card-inner,
  .hero-diagram__hub-inner { transition: none; }
}

/* Přeblikávání stylů hero CTA tlačítek (cyklus 8 s: 3 s stav + 1 s přechod) */
@keyframes heroCtaPrimarySwap {
  0%, 37.5% {
    background: var(--color-primary);
    color: #fff;
    border-color: transparent;
  }
  50%, 87.5% {
    background: var(--color-surface);
    color: var(--color-text);
    border-color: var(--color-border);
  }
  100% {
    background: var(--color-primary);
    color: #fff;
    border-color: transparent;
  }
}
@keyframes heroCtaOutlineSwap {
  0%, 37.5% {
    background: var(--color-surface);
    color: var(--color-text);
    border-color: var(--color-border);
  }
  50%, 87.5% {
    background: var(--color-primary);
    color: #fff;
    border-color: transparent;
  }
  100% {
    background: var(--color-surface);
    color: var(--color-text);
    border-color: var(--color-border);
  }
}
.hero__cta .btn--primary { animation: heroCtaPrimarySwap 8s ease-in-out infinite; }
.hero__cta .btn--outline { animation: heroCtaOutlineSwap 8s ease-in-out infinite; }
.hero__cta .btn--primary:hover,
.hero__cta .btn--outline:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .hero__cta .btn--primary,
  .hero__cta .btn--outline { animation: none; }
}

.hero__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
.hero__media .media-placeholder {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-surface));
  border: 1px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---------- Karty / grid ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(242, 138, 73, 0.10);
  color: var(--color-primary-dark);
  margin-bottom: 18px;
}
.card .card__icon svg {
  width: 24px;
  height: 24px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--color-text-muted); }

/* ---------- Statistiky ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}
.stat .stat__value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}
.stat .stat__label { color: var(--color-text-muted); font-size: 0.95rem; }

/* ---------- CTA pás ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn--primary {
  background: #fff;
  color: var(--color-primary);
}
.cta-band .btn--primary:hover { background: #eef3fb; color: var(--color-primary-dark); }
.cta-band .btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.cta-band .btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* ---------- Ceník ---------- */
.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card--featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.pricing-card .badge-featured {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 10px 0 4px;
}
.pricing-card .price small {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  flex: 1;
}
.pricing-card ul li {
  padding: 7px 0 7px 28px;
  position: relative;
  color: var(--color-text-muted);
}
.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* ---------- Formulář ---------- */
.form { display: grid; gap: 18px; }
.form--2col { grid-template-columns: 1fr 1fr; }
.form .form__full { grid-column: 1 / -1; }
.form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--color-text);
  background: var(--color-surface);
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid rgba(242, 138, 73, 0.35);
  border-color: var(--color-primary);
}
.form textarea { min-height: 140px; resize: vertical; }
.form .form__note { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; }

/* ---------- Kroky (jak to funguje) ---------- */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
}
.step:last-child { border-bottom: none; }
.step::before {
  counter-increment: step;
  content: counter(step);
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--color-text-muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 64px 0 32px;
  margin-top: 40px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.site-footer h4 { font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul a { color: var(--color-text-muted); }
.site-footer ul a:hover { color: var(--color-primary); }
.site-footer .about { color: var(--color-text-muted); font-size: 0.95rem; max-width: 340px; }
.site-footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ---------- Util ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Logo v hlavičce ---------- */
.site-logo .logo-img {
  height: 30px;
  width: auto;
  margin-right: 4px;
}

/* ---------- Hero středová varianta ---------- */
.hero__center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.hero__center .hero__cta {
  justify-content: center;
}
.hero__center p.lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.28rem;
  color: var(--color-text);
}
.hero__center p.lead strong {
  color: var(--color-primary-dark);
}

.hero__tagline {
  font-size: 1.05rem;
  color: var(--color-primary-dark);
  font-weight: 600;
  max-width: 560px;
  margin: 0 auto 32px;
  padding: 12px 24px;
  border-left: 3px solid var(--color-primary);
  background: rgba(242, 138, 73, 0.07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  text-align: left;
}

/* ---------- Rotující text v hero ---------- */
.hero__rotating {
  position: relative;
  display: block;
  text-align: center;
  min-height: 1.2em;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
.hero__rotating span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  color: var(--color-primary);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(8px);
  white-space: normal;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  line-height: 1.3;
  word-wrap: break-word;
}
.hero__rotating span.active {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Sticky box v pravém dolním rohu ---------- */
.hero-badge-sticky {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #fff;
  border: 2px solid var(--color-primary);
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(242, 138, 73, 0.25), 0 2px 8px rgba(0,0,0,0.08);
  max-width: 280px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.hero-badge-sticky .badge-label {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-badge-sticky p { margin: 0 0 10px; color: var(--color-text); }
.hero-badge-sticky p:last-child { margin-bottom: 0; }
.hero-badge-sticky .badge-sub {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 10px;
  margin-top: 10px;
}

/* Responzivita */
@media (max-width: 680px) {
  .hero-badge-sticky { display: none; }
}

/* ---------- Běžící pás s logy (marquee) ---------- */
.logo-marquee {
  padding: 36px 0 28px;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 100px;
}
.marquee__item img {
  max-height: 36px;
  max-width: 120px;
  width: auto;
  filter: grayscale(40%);
  opacity: 0.75;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.marquee__item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
.marquee__label {
  text-align: center;
  margin: 20px 24px 0;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Karty — highlight ---------- */
.card--highlight {
  border-color: transparent;
  background: linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
              linear-gradient(135deg, rgba(13,95,215,0.35), rgba(255,122,26,0.25)) border-box;
  border: 1.5px solid transparent;
}

/* ---------- Karty — segment ---------- */
.card--segment {
  display: flex;
  flex-direction: column;
}
.card--segment .card__link {
  margin-top: auto;
  padding-top: 16px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Kroky — horizontální ---------- */
.steps--horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}
/* Časová osa — linka procházející středy kruhů */
.steps--horizontal::before {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}
.steps--horizontal .step {
  flex-direction: column;
  padding: 28px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  border-bottom: none;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}
.steps--horizontal .step::before {
  margin: 0 auto 16px;
  flex: none;
  width: 44px;
  flex-basis: 44px;
  box-sizing: border-box;
  border: 3px solid var(--color-surface);
  box-shadow: 0 0 0 2px var(--color-primary);
}
.steps--horizontal .step h3 {
  font-size: 1.05rem;
}

/* ---------- Responzivita ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px 28px; }
  .steps--horizontal { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .section { padding: 56px 0; }
  .grid--3, .grid--2, .form--2col { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 12px 8px; font-size: 1.05rem; color: var(--color-text); }
  .main-nav a:hover { background: var(--color-bg-alt); color: var(--color-text); }
  .main-nav a.active { color: var(--color-primary); }
  .header-actions { margin-left: auto; }
  .site-header__inner { flex-wrap: nowrap; }
  .hero { padding: 56px 0 48px; }
  .steps--horizontal { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer .about { max-width: none; }
  .marquee__item { min-width: 80px; height: 36px; }
  .marquee__item img { max-height: 28px; max-width: 90px; }
}

/* ---------- Cookie lišta ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 24px rgba(16, 24, 40, 0.12);
  padding: 20px 0;
  z-index: 1000;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1 1 300px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
}
.cookie-banner__text a { color: var(--color-primary); }
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner__btn {
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.cookie-banner__btn--accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner__btn--accept:hover { background: var(--color-primary-dark); }
.cookie-banner__btn--decline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}
.cookie-banner__btn--decline:hover { border-color: var(--color-text-muted); }

@media (max-width: 680px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner__text { flex: 0 1 auto; }
  .cookie-banner__actions { justify-content: center; }
  .cookie-banner__btn { flex: 1 1 auto; }
}





/* ---------- Str�nka Funkce � lev� menu + obsah ---------- */
.features-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }

/* Mobilní rozbalovací výběr funkce — skrytý na desktopu */
.features-select { display: none; }

.features-menu { position: sticky; top: 100px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 8px 0; box-shadow: var(--shadow-sm); }
.features-menu__title { padding: 12px 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--color-text-muted); border-bottom: 1px solid var(--color-border); margin-bottom: 8px; }
.features-menu__more { margin-top: 8px; padding: 12px 20px; border-top: 1px solid var(--color-border); font-size: 0.85rem; font-weight: 600; color: var(--color-primary); }
.features-menu__item { display: flex; align-items: center; gap: 12px; padding: 14px 20px; color: var(--color-text); text-decoration: none; font-weight: 500; font-size: 0.95rem; border-left: 3px solid transparent; transition: all 0.15s ease; cursor: pointer; }
.features-menu__item:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.features-menu__item.active { background: rgba(242, 138, 73, 0.08); color: var(--color-primary); border-left-color: var(--color-primary); font-weight: 600; }
.features-menu__item svg { width: 22px; height: 22px; flex-shrink: 0; }
.features-content { min-width: 0; }
.feature-section { display: none; padding: 32px 0; scroll-margin-top: 160px; }
.feature-section.active { display: block; }
.feature-section__header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 2px solid var(--color-border); }
.feature-section__header svg { width: 48px; height: 48px; color: var(--color-primary); flex-shrink: 0; }
.feature-section__header h2 { margin: 0; font-size: 1.75rem; }
.feature-section__content { color: var(--color-text-muted); line-height: 1.7; }
.feature-section__content p { margin: 0 0 16px; font-size: 1.05rem; }
.feature-section__content ul { margin: 16px 0; padding-left: 24px; }
.feature-section__content li { margin-bottom: 8px; }
.feature-section__image { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.feature-section__image img { width: 100%; height: auto; display: block; }
.feature-section__image .placeholder { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--color-bg-alt), var(--color-surface)); display: flex; align-items: center; justify-content: center; color: var(--color-text-muted); font-size: 0.95rem; }
@media (max-width: 960px) {
  .features-layout { grid-template-columns: 1fr; gap: 20px; margin-top: 0; padding-top: 0; }
  .features-menu { display: none; }
  .features-select {
    display: block;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 10px 24px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
  }
  .features-content { padding-top: 0; }
  /* Odsazení obsahu pod fixed select na stránce Funkce */
  main:has(.features-select) .section:first-of-type { padding-top: 100px; }
  main:has(.features-select) .section__head { margin-bottom: 20px; }
  .features-select select {
    width: 100%;
    padding: 13px 40px 13px 16px;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-surface);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 49%, var(--color-primary) 50%), linear-gradient(-45deg, transparent 49%, var(--color-primary) 50%);
    background-position: calc(100% - 21px) 50%, calc(100% - 15px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
  }
  .features-select select:focus { outline: none; border-color: var(--color-primary-dark); }
}


/* Video v feature sekc�ch */
.feature-section__video { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.feature-section__video video { width: 100%; height: auto; display: block; }


/* ---------- Cen�k � 5 tarif� ---------- */
.grid--5 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pricing-card { position: relative; text-align: center; padding: 28px 20px; }`n.pricing-card--wide { grid-column: 1 / -1; }`n.pricing-card__wide-inner { display: flex; align-items: center; gap: 48px; text-align: left; }`n.pricing-card__wide-main { flex: 0 0 280px; }`n.pricing-card__wide-features { flex: 1; }`n.pricing-card__wide-features ul { margin: 0; }`n.pricing-card__wide-action { flex: 0 0 auto; }`n@media (max-width: 960px) { .pricing-card__wide-inner { flex-direction: column; gap: 24px; text-align: center; } .pricing-card__wide-main { flex: none; } }
.pricing-card__badge { display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.pricing-card__badge--free { background: rgba(76, 175, 80, 0.12); color: #2e7d32; }
.pricing-card__badge--lite { background: rgba(13, 95, 215, 0.12); color: #0d5fd7; }
.pricing-card__badge--full { background: rgba(242, 138, 73, 0.12); color: var(--color-primary-dark); }
.pricing-card__badge--spedice { background: rgba(156, 39, 176, 0.12); color: #7b1fa2; }
.pricing-card__badge--cloud { background: rgba(96, 125, 139, 0.12); color: #455a64; }
.pricing-card h3 { margin: 8px 0 4px; font-size: 1.3rem; }
.pricing-card .price { font-size: 1.8rem; font-weight: 700; color: var(--color-text); margin: 16px 0; }
.pricing-card .price small { display: block; font-size: 0.9rem; font-weight: 400; color: var(--color-text-muted); white-space: nowrap; }
.pricing-card ul { text-align: left; margin: 20px 0; padding-left: 20px; }
.pricing-card ul li { margin-bottom: 8px; font-size: 0.92rem; color: var(--color-text-muted); }
.pricing-card .btn { margin-top: auto; }
.pricing-card--featured { border-color: var(--color-primary); box-shadow: 0 8px 32px rgba(242, 138, 73, 0.15); }
.pricing-card--featured .badge-featured { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--color-primary); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 4px 16px; border-radius: 20px; }
@media (max-width: 1100px) { .grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid--5 { grid-template-columns: 1fr; } }



/* Private Cloud � cel� ���ka */
.pricing-card--wide { grid-column: 1 / -1; margin-top: 24px; }
.pricing-card__wide-inner { display: flex; align-items: center; gap: 48px; text-align: left; }
.pricing-card__wide-main { flex: 0 0 280px; }
.pricing-card__wide-features { flex: 1; }
.pricing-card__wide-features ul { margin: 0; }
.pricing-card__wide-action { flex: 0 0 auto; }
@media (max-width: 960px) { .pricing-card__wide-inner { flex-direction: column; gap: 24px; text-align: center; } .pricing-card__wide-main { flex: none; } }


/* ---------- Srovnávací tabulka tarifů ---------- */
.compare-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.compare-table th, .compare-table td { text-align: left; padding: 10px 16px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.compare-table thead th {
  position: sticky;
  top: 72px;
  z-index: 2;
  background: var(--color-text);
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  vertical-align: middle;
}
.compare-table thead th small { display: block; font-size: 0.68rem; text-transform: none; letter-spacing: 0; opacity: 0.75; }
.compare-table thead th:not(:first-child), .compare-table tbody td:not(:first-child) { text-align: center; width: 104px; }
.compare-table tbody tr:hover td { background: var(--color-bg-alt); }
.compare-table .yes { color: var(--color-primary); font-weight: 700; }
.compare-table .no { color: var(--color-border); }

.compare-group__head { padding: 0; background: var(--color-bg-alt); }
.compare-group__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
}
.compare-group__toggle::before {
  content: "\25B8";
  display: inline-block;
  color: var(--color-primary);
  transition: transform 0.2s ease;
}
.compare-group.open .compare-group__toggle::before { transform: rotate(90deg); }
.compare-group:not(.open) tr:not(.compare-group__row-head) { display: none; }

@media (max-width: 760px) {
  .compare-table { font-size: 0.82rem; }
  .compare-table th, .compare-table td { padding: 8px 10px; }
  .compare-table thead th:not(:first-child), .compare-table tbody td:not(:first-child) { width: 46px; padding-left: 4px; padding-right: 4px; }
}
