/* Trénuj pacienty – styly webu (zdroj: admin/app/templates/web/assets, build kopíruje do public_html/assets). Světlý a tmavý vzhled přes [data-theme] na <html>. */

/* ---------- Písma (vlastní hosting) ----------
   latin = celá Latin-1 + typografie („“ – … ×), nesubsetovat.
   latin-ext-czsk = jen písmena češtiny a slovenštiny navíc (ČčĎďĚěĹĺĽľŇňŔŕŘřŠšŤťŮůŽž), podmnožina z latin-ext přes
   pyftsubset (--layout-features='*' --flavor=woff2). Jiné znaky Latin Extended (polština, maďarština) vykreslí náhradní písmo.
   Nový obsah souboru = nový název (fonty se cachují jako immutable bez ?v=). */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(../fonts/bricolage-grotesque-latin-ext-czsk-wght-normal.woff2) format("woff2");
  unicode-range: U+010C-010F, U+011A-011B, U+0139-013A, U+013D-013E, U+0147-0148, U+0154-0155, U+0158-0159, U+0160-0161, U+0164-0165, U+016E-016F, U+017D-017E; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(../fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/inter-latin-ext-czsk-wght-normal.woff2) format("woff2");
  unicode-range: U+010C-010F, U+011A-011B, U+0139-013A, U+013D-013E, U+0147-0148, U+0154-0155, U+0158-0159, U+0160-0161, U+0164-0165, U+016E-016F, U+017D-017E; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Barvy a proměnné ---------- */
:root {
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --green: #66c783;          /* barva loga */
  --green-strong: #3daa63;
  --navy: #13204a;
  --navy-2: #1b2b5e;
  --amber: #f4b860;
  --coral: #e5533d;

  --bg: #f5f7f2;
  --bg-alt: #ecf1e8;
  --tint: #e5f3e8;
  --surface: #ffffff;
  --surface-2: #f6f8f4;
  --ink: #0f1b33;
  --ink-2: #47536c;
  --ink-3: #6e7890;
  --line: #dbe2d6;
  --line-strong: #c4cfc0;
  --accent-text: #1e7a43;
  --on-brand: #0b1a12;
  --band: #13204a;
  --band-ink: #f2f6ff;
  --band-ink-2: #b9c4de;
  --chip-bg: #ffffff;

  --shadow-1: 0 1px 2px rgb(15 27 51 / .06);
  --shadow-2: 0 14px 34px -14px rgb(15 27 51 / .2), 0 2px 6px rgb(15 27 51 / .05);
  --shadow-3: 0 34px 70px -24px rgb(15 27 51 / .35);

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --hdr-h: 72px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0a1120;
  --bg-alt: #0d1628;
  --tint: #0e1d22;
  --surface: #111b2f;
  --surface-2: #162139;
  --ink: #eaf0f8;
  --ink-2: #adb8cb;
  --ink-3: #8390a7;
  --line: #213049;
  --line-strong: #2f3f5c;
  --accent-text: #7fd99b;
  --band: #0f1a38;
  --band-ink-2: #a9b5d2;
  --navy: #172552;
  --navy-2: #1f3168;
  --chip-bg: #16223a;
  --shadow-1: 0 1px 2px rgb(0 0 0 / .3);
  --shadow-2: 0 18px 40px -16px rgb(0 0 0 / .6), 0 2px 6px rgb(0 0 0 / .25);
  --shadow-3: 0 34px 70px -24px rgb(0 0 0 / .75);
  color-scheme: dark;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  font: 400 1.0625rem/1.6 var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 750; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--green-strong); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--green) 45%, transparent); }

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--quote, .ref__q, .bridge__q { fill: currentColor; stroke: none; }

/* ---------- Tlačítka, štítky, odkazy ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 650; font-size: 1rem; line-height: 1.1;
  padding: .9em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn .i { width: 1.15em; height: 1.15em; transition: transform .2s; }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn--brand { background: var(--green); color: var(--on-brand); box-shadow: 0 10px 24px -10px rgb(61 170 99 / .7); }
.btn--brand:hover { background: #75d090; transform: translateY(-1px); }
.btn--ghost { color: var(--ink); border-color: var(--line-strong); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { padding: 1.05em 1.6em; font-size: 1.0625rem; }
.btn--sm { padding: .7em 1.1em; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); border: 1.5px solid var(--line); background: var(--surface); transition: border-color .2s; }
.icon-btn:hover { border-color: var(--ink-3); }
.icon-btn .i { width: 20px; height: 20px; }
[data-theme="dark"] .i--moon, :root:not([data-theme="dark"]) .i--sun { display: none; }

.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: var(--green); }
.eyebrow--dark { color: var(--on-brand); }

.badge { display: inline-flex; align-items: center; gap: .4em; padding: .38em .75em; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .8125rem; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.badge .i { width: 1.05em; height: 1.05em; }
.badge--brand { background: color-mix(in srgb, var(--green) 20%, transparent); border-color: transparent; color: var(--accent-text); }

.link { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.link .i { display: inline-block; width: 1em; height: 1em; margin-left: .3em; vertical-align: -.125em; }
.lead { font-size: 1.125rem; color: var(--ink-2); }

.pill { display: inline-flex; align-items: center; gap: .65em; padding: .45em .95em .45em .7em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .875rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-1); }
.pill__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green-strong); }
.pill__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); animation: ping 2.2s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: .75em; padding: .8em 1.05em; border-radius: 18px; background: var(--chip-bg); border: 1px solid var(--line); box-shadow: var(--shadow-2); font-size: .875rem; line-height: 1.3; }
.chip b { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -.01em; }
.chip small { color: var(--ink-3); font-size: .78rem; }
.chip__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--coral) 14%, transparent); color: var(--coral); }
.chip__icon .i { width: 20px; height: 20px; }

/* ---------- Lišta náhledu návrhu (jen prototyp) ---------- */
.dev-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 8px var(--gutter); background: #0b1020; color: #d7dceb; font-size: .8125rem; }
.dev-bar nav { display: flex; flex-wrap: wrap; gap: 6px; }
.dev-bar a { padding: 3px 10px; border-radius: 999px; border: 1px solid #2c3550; }
.dev-bar a[aria-current] { background: var(--green); border-color: var(--green); color: #0b1a12; font-weight: 600; }

/* ---------- Hlavička ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr__in { display: flex; align-items: center; gap: 20px; height: var(--hdr-h); }
.hdr__logo { flex: none; display: block; }
.logo { height: 42px; width: auto; }
.logo__mark, .logo__sub { fill: var(--green); }
.logo__word { fill: var(--ink); }
.hdr__nav { margin-left: auto; }
.hdr__nav ul { display: flex; gap: 2px; }
.hdr__nav a:not(.btn) { display: block; padding: .5em .8em; border-radius: 999px; font-size: .9375rem; font-weight: 550; color: var(--ink-2); transition: color .2s, background-color .2s; }
.hdr__nav a:not(.btn):hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.hdr__nav a.is-active { color: var(--ink); background: color-mix(in srgb, var(--green) 18%, transparent); }
.hdr__menu-cta { display: none; }
.hdr__tools { display: flex; align-items: center; gap: 10px; }
.hdr__burger { display: none; }
.hdr__burger .i:last-child, .hdr.is-open .hdr__burger .i:first-child { display: none; }
.hdr.is-open .hdr__burger .i:last-child { display: block; }

/* ---------- Úvod ---------- */
.hero { position: relative; padding-block: clamp(28px, 5vw, 64px) clamp(40px, 5vw, 64px); overflow: clip; }
.hero__bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 60% at 82% 28%, color-mix(in srgb, var(--green) 26%, transparent), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, color-mix(in srgb, var(--green) 10%, transparent), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / .55) 60%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / .55) 60%, transparent 100%);
  opacity: .9;
}
[data-theme="dark"] .hero__bg { opacity: .7; }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__title { font-size: clamp(2.55rem, 5.6vw, 4.6rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; margin: 22px 0 22px; }
.hero__title em { font-style: normal; padding: 0 .06em; margin: 0 -.06em; background: linear-gradient(transparent 60%, color-mix(in srgb, var(--green) 60%, transparent) 60%, color-mix(in srgb, var(--green) 60%, transparent) 92%, transparent 92%); }
.hero__lead { font-size: clamp(1.0625rem, 1.35vw, 1.2rem); color: var(--ink-2); max-width: 33em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__visual { position: relative; }
.hero__stage { position: relative; width: min(100%, 560px); margin-left: auto; aspect-ratio: 1200 / 1254; }
.hero__stage::before { content: ""; position: absolute; inset: 14% 0 0 7%; border-radius: 999px 999px var(--r-xl) var(--r-xl); background: linear-gradient(160deg, #7dd497 0%, var(--green) 45%, var(--green-strong) 100%); box-shadow: var(--shadow-3); }
.hero__img { position: relative; z-index: 1; width: 100%; clip-path: inset(-40% 0 0 0 round 0 0 var(--r-xl) var(--r-xl)); filter: drop-shadow(0 24px 28px rgb(15 27 51 / .22)); }
.chip--bp { left: -6%; top: 34%; animation: float 7s ease-in-out infinite; }
.chip--next { right: -4%; bottom: 7%; flex-direction: column; align-items: flex-start; gap: .15em; padding: .95em 1.15em; transition: transform .2s, box-shadow .2s; animation: float 7s 1.2s ease-in-out infinite; }
.chip--next:hover { box-shadow: var(--shadow-3); }
.chip__label { display: inline-flex; align-items: center; gap: .45em; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.chip__label .i { width: 1.25em; height: 1.25em; }
.chip__meta { color: var(--ink-2); font-size: .82rem; }
.chip--next .status { margin-top: 6px; }

/* Stav termínu: volno / obsazeno (náhradníci) */
.status { display: inline-flex; align-items: center; gap: .5em; padding: .32em .75em; border-radius: 999px; background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--accent-text); font-size: .75rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.status::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--green-strong); }
.status--full { background: color-mix(in srgb, var(--amber) 24%, transparent); color: #8a5300; }
.status--full::before { background: #e39a2d; }
[data-theme="dark"] .status--full { color: var(--amber); }
/* ukázkový termín (demo data, přihlášky na něj se nepřijímají) */
.status--demo { background: color-mix(in srgb, var(--ink-3) 18%, transparent); color: var(--ink-2); }
.status--demo::before { background: var(--ink-3); }
@keyframes float { 50% { transform: translateY(-8px); } }

.ecg { position: absolute; fill: none; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.ecg path { stroke-dasharray: .22 .78; animation: ecg 3.6s linear infinite; }
@keyframes ecg { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.ecg--hero { left: 7%; width: 93%; top: 19%; height: 18%; z-index: 0; stroke: #fff; stroke-width: 3; opacity: .7; }

.trust { margin-top: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(20px, 3vw, 40px); padding: 14px 24px 14px 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.trust__ckf { display: block; background: #fff; border-radius: 14px; padding: 4px 10px; border: 1px solid var(--line); }
.trust__ckf img { height: 58px; width: auto; }
.trust__item { display: flex; align-items: center; gap: .65em; font-size: .9375rem; color: var(--ink-2); }
.trust__item b { color: var(--ink); }
.trust__item .i { color: var(--accent-text); width: 22px; height: 22px; }

/* ---------- Čísla ---------- */
.stats { position: relative; overflow: hidden; background: var(--band); color: var(--band-ink); padding-block: clamp(56px, 7vw, 96px); }
[data-theme="dark"] .stats { border-block: 1px solid var(--line); }
.ecg--band { left: 0; width: 100%; top: 50%; height: 120px; transform: translateY(-50%); stroke: var(--green); stroke-width: 2; opacity: .22; }
.ecg--band path { animation-duration: 6s; }
.stats .wrap { position: relative; }
.stats__title { font-size: clamp(1.5rem, 2.6vw, 2.15rem); max-width: 24em; margin-bottom: clamp(28px, 4vw, 44px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 24px 22px; border-radius: var(--r); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .09); backdrop-filter: blur(4px); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 4.2vw, 3.5rem); line-height: 1; letter-spacing: -.03em; color: var(--green); font-variant-numeric: tabular-nums; }
.stat__num small { display: block; font: 600 .875rem/1.2 var(--font-body); letter-spacing: 0; color: var(--band-ink-2); margin-bottom: 8px; }
.stat__num span { font-size: .5em; margin-left: .12em; letter-spacing: 0; }
.stat__txt { margin-top: 10px; color: var(--band-ink-2); font-size: .975rem; }

/* ---------- Sekce ---------- */
.sec { padding-block: clamp(72px, 9vw, 120px); }
.sec--alt { background: var(--bg-alt); }
.sec--tint { background: var(--tint); }
.sec__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec__head > p:not(.eyebrow) { margin-top: 16px; font-size: 1.125rem; color: var(--ink-2); }
.sec__head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; }
.sec__head--row > p:not(.eyebrow) { max-width: 30em; margin-top: 0; font-size: 1.0625rem; }
h2 { font-size: clamp(2rem, 3.8vw, 3.05rem); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }

/* Stejná mřížka jako dlaždice pod ní: text přes dva sloupce, seznam nad pravou dlaždicí */
.sec__head--split { max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 24px 16px; }
.sec__head--split > div:first-child { grid-column: span 2; }
.sec__head--split p:not(.eyebrow) { margin-top: 16px; font-size: 1.125rem; color: var(--ink-2); max-width: 30em; }

/* Pro koho je kurz – nekonečný seznam jedoucí zdola nahoru */
.ticker { --tk-h: 54px; --tk-gap: 12px; height: calc(3 * var(--tk-h) + 2 * var(--tk-gap)); overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent);
          mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); }
.ticker__track { animation: ticker calc(var(--n) * 2.6s) linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: grid; gap: var(--tk-gap); padding-bottom: var(--tk-gap); }
.ticker__list li { display: flex; align-items: center; gap: .7em; height: var(--tk-h); padding: 0 1.2em 0 .85em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; color: var(--ink-2); white-space: nowrap; }
.ticker__list .i { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--tint); color: var(--accent-text); stroke-width: 3; }
@keyframes ticker { to { transform: translateY(-50%); } }

/* Přínosy – dlaždice */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento__img { grid-row: span 2; position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; min-height: 360px; }
.bento__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.bento__img figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; display: inline-flex; align-items: center; gap: .55em; width: fit-content; padding: .6em .95em; border-radius: 999px; background: var(--chip-bg); color: var(--ink); font-size: .875rem; font-weight: 600; box-shadow: var(--shadow-2); }
.bento__img figcaption .i { color: var(--accent-text); }
.bento__card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.bento__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.bento__card h3 { font-size: 1.25rem; }
.bento__card p { color: var(--ink-2); font-size: .975rem; }
.bento__card--wide { grid-column: span 2; }
.bento__icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--tint); color: var(--accent-text); margin-bottom: 4px; }
.bento__icon .i { width: 24px; height: 24px; }
.bento__cta { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-lg);
  background: radial-gradient(90% 80% at 100% 0%, rgb(255 255 255 / .38), transparent 60%), linear-gradient(140deg, #8ad9a1 0%, var(--green) 45%, var(--green-strong) 100%);
  color: var(--on-brand); box-shadow: 0 18px 40px -24px rgb(61 170 99 / .9); transition: transform .25s, box-shadow .25s; }
.bento__cta:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -22px rgb(61 170 99 / .95); }
.bento__kicker { font-weight: 600; opacity: .8; }
.bento__cta b { font-family: var(--font-display); font-size: 1.75rem; letter-spacing: -.02em; line-height: 1.05; }
.ecg--cta { left: 52%; top: 8%; width: 44%; height: 34%; z-index: -1; stroke: #fff; stroke-width: 3; opacity: .85; }
.ecg--cta path { animation-duration: 2.8s; }
/* Bloky programu jako lišta v poměru hodin (barvy jako v sekci Program) */
.bento__bar { display: flex; gap: 4px; height: 8px; margin-top: auto; }
.bento__bar i { border-radius: 999px; background: var(--navy); transform-origin: left; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.bento__bar i:nth-child(2) { background: #fff; transition-delay: .15s; }
.bento__bar i:nth-child(3) { background: var(--amber); transition-delay: .3s; }
.js .bento__cta:not(.is-in) .bento__bar i { transform: scaleX(0); }
.bento__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; font-size: .9375rem; font-weight: 600; line-height: 1.35; }
.bento__foot .i { flex: none; width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: var(--on-brand); color: var(--green); transition: transform .25s; }
.bento__cta:hover .bento__foot .i, .bento__cta:focus-visible .bento__foot .i { transform: rotate(90deg); }   /* šipka dolů – program je níž na stránce */

/* Praxe */
.praxe__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.praxe__media { position: relative; aspect-ratio: 1 / 1.02; }
.praxe__ph { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-3); }
.praxe__ph img { width: 100%; height: 100%; object-fit: cover; }
.praxe__ph--a { left: 0; top: 0; width: 63%; height: 84%; }
.praxe__ph--b { right: 0; bottom: 0; width: 47%; height: 58%; outline: 6px solid var(--tint); }
.praxe__tool { position: absolute; z-index: 2; left: -5%; bottom: -3%; width: 44%; transform: rotate(-9deg); filter: drop-shadow(0 18px 18px rgb(15 27 51 / .28)); }
.chip--pair { right: 6%; top: 10%; }
.chip--pair .chip__icon { background: var(--tint); color: var(--accent-text); }
.praxe__copy .lead { margin-top: 18px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-top: 28px; }
.checks li { display: flex; align-items: flex-start; gap: .7em; font-weight: 550; line-height: 1.4; }
.checks .i { width: 22px; height: 22px; padding: 4px; margin-top: -1px; border-radius: 50%; background: var(--green); color: var(--on-brand); stroke-width: 3; }
.checks--light li { color: var(--band-ink); font-weight: 500; }

/* Co kurz je / není – zelená karta (jako .bento__cta) proti tlumené čárkované; uprostřed „vs“ */
.isnt { position: relative; margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: stretch; }
.isnt__col { position: relative; padding: clamp(26px, 3vw, 40px); border-radius: var(--r-lg); }
.isnt__col h3 { display: flex; align-items: center; gap: .55em; font-size: clamp(1.45rem, 2.2vw, 1.85rem); margin-bottom: 22px; }
.isnt__badge { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.isnt__badge .i { width: 22px; height: 22px; stroke-width: 3; }
.isnt__list { display: grid; gap: 10px; }
.isnt__list li { display: flex; align-items: flex-start; gap: .8em; line-height: 1.4; }
.isnt__list li > .i { width: 26px; height: 26px; padding: 6px; margin-top: -1px; border-radius: 50%; stroke-width: 3; }
.isnt__list small { display: block; margin-top: 3px; font-size: .9375rem; }

.isnt__col--yes { isolation: isolate; overflow: hidden; color: var(--on-brand);
  background: radial-gradient(80% 70% at 100% 0%, rgb(255 255 255 / .38), transparent 60%), linear-gradient(140deg, #8ad9a1 0%, var(--green) 45%, var(--green-strong) 100%);
  box-shadow: 0 22px 48px -26px rgb(61 170 99 / .9); }
.isnt__col--yes .isnt__badge { background: var(--on-brand); color: var(--green); }
.isnt__col--yes li { padding: 14px 16px; border-radius: var(--r-sm); background: rgb(255 255 255 / .26); border: 1px solid rgb(255 255 255 / .35); backdrop-filter: blur(2px); }
.isnt__col--yes li > .i { background: var(--on-brand); color: var(--green); }
.isnt__col--yes b { font-weight: 650; }
.isnt__col--yes small { color: color-mix(in srgb, var(--on-brand) 82%, var(--green)); }
.ecg--isnt { right: 20px; top: 22px; width: min(40%, 260px); height: 92px; z-index: -1; stroke: #fff; stroke-width: 3; opacity: .75; }
.ecg--isnt path { animation-duration: 3.2s; }

.isnt__col--no { border: 2px dashed var(--line-strong); background: color-mix(in srgb, var(--surface) 45%, transparent); }
.isnt__col--no .isnt__badge { background: color-mix(in srgb, var(--coral) 16%, transparent); color: var(--coral); }
.isnt__col--no li { padding: 14px 4px; border-top: 1px dashed var(--line-strong); }
.isnt__col--no li:first-child { border-top: 0; padding-top: 4px; }
.isnt__col--no li > .i { background: color-mix(in srgb, var(--coral) 14%, transparent); color: var(--coral); }
/* Škrtnutí přes pozadí, aby se dalo „dotáhnout“ při zobrazení sekce (.reveal → .is-in) */
.isnt__col--no s { text-decoration: none; color: var(--ink-2); font-weight: 600;
  background: linear-gradient(var(--coral), var(--coral)) no-repeat 0 58% / 100% 2px; transition: background-size .7s cubic-bezier(.6, 0, .3, 1) .5s; }
.isnt__col--no li:nth-child(2) s { transition-delay: .75s; }
.isnt__col--no li:nth-child(n+3) s { transition-delay: 1s; }
.js .isnt:not(.is-in) s { background-size: 0 2px; }
.isnt__col--no small { display: flex; align-items: flex-start; gap: .45em; color: var(--ink); font-weight: 550; }
.isnt__col--no small .i { width: 1.05em; height: 1.05em; margin-top: .2em; color: var(--accent-text); stroke-width: 2.5; }

.isnt__vs { position: absolute; z-index: 2; left: calc((100% - 20px) * 1.15 / 2.15 + 10px); top: 50%; translate: -50% -50%;
  width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; border: 6px solid var(--tint);
  background: var(--navy); color: #fff; font: 800 1.15rem/1 var(--font-display); letter-spacing: -.02em; box-shadow: var(--shadow-2); }
@media (max-width: 960px) {
  .isnt { gap: 0; }
  .isnt__vs { position: relative; left: auto; top: auto; translate: none; justify-self: center; margin-block: -22px; }
  .ecg--isnt { top: 18px; height: 60px; }
}

/* Program */
.program__item:nth-child(1) { --c: var(--navy); --c-ink: #fff; }
.program__item:nth-child(2) { --c: var(--green); --c-ink: var(--on-brand); }
.program__item:nth-child(3) { --c: var(--amber); --c-ink: #2a1a00; }
[data-theme="dark"] .program__item:nth-child(1) { --c: #3b5bb5; }

.program { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.program__item { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.program__item::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c); }
.program__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.program__no { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: var(--c-ink); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.program__item h3 { font-size: 1.3rem; line-height: 1.2; margin-bottom: 12px; }
.program__item li { position: relative; padding: .55em 0 .55em 1.3em; border-top: 1px dashed var(--line); color: var(--ink-2); font-size: .96875rem; line-height: 1.45; }
.program__item li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.pricing { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 0 clamp(16px, 2.5vw, 32px); margin-top: 20px; padding: 14px clamp(20px, 3vw, 36px) 0 14px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.pricing__box { align-self: stretch; padding: 20px 24px; border-radius: calc(var(--r-xl) - 10px); }
.pricing__box--member { background: var(--tint); }
.pricing__label { margin-bottom: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.pricing__main { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 2.75rem); line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.pricing__main .badge { font-family: var(--font-body); letter-spacing: 0; }
.pricing__note { margin-top: 8px; color: var(--ink-2); font-size: .875rem; line-height: 1.4; }
.pricing__cta { justify-self: end; display: grid; justify-items: center; gap: 12px; }
.pricing__cta .link { font-size: .875rem; white-space: nowrap; }
.pricing__incl { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 14px; padding: 18px 10px 20px; border-top: 1px dashed var(--line-strong); }
.pricing__incl .pricing__label { margin: 0; }
.pricing__incl ul { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.pricing__incl li { display: flex; align-items: center; gap: .5em; font-size: .9375rem; color: var(--ink-2); }
.pricing__incl .i { flex: none; color: var(--green-strong); stroke-width: 2.6; }

/* Most mezi ordinací a fitkem */
.bridge { padding-bottom: clamp(72px, 9vw, 120px); }
.bridge__in { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; }
.bridge__img { grid-area: 1 / 1; margin: 0; overflow: hidden; border-radius: var(--r-xl); aspect-ratio: 3 / 2; }
.bridge__img img { width: 100%; height: 100%; object-fit: cover; }
.bridge__copy { grid-area: 1 / 2; position: relative; z-index: 1; margin-left: -16%; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: var(--navy); color: var(--band-ink); box-shadow: var(--shadow-3); }
.bridge__q { width: 42px; height: 42px; color: var(--green); }
.bridge__quote { margin: 16px 0 14px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 2.7vw, 2.3rem); line-height: 1.1; letter-spacing: -.025em; color: #fff; }
.bridge__copy p:last-child { color: var(--band-ink-2); }

.empty { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--surface); border: 1.5px dashed var(--line-strong); }
.empty__icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: var(--tint); color: var(--accent-text); margin-bottom: 18px; }
.empty__icon .i { width: 28px; height: 28px; }
.empty h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.empty > p { margin: 12px 0 0; color: var(--ink-2); max-width: 36em; }

/* Lektoři */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person__ph { position: relative; aspect-ratio: 1 / 1.04; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--r-lg);
  background: radial-gradient(circle at 50% 118%, color-mix(in srgb, var(--green) 70%, transparent) 0 54%, transparent 54.5%), var(--tint); }
.person__ph img { width: 100%; transition: transform .5s; transform-origin: 50% 100%; }
.person:hover .person__ph img { transform: scale(1.04); }
.person h3 { margin-top: 16px; font-size: 1.15rem; }
.person__role { margin-top: 3px; color: var(--accent-text); font-weight: 600; font-size: .9375rem; }
.person__bio { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; }

/* Reference */
.refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.ref { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.ref__q { width: 40px; height: 40px; color: var(--green); }
.ref blockquote { margin: 0; }
.ref__hl { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; line-height: 1.35; letter-spacing: -.012em; }
.ref__more summary { display: inline-flex; align-items: center; gap: .4em; margin-top: 6px; padding-block: 8px; cursor: pointer; list-style: none; color: var(--accent-text); font-weight: 600; font-size: .9375rem; }
.ref__more summary::-webkit-details-marker { display: none; }
.ref__more summary::after { content: "↓"; transition: transform .2s; }
.ref__more[open] summary::after { transform: rotate(180deg); }
.ref__more p { margin-top: 10px; color: var(--ink-2); font-size: .96875rem; }
.ref__who { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.ref__who b { display: block; }
.ref__who small { color: var(--ink-3); font-size: .875rem; }
.avatar { flex: none; width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.avatar--blank { background: color-mix(in srgb, var(--green) 22%, var(--surface)); fill: color-mix(in srgb, var(--green-strong) 75%, var(--ink)); padding: 0; }

/* Galerie – mřížka se vzorem opakovaným po 7 fotkách */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 15vw, 200px); grid-auto-flow: dense; gap: 12px; }
.gallery li:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.gallery li:nth-child(7n+5) { grid-column: span 2; }
.gallery li:nth-child(7n+6) { grid-row: span 2; }
.gallery a { display: block; position: relative; height: 100%; overflow: hidden; border-radius: var(--r); background: var(--bg-alt); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgb(10 17 32 / .35)); opacity: 0; transition: opacity .3s; }
.gallery a:hover::after { opacity: 1; }

.lb { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; padding: 0; border: 0; background: transparent; color: #fff; }
.lb::backdrop { background: rgb(5 9 18 / .92); backdrop-filter: blur(6px); }
.lb figure { height: 100%; margin: 0; display: grid; place-items: center; align-content: center; gap: 12px; padding: 64px 80px; }
.lb img { max-height: calc(100dvh - 150px); width: auto; border-radius: 12px; }
.lb figcaption { color: #cfd6e6; text-align: center; font-size: .9375rem; }
.lb__btn { position: fixed; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .22); color: #fff; transition: background-color .2s; }
.lb__btn:hover { background: rgb(255 255 255 / .22); }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb__next { right: 16px; top: 50%; translate: 0 -50%; }

/* Přihláška */
.reg__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.reg__side { position: sticky; top: calc(var(--hdr-h) + 24px); }
.reg__side .lead { margin-top: 16px; }
.reg__side .lead + .contact { margin-top: 28px; }
.steps { counter-reset: s; display: grid; margin: 28px 0; }
.steps li { position: relative; counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 12px 0; }
.steps li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--line-strong); font-family: var(--font-display); font-weight: 800; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 58px; bottom: -10px; width: 2px; background: var(--line); }
.steps b { font-weight: 700; }
.steps span { color: var(--ink-2); font-size: .96875rem; }
.contact { display: grid; justify-items: start; gap: 0; padding: 16px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.contact p { margin-bottom: 4px; font-weight: 650; }
.contact a { display: inline-flex; align-items: center; gap: .6em; padding-block: 7px; font-weight: 500; }
.contact a:hover { color: var(--accent-text); }
.contact .i { color: var(--green-strong); }
.contact--card { margin-top: 28px; }

.card { padding: clamp(22px, 3.5vw, 40px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.reg__form { display: grid; gap: 20px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 12px; font-weight: 700; }
.reg__terms { display: grid; gap: 10px; }
.opt { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 14px; padding: 12px 16px 12px 14px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.opt:hover { border-color: var(--line-strong); }
.opt:has(input:checked) { border-color: var(--green-strong); background: var(--tint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 22%, transparent); }
.opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--green-strong); }
.opt__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 2px; }
.opt__box small { color: var(--ink-2); font-size: .875rem; }
.opt__date { width: 54px; height: 54px; display: grid; place-content: center; text-align: center; line-height: 1; border-radius: 14px; background: var(--navy); color: #fff; }
.opt__date b { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.opt__date small { margin-top: 3px; font-size: .75rem; font-weight: 600; color: #bcc7e2; }
.opt--full .opt__date { background: color-mix(in srgb, var(--navy) 55%, var(--ink-3)); }
.note { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--amber) 15%, transparent); border: 1px solid color-mix(in srgb, var(--amber) 45%, transparent); color: var(--ink-2); font-size: .9375rem; line-height: 1.45; }
.note .i { flex: none; width: 22px; height: 22px; color: #c17d12; }
.note b { color: var(--ink); }
[data-theme="dark"] .note .i { color: var(--amber); }
.opt--demo .opt__date { background: var(--ink-3); }
.note--demo { background: var(--surface-2); border-color: var(--line-strong); }
.note--demo .i, [data-theme="dark"] .note--demo .i { color: var(--ink-3); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field__label { font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; padding: .8em 1em; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: .8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-strong); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 24%, transparent); }
.field [aria-invalid="true"] { border-color: var(--coral); }
.field [aria-invalid="true"]:focus { border-color: var(--coral); box-shadow: 0 0 0 4px color-mix(in srgb, var(--coral) 22%, transparent); }
.field__err { color: var(--coral); font-size: .8125rem; font-weight: 600; }
.field__err:empty { display: none; }
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 40px; cursor: pointer; font-size: .96875rem; line-height: 1.45; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green-strong); }
.check small { display: block; color: var(--ink-2); font-size: .875rem; }
.check--card { padding: 16px; border-radius: 16px; background: var(--tint); border: 1.5px solid transparent; transition: border-color .2s; }
.check--card:has(input:checked) { border-color: var(--green-strong); }
.reg__sum { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.reg__sum p { color: var(--ink-2); font-size: .9375rem; }
.reg__sum b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.95rem; line-height: 1.1; letter-spacing: -.025em; color: var(--ink); }
.reg__ok { text-align: center; padding: 28px 0; display: grid; justify-items: center; gap: 8px; }
.reg__ok h3 { font-size: 1.6rem; }
.reg__ok p { color: var(--ink-2); max-width: 30em; }
.reg__ok h3:focus { outline: none; }   /* fokus sem dostane site.js po odeslání (tlačítko zmizí) */
.reg__form.is-done > :not(.reg__ok) { display: none; }
/* výsledek přihlášky bez JavaScriptu (registrace.php) */
.reg-result { min-height: 100vh; }
.reg-result__card { max-width: 640px; margin-inline: auto; display: grid; gap: 14px; }
.reg-result__card h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.reg-result__card p, .reg-result__errors { color: var(--ink-2); }
.reg-result__errors { padding-left: 1.2em; list-style: disc; display: grid; gap: 4px; color: var(--coral); font-weight: 600; }
.reg-result__hint { font-size: .9375rem; }

/* Ecomail formuláře */
.sub { margin-top: 28px; max-width: 620px; }
.sub__fields { display: grid; grid-template-columns: 1fr 1.3fr auto; align-items: end; gap: 10px; }
.sub__btn { height: 52px; }
.sub .field input { height: 52px; }
.sub__note { margin-top: 12px; font-size: .8125rem; opacity: .75; }
.sub__note a { text-decoration: underline; text-underline-offset: 2px; }
.sub__err { margin-top: 10px; color: var(--coral); font-size: .875rem; font-weight: 650; }
.sub__ok { display: flex; align-items: center; gap: 14px; margin-top: 4px; padding: 16px 18px; border-radius: 16px; background: color-mix(in srgb, var(--green) 16%, transparent); border: 1px solid color-mix(in srgb, var(--green) 45%, transparent); }
.sub__ok .i { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--green); color: var(--on-brand); stroke-width: 3; }
.sub.is-done .sub__fields, .sub.is-done .sub__note, .sub.is-done .sub__err { display: none; }
.sub.is-busy .sub__btn { opacity: .7; pointer-events: none; }
.empty .sub { margin-top: 26px; }

/* E-book */
.ebook { position: relative; overflow: hidden; padding-block: clamp(72px, 9vw, 120px); background: var(--band); color: var(--band-ink); }
.ebook::before { content: ""; position: absolute; width: 760px; height: 760px; left: -220px; top: 50%; translate: 0 -50%; border-radius: 50%; background: radial-gradient(circle, rgb(102 199 131 / .26), transparent 65%); pointer-events: none; }
[data-theme="dark"] .ebook { border-block: 1px solid var(--line); }
.ebook__in { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ebook h2 { color: #fff; }
.ebook .lead { margin-top: 16px; color: var(--band-ink-2); }
.ebook .checks { margin-top: 24px; }
.ebook .field__label { color: var(--band-ink-2); }
.ebook .field input { background: rgb(255 255 255 / .07); border-color: rgb(255 255 255 / .18); color: #fff; }
.ebook .field input::placeholder { color: rgb(255 255 255 / .45); }
.ebook .field input:focus { background: rgb(255 255 255 / .1); }
.ebook .sub__err { color: #ff9b8a; }

.book { position: relative; display: grid; place-items: center; padding: 28px 0 20px; perspective: 1600px; }
.book__page { position: absolute; top: 50%; left: 50%; width: min(250px, 48vw); height: auto; border-radius: 4px; translate: -12% -50%; rotate: 7deg; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .65); transition: translate .7s cubic-bezier(.2, .7, .2, 1), rotate .7s cubic-bezier(.2, .7, .2, 1); }
.book__cover {
  position: relative; width: min(320px, 62vw); border-radius: 3px 12px 12px 3px;
  transform: rotateY(-20deg) rotateX(6deg) rotateZ(-2deg); transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .7, .2, 1);
  box-shadow: 34px 44px 70px -24px rgb(0 0 0 / .75);
}
.book__cover img { display: block; width: 100%; height: auto; border-radius: inherit; }
.book__cover::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgb(0 0 0 / .22) 0, rgb(255 255 255 / .25) 1.6%, rgb(0 0 0 / .06) 3.2%, transparent 7%); pointer-events: none; }
.book__cover::after { content: ""; position: absolute; top: 6px; bottom: 6px; right: -10px; width: 11px; border-radius: 0 4px 4px 0; background: repeating-linear-gradient(90deg, #fff 0 2px, #d9e2db 2px 3px); transform: translateZ(-2px); }
.book:hover .book__cover { transform: rotateY(-8deg) rotateX(3deg) rotateZ(-1deg); }
.book:hover .book__page { translate: 4% -50%; rotate: 10deg; }
.book__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.book__facts li { padding: .45em .95em; border-radius: 999px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .16); color: var(--band-ink); font-size: .875rem; font-weight: 600; }

/* Blog – karty článků (hlavní stránka, výpis, související) */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bcard { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.bcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.bcard:has(a:focus-visible) { outline: 3px solid var(--green-strong); outline-offset: 3px; }
.bcard a:focus-visible { outline: none; }
.bcard__img { overflow: hidden; aspect-ratio: 16 / 9; background: var(--tint); }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.bcard:hover .bcard__img img { transform: scale(1.04); }
.bcard__body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; }
.bcard__kat { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.bcard__body > :is(h2, h3) { margin-top: 8px; font-size: 1.25rem; line-height: 1.22; letter-spacing: -.02em; }
.bcard__body > :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bcard__perex { margin: 10px 0 20px; color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }
.bcard__meta { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .8125rem; line-height: 1.35; color: var(--ink-3); }
.bcard__meta > span { display: grid; }
.bcard__meta b { font-weight: 650; color: var(--ink); }
.bcard--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.bcard--lead .bcard__img { aspect-ratio: auto; min-height: 360px; }
.bcard--lead .bcard__body { padding: clamp(24px, 3.5vw, 44px); }
.bcard--lead .bcard__body > :is(h2, h3) { margin-top: 12px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.12; }
.bcard--lead .bcard__perex { margin-top: 14px; font-size: 1.0625rem; }

.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; clip-path: circle(50%); object-fit: cover; object-position: 50% 12%; background: var(--tint); }
.avatar--xs { width: 36px; height: 36px; }
.avatar--sm { width: 52px; height: 52px; }
.avatar--lg { width: 88px; height: 88px; }
.avatar--blank { fill: color-mix(in srgb, var(--green) 60%, var(--surface)); }

/* Blog – hlavička podstránky, filtr, mřížka */
.phead { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4.5vw, 52px); }
.phead::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9;
  background: radial-gradient(45% 90% at 88% 0%, color-mix(in srgb, var(--green) 24%, transparent), transparent 70%), linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(#000 20%, transparent); mask-image: linear-gradient(#000 20%, transparent); }
.phead h1 { max-width: 14em; font-size: clamp(2.4rem, 5.6vw, 4.25rem); line-height: 1.02; letter-spacing: -.035em; }
.phead .lead { margin-top: 18px; max-width: 40em; }
.phead--404 { padding-block: clamp(64px, 10vw, 140px); text-align: center; }
.phead--404 .wrap { position: relative; display: grid; justify-items: center; padding-top: 96px; }
.phead__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.ecg--404 { left: 50%; top: 0; width: min(560px, 90%); height: 76px; translate: -50% 0; stroke: var(--green); stroke-width: 3; opacity: .8; }

.blog { padding-bottom: clamp(56px, 7vw, 96px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.fchip { display: inline-flex; align-items: center; gap: .5em; padding: .55em 1em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .875rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s; }
.fchip small { font-size: .75rem; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.fchip:hover { border-color: var(--ink-3); color: var(--ink); }
.fchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.fchip[aria-pressed="true"] small { color: inherit; opacity: .65; }
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bgrid__empty { padding: 40px 24px; border-radius: var(--r-lg); border: 1.5px dashed var(--line-strong); text-align: center; color: var(--ink-2); }

/* Blog – článek */
.article__head { padding-top: clamp(28px, 4.5vw, 56px); }
.back { display: inline-flex; align-items: center; gap: .4em; min-height: 40px; font-size: .9375rem; font-weight: 600; color: var(--ink-2); transition: color .2s; }
.back:hover { color: var(--ink); }
.back .i { transition: transform .2s; }
.back:hover .i { transform: translateX(-3px); }
.article__kat { display: flex; flex-wrap: wrap; gap: 6px; margin-top: clamp(20px, 3vw, 32px); }
.article__kat a { display: inline-block; padding: .35em .8em; border-radius: 999px; background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--accent-text); font-size: .8125rem; font-weight: 650; transition: background-color .2s; }
.article__kat a:hover { background: color-mix(in srgb, var(--green) 30%, transparent); }
.article__head h1 { max-width: 21em; margin-top: 16px; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.06; letter-spacing: -.035em; }
.article__meta { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.article__meta p { display: grid; line-height: 1.35; }
.article__meta b { font-weight: 650; }
.article__meta span { color: var(--ink-3); font-size: .875rem; }
.article__hero { margin-top: clamp(28px, 4vw, 44px); }
.article__hero img { width: 100%; max-height: 600px; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-2); }
.article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: clamp(32px, 5vw, 72px); margin-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); }
.article__body { min-width: 0; max-width: 720px; }  /* min-width: široká tabulka se posouvá ve svém obalu, nerozšíří stránku */
.article__side { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 16px; }

/* Text článku = bloky z administrace (Blocks::render): p, h2/h3 s id, ul/ol, figure.b-image, figure.b-gallery,
   blockquote.b-quote, hr.b-delimiter, figure.b-video, div.b-html, figure.b-table. Inline jen b, i, a, br. */
.prose { font-size: 1.125rem; line-height: 1.75; color: var(--ink-2); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose > p:first-child { font-size: 1.3rem; line-height: 1.6; color: var(--ink); }
.prose :is(b, strong) { font-weight: 650; color: var(--ink); }
.prose :is(h2, h3, h4) { color: var(--ink); scroll-margin-top: calc(var(--hdr-h) + 16px); }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.18; }
.prose h3 { margin-top: 1.7em; font-size: 1.3rem; line-height: 1.25; }
.prose h4 { margin-top: 1.5em; font: 700 1.0625rem/1.4 var(--font-body); }
.prose > :is(h2, h3, h4) + * { margin-top: .6em; }
.prose > :is(ul, ol) { display: grid; gap: .45em; }
.prose > ul > li { position: relative; padding-left: 1.6em; }
.prose > ul > li::before { content: ""; position: absolute; left: .3em; top: .68em; width: .42em; height: .42em; border-radius: 50%; background: var(--green-strong); }
.prose > ol { counter-reset: ol; }
.prose > ol > li { position: relative; padding-left: 2.1em; counter-increment: ol; }
.prose > ol > li::before { content: counter(ol); position: absolute; left: 0; top: .2em; width: 1.5em; height: 1.5em; display: grid; place-items: center; border-radius: 50%; background: var(--tint); color: var(--accent-text); font-size: .8em; font-weight: 700; line-height: 1; }
.prose a { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
/* seznam zdrojů: seznam hned za mezititulkem „Použité zdroje“ (id z Blocks::header) */
.prose > :is(h2, h3)[id^="pouzite-zdroje"] + ul { gap: .55em; padding: 20px 24px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); font-size: .875rem; line-height: 1.5; }
.prose > :is(h2, h3)[id^="pouzite-zdroje"] + ul > li { padding-left: 1.2em; }
.prose > :is(h2, h3)[id^="pouzite-zdroje"] + ul > li::before { left: 0; top: .6em; width: .32em; height: .32em; background: var(--ink-3); }
.prose > :is(h2, h3)[id^="pouzite-zdroje"] + ul a { color: var(--ink-2); }
.prose > :is(h2, h3)[id^="pouzite-zdroje"] + ul a:hover { color: var(--ink); }
/* rozhovor: otázka tučně, odpověď pod ní (<b>otázka</b><br><i>odpověď</i>), celé odsazené linkou */
.prose--rozhovor p:has(> b:first-child + br) { padding-left: 1.1em; border-left: 3px solid color-mix(in srgb, var(--green) 55%, transparent); }
.prose--rozhovor p:has(> b:first-child + br) i { font-style: normal; }

/* citát */
.prose .b-quote { position: relative; margin-block: 1.8em; padding: 4px 0 4px 1.3em; border-left: 3px solid var(--green); }
.prose .b-quote p { font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.35; letter-spacing: -.015em; color: var(--ink); }
.prose .b-quote cite { display: block; margin-top: .6em; font-size: .9375rem; font-style: normal; font-weight: 600; color: var(--ink-3); }
.prose .b-quote cite::before { content: "— "; }
/* oddělovač: EKG čárka v barvě loga */
.prose .b-delimiter { width: 96px; height: 2px; margin: 2.4em auto; border: 0; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--green) 20%, var(--green) 80%, transparent); }
/* fotky a galerie (klik = prohlížeč fotek) */
.prose :is(.b-image, .b-gallery, .b-video) { margin-block: 1.8em; }
.prose .b-image img { width: auto; max-width: 100%; height: auto; margin-inline: auto; border-radius: var(--r); cursor: zoom-in; }
.prose figcaption { margin-top: .7em; color: var(--ink-3); font-size: .875rem; line-height: 1.5; text-align: center; }
.prose .b-gallery ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.prose .b-gallery[data-count="2"] ul, .prose .b-gallery[data-count="4"] ul { grid-template-columns: repeat(2, 1fr); }
.prose .b-gallery li { aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sm); background: var(--bg-alt); }
.prose .b-gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .5s; }
.prose .b-gallery li:hover img { transform: scale(1.04); }
.prose .b-video video { width: 100%; border-radius: var(--r); background: #000; }
/* vlastní HTML (mapa, video z YouTube…) */
.prose .b-html { margin-block: 1.8em; }
.prose .b-html iframe { display: block; width: 100%; max-width: 100%; border: 0; border-radius: var(--r); }
.prose .b-html iframe[src*="youtube"], .prose .b-html iframe[src*="vimeo"] { height: auto; aspect-ratio: 16 / 9; }
/* tabulka: na úzkém displeji se posouvá vodorovně, záhlaví v barvě webu, řádky střídavě podbarvené */
.prose .b-table { margin-block: 1.8em; }
.b-table__scroll { overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); -webkit-overflow-scrolling: touch; }
.b-table__scroll:focus-visible { outline: 2px solid var(--green-strong); outline-offset: 2px; }
.prose .b-table table { width: 100%; min-width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.prose .b-table :is(th, td) { padding: 11px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose .b-table td { min-width: 8em; color: var(--ink-2); }
.prose .b-table thead th { background: color-mix(in srgb, var(--green) 16%, var(--surface)); color: var(--ink); font-weight: 700; font-size: .8125rem; letter-spacing: .02em; white-space: nowrap; border-bottom: 2px solid color-mix(in srgb, var(--green) 55%, transparent); }
.prose .b-table tbody th { color: var(--ink); font-weight: 650; }
.prose .b-table tbody tr:nth-child(even) { background: var(--surface-2); }
.prose .b-table tbody tr:last-child > * { border-bottom: 0; }
.prose .b-table figcaption { text-align: left; }

.author { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px; margin-top: 48px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.author:has(.author__bio) { align-items: start; }
.author__label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.author__name { margin-top: 4px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 750; line-height: 1.2; letter-spacing: -.02em; }
.author__bio { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }

.acta { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: start; gap: 14px; padding: 26px; border-radius: var(--r-lg); background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--green) 30%, transparent), transparent 65%), var(--navy); color: var(--band-ink); box-shadow: var(--shadow-3); }
.acta .eyebrow { margin: 0; }
.ecg--acta { right: -6%; top: 4%; width: 70%; height: 56px; z-index: -1; stroke: var(--green); stroke-width: 2.5; opacity: .4; }
.acta__title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 750; line-height: 1.15; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.acta__term { display: flex; align-items: flex-start; gap: .7em; font-size: .9375rem; line-height: 1.4; color: var(--band-ink-2); }
.acta__term b { display: block; color: #fff; font-weight: 650; }
.acta__term .i { margin-top: 1px; color: var(--green); }
.acta .status { background: rgb(102 199 131 / .16); color: var(--green); }
.acta .status--full { background: rgb(227 154 45 / .18); color: #f2b65c; }
.acta__price { width: 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .14); }
.acta__price b { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.acta__price span { font-size: .8125rem; color: var(--band-ink-2); }
.acta .btn { width: 100%; }
.acta__more { justify-self: center; padding-block: 9px; font-size: .875rem; font-weight: 600; color: var(--band-ink-2); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.acta__more:hover { color: #fff; }

.aebook { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 16px; padding: 16px 18px 16px 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.aebook:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.aebook img { width: 76px; border-radius: 3px 6px 6px 3px; box-shadow: 0 10px 20px -8px rgb(15 27 51 / .45); rotate: -4deg; transition: rotate .3s; }
.aebook:hover img { rotate: 0deg; }
.aebook small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.aebook b { display: block; margin-top: 4px; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.aebook__go { display: inline-flex; align-items: center; gap: .35em; margin-top: 8px; font-size: .875rem; font-weight: 600; color: var(--accent-text); }
.aebook__go .i { width: 1em; height: 1em; transition: transform .2s; }
.aebook:hover .aebook__go .i { transform: translateX(3px); }

/* Časté dotazy */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--hdr-h) + 24px); }
.qa { border-bottom: 1px solid var(--line-strong); }
.qa:first-child { border-top: 1px solid var(--line-strong); }
.qa summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 650; font-size: 1.0625rem; line-height: 1.4; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent-text); }
.qa__ico { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: transform .3s, background-color .3s; }
.qa__ico .i { width: 16px; height: 16px; stroke-width: 2.5; }
.qa[open] .qa__ico { transform: rotate(45deg); background: var(--green); border-color: transparent; color: var(--on-brand); }
.qa p { padding: 0 52px 24px 0; color: var(--ink-2); }

/* Newsletter */
.news { padding-block: clamp(48px, 7vw, 96px); }
.news__card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; gap: clamp(20px, 4vw, 56px); padding: clamp(28px, 4.5vw, 56px); border-radius: var(--r-xl); background: radial-gradient(60% 90% at 18% 50%, rgb(255 255 255 / .28), transparent 70%), linear-gradient(125deg, #84d79c 0%, var(--green) 45%, var(--green-strong) 100%); color: var(--on-brand); box-shadow: 0 34px 70px -30px rgb(61 170 99 / .75); }
.ecg--news { left: 0; bottom: 6%; width: 100%; height: 26%; stroke: #fff; stroke-width: 2.5; opacity: .35; }
.news__art { position: relative; justify-self: center; width: min(100%, 330px); }
.news__art::before { content: ""; position: absolute; inset: 2% 4%; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / .95) 0%, rgb(255 255 255 / .55) 52%, transparent 71%); }
.news__art img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 22px 26px rgb(15 27 51 / .28)); animation: float 7s ease-in-out infinite; }
.news__copy { position: relative; }
.news .eyebrow { color: var(--on-brand); }
.news h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.news__lead { margin-top: 14px; color: rgb(11 26 18 / .8); font-size: 1.0625rem; }
.news__list { display: grid; gap: 8px; margin-top: 20px; }
.news__list li { display: flex; align-items: flex-start; gap: .6em; font-weight: 600; line-height: 1.4; }
.news__list .i { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #13204a; color: #fff; stroke-width: 3; }
.news .sub { margin-top: 26px; }
.news .sub__fields { grid-template-columns: 1fr 1fr; }
.news .sub__btn { grid-column: 1 / -1; justify-self: start; }
.news .field__label { color: rgb(11 26 18 / .75); }
.news .field input { background: #fff; border-color: transparent; color: #0f1b33; }
.news .btn--brand { background: #13204a; color: #fff; box-shadow: 0 12px 26px -12px rgb(19 32 74 / .8); }
.news .btn--brand:hover { background: #1b2b5e; }
.news .sub__ok { background: rgb(255 255 255 / .6); border-color: transparent; }
.news .sub__err { color: #8a1c0c; }
[data-theme="dark"] .news__card { background: radial-gradient(60% 90% at 18% 50%, rgb(102 199 131 / .22), transparent 70%), linear-gradient(125deg, #17432b 0%, #10291c 100%); color: var(--ink); border: 1px solid #1d4a31; box-shadow: var(--shadow-3); }
[data-theme="dark"] .ecg--news { stroke: var(--green); opacity: .3; }
[data-theme="dark"] .news__art::before { background: radial-gradient(circle, rgb(229 243 232 / .9) 0%, rgb(229 243 232 / .35) 52%, transparent 71%); }
[data-theme="dark"] .news .eyebrow { color: var(--green); }
[data-theme="dark"] .news__lead, [data-theme="dark"] .news .field__label { color: var(--ink-2); }
[data-theme="dark"] .news__list .i { background: var(--green); color: var(--on-brand); }
[data-theme="dark"] .news .field input { background: rgb(255 255 255 / .07); border-color: rgb(255 255 255 / .16); color: var(--ink); }
[data-theme="dark"] .news .btn--brand { background: var(--green); color: var(--on-brand); }
[data-theme="dark"] .news .sub__ok { background: rgb(102 199 131 / .14); }
[data-theme="dark"] .news .sub__err { color: #ff9b8a; }

/* Patička */
.ftr { padding-top: clamp(56px, 7vw, 88px); background: var(--bg-alt); border-top: 1px solid var(--line); }
.ftr__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.ftr__brand p { margin: 16px 0; max-width: 28em; color: var(--ink-2); }
.ftr__contact { display: grid; gap: 0; }
.ftr__contact a { display: inline-flex; align-items: center; gap: .6em; padding-block: 7px; font-weight: 500; }
.ftr__contact .i { color: var(--green-strong); }
.ftr__col h2 { margin-bottom: 14px; font: 700 .8125rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ftr__col a:not(.ftr__logo) { display: block; padding: .3em 0; color: var(--ink-2); transition: color .2s; }
.ftr__col a:not(.ftr__logo):hover { color: var(--ink); }
.ftr__logo { display: block; width: 170px; margin-bottom: 10px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.ftr__bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 4px 20px; margin-top: 48px; padding-block: 16px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .875rem; }
.ftr__bottom nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 20px; }
.ftr__credit { text-align: center; }
.ftr__credit a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.ftr__bottom nav :is(a, button) { padding-block: 10px; }
.ftr__bottom a:hover, .ftr__bottom button:hover { color: var(--ink); }
.ftr__bottom button { color: inherit; font: inherit; cursor: pointer; }

/* ---------- Právní stránky (data/pages) ---------- */
.phead__note { margin-top: 16px; color: var(--ink-3); font-size: .9375rem; }
.doc { padding-bottom: clamp(56px, 7vw, 96px); }
.prose--doc { max-width: 52rem; font-size: 1.0625rem; }
.prose--doc > :first-child { margin-top: 0; }
.prose--doc > p:first-child { font-size: inherit; color: inherit; }
.prose--doc .b-table td { min-width: 10em; }
.prose--doc .b-table td:first-child { min-width: 9em; }
.doc__consent { margin-top: 36px; }

/* ---------- Lišta cookies (souhlas s Google Analytics) ---------- */
.consent { position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: 22px 22px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-3); color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }
.consent[hidden] { display: none; }
.consent__title { padding-right: 40px; font-size: 1.1875rem; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); outline: none; }
.consent__text { margin-top: 8px; }
.consent__text a { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.consent__prefs fieldset { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; border: 0; }
.consent__cat { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line); }
.consent__cat input { grid-row: span 2; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green-strong); }
.consent__cat label { font-weight: 650; color: var(--ink); cursor: pointer; }
.consent__cat input:disabled + label { cursor: default; }
.consent__cat label span { margin-left: .4em; font-size: .8125rem; font-weight: 500; color: var(--ink-3); }
.consent__cat p { font-size: .875rem; line-height: 1.45; color: var(--ink-3); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.consent__actions .btn { padding: .8em 1em; font-size: .9375rem; }
.consent__actions .btn--ghost { grid-column: 1 / -1; }
.consent__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); transition: background-color .2s, color .2s; }
.consent__close:hover { background: var(--surface-2); color: var(--ink); }
.consent__close .i { width: 20px; height: 20px; }
body:has(.consent:not([hidden])) .mbar { visibility: hidden; }

/* Mobilní lišta s výzvou */
.mbar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 20px; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow-3); transform: translateY(150%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.mbar.is-on { transform: none; }
.mbar b { display: block; font-size: .9375rem; }
.mbar small { color: var(--ink-2); font-size: .8125rem; }

/* Postupné zobrazení při posunu */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responzivita ---------- */
@media (min-width: 961px) and (min-height: 760px) {
  /* o kus nižší než okno: pruh „trust“ není nalepený na spodní hraně a pod ním vykoukne další sekce */
  .hero { min-height: calc(100svh - var(--hdr-h) - clamp(48px, 8vh, 96px)); display: flex; flex-direction: column; padding-block: clamp(40px, 7vh, 96px) clamp(32px, 5vh, 64px); }
  .hero__in { flex: 1; }
  .hero__title { margin: clamp(22px, 3.2vh, 40px) 0; }
  .hero__ctas { margin-top: clamp(30px, 4.5vh, 52px); }
  .hero__stage { width: min(100%, 600px); }
  .trust { margin-top: clamp(32px, 5vh, 64px); }
}

@media (max-width: 1100px) {
  .hdr__nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); }
  .hdr.is-open .hdr__nav { display: block; }
  .hdr__nav ul { flex-direction: column; gap: 0; }
  .hdr__nav a:not(.btn) { padding: .8em 0; border-radius: 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .hdr__nav a:not(.btn):hover, .hdr__nav a.is-active { background: none; }
  .hdr__menu-cta { display: flex; margin-top: 18px; width: 100%; }
  .hdr__tools { margin-left: auto; }
  .hdr__burger { display: grid; }
}

@media (max-width: 960px) {
  .hero__in, .praxe__grid, .reg__grid, .ebook__in, .faq, .sec__head--split { grid-template-columns: 1fr; }
  .sec__head--split > div:first-child { grid-column: auto; }
  .ticker { width: min(100%, 420px); }
  .hero__stage { margin: 12px auto 0; width: min(88%, 500px); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__img { grid-row: auto; grid-column: span 2; min-height: 0; aspect-ratio: 16 / 9; }
  .bento__cta { grid-column: span 2; }
  .praxe__media { width: min(100%, 560px); margin-inline: auto; }
  .isnt, .program { grid-template-columns: 1fr; }
  .bridge__in { grid-template-columns: 1fr; }
  .bridge__img { grid-area: 1 / 1; }
  .bridge__copy { grid-area: 2 / 1; margin: -64px 16px 0; }
  .pricing { grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 14px 0; }
  .pricing__cta { grid-column: 1 / -1; justify-self: stretch; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 10px 10px 0; }
  .news__card { grid-template-columns: 1fr; }
  .news__art { width: min(62%, 260px); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .reg__side, .faq__head { position: static; }
  .ebook__art { order: 2; }
  .posts, .bgrid { grid-template-columns: 1fr 1fr; }
  .posts > :nth-child(3) { display: none; }
  .bcard--lead { display: flex; }
  .bcard--lead .bcard__img { aspect-ratio: 16 / 9; min-height: 0; }
  .article__grid { grid-template-columns: minmax(0, 1fr); }
  .article__body { max-width: none; }
  .article__side { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
  .ftr__in { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: span 2; }
}

@media (max-width: 760px) {
  .mbar { display: flex; }
  .ftr__bottom { grid-template-columns: minmax(0, 1fr); padding-bottom: 96px; }
  .ftr__bottom nav { justify-content: flex-start; }
  .ftr__credit { text-align: left; }
  .hdr__cta { display: none; }
}

@media (max-width: 640px) {
  .consent { left: 0; bottom: 0; width: 100%; max-height: 88dvh; padding: 20px var(--gutter) calc(16px + env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  :root { --hdr-h: 64px; }
  .logo { height: 36px; }
  .hero__title { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .chip { font-size: .8125rem; padding: .65em .85em; }
  .chip b { font-size: 1rem; }
  .chip--bp { left: -2%; top: 26%; }
  .chip--next { right: -2%; bottom: 4%; }
  .chip__icon { width: 32px; height: 32px; }
  .trust { padding: 16px; }
  .trust__ckf { width: 100%; display: flex; justify-content: center; }
  .stats__grid { gap: 10px; }
  .stat { padding: 18px 16px; }
  .bento { grid-template-columns: 1fr; }
  .bento__img, .bento__card--wide, .bento__cta { grid-column: auto; }
  .checks, .grid2, .sub__fields { grid-template-columns: 1fr; }
  .chip--pair { right: 0; top: 4%; }
  .isnt__col, .program__item, .bento__card, .ref { padding: 24px 20px; }
  .pricing { grid-template-columns: 1fr; }
  .pricing__box { padding: 18px 20px; }
  .pricing__cta { flex-direction: column; align-items: stretch; text-align: center; padding-inline: 6px; }
  .pricing__incl { padding-inline: 8px; }
  .pricing__incl ul { flex-direction: column; }
  .ticker { --tk-h: 48px; --tk-gap: 10px; }
  .ticker__list li { font-size: .9375rem; }
  .ticker__list .i { width: 22px; height: 22px; padding: 4px; }
  .opt { position: relative; grid-template-columns: auto 1fr; gap: 12px; padding-right: 12px; }
  .opt input { position: absolute; opacity: 0; pointer-events: none; }
  .opt:has(input:focus-visible) { outline: 2px solid var(--green-strong); outline-offset: 2px; }
  .opt__date { width: 48px; height: 48px; }
  .news .sub__fields { grid-template-columns: 1fr; }
  .news .sub__btn { justify-self: stretch; }
  .team { gap: 14px; }
  .person h3 { font-size: 1rem; }
  .person__role { font-size: .875rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .gallery li:nth-child(7n+6) { grid-row: span 1; }
  .lb figure { padding: 64px 12px; }
  .lb__prev, .lb__next { top: auto; bottom: 16px; translate: none; }
  .lb__prev { left: calc(50% - 60px); }
  .lb__next { right: calc(50% - 60px); }
  .posts, .bgrid { grid-template-columns: 1fr; }
  .posts > :nth-child(3) { display: flex; }
  .bcard--lead .bcard__body { padding: 20px 22px 22px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .prose { font-size: 1.0625rem; }
  .prose > p:first-child { font-size: 1.1875rem; }
  .article__hero img { border-radius: var(--r-lg); }
  .article__side { grid-template-columns: 1fr; }
  .author { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; }
  .avatar--lg { width: 72px; height: 72px; }
  .qa p { padding-right: 0; }
  .reg__sum .btn { width: 100%; }
  .ftr__in { grid-template-columns: 1fr; }
  .ftr__brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ecg path { stroke-dasharray: none; }
  .ticker { width: 100%; height: auto; -webkit-mask-image: none; mask-image: none; }
  .ticker__list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); padding-bottom: 0; }
  .ticker__list + .ticker__list { display: none; }
}
