/* =====================================================================
   Jan Frydrych – Revize elektro & FVE
   Světlé (výchozí, bílé) i tmavé téma, vzdušný layout, lehké CSS animace.
   ===================================================================== */

/* ---------- Tokeny: světlé téma (výchozí) ---------- */
:root {
  --bg: #ffffff;
  --bg-2: #f6f7fa;
  --surface: #ffffff;
  --surface-2: #f6f7fa;
  --line: #e6e9f0;
  --line-strong: #cfd5e1;
  --text: #0f172a;
  --muted: #5b6577;
  --faint: #8b95a8;
  --accent: #b8760a;            /* jantar pro text a ikony (kontrast na bílé) */
  --accent-btn: #f5b62e;        /* jantar pro tlačítka a plochy */
  --accent-btn-hover: #ffc247;
  --accent-ink: #1a1200;
  --accent-soft: rgba(245, 182, 46, 0.16);
  --green: #1f9d63;
  --green-soft: rgba(31, 157, 99, 0.12);
  --danger: #d23f3f;
  --danger-soft: rgba(210, 63, 63, 0.1);
  --header-bg: rgba(255, 255, 255, 0.85);
  --grid-line: rgba(15, 23, 42, 0.06);
  --glow: rgba(245, 182, 46, 0.32);
  --shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.22);
  --shadow-lg: 0 34px 70px -30px rgba(15, 23, 42, 0.32);

  /* jantarová sekce – stejná v obou tématech (záměrně) */
  --amber-bg: #f5b62e;
  --amber-bg-2: #ffc94d;
  --amber-ink: #1a1200;
  --amber-muted: rgba(26, 18, 0, 0.7);
  --amber-line: rgba(26, 18, 0, 0.18);
  --amber-surface: rgba(255, 255, 255, 0.45);

  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --radius: 20px;
  --radius-sm: 12px;
  --gutter: clamp(18px, 4vw, 40px);
  --max: 1120px;
  --header-h: 72px;

  color-scheme: light;
}

/* Tmavé téma podle zařízení (pokud si uživatel ručně nevybral světlé) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1119;
    --bg-2: #0f1826;
    --surface: #151f31;
    --surface-2: #1b2740;
    --line: #253449;
    --line-strong: #34486a;
    --text: #edf1f7;
    --muted: #9aa7bc;
    --faint: #6b7890;
    --accent: #f5b62e;
    --accent-btn: #f5b62e;
    --accent-btn-hover: #ffcb5c;
    --accent-ink: #1a1200;
    --accent-soft: rgba(245, 182, 46, 0.12);
    --green: #47c98a;
    --green-soft: rgba(71, 201, 138, 0.14);
    --danger: #ff7a7a;
    --danger-soft: rgba(255, 122, 122, 0.12);
    --header-bg: rgba(11, 17, 25, 0.82);
    --grid-line: rgba(255, 255, 255, 0.04);
    --glow: rgba(245, 182, 46, 0.2);
    --shadow: 0 20px 50px -22px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

/* Ručně zvolené tmavé téma */
:root[data-theme="dark"] {
  --bg: #0b1119;
  --bg-2: #0f1826;
  --surface: #151f31;
  --surface-2: #1b2740;
  --line: #253449;
  --line-strong: #34486a;
  --text: #edf1f7;
  --muted: #9aa7bc;
  --faint: #6b7890;
  --accent: #f5b62e;
  --accent-btn: #f5b62e;
  --accent-btn-hover: #ffcb5c;
  --accent-ink: #1a1200;
  --accent-soft: rgba(245, 182, 46, 0.12);
  --green: #47c98a;
  --green-soft: rgba(71, 201, 138, 0.14);
  --danger: #ff7a7a;
  --danger-soft: rgba(255, 122, 122, 0.12);
  --header-bg: rgba(11, 17, 25, 0.82);
  --grid-line: rgba(255, 255, 255, 0.04);
  --glow: rgba(245, 182, 46, 0.2);
  --shadow: 0 20px 50px -22px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typografie ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.8vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 56ch;
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.mono { font-family: var(--font-mono); }

.fill {
  color: var(--accent);
  border-bottom: 1px dashed var(--accent);
  cursor: help;
}

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.2s ease; }
.btn:hover svg.arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--accent-btn);
  color: var(--accent-ink);
  box-shadow: 0 10px 24px -12px rgba(245, 182, 46, 0.8);
}
.btn-primary:hover { background: var(--accent-btn-hover); box-shadow: 0 14px 28px -12px rgba(245, 182, 46, 0.9); }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-dark {
  background: var(--amber-ink);
  color: #fff;
}
.btn-dark:hover { background: #2b1f00; }

.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffc94d, #f0a800);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  flex: none;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}
.brand-tag::before {
  content: "";
  width: 1px; height: 18px;
  background: var(--line-strong);
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0 12px 0 0; padding: 0;
}
.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-links a:hover { color: var(--text); background: var(--accent-soft); }
.nav-links a.is-active { color: var(--text); }

.icon-btn {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 20px; height: 20px; }

.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
}

.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(64px, 9vw, 128px) clamp(56px, 7vw, 104px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 65% 60% at 50% 30%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at 50% 30%, #000 20%, transparent 100%);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  width: 820px; height: 820px;
  right: -300px; top: -340px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 62%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.hero-copy { display: grid; gap: 26px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.hero-badge b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-btn);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.hero-badge b::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-ink);
}

.hero-copy h1 .hl {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hero-copy h1 .hl::after {
  /* jantarový podtah pod klíčovým slovem */
  content: "";
  position: absolute;
  left: -0.05em; right: -0.05em; bottom: 0.08em;
  height: 0.32em;
  background: var(--accent-btn);
  border-radius: 0.1em;
  z-index: -1;
  opacity: 0.9;
  transform-origin: left;
  animation: underline-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.6s both;
}
@keyframes underline-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* stejná animace pod jiným názvem – po kliknutí na logo se spustí znovu */
@keyframes underline-again { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-copy h1 .hl.replay::after { animation-name: underline-again; animation-delay: 0.35s; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--green); }

/* Ukázka revizní zprávy – jen na větších obrazovkách */
.hero-visual { position: relative; }
.report-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 26px 28px 24px;
  font-size: 0.93rem;
}
.report-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%; height: 6px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, #ffc94d, #f0a800);
}
.report-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.report-head strong { font-family: var(--font-display); font-size: 1.1rem; }
.report-head .tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.report-rows { display: grid; gap: 12px; padding: 18px 0 16px; margin: 0; }
.report-rows div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: baseline; }
.report-rows dt {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.report-rows dd { margin: 0; color: var(--text); font-weight: 500; }
.report-rows dd.mono { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.report-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  background: var(--green-soft);
  color: var(--green);
  font-weight: 600;
}
.report-result svg { width: 22px; height: 22px; flex: none; }

/* plovoucí štítky kolem karty */
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.float-chip svg { width: 18px; height: 18px; color: var(--accent); }
.float-chip.chip-a { top: -18px; left: -26px; }
.float-chip.chip-b { bottom: -16px; right: -18px; animation-delay: -3s; }
.float-chip.chip-b svg { color: var(--green); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---------- Pruh důvěry ---------- */
.trust { padding-block: 8px 0; }
.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0; padding: 0;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.92rem;
}
.trust-list svg { width: 24px; height: 24px; color: var(--accent); flex: none; }
.trust-list small { display: block; font-weight: 500; color: var(--muted); font-size: 0.8rem; }

/* ---------- Sekce ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-alt { background: var(--bg-2); }

/* Jantarová sekce – brandová plocha, stejná ve světlém i tmavém */
.section-amber {
  background: linear-gradient(135deg, var(--amber-bg-2), var(--amber-bg));
  color: var(--amber-ink);
}
.section-amber .eyebrow { color: var(--amber-ink); }
.section-amber .eyebrow::before { background: var(--amber-ink); }
.section-amber .lead { color: var(--amber-muted); }

/* Služby – karty s rozbalením; align-items: start, aby se roztáhla jen ta rozkliknutá */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.service {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 22px;
  display: grid;
  gap: 16px;
  align-content: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.service-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.service-icon svg { width: 28px; height: 28px; }
.service p { color: var(--muted); font-size: 0.96rem; }

.service details { border-top: 1px solid var(--line); margin-top: 4px; }
.service summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}
.service summary::-webkit-details-marker { display: none; }
.service summary svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.service details[open] summary svg { transform: rotate(45deg); }
.service ul {
  margin: 0; padding: 0 0 6px;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.93rem;
}
.service li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.service li svg { width: 18px; height: 18px; color: var(--green); margin-top: 3px; }
.norms { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; }
.norms span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--muted);
}

/* Výhody */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.benefit {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.benefit-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.benefit-icon svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 1.05rem; }
.benefit p { color: var(--muted); font-size: 0.93rem; }

/* Postup – v jantarové sekci */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  background: var(--amber-surface);
  border: 1px solid var(--amber-line);
  display: grid;
  gap: 12px;
  align-content: start;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--amber-ink);
  color: var(--amber-bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.step h3 { font-size: 1.1rem; margin-top: 4px; color: var(--amber-ink); }
.step p { color: var(--amber-muted); font-size: 0.93rem; }
.steps-cta {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 24px;
  color: var(--amber-muted);
  font-weight: 600;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.faq-grid .section-head { margin-bottom: 0; }
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1fr 22px;
  gap: 16px;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; color: var(--accent); transition: transform 0.2s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq-body { padding: 0 20px 20px; color: var(--muted); font-size: 0.95rem; max-width: 62ch; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.contact-info { display: grid; gap: 28px; }
.contact-info .section-head { margin-bottom: 0; }
.contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; }
.contact-list .ico {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.contact-list a, .contact-list b { text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.contact-list a:hover { color: var(--accent); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.97rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b95a8' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field textarea { min-height: 124px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field-error { display: none; font-size: 0.8rem; color: var(--danger); }
.field.is-invalid .field-error { display: block; }

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.85rem;
  color: var(--muted);
}
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent-btn); }
.consent a { color: var(--text); text-underline-offset: 2px; }
.consent.is-invalid { color: var(--danger); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Ověření, že je člověk (Cloudflare Turnstile) */
.captcha { display: grid; gap: 6px; min-height: 65px; }
.captcha .field-error { display: none; }
.captcha.is-invalid .field-error { display: block; }
.captcha-note { font-size: 0.78rem; color: var(--faint); }

.form-status { display: none; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.95rem; line-height: 1.5; }
.form-status.is-success { display: block; background: var(--green-soft); color: var(--green); }
.form-status.is-error { display: block; background: var(--danger-soft); color: var(--danger); }
.form-footer { display: grid; gap: 14px; grid-column: 1 / -1; }
.form-footer .fine { font-size: 0.78rem; color: var(--faint); text-align: center; }

/* ---------- Patička ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 32px;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  align-items: center;
}
.footer-inner strong { color: var(--text); }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--accent); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- Cookie lišta ---------- */
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 18px;
  margin-inline: auto;
  z-index: 60;
  width: min(calc(100% - 32px), 720px);
  display: none;
  grid-template-columns: 1fr auto;
  gap: 12px 18px;
  align-items: center;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  color: var(--muted);
  animation: rise 0.5s ease both;
}
.cookie-bar.is-visible { display: grid; }
.cookie-bar a { color: var(--text); }
.cookie-bar .btn { padding: 11px 18px; font-size: 0.9rem; }

/* ---------- Podstránka Zásady ---------- */
.legal { padding-block: clamp(48px, 7vw, 88px); }
.legal-inner { max-width: 760px; margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 10px; }
.legal .updated { color: var(--faint); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 40px; }
.legal h2 { font-size: 1.45rem; margin: 44px 0 14px; }
.legal h3 { font-size: 1.08rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 1rem; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.legal strong { color: var(--text); }
.legal a { color: var(--text); text-underline-offset: 2px; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.93rem;
}
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.legal th { color: var(--text); font-weight: 600; font-size: 0.85rem; }
.legal .table-wrap { overflow-x: auto; }
.legal .box {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--line);
  margin-top: 16px;
}
.back-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; color: var(--muted); margin-bottom: 28px; }
.back-link:hover { color: var(--accent); }
.back-link svg { width: 18px; height: 18px; }

/* ---------- Animace ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
.hero-copy > * { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-copy > :nth-child(1) { animation-delay: 0.05s; }
.hero-copy > :nth-child(2) { animation-delay: 0.15s; }
.hero-copy > :nth-child(3) { animation-delay: 0.25s; }
.hero-copy > :nth-child(4) { animation-delay: 0.35s; }
.hero-copy > :nth-child(5) { animation-delay: 0.45s; }
.hero-visual { animation: card-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both; }

.reveal { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.6s ease; }
.js .reveal:not(.is-visible) { opacity: 0.001; transform: translateY(20px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal:not(.is-visible) { opacity: 1; transform: none; }
  .cookie-bar { animation: none; }
}

/* ---------- Responzivita ---------- */
@media (max-width: 1080px) {
  .brand-tag { display: none; }
  .services { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .trust-list { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .float-chip.chip-a { left: -8px; }
  .float-chip.chip-b { right: -8px; }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }          /* ukázka zprávy jen na desktopu */
  .hero-copy h1 .hl { white-space: normal; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; }

  .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    flex-direction: column;
    gap: 2px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px var(--gutter) 14px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 12px; font-size: 1.05rem; color: var(--text); border-radius: var(--radius-sm); }
  .nav-links .mobile-only a { color: var(--accent); }
}

@media (min-width: 881px) {
  .nav-links .mobile-only { display: none; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .brand-mark { width: 36px; height: 36px; }
  .services, .benefits, .trust-list, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-badge { font-size: 0.8rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .cookie-bar { grid-template-columns: 1fr; bottom: 12px; }
  .cookie-bar .btn { width: 100%; }
}

.legal code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text);
}

/* ---------- Vizitka v kontaktu ---------- */
.vcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
  display: grid;
  gap: 22px;
  box-shadow: var(--shadow);
}
.vcard-head { display: flex; align-items: center; gap: 14px; }
.vcard-head > div { display: grid; gap: 2px; }
.vcard-head strong { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.01em; }
.vcard-head span { color: var(--muted); font-size: 0.9rem; }
.vcard-mark {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffc94d, #f0a800);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  flex: none;
}
.vcard-mark svg { width: 28px; height: 28px; }
.vcard .contact-list { padding-top: 18px; border-top: 1px solid var(--line); }
.vcard-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vcard-actions .btn { flex: 1 1 140px; }

.form-head { display: grid; gap: 6px; margin-bottom: 22px; }
.form-head h3 { font-size: 1.35rem; }
.form-head p { color: var(--muted); font-size: 0.95rem; }
