/* ============================================================
   Žij svůj pohyb — seberozvoj.css
   Stránka „Seberozvoj & terapie". Šeříkovo-švestková paleta.
   Scoped přepis tokenů + komponenty kapitol s organickými blob
   fotkami a sticky scroll-spy navigací s kulatými miniaturami.
   ============================================================ */

/* ---------- Přepis palety (šeříkovo-švestková) ----------
   Přebarví nav, vlny, footer i lokální komponenty. */
:root {
  --cream: #f8f3f0;
  --cream-deep: #f0e6e8;
  --peach: #ddd0e8;
  --peach-deep: #c9b3d8;
  --terra: #9b6fa3;
  --terra-deep: #6f4d7a;
  --sage: #8a9479;
  --sage-deep: #5a6b4c;
  --ink: #2e2430;
  --ink-soft: #665a6b;
  --rule: rgba(46,36,48,0.12);

  --shadow-cta: 0 10px 30px rgba(111,77,122,0.35);
}

body { background: var(--cream); }

/* ---------- Hero ---------- */
.sb-hero {
  text-align: center;
  padding: 84px 24px 44px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.sb-hero .kicker {
  font-family: var(--font-script); font-style: italic;
  font-size: 24px; color: var(--terra-deep);
}
.sb-hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 8.5vw, 100px); line-height: 0.98;
  letter-spacing: -0.02em; margin: 8px 0 20px;
}
.sb-hero h1 em { font-family: var(--font-script); font-style: italic; color: var(--terra); }
.sb-hero p {
  font-size: 17px; color: var(--ink-soft);
  max-width: 580px; margin: 0 auto; line-height: 1.65;
}
.sb-hero .tags {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin-top: 24px; font-family: var(--font-script); font-style: italic;
  font-size: 18px; color: var(--sage-deep);
}

/* ---------- Sticky navigace kapitol (kulaté miniatury + scroll-spy) ---------- */
.sb-toc {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  padding: 4px 24px 40px;
  position: sticky; top: 110px; z-index: 40;
}
.sb-toc a {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600;
  padding: 8px 20px 8px 8px; border-radius: 999px;
  border: 1.5px solid var(--rule); color: var(--ink-soft);
  text-decoration: none;
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: all .2s ease;
}
.sb-toc a img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.sb-toc a:hover {
  border-color: var(--terra); color: var(--terra-deep);
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(111,77,122,0.14);
}
.sb-toc a.active {
  background: var(--ink); color: var(--cream); border-color: var(--ink);
}

/* ---------- Obal kapitol ---------- */
.sb-wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }

/* ---------- Kapitola (text + organická blob fotka) ---------- */
.therapy {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px;
  align-items: center; padding: 56px 0; scroll-margin-top: 150px;
}
.therapy.flip { grid-template-columns: 1fr 1.15fr; }
.therapy.flip .txt { order: 2; }
.therapy.flip .pic { order: 1; }
.therapy .k {
  font-family: var(--font-script); font-style: italic;
  font-size: 21px; color: var(--terra-deep);
}
.therapy h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 46px; letter-spacing: -0.015em; line-height: 1.05; margin: 6px 0 16px;
}
.therapy p { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 14px; }
.therapy p strong { color: var(--ink); }
.therapy ul {
  margin: 14px 0 20px; padding: 0; list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px;
}
.therapy ul li {
  font-size: 13.5px; color: var(--ink); padding-left: 20px;
  position: relative; line-height: 1.45;
}
.therapy ul li::before {
  content: "✿"; position: absolute; left: 0; color: var(--terra);
  font-size: 11px; top: 2px;
}
.therapy .cta {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--terra-deep); color: var(--cream);
  font-size: 14px; font-weight: 600; text-decoration: none;
  box-shadow: 0 8px 24px rgba(111,77,122,0.3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.therapy .cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(111,77,122,0.4); }
.therapy .cta.ghost {
  background: transparent; color: var(--terra-deep);
  border: 1.5px solid var(--terra-deep); box-shadow: none; margin-left: 10px;
}
.therapy .cta.ghost:hover { box-shadow: 0 8px 20px rgba(111,77,122,0.18); }

.therapy .pic { position: relative; }
.therapy .pic img {
  width: 100%; aspect-ratio: 5/4; object-fit: cover;
  border-radius: 50% 50% 46% 54% / 58% 52% 48% 42%;
  box-shadow: 0 24px 60px rgba(46,36,48,0.16); filter: saturate(0.9);
  transition: transform .45s ease, box-shadow .45s ease;
}
.therapy .pic:hover img {
  transform: scale(1.03) rotate(-1deg);
  box-shadow: 0 30px 72px rgba(46,36,48,0.22);
}
.therapy.flip .pic img { border-radius: 46% 54% 50% 50% / 52% 58% 42% 48%; }
.therapy .pic .tag {
  position: absolute; bottom: 18px; left: 14px;
  padding: 10px 18px; background: #fff; border-radius: 16px;
  box-shadow: 0 10px 26px rgba(46,36,48,0.14);
  font-family: var(--font-script); font-style: italic;
  font-size: 17px; color: var(--terra-deep);
  transform: rotate(-3deg); transition: transform .3s ease;
}
.therapy .pic:hover .tag { transform: rotate(2deg) translateY(-4px); }

/* ---------- Oddělovač mezi kapitolami ---------- */
.sb-div { display: flex; flex-direction: column; align-items: center; padding: 8px 0; }
.sb-div .line { width: 0; height: 56px; border-left: 2px dashed var(--terra); opacity: 0.5; }
.sb-div .leaf {
  width: 12px; height: 10px; border-radius: 60% 40% 60% 40%;
  background: var(--terra); margin-top: 6px;
}

/* ---------- Citát ---------- */
.sb-quote { text-align: center; padding: 80px 24px; position: relative; z-index: 2; }
.sb-quote .q {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(30px, 4.5vw, 48px); max-width: 820px;
  margin: 0 auto; line-height: 1.25;
}
.sb-quote .a {
  font-family: var(--font-script); font-style: italic;
  font-size: 19px; color: var(--terra-deep); margin-top: 18px;
}

/* ============================================================
   Responzivita
   ============================================================ */
@media (max-width: 980px) {
  .sb-toc { top: 88px; }
}
@media (max-width: 860px) {
  .therapy, .therapy.flip { grid-template-columns: 1fr; gap: 32px; }
  .therapy.flip .txt { order: 1; }
  .therapy.flip .pic { order: 2; }
  /* kapitolovou navigaci na mobilu zhorizontálníme do scroll-pásu */
  .sb-toc {
    position: static; flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding: 4px 16px 28px; gap: 8px;
    scrollbar-width: none;
  }
  .sb-toc::-webkit-scrollbar { display: none; }
  .sb-toc a { flex: 0 0 auto; }
}
@media (max-width: 600px) {
  .sb-hero { padding: 64px 20px 36px; }
  .therapy h2 { font-size: 36px; }
  .therapy ul { grid-template-columns: 1fr; }
  .therapy .cta.ghost { margin-left: 0; margin-top: 10px; }
  .sb-wrap { padding: 0 20px; }
}
