@charset "UTF-8";

/*
Theme Name: Temprio
Author: Michal Hančil
Author URI: https://michalhancil.cz/
Description: Šablona na míru pro prezentační web aplikace Temprio. Pro úpravy či asistenci se obraťte na Michala Hančila, autora šablony.
Version: 1.0
Requires PHP: 8
*/

/* ============================================================
   PROMĚNNÉ — světlý a tmavý režim
============================================================ */
:root {
  --primary: #19A8E3;
  --primary-strong: #127fac;
  --success: #1CC88A;
  --warn: #FFC107;
  --err: #DC3545;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #F9FAFB;
  --border: #e6eaee;
  --ink: #141A21;
  --muted: #637381;
  --shadow-strong: rgba(20, 26, 33, 0.35);
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-head: 'Sora', 'Manrope', sans-serif;
}

[data-theme="dark"] {
  --bg: #0f151b;
  --surface: #182029;
  --surface-2: #131a21;
  --border: #28323c;
  --ink: #eef3f7;
  --muted: #93a1ae;
  --err: #e5484d;
  --shadow-strong: rgba(0, 0, 0, 0.6);
}

/* ============================================================
   ZÁKLAD
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-head);
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-strong);
}

img {
  max-width: 100%;
  height: auto;
}

input,
textarea {
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Viditelný focus jen pro ovládání z klávesnice */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
summary:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Ikony — Material Symbols Rounded (ligatury) */
[data-ic] {
  font-family: 'Material Symbols Rounded';
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.ic-success { color: var(--success); }
.ic-primary { color: var(--primary); }
.ic-muted { color: var(--muted); }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 820px;
}

/* ============================================================
   TLAČÍTKA
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 11px;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
}

.btn-outline {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
}

.btn-outline:hover {
  color: var(--ink);
  border-color: var(--primary);
}

.btn-ghost {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 13.5px;
  padding: 9px 15px;
  border-radius: 10px;
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--primary);
}

.btn-lg {
  padding: 15px 26px;
  border-radius: 12px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
  margin-top: 4px;
}

/* ============================================================
   HLAVIČKA
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 600;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.theme-toggle:hover {
  border-color: var(--primary);
}

.theme-toggle [data-ic] {
  font-size: 20px;
}

/* Přepínač v kartě Přizpůsobení má textový popisek a chová se jako běžné tlačítko */
.btn.theme-toggle {
  display: inline-flex;
  width: auto;
  height: auto;
  font-weight: 700;
}

.btn.theme-toggle [data-ic] {
  font-size: 18px;
}

.nav-toggler {
  display: none;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
  margin-left: auto;
}

.nav-toggler-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.65rem;
  height: 18px;
}

.nav-toggler-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s ease-in-out, opacity 0.25s ease-in-out;
  transform-origin: center;
}

.nav-toggler[aria-expanded="true"] .nav-toggler-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggler[aria-expanded="true"] .nav-toggler-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggler[aria-expanded="true"] .nav-toggler-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 991px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-toggler {
    display: block;
    order: 2;
  }

  .nav-actions {
    order: 3;
  }

  .btn-nav {
    display: none;
  }

  .nav-links {
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-left: 0;
    overflow: hidden;
    height: 0;
    transition: height 0.35s ease-in-out;
  }

  .nav-links a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }
}

/* ============================================================
   HERO
============================================================ */
.hero > *,
.split > * {
  min-width: 0;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(48px, 7vw, 92px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary-strong);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
}

[data-theme="dark"] .pill {
  color: var(--primary);
}

.pill [data-ic] {
  font-size: 16px;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-lead {
  margin-top: 22px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 34ch;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hero-note [data-ic] {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   MOCKUP APLIKACE
============================================================ */
.mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 30px 70px -30px var(--shadow-strong);
  overflow: hidden;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.mockup-url {
  margin-left: 12px;
  flex: 1;
  padding: 5px 12px;
  border-radius: 7px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 480px) {
  .mockup-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mockup-kpi {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}

.kpi-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

.kpi-value {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  margin-top: 3px;
}

.kpi-err { color: var(--err); }
.kpi-success { color: var(--success); }

.mockup-kanban {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.kanban-head {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.kanban-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
}

.kanban-card:last-child {
  margin-bottom: 0;
}

.kanban-card-active {
  background: var(--surface);
  border-color: var(--primary);
}

.kanban-card-done {
  opacity: 0.75;
}

.kanban-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 9px;
}

.kanban-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
}

/* Chipy stavů */
.chip {
  display: inline-block;
  margin-top: 9px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.chip-primary {
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  color: var(--primary-strong);
}

[data-theme="dark"] .chip-primary {
  color: var(--primary);
}

.chip-warn {
  background: color-mix(in srgb, var(--warn) 22%, transparent);
  color: #916a00;
}

[data-theme="dark"] .chip-warn {
  color: var(--warn);
}

.chip-success {
  background: color-mix(in srgb, var(--success) 20%, transparent);
  color: #0a8a5c;
}

[data-theme="dark"] .chip-success {
  color: var(--success);
}

.chip-neutral {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--ink);
}

.kanban-row .chip,
.timeline-head .chip,
.role-chips .chip {
  margin-top: 0;
}

/* ============================================================
   INTERAKTIVNÍ UKÁZKA V HERO
============================================================ */
.kanban-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.demo-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 14px 0;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.demo-tab {
  padding: 8px 13px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.demo-tab:hover {
  color: var(--ink);
}

.demo-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.demo-screens {
  position: relative;
  padding: 18px;
  min-height: 305px;
}

.demo-screen[hidden] {
  display: none;
}

.demo-screen.active {
  display: block;
  animation: demo-in 0.35s ease;
}

@keyframes demo-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-screen.active {
    animation: none;
  }
}

.demo-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.demo-detail-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
}

.demo-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.demo-meta-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
}

.demo-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.demo-screen .demo-list:first-child {
  margin-top: 0;
}

.demo-row {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

.demo-row [data-ic] {
  font-size: 20px;
  flex-shrink: 0;
}

.demo-row-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.demo-row-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
}

.demo-row .chip {
  margin-top: 0;
}

.demo-client-avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 16%, transparent);
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

[data-theme="dark"] .demo-client-avatar {
  color: var(--primary);
}

/* ============================================================
   KONFIGURÁTOR PŘIZPŮSOBENÍ
============================================================ */
.configurator {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

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

.conf-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.conf-group {
  margin: 0;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.conf-group legend {
  float: left;
  width: 100%;
  padding: 0;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
}

.conf-group legend + * {
  clear: both;
}

.conf-hint {
  margin: 6px 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.conf-custom strong {
  font-family: var(--font-head);
  font-size: 15px;
}

.conf-custom .conf-hint {
  margin-bottom: 0;
}

.conf-colors {
  display: flex;
  gap: 10px;
}

.conf-color {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 2px solid transparent;
  background: var(--swatch);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.conf-color:hover {
  transform: scale(1.08);
}

.conf-color[aria-pressed="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--surface);
}

.conf-switch,
.conf-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.conf-switch input,
.conf-radio input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.switch-track {
  width: 36px;
  height: 21px;
  border-radius: 999px;
  background: var(--border);
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.switch-track span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.conf-switch input:checked + .switch-track {
  background: var(--primary);
}

.conf-switch input:checked + .switch-track span {
  transform: translateX(15px);
}

.conf-switch input:focus-visible + .switch-track,
.conf-radio input:focus-visible + .radio-dot {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.radio-dot {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 2px solid var(--border);
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.15s ease;
}

.conf-radio input:checked + .radio-dot {
  border-color: var(--primary);
}

.conf-radio input:checked + .radio-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--primary);
}

/* Živý náhled aplikace */
.conf-preview {
  --demo-primary: #19A8E3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px -34px var(--shadow-strong);
}

.conf-preview-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.conf-preview-logo {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--demo-primary);
  transition: background 0.25s ease;
}

.conf-preview-name {
  font-weight: 700;
  font-size: 13.5px;
}

.conf-preview-role {
  margin-left: auto;
  margin-top: 0;
}

.conf-preview-body {
  display: grid;
  grid-template-columns: minmax(150px, 190px) 1fr;
  min-height: 300px;
}

.conf-preview-nav {
  border-right: 1px solid var(--border);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.conf-nav-item[hidden] {
  display: none;
}

.conf-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.conf-nav-item [data-ic] {
  font-size: 18px;
}

.conf-nav-item.active {
  background: color-mix(in srgb, var(--demo-primary) 13%, transparent);
  color: var(--demo-primary);
}

.conf-preview-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.conf-skeleton {
  height: 12px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.conf-skeleton-btn {
  height: auto;
  align-self: flex-start;
  padding: 8px 14px;
  border: none;
  border-radius: 9px;
  background: var(--demo-primary);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  transition: background 0.25s ease;
}

@media (max-width: 560px) {
  .conf-preview-body {
    grid-template-columns: 1fr;
  }

  .conf-preview-nav {
    border-right: none;
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ============================================================
   DŮVĚRYHODNOST
============================================================ */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.trust-inner {
  padding-top: 26px;
  padding-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.trust-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-badge {
  padding: 8px 16px;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

/* ============================================================
   SEKCE
============================================================ */
.section {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.section-alt {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}

.section-bordered {
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
}

.section-head-center {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-strong);
}

[data-theme="dark"] .eyebrow {
  color: var(--primary);
}

.eyebrow [data-ic] {
  font-size: 16px;
}

.eyebrow-success {
  color: var(--success);
}

[data-theme="dark"] .eyebrow-success {
  color: var(--success);
}

.section h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.1;
}

.section-lead {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

/* ============================================================
   MŘÍŽKY A KARTY
============================================================ */
.grid {
  margin-top: 44px;
  display: grid;
  gap: 20px;
}

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

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

.grid-steps {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

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

.card h3 {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 700;
}

.card p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}

.card-icon {
  font-size: 28px;
  color: var(--primary);
}

.card-benefit .card-icon {
  font-size: 30px;
}

.card-benefit h3 {
  margin-top: 16px;
  font-size: 19px;
}

.card-benefit p {
  margin-top: 9px;
  font-size: 15px;
  line-height: 1.55;
}

.card-feature {
  border-radius: 14px;
  padding: 22px;
}

.card-feature:hover {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.feature-head [data-ic] {
  font-size: 24px;
  color: var(--primary);
}

.feature-head h3 {
  margin: 0;
  font-size: 17px;
}

.card-feature p {
  margin-top: 11px;
}

/* Připravované funkce pod mřížkou funkcí */
.roadmap {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 18px 24px;
  border: 1px dashed color-mix(in srgb, var(--primary) 45%, var(--border));
  border-radius: 14px;
  background: color-mix(in srgb, var(--primary) 5%, transparent);
}

.roadmap-badge {
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.roadmap-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
}

.roadmap-item [data-ic] {
  font-size: 20px;
  color: var(--primary);
}

.roadmap-note {
  flex-basis: 100%;
  font-size: 13.5px;
  color: var(--muted);
}

.card-step {
  position: relative;
  padding: 28px;
}

.step-number {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
}

.step-icon {
  display: block;
  font-size: 30px;
  color: var(--ink);
  margin-top: 12px;
}

.card-step h3 {
  font-size: 19px;
}

.card-step p {
  margin-top: 9px;
  font-size: 15px;
  line-height: 1.55;
}

/* ============================================================
   DVOJSLOUPCOVÉ SEKCE (Pro klienty, Poptávka)
============================================================ */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.split-top {
  align-items: start;
}

.split h2 {
  margin-top: 14px;
}

.check-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  font-weight: 600;
}

.check-item [data-ic] {
  font-size: 22px;
}

/* ============================================================
   TIMELINE (mockup pro klienty)
============================================================ */
.mockup-timeline {
  box-shadow: 0 30px 70px -34px var(--shadow-strong);
}

.timeline-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--primary);
  flex-shrink: 0;
}

.timeline-title {
  font-weight: 700;
  font-size: 14px;
}

.timeline-head .chip {
  margin-left: auto;
  padding: 3px 10px;
  font-size: 11px;
  min-width: 64px;
  text-align: center;
}

.timeline-body {
  padding: 22px 20px;
}

.timeline-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-bar {
  width: 2px;
  flex: 1;
  min-height: 26px;
  background: var(--border);
  transition: background 0.3s ease;
}

/* Stavový kroužek: prázdný = čeká, tečka = probíhá, zelená fajfka = hotovo.
   Tečka a fajfka jsou dvě samostatné vrstvy a prolínají se přes opacity,
   aby se při změně stavu vizuálně nepřekrývaly */
.timeline-state {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.timeline-state::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.timeline-state::after {
  content: 'check';
  font-family: 'Material Symbols Rounded';
  font-size: 14px;
  line-height: 1;
  color: #fff;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.timeline-item.is-active .timeline-state {
  border-color: var(--primary);
}

.timeline-item.is-active .timeline-state::before {
  opacity: 1;
  transform: scale(1);
}

.timeline-item.is-done .timeline-state {
  border-color: var(--success);
  background: var(--success);
}

.timeline-item.is-done .timeline-state::after {
  opacity: 1;
  transform: scale(1);
}

.timeline-item.is-done .timeline-bar {
  background: var(--success);
}

.timeline-text {
  padding-bottom: 18px;
}

.timeline-item:last-child .timeline-text {
  padding-bottom: 0;
}

.timeline-label {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.3s ease;
}

.timeline-item.is-done .timeline-label {
  color: var(--ink);
}

.timeline-item.is-active .timeline-label {
  color: var(--primary-strong);
}

[data-theme="dark"] .timeline-item.is-active .timeline-label {
  color: var(--primary);
}

.timeline-date {
  font-size: 12.5px;
  color: var(--muted);
}

/* ============================================================
   CENÍK
============================================================ */
.grid-pricing {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  align-items: start;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}

.card-price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
}

.card-price h3 {
  margin-top: 0;
  font-size: 20px;
}

.price-desc {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
  min-height: 44px;
}

.price {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.price-value {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.price-list {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
}

.price-list [data-ic] {
  font-size: 19px;
  flex-shrink: 0;
}

/* Rozbalitelná nápověda u položky tarifu */
.price-hint {
  flex: 1;
}

.price-hint summary {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  list-style: none;
}

.price-hint summary::-webkit-details-marker {
  display: none;
}

.price-hint summary::after {
  content: 'help';
  font-family: 'Material Symbols Rounded';
  font-size: 16px;
  color: var(--muted);
}

.price-hint[open] summary::after {
  content: 'close';
}

.price-hint > span {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
}

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

.card-price-featured {
  border-color: var(--primary);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pricing-note {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.pricing-note [data-ic] {
  font-size: 18px;
}

/* ============================================================
   POPTÁVKOVÝ FORMULÁŘ
============================================================ */
.form-card {
  border-radius: 18px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 24px 60px -34px var(--shadow-strong);
}

.form-card form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-card label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
}

.form-card input,
.form-card textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
}

.form-card textarea {
  resize: vertical;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

.form-tarif {
  margin: 0;
  padding: 9px 14px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary-strong);
  font-size: 13.5px;
  font-weight: 600;
}

[data-theme="dark"] .form-tarif {
  color: var(--primary);
}

.form-tarif[hidden] {
  display: none;
}

/* Hlášky formuláře: barevný zaoblený box
   červená = chyba, oranžová = upozornění, zelená = odesláno */
.form-message {
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  line-height: 1.5;
}

.form-message[hidden] {
  display: none;
}

.form-message a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

.form-message-error {
  background: color-mix(in srgb, var(--err) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--err) 35%, transparent);
  color: var(--err);
}

.form-message-warn {
  background: color-mix(in srgb, var(--warn) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent);
  color: #916a00;
}

[data-theme="dark"] .form-message-warn {
  color: var(--warn);
}

.form-message-ok {
  background: color-mix(in srgb, var(--success) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--success) 35%, transparent);
  color: #0a8a5c;
}

[data-theme="dark"] .form-message-ok {
  color: var(--success);
}

/* Honeypot — pole skryté pro lidi, roboti ho vyplní */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

/* ============================================================
   FAQ
============================================================ */
.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 22px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  font-weight: 700;
  font-size: 16.5px;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item [data-chev] {
  font-size: 22px;
  color: var(--primary);
  transition: transform 0.2s;
}

.faq-item[open] [data-chev] {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 18px 36px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ============================================================
   PATIČKA
============================================================ */
.site-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}

.site-footer > .container {
  padding-top: clamp(44px, 5vw, 64px);
  padding-bottom: clamp(44px, 5vw, 64px);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
}

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
  box-shadow: none;
}

.footer-desc {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 30ch;
}

.footer-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-links {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
}

.footer-links a {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links [data-ic] {
  font-size: 18px;
  color: var(--primary);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-links .footer-cta {
  color: var(--primary-strong);
  font-weight: 700;
}

[data-theme="dark"] .footer-links .footer-cta {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* ============================================================
   COOKIE LIŠTA
============================================================ */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 24px 60px -24px var(--shadow-strong);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  font-family: var(--font-head);
  font-size: 15px;
}

.cookie-banner p {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.cookie-banner-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner-buttons .btn {
  flex: 1;
  font-size: 14px;
  padding: 11px 16px;
}

/* ============================================================
   SCROLL ANIMACE — data-motion
============================================================ */
[data-motion] {
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

[data-motion="fade-up"] {
  transform: translateY(30px);
}

[data-motion="fade-down"] {
  transform: translateY(-30px);
}

[data-motion="fade-left"] {
  transform: translateX(30px);
}

[data-motion="fade-right"] {
  transform: translateX(-30px);
}

[data-motion="zoom-in"] {
  transform: scale(0.9);
}

[data-motion].motion-animate {
  opacity: 1;
  transform: none;
}

/* Karty s vlastním data-motion: hover posun musí přebít motion-animate
   (transform: none) i jeho pomalou transition */
[data-motion].motion-animate.card {
  transition: opacity 0.5s ease-in-out, transform 0.2s ease, border-color 0.2s ease;
}

[data-motion].motion-animate.card:hover {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  [data-motion] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   PODSTRÁNKY (page, single, 404)
============================================================ */
.page-wrap {
  min-height: 60vh;
}

.page-hero {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: clamp(40px, 5vw, 64px) 0;
}

.page-hero h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  font-weight: 800;
}

.page-wrap .content {
  padding: clamp(32px, 4vw, 56px) 0;
  font-size: 16px;
  line-height: 1.65;
}

.page-wrap .content h2,
.page-wrap .content h3 {
  margin: 1.4em 0 0.5em;
}

.page-wrap .content p {
  margin: 0 0 1em;
}

.single .date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.back-button {
  display: inline-block;
  margin-top: 24px;
}
