/* =============================================================================
   CarFlow4U – veřejný web (carflow4u.eu)

   Verze 2 (říjen 2026): světlý, vzdušný vzhled, širší rozvržení (obsah až
   1280 px), menu zůstává nahoře při rolování, sjednocená hlavička a patička.

   POZOR – přísná CSP (security-headers.conf):
     * žádné inline <style> ani style="" atributy v HTML,
     * všechno písmo a obrázky z vlastní domény,
     * stylování z JS jen přes element.style / classList (to CSP dovoluje).
   ============================================================================= */

@import url('inter.css');

:root {
  /* Značka */
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #818cf8;
  --primary-50: #eef2ff;
  --accent: #06b6d4;
  --violet: #7c3aed;

  /* Stavové barvy */
  --success: #059669;
  --warning: #f59e0b;
  --danger: #dc2626;

  /* Plochy a text */
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --surface: #ffffff;
  --ink: #0b1220;
  --text: #0f172a;
  --muted: #55657c;
  --border: #e4e9f2;
  --border-strong: #cfd7e6;

  /* Gradienty */
  --grad-brand: linear-gradient(135deg, #4f46e5, #7c3aed 55%, #06b6d4);
  --grad-brand-deep: linear-gradient(135deg, #4f46e5, #6d4ee8);
  --grad-brand-soft: linear-gradient(135deg, #eef2ff, #f5f3ff 60%, #ecfeff);
  --grad-dark: linear-gradient(140deg, #0b1220 0%, #1e1b4b 55%, #3730a3 100%);
  --grad-text: linear-gradient(100deg, #4f46e5, #7c3aed 50%, #0891b2);

  /* Stíny */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow-md: 0 4px 6px -2px rgba(15, 23, 42, .05), 0 14px 28px -10px rgba(15, 23, 42, .12);
  --shadow-lg: 0 10px 20px -8px rgba(15, 23, 42, .10), 0 30px 60px -18px rgba(15, 23, 42, .22);
  --shadow-brand: 0 10px 24px -10px rgba(79, 70, 229, .55);

  /* Poloměry */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  /* Rozvržení: obsah max. 1280 px, na užších displejích boční okraj */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --inline: max(var(--gutter), calc((100% - var(--container)) / 2));
  --section-y: clamp(56px, 8vw, 104px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: clip;
  font-family: 'Inter', -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(79, 70, 229, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  z-index: 2000;
  text-decoration: none;
  font-weight: 600;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Navigace ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, .92);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px -12px rgba(15, 23, 42, .18);
}

.nav-inner {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img { height: 34px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a:not(.btn) {
  color: #334155;
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  position: relative;
  transition: color .15s ease, background .15s ease;
}

.nav-links a:not(.btn):hover { color: var(--primary); background: var(--primary-50); }

.nav-links a:not(.btn).active { color: var(--primary); }

.nav-links a:not(.btn).active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.nav-links .btn { margin-left: 4px; padding: 9px 18px; font-size: .92rem; }
.nav-links .nav-cta { margin-left: 2px; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
  flex-shrink: 0;
  position: relative;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

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

@media (max-width: 960px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 86vw);
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 84px 24px 28px;
    transition: right .28s ease;
    z-index: 1050;
    gap: 0;
    box-shadow: -8px 0 40px rgba(15, 23, 42, .25);
    overflow-y: auto;
  }

  .nav-links.open { right: 0; }

  .nav-links a:not(.btn) {
    font-size: 1.05rem;
    padding: 14px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:not(.btn):hover { background: none; }
  .nav-links a:not(.btn).active::after { display: none; }

  .nav-links .btn { margin: 14px 0 0; width: 100%; text-align: center; padding: 13px 18px; }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11, 18, 32, .5);
    z-index: 1000;
  }
  .nav-overlay.open { display: block; }
}

/* ---------- Tlačítka ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-md);
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.3;
  font-family: inherit;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.btn-primary {
  background: var(--grad-brand-deep);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { box-shadow: 0 14px 28px -10px rgba(79, 70, 229, .65); }

.btn-outline,
.btn-ghost,
.btn-outline-dark {
  background: #fff;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-outline:hover,
.btn-ghost:hover,
.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-50);
}

.btn-small { padding: 9px 18px; font-size: .9rem; white-space: nowrap; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* ---------- Společné sekce ---------- */

.features, .why, .contact, .pricing, .showcase, .scenario, .order, .about-creator,
.pricing-intro, .pricing-included, .pricing-faq, .blog-list, .plans-teaser, .addons-teaser {
  padding: var(--section-y) var(--inline);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(32px, 5vw, 56px);
}

.section-head h2 {
  text-wrap: balance;
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-head p { color: var(--muted); font-size: 1.08rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary-50);
  border: 1px solid #dfe5ff;
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.grad-text,
.grad-text-light {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-cta { text-align: center; margin-top: 40px; }

/* Plné pruhy se střídavým pozadím */
.why, .addons-band, .pricing-included { background: var(--bg-soft); }
.showcase { background: var(--bg); }
.scenario { background: var(--bg-soft); }

/* ---------- Hero (úvodní strana) ---------- */

.hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(60% 70% at 85% 0%, rgba(124, 58, 237, .13), transparent 60%),
    radial-gradient(50% 60% at 0% 30%, rgba(6, 182, 212, .12), transparent 60%),
    linear-gradient(180deg, #f6f7ff 0%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(79, 70, 229, .16) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 0%, transparent 75%);
}

.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  padding: clamp(40px, 6vw, 88px) var(--inline) clamp(56px, 7vw, 104px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px 6px 12px;
  font-size: .85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .18);
  animation: badge-pulse 2.4s ease-in-out infinite;
}

@keyframes badge-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) {
  .badge-dot { animation: none; }
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}

.hero h1 {
  font-size: clamp(2.1rem, 3.9vw, 3.3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
  margin-bottom: 22px;
  text-wrap: balance;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 28px;
}

.hero-points {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #1e293b;
  font-weight: 500;
}

.hero-points li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: .8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

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

.hero-note { margin-top: 18px; color: var(--muted); font-size: .88rem; }

.hero-visual { position: relative; }

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -6% -8% 6%;
  background: var(--grad-brand);
  opacity: .16;
  filter: blur(60px);
  border-radius: 40px;
  z-index: 0;
}

.hero-browser {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.browser-bar {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 11px 14px;
  background: #f1f4f9;
  border-bottom: 1px solid var(--border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-red { background: #f87171; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #34d399; }

.hero-browser-url {
  background: #fff;
  border: 1px solid var(--border);
  color: #64748b;
  font-size: .78rem;
  border-radius: 6px;
  padding: 2px 12px;
  margin-left: 10px;
  flex: 1;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-browser img, .browser-frame img { display: block; width: 100%; height: auto; }

@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-visual { max-width: 720px; }
}

/* ---------- Statistiky ---------- */

.stats {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats-inner > div + div { border-left: 1px solid var(--border); }

.stat-num {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label { color: var(--muted); font-size: .92rem; margin-top: 6px; }

@media (max-width: 760px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .stats-inner > div + div { border-left: none; }
}

/* ---------- Karty funkcí ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 24px;
}

.grid-compact { margin-bottom: 0; }

/* Šest karet = 3 × 2, osm karet = 4 × 2 (auto-fit) */
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #cfd6ff;
}

.card-icon {
  font-size: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--primary-50);
  border: 1px solid #dfe5ff;
  flex-shrink: 0;
}

.grid .card:nth-child(3n+2) .card-icon { background: #f5f3ff; border-color: #e6defc; }
.grid .card:nth-child(3n+3) .card-icon { background: #ecfeff; border-color: #cdf3f9; }

.card h3 { margin-bottom: 8px; font-size: 1.14rem; }
.card p { color: var(--muted); font-size: .97rem; }
.card .addon-tag { margin-top: auto; }
.card p + .addon-tag { margin-top: 16px; }

.card-link {
  margin-top: 16px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  font-size: .95rem;
}
.card-link:hover { text-decoration: underline; }

/* ---------- Ukázky rozhraní ---------- */

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 52px) clamp(24px, 3vw, 40px);
}

.showcase-item { position: relative; }

.browser-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.showcase-item:hover .browser-frame {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cfd6ff;
}

.showcase-item h3 { margin: 20px 0 6px; font-size: 1.18rem; }
.showcase-item p { color: var(--muted); font-size: .98rem; }

@media (max-width: 760px) {
  .showcase-grid { grid-template-columns: 1fr; }
}

/* ---------- Animace při scrollu (jen když běží JS) ---------- */

.js .fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.js .fade-in.visible { opacity: 1; transform: none; }

/* Karty mají vlastní hover transform – po zobrazení ho nepřepisovat */
.js .card.fade-in.visible:hover,
.js .why-item.fade-in.visible:hover { transform: translateY(-3px); }

/* ---------- Proč my ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

.why-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.why-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #cfd6ff; }

.why-icon {
  font-size: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--primary-50);
  border: 1px solid #dfe5ff;
}

.why-grid .why-item:nth-child(3n+2) .why-icon { background: #f5f3ff; border-color: #e6defc; }
.why-grid .why-item:nth-child(3n+3) .why-icon { background: #ecfeff; border-color: #cdf3f9; }

.why-item h3 { margin-bottom: 8px; font-size: 1.14rem; }
.why-item p { color: var(--muted); font-size: .97rem; }

/* ---------- Ceník ---------- */

.pricing-intro { padding-bottom: 0; }
.pricing-intro-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.pricing-intro-inner p { color: var(--muted); font-size: 1.08rem; }
.pricing-intro-inner p + p { margin-top: 14px; }
.pricing-intro-inner a { color: var(--primary); font-weight: 600; }

.pricing-included { padding-top: 40px; padding-bottom: 40px; margin-top: var(--section-y); border-block: 1px solid var(--border); }
.pricing-included-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.pricing-included-inner h3 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 20px;
}

.pricing-included-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.pricing-chip {
  background: #fff;
  border: 1px solid var(--border);
  color: #1e293b;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: .9rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.price-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.price-card-highlight {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-brand), var(--shadow-md);
  background: linear-gradient(180deg, #f7f7ff, #fff 40%);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-brand-deep);
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-brand);
}

.price-icon { margin-bottom: 10px; }
.price-card h3 { font-size: 1.4rem; font-weight: 800; }
.price-limit { color: var(--muted); font-size: .94rem; margin-bottom: 14px; }

.price-value {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--ink);
}
.price-value span { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.price-vat { color: var(--muted); font-size: .85rem; margin-bottom: 18px; }

.price-features {
  list-style: none;
  display: grid;
  gap: 9px;
  margin-bottom: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.price-features li {
  position: relative;
  padding-left: 26px;
  font-size: .93rem;
  color: #263449;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: .68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-features li.off { color: #94a3b8; }
.price-features li.off::before { content: "–"; background: #f1f5f9; color: #94a3b8; }

.price-card .btn { margin-top: auto; text-align: center; }

/* Enterprise – široký pruh pod plány */
.price-enterprise {
  margin-top: 28px;
  background: var(--grad-dark);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(26px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  box-shadow: var(--shadow-lg);
}
.price-enterprise h3 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.price-enterprise p { color: #c7d2fe; max-width: 46em; }
.price-enterprise ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; color: #e0e7ff; font-size: .93rem; }
.price-enterprise li::before { content: "✓ "; color: #67e8f9; font-weight: 800; }
.price-enterprise .btn { background: #fff; color: var(--primary-dark); border-color: #fff; }

/* ---------- Doplňkové moduly ---------- */

.addons-inner {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.addon-promo {
  max-width: 820px;
  margin: 0 auto 36px;
  padding: 20px 28px;
  text-align: center;
  background: #fff;
  border: 1px solid #dfe5ff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.addon-promo p { margin: 10px 0 0; color: var(--text); }

.addon-promo-badge {
  display: inline-block;
  background: var(--grad-brand-deep);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 12px;
}

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

@media (max-width: 1000px) { .addon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .addon-grid { grid-template-columns: 1fr; } }

.addon-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.addon-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #cfd6ff; }

.addon-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.addon-head .card-icon { margin-bottom: 8px; }

.addon-price {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
  letter-spacing: -.02em;
}
.addon-price small { font-size: .8rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.addon-card h3 { font-size: 1.14rem; }
.addon-card p { color: var(--muted); font-size: .95rem; }
.addon-card .addon-vat { font-size: .82rem; margin-top: auto; padding-top: 6px; }
.addon-card .btn { margin-top: 12px; }

.addon-example { max-width: 820px; margin: 36px auto 0; text-align: center; color: var(--muted); }

.addon-tag {
  display: inline-block;
  background: var(--primary-50);
  border: 1px solid #dfe5ff;
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .78rem;
  font-weight: 600;
}

.addons-teaser { padding-bottom: 24px; }
.addons-teaser .pricing-included-chips { margin-bottom: 8px; }

/* Výběr doplňků v objednávce */
.addon-picks-title { display: block; font-weight: 600; font-size: .92rem; margin: 14px 0 10px; }

.addon-picks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 10px;
}

.addon-pick {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  background: #fff;
  transition: border-color .15s ease, background .15s ease;
}
.addon-pick:hover { border-color: var(--border-strong); }
.addon-pick:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }
.addon-pick input { width: auto; margin-top: 4px; flex-shrink: 0; accent-color: var(--primary); }

.addon-pick label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  font-weight: 400;
  cursor: pointer;
  flex: 1;
}
.addon-pick-name { font-weight: 600; font-size: .93rem; color: var(--text); }
.addon-pick-price { font-size: .8rem; color: var(--muted); }

.order-total { margin: 14px 0 0; font-size: .95rem; color: var(--primary-dark); }
.order-total:empty { display: none; }

/* ---------- Ceník – FAQ ---------- */

.pricing-faq { padding-top: 0; }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 20px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 28px;
}
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { color: var(--muted); font-size: .97rem; }

/* ---------- Ukázkový scénář ---------- */

.scenario-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-md);
  max-width: 980px;
  margin: 0 auto;
}

.scenario-tag {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 26px;
}

.scenario-steps { display: grid; gap: 4px; }

.scenario-step {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.scenario-step:last-child { border-bottom: none; }

.scenario-time {
  background: var(--primary-50);
  color: var(--primary-dark);
  font-weight: 800;
  border-radius: var(--r-sm);
  padding: 6px 0;
  text-align: center;
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
}

.scenario-step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.scenario-step p { color: var(--muted); font-size: .96rem; }

@media (max-width: 540px) {
  .scenario-step { grid-template-columns: 1fr; gap: 8px; }
  .scenario-time { justify-self: start; padding: 4px 14px; }
}

/* ---------- O tvůrci ---------- */

.about-creator-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  align-items: start;
}

.about-creator-avatar {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 800;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
}

.about-creator-inner h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin-bottom: 14px; }
.about-creator-inner p { color: var(--muted); margin-bottom: 12px; }
.about-creator-inner p strong { color: var(--ink); }

.about-creator-points { list-style: none; display: grid; gap: 8px; margin-top: 18px; }
.about-creator-points li {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: .95rem;
  color: #1e293b;
}

@media (max-width: 640px) {
  .about-creator-inner { grid-template-columns: 1fr; }
}

/* ---------- Foto pás ---------- */

.photo-band {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-inline: var(--inline);
  border-radius: var(--r-xl);
  max-height: 460px;
  margin-block: 0 var(--section-y);
}

.photo-band img {
  width: 100%;
  height: clamp(300px, 34vw, 460px);
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.photo-band-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 0 clamp(24px, 6vw, 80px);
  background: linear-gradient(90deg, rgba(11, 18, 32, .82) 0%, rgba(11, 18, 32, .5) 55%, rgba(11, 18, 32, .1) 100%);
}

.photo-band-overlay h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
  max-width: 16em;
}

.photo-band-overlay p { color: #e2e8f0; font-size: 1.08rem; max-width: 34em; margin-bottom: 26px; }
.photo-band-overlay .btn-primary { background: #fff; color: var(--primary-dark); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .5); }

/* ---------- CTA pruh ---------- */

.cta-strip { padding: 0 var(--inline) var(--section-y); }

.cta-strip-inner {
  background: var(--grad-dark);
  border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-strip-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 120% at 90% 50%, rgba(6, 182, 212, .32), transparent 70%),
    radial-gradient(40% 120% at 0% 0%, rgba(124, 58, 237, .4), transparent 70%);
  pointer-events: none;
}

.cta-strip-inner > * { position: relative; z-index: 1; }
.cta-strip-inner h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; margin-bottom: 8px; }
.cta-strip-inner p { color: #dbe3ff; max-width: 40em; }

.cta-strip .btn-primary { background: #fff; color: var(--primary-dark); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .5); }
.cta-strip .btn-outline-dark,
.cta-strip .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .4); }
.cta-strip .btn-outline-dark:hover,
.cta-strip .btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; border-color: #fff; }

/* ---------- Hlavička podstránek ---------- */

.page-header {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(50% 120% at 90% 0%, rgba(124, 58, 237, .12), transparent 60%),
    radial-gradient(40% 100% at 0% 100%, rgba(6, 182, 212, .10), transparent 60%),
    linear-gradient(180deg, #f6f7ff, #fff);
  border-bottom: 1px solid var(--border);
}

.page-header-content {
  max-width: calc(880px + 2 * var(--gutter));
  margin: 0 auto;
  text-align: center;
  padding: clamp(36px, 5vw, 64px) var(--gutter) clamp(36px, 5vw, 60px);
}

.page-header-content h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}

.page-header-content p { color: var(--muted); font-size: 1.12rem; max-width: 40em; margin: 0 auto; }

.breadcrumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #94a3b8; }
.breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Formuláře ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 6px;
  color: #1e293b;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.form-row input:hover,
.form-row textarea:hover,
.form-row select:hover { border-color: #b4bfd4; }

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, .15);
}

.form-row textarea { resize: vertical; min-height: 120px; }

.form-row.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row-checkbox { display: flex; align-items: flex-start; gap: 10px; }
.form-row-checkbox input { width: auto; margin-top: 4px; accent-color: var(--primary); flex-shrink: 0; }
.form-row-checkbox label { font-weight: 400; font-size: .88rem; color: var(--muted); margin: 0; }
.form-row-checkbox a { color: var(--primary); font-weight: 600; }

.contact-form .btn-primary { width: 100%; padding: 15px 24px; }

.form-status { margin-top: 14px; font-size: .95rem; min-height: 1.4em; }

.contact-direct {
  background: var(--grad-dark);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.contact-direct h3 { color: #fff; margin-bottom: 18px; font-size: 1.25rem; }
.contact-line { margin-bottom: 12px; font-size: 1.05rem; }
.contact-line a { color: #fff; font-weight: 600; text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }
.contact-note { color: #c7d2fe; font-size: .93rem; margin-top: 18px; }

/* Přepínač Dotaz / Objednávka */
.form-switch {
  display: flex;
  max-width: 420px;
  margin: 0 auto 36px;
  padding: 5px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.form-switch-item {
  flex: 1;
  text-align: center;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: color .15s ease, background .15s ease;
}
.form-switch-item:hover { color: var(--primary); }
.form-switch-item.is-active { background: #fff; color: var(--primary-dark); box-shadow: var(--shadow-sm); }

.form-switch-cta {
  max-width: 1100px;
  margin: 36px auto 0;
  padding: 24px 28px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.form-switch-cta strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.form-switch-cta p { color: var(--muted); font-size: .95rem; }

.form-switch-note { text-align: center; margin-top: 28px; color: var(--muted); }
.form-switch-note a { color: var(--primary); font-weight: 600; }

/* Objednávka */
.order-form { max-width: 920px; margin: 0 auto; }

.form-fieldset {
  border: none;
  border-top: 1px solid var(--border);
  padding: 24px 0 6px;
  margin: 0 0 10px;
}
.form-fieldset:first-of-type { border-top: none; padding-top: 0; }

.form-fieldset legend {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  padding: 0 10px 0 0;
  margin-bottom: 16px;
  float: left;
  width: 100%;
}
.form-fieldset legend + * { clear: both; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-row-radios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

@media (max-width: 640px) {
  .form-grid-2, .form-row-radios { grid-template-columns: 1fr; }
}

.radio-card {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 14px;
  cursor: pointer;
  font-weight: 400 !important;
  transition: border-color .15s ease, background .15s ease;
  line-height: 1.45;
}
.radio-card input { width: auto; margin-top: 3px; accent-color: var(--primary); }
.radio-card:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }

.input-with-btn { display: flex; gap: 10px; }
.input-with-btn input { flex: 1; min-width: 0; }
.input-with-btn .btn { white-space: nowrap; }

.btn-ares { background: #fff; color: var(--primary-dark); border-color: var(--border-strong); }
.btn-ares:hover { background: var(--primary-50); }
.btn-ares:disabled { opacity: .6; cursor: wait; }

.input-suffix { display: flex; align-items: stretch; }
.input-suffix input { flex: 1; border-top-right-radius: 0; border-bottom-right-radius: 0; min-width: 0; }
.input-suffix span {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-left: none;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--muted);
  font-size: .92rem;
  white-space: nowrap;
}

.field-hint { color: var(--muted); font-size: .85rem; margin-top: 6px; }
.field-hint a { color: var(--primary); font-weight: 600; }
.field-hint.is-error { color: var(--danger); }
.field-hint.is-ok { color: var(--success); }
.field-optional { font-weight: 400; color: #8493a9; font-size: .85rem; }
.order-note { text-align: center; margin-top: 12px; }

[data-show][hidden] { display: none !important; }

/* ---------- Právní stránky ---------- */

.legal {
  max-width: calc(940px + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) var(--section-y);
}

.legal h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 8px; }
.legal-updated { color: var(--muted); font-size: .92rem; margin-bottom: 40px; }
.legal section { margin-bottom: 34px; }
.legal h2 { font-size: 1.3rem; margin-bottom: 12px; color: var(--ink); padding-top: 8px; }
.legal h3 { font-size: 1.05rem; margin: 20px 0 8px; color: var(--primary-dark); }
.legal p, .legal li { color: #263449; font-size: 1rem; line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 10px 22px; }
.legal a { color: var(--primary); font-weight: 600; }
.legal-note { color: var(--muted); font-size: .92rem; font-style: italic; margin-bottom: 18px; }
.legal-emphasis { background: #fff7ed; border-left: 4px solid var(--warning); border-radius: 6px; padding: 14px 16px; }

/* ---------- Bezpečnost ---------- */

.security-intro { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: clamp(32px, 4vw, 48px) var(--inline); }

.security-intro-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px;
  text-align: center;
}

.security-stat-icon { font-size: 1.8rem; margin-bottom: 6px; }

.security-stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.security-stat-label { color: var(--muted); font-size: .9rem; margin-top: 2px; }

.security-sections { padding: var(--section-y) var(--gutter); max-width: calc(1000px + 2 * var(--gutter)); margin: 0 auto; }
.security-inner { display: grid; gap: 0; }

.security-block {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.security-block:last-child { border-bottom: none; }

.security-block-icon {
  font-size: 1.7rem;
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--primary-50);
  border: 1px solid #dfe5ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-block h2 { font-size: 1.35rem; margin-bottom: 12px; }
.security-block p { color: var(--muted); font-size: 1rem; margin-bottom: 10px; }
.security-block p:last-child { margin-bottom: 0; }
.security-block a { color: var(--primary); font-weight: 600; }

.security-list { list-style: none; margin: 14px 0; display: grid; gap: 8px; }
.security-list li {
  color: var(--text);
  font-size: .97rem;
  padding: 10px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}

@media (max-width: 560px) {
  .security-block { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Blog ---------- */

.blog-list-inner { max-width: 1000px; margin: 0 auto; display: grid; gap: 24px; }

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #cfd6ff; }

.blog-card-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }

.blog-tag, .article-tag {
  background: var(--primary-50);
  border: 1px solid #dfe5ff;
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: .8rem;
  font-weight: 600;
}

.blog-date, .blog-author, .article-date, .article-author { color: var(--muted); font-size: .88rem; }

.blog-card h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.blog-card h2 a { text-decoration: none; }
.blog-card h2 a:hover { color: var(--primary); }
.blog-card p { color: var(--muted); margin-bottom: 16px; }
.blog-read-more { color: var(--primary); font-weight: 600; text-decoration: none; }
.blog-read-more:hover { text-decoration: underline; }

.blog-breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 28px; }
.blog-breadcrumb a { color: var(--primary); text-decoration: none; }
.blog-breadcrumb a:hover { text-decoration: underline; }

/* Článek */
.article-wrap { max-width: calc(860px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--gutter) var(--section-y); }
.article-header { margin-bottom: 40px; }
.article-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.article-header h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 18px; }
.article-header .lead { font-size: 1.18rem; color: #475569; line-height: 1.7; border-left: 4px solid var(--primary); padding-left: 18px; }

.article-body h2 { font-size: 1.55rem; font-weight: 800; margin: 48px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.article-body h3 { font-size: 1.15rem; color: var(--primary-dark); margin: 28px 0 10px; }
.article-body p { color: #2b3a4f; font-size: 1.04rem; line-height: 1.85; margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 8px 0 22px 24px; }
.article-body li { color: #2b3a4f; font-size: 1.04rem; line-height: 1.8; margin-bottom: 6px; }
.article-body strong { color: var(--ink); }
.article-body a { color: var(--primary); font-weight: 600; }

.info-box { background: var(--grad-brand-soft); border: 1px solid #dfe5ff; border-radius: var(--r-md); padding: 20px 24px; margin: 28px 0; }
.info-box p { margin-bottom: 0; }
.info-box strong { color: var(--primary-dark); }

.warning-box { background: #fff7ed; border: 1px solid #fed7aa; border-radius: var(--r-md); padding: 20px 24px; margin: 28px 0; }
.warning-box p { margin-bottom: 0; color: #92400e; }

.comparison-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .96rem; }
.comparison-table th { background: var(--grad-brand-deep); color: #fff; padding: 12px 16px; text-align: left; font-weight: 600; }
.comparison-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); color: #2b3a4f; vertical-align: top; }
.comparison-table tr:nth-child(even) td { background: #f8fafc; }
.comparison-table .check { color: #15803d; font-weight: 700; }
.comparison-table .cross { color: var(--danger); font-weight: 700; }

.article-cta {
  background: var(--grad-dark);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  text-align: center;
  margin: 52px 0 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.article-cta h3 { font-size: 1.5rem; margin-bottom: 10px; color: #fff; }
.article-cta p { color: #dbe3ff; margin-bottom: 24px; }
.article-cta .btn-primary { background: #fff; color: var(--primary-dark); }

@media (max-width: 640px) {
  .comparison-table { display: block; overflow-x: auto; }
}

/* ---------- Patička ---------- */

.site-footer { background: var(--ink); color: #b6c2d9; position: relative; }

.footer-inner {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) var(--gutter) 36px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  font-size: .94rem;
}

.logo-footer { height: 32px; margin-bottom: 14px; }
.footer-about { color: #94a3b8; max-width: 26em; margin-bottom: 8px; }

.footer-inner a { color: #cbd5e6; text-decoration: none; transition: color .15s ease; }
.footer-inner a:hover { color: #fff; text-decoration: underline; }

.footer-inner strong {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.footer-inner p { line-height: 1.8; }
.footer-links { list-style: none; display: grid; gap: 9px; }

.footer-bottom {
  margin: 0 var(--inline);
  padding: 22px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: .85rem;
  color: #8393ab;
}
.footer-bottom a { color: #b6c2d9; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 960px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Cookie lišta a tlačítko nahoru ---------- */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 760px;
  margin: 0 auto;
  background: var(--ink);
  color: #dbe3f1;
  border-radius: var(--r-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 1200;
  box-shadow: var(--shadow-lg);
  font-size: .9rem;
}
.cookie-banner a { color: #a5b4fc; }
.cookie-banner .btn-primary { background: #fff; color: var(--primary-dark); box-shadow: none; flex-shrink: 0; }

@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; }
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary-dark);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 900;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { background: var(--primary-50); }

/* ---------- Drobné úpravy pro mobil ---------- */

@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
  .price-enterprise .btn { width: 100%; }
  .cta-strip-inner .hero-actions { width: 100%; }
  .nav-inner { padding-block: 10px; }
  .logo-img { height: 30px; }
  .form-switch { max-width: none; }
}

/* ---------- Ceník v kostce (úvodní strana) ---------- */

.plan-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1100px) { .plan-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .plan-mini-grid { grid-template-columns: 1fr; } }

.plan-mini {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 30px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease;
}
.plan-mini:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.plan-mini-highlight { border: 2px solid var(--primary); box-shadow: var(--shadow-brand), var(--shadow-md); }
.plan-mini h3 { font-size: 1.3rem; font-weight: 800; }
.plan-mini-limit { color: var(--muted); font-size: .94rem; margin-bottom: 14px; }
.plan-mini-price { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.plan-mini-price span { font-size: .92rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-mini .price-vat { margin-bottom: 20px; }
.plan-mini .btn { margin-top: auto; }

.plans-note { text-align: center; margin-top: 32px; color: var(--muted); }
.plans-note a { color: var(--primary); font-weight: 600; }

/* ---- overrides: checkbox/radio uvnitř .form-row nesmí dědit width:100% ---- */
.form-row .addon-pick input,
.form-row .radio-card input,
.form-row input[type="checkbox"],
.form-row input[type="radio"] { width: auto; padding: 0; }
.pricing-faq { padding-top: 24px; }
.form-row .addon-pick label { display: flex; flex-direction: column; gap: 2px; margin: 0; font-weight: 400; }
.addon-pick-name, .addon-pick-price { display: block; }
.addon-pick-price { white-space: nowrap; }

/* Kompaktní karty na mobilu: ikona vlevo */
@media (max-width: 640px) {
  .card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 18px; }
  .card .card-icon { grid-row: 1 / span 2; margin: 0; width: 44px; height: 44px; font-size: 1.25rem; }
  .card h3 { margin: 2px 0 4px; font-size: 1.05rem; }
  .card > p, .card > .addon-tag, .card > .card-link { grid-column: 2; }
  .card > ul { grid-column: 1 / -1; }
}

/* 404 */
.section-head h1 { text-wrap: balance; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 14px; }
.err-actions { justify-content: center; margin-top: 28px; }
main > .section { padding: clamp(72px, 10vw, 140px) var(--inline); }
.legal h2.legal-title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 8px; padding-top: 0; color: var(--text); }

/* ---- Logo cf4u + wordmark ---- */
.logo-link { gap: 10px; }
.logo-mark { height: 38px; width: auto; display: block; }
.logo-link-footer { margin-bottom: 14px; display: inline-flex; }
.logo-link-footer .logo-footer { margin-bottom: 0; }
@media (max-width: 640px) { .logo-mark { height: 32px; } }

/* =========================================================
   Podstránky modulů (e-podpis, sklad, servis, …)
   ========================================================= */
.mp-sec { padding: var(--section-y) var(--inline); }
.mp-sec.alt { background: var(--bg-soft); }
.mp-sec.tight { padding-top: 0; }

.mp-split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.mp-split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 16px; text-wrap: balance; }
.mp-split p { color: var(--muted); font-size: 1.05rem; margin-bottom: 14px; }

.checklist { list-style: none; margin: 18px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: var(--text); font-size: 1.02rem; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #d1fae5; color: var(--success);
  display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800;
}

.mp-aside {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 30px 28px; box-shadow: var(--shadow-md);
  position: sticky; top: 96px;
}
.mp-aside .card-icon { margin-bottom: 14px; }
.mp-aside-price { font-size: 2.4rem; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.mp-aside-price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.mp-aside-vat { color: var(--muted); font-size: .9rem; margin: 4px 0 18px; }
.mp-aside .btn { width: 100%; justify-content: center; margin-top: 10px; }
.mp-aside-note { margin-top: 16px; font-size: .86rem; color: var(--muted); line-height: 1.5; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; counter-reset: st; }
.steps li {
  counter-increment: st; position: relative;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 62px 24px 24px; box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(st); position: absolute; left: 24px; top: 20px;
  width: 32px; height: 32px; border-radius: 10px; background: var(--grad-brand-deep); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.steps h3 { font-size: 1.08rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .96rem; }

.mp-note { max-width: 920px; margin: 0 auto; }
.mp-note .info-box, .mp-note .warning-box { margin: 0; }
.mp-note p { color: #2b3a4f; line-height: 1.7; }

.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.related-card {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 22px;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.related-card:hover { box-shadow: var(--shadow-md); border-color: #cfd6ff; transform: translateY(-2px); }
.related-card small { color: var(--primary); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.related-card strong { color: var(--ink); font-size: 1.05rem; line-height: 1.35; }
.related-card span { color: var(--muted); font-size: .92rem; }

.mp-sec .section-head { margin-bottom: clamp(28px, 4vw, 44px); }

/* přehled doplňků / stránky s kartami odkazů */
.card-link-block { text-decoration: none; color: inherit; }
.card .card-more { margin-top: auto; padding-top: 14px; color: var(--primary); font-weight: 700; font-size: .93rem; }
.card-price-tag { display: inline-block; margin-top: 12px; font-size: .82rem; font-weight: 700; color: var(--primary-dark); background: var(--primary-50); border-radius: 999px; padding: 4px 12px; }

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

@media (max-width: 900px) {
  .mp-split { grid-template-columns: 1fr; }
  .mp-aside { position: static; }
}

/* Patička: 5 sloupců */
.footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; gap: 32px; }
@media (max-width: 1100px) { .footer-inner { grid-template-columns: repeat(3, 1fr); } .footer-inner > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }
a.pricing-chip { text-decoration: none; color: inherit; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
a.pricing-chip:hover { border-color: var(--primary); background: var(--primary-50); transform: translateY(-1px); }

.nav-links .btn { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1180px) {
  .nav .logo-img { display: none; }
  .nav-links a:not(.btn) { padding-left: 10px; padding-right: 10px; }
}

/* Hlavička: jen logo (bez nápisu) */
.logo-mark-nav { height: 44px; }
@media (max-width: 640px) { .logo-mark-nav { height: 38px; } }


/* --- Zvýrazněné doplňky (E-podpis, Mobil), zaváděcí lišta, štítky vozidel --- */
.promo-strip {
  max-width: 900px;
  margin: 0 auto 32px;
  padding: 16px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid #dfe5ff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.promo-strip p { margin: 10px 0 0; color: var(--text); font-size: .95rem; }
.promo-strip a { color: var(--primary); font-weight: 600; }

.addon-spotlight {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 800px) { .addon-spotlight { grid-template-columns: 1fr; } }

.addon-card-featured,
.card.addon-card-featured {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, var(--primary-50), #fff 60%);
}
.addon-ribbon {
  display: inline-block;
  align-self: flex-start;
  background: var(--grad-brand-deep);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 4px;
}
.addon-points { list-style: none; margin: 8px 0 6px; padding: 0; display: grid; gap: 7px; }
.addon-points li { position: relative; padding-left: 24px; font-size: .93rem; color: var(--text); line-height: 1.45; }
.addon-points li::before { content: "\2713"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.card.addon-card-featured .addon-points { margin-bottom: 14px; }
