/* ============================================================
   KUBÍK GROUP — ÚČETNICTVÍ
   Light cream · Deep emerald accent · Playfair Display + Inter
   ============================================================ */

:root {
  --bg:           #eef4f8;
  --bg-soft:      #dee7ef;
  --bg-card:      #ffffff;
  --ink:          #1a1612;
  --ink-soft:     #3a342d;
  --muted:        #6b6359;
  --dim:          #9a9284;
  --border:       #d3dde7;
  --border-strong:#b4c1cd;
  --input-bg:     #ffffff;

  --accent:       #0e3b5e;
  --accent-hi:    #155478;
  --accent-lo:    #08243d;
  --accent-soft:  rgba(14, 59, 94, 0.08);
  --accent-glow:  rgba(14, 59, 94, 0.18);
  --accent-contrast: #ffffff;

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;

  --sh-sm: 0 2px 12px rgba(26, 22, 18, 0.04);
  --sh-md: 0 12px 36px rgba(26, 22, 18, 0.08);
  --sh-lg: 0 30px 80px rgba(26, 22, 18, 0.14);

  --container: 1200px;
  --section-space: 110px;
  --header-height: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;        /* fallback pro starší prohlížeče */
  overflow-x: clip;          /* moderní — netvoří scroll container, neblokuje sticky pin */
  position: relative;
  width: 100%;
  max-width: 100%;
}

main { overflow-x: clip; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

/* ============ Background (codex blue ethereal ambient) ============ */
.bg-ambient {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(70% 55% at 16% 8%, rgba(182, 211, 236, 0.42), transparent 70%),
    radial-gradient(62% 48% at 88% 14%, rgba(206, 227, 244, 0.32), transparent 72%),
    radial-gradient(75% 58% at 54% 92%, rgba(210, 223, 235, 0.24), transparent 74%),
    radial-gradient(45% 35% at 48% 44%, rgba(226, 238, 248, 0.22), transparent 76%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(300deg, rgba(217, 231, 243, 0.26) 6%, rgba(217, 231, 243, 0) 40%),
    linear-gradient(155deg, #ffffff 0%, #f8fbfe 55%, #f3f7fb 100%);
}

/* Simplified bg-grain — odebrány filter:blur+contrast, sníženo z 13 na 6 vrstev */
.bg-grain {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1100'%3E%3Cpath d='M60 190C180 60 380 40 500 130C620 220 650 390 560 500C470 610 250 640 130 540C10 440 -60 310 60 190Z' fill='%2386a8c7' fill-opacity='0.14'/%3E%3Cpath d='M960 90C1110 10 1340 40 1460 170C1580 300 1540 500 1400 590C1260 680 1040 660 930 540C820 420 810 170 960 90Z' fill='%237d9fbe' fill-opacity='0.12'/%3E%3Cpath d='M430 700C560 610 780 620 890 740C1000 860 970 1020 830 1080C690 1140 470 1110 360 990C250 870 300 790 430 700Z' fill='%238ba9c5' fill-opacity='0.11'/%3E%3Cpath d='M1120 640C1240 560 1420 570 1510 680C1600 790 1570 950 1460 1020C1350 1090 1170 1080 1080 980C990 880 1000 720 1120 640Z' fill='%237a98b6' fill-opacity='0.1'/%3E%3C/svg%3E"),
    radial-gradient(60% 50% at 20% 30%, rgba(28, 43, 58, 0.12), transparent 75%),
    radial-gradient(50% 40% at 80% 70%, rgba(33, 48, 64, 0.1), transparent 78%);
  background-size: 118% 118%, 100% 100%, 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.24;
  mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
}

/* Simplified highlights — sníženo z 6 na 2 spoty */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(20% 18% at 25% 35%, rgba(255, 255, 255, 0.18), transparent 80%),
    radial-gradient(15% 13% at 75% 60%, rgba(255, 255, 255, 0.13), transparent 82%);
  background-size: 100% 100%, 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  opacity: 0.36;
}

/* ============ Typography ============ */
h1, h2, h3, h4 {
  font-family: "Playfair Display", "Iowan Old Style", Palatino, serif;
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 18px;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-variation-settings: "opsz" 96;
  color: var(--accent);
  font-weight: 400;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-variation-settings: "opsz" 144; max-width: 18ch; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); font-variation-settings: "opsz" 96; }
h3 { font-size: 1.2rem; font-variation-settings: "opsz" 48; }

p { margin: 0 0 16px; color: var(--muted); }

.lead { font-size: 1.08rem; max-width: 56ch; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--accent);
}

.eyebrow-sm {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

.eyebrow-light { color: #ffffff; }
.eyebrow-light::before { background: #ffffff; }

/* ============ Layout ============ */
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: var(--section-space) 0;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

/* FAQ & Ceník: dlouhé sekce — start těsně pod hlavičkou pro maximum prostoru */
#faq, #pricing {
  scroll-margin-top: var(--header-height);
}

.section-alt {
  background: transparent;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading .eyebrow { justify-content: center; }

.section-heading h2 {
  margin-bottom: 22px;
  position: relative;
  padding-top: 28px;
}

.section-heading h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: var(--accent);
}

.section-heading p { font-size: 1.04rem; margin-bottom: 0; color: var(--ink-soft); }

.skip-link {
  position: absolute; left: 12px; top: -48px;
  background: var(--accent); color: #fff;
  padding: 10px 16px; border-radius: 10px;
  z-index: 1001; font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ============ Header — liquid glass (translucent, uncolored) ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 4px 24px rgba(15, 25, 40, 0.04);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.32);
  border-bottom-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    0 8px 28px rgba(15, 25, 40, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-height);
}

/* Brand block: separate clickable parts — logo→rozcestník, text→current site */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo,
.brand-text-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  transition: opacity 0.2s ease;
}

.brand-logo:hover,
.brand-logo:focus-visible,
.brand-text-link:hover,
.brand-text-link:focus-visible {
  opacity: 0.85;
  outline: none;
}

.brand-badge {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--bg-card);
  padding: 6px;
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}

.brand-badge img {
  width: 100%; height: 100%; object-fit: contain; border-radius: 6px;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-text strong {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.site-nav > a:not(.btn):not(.nav-back) {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.94rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav > a:not(.btn):not(.nav-back):hover,
.site-nav > a:not(.btn):not(.nav-back):focus-visible {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-back {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-left: 6px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-back:hover, .nav-back:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer; padding: 0;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(14, 59, 94, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent-hi);
  box-shadow: 0 16px 40px rgba(14, 59, 94, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.btn-gold {
  background: #ffffff;
  color: var(--accent);
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.btn-gold:hover, .btn-gold:focus-visible {
  background: var(--ink);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  min-height: calc(100vh - var(--header-height));
  padding: clamp(56px, 7vh, 92px) 0 clamp(58px, 7vh, 90px);
  overflow: visible;
}

.hero-pin {
  position: relative;
  top: auto;
  z-index: 1;
  height: auto;
  min-height: 0;
  display: block;
  padding: 0;
  overflow: visible;
}

.hero-pin::before {
  content: "";
  position: absolute;
  top: -10%; right: -10%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--accent-soft), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-pin > * { position: relative; z-index: 1; }

.hero-pin .hero-grid { margin-bottom: clamp(34px, 5vh, 58px); }
.hero-pin .trust-strip { margin-top: 0; }

/* Hero card subtitle (Oblast působení secondary line) */
.hero-card-sub {
  margin: 16px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--muted);
}

.hero-card-sub strong {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.005em;
}

/* ===== Fly-in animations ===== */
.fly-from-left {
  opacity: 1;
  transform: translate3d(-72px, 0, 0);
  transition:
    transform 1.05s cubic-bezier(0.22, 0.65, 0.2, 1);
  will-change: transform;
}

.fly-from-right {
  opacity: 1;
  transform: translate3d(72px, 0, 0);
  transition:
    transform 1.05s cubic-bezier(0.22, 0.65, 0.2, 1);
  will-change: transform;
}

.fly-from-left.is-visible,
.fly-from-right.is-visible {
  transform: translate3d(0, 0, 0);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy { max-width: 640px; }
.hero-copy h1 { margin-bottom: 24px; color: var(--ink); }
.hero-copy .lead { margin-bottom: 32px; }

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

.hero-points {
  list-style: none;
  padding: 28px 0 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  border-top: 1px solid var(--border-strong);
  counter-reset: hp;
}

.hero-points li {
  counter-increment: hp;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.45;
}

.hero-points li::before {
  content: counter(hp, decimal-leading-zero);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  position: static;
  background: transparent;
  width: auto;
  height: auto;
}

.hero-card {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi), var(--accent));
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--accent-glow);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-card-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 5px var(--accent-soft); }
  50% { box-shadow: 0 0 0 10px rgba(14, 59, 94, 0.04); }
}

.hero-card-heading { margin-bottom: 30px; }
.hero-card-heading h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; margin: 0; }

.hero-card-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
}

.hero-card-list li {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  display: grid; gap: 2px;
}

.hero-card-list span { color: var(--ink); font-weight: 600; font-size: 0.96rem; }
.hero-card-list small { color: var(--muted); font-size: 0.88rem; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.trust-item {
  padding: 8px 26px;
  border-left: 2px solid var(--accent);
}

.trust-item strong {
  display: block;
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.12rem;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

.trust-item span { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

/* ============ Cards ============ */
.cards { display: grid; gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  transition: transform 0.4s cubic-bezier(0.22, 0.65, 0.2, 1), border-color 0.3s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0.24);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.22, 0.65, 0.2, 1);
}

.card:hover, .card:focus-within {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--sh-md);
}

.card:hover::before, .card:focus-within::before { transform: scaleX(1); }

.card-num, .card-letter {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.1rem;
  border: 1px solid var(--accent-glow);
}

.card h3 { margin-bottom: 10px; color: var(--ink); }
.card p { margin: 0; font-size: 0.94rem; color: var(--muted); }

.callout {
  margin-top: 36px;
  padding: 28px 32px;
  border-radius: var(--r-md);
  border: 1px solid var(--accent-glow);
  background: var(--accent-soft);
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  text-align: center;
}

/* ============ About / process ============ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: start;
}

.tick-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.tick-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.process-panel {
  padding: 36px 32px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
}

.process-list {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 20px;
}

.process-list li {
  counter-increment: step;
  position: relative;
  padding-left: 58px;
  color: var(--ink-soft);
  line-height: 1.6;
  min-height: 42px;
}

.process-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
  border: 1px solid var(--accent-glow);
}

/* ============ FAQ ============ */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.3s ease;
}

.faq-item[open] {
  border-color: var(--accent);
  box-shadow: var(--sh-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: color 0.2s ease, background 0.2s ease;
}

.faq-item summary:hover { color: var(--accent); background: var(--accent-soft); }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--accent-glow);
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.faq-item p {
  margin: 0;
  padding: 0 26px 24px;
  color: var(--muted);
  line-height: 1.7;
  animation: faq-fade 0.3s ease;
}

@keyframes faq-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ============ Pricing / calculator ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.pricing-card {
  padding: 34px 30px;
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}

.pricing-card h3 { color: var(--ink); }

.pricing-card-emphasis {
  background: var(--ink);
  border-color: var(--ink);
  color: #f5f0e4;
}

.pricing-card-emphasis h3 { color: #f5f0e4; }
.pricing-card-emphasis .tick-list li { color: #d4cdbe; }
.pricing-card-emphasis .tick-list li::before { color: #a8c8e0; }

.pricing-card .tick-list { margin-top: 16px; }

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.calculator-form {
  padding: 36px 32px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
}

.calculator-form h3 { color: var(--ink); margin-bottom: 20px; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field { display: grid; gap: 8px; }

.field label {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--input-bg);
  color: var(--ink);
  font-size: 0.98rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.field-full { grid-column: 1 / -1; }

.calculator-summary {
  padding: 36px 32px;
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #f5f0e4;
  border: 1px solid var(--ink);
  box-shadow: var(--sh-lg);
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.calculator-summary .eyebrow-sm {
  color: #a8c8e0;
}

.summary-price {
  font-family: "Playfair Display", serif;
  font-variation-settings: "opsz" 144;
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 10px 0 16px;
}

.summary-subtitle {
  font-size: 0.9rem;
  color: #c7c1b2;
  margin-bottom: 24px;
}

.calculator-summary .btn-primary {
  background: #ffffff;
  color: var(--ink);
}

.calculator-summary .btn-primary:hover,
.calculator-summary .btn-primary:focus-visible {
  background: #a8c8e0;
  color: var(--accent-lo);
}

.pricing-disclaimer {
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

/* ============ CTA banner ============ */
.cta-banner {
  position: relative;
  padding: 84px 48px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(255, 255, 255, 0.1), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 85%, rgba(0, 0, 0, 0.22), transparent 65%),
    linear-gradient(135deg, var(--accent-lo) 0%, var(--accent) 55%, var(--accent-hi) 100%);
  border: 1px solid var(--accent-lo);
  box-shadow: 0 30px 80px rgba(14, 59, 94, 0.3);
  text-align: center;
  color: #f2f7fc;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: rgba(255, 255, 255, 0.6);
}

.cta-banner h2 {
  max-width: 900px;
  margin: 0 auto 32px;
  color: #ffffff;
  font-weight: 600;
}

.cta-banner h2 em { color: #ffffff; opacity: 0.92; }
.cta-banner .eyebrow { justify-content: center; color: #ffffff; }
.cta-banner .eyebrow::before { background: #ffffff; }

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.contact-panel {
  padding: 40px 34px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
}

.contact-list li {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 500;
  width: fit-content;
  max-width: 100%;
}

.contact-list a { color: var(--ink); transition: color 0.2s ease; }
.contact-list a:hover, .contact-list a:focus-visible { color: var(--accent); }

.contact-icon {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.98rem;
}

.contact-note {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.contact-form {
  padding: 40px 34px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.honeypot-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 10px 0 22px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}

.consent-row input[type="checkbox"] {
  width: 18px; height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.turnstile-wrap { margin: 0 0 22px; }
.turnstile-wrap .cf-turnstile { min-height: 66px; }

.form-message {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.94rem;
  display: none;
}

.form-message.is-visible { display: block; }

.form-message.success {
  background: var(--accent-soft);
  color: var(--accent-lo);
  border: 1px solid var(--accent-glow);
}

.form-message.error {
  background: rgba(175, 50, 50, 0.08);
  color: #8a2e2e;
  border: 1px solid rgba(175, 50, 50, 0.22);
}

/* ============ Footer ============ */
.site-footer {
  padding: 42px 0 22px;
  margin-top: 40px;
  background: transparent;
  border-top: 1px solid var(--border);
  backdrop-filter: blur(2px);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-logo,
.footer-brand-text {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  transition: opacity 0.2s ease;
}

.footer-brand-text {
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}

.footer-brand-logo:hover,
.footer-brand-logo:focus-visible,
.footer-brand-text:hover,
.footer-brand-text:focus-visible {
  opacity: 0.82;
  outline: none;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--border);
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  color: var(--ink);
  font-size: 1rem;
}

.footer-brand span { color: var(--muted); font-size: 0.86rem; }

.footer-meta {
  display: inline-flex; gap: 18px; align-items: center;
  color: var(--dim); font-size: 0.88rem;
}

.footer-meta a { color: var(--muted); transition: color 0.2s ease; }
.footer-meta a:hover, .footer-meta a:focus-visible { color: var(--accent); }

.legal-note {
  color: var(--dim);
  font-size: 0.78rem;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ============ Mobile CTA ============ */
.mobile-cta {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 99;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(14, 59, 94, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-cta.is-visible { opacity: 1; pointer-events: auto; }

.mobile-cta-arrow {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
}

/* ============ Reveal ============ */
.reveal {
  opacity: 1;
  transform: translateY(22px);
  transition: transform 0.8s cubic-bezier(0.22, 0.65, 0.2, 1);
  transition-delay: var(--d, 0ms);
  will-change: transform;
}

.reveal.is-visible { transform: none; will-change: auto; }

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

/* ============ Responsive ============ */
@media (max-width: 1120px) {
  .cards-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item { border-left: 2px solid var(--accent); padding: 10px 0 10px 24px; }
  .calculator { grid-template-columns: 1fr; }
  .calculator-summary { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  :root { --section-space: 78px; }
  html,
  body {
    overflow-x: hidden;
  }

  main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }

  .hero {
    height: auto;
    padding: 50px 0 40px;
  }
  .hero-pin {
    position: static;
    height: auto;
    padding: 0;
    overflow: visible;
    display: block;
  }

  .bg-ambient {
    position: absolute;
    min-height: 100%;
  }

  /* Mobile perf: vypnout drahé fixed-overlay vrstvy */
  .bg-grain { display: none; }
  body::after { display: none; }

  .reveal,
  .fly-from-left,
  .fly-from-right {
    transform: none;
    transition: none;
    will-change: auto;
  }

  .site-header {
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
  }
  .container { width: min(var(--container), calc(100% - 28px)); }

  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px; right: 20px;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    box-shadow: var(--sh-lg);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a { width: 100%; }
  .mobile-cta { display: inline-flex; }
}

@media (max-width: 720px) {
  .cards-5, .cards-4, .form-grid, .contact-form-grid, .trust-strip, .pricing-grid, .hero-points {
    grid-template-columns: 1fr;
  }
  .hero { padding: 40px 0 40px; }
  .trust-strip {
    gap: 26px;
    padding-top: 28px;
  }
  .trust-item {
    padding: 4px 0 4px 22px;
  }
  .hero-card, .card, .pricing-card, .calculator-form, .calculator-summary,
  .process-panel, .contact-panel, .contact-form, .cta-banner {
    padding: 28px 24px;
  }
  .cta-banner { padding: 48px 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; will-change: auto; }
  .fly-from-left,
  .fly-from-right { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Cookie consent banner — shared component across all KG sites
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
  width: min(440px, calc(100% - 40px));
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--bg-card, #ffffff);
  color: var(--ink, #1a1612);
  border: 1px solid var(--border-strong, rgba(0, 0, 0, 0.12));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  align-items: start;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 0.65, 0.2, 1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner-icon { font-size: 1.55rem; line-height: 1; margin-top: 2px; }
.cookie-banner-body { grid-column: 2; display: grid; gap: 6px; }
.cookie-banner-body strong {
  font-size: 0.96rem; font-weight: 700;
  color: var(--ink, #1a1612);
  letter-spacing: -0.005em;
}
.cookie-banner-body p {
  font-size: 0.85rem; line-height: 1.55; margin: 0;
  color: var(--muted, #6b6359);
}
.cookie-banner-body em {
  font-style: normal; font-weight: 600;
  color: var(--accent);
}
.cookie-banner-btn {
  grid-column: 2; margin-top: 6px; justify-self: start;
  padding: 10px 22px; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-contrast, #ffffff);
  font-family: inherit; font-weight: 700; font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.cookie-banner-btn:hover, .cookie-banner-btn:focus-visible {
  transform: translateY(-1px);
  background: var(--accent-hi);
  outline: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

/* Lightweight mode for live previews embedded in the Web Studio showcase. */
html.is-preview-frame .bg-ambient,
html.is-preview-frame .bg-grain,
html.is-preview-frame body::after,
html.is-preview-frame .mobile-cta,
html.is-preview-frame .cookie-banner,
html.is-preview-frame .turnstile-wrap {
  display: none !important;
}

html.is-preview-frame *,
html.is-preview-frame *::before,
html.is-preview-frame *::after {
  animation: none !important;
  transition: none !important;
}

html.is-preview-frame .site-header,
html.is-preview-frame .hero-pin,
html.is-preview-frame .pricing-summary {
  position: static !important;
}

html.is-preview-frame .reveal,
html.is-preview-frame .fly-from-left,
html.is-preview-frame .fly-from-right {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 540px) {
  .cookie-banner {
    left: 12px; right: 12px; bottom: 12px;
    padding: 18px 20px;
  }
}
