/* ==========================================================================
   Stylopis webu
   Struktura: 1 fonty · 2 tokeny · 3 základ · 4 layout · 5 komponenty · 6 stránky · 7 animace · 8 tisk
   Barvy a písma se mění jen v tokenech (:root); komponenty používají role (brand, accent, highlight…).
   ========================================================================== */

/* 1 ─ Fonty (self-hosted přes tools/fonts.py – sem vložte vygenerované @font-face, latin + latin-ext) */


/* 2 ─ Design tokeny */
:root {
  color-scheme: light;

  /* Značka – tmavá lesní zelená (nadpisy, tlačítka, tmavé sekce, patička) */
  --brand-950: #173d35;
  --brand-800: #1f5246;
  --brand-700: #1f5246;   /* odkazy – 7.9 : 1 na --paper */
  --brand-500: #4e7a6e;
  --brand-100: #dce5e0;
  --brand-50:  #eaf0ec;

  /* Akcent – bronz #A88754: hlavní výzva k akci (s tmavým textem --accent-ink, 4.8 : 1) */
  --accent-700: #977746;  /* hover */
  --accent-600: #a88754;
  --accent-ink: #0e2520;
  --accent-text: #7d6236; /* bronzový text na světlém pozadí – 5.1 : 1 */
  --accent-light: #c9ae7e; /* bronzový text na --brand-950 – 5.6 : 1 */
  --accent-100: #efe6d6;

  /* Zvýraznění – focus ring, linky, ozdoby */
  --highlight-500: #a88754;
  --highlight-100: #efe6d6;

  --paper:     #f4f1e9;  /* slonovina (= theme_color v configu) */
  --paper-alt: #ebe6da;  /* střídavé sekce */
  --surface:   #ffffff;
  --ink:       #26322f;  /* antracit – 11.8 : 1 na --paper */
  --muted:     #556360;  /* 5.6 : 1 na --paper */
  --line:        rgb(23 61 53 / 0.12);
  --line-strong: rgb(23 61 53 / 0.26);
  --on-dark:       #f4f1e9; /* text na --brand-950 – 10.6 : 1 */
  --on-dark-muted: #b9c8c2; /* 6.9 : 1 */
  --line-dark:     rgb(244 241 233 / 0.16);

  /* Helvetica dle vizuálního manuálu (systémová – bez stahování písem) */
  --font-heading: "Helvetica Neue", Helvetica, Arial, "Nimbus Sans", "Liberation Sans", sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, "Nimbus Sans", "Liberation Sans", sans-serif;

  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-0:  clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);   /* běžný text 17–18 px */
  --step-1:  clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --step-2:  clamp(1.25rem, 1.15rem + 0.5vw, 1.55rem);
  --step-3:  clamp(1.5rem, 1.3rem + 1vw, 2.125rem);
  --step-4:  clamp(1.75rem, 1.45rem + 1.5vw, 2.625rem);
  --step-5:  clamp(2rem, 1.5rem + 2.2vw, 3.5rem);         /* H1: 32 px mobil → 56 px desktop */

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-5: 1.5rem;
  --space-6: 2rem; --space-7: 3rem; --space-8: 4rem; --space-9: clamp(4rem, 3rem + 5vw, 7.5rem);

  --radius-sm: 2px; --radius: 4px; --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgb(23 61 53 / 0.05);
  --shadow:    0 1px 2px rgb(23 61 53 / 0.06), 0 10px 28px -12px rgb(23 61 53 / 0.18);
  --shadow-lg: 0 2px 4px rgb(23 61 53 / 0.06), 0 26px 50px -20px rgb(23 61 53 / 0.28);

  --container: 1200px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 3 ─ Základ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: rgb(23 61 53 / 0.12);
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--brand-950); line-height: 1.18; letter-spacing: -0.015em; margin: 0 0 0.6em; text-wrap: balance; font-weight: 700; }
h1 { font-size: var(--step-5); letter-spacing: -0.025em; line-height: 1.08; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--brand-700); text-decoration-thickness: 1px; text-underline-offset: 0.18em; transition: color 0.15s, text-decoration-color 0.15s; }
a:hover { color: var(--brand-950); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--highlight-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--highlight-100); color: var(--brand-950); }
strong { font-weight: 700; }
code { font: 0.9em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--brand-50); padding: 0.1em 0.35em; border-radius: 4px; }
hr { border: 0; height: 1px; background: var(--line); margin: var(--space-7) 0; }
button { font: inherit; color: inherit; touch-action: manipulation; }
[hidden] { display: none !important; }
.tabular { font-variant-numeric: tabular-nums; }

.visually-hidden { 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: absolute; left: var(--space-4); top: -100px; z-index: 100; background: var(--brand-950); color: #fff; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: var(--space-4); color: #fff; }

/* 4 ─ Layout */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.section { padding-block: var(--space-9); position: relative; }
.section--tight { padding-block: var(--space-8); }
.section--alt { background: var(--paper-alt); }
.section--dark { background: var(--brand-950); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
/* dvě světlé sekce po sobě nemají zdvojenou mezeru */
.section:not(.section--alt):not(.section--dark) + .section:not(.section--alt):not(.section--dark) { padding-top: 0; }
.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.split { display: grid; gap: var(--space-7); align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) { .split--top > :first-child:not(ul):not(ol) { position: sticky; top: calc(var(--header-h) + var(--space-6)); } }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } .split--reverse > :first-child { order: 2; } }
.center { text-align: center; }
.mt-5 { margin-top: var(--space-5); } .mt-6 { margin-top: var(--space-6); }
.mb-5 { margin-bottom: var(--space-5); } .mb-6 { margin-bottom: var(--space-6); }
.h3 { font-size: var(--step-2); }

/* 5 ─ Komponenty ---------------------------------------------------------- */

/* Hlavička */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
  padding-top: env(safe-area-inset-top);
}
/* rozmazané pozadí na pseudo-elementu: backdrop-filter přímo na hlavičce by „uvěznil“ fixed mobilní menu */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(244 241 233 / 0.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -14px rgb(23 61 53 / 0.3); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: var(--space-5); }
.brand { display: flex; align-items: center; flex-shrink: 0; min-height: 44px; border-radius: var(--radius-sm); text-decoration: none; }
.brand img { height: 48px; width: auto; }
.brand__text { font: 700 clamp(1rem, 0.92rem + 0.4vw, 1.25rem)/1 var(--font-heading); letter-spacing: 0.06em; color: var(--brand-950); white-space: nowrap; }
.nav { margin-left: auto; display: flex; align-items: center; gap: var(--space-2); }
.nav__list { display: flex; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-3);
  color: var(--ink); font-weight: 500; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: color 0.15s;
}
.nav__link::after { content: ""; position: absolute; left: var(--space-3); right: var(--space-3); bottom: 8px; height: 2px; background: var(--accent-600); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease-out); }
.nav__link:hover { color: var(--brand-950); text-decoration: none; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link.is-active::after { transform: none; }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--brand-950); font-weight: 700; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; padding: 0 var(--space-3);
  border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--ink); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.04em; text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s;
}
.lang-switch:hover { border-color: var(--brand-700); background: var(--surface); color: var(--brand-950); }
.lang-switch .icon { width: 18px; height: 18px; }
.nav-toggle { display: none; }

/* Hranici mobilního menu sladit s MQ v main.js (max-width: 860px). Skryté menu za tlačítkem jen s JS (.js na <html>). */
@media (max-width: 860px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); margin-left: auto;
    min-height: 44px; min-width: 44px; padding: 0 var(--space-3); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); cursor: pointer; font-weight: 600;
  }
  .js .nav-toggle .icon { width: 22px; height: 22px; }
  .js .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; margin: 0; padding: var(--space-5) var(--gutter) calc(var(--space-7) + env(safe-area-inset-bottom));
    flex-direction: column; align-items: stretch; gap: var(--space-5); background: var(--paper);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s var(--ease-out), transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
  }
  .js .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s var(--ease-out), transform 0.25s var(--ease-out); }
  .js .nav__list { flex-direction: column; gap: 0; }
  .js .nav__link { width: 100%; min-height: 60px; font-size: var(--step-2); font-weight: 700; padding: 0 var(--space-1); border-bottom: 1px solid var(--line); }
  .js .nav__link::after { display: none; }
  .js .nav__link[aria-current="page"], .js .nav__link.is-active { color: var(--accent-text); }
  .js .lang-switch { align-self: flex-start; }
  .js .nav__cta { display: flex; }
  body.nav-open { overflow: hidden; }
  /* bez JavaScriptu: menu v toku pod logem, vše dosažitelné */
  .no-js .site-header { position: static; height: auto; }
  .no-js .site-header__inner { flex-wrap: wrap; gap: var(--space-2); padding-block: var(--space-3); }
  .no-js .nav { margin-left: 0; flex-wrap: wrap; }
  .no-js .nav__list { flex-wrap: wrap; }
}
.nav__cta { display: none; }

/* Tlačítka */
.btn {
  --btn-bg: var(--brand-950); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 50px; padding: 0 1.4rem; border-radius: var(--radius-sm); border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg); font: 700 1rem/1.15 var(--font-body); text-decoration: none; text-align: center;
  cursor: pointer; touch-action: manipulation;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s var(--ease-out), box-shadow 0.15s;
}
.btn:hover { --btn-bg: var(--brand-800); color: var(--btn-fg); text-decoration: none; box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.btn--accent { --btn-bg: var(--accent-600); --btn-fg: var(--accent-ink); }
.btn--accent:hover { --btn-bg: #b8986a; --btn-fg: var(--accent-ink); }
.btn .icon:last-child:not(:first-child) { transition: transform 0.2s var(--ease-out); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / 0.55); }
.btn--outline-light:hover { --btn-bg: rgb(255 255 255 / 0.1); --btn-fg: #fff; --btn-bd: #fff; box-shadow: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--brand-950); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--surface); --btn-fg: var(--brand-950); --btn-bd: var(--brand-700); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--brand-950); }
.btn--light:hover { --btn-bg: var(--highlight-100); --btn-fg: var(--brand-950); }
.btn--sm { min-height: 44px; padding: 0 1rem; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; text-decoration: none; min-height: 44px; color: var(--brand-950); }
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform 0.2s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(3px); }
/* Ikony ze sprite: styl se musí dát i sem – <style> uvnitř externího sprite na <use> klony nepůsobí */
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Nadpisy sekcí */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 var(--space-3);
  font: 700 0.78rem/1.3 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.section-head { max-width: 46rem; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; }
.lead { font-size: var(--step-1); line-height: 1.65; color: var(--muted); }
.section--dark .lead { color: var(--on-dark-muted); }
.section--dark .eyebrow { color: var(--accent-light); }
.section--dark a:not(.btn) { color: #fff; }
.section-head__row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); }
.section-head__row .section-head { margin-bottom: 0; }

/* Hero (úvod) – ilustrace přes celou šířku, zelený přechod pod textem; na mobilu obrázek nad zeleným blokem */
.hero { position: relative; display: grid; background: var(--brand-950); color: var(--on-dark); overflow: clip; }
.hero__media { margin: 0; position: relative; aspect-ratio: 4 / 3; background: var(--brand-800); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption { position: absolute; right: var(--space-3); bottom: var(--space-2); margin: 0; font-size: 0.75rem; color: rgb(255 255 255 / 0.85); text-shadow: 0 1px 2px rgb(0 0 0 / 0.6); }
.hero__inner { padding-block: var(--space-7) var(--space-8); }
.hero__copy { max-width: 36rem; }
.hero__title { font-size: var(--step-5); color: #fff; margin-bottom: var(--space-3); }
.hero__subtitle { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); line-height: 1.35; color: var(--accent-light); margin-bottom: var(--space-6); }
.hero__lead { font-size: var(--step-1); color: var(--on-dark); max-width: 30rem; margin-bottom: var(--space-6); }
@media (min-width: 760px) {
  .hero { min-height: min(46rem, calc(100svh - var(--header-h))); align-items: center; }
  .hero__media { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(23 61 53 / 0.97) 0%, rgb(23 61 53 / 0.9) 34%, rgb(23 61 53 / 0.45) 62%, rgb(23 61 53 / 0.05) 88%); }
  .hero__caption { z-index: 1; right: var(--space-5); bottom: var(--space-4); }
  .hero__inner { position: relative; padding-block: var(--space-9); }
}

/* Záhlaví podstránek */
.page-hero { padding-block: clamp(2rem, 1.5rem + 3vw, 4.5rem) clamp(2rem, 1.5rem + 2.5vw, 3.5rem); position: relative; overflow: clip; }
.page-hero h1 { font-size: var(--step-5); max-width: 24ch; margin-bottom: var(--space-5); }
.page-hero .lead { max-width: 44rem; margin: 0; }
.page-hero__ornament { position: absolute; right: max(-30px, calc((100vw - var(--container)) / 2 - 80px)); top: 50%; width: clamp(140px, 18vw, 260px); transform: translateY(-50%); opacity: 0.1; pointer-events: none; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-5); color: var(--muted); font-weight: 600; }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.page-hero__meta .icon { color: var(--accent-600); }
.breadcrumbs { margin-bottom: var(--space-5); font-size: var(--step--1); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; display: inline-flex; min-height: 24px; align-items: center; }
.breadcrumbs a:hover { color: var(--brand-950); text-decoration: underline; }

/* Čísla */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin: var(--space-6) 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } .split .stats { grid-template-columns: repeat(2, 1fr); } }
.stats { gap: var(--space-5); }
.stat { padding: var(--space-4) 0 0; border-top: 2px solid var(--accent-600); }
.stat__value { display: block; font: 700 var(--step-4)/1 var(--font-heading); letter-spacing: -0.02em; color: var(--brand-950); font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.9rem; font-weight: 600; line-height: 1.35; }

/* Fotky */
.photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper-alt); margin: 0; }
.photo--wide img { aspect-ratio: 3 / 2; }
.photo--tall img { aspect-ratio: 4 / 5; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
figcaption, .caption { font-size: var(--step--1); color: var(--muted); margin-top: var(--space-2); }
.photo figcaption, .banner-img figcaption { position: absolute; right: var(--space-3); bottom: var(--space-2); margin: 0; font-size: 0.75rem; color: rgb(255 255 255 / 0.9); text-shadow: 0 1px 2px rgb(0 0 0 / 0.65); }

.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgb(8 9 30 / 0.94); color: #fff; overscroll-behavior: contain; }
.lightbox::backdrop { background: rgb(8 9 30 / 0.9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fade-in 0.2s var(--ease-out); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: var(--space-3) var(--space-4); padding-top: max(var(--space-3), env(safe-area-inset-top)); font-variant-numeric: tabular-nums; font-size: 0.9rem; color: var(--on-dark-muted); }
.lightbox__stage { position: relative; min-height: 0; overflow: hidden; touch-action: pan-y; }
/* absolutně usazený obrázek se vejde do plochy mezi lištou a popiskem (procentní max-height v auto řádku mřížky nefunguje) */
.lightbox__img { position: absolute; inset: 0 var(--space-4); margin: auto; max-width: calc(100% - 2 * var(--space-4)); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.6); }
@media (min-width: 641px) { .lightbox__img { inset: 0 calc(var(--space-4) + 60px); max-width: calc(100% - 2 * (var(--space-4) + 60px)); } }
.lightbox__caption { text-align: center; padding: var(--space-3) var(--space-4) max(var(--space-4), env(safe-area-inset-bottom)); color: var(--on-dark-muted); font-size: 0.95rem; min-height: 3rem; margin: 0; }
.lightbox__btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.2); background: rgb(255 255 255 / 0.08); color: #fff; cursor: pointer; transition: background-color 0.15s; }
.lightbox__btn:hover { background: rgb(255 255 255 / 0.2); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: var(--space-4); }
.lightbox__nav--next { right: var(--space-4); }
@media (max-width: 640px) { .lightbox__nav { top: auto; bottom: var(--space-2); transform: none; } }

/* Text článku */
.prose { font-size: var(--step-0); }
.prose > * { max-width: 70ch; }
.prose h2 { font-size: var(--step-3); margin-top: 1.6em; }
.prose h3 { font-size: var(--step-2); margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.35em; }
.prose li::marker { color: var(--accent-text); }
.prose figure { margin: var(--space-6) 0; }
.prose figure img { border-radius: var(--radius); }
.prose a[rel~="noopener"]::after { content: "↗"; display: inline-block; margin-left: 0.15em; font-size: 0.8em; text-decoration: none; }

/* Info box, definiční seznam */
.aside-card { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.aside-card h2, .aside-card h3 { display: flex; align-items: center; gap: var(--space-2); }
.dl { display: grid; grid-template-columns: minmax(6.5rem, auto) 1fr; gap: var(--space-2) var(--space-4); margin: 0; }
.dl dt { color: var(--muted); font-weight: 600; }
.dl dd { margin: 0; }

/* Výzva (CTA pás) */
.cta { position: relative; overflow: hidden; border-radius: var(--radius); padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); background: var(--brand-950); color: var(--on-dark); display: grid; gap: var(--space-5) var(--space-7); align-items: center; }
.cta h2 { color: #fff; }
.cta__actions { display: grid; gap: var(--space-3); justify-items: start; }
.cta__email { margin: 0; font-size: 0.95rem; color: var(--on-dark-muted); }
.cta__email a { color: #fff; font-weight: 700; }
.cta__email a:hover { color: var(--accent-light); }
@media (min-width: 900px) { .cta { grid-template-columns: 1.3fr auto; } }
.cta h2 { font-size: var(--step-3); margin-bottom: var(--space-3); }
.cta > div:not(.cta__actions) > p { margin: 0; color: var(--on-dark-muted); font-size: var(--step-1); max-width: 40rem; }
.cta > div { position: relative; z-index: 1; }
.cta__ornament { position: absolute; right: -70px; bottom: -90px; width: 260px; opacity: 0.08; pointer-events: none; filter: brightness(0) invert(1); }

/* Patička */
.site-footer { background: var(--brand-950); color: var(--on-dark-muted); padding-block: var(--space-8) calc(var(--space-6) + env(safe-area-inset-bottom)); margin-top: 0; font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration-color: rgb(255 255 255 / 0.35); }
.site-footer a:hover { color: var(--accent-light); text-decoration-color: currentColor; }
.site-footer h2 { font: 700 0.78rem/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-light); margin-bottom: var(--space-4); }
.footer__grid { display: grid; gap: var(--space-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
/* logo v patičce bíle – když má značka světlou variantu loga, filtr odeberte */
.footer__logo { height: 56px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--space-4); }
.footer__name { font: 700 var(--step-1)/1.2 var(--font-heading); letter-spacing: 0.06em; color: #fff; margin-bottom: var(--space-3); }
.footer__motto { color: var(--accent-light); line-height: 1.45; }
.footer__motto span { color: #fff; font-weight: 700; }
.footer__legal { margin: var(--space-7) 0 0; padding-top: var(--space-5); border-top: 1px solid var(--line-dark); font-size: 0.85rem; max-width: 62rem; }
.footer__brand p { max-width: 22rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.footer__list a { text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 32px; }
.footer__list a:hover { text-decoration: underline; }
.footer__bottom { margin-top: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); justify-content: space-between; font-size: 0.85rem; color: var(--on-dark-muted); }
.footer__bottom button { background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.35); text-underline-offset: 0.18em; cursor: pointer; font-size: inherit; min-height: 24px; }
.social { display: flex; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.social { margin-top: var(--space-4); }
.social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid rgb(255 255 255 / 0.2); transition: background-color 0.15s, border-color 0.15s; }
.social a:hover { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.4); }
.social--dark a { border-color: var(--line-strong); color: var(--brand-950); }
.social--dark a:hover { background: var(--surface); border-color: var(--brand-700); }

/* Lišty (cookies, jazyk) */
.banner {
  position: fixed; z-index: 60; left: var(--space-4); right: var(--space-4); bottom: max(var(--space-4), env(safe-area-inset-bottom));
  max-width: 34rem; margin-inline: auto; padding: var(--space-5); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  animation: slide-up 0.35s var(--ease-out);
}
@media (min-width: 720px) { .banner { left: auto; right: var(--space-5); margin: 0; } }
.banner p { margin: 0 0 var(--space-4); font-size: 0.95rem; }
.banner h2 { font-size: var(--step-1); margin-bottom: var(--space-2); }
.banner--lang { max-width: 24rem; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4); }
.banner--lang p { margin: 0; flex: 1; font-size: 0.9rem; }
.banner__close { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: none; cursor: pointer; color: var(--muted); flex-shrink: 0; }
.banner__close:hover { background: var(--brand-50); color: var(--ink); }

/* 6 ─ Stránky ------------------------------------------------------------- */
.intro-text p:first-of-type { font-size: var(--step-1); color: var(--ink); }
.notfound { text-align: center; padding-block: var(--space-9); }
.notfound img { width: 140px; margin: 0 auto var(--space-5); opacity: 0.35; }
/* 6b ─ Komponenty TULAR -------------------------------------------------- */
.statement { font-size: var(--step-1); line-height: 1.6; color: var(--ink); }
.section--dark .statement { color: var(--on-dark); }
.muted { color: var(--muted); }
.label { font: 700 0.78rem/1.3 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--space-3); }

/* Karty oblastí poradenství (úvod, přehled) – celá karta klikací přes ::after na odkazu v nadpisu */
.services { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(4, 1fr); } }
.service-card, .area {
  position: relative; display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s;
}
.service-card::before, .area::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--accent-600); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out); border-radius: var(--radius) var(--radius) 0 0; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card--link:hover::before { transform: none; }
.service-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-2); }
.service-card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: var(--brand-50); color: var(--brand-950); flex-shrink: 0; }
.service-card__icon .icon { width: 24px; height: 24px; }
.service-card__num { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; color: var(--accent-text); }
.service-card__title, .area__title { font-size: var(--step-1); margin: 0; }
.area__title { font-size: var(--step-2); }
.service-card__title a, .area__title a { color: inherit; text-decoration: none; }
.service-card__title a::after, .area__title a::after { content: ""; position: absolute; inset: 0; }
.service-card__title a:focus-visible, .area__title a:focus-visible { outline: none; }
.service-card:has(a:focus-visible), .area:has(a:focus-visible) { outline: 3px solid var(--highlight-500); outline-offset: 3px; }
.service-card__text, .area__text { color: var(--muted); margin: 0; flex: 1; }
.area__text { color: var(--ink); }
.service-card__more { display: block; margin-top: var(--space-2); font-weight: 700; font-size: 0.95rem; line-height: 1.4; color: var(--brand-950); }
.service-card__more .icon { display: inline-block; width: 1.05em; height: 1.05em; margin-left: 0.35em; vertical-align: -0.2em; transition: transform 0.2s var(--ease-out); }
.card--link:hover .service-card__more .icon { transform: translateX(4px); }
.areas { display: grid; gap: var(--space-4); }
@media (min-width: 760px) { .areas { grid-template-columns: repeat(2, 1fr); } }
.area { padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); }

/* Výstupy s ikonou (přehled poradenství) */
.features { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); list-style: none; margin: 0; padding: 0; }
.feature { display: grid; gap: var(--space-4); align-content: start; padding-top: var(--space-5); border-top: 1px solid var(--line-strong); }
.feature p { margin: 0; font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.feature__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: var(--brand-950); color: var(--accent-light); }
.feature__icon .icon { width: 24px; height: 24px; }

/* Bloky s položkami (Co prověříme …) */
.facets { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
@media (min-width: 900px) { .facets--2, .facets--4 { grid-template-columns: repeat(2, 1fr); } .facets--3 { grid-template-columns: repeat(3, 1fr); } }
.facet { display: flex; flex-direction: column; gap: var(--space-3); padding: clamp(1.25rem, 1rem + 1vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--brand-950); border-radius: var(--radius); }
.facet__num { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; color: var(--accent-text); }
.facet__title { font-size: var(--step-1); margin: 0; }
.facet p { margin: 0; color: var(--muted); }

/* Kontrolní seznam (Kdy nás oslovit, Jak posuzujeme) */
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; padding: var(--space-4) 0; border-bottom: 1px solid var(--line); font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.checklist .icon { width: 28px; height: 28px; padding: 5px; margin-top: 0.05em; border-radius: 999px; background: var(--accent-100); color: var(--accent-text); stroke-width: 2.25; }
.checklist--compact li { font-size: var(--step-0); padding: var(--space-3) 0; }

/* Výstupy na tmavém pozadí */
.deliverables { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.deliverables li { display: grid; grid-template-columns: 3rem 1fr; gap: var(--space-3); padding: var(--space-4) 0; border-bottom: 1px solid var(--line-dark); font-size: var(--step-1); line-height: 1.5; color: var(--on-dark); }
.deliverables__num { font-weight: 700; color: var(--accent-light); font-size: 0.95rem; letter-spacing: 0.06em; padding-top: 0.2em; }

/* Upozornění / poznámka */
.note { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; padding: clamp(1.25rem, 1rem + 1vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent-600); border-radius: var(--radius); }
.note p { margin: 0; color: var(--muted); max-width: 70ch; }
.note__title { font-size: var(--step-1); margin: 0 0 var(--space-2); }
.note__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--accent-100); color: var(--accent-text); }
.note--strong { background: var(--brand-50); border-color: var(--brand-100); border-left-color: var(--brand-950); }
.note--strong .note__icon { background: var(--brand-950); color: var(--accent-light); }
.note--strong p { color: var(--ink); }
.note--plain { background: none; border: 0; padding: var(--space-5) 0 0; border-top: 1px solid var(--line); border-radius: 0; }

/* Kroky na úvodu */
.steps { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); list-style: none; margin: 0; padding: 0; counter-reset: none; }
.steps__item { display: grid; gap: var(--space-3); align-content: start; padding-top: var(--space-4); border-top: 2px solid var(--brand-950); }
.steps__num { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; color: var(--accent-text); }
.steps__text { font: 700 var(--step-2)/1.25 var(--font-heading); color: var(--brand-950); letter-spacing: -0.01em; }

/* Jak pracujeme – čtyři kroky */
.journey { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); list-style: none; margin: 0; padding: 0; }
@media (min-width: 1100px) { .journey { grid-template-columns: repeat(4, 1fr); } }
.journey__step { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.journey__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-2); }
.journey__num { font: 700 var(--step-4)/1 var(--font-heading); color: var(--accent-text); letter-spacing: -0.02em; }
.journey__title { font-size: var(--step-1); margin: 0; }
.journey__step p { margin: 0; color: var(--muted); }
.trust__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--space-5); border-radius: var(--radius); background: var(--accent-600); color: var(--accent-ink); }
.trust__icon .icon { width: 26px; height: 26px; }

/* Průběh investice */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.process li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: center; font-weight: 700; color: var(--brand-950); line-height: 1.3; }
.process__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 2px solid var(--accent-600); color: var(--brand-950); font-size: 0.95rem; background: var(--surface); position: relative; z-index: 1; }
@media (min-width: 640px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); position: relative; }
  .process::before { content: ""; position: absolute; left: 20px; right: 20px; top: 19px; height: 2px; background: var(--line-strong); }
  .process li { grid-template-columns: 1fr; align-items: start; gap: var(--space-3); font-size: 0.95rem; }
}

/* Ilustrace pod záhlavím podstránky */
.banner-img { position: relative; margin: 0 0 var(--space-2); border-radius: var(--radius); overflow: hidden; background: var(--paper-alt); box-shadow: var(--shadow); }
.banner-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 700px) { .banner-img img { aspect-ratio: 21 / 8; } }

/* O nás */
.pullquote { margin: 0; padding: var(--space-2) 0 var(--space-2) var(--space-6); border-left: 3px solid var(--accent-600); }
.pullquote p { margin: 0; font: 400 var(--step-2)/1.5 var(--font-heading); color: var(--brand-950); letter-spacing: -0.01em; }
.motto { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--line-dark); }
.motto__intro { color: var(--on-dark-muted); margin-bottom: var(--space-2); }
.motto__la { font: 700 var(--step-3)/1.15 var(--font-heading); color: #fff; letter-spacing: -0.015em; margin-bottom: var(--space-2); }
.motto__tr { color: var(--accent-light); font-size: var(--step-1); margin: 0; }

/* Kontakt */
.contact-grid { display: grid; gap: var(--space-5); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.25fr 1fr; gap: var(--space-7); } }
.mailcard { padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); background: var(--brand-950); color: var(--on-dark); border-radius: var(--radius); }
.mailcard .label { color: var(--accent-light); }
.mailcard__address { font: 700 clamp(1.75rem, 1.2rem + 2.6vw, 3rem)/1.1 var(--font-heading); letter-spacing: -0.02em; margin-bottom: var(--space-6); overflow-wrap: anywhere; }
.mailcard__address a { color: #fff; text-decoration: none; background: linear-gradient(var(--accent-600), var(--accent-600)) left bottom / 0 2px no-repeat; transition: background-size 0.3s var(--ease-out); }
.mailcard__address a:hover { background-size: 100% 2px; color: #fff; }
.mailcard__hint { margin: var(--space-5) 0 0; font-size: 0.925rem; color: var(--on-dark-muted); }
.contact-aside h2 { margin-bottom: var(--space-4); }
.contact-aside .muted { margin: var(--space-4) 0 var(--space-5); }
.company { padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.company__name { font: 700 var(--step-2)/1.3 var(--font-heading); color: var(--brand-950); margin-bottom: var(--space-5); }
.company__facts { display: grid; gap: var(--space-5) var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); margin: 0; }
@media (min-width: 900px) { .company__facts { grid-template-columns: repeat(3, 1fr); } }
.company__facts div { padding-top: var(--space-3); border-top: 1px solid var(--line); }
.company__facts dt { font: 700 0.75rem/1.3 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-2); }
.company__facts dd { margin: 0; color: var(--ink); font-weight: 500; }

/* Další oblasti */
.section--more { border-top: 1px solid var(--line); }
.section--more .section-head { margin-bottom: var(--space-5); }
.more { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.more__link { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4); min-height: 72px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--brand-950); font-weight: 700; text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease-out); }
.more__link:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--brand-950); text-decoration: none; }
.more__name { flex: 1; line-height: 1.3; }
.more__link > .icon { transition: transform 0.2s var(--ease-out); color: var(--accent-text); }
.more__link:hover > .icon { transform: translateX(4px); }

/* 7 ─ Animace (decentní, jen transform/opacity, s ohledem na prefers-reduced-motion; žádné nekonečné smyčky) */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: var(--delay, 0s); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .hero__copy > * { animation: hero-in 0.8s var(--ease-out) both; }
  .hero__copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero__copy > :nth-child(4) { animation-delay: 0.18s; }
  .hero__media img { animation: fade-in 1.2s var(--ease-out) both; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* 8 ─ Tisk */
@media print {
  .site-header, .site-footer, .banner, .nav-toggle, .lightbox, .btn-row, .filters { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  a { color: inherit; }
  .section { padding-block: 1.5rem; }
}
