/* Paleta "washi" z channels/japonsky-domov/video-config.json, aby web ladil s videi. */
:root {
  --bg: #f3eee4;
  --paper: #fbf8f2;
  --ink: #1f2430;
  --muted: #6b665e;
  --accent: #26385f;
  --accent-dark: #1b2945;
  --seal: #b8402a;
  --good: #5e7f45;
  --line: #ddd5c6;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2rem, 6vw, 3.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.section { padding: 64px 0; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--paper); padding: 8px 12px; }

/* Horní lišta */
.topbar {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.brand img { border-radius: 50%; }

/* Tlačítka */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  padding: 14px 24px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--seal); outline-offset: 3px; }
.btn--small { padding: 8px 16px; font-size: .95rem; }
.btn--wide { display: block; text-align: center; width: 100%; }
.btn[aria-disabled="true"] { background: var(--muted); cursor: not-allowed; }

.note { color: var(--muted); font-size: .9rem; }
.link { color: var(--accent); font-weight: 600; }
.eyebrow { color: var(--seal); font-weight: 650; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: #3a3f4a; }
.meta { color: var(--muted); font-size: .95rem; }

.checks { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: .5em; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: .45em;
  width: 12px; height: 7px;
  border-left: 2.5px solid var(--good); border-bottom: 2.5px solid var(--good);
  transform: rotate(-45deg);
}

/* Hero */
.hero { padding: 40px 0 56px; }
.hero__grid { display: grid; gap: 32px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.hero__photo { margin: 0; }
.hero__photo img { border-radius: var(--radius); box-shadow: 0 18px 40px -20px rgba(31, 36, 48, .45); }

/* Pásy a karty */
.band { background: var(--accent); color: #fff; padding: 64px 0; }
.band--paper { background: var(--paper); color: var(--ink); border-block: 1px solid var(--line); }
.cards { display: grid; gap: 16px; }
.card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: rgba(255, 255, 255, .85); }

/* Kapitoly */
.chapters { list-style: none; counter-reset: ch; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.chapters li {
  counter-increment: ch;
  display: grid; grid-template-columns: 44px 1fr; column-gap: 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
}
.chapters li::before {
  content: counter(ch); grid-row: span 2;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 700;
}
.chapters span { color: var(--muted); }

/* Autor */
.author { display: grid; gap: 20px; align-items: start; }
.author img { border-radius: 50%; border: 3px solid var(--accent); }

/* Nabídka */
.offer {
  display: grid; gap: 28px;
  background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  padding: 24px;
}
.offer__cover {
  aspect-ratio: 3 / 4; max-width: 280px; width: 100%; margin-inline: auto;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px 22px; border-radius: 6px 12px 12px 6px;
  background: linear-gradient(160deg, var(--accent), var(--accent-dark));
  color: #fff; box-shadow: 0 20px 40px -18px rgba(31, 36, 48, .6), inset 6px 0 0 rgba(0, 0, 0, .18);
  font-family: var(--serif);
}
.offer__kicker { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.offer__title { font-size: 1.6rem; line-height: 1.2; }
.offer__author { border-top: 2px solid var(--seal); padding-top: 10px; width: fit-content; }
.price { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--accent); margin-bottom: .5em; }

/* FAQ */
.faq details { border-bottom: 1px solid rgba(255, 255, 255, .25); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; }
.faq details p { margin: .7em 0 0; color: rgba(255, 255, 255, .85); }

.final { text-align: center; }

/* Patička */
.footer { border-top: 1px solid var(--line); padding: 28px 0 100px; color: var(--muted); font-size: .9rem; }
.footer__inner { display: grid; gap: 4px; }
.footer p { margin: 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.footer a { color: var(--muted); }

/* Mobilní CTA lišta */
.mobile-cta {
  position: fixed; inset: auto 0 0 0; z-index: 6;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .2s;
}
.mobile-cta.is-visible { transform: none; }

@media (min-width: 760px) {
  .hero { padding: 64px 0 80px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .author { grid-template-columns: 96px 1fr; gap: 28px; }
  .offer { grid-template-columns: 280px 1fr; padding: 40px; gap: 48px; align-items: center; }
  .footer { padding-bottom: 28px; }
  .mobile-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .mobile-cta { transition: none; }
}

/* ---- Série Japonská metoda (2 knihy + balíček), 9. 10. 2026 ---- */
:root { --gold: #b8913a; }
.center { text-align: center; }
.topbar__nav { display: none; gap: 22px; }
.topbar__nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.topbar__nav a:hover { color: var(--accent); }
.btn--ghost { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #fff; }

.hero h1 { font-size: clamp(2.4rem, 7vw, 4rem); letter-spacing: .01em; }
.hero__photo img { border-radius: var(--radius); }

.band h2, .band h3 { color: #fff; }
.band--paper h2, .band--paper h3 { color: var(--ink); }
.card h3 { margin-bottom: .4em; }
.band__note { margin: 28px 0 0; font-size: 1.1rem; color: rgba(255, 255, 255, .9); max-width: 62ch; }

.principles { text-align: center; }
.principles__mark { margin: 0 auto 8px; width: 120px; }
.principles__grid { display: grid; gap: 24px; text-align: left; margin: 28px 0; }
.principles__grid > div { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 22px; }
.principles__honest { max-width: 64ch; margin: 0 auto; color: var(--muted); }

.book { padding: 64px 0; }
.book--alt { background: var(--paper); border-block: 1px solid var(--line); }
.book__grid { display: grid; gap: 32px; align-items: center; }
.book__img { margin: 0; max-width: 420px; justify-self: center; }
.book__sub { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--muted); margin-top: -.4em; }
.parts { padding-left: 1.1em; margin: 0 0 1.2em; }
.parts li { margin-bottom: .45em; }
.parts li::marker { color: var(--gold); }
.parts--cols { columns: 2; column-gap: 28px; }
.parts--cols li { break-inside: avoid; }

.together { text-align: center; max-width: 66ch; margin: 0 auto 40px; }
.together__line { width: min(360px, 80%); margin: 0 auto 8px; }
.samples__title { text-align: center; }
.samples { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.samples img { border-radius: 6px; box-shadow: 0 14px 30px -18px rgba(31, 36, 48, .55); }

.offers { display: grid; gap: 20px; margin-top: 28px; align-items: stretch; }
.offer-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 24px; display: flex; flex-direction: column; text-align: center; }
.offer-card img { width: 62%; margin: 0 auto 16px; border-radius: 4px; box-shadow: 0 14px 28px -16px rgba(31, 36, 48, .6); }
.offer-card--main img { width: 100%; box-shadow: none; }
.offer-card--main { border: 2px solid var(--gold); box-shadow: 0 24px 48px -28px rgba(31, 36, 48, .55); }
.offer-card__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--seal); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; margin: 0; }
.offer-card__sub { font-family: var(--serif); font-style: italic; color: var(--muted); }
.offer-card .price { margin: auto 0 .3em; }
.offer-card .btn { margin-top: 12px; }
.trust { list-style: none; padding: 0; margin: 32px auto 0; display: grid; gap: 8px; max-width: 760px; color: var(--muted); }
.trust li::before { content: "✓ "; color: var(--good); font-weight: 700; }

.final .btn { margin-top: 8px; }

@media (min-width: 760px) {
  .topbar__nav { display: flex; }
  .hero__grid { grid-template-columns: .9fr 1.1fr; }
  .principles__grid { grid-template-columns: repeat(3, 1fr); }
  .book__grid { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .book__grid--rev > .book__img { order: 2; }
  .offers { grid-template-columns: 1fr 1.15fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .parts--cols { columns: 1; }
  .samples { grid-template-columns: 1fr 1fr; }
  .samples img:last-child { display: none; }
}

/* Úprava 9. 10. 2026: průhledné 3D knihy, úvod bez nákupního tlačítka */
.hero__photo img { border-radius: 0; box-shadow: none; filter: drop-shadow(0 28px 30px rgba(31, 36, 48, .28)); }
.book__img img, .offer-card img { filter: drop-shadow(0 22px 22px rgba(31, 36, 48, .3)); }
.offer-card img, .offer-card--main img { box-shadow: none; border-radius: 0; width: 70%; }
.offer-card--main img { width: 92%; }
.values { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: 14px; }
.values li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--gold); }
.values strong { font-family: var(--serif); font-size: 1.25rem; color: var(--accent); }
.values span { color: var(--muted); }
.link--down { text-decoration: none; border-bottom: 1px solid currentColor; }
.values li { grid-template-columns: 11rem 1fr; align-items: baseline; gap: 12px; }
@media (max-width: 540px) { .values li { grid-template-columns: 1fr; gap: 2px; } }

/* Úvod vycentrovaný bez tabletu, pás s čísly (9. 10. 2026) */
.hero--center { text-align: center; padding: 48px 0 0; }
.hero--center .lead { max-width: 60ch; margin-inline: auto; }
.hero--center h1 { max-width: 16ch; margin-inline: auto; }
.hero__books { margin: 28px auto 0; max-width: 640px; position: relative; }
.hero__books::before { content: ""; position: absolute; inset: 10% 5% 0; background: radial-gradient(closest-side, rgba(184, 145, 58, .22), transparent); z-index: -1; }
.hero__books img { width: 100%; filter: drop-shadow(0 30px 30px rgba(31, 36, 48, .3)); }
.stats { background: var(--accent); color: #fff; padding: 28px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; text-align: center; }
.stats strong { display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1.1; color: #e2c98a; }
.stats span { font-size: .95rem; color: rgba(255, 255, 255, .85); }
@media (min-width: 760px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } .hero--center { padding-top: 64px; } }
.stats { background: transparent; color: var(--ink); border-block: 1px solid var(--line); margin-top: 8px; }
.stats strong { color: var(--accent); }
.stats span { color: var(--muted); }
.stats__grid > div + div { border-left: 1px solid var(--line); }
@media (max-width: 759px) { .stats__grid > div:nth-child(3) { border-left: 0; } }
.hero--center h1 { max-width: 22ch; }
.hero__books { max-width: 520px; margin-top: 20px; }

/* Responzivní doladění (9. 10. 2026): dotykové cíle, tablet, velké monitory */
.topbar__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
.faq summary { min-height: 44px; display: flex; align-items: center; padding: 6px 0; }
.offer-card__badge { font-size: .85rem; }
.hero__books { max-width: clamp(300px, calc((100vh - 430px) * 1.1), 520px); }

/* Nabídka: telefon 1 sloupec, tablet balíček nahoře a knihy vedle sebe, počítač 3 sloupce */
@media (min-width: 600px) and (max-width: 959px) {
  .offers { grid-template-columns: 1fr 1fr; }
  .offer-card--main { grid-column: 1 / -1; order: -1; }
  .offer-card--main img { width: 70%; }
}
@media (min-width: 960px) { .offers { grid-template-columns: 1fr 1.15fr 1fr; } }
@media (min-width: 760px) and (max-width: 959px) { .offers { grid-template-columns: 1fr 1fr; } }

/* Tablet na výšku: kniha a text dýchají */
@media (min-width: 760px) and (max-width: 959px) {
  .book__grid { grid-template-columns: .7fr 1.3fr; gap: 32px; }
  .parts--cols { columns: 1; }
  .samples { gap: 12px; }
}

/* Velké monitory */
@media (min-width: 1400px) {
  .wrap { width: min(1180px, 100% - 64px); }
  .hero--center h1 { font-size: 4.2rem; }
}

/* Telefon: menší mezery, plné šířky tlačítek v kartách */
@media (max-width: 599px) {
  .section, .book, .band { padding-block: 48px; }
  .hero--center { padding-top: 32px; }
  .stats strong { font-size: 2rem; }
  .offer-card img { width: 60%; }
  .offer-card--main img { width: 85%; }
}

/* Slovo od autora (9. 10. 2026) */
.author-note { background: #ebe3d4; padding: 64px 0; }
.author-note__grid { display: grid; gap: 32px; align-items: center; }
.author-note__photo { margin: 0; max-width: 420px; justify-self: center; }
.author-note__photo img { border-radius: var(--radius); box-shadow: 0 24px 40px -24px rgba(31, 36, 48, .5); }
.author-note__eyebrow { color: var(--seal); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; margin-bottom: 1.2em; }
.author-note__eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--seal); }
.author-note blockquote { margin: 0 0 .8em; font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.15; color: var(--ink); }
.author-note__text p { color: #4a4740; font-size: 1.05rem; max-width: 62ch; }
.author-note__sign { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 2rem; color: var(--seal) !important; margin: .6em 0 .4em; }
@media (min-width: 860px) { .author-note__grid { grid-template-columns: .8fr 1.2fr; gap: 56px; } .author-note { padding: 88px 0; } }
.author-note__text .author-note__sign { font-size: 2.2rem; line-height: 1.2; }

/* Stránky s pravidly (obchodní podmínky, soukromí, vrácení peněz) */
.policy__main { max-width: 760px; padding: 40px 0 64px; }
.policy__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 28px; }
.policy__nav a { color: var(--muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.policy__nav a[aria-current="page"] { color: var(--accent); font-weight: 700; border-bottom: 2px solid var(--gold); }
.policy__main h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
.policy__main h2 { font-size: 1.35rem; margin-top: 2em; }
.policy-box, .policy-highlight { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 16px 20px; margin: 1em 0; }
.policy-box p { margin: 0 0 .4em; }
.policy-highlight strong { font-family: var(--serif); font-size: 1.25rem; color: var(--accent); }
.policy-example { margin: 1em 0; padding: 14px 18px; background: var(--paper); border-radius: 8px; color: #4a4740; }

/* Skutečné ukázky stran a rozsah v nabídce */
.samples--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 759px) { .samples--4 { grid-template-columns: 1fr 1fr; } .samples--4 img:last-child { display: block; } }
.offer-card__meta { font-size: .9rem; color: var(--muted); margin-top: -.4em; }
