/* ==========================================================================
   Digitální autorita — Acomputer
   Jeden stylopis, CSS proměnné, světlý i tmavý režim.
   ========================================================================== */

/* ---------- 1. Tokeny a základ ---------- */
:root {
  color-scheme: light dark;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-alt: #eef3f9;
  --ink: #0b1b2e;
  --muted: #4b5c70;
  --line: #d9e2ed;
  --line-strong: #758aa0;

  --navy: #0b1f3a;
  --navy-deep: #061427;
  --accent: #f2a33a;
  --accent-strong: #d8891f;
  --accent-soft: #fdf0da;

  --link: #12508f;
  --focus: #0b63b6;
  --success: #1c6b45;
  --error: #a51f2d;

  --band-bg: #081b33;
  --band-bg-2: #0d2847;
  --band-ink: #f3f7fc;
  --band-muted: #b7c7da;
  --band-line: rgba(255, 255, 255, 0.14);
  --band-surface: rgba(255, 255, 255, 0.055);

  --shadow-sm: 0 1px 2px rgba(7, 22, 43, 0.05);
  --shadow-md: 0 12px 32px rgba(7, 22, 43, 0.08);
  --shadow-lg: 0 24px 60px rgba(7, 22, 43, 0.12);

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1120px;
  --header-h: 74px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #06111f;
    --surface: #0b1b2e;
    --surface-alt: #0f243c;
    --ink: #eef4fb;
    --muted: #a9bacd;
    --line: #203550;
    --line-strong: #5b7593;

    --navy: #081a30;
    --navy-deep: #040d18;
    --accent: #ffb954;
    --accent-strong: #ffc978;
    --accent-soft: #2b2211;

    --link: #8ec5ff;
    --focus: #8ec5ff;
    --success: #7dd3a8;
    --error: #ff9aa5;

    --band-bg: #050f1d;
    --band-bg-2: #0a1e36;
    --band-ink: #f3f7fc;
    --band-muted: #b7c7da;
    --band-line: rgba(255, 255, 255, 0.14);
    --band-surface: rgba(255, 255, 255, 0.055);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.55em;
  line-height: 1.14;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.55rem, 5.6vw, 4.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
  font-weight: 750;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

.band-dark :focus-visible,
.contact-band :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--accent);
}

::selection {
  background: var(--accent);
  color: #07162b;
}

#main:focus {
  outline: none;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  background: var(--accent);
  color: #07162b;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- 2. Společné prvky ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--link);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.145em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.eyebrow-light {
  color: var(--accent);
}

.band-dark .eyebrow,
.contact-band .eyebrow {
  color: var(--accent);
}

.section {
  padding-block: clamp(3.6rem, 7vw, 6.2rem);
}

.section-tint {
  background: var(--surface-alt);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

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

.section-lead {
  max-width: 68ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

.section-head--center .section-lead {
  margin-inline: auto;
}

.band {
  color: var(--band-ink);
}

.band-dark {
  background:
    radial-gradient(900px 520px at 85% 0%, rgba(242, 163, 58, 0.12), transparent 62%),
    radial-gradient(700px 520px at 0% 100%, rgba(86, 148, 218, 0.13), transparent 60%),
    linear-gradient(145deg, var(--band-bg), var(--band-bg-2));
}

.band-dark h2,
.band-dark h3 {
  color: var(--band-ink);
}

.band-dark p {
  color: var(--band-muted);
}

.band-dark .section-lead {
  color: var(--band-muted);
}

.note {
  margin-top: 1.4rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.78rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #07162b;
  box-shadow: 0 8px 24px rgba(242, 163, 58, 0.22);
}

.btn-primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 10px 28px rgba(242, 163, 58, 0.28);
}

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

.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--ink);
}

.btn-sm {
  min-height: 40px;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.btn-arrow {
  font-size: 1.12em;
  line-height: 1;
}

/* ---------- 3. Hlavička ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
}

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

.brand-name {
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand-tagline {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.7vw, 1.35rem);
}

.site-nav a {
  display: inline-block;
  padding: 0.5rem 0.2rem;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover {
  border-bottom-color: var(--accent);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.nav-toggle .icon-close {
  display: none;
}

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

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

/* ---------- 4. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 5.2rem);
  background:
    radial-gradient(900px 520px at 88% 4%, rgba(242, 163, 58, 0.15), transparent 62%),
    radial-gradient(760px 520px at 2% 42%, rgba(18, 80, 143, 0.09), transparent 64%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 0.93fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.2rem);
}

.hero-copy {
  max-width: 680px;
}

.hero h1 {
  max-width: 17ch;
  margin-bottom: 0.45em;
}

.accent-underline {
  background-image: linear-gradient(transparent 68%, var(--accent-soft) 68%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.hero-lead {
  max-width: 58ch;
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.trust-points {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.trust-points svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  color: var(--accent-strong);
}

.hero-figure {
  margin: 0;
  padding: clamp(0.7rem, 1.8vw, 1.15rem);
  background: linear-gradient(155deg, var(--surface), var(--surface-alt));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.trust-map {
  display: block;
  width: 100%;
  height: auto;
}

.map-panel {
  fill: var(--surface);
  stroke: var(--line);
}

.map-halo {
  fill: var(--accent-soft);
  transform-box: fill-box;
  transform-origin: center;
  animation: halo-pulse 7s ease-in-out infinite;
}

.map-ring {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.2;
  stroke-dasharray: 3 8;
}

.map-lines path {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.2;
  stroke-dasharray: 4 7;
  stroke-linecap: round;
  opacity: 0.8;
}

.map-node circle {
  fill: var(--surface-alt);
  stroke: var(--line);
  stroke-width: 1.2;
}

.map-node text {
  fill: var(--ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-anchor: middle;
}

.map-core {
  fill: var(--navy);
  stroke: var(--accent);
  stroke-width: 2;
}

.map-core-label {
  fill: #ffffff;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 800;
  text-anchor: middle;
}

@keyframes halo-pulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(0.97);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

/* ---------- 5. Problém ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: start;
}

.problem-grid h2 {
  color: var(--band-ink);
}

.problem-copy p {
  color: var(--band-muted);
}

.pull-quote {
  margin: 1.5rem 0;
  padding: 0.2rem 0 0.2rem 1.2rem;
  border-left: 3px solid var(--accent);
  color: var(--band-ink);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  font-weight: 650;
  line-height: 1.5;
}

.channel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.channel-list li {
  padding: 0.38rem 0.7rem;
  background: var(--band-surface);
  border: 1px solid var(--band-line);
  border-radius: 999px;
  color: var(--band-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ---------- 6. Pilíře ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.pillar-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pillar-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

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

.pillar-card:hover::after {
  transform: scaleX(1);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  background: var(--accent-soft);
  border-radius: 14px;
  color: var(--link);
}

.icon-box svg {
  width: 25px;
  height: 25px;
}

.card-index {
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pillar-card h3 {
  margin-bottom: 0.55rem;
}

.pillar-card p {
  color: var(--muted);
}

.pillar-card ul {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
}

.pillar-card li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.pillar-card li::before {
  content: "";
  position: absolute;
  top: 0.63em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ---------- 7. E-E-A-T ---------- */
.eeat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.eeat-card {
  position: relative;
  padding: 1.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.eeat-letter {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 0.9rem;
  background: var(--accent);
  border-radius: 14px;
  color: #07162b;
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
}

.eeat-card--trust {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.eeat-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.2rem 0.48rem;
  background: var(--accent);
  border-radius: 999px;
  color: #07162b;
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.eeat-en {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eeat-card h3 {
  margin-bottom: 0.45rem;
}

.eeat-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 1.25rem;
  padding: 1.15rem 1.3rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
}

.callout svg {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-top: 0.1rem;
  color: var(--accent-strong);
}

.callout p {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
}

/* ---------- 8. SEO + AI ---------- */
.ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(1.8rem, 4.5vw, 3.4rem);
}

.ai-grid h2 {
  margin-bottom: 0.55em;
}

.ai-grid > div > p {
  color: var(--muted);
}

.ai-list {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.ai-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0.8rem;
}

.ai-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: 0.1rem;
  background: var(--accent);
  border-radius: 50%;
  color: #07162b;
  font-size: 0.8rem;
  font-weight: 850;
}

.ai-list h3 {
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.ai-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.diagram-card {
  margin: 0;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.diagram {
  display: block;
  width: 100%;
  height: auto;
}

.diagram text {
  font-family: var(--font-sans);
}

.dg-box {
  fill: var(--surface-alt);
  stroke: var(--line);
  stroke-width: 1.2;
}

.dg-dot {
  fill: var(--accent);
}

.dg-dot-num {
  fill: #07162b;
  font-size: 18px;
  font-weight: 850;
}

.dg-title {
  fill: var(--ink);
  font-size: 30px;
  font-weight: 800;
}

.dg-sub {
  fill: var(--muted);
  font-size: 19px;
  font-weight: 500;
}

.dg-plus {
  fill: var(--accent-strong);
  font-size: 24px;
  font-weight: 850;
}

.dg-arrow {
  stroke: var(--line-strong);
}

.dg-arrowhead {
  fill: var(--accent-strong);
}

.dg-result {
  fill: var(--accent);
}

.dg-result-label {
  fill: #07162b;
  font-size: 26px;
  font-weight: 850;
}

.dg-result-sub {
  fill: #07162b;
  font-size: 15px;
  font-weight: 650;
}

.diagram-card figcaption {
  padding: 0.75rem 0.4rem 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

/* ---------- 9. Čísla ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  background: var(--band-surface);
  border: 1px solid var(--band-line);
  border-radius: var(--radius);
}

.stat-value {
  margin-bottom: 0.55rem;
  color: var(--accent);
  font-size: clamp(2.5rem, 4.8vw, 3.7rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1;
}

.stat-label {
  margin-bottom: 1.2rem;
  color: var(--band-ink);
  font-size: 0.96rem;
  font-weight: 600;
}

.stat-source {
  margin: auto 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--band-line);
  color: var(--band-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

/* ---------- 10. Časová osa ---------- */
.timeline {
  position: relative;
  max-width: 860px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 23px;
  width: 2px;
  background: var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 1.8rem 4rem;
}

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

.step-num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--ink);
  font-weight: 850;
}

.timeline h3 {
  margin-bottom: 0.3rem;
}

.timeline p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- 11. Výstupy ---------- */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 0.9rem;
}

.deliverable {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.deliverable svg {
  width: 27px;
  height: 27px;
  margin-bottom: 0.85rem;
  color: var(--accent-strong);
}

.deliverable h3 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.deliverable p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

/* ---------- 12. KPI ---------- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 0.7rem;
}

.kpi-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.kpi-check {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 0.05rem;
  background: var(--accent);
  border-radius: 50%;
  color: #07162b;
  font-size: 0.72rem;
  font-weight: 900;
}

/* ---------- 13. Profily ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.profile-card {
  padding: clamp(1.35rem, 2.4vw, 1.8rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
}

.profile-tag {
  margin-bottom: 0.55rem;
  color: var(--link);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-card h3 {
  font-size: 1.12rem;
}

.profile-card > p {
  color: var(--muted);
  font-size: 0.92rem;
}

.profile-card ul {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.profile-card li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.profile-card li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

/* ---------- 14. FAQ ---------- */
.faq {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0.15rem;
  cursor: pointer;
  list-style: none;
}

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

.faq summary:hover h3 {
  color: var(--link);
}

.faq summary h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  transition: color 0.15s ease;
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq details[open] .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
}

.faq details[open] .faq-icon::before {
  background: #07162b;
}

.faq details[open] .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  padding: 0 2.6rem 1.2rem 0.15rem;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
}

/* ---------- 15. Kontakt ---------- */
.contact-band {
  padding-block: clamp(3.6rem, 7vw, 6rem);
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(242, 163, 58, 0.16), transparent 60%),
    radial-gradient(760px 520px at 100% 100%, rgba(86, 148, 218, 0.17), transparent 62%),
    linear-gradient(150deg, var(--navy-deep), var(--navy));
  color: var(--band-ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.2rem);
}

.contact-copy h2 {
  color: var(--band-ink);
}

.contact-copy > p {
  color: var(--band-muted);
  font-size: 1.02rem;
}

.contact-details {
  margin-top: 1.8rem;
}

.contact-details h3 {
  margin-bottom: 0.55rem;
  color: var(--band-ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details dl {
  margin: 0;
}

.contact-details dl div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid var(--band-line);
}

.contact-details dt {
  color: var(--band-muted);
  font-size: 0.86rem;
}

.contact-details dd {
  margin: 0;
  color: var(--band-ink);
  font-size: 0.9rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-details .contact-web {
  margin-top: 0.9rem;
}

.contact-details a {
  color: var(--accent);
}

.form-card {
  padding: clamp(1.3rem, 2.8vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.form-card h3 {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.42rem);
}

.form-intro {
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

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

.field label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.8rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.field textarea {
  min-height: 116px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--focus);
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--error);
}

.field-error {
  min-height: 0;
  margin: 0.3rem 0 0;
  color: var(--error);
  font-size: 0.78rem;
  line-height: 1.4;
}

.field-error:empty {
  display: none;
}

.checkbox-field {
  padding-top: 0.1rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.checkbox-row input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--accent-strong);
}

.checkbox-row label {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.checkbox-field.has-error .checkbox-row label {
  color: var(--error);
}

.field-hint {
  margin: 0.3rem 0 0 1.85rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--error);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.form-card .btn {
  width: 100%;
  margin-top: 0.2rem;
}

/* ---------- 16. Patička ---------- */
.site-footer {
  padding-block: 3rem 1.8rem;
  background: var(--navy-deep);
  color: var(--band-ink);
}

.brand--footer {
  margin-bottom: 0.85rem;
  color: var(--band-ink);
}

.brand--footer .brand-tagline {
  color: var(--band-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3rem);
}

.footer-text {
  max-width: 42ch;
  margin: 0;
  color: var(--band-muted);
  font-size: 0.88rem;
}

.site-footer h2 {
  margin-bottom: 0.7rem;
  color: var(--band-ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.35rem;
  color: var(--band-muted);
  font-size: 0.86rem;
}

.footer-links a {
  color: var(--band-muted);
  text-decoration-color: transparent;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--band-line);
  color: var(--band-muted);
  font-size: 0.75rem;
}

.page-meta strong {
  color: var(--band-ink);
  font-weight: 650;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 1.1rem;
  color: var(--band-muted);
  font-size: 0.73rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--band-muted);
}

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

/* ---------- 17. Právní stránka ---------- */
.legal-page {
  padding-block: clamp(2.6rem, 6vw, 4.6rem);
}

.legal-page > .container {
  max-width: 860px;
}

.legal-page h1 {
  margin-bottom: 0.4em;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

.legal-lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-note {
  margin: 1.5rem 0 2rem;
  padding: 1rem 1.15rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.88rem;
}

.legal-content {
  margin-top: 2rem;
}

.legal-content h2 {
  margin-top: 2.1rem;
  margin-bottom: 0.5rem;
  font-size: clamp(1.2rem, 2.2vw, 1.48rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  display: grid;
  gap: 0.3rem;
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.legal-content code {
  padding: 0.1rem 0.35rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 0.86em;
}

.legal-updated {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- 18. Mobilní sticky CTA ---------- */
.mobile-cta {
  display: none;
}

/* ---------- 18. Responzivita ---------- */
@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero h1 {
    max-width: 19ch;
  }

  .hero-figure {
    width: min(100%, 540px);
  }

  .eeat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-card:last-child {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--header-h));
    padding: 0.75rem;
    overflow-y: auto;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }

  @supports (height: 100dvh) {
    .site-nav {
      max-height: calc(100dvh - var(--header-h));
    }
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .site-nav a {
    display: block;
    padding: 0.78rem 0.8rem;
    border-bottom: 0;
    border-radius: 8px;
  }

  .site-nav a:hover {
    background: var(--surface-alt);
  }

  .problem-grid,
  .ai-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stat-card {
    display: grid;
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
    align-items: center;
    gap: 0 1.2rem;
  }

  .stat-label {
    margin-bottom: 0;
  }

  .stat-source {
    grid-column: 1 / -1;
    margin-top: 0.9rem;
  }

  .diagram-card {
    max-width: 620px;
    margin-inline: auto;
  }

  .contact-copy {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 68px;
  }

  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  .site-footer {
    padding-bottom: calc(2.4rem + env(safe-area-inset-bottom));
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: block;
    padding: 0.6rem max(1rem, env(safe-area-inset-left)) calc(0.6rem + env(safe-area-inset-bottom));
    background: var(--bg);
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .mobile-cta .btn {
    width: 100%;
    min-height: 50px;
  }

  .pillar-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-card:last-child {
    grid-column: auto;
  }

  .deliverables-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.4rem, var(--container));
  }

  h1 {
    font-size: clamp(2.35rem, 10vw, 3.1rem);
  }

  .hero h1 {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .eeat-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .eeat-badge {
    position: static;
    display: inline-block;
    margin-bottom: 0.55rem;
  }

  .stat-card {
    display: block;
  }

  .stat-label {
    margin-bottom: 1.1rem;
  }

  .stat-source {
    margin-top: 0;
  }

  .faq-answer {
    padding-right: 0.5rem;
  }

  .contact-details dl div {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .deliverables-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-tagline {
    font-size: 0.56rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .trust-map text {
    font-size: 13px;
  }

  .field-hint {
    margin-left: 0;
  }
}

/* ---------- 19. Snížená animace, tisk, zvýšený kontrast ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    padding: 0;
    background: #ffffff;
    color: #000000;
  }

  .site-header,
  .mobile-cta,
  .hero-figure,
  .form-card,
  .skip-link {
    display: none !important;
  }

  .band-dark,
  .contact-band,
  .site-footer {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .band-dark h2,
  .band-dark h3,
  .contact-copy h2,
  .site-footer h2,
  .stat-label {
    color: #000000 !important;
  }

  .band-dark p,
  .contact-copy > p,
  .footer-text,
  .footer-links,
  .footer-links a,
  .page-meta,
  .footer-bottom {
    color: #222222 !important;
  }

  .site-footer a {
    color: #000000 !important;
  }

  .card,
  .pillar-card,
  .stat-card,
  .deliverable,
  .kpi-item,
  .profile-card,
  .eeat-card {
    box-shadow: none !important;
    border-color: #999999 !important;
  }

  a {
    color: #000000 !important;
  }
}
