/* R.E.S.E.T. – landing page
   Vzhled podle Framer šablony „Ebook“: tmavé pozadí, zlatý akcent, pilulková tlačítka. */

/* Písma – vlastní hosting, jen latinka + čeština a používané tloušťky */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(assets/fonts/dmsans-b.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(assets/fonts/dmsans-a.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 Tight'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(assets/fonts/intertight-b.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(assets/fonts/intertight-a.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; }

:root {
  --bg: #111111;
  --bg-2: #171717;
  --card: #1b1b1b;
  --card-2: #222222;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f4f3ef;
  --muted: #a3a19b;
  --dim: #8f8c85;
  --gold: #e2c35a;        /* hlavní akcent – změnou tady se přebarví celý web */
  --gold-2: #b8962f;
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1200px;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Inter Tight", "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
main { overflow-x: clip; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; letter-spacing: -.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.4vw, 84px); }
h2 { font-size: clamp(34px, 4.4vw, 56px); }
h3 { font-size: 22px; letter-spacing: -.015em; }
h4, .card h3, .banner h3, .author-cap h3, .bento-card h3 { font-size: 19px; letter-spacing: -.01em; line-height: 1.25; }
h1 em, h2 em, .chapter em, .author-body blockquote em { font-style: normal; color: var(--gold); }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--gold); color: #111; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }
#obsah-stranky { outline: none; }
.video-play[hidden] { display: none; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.center { text-align: center; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 40px; }

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none; cursor: pointer;
  font: 500 16px/1 var(--sans); border: 0; padding: 0; background: none; color: inherit;
  transition: transform .25s ease;
}
.btn > span { padding: 16px 24px; border-radius: 999px; white-space: nowrap; }
.btn .dot {
  width: 48px; height: 48px; border-radius: 50%; background: var(--gold); display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(0,0,0,.25) inset; transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.btn .dot::before {
  content: ""; width: 12px; height: 12px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23111' stroke-width='1.4'%3E%3Cpath d='M2 10L10 2M4 2h6v6'/%3E%3C/svg%3E");
}
.btn:hover .dot { transform: rotate(45deg); }
.btn-light > span { background: var(--text); color: #111; }
.btn-ghost { white-space: nowrap; justify-content: center; padding: 16px 24px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.05); }
.btn-sm > span { padding: 12px 18px; font-size: 15px; }
.btn-sm .dot { width: 40px; height: 40px; }
.btn-block { width: 100%; }
.btn-block > span { flex: 1; text-align: center; }

/* ---------- eyebrow / nadpisy sekcí ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--text); margin-bottom: 22px; }
.bullet { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto 64px; }
.section-head.center { text-align: center; }
.section-head .muted { margin-top: 18px; }

/* ---------- navigace ---------- */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; padding: 0 16px; }
.nav {
  max-width: 740px; margin: 0 auto; display: flex; align-items: center; gap: 28px;
  padding: 8px 8px 8px 24px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(17,17,17,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.logo { padding: 10px 0; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0 auto 0 0; padding: 0; }
.nav-links a { display: inline-block; padding: 11px 2px; text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .3s; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { max-width: 740px; margin: 8px auto 0; padding: 12px; border-radius: 24px; border: 1px solid var(--line); background: rgba(17,17,17,.95); display: grid; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 16px; text-decoration: none; font-size: 17px; border-radius: 12px; }
.mobile-menu a:hover { background: var(--card); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 140px 0 100px; overflow: hidden; }
.beam {
  position: absolute; top: -10%; left: 68%; width: 520px; height: 110%; transform: translateX(-50%);
  background: radial-gradient(ellipse 30% 55% at 50% 0%, rgba(226,195,90,.45), rgba(226,195,90,.08) 55%, transparent 75%);
  filter: blur(8px); pointer-events: none;
}
.hero::before { /* jemná mřížka */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 4px; mask-image: radial-gradient(ellipse at 60% 20%, #000 10%, transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; position: relative; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 520px; margin: 26px 0 36px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-row.center { justify-content: center; }
.formats { margin-top: 22px; font-size: 14px; color: var(--dim); }

.hero-book { position: relative; display: grid; place-items: center; perspective: 1400px; min-height: 520px; }
.book3d {
  width: min(330px, 70vw); aspect-ratio: 900 / 1280; position: relative; border-radius: 3px 8px 8px 3px;
  transform: rotateY(-22deg) rotateX(6deg) rotateZ(4deg); transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  box-shadow: 30px 40px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.07), 0 0 120px rgba(226,195,90,.12);
}
.book3d picture { display: block; height: 100%; border-radius: inherit; }
.book3d img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.book3d::before { /* hřbet */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; border-radius: 3px 0 0 3px; z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,0) 60%, rgba(0,0,0,.4));
}
.book3d::after { /* odlesk */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 70%, rgba(255,255,255,.05));
}
.book3d.small { width: min(240px, 60vw); }
.chip {
  position: absolute; padding: 9px 16px; border-radius: 999px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(40,40,40,.75); border: 1px solid var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #d9d7d1; white-space: nowrap; animation: float 6s ease-in-out infinite;
}
.chip-1 { top: 16%; left: 2%; }
.chip-2 { top: 46%; right: -2%; animation-delay: -2s; }
.chip-3 { bottom: 4%; right: 8%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- video pod hero ---------- */
.video-sec { padding: 0 0 40px; position: relative; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #0c0c0c; border: 1px solid var(--line-2); box-shadow: 0 40px 120px rgba(0,0,0,.55), 0 0 0 8px rgba(255,255,255,.02); }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: #0c0c0c; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 18px; border: 0; padding: 0; cursor: pointer; color: var(--text); background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35)); transition: background .3s; }
.video-play:hover { background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.45)); }
.play-ico { position: relative; width: 88px; height: 88px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 10px rgba(226,195,90,.18), 0 20px 50px rgba(0,0,0,.5); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.play-ico::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #111; }
.play-ico::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(226,195,90,.5); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }
.video-play:hover .play-ico { transform: scale(1.06); }
.play-txt { display: grid; gap: 2px; text-align: left; font: 500 20px/1.2 var(--display); letter-spacing: -.01em; text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.play-txt small { font: 400 14px var(--sans); color: #d6d3cc; letter-spacing: 0; }
.video-frame.playing .video-play, .video-frame.ended .video-play { opacity: 0; pointer-events: none; }
.video-end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 20px; text-align: center; background: rgba(8,8,8,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeEnd .5s ease both; }
.video-end[hidden] { display: none; }
@keyframes fadeEnd { from { opacity: 0; } }
.video-end-title { font: 500 clamp(22px, 3vw, 36px)/1.15 var(--display); letter-spacing: -.02em; }
.video-end-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

@media (max-width: 860px) { .video-frame { border-radius: 20px; } }
@media (max-width: 560px) {
  .video-sec { padding-bottom: 16px; }
  .video-frame { border-radius: 16px; }
  .play-ico { width: 64px; height: 64px; box-shadow: 0 0 0 7px rgba(226,195,90,.18); }
  .play-ico::before { border-width: 11px 0 11px 17px; }
  .play-txt { font-size: 16px; }
  .play-txt small { font-size: 12.5px; }
  .video-end { gap: 14px; }
  .video-end-title { font-size: 18px; }
  .video-end .btn > span, .video-end .btn-ghost { padding: 11px 16px; font-size: 14px; }
  .video-end .btn .dot { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) { .play-ico::after { animation: none; } }

/* ---------- problém ---------- */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr; column-gap: 48px; }
.problem-grid > div { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
.problem-grid h3 { margin-bottom: 10px; }
.problem-grid > div > .muted { margin-bottom: 28px; max-width: 460px; }
.pill-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pill-list li { display: flex; align-items: center; gap: 14px; padding: 15px 20px; border-radius: 18px; line-height: 1.45; background: var(--card); border: 1px solid var(--line); font-size: 15px; }
.pill-list svg, .ico { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 12px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-start; gap: 14px; }
.stat-card strong { font-family: var(--display); font-weight: 500; font-size: 40px; letter-spacing: -.04em; line-height: 1; color: var(--gold); }
.stat-card span { font-size: 14px; color: var(--muted); line-height: 1.45; }

.split-line { display: grid; grid-template-columns: 1fr 260px 1fr; align-items: center; gap: 24px; margin-top: 120px; }
.split-line p { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -.03em; }
.split-line p.gold { text-align: right; }
.wave-wrap { height: 120px; }
.wave { width: 100%; height: 100%; overflow: visible; }
.wave path { fill: none; stroke: #fff; stroke-width: 1.2; }

/* ---------- řešení ---------- */
.solution-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.solution-grid .sub { font-size: 21px; margin: 28px 0 14px; max-width: 460px; }
.solution-grid .muted { max-width: 470px; margin-bottom: 30px; }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -64px; z-index: 2; position: relative; margin-inline: 24px; background: rgba(27,27,27,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 20px 8px; }
.counters div { text-align: center; }
.counters strong { display: block; font-family: var(--display); font-weight: 500; font-size: 40px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.counters span { font-size: 13px; color: var(--muted); }


/* ---------- diagram: kolo R.E.S.E.T. ---------- */
.wheel-wrap { position: relative; max-width: 500px; margin: 0 auto; }
.wheel { width: 100%; height: auto; display: block; overflow: hidden; font-family: var(--display); }
.wheel-ring { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 6; }
.seg-bg { fill: var(--card); stroke: var(--line-2); stroke-width: 1; transition: fill .5s, stroke .5s; }
.seg-letter { fill: var(--gold); font-size: 54px; font-weight: 600; text-anchor: middle; letter-spacing: -.02em; transition: fill .5s; }
.seg-name { fill: var(--muted); font-size: 15px; font-weight: 500; text-anchor: middle; font-family: var(--sans); transition: fill .5s; }
.seg-arrow { stroke: var(--dim); stroke-width: 1.4; color: var(--dim); transition: stroke .5s, color .5s; }
.seg { cursor: default; }
.seg.on .seg-bg { fill: #2a2617; stroke: rgba(226,195,90,.55); }
.seg.on .seg-name { fill: var(--text); }
.seg.on .seg-arrow { stroke: var(--gold); color: var(--gold); }
.core { fill: var(--bg); stroke: var(--gold); stroke-width: 1.2; }
.core-t { fill: var(--text); font-size: 16px; font-weight: 500; text-anchor: middle; }
.wheel-rot { transform-origin: 250px 250px; animation: spin 140s linear infinite; }
.wheel-rot .upright { transform-box: fill-box; transform-origin: center; animation: spin 140s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.core-glow { animation: breathe 4s ease-in-out infinite; transform-origin: 250px 250px; }
@keyframes breathe { 50% { opacity: .5; transform: scale(.9); } }

/* ---------- diagram: R.E.S.E.T. na jedné stránce ---------- */
.reset-map { margin-top: 96px; display: grid; gap: 10px; }
.reset-map-head { display: grid; gap: 12px; margin-bottom: 22px; }
.reset-map-head h3 { font-size: clamp(26px, 3vw, 36px); }
.reset-map-head .muted { max-width: 560px; font-size: 16px; }
.map-row { display: grid; grid-template-columns: 56px minmax(230px, 270px) 1fr; gap: 20px; align-items: center; min-height: 90px; padding: 14px 14px 14px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color .4s, background .4s; }
.map-row.on, .map-row:hover { border-color: rgba(226,195,90,.45); background: linear-gradient(90deg, rgba(226,195,90,.08), var(--card) 40%); }
.map-letter { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 30px; color: #111; background: var(--gold); }
.map-name h4 { font-size: 19px; margin-bottom: 4px; }
.map-name p { font-size: 14px; color: var(--muted); line-height: 1.4; text-wrap: balance; }
.map-habits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(58px, auto); gap: 8px; }
.map-habits li { display: flex; align-items: center; padding: 10px 16px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.3; color: #dcd9d2; text-wrap: balance; }

/* ---------- diagram: 30denní protokol ---------- */
.protocol { margin-top: 48px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 40px; }
.protocol-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: 36px; }
.protocol-head .eyebrow { margin-bottom: 12px; }
.protocol-head h3 { font-size: clamp(28px, 3.2vw, 40px); }
.protocol-head .muted { font-size: 15px; }
.days { display: grid; grid-template-columns: repeat(30, 1fr); gap: 4px; margin-bottom: 28px; }
.days i { height: 36px; border-radius: 6px; background: var(--card-2); position: relative; overflow: hidden; }
.days i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform .5s cubic-bezier(.2,.8,.2,1) var(--d, 0ms); }
.days i.p1::after { opacity: .35; } .days i.p2::after { opacity: .65; } .days i.p3::after { opacity: 1; }
.protocol.in .days i::after { transform: scaleY(1); }
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.phase { padding: 22px 20px; border-radius: var(--radius-sm); background: var(--card-2); border-top: 2px solid rgba(226,195,90,.35); }
.phase.p2 { border-top-color: rgba(226,195,90,.65); } .phase.p3 { border-top-color: var(--gold); }
.phase-days { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.phase h4 { font-size: 24px; margin: 6px 0 16px; }
.phase ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.phase li { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: #d4d1ca; }

/* ---------- pro koho ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 28px; display: flex; flex-direction: column; }
.card .ico { width: 30px; height: 30px; margin-bottom: 36px; }
.card h3 { margin: 0 0 12px; }
.cards-4 .card h3 { min-height: 2.5em; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.banner { margin-top: 40px; padding: 22px 22px 22px 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.banner h3 { margin-bottom: 4px; }

/* ---------- obsah ---------- */
.part { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 44px 0; border-top: 1px solid var(--line); }
.part-label span { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.part-label h3 { font-size: 30px; margin: 6px 0 10px; }
.part-label p { color: var(--muted); font-size: 15px; }
.chapters { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.chapter { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; display: flex; flex-direction: column; min-height: 190px; }
.chapter em { font-family: var(--display); color: var(--gold); font-size: 14px; font-weight: 500; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.chapter h4 { font-size: 17px; margin: 6px 0 6px; }
.chapter p { font-size: 14px; color: var(--muted); line-height: 1.45; margin-bottom: 18px; }
.chapter .tag { margin-top: auto; align-self: flex-start; font-size: 12px; padding: 6px 12px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); color: #cfccc5; }
.chapter.highlight { border-color: rgba(226,195,90,.45); background: linear-gradient(160deg, rgba(226,195,90,.12), var(--card) 60%); }

/* ---------- autor ---------- */
.author { display: grid; grid-template-columns: 360px 1fr; gap: 48px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 18px; }
.author-photo { position: relative; border-radius: 18px; overflow: hidden; }
.author-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 614/780; }
.author-cap { position: absolute; inset: auto 0 0 0; padding: 60px 22px 22px; background: linear-gradient(transparent, rgba(0,0,0,.88)); }
.author-cap h3 { font-size: 22px; margin-bottom: 8px; }
.author-cap p { font-size: 14px; color: #d0cec8; line-height: 1.45; }
.author-body { padding: 36px 30px 30px 0; display: flex; flex-direction: column; gap: 24px; }
.author-body blockquote { margin: 0; font-family: var(--display); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.25; letter-spacing: -.02em; color: var(--gold); position: relative; }
.author-body blockquote em { color: var(--text); }
.author-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: auto; }
.author-stats div { background: var(--card-2); border-radius: var(--radius-sm); padding: 16px; border: 1px solid var(--line); }
.author-stats strong { display: block; font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.author-stats span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; margin-top: 4px; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: 1fr 1.2fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.bento-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.bento-card.big-num strong { display: block; font-family: var(--display); font-weight: 500; font-size: 120px; letter-spacing: -.06em; line-height: .9; color: var(--gold); }
.bento-card.big-num p { color: var(--muted); margin-top: 18px; }
.bento-card.quote { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; text-align: center; background: #e9e6de; color: #111; }
.bento-card.quote p { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -.025em; }
.bento-card.quote span { margin-top: 26px; font-size: 14px; color: #555; }
.bento-card.list { grid-row: span 2; }
.learn-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.learn-list li { padding: 12px 14px 12px 44px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); font-size: 15px; position: relative; line-height: 1.4; }
.learn-list li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--gold) no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23111' stroke-width='1.8'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3'/%3E%3C/svg%3E"); }
.bento-card.cta-card { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }

/* ---------- ukázka ---------- */
.sample { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; background: radial-gradient(ellipse at 85% 30%, rgba(226,195,90,.16), transparent 55%), var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 64px; overflow: hidden; }
.sample-copy .muted { margin: 22px 0 32px; max-width: 520px; }
.dl-row { display: flex; flex-wrap: wrap; gap: 12px; }
.dl { display: flex; flex-direction: column; gap: 2px; min-width: 150px; padding: 16px 22px 16px 58px; border-radius: 18px; text-decoration: none; background: var(--text); color: #111; position: relative; transition: transform .25s; }
.dl:hover { transform: translateY(-3px); }
.dl::before { content: ""; position: absolute; left: 14px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--gold) no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23111' stroke-width='1.6'%3E%3Cpath d='M7 1v9M3 6.5l4 4 4-4M1.5 13h11'/%3E%3C/svg%3E"); }
.dl b { font-size: 17px; font-family: var(--display); font-weight: 600; }
.dl span { font-size: 13px; color: #555; }
.fine { font-size: 13px; color: var(--dim); margin-top: 18px; }
.sample-book { display: grid; place-items: center; perspective: 1200px; position: relative; }
.sample-badge { position: absolute; bottom: -6px; padding: 8px 14px; border-radius: 999px; background: var(--gold); color: #111; font-size: 13px; font-weight: 600; }

/* ---------- ceník ---------- */
.pricing { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); grid-template-rows: repeat(6, auto); justify-content: center; column-gap: 16px; }
.books-bg { position: absolute; inset: 40px -40px auto; display: flex; justify-content: space-between; pointer-events: none; opacity: .5; filter: blur(3px); }
.books-bg img { width: 280px; transform: rotate(-10deg); border-radius: 6px; }
.books-bg img:last-child { transform: rotate(10deg); }
.price-card { position: relative; background: rgba(27,27,27,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 30px; display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
.price-card.featured { border-color: rgba(226,195,90,.5); box-shadow: 0 0 80px rgba(226,195,90,.08); }
.price-kind { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: 10px; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: #111; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #111; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.price-card h3 { font-size: 26px; margin-bottom: 10px; }
.price-card > .muted { font-size: 15px; }
.price { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 26px 0 22px; }
.price .was { font: 500 20px/1 var(--display); color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(226,195,90,.8); text-decoration-thickness: 2px; letter-spacing: -.02em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.price .now { font-family: var(--display); font-weight: 500; font-size: 56px; letter-spacing: -.045em; line-height: 1; color: var(--gold); }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; }
.check-list li { padding: 11px 14px 11px 42px; border-radius: 999px; background: var(--card-2); font-size: 14px; position: relative; }
.check-list li::before { content: "→"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%; background: #333; color: var(--gold); font-size: 11px; display: grid; place-items: center; }
.price-card .btn { align-self: end; }
.price-card > .muted { align-self: start; }

.checkout { position: relative; z-index: 1; max-width: 816px; margin: 40px auto 0; background: var(--card); border: 1px solid var(--line-2); border-radius: 28px; padding: 14px; }
.checkout-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px 16px; }
.checkout-head h3 { font-size: 22px; }
.checkout-price { font-family: var(--display); font-weight: 500; font-size: 22px; color: var(--gold); }
.gdpr-note { padding: 14px 14px 0; text-align: center; font-size: 13px; color: var(--muted); }
.gdpr-note a, .reserve-form label.check a { color: var(--gold); }
.trust { list-style: none; padding: 16px 10px 6px; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 13px; color: var(--dim); }
.trust li::before { content: "✓ "; color: var(--gold); }
.ph-note { font-size: 13px; color: var(--dim); text-align: center; padding: 6px 0 14px; border-bottom: 1px dashed var(--line-2); margin-bottom: 16px; }

/* =====================================================================
   FAPI formulář (R.E.S.E.T. - elektronická kniha, vložený s no-style=1)
   FAPI přesto načítá vlastní utility CSS (třídy f-…), proto !important.
   Struktura: .fapi-order-form > .fapi-form-warning, form > .fapi-form-basic-block
   (.fapi-container-header, labely, inputy, .phone-input) > .fapi-submit-button
   ===================================================================== */
.fapi-box { background: var(--bg-2); border-radius: 20px; padding: 26px; color: var(--text); }
.fapi-box .fapi-order-form, .fapi-box .fapi-order-form * { font-family: var(--sans) !important; box-sizing: border-box; }
.fapi-box .fapi-order-form { color: var(--text) !important; background: transparent !important; max-width: none !important; }
/* upozornění (např. testovací režim) */
.fapi-box .fapi-form-warning { background: rgba(226,195,90,.12) !important; border: 1px solid rgba(226,195,90,.4) !important; color: var(--gold) !important; border-radius: 12px !important; margin: 0 0 18px !important; padding: 10px 14px !important; font-weight: 500 !important; font-size: 14px !important; }
/* bloky a jejich hlavičky */
.fapi-box .fapi-form-basic-block { background: transparent !important; border: 0 !important; padding: 0 !important; margin: 0 0 22px !important; box-shadow: none !important; }
.fapi-box .fapi-container-header { background: transparent !important; border: 0 !important; padding: 0 0 14px !important; margin: 0 !important; }
.fapi-box .fapi-form-basic-block-title, .fapi-box .fapi-form-basic-block-title * { color: var(--text) !important; font-family: var(--display) !important; font-weight: 500 !important; font-size: 18px !important; letter-spacing: -.01em; }
.fapi-box .fapi-form-basic-block-title-after { display: none !important; }
.fapi-box .fapi-form-basic-block > div:not(.fapi-container-header) { padding: 0 !important; }
.fapi-box .fapi-order-form .f-grid { gap: 14px !important; }
/* popisky a texty */
.fapi-box .fapi-order-form label { color: var(--muted) !important; font-size: 14px !important; font-weight: 400 !important; margin-bottom: 6px !important; display: inline-block; }
.fapi-box .fapi-order-form p, .fapi-box .fapi-order-form td, .fapi-box .fapi-order-form th, .fapi-box .fapi-order-form li { color: var(--muted) !important; font-size: 14px !important; }
.fapi-box .fapi-order-form strong, .fapi-box .fapi-order-form b { color: var(--text) !important; }
/* pole */
.fapi-box .fapi-order-form input[type="text"], .fapi-box .fapi-order-form input[type="email"], .fapi-box .fapi-order-form input[type="tel"],
.fapi-box .fapi-order-form input[type="number"], .fapi-box .fapi-order-form input:not([type]), .fapi-box .fapi-order-form select, .fapi-box .fapi-order-form textarea {
  width: 100% !important; background: var(--card-2) !important; color: var(--text) !important;
  border: 1px solid var(--line-2) !important; border-radius: 14px !important; padding: 13px 16px !important; min-height: 50px;
  font-size: 16px !important; line-height: 1.3 !important; box-shadow: none !important; outline: none !important;
  transition: border-color .2s, box-shadow .2s;
}
.fapi-box .fapi-order-form input:focus, .fapi-box .fapi-order-form select:focus, .fapi-box .fapi-order-form textarea:focus { border-color: var(--gold) !important; box-shadow: 0 0 0 3px rgba(226,195,90,.18) !important; }
.fapi-box .fapi-order-form input::placeholder { color: var(--dim) !important; }
.fapi-box .fapi-order-form input.fapi-honeypot { display: none !important; }
.fapi-box .fapi-order-form [style*="display: none"], .fapi-box .fapi-order-form [style*="display:none"], .fapi-box .fapi-order-form .f-hidden, .fapi-box .fapi-order-form [hidden] { display: none !important; }
.fapi-box .fapi-order-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23a3a19b' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 16px center !important; background-size: 12px !important; padding-right: 40px !important; }
.fapi-box .fapi-order-form input[type="checkbox"], .fapi-box .fapi-order-form input[type="radio"] { accent-color: var(--gold); width: 18px !important; height: 18px !important; min-height: 0; }
/* rozložení: formulář bez rámečku, popisky nad poli */
.fapi-box .fapi-order-form form { border: 0 !important; padding: 0 !important; background: transparent !important; }
.fapi-box .fapi-form-basic-block .f-p-6 { padding: 0 !important; }
.fapi-box .fapi-form-basic-block-title { text-align: left !important; }
/* jen viditelné řádky – FAPI skrývá nepotřebná pole (firma, IČ, DIČ…) přes inline display:none, to nesmíme přebít */
.fapi-box .fapi-order-form .f-col-span-2:not([style*="display: none"]):not([style*="display:none"]),
.fapi-box .fapi-order-form .sm\:f-flex:has(> label):not([style*="display: none"]):not([style*="display:none"]) { display: block !important; }
.fapi-box .fapi-order-form label.f-w-28 { width: auto !important; }
/* telefon s volbou předvolby: tlačítko s vlajkou uvnitř pole */
.fapi-box .fapi-order-form div:has(> div > .phone-input) { position: relative !important; display: flex !important; min-height: 50px; }
.fapi-box .fapi-order-form div:has(> div > .phone-input) > .f-z-10 { position: absolute !important; left: 1px; top: 1px; bottom: 1px; z-index: 2; display: flex; align-items: center; }
.fapi-box .fapi-order-form div:has(> div > .phone-input) > .f-z-10 button { height: 100% !important; margin: 0 !important; padding: 0 26px 0 14px !important; border: 0 !important; border-right: 1px solid var(--line-2) !important; border-radius: 14px 0 0 14px !important; }
.fapi-box .fapi-order-form div:has(> div > .phone-input) > .f-z-10 button span { color: var(--text) !important; font-size: 15px !important; }
.fapi-box .fapi-order-form div:has(> .phone-input) { width: 100%; }
.fapi-box .phone-input { position: static !important; margin: 0 !important; }  /* levé odsazení 112 px nastavuje FAPI přímo na poli */
.fapi-box .fapi-order-form button:not(.fapi-submit-button) { background: transparent !important; color: var(--text) !important; border-color: var(--line-2) !important; box-shadow: none !important; }
.fapi-box .fapi-order-form [role="listbox"], .fapi-box .fapi-order-form ul[class*="f-absolute"] { background: var(--card) !important; border: 1px solid var(--line-2) !important; border-radius: 12px !important; color: var(--text) !important; box-shadow: 0 20px 50px rgba(0,0,0,.5) !important; }
.fapi-box .fapi-order-form [role="option"] { color: var(--text) !important; }
.fapi-box .fapi-order-form [role="option"]:hover, .fapi-box .fapi-order-form [role="option"][aria-selected="true"] { background: rgba(226,195,90,.14) !important; }
.fapi-box .fapi-order-form .f-text-gray-600, .fapi-box .fapi-order-form .f-text-gray-700 { color: var(--muted) !important; }
/* odkazy, tabulky, chyby */
.fapi-box .fapi-order-form a { color: var(--gold) !important; }
.fapi-box .fapi-order-form table { width: 100%; border-collapse: collapse; }
.fapi-box .fapi-order-form tr { border-color: var(--line) !important; }
.fapi-box .fapi-order-form [class*="error"], .fapi-box .fapi-order-form [class*="invalid"], .fapi-box .fapi-order-form .f-text-red-600 { color: #ff8a7a !important; }
.fapi-box .fapi-order-form input[aria-invalid="true"], .fapi-box .fapi-order-form .f-border-red-300 { border-color: #ff8a7a !important; }
/* rozestupy mezi bloky (položka, fakturační údaje, platba, shrnutí) */
.fapi-box .fapi-form-basic-block + .fapi-form-basic-block, .fapi-box .fapi-form-items + .fapi-form-basic-block { margin-top: 30px !important; padding-top: 26px !important; border-top: 1px solid var(--line) !important; }
/* položka: bez výběru množství, akční cena zlatě */
.fapi-box .fapi-form-item div:has(> input[type="number"]) { display: none !important; }
.fapi-box .fapi-form-item label, .fapi-box .fapi-form-item label span { color: var(--text) !important; font-size: 15px !important; margin: 0 !important; }
.fapi-box .fapi-form-item-price { color: var(--muted) !important; font-size: 14px !important; }
.fapi-box .fapi-form-discounted-price { color: var(--gold) !important; font-size: 18px !important; font-weight: 600 !important; }
.fapi-box .fapi-form-item p { color: var(--dim) !important; font-size: 13px !important; margin-top: 4px !important; }
/* plovoucí cena FAPI – na webu je cena v hlavičce i ve shrnutí */
.fapi-box .fapi-form-float-price { display: none !important; }
/* „Nakupuji na firmu“ zarovnat s ostatními poli */
.fapi-box .fapi-form-default-show-company, .fapi-box .fapi-form-show-company-base-checkbox { margin-left: 0 !important; padding-left: 0 !important; }
.fapi-box .fapi-form-show-company-base-checkbox { display: flex !important; align-items: center; gap: 10px; }
.fapi-box .fapi-form-show-company-base-checkbox label { margin: 0 !important; color: var(--text) !important; cursor: pointer; }
/* stát: falešné pole jen jako rámeček, text a vlajka v tlačítku */
.fapi-box .fapi-form-default-input-country .f-relative:has(> .country-fake-input) { min-height: 50px; }
.fapi-box .fapi-order-form .country-fake-input { color: transparent !important; position: absolute !important; inset: 0; height: 100% !important; }
.fapi-box .fapi-form-default-input-country .f-p-px { position: relative; z-index: 1; }
.fapi-box .fapi-form-default-input-country button { min-height: 48px; padding: 0 40px 0 15px !important; }
.fapi-box .fapi-form-default-input-country button span { color: var(--text) !important; font-size: 16px !important; }
/* platební metody */
.fapi-box .fapi-form-payment-method > div[role="button"] { border-radius: 14px !important; border: 2px solid transparent !important; box-shadow: none !important; background: var(--text) !important; color: #111 !important; font-weight: 600 !important; font-size: 15px !important; transition: border-color .2s, box-shadow .2s, transform .2s; }
.fapi-box .fapi-form-payment-method > div[role="button"] * { color: #111 !important; }
.fapi-box .fapi-form-payment-method > div[role="button"]:focus-visible { outline: 2px solid var(--gold) !important; outline-offset: 3px; }
.fapi-box .fapi-form-payment-method > div[role="button"]:hover { transform: translateY(-2px); }
.fapi-box .fapi-form-payment-method > div.payment-method-selected { border: 2px solid var(--gold) !important; box-shadow: 0 0 0 4px rgba(226,195,90,.2) !important; }
.fapi-box .fapi-form-payment-methods .f-text-orange-500, .fapi-box .fapi-form-payment-methods [class*="orange"] { color: #f0c987 !important; }
/* shrnutí */
.fapi-box .fapi-form-prices-total-discount-label, .fapi-box .fapi-form-prices-repayment-with-vat-label { color: var(--muted) !important; }
.fapi-box .fapi-form-prices-total-discount-value { color: var(--text) !important; }
.fapi-box .fapi-form-prices-repayment-with-vat-value { color: var(--gold) !important; font-family: var(--display) !important; font-size: 24px !important; font-weight: 500 !important; }
.fapi-box .fapi-form-terms { display: flex !important; align-items: flex-start; gap: 10px; }
.fapi-box .fapi-form-terms label, .fapi-box .fapi-form-terms label span { color: var(--muted) !important; margin: 0 !important; }
.fapi-box .fapi-form-result-submit-group { margin-top: 18px !important; }
/* zaškrtávátka a přepínače FAPI (vlastní grafika f-form-checkbox / f-form-radio) */
.fapi-box .fapi-order-form .f-form-checkbox, .fapi-box .fapi-order-form .f-form-radio {
  margin: 0 !important; flex: none; width: 20px !important; height: 20px !important; min-height: 0 !important; padding: 0 !important;
  color: var(--gold) !important; background-color: var(--card-2) !important; border: 1px solid var(--line-2) !important; box-shadow: none !important;
}
.fapi-box .fapi-order-form .f-form-checkbox { border-radius: 6px !important; }
.fapi-box .fapi-order-form .f-form-checkbox:checked, .fapi-box .fapi-order-form .f-form-radio:checked { background-color: var(--gold) !important; border-color: var(--gold) !important; }
.fapi-box .fapi-order-form .f-form-checkbox:focus-visible, .fapi-box .fapi-order-form .f-form-radio:focus-visible { outline: 2px solid var(--gold) !important; outline-offset: 2px; }
.fapi-box .fapi-order-form .f-ml-7 { margin-left: 0 !important; }
.fapi-box .fapi-order-form .f-pl-1\.5 { padding-left: 0 !important; }
.fapi-box .fapi-order-form .f-form-checkbox + label, .fapi-box .fapi-order-form .f-form-radio + label { padding-left: 10px !important; }
.fapi-box .fapi-order-form .fapi-form-item .fapi-form-discounted-price.fapi-form-item-price { color: var(--gold) !important; }
.fapi-box .fapi-order-form .fapi-form-item .f-line-through.fapi-form-item-price { color: var(--dim) !important; }
/* tlačítko */
.fapi-box .fapi-submit-button {
  width: 100% !important; background: var(--gold) !important; color: #111 !important; border: 0 !important;
  border-radius: 999px !important; padding: 17px 24px !important; font-size: 16px !important; font-weight: 600 !important;
  cursor: pointer; text-transform: none !important; box-shadow: 0 10px 40px rgba(226,195,90,.2) !important; transition: transform .2s, filter .2s;
}
.fapi-box .fapi-submit-button:hover { transform: translateY(-2px); filter: brightness(1.06); }
.fapi-box .fapi-submit-button:focus-visible { outline: 2px solid var(--text) !important; outline-offset: 3px; }
/* patička „Vytvořeno v prodejním systému FAPI“ */
.fapi-box .fapi-order-form > p:last-child { margin-top: 16px !important; font-size: 12px !important; color: var(--dim) !important; text-align: center; }
.fapi-box .fapi-order-form > p:last-child a, .fapi-box .fapi-order-form > p:last-child u { color: var(--dim) !important; }

/* ---------- test „Je kniha pro vás?“ ---------- */
.quiz-banner { border-color: rgba(226,195,90,.35); background: linear-gradient(100deg, rgba(226,195,90,.10), var(--card) 55%); }
.quiz-banner h3 { font-size: 20px; }
html.quiz-open { overflow: hidden; }
.quiz { border: 0; padding: 0; background: transparent; color: var(--text); max-width: 640px; width: calc(100% - 32px); max-height: calc(100dvh - 32px); overflow: visible; }
.quiz::backdrop { background: rgba(5,5,5,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.quiz[open] { animation: quizIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes quizIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.quiz-card { position: relative; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 28px; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.quiz-body { padding: 36px 36px 30px; max-height: calc(100dvh - 34px); overflow-y: auto; overscroll-behavior: contain; }
.quiz-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
.quiz-close:hover { border-color: var(--gold); }
.quiz-step { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: 12px; padding-right: 52px; }
.quiz-progress { height: 4px; border-radius: 4px; background: var(--card-2); overflow: hidden; margin-bottom: 26px; margin-right: 52px; }
.quiz-progress i { display: block; height: 100%; background: var(--gold); border-radius: inherit; transition: width .4s ease; }
.quiz h3 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 22px; }
.quiz-options { display: grid; gap: 10px; }
.quiz-opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; min-height: 56px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font: 400 15.5px/1.4 var(--sans); cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.quiz-opt span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--card-2); color: var(--muted); transition: background .2s, color .2s; }
.quiz-opt:hover, .quiz-opt:focus-visible { border-color: rgba(226,195,90,.6); outline: none; }
.quiz-opt:active { transform: scale(.99); }
.quiz-opt.sel { border-color: var(--gold); background: rgba(226,195,90,.1); }
.quiz-opt.sel span { background: var(--gold); color: #111; }
.quiz-nav { min-height: 20px; margin-top: 18px; }
.quiz-back, .quiz-restart { background: none; border: 0; padding: 10px 0; color: var(--muted); font: 500 14px var(--sans); cursor: pointer; }
.quiz-back:hover, .quiz-restart:hover { color: var(--text); }
.verdict.ok { color: var(--gold); }
.verdict.warn { color: #f0c987; }
.quiz-lead { color: var(--muted); font-size: 15.5px; margin-bottom: 26px; }
.quiz-sub { font-size: 15px; color: var(--text); margin: 0 0 12px; }
.qbars { display: grid; gap: 8px; margin-bottom: 26px; }
.qbar { display: grid; grid-template-columns: 28px 96px 1fr 44px; align-items: center; gap: 10px; font-size: 14px; }
.qbar b { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--card-2); color: var(--gold); font-family: var(--display); }
.qbar span { color: var(--muted); }
.qbar div { height: 8px; border-radius: 8px; background: var(--card-2); overflow: hidden; }
.qbar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-2), var(--gold)); animation: grow .9s cubic-bezier(.2,.8,.2,1) both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }
.qbar em { font-style: normal; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.qfocus { display: grid; gap: 10px; margin-bottom: 20px; }
.qf { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid rgba(226,195,90,.3); }
.qf > b { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold); color: #111; font-family: var(--display); font-size: 22px; }
.qf h5 { margin: 2px 0 4px; font: 500 17px var(--display); }
.qf p { font-size: 14px; color: #d4d1ca; line-height: 1.5; }
.qf small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--gold); }
.qnotes { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.qnotes li { position: relative; padding: 12px 14px 12px 40px; border-radius: 14px; background: var(--card); font-size: 14px; color: var(--muted); line-height: 1.45; }
.qnotes li::before { content: "i"; position: absolute; left: 12px; top: 12px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font: 600 11px/16px var(--sans); text-align: center; }
.quiz-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
@media (max-width: 560px) {
  .quiz { width: 100%; max-width: none; max-height: 100dvh; height: 100dvh; margin: 0; }
  .quiz-card { border-radius: 0; border: 0; height: 100%; }
  .quiz-body { padding: 24px 20px 28px; max-height: 100dvh; height: 100%; }
  .qbar { grid-template-columns: 26px 1fr 1.3fr 40px; }
  .quiz-cta { display: grid; }
  .quiz-cta .btn-light > span { flex: 1; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .quiz[open], .qbar i { animation: none; } }

/* ---------- rezervace tištěné knihy ---------- */
.reserve { max-width: 520px; }
.reserve-form { display: grid; gap: 14px; margin-top: 4px; }
.reserve-form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.reserve-form input[type="text"], .reserve-form input[type="tel"], .reserve-form input[type="email"], .reserve-form input[type="password"] {
  width: 100%; background: var(--card-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 14px 16px; font: 400 16px/1.3 var(--sans); outline: none; transition: border-color .2s, box-shadow .2s;
}
.reserve-form input::placeholder { color: var(--dim); }
.reserve-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226,195,90,.18); }
.reserve-form input.invalid { border-color: #ff8a7a; }
.reserve-form label.check { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; font-size: 13.5px; cursor: pointer; }
.reserve-form label.check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--gold); }
.reserve-form label.check.invalid span { color: #ff8a7a; }
.form-error { color: #ff8a7a; font-size: 14px; }
.reserve-form .btn { margin-top: 6px; }
.reserve-done { text-align: center; padding: 28px 0 8px; }
.reserve-done h3 { margin: 18px 0 24px; color: var(--gold); }
.done-icon { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: var(--gold); display: grid; place-items: center; animation: pop .5s cubic-bezier(.2,1.4,.4,1) both; }
.done-icon svg { width: 34px; height: 34px; fill: none; stroke: #111; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@media (max-width: 560px) { .reserve .quiz-body { display: flex; flex-direction: column; justify-content: center; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq-grid .muted { margin-top: 18px; }
.faq-grid .muted a, .faq a { color: var(--gold); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 22px; color: var(--muted); font-size: 15px; }

/* ---------- závěr + patička ---------- */
.final { padding: 140px 0; overflow: hidden; }
.final h2 { max-width: 900px; margin: 0 auto 40px; }
.beam-bottom { left: 50%; top: auto; bottom: -20%; transform: translateX(-50%) rotate(180deg); }
.footer { border-top: 1px solid var(--line); padding: 56px 0 36px; }
.footer-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.footer-center .logo { font-size: 20px; }
.footer-social { list-style: none; margin: 0 0 6px; padding: 0; display: flex; gap: 10px; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.footer-social a:hover { color: #111; background: var(--gold); border-color: var(--gold); }
.footer-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.footer-social svg .fill { fill: currentColor; stroke: none; }
.footer-claim { color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-center .footer-links { justify-content: center; margin: 6px 0 4px; }
.footer-disclaimer { color: var(--dim); font-size: 13px; }
.footer-copy { color: var(--dim); font-size: 13px; padding-top: 14px; border-top: 1px solid var(--line); min-width: min(420px, 100%); }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-grid .muted { margin-top: 12px; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 26px; align-items: flex-start; }
.footer-links a { padding: 11px 0; text-decoration: none; color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 44px; font-size: 13px; color: var(--dim); }

/* ---------- právní stránky (VOP, GDPR) ---------- */
.legal-top { position: sticky; top: 0; z-index: 20; background: rgba(17,17,17,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.legal-top-in { display: flex; justify-content: space-between; align-items: center; min-height: 72px; }
.legal { max-width: 800px; padding-top: 64px; padding-bottom: 96px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 16px; }
.legal-lead { font-size: 18px; color: var(--muted); margin-bottom: 48px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal p, .legal li { color: #d4d1ca; font-size: 16px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 10px 0; display: grid; gap: 8px; }
.legal a { color: var(--gold); }
.legal strong { color: var(--text); font-weight: 500; }
.legal-table-wrap { overflow-x: auto; margin: 14px 0 18px; border: 1px solid var(--line-2); border-radius: 14px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.legal-table th, .legal-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: #d4d1ca; line-height: 1.45; }
.legal-table th { color: var(--text); font-weight: 500; background: var(--card); }
.legal-table tr:last-child td { border-bottom: 0; }

.legal-dialog { max-width: 760px; }
.legal-dialog .quiz-body.legal { padding: 44px 40px 36px; max-width: none; }
.legal-dialog .legal h1 { font-size: clamp(28px, 4vw, 40px); padding-right: 48px; outline: none; }
.legal-dialog .legal-lead { margin-bottom: 28px; font-size: 16px; }
.legal-dialog .legal h2 { font-size: 19px; margin-top: 28px; padding-top: 20px; }
.legal-dialog .legal p, .legal-dialog .legal li { font-size: 15px; }
@media (max-width: 560px) { .legal-dialog .quiz-body.legal { padding: 28px 20px 32px; } }

/* ---------- cookie lišta + animace sušenky ---------- */
.ck-bar { position: fixed; left: 16px; bottom: 16px; z-index: 80; width: min(380px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.6); opacity: 0; transform: translateY(24px); transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.ck-bar[hidden] { display: none; }
.ck-bar.ck-in { opacity: 1; transform: none; }
.ck-scene { display: block; width: 100%; height: auto; background: radial-gradient(ellipse at 60% 30%, rgba(226,195,90,.07), transparent 60%), #141414; border-bottom: 1px solid var(--line); border-radius: 22px 22px 0 0; }
.ck-content { padding: 16px 20px 18px; }
.ck-content h2 { font-size: 19px; margin-bottom: 6px; }
.ck-content p { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.ck-content p a { color: var(--gold); }
.ck-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.ck-btn { flex: 1 1 auto; min-height: 44px; padding: 10px 16px; border-radius: 999px; font: 600 14px var(--sans); cursor: pointer; border: 1px solid var(--line-2); background: transparent; color: var(--text); }
.ck-accept, .ck-save { background: var(--gold); border-color: var(--gold); color: #111; }
.ck-btn:hover { filter: brightness(1.08); }
.ck-link { background: none; border: 0; padding: 10px 6px; color: var(--muted); font: 500 13.5px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.ck-link:hover { color: var(--text); }
.ck-settings { display: grid; gap: 8px; margin-top: 14px; }
.ck-settings[hidden], .ck-save[hidden] { display: none; }
.ck-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--card); cursor: pointer; }
.ck-row b { display: block; font-size: 14px; font-weight: 500; color: var(--text); }
.ck-row small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.ck-row input { flex: none; width: 20px; height: 20px; accent-color: var(--gold); }
@media (max-width: 560px) { .ck-bar { left: 8px; right: 8px; bottom: 8px; width: auto; } .ck-scene { max-height: 120px; } }

/* scéna */
.ck-floor { stroke: rgba(255,255,255,.12); stroke-width: 1; }
.ck-couch rect { fill: #3b3127; }
.ck-couch rect:first-child { fill: #463a2e; }
.ck-couch line, .ck-tv line { stroke: #555; stroke-width: 2; stroke-linecap: round; }
.ck-tvframe { fill: #232323; stroke: #444; stroke-width: 1; }
.ck-screen { fill: #151515; }
.ck-offline { fill: #eaf1ff; opacity: 0; }
.ck-tvglow { opacity: 0; }
.ck-mat { fill: var(--gold); opacity: .75; }
.ck-aura { opacity: 0; transform-box: fill-box; transform-origin: center; }
.ck-om { fill: var(--gold); font: italic 500 11px var(--sans); opacity: 0; }
.ck-cookie { fill: #d9a760; }
.ck-chip { fill: #5b3a1e; }
.ck-eyes circle { fill: #2a1a0e; }
.ck-eyes { transform-box: fill-box; transform-origin: center; }
.ck-mouth, .ck-arms path, .ck-arms-med, .ck-legs-sit path, .ck-legs-walk path, .ck-legs-cross { fill: none; stroke: #d9a760; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ck-mouth { stroke: #2a1a0e; stroke-width: 1.4; }
.ck-remote { fill: #2b2b2b; stroke: #666; stroke-width: .6; }
.ck-move { transform: translate(180px, 106px); }
.ck-legs-sit, .ck-legs-walk, .ck-arms, .ck-remote { opacity: 0; }
.ck-legs-cross, .ck-arms-med { opacity: 1; }
.ck-eyes { transform: scaleY(.15); }
.ck-aura, .ck-om { opacity: 1; }
.ck-mat { opacity: .75; }

/* časová osa (9 s): gauč a TV → ovladač → TV zhasne → seskočí → dojde na podložku → meditace */
.ck-play .ck-move { animation: ckMove 9s ease-in-out forwards; }
.ck-play .ck-legs-sit { animation: ckSitLegs 9s forwards; }
.ck-play .ck-legs-walk { animation: ckWalkLegs 9s forwards; }
.ck-play .ck-leg1 { animation: ckStep .36s ease-in-out infinite alternate; transform-origin: -5px 13px; }
.ck-play .ck-leg2 { animation: ckStep .36s ease-in-out infinite alternate-reverse; transform-origin: 5px 13px; }
.ck-play .ck-legs-cross, .ck-play .ck-arms-med { animation: ckMedIn 9s forwards; }
.ck-play .ck-arms { animation: ckArms 9s forwards; }
.ck-play .ck-arm-r { animation: ckRemoteArm 9s forwards; transform-origin: 15px 2px; }
.ck-play .ck-remote { animation: ckRemote 9s forwards; }
.ck-play .ck-screen { animation: ckScreen 9s forwards; }
.ck-play .ck-offline { animation: ckOff 9s forwards; transform-box: fill-box; transform-origin: center; }
.ck-play .ck-tvglow { animation: ckGlow 9s forwards; }
.ck-play .ck-eyes { animation: ckEyes 9s forwards; }
.ck-play .ck-aura { animation: ckAuraIn 9s forwards, ckPulse 3.2s 9s ease-in-out infinite; }
.ck-play .ck-om { animation: ckAuraIn 9s forwards, ckOm 3.2s 9s ease-in-out infinite; }
.ck-play .ck-body { animation: ckFloat 3.2s 9s ease-in-out infinite; }

@keyframes ckMove {
  0%, 38% { transform: translate(72px, 78px); }
  42% { transform: translate(92px, 58px); }
  47% { transform: translate(112px, 104px); }
  51% { transform: translate(129px, 101px); }
  55% { transform: translate(146px, 104px); }
  59% { transform: translate(163px, 101px); }
  64% { transform: translate(180px, 104px); }
  68%, 100% { transform: translate(180px, 106px); }
}
@keyframes ckSitLegs { 0%, 40% { opacity: 1; } 41%, 100% { opacity: 0; } }
@keyframes ckWalkLegs { 0%, 40% { opacity: 0; } 41%, 65% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes ckStep { from { transform: rotate(-22deg); } to { transform: rotate(22deg); } }
@keyframes ckMedIn { 0%, 65% { opacity: 0; } 67%, 100% { opacity: 1; } }
@keyframes ckArms { 0%, 65% { opacity: 1; } 67%, 100% { opacity: 0; } }
@keyframes ckRemoteArm { 0%, 22% { transform: rotate(0); } 27%, 33% { transform: rotate(-75deg); } 38%, 100% { transform: rotate(0); } }
@keyframes ckRemote { 0%, 38% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes ckScreen {
  0% { fill: #5b8def; } 6% { fill: #7aa6ff; } 11% { fill: #4a7bd6; } 16% { fill: #86b0ff; } 21% { fill: #5b8def; } 26% { fill: #6f9ef7; } 31% { fill: #5b8def; }
  33% { fill: #eaf1ff; } 35%, 100% { fill: #151515; }
}
@keyframes ckOff { 0%, 32% { opacity: 0; transform: scaleX(1); } 33% { opacity: 1; transform: scaleX(1); } 36% { opacity: .8; transform: scaleX(.05); } 38%, 100% { opacity: 0; } }
@keyframes ckGlow { 0%, 32% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes ckEyes { 0%, 10% { transform: scaleY(1); } 11% { transform: scaleY(.15); } 12%, 66% { transform: scaleY(1); } 69%, 100% { transform: scaleY(.15); } }
@keyframes ckAuraIn { 0%, 69% { opacity: 0; } 76%, 100% { opacity: 1; } }
@keyframes ckPulse { 50% { transform: scale(1.12); } }
@keyframes ckOm { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes ckFloat { 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) {
  .ck-bar { transition: none; }
  .ck-play .ck-move, .ck-play .ck-legs-sit, .ck-play .ck-legs-walk, .ck-play .ck-legs-cross, .ck-play .ck-arms-med, .ck-play .ck-arms,
  .ck-play .ck-arm-r, .ck-play .ck-remote, .ck-play .ck-screen, .ck-play .ck-offline, .ck-play .ck-tvglow, .ck-play .ck-eyes,
  .ck-play .ck-aura, .ck-play .ck-om, .ck-play .ck-body, .ck-play .ck-leg1, .ck-play .ck-leg2 { animation: none !important; }
}

/* ---------- animace při scrollu ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
/* hero se animuje čistě v CSS, nečeká na JavaScript (rychlejší první zobrazení) */
.intro { animation: intro .8s cubic-bezier(.2,.8,.2,1) both; }
.intro:nth-child(2) { animation-delay: .06s; } .intro:nth-child(3) { animation-delay: .12s; } .intro:nth-child(4) { animation-delay: .18s; } .intro:nth-child(5) { animation-delay: .24s; }
@keyframes intro { from { opacity: 0; transform: translateY(16px); } }
.nw { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .wheel-rot, .wheel-rot .upright, .core-glow, .badge::before { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .intro { animation: none; }
  .chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responzivita ---------- */
@media (max-width: 1080px) {
  .map-row { grid-template-columns: 56px 1fr; row-gap: 14px; }
  .map-habits { grid-column: 1 / -1; }
      .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .author { grid-template-columns: 300px 1fr; gap: 28px; }
  .author-stats { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card.quote { grid-row: auto; grid-column: span 2; order: -1; padding: 48px 28px; }
  .bento-card.list { grid-row: span 2; }
}
@media (max-width: 860px) {
  .container { padding: 0 20px; }
  .section { padding: 84px 0; }
  .nav { gap: 12px; padding-left: 20px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .burger { display: block; }
  .hero { padding-top: 120px; min-height: auto; }
  .problem-grid, .solution-grid, .faq-grid, .sample { grid-template-columns: 1fr; }
  .problem-grid { grid-template-rows: none; row-gap: 56px; }
  .problem-grid > div { display: block; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 16px; }
  .book3d { width: min(300px, 38vw); }
  .hero-book { min-height: 460px; }
  .chip-2 { right: 0; }
  .chapters { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { gap: 48px; }
  .beam { left: 50%; }
  .split-line { grid-template-columns: 1fr; text-align: center; margin-top: 72px; }
  .split-line p.gold { text-align: center; }
  .wave-wrap { height: 90px; }
  .counters { margin-inline: 10px; margin-top: -48px; }
  .part { grid-template-columns: 1fr; gap: 20px; }
  .map-row { grid-template-columns: 56px 1fr; }
  .map-habits { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .protocol-head { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr; gap: 12px; }
  .author { grid-template-columns: 260px 1fr; gap: 24px; }
  .author-body { padding: 16px 12px 12px 0; }
  .author-stats { grid-template-columns: 1fr 1fr; }
  .sample { padding: 36px 24px; }
  .sample-book { order: -1; }
  .pricing { grid-template-columns: minmax(0, 480px); grid-template-rows: none; row-gap: 16px; }
  .price-card { display: flex; flex-direction: column; grid-row: auto; }
  .books-bg { display: none; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .book3d { width: min(290px, 68vw); }
  .hero-book { min-height: 400px; }
  .hero { padding-bottom: 40px; }
  .author { grid-template-columns: 1fr; gap: 24px; padding: 16px; }
  .author-photo img { aspect-ratio: 4 / 5; max-height: 480px; object-position: center 20%; }
  .author-body { padding: 6px 0 4px; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .nav-cta { display: none; }
  .burger { margin-left: auto; }
  .cards-4, .stat-cards, .bento { grid-template-columns: 1fr; }
  .bento-card.quote { grid-column: auto; }
  .counters { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .reset-map-head { flex-direction: column; align-items: flex-start; }
  .map-habits { grid-auto-rows: minmax(52px, auto); }
  .map-habits li { padding: 10px 12px; font-size: 13.5px; }
  .protocol { padding: 24px 18px; }
  .days { gap: 2px; } .days i { height: 26px; border-radius: 4px; }
  .banner { flex-direction: column; align-items: flex-start; }
  .chip { font-size: 12px; padding: 7px 12px; letter-spacing: .04em; }
  .hero .cta-row { display: grid; grid-template-columns: 1fr auto; }
  .hero .cta-row .btn-light > span, .final .cta-row .btn-light > span { flex: 1; text-align: center; }
  .hero .cta-row .btn-ghost { grid-column: 1 / -1; }
  .final .cta-row { display: grid; grid-template-columns: 1fr auto; max-width: 360px; margin: 0 auto; }
  .final .cta-row .btn-ghost { grid-column: 1 / -1; }
  .stat-card { min-height: 0; flex-direction: row; align-items: center; gap: 16px; padding: 18px; }
  .stat-card strong { font-size: 28px; flex: 0 0 112px; white-space: nowrap; }
  .stat-card span { font-size: 13.5px; }
  .seg-name { font-size: 18px; }
  .seg-letter { font-size: 48px; }
  .core-t { font-size: 20px; }
  .counters { margin-top: -10px; }
  .card { padding: 22px 20px; }
  .card .ico { margin-bottom: 22px; }
  .cards-4 .card h3 { min-height: 0; }
  .chapters { grid-template-columns: 1fr; }
  .chapter { min-height: 0; }
  .author-body blockquote { font-size: 21px; }
  .sample h2 br { display: none; }
  .dl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .dl { min-width: 0; padding: 14px 12px 14px 52px; }
  .dl::before { left: 12px; }
  .dl span { font-size: 12px; }
  .chip-2 { right: 0; }
  .price-card { padding: 24px; }
  .fapi-box { padding: 18px; }
  .fapi-box .row2 { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .author-stats { grid-template-columns: 1fr; gap: 8px; }
  .author-stats div { display: flex; align-items: baseline; gap: 14px; padding: 14px 16px; }
  .author-stats strong { flex: 0 0 92px; font-size: 19px; }
  .author-stats span { margin-top: 0; }
  .map-habits { grid-template-columns: 1fr 1fr; }
  .protocol-head h3 { font-size: 28px; }
  .checkout { padding: 10px; }
  }

/* ---------- stránka ke stažení e-knihy (stazeni/) ---------- */
.dl-page { min-height: 100dvh; display: flex; flex-direction: column; }
.dl-main { flex: 1; display: grid; place-items: center; position: relative; padding-top: 64px; padding-bottom: 80px; }
.dl-main .beam { opacity: .7; }
.dl-card { position: relative; z-index: 1; width: 100%; max-width: 1040px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; background: radial-gradient(ellipse at 15% 30%, rgba(226,195,90,.16), transparent 55%), var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 64px; overflow: hidden; }
.dl-book { display: grid; place-items: center; perspective: 1200px; }
.dl-copy h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
.dl-copy .muted { margin: 22px 0 32px; max-width: 520px; }
button.dl { border: 0; font: inherit; text-align: left; cursor: pointer; }
button.dl:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
button.dl[aria-busy="true"] { opacity: .6; }
.dl-local { margin-top: 18px; padding: 12px 16px; border-radius: 14px; background: rgba(226,195,90,.12); color: var(--gold); font-size: 14px; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.dl-page .footer { padding: 28px 0; }
@media (max-width: 760px) {
  .dl-main { padding-top: 32px; padding-bottom: 48px; }
  .dl-card { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px; text-align: center; }
  .dl-copy .muted { margin-left: auto; margin-right: auto; }
  .dl-card .dl-row { justify-content: center; }
  .dl-card .book3d.small { width: min(150px, 40vw); }
  .dl-card .dl { flex: 1 1 calc(50% - 6px); min-width: 0; }
}
@media (max-width: 380px) { .dl-card .dl { flex-basis: 100%; } }

/* ---------- výsledek objednávky místo formuláře FAPI (objednavka.js) ---------- */
.order-result { display: none; text-align: center; background: var(--bg-2); border-radius: 20px; padding: 44px 28px 36px; }
.order-result:focus { outline: none; }
.order-result h3 { margin: 20px 0 12px; font-size: clamp(24px, 3vw, 30px); }
.order-thanks h3 { color: var(--gold); }
.order-result .muted { max-width: 540px; margin: 0 auto 26px; }
.order-thanks .muted { margin-bottom: 0; font-size: 17px; color: var(--text); }
.order-result .fine { max-width: 480px; margin: 22px auto 0; }
.order-result .fine a { color: var(--gold); }
.done-icon.is-error { background: #ff8a7a; }
html[data-objednavka="dekujeme"] .order-thanks,
html[data-objednavka="chyba"] .order-error { display: block; }
html[data-objednavka] .fapi-box, html[data-objednavka] .gdpr-note { display: none; }
html[data-objednavka="dekujeme"] .checkout-head { display: none; }

/* ---------- popup ukázky zdarma (ukazka.js) ---------- */
.ukazka-done { text-align: center; padding: 20px 0 6px; }
.ukazka-done h3 { margin: 18px 0 10px; color: var(--gold); }
.ukazka-links { justify-content: center; margin-top: 6px; }
.ukazka-links .dl { flex: 1 1 calc(50% - 6px); min-width: 0; text-align: left; }
@media (max-width: 380px) { .ukazka-links .dl { flex-basis: 100%; } }
