﻿:root {
  --color-background: #fff5df;
  --color-background-alternate: #ffeeca;
  --color-button: #ef530f;
  --color-accent: #7b1b36;
  --color-text: #000;
  --font-heading: "Questrial", sans-serif;
  --font-heading-italic: "Playfair Display", serif;
  --font-body: "Syne", sans-serif;
}

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

html { scroll-behavior: smooth; }
html.has-smooth-scroll { scroll-behavior: auto; }
section[id] { scroll-margin-top: 24px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(44px, 6vw, 80px); }
h2 { font-size: clamp(36px, 4.5vw, 56px); }
h3 { font-size: clamp(26px, 3vw, 32px); }

h1 em,
h2 em,
h3 em {
  font-family: var(--font-heading-italic);
  font-weight: 400;
  font-style: italic;
}

p { margin: 0 0 1em; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
strong, b { font-family: var(--font-body); font-weight: 600; }

.container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.section { padding-block: clamp(48px, 8vw, 112px); }
.section--alternate { background: var(--color-background-alternate); }
.hero__description { font-size: 20px; }
.text-accent { color: var(--color-accent); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  background: var(--color-button);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

/* Navigace a úvodní sekce */
.site-header { width: min(960px, calc(100% - 64px)); min-height: 116px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; z-index: 2; }
.logo { flex-shrink: 0; }
.navigation { display: flex; gap: 46px; align-items: center; }
.navigation a { position: relative; font-size: 16px; text-decoration: none; white-space: nowrap; }
.navigation a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 1px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.navigation a:hover::after, .navigation a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; }
.button { --button-hover-color: var(--color-accent); position: relative; isolation: isolate; overflow: hidden; gap: 8px; flex-shrink: 0; min-height: 68px; padding: 16px 30px; border: 1px solid var(--color-button); border-radius: 100px; color: #fff; white-space: nowrap; transition: color .3s, background-color .4s, transform .3s, box-shadow .3s, border-color .4s; }
.button::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--button-hover-color); border-radius: inherit; transform: translateY(105%); transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
.button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform .3s; }
.button--outline { --button-hover-color: var(--color-button); background: transparent; color: var(--color-button); }
.button--outline::before { background: var(--color-button); }
.button:hover, .button:focus-visible { color: #fff; transform: translateY(-3px); box-shadow: 0 8px 22px #7b1b3612; }
.button:hover, .button:focus-visible { background-color: var(--button-hover-color); border-color: var(--button-hover-color); }
.button:hover::before, .button:focus-visible::before { transform: translateY(0); }
.button:hover svg, .button:focus-visible svg { transform: translateX(4px); }
.button:active { transform: translateY(0); }
.hero { position: relative; overflow: hidden; min-height: calc(100svh - 116px); }
.hero-inner { width: min(1316px, calc(100% - 80px)); margin-inline: auto; padding-block: 56px 106px; display: grid; grid-template-columns: 746px 534px; gap: 68px; align-items: start; }
.hero-copy { padding-top: 118px; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 18px; color: var(--color-accent); font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; }
.hero h1 { font-size: 80px; margin: 0; letter-spacing: -4px; line-height: 1.08; }
.hero h1 em { white-space: nowrap; letter-spacing: -4px; }
.hero-bottom { display: flex; align-items: center; gap: 36px; margin-top: 70px; }
.hero__description { margin: 0; font-size: 20px; line-height: 1.2; flex: 1; }
.hero-portrait { position: relative; margin: 0; }
.hero-portrait > img { width: 100%; }
.handwritten { font-family: "Caveat", cursive; font-size: 24px; line-height: 1.2; white-space: nowrap; margin: 0; }
.portrait-note { position: absolute; top: 6%; right: -18%; transform: rotate(-4deg); }
.support-note { position: absolute; bottom: 3%; left: -19%; transform: rotate(14deg); }
.hero-lines { position: absolute; left: -5px; top: 88px; width: 155px; height: 730px; pointer-events: none; }
.hero-line { stroke-width: 2.8; vector-effect: non-scaling-stroke; animation: line-sway 8s ease-in-out infinite alternate; transform-origin: center; }
.hero-line--orange { stroke: var(--color-button); }
.hero-line--purple { stroke: var(--color-accent); animation-delay: -4s; animation-duration: 10s; }
@keyframes line-sway { from { transform: translateX(-7px) rotate(-2deg); } to { transform: translateX(6px) rotate(2deg); } }
@media (max-width: 1599px) {
.hero-inner { gap: 48px; grid-template-columns: 1.4fr 1fr; max-width: 1240px; }
.hero-copy { padding-top: 90px; }
.hero h1 { font-size: clamp(52px, 4.6vw, 72px); letter-spacing: -2.8px; }
.hero h1 em { letter-spacing: -2.8px; }
.hero-bottom { gap: 24px; margin-top: 50px; flex-wrap: wrap; }
.hero__description { flex-basis: 100%; max-width: 490px; }
.portrait-note { right: -3%; }
.hero-lines { left: -65px; }
}
@media (max-width: 1000px) {
.site-header { gap: 24px; }
.navigation { gap: 24px; }
.header-contact { padding-inline: 20px; font-size: 16px; min-height: 56px; }
.hero-inner { width: calc(100% - 64px); gap: 28px; padding-top: 36px; }
.hero-copy { padding-top: 45px; }
.hero h1 { font-size: 50px; }
.desktop-break { display: none; }
.hero h1 em { white-space: normal; }
.hero-bottom { margin-top: 32px; }
.support-note { left: -8%; bottom: -6%; transform: rotate(8deg); }
.portrait-note { top: -5%; right: 0; }
}
@media (max-width: 760px) {
.site-header { min-height: 96px; width: calc(100% - 40px); flex-wrap: wrap; gap: 0; padding-block: 20px; }
.logo img { width: 38px; height: auto; }
.header-contact { margin-left: auto; margin-right: 18px; font-size: 14px; min-height: 46px; padding: 10px 16px; }
.header-contact svg { width: 18px; }
.menu-toggle { display: flex; order: 3; flex-direction: column; justify-content: center; gap: 7px; width: 44px; height: 44px; border: 0; padding: 8px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 28px; height: 1px; background: #000; transition: transform .25s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.navigation { display: none; order: 4; width: 100%; padding-block: 24px 4px; justify-content: space-between; gap: 12px; }
.navigation.is-open { display: flex; }
.hero-inner { width: calc(100% - 40px); display: flex; flex-direction: column; gap: 58px; padding-block: 36px 70px; }
.hero-copy { padding-top: 0; }
.eyebrow { font-size: 10px; letter-spacing: 1.2px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(26px, 8.4vw, 48px); letter-spacing: -1.4px; }
.hero h1 .desktop-break { display: block; }
.hero h1 em { letter-spacing: -1.4px; white-space: nowrap; }
.hero-bottom { gap: 26px; }
.hero__description { max-width: 520px; }
.button--primary { min-height: 62px; }
.hero-portrait { width: min(85%, 390px); align-self: center; }
.portrait-note { top: 3%; right: -8%; }
.support-note { bottom: -3%; left: -5%; }
.hero-lines { top: auto; bottom: 0; left: -98px; opacity: .75; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation: none !important; transition: none !important; }
}


/* Písmena držíme uvnitř slov, aby se nerozbilo zalamování nadpisu. */
.reveal-word { display: inline-block; white-space: nowrap; }
.reveal-letter { display: inline-block; transform-origin: 50% 75%; }
.hero-title--entering .reveal-letter {
  animation: letter-arrive 520ms cubic-bezier(.2,.65,.3,1) both;
  animation-delay: calc(var(--letter-index) * 16ms);
}
@keyframes letter-arrive {
  from { opacity: 0; filter: blur(9px); transform: translateY(10px) scale(1.35); }
  to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}
.reassurance { overflow: clip; padding: 64px 24px 100px; }
.reassurance-inner {
  position: relative;
  max-width: 1840px;
  min-height: 340px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 760px) minmax(160px, 1fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
}
.reassurance h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
  font-size: 56px;
  line-height: 1.22;
  letter-spacing: -2.2px;
}
.reassurance-photo { width: 100%; max-width: 340px; transform-origin: center; }
.reassurance-photo--left { justify-self: start; }
.reassurance-photo--right { justify-self: end; transform: rotate(13deg); }
@media (max-width: 1200px) {
  .reassurance-inner { gap: 36px; grid-template-columns: 1fr 2.5fr 1fr; min-height: 280px; }
  .reassurance h2 { font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -1.4px; }
}
@media (max-width: 760px) {
  .reassurance { padding: 32px 24px 72px; }
  .reassurance-inner { grid-template-columns: 1fr 1fr; gap: 32px 48px; }
  .reassurance h2 { grid-row: 1; grid-column: 1 / -1; font-size: clamp(32px, 6vw, 44px); }
  .reassurance-photo { grid-row: 2; max-width: 210px; }
  .reassurance-break { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title--entering .reveal-letter { animation: none; }
}

/* Pomalejší odhalení a scrollování po písmenech. */
.hero-title--entering .reveal-letter {
  animation-duration: 900ms;
  animation-delay: calc(var(--letter-index) * 34ms);
}
.reassurance { padding-inline: 0; }
.reassurance-inner { max-width: none; grid-template-columns: minmax(160px, 1fr) minmax(0, 760px) minmax(160px, 1fr); gap: clamp(40px, 6vw, 110px); }
.reassurance-photo { max-width: 340px; }
.reassurance-photo--left { margin-left: -22px; }
.reassurance-photo--right { margin-right: -22px; }

.therapies { position: relative; overflow: clip; padding: 120px 48px 180px; }
.therapies > h2 { position: relative; z-index: 1; margin: 0 auto; text-align: center; font-size: 56px; line-height: 1.18; letter-spacing: -2px; }
.therapy-cards { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 1560px; margin: 145px auto 0; }
.therapy-card { position: relative; min-width: 0; padding: 44px 32px 38px; background: var(--color-button); color: #fff; transform: rotate(15deg); transition: transform 320ms cubic-bezier(.2,.7,.25,1), box-shadow 320ms; }
.therapy-card:nth-child(even) { background: var(--color-accent); transform: translateY(24px) rotate(-15deg); }
.therapy-icon { width: 110px; height: 110px; object-fit: contain; object-position: left center; margin-bottom: 54px; }
.therapy-card h3 { color: inherit; font-family: var(--font-body); font-size: 32px; line-height: 1.25; margin: 0 0 54px; letter-spacing: -1px; }
.therapy-card p { font-size: 16px; line-height: 1.4; margin: 0; }
.therapy-illustration { position: absolute; width: 220px; pointer-events: none; }
.therapy-illustration--top { right: -15px; top: 105px; }
.therapy-illustration--bottom { left: -12px; bottom: 40px; width: 258px; }
@media (max-width: 1250px) {
  .reassurance-inner { grid-template-columns: 1fr 2.5fr 1fr; gap: 44px; }
  .therapies { padding: 100px 36px 150px; }
  .therapy-cards { gap: 14px; margin-top: 110px; }
  .therapy-card { padding: 30px 22px; }
  .therapy-card h3 { font-size: 24px; margin-bottom: 32px; }
  .therapy-card p { font-size: 16px; }
  .therapy-icon { width: 85px; height: 85px; margin-bottom: 36px; }
  .therapy-illustration { width: 150px; }
  .therapy-illustration--bottom { width: 180px; bottom: 20px; }
}
@media (max-width: 900px) {
  .therapy-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; margin-top: 80px; }
  .therapy-card { transform: rotate(5deg); }
  .therapy-card:nth-child(even) { transform: rotate(-5deg); }
  .therapy-card p { font-size: 16px; }
  .therapies > h2 { font-size: 44px; }
  .therapy-illustration--top { top: 25px; width: 110px; }
}
@media (max-width: 760px) {
  .reassurance-inner { grid-template-columns: 1fr 1fr; gap: 32px 60px; }
  .reassurance h2 { padding-inline: 24px; }
  .reassurance-photo { max-width: 210px; }
}
@media (max-width: 520px) {
  .therapies { padding: 100px 24px 145px; }
  .therapies > h2 { font-size: 36px; letter-spacing: -1.2px; }
  .therapy-cards { grid-template-columns: 1fr; gap: 32px; margin-top: 64px; }
  .therapy-card { padding: 32px; transform: rotate(3deg); }
  .therapy-card:nth-child(even) { transform: rotate(-3deg); }
  .therapy-card h3 { font-size: 28px; }
  .therapy-icon { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title--entering .reveal-letter { animation: none; }
  .therapy-card, .therapy-card:nth-child(even) { transform: none; transition: none; }
}

/* Krátké mrknutí smajlíku, zbytek poznámky zůstává v klidu. */
.winking-smiley { display: inline-flex; vertical-align: baseline; }
.smiley-eyes { animation: smiley-blink 5s step-end infinite; }
@keyframes smiley-blink {
  0%, 64% { visibility: visible; }
  60% { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .smiley-eyes { animation: none; visibility: visible; }
}

/* O mně */
.about {
  position: relative;
  overflow: clip;
  padding: clamp(80px, 9vw, 170px) 40px clamp(90px, 7vw, 135px);
  background: var(--color-background);
}
.about-inner {
  width: min(1316px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 610px);
  gap: 86px;
  align-items: center;
}
.about-copy { position: relative; z-index: 1; }
.about-copy .eyebrow { margin-bottom: 40px; }
.about h2 { margin: 0 0 40px; font-size: 56px; letter-spacing: -2.5px; line-height: 1.15; }
.about-quote {
  margin: 0 0 36px;
  font-family: var(--font-heading-italic);
  font-style: italic;
  font-size: 24px;
  line-height: 1.35;
}
.about-text { max-width: 620px; }
.about-text p { font-size: 16px; line-height: 1.4; margin: 0 0 22px; }
.about-text h3 { font-family: var(--font-body); font-size: 22px; line-height: 1.25; margin: 40px 0 16px; }
.education-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.education-list li { font-size: 16px; line-height: 1.4; }
.education-year { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; opacity: .65; margin-bottom: 2px; }
.about-button { margin-top: 12px; }
.about-portrait { position: relative; margin: 0; }
/* Rozbalovací doplňující text (O mně, Jak pracuji) – stejná animace jako FAQ. */
.disclosure { border-top: 1px solid #e3d8bd; border-bottom: 1px solid #e3d8bd; margin: 8px 0 22px; }
.disclosure-button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 0; padding: 20px 0; background: transparent; text-align: left; font: 22px/1.3 var(--font-body); color: #000; cursor: pointer; }
.disclosure-button[aria-expanded="true"] .faq-plus::after { transform: rotate(0deg); }
.disclosure-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 360ms ease, opacity 280ms ease; }
.disclosure-panel > div { min-height: 0; overflow: hidden; }
.disclosure-panel p { font-size: 16px; line-height: 1.5; margin: 0 0 18px; }
.disclosure.is-open .disclosure-panel { grid-template-rows: 1fr; opacity: 1; }
.process-more { width: min(760px, 100% - 48px); margin: 40px auto 80px; }
.process-more .disclosure-button { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .disclosure-panel { transition: none; } }
.about-portrait > img { width: 100%; height: auto; }
.about-note { position: absolute; right: -5%; top: 3%; transform: rotate(17deg); text-align: center; }
.about-illustration { position: absolute; right: -12px; top: 54%; width: clamp(110px, 12vw, 220px); pointer-events: none; }

/* Samostatná rotace doplňuje transform používaný při scrollování. */
.hero-portrait > img, .about-portrait > img, .reassurance-photo {
  rotate: 0deg;
  transition: rotate 480ms cubic-bezier(.2,.7,.25,1);
}
@media (hover: hover) and (pointer: fine) {
  .hero-portrait > img:hover, .about-portrait > img:hover { rotate: -3deg; }
  .reassurance-photo--left:hover { rotate: 4deg; }
  .reassurance-photo--right:hover { rotate: -4deg; }
}
@media (max-width: 1250px) {
  .about-inner { grid-template-columns: 1.1fr 1fr; gap: 56px; max-width: 1060px; }
  .about h2 { font-size: 48px; margin-bottom: 30px; }
  .about-copy .eyebrow { margin-bottom: 28px; }
  .about-quote { font-size: 22px; }
  .about-illustration { top: auto; bottom: 24px; }
}
@media (max-width: 760px) {
  .about { padding: 72px 24px 100px; }
  .about-inner { grid-template-columns: 1fr; gap: 56px; max-width: 560px; }
  .about h2 { font-size: clamp(36px, 7vw, 48px); letter-spacing: -1.6px; }
  .about-quote { font-size: 22px; }
  .about-quote-break { display: none; }
  .about-portrait { width: 88%; max-width: 430px; justify-self: center; }
  .about-note { right: -6%; top: 0; }
  .about-illustration { width: 110px; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-portrait > img, .about-portrait > img, .reassurance-photo { rotate: none !important; transition: none; }
}

/* Cílový rozměr karty na široké obrazovce: 458,35 × 609,09 px. */
.therapy-cards { max-width: 1893.4px; grid-template-columns: repeat(4, minmax(0, 458.35px)); }
.therapy-card { min-height: 609.09px; }
@media (max-width: 1400px) and (min-width: 901px) {
  .therapy-cards { grid-template-columns: repeat(2, minmax(0, 458.35px)); max-width: 960px; gap: 64px 32px; }
  .therapy-card { transform: rotate(5deg); }
  .therapy-card:nth-child(even) { transform: rotate(-5deg); }
}
@media (max-width: 900px) {
  .therapy-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .therapy-card { min-height: 0; }
}
@media (max-width: 520px) {
  .therapy-cards { grid-template-columns: 1fr; }
}

.education { position: relative; isolation: isolate; overflow: clip; background: var(--color-background-alternate); padding: 190px 40px; }
.education-inner { width: min(1316px, 100%); margin-inline: auto; display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 120px; }
.education-card { position: relative; isolation: isolate; background: #ffdd91; padding: 32px; }
.education-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #ffe3a3; transform: rotate(-7deg); }
.education-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: #ffdd91; }
.education-icon { width: 135px; height: 125px; object-fit: contain; object-position: left center; margin: -26px 0 24px; filter: brightness(0); opacity: .24; }
.education-card h3 { font-family: var(--font-body); font-size: 26px; line-height: 1.25; margin: 0 0 14px; }
.education-card p, .education-copy > p:last-child { font-size: 16px; line-height: 1.4; margin: 0; }
.education-copy .eyebrow { font-size: 11px; margin-bottom: 28px; }
.education-copy h2 { font-size: 56px; line-height: 1.15; letter-spacing: -2px; margin-bottom: 36px; }
.education-wave { position: absolute; left: 0; width: 100%; height: 100px; fill: var(--color-background); pointer-events: none; }
.education-wave--top { top: -1px; }
.education-wave--bottom { bottom: -1px; transform: rotate(180deg); }
@media (max-width: 1100px) {
  .education-inner { gap: 64px; }
  .education-copy h2 { font-size: 44px; }
  .education-card h3 { font-size: 24px; }
}
@media (max-width: 760px) {
  .education { padding: 120px 24px; }
  .education-inner { grid-template-columns: 1fr; gap: 64px; max-width: 560px; }
  .education-copy { grid-row: 1; }
  .education-copy h2 { font-size: 40px; }
  .education-card { padding: 28px; }
  .education-wave { height: 65px; }
}
@media (prefers-reduced-motion: reduce) {
  .therapy-card, .therapy-card:nth-child(even) { transform: none; }
}

/* Překrývající se vějíř se stejným rozvržením obsahu každé karty. */
@media (min-width: 901px) {
  .therapy-cards { max-width: 1455px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 140px; }
  .therapy-card { container-type: inline-size; width: 126%; max-width: 458.35px; min-height: 609.09px; padding: 42px 34px; transform: translateX(-10%) rotate(15deg); transform-origin: center; }
  .therapy-card:nth-child(even) { transform: translateX(-10%) rotate(-15deg); }
  .therapy-icon { width: 26cqw; height: 27cqw; margin-bottom: 18cqw; object-position: left center; }
  .therapy-card h3 { font-size: clamp(22px, 7.4cqw, 32px); line-height: 1.2; margin-bottom: 18cqw; white-space: nowrap; }
  .therapy-card p { font-size: 16px; line-height: 1.35; }
}
@media (min-width: 901px) and (max-width: 1250px) {
  .therapy-card { min-height: 520px; padding: 30px 24px; }
  .therapy-card h3 { font-size: 21px; white-space: normal; }
  .therapy-card p { font-size: 16px; }
}
.education-carousel { min-width: 0; }
.education-icon { filter: none; opacity: 1; }
.education-card[hidden] { display: none; }
.education-controls { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 48px; }
.education-arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--color-button); border-radius: 50%; background: transparent; color: var(--color-button); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.education-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.education-arrow:hover:not(:disabled) { background: var(--color-button); color: white; transform: translateY(-2px); }
.education-arrow:disabled { opacity: .35; cursor: default; }
.education-counter { display: flex; align-items: center; gap: 14px; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--color-accent); }
.education-counter strong { font-weight: 600; }
.education-counter-line { width: 56px; height: 1px; background: currentColor; opacity: .3; }
@media (prefers-reduced-motion: reduce) {
  .therapy-card, .therapy-card:nth-child(even) { transform: none; }
  .therapy-card { width: 100%; }
}

/* Jak pracuji: kreslená cesta postupně odhaluje jednotlivé kroky. */
.process { position: relative; }
.process-scene { padding-top: 64px; overflow: clip; background: var(--color-background); }
.process-heading { text-align: center; padding-inline: 24px; }
.process-heading .eyebrow { margin-bottom: 32px; }
.process-heading h2 { font-size: 56px; line-height: 1.18; letter-spacing: -2px; margin-bottom: 24px; }
.process-heading > p:last-child { font-size: 16px; line-height: 1.35; margin: 0; }
.process-journey { position: relative; height: 520px; margin-top: 12px; }
.process-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.process-line--mobile { display: none; }
.process-track { stroke: #000; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.process-progress { stroke: var(--color-button); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.process-step { position: absolute; width: 16%; max-width: 285px; }
.process-step h3 { font-family: var(--font-heading); font-size: 28px; line-height: 1.25; margin: 0 0 16px; }
.process-step p { font-size: 16px; line-height: 1.35; margin: 0; }
.process-icon { width: 100%; height: 130px; object-fit: contain; margin-block: 0 24px; transform-origin: 50% 85%; }
.process-step--safety { left: 20%; top: 34px; }
.process-step--openness { left: 40%; top: 280px; }
.process-step--change { left: 60%; top: 0; }
.process-step--understanding { left: 78%; top: 350px; }
.process-step--openness .process-icon, .process-step--understanding .process-icon { margin-block: 24px 0; }
.process-step.is-visible .process-icon { animation: process-icon-sway 4.8s ease-in-out infinite alternate; }
.process-step--openness .process-icon { animation-delay: -.8s; }
.process-step--change .process-icon { animation-delay: -1.6s; }
.process-step--understanding .process-icon { animation-delay: -2.4s; }
@keyframes process-icon-sway {
  from { transform: translateY(0) rotate(-1.5deg); }
  to { transform: translateY(-6px) rotate(1.5deg); }
}
@media (min-width: 901px) {
  .process.is-enhanced { height: max(1600px, 195svh); }
  .process.is-enhanced .process-scene { position: sticky; top: 0; min-height: 820px; height: 100svh; }
}
@media (min-width: 901px) and (max-height: 850px) {
  .process-scene { padding-top: 30px; }
  .process-heading .eyebrow { margin-bottom: 20px; }
  .process-heading h2 { font-size: 48px; margin-bottom: 18px; }
  .process-journey { height: 450px; }
  .process-icon { height: 100px; margin-bottom: 16px; }
  .process-step h3 { font-size: 24px; margin-bottom: 12px; }
  .process-step--openness { top: 240px; }
  .process-step--understanding { top: 300px; }
  .process.is-enhanced .process-scene { min-height: 740px; }
}
@media (max-width: 900px) {
  .process-scene { padding: 72px 24px; }
  .process-heading h2 { font-size: clamp(36px, 6vw, 48px); letter-spacing: -1.4px; }
  .process-heading h2 br { display: none; }
  .process-journey { height: auto; display: grid; gap: 64px; max-width: 560px; margin: 48px auto 0; padding-left: 76px; }
  .process-line--desktop { display: none; }
  .process-line--mobile { display: block; width: 50px; }
  .process-step { position: relative; inset: auto; width: 100%; max-width: none; display: flex; flex-direction: column; }
  .process-step h3 { font-size: 28px; }
  .process-step .process-icon { order: -1; width: 210px; max-width: 100%; height: 120px; margin: 0 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .process.is-enhanced { height: auto; }
  .process.is-enhanced .process-scene { position: relative; height: auto; }
  .process-step.is-visible .process-icon { animation: none; }
}

/* Větší odstup textů od cesty a pomalejší průchod sekcí. */
@media (min-width: 901px) {
  .process.is-enhanced { height: max(2100px, 250svh); }
  .process-step--safety { top: 0; }
  .process-step--change { top: -24px; }
  .process-step--openness { top: 300px; }
  .process-step--understanding { top: 360px; }
}
.process-step > div { position: relative; background: var(--color-background); padding: 8px; margin: -8px; }
.process-dot { fill: var(--color-button); stroke: var(--color-background); stroke-width: 1.5; }

.getting-started { position: relative; }
.getting-started-scene { background: var(--color-background); padding: 80px 48px; overflow: clip; }
.getting-started-inner { max-width: 1450px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: center; }
.getting-started-copy .eyebrow { margin-bottom: 36px; }
.getting-started-copy h2 { font-size: 56px; line-height: 1.18; letter-spacing: -2px; margin-bottom: 54px; }
.starting-steps { max-width: 520px; }
.starting-step { padding: 0 0 26px; margin-bottom: 24px; border-bottom: 1px solid #eadbb8; }
.starting-number { display: block; margin-bottom: 22px; }
.starting-step h3 { font: 32px/1.25 var(--font-body); margin-bottom: 20px; }
.starting-step p { font-size: 16px; line-height: 1.45; margin: 0; }
.starting-photos { position: relative; width: 100%; max-width: 570px; justify-self: center; }
.starting-photo { display: block; width: 100%; height: auto; rotate: -4deg; transition: opacity 300ms ease, transform 300ms ease; }
.starting-photo:first-child { rotate: 1deg; }
.starting-photo:nth-child(2) { rotate: 6deg; }
.starting-photo:nth-child(3) { rotate: -14deg; }
.starting-photo + .starting-photo { position: absolute; inset: 0; opacity: 0; }
.getting-started.is-enhanced { height: 240svh; }
.getting-started.is-enhanced .getting-started-scene { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; padding-block: 36px; }
.getting-started.is-enhanced .starting-steps { position: relative; height: var(--steps-window, 320px); overflow: hidden; }
.getting-started.is-enhanced .starting-step { position: absolute; inset: 0 0 auto; margin: 0; transition: none; will-change: transform, opacity; }
.getting-started.is-enhanced .starting-button { margin-top: 24px; }
@media (max-width: 1200px) {
  .getting-started-inner { gap: 64px; }
  .getting-started-copy h2 { font-size: 44px; margin-bottom: 36px; }
  .starting-step h3 { font-size: 28px; }
}
@media (max-width: 760px) {
  .getting-started-scene { padding: 64px 24px; }
  .getting-started-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; align-items: start; }
  .getting-started-copy { display: contents; }
  .getting-started-copy > .eyebrow, .getting-started-copy > h2 { grid-column: 1 / -1; margin-bottom: 0; }
  .getting-started-copy .starting-steps { grid-column: 1; grid-row: 3; min-width: 0; }
  .getting-started-copy .starting-button { grid-column: 1 / -1; grid-row: 4; justify-self: start; }
  .getting-started-copy h2 { font-size: 36px; margin-bottom: 0; }
  .getting-started-copy .eyebrow { margin-bottom: 0; }
  .starting-photos { max-width: none; grid-column: 2; grid-row: 3; align-self: start; margin-top: 16px; }
  .getting-started.is-enhanced .getting-started-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; align-items: start; }
  .getting-started.is-enhanced .getting-started-copy h2 { font-size: 30px; }
  .getting-started.is-enhanced .starting-photos { margin-top: 16px; }
  .getting-started.is-enhanced .starting-steps { height: calc(var(--steps-window, 320px) / 1.85 * 1.3); }
  .getting-started.is-enhanced .starting-button { margin-top: 0; }
  .starting-step h3 { font-size: 24px; }
  .starting-step p { font-size: 14px; }
  .starting-number { margin-bottom: 12px; }
  .starting-button { font-size: 16px; padding-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .process.is-enhanced { height: auto; }
}

/* Příběhy klientů */
.stories { position: relative; overflow: clip; padding: 150px 48px 140px; }
/* Recenze dočasně skryté, dokud nebudou skutečné. Zobrazíte smazáním tohoto pravidla. */
.stories, a[href="#recenze"] { display: none; }
.stories-heading { text-align: center; margin-bottom: 90px; }
.stories-heading h2 { font-size: 56px; line-height: 1.18; letter-spacing: -2px; margin: 0; }
.stories-carousel { position: relative; max-width: 1350px; margin-inline: auto; }
.stories-note { position: absolute; top: -74px; right: -8px; rotate: 12deg; }
.stories-track { display: grid; grid-template-columns: 1fr 1.22fr 1fr; align-items: center; gap: 32px; }
.story-card { margin: 0; padding: 42px 36px 32px; background: var(--color-button); color: white; transform: rotate(-1.5deg); }
.story-card:nth-child(2) { transform: translateY(-16px) rotate(.8deg); padding-block: 46px 40px; }
.story-card:nth-child(3) { transform: translateY(20px) rotate(2deg); }
.story-card blockquote { font: 24px/1.4 var(--font-body); margin: 0 0 34px; }
.story-card figcaption { font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; }
.stories-controls { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 64px; }
.stories-status { font-size: 14px; color: var(--color-accent); font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) {
  .stories { padding-inline: 32px; }
  .stories-track { gap: 20px; }
  .story-card { padding: 28px 24px; }
  .story-card blockquote { font-size: 20px; }
}
@media (max-width: 760px) {
  .stories { padding: 110px 24px 100px; }
  .stories-heading { margin-bottom: 72px; }
  .stories-heading h2 { font-size: 40px; letter-spacing: -1px; }
  .stories-track { grid-template-columns: 1fr; max-width: 450px; margin-inline: auto; }
  .story-card:first-child, .story-card:last-child { display: none; }
  .story-card:nth-child(2) { transform: rotate(.8deg); min-height: 290px; padding: 32px; }
  .stories-note { top: -46px; right: 8px; font-size: 22px; }
  .stories-controls { margin-top: 36px; }
}

/* Stejné vnitřní rozložení všech karet terapií. */
.therapy-card {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  row-gap: 24px;
  padding: 40px;
  min-height: 609.09px;
}
.therapy-card .therapy-icon {
  align-self: start;
  margin: 0;
}
.therapy-card h3 {
  align-self: center;
  margin: 0;
  white-space: normal;
}
.therapy-card p {
  align-self: end;
  margin: 0;
}

/* Skutečný balíček čtyř karet, zadní karty drží výšku i obrys. */
.education-slides { display: grid; isolation: isolate; }
.education-slides .education-card { grid-area: 1 / 1; margin: 0; }
.education-slides .education-card::before, .education-slides .education-card::after { display: none; }
.education-slides .education-card[aria-hidden="true"] { pointer-events: none; }
.education-slides .education-card:nth-child(even) { background: #ffe3a3; }

.contact { max-width: 1450px; margin-inline: auto; padding: 150px 48px 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 130px; }
.contact-intro h2 { font-size: 72px; line-height: 1.16; letter-spacing: -3px; margin-bottom: 36px; }
.contact-intro > p:not(.eyebrow) { font-size: 16px; line-height: 1.4; }
.contact-intro > img { width: 65%; max-width: 350px; margin-top: 60px; rotate: 3deg; }
.contact-form-wrap { position: relative; padding-top: 24px; }
.contact-note { position: absolute; right: 20%; top: -56px; rotate: -6deg; }
.contact-note span { font-size: 40px; display: inline-block; margin-right: 12px; }
.contact-form { padding: 60px; background: var(--color-background-alternate); }
.contact-form fieldset { border: 0; padding: 0; margin: 0 0 48px; min-width: 0; }
.contact-form legend { font-size: 16px; padding: 0; margin-bottom: 28px; }
.therapy-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.therapy-options label { position: relative; cursor: pointer; }
.therapy-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.therapy-options span { display: grid; place-items: center; text-align: center; min-height: 52px; padding: 10px 12px; border: 1px solid #000; border-radius: 60px; font-size: 16px; transition: background .25s, color .25s, border-color .25s; }
.therapy-options input:checked + span { color: white; background: var(--color-accent); border-color: var(--color-accent); }
.therapy-options input:focus-visible + span { outline: 3px solid var(--color-accent); outline-offset: 4px; }
.contact-field { display: block; font-size: 16px; margin-bottom: 42px; }
.contact-field input, .contact-field textarea { display: block; width: 100%; min-width: 0; border: 0; border-bottom: 1px solid #5c5444; border-radius: 0; padding: 12px 0; background: transparent; color: #000; font-size: 16px; }
.contact-field textarea { resize: vertical; min-height: 100px; }
.contact-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field-optional, .contact-field textarea::placeholder { color: #a88a51; opacity: 1; }
.contact-intro .contact-address, .contact-intro .contact-address strong, .contact-intro .contact-address a { font-family: var(--font-body); font-style: normal; }
.form-status { font-size: 14px; line-height: 1.4; margin: 18px 0 0; }
.form-status:empty { display: none; }
.faq { max-width: 940px; padding: 80px 40px 160px; margin-inline: auto; }
.faq-heading { position: relative; text-align: center; margin-bottom: 100px; }
.faq-heading h2 { font-size: 56px; letter-spacing: -2px; line-height: 1.2; margin: 0; }
.faq-heading .handwritten { text-align: right; margin-top: 24px; rotate: -4deg; }
.faq-item { border-top: 1px solid #e3d8bd; }
.faq-item:last-child { border-bottom: 1px solid #e3d8bd; }
.faq-item h3 { margin: 0; }
.faq-item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 0; padding: 30px 0; background: transparent; text-align: left; font: 24px/1.35 var(--font-body); color: #000; cursor: pointer; }
.faq-plus { width: 16px; height: 16px; position: relative; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; top: 50%; left: 0; width: 16px; height: 1px; background: currentColor; transition: transform .3s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item button[aria-expanded="true"] .faq-plus::after { transform: rotate(0deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 360ms ease, opacity 280ms ease; }
.faq-answer > div { min-height: 0; overflow: hidden; }
.faq-answer p { font-size: 16px; line-height: 1.6; margin: 0; padding: 0 30px 28px 0; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; opacity: 1; }
.site-footer { position: relative; overflow: hidden; background: var(--color-background-alternate); padding: 180px 48px 140px; }
.footer-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 100px; max-width: 1400px; margin-inline: auto; }
.footer-inner h3 { font-family: var(--font-body); font-size: 32px; margin-bottom: 28px; }
.footer-inner p { font-size: 16px; margin-bottom: 14px; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--color-accent); }
.footer-inner nav { display: flex; flex-direction: column; text-align: right; }
.footer-inner nav a { font-size: 32px; padding: 20px 0; border-bottom: 1px solid #ddccaa; }
.footer-inner nav a:first-child { padding-top: 0; }
.footer-inner nav a:last-child { border-bottom: 0; }
.footer-mark { position: absolute; width: 600px; height: auto; left: -30px; bottom: -130px; opacity: .1; }
@media (max-width: 1100px) {
  .contact { gap: 60px; padding-inline: 32px; }
  .contact-intro h2 { font-size: 56px; }
  .contact-form { padding: 36px; }
  .footer-inner { gap: 48px; }
  .footer-inner h3, .footer-inner nav a { font-size: 26px; }
}
@media (max-width: 760px) {
  .contact { grid-template-columns: 1fr; gap: 100px; padding: 80px 24px 40px; }
  .contact-intro h2 { font-size: 48px; letter-spacing: -2px; }
  .contact-intro > img { max-width: 240px; margin-top: 36px; }
  .contact-form { padding: 28px 24px; }
  .contact-field-row { grid-template-columns: 1fr; gap: 0; }
  .therapy-options { gap: 10px; }
  .therapy-options span { font-size: 16px; }
  .faq { padding: 70px 24px 100px; }
  .faq-heading { margin-bottom: 64px; }
  .faq-heading h2 { font-size: 40px; }
  .faq-item button { font-size: 20px; padding-block: 24px; }
  .site-footer { padding: 130px 24px 80px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner nav { text-align: left; max-width: 260px; }
  .footer-mark { width: 380px; left: auto; right: -100px; bottom: -80px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-answer, .faq-plus::after, .therapy-options span { transition: none; }
}

/* Rozložení vějíře bez zmenšování karet při najetí. */
.therapy-card .therapy-icon {
  width: 140px;
  height: 140px;
  max-width: 100%;
}
@media (min-width: 901px) {
  .therapy-cards {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: none;
  }
  .therapy-card {
    flex: 0 0 min(458.35px, calc((100vw - 120px) / 4));
    width: min(458.35px, calc((100vw - 120px) / 4));
    max-width: none;
    margin-inline: -32px;
    transform: rotate(15deg);
    transition: transform 320ms cubic-bezier(.2,.7,.25,1),
      margin 320ms cubic-bezier(.2,.7,.25,1), box-shadow 320ms;
  }
  .therapy-card:nth-child(even) { transform: rotate(-15deg); }
}
@media (prefers-reduced-motion: reduce) and (min-width: 901px) {
  .therapy-card, .therapy-card:nth-child(even) {
    transform: none;
    margin-inline: 10px;
    transition: none;
  }
}

/* Skládaná typografie: lehce natočená písmena dosednou jako tisk na papír. */
.hero-title--entering .reveal-letter {
  --letter-tilt: -9deg;
  animation: letter-print 580ms cubic-bezier(.22,1,.36,1) both;
  animation-delay: calc(var(--letter-index) * 18ms);
  transform-origin: 30% 85%;
}
.hero-title--entering .reveal-letter:nth-child(even) { --letter-tilt: 7deg; }
@keyframes letter-print {
  0% { opacity: 0; color: var(--color-accent); transform: translateY(.38em) rotate(var(--letter-tilt)) scale(.94); }
  55% { opacity: 1; color: var(--color-accent); transform: translateY(-.035em) rotate(-1deg) scale(1.015); }
  100% { opacity: 1; color: var(--color-text); transform: translateY(0) rotate(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title--entering .reveal-letter { animation: none; }
  .getting-started.is-enhanced .starting-step { transition: none; }
}

/* Nejprve dorazí čára a bod; obsah naváže krátce poté vlastním prolnutím. */
.process.is-enhanced .process-step {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 480ms cubic-bezier(.22,1,.36,1);
  transition-delay: 0ms;
}
.process.is-enhanced .process-step.has-arrived {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 120ms;
}
.process-progress { vector-effect: none; }
.process-dot { transition: opacity 100ms linear; }
.process.is-enhanced .process-step.is-visible .process-icon {
  animation-play-state: running;
}
@media (prefers-reduced-motion: reduce) {
  .process-step, .process-dot { transition: none !important; }
}

/* Rovnoměrná osa: středy kroků 12,5 / 37,5 / 62,5 / 87,5 %. */
.process, .process-scene, .process-journey { overflow: visible; }
.process-step > div { background: transparent; padding: 0; margin: 0; }
@media (min-width: 901px) {
  .process.is-enhanced { height: calc(max(100svh, 900px) + 720px); }
  .process.is-enhanced .process-scene { height: max(100svh, 900px); min-height: 900px; }
  .process-journey { height: 560px; margin-top: 28px; }
  .process-step { width: 20%; max-width: none; }
  .process-step--safety { left: 2.5%; top: 0; }
  .process-step--openness { left: 27.5%; top: 250px; }
  .process-step--change { left: 52.5%; top: 0; }
  .process-step--understanding { left: 77.5%; top: 250px; }
  .process-icon { height: 115px; max-width: 260px; margin-bottom: 20px; }
  .process-step h3 { font-size: 26px; margin-bottom: 14px; }
  .process-step p { max-width: 300px; font-size: 16px; line-height: 1.4; }
}
.getting-started.is-enhanced { height: calc(100svh + 380px); }

/* Ilustrace mají vlastní prostor mimo natočené karty. */
.therapies { width: 100%; max-width: none; padding-inline: 24px; padding-bottom: 280px; }
.therapy-illustration--top { top: 55px; right: 12px; }
.therapy-illustration--bottom { bottom: 24px; left: 12px; }
@media (min-width: 901px) {
  .therapy-cards { width: 100%; max-width: none; margin-top: 180px; }
  .therapy-card {
    flex-basis: min(480px, calc((100vw - 96px) / 4));
    width: min(480px, calc((100vw - 96px) / 4));
    margin-inline: -22px;
  }
}
@media (max-width: 900px) {
  .therapies { padding-bottom: 240px; }
  .therapy-illustration--top { top: 18px; width: 100px; }
}
@media (max-width: 520px) {
  .therapies { padding-inline: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .process.is-enhanced, .getting-started.is-enhanced { height: auto; }
  .process.is-enhanced .process-scene { height: auto; min-height: 0; }
  .therapy-card { margin-inline: 10px; }
}

/* Navigace sdílí levý okraj s úvodním nadpisem. */
.site-header { width: min(1316px, calc(100% - 80px)); }
@media (max-width: 1599px) {
  .site-header { width: min(1240px, calc(100% - 80px)); }
}
@media (max-width: 1000px) {
  .site-header { width: calc(100% - 64px); }
}
@media (max-width: 760px) {
  .site-header { width: calc(100% - 40px); }
}

/* Jemné plavání obou dekorativních čar. */
.hero-lines { overflow: visible; }
.hero-line {
  animation-name: hero-line-flow;
  animation-duration: 6s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  transform-origin: 50% 50%;
}
.hero-line--purple { animation-duration: 7.5s; animation-delay: -3s; }
@keyframes hero-line-flow {
  from { transform: translate(-9px, -5px) rotate(-2deg) scaleX(.96); }
  to { transform: translate(12px, 6px) rotate(2deg) scaleX(1.04); }
}

/* Vlnité okraje sekce terapií, s místem pro rohové ilustrace. */
.therapy-wave { position: absolute; left: 0; width: 100%; height: 80px; fill: var(--color-background); pointer-events: none; }
.therapy-wave--top { top: -1px; }
.therapy-wave--bottom { bottom: -1px; transform: rotate(180deg); }
.therapies { padding-top: 160px; padding-bottom: 320px; }
.therapy-illustration--top { top: 100px; }
.therapy-illustration--bottom { bottom: 90px; }
.contact-note { display: flex; align-items: center; gap: 12px; }
.contact-note img { width: 47px; height: 33px; flex-shrink: 0; }
@media (max-width: 900px) {
  .therapy-wave { height: 55px; }
  .therapies { padding-top: 140px; padding-bottom: 280px; }
  .therapy-illustration--top { top: 50px; }
  .therapy-illustration--bottom { bottom: 65px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-line { animation: none; }
}

/* Fotografie u formuláře a spodní podpis webu. */
.contact-intro > img { rotate: 3deg; }
.site-footer { padding-bottom: 32px; }
.footer-bottom {
  position: relative;
  z-index: 1;
  width: min(1400px, 100%);
  margin: 110px auto 0;
  padding-top: 24px;
  border-top: 1px solid #ddccaa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 16px; line-height: 1.6; }
.footer-legal a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.footer-legal a:hover { color: var(--color-accent); }
.footer-credit { display: flex; align-items: center; gap: 6px; flex-shrink: 0; margin: 0; font-size: 14px; }
.footer-studio { display: inline-flex; align-items: center; font-family: var(--font-body); font-weight: 400; text-decoration: none; }
.footer-studio:hover { color: var(--color-accent); }

/* Soukromí a informační panel. */
.pricing { padding: 100px 24px 56px; }
.pricing-heading { text-align: center; margin: 0 auto 56px; }
.pricing-heading > p:last-child { margin-top: 24px; }
.pricing-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; max-width: 1120px; margin: auto; padding-block: 12px; }
.pricing-card { padding: clamp(24px, 3.5vw, 48px); border-radius: 0; background: var(--color-accent); color: var(--color-background); transform: rotate(-1.5deg); }
.pricing-card:nth-child(even) { transform: rotate(1.2deg); }
.pricing-label { font-family: var(--font-body); font-size: 12px; letter-spacing: 0; text-transform: none; opacity: .8; }
.pricing-card h3 { font-size: clamp(32px, 3.5vw, 44px); margin: 12px 0 36px; }
.pricing-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; border-top: 1px solid #fff5df40; }
.pricing-row h4 { margin: 0 0 6px; font-size: 17px; font-weight: 500; line-height: 1.5; }
.pricing-row div > span { display: block; font-size: 12px; opacity: .8; }
.pricing-row > p { flex-shrink: 0; font: 34px/1.2 var(--font-heading); margin: 0; white-space: nowrap; }
.pricing-row > p span { font-size: 16px; }
.pricing-card .pricing-button { --button-hover-color: var(--color-button); width: 100%; min-height: 54px; margin-top: 20px; background: var(--color-background); color: var(--color-accent); border-color: var(--color-background); font-size: 16px; justify-content: space-between; }
.pricing-card .pricing-button::before { background: var(--color-button); }
.pricing-card .pricing-button:hover, .pricing-card .pricing-button:focus-visible { color: white; background-color: var(--button-hover-color); border-color: var(--button-hover-color); }
.pricing-note { text-align: center; margin: 36px auto 0; max-width: 720px; font-size: 16px; }
.pricing-cancellation { max-width: 760px; margin: 22px auto 0; text-align: center; font-size: 16px; color: var(--color-accent); }
.form-honeypot { display: none !important; }
.contact-form .button:disabled { opacity: .65; cursor: wait; transform: none; }
.form-status[data-state="error"] { color: var(--color-accent); }
.form-status[data-state="success"] { color: #28552d; }
@media (max-width: 800px) {
  .pricing { padding-top: 64px; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 560px; gap: 36px; }
  .pricing-card { transform: rotate(-1deg); }
  .pricing-card:nth-child(even) { transform: rotate(.8deg); }
}
@media (max-width: 380px) {
  .pricing-row { align-items: flex-start; flex-direction: column; gap: 12px; }
}
.form-privacy { font-size: 13px; line-height: 1.7; margin: 8px 0 24px; }
.form-privacy a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 28px; font-size: 13px; line-height: 1.6; cursor: pointer; }
.form-consent input { appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; border: 1px solid #625246; border-radius: 0; background: transparent; cursor: pointer; }
.form-consent input:checked { background: var(--color-accent); border-color: var(--color-accent); }
.form-consent input:checked::after { content: ""; display: block; width: 5px; height: 9px; margin: 2px 0 0 5px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.form-consent a { text-underline-offset: 3px; }
.form-message-note { margin: -10px 0 20px; font-size: 12px; line-height: 1.6; }
.cookie-panel { position: fixed; right: 24px; bottom: 24px; z-index: 100; width: min(480px, calc(100% - 48px)); padding: 28px; border: 0; border-radius: 0; background: var(--color-background); box-shadow: 0 12px 60px #7b1b3626; max-height: calc(100dvh - 48px); overflow-y: auto; }
.cookie-panel[hidden] { display: none; }
.cookie-panel .eyebrow { color: var(--color-accent); font-size: 12px; margin: 0 0 10px; }
.cookie-panel h2 { font-size: 32px; margin-bottom: 16px; }
.cookie-panel > p:not(.eyebrow) { font-size: 14px; line-height: 1.65; }
.cookie-details { font-size: 13px; text-underline-offset: 4px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cookie-actions .button { min-height: 44px; padding: 10px 16px; font-size: 13px; white-space: normal; flex: 1 1 170px; }
.cookie-actions .button:hover, .cookie-actions .button:focus-visible { border-color: var(--button-hover-color); }
.privacy-main { width: min(880px, calc(100% - 48px)); margin: 64px auto 100px; }
.privacy-intro { max-width: 720px; }
.privacy-intro h1 { margin-bottom: 28px; }
.privacy-intro > p { max-width: 660px; }
.privacy-date, .privacy-sources { font-size: 13px; color: #625246; }
.privacy-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 24px 0; margin: 36px 0 12px; border-block: 1px solid #ddccaa; font-size: 14px; }
.privacy-main a, .privacy-back { text-underline-offset: 4px; }
.privacy-section { padding-block: 32px; border-bottom: 1px solid #ddccaa; overflow-wrap: anywhere; }
.privacy-section h2 { font-size: clamp(27px, 3.5vw, 38px); margin-bottom: 24px; }
.privacy-section h3 { font-size: 24px; margin-top: 28px; }
.privacy-section p { line-height: 1.85; }
.privacy-callout { background: var(--color-background-alternate); padding: 24px; border-radius: 0; border-left: 3px solid var(--color-button); margin-bottom: 24px; }
.cookie-facts { display: grid; grid-template-columns: 120px 1fr; gap: 12px 24px; padding: 24px; background: var(--color-background-alternate); border-radius: 0; font-size: 14px; }
.cookie-facts dt { font-weight: 600; }
.cookie-facts dd { margin: 0; }
.privacy-sources { margin: 32px 0; }
.privacy-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 32px max(24px, calc((100vw - 960px) / 2)); background: var(--color-background-alternate); font-size: 14px; }
.privacy-footer p { margin: 0; }
@media (max-width: 600px) {
  .cookie-panel { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 22px; max-height: calc(100dvh - 24px); }
  .privacy-main { margin-top: 32px; }
  .privacy-header { gap: 20px; }
  .privacy-back { font-size: 13px; }
  .cookie-facts { grid-template-columns: 1fr; gap: 4px; padding: 20px; }
  .cookie-facts dd { margin-bottom: 12px; }
}
@media (max-width: 900px) {
  .footer-bottom { align-items: flex-start; flex-direction: column; margin-top: 72px; gap: 20px; }
}

/* Natočení je už součástí SVG; při srovnání karet jej vykompenzujeme. */
.therapy-card .therapy-icon {
  --icon-upright: -15deg;
  rotate: 0deg;
  transform-origin: center;
  transition: rotate 320ms cubic-bezier(.2,.7,.25,1);
}
.therapy-card:nth-child(even) .therapy-icon { --icon-upright: 15deg; }
@media (prefers-reduced-motion: reduce) {
  .therapy-card .therapy-icon { rotate: var(--icon-upright); transition: none; }
}

/* Stejné tři zóny karty: ikona nahoře, nadpis uprostřed, text dole. */
.therapy-cards {
  display: flex;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 1904px;
  margin: clamp(80px, 9vw, 160px) auto 0;
}
.therapy-cards .therapy-card {
  display: grid;
  container-type: inline-size;
  flex: 0 0 calc((100% - 80px) / 4);
  width: calc((100% - 80px) / 4);
  max-width: 458px;
  /* Obsah má přednost před preferovaným limitem výšky. */
  min-height: var(--therapy-min-height, min-content);
  max-height: 610px;
  aspect-ratio: 3 / 5;
  margin: 0 -22px;
  padding: clamp(20px, 2vw, 40px);
  grid-template-rows: minmax(min-content, 1fr) auto minmax(min-content, 1fr);
  row-gap: clamp(12px, 1.4vw, 24px);
  transform: rotate(15deg);
  transition: transform 320ms cubic-bezier(.2,.7,.25,1), margin 320ms cubic-bezier(.2,.7,.25,1), box-shadow 320ms;
}
.therapy-cards .therapy-card:nth-child(even) { transform: rotate(-15deg); }
.therapy-card .therapy-icon {
  align-self: start;
  width: 30cqw;
  height: 30cqw;
  margin: 0;
}
.therapy-card h3 {
  align-self: center;
  font-size: clamp(18px, 8.4cqw, 32px);
  line-height: 1.2;
  margin: 0;
  white-space: normal;
}
.therapy-card p {
  align-self: end;
  max-height: none;
  overflow: visible;
  margin: 0;
  font-size: clamp(11px, 4.25cqw, 16px);
  line-height: 1.4;
}
@media (min-width: 1101px) {
  .therapy-cards.is-spread .therapy-card { transform: none; margin-inline: 10px; }
  .therapy-cards.is-spread .therapy-icon { rotate: var(--icon-upright); }
}
.therapy-swipe-hint { display: none; }
@media (max-width: 1100px) {
  .therapy-cards {
    --swipe-card-width: min(440px, 82vw);
    display: flex;
    justify-content: flex-start;
    gap: 32px;
    width: calc(100% + 48px);
    max-width: none;
    margin: 48px -24px 0;
    padding: 64px max(24px, calc((100vw - var(--swipe-card-width)) / 2));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) transparent;
  }
  .therapy-cards .therapy-card,
  .therapy-cards .therapy-card:nth-child(even) {
    flex: 0 0 var(--swipe-card-width);
    width: var(--swipe-card-width);
    max-width: none;
    margin: 0;
    padding: 24px;
    transform: rotate(var(--card-tilt, 6deg));
    scroll-snap-align: center;
    scroll-snap-stop: always;
    row-gap: 20px;
    transition: box-shadow 320ms;
  }
  .therapy-cards .therapy-card:nth-child(even) { --card-tilt: -6deg; }
  .therapy-card p { font-size: clamp(14px, 4.25cqw, 16px); }
  .therapy-cards .therapy-icon { rotate: var(--icon-upright); }
  .therapy-swipe-hint { display: block; text-align: center; margin: 20px 0 0; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .therapy-cards .therapy-card,
  .therapy-cards .therapy-card:nth-child(even),
  .therapy-cards.is-spread .therapy-card { transform: none; transition: none; }
}
@media (max-width: 600px) {
  .therapy-cards .therapy-card {
    height: 450px;
    min-height: max(450px, var(--therapy-min-height, 0px));
    max-height: none;
  }
}
@media (prefers-reduced-motion: reduce) and (min-width: 1101px) {
  .therapy-cards .therapy-card { margin-inline: 10px; }
}

/* Jednotná mobilní velikost H2 má přednost před styly jednotlivých sekcí. */
@media (max-width: 760px) {
  h2 { font-size: 36px !important; }
}

/* Celoplošná navigace se vysouvá shora, odkazy následují postupně. */
.site-header:has(.menu-toggle) { z-index: 90; flex-wrap: nowrap; }
.site-header .logo, .menu-toggle { position: relative; z-index: 2; }
.menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 44px; height: 44px; border: 0; padding: 8px; margin-left: auto; background: transparent; cursor: pointer; order: 0; }
.menu-toggle span { display: block; width: 28px; height: 1px; background: currentColor; transition: transform .3s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.navigation { position: fixed; inset: 0; width: 100%; height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 3vh, 28px); padding: 100px 15px 40px; overflow-y: auto; background: var(--color-accent); color: var(--color-background); transform: translateY(-105%); border-radius: 0 0 45% 45%; visibility: hidden; transition: transform .7s cubic-bezier(.76,0,.24,1), border-radius .7s, visibility 0s .7s; }
.navigation.is-open { transform: translateY(0); border-radius: 0; visibility: visible; transition-delay: 0s; }
.navigation > a { font-family: var(--font-heading); font-size: clamp(26px, 4vh, 40px); color: inherit; opacity: 0; transform: translateY(-20px); transition: opacity .25s, transform .35s; }
.navigation.is-open > a { opacity: 1; transform: none; transition-delay: calc(.22s + var(--menu-order, 0) * .055s); }
.navigation > a:nth-child(2) { --menu-order: 1; }
.navigation > a:nth-child(3) { --menu-order: 2; }
.navigation > a:nth-child(4) { --menu-order: 3; }
.navigation > a:nth-child(5) { --menu-order: 4; }
.navigation > a:nth-child(6) { --menu-order: 5; }
.navigation a::after { background: currentColor; }
.navigation .header-contact { margin: 16px 0 0; min-height: 56px; padding: 14px 24px; font: 16px var(--font-body); border-color: var(--color-background); }
.navigation .header-contact::after { display: none; }
.menu-open { overflow: hidden; }
.menu-open .site-header .logo, .menu-open .menu-toggle { position: fixed; top: 26px; }
.menu-open .site-header .logo { left: max(40px, calc((100vw - 1316px) / 2)); }
.menu-open .menu-toggle { right: max(40px, calc((100vw - 1316px) / 2)); color: var(--color-background); }
.menu-open .logo img { filter: invert(94%) sepia(12%) saturate(570%) hue-rotate(337deg); }
.education-counter { gap: 0; font: 400 16px/1.2 var(--font-body); }
.education-counter strong { font-weight: 400; }
.therapy-illustration--top, .about-illustration { right: 0; }
.therapy-illustration--bottom { left: 0; }
.therapy-illustration, .about-illustration { object-fit: contain; height: auto; }
.therapy-options span { white-space: nowrap; }
@media (max-width: 760px) {
  .site-header, .hero-inner { width: calc(100% - 30px); }
  .reassurance, .therapies, .about, .education, .process-scene,
  .getting-started-scene, .stories, .pricing, .contact, .faq, .site-footer { padding-inline: 15px; }
  .contact-form { padding-inline: 15px; }
  .therapy-cards { width: 100%; margin-inline: 0; padding-inline: max(15px, calc((100vw - 30px - var(--swipe-card-width)) / 2)); }
  .menu-open .site-header .logo { left: 15px; }
  .menu-open .menu-toggle { right: 15px; }
  .therapy-options { gap: 10px; }
  .therapy-options span { font-size: 14px; padding-inline: 8px; }
}
@media (max-height: 550px) {
  .navigation { justify-content: flex-start; gap: 12px; padding-top: 85px; }
  .navigation > a { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .navigation, .navigation > a { transition: none; }
}
.stories-status { font: 400 16px/1.2 var(--font-body); }

/* Samostatná chybová stránka funguje i bez JavaScriptu. */
.error-page { min-height: 100svh; display: flex; flex-direction: column; }
.error-header { display: flex; align-items: center; justify-content: space-between; width: min(1316px, calc(100% - 80px)); min-height: 110px; margin-inline: auto; gap: 24px; }
.error-home-link, .error-contact { font-size: 16px; text-underline-offset: 5px; }
.error-main { position: relative; isolation: isolate; display: grid; place-items: center; flex: 1; padding: 30px 24px 100px; }
.error-copy { position: relative; z-index: 1; max-width: 640px; text-align: center; }
.error-copy .eyebrow { color: var(--color-accent); margin: 0; }
.error-code { position: relative; width: fit-content; margin: 10px auto 32px; font: 400 clamp(130px, 18vw, 240px)/1 "Questrial", sans-serif; letter-spacing: -.07em; color: var(--color-accent); }
.error-code .handwritten { position: absolute; right: -44px; bottom: -8px; font-size: 26px; letter-spacing: 0; color: var(--color-button); rotate: -7deg; }
.error-copy h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.12; letter-spacing: -1.5px; margin: 0 0 24px; }
.error-description { font-size: 16px; line-height: 1.65; margin-bottom: 30px; }
.error-contact { display: block; width: fit-content; margin: 24px auto 0; }
.error-illustration { position: absolute; z-index: 0; width: clamp(140px, 22vw, 340px); height: auto; pointer-events: none; }
.error-illustration--left { left: 0; top: 48%; rotate: -6deg; }
.error-illustration--right { right: 0; top: 25%; rotate: 7deg; }
.error-footer { padding: 24px 15px; text-align: center; font-size: 13px; color: var(--color-accent); }
.error-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1000px) {
  .error-main { padding-bottom: 170px; }
  .error-illustration { width: clamp(135px, 24vw, 240px); top: auto; bottom: 5px; }
}
@media (max-width: 760px) {
  .error-header { width: calc(100% - 30px); min-height: 90px; }
  .error-main { padding: 20px 15px 150px; }
  .error-code { margin-bottom: 36px; }
  .error-code .handwritten { right: -25px; font-size: 22px; }
  .error-description br { display: none; }
  .error-copy .button { font-size: 16px; padding-inline: 22px; min-height: 58px; }
  .error-illustration { width: 38%; max-width: 210px; }
}
.menu-open .site-header :focus-visible { outline-color: var(--color-background); }
@media (max-width: 760px) {
  .process-heading { padding-inline: 0; }
}

/* Hlavička se při scrollu dolů schová a při scrollu nahoru znovu vysune. */
.site-header:has(.menu-toggle) { position: sticky; top: 0; transition: top .4s cubic-bezier(.22,.61,.36,1); }
.site-header:has(.menu-toggle)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--header-tone, var(--color-background)); box-shadow: 0 0 0 100vmax var(--header-tone, var(--color-background)); clip-path: inset(0 -100vmax); opacity: 0; transition: opacity .3s, background-color .3s, box-shadow .3s; pointer-events: none; }
.site-header.is-floating::before { opacity: 1; }
.site-header.is-on-light { --header-tone: var(--color-background-alternate); }
.site-header.is-hidden { top: -180px; }
.menu-open .site-header.is-hidden { top: 0; }
.menu-open .site-header::before { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .site-header:has(.menu-toggle), .site-header:has(.menu-toggle)::before { transition: none; }
}

/* Mobil: nadpis, pod ním vystředěná fotka a pod ní měnící se kroky. */
@media (max-width: 760px) {
  .getting-started-inner,
  .getting-started.is-enhanced .getting-started-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; justify-items: stretch; }
  .getting-started-copy > .eyebrow, .getting-started-copy > h2 { grid-column: 1; }
  .starting-photos,
  .getting-started.is-enhanced .starting-photos { grid-column: 1; grid-row: 3; justify-self: center; width: min(78%, 340px); margin: 8px 0 12px; }
  .getting-started-copy .starting-steps { grid-column: 1; grid-row: 4; max-width: none; }
  .getting-started-copy .starting-button { grid-column: 1; grid-row: 5; }
  .getting-started.is-enhanced .getting-started-scene { padding-block: 24px; }
  .getting-started.is-enhanced .getting-started-inner { gap: 16px; }
  .getting-started.is-enhanced .starting-photos { width: min(70%, 32svh, 320px); margin-block: 4px 8px; }
}

/* iOS dává tlačítkům modrou systémovou barvu, hamburger držíme černý. */
.menu-toggle { color: #000; -webkit-tap-highlight-color: transparent; }
.menu-open .menu-toggle { color: var(--color-background); }
