:root {
  --bg: #F6F3EC; --paper: #FFFFFF; --ink: #1D2B3F; --soft: #35455C; --muted: #5A6679;
  --line: #E1DCD0; --sand: #ECE6D8; --honey: #EFB43C; --brown: #B0422A;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Figtree', system-ui, sans-serif; font-size: 18px; line-height: 1.55; }
a { color: var(--brown); }
h1, h2, h3, .serif { font-family: 'Fraunces', Georgia, serif; font-weight: 600; margin: 0; }
.hand { font-family: 'Caveat', cursive; }
.wrap { max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--brown); font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 18px; text-decoration: none; border: none; cursor: pointer; }
.btn-honey { background: var(--honey); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-ghost { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
section { padding: 88px 0; }

/* Hlavička */
header { border-bottom: 1px solid var(--line); }
header .wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 28px; }
nav { display: flex; align-items: center; gap: 32px; font-weight: 500; }
nav a { color: var(--ink); text-decoration: none; }
nav .btn { min-height: 46px; padding: 0 22px; font-size: 16px; }

/* Úvod */
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6vw, 74px); line-height: 1.03; letter-spacing: -1px; margin: 12px 0 22px; }
.hero .lead { font-size: 21px; color: var(--soft); max-width: 560px; margin: 0 0 28px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .note { color: var(--muted); font-size: 16px; margin-top: 16px; }
.quote { font-size: 32px; color: var(--brown); }
.bookmock { position: relative; height: 560px; }
.bookmock .back { position: absolute; left: 30px; top: 40px; width: 400px; height: 500px; border-radius: 10px 18px 18px 10px; background: var(--honey); box-shadow: 0 30px 60px rgba(29,43,63,.25); }
.bookmock .page { position: absolute; left: 50px; top: 24px; width: 400px; height: 500px; border-radius: 6px 16px 16px 6px; background: var(--paper); border: 1px solid var(--line); padding: 40px 36px; display: flex; flex-direction: column; gap: 16px; }
.bookmock .tag { position: absolute; right: 0; top: 0; padding: 10px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-size: 24px; transform: rotate(4deg); box-shadow: 0 10px 24px rgba(29,43,63,.12); }
.chapter { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.story { font-family: 'Fraunces', Georgia, serif; color: var(--soft); font-size: 16px; line-height: 1.65; margin: 0; }
.voice { margin-top: auto; display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 14px; background: var(--sand); }
.wave { display: flex; align-items: center; gap: 3px; height: 28px; }
.wave i { display: block; width: 4px; border-radius: 2px; background: var(--honey); }

/* Facka */
.dark { background: var(--ink); color: var(--bg); }
.dark .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.dark h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; margin-top: 16px; }
.dark p { color: #D9DEE7; font-size: 20px; margin: 0 0 20px; }
.dark .eyebrow { color: var(--honey); }

/* Kroky */
h2.big { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; margin-top: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 48px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 36px; }
.num { width: 52px; height: 52px; border-radius: 50%; background: var(--honey); display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', Georgia, serif; font-size: 24px; font-weight: 700; margin-bottom: 18px; }
.card h3 { font-size: 27px; margin-bottom: 10px; }
.card p { margin: 0; color: var(--soft); }

.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.who div { background: var(--sand); border-radius: 20px; padding: 28px; }
.who strong { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 25px; font-weight: 600; margin-bottom: 6px; }
.who span { color: var(--soft); font-size: 17px; }

/* Ukázka */
.sample { background: var(--sand); }
.sample .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; }
.spread { display: grid; grid-template-columns: 1fr 1fr; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px rgba(29,43,63,.18); }
.spread .photo { background: #D6CFBF; min-height: 460px; display: flex; align-items: flex-end; padding: 24px; }
.spread .photo span { background: var(--paper); padding: 6px 10px; border-radius: 8px; font-size: 14px; }
.spread .text { background: var(--paper); padding: 36px 30px; display: flex; flex-direction: column; gap: 12px; }

/* Cena */
.price .wrap { display: grid; grid-template-columns: 1fr 480px; gap: 72px; align-items: center; }
.pricebox { background: var(--paper); border: 2px solid var(--ink); border-radius: 28px; padding: 44px; }
.pricebox .amount { font-family: 'Fraunces', Georgia, serif; font-size: 58px; font-weight: 700; }
.pricebox ul { padding-left: 20px; margin: 18px 0 28px; }
.pricebox .btn { width: 100%; }

/* Otázky */
.faq .wrap { display: grid; grid-template-columns: 340px 1fr; gap: 72px; }
.faq details { border-top: 1px solid #D6CFBF; padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid #D6CFBF; }
.faq summary { font-size: 21px; font-weight: 700; cursor: pointer; }
.faq details p { color: var(--soft); margin: 10px 0 0; }

/* Objednávka */
.order { background: var(--honey); }
.order .wrap { display: grid; grid-template-columns: 1fr 480px; gap: 72px; align-items: center; }
.order h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.05; }
form.orderform { background: var(--paper); border-radius: 24px; padding: 36px; display: grid; gap: 14px; }
form.orderform label { font-weight: 600; font-size: 16px; }
form.orderform input, form.orderform select { height: 52px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #8A93A3; font: inherit; font-size: 17px; background: #fff; width: 100%; }
.hp { position: absolute; left: -9999px; }
.testnote { font-size: 15px; color: var(--muted); text-align: center; margin: 4px 0 0; }
.errors { background: #F8E1DC; border-radius: 12px; padding: 12px 16px; font-size: 16px; }

footer { background: var(--ink); color: #C9D0DB; }
footer .wrap { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 16px; }

/* Mobil */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  nav a:not(.btn) { display: none; }
  .hero .wrap, .dark .wrap, .sample .wrap, .price .wrap, .faq .wrap, .order .wrap { grid-template-columns: 1fr; gap: 40px; }
  .bookmock { height: 520px; max-width: 420px; }
  .bookmock .back { left: 12px; width: calc(100% - 30px); }
  .bookmock .page { left: 24px; width: calc(100% - 30px); }
  .steps { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr 1fr; }
  .spread .photo { min-height: 300px; }
}
@media (max-width: 520px) {
  .who { grid-template-columns: 1fr; }
  .spread { grid-template-columns: 1fr; }
  .card, .pricebox, form.orderform { padding: 26px; }
  .bookmock .tag { font-size: 20px; }
}

/* Tarify */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
.plan { background: var(--paper); border: 1.5px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 8px; }
.plan.hl { border: 2px solid var(--ink); }
.plan .badge { align-self: flex-start; background: var(--honey); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; }
.plan h3 { font-size: 26px; }
.plan .amount { font-family: 'Fraunces', Georgia, serif; font-size: 44px; font-weight: 700; line-height: 1.1; }
.plan .per { color: var(--muted); font-size: 15px; }
.plan p { color: var(--soft); margin: 0; }
.plan .btn { margin-top: auto; }
.features { columns: 2; column-gap: 40px; padding-left: 20px; margin: 28px 0 0; color: var(--soft); }
@media (max-width: 700px) { .features { columns: 1; } }

/* Ukázka knihy: obrázky */
.bookshots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bookshot { width: 100%; height: auto; display: block; border-radius: 10px; grid-column: 1 / -1; }
.bookshot.thumb { grid-column: auto; aspect-ratio: 4 / 3; object-fit: contain; }

/* Kalkulačka */
.calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; margin-top: 28px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 24px; overflow: hidden; }
.calc-in { padding: 30px; }
.calc-in h3 { font-size: 26px; margin-bottom: 18px; }
.calc-q { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.calc-q strong { font-family: 'Fraunces', Georgia, serif; font-size: 34px; }
.calc input[type=range] { width: 100%; accent-color: var(--brown); height: 32px; margin: 6px 0 0; }
.calc-marks { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }
.calc-label { font-weight: 600; margin: 18px 0 8px; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 16px; }
.seg input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--honey); outline-offset: 2px; }
.calc-phone { margin-top: 18px; }
.calc-out { background: var(--sand); padding: 30px; display: flex; flex-direction: column; gap: 6px; }
.calc-small { color: var(--muted); font-size: 15px; font-weight: 600; }
.calc-out .amount { font-family: 'Fraunces', Georgia, serif; font-size: 52px; font-weight: 700; line-height: 1.05; }
.calc-note { color: var(--soft); font-size: 16px; }
.calc-incl { margin: 12px 0 18px; padding-left: 20px; color: var(--soft); font-size: 16px; }
.calc-out .btn { margin-top: auto; }
@media (max-width: 800px) { .calc { grid-template-columns: 1fr; } }

/* Formulář */
form.orderform fieldset { border: none; padding: 0; margin: 0; display: grid; gap: 10px; }
form.orderform legend { font-weight: 700; font-size: 17px; margin-bottom: 6px; padding: 0; }
.radio { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: 16px !important; cursor: pointer; }
.radio input { width: 20px !important; height: 20px !important; margin-top: 3px; flex: none; accent-color: var(--brown); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.total { background: var(--sand); border-radius: 14px; padding: 14px 16px; font-size: 16px; }
.total strong { font-family: 'Fraunces', Georgia, serif; font-size: 28px; }
.small { font-size: 14px; color: var(--muted); }

/* Textové stránky */
.prose { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.prose h1 { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.1; margin-bottom: 18px; }
.prose h2 { font-size: 28px; margin: 36px 0 10px; }
.prose h3 { font-size: 22px; margin: 26px 0 8px; }
.prose .intro { font-size: 20px; color: var(--soft); }
.prose .updated { color: var(--muted); font-size: 15px; }
.textsec .wrap { max-width: 820px; }
footer a { color: #C9D0DB; }
footer .legal { display: flex; gap: 18px; flex-wrap: wrap; }
footer .company { font-size: 14px; color: #A3ADBD; padding-bottom: 24px; }
[hidden] { display: none !important; }

/* ---------- ukázka hlasu ---------- */
.hlas { margin: 26px 0 0; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.hlas-head { display: flex; gap: 16px; align-items: center; }
.hlas-play { flex: none; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--honey); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.hlas-play:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.hlas-play .i-pause, .hlas.playing .hlas-play .i-play { display: none; }
.hlas.playing .hlas-play .i-pause { display: block; }
.hlas-kicker { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--brown); font-weight: 700; }
.hlas-title { font-family: "Fraunces", Georgia, serif; font-size: 20px; line-height: 1.25; margin-top: 2px; }
.hlas-who { color: var(--muted); font-size: 15px; margin-top: 2px; }
.hlas-bar { height: 4px; background: var(--sand); border-radius: 4px; margin: 16px 0 14px; overflow: hidden; }
.hlas-bar span { display: block; height: 100%; width: 0; background: var(--honey); transition: width .2s linear; }
.hlas blockquote { margin: 0; font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 18px; line-height: 1.5; color: var(--soft); }
.hlas figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* ---------- Proč Šuflík ---------- */
.founder { max-width: 1120px; margin: 0 auto; padding: 64px 24px 96px; }
.founder-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.founder-photo { margin: 0; position: sticky; top: 24px; }
.founder-photo img { width: 100%; height: auto; display: block; border-radius: 22px; box-shadow: 0 18px 40px rgba(29,43,63,.16); }
.founder h1 { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.1; margin: 12px 0 22px; }
.founder-text p { font-size: 19px; line-height: 1.65; margin: 0 0 16px; }
.founder-text .intro { font-size: 21px; color: var(--soft); }
.founder-text .beat { font-family: "Fraunces", Georgia, serif; font-size: 30px; font-weight: 600; color: var(--brown); margin: 26px 0; }
.founder-text .sign { font-family: "Caveat", cursive; font-size: 34px; margin-top: 28px; line-height: 1.1; }
.founder-text .sign span { display: block; font-family: "Figtree", sans-serif; font-size: 15px; color: var(--muted); }
.founder-hlas { max-width: 720px; margin: 80px auto 0; text-align: center; }
.founder-hlas h2 { font-size: clamp(28px, 3.4vw, 38px); }
.founder-hlas > p { color: var(--soft); font-size: 18px; }
.founder-hlas .hlas { text-align: left; }
@media (max-width: 800px) {
  .founder { padding-top: 32px; }
  .founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder-photo { position: static; max-width: 420px; }
}
